/* =========================================================================
   Ayana Boutique — storefront stylesheet
   One file for every customer-facing page. Page templates use these
   classes instead of inline styles so the look stays consistent.
   ========================================================================= */

/* ---------- 1. Design tokens ---------- */
:root {
    --off-white: #FAF6F0;
    --off-white-alt: #F3ECE1;
    --paper: #FFFDF9;
    --emerald: #0B4F3F;
    --emerald-hover: #146356;
    --emerald-deep: #083A2E;
    --emerald-soft: #DCE8E3;
    --rose-gold: #B76E79;
    --rose-gold-deep: #9B5661;
    --rose-gold-soft: #F0DCDD;
    --gold: #B8975A;
    --ink: #2C2620;
    --ink-soft: #5A524A;
    --ink-muted: #8A8178;
    --line: #E6DED2;
    --line-strong: #D3C8B8;

    --success: #2F6B4F;  --success-bg: #E3F0E8;
    --warning: #8A5A12;  --warning-bg: #F8ECD6;
    --danger:  #9B3A44;  --danger-bg:  #F6E1E2;
    --info:    #2D5470;  --info-bg:    #E2ECF3;

    --font-display: 'Cinzel', 'Times New Roman', serif;
    --font-accent: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --radius-sm: 4px;
    --radius: 10px;
    --radius-lg: 18px;
    --shadow-sm: 0 1px 2px rgba(44, 38, 32, .06);
    --shadow: 0 10px 30px -12px rgba(44, 38, 32, .18);
    --shadow-lg: 0 24px 60px -20px rgba(11, 79, 63, .28);

    --header-h: 76px;
    --gutter: clamp(16px, 4vw, 40px);
    --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    font-size: 16px;
    background-color: var(--off-white);
    color: var(--ink);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--emerald); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--rose-gold-deep); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul[role="list"], ol[role="list"] { list-style: none; }
:focus-visible { outline: 2px solid var(--rose-gold); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--rose-gold-soft); color: var(--ink); }

