/* =========================================================
   Shopivya Atelier — logo-led luxury palette
   Midnight navy · berry magenta · sunset orange · ivory cream
   ========================================================= */

:root {
    --ink: #102048;
    --ink-soft: #3a4268;
    --mist: #f3e6d4;
    --mist-deep: #e8d4bc;
    --cream: #fbf3e8;
    --paper: #fbf3e8;
    --white: #ffffff;
    --seafoam: #e58926;
    --seafoam-dark: #c03868;
    --seafoam-glow: rgba(229, 137, 38, 0.28);
    --sand: #c9a056;
    --sand-light: #f3c07a;
    --danger: #c45b5b;
    --success: #1f8a6a;
    --warning: #e58926;
    --berry: #c03868;
    --orchid: #672668;

    --primary: #102048;
    --primary-dark: #0c1433;
    --primary-mid: #672668;
    --primary-light: #c03868;
    --accent: #e58926;
    --accent-dark: #d7633c;
    --accent-light: #f3c07a;
    --accent-glow: rgba(229, 137, 38, 0.28);
    --secondary: #c03868;
    --dark: #0c1433;
    --navy: #102048;
    --nav-bg: #fbf3e8;
    --gray-900: #102048;
    --gray-700: #3a4268;
    --gray-500: #6b7390;
    --gray-300: #d4c4b0;
    --gray-100: #f3e6d4;
    --gray-50: #f8f0e4;

    --gradient: linear-gradient(135deg, #672668 0%, #c03868 48%, #e58926 100%);
    --gradient-gold: linear-gradient(120deg, #e58926 0%, #f3c07a 48%, #d7633c 100%);
    --gradient-hero: linear-gradient(160deg, #0c1433 0%, #102048 38%, #672668 72%, #c03868 100%);

    --shadow: 0 2px 10px rgba(16, 32, 72, 0.07);
    --shadow-md: 0 12px 32px rgba(16, 32, 72, 0.12);
    --shadow-lg: 0 28px 60px -20px rgba(16, 32, 72, 0.24);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
    --transition: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    --header-height: 128px;
    --site-max: 1500px;
    --site-gutter: 18px;
    --amz-header: #fbf3e8;
    --amz-nav: #fbf3e8;
    --amz-top: #102048;
    --amz-search-btn: #102048;
    --font: 'Source Sans 3', system-ui, sans-serif;
    --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --modal-dur: 0.38s;
}

/* ---------- Base ---------- */
html {
    background-color: var(--cream);
}

body.atelier {
    font-family: var(--font);
    color: var(--ink);
    background-color: var(--cream);
    background-image:
        radial-gradient(ellipse 70% 40% at 100% 0%, rgba(229, 137, 38, 0.16), transparent 55%),
        radial-gradient(ellipse 50% 35% at 0% 20%, rgba(192, 56, 104, 0.08), transparent 50%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
}

/* Keep solid surfaces clean over the strip texture */
.atelier .header-glass,
.atelier .nav-river,
.atelier .card,
.atelier .pd-buybox,
.atelier .pd-section,
.atelier .features-grid,
.atelier .modal-content,
.atelier .tile-media,
.atelier .cat-tile,
.atelier .promo-split-inner,
.atelier .search-form,
.atelier .ps-btn {
    background-image: none;
}

.atelier .container {
    width: 100%;
    max-width: var(--site-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--site-gutter);
    padding-right: var(--site-gutter);
}

/* ---------- Loader (logo splash) ---------- */
.atelier .page-loader {
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.loader-splash {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    animation: loaderSplashIn 0.45s var(--ease) both;
}
.loader-logo-stage {
    position: relative;
    width: 148px;
    height: 148px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.loader-logo {
    position: relative;
    z-index: 2;
    width: 118px;
    height: auto;
    object-fit: contain;
    animation: loaderLogoPulse 1.85s ease-in-out infinite;
    filter: drop-shadow(0 8px 24px rgba(15, 46, 42, 0.12));
}
.loader-logo-ring {
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    border: 2px solid rgba(47, 158, 144, 0.45);
    animation: loaderRingExpand 1.85s ease-out infinite;
}
.loader-logo-ring--delay {
    animation-delay: 0.62s;
}
.loader-tagline {
    margin: 0;
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--seafoam-dark);
    opacity: 0;
    animation: loaderTaglineIn 0.55s ease-out 0.15s forwards;
}
@keyframes loaderSplashIn {
    from { opacity: 0; transform: scale(0.94); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes loaderLogoPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}
@keyframes loaderRingExpand {
    0% { transform: scale(0.82); opacity: 0.75; }
    100% { transform: scale(1.42); opacity: 0; }
}
@keyframes loaderTaglineIn {
    to { opacity: 1; }
}
.atelier .loader-spinner { display: none; }

/* ---------- Header: screenshot colors + Amazon layout ---------- */
.atelier-header {
    position: relative;
    top: auto;
    z-index: 1000;
    background: var(--amz-header);
    box-shadow: 0 1px 6px rgba(18, 32, 42, 0.08);
}
.announce-bar {
    background: var(--amz-top);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.75rem;
    padding: 6px 0;
    border-bottom: none;
}
.announce-inner {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}
.announce-inner strong { color: var(--sand-light); }
.announce-center { color: rgba(255, 255, 255, 0.9); }
.announce-help {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    white-space: nowrap;
    font-weight: 600;
}
.announce-help i { color: var(--sand-light); }
.announce-help:hover { color: #ffffff; }
.coupon-blink {
    display: inline-block;
    color: var(--sand-light);
    letter-spacing: 0.04em;
    animation: couponBlink 1.15s ease-in-out infinite;
}
@keyframes couponBlink {
    0%, 100% { opacity: 1; text-shadow: 0 0 0 transparent; }
    50% { opacity: 0.18; text-shadow: 0 0 10px rgba(255, 255, 255, 0.85); }
}
@media (prefers-reduced-motion: reduce) {
    .coupon-blink { animation: none; opacity: 1; }
}

.header-glass {
    position: relative;
    z-index: 5;
    background: var(--amz-header);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid rgba(18, 32, 42, 0.06);
}
.header-glass-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 0;
    min-height: 108px;
}

.logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}
.logo-img {
    display: block;
    height: 96px;
    width: auto;
    object-fit: contain;
}
.logo-glyph { display: none; }
.logo-text { display: none; }
.logo-accent { display: none; }

.atelier .header-glass .pincode-form {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(18, 32, 42, 0.08);
    border-radius: 999px;
    background: #ffffff;
    padding: 8px 18px;
    color: var(--ink);
    min-width: 168px;
    max-width: 340px;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
}
.atelier .header-glass .pincode-form:hover {
    border-color: var(--seafoam);
}
.atelier .header-glass .pincode-form > i {
    color: var(--seafoam);
    font-size: 1.15rem;
    flex-shrink: 0;
}
.atelier .header-glass .location-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.15;
}
.atelier .header-glass .location-label {
    color: var(--gray-500);
    font-size: 0.7rem;
    line-height: 1.15;
    font-weight: 400;
}
.atelier .header-glass .location-city {
    color: var(--seafoam-dark);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.2;
    max-width: 280px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.atelier .header-location {
    flex: 0 1 auto;
    min-width: 168px;
}

.atelier .search-wrap {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
    z-index: 40;
}
.atelier .search-form {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    max-width: none;
    height: 42px;
    border-radius: 4px;
    border: 1px solid #e0d0ba;
    background: #fff;
    overflow: hidden;
    box-shadow: none;
}
.atelier .search-form:focus-within {
    outline: 2px solid var(--seafoam);
    outline-offset: 1px;
    border-color: var(--seafoam);
    box-shadow: none;
}
.atelier .search-category {
    background: #f3e6d4;
    color: var(--ink);
    border-right: 1px solid #e0d0ba;
    max-width: 132px;
    font-size: 0.78rem;
    border-radius: 0;
}
.atelier .search-form input {
    font-size: 0.95rem;
}
.atelier .search-form button {
    background: var(--amz-search-btn);
    color: #fff;
    padding: 0 16px;
    min-width: 48px;
    border-radius: 0 4px 4px 0;
}
.atelier .search-form button:hover {
    background: var(--seafoam-dark);
    color: #fff;
}

.search-suggest {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    max-height: min(70vh, 460px);
    overflow-y: auto;
    background: #fff;
    border: 1px solid #ead9c4;
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(16, 32, 72, 0.16);
    z-index: 80;
    padding: 6px 0;
}
.search-suggest[hidden] { display: none; }
.search-suggest-group + .search-suggest-group {
    border-top: 1px solid #f3e6d4;
    margin-top: 4px;
    padding-top: 4px;
}
.search-suggest-kw,
.search-suggest-cat,
.search-suggest-product,
.search-suggest-all {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    color: var(--ink);
    text-decoration: none;
}
.search-suggest-kw:hover,
.search-suggest-cat:hover,
.search-suggest-product:hover,
.search-suggest-all:hover,
.search-suggest-kw.is-active,
.search-suggest-cat.is-active,
.search-suggest-product.is-active,
.search-suggest-all.is-active {
    background: #fbf3e8;
}
.search-suggest-kw i,
.search-suggest-cat i {
    width: 18px;
    color: var(--gray-500);
    font-size: 0.82rem;
    text-align: center;
}
.search-suggest-kw span,
.search-suggest-cat span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.search-suggest mark {
    background: rgba(229, 137, 38, 0.28);
    color: inherit;
    font-weight: 700;
    padding: 0 1px;
    border-radius: 2px;
}
.search-suggest-product img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 8px;
    background: #f8f0e4;
    flex-shrink: 0;
}
.search-suggest-copy {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.search-suggest-copy strong {
    font-size: 0.9rem;
    font-weight: 650;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.search-suggest-copy small {
    color: var(--gray-500);
    font-size: 0.75rem;
}
.search-suggest-price {
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--ink);
    white-space: nowrap;
}
.search-suggest-price s {
    display: block;
    font-weight: 500;
    font-size: 0.72rem;
    color: var(--gray-500);
}
.search-suggest-all {
    justify-content: center;
    margin-top: 4px;
    border-top: 1px solid #f3e6d4;
    color: var(--seafoam-dark);
    font-weight: 700;
    font-size: 0.86rem;
}
.search-suggest-empty {
    padding: 16px 14px;
    color: var(--gray-500);
    font-size: 0.9rem;
    text-align: center;
}

.atelier .header-glass .icon-btn {
    color: var(--ink);
    border-radius: 8px;
    min-width: 58px;
    padding: 6px 9px;
    border: 1px solid transparent;
}
.atelier .header-glass .icon-btn:hover {
    background: rgba(229, 137, 38, 0.1);
    color: var(--seafoam-dark);
    border-color: transparent;
}
.atelier .header-glass .icon-btn i { font-size: 1.2rem; }
.icon-caption-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.15;
    text-align: left;
}
.icon-caption-sub {
    font-size: 0.68rem;
    font-weight: 400;
    color: var(--gray-500);
    white-space: nowrap;
}
.icon-caption-main {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--ink);
    white-space: nowrap;
}
.atelier .header-glass .icon-caption {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--ink);
}
.atelier .header-glass .cart-btn {
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 52px;
}
.atelier .header-glass .cart-btn .icon-caption-main { font-size: 0.72rem; }
@media (min-width: 769px) {
    .atelier .header-glass .dropdown-toggle,
    .atelier .header-glass .auth-open-btn,
    .atelier .header-glass .action-orders {
        flex-direction: column;
        align-items: center;
    }
}

.icon-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-width: 52px;
    padding: 6px 8px;
    border: none;
    background: transparent;
    color: var(--ink);
    border-radius: 12px;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    transition: background var(--transition), color var(--transition), transform var(--transition);
    position: relative;
}
.icon-btn:hover {
    background: rgba(229, 137, 38, 0.1);
    color: var(--seafoam-dark);
}
.icon-btn i { font-size: 1.15rem; }
.icon-caption {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--gray-500);
    white-space: nowrap;
}
.cart-icon-wrap { position: relative; line-height: 1; }
.atelier .header-actions {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
    margin-left: 8px;
}
.atelier .cart-badge,
.atelier .wishlist-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    left: auto;
    background: var(--seafoam);
    color: #fff;
    font-size: 0.65rem;
    min-width: 18px;
    height: 18px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}
