/* =========================================================
   BAGINA — Design System v2 · "Pop Grosir"
   Gaya: neo-brutalism pop (garis tebal, shadow tegas, palet kalem)
   Font: Bricolage Grotesque (display) + Plus Jakarta Sans (body)
   Font dimuat lewat <link> di <head> tiap halaman.
   ========================================================= */

:root {
  /* Permukaan */
  --bg: #f7f6f1;
  --bg-alt: #ebeefc; /* periwinkle sangat muda */
  --surface: #ffffff;
  --border: #e3e3ea;
  --stroke: #1f2340; /* navy gelap, lebih lembut dari hitam */

  /* Teks */
  --ink: #1f2340;
  --ink-rgb: 31, 35, 64;
  --ink-soft: #4d5170;
  --ink-faint: #8185a0;

  /* Warna merek — kalem tapi hidup */
  --primary: #4b5ce0; /* biru periwinkle */
  --primary-rgb: 75, 92, 224;
  --primary-dark: #3443b8;
  --primary-tint: #e5e9fd;

  --accent: #d2ef7c; /* lime muda segar */
  --accent-rgb: 210, 239, 124;
  --accent-dark: #b4d65a;
  --accent-tint: #f3fbdd;

  --pink: #ffb7a3; /* peach-koral */
  --pink-tint: #ffede7;
  --mint: #2fb872;
  --mint-tint: #ddf5e8;
  --yellow: #ffdf86; /* kuning butter */
  --yellow-tint: #fff6d9;
  --orange: #ffc39b;
  --wa: #3dcb80;

  /* Bentuk */
  --radius-s: 12px;
  --radius-m: 20px;
  --radius-l: 28px;
  --radius-xl: 40px;

  --shadow-sm:
    0 1px 2px rgba(var(--ink-rgb), 0.06), 0 1px 1px rgba(var(--ink-rgb), 0.04);
  --shadow-md: 0 14px 34px rgba(var(--ink-rgb), 0.1);
  --shadow-lg: 0 28px 60px rgba(var(--ink-rgb), 0.16);
  --hard: 4px 4px 0 var(--stroke);
  --hard-lg: 6px 6px 0 var(--stroke);

  --font-display:
    "Bricolage Grotesque", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body:
    "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1200px;
  --gutter: 24px;
  --ease-pop: cubic-bezier(0.2, 0.8, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* cegah geser horizontal karena 1 elemen overflow */
}

::selection {
  background: var(--accent);
  color: var(--ink);
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.05;
  margin: 0 0 0.5em;
  letter-spacing: -0.03em;
  font-weight: 800;
}
h3,
h4,
h5 {
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 700;
}

p {
  margin: 0 0 1em;
  color: var(--ink-soft);
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
button {
  font-family: inherit;
  cursor: pointer;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section {
  padding: 96px 0;
}
@media (max-width: 720px) {
  section {
    padding: 64px 0;
  }
}

/* Section berbentuk kartu besar (sudut membulat, sedikit masuk dari tepi) */
.section-round {
  margin: 0 12px;
  border-radius: var(--radius-xl);
}
@media (max-width: 560px) {
  .section-round {
    margin: 0 8px;
    border-radius: var(--radius-l);
  }
}

/* Stabilo highlight untuk kata penting di judul */
.hl {
  background: linear-gradient(
    transparent 58%,
    var(--accent) 58%,
    var(--accent) 92%,
    transparent 92%
  );
  padding: 0 0.06em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.section-head {
  max-width: 680px;
  margin-bottom: 44px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head.center p {
  margin-left: auto;
  margin-right: auto;
}
.section-head h2 {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  letter-spacing: -0.04em;
  line-height: 1;
}
.section-head p {
  font-size: 1.08rem;
  margin-bottom: 0;
  max-width: 52ch;
}

.pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  color: var(--ink);
  border: 2px solid var(--stroke);
  box-shadow: 3px 3px 0 var(--stroke);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.pill-tag svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.97rem;
  line-height: 1.2;
  border: 2px solid var(--stroke);
  transition:
    transform 0.18s var(--ease-pop),
    box-shadow 0.18s var(--ease-pop),
    background-color 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
  white-space: nowrap;
}
.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--hard);
}
.btn:active {
  transform: translate(0, 0);
  box-shadow: none;
}
.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-accent {
  background: var(--accent);
  color: var(--ink);
}
.btn-accent:hover {
  background: var(--accent);
}

.btn-primary {
  background: var(--ink);
  color: #fff;
}
.btn-primary:hover {
  background: var(--ink);
  box-shadow: 4px 4px 0 var(--primary);
}

.btn-ghost {
  background: var(--surface);
  color: var(--ink);
}
.btn-ghost:hover {
  background: var(--surface);
}

.btn-block {
  width: 100%;
}
.btn-sm {
  padding: 9px 16px;
  font-size: 0.88rem;
}
.btn-lg {
  padding: 16px 28px;
  font-size: 1.02rem;
}

/* ---------- Navbar (floating pill) ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px var(--gutter);
}
.navbar .container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 66px;
  max-width: calc(var(--container) - 2 * var(--gutter));
  padding: 0 10px 0 22px;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border: 2px solid var(--stroke);
  border-radius: 999px;
  box-shadow: var(--hard);
  transition: box-shadow 0.2s ease;
}
.navbar.scrolled .container {
  box-shadow: var(--hard), 0 16px 34px rgba(var(--ink-rgb), 0.12);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.logo .dot {
  width: 15px;
  height: 15px;
  border-radius: 5px;
  background: var(--accent);
  border: 2px solid var(--stroke);
  display: inline-block;
  transform: rotate(14deg);
  transition: transform 0.4s var(--ease-pop);
}
.logo:hover .dot {
  transform: rotate(194deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-soft);
  padding: 8px 16px;
  border-radius: 999px;
  transition:
    color 0.15s ease,
    background-color 0.15s ease;
}
.nav-links a:hover {
  color: var(--ink);
  background: var(--primary-tint);
}
.nav-links a.active {
  color: #fff;
  background: var(--ink);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-right .btn-sm:hover {
  box-shadow: 3px 3px 0 var(--stroke);
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--stroke);
  background: var(--surface);
  color: var(--ink);
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-toggle svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 860px) {
  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: var(--surface);
    border: 2px solid var(--stroke);
    border-radius: 24px;
    box-shadow: var(--hard);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px;
    display: none;
  }
  .nav-links.open {
    display: flex;
    animation: dropIn 0.22s var(--ease-pop);
  }
  .nav-links a {
    padding: 14px 18px;
    font-size: 1.05rem;
    border-radius: 16px;
  }
  .nav-toggle {
    display: flex;
    order: 3;
  }
  .nav-right {
    margin-left: auto;
    gap: 8px;
  }
  .nav-right .btn-accent span.long {
    display: none;
  }
  .nav-right .btn-sm {
    width: 44px;
    height: 44px;
    padding: 0;
  }
}
@keyframes dropIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Hero (editorial + bento) ---------- */
.hero {
  position: relative;
  padding: 36px 0 32px;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(
    rgba(var(--ink-rgb), 0.12) 1.2px,
    transparent 1.2px
  );
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(to bottom, #000 10%, transparent 60%);
  mask-image: linear-gradient(to bottom, #000 10%, transparent 60%);
}
.hero h1 {
  font-size: clamp(2.6rem, 6.4vw, 5.8rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
  max-width: 17ch;
  margin-bottom: 0;
}
.hero-sub {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 40px;
  flex-wrap: wrap;
  margin: 34px 0 36px;
  padding-top: 28px;
  border-top: 2px solid var(--stroke);
}
.hero p.lead {
  font-size: 1.1rem;
  max-width: 44ch;
  margin: 0;
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Grid bento: foto besar + tile statistik + tile alamat */
.hero-bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(230px, auto);
  gap: 16px;
}
.hero-meta {
  display: contents;
}

.tile-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink);
}
.live {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--wa);
  border: 2px solid var(--stroke);
  animation: blink 1.6s ease-in-out infinite;
}

.bento-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  padding: 22px;
  border: 2px solid var(--stroke);
  border-radius: var(--radius-l);
  background: var(--surface);
  transition:
    transform 0.22s var(--ease-pop),
    box-shadow 0.22s var(--ease-pop);
}
.bento-tile:hover {
  transform: translate(-4px, -4px);
  box-shadow: var(--hard-lg);
}
.bento-tile .tile-label {
  position: absolute;
  top: 20px;
  left: 22px;
}
.bento-tile strong {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.3vw, 2.1rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.bento-tile > span:last-child {
  font-size: 0.9rem;
  line-height: 1.4;
  color: rgba(var(--ink-rgb), 0.72);
}
.bento-tile.t-accent {
  background: var(--accent);
}
.bento-tile.t-rose {
  background: var(--pink);
}
.bento-tile.t-primary {
  background: var(--primary);
}
.bento-tile.t-primary strong,
.bento-tile.t-primary .tile-label {
  color: #fff;
}
.bento-tile.t-primary > span:last-child {
  color: rgba(255, 255, 255, 0.8);
}

/* Kartu foto "Grosir Kain & Fashion" */
.kain-banner {
  position: relative;
  grid-column: 1 / span 2;
  grid-row: 1 / span 2;
  display: flex;
  align-items: flex-end;
  min-height: 480px;
  border: 2px solid var(--stroke);
  border-radius: var(--radius-xl);
  overflow: hidden;
  /* GANTI 'banner.jpg' dengan nama file gambar Anda */
  background: #222 url("banner.jpg") center / cover no-repeat;
  color: #fff;
}
.kain-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(var(--ink-rgb), 0.92) 0%,
    rgba(var(--ink-rgb), 0.55) 40%,
    rgba(var(--ink-rgb), 0) 70%
  );
}
.kain-inner {
  position: relative;
  width: 100%;
  padding: 30px;
}
.kain-inner h2 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: #fff;
}
.kain-inner p {
  margin: 0 0 20px;
  max-width: 44ch;
  font-size: 0.97rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}
