:root {
    --lux-bg: #fff7fb;
    --lux-rose: #f4d4de;
    --lux-rose-strong: #db8ea8;
    --lux-burgundy: #7b2945;
    --lux-gold: #c6a46b;
    --lux-gold-soft: rgba(198, 164, 107, 0.24);
    --lux-ink: #26151d;
    --lux-mist: rgba(255, 255, 255, 0.74);
    --lux-border: rgba(123, 41, 69, 0.1);
    --lux-shadow: 0 24px 60px rgba(92, 29, 54, 0.12);
    --lux-shadow-strong: 0 30px 80px rgba(92, 29, 54, 0.18);
    --lux-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

body.luxury-page {
    position: relative;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.88), transparent 36%),
        radial-gradient(circle at top right, rgba(244, 212, 222, 0.5), transparent 26%),
        linear-gradient(180deg, #fffafc 0%, #fff3f7 42%, #fff9fb 100%);
    color: var(--lux-ink);
    font-family: "Avenir Next", "SF Pro Text", "Segoe UI", sans-serif;
}

body.luxury-page::before,
body.luxury-page::after {
    content: "";
    position: fixed;
    inset: auto;
    width: 32rem;
    height: 32rem;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(24px);
    opacity: 0.55;
    z-index: 0;
}

body.luxury-page::before {
    top: -10rem;
    right: -8rem;
    background: radial-gradient(circle, rgba(244, 212, 222, 0.8), transparent 68%);
}

body.luxury-page::after {
    bottom: -12rem;
    left: -10rem;
    background: radial-gradient(circle, rgba(198, 164, 107, 0.22), transparent 70%);
}

body.luxury-page .container,
body.luxury-page .login-card,
body.luxury-page .review-card,
body.luxury-page .header,
body.luxury-page .site-header,
body.luxury-page .form-container,
body.luxury-page .settings-form,
body.luxury-page .summary-card,
body.luxury-page .cart-section,
body.luxury-page .form-section,
body.luxury-page .catalog-controls,
body.luxury-page .product-card,
body.luxury-page .features .card,
body.luxury-page .gallery .g-item,
body.luxury-page .testimonials .testi,
body.luxury-page .contacts .link,
body.luxury-page .order-card,
body.luxury-page .product-item,
body.luxury-page .tab-content,
body.luxury-page .checkout-success__dialog,
body.luxury-page .order-confirmation__dialog,
body.luxury-page .sidebar {
    position: relative;
    z-index: 1;
}

body.luxury-page h1,
body.luxury-page h2,
body.luxury-page h3,
body.luxury-page .checkout-title h1,
body.luxury-page .hero-text h1,
body.luxury-page .section-header h2 {
    font-family: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", serif;
    letter-spacing: 0.01em;
}

body.luxury-page .btn,
body.luxury-page .cart-button,
body.luxury-page .theme-toggle,
body.luxury-page .wishlist-toggle,
body.luxury-page .order-btn,
body.luxury-page .wishlist-btn,
body.luxury-page .share-btn,
body.luxury-page .tab-btn,
body.luxury-page .home-link,
body.luxury-page .checkout-back,
body.luxury-page .social-link,
body.luxury-page .sidebar-link,
body.luxury-page .footer-toggle,
body.luxury-page .modal-cart-btn,
body.luxury-page .modal-share-btn,
body.luxury-page .modal-wishlist-btn {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.24s var(--lux-ease), box-shadow 0.24s var(--lux-ease), border-color 0.24s var(--lux-ease), background-color 0.24s var(--lux-ease), color 0.24s var(--lux-ease);
}

body.luxury-page .btn::before,
body.luxury-page .cart-button::before,
body.luxury-page .theme-toggle::before,
body.luxury-page .wishlist-toggle::before,
body.luxury-page .order-btn::before,
body.luxury-page .home-link::before,
body.luxury-page .checkout-back::before,
body.luxury-page .tab-btn::before,
body.luxury-page .modal-cart-btn::before,
body.luxury-page .modal-share-btn::before,
body.luxury-page .modal-wishlist-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.35) 48%, transparent 76%);
    transform: translateX(-135%);
    transition: transform 0.8s var(--lux-ease);
    z-index: -1;
}