.mobile-menu-toggle {
    display: none;
    border: 1px solid rgba(18, 32, 42, 0.12);
    background: #fff;
    color: var(--ink);
}

/* Nav river — light bar, navy active like the screenshot */
.nav-river {
    position: relative;
    z-index: 4;
    background: var(--amz-nav);
    backdrop-filter: none;
    border-bottom: 1px solid rgba(18, 32, 42, 0.06);
}
.nav-river-inner {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    min-height: 40px;
    overflow: visible;
}
.mega-wrap { flex-shrink: 0; }
.nav-list {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    flex: 1 1 0;
    min-width: 0;
    -webkit-overflow-scrolling: touch;
}
.nav-list::-webkit-scrollbar { display: none; }
.nav-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--ink) !important;
    white-space: nowrap;
    border: 1px solid transparent;
    background: transparent;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}
.atelier .nav-all-btn { font-weight: 700; }
/* Override legacy white nav link color from style.css */
.atelier .nav-list > li > a,
.atelier .nav-list > li > a.nav-chip,
.atelier .nav-river .nav-chip {
    color: var(--ink) !important;
    background: transparent;
    border: 1px solid transparent;
    text-shadow: none;
}
.atelier .nav-list > li > a::after { display: none !important; }
.nav-chip:hover,
.nav-chip.active,
.nav-chip.active-mega,
.nav-chip:focus,
.nav-chip:focus-visible,
.atelier .nav-list > li > a:hover,
.atelier .nav-list > li > a.active,
.atelier .nav-list > li > a.nav-chip:hover,
.atelier .nav-list > li > a.nav-chip.active,
.atelier .nav-river .nav-chip:hover,
.atelier .nav-river .nav-chip.active,
.atelier .nav-river .nav-chip.active-mega,
.atelier .nav-river .nav-chip:focus,
.atelier .nav-river .nav-chip:focus-visible,
.nav-all-btn:hover,
.nav-all-btn.active-mega,
.atelier .nav-river .nav-all-btn.active-mega {
    background: var(--ink) !important;
    color: #ffffff !important;
    border-color: var(--ink);
}
.atelier .nav-river .nav-chip.active-mega i,
.atelier .nav-river .nav-chip:hover i,
.atelier .nav-river .nav-chip:focus i {
    color: #ffffff !important;
}

.atelier .mega-dropdown {
    border-radius: 18px;
    margin-top: 8px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(18, 32, 42, 0.06);
    overflow: hidden;
    animation: megaIn 0.3s var(--ease);
}
@keyframes megaIn {
    from { opacity: 0; transform: translateY(-8px) scale(0.98); }
    to { opacity: 1; transform: none; }
}
.atelier .mega-left { background: var(--paper); }
.atelier .mega-cat-btn:hover,
.atelier .mega-cat-btn.active { color: var(--seafoam-dark); }
.atelier .dropdown-menu {
    border-radius: 14px;
    border: 1px solid rgba(18, 32, 42, 0.06);
    animation: megaIn 0.25s var(--ease);
}
.atelier .dropdown-menu .menu-count {
    position: static;
    margin-left: auto;
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    border-radius: 999px;
    font-size: 0.72rem;
    background: var(--seafoam);
    color: #fff;
    box-shadow: none;
    top: auto;
    right: auto;
}
.atelier .dropdown-menu .menu-count.is-empty {
    opacity: 0.45;
    background: #94a3b8;
}

/* ---------- Hero atelier ---------- */
.hero-atelier {
    position: relative;
    min-height: min(86vh, 680px);
    height: min(86vh, 680px);
    overflow: hidden;
    background: var(--ink);
}
.hero-atelier .hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
}
.hero-atelier .hero-slide.active { opacity: 1; z-index: 1; }
.hero-atelier .hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.06);
    animation: ken 18s ease-in-out infinite alternate;
    filter: brightness(0.55) saturate(1.05);
}
@keyframes ken {
    from { transform: scale(1.06); }
    to { transform: scale(1.14); }
}
.hero-atelier .hero-veil {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(105deg, rgba(11, 20, 26, 0.88) 0%, rgba(11, 20, 26, 0.45) 48%, rgba(11, 20, 26, 0.2) 100%),
        linear-gradient(to top, rgba(11, 20, 26, 0.55), transparent 42%);
    pointer-events: none;
}
.hero-atelier-grid {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 40px;
    min-height: inherit;
    padding-top: 40px;
    padding-bottom: 56px;
}
.hero-copy { color: white; max-width: 560px; }
.hero-brand {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 7vw, 4.6rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 0.92;
    margin-bottom: 14px;
    background: linear-gradient(100deg, #fff 10%, var(--sand-light) 45%, #fff 80%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: brandShine 6s ease-in-out infinite, riseIn 0.8s var(--ease) both;
}
@keyframes brandShine {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.8vw, 2rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.25;
    max-width: 18ch;
    margin-bottom: 12px;
    animation: riseIn 0.8s 0.08s var(--ease) both;
}
.hero-lead {
    font-size: 1.05rem;
    opacity: 0.85;
    max-width: 36ch;
    margin-bottom: 28px;
    animation: riseIn 0.8s 0.14s var(--ease) both;
}
.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    animation: riseIn 0.8s 0.2s var(--ease) both;
}
@keyframes riseIn {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: none; }
}

/* One 3D floating product */
.hero-float-card {
    justify-self: end;
    perspective: 1000px;
    animation: riseIn 1s 0.25s var(--ease) both;
}
.float-3d {
    width: min(320px, 78vw);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 22px;
    padding: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
    transform: rotateY(-12deg) rotateX(6deg);
    transform-style: preserve-3d;
    transition: transform 0.5s var(--ease);
    animation: floatCard 7s ease-in-out infinite;
}
.float-3d:hover {
    transform: rotateY(-4deg) rotateX(2deg) translateY(-6px);
}
@keyframes floatCard {
    0%, 100% { transform: rotateY(-12deg) rotateX(6deg) translateY(0); }
    50% { transform: rotateY(-8deg) rotateX(10deg) translateY(-14px); }
}
.float-3d img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 14px;
    transform: translateZ(24px);
}
.float-meta {
    display: grid;
    gap: 2px;
    padding: 12px 6px 4px;
    color: white;
    transform: translateZ(30px);
}
.float-meta span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--sand-light);
    font-weight: 700;
}
.float-meta strong {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
}
.float-meta em {
    font-style: normal;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
}

.hero-atelier .hero-dots {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: 8px;
}
.hero-atelier .hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 3px;
    border: none;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: var(--transition);
}
.hero-atelier .hero-dot.active {
    width: 28px;
    background: var(--sand);
}

/* ---------- Marquee ---------- */
.trust-marquee {
    overflow: hidden;
    background: var(--ink);
    color: rgba(255, 255, 255, 0.7);
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.marquee-track {
    display: flex;
    gap: 28px;
    width: max-content;
    animation: marquee 28s linear infinite;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
@keyframes marquee {
    to { transform: translateX(-50%); }
}
.welcome-code-flash {
    display: inline-block;
    color: #f3c07a;
    font-weight: 800;
    letter-spacing: 0.14em;
    padding: 2px 8px;
    margin: 0 2px;
    border-radius: 6px;
    background: rgba(229, 137, 38, 0.22);
    box-shadow: 0 0 0 1px rgba(229, 137, 38, 0.45);
    animation: welcomeCodeFlash 1.05s ease-in-out infinite;
    transform-origin: center;
}
@keyframes welcomeCodeFlash {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        color: #f3c07a;
        background: rgba(229, 137, 38, 0.22);
        text-shadow: 0 0 6px rgba(229, 137, 38, 0.7);
        box-shadow: 0 0 0 1px rgba(229, 137, 38, 0.45);
    }
    45%, 55% {
        opacity: 0.22;
        transform: scale(1.12);
        color: #ffffff;
        background: rgba(192, 56, 104, 0.55);
        text-shadow: 0 0 16px rgba(255, 255, 255, 0.95), 0 0 10px #e58926;
        box-shadow: 0 0 14px rgba(229, 137, 38, 0.8);
    }
}

/* ---------- Sections ---------- */
.atelier .page-content { padding: 16px 0 48px; }
.atelier .section { padding: 48px 0; }
.atelier .section-alt {
    background: linear-gradient(180deg, #fbf3e8, #f3e0c8);
}
.section-header h2,
.atelier .section-header h2 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--ink);
}
.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    text-align: left;
    margin-bottom: 36px;
}
.section-header-row .view-all { margin-top: 0; }
.atelier .view-all {
    color: var(--seafoam-dark);
    font-weight: 700;
}

/* ---------- Category river ---------- */
.category-river {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(160px, 1fr);
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
@media (min-width: 1000px) {
    .category-river {
        grid-auto-flow: unset;
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        overflow: visible;
    }
}
.cat-tile {
    scroll-snap-align: start;
    position: relative;
    display: block;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: white;
    border: 1px solid rgba(18, 32, 42, 0.06);
    transition: transform var(--transition), box-shadow var(--transition);
}
.cat-tile:hover {
    transform: translateY(-8px) rotate(-0.5deg);
    box-shadow: var(--shadow-lg);
}
.cat-index {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.8rem;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.cat-visual {
    aspect-ratio: 4/5;
    overflow: hidden;
    background: var(--mist-deep);
}
.cat-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease);
}
.cat-tile:hover .cat-visual img { transform: scale(1.08); }
.cat-tile h3 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 12px 14px 14px;
    letter-spacing: -0.02em;
}
.category-icon-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--seafoam);
    background: linear-gradient(145deg, var(--paper), var(--mist));
}