.skip-link {
    position: absolute; left: 12px; top: -60px; z-index: 2000;
    background: var(--emerald); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; color: #fff; }
.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

/* ---------- 3. Typography ---------- */
h1, h2, h3, h4, h5, h6, .cinzel {
    font-family: var(--font-display);
    font-weight: 400;
    color: var(--emerald);
    letter-spacing: .03em;
    line-height: 1.2;
}
h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
p + p { margin-top: 1em; }
.accent-italic {
    font-family: var(--font-accent);
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
}
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: .72rem; font-weight: 500;
    text-transform: uppercase; letter-spacing: .22em;
    color: var(--rose-gold-deep);
    margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow--plain::before { display: none; }
.lead { font-size: 1.08rem; color: var(--ink-soft); max-width: 56ch; }
.muted { color: var(--ink-muted); }
.text-center { text-align: center; }

/* ---------- 4. Layout ---------- */
.container { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 820px; }
.container--tight { max-width: 520px; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--flush-top { padding-top: 0; }
.section--sm { padding: clamp(32px, 5vw, 56px) 0; }
.section-alt { background-color: var(--off-white-alt); }
.section-emerald { background-color: var(--emerald); color: var(--off-white); }
.section-emerald h2, .section-emerald h3, .section-emerald p { color: var(--off-white); }

.section-head { margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { color: var(--ink-soft); margin-top: 12px; max-width: 60ch; }
.section-head--center { text-align: center; }
.section-head--center p { margin-left: auto; margin-right: auto; }
.section-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }

.page-head { padding: 28px 0 8px; }
.page-head h1 { margin-bottom: 8px; }
.page-head p { color: var(--ink-soft); max-width: 62ch; }

/* ---------- 5. Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 0 28px;
    font-family: var(--font-body); font-size: .78rem; font-weight: 500;
    text-transform: uppercase; letter-spacing: .16em; line-height: 1;
    border-radius: 999px; border: 1px solid var(--emerald);
    background: var(--emerald); color: var(--off-white);
    cursor: pointer; text-align: center; white-space: nowrap;
    transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { background: var(--emerald-hover); border-color: var(--emerald-hover); color: var(--off-white); }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn.is-disabled { opacity: .45; cursor: not-allowed; pointer-events: none; }
.btn .icon { width: 16px; height: 16px; }

.btn--outline, .btn-outline { background: transparent; color: var(--emerald); }
.btn--outline:hover, .btn-outline:hover { background: var(--emerald); color: var(--off-white); }
.btn--light { background: var(--off-white); border-color: var(--off-white); color: var(--emerald); }
.btn--light:hover { background: #fff; border-color: #fff; color: var(--emerald-deep); }
.btn--rose, .btn-rose { background: var(--rose-gold); border-color: var(--rose-gold); color: #fff; }
.btn--rose:hover, .btn-rose:hover { background: var(--rose-gold-deep); border-color: var(--rose-gold-deep); color: #fff; }
.btn--ghost { background: transparent; border-color: transparent; color: var(--emerald); padding: 0 12px; }
.btn--ghost:hover { background: var(--emerald-soft); border-color: var(--emerald-soft); color: var(--emerald); }
.btn--whatsapp { background: transparent; color: var(--emerald); border-color: var(--line-strong); }
.btn--whatsapp:hover { background: #fff; border-color: var(--emerald); color: var(--emerald); }
.btn--lg { min-height: 56px; padding: 0 36px; font-size: .82rem; }
.btn--sm { min-height: 38px; padding: 0 18px; font-size: .7rem; }
.btn--block, .btn-block { display: flex; width: 100%; }
/* legacy aliases kept so older markup still renders */
.btn-primary { background: var(--emerald); color: var(--off-white); }

.link-arrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .76rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 500;
    border-bottom: 1px solid currentColor; padding-bottom: 3px;
}
.link-arrow .icon { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translate(2px, -2px); }

/* ---------- 6. Announcement bar + header ---------- */
.announcement {
    background: var(--emerald-deep); color: var(--emerald-soft);
    font-size: .74rem; letter-spacing: .12em; text-transform: uppercase;
}
.announcement .container { display: flex; justify-content: center; align-items: center; gap: 28px; min-height: 36px; flex-wrap: wrap; }
.announcement a { color: var(--off-white); }
.announcement a:hover { color: var(--rose-gold-soft); }
.announcement__sep { opacity: .35; }

.site-header {
    position: sticky; top: 0; z-index: 900;
    background: rgba(250, 246, 240, .96);
    border-bottom: 1px solid var(--line);
    transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled {
    background: rgba(250, 246, 240, .86);
    -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
    box-shadow: var(--shadow-sm);
}
.header-inner {
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
    min-height: var(--header-h); gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--emerald); justify-self: center; }
.brand:hover { color: var(--emerald); }
.brand img { height: 46px; width: auto; }
.brand__name { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: .14em; text-transform: uppercase; line-height: 1; white-space: nowrap; }
.brand__name small { display: block; margin-top: 5px; font-family: var(--font-body); font-size: .56rem; letter-spacing: .38em; color: var(--rose-gold-deep); }

.primary-nav { display: flex; align-items: center; gap: 4px; }
.primary-nav > a, .nav-dropdown > button {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 14px; border-radius: 999px;
    font-size: .74rem; font-weight: 500; text-transform: uppercase; letter-spacing: .16em; color: var(--ink);
}
.primary-nav > a:hover, .nav-dropdown > button:hover, .primary-nav > a.is-active { color: var(--emerald); background: var(--emerald-soft); }
.nav-dropdown { position: relative; }
.nav-dropdown .icon { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.nav-dropdown__panel {
    position: absolute; top: calc(100% + 10px); left: 0; min-width: 260px;
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow); padding: 10px;
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.nav-dropdown__panel::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nav-dropdown:hover .nav-dropdown__panel, .nav-dropdown:focus-within .nav-dropdown__panel, .nav-dropdown.is-open .nav-dropdown__panel {
    opacity: 1; visibility: visible; transform: none;
}
.nav-dropdown:hover .icon, .nav-dropdown.is-open .icon { transform: rotate(180deg); }
.nav-dropdown__panel a { display: block; padding: 10px 14px; border-radius: 6px; font-size: .92rem; color: var(--ink); }
.nav-dropdown__panel a:hover { background: var(--off-white-alt); color: var(--emerald); }
.nav-dropdown__panel .all { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; color: var(--emerald); }

.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
.icon-btn {
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 44px; min-width: 44px; padding: 0 12px; border-radius: 999px; color: var(--ink);
    font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 500;
}
.icon-btn:hover { background: var(--emerald-soft); color: var(--emerald); }
.icon-btn .icon { width: 21px; height: 21px; }
.cart-count {
    position: absolute; top: 4px; right: 2px;
    min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
    background: var(--rose-gold); color: #fff; font-size: .64rem; font-weight: 600; letter-spacing: 0;
    display: inline-flex; align-items: center; justify-content: center; line-height: 1;
    transition: transform .3s var(--ease);
}
.cart-count[data-count="0"] { display: none; }
.cart-count.is-bumped { transform: scale(1.35); }
.menu-toggle { display: none; }

/* Mobile drawer */
.drawer-backdrop {
    position: fixed; inset: 0; z-index: 1000; background: rgba(20, 18, 15, .45);
    opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
}
.drawer {
    position: fixed; top: 0; bottom: 0; left: 0; z-index: 1001; width: min(86vw, 360px);
    background: var(--paper); padding: 20px 24px 32px; overflow-y: auto;
    transform: translateX(-100%); transition: transform .35s var(--ease);
    display: flex; flex-direction: column;
}
body.drawer-open { overflow: hidden; }
body.drawer-open .drawer { transform: none; }
body.drawer-open .drawer-backdrop { opacity: 1; visibility: visible; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.drawer__label { font-size: .7rem; text-transform: uppercase; letter-spacing: .2em; color: var(--ink-muted); margin: 22px 0 6px; }
.drawer nav a { display: flex; justify-content: space-between; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 1rem; }
.drawer nav a:hover { color: var(--emerald); }
.drawer__foot { margin-top: auto; padding-top: 24px; display: grid; gap: 10px; }

/* ---------- 7. Breadcrumb ---------- */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 24px; font-size: .78rem; color: var(--ink-muted); letter-spacing: .04em; }
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--emerald); }
.breadcrumb .sep { opacity: .5; }
.breadcrumb .current { color: var(--ink); }