.kain-inner .btn:hover {
  box-shadow: 4px 4px 0 #fff;
}

/* ALAMAT — tile gelap di grid bento */
.kain-address {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 22px;
  border: 2px solid var(--stroke);
  border-radius: var(--radius-l);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  line-height: 1.5;
}
.kain-address .tile-label {
  position: absolute;
  top: 20px;
  left: 22px;
  color: var(--accent);
}
.kain-address span {
  display: block;
}
.addr-icon {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
}
.addr-icon svg {
  width: 20px;
  height: 20px;
}

/* Stiker berputar di pojok foto */
.sticker-spin {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--stroke);
  display: grid;
  place-items: center;
}
.sticker-spin svg.spin-text {
  position: absolute;
  inset: 4px;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  animation: spin 16s linear infinite;
}
.sticker-spin svg.spin-text text {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 10.5px;
  letter-spacing: 1.2px;
  fill: var(--ink);
}
.sticker-spin .spin-core {
  width: 28px;
  height: 28px;
  color: var(--ink);
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes blink {
  50% {
    opacity: 0.35;
  }
}

@media (max-width: 960px) {
  .hero-bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(170px, auto);
  }
  .kain-banner {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 460px;
  }
}
@media (max-width: 560px) {
  .hero {
    padding: 22px 0 24px;
  }
  .hero h1 {
    font-size: clamp(2.3rem, 11vw, 3rem);
  }
  .hero-sub {
    margin: 24px 0 28px;
    padding-top: 22px;
  }
  .hero-cta,
  .hero-cta .btn {
    width: 100%;
  }
  .hero-bento {
    gap: 12px;
    grid-auto-rows: minmax(150px, auto);
  }
  .kain-banner {
    min-height: 500px;
    background-position: center top;
    border-radius: var(--radius-l);
  }
  .kain-inner {
    padding: 22px 20px;
  }
  .kain-inner .btn {
    width: 100%;
  }
  .bento-tile,
  .kain-address {
    padding: 18px;
    border-radius: var(--radius-m);
  }
  .bento-tile .tile-label,
  .kain-address .tile-label {
    top: 16px;
    left: 18px;
  }
  .bento-tile strong {
    font-size: 1.35rem;
  }
  .hero-meta .bento-tile:nth-child(3),
  .kain-address {
    grid-column: 1 / -1;
  }
  .kain-address {
    min-height: 150px;
  }
  .sticker-spin {
    width: 88px;
    height: 88px;
    top: 14px;
    left: 14px;
  }
  .sticker-spin .spin-core {
    width: 22px;
    height: 22px;
  }
}

/* (lama) ilustrasi kaos melayang — tetap didukung bila dipakai lagi */
.hero-art {
  position: relative;
}
.float-slow {
  animation: floaty 6s ease-in-out infinite;
}
.float-slow.delay {
  animation-delay: -3s;
}
@keyframes floaty {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* ---------- Trust strip → marquee berjalan ---------- */
.trust-strip {
  position: relative;
  overflow: hidden;
  padding: 34px 0;
}
.marquee {
  width: 104%;
  margin-left: -2%;
  background: var(--accent);
  border-top: 2px solid var(--stroke);
  border-bottom: 2px solid var(--stroke);
  transform: rotate(-1.5deg);
  padding: 15px 0;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
}
.trust-item svg {
  width: 20px;
  height: 20px;
  color: var(--ink);
  flex-shrink: 0;
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@media (max-width: 560px) {
  .trust-strip {
    padding: 24px 0;
  }
  .trust-item {
    font-size: 1.02rem;
  }
}

/* ---------- Category cards ---------- */
/* Kartu dasar (dipakai juga di halaman Tentang Kami) */
.cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 2px solid var(--stroke);
  border-radius: var(--radius-l);
  padding: 26px 24px 24px;
  transition:
    transform 0.22s var(--ease-pop),
    box-shadow 0.22s var(--ease-pop);
}
.cat-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: var(--hard-lg);
}
.cat-card.c-lime {
  background: var(--accent);
}
.cat-card.c-violet {
  background: var(--primary);
}
.cat-card.c-pink {
  background: var(--pink);
}
.cat-card.c-yellow {
  background: var(--yellow);
}
.cat-card.c-violet h3,
.cat-card.c-violet .cat-link {
  color: #fff;
}
.cat-card[class*="c-"] p {
  color: rgba(var(--ink-rgb), 0.75);
}
.cat-card.c-violet p {
  color: rgba(255, 255, 255, 0.84);
}

.cat-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  border: 2px solid var(--stroke);
  background: var(--surface);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.cat-icon svg {
  width: 26px;
  height: 26px;
}
.cat-icon.i-game {
  background: var(--accent);
}
.cat-icon.i-voucher {
  background: var(--primary-tint);
  color: var(--primary-dark);
}
.cat-icon.i-kasir {
  background: var(--pink-tint);
}

.cat-card h3 {
  font-size: 1.4rem;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.cat-card p {
  font-size: 0.94rem;
  margin-bottom: 20px;
}
.cat-card .cat-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
}
.cat-card .cat-link svg {
  width: 38px;
  height: 38px;
  padding: 10px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  transition: transform 0.25s var(--ease-pop);
}
.cat-card.c-violet .cat-link svg {
  background: #fff;
  color: var(--ink);
}
.cat-card:hover .cat-link svg {
  transform: rotate(-45deg);
}

/* Beranda: grid zig-zag 12 kolom, kartu berfoto */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}
.cat-grid .cat-card {
  grid-column: span 5;
  flex-direction: row;
  align-items: stretch;
  gap: 10px;
  min-height: 340px;
  padding: 10px;
}
.cat-grid .cat-card.cat-wide {
  grid-column: span 7;
}
.cat-body {
  flex: 1 1 56%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 16px 12px 14px 16px;
}
.cat-num {
  align-self: flex-start;
  margin-bottom: auto;
  padding: 3px 12px;
  border: 2px solid var(--stroke);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--ink);
}
.cat-card.c-violet .cat-num {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
  background: transparent;
}
.cat-grid .cat-card h3 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 24px 0 10px;
}
.cat-grid .cat-card p {
  margin-bottom: 18px;
  max-width: 34ch;
}
.cat-grid .cat-card .cat-link {
  margin-top: 0;
}
.cat-photo {
  flex: 0 0 44%;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid var(--stroke);
  background: rgba(255, 255, 255, 0.4);
}
.cat-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-pop);
}
.cat-card:hover .cat-photo img {
  transform: scale(1.06);
}

