/* ==========================================================================
   Tiana Online Shop — storefront stylesheet
   ========================================================================== */

:root {
    --orange: #ff6a00;
    --orange-2: #ff8c2b;
    --orange-dark: #d95500;
    --orange-soft: #fff1e4;
    --ink: #171310;
    --ink-2: #3a3430;
    --muted: #7d746d;
    --muted-2: #a89e96;
    --paper: #ffffff;
    --cream: #fbf7f2;
    --cream-2: #f4ede4;
    --line: #ece4db;
    --line-2: #ded3c7;
    --green: #109c4c;
    --green-soft: #e7f8ee;
    --red: #dc2f2f;
    --red-soft: #fdecec;
    --yellow: #b77900;
    --yellow-soft: #fff6de;
    --blue: #275fce;
    --dark: #141110;
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 2px rgba(23, 19, 16, .05), 0 4px 14px rgba(23, 19, 16, .05);
    --shadow: 0 10px 30px rgba(23, 19, 16, .08);
    --shadow-lg: 0 26px 70px rgba(23, 19, 16, .16);
    --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    --container: 1200px;
    --header-h: 72px;
    --ease: cubic-bezier(.22, .8, .28, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 15.5px;
    line-height: 1.65;
    color: var(--ink-2);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

h1, h2, h3, h4 {
    color: var(--ink);
    line-height: 1.18;
    letter-spacing: -.022em;
    margin: 0 0 .5em;
    font-weight: 800;
}

h1 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { width: 1.2em; height: 1.2em; flex: none; }
:focus-visible { outline: 2.5px solid var(--orange); outline-offset: 2px; }

::selection { background: var(--orange); color: #fff; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.section { padding: clamp(48px, 7vw, 84px) 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head h2 { margin-bottom: 6px; }
.section-head p { margin: 0; color: var(--muted); max-width: 60ch; }
.eyebrow { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--orange-dark); margin-bottom: 10px; }
.eyebrow-pill {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
    color: #ffd9b8; font-size: .72rem; font-weight: 800; letter-spacing: .1em;
    padding: 7px 14px; border-radius: 999px; text-transform: uppercase;
}
.eyebrow-pill .pulse-dot { background: #31d97d; box-shadow: 0 0 0 3px rgba(49, 217, 125, .18); }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: #31d97d; display: inline-block; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(49, 217, 125, .45); } 50% { box-shadow: 0 0 0 6px rgba(49, 217, 125, 0); } }
.muted { color: var(--muted); }
.block { display: block; }
.mono { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: .92em; letter-spacing: .01em; }
.small { font-size: .85rem; }
.ta-right { text-align: right; }
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: fixed; top: -100px; left: 12px; z-index: 999; background: var(--ink); color: #fff;
    padding: 10px 16px; border-radius: 8px; transition: top .2s;
}
.skip-link:focus { top: 12px; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* ---------------------------------- buttons ------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent;
    font-weight: 700; font-size: .94rem; line-height: 1.2; text-align: center;
    transition: transform .18s var(--ease), box-shadow .18s, background .18s, color .18s, border-color .18s;
    white-space: nowrap;
}
.btn svg { width: 1.1em; height: 1.1em; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 10px 24px -10px rgba(255, 106, 0, .7); }
.btn-primary:hover { background: var(--orange-dark); box-shadow: 0 14px 30px -12px rgba(255, 106, 0, .8); }
.btn-outline { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); background: #fff; }
.btn-ghost { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { background: var(--cream); }
.btn-wa { background: #22c15e; color: #fff; box-shadow: 0 10px 24px -12px rgba(34, 193, 94, .8); }
.btn-wa:hover { background: #17a94e; }
.btn-lg { padding: 15px 28px; font-size: 1rem; }
.btn-sm { padding: 8px 15px; font-size: .83rem; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--ink); font-size: .9rem; }
.link-arrow svg { transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--orange-dark); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-btn { background: none; border: 0; padding: 0; color: var(--orange-dark); font-weight: 700; text-decoration: underline; }
.icon-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border-radius: 50%; border: 1px solid transparent;
    background: transparent; color: var(--ink); position: relative; transition: background .2s, border-color .2s;
}
.icon-btn:hover { background: var(--cream-2); }
.icon-btn.danger { color: var(--red); }
.icon-btn svg { width: 20px; height: 20px; }

/* ---------------------------------- stars --------------------------------- */
.stars { display: inline-flex; align-items: center; gap: 2px; color: #f5a623; }
.stars .star { width: 15px; height: 15px; fill: #e6ddd4; stroke: none; }
.stars .star.on { fill: #f5a623; }
.stars .star.half { fill: #f5a623; }
.rating-row { display: flex; align-items: center; gap: 8px; min-height: 20px; }
.rating-count { font-size: .78rem; color: var(--muted); }
.rating-new { font-size: .74rem; font-weight: 700; color: var(--muted); background: var(--cream-2); padding: 2px 8px; border-radius: 999px; }

/* --------------------------------- header --------------------------------- */
.announce { background: var(--ink); color: #ffe6d1; overflow: hidden; font-size: .8rem; }
.announce-track { display: flex; gap: 60px; white-space: nowrap; padding: 8px 0; animation: marquee 30s linear infinite; width: max-content; }
.announce-track span { padding-left: 60px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.site-header {
    position: sticky; top: 0; z-index: 60; background: rgba(251, 247, 242, .88);
    backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid transparent;
    transition: box-shadow .2s, border-color .2s, background .2s;
}
.site-header.is-scrolled { background: rgba(255, 255, 255, .94); border-color: var(--line); box-shadow: 0 8px 30px -20px rgba(0, 0, 0, .3); }
.header-inner { display: flex; align-items: center; gap: 22px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand-mark {
    width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
    background: linear-gradient(140deg, var(--orange) 0%, #ff9d3f 100%); color: #fff;
    font-weight: 900; font-size: 1.3rem; letter-spacing: -.04em;
    box-shadow: 0 8px 18px -8px rgba(255, 106, 0, .8);
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-size: 1.12rem; font-weight: 900; letter-spacing: .06em; color: var(--ink); }
.brand-text small { font-size: .57rem; letter-spacing: .28em; color: var(--muted); margin-top: 4px; font-weight: 700; }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.main-nav a { padding: 9px 13px; border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--ink-2); transition: background .18s, color .18s; }
.main-nav a:hover { background: var(--cream-2); color: var(--ink); }
.main-nav a.active { background: var(--ink); color: #fff; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.header-search { display: flex; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 3px 4px 3px 15px; width: 220px; transition: border-color .2s, box-shadow .2s; }
.header-search:focus-within { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 106, 0, .12); }
.header-search input { border: 0; background: transparent; outline: 0; width: 100%; font-size: .85rem; padding: 7px 0; }
.header-search button { border: 0; background: var(--ink); color: #fff; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; }
.header-search button svg { width: 16px; height: 16px; }
.header-search button:hover { background: var(--orange); }
.presence-pill {
    display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px;
    background: #fff; border: 1px solid var(--line); font-size: .74rem; font-weight: 700; color: var(--muted);
    max-width: 230px; transition: border-color .2s, color .2s;
}
.presence-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--muted-2); flex: none; }
.presence-pill.is-online { color: var(--green); border-color: #bfe9cf; background: #f4fdf7; }
.presence-pill.is-online .dot { background: #17b95a; box-shadow: 0 0 0 3px rgba(23, 185, 90, .16); animation: pulse 2.2s infinite; }
.presence-pill.is-closed { color: var(--muted); }
.presence-pill span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-btn .cart-count {
    position: absolute; top: 1px; right: 0; min-width: 18px; height: 18px; padding: 0 4px;
    background: var(--orange); color: #fff; font-size: .66rem; font-weight: 800;
    border-radius: 999px; display: grid; place-items: center; border: 2px solid var(--cream);
}
.nav-toggle { display: none; }
.mobile-nav {
    position: fixed; inset: 0 0 0 auto; width: min(360px, 90vw); background: #fff; z-index: 90;
    padding: 20px; overflow-y: auto; box-shadow: -20px 0 60px rgba(0, 0, 0, .18);
    transform: translateX(100%); transition: transform .28s var(--ease);
}
.mobile-nav[hidden] { display: block; transform: translateX(100%); pointer-events: none; visibility: hidden; }
.mobile-nav.is-open { transform: translateX(0); visibility: visible; pointer-events: auto; }
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.mobile-search { display: flex; background: var(--cream); border-radius: 12px; padding: 3px 4px 3px 14px; margin-bottom: 18px; }
.mobile-search input { border: 0; background: transparent; outline: 0; width: 100%; padding: 9px 0; }
.mobile-search button { border: 0; background: var(--ink); color: #fff; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; }
.mobile-nav nav { display: flex; flex-direction: column; }
.mobile-nav nav a { display: flex; align-items: center; justify-content: space-between; padding: 14px 4px; border-bottom: 1px solid var(--line); font-weight: 700; }
.mobile-nav nav a svg { width: 17px; height: 17px; color: var(--muted); }
.mobile-nav-foot { margin-top: 22px; display: grid; gap: 12px; }
.mobile-contact { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .85rem; margin: 0; }
.nav-backdrop { position: fixed; inset: 0; background: rgba(10, 8, 6, .45); backdrop-filter: blur(2px); z-index: 80; }
.nav-backdrop[hidden] { display: none; }

/* --------------------------------- toasts --------------------------------- */
.toast-stack { position: fixed; top: 18px; right: 18px; z-index: 200; display: grid; gap: 10px; width: min(380px, calc(100vw - 36px)); }
.toast { display: flex; align-items: flex-start; gap: 10px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--muted); border-radius: 12px; padding: 12px 14px; box-shadow: var(--shadow); animation: slideIn .3s var(--ease); }
.toast p { margin: 0; font-size: .86rem; font-weight: 600; color: var(--ink-2); flex: 1; }
.toast-icon svg { width: 18px; height: 18px; }
.toast button { border: 0; background: none; color: var(--muted); padding: 0; }
.toast button svg { width: 15px; height: 15px; }
.toast-success { border-left-color: var(--green); } .toast-success .toast-icon { color: var(--green); }
.toast-error { border-left-color: var(--red); } .toast-error .toast-icon { color: var(--red); }
.toast-info { border-left-color: var(--blue); } .toast-info .toast-icon { color: var(--blue); }
@keyframes slideIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------------------------------- hero ---------------------------------- */
.hero { position: relative; background: radial-gradient(120% 120% at 85% 10%, #3a1c07 0%, #1a120c 45%, #100d0b 100%); color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(circle at 78% 55%, rgba(255, 106, 0, .28), transparent 46%), radial-gradient(circle at 12% 10%, rgba(255, 140, 43, .12), transparent 40%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 64px); align-items: center; padding: clamp(44px, 6vw, 80px) 20px clamp(54px, 7vw, 92px); }
.hero-copy { max-width: 610px; }
.hero-copy h1 { color: #fff; font-size: clamp(2.15rem, 5vw, 4rem); font-weight: 900; letter-spacing: -.035em; margin: 18px 0 16px; }
.hero-copy h1 .title-accent { display: block; color: #ff8f3c; background: linear-gradient(92deg, #ffb066, #ff6a00); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { color: rgba(255, 255, 255, .72); font-size: clamp(.98rem, 1.4vw, 1.08rem); max-width: 50ch; margin-bottom: 24px; }
.hero-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.hero-price-label { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .5); width: 100%; }
.hero-price-value { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 900; color: #ffb066; letter-spacing: -.03em; }
.hero-price-old { color: rgba(255, 255, 255, .42); text-decoration: line-through; font-size: 1.05rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.hero-actions .btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .2); box-shadow: none; backdrop-filter: blur(6px); }
.hero-actions .btn-ghost:hover { background: rgba(255, 255, 255, .16); }
.hero-buy-form { display: inline-flex; }
.hero-points { display: flex; flex-wrap: wrap; gap: 14px 22px; color: rgba(255, 255, 255, .7); font-size: .82rem; margin-bottom: 26px; }
.hero-points li { display: inline-flex; align-items: center; gap: 7px; }
.hero-points svg { color: #4ade80; width: 15px; height: 15px; }
.hero-proof { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); }
.proof-rating { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: rgba(255, 255, 255, .6); }
.proof-rating strong { color: #fff; }
.proof-rating .stars .star { width: 13px; height: 13px; }
.proof-market { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: .76rem; color: rgba(255, 255, 255, .5); }
.proof-market a { color: #ffcaa0; border-bottom: 1px dotted rgba(255, 202, 160, .5); }
.hero-visual { position: relative; display: flex; flex-direction: column; align-items: center; }
.hero-glow { position: absolute; width: 70%; aspect-ratio: 1; background: radial-gradient(circle, rgba(255, 120, 20, .5), transparent 65%); filter: blur(50px); top: 4%; }
.hero-frame { position: relative; border-radius: 26px; overflow: hidden; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .08); background: #191411; transform: rotate(-1.2deg); }
.hero-frame img { width: 100%; aspect-ratio: 1 / 1.02; object-fit: cover; }
.hero-float { position: absolute; display: flex; align-items: center; gap: 10px; background: rgba(26, 20, 16, .82); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(14px); padding: 10px 14px; border-radius: 14px; box-shadow: 0 16px 40px rgba(0, 0, 0, .4); }
.hero-float strong { display: block; font-size: .82rem; color: #fff; line-height: 1.2; }
.hero-float small { font-size: .68rem; color: rgba(255, 255, 255, .55); }
.float-promo { top: 22px; left: -14px; animation: floatY 5s ease-in-out infinite; }
.float-stock { bottom: 26px; right: -10px; animation: floatY 6s ease-in-out infinite reverse; }
.float-icon { width: 32px; height: 32px; border-radius: 10px; background: rgba(255, 106, 0, .18); color: #ffb066; display: grid; place-items: center; }
.float-icon svg { width: 17px; height: 17px; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hero-brandline { margin-top: 20px; font-size: .68rem; letter-spacing: .3em; color: rgba(255, 255, 255, .36); font-weight: 700; }
.hero-brandline span { color: var(--orange); margin: 0 6px; }

/* -------------------------------- trust bar ------------------------------- */
.trust-bar { background: #fff; border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 20px; }
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-icon { width: 42px; height: 42px; border-radius: 13px; background: var(--orange-soft); color: var(--orange-dark); display: grid; place-items: center; flex: none; }
.trust-icon svg { width: 20px; height: 20px; }
.trust-item strong { display: block; font-size: .88rem; color: var(--ink); line-height: 1.25; }
.trust-item small { font-size: .74rem; color: var(--muted); }

/* ------------------------------- product card ----------------------------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-grid-3 { grid-template-columns: repeat(3, 1fr); }
.product-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .22s var(--ease), box-shadow .22s, border-color .22s; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.product-media { position: relative; display: block; aspect-ratio: 4 / 5; background: linear-gradient(160deg, #f7f2ec, #eee6dc); overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.045); }
.stock-badge { position: absolute; top: 10px; left: 10px; font-size: .66rem; font-weight: 800; letter-spacing: .03em; padding: 4px 9px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--ink); backdrop-filter: blur(4px); }
.stock-badge.stock-ready { color: var(--green); }
.stock-badge.stock-low { color: var(--yellow); }
.stock-badge.stock-out { color: var(--red); }
.stock-badge.stock-preorder { color: var(--blue); }
.discount-badge { position: absolute; top: 10px; right: 10px; background: var(--red); color: #fff; font-size: .68rem; font-weight: 800; padding: 4px 8px; border-radius: 7px; }
.product-body { padding: 14px 15px 15px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-cat { font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }
.product-title { font-size: .94rem; font-weight: 700; line-height: 1.35; margin: 0; min-height: 2.7em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-title a:hover { color: var(--orange-dark); }
.product-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 4px; }
.price-block { display: flex; flex-direction: column; line-height: 1.2; }
.price { font-weight: 900; color: var(--ink); font-size: 1.06rem; letter-spacing: -.02em; }
.price-old { font-size: .74rem; color: var(--muted-2); text-decoration: line-through; }
.icon-add { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; border: 0; display: grid; place-items: center; transition: background .2s, transform .2s; flex: none; }
.icon-add:hover { background: var(--orange); transform: scale(1.06); }
.icon-add.disabled { background: var(--cream-2); color: var(--muted-2); }
.icon-add svg { width: 16px; height: 16px; }

/* -------------------------------- promo band ------------------------------- */
.promo-band { background: linear-gradient(115deg, #ff6a00 0%, #ff8c2b 52%, #ffb35e 100%); color: #fff; position: relative; overflow: hidden; }
.promo-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 82% 20%, rgba(255, 255, 255, .25), transparent 45%); }
.promo-band-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: clamp(36px, 5vw, 60px) 20px; }
.promo-band-copy .eyebrow { color: rgba(255, 255, 255, .8); }
.promo-band-copy h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.6rem); max-width: 20ch; }
.promo-band-copy p { color: rgba(255, 255, 255, .9); max-width: 52ch; margin-bottom: 20px; }
.promo-band-copy .promo-band-code { margin-top: -8px; margin-bottom: 18px; font-size: 14px; color: #fff; }
.promo-band-code strong { display: inline-block; padding: 2px 9px; border-radius: 7px; background: rgba(0, 0, 0, .22); letter-spacing: .1em; }
.promo-band-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.promo-band .btn-primary { background: var(--ink); box-shadow: 0 12px 26px -12px rgba(0, 0, 0, .6); }
.promo-band .btn-primary:hover { background: #000; }
.promo-band .btn-ghost { background: rgba(255, 255, 255, .16); color: #fff; }
.promo-band-art { text-align: center; flex: none; }
.promo-big { display: block; font-size: clamp(4rem, 9vw, 7rem); font-weight: 900; line-height: .9; letter-spacing: -.05em; color: #fff; text-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
.promo-small { font-size: .68rem; letter-spacing: .38em; color: rgba(255, 255, 255, .82); font-weight: 800; }

/* ------------------------------- marketplace ------------------------------ */
.promo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.promo-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .22s var(--ease), box-shadow .22s; display: flex; flex-direction: column; }
.promo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.promo-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--cream-2); }
.promo-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.promo-card:hover .promo-media img { transform: scale(1.04); }
.promo-caption { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-top: 1px solid var(--line); }
.promo-caption strong { display: block; font-size: .9rem; color: var(--ink); }
.promo-caption small { font-size: .76rem; color: var(--muted); }
.promo-go { width: 32px; height: 32px; border-radius: 50%; background: var(--cream-2); display: grid; place-items: center; color: var(--ink); flex: none; transition: background .2s, color .2s; }
.promo-go svg { width: 15px; height: 15px; }
.promo-card:hover .promo-go { background: var(--orange); color: #fff; }
.promo-shopee .promo-go { color: #ee4d2d; }
.promo-lazada .promo-go { color: #0f146d; }
.promo-tokopedia .promo-go { color: #03ac0e; }
.promo-instagram .promo-go { color: #c32aa3; }
.promo-facebook .promo-go { color: #1877f2; }

/* -------------------------------- why section ----------------------------- */
.why-section { background: #fff; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 60px); align-items: center; }
.why-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.why-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.why-badge { position: absolute; left: 16px; bottom: 16px; right: 16px; display: flex; align-items: center; gap: 12px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); padding: 12px 14px; border-radius: 14px; }
.why-badge > span { width: 38px; height: 38px; border-radius: 10px; background: var(--orange-soft); color: var(--orange-dark); display: grid; place-items: center; flex: none; }
.why-badge strong { display: block; font-size: .85rem; }
.why-badge small { font-size: .73rem; color: var(--muted); }
.why-copy h2 { max-width: 20ch; }
.why-copy > p { color: var(--muted); max-width: 52ch; }
.why-list { display: grid; gap: 16px; margin: 22px 0 26px; }
.why-list li { display: flex; gap: 12px; }
.why-list li > span { width: 30px; height: 30px; border-radius: 9px; background: var(--green-soft); color: var(--green); display: grid; place-items: center; flex: none; }
.why-list li > span svg { width: 15px; height: 15px; }
.why-list strong { display: block; font-size: .9rem; color: var(--ink); }
.why-list p { margin: 2px 0 0; color: var(--muted); font-size: .84rem; }
.why-stats { display: flex; gap: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.why-stats div { display: flex; flex-direction: column; }
.why-stats strong { font-size: 1.5rem; font-weight: 900; color: var(--ink); line-height: 1.1; }
.why-stats span { font-size: .74rem; color: var(--muted); }

/* --------------------------------- reviews -------------------------------- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.review-head { display: flex; align-items: center; gap: 10px; }
.review-head > div { flex: 1; line-height: 1.25; }
.review-head strong { display: block; font-size: .86rem; }
.review-head span { font-size: .73rem; color: var(--muted); }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--cream-2); color: var(--ink); display: grid; place-items: center; font-weight: 800; font-size: .9rem; flex: none; }
.avatar-lg { width: 60px; height: 60px; font-size: 1.4rem; }
.review-body { color: var(--ink-2); font-size: .87rem; margin: 0; flex: 1; }
.review-product { display: inline-flex; align-items: center; gap: 5px; font-size: .76rem; font-weight: 700; color: var(--orange-dark); }
.review-product svg { width: 13px; height: 13px; }

/* ---------------------------------- steps --------------------------------- */
.steps-section { background: #fff; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.steps-grid li { position: relative; padding: 26px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream); }
.step-num { display: inline-block; font-size: .72rem; font-weight: 900; letter-spacing: .14em; color: var(--orange-dark); margin-bottom: 12px; }
.steps-grid h3 { margin-bottom: 6px; }
.steps-grid p { margin: 0; color: var(--muted); font-size: .86rem; }

/* ----------------------------------- faq ---------------------------------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 5vw, 60px); align-items: start; }
.faq-intro { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-intro p { color: var(--muted); max-width: 34ch; margin-bottom: 18px; }
.faq-list { display: grid; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; font-weight: 700; font-size: .92rem; cursor: pointer; list-style: none; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { width: 26px; height: 26px; border-radius: 50%; background: var(--cream-2); display: grid; place-items: center; flex: none; transition: transform .2s, background .2s; }
.faq-plus svg { width: 14px; height: 14px; }
.faq-item[open] .faq-plus { transform: rotate(45deg); background: var(--orange); color: #fff; }
.faq-item p { margin: 0; padding: 0 18px 16px; color: var(--muted); font-size: .88rem; }

/* -------------------------------- location -------------------------------- */
.location-section { background: #fff; }
.location-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 60px); align-items: center; }
.location-inner p { color: var(--muted); }
.location-hours { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink-2) !important; }
.location-hours svg { width: 17px; height: 17px; color: var(--orange); }
.location-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.location-card { background: linear-gradient(150deg, #1c1511, #2b1c11); color: #fff; border-radius: var(--radius-lg); padding: 30px; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.location-card::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 106, 0, .35), transparent 70%); top: -60px; right: -60px; }
.location-pin { width: 46px; height: 46px; border-radius: 14px; background: rgba(255, 106, 0, .2); color: #ffb066; display: grid; place-items: center; margin-bottom: 18px; }
.location-card strong { display: block; font-size: 1.15rem; margin-bottom: 6px; }
.location-card > span { display: block; color: rgba(255, 255, 255, .65); font-size: .88rem; }
.location-tags { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.location-tags span { font-size: .7rem; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .14); }

/* ------------------------------- pre-footer -------------------------------- */
.pre-footer { background: var(--ink); color: #fff; }
.pre-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 26px; padding: 40px 20px; }
.pre-footer .eyebrow { color: #ff9a52; }
.pre-footer h2 { color: #fff; margin-bottom: 6px; font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
.pre-footer p { color: rgba(255, 255, 255, .6); margin: 0; }
.pre-footer-actions { display: flex; flex-wrap: wrap; gap: 10px; flex: none; }

/* --------------------------------- footer --------------------------------- */
.site-footer { background: #0f0d0b; color: rgba(255, 255, 255, .62); padding-top: 52px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 32px; padding-bottom: 40px; }
.footer-brand .brand-text strong { color: #fff; }
.footer-brand .brand-text small { color: rgba(255, 255, 255, .4); }
.footer-brand p { margin: 16px 0; font-size: .86rem; max-width: 32ch; }
.social-row { display: flex; gap: 9px; }
.social-row a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .08); display: grid; place-items: center; color: rgba(255, 255, 255, .8); transition: background .2s, color .2s, transform .2s; }
.social-row a:hover { background: var(--orange); color: #fff; transform: translateY(-2px); }
.social-row svg { width: 17px; height: 17px; }
.footer-col h3 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col a { display: block; font-size: .86rem; padding: 5px 0; transition: color .18s; }
.footer-col a:hover { color: var(--orange-2); }
.footer-contact p { display: flex; gap: 10px; font-size: .84rem; margin-bottom: 10px; align-items: flex-start; }
.footer-contact p svg { width: 16px; height: 16px; color: var(--orange); margin-top: 3px; }
.footer-contact a:hover { color: var(--orange-2); }
.footer-map { display: inline-flex !important; align-items: center; gap: 6px; color: #ffb066 !important; font-weight: 700; margin-top: 4px; }
.footer-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px; border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-meta p { margin: 0; font-size: .78rem; }
.pay-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.pay-badges span { font-size: .66rem; padding: 4px 9px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .55); }

/* ------------------------------- floating fabs ----------------------------- */
.wa-fab { position: fixed; right: 18px; bottom: 18px; z-index: 70; width: 56px; height: 56px; border-radius: 50%; background: #22c15e; color: #fff; display: grid; place-items: center; box-shadow: 0 16px 34px -12px rgba(34, 193, 94, .8); transition: transform .2s; }
.wa-fab:hover { transform: scale(1.06); }
.wa-fab svg { width: 26px; height: 26px; }
.chat-fab { position: fixed; right: 18px; bottom: 84px; z-index: 70; display: inline-flex; align-items: center; gap: 9px; height: 48px; padding: 0 18px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-size: .84rem; box-shadow: 0 16px 34px -16px rgba(0, 0, 0, .7); transition: transform .2s, background .2s; }
.chat-fab:hover { transform: translateY(-2px); background: var(--orange); }
.chat-fab svg { width: 19px; height: 19px; }
.chat-badge { min-width: 18px; height: 18px; padding: 0 4px; background: var(--red); border-radius: 999px; font-size: .66rem; display: grid; place-items: center; }

/* ------------------------------- page heading ------------------------------ */
.page-head { background: #fff; border-bottom: 1px solid var(--line); padding: clamp(26px, 4vw, 44px) 0; }
.page-head h1 { margin: 10px 0 6px; }
.page-head-sub { color: var(--muted); margin: 0; max-width: 70ch; }
.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: .78rem; color: var(--muted); }
.breadcrumbs a:hover { color: var(--orange-dark); }
.breadcrumbs svg { width: 12px; height: 12px; color: var(--muted-2); transform: rotate(-90deg); }
.breadcrumbs span[aria-current] { color: var(--ink); font-weight: 600; }

/* -------------------------------- catalog -------------------------------- */
.catalog-layout { display: grid; grid-template-columns: 250px 1fr; gap: 28px; padding-top: 30px; padding-bottom: 60px; align-items: start; }
.catalog-sidebar { display: grid; gap: 14px; position: sticky; top: calc(var(--header-h) + 18px); }
.filter-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.filter-title { display: flex; align-items: center; gap: 7px; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; color: var(--ink); }
.filter-title svg { width: 15px; height: 15px; color: var(--orange); }
.filter-search { display: flex; gap: 6px; }
.filter-search input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 9px; padding: 9px 11px; font-size: .85rem; outline: 0; }
.filter-search input:focus { border-color: var(--orange); }
.filter-list { display: grid; gap: 2px; }
.filter-list a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 8px; font-size: .85rem; transition: background .18s, color .18s; }
.filter-list a:hover { background: var(--cream); }
.filter-list a.active { background: var(--ink); color: #fff; font-weight: 700; }
.filter-count { font-size: .72rem; color: var(--muted-2); }
.filter-list a.active .filter-count { color: rgba(255, 255, 255, .6); }
.filter-label { display: block; font-size: .8rem; font-weight: 700; margin: 12px 0 6px; color: var(--ink); }
.select { width: 100%; border: 1px solid var(--line); border-radius: 9px; padding: 9px 11px; background: #fff; font-size: .85rem; outline: 0; }
.select:focus { border-color: var(--orange); }
.checkbox-row { display: flex; align-items: flex-start; gap: 9px; font-size: .84rem; color: var(--ink-2); cursor: pointer; }
.checkbox-row input { margin-top: 3px; accent-color: var(--orange); }
.filter-card .btn-block { margin-top: 14px; }
.filter-help { background: linear-gradient(150deg, #1c1511, #2b1c11); color: #fff; border-radius: var(--radius); padding: 18px; }
.filter-help > span { width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 106, 0, .2); color: #ffb066; display: grid; place-items: center; margin-bottom: 10px; }
.filter-help > span svg { width: 17px; height: 17px; }
.filter-help p { margin: 0 0 8px; font-size: .86rem; }
.filter-help a { display: inline-flex; align-items: center; gap: 5px; color: #ffb066; font-size: .8rem; font-weight: 700; }
.filter-help a svg { width: 13px; height: 13px; }
.catalog-main { min-width: 0; }
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.catalog-toolbar p { margin: 0; font-size: .86rem; color: var(--muted); }
.catalog-toolbar strong { color: var(--ink); }
.catalog-toolbar-right { display: flex; align-items: center; gap: 12px; }
.chip-reset { display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; font-weight: 700; color: var(--red); background: var(--red-soft); padding: 6px 10px; border-radius: 999px; }
.chip-reset svg { width: 12px; height: 12px; }
.inline-sort { display: flex; align-items: center; gap: 7px; font-size: .8rem; color: var(--muted); }
.inline-sort select { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 7px 9px; font-size: .82rem; }
.seo-text { margin-top: 34px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.seo-text h2 { font-size: 1.15rem; }
.seo-text p { margin: 0; color: var(--muted); font-size: .88rem; }

/* --------------------------------- product -------------------------------- */
.product-page { padding-top: 24px; padding-bottom: 60px; }
.product-detail { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(24px, 4vw, 48px); margin: 18px 0 36px; align-items: start; }
.product-gallery { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 12px; }
.gallery-main { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(160deg, #f8f3ed, #eee5da); border: 1px solid var(--line); }
.gallery-main img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 9px; overflow-x: auto; padding-bottom: 4px; }
.gallery-thumb { width: 66px; height: 80px; padding: 0; border-radius: 9px; overflow: hidden; border: 2px solid transparent; background: #fff; flex: none; opacity: .7; transition: opacity .2s, border-color .2s; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--orange); opacity: 1; }
.product-info h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 8px 0 10px; }
.product-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: .8rem; color: var(--muted); margin-bottom: 16px; }
.rating-link { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); }
.rating-link strong { color: var(--ink); }
.meta-sep { color: var(--line-2); }
.product-price-block { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; }
.product-price { font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 900; color: var(--ink); letter-spacing: -.03em; line-height: 1; }
.product-price-old { color: var(--muted-2); text-decoration: line-through; }
.product-save { font-size: .72rem; font-weight: 800; color: var(--red); background: var(--red-soft); padding: 4px 9px; border-radius: 999px; }
.product-tagline { color: var(--muted); font-size: .92rem; }
.purchase-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin: 18px 0; }
.qty-row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.qty-label { font-size: .84rem; font-weight: 700; color: var(--ink); }
.qty-control { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; background: #fff; }
.qty-control button { width: 36px; height: 36px; border: 0; background: transparent; display: grid; place-items: center; color: var(--ink); }
.qty-control button:hover { background: var(--cream); }
.qty-control button svg { width: 14px; height: 14px; }
.qty-control input { width: 46px; border: 0; text-align: center; font-weight: 700; font-size: .9rem; outline: 0; -moz-appearance: textfield; }
.qty-control input::-webkit-outer-spin-button, .qty-control input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stock-note { font-size: .78rem; color: var(--muted); }
.purchase-actions { display: grid; gap: 9px; }
.market-links { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 14px; font-size: .76rem; color: var(--muted); }
.market-links a { font-weight: 700; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--cream); }
.market-links a:hover { border-color: var(--orange); color: var(--orange-dark); }
.out-stock-box { background: var(--red-soft); border: 1px solid #f6cfcf; border-radius: 12px; padding: 16px; }
.out-stock-box strong { display: block; color: var(--red); font-size: 1rem; }
.out-stock-box p { color: #8c4a4a; font-size: .85rem; margin: 4px 0 10px; }
.product-perks { display: grid; gap: 10px; margin-top: 18px; }
.product-perks li { display: flex; gap: 11px; align-items: center; }
.product-perks li > svg { width: 20px; height: 20px; color: var(--orange); flex: none; }
.product-perks strong { display: block; font-size: .85rem; color: var(--ink); }
.product-perks span { font-size: .78rem; color: var(--muted); }
.product-tabs { display: grid; gap: 18px; }
.tab-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 30px); }
.tab-panel h2 { font-size: 1.2rem; margin-bottom: 14px; }
.rich-text { color: var(--ink-2); font-size: .92rem; }
.rich-text p, .rich-text ul, .rich-text ol { margin-bottom: 12px; }
.rich-text ul, .rich-text ol { padding-left: 20px; list-style: disc; }
.rich-text ol { list-style: decimal; }
.rich-text h2, .rich-text h3 { margin-top: 20px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table tr:last-child { border-bottom: 0; }
.spec-table th { text-align: left; width: 34%; padding: 11px 14px 11px 0; color: var(--muted); font-weight: 600; vertical-align: top; }
.spec-table td { padding: 11px 0; color: var(--ink); }
.review-summary { display: flex; align-items: center; gap: 40px; padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.review-score { text-align: center; flex: none; }
.review-score strong { display: block; font-size: 2.6rem; font-weight: 900; line-height: 1; color: var(--ink); }
.review-score .stars { margin: 6px 0 4px; }
.review-score span { font-size: .74rem; color: var(--muted); }
.review-bars { flex: 1; display: grid; gap: 6px; max-width: 420px; }
.review-bar-row { display: flex; align-items: center; gap: 10px; font-size: .76rem; color: var(--muted); }
.review-bar-row > span:first-child { display: inline-flex; align-items: center; gap: 3px; width: 38px; }
.review-bar-row svg { width: 11px; height: 11px; color: #f5a623; }
.review-bar { flex: 1; height: 7px; border-radius: 99px; background: var(--cream-2); overflow: hidden; }
.review-bar i { display: block; height: 100%; background: #f5a623; border-radius: 99px; }
.review-bar-count { width: 20px; text-align: right; }
.review-list { display: grid; gap: 16px; }
.review-item { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.review-item:last-child { border-bottom: 0; padding-bottom: 0; }
.review-item .review-head { margin-bottom: 8px; }
.review-item h4 { margin: 0 0 4px; font-size: .92rem; }
.review-item > p { margin: 0 0 8px; font-size: .88rem; color: var(--ink-2); }
.review-reply { background: var(--cream); border-left: 3px solid var(--orange); border-radius: 0 10px 10px 0; padding: 10px 14px; }
.review-reply strong { font-size: .78rem; color: var(--orange-dark); display: block; margin-bottom: 3px; }
.review-reply p { margin: 0; font-size: .84rem; color: var(--ink-2); }
.review-empty { color: var(--muted); font-size: .86rem; }
.review-form-wrap { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.review-form-wrap > p { font-size: .88rem; color: var(--muted); }
.review-form { display: grid; gap: 14px; max-width: 560px; }
.rating-input { border: 0; padding: 0; margin: 0; }
.rating-input legend { font-size: .82rem; font-weight: 700; margin-bottom: 6px; }
.rating-stars { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.rating-stars input { position: absolute; opacity: 0; pointer-events: none; }
.rating-stars label { color: #ddd2c6; cursor: pointer; transition: color .15s, transform .15s; }
.rating-stars label svg { width: 28px; height: 28px; fill: currentColor; stroke: none; }
.rating-stars label:hover, .rating-stars label:hover ~ label, .rating-stars input:checked ~ label { color: #f5a623; }
.rating-stars label:hover { transform: scale(1.1); }
.review-status { border-radius: 10px; padding: 12px 14px; font-size: .85rem; }
.review-status strong { display: block; margin-bottom: 4px; }
.review-status p { margin: 0; }
.review-status.status-pending { background: var(--yellow-soft); color: #7a5400; }
.review-status.status-approved { background: var(--green-soft); color: #0b6b37; }
.review-status.status-rejected { background: var(--red-soft); color: #962020; }
.related-section { margin-top: 40px; }
.related-section .section-head { margin-bottom: 20px; }

/* ---------------------------------- cart ---------------------------------- */
.cart-page { padding-top: 28px; padding-bottom: 64px; }
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; }
.cart-items { display: grid; gap: 12px; }
.cart-item { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.cart-thumb { width: 96px; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; background: var(--cream-2); flex: none; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-body { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; }
.cart-item-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.cart-item-top h2 { font-size: .98rem; margin: 5px 0 0; line-height: 1.35; }
.cart-item-stock { font-size: .66rem; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: var(--cream-2); color: var(--muted); }
.cart-item-stock.stock-ready { background: var(--green-soft); color: var(--green); }
.cart-item-stock.stock-low { background: var(--yellow-soft); color: var(--yellow); }
.cart-item-stock.stock-out { background: var(--red-soft); color: var(--red); }
.cart-item-bottom { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.cart-price strong { font-size: 1rem; color: var(--ink); }
.cart-price small { display: block; font-size: .74rem; color: var(--muted); }
.cart-qty-form { display: flex; align-items: center; gap: 8px; }
.cart-line-total { font-weight: 900; color: var(--ink); }
.back-link { margin-top: 8px; }
.back-link svg { transform: rotate(180deg); }
.cart-summary { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: sticky; top: calc(var(--header-h) + 18px); }
.cart-summary h2 { font-size: 1.05rem; margin-bottom: 16px; }
.free-shipping { background: var(--cream); border-radius: 10px; padding: 12px; margin-bottom: 16px; }
.free-shipping p { margin: 0 0 8px; font-size: .8rem; color: var(--ink-2); display: flex; align-items: center; gap: 5px; }
.free-shipping svg { color: var(--green); width: 14px; height: 14px; }
.progress { height: 6px; background: #e7ddd2; border-radius: 99px; overflow: hidden; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--orange), #ffb066); border-radius: 99px; transition: width .4s; }
.summary-lines { display: grid; gap: 9px; margin: 0 0 16px; }
.summary-lines div { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .85rem; color: var(--muted); }
.summary-lines dd { margin: 0; color: var(--ink); font-weight: 600; }
.summary-lines .discount-line dd { color: var(--green); }
.summary-lines .total-line { padding-top: 12px; margin-top: 4px; border-top: 1px dashed var(--line-2); font-size: .95rem; color: var(--ink); font-weight: 700; }
.summary-lines .total-line dd { font-size: 1.25rem; font-weight: 900; letter-spacing: -.02em; }
.voucher-form { margin-bottom: 16px; }
.voucher-form > label { display: block; font-size: .78rem; font-weight: 700; margin-bottom: 6px; }
.voucher-row { display: flex; gap: 6px; }
.voucher-row input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 9px; padding: 9px 11px; font-size: .85rem; outline: 0; text-transform: uppercase; }
.voucher-row input:focus { border-color: var(--orange); }
.voucher-applied { font-size: .76rem; color: var(--green); margin: 8px 0 0; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.voucher-applied svg { width: 13px; height: 13px; }
.voucher-applied strong { color: inherit; }
.summary-trust { display: grid; gap: 7px; margin-top: 14px; }
.summary-trust li { display: flex; align-items: center; gap: 7px; font-size: .74rem; color: var(--muted); }
.summary-trust svg { width: 14px; height: 14px; color: var(--green); }

/* -------------------------------- checkout -------------------------------- */
.checkout-page { padding-top: 28px; padding-bottom: 64px; }
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 24px; align-items: start; }
.checkout-login-note { grid-column: 1 / -1; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 11px 14px; font-size: .83rem; }
.checkout-login-note p { margin: 0; }
.checkout-login-note a { color: var(--orange-dark); font-weight: 700; }
.checkout-main { display: grid; gap: 16px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 3vw, 26px); }
.form-card h2 { display: flex; align-items: center; gap: 10px; font-size: 1.08rem; margin-bottom: 18px; }
.step-badge { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: .78rem; flex: none; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field > span { font-size: .82rem; font-weight: 700; color: var(--ink); }
.field > span b { color: var(--red); }
.field > span small { font-weight: 500; color: var(--muted); }
.field input, .field textarea, .field select {
    border: 1px solid var(--line-2); border-radius: 10px; padding: 11px 13px; font-size: .9rem;
    background: #fff; outline: 0; transition: border-color .18s, box-shadow .18s; width: 100%;
}
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 106, 0, .12); }
.field input:disabled { background: var(--cream); color: var(--muted); }
.field em { font-style: normal; font-size: .76rem; color: var(--red); }
.field.has-error input, .field.has-error textarea { border-color: var(--red); }
.field-hint { font-size: .76rem; color: var(--muted); }
.form-stack { display: grid; gap: 14px; }
.payment-options { display: grid; gap: 10px; }
.payment-option { display: block; cursor: pointer; }
.payment-option input { position: absolute; opacity: 0; }
.payment-body { display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 15px; transition: border-color .18s, background .18s; }
.payment-option input:checked + .payment-body { border-color: var(--orange); background: var(--orange-soft); }
.payment-icon { width: 38px; height: 38px; border-radius: 10px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: var(--orange-dark); flex: none; }
.payment-icon svg { width: 18px; height: 18px; }
.payment-body strong { display: block; font-size: .88rem; color: var(--ink); }
.payment-body small { font-size: .76rem; color: var(--muted); }
.payment-note { display: flex; gap: 7px; font-size: .78rem; color: var(--muted); margin: 14px 0 0; }
.payment-note svg { width: 15px; height: 15px; color: var(--orange); flex: none; margin-top: 2px; }
.field-error { font-size: .78rem; color: var(--red); margin: 6px 0 0; }
.checkout-summary { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: sticky; top: calc(var(--header-h) + 18px); }
.checkout-summary h2 { font-size: 1.05rem; margin-bottom: 14px; }
.checkout-items { display: grid; gap: 12px; margin-bottom: 16px; max-height: 300px; overflow-y: auto; }
.checkout-items li { display: flex; align-items: center; gap: 10px; }
.checkout-item-media { position: relative; width: 48px; flex: none; }
.checkout-item-media img { width: 48px; height: 60px; object-fit: cover; border-radius: 7px; }
.checkout-qty { position: absolute; top: -6px; right: -6px; min-width: 17px; height: 17px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .62rem; display: grid; place-items: center; padding: 0 4px; }
.checkout-item-info { flex: 1; min-width: 0; line-height: 1.3; }
.checkout-item-info strong { display: block; font-size: .8rem; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.checkout-item-info small { font-size: .72rem; color: var(--muted); }
.checkout-item-total { font-size: .82rem; font-weight: 700; color: var(--ink); }
.checkout-agree { font-size: .72rem; color: var(--muted); margin: 10px 0 0; text-align: center; }
.checkout-agree a { text-decoration: underline; }

/* --------------------------------- order --------------------------------- */
.order-page { padding-top: 24px; padding-bottom: 64px; }
.order-hero { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 16px 0; flex-wrap: wrap; }
.order-hero-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; flex: none; }
.order-hero-icon svg { width: 26px; height: 26px; }
.order-hero-icon.cancelled { background: var(--red-soft); color: var(--red); }
.order-hero > div:nth-child(2) { flex: 1; min-width: 220px; }
.order-hero h1 { font-size: clamp(1.15rem, 2.2vw, 1.5rem); margin: 2px 0 4px; }
.order-hero p { margin: 0; font-size: .82rem; color: var(--muted); }
.order-no { color: var(--ink); }
.order-hero-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.order-timeline { display: flex; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 18px; overflow-x: auto; }
.order-timeline li { flex: 1; min-width: 110px; display: flex; flex-direction: column; align-items: center; gap: 7px; position: relative; text-align: center; }
.order-timeline li::before { content: ""; position: absolute; top: 13px; left: calc(-50% + 16px); right: calc(50% + 16px); height: 2px; background: var(--line); }
.order-timeline li:first-child::before { display: none; }
.order-timeline li.done::before { background: var(--orange); }
.timeline-dot { width: 28px; height: 28px; border-radius: 50%; background: var(--cream-2); color: var(--muted); display: grid; place-items: center; font-size: .74rem; font-weight: 800; position: relative; z-index: 1; }
.timeline-dot svg { width: 14px; height: 14px; }
.order-timeline li.done .timeline-dot { background: var(--orange); color: #fff; }
.timeline-label { font-size: .72rem; color: var(--muted); }
.order-timeline li.current .timeline-label { color: var(--ink); font-weight: 700; }
.order-layout { display: grid; grid-template-columns: 1fr 360px; gap: 18px; align-items: start; }
.order-main { display: grid; gap: 16px; }
.order-side { display: grid; gap: 16px; }
.order-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.order-card h2 { font-size: 1.02rem; margin-bottom: 14px; }
.order-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.order-card-head h2 { margin: 0; }
.order-status { font-size: .72rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--cream-2); color: var(--muted); white-space: nowrap; }
.status-pending { background: var(--yellow-soft); color: #8a5d00; }
.status-confirmed { background: #e6efff; color: var(--blue); }
.status-processing { background: #fff0e2; color: var(--orange-dark); }
.status-shipped { background: #e8f0ff; color: #24509c; }
.status-completed { background: var(--green-soft); color: var(--green); }
.status-cancelled { background: var(--red-soft); color: var(--red); }
.order-items { display: grid; gap: 12px; margin-bottom: 16px; }
.order-items li { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.order-items li:last-child { border-bottom: 0; padding-bottom: 0; }
.order-item-media img { width: 52px; height: 64px; object-fit: cover; border-radius: 7px; }
.order-item-info { flex: 1; min-width: 0; }
.order-item-info strong { display: block; font-size: .84rem; color: var(--ink); }
.order-item-info small { font-size: .74rem; color: var(--muted); }
.order-item-total { font-weight: 800; color: var(--ink); font-size: .88rem; }
.order-address { font-size: .86rem; }
.order-address strong { color: var(--ink); font-size: .92rem; }
.order-address p { margin: 4px 0; color: var(--muted); }
.order-address .order-notes { background: var(--cream); padding: 7px 10px; border-radius: 7px; color: var(--ink-2); }
.order-ship-method { display: flex; align-items: center; gap: 6px; color: var(--ink-2) !important; }
.order-ship-method svg { width: 15px; height: 15px; color: var(--orange); }
.order-tracking { background: var(--orange-soft); color: var(--orange-dark) !important; padding: 8px 10px; border-radius: 7px; }
.payment-status-row { display: flex; justify-content: space-between; align-items: center; font-size: .84rem; margin-bottom: 10px; }
.pay-status { font-size: .72rem; font-weight: 800; padding: 3px 9px; border-radius: 999px; }
.pay-unpaid { background: var(--yellow-soft); color: #8a5d00; }
.pay-paid { background: var(--green-soft); color: var(--green); }
.pay-refunded { background: var(--red-soft); color: var(--red); }
.payment-method-label { display: flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--ink-2); }
.payment-method-label svg { width: 15px; height: 15px; color: var(--orange); }
.bank-box { background: var(--cream); border: 1px dashed var(--line-2); border-radius: 10px; padding: 13px; margin: 10px 0; }
.bank-box span { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.bank-box strong { display: block; font-size: 1.15rem; letter-spacing: .05em; color: var(--ink); }
.bank-box small { font-size: .74rem; color: var(--muted); }
.payment-instr { font-size: .8rem; color: var(--muted); }
.qris-details { margin: 10px 0; font-size: .82rem; }
.qris-details summary { cursor: pointer; font-weight: 700; color: var(--orange-dark); }
.qris-details img { margin-top: 10px; border-radius: 10px; border: 1px solid var(--line); }
.payment-help { font-size: .74rem; color: var(--muted); margin: 10px 0 0; text-align: center; }
.order-help { display: grid; gap: 9px; }
.order-help li { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--muted); }
.order-help svg { width: 15px; height: 15px; color: var(--orange); }
.order-help a { color: var(--ink); font-weight: 600; }

/* ---------------------------------- track --------------------------------- */
.track-page { padding-top: 28px; padding-bottom: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.track-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.track-form { display: grid; gap: 14px; }
.track-help { font-size: .78rem; color: var(--muted); margin: 14px 0 0; }
.track-help a { color: var(--orange-dark); font-weight: 600; }
.track-steps { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.track-steps h2 { font-size: 1.05rem; }
.track-steps ol { display: grid; gap: 16px; counter-reset: t; }
.track-steps li { display: flex; gap: 12px; }
.track-steps li > span { width: 30px; height: 30px; border-radius: 50%; background: var(--orange-soft); color: var(--orange-dark); display: grid; place-items: center; font-weight: 800; font-size: .78rem; flex: none; }
.track-steps strong { display: block; font-size: .88rem; color: var(--ink); }
.track-steps p { margin: 2px 0 0; font-size: .8rem; color: var(--muted); }

/* ---------------------------------- auth ---------------------------------- */
.auth-page { padding-top: 36px; padding-bottom: 64px; }
.auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; max-width: 1040px; margin-inline: auto; }
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 38px); }
.auth-card h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 6px 0 6px; }
.auth-sub { color: var(--muted); font-size: .9rem; margin-bottom: 22px; }
.auth-form { display: grid; gap: 14px; }
.auth-form .btn { margin-top: 4px; }
.auth-switch { margin: 18px 0 0; font-size: .86rem; text-align: center; color: var(--muted); }
.auth-switch a { color: var(--orange-dark); font-weight: 700; }
.auth-help { margin: 8px 0 0; font-size: .76rem; text-align: center; color: var(--muted); }
.auth-help a { text-decoration: underline; }
.auth-aside { background: linear-gradient(160deg, #1c1511, #33200f); border-radius: var(--radius-lg); overflow: hidden; color: #fff; display: flex; flex-direction: column; }
.auth-aside-media { height: 200px; overflow: hidden; }
.auth-aside-media img { width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.auth-aside-body { padding: 24px 26px; }
.auth-aside-body h2 { color: #fff; font-size: 1.25rem; }
.auth-aside-body ul { display: grid; gap: 9px; margin: 14px 0 18px; }
.auth-aside-body li { display: flex; align-items: center; gap: 8px; font-size: .84rem; color: rgba(255, 255, 255, .75); }
.auth-aside-body li svg { width: 15px; height: 15px; color: #4ade80; }
.auth-aside-trust { display: flex; align-items: center; gap: 8px; font-size: .74rem; color: rgba(255, 255, 255, .55); border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 14px; }
.auth-aside-trust svg { width: 16px; height: 16px; color: #ffb066; }
.auth-aside-body > p { color: rgba(255, 255, 255, .65); font-size: .85rem; }
.auth-quote { background: rgba(255, 255, 255, .07); border-left: 2px solid var(--orange); border-radius: 0 10px 10px 0; padding: 12px 14px; font-size: .84rem; color: rgba(255, 255, 255, .8); }
.auth-quote span { display: block; margin-top: 6px; font-size: .74rem; color: rgba(255, 255, 255, .5); }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 46px; }
.password-toggle { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border: 0; background: none; color: var(--muted); display: grid; place-items: center; border-radius: 8px; }
.password-toggle:hover { background: var(--cream); color: var(--ink); }

/* --------------------------------- account -------------------------------- */
.account-head { background: linear-gradient(150deg, #1c1511, #2b1c11); color: #fff; border-bottom: 0; padding: 30px 0; }
.account-head-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.account-identity { display: flex; align-items: center; gap: 14px; }
.account-identity .avatar { background: rgba(255, 255, 255, .12); color: #fff; }
.account-identity .eyebrow { color: #ffb066; }
.account-identity h1 { color: #fff; margin: 0; font-size: clamp(1.4rem, 3vw, 1.9rem); }
.account-identity p { margin: 2px 0 0; color: rgba(255, 255, 255, .6); font-size: .82rem; }
.account-presence { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.account-presence .presence-pill { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: #8be3ae; }
.account-presence .btn-outline { border-color: rgba(255, 255, 255, .24); color: #fff; }
.account-presence .btn-outline:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .4); }
.account-layout { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding-top: 26px; padding-bottom: 60px; align-items: start; }
.account-nav { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; position: sticky; top: calc(var(--header-h) + 18px); }
.account-nav > a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 9px; font-size: .87rem; font-weight: 600; color: var(--ink-2); transition: background .18s, color .18s; }
.account-nav > a svg { width: 17px; height: 17px; color: var(--muted); }
.account-nav > a:hover { background: var(--cream); }
.account-nav > a.active { background: var(--ink); color: #fff; }
.account-nav > a.active svg { color: #ffb066; }
.nav-badge { margin-left: auto; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--orange); color: #fff; font-size: .66rem; font-weight: 800; display: grid; place-items: center; }
.account-nav-help { margin-top: 10px; padding: 12px; border-top: 1px solid var(--line); }
.account-nav-help p { margin: 0 0 5px; font-size: .76rem; color: var(--muted); }
.account-nav-help a { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; color: var(--green); }
.account-nav-help svg { width: 14px; height: 14px; }
.account-main { display: grid; gap: 16px; min-width: 0; }
.account-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; align-items: center; gap: 11px; }
.stat-icon { width: 38px; height: 38px; border-radius: 11px; background: var(--orange-soft); color: var(--orange-dark); display: grid; place-items: center; flex: none; }
.stat-icon svg { width: 18px; height: 18px; }
.stat-card strong { display: block; font-size: 1.05rem; color: var(--ink); line-height: 1.2; }
.stat-card span:last-child { font-size: .72rem; color: var(--muted); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.panel-head h2 { margin: 0; font-size: 1rem; }
.panel-meta { font-size: .76rem; color: var(--muted); }
.panel-body { padding: 18px 20px; }
.panel-body > p:last-child { margin-bottom: 0; }
.account-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.order-list { display: grid; }
.order-row { display: flex; align-items: center; gap: 14px; padding: 13px 20px; border-bottom: 1px solid var(--line); transition: background .18s; }
.order-row:last-child { border-bottom: 0; }
.order-row:hover { background: var(--cream); }
.order-row-main { flex: 1; min-width: 0; line-height: 1.3; }
.order-row-main strong { display: block; font-size: .86rem; }
.order-row-main span { font-size: .74rem; color: var(--muted); }
.order-row-total { font-size: .88rem; }
.order-row > svg { width: 16px; height: 16px; color: var(--muted-2); transform: rotate(-90deg); }
.empty-inline { padding: 20px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.empty-inline p { margin: 0; color: var(--muted); font-size: .88rem; }
.order-cards { display: grid; gap: 12px; padding: 16px 20px 20px; }
.order-card-item { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.order-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 13px 15px; background: var(--cream); }
.order-card-head strong { display: block; font-size: .86rem; }
.order-card-head span { font-size: .74rem; color: var(--muted); }
.order-card-body { display: flex; align-items: center; gap: 24px; padding: 13px 15px; flex-wrap: wrap; }
.order-card-total span, .order-card-pay span { display: block; font-size: .7rem; color: var(--muted); }
.order-card-total strong { font-size: .95rem; }
.order-card-pay { flex: 1; }
.pay-text { font-size: .82rem; }
.pay-text.pay-paid { color: var(--green); }
.pay-text.pay-unpaid { color: var(--yellow); }
.pay-text.pay-refunded { color: var(--red); }
.my-review-list { display: grid; }
.my-review { padding: 18px 20px; border-bottom: 1px solid var(--line); }
.my-review:last-child { border-bottom: 0; }
.my-review-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.my-review-head > div { flex: 1; min-width: 160px; }
.my-review-product { display: block; font-weight: 700; color: var(--ink); font-size: .88rem; }
.my-review-date { font-size: .74rem; color: var(--muted); }
.review-status-badge { font-size: .68rem; font-weight: 800; padding: 3px 8px; border-radius: 999px; background: var(--cream-2); color: var(--muted); }
.review-status-badge.status-approved { background: var(--green-soft); color: var(--green); }
.review-status-badge.status-pending { background: var(--yellow-soft); color: var(--yellow); }
.review-status-badge.status-rejected { background: var(--red-soft); color: var(--red); }
.my-review h3 { font-size: .92rem; margin: 4px 0; }
.my-review > p { font-size: .86rem; margin: 0; color: var(--ink-2); }
.account-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.account-info-grid span { display: block; font-size: .72rem; color: var(--muted); }
.account-info-grid strong { font-size: .85rem; color: var(--ink); }
.status-active { color: var(--green); }
.security-panel .panel-body > p { display: flex; align-items: center; gap: 6px; font-size: .84rem; color: var(--muted); }
.security-panel svg { width: 15px; height: 15px; color: var(--green); }

/* customer chat */
.chat-panel { display: flex; flex-direction: column; }
.chat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.chat-admin { display: flex; align-items: center; gap: 10px; }
.chat-avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(140deg, var(--orange), #ff9d3f); color: #fff; display: grid; place-items: center; font-weight: 900; }
.chat-admin strong { display: block; font-size: .88rem; }
.chat-presence { display: flex; align-items: center; gap: 6px; font-size: .74rem; color: var(--muted); }
.chat-presence .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--muted-2); }
.chat-presence.online { color: var(--green); }
.chat-presence.online .dot { background: #17b95a; animation: pulse 2s infinite; }
.chat-thread { padding: 18px; display: flex; flex-direction: column; gap: 12px; min-height: 340px; max-height: 52vh; overflow-y: auto; background: var(--cream); }
.chat-intro { display: flex; gap: 9px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: .76rem; color: var(--muted); }
.chat-intro span svg { width: 16px; height: 16px; color: var(--green); }
.chat-intro p { margin: 0; }
.chat-empty { text-align: center; font-size: .82rem; color: var(--muted); margin: auto; }
.chat-msg { display: flex; }
.chat-msg.from-user { justify-content: flex-end; }
.chat-bubble { max-width: min(76%, 520px); background: #fff; border: 1px solid var(--line); border-radius: 14px 14px 14px 4px; padding: 9px 13px; }
.chat-msg.from-user .chat-bubble { background: var(--ink); border-color: var(--ink); color: #fff; border-radius: 14px 14px 4px 14px; }
.chat-bubble p { margin: 0 0 3px; font-size: .86rem; white-space: pre-wrap; word-break: break-word; }
.chat-bubble time { font-size: .64rem; color: var(--muted); display: block; }
.chat-msg.from-user .chat-bubble time { color: rgba(255, 255, 255, .5); }
.chat-composer { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--line); align-items: flex-end; }
.chat-composer textarea { flex: 1; border: 1px solid var(--line-2); border-radius: 12px; padding: 10px 13px; resize: none; min-height: 44px; max-height: 120px; font-size: .88rem; outline: 0; }
.chat-composer textarea:focus { border-color: var(--orange); }
.chat-hint { margin: 0; padding: 0 16px 14px; font-size: .7rem; color: var(--muted); }
.is-typing { font-size: .72rem; color: var(--muted); padding: 0 4px; }

/* ---------------------------------- promo --------------------------------- */
.promo-page { padding-top: 30px; padding-bottom: 64px; display: grid; gap: 44px; }
.voucher-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.voucher-card { display: flex; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.voucher-stub { width: 108px; flex: none; background: linear-gradient(150deg, var(--orange), #ff9d3f); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; }
.voucher-stub::after { content: ""; position: absolute; right: -6px; top: 0; bottom: 0; width: 12px; background: radial-gradient(circle at 6px 12px, transparent 6px, #fff 6.5px) repeat-y; background-size: 12px 24px; }
.voucher-stub strong { font-size: 1.3rem; font-weight: 900; line-height: 1; }
.voucher-stub span { font-size: .66rem; letter-spacing: .2em; }
.voucher-body { padding: 14px 16px; flex: 1; min-width: 0; }
.voucher-body h3 { font-size: .92rem; margin-bottom: 3px; }
.voucher-body p { font-size: .74rem; color: var(--muted); margin: 0 0 9px; }
.voucher-code-row { display: flex; align-items: center; gap: 8px; }
.voucher-code-row code { font-family: ui-monospace, Consolas, monospace; font-size: .84rem; font-weight: 800; background: var(--cream); border: 1px dashed var(--line-2); border-radius: 7px; padding: 5px 10px; letter-spacing: .06em; }
.voucher-expiry { display: inline-flex; align-items: center; gap: 5px; font-size: .72rem; color: var(--muted); margin-top: 8px; }
.voucher-expiry svg { width: 12px; height: 12px; }
.promo-feature { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 48px); align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.promo-feature-media { position: relative; height: 100%; min-height: 280px; background: var(--cream-2); }
.promo-feature-media img { width: 100%; height: 100%; object-fit: cover; }
.promo-ribbon { position: absolute; top: 16px; left: 16px; background: var(--orange); color: #fff; font-size: .68rem; font-weight: 800; letter-spacing: .12em; padding: 5px 12px; border-radius: 999px; }
.promo-feature-copy { padding: clamp(22px, 4vw, 40px); }
.promo-feature-price { display: flex; align-items: baseline; gap: 10px; margin: 10px 0 18px; }
.promo-feature-price strong { font-size: 1.8rem; font-weight: 900; color: var(--ink); letter-spacing: -.03em; }
.promo-feature-price s { color: var(--muted-2); }
.promo-feature-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.promo-feature-points { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 18px; font-size: .78rem; color: var(--muted); }
.promo-feature-points li { display: inline-flex; align-items: center; gap: 5px; }
.promo-feature-points svg { width: 14px; height: 14px; color: var(--green); }

/* ---------------------------------- about --------------------------------- */
.about-page { padding-top: 30px; padding-bottom: 64px; display: grid; gap: 48px; }
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.about-copy h2 { max-width: 20ch; }
.about-copy > p { color: var(--muted); }
.about-points { display: grid; gap: 14px; margin: 20px 0 24px; }
.about-points > div { display: flex; gap: 12px; }
.about-points > div > span { width: 38px; height: 38px; border-radius: 11px; background: var(--orange-soft); color: var(--orange-dark); display: grid; place-items: center; flex: none; }
.about-points svg { width: 18px; height: 18px; }
.about-points strong { display: block; font-size: .9rem; color: var(--ink); }
.about-points p { margin: 2px 0 0; font-size: .82rem; color: var(--muted); }
.about-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about-card { position: absolute; left: 16px; right: 16px; bottom: 16px; background: rgba(255, 255, 255, .95); backdrop-filter: blur(10px); border-radius: 13px; padding: 13px 15px; }
.about-card strong { display: block; font-size: .9rem; }
.about-card span { display: block; font-size: .76rem; color: var(--muted); }
.about-market h2 { margin-bottom: 18px; }
.about-market-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.about-market-grid a { background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: 15px; display: flex; flex-direction: column; gap: 2px; position: relative; transition: border-color .2s, transform .2s; }
.about-market-grid a:hover { border-color: var(--orange); transform: translateY(-2px); }
.about-market-grid strong { font-size: .86rem; color: var(--ink); }
.about-market-grid span { font-size: .74rem; color: var(--muted); }
.about-market-grid svg { position: absolute; top: 14px; right: 12px; width: 15px; height: 15px; color: var(--muted-2); }
.about-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: linear-gradient(120deg, #1c1511, #33200f); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 38px); flex-wrap: wrap; }
.about-cta h2 { color: #fff; margin-bottom: 4px; }
.about-cta p { color: rgba(255, 255, 255, .6); margin: 0; }
.about-cta-actions { display: flex; gap: 9px; flex-wrap: wrap; }
.about-cta .btn-outline { border-color: rgba(255, 255, 255, .25); color: #fff; }

/* --------------------------------- contact -------------------------------- */
.contact-page { padding-top: 30px; padding-bottom: 64px; display: grid; gap: 44px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; align-items: start; }
.contact-cards { display: grid; gap: 10px; }
.contact-card { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: 15px 16px; transition: border-color .2s, transform .2s; }
.contact-card:hover { border-color: var(--orange); transform: translateY(-2px); }
.contact-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--cream); color: var(--ink); display: grid; place-items: center; flex: none; }
.contact-icon.wa { background: #e8f9ef; color: #17a94e; }
.contact-icon svg { width: 20px; height: 20px; }
.contact-card > div { flex: 1; min-width: 0; }
.contact-card strong { display: block; font-size: .86rem; color: var(--ink); }
.contact-card span { display: block; font-size: .84rem; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.contact-card small { font-size: .72rem; color: var(--muted); }
.contact-card > svg { width: 16px; height: 16px; color: var(--muted-2); }
.contact-main { display: grid; gap: 16px; }
.contact-info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.contact-info-card h2 { font-size: 1.05rem; }
.contact-info-card p { color: var(--muted); font-size: .86rem; }
.contact-hours { display: flex; align-items: center; gap: 7px; }
.contact-hours svg { width: 15px; height: 15px; color: var(--orange); }
.contact-login-actions { display: flex; gap: 9px; flex-wrap: wrap; }
.contact-faq { padding-bottom: 0; }

/* ---------------------------------- legal --------------------------------- */
.legal-page { padding-top: 30px; padding-bottom: 64px; display: grid; grid-template-columns: 220px 1fr; gap: 30px; align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 18px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; display: grid; gap: 2px; }
.legal-toc a { font-size: .82rem; color: var(--muted); padding: 7px 9px; border-radius: 7px; }
.legal-toc a:hover { background: var(--cream); color: var(--ink); }
.legal-body { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 34px); }
.legal-body section { margin-bottom: 26px; }
.legal-body section:last-child { margin-bottom: 0; }
.legal-body h2 { font-size: 1.12rem; }
.legal-body p, .legal-body li { font-size: .89rem; color: var(--ink-2); }
.legal-body ul { list-style: disc; padding-left: 20px; display: grid; gap: 6px; margin-bottom: 12px; }
.legal-body a { color: var(--orange-dark); text-decoration: underline; }

/* -------------------------------- empty state ----------------------------- */
.empty-state { background: #fff; border: 1px dashed var(--line-2); border-radius: var(--radius); padding: clamp(30px, 5vw, 50px); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 9px; }
.empty-state.large { padding: clamp(44px, 8vw, 76px); }
.empty-icon { width: 58px; height: 58px; border-radius: 50%; background: var(--cream-2); color: var(--muted); display: grid; place-items: center; margin-bottom: 4px; }
.empty-icon svg { width: 26px; height: 26px; }
.empty-state h2, .empty-state h3 { margin: 0; }
.empty-state p { margin: 0; color: var(--muted); font-size: .88rem; max-width: 46ch; }
.empty-actions { display: flex; gap: 9px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.alert { display: flex; align-items: flex-start; gap: 9px; border-radius: 11px; padding: 12px 14px; font-size: .85rem; margin-bottom: 16px; }
.alert svg { width: 17px; height: 17px; flex: none; margin-top: 2px; }
.alert p { margin: 0; }
.alert-error { background: var(--red-soft); border: 1px solid #f5c9c9; color: #8e2222; }
.alert-success { background: var(--green-soft); border: 1px solid #c4ecd4; color: #0e6b38; }
.alert-info { background: #eaf1ff; border: 1px solid #cfdffd; color: #234e9c; }

/* --------------------------------- pagination ------------------------------ */
.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 26px; flex-wrap: wrap; }
.page-btn { min-width: 36px; height: 36px; padding: 0 10px; border-radius: 9px; border: 1px solid var(--line); background: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: .82rem; font-weight: 600; color: var(--ink-2); transition: background .18s, border-color .18s, color .18s; }
.page-btn:hover { border-color: var(--orange); color: var(--orange-dark); }
.page-btn.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.page-dots { color: var(--muted); padding: 0 2px; }

/* ---------------------------------- error --------------------------------- */
.error-page { min-height: 62vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 60px 20px; }
.error-code { font-size: clamp(5rem, 16vw, 10rem); font-weight: 900; line-height: .9; letter-spacing: -.06em; background: linear-gradient(140deg, var(--orange), #ffb066); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.error-page h1 { margin: 10px 0 8px; }
.error-page p { color: var(--muted); max-width: 50ch; }
.error-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.error-links { display: flex; gap: 18px; margin-top: 24px; font-size: .82rem; color: var(--muted); }
.error-links a:hover { color: var(--orange-dark); }

/* -------------------------------- responsive ------------------------------ */
@media (max-width: 1080px) {
    .main-nav a { padding: 8px 10px; }
    .header-search { width: 170px; }
    .presence-pill { max-width: 190px; }
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .account-cards { grid-template-columns: repeat(2, 1fr); }
    .about-market-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 920px) {
    :root { --header-h: 64px; }
    .main-nav, .header-search, .presence-pill { display: none; }
    .nav-toggle { display: inline-flex; }
    .header-inner { gap: 12px; }
    .hero-grid { grid-template-columns: 1fr; text-align: left; }
    .hero-copy { max-width: none; }
    .hero-visual { max-width: 520px; margin-inline: auto; width: 100%; }
    .hero-frame { transform: none; }
    .float-promo { left: 8px; } .float-stock { right: 8px; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .promo-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid, .faq-grid, .location-inner, .about-grid, .contact-grid, .auth-grid { grid-template-columns: 1fr; }
    .faq-intro { position: static; }
    .promo-band-inner { flex-direction: column; text-align: center; align-items: center; }
    .promo-band-copy h2 { max-width: none; }
    .promo-band-actions { justify-content: center; }
    .review-grid { grid-template-columns: 1fr 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .catalog-layout { grid-template-columns: 1fr; }
    .catalog-sidebar { position: static; grid-template-columns: 1fr 1fr; }
    .filter-help { display: none; }
    .product-detail { grid-template-columns: 1fr; }
    .product-gallery { position: static; max-width: 520px; }
    .cart-layout, .checkout-layout, .order-layout, .track-page { grid-template-columns: 1fr; }
    .cart-summary, .checkout-summary, .order-side { position: static; }
    .account-layout { grid-template-columns: 1fr; }
    .account-nav { position: static; display: flex; gap: 4px; overflow-x: auto; }
    .account-nav > a { white-space: nowrap; padding: 8px 12px; }
    .account-nav-help { display: none; }
    .legal-page { grid-template-columns: 1fr; }
    .legal-toc { position: static; display: flex; flex-wrap: wrap; }
    .voucher-grid { grid-template-columns: 1fr; }
    .promo-feature { grid-template-columns: 1fr; }
    .promo-feature-media { min-height: 220px; max-height: 300px; }
    .auth-aside { display: none; }
    .auth-grid { max-width: 560px; }
    .order-hero { align-items: flex-start; }
    .order-timeline { padding: 16px 10px; }
}

@media (max-width: 720px) {
    body { font-size: 15px; }
    .product-grid, .product-grid-3 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .product-body { padding: 11px 12px 12px; }
    .product-title { font-size: .86rem; }
    .price { font-size: .98rem; }
    .section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
    .review-grid, .promo-grid { grid-template-columns: 1fr; }
    .pre-footer-inner { flex-direction: column; align-items: flex-start; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .footer-meta { flex-direction: column; align-items: flex-start; gap: 8px; padding: 18px 20px; }
    .catalog-sidebar { grid-template-columns: 1fr; }
    .catalog-toolbar { flex-direction: column; align-items: flex-start; gap: 8px; }
    .form-grid { grid-template-columns: 1fr; }
    .account-two-col, .account-cards { grid-template-columns: 1fr; }
    .account-info-grid { grid-template-columns: 1fr; }
    .order-card-body { gap: 14px; }
    .order-card-pay { flex-basis: 100%; }
    .cart-item { gap: 12px; padding: 12px; }
    .cart-thumb { width: 76px; }
    .cart-item-bottom { gap: 8px; }
    .cart-line-total { width: 100%; text-align: right; }
    .review-summary { flex-direction: column; align-items: flex-start; gap: 16px; }
    .review-bars { width: 100%; max-width: none; }
    .gallery-main img { aspect-ratio: 1 / 1; }
    .order-timeline { justify-content: flex-start; }
    .order-timeline li { min-width: 96px; }
    .order-hero-actions { width: 100%; }
    .about-market-grid { grid-template-columns: 1fr 1fr; }
    .voucher-stub { width: 86px; }
    .wa-fab { width: 50px; height: 50px; right: 14px; bottom: 14px; }
    .chat-fab { right: 14px; bottom: 74px; height: 42px; padding: 0 14px; font-size: .78rem; }
    .chat-label { display: none; }
    .chat-fab .chat-badge { display: grid; }
    .toast-stack { top: 10px; right: 10px; width: calc(100vw - 20px); }
    .chat-bubble { max-width: 88%; }
    .legal-body { padding: 20px; }
    .tab-panel { padding: 18px; }
    .contact-card span { white-space: normal; }
    .product-tabs { gap: 12px; }
}

@media (max-width: 420px) {
    .container { padding-inline: 14px; }
    .product-grid, .product-grid-3 { gap: 10px; }
    .hero-actions .btn { width: 100%; }
    .hero-buy-form { width: 100%; }
    .hero-buy-form .btn { width: 100%; }
    .icon-btn { width: 38px; height: 38px; }
    .brand-mark { width: 36px; height: 36px; }
    .brand-text strong { font-size: 1rem; }
    .trust-grid { grid-template-columns: 1fr; gap: 14px; }
    .rating-row .stars .star { width: 12px; height: 12px; }
    .about-market-grid { grid-template-columns: 1fr; }
    .voucher-stub { width: 76px; }
    .voucher-stub strong { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* print */
@media print {
    .site-header, .announce, .site-footer, .wa-fab, .chat-fab, .pre-footer, .order-hero-actions, .breadcrumbs, .toast-stack, .nav-backdrop { display: none !important; }
    body { background: #fff; }
    .order-card { border: 1px solid #ddd; break-inside: avoid; }
}
