/* ==========================================================================
   Glamora Lifestyle — storefront styles
   ========================================================================== */
:root {
    --ink: #1c1917;
    --ink-soft: #44403c;
    --muted: #78716c;
    --line: #e7e2da;
    --line-soft: #f0ece6;
    --bg: #ffffff;
    --cream: #f8f5f0;
    --sand: #efe9df;
    --gold: #a8844f;
    --gold-dark: #8a6a3b;
    --gold-soft: #f3ebdd;
    --sale: #b4413c;
    --success: #3f7a55;
    --warning: #b7791f;
    --info: #3b6b8f;
    --radius: 4px;
    --radius-lg: 10px;
    --shadow: 0 10px 30px -12px rgba(28, 25, 23, .18);
    --shadow-lg: 0 30px 60px -20px rgba(28, 25, 23, .35);
    --serif: 'Cormorant Garamond', 'Times New Roman', serif;
    --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
    --ease: cubic-bezier(.22, .61, .36, 1);
    --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold); }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; letter-spacing: .005em; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
.icon { flex-shrink: 0; vertical-align: middle; }

.container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 860px; }
.center { text-align: center; }
.mt-40 { margin-top: 40px; }
.pt-0 { padding-top: 0 !important; }
.muted { color: var(--muted); }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 999; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 13px 28px; border: 1px solid transparent; border-radius: var(--radius);
    font-size: 12.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
    transition: all .3s var(--ease); white-space: nowrap; position: relative; overflow: hidden;
}
.btn-lg { padding: 16px 34px; }
.btn-sm { padding: 8px 16px; font-size: 11.5px; }
.btn-block { width: 100%; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--gold); color: #fff; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-dark); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--ink); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-link { padding: 0; letter-spacing: .08em; text-decoration: underline; text-underline-offset: 4px; font-size: 12.5px; text-transform: uppercase; }
.btn[disabled], .btn.is-loading { opacity: .6; pointer-events: none; }
.btn.is-loading::after {
    content: ''; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent;
    border-radius: 50%; animation: spin .7s linear infinite;
}
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.link-arrow .icon { transition: transform .3s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

.icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; transition: background .2s, color .2s; }
.icon-btn:hover { background: var(--cream); color: var(--ink); }
.icon-btn.round { border: 1px solid var(--line); }
.icon-btn.round:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.badge {
    position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px;
    background: var(--gold); color: #fff; border-radius: 9px; font-size: 10.5px; font-weight: 600;
    display: flex; align-items: center; justify-content: center; line-height: 1;
}
.badge.bump { animation: bump .45s var(--ease); }