@media (max-width: 1020px) {
  .cat-grid .cat-card,
  .cat-grid .cat-card.cat-wide {
    grid-column: span 6;
  }
}
@media (max-width: 820px) {
  .cat-grid .cat-card,
  .cat-grid .cat-card.cat-wide {
    grid-column: 1 / -1;
    min-height: 280px;
  }
}
@media (max-width: 560px) {
  .cat-grid {
    gap: 14px;
  }
  .cat-grid .cat-card {
    flex-direction: column;
    min-height: 0;
  }
  .cat-photo {
    order: -1;
    flex: none;
    aspect-ratio: 16 / 10;
  }
  .cat-body {
    padding: 14px 10px 10px;
  }
  .cat-num {
    margin-bottom: 0;
  }
  .cat-grid .cat-card h3 {
    margin-top: 14px;
  }
}

/* Judul section versi dua kolom */
.section-head.split {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 48px;
  flex-wrap: wrap;
}
.section-head.split > div {
  flex: 1 1 460px;
  max-width: 660px;
}
.section-head.split h2 {
  margin-bottom: 0;
}
.section-head.split > p {
  flex: 0 1 360px;
  max-width: 40ch;
  padding-bottom: 6px;
}

/* ---------- Showcase sepatu (index): bento + kartu unggulan ---------- */
.shoes-section {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  isolation: isolate;
}
.shoes-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 560px;
  height: 560px;
  right: -180px;
  top: -240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.55), transparent 65%);
}
.shoes-section .section-head h2 {
  color: #fff;
}
.shoes-section .section-head p {
  color: rgba(255, 255, 255, 0.7);
}
.shoes-section .pill-tag {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: none;
}
.shoes-section .btn-primary {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.shoes-section .btn-primary:hover {
  box-shadow: 4px 4px 0 var(--accent);
}
.shoes-section .btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}
.shoes-section .btn-ghost:hover {
  border-color: #fff;
  box-shadow: 4px 4px 0 var(--accent);
}

.shoes-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: 24px 48px;
  margin-bottom: 40px;
}
.shoes-head .section-head {
  margin-bottom: 0;
}
.shoes-head .section-head h2 {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 5.4vw, 4.2rem);
}
.shoes-head-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.shoes-head-side p {
  margin: 0;
  max-width: 46ch;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.72);
}
@media (max-width: 860px) {
  .shoes-head {
    grid-template-columns: 1fr;
  }
}

.shoes-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.shoe-card {
  background: var(--surface);
  color: var(--ink);
  border: 2px solid var(--surface);
  border-radius: var(--radius-l);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 8px;
  transition:
    transform 0.22s var(--ease-pop),
    box-shadow 0.22s var(--ease-pop);
}
.shoe-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 6px 6px 0 var(--accent);
}
.shoe-photo {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  /* Fallback gradient kalau gambar gagal load */
  background: linear-gradient(135deg, var(--primary-tint) 0%, var(--accent-tint) 100%);
  overflow: hidden;
}
.shoe-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: transparent;
  transition: transform 0.6s var(--ease-pop);
}
.shoe-card:hover .shoe-photo img {
  transform: scale(1.07);
}

/* Kartu unggulan: 2 kolom × 2 baris */
.shoe-card.featured {
  grid-column: span 2;
  grid-row: span 2;
}
.shoe-card.featured .shoe-photo {
  aspect-ratio: auto;
  flex: 1 1 auto;
  min-height: 340px;
}
.shoe-card.featured .shoe-photo img {
  position: absolute;
  inset: 0;
}
.shoe-card.featured .shoe-body {
  flex: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "title price"
    "desc  btn";
  align-items: center;
  gap: 4px 20px;
  padding: 20px 14px 12px;
}
.shoe-card.featured .shoe-body h3 {
  grid-area: title;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  letter-spacing: -0.04em;
}
.shoe-card.featured .shoe-body p {
  grid-area: desc;
  margin: 0;
}
.shoe-card.featured .shoe-price {
  grid-area: price;
  margin: 0;
  font-size: 1.1rem;
  text-align: right;
}
.shoe-card.featured .shoe-body .btn {
  grid-area: btn;
  width: auto;
  padding: 11px 26px;
}

.shoe-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: var(--surface);
  color: var(--ink);
  border: 2px solid var(--stroke);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 999px;
  transform: rotate(-4deg);
  box-shadow: 2px 2px 0 var(--stroke);
}
.shoe-tag.nike {
  background: var(--accent);
}
.shoe-tag.adidas {
  background: var(--primary);
  color: #fff;
}
.shoe-tag.macbeth {
  background: var(--orange);
}
.shoe-tag.vans {
  background: var(--pink);
}
.shoe-tag.converse {
  background: var(--yellow);
}
.shoe-tag.nb {
  background: var(--surface);
}
.shoe-tag.puma {
  background: var(--primary-tint);
}
.shoe-tag.wanita {
  background: var(--pink);
}

.shoe-body {
  padding: 16px 10px 8px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.shoe-body h3 {
  font-size: 1.08rem;
  letter-spacing: -0.02em;
  margin: 0 0 4px;
}
.shoe-body p {
  font-size: 0.85rem;
  color: var(--ink-faint);
  margin: 0 0 12px;
  flex: 1;
}
.shoe-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 14px;
}
.shoe-body .btn {
  font-size: 0.88rem;
  padding: 11px 18px;
}
.shoe-body .btn:hover {
  box-shadow: 3px 3px 0 var(--stroke);
}

/* Tile ajakan "katalog lengkap" di akhir grid */
.shoe-cta {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  min-height: 260px;
  padding: 24px;
  border-radius: var(--radius-l);
  border: 2px solid var(--accent);
  background: var(--accent);
  color: var(--ink);
  transition:
    transform 0.22s var(--ease-pop),
    box-shadow 0.22s var(--ease-pop);
}
.shoe-cta:hover {
  transform: translate(-4px, -4px);
  box-shadow: 6px 6px 0 #fff;
}
.shoe-cta .tile-label {
  position: absolute;
  top: 22px;
  left: 24px;
}
.shoe-cta strong {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.shoe-cta-note {
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(var(--ink-rgb), 0.72);
}
.shoe-cta-arrow {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--accent);
  transition: transform 0.3s var(--ease-pop);
}
.shoe-cta-arrow svg {
  width: 22px;
  height: 22px;
}
.shoe-cta:hover .shoe-cta-arrow {
  transform: rotate(45deg);
}

.shoes-foot {
  margin-top: 40px;
  text-align: center;
}
.shoes-foot .btn {
  gap: 10px;
}

@media (max-width: 980px) {
  .shoes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .shoe-card.featured {
    grid-row: auto;
  }
  .shoe-card.featured .shoe-photo {
    flex: none;
    aspect-ratio: 16 / 10;
    min-height: 0;
  }
}
/* HP: kartu sepatu jadi slider geser horizontal */
@media (max-width: 720px) {
  .shoes-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 74%;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    margin: 0 calc(var(--gutter) * -1);
    padding: 4px var(--gutter) 14px;
    scrollbar-width: none;
  }
  .shoes-grid::-webkit-scrollbar {
    display: none;
  }
  .shoe-card,
  .shoe-cta {
    scroll-snap-align: start;
  }
  .shoe-card.featured {
    grid-column: auto;
  }
  .shoe-card.featured .shoe-photo {
    aspect-ratio: 1 / 1;
  }
  .shoe-card.featured .shoe-body {
    display: flex;
    padding: 16px 10px 8px;
  }
  .shoe-card.featured .shoe-body h3 {
    font-size: 1.08rem;
    letter-spacing: -0.02em;
  }
  .shoe-card.featured .shoe-body p {
    margin: 0 0 12px;
  }
  .shoe-card.featured .shoe-price {
    font-size: 1rem;
    text-align: left;
    margin-bottom: 14px;
  }
  .shoe-card.featured .shoe-body .btn {
    width: 100%;
  }
}

/* ---------- Cara order (langkah) ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.step {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 26px 28px;
  background: var(--surface);
  border: 2px solid var(--stroke);
  border-radius: var(--radius-l);
}
.step:nth-child(2) {
  background: var(--primary-tint);
}
.step:nth-child(3) {
  background: var(--ink);
  color: #fff;
}
.step:nth-child(3) h4 {
  color: #fff;
}
.step:nth-child(3) p {
  color: rgba(255, 255, 255, 0.75);
}
.step:nth-child(3) a {
  color: var(--accent);
}
/* panah penghubung antar langkah */
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -31px;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  border-radius: 50%;
  border: 2px solid var(--stroke);
  background: var(--accent)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f2340' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E")
    center / 18px no-repeat;
}
.step-num {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 36px;
  border-radius: 20px;
  border: 2px solid var(--stroke);
  background: var(--accent);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  line-height: 1;
  color: var(--ink);
  transform: rotate(-6deg);
}
.step:nth-child(2) .step-num {
  background: var(--pink);
  transform: rotate(4deg);
}
.step:nth-child(3) .step-num {
  background: var(--yellow);
  border-color: var(--yellow);
}
.step h4 {
  font-size: 1.4rem;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
}
.steps-section {
  padding-bottom: 40px;
}
.step p {
  font-size: 0.95rem;
  margin: 0;
}
.step a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}
@media (max-width: 860px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .step {
    min-height: 0;
  }
  .step:not(:last-child)::after {
    top: auto;
    right: auto;
    left: 50%;
    bottom: -33px;
    margin: 0 0 0 -20px;
    transform: rotate(90deg);
  }
}

