/* ============================================================
   RARE DESIGNS — Premium stylesheet
   ============================================================ */

/* ============================================================
   LINKEDIN-STYLE LOADING SCREEN
   ============================================================ */

.loading-screen {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    overflow: hidden;
    transition: opacity var(--fadeMs, 700ms) var(--ease-luxury), visibility var(--fadeMs, 700ms) var(--ease-luxury);
}

.loading-screen.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-bg-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 8s ease-out;
    filter: brightness(0.35) saturate(0.6);
}

.loading-screen:not(.hide) .loading-bg-image {
    transform: scale(1);
}

.loading-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.4) 0%, rgba(10, 10, 10, 0.75) 50%, rgba(10, 10, 10, 0.95) 100%);
    backdrop-filter: blur(1px);
}

.loading-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
    animation: loadingFadeIn 0.8s var(--ease-luxury) 0.2s both;
}

.loading-logo-wrap {
    width: 120px;
    height: 120px;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--surface2), var(--surface));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(203, 189, 174, 0.1);
    display: grid;
    place-items: center;
    animation: loadingLogoPop 0.6s var(--ease-spring) 0.4s both;
}

.loading-logo-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.loading-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.loading-brand-top {
    font-family: var(--serif);
    font-size: clamp(2.2rem, 6vw, 3.2rem);
    font-weight: 300;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent-bright);
    line-height: 1;
}

.loading-brand-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.6;
}

.loading-brand-bottom {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.loading-bar-track {
    width: min(200px, 55vw);
    height: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
    margin-top: 8px;
}

.loading-bar-fill {
    height: 100%;
    width: 0%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), var(--gold), var(--accent-bright));
    box-shadow: 0 0 12px rgba(203, 189, 174, 0.4);
    transition: width 400ms ease;
}

.loading-status {
    margin: 0;
    font-size: 0.75rem;
    font-style: italic;
    font-family: var(--serif);
    letter-spacing: 0.15em;
    color: var(--text-soft);
    min-height: 1.4em;
    animation: loadingTextPulse 2s ease-in-out infinite;
}

@keyframes loadingFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes loadingLogoPop {
    from {
        opacity: 0;
        transform: scale(0.6) rotate(-5deg);
    }

    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

@keyframes loadingTextPulse {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

/* ============================================================
   DYNAMIC HERO GALLERY
   ============================================================ */

.hero-gallery {
    position: relative;
    min-height: 100svh;
    display: grid;
    align-items: center;
    overflow: hidden;
    z-index: 2;
}

/* ---- Slide layers ---- */
.hero-gallery-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.8s var(--ease-luxury), transform 8s ease-out;
    transform: scale(1.12);
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.75) brightness(0.5) contrast(1.05);
}

/* Ken Burns subtle zoom for active slide */
.hero-slide.active img {
    animation: kenBurns 30s ease-out forwards;
}

@keyframes kenBurns {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.08);
    }
}

/* ---- Overlays ---- */
.hero-gallery-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(10, 10, 10, 0.15) 0%, rgba(10, 10, 10, 0.45) 50%, rgba(10, 10, 10, 0.92) 100%),
        radial-gradient(circle at 30% 50%, rgba(203, 189, 174, 0.08), transparent 55%);
}

.hero-gallery-vignette {
    position: absolute;
    inset: 0;
    z-index: 1;
    box-shadow: inset 0 0 150px rgba(0, 0, 0, 0.6);
    pointer-events: none;
}

/* ---- Content positioning ---- */
.hero-gallery .hero-content {
    position: relative;
    z-index: 2;
    width: min(100%, 900px);
    margin: 0 auto;
    text-align: center;
    padding: calc(var(--nav-h) + 60px) var(--gutter) 90px;
}

/* ---- Indicators ---- */
.hero-gallery-indicators {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 14px;
    align-items: center;
    display: none;
}

.hero-indicator {
    width: 40px;
    height: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 400ms var(--ease-luxury);
}

.hero-indicator::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent);
    border-radius: 999px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.1s linear;
}

.hero-indicator.active {
    background: rgba(255, 255, 255, 0.35);
    width: 56px;
}

.hero-indicator.active::after {
    animation: indicatorFill 30s linear forwards;
}

@keyframes indicatorFill {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

.hero-indicator:hover {
    background: rgba(203, 189, 174, 0.5);
}

/* ---- Progress bar (bottom) ---- */
.hero-gallery-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    z-index: 3;
    background: rgba(255, 255, 255, 0.06);
    display: none;
    /*hidden for now*/
}

.hero-gallery-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), var(--gold));
    transition: width 0.1s linear;
    box-shadow: 0 0 12px rgba(203, 189, 174, 0.3);
}

/* ---- Ambient orbs (keep existing, now behind content) ---- */
.hero-gallery .hero-ambient {
    z-index: 1;
}