/* ---------- 8. Home ---------- */
.hero { padding: clamp(32px, 6vw, 72px) 0 clamp(28px, 4vw, 48px); }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: end; }
.hero h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); line-height: 1.04; letter-spacing: .02em; }
.hero h1 .accent-italic { color: var(--rose-gold-deep); }
.hero__copy p { font-size: 1.08rem; color: var(--ink-soft); max-width: 42ch; margin-bottom: 28px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual { padding: 0 var(--gutter); max-width: 1600px; margin: 0 auto; }
.hero-visual__frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--off-white-alt); }
.hero-visual__frame img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.hero-visual__caption {
    position: absolute; left: 24px; bottom: 24px;
    background: rgba(250, 246, 240, .92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    padding: 12px 18px; border-radius: 999px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--emerald);
}

.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: clamp(40px, 6vw, 72px) 0 0; }
.trust-item { display: flex; gap: 14px; align-items: flex-start; padding: 26px 22px; font-size: .88rem; color: var(--ink-soft); line-height: 1.5; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item .icon { flex: none; width: 24px; height: 24px; color: var(--rose-gold-deep); margin-top: 2px; }
.trust-item strong { display: block; color: var(--emerald); font-weight: 500; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 3px; }

.category-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 72px; border-top: 1px solid var(--line); }
.category-list__item {
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    padding: 24px 4px; border-bottom: 1px solid var(--line);
    font-family: var(--font-display); font-size: clamp(1.05rem, 1.6vw, 1.3rem); letter-spacing: .06em; color: var(--emerald);
    transition: color .25s var(--ease), padding .25s var(--ease);
}
.category-list__item .num { font-family: var(--font-body); font-size: .72rem; letter-spacing: .14em; color: var(--ink-muted); margin-right: 18px; }
.category-list__item .icon { width: 18px; height: 18px; color: var(--ink-muted); transition: transform .25s var(--ease), color .25s var(--ease); }
.category-list__item:hover { color: var(--rose-gold-deep); padding-left: 12px; }
.category-list__item:hover .icon { color: var(--rose-gold-deep); transform: translate(3px, -3px); }

.cta-banner {
    position: relative; overflow: hidden;
    background: var(--emerald); color: var(--off-white);
    border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 80px);
    display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap;
}
.cta-banner::after {
    content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%;
    border: 1px solid rgba(240, 220, 221, .18); box-shadow: 0 0 0 40px rgba(240, 220, 221, .04), 0 0 0 80px rgba(240, 220, 221, .03);
    pointer-events: none;
}
.cta-banner h2 { color: var(--off-white); max-width: 18ch; margin-top: 8px; }
.cta-banner .eyebrow { color: var(--rose-gold-soft); }
.cta-banner p { color: var(--emerald-soft); margin-top: 12px; max-width: 46ch; }
.cta-banner__actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-banner .btn--outline { color: var(--off-white); border-color: rgba(250, 246, 240, .5); }
.cta-banner .btn--outline:hover { background: var(--off-white); color: var(--emerald); }

.giant-text {
    font-family: var(--font-display); font-size: clamp(5rem, 19vw, 17rem); line-height: .8; text-align: center;
    color: var(--emerald); opacity: .08; letter-spacing: .04em; user-select: none;
    padding: clamp(32px, 5vw, 64px) 0 0; margin-bottom: -.12em;
}

/* ---------- 9. Product grid + card ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; }
.product-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-card { display: block; color: var(--ink); }
.product-card:hover { color: var(--ink); }
.product-card__media { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--off-white-alt); aspect-ratio: 3 / 4; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.045); }
.product-card.is-sold-out .product-card__media img { filter: grayscale(.35); opacity: .78; }
.product-card__body { padding-top: 14px; }
.product-card__cat { display: block; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 4px; }
.product-card__name { font-family: var(--font-body); font-size: .98rem; font-weight: 400; letter-spacing: .01em; color: var(--ink); line-height: 1.4; margin-bottom: 6px; }
.product-card:hover .product-card__name { color: var(--emerald); }
.product-card__price { font-size: .94rem; }

.tag {
    position: absolute; top: 12px; left: 12px; z-index: 2;
    padding: 5px 10px; border-radius: 999px;
    font-size: .64rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; line-height: 1.2;
}
.tag--rose { background: var(--rose-gold); color: #fff; }
.tag--dark { background: rgba(44, 38, 32, .82); color: #fff; }

.price { color: var(--ink); font-weight: 500; }
.price--sale { color: var(--rose-gold-deep); }
.price--was { color: var(--ink-muted); font-weight: 400; font-size: .88em; margin-left: 4px; }

/* Category toolbar / chips */
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; margin-bottom: 24px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
    flex: none; display: inline-flex; align-items: center; height: 38px; padding: 0 18px; border-radius: 999px;
    border: 1px solid var(--line-strong); color: var(--ink-soft); font-size: .8rem; letter-spacing: .04em; white-space: nowrap;
}
.chip:hover { border-color: var(--emerald); color: var(--emerald); }
.chip.is-active { background: var(--emerald); border-color: var(--emerald); color: var(--off-white); }
.toolbar {
    display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
    padding: 14px 0; margin-bottom: 32px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.toolbar__count { font-size: .85rem; color: var(--ink-soft); }
.toolbar__sort { display: flex; align-items: center; gap: 10px; font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-muted); }
.toolbar__sort select { min-width: 200px; height: 40px; text-transform: none; letter-spacing: 0; font-size: .9rem; }