.tag { display: inline-block; padding: 4px 10px; background: #fff; color: var(--ink); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; border-radius: 2px; }
.tag-sale { background: var(--sale); color: #fff; }
.tag-dark { background: var(--ink); color: #fff; }

.eyebrow { display: inline-block; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; font-weight: 500; color: #fff; margin-bottom: 14px; }
.eyebrow.dark { color: var(--gold); }

/* ---------- Announcement + header ---------- */
.announcement { background: var(--ink); color: #e9e3d8; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; overflow: hidden; white-space: nowrap; }
.marquee { display: inline-flex; animation: marquee 32s linear infinite; padding: 9px 0; }
.marquee span { padding-right: 120px; }

.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line-soft); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 6px 24px -14px rgba(0, 0, 0, .25); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.menu-toggle { display: none; }
.logo { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo-mark { font-family: var(--serif); font-size: 30px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
.logo-mark.sm { font-size: 22px; }
.logo-sub { font-size: 9.5px; letter-spacing: .62em; text-transform: uppercase; color: var(--gold); margin-top: 4px; padding-left: .62em; }
.logo.light, .logo.light:hover { color: #fff; }

.main-nav { display: flex; align-items: center; gap: 30px; margin: 0 auto; height: 100%; }
.main-nav > a, .nav-item > a { font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; display: inline-flex; align-items: center; gap: 4px; height: 100%; position: relative; }
.main-nav > a::after, .nav-item > a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 22px; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .3s var(--ease); transform-origin: left; }
.main-nav > a:hover::after, .main-nav > a.active::after, .nav-item:hover > a::after { transform: scaleX(1); }
.nav-sale { color: var(--sale) !important; }
.nav-item { height: 100%; display: flex; align-items: center; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line-soft); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .3s var(--ease); }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega-inner { display: grid; grid-template-columns: 1fr 1fr 1.2fr 1.2fr; gap: 40px; padding-top: 36px; padding-bottom: 40px; }
.mega-title { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.mega-links a { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14.5px; }
.mega-links small { color: var(--muted); }
.mega-feature { position: relative; display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; }
.mega-feature img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mega-feature:hover img { transform: scale(1.06); }
.mega-feature span { position: absolute; left: 16px; bottom: 14px; color: #fff; font-family: var(--serif); font-size: 22px; display: flex; align-items: center; gap: 8px; text-shadow: 0 2px 10px rgba(0, 0, 0, .4); }
.header-actions { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.main-nav + .header-actions { margin-left: 0; }

/* ---------- Drawers, overlays, modal ---------- */
.backdrop { position: fixed; inset: 0; background: rgba(20, 16, 12, .45); opacity: 0; visibility: hidden; transition: all .35s; z-index: 80; }
.backdrop.show { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; bottom: 0; width: min(420px, 92vw); background: #fff; z-index: 90; display: flex; flex-direction: column; transition: transform .45s var(--ease); }
.drawer-right { right: 0; transform: translateX(100%); }
.drawer-left { left: 0; transform: translateX(-100%); width: min(340px, 86vw); }
.drawer.open { transform: none; box-shadow: var(--shadow-lg); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line-soft); }
.drawer-head h3 { margin: 0; font-size: 24px; }
.drawer-body { flex: 1; overflow-y: auto; display: flex; flex-direction: column; }
.drawer-foot { padding: 20px 22px; border-top: 1px solid var(--line-soft); display: grid; gap: 10px; }
.mobile-nav { padding: 10px 22px; overflow-y: auto; flex: 1; }
.mobile-nav a { display: block; padding: 13px 0; border-bottom: 1px solid var(--line-soft); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.mobile-nav a.sub { padding-left: 16px; text-transform: none; letter-spacing: .02em; font-size: 15px; color: var(--ink-soft); }

.mini-cart-items { flex: 1; overflow-y: auto; padding: 8px 22px; }
.mini-item { display: grid; grid-template-columns: 74px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); align-items: start; }
.mini-item img { width: 74px; height: 92px; object-fit: cover; border-radius: var(--radius); background: var(--cream); }
.mini-item h4 { font-family: var(--sans); font-size: 14px; font-weight: 500; margin: 0 0 4px; }
.mini-item .opts { font-size: 12.5px; color: var(--muted); }
.mini-item .remove { color: var(--muted); }
.mini-item .remove:hover { color: var(--sale); }
.mini-summary { padding: 20px 22px; border-top: 1px solid var(--line-soft); background: var(--cream); }
.mini-summary .row { display: flex; justify-content: space-between; margin-bottom: 8px; }
.mini-summary .row.total { font-size: 17px; font-weight: 500; }
.mini-summary .btns { display: grid; gap: 10px; margin-top: 14px; }
.ship-progress { font-size: 13px; margin-bottom: 14px; }
.ship-progress .bar { height: 4px; background: var(--line); border-radius: 2px; margin-top: 8px; overflow: hidden; }
.ship-progress .bar i { display: block; height: 100%; background: var(--gold); transition: width .6s var(--ease); }
.empty-state { text-align: center; padding: 60px 24px; margin: auto; color: var(--muted); }
.empty-state .icon { color: var(--line); margin: 0 auto 16px; }
.empty-state h3 { color: var(--ink); font-size: 26px; }

.search-overlay { position: fixed; inset: 0 0 auto 0; background: #fff; z-index: 95; padding: 28px 0 36px; transform: translateY(-100%); transition: transform .45s var(--ease); max-height: 100vh; overflow-y: auto; box-shadow: var(--shadow-lg); }
.search-overlay.open { transform: none; }
.search-form { display: flex; align-items: center; gap: 14px; border-bottom: 1px solid var(--ink); padding-bottom: 12px; }
.search-form input { flex: 1; border: 0; outline: 0; font-family: var(--serif); font-size: 30px; background: transparent; padding: 6px 0; }
.search-form input::-webkit-search-cancel-button { display: none; }
.search-suggest { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 16px; font-size: 13px; color: var(--muted); }
.search-suggest a { padding: 5px 14px; border: 1px solid var(--line); border-radius: 20px; color: var(--ink); }
.search-suggest a:hover { border-color: var(--ink); }
.search-results { margin-top: 24px; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.search-hit { display: flex; gap: 14px; align-items: center; padding: 10px; border-radius: var(--radius); transition: background .2s; }
.search-hit:hover { background: var(--cream); color: var(--ink); }
.search-hit img { width: 56px; height: 70px; object-fit: cover; border-radius: var(--radius); }
.search-hit strong { display: block; font-weight: 500; font-size: 14.5px; }
.search-hit small { color: var(--muted); }
.search-hit mark { background: var(--gold-soft); color: inherit; }
.search-all { grid-column: 1 / -1; text-align: center; padding-top: 10px; }

.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; visibility: hidden; transition: all .3s; }
.modal.open { opacity: 1; visibility: visible; }
.modal-dialog { position: relative; background: #fff; width: min(980px, 100%); max-height: 92vh; overflow-y: auto; border-radius: var(--radius-lg); transform: translateY(24px) scale(.98); transition: transform .4s var(--ease); box-shadow: var(--shadow-lg); }
.modal.open .modal-dialog { transform: none; }
.modal-close { position: absolute; top: 10px; right: 10px; z-index: 2; background: #fff; }
.qv-grid { display: grid; grid-template-columns: 1fr 1fr; }
.qv-media { background: var(--cream); position: relative; }
.qv-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.qv-thumbs { position: absolute; left: 12px; bottom: 12px; display: flex; gap: 8px; }
.qv-thumbs button { width: 52px; height: 64px; border: 2px solid transparent; border-radius: var(--radius); overflow: hidden; background: #fff; }
.qv-thumbs button.active { border-color: var(--ink); }
.qv-thumbs img { aspect-ratio: auto; height: 100%; }
.qv-info { padding: 40px 36px; }
.qv-info h2 { font-size: 32px; }

.loader { width: 34px; height: 34px; margin: 60px auto; border: 2px solid var(--line); border-top-color: var(--gold); border-radius: 50%; animation: spin .8s linear infinite; }

/* ---------- Toasts ---------- */
.toast-stack { position: fixed; right: 20px; bottom: 20px; z-index: 120; display: grid; gap: 10px; max-width: min(380px, calc(100vw - 40px)); }
.toast { display: flex; align-items: flex-start; gap: 12px; background: var(--ink); color: #fff; padding: 14px 16px; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); font-size: 14px; animation: toastIn .45s var(--ease); border-left: 3px solid var(--gold); }
.toast.success { border-left-color: #7fbf94; }
.toast.error { border-left-color: #e2867f; }
.toast.info { border-left-color: #8db7d6; }
.toast img { width: 44px; height: 54px; object-fit: cover; border-radius: 3px; }
.toast a { color: var(--gold-soft); text-decoration: underline; }
.toast .t-close { margin-left: auto; opacity: .6; }
.toast.out { animation: toastOut .35s var(--ease) forwards; }

/* ---------- Hero ---------- */
.hero { position: relative; height: min(84vh, 760px); min-height: 480px; overflow: hidden; background: var(--ink); }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.1s var(--ease), visibility 1.1s; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 7s ease-out; }
.hero-slide.is-active img { transform: scale(1); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 15, 10, .62) 0%, rgba(20, 15, 10, .25) 55%, rgba(20, 15, 10, .05) 100%); }
.hero-content { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; color: #fff; }
.hero-content > * { max-width: 620px; opacity: 0; transform: translateY(26px); transition: all .9s var(--ease); }
.hero-slide.is-active .hero-content > * { opacity: 1; transform: none; }
.hero-slide.is-active .hero-content > *:nth-child(2) { transition-delay: .15s; }
.hero-slide.is-active .hero-content > *:nth-child(3) { transition-delay: .3s; }
.hero-slide.is-active .hero-content > *:nth-child(4) { transition-delay: .45s; }
.hero-title { font-size: clamp(42px, 6.4vw, 86px); font-weight: 400; line-height: 1.02; margin-bottom: 18px; }
.hero-text { font-size: 17px; font-weight: 300; line-height: 1.7; margin-bottom: 32px; color: rgba(255, 255, 255, .9); }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .45); color: #fff; display: flex; align-items: center; justify-content: center; transition: all .3s; z-index: 3; }
.hero-arrow:hover { background: #fff; color: var(--ink); }
.hero-arrow.prev { left: 24px; }
.hero-arrow.next { right: 24px; }
.hero-dots { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 3; }
.hero-dots button { width: 34px; height: 2px; background: rgba(255, 255, 255, .4); transition: background .3s, width .3s; }
.hero-dots button.is-active { background: #fff; width: 56px; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-tint { background: var(--cream); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 44px; flex-wrap: wrap; }
.section-head.center { justify-content: center; text-align: center; flex-direction: column; align-items: center; }
.section-title { font-size: clamp(32px, 3.6vw, 48px); margin: 0; }
.page-hero { background: var(--cream); padding: 54px 0 46px; text-align: center; }
.page-hero h1 { font-size: clamp(36px, 4.4vw, 56px); margin-bottom: 8px; }
.page-hero p { color: var(--muted); max-width: 640px; margin: 0 auto; }
.breadcrumbs { font-size: 12.5px; letter-spacing: .06em; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 14px; }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs.left { justify-content: flex-start; }

.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; gap: 18px; }
.category-tile { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--sand); }
.category-tile.tall { grid-row: span 2; }
.category-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.category-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(20, 15, 10, .62)); transition: opacity .4s; }
.category-tile:hover img { transform: scale(1.07); }
.category-label { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 2; color: #fff; }
.category-label h3 { font-size: 28px; margin: 0 0 2px; }
.category-label span { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; display: inline-flex; gap: 6px; align-items: center; opacity: .85; }

.tabs { display: flex; gap: 6px; border: 1px solid var(--line); border-radius: 30px; padding: 4px; background: #fff; }
.tab { padding: 8px 20px; border-radius: 30px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; transition: all .3s; }
.tab.is-active { background: var(--ink); color: #fff; }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 22px; }
.product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.product-rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 66px) / 4); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.product-rail::-webkit-scrollbar { display: none; }
.product-rail > * { scroll-snap-align: start; }
.carousel-nav { display: flex; gap: 8px; }
.product-card { position: relative; }
.pc-media { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--cream); aspect-ratio: 4 / 5; }
.pc-img, .pc-img img { display: block; width: 100%; height: 100%; }
.pc-img img { object-fit: cover; transition: transform 1s var(--ease), opacity .6s var(--ease); }
.pc-img .pc-hover { position: absolute; inset: 0; opacity: 0; }
.product-card:hover .pc-img img:first-child { transform: scale(1.05); }
.product-card:hover .pc-hover { opacity: 1; }
.pc-badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.pc-wish { position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; transition: all .3s var(--ease); box-shadow: 0 2px 10px rgba(0, 0, 0, .08); }
.pc-wish:hover { transform: scale(1.08); }
.pc-wish.active { color: var(--sale); }
.pc-wish.active svg, .btn-wish.active svg { fill: currentColor; }
.pc-wish.pop svg { animation: heartPop .5s var(--ease); }
.pc-actions { position: absolute; left: 10px; right: 10px; bottom: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; transform: translateY(calc(100% + 12px)); transition: transform .45s var(--ease); }
.product-card:hover .pc-actions, .product-card:focus-within .pc-actions { transform: none; }
.pc-btn { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 6px; background: rgba(255, 255, 255, .96); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; border-radius: var(--radius); transition: all .25s; white-space: nowrap; }
.pc-btn:hover { background: var(--ink); color: #fff; }
.pc-btn-dark { background: var(--ink); color: #fff; }
.pc-btn-dark:hover { background: var(--gold); }
.pc-actions .pc-btn:only-child { grid-column: 1 / -1; }
.pc-info { padding: 14px 2px 0; }
.pc-cat { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.pc-title { font-family: var(--sans); font-size: 15px; font-weight: 400; margin: 4px 0 6px; line-height: 1.4; }
.pc-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price-now { font-weight: 500; font-size: 15px; }
.price-was { color: var(--muted); font-size: 13px; }
.price .price-now:has(+ .price-was) { color: var(--sale); }
.pc-rating { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: 12px; }
.stars { display: inline-flex; gap: 1px; color: var(--gold); }
.star { fill: none; stroke: currentColor; stroke-width: 1.6; }
.star.on { fill: currentColor; }
.star.half { fill: currentColor; fill-opacity: .45; }

/* ---------- Offers, promo, story ---------- */
.offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.offer-card { position: relative; display: block; overflow: hidden; border-radius: var(--radius); min-height: 380px; color: #fff; }
.offer-card:hover { color: #fff; }
.offer-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.offer-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 15, 10, .66), rgba(20, 15, 10, .1)); }
.offer-card:hover img { transform: scale(1.06); }
.offer-content { position: relative; z-index: 2; padding: 50px 44px; max-width: 400px; height: 100%; display: flex; flex-direction: column; justify-content: center; min-height: 380px; align-items: flex-start; }
.offer-content h3 { font-size: 40px; }
.offer-content p { opacity: .9; }

.promo-banner { position: relative; padding: 130px 0; color: #fff; text-align: center; background: var(--bg) center / cover fixed; background-image: linear-gradient(rgba(20, 15, 10, .55), rgba(20, 15, 10, .55)), var(--bg); }
.promo-inner { max-width: 720px; }
.promo-banner h2 { font-size: clamp(36px, 4.6vw, 62px); }
.promo-banner p { font-size: 17px; font-weight: 300; margin-bottom: 30px; opacity: .92; }

.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.story-media { position: relative; }
.story-media img { border-radius: var(--radius); aspect-ratio: 5 / 4; object-fit: cover; width: 100%; }
.story-badge { position: absolute; right: -24px; bottom: -24px; width: 130px; height: 130px; background: var(--gold); color: #fff; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--serif); box-shadow: var(--shadow); }
.story-badge strong { font-weight: 400; font-size: 15px; letter-spacing: .2em; text-transform: uppercase; }
.story-badge span { font-size: 36px; line-height: 1; }
.story-text p { color: var(--ink-soft); font-size: 16px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 30px 0 34px; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats strong { display: block; font-family: var(--serif); font-size: 40px; font-weight: 500; line-height: 1.1; }
.stats span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testimonial { margin: 0; background: #fff; padding: 34px 30px; border-radius: var(--radius); box-shadow: 0 2px 0 var(--line-soft); }
.testimonial blockquote { margin: 16px 0 20px; font-family: var(--serif); font-size: 21px; line-height: 1.45; font-style: italic; }
.testimonial figcaption { display: flex; flex-direction: column; font-size: 13px; }
.testimonial figcaption a { color: var(--muted); }

.perks { border-top: 1px solid var(--line-soft); background: #fff; }
.perks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-top: 40px; padding-bottom: 40px; }
.perk { display: flex; gap: 16px; align-items: center; }
.perk .icon { color: var(--gold); }
.perk strong { display: block; font-weight: 500; font-size: 14.5px; }
.perk span { font-size: 13px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: #171412; color: #bdb5a9; font-size: 14px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.5fr; gap: 50px; padding-top: 70px; padding-bottom: 50px; }
.footer-brand p { margin: 22px 0; line-height: 1.75; max-width: 340px; }
.footer-col h4 { font-family: var(--sans); color: #fff; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; margin-bottom: 20px; }
.footer-col a { display: block; padding: 5px 0; }
.footer-col a:hover, .contact-list a:hover { color: var(--gold); }
.socials { display: flex; gap: 10px; }
.socials a { width: 38px; height: 38px; border: 1px solid #3a342e; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all .3s; }
.socials a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.newsletter { display: flex; margin: 16px 0 24px; }
.newsletter input { flex: 1; min-width: 0; padding: 12px 14px; background: transparent; border: 1px solid #3a342e; border-right: 0; color: #fff; border-radius: var(--radius) 0 0 var(--radius); outline: none; }
.newsletter input:focus { border-color: var(--gold); }
.newsletter .btn { border-radius: 0 var(--radius) var(--radius) 0; padding: 12px 18px; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; }
.contact-list .icon { margin-top: 4px; color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; border-top: 1px solid #2c2722; font-size: 12.5px; }
.footer-bottom p { margin: 0; }
.pay-badges { display: flex; gap: 10px; }
.pay-badges span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid #3a342e; border-radius: 20px; }

.whatsapp-fab { position: fixed; left: 20px; bottom: 20px; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; z-index: 70; box-shadow: 0 10px 24px -8px rgba(37, 211, 102, .7); transition: transform .3s; }
.whatsapp-fab:hover { color: #fff; transform: scale(1.08); }
.to-top { position: fixed; right: 20px; bottom: 20px; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; z-index: 70; opacity: 0; visibility: hidden; transform: translateY(16px) rotate(180deg); transition: all .35s var(--ease); }
.to-top.show { opacity: 1; visibility: visible; transform: rotate(180deg); }
.toast-stack:not(:empty) ~ .to-top { opacity: 0; }

/* ---------- Shop ---------- */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 48px; padding-top: 44px; padding-bottom: 90px; }
.filters { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; padding-right: 6px; }
.filter-block { border-bottom: 1px solid var(--line-soft); padding: 20px 0; }
.filter-block:first-child { padding-top: 0; }
.filter-block h4 { font-family: var(--sans); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; margin-bottom: 14px; }
.filter-list { list-style: none; margin: 0; padding: 0; }
.filter-list a { display: flex; justify-content: space-between; padding: 5px 0; font-size: 14.5px; color: var(--ink-soft); }
.filter-list a.active { color: var(--ink); font-weight: 500; }
.filter-list a.active::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); align-self: center; margin-right: 8px; }
.filter-list a.active span:first-child { margin-right: auto; }
.filter-list small { color: var(--muted); }
.price-inputs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; }
.price-inputs input { width: 100%; padding: 9px 10px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px; }
.check { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 14.5px; cursor: pointer; }
.check input { width: 16px; height: 16px; accent-color: var(--ink); }
.size-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.size-chips a { min-width: 40px; padding: 6px 10px; text-align: center; border: 1px solid var(--line); border-radius: var(--radius); font-size: 13px; }
.size-chips a.active, .size-chips a:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.shop-toolbar .count { color: var(--muted); font-size: 14px; }
.toolbar-right { display: flex; align-items: center; gap: 12px; }
.select { position: relative; }
.select select { appearance: none; padding: 10px 40px 10px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; font-size: 13.5px; cursor: pointer; }
.select::after { content: ''; position: absolute; right: 14px; top: 50%; width: 7px; height: 7px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.filter-toggle { display: none; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; background: var(--cream); border-radius: 20px; font-size: 13px; }
.chip:hover { background: var(--sand); color: var(--ink); }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 54px; }
.pagination a, .pagination span { min-width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px; padding: 0 8px; }
.pagination a:hover { border-color: var(--ink); color: var(--ink); }
.pagination .current { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination .gap { border: 0; }

/* ---------- Product page ---------- */
.product-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; padding-top: 28px; padding-bottom: 80px; }
.gallery { display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-self: start; position: sticky; top: calc(var(--header-h) + 20px); }
.gallery-thumbs { display: flex; flex-direction: column; gap: 10px; }
.gallery-thumbs button { border: 1px solid transparent; border-radius: var(--radius); overflow: hidden; opacity: .6; transition: all .25s; aspect-ratio: 4 / 5; }
.gallery-thumbs button.active, .gallery-thumbs button:hover { opacity: 1; border-color: var(--ink); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--cream); aspect-ratio: 4 / 5; cursor: zoom-in; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform .2s; }
.gallery-main.zooming img { transform: scale(2); }
.gallery-main .pc-badges { z-index: 2; }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255, 255, 255, .9); z-index: 2; }
.gallery-nav.prev { left: 10px; }
.gallery-nav.next { right: 10px; }
.lightbox { position: fixed; inset: 0; background: rgba(15, 12, 10, .94); z-index: 130; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all .3s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; }
.lightbox .icon-btn { position: absolute; color: #fff; }
.lightbox .icon-btn:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.lightbox .lb-close { top: 20px; right: 20px; }
.lightbox .lb-prev { left: 20px; top: 50%; }
.lightbox .lb-next { right: 20px; top: 50%; }

.product-info .pc-cat { display: inline-block; margin-bottom: 8px; }
.product-title { font-size: clamp(32px, 3.2vw, 44px); margin-bottom: 10px; }
.product-rating { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13.5px; margin-bottom: 18px; }
.product-price { display: flex; align-items: baseline; gap: 14px; margin-bottom: 20px; }
.product-price .price-now { font-size: 26px; font-weight: 400; }
.product-price .price-was { font-size: 17px; }
.product-short { color: var(--ink-soft); font-size: 15.5px; border-bottom: 1px solid var(--line-soft); padding-bottom: 22px; margin-bottom: 22px; }
.option-group { margin-bottom: 22px; }
.option-label { display: flex; justify-content: space-between; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; margin-bottom: 10px; }
.option-label span { color: var(--muted); letter-spacing: .04em; text-transform: none; font-weight: 400; }
.options { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: block; min-width: 50px; padding: 10px 14px; text-align: center; border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px; cursor: pointer; transition: all .2s; }
.opt input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.opt span:hover { border-color: var(--ink); }
.options.shake { animation: shake .45s; }
.buy-row { display: flex; gap: 12px; margin: 26px 0 16px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); height: 52px; }
.qty button { width: 42px; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--ink-soft); }
.qty button:hover { color: var(--ink); background: var(--cream); }
.qty input { width: 44px; text-align: center; border: 0; outline: 0; font-size: 15px; -moz-appearance: textfield; background: transparent; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty.sm { height: 38px; }
.qty.sm button { width: 32px; }
.qty.sm input { width: 34px; font-size: 14px; }
.buy-row .btn { flex: 1; height: 52px; }
.btn-wish { width: 52px; height: 52px; border: 1px solid var(--line); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; transition: all .25s; flex-shrink: 0; }
.btn-wish:hover { border-color: var(--ink); }
.btn-wish.active { color: var(--sale); border-color: var(--sale); }
.stock-note { font-size: 13.5px; display: flex; align-items: center; gap: 8px; margin-bottom: 22px; }
.stock-note::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--success); }
.stock-note.low::before { background: var(--warning); }
.stock-note.out::before { background: var(--sale); }
.product-perks { display: grid; gap: 12px; padding: 20px; background: var(--cream); border-radius: var(--radius); font-size: 14px; margin-bottom: 24px; }
.product-perks div { display: flex; gap: 12px; align-items: center; }
.product-perks .icon { color: var(--gold); }
.product-meta { font-size: 13.5px; color: var(--muted); display: grid; gap: 4px; }
.product-meta strong { color: var(--ink); font-weight: 500; }
.accordion { border-top: 1px solid var(--line); margin-top: 26px; }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-head { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; }
.acc-head .icon { transition: transform .3s; }
.acc-item.open .acc-head .icon { transform: rotate(180deg); }
.acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.acc-item.open .acc-body { grid-template-rows: 1fr; }
.acc-body > div { overflow: hidden; color: var(--ink-soft); font-size: 14.5px; }
.acc-body > div > :last-child { padding-bottom: 20px; }

.reviews-wrap { display: grid; grid-template-columns: 320px 1fr; gap: 60px; }
.review-summary { background: var(--cream); padding: 30px; border-radius: var(--radius); align-self: start; text-align: center; }
.review-summary .big { font-family: var(--serif); font-size: 64px; line-height: 1; }
.review-item { padding: 22px 0; border-bottom: 1px solid var(--line-soft); }
.review-item header { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.review-item h4 { font-family: var(--sans); font-size: 15px; font-weight: 500; margin: 6px 0 4px; }
.review-item p { margin: 0; color: var(--ink-soft); }
.review-item small { color: var(--muted); }
.rating-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.rating-input input { display: none; }
.rating-input label { cursor: pointer; color: var(--line); }
.rating-input label svg { width: 26px; height: 26px; fill: currentColor; }
.rating-input input:checked ~ label, .rating-input label:hover, .rating-input label:hover ~ label { color: var(--gold); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; color: var(--ink-soft); }
.field label .req { color: var(--sale); }
.field input, .field select, .field textarea {
    width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
    font-size: 15px; transition: border-color .2s, box-shadow .2s; outline: none;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(168, 132, 79, .12); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--sale); }
.field .error { color: var(--sale); font-size: 12.5px; }
.field .hint { color: var(--muted); font-size: 12.5px; }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 70px; }
.password-wrap button { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.alert { padding: 14px 18px; border-radius: var(--radius); font-size: 14px; margin-bottom: 20px; border-left: 3px solid; }
.alert-error { background: #fbeeed; border-color: var(--sale); color: #7d2a26; }
.alert-success { background: #edf6f0; border-color: var(--success); color: #2a5a3c; }
.alert-info { background: #edf3f8; border-color: var(--info); color: #2c4f6a; }
.alert-warning { background: #fdf5e7; border-color: var(--warning); color: #7a5112; }
.alert a { text-decoration: underline; word-break: break-all; }

.auth-wrap { min-height: calc(100vh - 300px); display: grid; grid-template-columns: 1fr 1fr; }
.auth-media { position: relative; background: var(--ink) center / cover; min-height: 560px; }
.auth-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 15, 10, .7), rgba(20, 15, 10, .1)); }
.auth-media blockquote { position: absolute; left: 50px; right: 50px; bottom: 50px; z-index: 2; color: #fff; font-family: var(--serif); font-size: 32px; line-height: 1.25; margin: 0; }
.auth-media blockquote small { display: block; font-family: var(--sans); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; margin-top: 16px; opacity: .8; }
.auth-box { padding: 70px 8%; display: flex; flex-direction: column; justify-content: center; max-width: 620px; width: 100%; }
.auth-box h1 { font-size: 44px; margin-bottom: 6px; }
.auth-box > p { color: var(--muted); margin-bottom: 30px; }
.auth-box form { display: grid; gap: 18px; }
.auth-row { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.auth-row a { text-decoration: underline; text-underline-offset: 3px; }
.auth-switch { text-align: center; margin-top: 26px; font-size: 14.5px; color: var(--muted); }
.auth-switch a { color: var(--ink); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Cart & checkout ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 400px; gap: 50px; padding-top: 44px; padding-bottom: 90px; align-items: start; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; color: var(--muted); padding: 0 0 14px; border-bottom: 1px solid var(--line); }
.cart-table td { padding: 22px 0; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.cart-table tr.removing { opacity: 0; transform: translateX(30px); transition: all .35s; }
.cart-prod { display: flex; gap: 18px; align-items: center; }
.cart-prod img { width: 92px; height: 115px; object-fit: cover; border-radius: var(--radius); background: var(--cream); }
.cart-prod h3 { font-family: var(--sans); font-size: 15.5px; font-weight: 500; margin: 0 0 4px; }
.cart-prod .opts { color: var(--muted); font-size: 13px; }
.cart-prod .remove-link { margin-top: 8px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; }
.cart-prod .remove-link:hover { color: var(--sale); }
.cart-table .line-total { font-weight: 500; text-align: right; }
.cart-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.summary-card { background: var(--cream); padding: 30px; border-radius: var(--radius); position: sticky; top: calc(var(--header-h) + 20px); }
.summary-card h3 { font-size: 26px; margin-bottom: 20px; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 14.5px; }
.summary-row.discount { color: var(--success); }
.summary-row.total { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 18px; font-size: 19px; font-weight: 500; }
.summary-row small { color: var(--muted); font-size: 12px; }
.coupon-form { display: flex; gap: 8px; margin: 18px 0 8px; }
.coupon-form input { flex: 1; min-width: 0; padding: 11px 12px; border: 1px solid var(--line); border-radius: var(--radius); text-transform: uppercase; background: #fff; outline: none; }
.coupon-form input:focus { border-color: var(--ink); }
.coupon-applied { display: flex; justify-content: space-between; align-items: center; background: #fff; border: 1px dashed var(--gold); padding: 10px 12px; border-radius: var(--radius); font-size: 13.5px; margin: 14px 0 6px; }
.coupon-applied button { color: var(--sale); font-size: 12px; text-decoration: underline; }
.summary-items { max-height: 320px; overflow-y: auto; margin-bottom: 14px; }
.summary-item { display: grid; grid-template-columns: 60px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.summary-item .thumb { position: relative; }
.summary-item img { width: 60px; height: 74px; object-fit: cover; border-radius: var(--radius); }
.summary-item .qty-badge { position: absolute; top: -6px; right: -6px; background: var(--ink); color: #fff; width: 20px; height: 20px; border-radius: 50%; font-size: 11px; display: flex; align-items: center; justify-content: center; }
.summary-item small { color: var(--muted); display: block; }
.checkout-layout { display: grid; grid-template-columns: 1fr 420px; gap: 50px; padding-top: 40px; padding-bottom: 90px; align-items: start; }
.checkout-step { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin-bottom: 22px; }
.checkout-step h3 { font-size: 24px; display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.checkout-step h3 .num { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--sans); font-size: 14px; display: flex; align-items: center; justify-content: center; }
.saved-addresses { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-bottom: 20px; }
.addr-option { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; cursor: pointer; font-size: 13.5px; transition: border-color .2s; position: relative; }
.addr-option:hover { border-color: var(--ink); }
.addr-option.selected { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.addr-option strong { display: block; margin-bottom: 2px; }
.pay-options { display: grid; gap: 12px; }
.pay-option { border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s; }
.pay-option > label { display: flex; align-items: center; gap: 14px; padding: 18px; cursor: pointer; }
.pay-option input[type=radio] { width: 18px; height: 18px; accent-color: var(--ink); }
.pay-option .pay-title { flex: 1; }
.pay-option .pay-title strong { display: block; font-weight: 500; }
.pay-option .pay-title small { color: var(--muted); }
.pay-option .icon { color: var(--gold); }
.pay-option .pay-logo { width: 46px; height: auto; flex-shrink: 0; }
.pay-option:has(input:checked) { border-color: var(--ink); }
.pay-details { padding: 0 18px 18px 50px; display: none; }
.pay-option:has(input:checked) .pay-details { display: block; animation: fadeIn .35s; }
.bank-card { background: var(--cream); border-radius: var(--radius); padding: 16px; font-size: 14px; margin-bottom: 14px; }
.bank-card dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; }
.bank-card dt { color: var(--muted); }
.bank-card dd { margin: 0; font-weight: 500; display: flex; align-items: center; gap: 8px; }
.copy-btn { font-size: 11px; color: var(--gold); text-decoration: underline; font-weight: 400; }
.secure-note { display: flex; gap: 8px; align-items: center; justify-content: center; color: var(--muted); font-size: 12.5px; margin-top: 14px; }

/* ---------- Order confirmation & tracking ---------- */
.confirm-hero { text-align: center; padding: 60px 0 30px; }
.confirm-check { width: 84px; height: 84px; border-radius: 50%; background: var(--success); color: #fff; display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; animation: popIn .6s var(--ease); }
.confirm-check .icon { width: 40px; height: 40px; stroke-width: 2.2; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .6s .35s forwards; }
.order-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin-bottom: 24px; }
.order-box h3 { font-size: 24px; margin-bottom: 18px; }
.order-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 22px; background: var(--cream); border-radius: var(--radius); margin-bottom: 24px; }
.order-meta span { display: block; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.order-meta strong { font-weight: 500; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.timeline { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); margin: 30px 0 10px; }
.timeline::before { content: ''; position: absolute; top: 19px; left: 10%; right: 10%; height: 2px; background: var(--line); }
.timeline .fill { position: absolute; top: 19px; left: 10%; height: 2px; background: var(--success); transition: width 1s var(--ease); }
.tl-step { position: relative; text-align: center; font-size: 13px; color: var(--muted); }
.tl-dot { width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 2px solid var(--line); margin: 0 auto 10px; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; }
.tl-step.done .tl-dot { background: var(--success); border-color: var(--success); color: #fff; }
.tl-step.current .tl-dot { border-color: var(--success); color: var(--success); box-shadow: 0 0 0 6px rgba(63, 122, 85, .14); }
.tl-step.done, .tl-step.current { color: var(--ink); }
.history { list-style: none; padding: 0; margin: 0; }
.history li { position: relative; padding: 0 0 20px 28px; border-left: 1px solid var(--line); margin-left: 6px; }
.history li::before { content: ''; position: absolute; left: -6px; top: 4px; width: 11px; height: 11px; border-radius: 50%; background: var(--gold); }
.history li:last-child { border-left-color: transparent; }
.history strong { font-weight: 500; }
.history small { display: block; color: var(--muted); }
.status-pill { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; background: var(--sand); }
.status-pending { background: #fdf3e1; color: #8a5a10; }
.status-confirmed { background: #e8f0f8; color: #2c5578; }
.status-processing { background: #efe9f8; color: #5b3d8a; }
.status-shipped { background: #e6f2f4; color: #23626d; }
.status-delivered, .status-paid { background: #e6f2ea; color: #2a5a3c; }
.status-cancelled, .status-failed { background: #fbeceb; color: #8a2f2a; }
.status-refunded { background: #eee; color: #555; }

/* ---------- Account ---------- */
.account-layout { display: grid; grid-template-columns: 260px 1fr; gap: 50px; padding-top: 44px; padding-bottom: 90px; align-items: start; }
.account-nav { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; position: sticky; top: calc(var(--header-h) + 20px); }
.account-user { padding: 22px; background: var(--cream); display: flex; gap: 14px; align-items: center; }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--serif); font-size: 20px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.account-user small { display: block; color: var(--muted); font-size: 12.5px; word-break: break-all; }
.account-nav a { display: flex; align-items: center; gap: 12px; padding: 14px 22px; border-top: 1px solid var(--line-soft); font-size: 14.5px; }
.account-nav a.active { background: var(--ink); color: #fff; }
.account-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin-bottom: 24px; }
.account-card h2 { font-size: 28px; margin-bottom: 18px; }
.account-card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.account-card-head h2 { margin: 0; }
.stat-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.stat-card { padding: 22px; background: var(--cream); border-radius: var(--radius); }
.stat-card strong { display: block; font-family: var(--serif); font-size: 36px; font-weight: 500; line-height: 1.1; }
.stat-card span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 14px 12px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.table-wrap { overflow-x: auto; }
.address-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.address-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; font-size: 14px; position: relative; }
.address-card.default { border-color: var(--gold); }
.address-card .tag { position: absolute; top: 14px; right: 14px; background: var(--gold-soft); }
.address-card .actions { display: flex; gap: 14px; margin-top: 12px; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; }
.address-card .actions button, .address-card .actions a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- CMS pages ---------- */
.cms-content { padding: 60px 0 90px; font-size: 16px; line-height: 1.85; color: var(--ink-soft); }
.cms-content h2 { font-size: 32px; color: var(--ink); margin-top: 1.4em; }
.cms-content h3 { font-size: 24px; color: var(--ink); margin-top: 1.2em; }
.cms-content .lead { font-family: var(--serif); font-size: 26px; line-height: 1.5; color: var(--ink); }
.cms-content a { color: var(--gold); text-decoration: underline; }
.cms-content ul { padding-left: 20px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; padding: 60px 0 90px; }
.contact-info { display: grid; gap: 22px; align-content: start; }
.contact-info .item { display: flex; gap: 16px; }
.contact-info .item .icon { color: var(--gold); margin-top: 3px; }
.contact-info .item strong { display: block; font-weight: 500; }
.contact-info .item span { color: var(--muted); }

.not-found { text-align: center; padding: 110px 0; }
.not-found .big { font-family: var(--serif); font-size: 150px; line-height: 1; color: var(--sand); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes bump { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.35); } }
@keyframes heartPop { 0% { transform: scale(1); } 40% { transform: scale(1.4); } 100% { transform: scale(1); } }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px) scale(.96); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(40px); } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-6px); } }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
@keyframes popIn { from { transform: scale(0); } 70% { transform: scale(1.1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
    .main-nav { gap: 20px; }
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .product-rail { grid-auto-columns: calc((100% - 44px) / 3); }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .cart-layout, .checkout-layout { grid-template-columns: 1fr 360px; gap: 34px; }
}
@media (max-width: 991px) {
    :root { --header-h: 64px; }
    .menu-toggle { display: inline-flex; }
    .main-nav { display: none; }
    .header-inner { gap: 8px; }
    .logo { margin: 0 auto; }
    .header-actions { margin-left: 0; }
    .logo-mark { font-size: 24px; }
    .section { padding: 64px 0; }
    .category-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
    .category-tile.tall { grid-row: span 1; grid-column: span 2; }
    .offer-grid, .story-grid, .two-col { grid-template-columns: 1fr; }
    .story-grid { gap: 50px; }
    .story-badge { right: 16px; bottom: -30px; width: 110px; height: 110px; }
    .testimonials { grid-template-columns: 1fr 1fr; }
    .perks-grid { grid-template-columns: 1fr 1fr; }
    .shop-layout { grid-template-columns: 1fr; padding-top: 24px; }
    .filters { position: fixed; top: 0; left: 0; bottom: 0; width: min(340px, 88vw); background: #fff; z-index: 90; max-height: none; padding: 20px 22px; transform: translateX(-100%); transition: transform .45s var(--ease); }
    .filters.open { transform: none; box-shadow: var(--shadow-lg); }
    .filters-head { display: flex !important; }
    .filter-toggle { display: inline-flex; }
    .product-layout { grid-template-columns: 1fr; gap: 34px; }
    .gallery { position: static; grid-template-columns: 1fr; }
    .gallery-thumbs { flex-direction: row; order: 2; overflow-x: auto; }
    .gallery-thumbs button { width: 70px; flex-shrink: 0; }
    .reviews-wrap { grid-template-columns: 1fr; gap: 30px; }
    .cart-layout, .checkout-layout, .account-layout { grid-template-columns: 1fr; }
    .summary-card, .account-nav { position: static; }
    .auth-wrap { grid-template-columns: 1fr; }
    .auth-media { display: none; }
    .auth-box { margin: 0 auto; padding: 50px 24px; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .qv-grid { grid-template-columns: 1fr; }
    .qv-info { padding: 26px 22px; }
    .order-meta { grid-template-columns: 1fr 1fr; }
    .promo-banner { background-attachment: scroll; padding: 90px 0; }
}
@media (max-width: 640px) {
    body { font-size: 14.5px; }
    .container { padding: 0 16px; }
    .hide-sm { display: none; }
    .icon-btn { width: 38px; height: 38px; }
    .hero { height: 74vh; min-height: 460px; }
    .hero-arrow { display: none; }
    .hero-text { font-size: 15px; }
    .product-grid, .product-grid.cols-3 { grid-template-columns: 1fr 1fr; gap: 26px 12px; }
    .product-rail { grid-auto-columns: 62%; gap: 12px; }
    .pc-actions { grid-template-columns: 1fr; transform: none; position: static; margin-top: 8px; display: none; }
    .pc-wish { width: 34px; height: 34px; }
    .pc-title { font-size: 14px; }
    .category-grid { grid-auto-rows: 180px; gap: 10px; }
    .category-label h3 { font-size: 22px; }
    .offer-content { padding: 34px 26px; }
    .offer-content h3 { font-size: 32px; }
    .testimonials, .perks-grid, .stat-cards { grid-template-columns: 1fr; }
    .stats { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .stats strong { font-size: 28px; }
    .footer-top { grid-template-columns: 1fr; gap: 34px; padding-top: 50px; }
    .form-grid { grid-template-columns: 1fr; }
    .cart-table thead { display: none; }
    .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; width: 100%; }
    .cart-table tr { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
    .cart-table td { border: 0; padding: 0; }
    .cart-table td:first-child { grid-column: 1 / -1; }
    .cart-table td.unit { display: none; }
    .cart-prod img { width: 76px; height: 95px; }
    .checkout-step { padding: 20px 16px; }
    .pay-details { padding-left: 18px; }
    .timeline { grid-template-columns: 1fr; gap: 14px; }
    .timeline::before, .timeline .fill { display: none; }
    .tl-step { display: flex; align-items: center; gap: 14px; text-align: left; }
    .tl-dot { margin: 0; }
    .order-meta { grid-template-columns: 1fr; }
    .search-form input { font-size: 22px; }
    .to-top { bottom: 84px; }
    .whatsapp-fab { width: 48px; height: 48px; }
    .modal { padding: 0; align-items: flex-end; }
    .modal-dialog { border-radius: var(--radius-lg) var(--radius-lg) 0 0; max-height: 94vh; }
}

/* Grid children must be allowed to shrink below their content width */
.product-layout > *, .shop-layout > *, .cart-layout > *, .checkout-layout > *, .account-layout > *,
.contact-grid > *, .story-grid > *, .two-col > *, .qv-grid > *, .reviews-wrap > * { min-width: 0; }
@media (max-width: 640px) {
    .buy-row { gap: 8px; }
    .buy-row .btn { padding: 0 12px; letter-spacing: .1em; }
}
.order-meta span.status-pill { display: inline-block; font-size: 11.5px; letter-spacing: .08em; color: inherit; }
.order-meta .status-pending { color: #8a5a10; } .order-meta .status-confirmed { color: #2c5578; }
.order-meta .status-processing { color: #5b3d8a; } .order-meta .status-shipped { color: #23626d; }
.order-meta .status-delivered { color: #2a5a3c; } .order-meta .status-cancelled { color: #8a2f2a; }