body.luxury-page .btn:hover::before,
body.luxury-page .cart-button:hover::before,
body.luxury-page .theme-toggle:hover::before,
body.luxury-page .wishlist-toggle:hover::before,
body.luxury-page .order-btn:hover::before,
body.luxury-page .home-link:hover::before,
body.luxury-page .checkout-back:hover::before,
body.luxury-page .tab-btn:hover::before,
body.luxury-page .modal-cart-btn:hover::before,
body.luxury-page .modal-share-btn:hover::before,
body.luxury-page .modal-wishlist-btn:hover::before {
    transform: translateX(135%);
}

body.luxury-page .luxury-pressable.is-pressed {
    transform: translateY(1px) scale(0.986);
}

.luxury-ripple {
    position: absolute;
    width: 0.85rem;
    height: 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.34);
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: luxuryRipple 0.6s ease-out forwards;
    z-index: 2;
}

@keyframes luxuryRipple {
    from {
        opacity: 0.75;
        width: 0.85rem;
        height: 0.85rem;
    }

    to {
        opacity: 0;
        width: 12rem;
        height: 12rem;
    }
}

.js-ready [data-luxury-reveal] {
    opacity: 0;
    transform: translateY(26px) scale(0.985);
    transition:
        opacity 0.62s ease,
        transform 0.88s var(--lux-ease);
    transition-delay: var(--luxury-delay, 0ms);
}

.js-ready [data-luxury-reveal].is-revealed {
    opacity: 1;
    transform: none;
}

.hero-badges,
.hero-trust,
.login-points {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-badge,
.hero-trust span,
.login-points span,
.login-kicker,
.login-secure-note {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-trust {
    margin-top: 1rem;
}

.hero-promise {
    max-width: 42rem;
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1rem;
    line-height: 1.6;
}

.hero-trust span {
    color: rgba(255, 255, 255, 0.94);
    text-transform: none;
    letter-spacing: 0;
}

.luxury-page--landing .site-header,
.luxury-page--catalog .header,
.luxury-page--admin .header {
    box-shadow: var(--lux-shadow-strong);
}

.luxury-page--landing .site-header::after,
.luxury-page--catalog .header::after,
.luxury-page--admin .header::after {
    content: "";
    position: absolute;
    inset: auto 1.5rem 1rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.58), transparent);
}

.luxury-page--landing .hero-text {
    max-width: 44rem;
}

.luxury-page--landing .hero-text h1 {
    font-size: clamp(2.8rem, 5vw, 4.4rem);
    line-height: 0.96;
    max-width: 16ch;
}

.luxury-page--landing .features .card,
.luxury-page--landing .testimonials .testi,
.luxury-page--landing .contacts .link,
.luxury-page--landing .gallery .g-item {
    backdrop-filter: blur(12px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 250, 252, 0.84));
    border: 1px solid rgba(123, 41, 69, 0.08);
    box-shadow: var(--lux-shadow);
}

.luxury-page--landing .features .card:hover,
.luxury-page--landing .gallery .g-item:hover,
.luxury-page--landing .testimonials .testi:hover,
.luxury-page--landing .contacts .link:hover {
    transform: translateY(-4px);
    box-shadow: var(--lux-shadow-strong);
}

.luxury-page--catalog .container,
.luxury-page--checkout .container,
.luxury-page--admin .container {
    background: rgba(255, 252, 253, 0.8);
    backdrop-filter: blur(16px) saturate(135%);
    border: 1px solid rgba(123, 41, 69, 0.08);
    box-shadow: var(--lux-shadow-strong);
}

.luxury-page--catalog .catalog-controls,
.luxury-page--catalog .sidebar,
.luxury-page--checkout .cart-section,
.luxury-page--checkout .form-section,
.luxury-page--checkout .summary-card,
.luxury-page--admin .form-container,
.luxury-page--admin .settings-form,
.luxury-page--admin .product-item,
.luxury-page--admin .order-card,
.luxury-page--reviews .review-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 248, 251, 0.88));
    border: 1px solid var(--lux-border);
    box-shadow: var(--lux-shadow);
}

.luxury-page--catalog .product-card,
.luxury-page--reviews .review-card {
    overflow: hidden;
}

.luxury-page--catalog .product-card::after,
.luxury-page--reviews .review-card::after,
.luxury-page--admin .product-item::after,
.luxury-page--admin .order-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(145deg, rgba(198, 164, 107, 0.34), rgba(255, 255, 255, 0), rgba(123, 41, 69, 0.14));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.luxury-page--catalog .product-card:hover,
.luxury-page--admin .product-item:hover,
.luxury-page--admin .order-card:hover,
.luxury-page--reviews .review-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--lux-shadow-strong);
}

.luxury-page--checkout .summary-card {
    background: linear-gradient(180deg, rgba(255, 241, 246, 0.98), rgba(250, 233, 239, 0.88));
}