/* ---------- Kenapa Bagina: judul sticky + kartu bertingkat ---------- */
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: start;
}
.why-intro {
  position: sticky;
  top: 120px;
}
.why-intro h2 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  letter-spacing: -0.04em;
  line-height: 1;
}
.why-intro p {
  font-size: 1.08rem;
  max-width: 40ch;
  margin-bottom: 26px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  counter-reset: feat;
  padding-bottom: 56px;
}
.feature-item {
  position: relative;
  counter-increment: feat;
  background: var(--surface);
  border: 2px solid var(--stroke);
  border-radius: var(--radius-l);
  padding: 26px 24px 28px;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.22s var(--ease-pop),
    box-shadow 0.22s var(--ease-pop);
}
/* kolom kanan turun sedikit → efek bertingkat */
.feature-item:nth-child(even) {
  top: 56px;
}
.feature-item:hover {
  transform: translate(-4px, -4px);
  box-shadow: var(--hard-lg);
}
.feature-item::before {
  content: "0" counter(feat);
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.4rem;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(var(--ink-rgb), 0.12);
}
.feature-item h4 {
  font-size: 1.25rem;
  letter-spacing: -0.025em;
  margin: auto 0 8px;
}
.feature-item p {
  font-size: 0.93rem;
  margin-bottom: 0;
}
.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  border: 2px solid var(--stroke);
  background: var(--accent);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}
.feature-item:nth-child(2) .feature-icon {
  background: var(--primary-tint);
}
.feature-item:nth-child(3) .feature-icon {
  background: var(--pink);
}
.feature-item:nth-child(4) .feature-icon {
  background: var(--yellow);
}
.feature-icon svg {
  width: 24px;
  height: 24px;
}
@media (max-width: 960px) {
  .why-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .why-intro {
    position: static;
  }
}
@media (max-width: 560px) {
  .feature-grid {
    grid-template-columns: 1fr;
    padding-bottom: 0;
  }
  .feature-item {
    min-height: 0;
  }
  .feature-item:nth-child(even) {
    top: 0;
  }
  .feature-item h4 {
    margin-top: 0;
  }
}

/* ---------- Testimonial Carousel (split) ---------- */
.carousel-section {
  background: var(--bg-alt);
}
.testi-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 56px;
  align-items: center;
}
.testi-intro h2 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  letter-spacing: -0.04em;
  line-height: 1;
}
.testi-intro p {
  font-size: 1.08rem;
  max-width: 36ch;
  margin-bottom: 0;
}
.carousel {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
}
.testi-grid .carousel {
  max-width: none;
  margin: 0;
  padding: 30px 6px 6px 0;
}
.carousel-track {
  position: relative;
  min-height: 260px;
}
.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(24px) rotate(1deg);
  transition:
    opacity 0.5s ease,
    transform 0.5s var(--ease-pop);
  pointer-events: none;
}
.carousel-slide.active {
  opacity: 1;
  transform: translateX(0) rotate(0);
  pointer-events: auto;
  position: relative;
}

.testi-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "quote  quote"
    "avatar name";
  align-items: center;
  column-gap: 14px;
  background: var(--surface);
  border: 2px solid var(--stroke);
  border-radius: var(--radius-xl);
  padding: 56px 44px 36px;
  text-align: left;
  box-shadow: var(--hard-lg);
}
.testi-card::before {
  content: "\201C";
  position: absolute;
  top: -30px;
  left: 36px;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  padding-top: 22px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--stroke);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3.4rem;
  line-height: 1;
  color: var(--ink);
}
.testi-quote {
  grid-area: quote;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.2rem, 2.3vw, 1.65rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 28px;
}
.testi-card .testi-avatar {
  grid-area: avatar;
  width: 54px;
  height: 54px;
  margin: 0;
}
.testi-name {
  grid-area: name;
  justify-self: start;
  display: inline-block;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--primary-tint);
  color: var(--primary-dark);
}
.testi-role {
  font-size: 0.85rem;
  color: var(--ink-faint);
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 32px;
}
.testi-intro .carousel-controls {
  justify-content: flex-start;
}
.carousel-arrow {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--stroke);
  background: var(--surface);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background-color 0.15s ease,
    transform 0.18s var(--ease-pop),
    box-shadow 0.18s var(--ease-pop);
}
.carousel-arrow:hover {
  background: var(--accent);
  transform: translate(-2px, -2px);
  box-shadow: 3px 3px 0 var(--stroke);
}
.carousel-arrow svg {
  width: 18px;
  height: 18px;
}
.carousel-dots {
  display: flex;
  gap: 8px;
}
.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: transparent;
  border: 2px solid var(--stroke);
  padding: 0;
  transition:
    background-color 0.2s ease,
    width 0.25s var(--ease-pop);
}
.carousel-dot.active {
  background: var(--ink);
  width: 32px;
}
@media (max-width: 900px) {
  .testi-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
@media (max-width: 560px) {
  .testi-card {
    padding: 46px 22px 26px;
    border-radius: var(--radius-l);
  }
  .testi-card::before {
    left: 20px;
  }
  .testi-intro .carousel-controls {
    margin-top: 22px;
  }
}

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--stroke);
  border-radius: var(--radius-xl);
  box-shadow: var(--hard-lg);
  padding: 64px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-banner::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 360px;
  height: 360px;
  right: -90px;
  bottom: -190px;
  border-radius: 50%;
  background: var(--pink);
  border: 2px solid var(--stroke);
}
.cta-banner::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 120px;
  height: 120px;
  right: 230px;
  top: -50px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--stroke);
}
.cta-banner h2 {
  color: #fff;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  letter-spacing: -0.045em;
  line-height: 0.98;
  max-width: 14ch;
  margin-bottom: 14px;
}
.cta-banner p {
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 0;
  max-width: 44ch;
  font-size: 1.05rem;
}
.cta-banner .btn {
  font-size: 1.05rem;
  padding: 16px 28px;
}

/* Versi beranda: teks + kolase foto produk ala polaroid */
.cta-banner.has-collage {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  padding: 60px 56px;
}
.cta-banner.has-collage::before {
  width: 300px;
  height: 300px;
  right: -60px;
  bottom: -170px;
}
.cta-banner.has-collage::after {
  right: auto;
  left: -40px;
  top: auto;
  bottom: -60px;
}
.cta-copy .btn {
  margin-top: 28px;
}
.cta-collage {
  position: relative;
  height: 320px;
}
.cta-collage img {
  position: absolute;
  width: 46%;
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
  padding: 8px 8px 30px;
  background: #fff;
  border: 2px solid var(--stroke);
  border-radius: 18px;
  box-shadow: 5px 5px 0 var(--stroke);
  transition: transform 0.4s var(--ease-pop);
}
.cta-collage .c1 {
  left: 0;
  top: 40px;
  transform: rotate(-9deg);
}
.cta-collage .c2 {
  left: 27%;
  top: -6px;
  z-index: 2;
  transform: rotate(3deg);
}
.cta-collage .c3 {
  right: 0;
  top: 56px;
  transform: rotate(11deg);
}
.cta-banner:hover .c1 {
  transform: rotate(-5deg) translateY(-6px);
}
.cta-banner:hover .c2 {
  transform: rotate(0deg) translateY(-10px);
}
.cta-banner:hover .c3 {
  transform: rotate(7deg) translateY(-6px);
}
@media (max-width: 860px) {
  .cta-banner.has-collage {
    grid-template-columns: 1fr;
    padding: 44px 26px 36px;
  }
  .cta-collage {
    height: 250px;
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
  }
}
@media (max-width: 720px) {
  .cta-banner {
    padding: 44px 26px 120px;
    border-radius: var(--radius-l);
  }
  .cta-banner.has-collage {
    padding: 44px 24px 36px;
  }
  .cta-banner .btn {
    width: 100%;
  }
  .cta-banner::after {
    right: auto;
    left: -40px;
    top: auto;
    bottom: -60px;
  }
}

