
:root {
  --bg: #edf5ef;
  --orb1: rgba(110, 196, 150, .55);
  --orb2: rgba(170, 214, 190, .55);
  --orb3: rgba(255, 180, 205, .40);
  --ink: #14281d;
  --muted: #4d6556;
  --glass: rgba(255, 255, 255, .55);
  --glass-strong: rgba(255, 255, 255, .78);
  --glass-edge: rgba(255, 255, 255, .85);
  --glass-hi: rgba(255, 255, 255, .9);
  --shadow: rgba(30, 90, 60, .18);
  --accent: #1f6b4a;
  --accent-ink: #ffffff;
  --accent-soft: rgba(31, 107, 74, .12);
  --rose: #b82a63;
  --rose-soft: rgba(184, 42, 99, .10);
  --shopee: #d9421f;
  --star: #e8a317;
  --line: rgba(20, 40, 29, .12);
  --font-display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 22px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d1a13;
    --orb1: rgba(46, 140, 96, .45);
    --orb2: rgba(30, 90, 70, .55);
    --orb3: rgba(200, 70, 120, .22);
    --ink: #eaf6ee;
    --muted: #a9c2b2;
    --glass: rgba(255, 255, 255, .07);
    --glass-strong: rgba(18, 38, 28, .82);
    --glass-edge: rgba(255, 255, 255, .16);
    --glass-hi: rgba(255, 255, 255, .2);
    --shadow: rgba(0, 0, 0, .45);
    --accent: #6fd3a1;
    --accent-ink: #0b1f15;
    --accent-soft: rgba(111, 211, 161, .16);
    --rose: #ff8fb5;
    --rose-soft: rgba(255, 143, 181, .14);
    --shopee: #ff7a59;
    --line: rgba(255, 255, 255, .14);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0d1a13;
  --orb1: rgba(46, 140, 96, .45);
  --orb2: rgba(30, 90, 70, .55);
  --orb3: rgba(200, 70, 120, .22);
  --ink: #eaf6ee;
  --muted: #a9c2b2;
  --glass: rgba(255, 255, 255, .07);
  --glass-strong: rgba(18, 38, 28, .82);
  --glass-edge: rgba(255, 255, 255, .16);
  --glass-hi: rgba(255, 255, 255, .2);
  --shadow: rgba(0, 0, 0, .45);
  --accent: #6fd3a1;
  --accent-ink: #0b1f15;
  --accent-soft: rgba(111, 211, 161, .16);
  --rose: #ff8fb5;
  --rose-soft: rgba(255, 143, 181, .14);
  --shopee: #ff7a59;
  --line: rgba(255, 255, 255, .14);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    radial-gradient(620px 520px at 6% 4%, var(--orb1), transparent 70%),
    radial-gradient(720px 620px at 96% 26%, var(--orb2), transparent 70%),
    radial-gradient(760px 640px at 24% 100%, var(--orb3), transparent 70%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
section { padding-block: 56px; scroll-margin-top: 84px; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: 600 .95rem/1 var(--font-body);
  padding: .8rem 1.25rem; border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 22px var(--accent-soft); }
.btn-shopee { background: var(--shopee); color: #fff; }
:root[data-theme="dark"] .btn-shopee { color: #2a0d05; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-shopee { color: #2a0d05; } }
.btn-glass { background: var(--glass); color: var(--ink); border-color: var(--glass-edge); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.btn-lg { padding: 1rem 1.6rem; font-size: 1rem; }
.btn-sm { padding: .6rem .95rem; font-size: .85rem; }

/* ---- glass ---- */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-edge);
  border-radius: var(--r);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 12px 40px var(--shadow), inset 0 1px 0 var(--glass-hi);
}

/* ---- navbar ---- */
.nav-wrap { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 100; padding-block: 12px; }
.navbar.glass { padding: 10px 14px 10px 20px; border-radius: 26px; }
.brand { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -.02em; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 26px; height: 26px; border-radius: 50% 50% 50% 8px; background: linear-gradient(140deg, var(--accent), var(--rose)); transform: rotate(-12deg); box-shadow: 0 0 14px var(--accent-soft); }
.navbar-toggler { width: 44px; height: 44px; border-radius: 14px; border: 1px solid var(--glass-edge); background: var(--glass); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.navbar-nav { list-style: none; margin: 0; padding: 8px 0 4px; display: flex; flex-direction: column; gap: 2px; }
.nav-link { display: block; padding: .6rem .9rem; border-radius: 12px; text-decoration: none; font-weight: 500; }
.nav-link:hover { background: var(--accent-soft); }
.nav-cta { margin-top: 8px; }
@media (min-width: 992px) {
  .navbar-nav { flex-direction: row; padding: 0; }
  .nav-cta { margin: 0 0 0 6px; }
}

/* ---- hero ---- */
.hero { padding-top: 28px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }
.hero h1 { font-size: clamp(2.2rem, 7vw, 3.7rem); margin-block: 14px 16px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: .5rem .9rem; border-radius: 999px; font-size: .85rem; font-weight: 500; background: var(--glass); border: 1px solid var(--glass-edge); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.chip svg { width: 16px; height: 16px; color: var(--accent); flex: none; }
.hero-photo { position: relative; padding: 10px; }
.hero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: calc(var(--r) - 8px); }
.float { position: absolute; left: 26px; bottom: 26px; display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 12px; border-radius: 18px; background: var(--glass-strong); border: 1px solid var(--glass-edge); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 10px 30px var(--shadow); }
.float b { font: 700 1.7rem/1 var(--font-display); }
.float span { font-size: .8rem; line-height: 1.3; color: var(--muted); }
.stars { color: var(--star); letter-spacing: 2px; }

/* ---- section heads ---- */
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.sec-head h2 { font-size: clamp(1.7rem, 4.5vw, 2.5rem); }
.sec-head p { color: var(--muted); margin-top: 8px; max-width: 52ch; }

/* ---- filter ---- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { font: 600 .88rem/1 var(--font-body); padding: .65rem 1rem; border-radius: 999px; cursor: pointer; color: var(--ink); background: var(--glass); border: 1px solid var(--glass-edge); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.filter[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: transparent; }

/* ---- product card ---- */
.product { height: 100%; padding: 10px; display: flex; flex-direction: column; gap: 12px; text-align: left; cursor: pointer; font: inherit; color: inherit; width: 100%; transition: transform .2s ease, box-shadow .2s ease; }
.product:hover { transform: translateY(-4px); box-shadow: 0 18px 50px var(--shadow), inset 0 1px 0 var(--glass-hi); }
.product-art { position: relative; border-radius: 15px; overflow: hidden; aspect-ratio: 1 / 1; background: var(--glass-strong); }
.product-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tag-pill { position: absolute; top: 8px; left: 8px; font-size: .72rem; font-weight: 600; padding: .25rem .6rem; border-radius: 999px; background: var(--rose); color: #fff; }
:root[data-theme="dark"] .tag-pill { color: #2a0715; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tag-pill { color: #2a0715; } }
.product-body { display: flex; flex-direction: column; gap: 3px; padding: 0 6px 6px; flex: 1; }
.cat { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.product h3 { font-size: 1.05rem; }
.size { font-size: .85rem; color: var(--muted); }
.price { margin-top: auto; padding-top: 6px; font-weight: 600; font-variant-numeric: tabular-nums; }
.product-col[hidden] { display: none !important; }
.price-note { margin-top: 18px; color: var(--muted); font-size: .88rem; }

/* ---- sumber ulasan + tombol Tokopedia ---- */
.src { align-self: flex-start; font-size: .72rem; font-weight: 600; padding: .25rem .65rem; border-radius: 999px; }
.src-shopee { background: var(--shopee); color: #fff; }
:root[data-theme="dark"] .src-shopee { color: #2a0d05; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .src-shopee { color: #2a0d05; } }
.src-toped { background: var(--accent); color: var(--accent-ink); }
.btn-toped { background: var(--glass-strong); color: var(--accent); border-color: var(--accent); }
.rating .note { font-size: .88rem; color: var(--muted); }

/* ---- ulasan ---- */
.rating { height: 100%; padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.rating .score { display: flex; align-items: baseline; gap: 12px; }
.rating .score b { font: 700 3.4rem/1 var(--font-display); letter-spacing: -.03em; }
.rating .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.rating .tags span { font-size: .8rem; padding: .3rem .7rem; border-radius: 999px; border: 1px solid var(--line); }
.quote { height: 100%; padding: 26px; display: flex; flex-direction: column; gap: 14px; margin: 0; }
.quote blockquote { margin: 0; font-size: 1.02rem; }
.who { margin-top: auto; display: flex; align-items: center; gap: 12px; font-size: .9rem; }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: var(--rose-soft); color: var(--rose); flex: none; }
.who small { display: block; color: var(--muted); }

/* ---- kontak ---- */
.contact-card, .form-card { padding: 28px; height: 100%; }
.contact-card h3, .form-card h3 { font-size: 1.4rem; margin-bottom: 6px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.info { display: flex; flex-direction: column; gap: 18px; margin-top: 24px; }
.info-row { display: flex; gap: 14px; align-items: flex-start; }
.info-ic { width: 40px; height: 40px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.info-ic svg { width: 20px; height: 20px; }
.info-row b { display: block; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.info-row div { min-width: 0; overflow-wrap: anywhere; }
.num { font-variant-numeric: tabular-nums; font-weight: 600; }
.copy { margin-left: 8px; font: 600 .78rem/1 var(--font-body); padding: .35rem .65rem; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
.steps { margin: 4px 0 0; padding-left: 1.2rem; display: grid; gap: 4px; }
.link { color: var(--accent); font-weight: 600; }

label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; }
.form-control, .form-select {
  width: 100%; font: inherit; color: var(--ink); padding: .8rem 1rem; border-radius: 14px;
  background: var(--glass-strong); border: 1px solid var(--glass-edge); outline: none;
}
.form-control::placeholder { color: var(--muted); }
.form-control:focus, .form-select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
textarea.form-control { min-height: 110px; resize: vertical; }
.field { margin-top: 16px; }
.form-out { margin-top: 18px; padding: 16px; border-radius: 16px; background: var(--accent-soft); font-size: .92rem; }
.form-out .btn { margin-top: 12px; }
.hint { color: var(--muted); font-size: .85rem; margin-top: 14px; }

/* ---- modal ---- */
.pm { padding: 22px; position: relative; background: var(--glass-strong); }
.pm-photo { border-radius: 16px; overflow: hidden; }
.pm-photo img { display: block; width: 100%; max-height: 300px; aspect-ratio: 1 / 1; object-fit: cover; }
.pm h3 { font-size: 1.5rem; margin-block: 14px 4px; }
.pm .pm-price { font-size: 1.15rem; }
.pm dl { margin: 16px 0 0; display: grid; gap: 12px; }
.pm dt { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pm dd { margin: 2px 0 0; }
.pm-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.btn-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--glass-edge); background: var(--glass-strong); color: var(--ink); cursor: pointer; font-size: 1.1rem; line-height: 1; }

footer { padding-block: 36px 48px; color: var(--muted); font-size: .88rem; }
footer .glass { padding: 18px 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-radius: 20px; }

@media (max-width: 575px) {
  section { padding-block: 40px; }
  .contact-card, .form-card, .rating, .quote { padding: 22px; }
  .float { left: 20px; bottom: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
