/* ==========================================================================
   TokoGadgetBekas — Design System & Komponen
   Premium minimalist · monokrom + satu aksen oranye elektrik
   Struktur: 1. Token  2. Reset  3. Base  4. Layout  5. Komponen  6. Halaman
             7. Utilitas  8. Responsive  9. Motion  10. Print
   ========================================================================== */

/* 1. TOKEN ================================================================= */
:root {
  /* Neutral scale */
  --n-0: #ffffff;
  --n-25: #fbfbfc;
  --n-50: #f6f6f7;
  --n-100: #efeff1;
  --n-150: #e7e7ea;
  --n-200: #dcdce0;
  --n-300: #c4c4ca;
  --n-400: #9898a0;
  --n-500: #6b6b73;
  --n-600: #505057;
  --n-700: #38383d;
  --n-800: #222225;
  --n-900: #141416;
  --n-950: #0a0a0b;

  /* Aksen oranye elektrik */
  --accent: #ff5a1f;
  --accent-hover: #ff7038;
  --accent-soft: #fff1ea;
  --accent-ink: #c2410c;          /* teks oranye di atas latar terang (5.2:1) */
  --on-accent: #0a0a0b;           /* teks di atas tombol oranye (7:1) */

  /* Status */
  --success: #15803d;
  --success-soft: #eaf6ee;
  --warning: #b45309;
  --warning-soft: #fdf3e4;
  --error: #dc2626;
  --error-soft: #fdecec;
  --info: #1d4ed8;

  /* Semantic (light) */
  --bg: var(--n-0);
  --bg-subtle: var(--n-50);
  --surface: var(--n-0);
  --surface-2: var(--n-50);
  --surface-3: var(--n-100);
  --text: var(--n-950);
  --text-2: var(--n-600);
  --text-3: var(--n-500);
  --border: var(--n-150);
  --border-strong: var(--n-200);
  --inverse: var(--n-950);
  --on-inverse: var(--n-0);
  --ring: var(--accent);
  --glass: rgba(255, 255, 255, .72);
  --overlay: rgba(10, 10, 11, .48);
  --ph-from: #f4f4f6;
  --ph-to: #e4e4e8;
  --ph-ink: #b9b9c0;

  /* Typography */
  --font-display: "Inter Tight", "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-xs: .75rem;     /* 12 */
  --fs-sm: .8125rem;   /* 13 */
  --fs-base: .9375rem; /* 15 */
  --fs-md: 1rem;       /* 16 */
  --fs-lg: 1.125rem;   /* 18 */
  --fs-xl: 1.25rem;    /* 20 */
  --fs-2xl: 1.5rem;    /* 24 */
  --fs-3xl: 2rem;      /* 32 */
  --fs-4xl: 2.5rem;    /* 40 */
  --fs-5xl: 3.5rem;    /* 56 */
  --fs-6xl: 4.5rem;    /* 72 */

  /* Spacing (4px base) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 20px; --s-6: 24px;
  --s-8: 32px; --s-10: 40px; --s-12: 48px; --s-16: 64px; --s-20: 80px; --s-24: 96px;

  /* Radius */
  --r-xs: 6px; --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 20px; --r-2xl: 28px; --r-pill: 999px;

  /* Shadow (sangat halus) */
  --sh-xs: 0 1px 2px rgba(10, 10, 11, .04);
  --sh-sm: 0 2px 8px -2px rgba(10, 10, 11, .06), 0 1px 2px rgba(10, 10, 11, .04);
  --sh-md: 0 12px 32px -12px rgba(10, 10, 11, .12), 0 2px 6px -2px rgba(10, 10, 11, .05);
  --sh-lg: 0 28px 64px -24px rgba(10, 10, 11, .22), 0 4px 12px -4px rgba(10, 10, 11, .06);

  /* Layout */
  --container: 1280px;
  --gutter: 24px;
  --header-h: 72px;
  --ann-h: 36px;

  /* Motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --t-fast: 150ms;
  --t-base: 240ms;
  --t-slow: 480ms;

  color-scheme: light;
}

/* Dark mode: hitam pekat + abu-abu, aksen tetap oranye */
[data-theme="dark"] {
  --bg: #0a0a0b;
  --bg-subtle: #101012;
  --surface: #141416;
  --surface-2: #1a1a1d;
  --surface-3: #232327;
  --text: #f4f4f5;
  --text-2: #b4b4bb;
  --text-3: #8e8e96;
  --border: #26262a;
  --border-strong: #34343a;
  --inverse: #f4f4f5;
  --on-inverse: #0a0a0b;
  --accent-soft: rgba(255, 90, 31, .14);
  --accent-ink: #ff7a45;
  --success: #4ade80;
  --success-soft: rgba(74, 222, 128, .12);
  --warning: #fbbf24;
  --warning-soft: rgba(251, 191, 36, .12);
  --error: #f87171;
  --error-soft: rgba(248, 113, 113, .12);
  --glass: rgba(14, 14, 16, .72);
  --overlay: rgba(0, 0, 0, .64);
  --ph-from: #1b1b1e;
  --ph-to: #26262a;
  --ph-ink: #4a4a52;
  --sh-xs: 0 1px 2px rgba(0, 0, 0, .4);
  --sh-sm: 0 2px 8px -2px rgba(0, 0, 0, .5);
  --sh-md: 0 12px 32px -12px rgba(0, 0, 0, .6);
  --sh-lg: 0 28px 64px -24px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

/* 2. RESET ================================================================= */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { min-height: 100vh; line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, picture, video { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }
h1, h2, h3, h4, h5, h6, p { overflow-wrap: break-word; }
[hidden] { display: none !important; }

/* 3. BASE ================================================================== */
body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  color: var(--text);
  background: var(--bg);
  transition: background-color var(--t-base) var(--ease), color var(--t-base) var(--ease);
}
h1, h2, h3, h4, h5 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -.02em; font-weight: 600; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; border-radius: 4px; }
.num, .price { font-family: var(--font-display); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 999; padding: 10px 16px;
  background: var(--inverse); color: var(--on-inverse); border-radius: var(--r-sm); font-weight: 600;
}
.skip-link:focus { top: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon--sm { width: 16px; height: 16px; }
.icon--lg { width: 24px; height: 24px; }
.icon--xl { width: 32px; height: 32px; }
.icon--fill { fill: currentColor; stroke: none; }

/* 4. LAYOUT ================================================================ */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--s-16); }
.section--tight { padding-block: var(--s-10); }
.section--subtle { background: var(--bg-subtle); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-6); margin-bottom: var(--s-8); flex-wrap: wrap; }
.section__eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin-bottom: var(--s-2); }
.section__title { font-size: clamp(1.625rem, 2.6vw, 2.25rem); font-weight: 300; }
.section__title b, .section__title strong { font-weight: 700; }
.section__sub { color: var(--text-2); margin-top: var(--s-2); max-width: 56ch; }
.page-head { padding-block: var(--s-8) var(--s-6); }
.page-head__title { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 300; margin-top: var(--s-3); }
.page-head__title b { font-weight: 700; }
.page-head__sub { color: var(--text-2); margin-top: var(--s-2); }
.grid { display: grid; gap: var(--s-6); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.products-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-6) var(--s-5); }
.products-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.layout-aside { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: var(--s-8); align-items: start; }
.sticky-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.stack { display: flex; flex-direction: column; gap: var(--s-4); }
.row { display: flex; align-items: center; gap: var(--s-3); }
.row--between { justify-content: space-between; }
.row--wrap { flex-wrap: wrap; }

/* 5. KOMPONEN ============================================================== */

/* --- Tombol --- */
.btn {
  --btn-bg: var(--surface-3); --btn-fg: var(--text); --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-bd);
  font-weight: 600; font-size: var(--fs-base); line-height: 1; white-space: nowrap;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), opacity var(--t-fast);
  user-select: none; position: relative;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--primary { --btn-bg: var(--accent); --btn-fg: var(--on-accent); }