/* ---- Responsive ---- */
@media (max-width: 680px) {
    .hero-gallery {
        min-height: 92svh;
    }

    .hero-gallery .hero-content {
        padding: calc(var(--nav-h) + 40px) var(--gutter) 60px;
    }

    .hero-gallery-indicators {
        bottom: 80px;
        gap: 10px;
    }

    .hero-indicator {
        width: 28px;
    }

    .hero-indicator.active {
        width: 40px;
    }
}


/* ============================================================
   FULL-SCREEN COLLECTION SPLASH
   ============================================================ */

.collection-splash {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    z-index: 2;
}

.collection-splash-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.collection-splash-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.08);
    transition: transform 12s ease-out;
    filter: saturate(0.85) brightness(0.55);
}

.collection-splash.loaded .collection-splash-img {
    transform: scale(1);
}

.collection-splash-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.2) 0%, rgba(10, 10, 10, 0.5) 40%, rgba(10, 10, 10, 0.92) 100%);
    z-index: 1;
}

.collection-splash-content {
    position: relative;
    z-index: 2;
    width: min(100%, var(--max-w));
    margin: 0 auto;
    padding: calc(var(--nav-h) + 40px) var(--gutter) clamp(60px, 10vh, 120px);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.collection-splash-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--text);
    transition: all 240ms var(--ease-luxury);
    width: fit-content;
    margin-bottom: 24px;
}

.collection-splash-back:hover {
    background: rgba(203, 189, 174, 0.12);
    border-color: var(--accent);
    transform: translateX(-3px);
}

.collection-splash-index {
    font-family: var(--serif);
    font-size: clamp(4rem, 10vw, 7rem);
    font-weight: 300;
    line-height: 0.85;
    letter-spacing: 0.04em;
    background: linear-gradient(180deg, rgba(203, 189, 174, 0.5), rgba(203, 189, 174, 0.1));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    animation: splashFadeUp 1s var(--ease-luxury) 0.3s forwards;
}

.collection-splash-title {
    font-family: var(--serif);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 300;
    line-height: 0.95;
    letter-spacing: 0.02em;
    color: var(--accent-bright);
    margin: 0;
    opacity: 0;
    animation: splashFadeUp 1.1s var(--ease-luxury) 0.5s forwards;
}

.collection-splash-desc {
    max-width: 52ch;
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    line-height: 1.7;
    color: var(--text-soft);
    margin: 8px 0 0;
    opacity: 0;
    animation: splashFadeUp 1s var(--ease-luxury) 0.7s forwards;
}

.collection-splash-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
    margin-top: 28px;
    opacity: 0;
    animation: splashFadeUp 1s var(--ease-luxury) 0.9s forwards;
}

.collection-splash-price {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--accent-bright);
}

.collection-splash-count {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.collection-splash-scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0;
    animation: splashFadeUp 1s var(--ease-luxury) 1.2s forwards;
}

.scroll-hint-text {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.scroll-hint-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, var(--accent), transparent);
    animation: scrollDown 2.2s ease-in-out infinite;
}

.collection-main {
    padding-top: clamp(40px, 6vw, 80px);
}

.collection-products-section {
    padding-bottom: var(--section-gap);
}

.collection-products-header {
    text-align: center;
    margin-bottom: clamp(40px, 5vw, 60px);
}

.collection-products-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 16px;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--accent);
}

.collection-products-eyebrow::before {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--accent);
}

.collection-products-header h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0.005em;
}

@keyframes splashFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 680px) {
    .collection-splash-content {
        padding: calc(var(--nav-h) + 30px) var(--gutter) 80px;
    }

    .collection-splash-scroll-hint {
        display: none;
    }
}

:root {
    --bg: #0a0a0a;
    --bg-2: #0f0f10;
    --surface: #141414;
    --surface2: #1a1a1a;
    --surface3: #232323;
    --border: #2a2a2a;
    --border-soft: #1c1c1c;
    --text: #ece2d6;
    --text-muted: #8a8073;
    --text-soft: #b8aea1;
    --accent: #cbbdae;
    --accent-bright: #f1e6d6;
    --accent-dim: rgba(203, 189, 174, 0.18);
    --gold: #b88746;
    --shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.32);
    --shadow-panel: 0 24px 80px rgba(0, 0, 0, 0.45);
    --shadow-glow: 0 0 80px rgba(203, 189, 174, 0.08);
    --radius-xs: 12px;
    --radius-sm: 18px;
    --radius-md: 24px;
    --radius-lg: 32px;
    --radius-xl: 40px;
    --serif: 'Cormorant Garamond', 'Times New Roman', serif;
    --sans: 'Inter', Helvetica, Arial, sans-serif;
    --nav-h: 72px;
    --max-w: 1320px;
    --gutter: clamp(20px, 5vw, 80px);
    --section-gap: clamp(80px, 12vw, 140px);
    --ease-luxury: cubic-bezier(0.22, 0.61, 0.36, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(ellipse at top left, rgba(203, 189, 174, 0.06), transparent 40%),
        radial-gradient(ellipse at 85% 10%, rgba(184, 135, 70, 0.04), transparent 35%),
        linear-gradient(180deg, #0a0a0a 0%, #0d0d0e 60%, #0f0f10 100%);
    color: var(--text);
    font-family: var(--sans);
    font-weight: 300;
    line-height: 1.6;
    overflow-x: hidden;
    cursor: default;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
    opacity: 0.5;
    mix-blend-mode: overlay;
}

body.modal-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
    background: none;
    border: none;
    color: inherit;
}