/* ---------- Product tiles ---------- */
.atelier .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 22px;
}
.product-tile {
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
}
.product-tile:hover {
    transform: none;
    box-shadow: none;
    border-color: transparent;
}
.tile-media {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: white;
    border: 1px solid rgba(18, 32, 42, 0.06);
    aspect-ratio: 4/5;
    transition: transform var(--transition), box-shadow var(--transition);
}
.product-tile:hover .tile-media {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.tile-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease);
}
.product-tile:hover .tile-media img { transform: scale(1.06); }
.tile-sheen {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
    transform: translateX(-120%);
    pointer-events: none;
}
.product-tile:hover .tile-sheen {
    animation: sheen 0.85s ease;
}
@keyframes sheen {
    to { transform: translateX(120%); }
}
.tile-actions {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateY(8px);
    transition: var(--transition);
    z-index: 3;
}
.product-tile:hover .tile-actions {
    opacity: 1;
    transform: none;
}
.atelier .btn-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--ink);
    border: none;
    box-shadow: var(--shadow-md);
}
.atelier .btn-icon:hover {
    background: var(--ink);
    color: var(--sand-light);
    transform: scale(1.05);
}
.atelier .badge {
    border-radius: 8px;
    padding: 5px 9px;
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.atelier .badge-sale { background: var(--danger); }
.atelier .badge-discount-mark { background: var(--ink); color: var(--sand-light); }
.atelier .badge-extra-promo { background: #9d174d; color: #fff; }
.atelier .badge-new { background: var(--seafoam); }
.atelier .badge-hot { background: var(--ink); color: var(--sand-light); }
.atelier .product-card.has-discount-offer { outline: 2px solid rgba(192, 56, 104, 0.28); outline-offset: 2px; }
.atelier .product-offer-line { color: var(--ink); }
.atelier .product-extra-promo { color: #9d174d; }
.atelier .product-offer-banner {
    background: linear-gradient(90deg, rgba(16,32,72,.1), rgba(229,137,38,.14));
    border-color: rgba(16,32,72,.18);
}
.atelier .product-extra-promo-banner {
    background: linear-gradient(90deg, rgba(157,23,77,.1), rgba(251,191,36,.16));
    border-color: rgba(157,23,77,.25);
    color: #9d174d;
}

.tile-info { padding: 14px 4px 0; }
.atelier .product-category {
    color: var(--seafoam-dark);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
}
.atelier .product-name {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.02em;
    font-size: 1rem;
    margin: 4px 0 8px;
}
.tile-footer {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
}
.atelier .current-price {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--ink);
}

/* Mosaic featured */
.mosaic-featured {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 22px;
    align-items: stretch;
}
.mosaic-lead .product-tile .tile-media {
    aspect-ratio: 1 / 1.05;
}
.mosaic-lead .product-name { font-size: 1.25rem; }
.mosaic-side {
    grid-template-columns: 1fr 1fr !important;
    gap: 18px !important;
}

.product-rail {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 22px;
    overflow: visible;
    padding-bottom: 0;
    scroll-snap-type: none;
}
.product-rail .product-tile {
    scroll-snap-align: unset;
    min-width: 0;
}

/* Soft horizontal strips (categories) â€” hide native bars */
.category-river {
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.category-river::-webkit-scrollbar { display: none; }

/* ---------- Product slider (Just landed) ---------- */
.product-slider {
    position: relative;
    --ps-gap: 22px;
    --ps-per-view: 4;
    padding: 0 52px;
}
.ps-viewport {
    container-type: inline-size;
    overflow: hidden;
    width: 100%;
    margin: 0;
}
.ps-track {
    display: flex;
    flex-wrap: nowrap;
    gap: var(--ps-gap);
    width: max-content;
    max-width: none;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}
.ps-track .product-tile {
    flex: 0 0 calc((100% - (var(--ps-per-view) - 1) * var(--ps-gap)) / var(--ps-per-view));
    min-width: 0;
    max-width: none;
}
@supports (width: 1cqi) {
    .ps-track .product-tile {
        --ps-slide: calc((100cqi - (var(--ps-per-view) - 1) * var(--ps-gap)) / var(--ps-per-view));
        flex: 0 0 var(--ps-slide);
        width: var(--ps-slide);
        min-width: var(--ps-slide);
        max-width: var(--ps-slide);
    }
}
@supports not (width: 1cqi) {
    .ps-track { width: auto; }
}
.ps-btn {
    position: absolute;
    top: 38%;
    transform: translateY(-50%);
    z-index: 5;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(18, 32, 42, 0.08);
    background: #fff;
    color: var(--ink);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.ps-btn:hover {
    background: var(--ink);
    color: #fff;
    transform: translateY(-50%) scale(1.05);
}
.ps-btn:disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}
.ps-prev { left: 0; }
.ps-next { right: 0; }
.ps-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}
.ps-dot {
    width: 8px;
    height: 8px;
    border-radius: 3px;
    border: none;
    padding: 0;
    background: rgba(18, 32, 42, 0.18);
    cursor: pointer;
    transition: width 0.3s ease, background 0.3s ease;
}
.ps-dot.active {
    width: 22px;
    background: var(--ink);
}
.section-header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

@media (max-width: 1100px) {
    .product-slider { --ps-per-view: 3; }
}
@media (max-width: 800px) {
    .product-slider { --ps-per-view: 2; padding: 0 44px; }
}
@media (max-width: 520px) {
    .product-slider { --ps-per-view: 1; --ps-gap: 14px; padding: 0 42px; }
    .ps-btn { width: 38px; height: 38px; border-radius: 12px; }
}

/* ---------- Promo split + 3D orb ---------- */
.promo-split {
    margin: 20px 0;
    padding: 0;
}
.promo-split-inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
    align-items: center;
    background: var(--ink);
    color: white;
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    overflow: hidden;
    position: relative;
}
.promo-kicker {
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--sand-light);
    font-weight: 700;
    margin-bottom: 10px;
}
.promo-copy h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    letter-spacing: -0.03em;
    margin-bottom: 10px;
}
.promo-copy p { opacity: 0.8; margin-bottom: 22px; max-width: 42ch; }
.promo-orb {
    position: relative;
    width: 220px;
    height: 220px;
    margin: 0 auto;
    perspective: 600px;
}
.orb-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(214, 181, 122, 0.45);
    box-shadow: 0 0 0 20px rgba(214, 181, 122, 0.06);
    animation: orbSpin 16s linear infinite;
    transform: rotateX(68deg);
}
.orb-core {
    position: absolute;
    inset: 28%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--sand-light), var(--seafoam-dark));
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    animation: orbPulse 4s ease-in-out infinite;
}
@keyframes orbSpin {
    to { transform: rotateX(68deg) rotateZ(360deg); }
}
@keyframes orbPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

/* ---------- Buttons ---------- */
.atelier .btn {
    border-radius: 12px;
    font-weight: 700;
    padding: 13px 24px;
    letter-spacing: 0.01em;
}
.atelier .btn-primary {
    background: var(--seafoam);
    color: #fff;
    box-shadow: 0 8px 24px rgba(229, 137, 38, 0.32);
}
.atelier .btn-primary:hover {
    background: var(--seafoam-dark);
    transform: translateY(-2px);
}
.atelier .btn-gradient {
    background: linear-gradient(120deg, var(--seafoam), var(--seafoam-dark));
    color: white;
}
.atelier .btn-outline {
    border: 1.5px solid var(--ink);
    color: var(--ink);
    border-radius: 12px;
}
.atelier .btn-outline:hover {
    background: var(--seafoam);
    border-color: var(--seafoam);
    color: white;
}
.atelier .btn-ghost {
    background: transparent;
    color: white;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    border-radius: 12px;
}
.atelier .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.7);
}

/* ---------- Animated modals ---------- */
.atelier .modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--modal-dur) var(--ease), visibility var(--modal-dur) var(--ease);
}
.atelier .modal.active,
.atelier .modal.is-closing {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.atelier .modal.is-closing {
    opacity: 0;
    pointer-events: none;
}
.atelier .modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 20, 26, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity var(--modal-dur) var(--ease);
}
.atelier .modal.active .modal-overlay { opacity: 1; }
.atelier .modal.is-closing .modal-overlay { opacity: 0; }

.atelier .modal-content {
    position: relative;
    background: white;
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(18, 32, 42, 0.06);
    transform: translateY(28px) scale(0.94);
    opacity: 0;
    transition:
        transform var(--modal-dur) var(--ease),
        opacity var(--modal-dur) var(--ease);
}
.atelier .modal.active .modal-content {
    transform: translateY(0) scale(1);
    opacity: 1;
}
.atelier .modal.is-closing .modal-content {
    transform: translateY(16px) scale(0.96);
    opacity: 0;
}
.atelier .modal-close {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--mist);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    top: 14px;
    right: 14px;
    transition: var(--transition);
}
.atelier .modal-close:hover {
    background: var(--ink);
    color: white;
}

/* Auth modal polish */
.atelier .auth-modal-content { padding: 28px 24px 24px; }
.atelier .auth-tabs {
    background: var(--mist);
    border-radius: 12px;
    padding: 4px;
}
.atelier .auth-tab {
    border-radius: 10px;
    font-weight: 700;
}
.atelier .auth-tab.active {
    background: var(--ink);
    color: white;
}
.atelier .auth-combo-field {
    border: 1.5px solid var(--gray-300);
    border-radius: 12px;
}
.atelier .auth-combo-field:focus-within {
    border-color: var(--seafoam);
    box-shadow: 0 0 0 3px var(--seafoam-glow);
}
.atelier .phone-cc-menu {
    border-radius: 14px;
    border-color: rgba(18, 32, 42, 0.08);
}

/* ---------- Drawer animated ---------- */
.atelier .side-drawer {
    visibility: hidden;
    pointer-events: none;
}
.atelier .side-drawer.open {
    visibility: visible;
    pointer-events: auto;
}
.atelier .side-drawer-overlay {
    opacity: 0;
    transition: opacity 0.35s var(--ease);
}
.atelier .side-drawer.open .side-drawer-overlay { opacity: 1; }
.atelier .side-drawer.is-closing .side-drawer-overlay { opacity: 0; }
.atelier .side-drawer-panel {
    transform: translateX(-105%);
    transition: transform 0.4s var(--ease);
    border-radius: 0 20px 20px 0;
}
.atelier .side-drawer.open .side-drawer-panel { transform: translateX(0); }
.atelier .side-drawer.is-closing .side-drawer-panel { transform: translateX(-105%); }
.atelier .side-drawer-head {
    background: var(--ink);
}

/* ---------- Lightbox ---------- */
.atelier .lightbox {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.atelier .lightbox:not([hidden]) {
    opacity: 1;
    visibility: visible;
    display: flex;
}
.atelier .lightbox-stage {
    transform: scale(0.92);
    transition: transform 0.35s var(--ease);
}
.atelier .lightbox:not([hidden]) .lightbox-stage { transform: scale(1); }

/* ---------- Cards / forms / footer ---------- */
.atelier .card {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(18, 32, 42, 0.06);
    box-shadow: var(--shadow);
    background: white;
}
.atelier .form-control {
    border-radius: 12px;
    border: 1.5px solid var(--gray-300);
}
.atelier .form-control:focus {
    border-color: var(--seafoam);
    box-shadow: 0 0 0 3px var(--seafoam-glow);
}
.atelier .page-banner {
    background: var(--gradient-hero);
    border-radius: 0;
}

/* Category page hero banner — full image, no crop */
.category-hero {
    position: relative;
    width: 100%;
    line-height: 0;
    background: var(--gradient-hero);
}
.category-hero-bg {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    aspect-ratio: 1400 / 420;
}
.category-page-head {
    padding: 20px 0 8px;
    text-align: center;
}
.category-page-head h1 {
    font-family: var(--font-display);
    font-size: clamp(1.65rem, 3.6vw, 2.2rem);
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--ink);
}
.category-page-head .breadcrumb {
    justify-content: center;
    color: var(--ink-soft);
}