.btn--primary:hover { --btn-bg: var(--accent-hover); box-shadow: 0 10px 24px -10px rgba(255, 90, 31, .6); }
.btn--dark { --btn-bg: var(--inverse); --btn-fg: var(--on-inverse); }
.btn--dark:hover { opacity: .9; }
.btn--outline { --btn-bg: transparent; --btn-bd: var(--border-strong); }
.btn--outline:hover { --btn-bd: var(--text); }
.btn--ghost { --btn-bg: transparent; }
.btn--ghost:hover { --btn-bg: var(--surface-3); }
.btn--light { --btn-bg: #fff; --btn-fg: #0a0a0b; }
.btn--danger { --btn-bg: var(--error-soft); --btn-fg: var(--error); }
.btn--sm { min-height: 36px; padding: 0 14px; font-size: var(--fs-sm); }
.btn--lg { min-height: 54px; padding: 0 28px; font-size: var(--fs-md); }
.btn--block { width: 100%; }
.btn--square { border-radius: var(--r-md); }
.btn[disabled], .btn.is-disabled { opacity: .45; pointer-events: none; }
.btn.is-loading { color: transparent !important; pointer-events: none; }
.btn.is-loading::after {
  content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid currentColor; border-color: var(--btn-fg) transparent var(--btn-fg) transparent; animation: spin .8s linear infinite;
}
.link { color: var(--text); font-weight: 600; text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: 3px; transition: text-decoration-color var(--t-fast); }
.link:hover { text-decoration-color: var(--accent); }
.link--accent { color: var(--accent-ink); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: var(--fs-sm); }
.link-arrow .icon { transition: transform var(--t-fast) var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

.icon-btn {
  position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px;
  border-radius: var(--r-pill); color: var(--text); transition: background-color var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.icon-btn:hover { background: var(--surface-3); }
.icon-btn--sm { width: 36px; height: 36px; }
.icon-btn--surface { background: var(--surface); box-shadow: var(--sh-sm); }
.icon-btn--surface:hover { background: var(--surface); transform: scale(1.06); }
.icon-btn[aria-pressed="true"] { color: var(--accent); }
.icon-btn[aria-pressed="true"] .icon { fill: currentColor; }
.icon-btn__badge {
  position: absolute; top: 1px; right: -3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--accent); color: var(--on-accent); font-size: 10.5px; font-weight: 700; line-height: 18px; text-align: center;
  font-family: var(--font-display); font-variant-numeric: tabular-nums; border: 2px solid var(--bg);
  box-sizing: content-box; transform: translate(0, 0);
}
.icon-btn__badge:empty, .icon-btn__badge[data-count="0"] { display: none; }
.is-bounce { animation: bounce 600ms var(--ease-spring); }

/* --- Badge & Chip --- */
.badge {
  display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: var(--r-pill);
  font-size: 11px; font-weight: 700; letter-spacing: .02em; white-space: nowrap; background: var(--surface-3); color: var(--text);
}
.badge--accent { background: var(--accent); color: var(--on-accent); }
.badge--soft { background: var(--accent-soft); color: var(--accent-ink); }
.badge--dark { background: var(--inverse); color: var(--on-inverse); }
.badge--success { background: var(--success-soft); color: var(--success); }
.badge--warning { background: var(--warning-soft); color: var(--warning); }
.badge--error { background: var(--error-soft); color: var(--error); }
.badge--outline { background: transparent; border: 1px solid var(--border-strong); color: var(--text-2); }
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: var(--r-pill);
  border: 1px solid var(--border-strong); background: var(--surface); font-size: var(--fs-sm); font-weight: 500;
  transition: border-color var(--t-fast), background-color var(--t-fast), color var(--t-fast);
}
.chip:hover { border-color: var(--text); }
.chip.is-active, .chip[aria-pressed="true"], .chip[aria-checked="true"] { background: var(--inverse); color: var(--on-inverse); border-color: var(--inverse); }
.chip[disabled], .chip.is-disabled { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.chip--remove { background: var(--surface-2); border-color: transparent; padding-right: 8px; }
.chip--remove .icon { width: 14px; height: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }

/* --- Form --- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-size: var(--fs-sm); font-weight: 600; color: var(--text); }
.field__label .opt { color: var(--text-3); font-weight: 400; }
.field__hint { font-size: var(--fs-xs); color: var(--text-3); }
.field__error { font-size: var(--fs-xs); color: var(--error); font-weight: 500; display: none; align-items: center; gap: 4px; }
.field.is-invalid .field__error { display: flex; }
.field.is-invalid .input, .field.is-invalid .select { border-color: var(--error); }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 0 14px; border-radius: var(--r-md); border: 1px solid var(--border-strong);
  background: var(--surface); color: var(--text); font-size: var(--fs-base);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.textarea { padding: 12px 14px; min-height: 108px; resize: vertical; }
.select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%236b6b73' stroke-width='2' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.input::placeholder, .textarea::placeholder { color: var(--text-3); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--n-400); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 4px var(--accent-soft); }
.input-group { position: relative; display: flex; }
.input-group .input { padding-right: 48px; }
.input-group__btn { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); }
.input-row { display: flex; gap: var(--s-2); }
.input-row .input { flex: 1; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-4); }
.form-grid .span-2 { grid-column: span 2; }
.check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: var(--fs-base); min-height: 32px; }
.check input { appearance: none; width: 20px; height: 20px; border: 1.5px solid var(--n-400); border-radius: 6px; flex: none; display: grid; place-items: center; transition: background-color var(--t-fast), border-color var(--t-fast); background: var(--surface); }
.check input[type="radio"] { border-radius: 50%; }
.check input:checked { background: var(--inverse); border-color: var(--inverse); }
.check input:checked::after { content: ""; width: 10px; height: 6px; border: 2px solid var(--on-inverse); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.check input[type="radio"]:checked::after { width: 8px; height: 8px; border: 0; border-radius: 50%; background: var(--on-inverse); transform: none; }
.check__count { margin-left: auto; color: var(--text-3); font-size: var(--fs-xs); }
.switch { position: relative; display: inline-flex; align-items: center; gap: 12px; cursor: pointer; }
.switch input { appearance: none; width: 44px; height: 26px; border-radius: 13px; background: var(--n-300); transition: background-color var(--t-fast); position: relative; flex: none; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: var(--sh-sm); transition: transform var(--t-base) var(--ease-spring); }
.switch input:checked { background: var(--accent); }
.switch input:checked::after { transform: translateX(18px); }

/* option card (radio besar: alamat, kurir, pembayaran) */
.option {
  position: relative; display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px; border: 1px solid var(--border-strong);
  border-radius: var(--r-lg); background: var(--surface); cursor: pointer; transition: border-color var(--t-fast), box-shadow var(--t-fast), background-color var(--t-fast);
}
.option:hover { border-color: var(--n-400); }
.option:has(input:checked), .option.is-selected { border-color: var(--text); box-shadow: 0 0 0 1px var(--text); }
.option.is-disabled { opacity: .5; cursor: not-allowed; }
.option > input[type="radio"], .option > input[type="checkbox"] { margin-top: 2px; width: 18px; height: 18px; flex: none; accent-color: var(--text); cursor: inherit; }
.option__body { flex: 1; min-width: 0; }
.option__title { font-weight: 600; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.option__desc { font-size: var(--fs-sm); color: var(--text-2); margin-top: 2px; }
.option__aside { text-align: right; font-weight: 600; white-space: nowrap; }
.options { display: grid; gap: var(--s-3); }
.options--2 { grid-template-columns: repeat(2, 1fr); }

/* stepper jumlah */
.qty { display: inline-flex; align-items: center; border: 1px solid var(--border-strong); border-radius: var(--r-pill); height: 44px; background: var(--surface); }
.qty__btn { width: 40px; height: 100%; display: grid; place-items: center; border-radius: var(--r-pill); color: var(--text); }
.qty__btn:hover { background: var(--surface-3); }
.qty__btn:disabled { opacity: .3; cursor: not-allowed; background: none; }
.qty__input { width: 44px; text-align: center; border: 0; background: transparent; font-weight: 600; font-family: var(--font-display); font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.qty__input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty__input:focus { outline: none; }
.qty--sm { height: 36px; }
.qty--sm .qty__btn { width: 32px; }
.qty--sm .qty__input { width: 32px; font-size: var(--fs-sm); }

/* --- Card / Panel --- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); }
.card--pad { padding: var(--s-6); }
.card--flat { border: 0; background: var(--surface-2); }
.card__title { font-size: var(--fs-lg); font-weight: 600; margin-bottom: var(--s-4); display: flex; align-items: center; gap: 10px; }
.divider { height: 1px; background: var(--border); border: 0; margin-block: var(--s-4); }

/* --- Rating --- */
.stars { display: inline-flex; gap: 1px; color: var(--accent); }
.stars .icon { width: 14px; height: 14px; fill: currentColor; stroke: none; }
.stars .icon.is-empty { color: var(--n-300); }
.stars--lg .icon { width: 20px; height: 20px; }
.rating-inline { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-sm); color: var(--text-2); }
.rating-inline strong { color: var(--text); font-family: var(--font-display); }

/* --- Placeholder media & gambar produk --- */
.media { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: inherit; background: linear-gradient(150deg, var(--ph-from), var(--ph-to)); isolation: isolate; }
.media__ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10%; padding: 12%; color: var(--ph-ink); text-align: center; }
.media__ph svg { width: 46%; height: auto; max-height: 56%; stroke: currentColor; fill: none; stroke-width: 1.1; filter: drop-shadow(0 18px 18px rgba(10, 10, 11, .08)); }
.media__ph span { font-family: var(--font-display); font-size: clamp(10px, 1.4vw, 13px); font-weight: 600; letter-spacing: .02em; color: var(--text-3); line-height: 1.3; max-width: 90%; }
.media__ph small { display: block; font-weight: 500; font-size: .85em; opacity: .7; margin-top: 2px; }
.media__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--surface-2); transition: transform var(--t-slow) var(--ease), opacity var(--t-base) var(--ease); }
.media__img--alt { opacity: 0; }
.media--contain .media__img { object-fit: contain; }

/* --- Kartu produk --- */
.product-card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.product-card__media { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2); }
.product-card__media .media { transition: transform var(--t-slow) var(--ease); }
.product-card:hover .product-card__media .media__img:not(.media__img--alt),
.product-card:hover .product-card__media .media__ph svg { transform: scale(1.05); }
.media__ph svg { transition: transform var(--t-slow) var(--ease); }
.product-card:hover .media__img--alt { opacity: 1; }
.product-card__badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; z-index: 2; pointer-events: none; }
.product-card__actions { position: absolute; top: 10px; right: 10px; display: flex; flex-direction: column; gap: 8px; z-index: 2; }
.product-card__actions .icon-btn { opacity: 0; transform: translateX(6px); transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease), color var(--t-fast); }
.product-card:hover .product-card__actions .icon-btn, .product-card__actions .icon-btn:focus-visible, .product-card__actions .icon-btn[aria-pressed="true"] { opacity: 1; transform: none; }
.product-card__quick {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; min-height: 42px; border-radius: var(--r-pill);
  background: var(--inverse); color: var(--on-inverse); font-weight: 600; font-size: var(--fs-sm);
  display: flex; align-items: center; justify-content: center; gap: 6px;
  opacity: 0; transform: translateY(8px); transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease), background-color var(--t-fast);
}
.product-card__quick:hover { background: var(--accent); color: var(--on-accent); }
.product-card:hover .product-card__quick, .product-card__quick:focus-visible { opacity: 1; transform: none; }
.product-card__quick[disabled] { background: var(--surface-3); color: var(--text-3); }
.product-card__body { padding: 14px 4px 0; display: flex; flex-direction: column; gap: 4px; }
.product-card__brand { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.product-card__title { font-family: var(--font-body); font-size: var(--fs-base); font-weight: 600; letter-spacing: 0; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.product-card__meta { display: flex; align-items: center; gap: 6px; font-size: var(--fs-xs); color: var(--text-3); }
.product-card__meta .icon { width: 13px; height: 13px; color: var(--accent); fill: currentColor; stroke: none; }
.product-card__meta strong { color: var(--text); font-weight: 600; }
.product-card__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin-top: 4px; }
.product-card__price strong { font-family: var(--font-display); font-variant-numeric: tabular-nums; font-size: var(--fs-lg); font-weight: 700; letter-spacing: -.01em; }
.product-card__price s { font-size: var(--fs-xs); color: var(--text-3); font-family: var(--font-display); font-variant-numeric: tabular-nums; }
.product-card__price .is-sale { color: var(--accent-ink); }
.product-card__installment { font-size: var(--fs-xs); color: var(--text-2); }
.product-card__stock { font-size: var(--fs-xs); color: var(--warning); font-weight: 600; }
.product-card.is-soldout .media { filter: grayscale(1); opacity: .6; }
/* list view */
.products-grid.is-list { grid-template-columns: 1fr; gap: var(--s-4); }
.products-grid.is-list .product-card { flex-direction: row; gap: var(--s-6); padding: var(--s-4); border: 1px solid var(--border); border-radius: var(--r-xl); align-items: center; }
.products-grid.is-list .product-card__media { width: 200px; flex: none; }
.products-grid.is-list .product-card__body { flex: 1; padding: 0; }
.products-grid.is-list .product-card__quick { position: static; opacity: 1; transform: none; margin-top: 12px; width: max-content; padding: 0 20px; }
.products-grid.is-list .product-card__actions .icon-btn { opacity: 1; transform: none; }
.products-grid.is-list .product-card__body .product-card__title { -webkit-line-clamp: 1; font-size: var(--fs-md); }
.product-card__specs { display: none; font-size: var(--fs-sm); color: var(--text-2); }
.products-grid.is-list .product-card__specs { display: block; }

/* --- Skeleton --- */
.skeleton { position: relative; overflow: hidden; background: var(--surface-3); border-radius: var(--r-sm); }
.skeleton::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent); animation: shimmer 1.3s infinite; }
[data-theme="dark"] .skeleton::after { background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .06), transparent); }
.skeleton-card { display: flex; flex-direction: column; gap: 10px; }
.skeleton-card .skeleton:first-child { aspect-ratio: 1; border-radius: var(--r-lg); }
.skeleton--line { height: 12px; }
.skeleton--w60 { width: 60%; }
.skeleton--w40 { width: 40%; }

/* --- Empty & error state --- */
.empty { display: flex; flex-direction: column; align-items: center; text-align: center; padding: var(--s-16) var(--s-6); gap: var(--s-3); }
.empty__icon { width: 88px; height: 88px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; color: var(--text-3); margin-bottom: var(--s-2); }
.empty__icon .icon { width: 36px; height: 36px; stroke-width: 1.4; }
.empty__title { font-size: var(--fs-xl); font-weight: 600; }
.empty__text { color: var(--text-2); max-width: 44ch; }
.empty .btn { margin-top: var(--s-3); }
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-md); background: var(--surface-2); font-size: var(--fs-sm); }
.alert .icon { margin-top: 1px; }
.alert--accent { background: var(--accent-soft); color: var(--text); }
.alert--accent .icon { color: var(--accent-ink); }
.alert--success { background: var(--success-soft); }
.alert--success .icon { color: var(--success); }
.alert--warning { background: var(--warning-soft); }
.alert--warning .icon { color: var(--warning); }
.alert--error { background: var(--error-soft); }
.alert--error .icon { color: var(--error); }

/* --- Breadcrumb --- */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: var(--fs-sm); color: var(--text-3); }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb .icon { width: 14px; height: 14px; }
.breadcrumb [aria-current] { color: var(--text); font-weight: 500; }