input,
textarea,
select {
    color: var(--text);
}

::selection {
    background: rgba(203, 189, 174, 0.28);
    color: var(--accent-bright);
}

main {
    width: min(100%, var(--max-w));
    margin: 0 auto;
    padding: 0 var(--gutter) var(--section-gap);
    position: relative;
    z-index: 2;
}

/* ===== Scroll progress ===== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), var(--gold));
    z-index: 1500;
    transition: width 80ms linear;
    box-shadow: 0 0 16px rgba(203, 189, 174, 0.5);
}

/* ===== Cursor accent (desktop) ===== */
.cursor-accent {
    position: fixed;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(203, 189, 174, 0.07), transparent 65%);
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -50%);
    transition: opacity 300ms ease;
    mix-blend-mode: screen;
    will-change: transform;
}

@media (max-width: 900px),
(pointer: coarse) {
    .cursor-accent {
        display: none;
    }
}

/* ===== Navigation ===== */
.site-nav {
    position: fixed;
    inset: 0 0 auto 0;
    height: var(--nav-h);
    z-index: 1000;
    background: transparent;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: background 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.site-nav.scrolled {
    background: rgba(10, 10, 10, 0.86);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px) saturate(180%);
}

.site-nav:not(.scrolled) .nav-links a {
    color: rgba(225, 255, 255, 0.75);
    text-shadow: 0 1px 8px rba(0, 0, 0, 0.5);
}

.site-nav:not(.scrolled) .nav-btn {
    background: rgba(225, 255, 255, 0.06);
    border-color: rgba(225, 255, 255, 0.12);
}

.nav-inner {
    width: min(100%, var(--max-w));
    height: 100%;
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.nav-brand {
    font-family: var(--serif);
    font-size: clamp(1.1rem, 1.4vw, 1.4rem);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--accent-bright);
    position: relative;
}

.nav-brand::before {
    content: '◆';
    position: absolute;
    left: -22px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold);
    font-size: 0.55em;
    opacity: 0.8;
}

.nav-links,
.nav-actions {
    display: flex;
    align-items: center;
}

.nav-links {
    gap: 36px;
}

.nav-links a,
.mobile-nav a {
    position: relative;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color 250ms ease;
    padding: 6px 0;
}

.nav-links a::after,
.mobile-nav a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -2px;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    transform: translateX(-50%) scaleX(0);
    transition: transform 320ms var(--ease-luxury);
}

.nav-links a:hover,
.mobile-nav a:hover,
.nav-brand:hover {
    color: var(--accent-bright);
}

.nav-links a:hover::after,
.mobile-nav a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-actions {
    gap: 10px;
}

.nav-btn,
.hamburger {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 240ms var(--ease-luxury);
}

.nav-btn:hover,
.hamburger:hover {
    transform: translateY(-2px);
    border-color: rgba(203, 189, 174, 0.32);
    background: rgba(203, 189, 174, 0.06);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.nav-btn i {
    font-size: 0.95rem;
}

.nav-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-size: 0.62rem;
    font-weight: 700;
    color: #0b0b0b;
    background: linear-gradient(135deg, var(--accent-bright), var(--accent));
    transform: scale(0);
    opacity: 0;
    transition: transform 220ms var(--ease-spring), opacity 180ms ease;
}

.nav-badge.visible {
    opacity: 1;
    transform: scale(1);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
}

.hamburger span {
    width: 16px;
    height: 1px;
    background: var(--text);
    transition: transform 240ms ease, opacity 240ms ease;
}

.hamburger.open span:first-child {
    transform: translateY(2.5px) rotate(45deg);
}

.hamburger.open span:last-child {
    transform: translateY(-2.5px) rotate(-45deg);
}

.mobile-nav {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    padding: 24px var(--gutter) 32px;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(203, 189, 174, 0.1);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 260ms ease, transform 260ms ease, visibility 260ms ease;
}

.mobile-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-nav-links {
    display: grid;
    gap: 22px;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: min(100svh, 980px);
    padding: calc(var(--nav-h) + 60px) var(--gutter) 90px;
    display: grid;
    align-items: center;
    overflow: clip;
    z-index: 2;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10, 10, 10, 0.2) 0%, rgba(10, 10, 10, 0.6) 75%, rgba(10, 10, 10, 0.95) 100%),
        radial-gradient(circle at 30% 50%, rgba(203, 189, 174, 0.1), transparent 55%);
}