.atelier .site-footer {
    background: #ffffff;
    color: var(--ink-soft);
    margin-top: 24px;
    border-top: 1px solid rgba(192, 56, 104, 0.14);
}
.atelier .footer-grid {
    gap: 16px;
    padding: 14px 0 10px;
}
.atelier .footer-logo .logo-text { display: none; }
.atelier .footer-logo .logo-img-footer {
    height: 68px;
    width: auto;
    max-width: 200px;
    margin-bottom: 4px;
    background: #ffffff;
    border-radius: 8px;
}
.atelier .footer-tagline {
    margin-bottom: 8px;
    font-size: 0.82rem;
    color: var(--gray-500);
}
.atelier .footer-col h4 {
    margin-bottom: 8px;
    color: var(--seafoam-dark);
    font-size: 0.88rem;
}
.atelier .footer-col ul li { margin-bottom: 4px; }
.atelier .footer-col ul a { color: var(--gray-500); }
.atelier .footer-col ul a:hover { color: var(--seafoam-dark); }
.atelier .contact-info i { color: var(--seafoam); }
.atelier .footer-bottom {
    padding: 8px 0;
    border-top: 1px solid rgba(18, 32, 42, 0.08);
    color: var(--gray-500);
}
.atelier .footer-designed-by {
    background: var(--gradient-gold);
    color: var(--dark);
    box-shadow: 0 4px 14px var(--accent-glow);
}
.atelier .footer-designed-by a {
    color: var(--dark);
}
.atelier .footer-designed-by a:hover {
    color: var(--seafoam-dark);
}
.atelier .social-links a {
    width: 34px;
    height: 34px;
}
.atelier .social-links a { border-radius: 12px; }
.atelier .social-links a:hover {
    background: var(--seafoam);
    color: white;
}

/* Footer accordions — compact on mobile */
.footer-accordion {
    border: 0;
    margin: 0;
}
.footer-accordion > summary {
    list-style: none;
    cursor: default;
    font-weight: 700;
    color: var(--seafoam-dark);
    font-size: 0.88rem;
    margin-bottom: 8px;
}
.footer-accordion > summary::-webkit-details-marker {
    display: none;
}
.footer-accordion > ul {
    margin: 0;
    padding: 0;
}

@media (max-width: 768px) {
    .atelier .site-footer {
        margin-top: 16px;
    }
    .atelier .footer-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 12px 0 6px;
    }
    .footer-col-brand {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 12px 16px;
        padding-bottom: 12px;
        margin-bottom: 4px;
        border-bottom: 1px solid rgba(18, 32, 42, 0.08);
    }
    .footer-col-brand .footer-logo {
        margin: 0;
        flex: 0 0 auto;
    }
    .atelier .footer-col-brand .logo-img-footer {
        height: 52px;
        width: auto;
        max-width: 130px;
        margin: 0;
    }
    .footer-col-brand .footer-tagline {
        flex: 1 1 160px;
        margin: 0;
        font-size: 0.8rem;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .footer-col-brand .social-links {
        flex: 1 1 100%;
        gap: 8px;
    }
    .atelier .social-links a {
        width: 30px;
        height: 30px;
        font-size: 0.82rem;
    }
    .footer-col:not(.footer-col-brand) {
        border-bottom: 1px solid rgba(18, 32, 42, 0.08);
    }
    .footer-accordion > summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        margin: 0;
        padding: 10px 0;
        cursor: pointer;
        font-size: 0.84rem;
        color: var(--ink);
    }
    .footer-accordion > summary::after {
        content: '\f078';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        font-size: 0.68rem;
        color: var(--gray-500);
        transition: transform 0.2s ease;
    }
    .footer-accordion[open] > summary::after {
        transform: rotate(180deg);
    }
    .footer-accordion > ul {
        padding: 0 0 10px;
    }
    .atelier .footer-col ul li {
        margin-bottom: 2px;
    }
    .atelier .footer-col ul a,
    .contact-info li {
        font-size: 0.8rem;
    }
    .contact-info li {
        gap: 8px;
    }
    .atelier .footer-bottom {
        padding: 6px 0 10px;
        font-size: 0.74rem;
    }
    .atelier .footer-designed-by {
        padding: 4px 10px;
        font-size: 0.72rem;
    }
}

@media (min-width: 769px) {
    .footer-accordion > summary::after {
        display: none;
    }
}

/* Product page keep sticky gallery look */
.atelier .pd-buybox,
.atelier .pd-section {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(18, 32, 42, 0.06);
}
.atelier .pd-tab.active {
    background: var(--seafoam);
    color: white;
}
.atelier .product-detail-price .current,
.atelier .mobile-buy-price .current { color: var(--ink); }
.atelier .pd-tabs {
    background: rgba(243, 230, 212, 0.9);
}

/* Scroll reveal */
/* ---------- Site-wide fade animations ---------- */
body.page-fade .site-main {
    opacity: 0;
    transition: opacity 0.7s ease;
}
body.page-fade.page-ready .site-main {
    opacity: 1;
}

.atelier .animate-on-scroll,
.atelier .fade-in {
    opacity: 0;
    transform: none;
    transition: opacity 0.9s ease;
}
.atelier .animate-on-scroll.visible,
.atelier .fade-in.visible {
    opacity: 1;
}
/* Catalog listings: never hide the whole product grid behind a parent fade */
.atelier .products-layout,
.atelier .products-layout .amz-results,
.atelier .products-layout .product-grid {
    opacity: 1 !important;
}
.atelier .products-layout .product-card.animate-on-scroll,
.atelier .products-layout .product-tile.animate-on-scroll {
    opacity: 1 !important;
}

.product-slider .animate-on-scroll,
.product-slider .fade-in {
    opacity: 1 !important;
}

@media (prefers-reduced-motion: reduce) {
    body.page-fade .site-main,
    .atelier .animate-on-scroll,
    .atelier .fade-in,
    .hn-title, .hn-desc, .hn-cta {
        opacity: 1 !important;
        transition: none !important;
        animation: none !important;
    }
}

/* Features strip legacy pages */
.atelier .features-strip { padding: 28px 0; border: none; background: transparent; }
.atelier .features-grid {
    background: white;
    border-radius: var(--radius-lg);
    padding: 18px;
    border: 1px solid rgba(18, 32, 42, 0.06);
    box-shadow: var(--shadow-md);
}
.atelier .feature-icon {
    background: linear-gradient(145deg, var(--ink), #672668);
    color: var(--sand);
    border-radius: 14px;
    box-shadow: none;
}

/* Toast */
.atelier .toast {
    border-radius: 12px;
    animation: toastPop 0.4s var(--ease);
}
@keyframes toastPop {
    from { opacity: 0; transform: translateX(40px) scale(0.95); }
    to { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero-atelier-grid { grid-template-columns: 1fr; }
    .hero-float-card { justify-self: start; }
    .float-3d {
        width: min(240px, 70vw);
        transform: none;
        animation: none;
    }
    .mosaic-featured { grid-template-columns: 1fr; }
    .promo-split-inner { grid-template-columns: 1fr; }
    .promo-orb { display: none; }
    .desktop-only { display: none !important; }
}

@media (max-width: 768px) {
    .announce-bar { display: none; }
    .mobile-menu-toggle { display: inline-flex; }
    .nav-river { display: none; }
    .icon-caption-stack,
    .icon-caption-main.desktop-only { display: none; }
    .header-glass-inner { flex-wrap: wrap; gap: 8px; padding: 8px 0; }
    .logo-img { height: 72px; }
    .search-wrap { order: 5; flex: 1 1 100%; max-width: 100%; }
    .search-form { order: 5; flex: 1 1 100%; max-width: 100%; }
    .atelier .header-location { display: none; }
    .hero-atelier {
        height: auto;
        min-height: 520px;
    }
    .hero-atelier-grid { padding-top: 28px; }
    .tile-actions { opacity: 1; transform: none; }
    .section-header-row { flex-direction: column; align-items: flex-start; }
    .action-orders { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .float-3d,
    .hero-brand,
    .logo-glyph,
    .orb-ring,
    .orb-core,
    .marquee-track,
    .welcome-code-flash,
    .hero-atelier .hero-bg,
    .loader-splash,
    .loader-logo,
    .loader-logo-ring,
    .loader-tagline,
    .tile-sheen {
        animation: none !important;
    }
    .atelier .modal,
    .atelier .modal-content,
    .atelier .modal-overlay {
        transition-duration: 0.01ms !important;
    }
}

/* Final atelier overrides after merged product CSS */
.atelier .pd-tab.active {
    background: var(--ink);
    color: white;
    box-shadow: none;
}
.atelier .product-gallery-sticky .gallery-main {
    position: relative;
    border-color: rgba(18, 32, 42, 0.06);
}
.atelier .gallery-thumb.active {
    border-color: var(--seafoam);
    box-shadow: 0 0 0 2px var(--seafoam-glow);
}

/* ===== Product page (from atelier merge) ===== */
/* ---------- Product detail: sticky gallery + scroll panel ---------- */
.product-page-content {
    padding-top: 24px;
    padding-bottom: 100px;
}
.pd-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: 28px;
}
.pd-breadcrumb a:hover { color: var(--primary-mid); }
.pd-breadcrumb .current {
    color: var(--gray-700);
    max-width: 40ch;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 40px 48px;
    align-items: start;
}

.product-gallery-sticky {
    position: sticky;
    top: calc(var(--header-height) - 40px);
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-self: start;
}
.product-gallery-sticky .gallery-main {
    aspect-ratio: 1;
    border-radius: var(--radius-lg);
    background: white;
    border: 1px solid rgba(199, 212, 208, 0.55);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.gallery-sale-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    background: var(--danger);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 6px;
}
.gallery-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
}
.gallery-thumb {
    flex: 0 0 72px;
    height: 72px;
    border-radius: 10px;
    border: 2px solid transparent;
    overflow: hidden;
    background: white;
    cursor: pointer;
    transition: var(--transition);
}
.gallery-thumb:hover { border-color: var(--gray-300); }
.gallery-thumb.active {
    border-color: var(--primary-mid);
    box-shadow: 0 0 0 2px rgba(20, 80, 73, 0.15);
}

.product-scroll-panel {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.pd-buybox {
    background: white;
    border: 1px solid rgba(199, 212, 208, 0.55);
    border-radius: var(--radius-lg);
    padding: 28px 28px 24px;
    box-shadow: var(--shadow);
    margin-bottom: 8px;
}
.pd-buybox .product-category {
    display: inline-block;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-mid);
    font-weight: 700;
    margin-bottom: 8px;
}
.pd-buybox h1 {
    font-family: var(--font-display);
    font-size: clamp(1.55rem, 2.5vw, 2.15rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin-bottom: 10px;
    color: var(--ink);
}
.pd-short {
    color: var(--gray-500);
    margin: 0 0 18px;
    line-height: 1.65;
    font-size: 0.98rem;
}
.product-detail-price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
    margin: 8px 0 14px;
}
.product-detail-price .current {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
}
.pd-stock {
    font-weight: 600;
    font-size: 0.92rem;
    margin-bottom: 18px;
}
.pd-stock.in { color: var(--success); }
.pd-stock.out { color: var(--danger); }
.pd-stock i { margin-right: 6px; }

.pay-methods {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin: 0 0 18px;
}
.pay-methods-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gray-500);
}
.pay-methods-chips {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
}
.pay-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid rgba(18, 32, 42, 0.1);
    background: var(--mist, #f3f6f5);
    color: var(--ink-soft, #2a3a44);
}
.pay-chip i { font-size: 0.75rem; opacity: 0.85; }
.pay-chip-cod {
    background: rgba(229, 137, 38, 0.12);
    border-color: rgba(229, 137, 38, 0.28);
    color: var(--seafoam-dark, #c03868);
}
.pay-chip-online {
    background: rgba(18, 32, 42, 0.06);
    border-color: rgba(18, 32, 42, 0.12);
    color: var(--ink, #102048);
}
.pay-methods-note {
    flex: 1 1 100%;
    margin: 0;
    font-size: 0.82rem;
    color: var(--gray-500);
}
.pay-methods-card {
    margin: 8px 0 0;
    gap: 6px;
}
.pay-methods-card .pay-chip {
    padding: 3px 8px;
    font-size: 0.7rem;
    border-radius: 6px;
}

.pd-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 22px;
}
.pd-actions .btn-gradient { flex: 1 1 160px; justify-content: center; }
.pd-actions .btn-outline { flex: 0 0 auto; }

.qty-selector {
    display: inline-flex;
    align-items: center;
    gap: 0;
    border: 1.5px solid var(--gray-300);
    border-radius: 10px;
    overflow: hidden;
    background: white;
    margin: 0;
}
.qty-selector button {
    width: 40px;
    height: 42px;
    border: none;
    background: var(--gray-50);
    cursor: pointer;
    font-size: 1.15rem;
    color: var(--gray-700);
    border-radius: 0;
}
.qty-selector button:hover { background: var(--gray-100); color: var(--primary); }
.qty-selector input {
    width: 52px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--gray-300);
    border-right: 1px solid var(--gray-300);
    padding: 10px 4px;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
}

.pd-perks {
    list-style: none;
    margin: 4px 0 0;
    padding: 10px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    background:
        linear-gradient(180deg, #ffffff 0%, #fff8f0 100%);
    border: 1px solid rgba(201, 160, 86, 0.32);
    border-radius: var(--radius);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 10px 28px rgba(16, 32, 72, 0.07);
}
.pd-perk {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
    padding: 14px 13px 13px;
    background: #fff;
    border: 1px solid rgba(16, 32, 72, 0.07);
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(16, 32, 72, 0.04);
    transition: transform 0.28s var(--ease), border-color 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
.pd-perk:hover {
    transform: translateY(-2px);
    border-color: rgba(229, 137, 38, 0.38);
    box-shadow: 0 10px 22px rgba(16, 32, 72, 0.1);
}
.pd-perk-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: linear-gradient(145deg, rgba(229, 137, 38, 0.18), rgba(192, 56, 104, 0.1));
    color: var(--accent-dark);
    font-size: 1rem;
    box-shadow: 0 0 0 1px rgba(229, 137, 38, 0.12) inset;
}
.pd-perk-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}
.pd-perk-copy strong {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.01em;
    line-height: 1.25;
}
.pd-perk-copy em {
    font-style: normal;
    font-size: 0.72rem;
    color: var(--gray-500);
    line-height: 1.4;
}
.pd-perk-muted {
    opacity: 0.82;
}
.pd-perk-muted .pd-perk-icon {
    background: var(--gray-50);
    color: var(--gray-500);
    box-shadow: none;
}
.pd-return-trigger {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    height: 100%;
    border: 0;
    background: none;
    padding: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
    text-align: left;
}
.pd-return-trigger:hover { color: inherit; }
.pd-return-trigger:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 10px;
}
.pd-return-trigger .pd-perk-copy em {
    color: var(--seafoam-dark);
    font-weight: 600;
}