/* --- Announcement bar --- */
.announce { background: #0a0a0b; color: #f4f4f5; font-size: var(--fs-xs); height: var(--ann-h); position: relative; z-index: 60; }
[data-theme="dark"] .announce { background: #000; border-bottom: 1px solid var(--border); }
.announce .container { height: 100%; display: flex; align-items: center; justify-content: center; gap: 16px; }
.announce__text { display: flex; align-items: center; gap: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.announce__text b { color: var(--accent); font-weight: 700; }
.announce__timer { display: inline-flex; gap: 3px; font-family: var(--font-display); font-variant-numeric: tabular-nums; font-weight: 600; }
.announce__timer span { background: rgba(255, 255, 255, .12); padding: 2px 6px; border-radius: 4px; }
.announce a { text-decoration: underline; text-underline-offset: 2px; font-weight: 600; white-space: nowrap; }

/* --- Header / Navbar (glass) --- */
.header { position: sticky; top: 0; z-index: 50; background: var(--glass); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid transparent; transition: border-color var(--t-base), box-shadow var(--t-base); }
.header.is-scrolled { border-bottom-color: var(--border); }
.header__inner { height: var(--header-h); display: flex; align-items: center; gap: var(--s-6); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; letter-spacing: -.03em; flex: none; }
.logo__mark { width: 34px; height: 34px; flex: none; }
.logo__mark svg { width: 100%; height: 100%; }
.logo__text span { font-weight: 300; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav__link { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 12px; border-radius: var(--r-pill); font-size: var(--fs-base); font-weight: 500; color: var(--text-2); transition: color var(--t-fast), background-color var(--t-fast); }
.nav__link:hover, .nav__link[aria-expanded="true"], .nav__link.is-active { color: var(--text); background: var(--surface-3); }
.nav__link .icon { width: 14px; height: 14px; transition: transform var(--t-fast); }
.nav__link[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav__link--accent { color: var(--accent-ink); }
.header__search { flex: 1; max-width: 420px; margin-left: auto; position: relative; }
.search-box { position: relative; }
.search-box .icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--text-3); pointer-events: none; }
.search-box__input { width: 100%; height: 44px; border-radius: var(--r-pill); border: 1px solid var(--border); background: var(--surface-2); padding: 0 16px 0 44px; font-size: var(--fs-sm); transition: border-color var(--t-fast), background-color var(--t-fast), box-shadow var(--t-fast); }
.search-box__input:focus { outline: none; background: var(--surface); border-color: var(--text); box-shadow: 0 0 0 4px var(--accent-soft); }
.search-box__kbd { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 11px; color: var(--text-3); border: 1px solid var(--border-strong); border-radius: 6px; padding: 1px 6px; pointer-events: none; }
.suggest { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--sh-lg); padding: 8px; z-index: 70; max-height: 70vh; overflow: auto; }
.suggest__group { padding: 6px 0; }
.suggest__label { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); padding: 6px 10px; }
.suggest__item { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: var(--r-sm); font-size: var(--fs-sm); }
.suggest__item:hover, .suggest__item.is-active { background: var(--surface-2); }
.suggest__thumb { width: 44px; height: 44px; border-radius: var(--r-sm); overflow: hidden; flex: none; }
.suggest__thumb .media__ph span { display: none; }
.suggest__item mark { background: none; color: var(--accent-ink); font-weight: 700; }
.suggest__price { margin-left: auto; font-weight: 600; white-space: nowrap; }
.suggest__empty { padding: 20px; text-align: center; color: var(--text-2); font-size: var(--fs-sm); }
.header__actions { display: flex; align-items: center; gap: 2px; flex: none; }
.header__account { margin-left: 6px; }
.header__burger, .header__search-btn { display: none; }

/* mega menu */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); box-shadow: var(--sh-lg); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease), visibility var(--t-base); z-index: 40; }
.mega.is-open { opacity: 1; visibility: visible; transform: none; }
.mega__inner { display: grid; grid-template-columns: repeat(6, 1fr) 300px; gap: var(--s-6); padding-block: var(--s-8); }
.mega__col h3 { font-size: var(--fs-base); font-weight: 600; display: flex; align-items: center; gap: 8px; margin-bottom: var(--s-3); }
.mega__col h3 .icon { color: var(--text-3); }
.mega__col li a { display: block; padding: 5px 0; font-size: var(--fs-sm); color: var(--text-2); transition: color var(--t-fast); }
.mega__col li a:hover { color: var(--accent-ink); }
.mega__col .link-arrow { margin-top: 8px; }
.mega__feature { border-radius: var(--r-lg); background: var(--surface-2); overflow: hidden; display: flex; flex-direction: column; }
.mega__feature .media { aspect-ratio: 16/10; border-radius: 0; }
.mega__feature-body { padding: 14px 16px 16px; }
.mega__feature-body small { font-size: 11px; color: var(--accent-ink); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.mega__feature-body strong { display: block; font-family: var(--font-display); font-size: var(--fs-md); margin-top: 2px; }
.mega--brand .mega__inner { grid-template-columns: repeat(7, 1fr); }
.brand-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; aspect-ratio: 3/2; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); transition: border-color var(--t-fast), transform var(--t-base) var(--ease), box-shadow var(--t-base); text-align: center; padding: 8px; }
.brand-tile:hover { border-color: var(--text); transform: translateY(-2px); box-shadow: var(--sh-md); }
.brand-tile__logo { font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; letter-spacing: -.02em; }
.brand-tile__count { font-size: 11px; color: var(--text-3); }

/* --- Overlay, drawer, modal --- */
.overlay { position: fixed; inset: 0; background: var(--overlay); z-index: 90; opacity: 0; visibility: hidden; transition: opacity var(--t-base), visibility var(--t-base); backdrop-filter: blur(2px); }
.overlay.is-open { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; bottom: 0; right: 0; width: min(440px, 100%); background: var(--surface); z-index: 100; display: flex; flex-direction: column; transform: translateX(100%); transition: transform var(--t-slow) var(--ease), visibility var(--t-slow); visibility: hidden; box-shadow: var(--sh-lg); }
.drawer--left { right: auto; left: 0; transform: translateX(-100%); }
.drawer.is-open { transform: none; visibility: visible; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.drawer__title { font-size: var(--fs-lg); font-weight: 600; display: flex; align-items: center; gap: 8px; }
.drawer__body { flex: 1; overflow-y: auto; padding: 20px; overscroll-behavior: contain; }
.drawer__foot { padding: 16px 20px 20px; border-top: 1px solid var(--border); background: var(--surface); }
.modal { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 16px; visibility: hidden; pointer-events: none; }
.modal.is-open { visibility: visible; pointer-events: auto; }
.modal__backdrop { position: absolute; inset: 0; background: var(--overlay); opacity: 0; transition: opacity var(--t-base); }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal__dialog { position: relative; width: min(520px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: var(--surface); border-radius: var(--r-xl); box-shadow: var(--sh-lg); padding: 28px; opacity: 0; transform: translateY(12px) scale(.98); transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease); }
.modal.is-open .modal__dialog { opacity: 1; transform: none; }
.modal__dialog--lg { width: min(760px, 100%); }
.modal__close { position: absolute; top: 14px; right: 14px; }
.modal__title { font-size: var(--fs-xl); font-weight: 600; margin-bottom: 6px; padding-right: 40px; }
.modal__text { color: var(--text-2); margin-bottom: var(--s-5); }
.modal__actions { display: flex; gap: var(--s-3); justify-content: flex-end; margin-top: var(--s-6); flex-wrap: wrap; }

/* mini cart */
.mini-cart__item { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.mini-cart__item:first-child { padding-top: 0; }
.mini-cart__thumb { border-radius: var(--r-md); overflow: hidden; }
.mini-cart__thumb .media__ph span { display: none; }
.mini-cart__name { font-weight: 600; font-size: var(--fs-sm); line-height: 1.35; }
.mini-cart__var { font-size: var(--fs-xs); color: var(--text-3); margin-top: 2px; }
.mini-cart__row { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; gap: 8px; }
.free-ship { margin-bottom: 16px; font-size: var(--fs-sm); }
.progress { height: 6px; border-radius: 3px; background: var(--surface-3); overflow: hidden; margin-top: 8px; }
.progress__bar { height: 100%; background: var(--accent); border-radius: inherit; transition: width var(--t-slow) var(--ease); }
.progress--dark .progress__bar { background: var(--inverse); }

/* mobile nav drawer */
.mnav__search { margin-bottom: 16px; }
.mnav__list > li { border-bottom: 1px solid var(--border); }
.mnav__link { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; font-weight: 500; width: 100%; text-align: left; }
.mnav__sub { padding: 0 0 12px 32px; display: grid; gap: 2px; }
.mnav__sub a { display: block; padding: 8px 0; color: var(--text-2); font-size: var(--fs-sm); }
.mnav__link .icon:first-child { color: var(--text-3); }

/* --- Toast --- */
.toasts { position: fixed; z-index: 200; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; width: calc(100% - 32px); max-width: 440px; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 12px 12px 16px; background: var(--inverse); color: var(--on-inverse); border-radius: var(--r-lg); box-shadow: var(--sh-lg); font-size: var(--fs-sm); animation: toastIn var(--t-slow) var(--ease-spring); }
.toast.is-leaving { animation: toastOut var(--t-base) var(--ease) forwards; }
.toast__icon { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); flex: none; }
[data-theme="dark"] .toast__icon { background: rgba(0, 0, 0, .08); }
.toast--success .toast__icon { color: #4ade80; }
[data-theme="dark"] .toast--success .toast__icon { color: var(--n-950); background: #4ade80; }
.toast--error .toast__icon { color: #f87171; }
.toast--accent .toast__icon { color: var(--accent); }
.toast__msg { flex: 1; line-height: 1.4; }
.toast__action { font-weight: 700; color: var(--accent); padding: 6px 8px; border-radius: 6px; white-space: nowrap; }

/* --- Accordion --- */
.accordion { border-top: 1px solid var(--border); }
.accordion__item { border-bottom: 1px solid var(--border); }
.accordion__trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; text-align: left; font-weight: 600; font-size: var(--fs-md); }
.accordion__trigger .icon { transition: transform var(--t-base) var(--ease); color: var(--text-3); }
.accordion__trigger[aria-expanded="true"] .icon { transform: rotate(45deg); color: var(--text); }
.accordion__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t-base) var(--ease); }
.accordion__panel > div { overflow: hidden; }
.accordion__panel.is-open { grid-template-rows: 1fr; }
.accordion__content { padding-bottom: 18px; color: var(--text-2); }
.accordion__content ol { list-style: decimal; padding-left: 20px; display: grid; gap: 6px; }
.accordion__content ul { list-style: disc; padding-left: 20px; display: grid; gap: 6px; }

/* --- Tabs --- */
.tabs__list { display: flex; gap: 4px; border-bottom: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; }
.tabs__list::-webkit-scrollbar { display: none; }
.tabs__tab { position: relative; padding: 14px 18px; font-weight: 600; color: var(--text-3); white-space: nowrap; transition: color var(--t-fast); }
.tabs__tab:hover { color: var(--text); }
.tabs__tab[aria-selected="true"] { color: var(--text); }
.tabs__tab[aria-selected="true"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; background: var(--text); border-radius: 2px; }
.tabs__tab .badge { margin-left: 6px; height: 20px; }
.tabs__panel { padding-top: var(--s-8); }
.seg { display: inline-flex; padding: 4px; background: var(--surface-3); border-radius: var(--r-pill); gap: 2px; flex-wrap: wrap; }
.seg__btn { min-height: 36px; padding: 0 16px; border-radius: var(--r-pill); font-weight: 600; font-size: var(--fs-sm); color: var(--text-2); transition: background-color var(--t-fast), color var(--t-fast); }
.seg__btn[aria-pressed="true"], .seg__btn[aria-selected="true"] { background: var(--surface); color: var(--text); box-shadow: var(--sh-sm); }

/* --- Slider / Carousel (scroll-snap) --- */
.slider { position: relative; }
.slider__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - var(--s-5) * 3) / 4); gap: var(--s-5); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 4px; }
.slider__track::-webkit-scrollbar { display: none; }
.slider__track > * { scroll-snap-align: start; }
.slider__nav { display: flex; gap: 8px; }
.slider__btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border-strong); display: grid; place-items: center; background: var(--surface); transition: border-color var(--t-fast), opacity var(--t-fast); }
.slider__btn:hover { border-color: var(--text); }
.slider__btn:disabled { opacity: .35; cursor: default; }
.slider__dots { display: flex; justify-content: center; gap: 6px; margin-top: var(--s-5); }
.slider__dot { width: 8px; height: 8px; border-radius: 4px; background: var(--n-300); transition: width var(--t-base) var(--ease), background-color var(--t-base); }
.slider__dot[aria-current="true"] { width: 24px; background: var(--text); }