.hero-ambient {
    position: absolute;
    border-radius: 999px;
    filter: blur(100px);
    opacity: 0.3;
    animation: floatOrb 9s ease-in-out infinite;
}

.hero-ambient-1 {
    width: 380px;
    height: 380px;
    top: 12%;
    left: -100px;
    background: rgba(203, 189, 174, 0.28);
}

.hero-ambient-2 {
    width: 320px;
    height: 320px;
    right: -50px;
    bottom: 18%;
    background: rgba(184, 135, 70, 0.18);
    animation-delay: -3s;
}

.hero-ambient-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 60%;
    background: rgba(255, 255, 255, 0.06);
    animation-delay: -5s;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(100%, 900px);
    margin: 0 auto;
    text-align: center;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 28px;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.42em;
    text-transform: uppercase;
    color: var(--accent);
    opacity: 0;
    animation: heroFadeUp 1.1s var(--ease-luxury) 0.2s forwards;
}

.hero-kicker::before,
.hero-kicker::after {
    content: '';
    width: 38px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent));
}

.hero-kicker::after {
    background: linear-gradient(90deg, var(--accent), transparent);
}

.hero-title {
    margin: 0;
    display: grid;
    gap: 8px;
    line-height: 0.85;
}

.hero-title-top {
    font-family: var(--serif);
    font-size: clamp(4.5rem, 14vw, 11rem);
    font-weight: 300;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: linear-gradient(180deg, var(--accent-bright) 0%, var(--text) 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    animation: heroTitle 1.4s var(--ease-luxury) 0.4s forwards;
    text-shadow: 0 0 80px rgba(203, 189, 174, 0.3);
}

.hero-title-italic {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(2.2rem, 6vw, 4.5rem);
    font-weight: 300;
    letter-spacing: 0.02em;
    color: var(--accent);
    margin-top: -0.1em;
    opacity: 0;
    animation: heroFadeUp 1.2s var(--ease-luxury) 0.65s forwards;
}

.hero-divider {
    width: 1px;
    height: 56px;
    margin: 32px auto 24px;
    background: linear-gradient(180deg, transparent, var(--accent), transparent);
    opacity: 0;
    animation: heroFadeUp 1s var(--ease-luxury) 0.8s forwards;
}

.hero-sub {
    margin: 0 auto;
    max-width: 560px;
    font-size: clamp(0.95rem, 1.2vw, 1.05rem);
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-soft);
    opacity: 0;
    animation: heroFadeUp 1.1s var(--ease-luxury) 0.95s forwards;
}

.hero-actions {
    margin: 36px auto 0;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    opacity: 0;
    animation: heroFadeUp 1.1s var(--ease-luxury) 1.1s forwards;
}

.hero-primary,
.hero-secondary,
.collection-explore,
.contact-cta,
.btn-primary,
.add-to-cart-btn,
.checkout-btn,
.checkout-submit {
    min-height: 54px;
    padding: 0 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    transition: all 320ms var(--ease-luxury);
    position: relative;
    overflow: hidden;
}

.hero-primary,
.contact-cta,
.add-to-cart-btn,
.checkout-btn,
.checkout-submit,
.btn-primary {
    background: linear-gradient(135deg, var(--accent-bright) 0%, var(--accent) 100%);
    border: 1px solid var(--accent);
    color: #0a0a0a;
    box-shadow: 0 12px 40px rgba(203, 189, 174, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.hero-primary::before,
.contact-cta::before,
.add-to-cart-btn::before,
.checkout-btn::before,
.checkout-submit::before,
.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--gold), var(--accent-bright));
    opacity: 0;
    transition: opacity 320ms ease;
    z-index: 0;
}

.hero-primary>*,
.contact-cta>*,
.add-to-cart-btn>*,
.checkout-btn>*,
.checkout-submit>*,
.btn-primary>* {
    position: relative;
    z-index: 1;
}

.hero-primary:hover::before,
.contact-cta:hover::before,
.add-to-cart-btn:hover::before,
.checkout-btn:hover::before,
.checkout-submit:hover::before,
.btn-primary:hover::before {
    opacity: 1;
}

.hero-secondary,
.collection-explore {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(203, 189, 174, 0.25);
    color: var(--accent-bright);
    backdrop-filter: blur(8px);
}

.hero-secondary:hover,
.collection-explore:hover {
    background: rgba(203, 189, 174, 0.08);
    border-color: var(--accent);
}

.hero-primary:hover,
.hero-secondary:hover,
.collection-explore:hover,
.contact-cta:hover,
.btn-primary:hover,
.add-to-cart-btn:hover,
.checkout-btn:hover,
.checkout-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(203, 189, 174, 0.25);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    color: var(--text-muted);
    font-size: 0.66rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    opacity: 0;
    animation: heroFadeUp 1s var(--ease-luxury) 1.4s forwards;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(180deg, var(--accent), transparent);
    animation: scrollDown 2.2s ease-in-out infinite;
}

