/* =========================================================
   Glamazing — stylesheet (Fase 1)
   Token mengikuti "Glamazing Website Design Guide" v1.0:
   pink #F8C9DB, blue #BDE8FA, accent pink #E963A6, cyan #159DC3,
   background #FFF9FC, text #28313B / #68717B, border #E9EAF0.
   --brand (#C8337F) & --link (#0B7A99) = versi gelap accent pink & cyan
   supaya teks putih/teks link lolos kontras WCAG AA.
   ========================================================= */
@font-face { font-family: 'DM Sans'; font-weight: 400; font-display: swap; src: url('../fonts/dm-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 500; font-display: swap; src: url('../fonts/dm-sans-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 600; font-display: swap; src: url('../fonts/dm-sans-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 700; font-display: swap; src: url('../fonts/dm-sans-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 600; font-display: swap; src: url('../fonts/plus-jakarta-sans-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 700; font-display: swap; src: url('../fonts/plus-jakarta-sans-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 800; font-display: swap; src: url('../fonts/plus-jakarta-sans-latin-800-normal.woff2') format('woff2'); }

:root {
  /* brand (guide) */
  --pink: #F8C9DB;
  --blue: #BDE8FA;
  --accent: #E963A6;
  --cyan: #159DC3;
  /* turunan untuk kontras & permukaan */
  --brand: #C8337F;
  --brand-2: #AE2A6C;
  --link: #086A85;
  --brand-text: #9E2663;
  --pink-soft: #FDEDF4;
  --blue-soft: #EAF7FD;
  /* netral (guide) */
  --bg: #FFF9FC;
  --white: #FFFFFF;
  --ink: #28313B;
  --text: #3A434D;
  --muted: #565E67;
  --line: #E9EAF0;
  --ok: #25845B;
  --err: #C94455;
  --sun: #E3A33A;
  --r-tile: 20px;
  --r-field: 12px;
  --shadow: 0 12px 32px -12px rgba(40, 49, 59, 0.22);
  --font: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-head: 'Plus Jakarta Sans', 'DM Sans', system-ui, sans-serif;
  --hdr-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.no-scroll { overflow: hidden; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, .h1 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1, .h1 { font-size: clamp(2rem, 5.2vw, 3.5rem); font-weight: 800; letter-spacing: -0.035em; color: var(--ink); line-height: 1.08; }
.hero__copy .h1 { margin: 0; max-width: 13ch; font-size: clamp(2rem, 5.2vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.25rem); font-weight: 800; letter-spacing: -0.03em; }
h3 { font-size: 1.125rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2.5px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--blue); color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 32px, 1240px); margin-inline: auto; }
.muted { color: var(--muted); }
.ic { flex: none; }
[hidden] { display: none !important; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 700; font-size: .95rem; transition: background .15s, color .15s, border-color .15s; border: 1.5px solid transparent; white-space: nowrap; }
.btn--dark { background: var(--brand); color: #fff; }
.btn--dark:hover { background: var(--brand-2); }
.btn--light { background: #fff; color: var(--brand-text); }
.btn--light:hover { background: var(--blue-soft); }
.btn--line { border-color: var(--brand-text); color: var(--brand-text); background: transparent; }
.btn--line:hover { background: var(--brand); color: #fff; }
.btn--ghost { background: var(--pink-soft); color: var(--muted); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .875rem; }
.btn--lg { min-height: 56px; padding: 0 32px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.linkbtn { color: var(--link); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; font-size: .9rem; }
.iconbtn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; color: var(--ink); position: relative; }
.iconbtn:hover { background: var(--pink-soft); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: var(--pink-soft); color: var(--ink); font-size: .875rem; font-weight: 600; border: 1.5px solid transparent; }
.chip:hover { border-color: var(--brand-text); }
.chip--on { background: var(--brand); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.codechip { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border: 2px dashed var(--brand); border-radius: 12px; font-weight: 800; letter-spacing: .06em; color: var(--brand-text); background: var(--blue-soft); font-size: 1.1rem; }

/* ---------- Badges & stars ---------- */
.badge { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; background: #fff; color: var(--ink); }
.badge--best { background: var(--brand); color: #fff; }
.badge--new { background: var(--blue); color: var(--ink); }
.badge--deal { background: var(--brand); color: #fff; }
.badge--out { background: #fff; color: var(--muted); }
.stars { display: inline-flex; align-items: center; gap: 3px; color: var(--sun); }
.stars b { color: var(--ink); font-weight: 700; }

/* ---------- Promo bar & header ---------- */
.promobar { background: var(--brand); color: #fff; font-size: .8125rem; text-align: center; }
.promobar__track { position: relative; height: 36px; overflow: hidden; }
.promobar p { position: absolute; inset: 0; margin: 0; line-height: 36px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 16px; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; }
.promobar p.is-on { opacity: 1; transform: none; }
.promobar b { color: #fff; letter-spacing: .03em; }
.promobar a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.hdr { position: sticky; top: 0; z-index: 40; background: rgba(255,249,252,.96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.hdr.is-scrolled { box-shadow: 0 6px 20px -14px rgba(40,49,59,.4); }
.hdr__in { display: flex; align-items: center; gap: 8px; height: var(--hdr-h); }
.logo { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 800; font-size: 1.55rem; letter-spacing: -0.045em; color: var(--brand-text); line-height: 1; }
.hdr .logo { margin-right: auto; }
.hdr__actions { display: flex; align-items: center; gap: 2px; }
.hdr__acct { width: auto; min-width: 44px; padding: 0 10px; gap: 6px; font-size: .875rem; font-weight: 700; }
.hdr__acctname:empty { display: none; }
.cartcount { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--brand); color: #fff; font-size: .6875rem; font-weight: 800; display: grid; place-items: center; }
.nav { display: none; }
@media (min-width: 960px) {
  .hdr__burger { display: none; }
  .hdr .logo { margin-right: 32px; }
  .nav { display: block; margin-right: auto; }
  .nav > ul { display: flex; gap: 4px; }
  .nav__item > a { display: inline-flex; align-items: center; gap: 4px; height: var(--hdr-h); padding: 0 14px; font-weight: 600; font-size: .9375rem; color: var(--ink); position: relative; }
  .nav__item > a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 14px; height: 2px; background: var(--brand); transform: scaleX(0); transition: transform .2s; }
  .nav__item > a:hover::after, .nav__item > a[aria-current]::after, .has-mega:focus-within > a::after { transform: scaleX(1); }
  .mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -28px rgba(40,49,59,.35); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .18s; }
  .has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
  .mega__in { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 40px; padding: 32px 0 36px; }
  .mega__h { font-size: .8125rem; font-weight: 700; color: var(--muted); margin-bottom: 12px; }
  .mega__list li a { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-weight: 600; color: var(--ink); }
  .mega__list li a:hover { color: var(--brand-2); text-decoration: underline; text-underline-offset: 4px; }
  .mega__list--dots i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,.08); }
  .mega__all { color: var(--brand-text) !important; text-decoration: underline; text-underline-offset: 4px; }
  .mega__feat { display: grid; grid-template-columns: 140px 1fr; gap: 16px; align-items: center; background: var(--pink-soft); border-radius: var(--r-tile); padding: 12px; }
  .mega__feat .pimg { border-radius: 14px; }
  .mega__feat span { font-weight: 700; color: var(--ink); line-height: 1.35; }
  .mega__feat b { display: block; font-size: .8125rem; color: var(--brand-text); margin-bottom: 4px; }
  .hdr__in { position: relative; }
  .nav, .nav > ul, .nav__item { position: static; }
}

/* Search panel */
.search { border-top: 1px solid var(--line); background: #fff; padding: 16px 0 24px; max-height: calc(100vh - 100px); overflow: auto; }
.search__form { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--brand); border-radius: 999px; padding: 0 6px 0 18px; }
.search__form input { flex: 1; border: 0; outline: 0; height: 50px; font-size: 1rem; background: transparent; min-width: 0; }
.search__sec { margin-top: 20px; }
.search__sec h3 { font-size: .875rem; color: var(--muted); font-weight: 700; margin-bottom: 10px; }
.search__row { display: flex; justify-content: space-between; align-items: baseline; }
.search__res { display: grid; gap: 8px; grid-template-columns: 1fr; }
.search__res a { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 14px; }
.search__res a:hover { background: var(--pink-soft); }
.search__img { width: 56px; height: 56px; border-radius: 12px; overflow: hidden; flex: none; }
.search__res b { display: block; color: var(--ink); font-size: .9375rem; line-height: 1.3; }
.search__res small { color: var(--muted); font-weight: 600; }
@media (min-width: 760px) { .search__res { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Drawers & modal ---------- */
.drawer, .modal { position: fixed; inset: 0; z-index: 60; background: rgba(40, 49, 59, 0); transition: background .2s; }
.drawer.is-open, .modal.is-open { background: rgba(40, 49, 59, .45); }
.drawer__panel { position: absolute; top: 0; bottom: 0; width: min(420px, 92vw); background: #fff; display: flex; flex-direction: column; transition: transform .22s ease; }
.drawer--right .drawer__panel { right: 0; transform: translateX(100%); }
.drawer--left .drawer__panel { left: 0; transform: translateX(-100%); }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 12px 20px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 1.25rem; margin: 0; }
.drawer__body { flex: 1; overflow: auto; padding: 16px 20px; }
.drawer__foot { padding: 16px 20px 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.drawer__foot:empty { display: none; }
.drawer__acct { display: grid; gap: 10px; margin-top: 24px; }
.mnav { display: grid; }
.mnav > a, .mnav summary { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--line); cursor: pointer; list-style: none; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav details[open] summary .ic { transform: rotate(180deg); }
.mnav ul { padding: 6px 0 10px 12px; }
.mnav ul a { display: block; padding: 8px 0; color: var(--text); }
.mini li { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mini__img { border-radius: 12px; overflow: hidden; }
.mini__info { display: grid; gap: 2px; font-size: .875rem; }
.mini__info a { font-weight: 700; color: var(--ink); line-height: 1.3; }
.mini__info span { color: var(--muted); }
.mini__info b { color: var(--ink); }
.mini__total { display: flex; justify-content: space-between; font-size: .95rem; }
.mini__total b { color: var(--ink); font-size: 1.1rem; }
.empty { text-align: center; padding: 48px 16px; display: grid; justify-items: center; gap: 8px; color: var(--muted); }
.empty .ic { color: var(--brand-text); opacity: .5; }
.empty h2, .empty h3 { margin: 4px 0 0; }

.modal { display: grid; place-items: center; padding: 16px; }
.modal__panel { position: relative; background: #fff; border-radius: 24px; width: min(760px, 100%); max-height: calc(100vh - 32px); overflow: auto; transform: translateY(12px) scale(.98); opacity: 0; transition: .22s; }
.modal.is-open .modal__panel { transform: none; opacity: 1; }
.modal__x { position: absolute; top: 10px; right: 10px; background: #fff; z-index: 2; }
.promo { display: grid; grid-template-columns: 1fr; }
.promo__art { background: var(--brand); color: var(--blue); display: grid; place-items: center; min-height: 160px; position: relative; overflow: hidden; }
.promo__art::before { content: ''; position: absolute; width: 340px; height: 340px; border-radius: 50%; border: 40px solid rgba(207, 241, 225, .12); right: -120px; top: -120px; }
.promo__art span { font-size: clamp(3rem, 9vw, 5rem); font-weight: 800; letter-spacing: -0.06em; position: relative; }
.promo__body { padding: 28px; display: grid; gap: 14px; justify-items: start; }
.promo__body h2 { font-size: 1.5rem; margin: 0; }
.promo__body p { margin: 0; }
.promo__form { display: flex; gap: 8px; width: 100%; flex-wrap: wrap; }
.promo__form input { flex: 1 1 200px; }
@media (min-width: 700px) { .promo { grid-template-columns: 0.9fr 1.1fr; } .promo__art { min-height: 100%; } }

/* Toasts */
#toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 90; display: grid; gap: 8px; width: min(420px, calc(100% - 32px)); }
.toast { display: flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; padding: 14px 18px; border-radius: 14px; font-weight: 600; font-size: .9rem; box-shadow: var(--shadow); animation: toastIn .25s ease; transition: opacity .3s, transform .3s; }
.toast .ic { color: var(--blue); }
.toast--error { background: var(--err); }
.toast--error .ic { color: #fff; }
.toast.is-out { opacity: 0; transform: translateY(8px); }
@keyframes toastIn { from { opacity: 0; transform: translateY(8px); } }

.wafloat { position: fixed; right: 18px; bottom: 18px; z-index: 30; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0,0,0,.35); }
.wafloat:hover { transform: scale(1.05); }

/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; }
.field > label, .label { font-weight: 700; font-size: .875rem; color: var(--ink); }
.input, .field input, .field select, .field textarea, .promo__form input, .newsletter__form input {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r-field); background: #fff; outline: 0; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 96px; resize: vertical; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus, .promo__form input:focus, .newsletter__form input:focus { border-color: var(--brand-text); box-shadow: 0 0 0 3px var(--blue); }
.field.is-err input, .field.is-err select, .field.is-err textarea { border-color: var(--err); }
.field__err { color: var(--err); font-size: .8125rem; font-weight: 600; min-height: 0; }
.field__hint { color: var(--muted); font-size: .8125rem; }
.pwd { position: relative; }
.pwd input { padding-right: 52px; }
.pwd button { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); }
.row2 { display: grid; gap: 16px; }
@media (min-width: 640px) { .row2 { grid-template-columns: 1fr 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--brand-text); }
.alert { padding: 12px 16px; border-radius: 12px; font-weight: 600; font-size: .9rem; }
.alert--err { background: #FBE7EA; color: var(--err); }
.alert--ok { background: var(--blue-soft); color: var(--ok); }
.alert--info { background: var(--pink-soft); color: var(--ink); }

/* ---------- Sections ---------- */
.sec { padding: 56px 0; }
.sec--tight { padding: 32px 0; }
.sec--mist { background: var(--pink-soft); }
.sec__head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.sec__head h2 { margin: 0; }
.sec__head p { margin: 6px 0 0; color: var(--muted); max-width: 56ch; }
@media (min-width: 960px) { .sec { padding: 80px 0; } }

/* ---------- Product card & grid ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
@media (min-width: 760px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 20px; } }
@media (min-width: 1100px) { .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pcard { display: flex; flex-direction: column; min-width: 0; }
.pcard__media { position: relative; display: block; border-radius: var(--r-tile); overflow: hidden; aspect-ratio: 1; }
.pcard__media .pimg { width: 100%; height: 100%; transition: transform .4s ease; }
.pcard:hover .pcard__media .pimg { transform: scale(1.035); }
.pcard__body { display: flex; flex-direction: column; gap: 4px; padding-top: 12px; flex: 1; }
.pcard__cat { margin: 0; font-size: .75rem; font-weight: 600; color: var(--muted); }
.pcard__name { font-size: .9375rem; font-weight: 700; line-height: 1.3; margin: 0; letter-spacing: -0.01em; }
.pcard__name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.pcard__meta { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0; font-size: .8125rem; color: var(--muted); }
.pcard__price { margin: 2px 0 10px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.pcard__price strong { color: var(--ink); font-size: 1.0625rem; font-weight: 800; }
.pcard__price s, .price s { color: var(--muted); font-size: .8125rem; }
.off { color: var(--brand-text); font-weight: 800; font-size: .8125rem; }
.pcard__add { margin-top: auto; width: 100%; }

/* Horizontal scrollers */
.scroller { display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.scroller > * { scroll-snap-align: start; }
@media (min-width: 760px) { .scroller { grid-auto-columns: 30%; gap: 20px; } }
@media (min-width: 1100px) { .scroller { grid-auto-columns: calc(25% - 15px); } }

/* ---------- Home ---------- */
.hero { position: relative; overflow: hidden; background: var(--pink-soft); }
.hero__track { display: flex; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.hero__slide { flex: 0 0 100%; padding-bottom: 36px; }
.hero__copy { padding: 40px 0 16px; display: grid; gap: 18px; justify-items: start; }
.hero__copy h1 { margin: 0; max-width: 13ch; }
.hero__copy > p:not([class]) { margin: 0; font-size: 1.0625rem; max-width: 42ch; }
.hero__copy > p { margin: 0; }
.hero__note { font-size: .8125rem; color: var(--muted); }
.hero__art { position: relative; height: 300px; }
.hero__art .shelf { position: absolute; inset: 0; display: flex; align-items: end; justify-content: center; gap: 0; }
.hero__art .shelf { align-items: center; padding-bottom: 40px; }
.hero__art .shelf > a { width: 40%; max-width: 280px; margin: 0 -3%; border-radius: 24px; overflow: hidden; box-shadow: 0 24px 40px -20px rgba(200, 51, 127, .35); transform: rotate(-5deg) translateY(12px); background: #fff; border: 6px solid #fff; }
.hero__art .shelf > a:nth-child(2) { width: 46%; max-width: 320px; z-index: 2; transform: rotate(2deg) translateY(-10px); }
.hero__art .shelf > a:nth-child(3) { transform: rotate(6deg) translateY(18px); }
.hero__art .shelf--2 > a { width: 46%; max-width: 320px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__ctl { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; justify-content: center; gap: 8px; }
.hero__dot { width: 28px; height: 6px; border-radius: 999px; background: rgba(40,49,59,.2); }
.hero__dot[aria-current="true"] { background: var(--brand); width: 44px; }
.hero__arrow { display: none; }
@media (min-width: 900px) {
  .hero__slide { padding-bottom: 0; }
  .hero__copy { padding: 0 0 40px; }
  .hero__art { height: 580px; }
  .hero__arrow { display: inline-flex; position: absolute; top: 50%; transform: translateY(-50%); background: #fff; box-shadow: var(--shadow); z-index: 3; }
  .hero__arrow--prev { left: 20px; }
  .hero__arrow--next { right: 20px; }
}
.hero__slide--1 { background: linear-gradient(120deg, #FDEDF4 0%, #FFF9FC 45%, #EAF7FD 100%); }
.hero__slide--2 { background: linear-gradient(120deg, #F8C9DB 0%, #FDEDF4 70%); }
.hero__slide--3 { background: linear-gradient(120deg, #EAF7FD 0%, #BDE8FA 100%); }
.hero__slide .wrap { display: contents; }
.hero__inner { width: min(100% - 32px, 1240px); margin-inline: auto; display: grid; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .hero__inner { grid-template-columns: 1fr 1.1fr; } }
.hero__eyebrowless { font-weight: 700; color: var(--brand-text); font-size: .95rem; }

.trust { border-bottom: 1px solid var(--line); }
.trust ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 20px; padding: 20px 0; }
.trust li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .875rem; color: var(--ink); }
.trust .ic { color: var(--brand-text); }
@media (min-width: 900px) { .trust ul { grid-template-columns: repeat(4, 1fr); } }

.cats { display: grid; grid-auto-flow: column; grid-auto-columns: 116px; gap: 14px; overflow-x: auto; padding-bottom: 8px; }
.cats a { display: grid; gap: 10px; justify-items: center; text-align: center; font-weight: 700; font-size: .875rem; color: var(--ink); }
.cats a > span:first-child { width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 2px solid transparent; transition: border-color .2s; }
.cats a:hover > span:first-child { border-color: var(--brand-text); }
@media (min-width: 1100px) { .cats { grid-auto-flow: row; grid-template-columns: repeat(8, 1fr); } }

.tabs { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 24px; padding-bottom: 4px; }
.tabs button { flex: none; }

.concerns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.concerns a { position: relative; border-radius: var(--r-tile); padding: 20px 18px; min-height: 148px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.concerns a::after { content: ''; position: absolute; right: -30px; bottom: -30px; width: 110px; height: 110px; border-radius: 50%; background: rgba(255,255,255,.55); transition: transform .3s; }
.concerns a:hover::after { transform: scale(1.25); }
.concerns h3 { margin: 0; font-size: 1.125rem; position: relative; z-index: 1; }
.concerns p { margin: 0; font-size: .8125rem; color: var(--text); position: relative; z-index: 1; max-width: 22ch; }
.concerns .count { font-weight: 700; color: var(--brand-text); font-size: .8125rem; position: relative; z-index: 1; }
@media (min-width: 760px) { .concerns { grid-template-columns: repeat(4, 1fr); gap: 16px; } .concerns a:first-child { grid-column: span 2; grid-row: span 2; min-height: 312px; } .concerns a:first-child h3 { font-size: 2rem; } .concerns a:nth-child(6), .concerns a:nth-child(7) { grid-column: span 2; } }

.bundle { background: var(--brand); color: #E2F3EA; border-radius: 28px; overflow: hidden; display: grid; grid-template-columns: 1fr; }
.bundle__copy { padding: 36px 28px; display: grid; gap: 14px; justify-items: start; align-content: center; }
.bundle__copy h2 { color: #fff; margin: 0; }
.bundle__copy p { margin: 0; max-width: 44ch; }
.bundle__list { display: grid; gap: 10px; width: 100%; }
.bundle__list a { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; background: rgba(255,255,255,.07); border-radius: 16px; padding: 8px 14px 8px 8px; color: #fff; }
.bundle__list a:hover { background: rgba(255,255,255,.13); }
.bundle__list .pimg { border-radius: 12px; }
.bundle__list b { display: block; font-size: .95rem; }
.bundle__list small { color: #A9CFC2; }
.bundle__list s { color: #A9CFC2; font-size: .8rem; display: block; text-align: right; }
.bundle__list strong { color: var(--blue); }
.bundle__art { background: var(--brand-2); padding: 28px; display: grid; align-content: center; }
@media (min-width: 900px) { .bundle { grid-template-columns: 1fr 1fr; } .bundle__copy { padding: 56px; } .bundle__art { padding: 40px; } }

.why { display: grid; gap: 28px; grid-template-columns: 1fr; }
.why__item { display: grid; gap: 10px; align-content: start; border-top: 2px solid var(--brand); padding-top: 18px; }
.why__item .ic { color: var(--brand-text); }
.why__item h3 { margin: 0; }
.why__item p { margin: 0; font-size: .9375rem; }
@media (min-width: 760px) { .why { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .why { grid-template-columns: repeat(4, 1fr); gap: 32px; } }

.acards { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .acards { grid-template-columns: repeat(3, 1fr); } }
.acard { display: grid; gap: 12px; align-content: start; }
.acard__img { border-radius: var(--r-tile); overflow: hidden; aspect-ratio: 16/10; display: block; }
.acard__img .acover { width: 100%; height: 100%; transition: transform .4s; }
.acard:hover .acover { transform: scale(1.03); }
.acard__topic { font-size: .8125rem; font-weight: 700; color: var(--brand-text); margin: 0; }
.acard h3 { margin: 0; font-size: 1.125rem; line-height: 1.3; }
.acard h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.acard p { margin: 0; font-size: .9375rem; color: var(--muted); }
.acard__meta { font-size: .8125rem; color: var(--muted); display: flex; gap: 12px; }

.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 700; color: var(--ink); font-size: 1.0625rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform .2s; }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq details > div { padding: 0 0 20px; max-width: 72ch; }
.split { display: grid; gap: 32px; }
@media (min-width: 900px) { .split { grid-template-columns: 0.8fr 1.2fr; gap: 64px; } }

.services { display: grid; gap: 12px; grid-template-columns: 1fr; }
.split .services { grid-template-columns: 1fr; margin-top: 24px; }
.services a { display: flex; gap: 14px; align-items: center; padding: 20px; border-radius: var(--r-tile); background: var(--pink-soft); font-weight: 700; color: var(--ink); }
.services a:hover { background: var(--blue-soft); }
.services small { display: block; font-weight: 500; color: var(--muted); }
.services .ic { color: var(--brand-text); }
@media (min-width: 760px) { .services { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Newsletter & footer ---------- */
.newsletter { background: var(--blue); padding: 40px 0; }
.newsletter__in { display: grid; gap: 20px; align-items: center; }
.newsletter h2 { margin: 0 0 6px; font-size: 1.5rem; }
.newsletter p { margin: 0; max-width: 52ch; }
.newsletter__form { display: flex; gap: 8px; flex-wrap: wrap; }
.newsletter__form input { flex: 1 1 220px; border-color: transparent; }
@media (min-width: 900px) { .newsletter__in { grid-template-columns: 1fr 1fr; } }
.ftr { background: var(--ink); color: #C9CED6; padding: 56px 0 100px; font-size: .9rem; }
.ftr .logo { color: #fff; margin-bottom: 12px; }
.ftr .logo { color: var(--pink); }
.ftr h3 { color: #fff; font-size: .9375rem; margin-bottom: 14px; }
.ftr ul li { padding: 5px 0; }
.ftr a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ftr__grid { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; }
.ftr__brand { grid-column: 1 / -1; }
.ftr__trust { display: grid; gap: 6px; margin-top: 16px; }
.ftr__trust li, .ftr__contact li { display: flex; gap: 10px; align-items: flex-start; }
.ftr__trust .ic, .ftr__contact .ic { color: var(--pink); margin-top: 3px; }
.ftr__contact { grid-column: 1 / -1; }
@media (min-width: 900px) { .ftr__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr 1.4fr; } .ftr__brand, .ftr__contact { grid-column: auto; } }
.ftr__pay { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); }
.ftr__pay span { font-weight: 700; color: #fff; font-size: .8125rem; }
.ftr__pay ul { display: flex; flex-wrap: wrap; gap: 6px; margin-right: 16px; }
.ftr__pay li { padding: 4px 10px !important; border: 1px solid rgba(255,255,255,.2); border-radius: 6px; font-size: .75rem; font-weight: 700; color: #fff; }
.ftr__legal { margin-top: 24px; font-size: .8125rem; }
.ftr__legal p { margin: 0 0 4px; }

/* ---------- Breadcrumb & page head ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .8125rem; color: var(--muted); padding: 16px 0; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs .ic { opacity: .6; }
.pagehead { padding: 8px 0 24px; }
.pagehead h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); margin: 0 0 6px; }
.pagehead p { margin: 0; color: var(--muted); max-width: 60ch; }

/* ---------- Catalog ---------- */
.catalog { display: grid; gap: 24px; padding-bottom: 64px; }
@media (min-width: 960px) { .catalog { grid-template-columns: 250px 1fr; gap: 40px; } }
.filters__panel { display: grid; gap: 4px; }
.fgroup { border-bottom: 1px solid var(--line); padding: 16px 0; }
.fgroup h3 { font-size: .9375rem; margin-bottom: 10px; }
.fgroup label { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: .9375rem; cursor: pointer; }
.fgroup input { width: 18px; height: 18px; accent-color: var(--brand-text); }
.fgroup .n { margin-left: auto; color: var(--muted); font-size: .8125rem; }
@media (max-width: 959px) {
  #filters { position: fixed; inset: 0; z-index: 60; background: rgba(40,49,59,0); transition: background .2s; }
  #filters.is-open { background: rgba(40,49,59,.45); }
  #filters .drawer__panel { left: 0; transform: translateX(-100%); }
  #filters.is-open .drawer__panel { transform: none; }
}
@media (min-width: 960px) {
  #filters, #filters[hidden] { display: block !important; position: static; inset: auto; background: none; z-index: auto; }
  #filters .drawer__panel { position: static; width: auto; transform: none; background: none; }
  #filters .drawer__head, #filters .drawer__foot { display: none; }
  #filters .drawer__body { padding: 0; overflow: visible; }
  .toolbar__filter { display: none !important; }
}
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.toolbar__left { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.toolbar select { min-height: 42px; border: 1.5px solid var(--line); border-radius: 999px; padding: 0 36px 0 16px; background: #fff; font-weight: 600; font-size: .875rem; }
.activechips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.activechips .chip { background: var(--blue-soft); }
.count { color: var(--muted); font-size: .875rem; }
.catbar { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 16px; }
.catbar a { flex: none; }

/* ---------- Product detail ---------- */
.pdp { display: grid; gap: 32px; padding-bottom: 48px; }
@media (min-width: 960px) { .pdp { grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; } .pdp__media { position: sticky; top: calc(var(--hdr-h) + 16px); } }
.gallery__main { border-radius: 24px; overflow: hidden; aspect-ratio: 1; position: relative; }
.gallery__main .pimg { width: 100%; height: 100%; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; }
.thumbs button { width: 76px; height: 76px; border-radius: 14px; overflow: hidden; border: 2px solid transparent; }
.thumbs button[aria-current="true"] { border-color: var(--brand-text); }
.pdp__info { display: grid; gap: 18px; align-content: start; }
.pdp__info h1 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin: 0; }
.pdp__tag { margin: 0; font-size: 1.0625rem; }
.pdp__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; font-size: .9rem; color: var(--muted); }
.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price strong { font-size: 1.875rem; color: var(--ink); font-weight: 800; letter-spacing: -0.02em; }
.opt { display: grid; gap: 10px; }
.opt__list { display: flex; flex-wrap: wrap; gap: 8px; }
.opt__list label { position: relative; }
.opt__list input { position: absolute; opacity: 0; inset: 0; }
.opt__list span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1.5px solid var(--line); border-radius: 12px; font-weight: 700; font-size: .9rem; cursor: pointer; color: var(--ink); }
.opt__list input:checked + span { border-color: var(--brand-text); background: var(--blue-soft); }
.opt__list input:focus-visible + span { outline: 2.5px solid var(--brand); outline-offset: 2px; }
.opt__list input:disabled + span { color: var(--muted); text-decoration: line-through; cursor: not-allowed; background: var(--pink-soft); }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; height: 48px; }
.qty button { width: 44px; height: 100%; display: grid; place-items: center; color: var(--ink); border-radius: 999px; }
.qty button:disabled { opacity: .35; cursor: not-allowed; }
.qty input { width: 48px; text-align: center; border: 0; outline: 0; font-weight: 700; background: transparent; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty--sm { height: 38px; }
.qty--sm button { width: 34px; }
.qty--sm input { width: 34px; font-size: .875rem; }
.pdp__buy { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.pdp__buy .btn--dark { grid-column: 1 / -1; }
@media (min-width: 560px) { .pdp__buy { grid-template-columns: auto 1fr 1fr; } .pdp__buy .btn--dark { grid-column: auto; } }
.stocknote { font-size: .8125rem; font-weight: 700; color: var(--brand-text); margin: 0; }
.perks { display: grid; gap: 0; border: 1.5px solid var(--line); border-radius: 16px; }
.perks li { display: flex; gap: 12px; padding: 14px 16px; font-size: .875rem; }
.perks li + li { border-top: 1px solid var(--line); }
.perks .ic { color: var(--brand-text); margin-top: 2px; }
.perks b { color: var(--ink); display: block; }
.benefits { display: grid; gap: 8px; }
.benefits li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; color: var(--ink); }
.benefits .ic { color: var(--ok); margin-top: 3px; }
.ptabs { margin-top: 8px; }
.ptabs__list { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.ptabs__list button { padding: 14px 16px; font-weight: 700; color: var(--muted); border-bottom: 2.5px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.ptabs__list button[aria-selected="true"] { color: var(--ink); border-color: var(--brand-text); }
.ptabs__panel { padding: 20px 0; max-width: 72ch; }
.ptabs__panel h3 { margin-top: 8px; }
.inci { font-size: .875rem; color: var(--muted); background: var(--pink-soft); padding: 14px 16px; border-radius: 12px; }
.keying { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.reviews { display: grid; gap: 0; }
.rsum { display: flex; gap: 20px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.rsum strong { font-size: 2.75rem; font-weight: 800; color: var(--ink); letter-spacing: -0.04em; line-height: 1; }
.review { padding: 16px 0; border-bottom: 1px solid var(--line); }
.review header { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: .875rem; margin-bottom: 6px; }
.review header b { color: var(--ink); }
.review p { margin: 0; }
.notfound { padding: 80px 0; text-align: center; display: grid; gap: 12px; justify-items: center; }

/* ---------- Cart ---------- */
.cartpage { display: grid; gap: 32px; padding-bottom: 64px; align-items: start; }
@media (min-width: 960px) { .cartpage { grid-template-columns: 1fr 380px; gap: 48px; } .summary { position: sticky; top: calc(var(--hdr-h) + 16px); } }
.cline { display: grid; grid-template-columns: 88px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cline__img { border-radius: 14px; overflow: hidden; }
.cline__info { display: grid; gap: 4px; min-width: 0; }
.cline__info a.nm { font-weight: 700; color: var(--ink); line-height: 1.3; }
.cline__info .v { color: var(--muted); font-size: .875rem; }
.cline__row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 6px; flex-wrap: wrap; }
.cline__price { font-weight: 800; color: var(--ink); }
.cline__warn { font-size: .8125rem; color: var(--brand-text); font-weight: 700; }
@media (min-width: 640px) { .cline { grid-template-columns: 110px 1fr; } }
.summary { background: var(--pink-soft); border-radius: 24px; padding: 24px; display: grid; gap: 14px; }
.summary h2 { font-size: 1.25rem; margin: 0; }
.sumrow { display: flex; justify-content: space-between; gap: 12px; font-size: .9375rem; }
.sumrow b { color: var(--ink); }
.sumrow--disc b { color: var(--ok); }
.sumrow--total { border-top: 1px solid var(--line); padding-top: 14px; font-size: 1rem; }
.sumrow--total b { font-size: 1.375rem; font-weight: 800; }
.voucherbox { display: grid; gap: 8px; }
.voucherbox form { display: flex; gap: 8px; }
.voucherbox input { text-transform: uppercase; }
.voucherbox .applied { display: flex; justify-content: space-between; align-items: center; background: var(--blue-soft); border: 1.5px dashed var(--brand); padding: 10px 12px; border-radius: 12px; font-weight: 700; color: var(--brand-text); font-size: .875rem; }
.vlist { display: grid; gap: 8px; }
.vlist button { text-align: left; display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; padding: 10px 12px; border-radius: 12px; background: #fff; border: 1.5px solid var(--line); font-size: .8125rem; }
.vlist button:hover { border-color: var(--brand-text); }
.vlist .ic { grid-row: span 2; color: var(--brand-text); align-self: center; }
.vlist b { color: var(--ink); font-size: .875rem; }

/* ---------- Checkout ---------- */
.co { display: grid; gap: 32px; padding-bottom: 64px; align-items: start; }
@media (min-width: 960px) { .co { grid-template-columns: 1fr 400px; gap: 48px; } }
.panel { border: 1.5px solid var(--line); border-radius: 20px; padding: 22px; display: grid; gap: 16px; }
.panel + .panel { margin-top: 16px; }
.panel__h { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.panel__h h2 { font-size: 1.125rem; margin: 0; display: flex; align-items: center; gap: 10px; }
.panel__h h2 .num { width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: .8125rem; }
.choice { display: grid; gap: 10px; }
.choice label { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 12px; align-items: center; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; }
.choice label:has(input:checked) { border-color: var(--brand-text); background: var(--blue-soft); }
.choice label.is-disabled { opacity: .55; cursor: not-allowed; }
.choice input { width: 18px; height: 18px; accent-color: var(--brand-text); }
.choice .t { font-weight: 700; color: var(--ink); font-size: .9375rem; }
.choice .t small { display: block; font-weight: 500; color: var(--muted); font-size: .8125rem; }
.choice .p { font-weight: 800; color: var(--ink); text-align: right; }
.tag { display: inline-block; font-size: .6875rem; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: var(--pink-soft); color: var(--brand-text); margin-left: 6px; vertical-align: 2px; }
.paygroup h3 { font-size: .8125rem; color: var(--muted); margin: 8px 0 8px; }
.cosum__items { display: grid; gap: 12px; }
.cosum__items li { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; font-size: .875rem; }
.cosum__items .im { border-radius: 10px; overflow: hidden; }
.cosum__items b { color: var(--ink); display: block; line-height: 1.3; }
.pointsbox { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; background: #fff; border-radius: 12px; font-size: .875rem; }
.switch { position: relative; width: 46px; height: 26px; flex: none; }
.switch input { opacity: 0; width: 100%; height: 100%; position: absolute; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; background: var(--line); border-radius: 999px; transition: .2s; }
.switch span::after { content: ''; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: .2s; }
.switch input:checked + span { background: var(--brand); }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:disabled + span { opacity: .5; }
.addrcard { padding: 14px 16px; border-radius: 14px; background: var(--pink-soft); font-size: .9rem; }
.addrcard b { color: var(--ink); }

/* ---------- Order page ---------- */
.order { display: grid; gap: 24px; padding-bottom: 64px; }
@media (min-width: 960px) { .order { grid-template-columns: 1fr 380px; gap: 40px; align-items: start; } }
.paybox { background: var(--ink); color: #DDE2E8; border-radius: 24px; padding: 28px; display: grid; gap: 14px; }
.paybox h2 { color: #fff; margin: 0; font-size: 1.375rem; }
.paybox .amount { font-size: 2.25rem; font-weight: 800; color: #fff; letter-spacing: -0.03em; line-height: 1; }
.paybox .va { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: rgba(255,255,255,.08); border-radius: 14px; padding: 14px 16px; }
.paybox .va b { color: #fff; font-size: 1.25rem; letter-spacing: .06em; }
.paybox .btn--light { justify-self: start; }
.paybox ol { margin: 0; padding-left: 20px; font-size: .9rem; }
.paybox .linkbtn { color: var(--blue); }
.paybox .countdown { color: var(--pink); }
.qrfake { width: 180px; height: 180px; background: #fff; border-radius: 14px; padding: 12px; }
.countdown { font-weight: 800; color: var(--brand-text); font-variant-numeric: tabular-nums; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.steps li { display: grid; gap: 8px; justify-items: center; text-align: center; font-size: .75rem; font-weight: 600; color: var(--muted); position: relative; }
.steps li::before { content: ''; position: absolute; top: 15px; left: -50%; right: 50%; height: 2px; background: var(--line); z-index: 0; }
.steps li:first-child::before { display: none; }
.steps .dot { width: 32px; height: 32px; border-radius: 50%; background: var(--pink-soft); border: 2px solid var(--line); display: grid; place-items: center; position: relative; z-index: 1; color: var(--muted); }
.steps li.is-done { color: var(--ink); }
.steps li.is-done .dot { background: var(--brand); border-color: var(--brand-text); color: #fff; }
.steps li.is-done::before { background: var(--brand); }
.steps li.is-now .dot { border-color: var(--brand-text); color: var(--brand-text); background: #fff; }
.statuspill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: .75rem; font-weight: 800; background: var(--pink-soft); color: var(--ink); }
.statuspill--menunggu-pembayaran { background: #FFF1DA; color: #8A5A00; }
.statuspill--dibayar, .statuspill--diproses { background: #E5EEFB; color: #24518F; }
.statuspill--dikirim { background: var(--blue); color: var(--ink); }
.statuspill--selesai { background: var(--brand); color: #fff; }
.statuspill--dibatalkan { background: #FBE7EA; color: var(--err); }
.timeline { display: grid; gap: 10px; font-size: .875rem; }
.timeline li { display: flex; justify-content: space-between; gap: 12px; }
.success { text-align: center; display: grid; justify-items: center; gap: 8px; padding: 12px 0 8px; }
.success .ok { width: 64px; height: 64px; border-radius: 50%; background: var(--blue); color: var(--brand-text); display: grid; place-items: center; }

/* ---------- Auth ---------- */
.auth { display: grid; min-height: calc(100vh - 100px); }
@media (min-width: 960px) { .auth { grid-template-columns: 1fr 1fr; } }
.auth__art { display: none; background: linear-gradient(140deg, var(--pink) 0%, var(--pink-soft) 45%, var(--blue) 100%); color: var(--ink); padding: 56px; position: relative; overflow: hidden; }
.auth__art h2 { color: var(--ink); font-size: clamp(2rem, 3.4vw, 3rem); max-width: 14ch; }
.auth__art ul { display: grid; gap: 12px; margin-top: 24px; }
.auth__art li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.auth__art li .ic { color: var(--brand-text); }
.auth__art .shelf { position: absolute; right: 56px; bottom: 56px; display: flex; gap: 16px; }
.auth__art .shelf > div { width: 190px; border-radius: 24px; overflow: hidden; transform: rotate(-4deg); }
.auth__art .shelf > div:nth-child(2) { transform: rotate(5deg) translateY(-28px); }
@media (min-width: 960px) { .auth__art { display: block; } }
.auth__form { display: grid; place-items: center; padding: 40px 16px 64px; }
.auth__box { width: min(440px, 100%); display: grid; gap: 18px; }
.auth__box h1 { font-size: 2rem; margin: 0; }
.auth__box > p { margin: 0; color: var(--muted); }
.auth__alt { text-align: center; font-size: .9rem; }
.auth__alt a { color: var(--brand-text); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.demo-note { font-size: .8125rem; background: var(--pink-soft); padding: 10px 14px; border-radius: 12px; color: var(--muted); }

/* ---------- Account ---------- */
.acct { display: grid; gap: 24px; padding: 8px 0 64px; align-items: start; }
@media (min-width: 960px) { .acct { grid-template-columns: 260px 1fr; gap: 40px; } .acct__side { position: sticky; top: calc(var(--hdr-h) + 16px); } }
.acct__hello { display: flex; gap: 14px; align-items: center; padding: 18px; background: var(--pink-soft); border-radius: 20px; margin-bottom: 12px; }
.avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--pink); color: var(--brand-2); display: grid; place-items: center; font-weight: 800; font-size: 1.25rem; flex: none; }
.acct__hello b { color: var(--ink); display: block; }
.acct__hello small { color: var(--muted); }
.acct__nav { display: flex; gap: 6px; overflow-x: auto; }
.acct__nav a, .acct__nav button { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; font-weight: 700; color: var(--text); white-space: nowrap; font-size: .9rem; }
.acct__nav a[aria-current="page"] { background: var(--brand); color: #fff; }
.acct__nav a:hover:not([aria-current]) { background: var(--pink-soft); }
@media (min-width: 960px) { .acct__nav { flex-direction: column; } .acct__nav a, .acct__nav button { padding: 12px 14px; } }
.acct__main h1 { font-size: 1.75rem; margin-bottom: 18px; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 28px; }
.stat { background: var(--pink-soft); border-radius: 18px; padding: 18px; display: grid; gap: 4px; }
.stat b { font-size: 1.5rem; color: var(--ink); font-weight: 800; letter-spacing: -0.02em; }
.stat span { font-size: .8125rem; color: var(--muted); font-weight: 600; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.ocard { border: 1.5px solid var(--line); border-radius: 18px; padding: 16px 18px; display: grid; gap: 12px; }
.ocard + .ocard { margin-top: 12px; }
.ocard__h { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: center; font-size: .8125rem; color: var(--muted); }
.ocard__h b { color: var(--ink); font-size: .9rem; }
.ocard__items { display: flex; gap: 10px; align-items: center; }
.ocard__items .im { width: 56px; height: 56px; border-radius: 10px; overflow: hidden; flex: none; }
.ocard__items .more { font-size: .8125rem; color: var(--muted); font-weight: 700; }
.ocard__f { display: flex; justify-content: space-between; gap: 10px; align-items: center; flex-wrap: wrap; }
.ocard__f b { color: var(--ink); }
.pointcard { background: linear-gradient(135deg, var(--pink) 0%, var(--blue) 100%); color: var(--ink); border-radius: 24px; padding: 24px; display: grid; gap: 14px; margin-bottom: 24px; position: relative; overflow: hidden; }
.pointcard::after { content: ''; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; border: 30px solid rgba(255,255,255,.35); }
.pointcard .big { font-family: var(--font-head); font-size: 2.75rem; font-weight: 800; color: var(--ink); letter-spacing: -0.04em; line-height: 1; }
.tierbar { height: 8px; border-radius: 999px; background: rgba(255,255,255,.6); overflow: hidden; }
.tierbar i { display: block; height: 100%; background: var(--brand); border-radius: 999px; }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 24px; }
.tiers div { border: 1.5px solid var(--line); border-radius: 16px; padding: 14px; font-size: .8125rem; }
.tiers div.is-on { border-color: var(--brand-text); background: var(--blue-soft); }
.tiers b { display: block; color: var(--ink); font-size: .95rem; }
.ptable { width: 100%; border-collapse: collapse; font-size: .875rem; }
.ptable td { padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.ptable td:last-child { text-align: right; font-weight: 800; white-space: nowrap; }
.plus { color: var(--ok); }
.minus { color: var(--err); }
.chat { border: 1.5px solid var(--line); border-radius: 20px; display: grid; grid-template-rows: auto 1fr auto; height: min(640px, calc(100vh - 220px)); min-height: 440px; overflow: hidden; }
.chat__h { display: flex; gap: 12px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.chat__h .avatar { width: 40px; height: 40px; font-size: 1rem; }
.chat__h b { color: var(--ink); display: block; line-height: 1.2; }
.chat__h small { color: var(--ok); font-weight: 600; }
.chat__h a { margin-left: auto; }
.chat__log { overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; background: var(--pink-soft); }
.bubble { max-width: 80%; padding: 10px 14px; border-radius: 18px; font-size: .9rem; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.bubble small { display: block; font-size: .6875rem; opacity: .65; margin-top: 4px; }
.bubble--cs { background: #fff; color: var(--ink); border-bottom-left-radius: 6px; align-self: flex-start; }
.bubble--user { background: var(--brand); color: #fff; border-bottom-right-radius: 6px; align-self: flex-end; }
.chat__quick { display: flex; gap: 6px; overflow-x: auto; padding: 10px 14px 0; }
.chat__quick .chip { flex: none; font-size: .8125rem; background: #fff; border-color: var(--line); }
.chat__f { padding: 10px 14px 14px; border-top: 1px solid var(--line); background: #fff; }
.chat__f form { display: flex; gap: 8px; }
.chat__f input { flex: 1; }
.addrlist { display: grid; gap: 10px; }
.addrlist li { display: flex; justify-content: space-between; gap: 12px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 14px; font-size: .9rem; }
.addrlist b { color: var(--ink); }
.formgrid { display: grid; gap: 16px; max-width: 640px; }

/* ---------- Article ---------- */
.ahead { padding: 8px 0 28px; display: grid; gap: 16px; max-width: 820px; }
.ahead h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); margin: 0; }
.ahead .lede { font-size: 1.1875rem; color: var(--text); margin: 0; max-width: 60ch; }
.ameta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .875rem; color: var(--muted); }
.ameta b { color: var(--ink); }
.acoverwrap { border-radius: 28px; overflow: hidden; aspect-ratio: 16/8; margin-bottom: 40px; }
.acoverwrap .acover { width: 100%; height: 100%; }
.alayout { display: grid; gap: 40px; padding-bottom: 64px; }
@media (min-width: 1000px) { .alayout { grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; } .aside { position: sticky; top: calc(var(--hdr-h) + 16px); align-self: start; } }
.prose { max-width: 68ch; font-size: 1.0625rem; line-height: 1.75; }
.prose h2 { font-size: 1.625rem; margin: 2em 0 .6em; }
.prose h3 { font-size: 1.25rem; margin: 1.6em 0 .5em; }
.prose p { margin: 0 0 1.1em; }
.prose ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1.1em; }
.prose a { color: var(--brand-text); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.keypoints { background: var(--blue-soft); border-radius: 20px; padding: 22px 24px; margin-bottom: 28px; }
.keypoints h2 { font-size: 1.125rem; margin: 0 0 12px; }
.keypoints ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.keypoints li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 1rem; line-height: 1.55; }
.keypoints .ic { color: var(--brand-text); margin-top: 3px; }
.disclaimer { font-size: .875rem; color: var(--muted); border-left: 3px solid var(--line); padding-left: 14px; margin-top: 32px; }
.aside h2 { font-size: 1.125rem; }
.aside .minirel { display: grid; gap: 12px; }
.aside .minirel a { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center; }
.aside .minirel .im { border-radius: 12px; overflow: hidden; }
.aside .minirel b { display: block; color: var(--ink); font-size: .9rem; line-height: 1.3; }
.aside .minirel small { color: var(--muted); font-weight: 700; }
.aside .toc { margin-bottom: 28px; display: grid; gap: 6px; font-size: .9rem; }
.aside .toc a { color: var(--text); }
.aside .toc a:hover { color: var(--brand-text); text-decoration: underline; }
.share { display: flex; gap: 8px; margin-top: 24px; flex-wrap: wrap; }
.artfilters { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.artfilters input { max-width: 320px; }
.afeat { display: grid; gap: 24px; margin-bottom: 48px; align-items: center; }
.afeat .acard__img { aspect-ratio: 16/9; }
.afeat h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); margin: 0; }
.afeat h2 a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 900px) { .afeat { grid-template-columns: 1.3fr 1fr; gap: 48px; } }

/* ---------- Static pages ---------- */
.helpnav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.helpsec { scroll-margin-top: calc(var(--hdr-h) + 24px); padding-bottom: 24px; }
.tbl { width: 100%; border-collapse: collapse; font-size: .9375rem; margin-bottom: 1.2em; }
.tbl th, .tbl td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.tbl th { color: var(--ink); background: var(--pink-soft); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* grid children may shrink below content width (prevents horizontal overflow on mobile) */
.pdp > *, .pdp__info > *, .catalog > *, .cartpage > *, .co > *, .order > *, .acct > *, .alayout > * { min-width: 0; }
.pdp__buy .btn { padding: 0 14px; white-space: normal; line-height: 1.2; text-align: center; }

.field__err:empty { display: none; }
.summary .addrcard { background: #fff; }
.ahead > .chip, .afeat .chip { justify-self: start; }
.switch input:focus-visible + span { outline: 2.5px solid var(--brand); outline-offset: 2px; }

/* ---------- Glamazing additions ---------- */
.sec--blue { background: var(--blue-soft); }
.pcard__desc { margin: 0; font-size: .8125rem; color: var(--muted); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard__cat { color: var(--brand-text); }
.newsletter { background: var(--blue); }
.newsletter__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.newsletter__cta .btn--line { background: #fff; }
.ftr__social { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); }
.ftr__social > span { font-weight: 700; color: #fff; font-size: .875rem; }
.ftr__socials { display: flex; flex-wrap: wrap; gap: 8px; }
.ftr__socials a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; color: #fff; font-size: .8125rem; font-weight: 600; }
.ftr__socials a:hover { background: rgba(255,255,255,.08); text-decoration: none; }
.ftr__legal a { margin-right: 14px; }
.mega__list--dots i { border-color: rgba(40,49,59,.08); }
.pimg { background: var(--pink-soft); }
img.pimg { width: 100%; height: 100%; object-fit: cover; }

/* collections */
.colgrid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .colgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .colgrid { grid-template-columns: repeat(5, 1fr); } }
.colcard { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; padding: 12px; border-radius: var(--r-tile); background: #fff; border: 1.5px solid var(--line); transition: border-color .15s; }
.colcard:hover { border-color: var(--brand-text); }
.colcard__img { border-radius: 16px; overflow: hidden; aspect-ratio: 1; display: block; }
.colcard__body { display: grid; gap: 4px; font-size: .8125rem; color: var(--muted); line-height: 1.45; }
.colcard__body b { font-family: var(--font-head); font-size: 1.0625rem; color: var(--ink); }
.colcard__more { display: inline-flex; align-items: center; gap: 4px; color: var(--brand-text); font-weight: 700; }
@media (min-width: 1100px) { .colcard { grid-template-columns: 1fr; align-content: start; } }
/* spotlight */
.spotlight { display: grid; gap: 28px; padding: 28px; border-radius: 28px; background: linear-gradient(135deg, var(--pink) 0%, var(--pink-soft) 55%, var(--blue-soft) 100%); align-items: center; }
.spotlight__copy { display: grid; gap: 14px; justify-items: start; }
.spotlight__copy h2, .spotlight__copy p { margin: 0; }
.spotlight__items { display: grid; gap: 14px; }
.spot { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: center; padding: 12px; background: #fff; border-radius: 20px; }
.spot__img { border-radius: 14px; overflow: hidden; aspect-ratio: 1; display: block; }
.spot__body { display: grid; gap: 8px; font-size: .875rem; }
.spot__body b { font-family: var(--font-head); color: var(--ink); font-size: 1rem; line-height: 1.3; }
.spot__body .chip { font-size: .75rem; padding: 4px 10px; background: var(--pink-soft); }
.spot__meta { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.spot__meta strong { color: var(--ink); }
.spot__meta small { color: var(--muted); }
@media (min-width: 900px) { .spotlight { grid-template-columns: 1fr 1.1fr; padding: 48px; gap: 48px; } }
/* ingredients */
.ingredients { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .ingredients { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .ingredients { grid-template-columns: repeat(4, 1fr); } }
.ingcard { display: grid; gap: 8px; align-content: start; padding: 22px; border-radius: var(--r-tile); background: #fff; border: 1.5px solid var(--line); }
.ingcard h3, .ingcard p { margin: 0; }
.ingcard p { font-size: .9375rem; }
.ingcard__h { font-size: .8125rem !important; color: var(--muted); font-weight: 700; margin-top: 6px !important; }
.ingcard ul { display: grid; gap: 4px; font-size: .875rem; margin-bottom: 6px; }
.ingcard ul a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--pink); text-underline-offset: 3px; }
.ingcard .linkbtn { justify-self: start; margin-top: auto; }
/* community */
.community { display: grid; gap: 28px; align-items: center; }
.community > div { display: grid; gap: 12px; justify-items: start; }
.community h2, .community p { margin: 0; }
.community__links { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.community__links a { display: flex; gap: 12px; align-items: center; padding: 16px; border-radius: 18px; background: var(--blue-soft); color: var(--ink); }
.community__links a:hover { background: var(--blue); }
.community__links .ic { color: var(--brand-text); }
.community__links b { display: block; }
.community__links small { color: var(--muted); }
@media (min-width: 900px) { .community { grid-template-columns: 0.9fr 1.1fr; gap: 56px; } }
@media (min-width: 760px) {
  .concerns { grid-template-columns: repeat(3, 1fr); }
  .concerns a:first-child, .concerns a:nth-child(6), .concerns a:nth-child(7) { grid-column: auto; grid-row: auto; min-height: 148px; }
  .concerns a:first-child h3 { font-size: 1.125rem; }
}

/* header: jangan meluber di HP walau nama user panjang */
.hdr__burger { flex: none; }
.hdr__actions { flex: none; }
.hdr .logo { min-width: 0; }
@media (max-width: 559px) {
  .hdr__acctname { display: none; }
  .hdr__acct { padding: 0; min-width: 44px; }
  .hdr .logo { font-size: 1.3rem; }
  .hdr__in { gap: 4px; }
}
@media (min-width: 560px) { .hdr__acctname { max-width: 9ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } }
.btn--line { border-color: var(--brand); }
.spotlight .linkbtn { color: var(--ink); }