/* --- Countdown --- */
.countdown { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-variant-numeric: tabular-nums; }
.countdown__unit { min-width: 48px; height: 48px; border-radius: var(--r-md); background: var(--inverse); color: var(--on-inverse); display: grid; place-items: center; font-size: var(--fs-xl); font-weight: 700; }
.countdown__sep { font-weight: 700; color: var(--text-3); }
.countdown--sm .countdown__unit { min-width: 34px; height: 32px; font-size: var(--fs-sm); border-radius: var(--r-sm); }

/* --- Lightbox --- */
.lightbox { position: fixed; inset: 0; z-index: 150; background: rgba(10, 10, 11, .94); display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: opacity var(--t-base), visibility var(--t-base); color: #fff; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__top { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; }
.lightbox__top .icon-btn { color: #fff; }
.lightbox__top .icon-btn:hover { background: rgba(255, 255, 255, .1); }
.lightbox__stage { flex: 1; display: grid; place-items: center; padding: 0 72px; position: relative; min-height: 0; }
.lightbox__stage .media { width: min(80vh, 100%); border-radius: var(--r-xl); }
.lightbox__prev, .lightbox__next { position: absolute; top: 50%; transform: translateY(-50%); color: #fff; background: rgba(255, 255, 255, .08) !important; }
.lightbox__prev { left: 16px; }
.lightbox__next { right: 16px; }
.lightbox__thumbs { display: flex; justify-content: center; gap: 8px; padding: 16px; }
.lightbox__thumbs button { width: 56px; border-radius: var(--r-sm); overflow: hidden; opacity: .5; transition: opacity var(--t-fast); border: 2px solid transparent; }
.lightbox__thumbs button[aria-current="true"] { opacity: 1; border-color: #fff; }
.lightbox__thumbs .media__ph span { display: none; }

/* --- Footer --- */
.footer { background: var(--bg-subtle); border-top: 1px solid var(--border); margin-top: var(--s-16); }
.footer__news { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--s-8); align-items: center; padding-block: var(--s-12); border-bottom: 1px solid var(--border); }
.footer__news h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 300; }
.footer__news h2 b { font-weight: 700; }
.footer__news p { color: var(--text-2); margin-top: 6px; }
.news-form { display: flex; gap: 8px; }
.news-form .input { border-radius: var(--r-pill); padding-inline: 20px; }
.footer__main { display: grid; grid-template-columns: 1.4fr repeat(5, 1fr); gap: var(--s-8); padding-block: var(--s-12); }
.footer__brand p { color: var(--text-2); font-size: var(--fs-sm); margin-top: var(--s-4); max-width: 30ch; }
.footer__contact { margin-top: var(--s-5); display: grid; gap: 10px; font-size: var(--fs-sm); }
.footer__contact a, .footer__contact span { display: flex; align-items: center; gap: 10px; color: var(--text-2); }
.footer__contact a:hover { color: var(--text); }
.footer__col h3 { font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 700; margin-bottom: var(--s-4); letter-spacing: 0; }
.footer__col li a { display: block; padding: 5px 0; font-size: var(--fs-sm); color: var(--text-2); transition: color var(--t-fast); }
.footer__col li a:hover { color: var(--text); }
.footer__pay { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-8); padding-block: var(--s-8); border-top: 1px solid var(--border); }
.footer__pay h3 { font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; }
.pay-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.pay-badge { height: 30px; padding: 0 10px; display: inline-flex; align-items: center; border: 1px solid var(--border-strong); border-radius: var(--r-xs); background: var(--surface); font-size: 11px; font-weight: 700; letter-spacing: .02em; color: var(--text-2); font-family: var(--font-display); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); padding-block: var(--s-6); border-top: 1px solid var(--border); font-size: var(--fs-sm); color: var(--text-3); flex-wrap: wrap; }
.socials { display: flex; gap: 4px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--text-2); transition: background-color var(--t-fast), color var(--t-fast); }
.socials a:hover { background: var(--surface-3); color: var(--text); }

/* --- Floating CS --- */
.cs-fab { position: fixed; right: 24px; bottom: 24px; z-index: 80; width: 58px; height: 58px; border-radius: 50%; background: var(--inverse); color: var(--on-inverse); display: grid; place-items: center; box-shadow: var(--sh-lg); transition: transform var(--t-base) var(--ease-spring); }
.cs-fab:hover { transform: scale(1.07); }
.cs-fab .icon { width: 26px; height: 26px; }
.cs-fab__dot { position: absolute; top: 4px; right: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); border: 2px solid var(--inverse); }
.cs-panel { position: fixed; right: 24px; bottom: 96px; z-index: 81; width: min(360px, calc(100% - 32px)); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); box-shadow: var(--sh-lg); overflow: hidden; transform-origin: bottom right; transform: scale(.94) translateY(8px); opacity: 0; visibility: hidden; transition: transform var(--t-base) var(--ease), opacity var(--t-base), visibility var(--t-base); display: flex; flex-direction: column; max-height: min(560px, calc(100vh - 120px)); }
.cs-panel.is-open { transform: none; opacity: 1; visibility: visible; }
.cs-panel__head { background: var(--inverse); color: var(--on-inverse); padding: 16px 18px; display: flex; align-items: center; gap: 12px; }
.cs-panel__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-weight: 700; font-family: var(--font-display); }
.cs-panel__head small { display: flex; align-items: center; gap: 6px; opacity: .75; font-size: 12px; }
.cs-panel__head small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #4ade80; }
.cs-panel__head .icon-btn { margin-left: auto; color: inherit; }
.cs-panel__head .icon-btn:hover { background: rgba(127, 127, 127, .2); }
.cs-panel__body { padding: 16px; overflow-y: auto; flex: 1; display: flex; flex-direction: column; gap: 10px; background: var(--bg-subtle); }
.bubble { max-width: 85%; padding: 10px 14px; border-radius: 16px; font-size: var(--fs-sm); line-height: 1.45; background: var(--surface); border: 1px solid var(--border); border-bottom-left-radius: 4px; animation: fadeUp var(--t-base) var(--ease); }
.bubble--me { align-self: flex-end; background: var(--inverse); color: var(--on-inverse); border-color: transparent; border-radius: 16px 16px 4px 16px; }
.bubble--typing { display: inline-flex; gap: 4px; }
.bubble--typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--text-3); animation: typing 1s infinite; }
.bubble--typing i:nth-child(2) { animation-delay: .15s; }
.bubble--typing i:nth-child(3) { animation-delay: .3s; }
.cs-panel__quick { display: flex; flex-wrap: wrap; gap: 6px; }
.cs-panel__quick .chip { min-height: 32px; font-size: 12px; }
.cs-panel__form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--border); }
.cs-panel__form .input { min-height: 42px; border-radius: var(--r-pill); }

/* --- Trust strip / features --- */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); }
.trust__item { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: var(--r-lg); background: var(--surface-2); }
.trust__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--surface); display: grid; place-items: center; flex: none; box-shadow: var(--sh-xs); }
.trust__item strong { display: block; font-size: var(--fs-base); }
.trust__item span { font-size: var(--fs-xs); color: var(--text-2); }
.trust-list { display: grid; gap: 10px; }
.trust-list li { display: flex; align-items: center; gap: 10px; font-size: var(--fs-sm); color: var(--text-2); }
.trust-list .icon { color: var(--text); }

/* --- Table --- */
.table { width: 100%; font-size: var(--fs-sm); }
.table th, .table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.table th { color: var(--text-3); font-weight: 500; width: 36%; }
.table tr:last-child th, .table tr:last-child td { border-bottom: 0; }
.table--striped tr:nth-child(odd) { background: var(--surface-2); }
.table--striped th, .table--striped td { border-bottom: 0; }
.table--striped tr:first-child th { border-top-left-radius: var(--r-sm); }

/* --- Summary (ringkasan harga) --- */
.summary { display: grid; gap: 10px; font-size: var(--fs-sm); }
.summary__row { display: flex; justify-content: space-between; gap: 12px; color: var(--text-2); }
.summary__row span:last-child { color: var(--text); font-family: var(--font-display); font-variant-numeric: tabular-nums; font-weight: 500; }
.summary__row--minus span:last-child { color: var(--success); }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 14px; margin-top: 4px; border-top: 1px dashed var(--border-strong); font-weight: 600; }
.summary__total span:last-child { font-family: var(--font-display); font-variant-numeric: tabular-nums; font-size: var(--fs-2xl); font-weight: 700; letter-spacing: -.02em; }

/* --- Stepper checkout --- */
.steps { display: flex; align-items: center; gap: 8px; margin-bottom: var(--s-8); }
.steps__item { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--text-3); font-size: var(--fs-sm); }
.steps__num { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--border-strong); display: grid; place-items: center; font-family: var(--font-display); transition: all var(--t-base); }
.steps__item.is-active { color: var(--text); }
.steps__item.is-active .steps__num { background: var(--inverse); color: var(--on-inverse); border-color: var(--inverse); }
.steps__item.is-done { color: var(--text); }
.steps__item.is-done .steps__num { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.steps__line { flex: 1; height: 1.5px; background: var(--border-strong); min-width: 24px; }
.steps__item.is-done + .steps__line { background: var(--accent); }

/* --- Timeline --- */
.timeline { position: relative; display: grid; gap: 0; }
.timeline__item { position: relative; display: grid; grid-template-columns: 36px 1fr; gap: 16px; padding-bottom: 28px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before { content: ""; position: absolute; left: 17px; top: 36px; bottom: 0; width: 2px; background: var(--border); }
.timeline__item:last-child::before { display: none; }
.timeline__item.is-done::before { background: var(--text); }
.timeline__dot { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--border-strong); background: var(--surface); display: grid; place-items: center; color: var(--text-3); position: relative; z-index: 1; }
.timeline__dot .icon { width: 16px; height: 16px; }
.timeline__item.is-done .timeline__dot { background: var(--inverse); border-color: var(--inverse); color: var(--on-inverse); }
.timeline__item.is-current .timeline__dot { background: var(--accent); border-color: var(--accent); color: var(--on-accent); box-shadow: 0 0 0 6px var(--accent-soft); }
.timeline__item.is-current .timeline__dot::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid var(--accent); opacity: .5; animation: pulse 1.8s infinite; }
.timeline__title { font-weight: 600; }
.timeline__item:not(.is-done) .timeline__title { color: var(--text-3); }
.timeline__meta { font-size: var(--fs-sm); color: var(--text-2); }