/* ===== Marquee ===== */
.marquee {
    position: relative;
    z-index: 3;
    overflow: hidden;
    padding: 22px 0;
    border-block: 1px solid rgba(203, 189, 174, 0.1);
    background: rgba(0, 0, 0, 0.3);
}

.marquee-track {
    display: flex;
    gap: 60px;
    width: max-content;
    animation: marqueeScroll 28s linear infinite;
}

.marquee-item {
    font-family: var(--serif);
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    font-style: italic;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: var(--text);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 60px;
}

.marquee-item::after {
    content: '◆';
    color: var(--gold);
    font-style: normal;
    font-size: 0.6em;
    opacity: 0.7;
}

/* ===== Section intros ===== */
.section-intro {
    padding: clamp(60px, 8vw, 100px) 0 clamp(40px, 5vw, 56px);
}

.section-intro-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 18px;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--accent);
}

.section-intro-kicker::before {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--accent);
}

.section-intro h2 {
    margin: 8px 0 0;
    font-family: var(--serif);
    font-size: clamp(2.4rem, 6vw, 4.8rem);
    font-weight: 300;
    line-height: 0.98;
    letter-spacing: 0.005em;
    max-width: 18ch;
}

.section-intro h2 em {
    font-style: italic;
    color: var(--accent);
}

/* ===== Collections ===== */
.collections-section {
    display: grid;
    gap: 40px;
}

.collection-block {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 40px;
    padding: clamp(24px, 3vw, 36px);
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.005));
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    position: relative;
    transition: transform 600ms var(--ease-luxury), box-shadow 600ms var(--ease-luxury), border-color 400ms ease;
}

.collection-block:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4), var(--shadow-glow);
    border-color: rgba(203, 189, 174, 0.18);
}

.collection-block.img-right {
    grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
}

.collection-block.img-right .collection-img-col {
    order: 2;
}

.collection-img-col,
.collection-text-col {
    min-width: 0;
}

.collection-text-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(8px, 2vw, 24px);
}

.collection-index {
    font-family: var(--serif);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 300;
    line-height: 0.85;
    letter-spacing: 0.04em;
    background: linear-gradient(180deg, rgba(203, 189, 174, 0.6), rgba(203, 189, 174, 0.15));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.collection-count {
    margin: 14px 0 0;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.collection-title,
.page-title,
.contact-heading,
.checkout-head h2 {
    margin: 12px 0 0;
    font-family: var(--serif);
    font-weight: 300;
    line-height: 0.95;
    letter-spacing: 0.005em;
}

.collection-title {
    font-size: clamp(2.4rem, 5vw, 4rem);
}

.collection-desc,
.page-desc,
.contact-copy,
.checkout-head p,
.summary-note,
.product-description {
    color: var(--text-soft);
}

.collection-desc {
    margin: 18px 0 0;
    max-width: 44ch;
    font-size: 1.02rem;
    line-height: 1.7;
}

.collection-meta-row {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
}

.collection-price,
.product-price,
.cart-item-price,
.cart-summary-value,
.checkout-total-row strong {
    font-family: var(--serif);
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--accent-bright);
}

/* ===== Media frames ===== */
.media-frame,
.cart-item-img,
.img-placeholder {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #171717, #0e0e0e);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.collection-media,
.product-media,
.cart-media,
.img-placeholder {
    border-radius: calc(var(--radius-xl) - 12px);
}

.collection-media {
    aspect-ratio: 4 / 5;
    min-height: 420px;
}

.product-media {
    aspect-ratio: 4 / 5;
}

.cart-media,
.cart-item-img {
    width: 130px;
    min-width: 130px;
    height: 160px;
    border-radius: var(--radius-sm);
}

.media-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.35));
    pointer-events: none;
    opacity: 0.7;
    transition: opacity 400ms ease;
}

.collection-block:hover .media-frame::after,
.product-card:hover .media-frame::after {
    opacity: 0.4;
}

.lux-image {
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 500ms ease, transform 1200ms var(--ease-luxury);
    will-change: transform;
}

.lux-image.loaded {
    opacity: 1;
    transform: scale(1);
}

.collection-block:hover .lux-image,
.product-card:hover .lux-image {
    transform: scale(1.06);
}

.media-frame.is-loaded .media-shimmer,
.cart-item-img.is-loaded .media-shimmer {
    opacity: 0;
}

.media-shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, rgba(255, 255, 255, 0.02) 8%, rgba(255, 255, 255, 0.08) 18%, rgba(255, 255, 255, 0.02) 33%);
    background-size: 200% 100%;
    animation: shimmer 1.6s linear infinite;
}

.img-placeholder {
    aspect-ratio: 4 / 5;
    display: grid;
    place-items: center;
    gap: 10px;
    color: var(--text-muted);
    text-align: center;
    padding: 20px;
}