/* Category index cards */
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.category-card {
    position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
    min-height: 300px; padding: 28px; border-radius: var(--radius); color: var(--off-white);
    background: var(--emerald);
}
.category-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.category-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 58, 46, 0) 35%, rgba(8, 58, 46, .82) 100%); }
.category-card:hover img { transform: scale(1.05); }
.category-card > div { position: relative; z-index: 1; }
.category-card h3 { color: var(--off-white); font-size: 1.35rem; margin-bottom: 6px; }
.category-card span { display: inline-flex; align-items: center; gap: 8px; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--rose-gold-soft); }
.category-card span .icon { width: 14px; height: 14px; }
.category-card:hover { color: var(--off-white); }

/* ---------- 10. Product detail ---------- */
.product-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 80px); align-items: start; margin-top: 24px; }
.gallery { position: sticky; top: calc(var(--header-h) + 20px); display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; }
.gallery--single { grid-template-columns: minmax(0, 1fr); }
.gallery-main { border-radius: var(--radius); overflow: hidden; background: var(--off-white-alt); aspect-ratio: 3 / 4; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s var(--ease); }
.gallery-thumbs { display: flex; flex-direction: column; gap: 10px; order: -1; }
.gallery-thumbs button { border-radius: 6px; overflow: hidden; border: 1px solid transparent; opacity: .6; transition: opacity .2s, border-color .2s; padding: 0; }
.gallery-thumbs button img { width: 76px; height: 100px; object-fit: cover; }
.gallery-thumbs button.is-active, .gallery-thumbs button:hover { opacity: 1; border-color: var(--emerald); }

.pd-info .eyebrow { margin-bottom: 10px; }
.pd-title { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 14px; }
.pd-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; font-size: 1.35rem; margin-bottom: 6px; }
.pd-price .save { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; background: var(--rose-gold-soft); color: var(--rose-gold-deep); padding: 4px 10px; border-radius: 999px; }
.pd-tax { font-size: .8rem; color: var(--ink-muted); margin-bottom: 28px; }
.pd-divider { height: 1px; background: var(--line); margin: 28px 0; }

.option-label { display: flex; justify-content: space-between; align-items: baseline; font-size: .74rem; text-transform: uppercase; letter-spacing: .16em; color: var(--ink-soft); margin-bottom: 12px; }
.option-label strong { color: var(--ink); font-weight: 500; letter-spacing: .06em; text-transform: none; font-size: .9rem; }
.size-options { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; border: 0; }
.size-options input { position: absolute; opacity: 0; pointer-events: none; }
.size-options label {
    min-width: 56px; height: 46px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--line-strong); border-radius: 999px; cursor: pointer;
    font-size: .86rem; letter-spacing: .04em; background: var(--paper);
    transition: border-color .2s, background-color .2s, color .2s;
}
.size-options label:hover { border-color: var(--emerald); }
.size-options input:checked + label { background: var(--emerald); border-color: var(--emerald); color: var(--off-white); }
.size-options input:focus-visible + label { outline: 2px solid var(--rose-gold); outline-offset: 2px; }
.size-options input:disabled + label { color: var(--ink-muted); background: transparent; text-decoration: line-through; cursor: not-allowed; border-style: dashed; }

.stock-note { display: flex; align-items: center; gap: 8px; font-size: .86rem; margin-bottom: 22px; color: var(--success); }
.stock-note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stock-note.is-low { color: var(--warning); }
.stock-note.is-out { color: var(--danger); }

.pd-actions { display: grid; gap: 12px; }
.pd-perks { display: grid; gap: 12px; margin-top: 26px; padding: 18px 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); font-size: .88rem; color: var(--ink-soft); }
.pd-perks li { display: flex; gap: 12px; align-items: center; list-style: none; }
.pd-perks .icon { flex: none; color: var(--rose-gold-deep); }