/* ---------- Footer ---------- */
footer {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  padding: 72px 0 28px;
}
footer .logo {
  color: #fff;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.footer-brand {
  max-width: 360px;
}
.footer-brand p {
  font-size: 0.95rem;
  margin: 16px 0 22px;
  color: rgba(255, 255, 255, 0.65);
}
.footer-brand .btn:hover {
  box-shadow: 4px 4px 0 #fff;
}
.footer-cols {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}
.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 16px;
  color: var(--accent);
}
.footer-col a {
  display: block;
  width: fit-content;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 10px;
  transition:
    color 0.15s ease,
    transform 0.15s ease;
}
.footer-col a:hover {
  color: #fff;
  transform: translateX(3px);
}
.footer-wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(5rem, 24vw, 19rem);
  line-height: 0.82;
  letter-spacing: -0.03em;
  text-align: center;
  color: transparent;
  background: linear-gradient(
    180deg,
    rgba(var(--accent-rgb), 0.95) 0%,
    rgba(var(--accent-rgb), 0.35) 55%,
    rgba(var(--accent-rgb), 0) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  margin: 48px 0 20px;
  padding-bottom: 0.08em;
  user-select: none;
  white-space: nowrap;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}
@media (max-width: 560px) {
  footer {
    border-radius: var(--radius-l) var(--radius-l) 0 0;
    padding-top: 52px;
    padding-bottom: 92px; /* ruang untuk tombol WA melayang */
  }
  .footer-cols {
    gap: 28px 40px;
  }
  .footer-wordmark {
    margin-top: 36px;
  }
}

/* ---------- Floating WhatsApp button ---------- */
.wa-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--wa);
  color: var(--ink);
  padding: 12px 20px 12px 14px;
  border: 2px solid var(--stroke);
  border-radius: 999px;
  box-shadow: var(--hard);
  font-weight: 800;
  font-size: 0.92rem;
  transition:
    transform 0.18s var(--ease-pop),
    box-shadow 0.18s var(--ease-pop);
}
.wa-float:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--hard-lg);
}
.wa-float svg {
  width: 22px;
  height: 22px;
}
@media (max-width: 560px) {
  .wa-float span {
    display: none;
  }
  .wa-float {
    padding: 14px;
    bottom: 16px;
    right: 16px;
  }
}

/* ---------- Page header (halaman dalam) ---------- */
.page-header {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 56px 0 52px;
}
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(
    rgba(var(--ink-rgb), 0.13) 1.2px,
    transparent 1.2px
  );
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(to bottom, #000 10%, transparent 90%);
  mask-image: linear-gradient(to bottom, #000 10%, transparent 90%);
}
.page-header::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 460px;
  height: 460px;
  right: -140px;
  top: -200px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(var(--accent-rgb), 0.75),
    transparent 65%
  );
}
.page-header h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  max-width: 15ch;
}
.page-header p {
  font-size: 1.1rem;
  max-width: 56ch;
  margin-bottom: 0;
}
@media (max-width: 560px) {
  .page-header {
    padding: 32px 0 36px;
  }
}

/* ---------- Tabs (produk): dock kategori yang menempel saat scroll ---------- */
.tab-bar {
  position: sticky;
  top: 92px;
  z-index: 50;
  display: flex;
  gap: 4px;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 40px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 2px solid var(--stroke);
  border-radius: 999px;
  box-shadow: var(--hard);
  overflow-x: auto;
  scrollbar-width: none;
}
.tab-bar::-webkit-scrollbar {
  display: none;
}
.tab-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
  background: transparent;
  border: none;
  color: var(--ink-soft);
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  transition:
    background-color 0.15s ease,
    color 0.15s ease;
}
.tab-btn svg {
  width: 17px;
  height: 17px;
}
.tab-btn:hover {
  color: var(--ink);
  background: var(--primary-tint);
}
.tab-btn.active {
  background: var(--ink);
  color: #fff;
}
.tab-btn.active svg {
  color: var(--accent);
}
@media (max-width: 560px) {
  .tab-bar {
    top: 78px;
    width: 100%;
    margin-bottom: 28px;
  }
  .tab-btn {
    padding: 10px 15px;
    font-size: 0.9rem;
  }
}

.product-groups {
  position: relative;
}
.product-group {
  display: none;
  animation: fadeIn 0.35s ease;
}
.product-group.active {
  display: block;
}
.location-grid--simple {
  grid-template-columns: 1fr;
  max-width: 720px;
  margin: 0 auto;
}

.location-grid--simple .location-info {
  width: 100%;
}

/* ===== Lokasi Kami: bento (alamat besar + info di samping) ===== */
.location-simple {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 18px;
}

.loc-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  text-align: left;
  padding: 36px;
  background: var(--accent);
  border: 2px solid var(--stroke);
  border-radius: var(--radius-xl);
  box-shadow: var(--hard-lg);
}
.loc-hero-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--stroke);
  color: var(--ink);
}
.loc-hero-icon svg {
  width: 32px;
  height: 32px;
}
.loc-hero h3 {
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  letter-spacing: -0.045em;
  line-height: 1;
  margin: 0 0 12px;
  max-width: 16ch;
}
.loc-hero p {
  margin: 0;
  max-width: 42ch;
  color: rgba(var(--ink-rgb), 0.75);
  line-height: 1.6;
}

.loc-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.loc-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "icon title"
    "icon text"
    "icon note";
  column-gap: 16px;
  align-items: start;
  text-align: left;
  padding: 20px;
  background: var(--surface);
  border: 2px solid var(--stroke);
  border-radius: var(--radius-l);
  transition:
    transform 0.22s var(--ease-pop),
    box-shadow 0.22s var(--ease-pop);
}
.loc-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: var(--hard-lg);
}
.loc-card-icon {
  grid-area: icon;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  border: 2px solid var(--stroke);
  color: var(--ink);
}
.loc-card-icon svg {
  width: 22px;
  height: 22px;
}
.loc-card-icon.i-time {
  background: var(--primary-tint);
}
.loc-card-icon.i-wa {
  background: var(--wa);
}
.loc-card-icon.i-fast {
  background: var(--yellow);
}
.loc-card h4 {
  grid-area: title;
  margin: 2px 0 4px;
  font-size: 1.05rem;
}
.loc-card p {
  grid-area: text;
  margin: 0 0 10px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.loc-card p br {
  display: none;
}
.loc-card p strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--ink);
}
.loc-note {
  grid-area: note;
  justify-self: start;
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--mint-tint);
  color: #0d7a4a;
}
.loc-cta {
  grid-column: 1 / -1;
  text-align: center;
  padding-top: 14px;
}
.loc-cta .btn {
  font-size: 1.02rem;
  padding: 15px 28px;
}