/* ===== Product grid ===== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.product-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.008));
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow-soft);
    transition: transform 500ms var(--ease-luxury), box-shadow 500ms var(--ease-luxury), border-color 400ms ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), var(--shadow-glow);
    border-color: rgba(203, 189, 174, 0.18);
}

.product-card-image {
    position: relative;
    padding: 14px 14px 0;
}

.card-badge-new {
    position: absolute;
    top: 26px;
    left: 26px;
    z-index: 2;
    padding: 7px 13px;
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #0a0a0a;
    background: linear-gradient(135deg, var(--accent-bright), var(--accent));
    box-shadow: 0 4px 16px rgba(203, 189, 174, 0.4);
}

.card-wish-btn {
    position: absolute;
    top: 22px;
    right: 22px;
    z-index: 2;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(11, 11, 11, 0.65);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text);
    transition: all 280ms var(--ease-luxury);
}

.card-wish-btn:hover {
    transform: scale(1.1);
    border-color: var(--accent);
}

.card-wish-btn.active {
    color: #ff6b8a;
    border-color: rgba(255, 107, 138, 0.4);
}

.card-wish-btn.active i {
    animation: heartPop 400ms var(--ease-spring);
}

.product-card-info {
    padding: 22px 22px 26px;
    display: grid;
    gap: 20px;
}

.product-card-copy {
    display: grid;
    gap: 10px;
}

.product-name,
.cart-item-name {
    font-family: var(--serif);
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    color: var(--accent-bright);
}

.product-description {
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--text-muted);
}

.product-card-bottom {
    display: grid;
    gap: 14px;
}

.size-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.size-chip {
    min-width: 42px;
    height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-soft);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    transition: all 220ms var(--ease-luxury);
}

.size-chip:not(.unavailable):hover {
    background: rgba(203, 189, 174, 0.08);
    border-color: var(--accent);
    color: var(--accent-bright);
    transform: translateY(-1px);
}

.size-chip.selected {
    color: #0a0a0a;
    background: var(--accent-bright);
    border-color: transparent;
    transform: scale(1.05);
}

.size-chip.unavailable {
    opacity: 0.32;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* ===== Page headers ===== */
.page-header {
    position: relative;
    min-height: 380px;
    padding: calc(var(--nav-h) + 60px) var(--gutter) 56px;
    display: flex;
    align-items: end;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10, 10, 10, 0.3), rgba(10, 10, 10, 0.88)),
        radial-gradient(circle at top, rgba(203, 189, 174, 0.14), transparent 50%);
}

.page-header.has-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--page-cover);
    background-size: cover;
    background-position: center;
    transform: scale(1.06);
    filter: saturate(0.85) brightness(0.45);
    animation: slowZoom 14s ease-in-out infinite alternate;
}

.page-header-static {
    min-height: 300px;
}

.page-header-overlay,
.page-header-inner {
    position: relative;
    z-index: 1;
}

.page-header-inner {
    width: min(100%, var(--max-w));
    margin: 0 auto;
}

.page-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--text);
    transition: all 240ms var(--ease-luxury);
}

.page-back:hover {
    background: rgba(203, 189, 174, 0.08);
    border-color: var(--accent);
    transform: translateX(-3px);
}

.page-header-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
    margin-top: 24px;
}

.page-price-range {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--accent);
}

.page-title {
    font-size: clamp(2.8rem, 7vw, 5.5rem);
}

.page-desc {
    margin: 18px 0 0;
    max-width: 56ch;
    font-size: 1rem;
    line-height: 1.7;
}

/* ===== Contact ===== */
.contact-section {
    margin-top: var(--section-gap);
    border-radius: var(--radius-xl);
    padding: clamp(40px, 7vw, 72px);
    background:
        radial-gradient(circle at 80% 20%, rgba(203, 189, 174, 0.08), transparent 50%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
    border: 1px solid rgba(203, 189, 174, 0.1);
    box-shadow: var(--shadow-soft);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '◆';
    position: absolute;
    top: 32px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--gold);
    font-size: 0.8rem;
    opacity: 0.6;
}

.contact-eyebrow {
    margin: 0;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.42em;
    text-transform: uppercase;
    color: var(--accent);
}

.contact-heading {
    font-size: clamp(2.4rem, 6vw, 4.5rem);
}

.contact-heading em {
    font-style: italic;
    color: var(--accent-bright);
}

.contact-copy {
    margin: 20px auto 32px;
    max-width: 52ch;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ===== Journal section ===== */
.journal-section {
    padding: clamp(40px, 6vw, 60px) 0;
}

.journal-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.journal-card {
    padding: 32px 26px;
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.005));
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 400ms var(--ease-luxury);
}

.journal-card:hover {
    transform: translateY(-4px);
    border-color: rgba(203, 189, 174, 0.2);
    background: linear-gradient(180deg, rgba(203, 189, 174, 0.04), rgba(255, 255, 255, 0.005));
}

.journal-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(203, 189, 174, 0.08);
    border: 1px solid rgba(203, 189, 174, 0.18);
    color: var(--accent);
    margin-bottom: 22px;
}