.accordion { border-top: 1px solid var(--line); margin-top: 28px; }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
    list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
    padding: 18px 0; font-size: .78rem; font-weight: 500; text-transform: uppercase; letter-spacing: .16em; color: var(--ink);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .icon { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.accordion details[open] summary .icon { transform: rotate(180deg); }
.accordion__body { padding: 0 0 20px; color: var(--ink-soft); font-size: .94rem; }
.spec-list { display: grid; grid-template-columns: 110px 1fr; gap: 8px 16px; }
.spec-list dt { color: var(--ink-muted); }
.spec-list dd { color: var(--ink); }

/* ---------- 11. Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
.field label, .field .label { display: block; font-size: .74rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px; }
.field .hint { font-size: .8rem; color: var(--ink-muted); margin-top: 6px; }
.field .optional { text-transform: none; letter-spacing: 0; color: var(--ink-muted); font-weight: 400; }
input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="number"], input[type="search"], select, textarea {
    width: 100%; height: 50px; padding: 0 16px;
    background: var(--paper); border: 1px solid var(--line-strong); border-radius: 8px;
    font-size: .98rem; color: var(--ink);
    transition: border-color .2s, box-shadow .2s;
    -webkit-appearance: none; appearance: none;
}
textarea { height: auto; min-height: 120px; padding: 14px 16px; resize: vertical; }
select {
    padding-right: 42px; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235A524A' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 16px center;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(11, 79, 63, .12); }
input::placeholder, textarea::placeholder { color: var(--ink-muted); }
.field.has-error input, .field.has-error select { border-color: var(--danger); }
.checkbox { display: flex; gap: 10px; align-items: center; font-size: .9rem; color: var(--ink-soft); }
.checkbox input { width: 18px; height: 18px; accent-color: var(--emerald); }

.alert { display: flex; gap: 12px; padding: 14px 18px; border-radius: 8px; margin-bottom: 22px; font-size: .92rem; border: 1px solid transparent; }
.alert ul { margin-left: 18px; }
.alert-error, .alert--error { background: var(--danger-bg); color: var(--danger); border-color: rgba(155, 58, 68, .2); }
.alert-success, .alert--success { background: var(--success-bg); color: var(--success); border-color: rgba(47, 107, 79, .2); }
.alert--info { background: var(--info-bg); color: var(--info); }

/* ---------- 12. Cart + checkout ---------- */
.cart-layout, .checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(32px, 4vw, 64px); align-items: start; }
.cart-lines { border-top: 1px solid var(--line); }
.cart-line { display: grid; grid-template-columns: 110px 1fr auto; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cart-line__img { border-radius: 8px; overflow: hidden; background: var(--off-white-alt); aspect-ratio: 3 / 4; }
.cart-line__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-line__name { font-family: var(--font-display); font-size: 1.12rem; color: var(--emerald); line-height: 1.3; margin-bottom: 6px; display: block; }
.cart-line__meta { font-size: .86rem; color: var(--ink-muted); margin-bottom: 4px; }
.cart-line__controls { display: flex; align-items: center; gap: 18px; margin-top: 14px; flex-wrap: wrap; }
.cart-line__total { font-weight: 500; text-align: right; white-space: nowrap; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; height: 42px; background: var(--paper); }
.qty button { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink-soft); border-radius: 50%; }
.qty button:hover { color: var(--emerald); background: var(--emerald-soft); }
.qty button .icon { width: 14px; height: 14px; }
.qty input { width: 40px; height: 40px; border: 0; background: transparent; text-align: center; padding: 0; box-shadow: none; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty input:focus { box-shadow: none; }
.remove-link { font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-muted); border-bottom: 1px solid transparent; }
.remove-link:hover { color: var(--danger); border-bottom-color: currentColor; }
.cart-line.is-busy { opacity: .5; pointer-events: none; }

.summary-box { position: sticky; top: calc(var(--header-h) + 20px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.summary-box h2, .summary-box h3 { font-size: 1.2rem; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.summary-row { display: flex; justify-content: space-between; gap: 16px; font-size: .94rem; color: var(--ink-soft); margin-bottom: 12px; }
.summary-row.total { margin: 18px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 1.15rem; color: var(--ink); font-weight: 500; }
.summary-note { font-size: .8rem; color: var(--ink-muted); text-align: center; margin-top: 14px; display: flex; gap: 8px; justify-content: center; align-items: center; }
.summary-note .icon { width: 14px; height: 14px; }
.summary-box .btn { margin-top: 22px; }
.mini-line-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 10px 0; font-size: .9rem; }
.mini-line-item__img { position: relative; width: 56px; aspect-ratio: 3 / 4; border-radius: 6px; overflow: hidden; background: var(--off-white-alt); }
.mini-line-item__img img { width: 100%; height: 100%; object-fit: cover; }
.mini-line-item__qty { position: absolute; top: -1px; right: -1px; min-width: 20px; height: 20px; border-radius: 0 6px 0 6px; background: var(--emerald); color: #fff; font-size: .68rem; display: flex; align-items: center; justify-content: center; }
.mini-line-item small { display: block; color: var(--ink-muted); font-size: .8rem; }
.mini-line-item--plain { grid-template-columns: 1fr auto; }

.steps { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-muted); }
.steps li { display: flex; align-items: center; gap: 10px; list-style: none; }
.steps li + li::before { content: ""; width: 28px; height: 1px; background: var(--line-strong); }
.steps .is-done { color: var(--emerald); }
.steps .is-current { color: var(--ink); font-weight: 500; }
.form-section { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin-bottom: 20px; }
.form-section h2 { font-size: 1.15rem; margin-bottom: 20px; }

/* ---------- 13. Auth + account ---------- */
.auth { min-height: 64vh; display: flex; align-items: center; padding: clamp(40px, 6vw, 80px) 0; }
.auth-card { width: 100%; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow); }
.auth-card__head { text-align: center; margin-bottom: 28px; }
.auth-card__head p { color: var(--ink-soft); margin-top: 8px; font-size: .95rem; }
.auth-card form { display: grid; gap: 18px; }
.auth-card .switch { text-align: center; font-size: .9rem; color: var(--ink-soft); margin-top: 22px; }
.auth-card .switch a { color: var(--rose-gold-deep); border-bottom: 1px solid currentColor; }

.account-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 40px; align-items: start; }
.account-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.account-card + .account-card { margin-top: 16px; }
.account-card h2, .account-card h3 { font-size: 1.05rem; margin-bottom: 14px; }
.account-card dl { display: grid; gap: 12px; font-size: .92rem; }
.account-card dt { font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-muted); }
.avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--emerald); color: var(--off-white); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 14px; }