/* Sticky section tabs */
.pd-tabs {
    position: sticky;
    top: calc(var(--header-height) - 48px);
    z-index: 20;
    display: flex;
    gap: 4px;
    overflow-x: auto;
    background: rgba(243, 246, 245, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 4px;
    margin: 12px 0 8px;
    border-bottom: 1px solid rgba(199, 212, 208, 0.7);
    scrollbar-width: none;
}
.pd-tabs::-webkit-scrollbar { display: none; }
.pd-tab {
    flex: 0 0 auto;
    padding: 10px 16px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--gray-500);
    border-radius: 8px;
    white-space: nowrap;
    position: relative;
}
.pd-tab:hover { color: var(--primary); background: rgba(255, 255, 255, 0.7); }
.pd-tab.active {
    color: var(--primary);
    background: white;
    box-shadow: var(--shadow);
}

.pd-scroll-sections {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: none;
}
.pd-section {
    background: white;
    border: 1px solid rgba(199, 212, 208, 0.55);
    border-radius: var(--radius-lg);
    padding: 28px;
    scroll-margin-top: 180px;
}
.pd-section h2 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
    color: var(--ink);
}
.pd-section > p {
    color: var(--gray-700);
    line-height: 1.75;
}

.pd-highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 20px;
}
.pd-highlight {
    padding: 14px 16px;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-100);
}
.pd-highlight strong {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-500);
    margin-bottom: 4px;
}
.pd-highlight span {
    font-weight: 600;
    color: var(--gray-900);
    font-size: 0.92rem;
}

/* Scrollable long description */
.pd-details-scroll .pd-details-body {
    max-height: 280px;
    overflow-y: auto;
    padding-right: 12px;
    color: var(--gray-700);
    line-height: 1.85;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) var(--gray-100);
    mask-image: linear-gradient(to bottom, #000 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, #000 85%, transparent 100%);
}
.pd-details-scroll.is-expanded .pd-details-body {
    max-height: none;
    mask-image: none;
    -webkit-mask-image: none;
}
.pd-expand-btn {
    margin-top: 14px;
}
.pd-details-body::-webkit-scrollbar { width: 6px; }
.pd-details-body::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
}

.pd-ship-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.pd-ship-grid article {
    padding: 18px;
    background: var(--gray-50);
    border-radius: var(--radius);
    border: 1px solid var(--gray-100);
}
.pd-ship-grid h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary);
}
.pd-ship-grid h3 i {
    color: var(--accent-dark);
    margin-right: 6px;
}
.pd-ship-grid p {
    font-size: 0.88rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin: 0;
}

.reviews-section.pd-section { padding: 28px; }
.review-form-wrap {
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
}

.related-section { padding-top: 56px; }

/* Mobile sticky buy bar */
.mobile-buy-bar {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 900;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--gray-300);
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    box-shadow: 0 -8px 28px rgba(6, 20, 18, 0.1);
    align-items: center;
    gap: 14px;
}
.mobile-buy-price .current {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--primary);
}
.mobile-buy-price .original-price {
    display: block;
    font-size: 0.8rem;
}
.mobile-buy-bar .btn {
    flex: 1;
    justify-content: center;
    padding: 12px 14px;
    white-space: nowrap;
}
.mobile-buy-bar .btn-outline {
    flex: 0 1 auto;
    min-width: 96px;
}

@media (max-width: 1024px) {
    .product-stage {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .product-gallery-sticky {
        position: static;
    }
    .pd-tabs {
        top: 0;
    }
    .pd-highlight-grid,
    .pd-ship-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-buy-bar { display: flex; }
    .product-page-content { padding-bottom: 96px; }
    .pd-buybox { padding: 20px; }
    .pd-actions .btn-outline { display: none; }
    .pd-section { padding: 20px; }
    .pd-section { scroll-margin-top: 70px; }
    .header-height-safe { --header-height: 110px; }
    .pd-perks {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 8px;
    }
    .pd-perk,
    .pd-return-trigger {
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }
    .pd-perk { padding: 12px 13px; }
}



/* Final atelier overrides after merged product CSS */
.atelier .pd-tab.active {
    background: var(--ink);
    color: white;
    box-shadow: none;
}
.atelier .product-gallery-sticky .gallery-main {
    position: relative;
    border-color: rgba(18, 32, 42, 0.06);
}
.atelier .gallery-thumb.active {
    border-color: var(--seafoam);
    box-shadow: 0 0 0 2px var(--seafoam-glow);
}

.product-slider .animate-on-scroll {
    opacity: 1 !important;
    transform: none !important;
}
.product-slider .ps-viewport {
    overflow: hidden;
}
.product-slider .ps-track {
    overflow: visible;
}

/* =========================================================
   Real-estate style product hero slider
   ========================================================= */
.hero-re {
    position: relative;
    min-height: min(88vh, 720px);
    height: min(88vh, 720px);
    background: #0c1433;
    overflow: hidden;
    color: #fff;
}
.hero-re-stage { position: absolute; inset: 0; }
.hero-re-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.7s;
}
.hero-re-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 1;
}
.hero-re-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.08);
    filter: brightness(0.52) saturate(1.05);
    transition: transform 6.5s ease;
}
.hero-re-slide.is-active .hero-re-bg { transform: scale(1.14); }
.hero-re-veil {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg, rgba(8, 14, 20, 0.92) 0%, rgba(8, 14, 20, 0.55) 42%, rgba(8, 14, 20, 0.25) 100%),
        linear-gradient(to top, rgba(8, 14, 20, 0.7) 0%, transparent 45%);
    pointer-events: none;
}
.hero-re-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 36px;
    align-items: center;
    min-height: inherit;
    height: 100%;
    padding: 48px 22px 110px;
}
.hero-re-brand {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 6vw, 4.2rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 0.92;
    margin-bottom: 12px;
    background: linear-gradient(100deg, #fff 15%, var(--sand-light) 50%, #fff 85%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-re-slide.is-active .hero-re-brand,
.hero-re-slide.is-active .hero-re-eyebrow,
.hero-re-slide.is-active .hero-re-title,
.hero-re-slide.is-active .hero-re-lead,
.hero-re-slide.is-active .hero-re-cta,
.hero-re-slide.is-active .hero-re-stats,
.hero-re-slide.is-active .hero-re-card {
    animation: heroReIn 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-re-slide.is-active .hero-re-eyebrow { animation-delay: 0.05s; }
.hero-re-slide.is-active .hero-re-title { animation-delay: 0.1s; }
.hero-re-slide.is-active .hero-re-lead { animation-delay: 0.16s; }
.hero-re-slide.is-active .hero-re-cta { animation-delay: 0.22s; }
.hero-re-slide.is-active .hero-re-stats { animation-delay: 0.28s; }
.hero-re-slide.is-active .hero-re-card { animation-delay: 0.18s; }
@keyframes heroReIn {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: none; }
}
.hero-re-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sand-light);
    margin-bottom: 14px;
}
.hero-re-sep { opacity: 0.5; }
.hero-re-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3.2vw, 2.35rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    max-width: 16ch;
    margin-bottom: 14px;
}
.hero-re-lead {
    font-size: 1.05rem;
    line-height: 1.6;
    opacity: 0.85;
    max-width: 38ch;
    margin-bottom: 26px;
}
.hero-re-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero-re-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    max-width: 460px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.hero-re-stats strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 2px;
}
.hero-re-stats span {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.65;
}