.journal-card h3 {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 400;
    margin: 0 0 12px;
    color: var(--accent-bright);
}

.journal-card p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-soft);
}

/* ===== Footer ===== */
.site-footer {
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(203, 189, 174, 0.1);
    margin-top: 60px;
    background: rgba(0, 0, 0, 0.3);
}

.footer-inner {
    width: min(100%, var(--max-w));
    margin: 0 auto;
    padding: 36px var(--gutter) max(36px, env(safe-area-inset-bottom));
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    color: var(--text-muted);
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.footer-brand {
    font-family: var(--serif);
    font-size: 1rem;
    letter-spacing: 0.28em;
    color: var(--accent-bright);
}

/* ===== WhatsApp float ===== */
.whatsapp-float {

    position: fixed;
    right: 22px;
    bottom: calc(22px + env(safe-area-inset-bottom));
    z-index: 950;
    min-height: 56px;
    padding: 0 22px;
    border-radius: 999px;
    /*hides whatsapp float for now*/
    display: none;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    box-shadow: 0 18px 38px rgba(37, 211, 102, 0.4);
    transition: all 320ms var(--ease-luxury);
    animation: pulseGlow 3s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: translateY(-3px) scale(1.05);
}

.whatsapp-float i {
    font-size: 1.3rem;
}

/* ===== Cart layout ===== */
.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 400px);
    gap: 32px;
}

.cart-list {
    display: grid;
    gap: 18px;
}

.cart-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;
    padding: 22px;
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.008));
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow-soft);
    transition: transform 380ms var(--ease-luxury), border-color 320ms ease;
}

.cart-item:hover {
    transform: translateX(4px);
    border-color: rgba(203, 189, 174, 0.15);
}

.cart-item-details {
    display: grid;
    gap: 14px;
}

.cart-item-meta {
    display: block;
    margin-top: 6px;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.cart-item-qty {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    padding: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.qty-btn,
.cart-item-remove,
.modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text);
    transition: all 240ms var(--ease-luxury);
}

.qty-btn:hover {
    background: var(--accent);
    color: #0a0a0a;
}

.cart-item-remove:hover {
    background: #c44;
    color: #fff;
}

.modal-close:hover {
    background: rgba(203, 189, 174, 0.12);
}

.qty-value {
    min-width: 22px;
    text-align: center;
    font-weight: 500;
}

.cart-summary {
    position: sticky;
    top: calc(var(--nav-h) + 24px);
    align-self: start;
}

.summary-panel,
.checkout-order-box,
.modal-panel {
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.018));
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: var(--shadow-panel);
}

.summary-panel {
    padding: 28px;
}

.summary-topline {
    font-family: var(--serif);
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 6px;
    color: var(--accent-bright);
}

.cart-summary-row,
.checkout-total-row,
.checkout-order-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.cart-summary-row {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cart-summary-row.total {
    margin-bottom: 22px;
    padding-top: 22px;
}

.cart-summary-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.summary-actions {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}

.secondary-action-btn {
    min-height: 46px;
    padding: 0 20px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--text-soft);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 220ms var(--ease-luxury);
}

.secondary-action-btn:hover {
    color: var(--accent-bright);
    border-color: var(--accent);
}

.summary-note {
    margin: 18px 0 0;
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-muted);
}

/* ===== Empty state ===== */
.empty-state {
    display: grid;
    place-items: center;
    gap: 18px;
    padding: 80px 24px;
    text-align: center;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.018);
    border: 1px dashed rgba(255, 255, 255, 0.08);
    color: var(--text-soft);
}

.empty-state i {
    font-size: 2.4rem;
    color: var(--accent);
    opacity: 0.7;
}

.empty-state p {
    font-family: var(--serif);
    font-size: 1.4rem;
    font-style: italic;
    margin: 0;
}

/* ===== Toast ===== */
.toast {
    position: fixed;
    left: 50%;
    bottom: calc(28px + env(safe-area-inset-bottom));
    transform: translate(-50%, 16px);
    z-index: 1200;
    min-width: min(92vw, 360px);
    padding: 16px 22px;
    border-radius: 999px;
    text-align: center;
    background: rgba(20, 20, 20, 0.96);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(203, 189, 174, 0.28);
    color: var(--accent-bright);
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease, transform 220ms var(--ease-spring);
}

.toast.show {
    opacity: 1;
    transform: translate(-50%, 0);
}

/* ===== Modal ===== */
.modal-shell {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: grid;
    place-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 280ms ease;
}

.modal-shell.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
}

.modal-panel {
    position: relative;
    width: min(94vw, 860px);
    max-height: min(90vh, 940px);
    overflow: auto;
    padding: 36px;
    transform: scale(0.95) translateY(20px);
    transition: transform 320ms var(--ease-spring);
}

.modal-shell.open .modal-panel {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
}

.checkout-head {
    padding-right: 56px;
}

.checkout-head h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

.checkout-kicker {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 8px;
}