.table-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.table-scroll { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.data-table th { text-align: left; font-size: .68rem; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-muted); padding: 14px 20px; background: var(--off-white-alt); white-space: nowrap; }
.data-table td { padding: 16px 20px; border-top: 1px solid var(--line); white-space: nowrap; }
.data-table td.num, .data-table th.num { text-align: right; }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .72rem; font-weight: 500; letter-spacing: .04em; white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge--success { background: var(--success-bg); color: var(--success); }
.badge--warning { background: var(--warning-bg); color: var(--warning); }
.badge--danger  { background: var(--danger-bg);  color: var(--danger); }
.badge--info    { background: var(--info-bg);    color: var(--info); }
.badge--neutral { background: #EEEAE4; color: var(--ink-soft); }

/* ---------- 14. Confirmation / empty states ---------- */
.confirmation-box { max-width: 620px; margin: 0 auto; text-align: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 56px); }
.confirmation-box .icon-wrap { width: 72px; height: 72px; margin: 0 auto 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--emerald-soft); color: var(--emerald); }
.confirmation-box .icon-wrap.is-neutral { background: var(--off-white-alt); color: var(--ink-soft); }
.confirmation-box .icon-wrap .icon { width: 32px; height: 32px; }
.confirmation-box h1 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: 12px; }
.confirmation-box > p { color: var(--ink-soft); max-width: 46ch; margin: 0 auto; }
.order-number-pill { display: inline-block; margin-top: 22px; padding: 10px 20px; border-radius: 999px; background: var(--off-white-alt); font-size: .86rem; letter-spacing: .14em; color: var(--emerald); }
.confirmation-box .order-lines { text-align: left; margin: 28px auto 0; padding-top: 16px; border-top: 1px solid var(--line); }
.confirmation-box .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

.empty-state { text-align: center; padding: clamp(48px, 7vw, 88px) 24px; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); background: var(--paper); }
.empty-state .icon-wrap { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--off-white-alt); color: var(--emerald); }
.empty-state h2, .empty-state h3 { font-size: 1.4rem; margin-bottom: 10px; }
.empty-state p { color: var(--ink-soft); margin: 0 auto 24px; max-width: 44ch; }
.page-404 { padding: clamp(48px, 8vw, 96px) 0; }

/* ---------- 15. About / contact / legal ---------- */
.about-hero { padding: clamp(48px, 8vw, 104px) 0 clamp(24px, 4vw, 48px); text-align: center; }
.about-hero h1 { max-width: 20ch; margin: 0 auto 16px; }
.about-hero .accent-italic { font-size: 1.4rem; color: var(--rose-gold-deep); }
.about-block { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.about-block img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); background: var(--off-white-alt); }
.about-block.reverse img { order: 2; }
.about-block h2 { margin-bottom: 18px; }
.about-block p { color: var(--ink-soft); }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-grid > div { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.value-grid .num { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--rose-gold-deep); margin-bottom: 12px; }
.value-grid h3 { margin-bottom: 10px; }
.value-grid p { color: var(--ink-soft); font-size: .94rem; }