@media (max-width: 860px) {
  .location-simple {
    grid-template-columns: 1fr;
  }
  .loc-hero {
    padding: 28px 24px;
    gap: 28px;
    border-radius: var(--radius-l);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Judul sub-kategori produk (dirender script.js) */
.sub-head {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.sub-head::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--accent);
  border: 2px solid var(--stroke);
  transform: rotate(14deg);
}

.item-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 56px;
}
@media (max-width: 1100px) {
  .item-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 820px) {
  .item-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

.item-card {
  position: relative;
  background: var(--surface);
  border: 2px solid var(--stroke);
  border-radius: 24px;
  padding: 8px 8px 12px;
  display: flex;
  flex-direction: column;
  transition:
    box-shadow 0.22s var(--ease-pop),
    transform 0.22s var(--ease-pop);
}
.item-card:hover {
  box-shadow: var(--hard-lg);
  transform: translate(-4px, -4px);
}
.item-card > :not(.item-photo) {
  margin-left: 8px;
  margin-right: 8px;
}
.item-card .item-photo {
  order: 0;
}
.item-card .item-desc {
  order: 1;
}
.item-card h4 {
  order: 2;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.item-card .item-price {
  order: 3;
}
.item-card .kasir-features {
  order: 4;
}
.item-card .item-actions,
.item-card .btn {
  order: 5;
}
.item-card .item-desc {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary-dark);
  background: var(--primary-tint);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.item-card .item-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 14px;
}
.item-card .item-price span {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.78rem;
  color: var(--ink-faint);
}
.item-card .item-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.item-card .btn {
  margin-top: auto;
  font-size: 0.88rem;
  padding: 11px 16px;
}
.item-card .item-actions .btn {
  margin-top: 0;
}
.item-card .btn:hover {
  box-shadow: 3px 3px 0 var(--stroke);
}
.item-card .btn-primary:hover {
  box-shadow: 3px 3px 0 var(--primary);
}

.item-card.kasir-card {
  grid-column: span 1;
}
.kasir-features {
  margin: 0 0 16px;
  padding: 0;
}
.kasir-features li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.kasir-features li svg {
  width: 16px;
  height: 16px;
  padding: 2px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  flex-shrink: 0;
  margin-top: 1px;
}

@media (max-width: 620px) {
  .item-card {
    border-radius: 20px;
    padding: 6px 6px 10px;
  }
  .item-card > :not(.item-photo) {
    margin-left: 4px;
    margin-right: 4px;
  }
  .item-card h4 {
    font-size: 0.95rem;
  }
  .item-card .item-price {
    font-size: 0.9rem;
  }
  .item-card .btn {
    white-space: normal;
    text-align: center;
    font-size: 0.78rem;
    padding: 10px 10px;
  }
  .kasir-features li {
    font-size: 0.76rem;
  }
}

/* ---------- About page ---------- */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) {
  .story-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
.story-grid h2 {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  letter-spacing: -0.04em;
}
.story-art {
  background: var(--accent);
  border: 2px solid var(--stroke);
  border-radius: var(--radius-xl);
  box-shadow: var(--hard-lg);
  padding: 14px;
  transform: rotate(-2deg);
  transition: transform 0.4s var(--ease-pop);
}
.story-art:hover {
  transform: rotate(0deg);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 860px) {
  .value-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .value-grid {
    grid-template-columns: 1fr;
  }
}
.value-grid .cat-card {
  padding: 10px 10px 24px;
}
.value-grid .cat-card > :not(.cat-image) {
  margin-left: 14px;
  margin-right: 14px;
}
.value-grid .cat-card p {
  margin-bottom: 0;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 900px) {
  .stat-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 480px) {
  .stat-row {
    grid-template-columns: 1fr;
  }
}
.stat-item {
  border: 2px solid var(--stroke);
  border-radius: var(--radius-l);
  padding: 26px 22px;
  background: var(--surface);
}
.stat-item:nth-child(1) {
  background: var(--accent);
}
.stat-item:nth-child(2) {
  background: var(--primary);
}
.stat-item:nth-child(3) {
  background: var(--pink);
}
.stat-item:nth-child(4) {
  background: var(--yellow);
}
.stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 8px;
  color: var(--ink);
}
.stat-item span {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(var(--ink-rgb), 0.75);
}
.stat-item:nth-child(2) strong {
  color: #fff;
}
.stat-item:nth-child(2) span {
  color: rgba(255, 255, 255, 0.85);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 700px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
.contact-card {
  background: var(--surface);
  border: 2px solid var(--stroke);
  border-radius: var(--radius-l);
  padding: 30px;
  transition:
    transform 0.22s var(--ease-pop),
    box-shadow 0.22s var(--ease-pop);
}
.contact-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: var(--hard-lg);
}
.contact-card .cc-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  border: 2px solid var(--stroke);
  background: var(--wa);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.contact-card:nth-child(2) .cc-icon {
  background: var(--yellow);
}
.contact-card .cc-icon svg {
  width: 24px;
  height: 24px;
}
.contact-card h4 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}
.contact-card p {
  margin-bottom: 18px;
  font-size: 0.95rem;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

/* =========================================================
   IMAGE ENHANCEMENTS
   ========================================================= */
.cat-image {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16/10;
  margin-bottom: 20px;
  background: var(--bg-alt);
  position: relative;
}
.cat-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-pop);
}
.cat-card:hover .cat-image img {
  transform: scale(1.06);
}

.testi-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  display: block;
  margin: 0 auto 20px;
  border: 2px solid var(--stroke);
  box-shadow: 3px 3px 0 var(--primary);
}

.story-art img.story-photo {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  border: 2px solid var(--stroke);
  object-fit: cover;
  display: block;
  aspect-ratio: 4/3;
}

.page-banner {
  border-radius: var(--radius-xl);
  border: 2px solid var(--stroke);
  overflow: hidden;
  aspect-ratio: 21/8;
  margin-bottom: 44px;
  background: var(--bg-alt);
  position: relative;
}
.page-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 720px) {
  .page-banner {
    aspect-ratio: 16/9;
    margin-bottom: 32px;
  }
}

/* =========================================================
   PRODUCT ICONS
   ========================================================= */
.item-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--surface);
  border: 2px solid var(--stroke);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: transform 0.25s var(--ease-pop);
}
.item-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.item-card:hover .item-icon {
  transform: rotate(-6deg) scale(1.05);
}

/* =========================================================
   LOCATION
   ========================================================= */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 28px;
  align-items: stretch;
}
@media (max-width: 900px) {
  .location-grid {
    grid-template-columns: 1fr;
  }
}

.location-info {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.loc-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.loc-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 14px;
  border: 2px solid var(--stroke);
  background: var(--accent);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}
.loc-icon svg {
  width: 22px;
  height: 22px;
}
.loc-item h4 {
  font-size: 1rem;
  margin: 0 0 6px;
}
.loc-item p {
  font-size: 0.9rem;
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

.location-info .btn {
  align-self: flex-start;
  margin-top: 8px;
}

.location-map {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 2px solid var(--stroke);
  box-shadow: var(--hard-lg);
  min-height: 420px;
  background: var(--bg-alt);
}
.location-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}
@media (max-width: 900px) {
  .location-map {
    min-height: 320px;
  }
  .location-map iframe {
    min-height: 320px;
  }
}

.item-card .item-photo {
  margin: 0 0 14px;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  background: var(--primary-tint)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cpath d='M20 30 45 18Q60 32 75 18L100 30 90 52 78 46V100H42V46L30 52Z' fill='%23b9c2f7'/%3E%3C/svg%3E")
    center / 38% no-repeat;
  overflow: hidden;
}
.item-card .item-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-pop);
}
.item-card:hover .item-photo img {
  transform: scale(1.05);
}

.item-card .item-price span.per-pcs {
  color: var(--primary);
  font-weight: 700;
  margin-top: 2px;
}

/* =========================================================
   LEGAL PAGES
   ========================================================= */
.legal-wrap {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
@media (max-width: 900px) {
  .legal-wrap {
    grid-template-columns: 1fr;
  }
}
.legal-card {
  background: var(--surface);
  border: 2px solid var(--stroke);
  border-radius: var(--radius-xl);
  box-shadow: var(--hard-lg);
  padding: 48px 52px;
}
.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-bottom: 30px;
  padding-bottom: 24px;
  border-bottom: 2px dashed var(--border);
}
.legal-meta span {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 12px;
}
.legal-meta strong {
  color: var(--ink);
  font-weight: 700;
}
.legal-card h2 {
  display: flex;
  align-items: center;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
  margin: 38px 0 14px;
  scroll-margin-top: 110px;
}
.legal-card h2:first-of-type {
  margin-top: 0;
}
.legal-card h2 .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 32px;
  height: 32px;
  padding: 0 6px;
  border-radius: 10px;
  background: var(--accent);
  border: 2px solid var(--stroke);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 800;
  margin-right: 12px;
  transform: rotate(-4deg);
}
.legal-card p,
.legal-card li {
  font-size: 0.97rem;
  color: var(--ink-soft);
  line-height: 1.75;
}
.legal-card strong {
  color: var(--ink);
}
.legal-card ul {
  padding-left: 0;
  margin: 0 0 1em;
}
.legal-card ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
}
.legal-card ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 10px;
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: var(--accent);
  border: 1.5px solid var(--stroke);
  transform: rotate(14deg);
}
.legal-card ol {
  list-style: decimal;
  padding-left: 22px;
  margin: 0 0 1em;
}
.legal-card ol li {
  margin-bottom: 8px;
  padding-left: 4px;
}
.legal-card ol li::marker {
  font-weight: 800;
  color: var(--ink);
}
.legal-note {
  background: var(--primary-tint);
  border: 2px solid var(--stroke);
  border-left-width: 6px;
  padding: 14px 18px;
  border-radius: 16px;
  font-size: 0.92rem;
  margin: 22px 0;
  color: var(--primary-dark);
}
.legal-note strong {
  color: var(--primary-dark);
}
.legal-toc {
  position: sticky;
  top: 110px;
  background: var(--accent-tint);
  border: 2px solid var(--stroke);
  border-radius: var(--radius-l);
  padding: 22px 22px 16px;
  margin: 0;
}
@media (max-width: 900px) {
  .legal-toc {
    position: static;
  }
}
.legal-toc h3 {
  font-size: 1.05rem;
  margin: 0 0 14px;
}
.legal-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 1;
  counter-reset: toc;
}
.legal-toc li {
  counter-increment: toc;
  font-size: 0.92rem;
  margin-bottom: 8px;
  break-inside: avoid;
}
.legal-toc li::before {
  content: counter(toc) ".";
  display: inline-block;
  min-width: 24px;
  font-weight: 800;
  color: var(--ink-faint);
}
.legal-toc a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
  transition: text-decoration-color 0.15s ease;
}
.legal-toc a:hover {
  text-decoration-color: var(--primary);
}
@media (max-width: 640px) {
  .legal-card {
    padding: 30px 22px;
    border-radius: var(--radius-l);
  }
  .legal-toc ol {
    columns: 1;
  }
}