.hero-re-showcase {
    display: flex;
    justify-content: flex-end;
    perspective: 1200px;
}
.hero-re-card {
    width: min(360px, 92%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 24px;
    overflow: hidden;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
    transform: rotateY(-8deg) rotateX(4deg);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
    color: #fff;
    text-decoration: none;
}
.hero-re-card:hover {
    transform: rotateY(-2deg) rotateX(1deg) translateY(-8px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
    color: #fff;
}
.hero-re-card-media {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
}
.hero-re-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.hero-re-card:hover .hero-re-card-media img { transform: scale(1.06); }
.hero-re-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #c45b5b;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 6px 10px;
    border-radius: 8px;
}
.hero-re-card-body { padding: 16px 18px 18px; }
.hero-re-card-cat {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sand-light);
    font-weight: 700;
    margin-bottom: 4px;
}
.hero-re-card-body strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}
.hero-re-card-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 10px;
}
.hero-re-card-price em {
    font-style: normal;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.2rem;
}
.hero-re-card-price s {
    opacity: 0.55;
    font-size: 0.9rem;
}
.hero-re-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--sand-light);
}

.hero-re-controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    padding: 0 0 22px;
    background: linear-gradient(to top, rgba(8, 14, 20, 0.75), transparent);
}
.hero-re-controls-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.hero-re-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    max-width: min(520px, 100%);
}
.hero-re-thumbs::-webkit-scrollbar { display: none; }
.hero-re-thumb {
    position: relative;
    flex: 0 0 72px;
    width: 72px;
    height: 54px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid transparent;
    padding: 0;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.08);
    opacity: 0.55;
    transition: opacity 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.hero-re-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hero-re-thumb span {
    position: absolute;
    left: 6px;
    bottom: 4px;
    font-size: 0.65rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}
.hero-re-thumb:hover { opacity: 0.9; transform: translateY(-2px); }
.hero-re-thumb.is-active {
    opacity: 1;
    border-color: var(--sand);
    box-shadow: 0 0 0 2px rgba(214, 181, 122, 0.25);
}

.hero-re-pager {
    display: flex;
    align-items: center;
    gap: 12px;
}
.hero-re-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
.hero-re-btn:hover {
    background: #fff;
    color: #102048;
    border-color: #fff;
    transform: scale(1.05);
}
.hero-re-progress {
    width: 88px;
    height: 3px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.2);
    overflow: hidden;
}
.hero-re-progress span {
    display: block;
    height: 100%;
    width: 0%;
    background: var(--sand);
    border-radius: inherit;
}
.hero-re-progress.is-running span {
    animation: heroProgress linear forwards;
}
@keyframes heroProgress {
    from { width: 0%; }
    to { width: 100%; }
}
.hero-re-count {
    font-size: 0.9rem;
    font-weight: 600;
    min-width: 64px;
    color: rgba(255, 255, 255, 0.75);
}
.hero-re-count strong {
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-right: 4px;
}

@media (max-width: 1024px) {
    .hero-re-grid {
        grid-template-columns: 1fr;
        padding: 36px 22px 120px;
        align-content: end;
    }
    .hero-re-showcase { justify-content: flex-start; }
    .hero-re-card {
        width: min(280px, 85%);
        transform: none;
    }
    .hero-re-card:hover { transform: translateY(-6px); }
    .hero-re-stats { grid-template-columns: repeat(3, 1fr); max-width: 100%; }
}
@media (max-width: 640px) {
    .hero-re { height: auto; min-height: 640px; }
    .hero-re-stage { position: relative; min-height: 640px; }
    .hero-re-stats { grid-template-columns: 1fr 1fr; }
    .hero-re-controls-inner { flex-direction: column; align-items: stretch; }
    .hero-re-thumbs { max-width: 100%; }
    .hero-re-pager { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-re-slide.is-active .hero-re-brand,
    .hero-re-slide.is-active .hero-re-eyebrow,
    .hero-re-slide.is-active .hero-re-title,
    .hero-re-slide.is-active .hero-re-lead,
    .hero-re-slide.is-active .hero-re-cta,
    .hero-re-slide.is-active .hero-re-stats,
    .hero-re-slide.is-active .hero-re-card,
    .hero-re-progress.is-running span {
        animation: none !important;
    }
    .hero-re-bg { transition: none !important; transform: none !important; }
}


/* =========================================================
   Hero Nova — match Dribbble real-estate slider layout
   https://dribbble.com/shots/25615141-Hero-Slider-Real-Estate-Website
   ========================================================= */
.hero-nova {
    position: relative;
    height: min(100vh, 780px);
    min-height: 560px;
    overflow: hidden;
    background: #0a1018;
    color: #fff;
}

/* Live promo strip — sticky with header, larger type, scrolling text */
.promo-strip {
    position: relative;
    z-index: 1;
    overflow: hidden;
    background: linear-gradient(105deg, #102048 0%, #672668 32%, #c03868 68%, #e58926 100%);
    background-size: 200% 100%;
    color: #fff;
    padding: 14px 0;
    min-height: 56px;
    border-bottom: 1px solid rgba(229, 137, 38, 0.4);
    animation: promoStripIn 0.55s ease both, promoStripBg 12s ease-in-out infinite;
    box-shadow: 0 8px 20px rgba(16, 32, 72, 0.22);
}
.promo-strip-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.12) 50%, transparent 70%);
    background-size: 220% 100%;
    animation: promoShine 4.5s linear infinite;
    pointer-events: none;
}
@keyframes promoStripIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: none; }
}
@keyframes promoStripBg {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
@keyframes promoShine {
    0% { background-position: 120% 0; }
    100% { background-position: -120% 0; }
}
@keyframes promoMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.promo-strip-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 28px;
}
.promo-strip-icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(229, 137, 38, 0.2);
    color: #e58926;
    font-size: 0.95rem;
    animation: promoPulse 1.8s ease-in-out infinite;
}
@keyframes promoPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}
.promo-strip-copy {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.promo-strip-text {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.35;
    white-space: nowrap;
}
.promo-strip-track {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    width: max-content;
    animation: promoMarquee 22s linear infinite;
}
.promo-strip:hover .promo-strip-track {
    animation-play-state: paused;
}
.promo-strip-sep {
    color: #e58926;
    opacity: 0.85;
}
.promo-strip-targets {
    color: #f3e6c0;
    font-weight: 700;
}
.promo-strip-pct {
    flex-shrink: 0;
    background: #e58926;
    color: #102048;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    padding: 8px 12px;
    border-radius: 8px;
    animation: promoPulse 2.2s ease-in-out infinite;
}
.promo-strip-ends {
    flex-shrink: 0;
    font-size: 0.92rem;
    font-weight: 600;
    color: rgba(255,255,255,0.88);
    white-space: nowrap;
}
.promo-strip-cta {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 14px;
    border-radius: 999px;
    background: #e58926;
    color: #102048 !important;
    font-weight: 800;
    font-size: 0.86rem;
    letter-spacing: 0.02em;
    text-decoration: none !important;
    white-space: nowrap;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
    box-shadow: 0 6px 14px rgba(0,0,0,0.18);
}
.promo-strip-cta:hover {
    background: #f3c07a;
    transform: translateY(-1px);
    color: #102048 !important;
}
@media (max-width: 700px) {
    .promo-strip { padding: 12px 0; min-height: 52px; }
    .promo-strip-text { font-size: 0.95rem; }
    .promo-strip-ends { display: none; }
    .promo-strip-pct { font-size: 0.8rem; padding: 6px 10px; }
    .promo-strip-cta { padding: 8px 12px; font-size: 0.8rem; }
}
@media (prefers-reduced-motion: reduce) {
    .promo-strip,
    .promo-strip-shine,
    .promo-strip-track,
    .promo-strip-icon,
    .promo-strip-pct {
        animation: none !important;
    }
    .promo-strip-track { transform: none; }
    .promo-strip-text { white-space: normal; }
    .promo-strip-copy { mask-image: none; }
}

.promo-push-content {
    text-align: center;
    max-width: 420px;
    padding: 32px 28px 28px !important;
}
.promo-push-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 32, 72, 0.1);
    color: #102048;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 20px;
    margin-bottom: 14px;
}
.promo-push-content h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.85rem;
    margin: 0 0 10px;
    color: #102048;
}
.promo-push-content p { color: #4a5c66; line-height: 1.55; margin: 0 0 8px; }
.promo-push-meta { font-size: 0.85rem !important; color: #102048 !important; font-weight: 600 !important; margin-bottom: 18px !important; }
.promo-push-content .btn { margin-top: 4px; }

/* Admin-managed page promo cards (home sections) */
.page-promo-strip {
    padding: 18px 0 6px;
}
.page-promo-card {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 0;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(16, 32, 72, 0.08);
    background: linear-gradient(135deg, #fff 0%, #f7faf9 100%);
    box-shadow: 0 14px 34px rgba(16, 32, 72, 0.08);
}
.page-promo-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 180px;
    object-fit: cover;
}
.page-promo-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    padding: 22px 24px;
}
.page-promo-badge {
    align-self: flex-start;
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 999px;
    background: linear-gradient(120deg, #672668, #e58926);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}
.page-promo-text {
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.45;
    color: #102048;
    font-weight: 600;
}
.page-promo-btn {
    align-self: flex-start;
    width: auto !important;
    padding: 12px 18px !important;
}
@media (max-width: 900px) {
    .page-promo-card { grid-template-columns: 1fr; }
    .page-promo-media img { min-height: 160px; }
    .page-promo-body { padding: 18px 16px 20px; }
}

.hn-bgs { position: absolute; inset: 0; }
.hn-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 1.6s ease-in-out;
    will-change: opacity;
}
.hn-bg.is-active {
    opacity: 1;
    transform: scale(1.08);
    z-index: 1;
    animation: hnBgKen 10s ease-out both;
}
.hn-bg.has-video.is-active {
    transform: none;
    animation: none;
}
.hn-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
@keyframes hnBgKen {
    from { transform: scale(1.04); }
    to { transform: scale(1.1); }
}
.hn-veil {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(90deg, rgba(6, 10, 16, 0.78) 0%, rgba(6, 10, 16, 0.35) 48%, rgba(6, 10, 16, 0.2) 100%),
        linear-gradient(to top, rgba(6, 10, 16, 0.55) 0%, transparent 40%);
    pointer-events: none;
}
.hn-layout {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: minmax(280px, 0.95fr) minmax(300px, 1.05fr);
    align-items: center;
    gap: 40px;
    height: 100%;
    padding: 80px 22px 90px;
}
.hn-copy { max-width: 420px; }
.hn-title[hidden],
.hn-desc[hidden],
.hn-cta[hidden] {
    display: none !important;
}
.hn-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2.8rem, 6.5vw, 4.6rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0 0 18px;
    max-width: 10ch;
    opacity: 1;
    transition: opacity 0.45s ease;
}
.hn-title.is-out { opacity: 0; }
.hn-title.is-in {
    animation: hnFadeUp 1.35s ease both;
}
.hn-desc {
    font-family: var(--font);
    font-size: 0.98rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.82);
    max-width: 34ch;
    margin: 0 0 28px;
    opacity: 1;
    transition: opacity 0.45s ease;
}
.hn-desc.is-out { opacity: 0; }
.hn-desc.is-in {
    animation: hnFadeUp 1.35s 0.1s ease both;
}
.hn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: #c56a45;
    color: #fff !important;
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 6px;
    border: none;
    text-decoration: none;
    opacity: 1;
    transition: background 0.3s ease, transform 0.3s ease, opacity 0.45s ease;
}
.hn-cta.is-out { opacity: 0; }
.hn-cta.is-in {
    animation: hnFadeUp 1.35s 0.18s ease both;
}
.hn-cta:hover {
    background: #d47852;
    transform: translateY(-2px);
    color: #fff !important;
}
@keyframes hnFadeUp {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Stacked rounded cards — lower right, fade between slides */
.hn-cards {
    position: relative;
    height: min(420px, 58vh);
    width: 100%;
    max-width: 520px;
    justify-self: end;
    align-self: end;
    margin: 0 -2% 36px 0;
    transform: translate(72px, 18px);
}
.hn-card {
    position: absolute;
    top: 0;
    left: 0;
    width: min(340px, 72%);
    height: 100%;
    border-radius: 22px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.4);
    background: #1a222c;
    opacity: 0;
    transform: none;
    transition: opacity 1.4s ease-in-out, transform 1.4s ease-in-out;
    pointer-events: none;
    will-change: opacity;
}
.hn-card img,
.hn-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 1;
    transition: opacity 1.4s ease-in-out, filter 1.4s ease-in-out;
}
.hn-card.is-active {
    opacity: 1;
    transform: translateX(0);
    z-index: 3;
    pointer-events: auto;
}
.hn-card.is-active img,
.hn-card.is-active video {
    opacity: 1;
    filter: none;
}
.hn-card.is-active.is-fading {
    animation: hnCardFadeIn 1.4s ease-in-out both;
}
.hn-card.is-active.is-fading img,
.hn-card.is-active.is-fading video {
    animation: hnCardImgFade 1.4s ease-in-out both;
}
@keyframes hnCardFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes hnCardImgFade {
    from { opacity: 0; filter: brightness(0.5); }
    to { opacity: 1; filter: none; }
}
.hn-card.is-next {
    opacity: 0.7;
    transform: translateX(58%);
    z-index: 2;
    pointer-events: auto;
    cursor: pointer;
    transition: opacity 1.4s ease-in-out, transform 1.4s ease-in-out;
}
.hn-card.is-next img {
    filter: brightness(0.85);
    transition: filter 1.4s ease-in-out;
}
.hn-card.is-hidden {
    opacity: 0;
    transform: translateX(58%);
    z-index: 1;
    pointer-events: none;
    transition: opacity 1.2s ease-in-out, transform 1.2s ease-in-out;
}