.luxury-page--checkout .checkout-success,
.luxury-page--catalog .order-confirmation,
.luxury-page--catalog .zoom-overlay {
    backdrop-filter: blur(8px);
}

.luxury-page--admin .tabs {
    position: sticky;
    top: 0;
    z-index: 18;
    backdrop-filter: blur(18px);
    background: rgba(255, 244, 249, 0.84);
    border-bottom-color: rgba(123, 41, 69, 0.1);
}

.luxury-page--admin .tab-btn {
    font-weight: 600;
    letter-spacing: 0.01em;
}

.luxury-page--admin .tab-btn.active {
    color: var(--lux-burgundy);
    border-bottom-color: var(--lux-gold);
}

.admin-hero-copy {
    margin: 0.8rem auto 0;
    max-width: 44rem;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.98rem;
}

.settings-highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.85rem;
    margin-bottom: 1.4rem;
}

.settings-highlight-card {
    padding: 1rem;
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 247, 250, 0.92));
    border: 1px solid rgba(123, 41, 69, 0.08);
    box-shadow: 0 16px 32px rgba(92, 29, 54, 0.08);
}

.settings-highlight-card__label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(38, 21, 29, 0.46);
}

.settings-highlight-card__value {
    margin-top: 0.35rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--lux-burgundy);
}

.reviews-intro {
    margin: 0.35rem 0 0;
    color: rgba(38, 21, 29, 0.62);
    font-size: 0.92rem;
}

.luxury-page--admin-login,
.luxury-page--admin-webapp {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.login-shell {
    width: 100%;
    display: flex;
    justify-content: center;
}

.login-card {
    width: min(100%, 34rem);
    padding: 2rem;
    border-radius: 1.75rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 246, 250, 0.9));
    border: 1px solid rgba(123, 41, 69, 0.08);
    box-shadow: var(--lux-shadow-strong);
    text-align: center;
}

.login-card--compact {
    width: min(100%, 28rem);
}

.login-brand {
    width: 4.5rem;
    height: 4.5rem;
    margin: 0 auto 1rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.95), rgba(244, 212, 222, 0.76));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 20px 40px rgba(92, 29, 54, 0.14);
    font-size: 1.65rem;
}

.login-kicker,
.login-secure-note {
    color: var(--lux-burgundy);
    background: rgba(123, 41, 69, 0.06);
    border-color: rgba(123, 41, 69, 0.08);
}

.login-copy {
    color: rgba(38, 21, 29, 0.68);
    margin: 0.75rem 0 1rem;
}

.login-points {
    justify-content: center;
    margin: 1rem 0 1.4rem;
}

.login-points span {
    color: var(--lux-burgundy);
    background: rgba(198, 164, 107, 0.08);
    border-color: rgba(198, 164, 107, 0.16);
    text-transform: none;
    letter-spacing: 0;
}

.login-divider {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin: 1.35rem 0;
    color: rgba(38, 21, 29, 0.4);
    font-size: 0.9rem;
}

.login-divider::before,
.login-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(123, 41, 69, 0.15), transparent);
}

.login-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.login-field {
    min-width: min(100%, 18rem);
    padding: 0.9rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(123, 41, 69, 0.12);
    background: rgba(255, 255, 255, 0.88);
    font: inherit;
    color: var(--lux-ink);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.login-field:focus {
    outline: none;
    border-color: rgba(123, 41, 69, 0.24);
    box-shadow: 0 0 0 4px rgba(198, 164, 107, 0.12);
}

.login-hints {
    margin-top: 1rem;
    text-align: left;
    color: rgba(38, 21, 29, 0.62);
    font-size: 0.9rem;
}

.login-hints p + p {
    margin-top: 0.5rem;
}

.login-error {
    margin-top: 1rem;
    display: none;
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    background: rgba(149, 32, 69, 0.08);
    color: #9a234f;
    border: 1px solid rgba(154, 35, 79, 0.12);
}

@media (max-width: 760px) {
    .hero-badges,
    .hero-trust,
    .login-points {
        justify-content: flex-start;
    }

    .luxury-page--landing .hero-text h1 {
        font-size: clamp(2.25rem, 10vw, 3.2rem);
    }

    .login-card {
        padding: 1.5rem;
        border-radius: 1.4rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.luxury-page *,
    .js-ready [data-luxury-reveal] {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    .js-ready [data-luxury-reveal] {
        opacity: 1;
        transform: none;
    }
}