/* =========================================================
   FAQ PAGE
   ========================================================= */
.faq-wrap {
  max-width: 840px;
  margin: 0 auto;
}
.faq-cat {
  margin-bottom: 44px;
}
.faq-cat-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.faq-cat-head .fc-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 2px solid var(--stroke);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transform: rotate(-4deg);
}
.faq-cat-head .fc-icon svg {
  width: 22px;
  height: 22px;
}
.faq-cat-head .fc-icon.i-order {
  background: var(--accent);
}
.faq-cat-head .fc-icon.i-pay {
  background: var(--primary-tint);
}
.faq-cat-head .fc-icon.i-ship {
  background: var(--wa);
}
.faq-cat-head .fc-icon.i-prod {
  background: var(--yellow);
}
.faq-cat-head .fc-icon.i-help {
  background: var(--pink);
}
.faq-cat-head h2 {
  font-size: 1.6rem;
  letter-spacing: -0.03em;
  margin: 0;
}
.faq-item {
  background: var(--surface);
  border: 2px solid var(--stroke);
  border-radius: var(--radius-m);
  margin-bottom: 12px;
  overflow: hidden;
  transition:
    box-shadow 0.2s var(--ease-pop),
    transform 0.2s var(--ease-pop);
}
.faq-item:hover {
  transform: translate(-2px, -2px);
  box-shadow: 3px 3px 0 var(--stroke);
}
.faq-item.open {
  transform: translate(-3px, -3px);
  box-shadow: var(--hard);
}
.faq-q {
  width: 100%;
  background: transparent;
  border: none;
  padding: 20px 22px 20px 24px;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: -0.015em;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-q .faq-icon {
  width: 34px;
  height: 34px;
  padding: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid var(--stroke);
  background: var(--bg);
  color: var(--ink);
  transition:
    transform 0.3s var(--ease-pop),
    background-color 0.2s ease;
}
.faq-item.open .faq-q .faq-icon {
  transform: rotate(180deg);
  background: var(--accent);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-a-inner {
  padding: 0 24px 22px;
  font-size: 0.96rem;
  color: var(--ink-soft);
  line-height: 1.7;
}
.faq-a-inner p:last-child {
  margin-bottom: 0;
}
.faq-a-inner ul {
  margin: 8px 0 0;
}
.faq-a-inner ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 6px;
}
.faq-a-inner ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: var(--accent);
  border: 1.5px solid var(--stroke);
  transform: rotate(14deg);
}
.faq-a-inner a {
  color: var(--primary-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.faq-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--stroke);
  border-radius: var(--radius-xl);
  box-shadow: var(--hard-lg);
  padding: 52px 36px;
  text-align: center;
  margin-top: 16px;
}
.faq-cta::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 220px;
  height: 220px;
  left: -80px;
  bottom: -110px;
  border-radius: 50%;
  background: var(--pink);
  border: 2px solid var(--stroke);
}
.faq-cta::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 110px;
  height: 110px;
  right: -30px;
  top: -40px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--stroke);
}
.faq-cta h3 {
  color: #fff;
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  letter-spacing: -0.035em;
  margin-bottom: 10px;
}
.faq-cta p {
  color: rgba(255, 255, 255, 0.86);
  margin: 0 auto 24px;
  max-width: 44ch;
}
@media (max-width: 640px) {
  .faq-q {
    padding: 16px 16px 16px 18px;
    font-size: 0.98rem;
  }
  .faq-a-inner {
    padding: 0 18px 20px;
  }
  .faq-cta {
    padding: 44px 22px;
    border-radius: var(--radius-l);
  }
}

/* =========================================================
   KERANJANG & CEK PEMBAYARAN
   ========================================================= */
.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--stroke);
  color: var(--ink);
  background: var(--surface);
  transition:
    background-color 0.15s ease,
    transform 0.18s var(--ease-pop),
    box-shadow 0.18s var(--ease-pop);
}
.cart-link:hover {
  background: var(--accent);
  transform: translate(-2px, -2px);
  box-shadow: 3px 3px 0 var(--stroke);
}
.cart-link svg {
  width: 20px;
  height: 20px;
}
.cart-badge {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border-radius: 11px;
  background: var(--pink);
  border: 2px solid var(--stroke);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-badge[data-n="0"] {
  display: none;
}

/* --- LAYOUT KERANJANG --- */
.cart-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

/* Naikkan breakpoint supaya mobile landscape & tablet tetap 1 kolom */
@media (max-width: 980px) {
  .cart-grid {
    grid-template-columns: 1fr;
  }
}

.cart-card {
  background: var(--surface);
  border: 2px solid var(--stroke);
  border-radius: var(--radius-l);
  padding: 28px;
  box-shadow: var(--hard-lg);
  min-width: 0; /* penting: cegah grid item melebar karena konten */
}
.cart-card h2 {
  font-size: 1.4rem;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
}
.cart-card > ul {
  margin: 0 0 12px;
}
.cart-card > ul li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
  font-weight: 600;
}
.cart-card > .btn {
  margin: 6px 8px 0 0;
}

.cart-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-top: 2px dashed var(--border);
  flex-wrap: wrap; /* biar aman di layar kecil */
}
.cart-row > div:first-child {
  flex: 1 1 160px;
  min-width: 0;
}
.cart-row strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.015em;
}
.cart-row small {
  display: block;
  color: var(--ink-soft);
}

.qty {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border: 2px solid var(--stroke);
  border-radius: 999px;
  background: var(--bg);
}
.qty span {
  min-width: 26px;
  text-align: center;
  font-weight: 800;
}
.qty button,
.cart-del {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--surface);
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  transition: background-color 0.15s ease;
}
.qty button:hover {
  background: var(--accent);
}
.cart-del {
  border: 2px solid var(--stroke);
  background: var(--pink-tint);
  color: #b3462c;
  font-size: 14px;
}
.cart-del:hover {
  background: var(--pink);
  color: var(--ink);
}

/* --- FORM KERANJANG (yang tadinya tidak simetris) --- */
.cart-form {
  display: block;
  width: 100%;
}
.cart-form label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin: 14px 0 6px;
}

.cart-form input,
.cart-form select,
.cart-form textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 12px 14px;
  border: 2px solid #d9d3c4;
  border-radius: 14px;
  font: inherit;
  font-size: 16px; /* cegah iOS auto-zoom */
  line-height: 1.4;
  color: var(--ink);
  background: #fcfbf8;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    background-color 0.15s ease;
}
.cart-form input:hover,
.cart-form select:hover,
.cart-form textarea:hover {
  border-color: #bdb6a5;
}

.cart-form input:focus,
.cart-form select:focus,
.cart-form textarea:focus {
  border-color: var(--stroke);
  background: #fff;
  box-shadow: 3px 3px 0 var(--primary);
}

/* Select: panah custom supaya padding kanan konsisten dengan input lain */
.cart-form select {
  padding-right: 40px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f2340' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px 16px;
}

.cart-form select::-ms-expand {
  display: none;
}

.cart-form textarea {
  resize: vertical;
  min-height: 96px;
}

/* iOS: hilangkan inner shadow pada input date/time */
.cart-form input[type="date"],
.cart-form input[type="time"] {
  min-height: 44px;
}