/* --- Pagination --- */
.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: var(--s-10); flex-wrap: wrap; }
.pagination button { min-width: 44px; height: 44px; border-radius: var(--r-pill); font-weight: 600; font-family: var(--font-display); font-variant-numeric: tabular-nums; transition: background-color var(--t-fast); display: grid; place-items: center; }
.pagination button:hover { background: var(--surface-3); }
.pagination button[aria-current="page"] { background: var(--inverse); color: var(--on-inverse); }
.pagination button:disabled { opacity: .35; pointer-events: none; }

/* --- Voucher ticket --- */
.voucher { position: relative; display: flex; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); overflow: hidden; }
.voucher__left { width: 110px; flex: none; background: var(--inverse); color: var(--on-inverse); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 16px 10px; position: relative; }
.voucher__left::after { content: ""; position: absolute; right: -1px; top: 8px; bottom: 8px; border-right: 2px dashed var(--surface); }
.voucher__value { font-family: var(--font-display); font-size: var(--fs-2xl); font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.voucher__value small { font-size: 12px; font-weight: 500; display: block; margin-top: 4px; opacity: .7; letter-spacing: 0; }
.voucher--accent .voucher__left { background: var(--accent); color: var(--on-accent); }
.voucher__body { flex: 1; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.voucher__title { font-weight: 600; }
.voucher__meta { font-size: var(--fs-xs); color: var(--text-3); }
.voucher__code { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; letter-spacing: .06em; font-size: var(--fs-sm); padding: 4px 10px; border: 1px dashed var(--border-strong); border-radius: var(--r-xs); width: max-content; }
.voucher__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.voucher.is-used { opacity: .55; }

/* --- OTP --- */
.otp { display: flex; gap: 10px; justify-content: center; }
.otp__input { width: 52px; height: 60px; text-align: center; font-size: var(--fs-2xl); font-weight: 700; font-family: var(--font-display); border: 1.5px solid var(--border-strong); border-radius: var(--r-md); background: var(--surface); transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.otp__input:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 4px var(--accent-soft); }
.otp.is-invalid .otp__input { border-color: var(--error); animation: shake .4s; }

/* --- Reveal on scroll --- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* 6. HALAMAN =============================================================== */

/* --- Hero beranda --- */
.hero { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 50% 0%, var(--surface-2), var(--bg) 70%); }
.hero__slides { position: relative; }
.hero__slide { display: none; }
.hero__slide.is-active { display: grid; animation: heroIn 700ms var(--ease); }
.hero__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--s-8); align-items: center; min-height: 600px; padding-block: var(--s-12); }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px 0 6px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--border); font-size: var(--fs-xs); font-weight: 600; box-shadow: var(--sh-xs); }
.hero__eyebrow .badge { height: 22px; }
.hero__title { font-size: clamp(2.5rem, 5.6vw, var(--fs-6xl)); font-weight: 300; letter-spacing: -.045em; line-height: 1.02; margin-top: var(--s-5); }
.hero__title b { font-weight: 700; display: block; }
.hero__lead { font-size: var(--fs-lg); color: var(--text-2); margin-top: var(--s-5); max-width: 44ch; }
.hero__product { margin-top: var(--s-6); display: flex; align-items: center; gap: var(--s-4); flex-wrap: wrap; }
.hero__product-name { font-family: var(--font-display); font-weight: 600; }
.hero__product-price { font-family: var(--font-display); font-variant-numeric: tabular-nums; font-size: var(--fs-xl); font-weight: 700; }
.hero__product-price s { font-size: var(--fs-sm); color: var(--text-3); font-weight: 400; margin-left: 6px; }
.hero__ctas { display: flex; gap: var(--s-3); margin-top: var(--s-8); flex-wrap: wrap; }
.hero__visual { position: relative; }
.hero__visual .media { border-radius: var(--r-2xl); aspect-ratio: 1; background: radial-gradient(circle at 50% 40%, var(--surface), var(--ph-to)); }
.hero__visual .media__ph svg { width: 52%; max-height: 64%; stroke-width: .9; }
.hero__visual .media__ph span { font-size: var(--fs-md); }
.hero__float { position: absolute; background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 12px 16px; box-shadow: var(--sh-md); font-size: var(--fs-sm); display: flex; align-items: center; gap: 10px; }
.hero__float--a { left: -24px; bottom: 18%; }
.hero__float--b { right: -12px; top: 12%; }
.hero__float strong { display: block; font-family: var(--font-display); }
.hero__float span { color: var(--text-2); font-size: var(--fs-xs); }
.hero__controls { position: absolute; left: 0; right: 0; bottom: var(--s-8); pointer-events: none; }
.hero__controls .container { display: flex; align-items: center; gap: var(--s-4); }
.hero__tabs { display: flex; gap: 8px; pointer-events: auto; }
.hero__tab { display: flex; flex-direction: column; gap: 8px; width: 160px; text-align: left; font-size: var(--fs-xs); font-weight: 600; color: var(--text-3); }
.hero__tab-bar { height: 2px; background: var(--border-strong); border-radius: 2px; overflow: hidden; }
.hero__tab-bar i { display: block; height: 100%; width: 0; background: var(--text); }
.hero__tab[aria-selected="true"] { color: var(--text); }
.hero__tab[aria-selected="true"] .hero__tab-bar i { animation: heroProgress 6s linear forwards; }
.hero.is-paused .hero__tab[aria-selected="true"] .hero__tab-bar i { animation-play-state: paused; }

/* --- Bento kategori --- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(3, 230px); gap: var(--s-4); }
.bento__item { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--surface-2); padding: var(--s-6); display: flex; flex-direction: column; justify-content: space-between; isolation: isolate; transition: transform var(--t-base) var(--ease), box-shadow var(--t-base); }
.bento__item:hover { box-shadow: var(--sh-md); }
.bento__item--a { grid-column: span 2; grid-row: span 2; background: var(--inverse); color: var(--on-inverse); }
.bento__item--b { grid-column: span 2; }
.bento__item h3 { font-size: var(--fs-2xl); font-weight: 600; }
.bento__item--a h3 { font-size: var(--fs-4xl); font-weight: 300; }
.bento__item--a h3 b { font-weight: 700; }
.bento__item p { font-size: var(--fs-sm); color: var(--text-2); margin-top: 4px; }
.bento__item--a p { color: inherit; opacity: .7; max-width: 32ch; }
.bento__art { position: absolute; right: -6%; bottom: -10%; width: 58%; color: var(--ph-ink); z-index: -1; transition: transform var(--t-slow) var(--ease); }
.bento__item--a .bento__art { width: 62%; right: -4%; bottom: -8%; color: rgba(255, 255, 255, .22); }
[data-theme="dark"] .bento__item--a .bento__art { color: rgba(0, 0, 0, .2); }
.bento__item:hover .bento__art { transform: translateY(-6px) rotate(-3deg) scale(1.03); }
.bento__art svg { width: 100%; height: auto; stroke: currentColor; fill: none; stroke-width: 1; }
.bento__count { font-size: var(--fs-xs); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.bento__go { width: 44px; height: 44px; border-radius: 50%; background: var(--surface); color: var(--text); display: grid; place-items: center; transition: transform var(--t-base) var(--ease), background-color var(--t-fast); }
.bento__item--a .bento__go { background: var(--accent); color: var(--on-accent); }
.bento__item:hover .bento__go { transform: rotate(-45deg); }
.bento__foot { display: flex; align-items: center; justify-content: space-between; }

/* --- Flash sale --- */
.flash { background: var(--inverse); color: var(--on-inverse); border-radius: var(--r-2xl); padding: var(--s-8); }
.flash .section__title { color: inherit; }
.flash .section__eyebrow { color: var(--accent); }
.flash .countdown__unit { background: rgba(127, 127, 127, .18); color: inherit; }
.flash .slider__btn { background: transparent; border-color: rgba(127, 127, 127, .4); color: inherit; }
.flash .slider__btn:hover { border-color: currentColor; }
.flash-card { background: var(--surface); color: var(--text); border-radius: var(--r-lg); padding: 10px 10px 16px; }
.flash-card .product-card__body { padding-inline: 6px; }
.flash-card__sold { margin-top: 8px; font-size: var(--fs-xs); color: var(--text-2); }
.flash-card__sold strong { color: var(--accent-ink); }

/* --- Brand strip --- */
.brands { display: grid; grid-template-columns: repeat(7, 1fr); gap: var(--s-3); }

/* --- Editorial --- */
.editorial { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--s-5); }
.editorial__main, .editorial__side > a { position: relative; border-radius: var(--r-2xl); overflow: hidden; background: var(--surface-2); display: flex; isolation: isolate; }
.editorial__main { flex-direction: column; padding: var(--s-8); min-height: 560px; justify-content: space-between; }
.editorial__main .media, .editorial__side .media { position: absolute; inset: 0; aspect-ratio: auto; z-index: -1; background: transparent; }
.editorial__main .media__ph { justify-content: flex-end; padding-bottom: 14%; }
.editorial__main .media__ph span, .editorial__side .media__ph span { display: none; }
.editorial__main .media__ph svg { width: 54%; }
.editorial__side { display: grid; gap: var(--s-5); }
.editorial__side > a { padding: var(--s-6); min-height: 270px; flex-direction: column; justify-content: space-between; }
.editorial__side .media__ph { align-items: flex-end; padding-right: 8%; }
.editorial__side .media__ph svg { width: 42%; }
.editorial h3 { font-size: var(--fs-3xl); font-weight: 300; max-width: 14ch; }
.editorial h3 b { font-weight: 700; }
.editorial__side h3 { font-size: var(--fs-xl); font-weight: 600; max-width: 16ch; }
.editorial__price { font-family: var(--font-display); font-variant-numeric: tabular-nums; font-weight: 700; font-size: var(--fs-lg); }
.editorial__main:hover .media__ph svg, .editorial__side > a:hover .media__ph svg, .editorial__main:hover .media__img, .editorial__side > a:hover .media__img { transform: scale(1.04); }

/* --- Why --- */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); }
.why__item { padding: var(--s-6); border-radius: var(--r-xl); border: 1px solid var(--border); background: var(--surface); }
.why__num { font-family: var(--font-display); font-size: var(--fs-4xl); font-weight: 300; letter-spacing: -.04em; line-height: 1; }
.why__num b { color: var(--accent-ink); font-weight: 700; }
.why__item h3 { font-size: var(--fs-md); margin-top: var(--s-5); }
.why__item p { font-size: var(--fs-sm); color: var(--text-2); margin-top: 6px; }

/* --- Testimoni --- */
.testi-track { grid-auto-columns: calc((100% - var(--s-5) * 2) / 3) !important; }
.testi { padding: var(--s-6); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; gap: var(--s-4); }
.testi blockquote { font-size: var(--fs-md); line-height: 1.6; flex: 1; }
.testi__who { display: flex; align-items: center; gap: 12px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-3); font-weight: 700; font-family: var(--font-display); flex: none; font-size: var(--fs-sm); }
.avatar--lg { width: 64px; height: 64px; font-size: var(--fs-xl); }
.testi__who strong { display: block; font-size: var(--fs-sm); }
.testi__who span { font-size: var(--fs-xs); color: var(--text-3); }

/* --- Banner trade-in & promo --- */
.banner { position: relative; overflow: hidden; border-radius: var(--r-2xl); background: var(--surface-2); padding: var(--s-12); display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--s-8); align-items: center; isolation: isolate; }
.banner--dark { background: var(--inverse); color: var(--on-inverse); }
.banner--dark p { color: inherit; opacity: .72; }
.banner h2 { font-size: clamp(1.75rem, 3.4vw, 3rem); font-weight: 300; letter-spacing: -.035em; }
.banner h2 b { font-weight: 700; }
.banner h2 em { font-style: normal; color: var(--accent); font-weight: 700; }
.banner p { color: var(--text-2); margin-top: var(--s-3); max-width: 44ch; }
.banner__ctas { display: flex; gap: var(--s-3); margin-top: var(--s-6); flex-wrap: wrap; }
.banner__art { display: flex; justify-content: center; gap: var(--s-4); align-items: center; }
.banner__art svg { width: 38%; stroke: currentColor; fill: none; stroke-width: 1; opacity: .5; }
.banner__art .icon { width: 40px; height: 40px; opacity: 1; color: var(--accent); }
.banner--accent { background: var(--accent); color: var(--on-accent); }
.banner--accent p { color: inherit; opacity: .8; }