.checkout-form {
    margin-top: 24px;
    display: grid;
    gap: 22px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.form-field {
    display: grid;
    gap: 8px;
}

.form-field-wide {
    grid-column: 1 / -1;
}

.form-field span {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.form-field input,
.form-field textarea,
.form-field select {
    width: 100%;
    min-height: 52px;
    padding: 14px 18px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.025);
    outline: none;
    transition: all 240ms ease;
}

.form-field textarea {
    min-height: 110px;
    resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 4px rgba(203, 189, 174, 0.1);
}

.checkout-order-box {
    padding: 20px;
}

.checkout-order-preview {
    display: grid;
    gap: 4px;
    margin-top: 16px;
}

.checkout-order-item {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-soft);
    font-size: 0.92rem;
}

.checkout-total-row {
    margin-top: 18px;
}

.checkout-helper {
    color: var(--text-muted);
    font-size: 0.86rem;
    margin: 0;
    text-align: center;
}

/* ===== Loading screen ===== */
.loading-screen {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at center, rgba(203, 189, 174, 0.08), transparent 40%), #0a0a0a;
    transition: opacity var(--fadeMs, 700ms) var(--ease-luxury), visibility var(--fadeMs, 700ms) var(--ease-luxury);
}

.loading-screen.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-screen-compact .loading-top {
    font-size: clamp(2.8rem, 9vw, 4.5rem);
}

.loading-grain {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.loading-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(80px);
    animation: floatOrb 8s ease-in-out infinite;
}

.loading-orb-1 {
    width: 220px;
    height: 220px;
    background: rgba(203, 189, 174, 0.22);
    top: 22%;
    left: 26%;
}

.loading-orb-2 {
    width: 160px;
    height: 160px;
    background: rgba(184, 135, 70, 0.16);
    right: 26%;
    bottom: 22%;
    animation-delay: -3s;
}

.loading-logo {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    gap: 14px;
    text-align: center;
}

.loading-top {
    font-family: var(--serif);
    font-size: clamp(4rem, 11vw, 7rem);
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-bright);
    line-height: 1;
}

.loading-bottom {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.loading-line {
    width: min(280px, 70vw);
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
    margin: 8px 0;
}

.loading-line-fill {
    display: block;
    width: 100%;
    height: 100%;
    transform: scaleX(0.1);
    transform-origin: left;
    background: linear-gradient(90deg, var(--accent), var(--gold), var(--accent));
    transition: transform 480ms ease;
}

.loading-status {
    margin: 8px 0 0;
    font-size: 0.7rem;
    font-style: italic;
    font-family: var(--serif);
    letter-spacing: 0.18em;
    color: var(--text-soft);
}

/* ===== Reveal ===== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 700ms var(--ease-luxury), transform 700ms var(--ease-luxury);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Keyframes ===== */
@keyframes shimmer {
    from {
        background-position: 200% 0;
    }

    to {
        background-position: -200% 0;
    }
}

@keyframes floatOrb {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-22px) scale(1.06);
    }
}

@keyframes scrollDown {

    0%,
    100% {
        transform: scaleY(0.4);
        transform-origin: top;
        opacity: 0.4;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
        opacity: 1;
    }
}

@keyframes marqueeScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroTitle {
    from {
        opacity: 0;
        transform: translateY(40px);
        letter-spacing: 0.2em;
    }

    to {
        opacity: 1;
        transform: translateY(0);
        letter-spacing: 0.06em;
    }
}

@keyframes heartPop {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.4);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 18px 38px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 18px 50px rgba(37, 211, 102, 0.65);
    }
}

@keyframes slowZoom {
    from {
        transform: scale(1.06);
    }

    to {
        transform: scale(1.14);
    }
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {

    .product-grid,
    .journal-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cart-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .cart-summary {
        position: static;
    }
}

@media (max-width: 900px) {
    :root {
        --nav-h: 68px;
        --gutter: clamp(18px, 5vw, 32px);
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: inline-flex;
    }

    .nav-brand::before {
        display: none;
    }

    .collection-block,
    .collection-block.img-right {
        grid-template-columns: minmax(0, 1fr);
    }

    .collection-block.img-right .collection-img-col {
        order: 0;
    }

    .form-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .modal-panel {
        width: min(94vw, 820px);
        padding: 28px 22px;
    }

    .journal-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 680px) {
    .hero {
        min-height: 92svh;
        padding-bottom: 60px;
    }

    .hero-actions,
    .collection-meta-row,
    .footer-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .footer-inner {
        text-align: center;
    }

    .product-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .page-header {
        min-height: 320px;
    }

    .cart-item {
        grid-template-columns: 1fr;
        justify-items: start;
        position: relative;
    }

    .cart-item-remove {
        position: absolute;
        top: 18px;
        right: 18px;
    }

    .cart-item-img,
    .cart-media {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 5;
    }

    .whatsapp-float span {
        display: none;
    }

    .whatsapp-float {
        width: 56px;
        padding: 0;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}