.hn-arrow {
    position: absolute;
    top: 50%;
    z-index: 6;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    transition: background 0.3s ease, transform 0.3s ease;
}
.hn-arrow:hover {
    background: rgba(255, 255, 255, 0.95);
    color: #102048;
}
.hn-prev { left: 18px; }
.hn-next { right: 18px; }

.hn-dots {
    position: absolute;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    z-index: 6;
    display: flex;
    gap: 10px;
}
.hn-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: background 0.5s ease, transform 0.5s ease;
}
.hn-dot.is-active {
    background: #fff;
    transform: scale(1.15);
}

@media (max-width: 980px) {
    .hn-layout {
        grid-template-columns: 1fr;
        align-content: center;
        padding: 56px 22px 100px;
        gap: 28px;
    }
    .hn-cards {
        justify-self: end;
        align-self: end;
        height: 280px;
        max-width: 100%;
        margin: 0 0 8px 0;
        transform: translate(36px, 10px);
    }
    .hn-card { width: min(260px, 70%); }
    .hn-card.is-next { transform: translateX(48%); opacity: 0.75; }
    .hn-title { max-width: 14ch; }
    .hn-arrow { display: none; }
}
@media (max-width: 560px) {
    .hero-nova { height: auto; min-height: 100svh; }
    .hn-cards { height: 240px; }
}
@media (prefers-reduced-motion: reduce) {
    .hn-bg, .hn-card, .hn-title, .hn-desc, .hn-cta { transition: none !important; animation: none !important; }
    .hn-bg.is-active { transform: none; }
    .hn-title, .hn-desc, .hn-cta { opacity: 1 !important; }
}

/* ---------- Wishlist ---------- */
.wishlist-heart {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 4;
    opacity: 1;
    transform: none;
    color: #be185d;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.wishlist-heart i { color: inherit; }
.wishlist-heart.is-active,
.wishlist-heart.is-saved,
.wishlist-btn.is-active,
.wishlist-btn.is-saved {
    color: #be185d;
    background: #fff;
}
.wishlist-heart.is-active i,
.wishlist-heart.is-saved i,
.wishlist-btn.is-active i,
.wishlist-btn.is-saved i {
    color: #be185d;
}
.wishlist-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.atelier .wishlist-heart:hover,
.atelier .wishlist-btn.is-active:hover,
.atelier .wishlist-btn.is-saved:hover {
    background: #fff1f2;
    color: #9d174d;
}
.wishlist-btn-detail {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.wishlist-btn-detail.is-active {
    border-color: #be185d;
    color: #be185d;
}
.wishlist-header-btn i { color: #be185d; }

.wishlist-picker-content,
.cart-remove-content {
    padding: 28px 24px 22px;
    max-width: 440px;
}
.wishlist-picker-content h2,
.cart-remove-content h2 {
    font-size: 1.35rem;
    margin: 0 0 8px;
}
.wishlist-picker-lead,
.cart-remove-lead {
    color: var(--gray-500);
    margin: 0 0 16px;
    font-size: 0.92rem;
    line-height: 1.5;
}
.wishlist-picker-lists {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
    max-height: 240px;
    overflow-y: auto;
}
.wishlist-picker-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1.5px solid var(--gray-200);
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
}
.wishlist-picker-option:has(input:checked) {
    border-color: var(--primary);
    background: rgba(16, 32, 72, 0.06);
}
.wishlist-picker-option small {
    margin-left: auto;
    color: var(--gray-500);
    font-weight: 500;
}
.wishlist-picker-error {
    color: #b91c1c;
    font-size: 0.85rem;
    margin: 8px 0 0;
}

.cart-remove-product {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 14px;
}
.cart-remove-product img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 12px;
    background: var(--mist);
}
.cart-remove-name {
    margin: 0;
    font-weight: 700;
    color: var(--ink);
}
.cart-remove-price {
    margin: 4px 0 0;
    font-weight: 700;
    color: var(--primary);
}
.cart-remove-only {
    display: block;
    margin: 12px auto 0;
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-family: inherit;
}
.cart-remove-only:hover { color: #b91c1c; }

.wishlist-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    padding: 16px;
}
.wishlist-folders {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.wishlist-folder {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--mist);
    color: var(--ink);
    font-weight: 700;
    font-size: 0.88rem;
}
.wishlist-folder span {
    background: white;
    border-radius: 999px;
    padding: 1px 8px;
    font-size: 0.75rem;
    color: var(--gray-500);
}
.wishlist-folder.is-active {
    background: var(--ink);
    color: white;
}
.wishlist-folder.is-active span { color: var(--ink); }
.wishlist-toolbar-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.wishlist-create-form {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    flex-wrap: wrap;
}
.wishlist-items {
    display: grid;
    gap: 14px;
}
.wishlist-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 16px;
    align-items: center;
    padding: 16px;
}
.wishlist-item-image {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--mist);
}
.wishlist-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.wishlist-item-body h3 {
    margin: 4px 0 8px;
    font-size: 1.05rem;
}
.wishlist-item-price {
    font-weight: 800;
    margin: 0 0 10px;
}
.wishlist-item-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.wishlist-move {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gray-500);
}
.wishlist-move select {
    border: 1.5px solid var(--gray-200);
    border-radius: 8px;
    padding: 6px 8px;
    font-family: inherit;
}
@media (max-width: 640px) {
    .wishlist-item { grid-template-columns: 88px 1fr; }
    .wishlist-toolbar { padding: 12px; }
}

/* ---------- Amazon-style catalog filters ---------- */
.atelier .products-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 20px 24px;
    align-items: start;
}
.atelier .amz-filter-col {
    position: sticky;
    top: calc(var(--header-height, 132px) + 8px);
}
.atelier .filter-sidebar.amz-filters {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    padding: 0 8px 8px 0;
    position: static;
    height: auto;
    max-height: calc(100vh - var(--header-height, 132px) - 24px);
    overflow-y: auto;
    scrollbar-width: thin;
}
.amz-filter-toggle { display: none; }
.amz-filter-mobile-head { display: none; }
.amz-filter-backdrop { display: none; }
.amz-filter-section {
    padding: 12px 0 14px;
    border-bottom: 1px solid rgba(18, 32, 42, 0.08);
}
.amz-filter-section-last { border-bottom: 0; }
.amz-filter-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 6px;
    letter-spacing: -0.01em;
}
.amz-filter-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.amz-filter-list li { margin: 0; }
.amz-filter-list a,
.amz-filter-back {
    display: block;
    padding: 3px 0;
    font-size: 0.86rem;
    line-height: 1.35;
    color: var(--ink-soft);
    text-decoration: none;
}
.amz-filter-list a:hover,
.amz-filter-back:hover { color: var(--seafoam-dark); text-decoration: underline; }
.amz-filter-list a.is-active {
    color: #c7511f;
    font-weight: 700;
    text-decoration: none;
}
.amz-filter-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 2px;
}
.amz-filter-current {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--ink);
    margin: 2px 0 4px;
    padding-left: 2px;
}
.amz-filter-indent { padding-left: 14px; }
.amz-rating-link {
    display: flex !important;
    align-items: center;
    gap: 6px;
}
.amz-stars {
    display: inline-flex;
    gap: 1px;
    color: #de7921;
    font-size: 0.78rem;
    letter-spacing: 0;
}
.amz-stars .far { color: #d5d8db; }
.amz-price-form {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
}
.amz-price-form input {
    width: 72px;
    min-width: 0;
    padding: 6px 8px;
    border: 1px solid #888c8c;
    border-radius: 4px;
    font: inherit;
    font-size: 0.82rem;
    color: var(--ink);
    background: #fff;
}
.amz-price-form input:focus {
    outline: 2px solid var(--seafoam);
    border-color: var(--seafoam);
}
.amz-price-dash { color: var(--gray-500); font-size: 0.85rem; }
.amz-price-form button {
    background: #edf1f2;
    border: 1px solid #8d9599;
    border-radius: 20px;
    padding: 5px 12px;
    font: inherit;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--ink);
    cursor: pointer;
}
.amz-price-form button:hover { background: var(--mist); }
.amz-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.86rem;
    color: var(--ink-soft);
    cursor: pointer;
    padding: 4px 0;
}
.amz-check input {
    width: 16px;
    height: 16px;
    accent-color: var(--seafoam-dark);
    cursor: pointer;
}
.amz-results-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}
.amz-results-bar p {
    margin: 0;
    color: var(--gray-500);
    font-size: 0.92rem;
}
.amz-results {
    min-width: 0;
    width: 100%;
}
.amz-cat-intro {
    color: var(--gray-500);
    margin: 0 0 22px;
}
.amz-active-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 0 0 18px;
}
.amz-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(18, 32, 42, 0.12);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ink-soft);
}
.amz-chip:hover { border-color: var(--seafoam); color: var(--seafoam-dark); }
.amz-chip i { font-size: 0.65rem; }
.amz-chip-clear {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--seafoam-dark);
    text-decoration: underline;
}
body.amz-filter-lock { overflow: hidden; }