/* newsletter section */
.news { border-radius: var(--r-2xl); border: 1px solid var(--border); padding: var(--s-12); text-align: center; background: radial-gradient(80% 120% at 50% 0%, var(--accent-soft), transparent 70%), var(--surface); }
.news h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 300; }
.news h2 b { font-weight: 700; }
.news p { color: var(--text-2); margin: var(--s-3) auto 0; max-width: 50ch; }
.news .news-form { max-width: 480px; margin: var(--s-6) auto 0; }
.news__code { display: inline-flex; align-items: center; gap: 10px; margin-top: var(--s-4); font-size: var(--fs-sm); }

/* --- Katalog --- */
.catalog { display: grid; grid-template-columns: 272px minmax(0, 1fr); gap: var(--s-8); align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 16px); max-height: calc(100vh - var(--header-h) - 32px); overflow-y: auto; padding-right: 6px; scrollbar-width: thin; }
.filter { border-bottom: 1px solid var(--border); padding-block: 18px; }
.filter:first-child { padding-top: 0; }
.filter__title { width: 100%; display: flex; align-items: center; justify-content: space-between; font-weight: 600; font-size: var(--fs-base); margin-bottom: 12px; }
.filter__title .icon { transform: rotate(-90deg); }
.filter__title[aria-expanded="true"] .icon { transform: rotate(0deg); color: var(--text-3); }
.badge[data-badge][data-count="0"] { display: none; }
#acc-main:focus { outline: none; }
.filter__list { display: grid; gap: 2px; max-height: 260px; overflow: auto; }
.range { position: relative; height: 32px; margin-top: 4px; }
.range__track { position: absolute; left: 0; right: 0; top: 50%; height: 4px; border-radius: 2px; background: var(--surface-3); transform: translateY(-50%); }
.range__fill { position: absolute; top: 0; bottom: 0; background: var(--inverse); border-radius: 2px; }
.range input[type="range"] { position: absolute; inset: 0; width: 100%; appearance: none; -webkit-appearance: none; background: none; pointer-events: none; margin: 0; }
.range input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 22px; height: 22px; border-radius: 50%; background: var(--surface); border: 2px solid var(--inverse); box-shadow: var(--sh-sm); cursor: grab; }
.range input[type="range"]::-moz-range-thumb { pointer-events: auto; width: 18px; height: 18px; border-radius: 50%; background: var(--surface); border: 2px solid var(--inverse); cursor: grab; }
.range input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px var(--accent-soft); }
.range-inputs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; margin-top: 12px; }
.range-inputs .input { min-height: 40px; font-size: var(--fs-sm); padding: 0 10px; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); margin-bottom: var(--s-5); flex-wrap: wrap; }
.toolbar__left, .toolbar__right { display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; }
.toolbar .select { min-height: 42px; width: auto; border-radius: var(--r-pill); font-size: var(--fs-sm); font-weight: 500; }
.result-count { color: var(--text-2); font-size: var(--fs-sm); }
.result-count strong { color: var(--text); }
.active-filters { margin-bottom: var(--s-5); }
.filter-btn { display: none; }
.view-toggle { display: inline-flex; padding: 3px; border-radius: var(--r-pill); background: var(--surface-3); }
.view-toggle button { width: 38px; height: 36px; border-radius: var(--r-pill); display: grid; place-items: center; color: var(--text-3); }
.view-toggle button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: var(--sh-xs); }
.cat-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-6); flex-wrap: wrap; }
.cat-pills { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin-top: var(--s-5); }
.cat-pills::-webkit-scrollbar { display: none; }

/* --- Detail produk --- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: var(--s-12); align-items: start; padding-top: var(--s-5); }
.gallery { position: sticky; top: calc(var(--header-h) + 20px); display: grid; grid-template-columns: 76px 1fr; gap: var(--s-4); }
.gallery:has(.gallery__thumbs[hidden]) { grid-template-columns: 1fr; }
.gallery__thumbs { display: flex; flex-direction: column; gap: 10px; }
.gallery__thumb { border-radius: var(--r-md); overflow: hidden; border: 1.5px solid transparent; opacity: .7; transition: opacity var(--t-fast), border-color var(--t-fast); }
.gallery__thumb .media__ph span { display: none; }
.gallery__thumb[aria-current="true"], .gallery__thumb:hover { opacity: 1; border-color: var(--text); }
.gallery__main { position: relative; border-radius: var(--r-2xl); overflow: hidden; cursor: zoom-in; background: var(--surface-2); }
.gallery__main .media__img, .gallery__main .media__ph svg { transition: transform 200ms var(--ease); }
.gallery__main.is-zoom .media__img { transform: scale(2); }
.gallery__main.is-zoom .media__ph svg { transform: scale(1.6); }
.gallery__expand { position: absolute; right: 16px; bottom: 16px; z-index: 2; }
.gallery__badges { position: absolute; top: 16px; left: 16px; display: flex; gap: 6px; z-index: 2; }
.pdp__brand { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-sm); font-weight: 600; color: var(--text-2); }
.pdp__title { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 600; letter-spacing: -.03em; margin-top: 8px; }
.pdp__meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; font-size: var(--fs-sm); color: var(--text-2); }
.pdp__meta .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--n-300); }
.pdp__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; margin-top: var(--s-6); }
.pdp__price strong { font-family: var(--font-display); font-variant-numeric: tabular-nums; font-size: clamp(2rem, 3vw, 2.5rem); font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.pdp__price s { color: var(--text-3); font-family: var(--font-display); font-variant-numeric: tabular-nums; }
.pdp__installment { font-size: var(--fs-sm); color: var(--text-2); margin-top: 8px; }
.pdp__section { padding-block: var(--s-5); border-bottom: 1px solid var(--border); }
.pdp__label { font-size: var(--fs-sm); font-weight: 600; margin-bottom: 12px; display: flex; gap: 6px; }
.pdp__label span { color: var(--text-2); font-weight: 400; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { width: 40px; height: 40px; border-radius: 50%; padding: 3px; border: 1.5px solid var(--border-strong); transition: border-color var(--t-fast), transform var(--t-fast); }
.swatch span { display: block; width: 100%; height: 100%; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
.swatch:hover { transform: scale(1.06); }
.swatch[aria-checked="true"] { border-color: var(--text); border-width: 2px; }
.swatch.is-out { opacity: .4; }
.pdp__buy { display: flex; gap: var(--s-3); align-items: center; flex-wrap: wrap; }
.pdp__buy .btn { flex: 1; min-width: 160px; }
.stock-note { font-size: var(--fs-sm); display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.stock-note--low { color: var(--warning); }
.stock-note--ok { color: var(--success); }
.stock-note--out { color: var(--error); }
.pdp__tools { display: flex; gap: 6px; margin-top: var(--s-3); flex-wrap: wrap; }
.pdp__tools .btn { flex: 1; }
.tool-card { border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s-5); margin-top: var(--s-4); }
.tool-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 600; }
.tool-card__head .icon { color: var(--text-2); }
.calc-result { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: var(--r-md); background: var(--surface-2); margin-top: 14px; }
.calc-result strong { font-family: var(--font-display); font-variant-numeric: tabular-nums; font-size: var(--fs-xl); }
.ship-list { display: grid; gap: 8px; margin-top: 12px; }
.ship-row { display: flex; justify-content: space-between; gap: 12px; font-size: var(--fs-sm); padding: 10px 12px; border-radius: var(--r-sm); background: var(--surface-2); }
.ship-row strong { font-weight: 600; }
.ship-row span { color: var(--text-2); }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--border); transform: translateY(100%); transition: transform var(--t-base) var(--ease); }
.sticky-buy.is-visible { transform: none; }
.sticky-buy .container { display: flex; align-items: center; gap: var(--s-4); padding-block: 12px; }
.sticky-buy__thumb { width: 48px; border-radius: var(--r-sm); overflow: hidden; flex: none; }
.sticky-buy__thumb .media__ph span { display: none; }
.sticky-buy__info { flex: 1; min-width: 0; }
.sticky-buy__info strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy__info span { font-size: var(--fs-sm); color: var(--text-2); }
.review-summary { display: grid; grid-template-columns: 240px 1fr; gap: var(--s-8); align-items: center; padding: var(--s-6); border-radius: var(--r-xl); background: var(--surface-2); }
.review-summary__score { text-align: center; }
.review-summary__score strong { font-family: var(--font-display); font-size: var(--fs-6xl); font-weight: 300; line-height: 1; letter-spacing: -.04em; display: block; }
.review-summary__score p { font-size: var(--fs-sm); color: var(--text-2); margin-top: 8px; }
.bars { display: grid; gap: 8px; }
.bars__row { display: grid; grid-template-columns: 44px 1fr 44px; gap: 12px; align-items: center; font-size: var(--fs-sm); color: var(--text-2); }
.bars__row .progress { margin: 0; }
.bars__row .progress__bar { background: var(--accent); }
.review { padding-block: var(--s-6); border-bottom: 1px solid var(--border); display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.review__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.review__name { font-weight: 600; font-size: var(--fs-sm); display: flex; align-items: center; gap: 8px; }
.review__meta { font-size: var(--fs-xs); color: var(--text-3); margin-top: 2px; }
.review__text { margin-top: 10px; color: var(--text); }
.review__help { margin-top: 10px; font-size: var(--fs-xs); color: var(--text-3); display: inline-flex; align-items: center; gap: 6px; }
.review__help:hover { color: var(--text); }
.review__help[aria-pressed="true"] { color: var(--accent-ink); }
.desc { max-width: 72ch; }
.desc p { color: var(--text-2); margin-bottom: var(--s-4); line-height: 1.75; }
.desc h3 { font-size: var(--fs-xl); margin: var(--s-6) 0 var(--s-3); }
.highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); margin-block: var(--s-6); }
.highlights li { padding: var(--s-5); border-radius: var(--r-lg); background: var(--surface-2); font-size: var(--fs-sm); }
.highlights li strong { display: block; font-family: var(--font-display); font-size: var(--fs-md); margin: 10px 0 2px; }
.bundle { display: grid; grid-template-columns: 1fr 300px; gap: var(--s-8); align-items: center; padding: var(--s-6); border-radius: var(--r-xl); border: 1px solid var(--border); }
.bundle__items { display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; }
.bundle__item { width: 170px; display: flex; flex-direction: column; gap: 8px; font-size: var(--fs-sm); }
.bundle__item .media { border-radius: var(--r-lg); }
.bundle__item .media__ph span { font-size: 10px; }
.bundle__plus { width: 32px; height: 32px; border-radius: 50%; background: var(--surface-3); display: grid; place-items: center; flex: none; }
.bundle__total { display: grid; gap: 10px; }
.bundle__total strong { font-family: var(--font-display); font-variant-numeric: tabular-nums; font-size: var(--fs-2xl); }

/* --- Bandingkan --- */
.compare-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-xl); }
.compare { min-width: 760px; table-layout: fixed; }
.compare th, .compare td { padding: 14px 18px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; font-size: var(--fs-sm); }
.compare thead td { vertical-align: top; }
.compare th { width: 200px; color: var(--text-3); font-weight: 500; position: sticky; left: 0; background: var(--surface); z-index: 1; }
.compare tr.is-diff td, .compare tr.is-diff th { background: var(--accent-soft); }
.compare tr.is-diff th { color: var(--text); font-weight: 600; }
.compare__product { display: flex; flex-direction: column; gap: 10px; position: relative; }
.compare__product .media { border-radius: var(--r-lg); max-width: 200px; }
.compare__product .icon-btn { position: absolute; top: 4px; right: 4px; z-index: 2; }
.compare__add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; aspect-ratio: 1; max-width: 200px; border: 1.5px dashed var(--border-strong); border-radius: var(--r-lg); color: var(--text-2); font-size: var(--fs-sm); font-weight: 600; transition: border-color var(--t-fast), color var(--t-fast); }
.compare__add:hover { border-color: var(--text); color: var(--text); }
.compare-section th { font-family: var(--font-display); font-size: var(--fs-xs) !important; letter-spacing: .1em; text-transform: uppercase; color: var(--text) !important; background: var(--surface-2) !important; }
.compare-section td { background: var(--surface-2); }
.legend { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-sm); color: var(--text-2); }
.legend i { width: 14px; height: 14px; border-radius: 4px; background: var(--accent-soft); border: 1px solid var(--accent); }