.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.contact-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; gap: 10px; }
.contact-card .icon-wrap { width: 52px; height: 52px; border-radius: 50%; background: var(--emerald-soft); color: var(--emerald); display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.contact-card h2 { font-size: 1.2rem; }
.contact-card p { color: var(--ink-soft); font-size: .94rem; }
.contact-card .value { font-size: 1.3rem; letter-spacing: .06em; color: var(--emerald); }
.contact-card .btn { margin-top: auto; align-self: flex-start; }

.legal-content { color: var(--ink-soft); font-size: 1rem; }
.legal-content h3 { font-size: 1.1rem; color: var(--emerald); margin: 36px 0 12px; }
.legal-content p { margin-bottom: 14px; }
.legal-content ul { margin: 0 0 18px 22px; }
.legal-content li { margin-bottom: 8px; }
.legal-content strong { color: var(--ink); font-weight: 500; }

/* ---------- 16. Footer ---------- */
.site-footer { background: var(--emerald-deep); color: var(--emerald-soft); margin-top: clamp(48px, 7vw, 96px); padding: clamp(48px, 6vw, 80px) 0 28px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h2 { font-family: var(--font-body); font-size: .72rem; font-weight: 500; text-transform: uppercase; letter-spacing: .2em; color: var(--off-white); margin-bottom: 18px; }
.site-footer a { color: var(--emerald-soft); }
.site-footer a:hover { color: var(--rose-gold-soft); }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.footer-brand .brand__name { color: var(--off-white); font-size: 1.4rem; }
.footer-brand p { margin-top: 14px; max-width: 32ch; color: rgba(220, 232, 227, .8); }
.footer-brand .accent-italic { font-size: 1.15rem; color: var(--rose-gold-soft); }
.footer-contact { display: grid; gap: 12px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 10px; }
.footer-contact .icon { width: 18px; height: 18px; color: var(--rose-gold-soft); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(220, 232, 227, .14); font-size: .8rem; color: rgba(220, 232, 227, .7); }
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- 17. Toast ---------- */
.toast-stack { position: fixed; z-index: 1100; right: 20px; bottom: 20px; display: grid; gap: 10px; width: min(380px, calc(100vw - 40px)); }
.toast {
    display: flex; gap: 14px; align-items: flex-start;
    background: var(--ink); color: var(--off-white); padding: 16px 18px; border-radius: var(--radius);
    box-shadow: var(--shadow-lg); font-size: .92rem;
    animation: toast-in .35s var(--ease) both;
}
.toast.is-leaving { animation: toast-out .3s var(--ease) both; }
.toast .icon { flex: none; width: 20px; height: 20px; color: #9FD3B8; margin-top: 1px; }
.toast--error .icon { color: #F2B8BE; }
.toast a { color: var(--rose-gold-soft); border-bottom: 1px solid currentColor; white-space: nowrap; }
.toast a:hover { color: #fff; }
.toast__body { flex: 1; }
.toast__actions { display: flex; gap: 16px; margin-top: 8px; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(12px); } }

/* ---------- 18. Responsive ---------- */
@media (max-width: 1100px) {
    .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .cart-layout, .checkout-layout { grid-template-columns: minmax(0, 1fr) 340px; }
}
@media (max-width: 960px) {
    :root { --header-h: 64px; }
    .primary-nav, .header-actions .label-desktop { display: none; }
    .menu-toggle { display: inline-flex; }
    .header-inner { grid-template-columns: auto 1fr auto; gap: 8px; }
    .header-left { display: flex; }
    .brand img { height: 36px; }
    .brand__name { font-size: 1.05rem; }
    .brand__name small { display: none; }
    .hero__grid { grid-template-columns: 1fr; gap: 20px; }
    .hero-visual__frame img { aspect-ratio: 4 / 3; }
    .trust-strip { grid-template-columns: 1fr 1fr; }
    .trust-item:nth-child(3) { border-left: 0; }
    .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
    .category-list { grid-template-columns: 1fr; }
    .product-layout { grid-template-columns: 1fr; }
    .gallery { position: static; }
    .cart-layout, .checkout-layout, .account-layout { grid-template-columns: 1fr; }
    .summary-box { position: static; }
    .about-block { grid-template-columns: 1fr; }
    .about-block.reverse img { order: 0; }
    .value-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .announcement .announcement__extra, .announcement__sep { display: none; }
    .announcement .container { gap: 2px 16px; padding-top: 6px; padding-bottom: 6px; font-size: .66rem; }
    .product-grid, .product-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
    .product-card__name { font-size: .88rem; }
    .product-card__price { font-size: .86rem; }
    .tag { top: 8px; left: 8px; font-size: .58rem; padding: 4px 8px; }
    .gallery { grid-template-columns: 1fr; }
    .gallery-thumbs { flex-direction: row; order: 0; overflow-x: auto; }
    .gallery-thumbs button img { width: 64px; height: 84px; }
    .trust-strip { grid-template-columns: 1fr; }
    .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line); }
    .form-grid { grid-template-columns: 1fr; }
    .cart-line { grid-template-columns: 84px 1fr; gap: 16px; }
    .cart-line__total { grid-column: 2; text-align: left; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .toolbar__sort select { min-width: 0; }
    .cta-banner { border-radius: var(--radius); }
    .hero-visual__caption { left: 12px; bottom: 12px; font-size: .64rem; }
    .form-section, .summary-box { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- 19. Discount code ---------- */
.discount-form { margin-top: 16px; }
.discount-row { display: flex; gap: 8px; }
.discount-row input { height: 46px; }
.discount-row .btn { min-height: 46px; padding: 0 18px; }
.discount-applied { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 8px; background: var(--success-bg); color: var(--success); font-size: .9rem; }
.discount-applied span { display: inline-flex; align-items: center; gap: 8px; }
.discount-applied .remove-link { background: none; border: 0; cursor: pointer; }

/* ---------- 20. Account navigation + order detail ---------- */
.account-layout > aside { display: grid; gap: 16px; align-content: start; }
.account-layout > aside .account-card + .account-card { margin-top: 0; }
.account-card--user { display: flex; align-items: center; gap: 14px; }
.account-card--user .avatar { margin: 0; flex: none; }
.account-card--user strong { display: block; font-weight: 500; }
.account-card--user .muted { font-size: .84rem; word-break: break-all; }
.account-nav { display: grid; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px; }
.account-nav a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 8px; color: var(--ink-soft); font-size: .94rem; }
.account-nav a:hover { background: var(--off-white-alt); color: var(--emerald); }
.account-nav a.is-active { background: var(--emerald-soft); color: var(--emerald); font-weight: 500; }
.order-link { font-weight: 500; color: var(--emerald); }
.order-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 8px 0 28px; list-style: none; }
.order-timeline li { position: relative; padding-top: 22px; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-muted); }
.order-timeline li::before { content: ""; position: absolute; top: 4px; left: 0; right: 0; height: 3px; border-radius: 3px; background: var(--line); }
.order-timeline li.is-done { color: var(--emerald); }
.order-timeline li.is-done::before { background: var(--emerald); }
.order-timeline small { display: block; text-transform: none; letter-spacing: 0; font-size: .8rem; color: var(--ink-muted); margin-top: 2px; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.address-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.address-card { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; font-size: .94rem; line-height: 1.6; }
.address-card.is-default { border-color: var(--emerald); }
.address-card__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.address-card__actions form { display: inline; }
.address-card__actions button, .address-card__actions a { background: none; border: 0; font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-soft); cursor: pointer; padding: 0; }
.address-card__actions button:hover, .address-card__actions a:hover { color: var(--emerald); }
.address-card__actions .danger:hover { color: var(--danger); }
@media (max-width: 640px) { .detail-grid { grid-template-columns: 1fr; } .order-timeline { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 21. Search + filters + wishlist ---------- */
.search-hero { display: flex; align-items: center; gap: 12px; background: var(--paper); border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 6px 6px 22px; max-width: 680px; margin-top: 6px; }
.search-hero:focus-within { border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(11, 79, 63, .12); }
.search-hero .icon { color: var(--ink-muted); flex: none; }
.search-hero input { border: 0; background: transparent; height: 48px; padding: 0; box-shadow: none !important; font-size: 1.05rem; }
.search-hero .btn { flex: none; }
.drawer-search { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line-strong); border-radius: 999px; padding: 0 16px; margin-bottom: 8px; color: var(--ink-muted); }
.drawer-search input { border: 0; background: transparent; height: 44px; padding: 0; box-shadow: none !important; }

.filters { margin-bottom: 32px; }
.filters__row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.filters__toggle { margin-left: auto; }
.filters__panel { display: none; grid-template-columns: 1.2fr 1fr 1fr auto auto; gap: 16px; align-items: end; padding: 20px 0; border-bottom: 1px solid var(--line); }
.filters.is-open .filters__panel, .filters.has-active .filters__panel { display: grid; }
.filters__panel .field label { margin-bottom: 6px; }
.filters__panel select, .filters__panel input { height: 44px; }
.filters__panel .checkbox { height: 44px; white-space: nowrap; }
.price-range { display: flex; align-items: center; gap: 8px; }
.price-range span { color: var(--ink-muted); }
.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 16px; }
.active-filters .chip { height: 32px; font-size: .78rem; gap: 6px; }
.active-filters .chip .icon { width: 12px; height: 12px; }

.wish-btn.is-saved { color: var(--rose-gold-deep); border-color: var(--rose-gold); }
.wish-btn.is-saved .icon { fill: currentColor; }
.wish-remove { position: absolute; top: 10px; right: 10px; z-index: 3; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 253, 249, .94); color: var(--ink-soft); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); border: 0; cursor: pointer; }
.wish-remove:hover { color: var(--danger); }
.wish-item { position: relative; }