@media (max-width: 1024px) {
    .atelier .products-layout {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .atelier .amz-filter-col { position: static; width: 100%; }
    .atelier .amz-results { order: 2; }
    .amz-filter-toggle {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 8px 14px;
        border-radius: 999px;
        border: 1px solid rgba(18, 32, 42, 0.14);
        background: #fff;
        font: inherit;
        font-weight: 700;
        font-size: 0.88rem;
        color: var(--ink);
        cursor: pointer;
        margin-bottom: 4px;
    }
    .amz-filter-badge {
        background: var(--ink);
        color: #fff;
        min-width: 18px;
        height: 18px;
        border-radius: 99px;
        font-size: 0.7rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0 5px;
    }
    .amz-filter-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(12, 20, 26, 0.45);
        z-index: 80;
    }
    .amz-filter-backdrop[hidden] { display: none; }
    .atelier .filter-sidebar.amz-filters {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: min(320px, 88vw);
        max-height: none;
        background: #fff;
        z-index: 90;
        padding: 16px 18px 32px;
        transform: translateX(-105%);
        transition: transform 0.28s var(--ease);
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
    }
    .atelier .filter-sidebar.amz-filters.is-open { transform: none; }
    .amz-filter-mobile-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 8px;
        padding-bottom: 10px;
        border-bottom: 1px solid rgba(18, 32, 42, 0.08);
    }
    .amz-filter-close {
        border: 0;
        background: transparent;
        font-size: 1.1rem;
        cursor: pointer;
        color: var(--ink);
        padding: 6px;
    }
}

/* Pincode location modal */
.pin-modal-content { max-width: 420px; padding: 24px; }
.pin-modal-lead { color: var(--gray-500); margin: 0 0 16px; font-size: 0.9rem; }
.pin-address-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; max-height: 240px; overflow-y: auto; }
.pin-address-item {
    display: block;
    width: 100%;
    text-align: left;
    border: 1px solid rgba(18, 32, 42, 0.1);
    background: #fff;
    border-radius: 12px;
    padding: 10px 12px;
    cursor: pointer;
    font-family: inherit;
}
.pin-address-item:hover,
.pin-address-item.is-active { border-color: var(--seafoam); background: #fbf3e8; }
.pin-address-item strong { display: block; color: var(--ink); }
.pin-address-item span { display: block; color: var(--seafoam-dark); font-weight: 700; font-size: 0.88rem; }
.pin-address-item small { color: var(--gray-500); }
.pin-guest-auth { margin-bottom: 14px; }
.pin-or { text-align: center; color: var(--gray-500); margin: 12px 0 0; font-size: 0.82rem; }
.pin-apply-form label { font-weight: 700; font-size: 0.85rem; display: block; margin-bottom: 6px; }
.pin-apply-row { display: flex; gap: 8px; }
.pin-apply-row .form-control { flex: 1; }
.pin-apply-row .btn { flex: 0 0 auto; white-space: nowrap; }
.pin-modal-error { color: #b91c1c; font-size: 0.82rem; margin-top: 8px; }

.html-sitemap h2 { margin: 8px 0 12px; }
.html-sitemap h3 { margin: 20px 0 8px; font-size: 1.05rem; }
.html-sitemap ul { margin: 0 0 16px; padding-left: 18px; }
.html-sitemap li { margin: 4px 0; line-height: 1.5; }

/* ---------- Account pages (mobile) ---------- */
.page-banner--account {
    padding: 36px 0 28px;
}
.page-banner--account h1 {
    font-size: clamp(1.5rem, 4vw, 2rem);
}

@media (max-width: 768px) {
    .page-banner--account {
        display: none;
    }
    .atelier .site-main {
        overflow-x: hidden;
        max-width: 100%;
    }
    .atelier .page-content:has(.account-layout) {
        padding-top: 12px;
        overflow-x: hidden;
    }
    .atelier .page-content:has(.account-layout) > .container {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow-x: hidden;
    }
    .account-layout {
        display: flex;
        flex-direction: column;
        gap: 14px;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
    .account-sidebar.card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 0;
        border: none;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
        overflow: visible;
    }
    .account-sidebar h3 {
        display: none;
    }
    .account-nav-scroll {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        padding: 2px 0 6px;
        touch-action: pan-x;
    }
    .account-nav-scroll::-webkit-scrollbar {
        display: none;
    }
    .account-nav {
        display: inline-flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        gap: 8px;
        width: max-content;
        min-width: min(100%, max-content);
        padding: 0 1px;
    }
    .account-nav a {
        flex: 0 0 auto;
        scroll-snap-align: start;
        white-space: nowrap;
        padding: 8px 14px;
        font-size: 0.82rem;
        border-radius: 999px;
        border: 1px solid rgba(18, 32, 42, 0.12);
        background: #fff;
        color: var(--ink-soft);
        box-shadow: 0 1px 3px rgba(18, 32, 42, 0.06);
    }
    .account-nav a i {
        font-size: 0.78rem;
    }
    .account-nav a:hover,
    .account-nav a.active {
        background: var(--ink);
        border-color: var(--ink);
        color: #fff;
    }
    .account-nav a:hover i,
    .account-nav a.active i {
        color: var(--sand-light);
    }
    .account-nav a.logout-link {
        margin-top: 0;
        color: var(--danger);
        border-color: rgba(185, 28, 28, 0.22);
    }
    .account-nav a.logout-link:hover {
        background: var(--danger);
        border-color: var(--danger);
        color: #fff;
    }
    .account-main {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
    .profile-hero {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 12px;
    }
    .profile-hero h2 {
        font-size: 1.2rem;
    }
    .account-main .card {
        padding: 16px;
    }
    .account-main .card-header {
        font-size: 1rem;
    }
}

.notify-menu {
    width: min(380px, calc(100vw - 24px));
    padding: 0 !important;
    right: 0;
}
.notify-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px 8px;
    border-bottom: 1px solid rgba(18, 32, 42, 0.08);
}
.notify-mark-all {
    border: 0;
    background: none;
    color: var(--seafoam-dark);
    font-weight: 700;
    font-size: 0.78rem;
    cursor: pointer;
    font-family: inherit;
}
.notify-list {
    max-height: 360px;
    overflow-y: auto;
}
.notify-empty {
    padding: 18px 14px;
    color: var(--gray-500);
    font-size: 0.88rem;
    margin: 0;
}
.notify-item {
    align-items: flex-start !important;
    gap: 10px;
    padding: 12px 14px !important;
    border-bottom: 1px solid rgba(18, 32, 42, 0.05);
}
.notify-item strong { display: block; font-size: 0.86rem; color: var(--ink); }
.notify-item em {
    display: block;
    font-style: normal;
    color: var(--gray-500);
    font-size: 0.8rem;
    margin-top: 2px;
}
.notify-item time { display: block; font-size: 0.72rem; color: var(--gray-500); margin-top: 4px; }
.notify-item.is-unread { background: #fff7ed; }
.notify-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: #fbf3e8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.return-policy-modal {
    max-width: 640px;
    padding: 22px 22px 18px;
}
.return-policy-modal h2 {
    font-size: 1.25rem;
    margin: 0 32px 16px 0;
    color: var(--ink);
}
.rp-table-wrap { overflow-x: auto; }
.rp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.rp-table th,
.rp-table td {
    border: 1px solid #e5e7eb;
    padding: 12px 12px;
    text-align: left;
    vertical-align: top;
}
.rp-table th {
    background: #f8fafc;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
}
.rp-know-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 14px 0 8px;
    border: 0;
    background: none;
    color: #2563eb;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}
.rp-instructions h3 { font-size: 1rem; margin: 8px 0 10px; }
.rp-instruction-row {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    color: var(--gray-700);
    line-height: 1.55;
}
.rp-box-icon {
    position: relative;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    color: #64748b;
}
.rp-box-icon .fa-box { font-size: 1.5rem; }
.rp-box-icon .fa-rotate {
    position: absolute;
    right: -2px;
    bottom: -2px;
    font-size: 0.85rem;
    color: #2563eb;
}

.rich-html ul, .rich-html ol { padding-left: 1.2em; margin: 8px 0; }
.rich-html li { margin: 4px 0; }
.rich-html b, .rich-html strong { font-weight: 700; }
.rich-html i, .rich-html em { font-style: italic; }
.rich-html u { text-decoration: underline; }
.rich-html p { margin: 0 0 0.75em; }

.item-return-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}
.return-window-hint,
.return-status-note {
    font-size: 0.8rem;
    color: var(--gray-500);
}
.return-status-note.is-ok { color: #166534; }
.return-status-note.is-rejected,
.return-status-note.is-expired { color: #9a3412; }

.return-timeline-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 14px 8px;
    margin: 0 0 14px;
}
.return-timeline-card h4 { margin: 0 0 10px; font-size: 0.9rem; }
.return-track {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-x: auto;
}
.return-track-step {
    min-width: 92px;
    text-align: center;
    animation: returnPop 0.45s ease both;
    animation-delay: calc(var(--i, 0) * 0.12s);
}
.return-track-step strong { display: block; font-size: 0.75rem; }
.return-track-step time { display: block; font-size: 0.68rem; color: var(--gray-500); }
.return-track-step p { font-size: 0.72rem; color: var(--gray-500); margin: 4px 0 0; }
.return-track-dot {
    display: block;
    width: 14px;
    height: 14px;
    margin: 0 auto 6px;
    border-radius: 50%;
    background: #cbd5e1;
}
.return-track-step.is-done .return-track-dot { background: #16a34a; }
.return-track-step.is-current .return-track-dot {
    background: #e58926;
    box-shadow: 0 0 0 4px rgba(229, 137, 38, 0.25);
    animation: returnPulse 1.4s ease infinite;
}
.return-track-step.is-todo { opacity: 0.45; }
@keyframes returnPop {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}
@keyframes returnPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(229, 137, 38, 0.35); }
    50% { box-shadow: 0 0 0 8px rgba(229, 137, 38, 0); }
}
.return-request-modal { max-width: 480px; padding: 22px; }