/* --- Keranjang --- */
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--border); }
.cart-item { display: grid; grid-template-columns: auto 104px 1fr auto; gap: 18px; padding: 20px; border-bottom: 1px solid var(--border); align-items: start; }
.cart-item:last-child { border-bottom: 0; }
.cart-item__thumb { border-radius: var(--r-md); overflow: hidden; display: block; }
.cart-item__thumb .media__ph span { display: none; }
.cart-item__name { font-weight: 600; line-height: 1.35; }
.cart-item__name:hover { color: var(--accent-ink); }
.cart-item__var { font-size: var(--fs-sm); color: var(--text-3); margin-top: 4px; }
.cart-item__tags { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.cart-item__actions { display: flex; align-items: center; gap: 4px; margin-top: 12px; flex-wrap: wrap; }
.cart-item__actions .btn { min-height: 34px; padding: 0 10px; font-size: var(--fs-xs); }
.cart-item__right { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.cart-item__price strong { font-family: var(--font-display); font-variant-numeric: tabular-nums; font-size: var(--fs-lg); font-weight: 700; display: block; text-align: right; }
.cart-item__price s { font-size: var(--fs-xs); color: var(--text-3); display: block; text-align: right; }
.cart-item.is-out { opacity: .6; }
.voucher-box { display: grid; gap: 10px; }
.voucher-applied { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: var(--r-md); background: var(--success-soft); font-size: var(--fs-sm); }
.voucher-applied strong { font-family: var(--font-display); letter-spacing: .04em; }
.voucher-mini { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px dashed var(--border-strong); border-radius: var(--r-md); font-size: var(--fs-xs); }
.voucher-mini strong { font-size: var(--fs-sm); font-family: var(--font-display); letter-spacing: .04em; display: block; }
.voucher-mini.is-locked { opacity: .55; }

/* --- Checkout --- */
.co-section { padding: var(--s-6); }
.co-section + .co-section { border-top: 1px solid var(--border); }
.co-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; font-size: var(--fs-sm); }
.co-item .media { border-radius: var(--r-sm); }
.co-item .media__ph span { display: none; }
.co-item__name { font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.co-item__var { color: var(--text-3); font-size: var(--fs-xs); }
.co-items { display: grid; gap: 14px; max-height: 300px; overflow: auto; }
.pay-group { border: 1px solid var(--border-strong); border-radius: var(--r-lg); overflow: hidden; }
.pay-group + .pay-group { margin-top: 10px; }
.pay-group__head { width: 100%; display: flex; align-items: center; gap: 14px; padding: 16px 18px; text-align: left; }
.pay-group__head .icon-wrap { width: 40px; height: 40px; border-radius: 10px; background: var(--surface-2); display: grid; place-items: center; flex: none; }
.pay-group__head strong { display: block; }
.pay-group__head small { color: var(--text-3); font-size: var(--fs-xs); }
.pay-group__head > .icon:last-child { margin-left: auto; transition: transform var(--t-base); color: var(--text-3); }
.pay-group.is-open { border-color: var(--text); }
.pay-group.is-open .pay-group__head > .icon:last-child { transform: rotate(180deg); }
.pay-group__body { padding: 0 18px 18px; display: none; }
.pay-group.is-open .pay-group__body { display: block; }
.pay-group.is-disabled { opacity: .5; }
.pay-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.pay-opt { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--border-strong); border-radius: var(--r-md); cursor: pointer; font-weight: 600; font-size: var(--fs-sm); transition: border-color var(--t-fast); }
.pay-opt:has(input:checked) { border-color: var(--text); box-shadow: 0 0 0 1px var(--text); }
.pay-opt input { position: absolute; opacity: 0; pointer-events: none; }
.pay-opt .pay-badge { height: 24px; font-size: 10px; }
.cc-preview { aspect-ratio: 1.586; max-width: 340px; border-radius: 18px; padding: 22px; background: linear-gradient(135deg, #1b1b1e, #3a3a40); color: #fff; display: flex; flex-direction: column; justify-content: space-between; font-family: var(--font-display); box-shadow: var(--sh-lg); margin-bottom: var(--s-5); position: relative; overflow: hidden; }
.cc-preview::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: var(--accent); opacity: .22; right: -80px; top: -90px; filter: blur(4px); }
.cc-preview__num { font-size: 1.25rem; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.cc-preview__row { display: flex; justify-content: space-between; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; opacity: .85; }
.cc-preview__chip { width: 40px; height: 30px; border-radius: 6px; background: linear-gradient(135deg, #d9d9d9, #9a9a9a); }

/* --- Pembayaran --- */
.invoice-hero { text-align: center; padding: var(--s-8) var(--s-6); }
.invoice-hero__total { font-family: var(--font-display); font-variant-numeric: tabular-nums; font-size: clamp(2.25rem, 5vw, 3.25rem); font-weight: 700; letter-spacing: -.03em; margin-top: 6px; }
.qr { width: 240px; margin: 0 auto; padding: 16px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--n-150); position: relative; }
.qr svg { width: 100%; height: auto; }
.qr__logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 48px; height: 48px; border-radius: 12px; background: #0a0a0b; display: grid; place-items: center; color: #fff; border: 4px solid #fff; }
.qr__logo::after { content: ""; position: absolute; right: 5px; top: 5px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.qr__logo svg { width: 20px; }
.pay-code { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-radius: var(--r-lg); background: var(--surface-2); }
.pay-code strong { font-family: var(--font-display); font-variant-numeric: tabular-nums; font-size: clamp(1.25rem, 3vw, 1.625rem); letter-spacing: .06em; }
.pay-code small { display: block; color: var(--text-3); font-size: var(--fs-xs); margin-bottom: 2px; }
.verify { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: var(--s-10); text-align: center; }
.spinner { width: 56px; height: 56px; border-radius: 50%; border: 3px solid var(--surface-3); border-top-color: var(--accent); animation: spin .9s linear infinite; }

/* --- Sukses --- */
.success-hero { text-align: center; padding-block: var(--s-12) var(--s-8); }
.check-anim { width: 104px; height: 104px; margin: 0 auto; }
.check-anim circle { stroke: var(--accent); stroke-width: 3; fill: none; stroke-dasharray: 302; stroke-dashoffset: 302; animation: draw 900ms var(--ease) forwards; }
.check-anim .bg { fill: var(--accent-soft); stroke: none; transform-origin: center; animation: popIn 600ms var(--ease-spring) 200ms both; }
.check-anim path { stroke: var(--text); stroke-width: 4; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw 500ms var(--ease) 700ms forwards; }
.success-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 300; margin-top: var(--s-6); letter-spacing: -.035em; }
.success-hero h1 b { font-weight: 700; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
.info-tile { padding: var(--s-5); border-radius: var(--r-lg); background: var(--surface-2); }
.info-tile small { font-size: var(--fs-xs); color: var(--text-3); display: flex; align-items: center; gap: 6px; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.info-tile strong { display: block; margin-top: 6px; font-family: var(--font-display); }
.info-tile p { font-size: var(--fs-sm); color: var(--text-2); margin-top: 2px; }
.print-only { display: none; }

/* --- Akun --- */
.account { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: var(--s-8); align-items: start; padding-block: var(--s-8) var(--s-12); }
.account__side { position: sticky; top: calc(var(--header-h) + 20px); }
.account__user { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: var(--r-lg); background: var(--surface-2); margin-bottom: var(--s-4); }
.account__user strong { display: block; line-height: 1.3; }
.account__user span { font-size: var(--fs-xs); color: var(--text-3); }
.account__nav { display: grid; gap: 2px; }
.account__nav a, .account__nav button { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 14px; border-radius: var(--r-md); font-weight: 500; color: var(--text-2); width: 100%; text-align: left; transition: background-color var(--t-fast), color var(--t-fast); }
.account__nav a:hover, .account__nav button:hover { background: var(--surface-2); color: var(--text); }
.account__nav a[aria-current="page"] { background: var(--inverse); color: var(--on-inverse); }
.account__nav .badge { margin-left: auto; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
.stat { padding: var(--s-5); border-radius: var(--r-lg); border: 1px solid var(--border); }
.stat small { color: var(--text-3); font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; display: flex; align-items: center; gap: 6px; }
.stat strong { display: block; font-family: var(--font-display); font-variant-numeric: tabular-nums; font-size: var(--fs-3xl); font-weight: 600; letter-spacing: -.03em; margin-top: 6px; }
.stat p { font-size: var(--fs-xs); color: var(--text-2); }
.member { padding: var(--s-6); border-radius: var(--r-xl); background: var(--inverse); color: var(--on-inverse); display: grid; grid-template-columns: 1fr auto; gap: var(--s-4); align-items: center; position: relative; overflow: hidden; }
.member::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: var(--accent); opacity: .18; right: -60px; top: -120px; }
.member__level { font-family: var(--font-display); font-size: var(--fs-2xl); font-weight: 700; }
.member p { opacity: .7; font-size: var(--fs-sm); }
.member .progress { background: rgba(127, 127, 127, .3); }
.order-card { border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.order-card + .order-card { margin-top: var(--s-4); }
.order-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; background: var(--surface-2); font-size: var(--fs-sm); flex-wrap: wrap; }
.order-card__head strong { font-family: var(--font-display); }
.order-card__body { padding: 16px 18px; display: grid; gap: 12px; }
.order-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.order-card__foot .row { flex-wrap: wrap; }
.address-card { position: relative; border: 1px solid var(--border-strong); border-radius: var(--r-lg); padding: 18px; display: grid; gap: 4px; font-size: var(--fs-sm); }
.address-card.is-default { border-color: var(--text); }
.address-card strong { font-size: var(--fs-base); }
.address-card p { color: var(--text-2); }
.address-card__actions { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }

/* --- Trade-in --- */
.ti-steps { display: grid; gap: var(--s-4); }
.ti-card { border: 1px solid var(--border); border-radius: var(--r-xl); padding: var(--s-6); }
.ti-card__head { display: flex; align-items: center; gap: 12px; margin-bottom: var(--s-5); }
.ti-card__num { width: 32px; height: 32px; border-radius: 50%; background: var(--inverse); color: var(--on-inverse); display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: var(--fs-sm); flex: none; }
.ti-card__head h2 { font-size: var(--fs-lg); }
.ti-card.is-locked { opacity: .5; pointer-events: none; }
.estimate { border-radius: var(--r-xl); padding: var(--s-6); background: var(--inverse); color: var(--on-inverse); }
.estimate__value { font-family: var(--font-display); font-variant-numeric: tabular-nums; font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; letter-spacing: -.03em; margin-top: 4px; }
.estimate p { opacity: .7; font-size: var(--fs-sm); }
.estimate .summary__row { color: inherit; opacity: .8; }
.estimate .summary__row span:last-child { color: inherit; }
.estimate .summary__total { border-color: rgba(127, 127, 127, .4); }
.ti-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ti-pick .option { flex-direction: column; gap: 8px; padding: 12px; }
.ti-pick .option .media { border-radius: var(--r-md); }
.ti-pick .option .media__ph span { font-size: 10px; }
.ti-pick .option > input { position: absolute; opacity: 0; }
.ti-pick .option:has(input:focus-visible), .pay-opt:has(input:focus-visible) { outline: 2px solid var(--ring); outline-offset: 2px; }
.chip:has(input:focus-visible) { outline: 2px solid var(--ring); outline-offset: 2px; }

/* --- Info / prose --- */
.prose { max-width: 760px; }
.prose h2 { font-size: var(--fs-2xl); margin: var(--s-10) 0 var(--s-3); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: var(--fs-lg); margin: var(--s-6) 0 var(--s-2); }
.prose p, .prose li { color: var(--text-2); line-height: 1.75; }
.prose p + p { margin-top: var(--s-3); }
.prose ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; margin-top: var(--s-3); }
.prose ol { list-style: decimal; padding-left: 22px; display: grid; gap: 6px; margin-top: var(--s-3); }
.prose strong { color: var(--text); }
.prose .table { margin-top: var(--s-4); }
.info-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: var(--s-12); align-items: start; padding-bottom: var(--s-12); }
.info-nav { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 2px; }
.info-nav a { padding: 10px 14px; border-radius: var(--r-md); color: var(--text-2); font-weight: 500; font-size: var(--fs-sm); }
.info-nav a:hover { background: var(--surface-2); color: var(--text); }
.info-nav a[aria-current="page"] { background: var(--surface-3); color: var(--text); font-weight: 600; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); margin-top: var(--s-6); }
.feature { padding: var(--s-6); border-radius: var(--r-xl); background: var(--surface-2); }
.feature .icon { width: 28px; height: 28px; }
.feature h3 { font-size: var(--fs-md); margin-top: var(--s-4); }
.feature p { font-size: var(--fs-sm); color: var(--text-2); margin-top: 6px; }
.big-404 { font-family: var(--font-display); font-size: clamp(6rem, 18vw, 12rem); font-weight: 200; letter-spacing: -.06em; line-height: .9; }
.big-404 b { color: var(--accent); font-weight: 700; }

/* 7. UTILITAS ============================================================== */
.text-muted { color: var(--text-2); }
.text-subtle { color: var(--text-3); }
.text-accent { color: var(--accent-ink); }
.text-success { color: var(--success); }
.text-error { color: var(--error); }
.text-sm { font-size: var(--fs-sm); }
.text-xs { font-size: var(--fs-xs); }
.text-lg { font-size: var(--fs-lg); }
.text-center { text-align: center; }
.text-right { text-align: right; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.nowrap { white-space: nowrap; }
.mt-1 { margin-top: var(--s-1); } .mt-2 { margin-top: var(--s-2); } .mt-3 { margin-top: var(--s-3); } .mt-4 { margin-top: var(--s-4); }
.mt-5 { margin-top: var(--s-5); } .mt-6 { margin-top: var(--s-6); } .mt-8 { margin-top: var(--s-8); } .mt-10 { margin-top: var(--s-10); } .mt-12 { margin-top: var(--s-12); }
.mb-2 { margin-bottom: var(--s-2); } .mb-4 { margin-bottom: var(--s-4); } .mb-6 { margin-bottom: var(--s-6); } .mb-8 { margin-bottom: var(--s-8); }
.gap-2 { gap: var(--s-2); } .gap-4 { gap: var(--s-4); }
.w-full { width: 100%; }
.flex-1 { flex: 1; }
.ml-auto { margin-left: auto; }
.hide-desktop { display: none !important; }

/* 8. RESPONSIVE ============================================================ */
@media (max-width: 1280px) {
  .mega__inner { grid-template-columns: repeat(6, 1fr); }
  .mega__feature { display: none; }
  .footer__main { grid-template-columns: repeat(3, 1fr); }
  .footer__brand { grid-column: span 3; }
  .header__search { max-width: 320px; }
}
@media (max-width: 1024px) {
  :root { --header-h: 64px; }
  .nav, .header__search { display: none; }
  .header__burger, .header__search-btn { display: inline-grid; }
  .header__actions { margin-left: auto; }
  .header__account .btn-label { display: none; }
  .hide-mobile { display: none !important; }
  .hide-desktop { display: initial !important; }
  .products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .slider__track { grid-auto-columns: calc((100% - var(--s-5) * 2) / 3); }
  .testi-track { grid-auto-columns: calc((100% - var(--s-5)) / 2) !important; }
  .hero__grid { grid-template-columns: 1fr; min-height: auto; padding-block: var(--s-10) var(--s-20); text-align: center; }
  .hero__lead { margin-inline: auto; }
  .hero__ctas, .hero__product { justify-content: center; }
  .hero__visual { width: 100%; max-width: 460px; margin: 0 auto; order: -1; }
  .hero__float--a { left: 0; }
  .hero__float--b { right: 0; }
  .hero__controls .container { justify-content: center; }
  .hero__tab { width: 100px; }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); grid-template-rows: none; grid-auto-rows: 220px; }
  .bento__item--a { grid-row: span 1; grid-column: span 2; }
  .brands { grid-template-columns: repeat(4, 1fr); }
  .editorial { grid-template-columns: 1fr; }
  .editorial__main { min-height: 440px; }
  .editorial__side { grid-template-columns: 1fr 1fr; }
  .why { grid-template-columns: repeat(2, 1fr); }
  .banner { grid-template-columns: 1fr; padding: var(--s-8); }
  .banner__art { display: none; }
  .catalog { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: 0 auto 0 0; width: min(360px, 90%); max-height: none; z-index: 100; background: var(--surface); padding: 0; transform: translateX(-100%); transition: transform var(--t-slow) var(--ease), visibility var(--t-slow); visibility: hidden; display: flex; flex-direction: column; overflow: hidden; }
  .filters.is-open { transform: none; visibility: visible; }
  .filters__body { flex: 1; overflow: auto; padding: 20px; }
  .filters__head, .filters__foot { display: flex !important; }
  .filter-btn { display: inline-flex; }
  .pdp { grid-template-columns: 1fr; gap: var(--s-8); }
  .gallery { position: static; grid-template-columns: 1fr; }
  .gallery__thumbs { flex-direction: row; order: 2; overflow-x: auto; }
  .gallery__thumb { width: 72px; flex: none; }
  .layout-aside { grid-template-columns: 1fr; }
  .sticky-aside { position: static; }
  .account { grid-template-columns: 1fr; }
  .account__side { position: static; }
  .account__nav { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; scrollbar-width: none; }
  .account__nav::-webkit-scrollbar { display: none; }
  .info-layout { grid-template-columns: 1fr; gap: var(--s-6); }
  .info-nav { position: static; grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; }
  .footer__news { grid-template-columns: 1fr; }
  .bundle { grid-template-columns: 1fr; }
  .review-summary { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .mega { display: none; }
}
@media (min-width: 1025px) {
  .filters__head, .filters__foot { display: none !important; }
}
@media (max-width: 768px) {
  :root { --gutter: 16px; }
  .section { padding-block: var(--s-12); }
  .products-grid, .products-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5) var(--s-3); }
  .slider__track { grid-auto-columns: calc((100% - var(--s-3)) / 2.2); gap: var(--s-3); }
  .testi-track { grid-auto-columns: 86% !important; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .stat-grid, .info-grid { grid-template-columns: 1fr 1fr; }
  .flash { padding: var(--s-6) var(--s-4); border-radius: var(--r-xl); }
  .editorial__side { grid-template-columns: 1fr; }
  .editorial__main { padding: var(--s-6); }
  .editorial h3 { font-size: var(--fs-2xl); }
  .footer__main { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: span 2; }
  .footer__pay { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: auto 80px 1fr; }
  .cart-item__right { grid-column: 2 / -1; flex-direction: row-reverse; justify-content: space-between; align-items: center; }
  .products-grid.is-list .product-card { flex-direction: column; align-items: stretch; }
  .products-grid.is-list .product-card__media { width: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .span-2 { grid-column: auto; }
  .options--2 { grid-template-columns: 1fr; }
  .highlights { grid-template-columns: 1fr; }
  .ti-pick { grid-template-columns: 1fr 1fr; }
  .steps__label { display: none; }
  .sticky-buy__thumb { display: none; }
  .product-card__actions .icon-btn { opacity: 1; transform: none; }
  .product-card__quick { opacity: 1; transform: none; position: static; margin: 10px 0 0; width: 100%; min-height: 38px; background: var(--surface-3); color: var(--text); }
  .product-card__media + .product-card__quick { order: 3; }
  .cs-fab { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .cs-panel { right: 16px; bottom: 80px; }
  .body-has-sticky .cs-fab { bottom: 88px; }
  .lightbox__stage { padding: 0 12px; }
  .lightbox__prev, .lightbox__next { display: none; }
  .modal__dialog { padding: 22px; }
  .announce__extra { display: none; }
}
@media (max-width: 480px) {
  .hero__title { font-size: 2.5rem; }
  .hero__float { display: none; }
  .hero__tab { width: 72px; font-size: 0; gap: 0; }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; }
  .bento__item { padding: var(--s-4); }
  .bento__item h3 { font-size: var(--fs-lg); }
  .bento__item--a h3 { font-size: var(--fs-2xl); }
  .bento__item p { display: none; }
  .bento__item--a p { display: block; }
  .trust { grid-template-columns: 1fr 1fr; gap: 8px; }
  .trust__item { flex-direction: column; align-items: flex-start; padding: 14px; gap: 10px; }
  .brands { grid-template-columns: repeat(3, 1fr); }
  .why, .feature-grid { grid-template-columns: 1fr; }
  .stat-grid, .info-grid, .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .news, .banner { padding: var(--s-6); }
  .news-form { flex-direction: column; }
  .countdown__unit { min-width: 40px; height: 40px; font-size: var(--fs-lg); }
  .otp { gap: 6px; }
  .otp__input { width: 44px; height: 54px; }
  .voucher__left { width: 92px; }
  .pdp__buy .btn { min-width: 0; }
  .header__actions .icon-btn { width: 40px; }
  .header__compare { display: none !important; }
  .ti-pick { grid-template-columns: 1fr; }
}

/* 9. MOTION ================================================================ */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer { to { transform: translateX(100%); } }
@keyframes bounce { 0% { transform: scale(1); } 30% { transform: scale(1.45); } 55% { transform: scale(.88); } 80% { transform: scale(1.1); } 100% { transform: scale(1); } }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(8px) scale(.98); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes heroIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes heroProgress { to { width: 100%; } }
@keyframes pulse { 0% { transform: scale(.8); opacity: .6; } 100% { transform: scale(1.4); opacity: 0; } }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-3px); opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes popIn { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hero__float { animation: float 6s ease-in-out infinite; }
.hero__float--b { animation-delay: -3s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* 10. PRINT (invoice) ====================================================== */
@media print {
  @page { margin: 16mm; }
  :root, [data-theme="dark"] { --bg: #fff; --surface: #fff; --surface-2: #f6f6f7; --text: #000; --text-2: #333; --text-3: #555; --border: #ddd; }
  body { background: #fff !important; color: #000; font-size: 12px; }
  .announce, .header, .footer, .cs-fab, .cs-panel, .no-print, .toasts, .sticky-buy { display: none !important; }
  .print-only { display: block !important; }
  .container { max-width: none; padding: 0; }
  .card, .info-tile { border: 1px solid #ddd !important; box-shadow: none !important; break-inside: avoid; }
  .success-hero { padding: 0 0 16px; text-align: left; }
  .check-anim { display: none; }
  a { text-decoration: none; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