@media (max-width: 960px) { .hide-mobile { display: none !important; } .filters__panel { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .filters__panel { grid-template-columns: 1fr; } .toolbar__sort label { display: none; } .search-hero { padding-left: 16px; } .search-hero .btn { padding: 0 18px; } }

/* ---------- 22. Reviews ---------- */
.stars { display: inline-flex; gap: 2px; color: #C9A24B; vertical-align: -2px; }
.pd-rating { display: inline-flex; align-items: center; gap: 10px; margin: -4px 0 14px; color: var(--ink-soft); font-size: .88rem; }
.pd-rating:hover { color: var(--emerald); }
.reviews-layout { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; border-top: 1px solid var(--line); padding-top: clamp(32px, 5vw, 56px); }
.reviews-summary { position: sticky; top: calc(var(--header-h) + 20px); }
.reviews-score { display: flex; align-items: center; gap: 16px; margin: 18px 0 22px; }
.reviews-score strong { font-family: var(--font-display); font-size: 3rem; font-weight: 400; color: var(--emerald); line-height: 1; }
.reviews-score .muted { display: block; font-size: .86rem; margin-top: 4px; }
.review-form-wrap summary { list-style: none; cursor: pointer; }
.review-form-wrap summary::-webkit-details-marker { display: none; }
.review-form-wrap[open] summary { display: none; }
.review-form { display: grid; gap: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.rating-input { border: 0; display: flex; flex-direction: row-reverse; justify-content: flex-end; flex-wrap: wrap; gap: 2px; }
.rating-input legend { width: 100%; }
.rating-input input { position: absolute; opacity: 0; pointer-events: none; }
.rating-input label { cursor: pointer; color: var(--line-strong); transition: color .15s; }
.rating-input label .icon { width: 28px; height: 28px; }
.rating-input input:checked ~ label, .rating-input label:hover, .rating-input label:hover ~ label { color: #C9A24B; }
.rating-input input:checked ~ label .icon, .rating-input label:hover .icon, .rating-input label:hover ~ label .icon { fill: currentColor; }
.rating-input input:focus-visible + label { outline: 2px solid var(--rose-gold); outline-offset: 2px; border-radius: 4px; }
.file-input { height: auto !important; padding: 10px !important; font-size: .86rem !important; }
.reviews-list { display: grid; gap: 0; }
.review { padding: 24px 0; border-bottom: 1px solid var(--line); }
.review:first-child { padding-top: 0; }
.review__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; font-size: .84rem; }
.review h3 { font-family: var(--font-body); font-size: 1.02rem; font-weight: 500; color: var(--ink); letter-spacing: 0; margin-bottom: 6px; }
.review p { color: var(--ink-soft); font-size: .95rem; }
.review__photos { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.review__photos img { width: 84px; height: 104px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.review__author { margin-top: 12px; font-size: .84rem !important; color: var(--ink) !important; font-weight: 500; display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
@media (max-width: 960px) { .reviews-layout { grid-template-columns: 1fr; } .reviews-summary { position: static; } }

.toolbar__sort label { white-space: nowrap; }
.detail-grid .account-card + .account-card { margin-top: 0; }