.cart-form .btn {
  white-space: normal;
  text-align: center;
}

.cart-sum {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 20px 0 6px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--accent);
  border: 2px solid var(--stroke);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.cart-note {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 10px 0 16px;
}
.cart-empty {
  text-align: center;
  padding: 52px 20px;
}
.cart-empty h2 {
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
}
.cart-empty p {
  max-width: 42ch;
  margin-left: auto;
  margin-right: auto;
}
.cart-alert {
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--accent-tint);
  border: 2px solid var(--stroke);
  font-weight: 600;
  margin-bottom: 18px;
  font-size: 14px;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 90px;
  transform: translate(-50%, 12px);
  background: var(--ink);
  color: #fff;
  border: 2px solid var(--stroke);
  box-shadow: 4px 4px 0 var(--accent);
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  z-index: 999;
  opacity: 0;
  transition:
    opacity 0.2s ease,
    transform 0.25s var(--ease-pop);
  pointer-events: none;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.timeline {
  list-style: none;
  margin: 20px 0;
  padding: 0;
}
.timeline li {
  position: relative;
  padding: 0 0 20px 36px;
  color: var(--ink-faint);
  font-weight: 600;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--stroke);
  background: var(--surface);
  z-index: 1;
}
.timeline li::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 22px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline li:last-child::after {
  display: none;
}
.timeline li.done {
  color: var(--ink);
}
.timeline li.done::before {
  background: var(--accent);
}
.timeline li.done::after {
  background: var(--stroke);
}
.timeline li.now {
  font-weight: 800;
}
.timeline li.now::before {
  box-shadow: 0 0 0 5px rgba(var(--accent-rgb), 0.45);
}
.status-badge {
  display: inline-block;
  vertical-align: middle;
  padding: 4px 12px;
  border-radius: 999px;
  border: 2px solid var(--stroke);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  background: var(--yellow);
  color: var(--ink);
}
.status-badge.ok {
  background: var(--accent);
  color: var(--ink);
}

/* Padding lebih kecil di HP supaya field tidak terjepit */
@media (max-width: 560px) {
  :root {
    --gutter: 16px;
  }
  .cart-card {
    padding: 22px 18px;
    border-radius: var(--radius-m);
  }
  .cart-row {
    padding: 14px 0;
    gap: 10px;
  }
  .cart-row > div:first-child {
    flex-basis: 110px;
  }
  .navbar {
    padding: 10px var(--gutter);
  }
  .navbar .container {
    height: 60px;
    padding: 0 7px 0 16px;
  }
  .logo {
    font-size: 1.3rem;
  }
  .nav-toggle,
  .cart-link,
  .nav-right .btn-sm {
    width: 42px;
    height: 42px;
  }
}

/* =========================================================
   LAYOUT HALAMAN DALAM — header dua kolom, sidebar, stepper
   ========================================================= */

/* Header dua kolom: teks kiri, panel kanan */
.page-header .container.split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 32px 56px;
  align-items: end;
}
@media (max-width: 900px) {
  .page-header .container.split {
    grid-template-columns: 1fr;
  }
}

/* Panel info (produk) */
.info-card {
  background: var(--surface);
  border: 2px solid var(--stroke);
  border-radius: var(--radius-l);
  box-shadow: var(--hard-lg);
  padding: 24px;
}
.info-card .tile-label {
  margin-bottom: 14px;
}
.check-list {
  display: grid;
  gap: 10px;
  margin: 0 0 20px;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
}
.check-list li::before {
  content: "";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--stroke);
  background: var(--accent)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f2340' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}
.info-card-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
}
.info-card-foot strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  color: var(--accent);
}

/* Judul grup produk: dua kolom dengan garis bawah */
.group-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 40px;
  flex-wrap: wrap;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--stroke);
}
.group-head h2 {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  letter-spacing: -0.045em;
  line-height: 1;
  margin: 0;
}
.group-head p {
  margin: 0;
  max-width: 48ch;
}

/* Stepper checkout (keranjang & cek pembayaran) */
.checkout-steps {
  list-style: none;
  margin: 0;
  padding: 22px 24px;
  display: grid;
  gap: 0;
  background: var(--surface);
  border: 2px solid var(--stroke);
  border-radius: var(--radius-l);
  box-shadow: var(--hard-lg);
}
.checkout-steps li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 0;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink-faint);
}
.checkout-steps li span {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--surface);
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--ink-faint);
}
.checkout-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 42px;
  height: calc(100% - 34px);
  border-left: 2px dashed var(--border);
}
.checkout-steps li.done,
.checkout-steps li.now {
  color: var(--ink);
}
.checkout-steps li.done span {
  border-color: var(--stroke);
  background: var(--ink);
  color: var(--accent);
}
.checkout-steps li.done::after {
  border-left-style: solid;
  border-color: var(--stroke);
}
.checkout-steps li.now span {
  border-color: var(--stroke);
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 0 0 5px rgba(var(--accent-rgb), 0.4);
}
.checkout-steps li.now em {
  font-style: normal;
  margin-left: auto;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--accent-tint);
  border: 1.5px solid var(--stroke);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* FAQ: sidebar sticky + daftar pertanyaan */
.faq-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.faq-layout .faq-wrap {
  max-width: none;
  margin: 0;
}
.faq-side {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 16px;
}
.faq-nav {
  display: grid;
  gap: 2px;
  padding: 18px 12px 12px;
  background: var(--surface);
  border: 2px solid var(--stroke);
  border-radius: var(--radius-l);
}
.faq-nav .tile-label {
  padding: 0 10px 8px;
}
.faq-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-soft);
  transition:
    background-color 0.15s ease,
    color 0.15s ease;
}
.faq-nav a::after {
  content: "\2192";
  opacity: 0;
  transform: translateX(-4px);
  transition:
    opacity 0.15s ease,
    transform 0.15s ease;
}
.faq-nav a:hover {
  background: var(--accent-tint);
  color: var(--ink);
}
.faq-nav a:hover::after {
  opacity: 1;
  transform: translateX(0);
}
.faq-side-card {
  padding: 22px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  border: 2px solid var(--stroke);
  border-radius: var(--radius-l);
}
.faq-side-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 6px;
}
.faq-side-card p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
}
.faq-side-card .btn:hover {
  box-shadow: 3px 3px 0 #fff;
}
.faq-cat {
  scroll-margin-top: 110px;
}
@media (max-width: 900px) {
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .faq-side {
    position: static;
  }
  .faq-nav {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 6px;
    padding: 8px;
    border-radius: 999px;
    scrollbar-width: none;
  }
  .faq-nav::-webkit-scrollbar {
    display: none;
  }
  .faq-nav .tile-label,
  .faq-side-card {
    display: none;
  }
  .faq-nav a {
    flex-shrink: 0;
    border-radius: 999px;
    padding: 8px 14px;
    white-space: nowrap;
  }
  .faq-nav a::after {
    display: none;
  }
}

/* Tentang Kami: cerita versi editorial (judul kiri, paragraf kanan) */
.story-grid.story-text {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: 24px 64px;
  padding-top: 40px;
  border-top: 2px solid var(--stroke);
}
.story-grid.story-text h2 {
  margin: 0;
}
.story-grid.story-text p {
  font-size: 1.1rem;
  line-height: 1.75;
}
.story-grid.story-text p:first-child::first-letter {
  float: left;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 4.2rem;
  line-height: 0.8;
  margin: 6px 12px 0 0;
  padding: 10px 12px 8px;
  border: 2px solid var(--stroke);
  border-radius: 14px;
  background: var(--accent);
  color: var(--ink);
}
.page-header .story-art {
  align-self: center;
  margin: 10px 10px 0 0;
}
@media (max-width: 900px) {
  .story-grid.story-text {
    grid-template-columns: 1fr;
  }
  .page-header .story-art {
    max-width: 520px;
  }
}

/* =========================================================
   MOTION — animasi muncul saat scroll (tanpa JS) & reduced motion
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .section-head,
    .cat-card,
    .feature-item,
    .stat-item,
    .loc-card,
    .contact-card,
    .faq-cat {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 45%;
    }
  }
}
@keyframes rise {
  from {
    opacity: 0;
    translate: 0 28px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .marquee-track {
    width: auto;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 6px;
  }
  .marquee-group {
    flex-wrap: wrap;
    justify-content: center;
  }
  .marquee-group[aria-hidden="true"] {
    display: none;
  }
}
