/* ============================================================
   BigJord — Main CSS Design System
   Mobile-first, modern e-commerce
   ============================================================ */

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  --primary: #15803d;
  --primary-dark: #166534;
  --primary-light: #4ade80;
  --secondary: #f59e0b;
  --success: #22c55e;
  --danger: #ef4444;
  --warning: #f59e0b;
  --info: #06b6d4;

  --dark: #0c1420;
  --dark-2: #16202e;
  --medium: #475569;
  --light: #f7f8f7;
  --border: #e7eae7;
  --white: #ffffff;

  --text-dark: #131c14;
  --text-medium: #46524a;
  --text-muted: #8a948c;

  --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px rgba(16,24,18,0.04);
  --shadow: 0 1px 2px rgba(16,24,18,0.04), 0 6px 16px rgba(16,24,18,0.05);
  --shadow-lg: 0 2px 6px rgba(16,24,18,0.04), 0 12px 28px rgba(16,24,18,0.06);
  --shadow-xl: 0 4px 12px rgba(16,24,18,0.05), 0 20px 48px rgba(16,24,18,0.08);
  --shadow-primary: 0 4px 14px rgba(21,128,61,0.22), 0 1px 4px rgba(21,128,61,0.14);

  --header-height: 64px;
  --header-top-height: 36px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.44, 1);
  --transition: 0.22s var(--ease-out);
  --transition-slow: 0.5s var(--ease-out);
}

/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Blur-frame (photo shown whole via object-fit:contain, ruang kosong di
   sisi yang gak pas rasio diisi versi blur+zoom dari foto itu sendiri
   sendiri — biar gak keliatan kotak kosong polos). .blur-frame-bg
   di-generate otomatis oleh JS (initBlurFrames di main.js) dari <img>
   pertama di dalam elemen ber-class ini. ── */
.blur-frame-bg {
  position: absolute; inset: -20px;
  background-size: cover; background-position: center;
  filter: blur(24px) brightness(0.72) saturate(1.15);
  transform: scale(1.15);
  z-index: 0;
}
.blur-frame > img, .blur-frame > a > img { position: relative; z-index: 1; }
ul { list-style: none; }
input, select, textarea, button { font-family: inherit; }
button { cursor: pointer; border: none; background: none; }
::selection { background: rgba(21,128,61,0.18); }

/* ── Typography ────────────────────────────────────────────── */
h1 { font-size: clamp(1.8rem, 5vw, 3.2rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.4rem, 3vw, 2.1rem); font-weight: 800; line-height: 1.18; letter-spacing: -0.02em; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
h4 { font-size: 1rem; font-weight: 600; }
h1, h2, h3 { text-wrap: balance; }

/* ── Utilities ─────────────────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 5.5rem 0; }
.bg-light { background: var(--light); }
.bg-dark { background: var(--dark); color: white; }
.w-full { width: 100%; }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-warning { color: var(--warning); }
.text-muted { color: var(--text-muted); }
.gradient-text {
  background: linear-gradient(110deg, var(--primary) 10%, #059669 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
/* Di atas latar gelap (hero) versi terang biar tetap kebaca */
.hero .gradient-text,
.reseller-hero .gradient-text {
  background: linear-gradient(110deg, #86efac 0%, #4ade80 55%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hidden { display: none !important; }

/* ── Scroll Progress ───────────────────────────────────────── */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  z-index: 9999; width: 0; transition: width 0.1s linear;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.65rem 1.4rem; border-radius: var(--radius-full);
  font-weight: 700; font-size: 0.9rem; letter-spacing: 0.01em;
  transition: transform 0.25s var(--ease-spring), box-shadow var(--transition),
              background var(--transition), border-color var(--transition), color var(--transition);
  white-space: nowrap; cursor: pointer; border: 2px solid transparent;
}
.btn::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0) 55%);
  opacity: 0; transition: opacity var(--transition); pointer-events: none;
}
.btn:hover::after { opacity: 1; }
.btn:active { transform: translateY(0) scale(0.97); }
.btn:focus-visible { outline: 3px solid rgba(21,128,61,0.4); outline-offset: 2px; }
.btn-primary { background: linear-gradient(180deg, #1a9450, var(--primary)); color: white; box-shadow: 0 1px 2px rgba(21,128,61,0.25), inset 0 1px 0 rgba(255,255,255,0.12); }
.btn-primary:hover { background: linear-gradient(180deg, var(--primary), var(--primary-dark)); transform: translateY(-2px); box-shadow: var(--shadow-primary); }
.btn-wa { background: linear-gradient(180deg, #2adf70, #22c15e); color: white; box-shadow: 0 1px 2px rgba(34,193,94,0.25), inset 0 1px 0 rgba(255,255,255,0.18); }
.btn-wa:hover { background: linear-gradient(180deg, #22c15e, #1aa64f); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,211,102,0.35); }
.btn-outline { background: transparent; border-color: var(--border); color: var(--text-dark); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: rgba(21,128,61,0.04); transform: translateY(-2px); }
.btn-white { background: white; color: var(--primary); box-shadow: 0 1px 3px rgba(0,0,0,0.12); }
.btn-white:hover { background: var(--primary); color: white; transform: translateY(-2px); box-shadow: var(--shadow-primary); }
.btn-danger { background: var(--danger); color: white; }
.btn-danger:hover { background: #dc2626; }
.btn-lg { padding: 0.85rem 2rem; font-size: 1rem; }
.btn-sm { padding: 0.45rem 1rem; font-size: 0.82rem; }
.btn-xs { padding: 0.3rem 0.7rem; font-size: 0.75rem; }

/* ── Flash Messages ────────────────────────────────────────── */
.flash-messages { padding: 1rem 0; }
.flash { padding: 0.75rem 1.25rem; border-radius: var(--radius); font-weight: 600; margin-bottom: 0.5rem; }
.flash-success { background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.3); color: #15803d; }
.flash-error { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); color: #b91c1c; }

/* ── Form Elements ─────────────────────────────────────────── */
.form-input {
  width: 100%; padding: 0.75rem 1rem; border-radius: var(--radius);
  border: 2px solid var(--border); font-family: var(--font); font-size: 0.9rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--white); color: var(--text-dark);
}
.form-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(22,163,74,0.12); }
.form-input::placeholder { color: var(--text-muted); }
textarea.form-input { resize: vertical; min-height: 80px; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-weight: 600; font-size: 0.88rem; color: var(--text-medium); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ── Pin-point picker row (alamat pin & GoSend trigger) ────────── */
.pin-point-row {
  display: flex; align-items: center; gap: 0.75rem; width: 100%; text-align: left;
  border: 1.5px solid var(--border); border-radius: var(--radius-lg);
  padding: 0.7rem 0.9rem; background: var(--white); cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}
.pin-point-row:hover { border-color: var(--primary); background: #f0fdf4; }
.pin-point-row.is-set { border-color: #86efac; background: #f0fdf4; }
.pin-point-row .ppr-icon {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background: #ffedd5; color: #ea580c; display: flex; align-items: center; justify-content: center; font-size: 1rem;
}
.pin-point-row.is-set .ppr-icon { background: #dcfce7; color: #16a34a; }
.pin-point-row .ppr-text { flex: 1; min-width: 0; }
.pin-point-row .ppr-title { display: block; font-weight: 700; font-size: 0.88rem; color: var(--text-dark); }
.pin-point-row .ppr-sub { display: block; font-size: 0.76rem; color: var(--text-muted); margin-top: 0.1rem; }
.pin-point-row .ppr-chevron { color: var(--text-muted); flex-shrink: 0; font-size: 0.8rem; }
.pin-point-row .ppr-preview-map { width: 52px; height: 52px; border-radius: 8px; overflow: hidden; flex-shrink: 0; border: 1px solid #bbf7d0; pointer-events: none; }

.gosend-trigger {
  display: inline-flex; align-items: center; gap: 0.4rem;
  border: 1.5px solid #86efac; background: #f0fdf4; color: var(--primary);
  font-weight: 700; font-size: 0.82rem; padding: 0.4rem 0.8rem; border-radius: var(--radius-full);
  cursor: pointer; transition: background var(--transition), border-color var(--transition);
}
.gosend-trigger:hover { background: #dcfce7; border-color: var(--primary); }
.gosend-note { font-size: 0.78rem; color: var(--text-muted); margin: 0.4rem 0 0; }
.form-full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .form-full { grid-column: 1; } }
.form-lg { padding: 1rem 1.25rem; font-size: 1rem; }
.form-sm { padding: 0.4rem 0.7rem; font-size: 0.85rem; width: 80px; }

/* ── Header ────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow-sm); transition: box-shadow 0.35s var(--ease-out); }
.site-header.scrolled { box-shadow: 0 1px 0 rgba(16,24,18,0.04), 0 8px 28px rgba(16,24,18,0.09); }
.header-top {
  background: var(--dark); color: rgba(255,255,255,0.72);
  font-size: 0.76rem; padding: 0.45rem 0; letter-spacing: 0.02em;
}
.header-top .container { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; }
.header-top i { color: var(--primary-light); margin-right: 0.15rem; }
.header-top a { color: var(--primary-light); font-weight: 600; }
.header-main { background: var(--white); border-bottom: 1px solid var(--border); transition: background 0.35s var(--ease-out); }
@supports (backdrop-filter: blur(1px)) {
  .site-header.scrolled .header-main,
  .site-header.scrolled .main-nav { background: rgba(255,255,255,0.86); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); }
}
.header-inner {
  display: flex; align-items: center; gap: 1rem;
  height: var(--header-height); padding: 0 1.25rem;
}
.logo-img { height: 44px; width: auto; max-width: 220px; object-fit: contain; }

/* Search */
.search-wrapper { flex: 1; max-width: 480px; position: relative; }
.search-form { display: flex; border: 2px solid var(--border); border-radius: var(--radius-full); overflow: hidden; transition: border-color var(--transition); }
.search-form:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(22,163,74,0.1); }
.search-form input { flex: 1; padding: 0.55rem 1rem; border: none; background: none; font-size: 0.9rem; }
.search-form input:focus { outline: none; }
.search-form button { padding: 0.55rem 1rem; background: var(--primary); color: white; transition: background var(--transition); }
.search-form button:hover { background: var(--primary-dark); }
.search-dropdown {
  position: absolute; top: calc(100% + 4px); left: 0; right: 0;
  background: white; border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); z-index: 200; display: none;
}
.search-dropdown.show { display: block; }
.search-result-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1rem; transition: background var(--transition); }
.search-result-item:hover { background: var(--light); }
.search-result-item img { width: 44px; height: 44px; object-fit: cover; border-radius: var(--radius-sm); }
.search-result-item .sri-name { font-weight: 600; font-size: 0.88rem; }
.search-result-item .sri-price { font-size: 0.8rem; color: var(--primary); font-weight: 700; }

/* Nav Actions */
.nav-actions { display: flex; align-items: center; gap: 0.5rem; margin-left: auto; }
.nav-icon { position: relative; padding: 0.5rem; color: var(--text-dark); transition: color var(--transition); font-size: 1.1rem; }
.nav-icon:hover { color: var(--primary); }
.nav-avatar-icon { display: flex; align-items: center; justify-content: center; padding: 0.3rem; }
.nav-avatar-img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; border: 1.5px solid var(--border); display: block; }
.nav-avatar-icon:hover .nav-avatar-img { border-color: var(--primary); }
.nav-avatar-initial {
  width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary), #15803d); color: white; font-weight: 700; font-size: 0.85rem;
}
.badge {
  position: absolute; top: 0; right: 0; min-width: 18px; height: 18px;
  background: var(--primary); color: white; border-radius: var(--radius-full);
  font-size: 0.65rem; font-weight: 700; display: flex; align-items: center; justify-content: center;
  padding: 0 4px; box-shadow: 0 0 0 2px var(--white);
}
.badge.bump { animation: badgeBump 0.5s var(--ease-spring); }
@keyframes badgeBump {
  0% { transform: scale(1); }
  40% { transform: scale(1.45); }
  100% { transform: scale(1); }
}
.hamburger-btn { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger-btn span { display: block; width: 22px; height: 2px; background: var(--text-dark); border-radius: 2px; transition: all var(--transition); }

/* Main Nav */
.main-nav { border-top: 1px solid var(--border); background: var(--white); }
.nav-list { display: flex; align-items: stretch; gap: 0; margin: 0; padding: 0; list-style: none; }
.nav-list > li { position: relative; display: flex; align-items: stretch; }
.nav-list > li > a {
  display: flex; align-items: center; gap: 0.35rem;
  padding: 0.75rem 1rem; font-size: 0.88rem; font-weight: 600;
  color: var(--text-medium); transition: all var(--transition);
  border-bottom: 2px solid transparent; white-space: nowrap;
}
.nav-list > li > a:hover,
.nav-list > li > a.active,
.nav-list > li.active-parent > a {
  color: var(--primary); border-bottom-color: var(--primary);
}

/* Dropdown arrow icon */
.nav-arrow { font-size: 0.65rem; opacity: 0.6; transition: transform var(--transition); }
.has-dropdown:hover .nav-arrow { transform: rotate(180deg); }

/* Dropdown menu */
.nav-dropdown {
  position: absolute; top: 100%; left: 0;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  min-width: 210px; z-index: 300; padding: 0.5rem 0;
  list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(10px) scale(0.98); transform-origin: top left;
  transition: opacity 0.25s var(--ease-out), visibility 0.25s, transform 0.3s var(--ease-spring);
  pointer-events: none;
}
.has-dropdown:hover .nav-dropdown {
  opacity: 1; visibility: visible; transform: translateY(0) scale(1);
  pointer-events: auto;
}
.nav-dropdown li a {
  display: flex; align-items: center; gap: 0.65rem;
  padding: 0.6rem 1.1rem; font-size: 0.86rem; font-weight: 500;
  color: var(--text-medium); transition: all var(--transition);
  white-space: nowrap;
}
.nav-dropdown li a:hover,
.nav-dropdown li a.active {
  background: rgba(21,128,61,0.07); color: var(--primary);
  padding-left: 1.35rem;
}
.nav-dropdown li a i { width: 16px; text-align: center; font-size: 0.82rem; color: var(--text-muted); }
.nav-dropdown li a svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--text-muted); }
.nav-dropdown li a:hover i,
.nav-dropdown li a.active i,
.nav-dropdown li a:hover svg,
.nav-dropdown li a.active svg { color: var(--primary); }
.dropdown-sep { height: 1px; background: var(--border); margin: 0.35rem 0; }

.nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 99; }

/* ── Hero ──────────────────────────────────────────────────── */
/* Editorial, single-image hero — restrained motion, no glow blobs,
   no floating shadow badges. Premium reads as calm, not busy. */
.hero {
  position: relative; overflow: hidden;
  background: var(--dark);
  padding: 5.5rem 0 6rem;
}
.hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(180deg, rgba(13,24,19,0) 42%, rgba(13,24,19,0.18) 58%, rgba(13,24,19,0.62) 72%, rgba(13,24,19,0.9) 84%, #0d1813 94%, #0d1813 100%),
    linear-gradient(100deg, rgba(13,24,19,0.96) 8%, rgba(13,24,19,0.88) 32%, rgba(13,24,19,0.78) 70%, rgba(13,24,19,0.68) 100%),
    url('../img/hero-bg-store.jpg');
  background-size: cover;
  background-position: center 48%;
  background-repeat: no-repeat;
  filter: saturate(0.7) brightness(0.9);
}
/* WebP first (smaller), JPEG fallback for browsers without image-set() */
@supports (background-image: image-set(url('x.webp') type('image/webp'))) {
  html .hero::before {
    background-image:
      linear-gradient(180deg, rgba(12,20,32,0) 55%, var(--dark) 85%, var(--dark) 100%),
      linear-gradient(100deg, rgba(12,20,32,0.97) 8%, rgba(12,20,32,0.9) 32%, rgba(12,20,32,0.8) 70%, rgba(12,20,32,0.72) 100%),
      image-set(url('../img/hero-bg-store.webp') type('image/webp'), url('../img/hero-bg-store.jpg') type('image/jpeg'));
  }
  @media (max-width: 768px) {
    html .hero::before {
      background-image:
        linear-gradient(180deg, rgba(12,20,32,0.84) 0px, rgba(12,20,32,0.96) 200px, var(--dark) 300px),
        image-set(url('../img/hero-bg-store-mobile.webp') type('image/webp'), url('../img/hero-bg-store-mobile.jpg') type('image/jpeg'));
      background-size: auto, 100% auto;
      background-position: center top;
      background-repeat: no-repeat;
    }
  }
}
/* Entrance — sekali saat load */
.hero-content > * { animation: heroRise 0.8s var(--ease-out) both; }
.hero-content > *:nth-child(2) { animation-delay: 0.06s; }
.hero-content > *:nth-child(3) { animation-delay: 0.12s; }
.hero-content > *:nth-child(4) { animation-delay: 0.18s; }
.hero-content > *:nth-child(5) { animation-delay: 0.24s; }
.hero-visual { animation: heroRise 0.9s 0.15s var(--ease-out) both; }
@keyframes heroRise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 0.9fr; gap: 4.5rem; align-items: center;
  position: relative; z-index: 1;
}
.hero-content { color: white; }
.hero-eyebrow {
  display: flex; align-items: center; gap: 0.6rem;
  color: rgba(255,255,255,0.55); text-transform: uppercase;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; margin-bottom: 1.5rem;
}
.hero-eyebrow span { display: block; width: 28px; height: 1px; background: var(--primary-light); }
/* Shared pill badge — still used by reseller-hero & presentasi decks */
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(22,163,74,0.2); border: 1px solid rgba(22,163,74,0.4);
  color: var(--primary-light); padding: 0.4rem 1rem; border-radius: var(--radius-full);
  font-size: 0.82rem; font-weight: 700; margin-bottom: 1.25rem;
}
.hero-content h1 { color: white; margin-bottom: 1.15rem; font-weight: 700; letter-spacing: -0.03em; }
.hero-sub { color: rgba(255,255,255,0.62); font-size: 1.02rem; line-height: 1.65; margin-bottom: 2.25rem; max-width: 440px; }
.hero-cta { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-cta .btn-primary { border-radius: var(--radius-sm); padding: 0.9rem 2.2rem; }
.hero-cta-link {
  display: inline-flex; align-items: center; gap: 0.55rem;
  color: rgba(255,255,255,0.85); font-weight: 600; font-size: 0.92rem;
  padding-bottom: 2px; border-bottom: 1px solid rgba(255,255,255,0.3);
  transition: border-color var(--transition), color var(--transition), gap var(--transition);
}
.hero-cta-link:hover { color: white; border-color: rgba(255,255,255,0.85); gap: 0.75rem; }
.hero-cta-link i.fa-whatsapp { color: #4ade80; }
.hero-cta-link i.fa-arrow-right { font-size: 0.78rem; }
.hero-meta-row { display: flex; gap: 0; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 1.5rem; }
.hero-meta-item {
  padding: 0 1.75rem 0 0; margin-right: 1.75rem;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.hero-meta-item:last-child { border-right: none; margin-right: 0; padding-right: 0; }
.hero-meta-item strong { display: block; font-size: 1.15rem; font-weight: 800; color: white; letter-spacing: -0.01em; }
.hero-meta-item strong i { font-style: normal; opacity: 0.5; font-weight: 600; font-size: 0.9rem; }
.hero-meta-item span { font-size: 0.72rem; color: rgba(255,255,255,0.5); }

/* Hero Visual — editorial frame that slowly cycles through slides:
   crossfade + a subtle Ken Burns zoom, no carousel-arrow clutter. */
.hero-visual { position: relative; }
.hero-frame {
  position: relative; overflow: hidden; border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.1); background: var(--dark-2);
  /* aspect-ratio (not a fixed height) so it stays landscape at every
     viewport width — a fixed px height went portrait once the column
     narrowed faster than the height shrank, cropping into mostly the
     product photo's plain background instead of the garment. */
  aspect-ratio: 4 / 3;
}
.hero-frame img { width: 100%; height: 100%; object-fit: contain; display: block; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 1.1s var(--ease-out);
  pointer-events: none;
}
.hero-slide, .hero-slide a { display: block; height: 100%; }
.hero-slide.active { opacity: 1; z-index: 1; pointer-events: auto; }
.hero-slide img { animation: heroKenBurns 7s ease-out both; }
@keyframes heroKenBurns {
  from { transform: scale(1.1); }
  to   { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: opacity 0.3s linear; }
  .hero-slide img { animation: none; }
}
.hero-tag {
  position: absolute; left: 0; bottom: 0; z-index: 2; display: flex; align-items: center; gap: 0.5rem;
  background: white; color: var(--text-dark); padding: 0.7rem 1.1rem;
  font-size: 0.8rem; font-weight: 700; border-top-right-radius: var(--radius-sm);
  max-width: calc(100% - 1rem);
}
.hero-tag i { color: #f59e0b; font-size: 0.75rem; flex-shrink: 0; }
.hero-tag span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero-dots {
  position: absolute; right: 1rem; bottom: 1rem; z-index: 2;
  display: flex; gap: 0.4rem;
}
.hero-dot {
  width: 18px; height: 3px; border-radius: 2px; border: none; padding: 0;
  background: rgba(255,255,255,0.4); cursor: pointer;
  transition: background var(--transition), width var(--transition);
}
.hero-dot:hover { background: rgba(255,255,255,0.7); }
.hero-dot.active { background: white; width: 26px; }

/* ── Flash Sale Section ─────────────────────────────────────── */
.flash-sale-section { background: linear-gradient(180deg, #0d1813 0%, #1e293b 55%, #0f172a 100%); padding: 2.5rem 0; }
.flash-sale-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; flex-wrap: wrap; gap: 1rem; }
.flash-sale-title { display: flex; align-items: center; gap: 0.75rem; color: white; }
.flash-sale-title i { color: var(--secondary); font-size: 1.5rem; animation: pulse 1s ease-in-out infinite alternate; }
.flash-sale-title h2 { color: white; }
.flash-label { background: var(--secondary); color: var(--dark); padding: 0.3rem 0.75rem; border-radius: var(--radius-full); font-size: 0.78rem; font-weight: 800; }
.flash-sale-timer { display: flex; align-items: center; gap: 0.75rem; color: rgba(255,255,255,0.7); font-size: 0.88rem; }
.countdown { display: flex; align-items: center; gap: 0.25rem; }
.cd-box {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm); padding: 0.5rem 0.75rem; text-align: center; min-width: 54px;
  backdrop-filter: blur(4px);
}
.cd-box span { font-variant-numeric: tabular-nums; }
.cd-box span { display: block; font-size: 1.5rem; font-weight: 800; color: white; line-height: 1; }
.cd-box small { display: block; font-size: 0.65rem; color: rgba(255,255,255,0.6); margin-top: 2px; }
.cd-sep { color: white; font-size: 1.5rem; font-weight: 800; }
@keyframes pulse { from { opacity: 0.7; } to { opacity: 1; } }

/* ── Products Grid ─────────────────────────────────────────── */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.product-card {
  background: white; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), border-color 0.45s var(--ease-out);
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.product-img-wrap { position: relative; aspect-ratio: 3/4; overflow: hidden; }
.product-img-wrap a { display: block; height: 100%; }
.product-img-wrap img { width: 100%; height: 100%; object-fit: contain; background: var(--light); transition: transform 0.7s var(--ease-out); }
.product-card:hover .product-img-wrap img { transform: scale(1.06); }
.product-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 4px; }
.badge-new { background: var(--primary); color: white; padding: 2px 8px; border-radius: var(--radius-full); font-size: 0.72rem; font-weight: 700; }
.badge-disc { background: var(--danger); color: white; padding: 2px 8px; border-radius: var(--radius-full); font-size: 0.72rem; font-weight: 700; }
.badge-flash { background: var(--secondary); color: var(--dark); padding: 2px 8px; border-radius: var(--radius-full); font-size: 0.72rem; font-weight: 700; }
.badge-flash-sm { background: var(--secondary); color: var(--dark); padding: 1px 6px; border-radius: var(--radius-full); font-size: 0.7rem; font-weight: 700; display: inline-flex; align-items: center; gap: 3px; }
.wishlist-btn {
  position: absolute; top: 10px; right: 10px; width: 36px; height: 36px;
  background: white; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm); color: var(--text-muted); transition: all var(--transition);
  border: none; cursor: pointer;
}
.wishlist-btn { transition: transform 0.3s var(--ease-spring), color var(--transition), box-shadow var(--transition); }
.wishlist-btn:hover { color: var(--danger); transform: scale(1.12); box-shadow: var(--shadow); }
.wishlist-btn.active { color: var(--danger); }
.wishlist-btn.active i { font-weight: 900; animation: heartPop 0.45s var(--ease-spring); }
@keyframes heartPop {
  0% { transform: scale(0.6); }
  55% { transform: scale(1.3); }
  100% { transform: scale(1); }
}
.product-info { padding: 1rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.product-cat { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
.product-name { font-size: 0.9rem; font-weight: 700; line-height: 1.3; }
.product-name a:hover { color: var(--primary); }
.product-rating { display: flex; align-items: center; gap: 4px; font-size: 0.75rem; color: var(--secondary); }
.product-rating span { color: var(--text-muted); font-size: 0.72rem; }
.product-price { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.price-main, .price-flash { font-size: 1.05rem; font-weight: 800; color: var(--primary); }
.price-flash { color: var(--danger); }
.price-orig { font-size: 0.82rem; color: var(--text-muted); text-decoration: line-through; }
.price-disc { font-size: 0.78rem; color: var(--success); font-weight: 700; }
.product-sizes-preview { display: flex; gap: 4px; flex-wrap: wrap; }
.product-sizes-preview span { font-size: 0.7rem; padding: 1px 6px; border: 1px solid var(--border); border-radius: 4px; color: var(--text-medium); }
.btn-add-cart { margin-top: auto; }
.cart-label-short { display: none; }

/* ── Product horizontal scroll (homepage only) ─────────────── */
.product-scroll-wrap { overflow: hidden; }
.product-grid-scroll { /* desktop: unchanged */ }
.product-scroll-wrap::-webkit-scrollbar { display: none; }
.product-scroll-wrap { scrollbar-width: none; }

/* ── Section Headers ───────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-header p { color: var(--text-muted); margin-top: 0.4rem; }
.section-header .section-link { display: inline-flex; align-items: center; gap: 0.3rem; margin-top: 0.75rem; color: var(--primary); font-weight: 700; font-size: 0.9rem; transition: gap var(--transition); }
.section-header .section-link:hover { gap: 0.6rem; }

/* ── Categories ─────────────────────────────────────────────── */
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.category-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 2rem 1rem; border-radius: var(--radius-lg); border: 1.5px solid var(--border);
  background: white; text-align: center; cursor: pointer;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease-out), border-color 0.4s var(--ease-out), background 0.4s var(--ease-out);
}
.category-card:hover { border-color: rgba(21,128,61,0.3); background: rgba(21,128,61,0.02); transform: translateY(-2px); box-shadow: var(--shadow); }
.category-icon { font-size: 2.5rem; transition: transform 0.4s var(--ease-spring); }
.category-card:hover .category-icon { transform: scale(1.06); }
.category-card span { font-weight: 700; font-size: 1rem; color: var(--text-dark); }
.category-card small { font-size: 0.78rem; color: var(--primary); font-weight: 600; }

/* ── Why Section ────────────────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.why-card { text-align: center; padding: 2rem 1.25rem; border-radius: var(--radius-xl); transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), background 0.4s var(--ease-out); }
.why-card:hover { background: white; transform: translateY(-2px); box-shadow: var(--shadow); }
.why-icon {
  width: 64px; height: 64px; border-radius: var(--radius-xl);
  background: linear-gradient(160deg, rgba(21,128,61,0.12), rgba(21,128,61,0.05));
  border: 1px solid rgba(21,128,61,0.15);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem;
  transition: transform 0.4s var(--ease-spring);
}
.why-card:hover .why-icon { transform: scale(1.06); }
.why-icon i { font-size: 1.5rem; color: var(--primary); }
.why-card h3 { margin-bottom: 0.5rem; }
.why-card p { color: var(--text-muted); font-size: 0.9rem; }

/* ── Size Banner ────────────────────────────────────────────── */
.size-banner-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; background: linear-gradient(135deg, #1a2a1e 0%, #0f172a 100%); border-radius: var(--radius-xl); padding: 3rem; overflow: hidden; }
.size-banner-text { color: white; }
.size-banner-text h2 { color: white; margin-bottom: 1rem; }
.size-banner-text p { color: rgba(255,255,255,0.8); margin-bottom: 1.5rem; }
.size-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 1.5rem; }
.size-tag { background: rgba(255,255,255,0.2); color: white; padding: 4px 14px; border-radius: var(--radius-full); font-weight: 700; font-size: 0.85rem; border: 1px solid rgba(255,255,255,0.3); }
.size-banner-img { position: relative; overflow: hidden; border-radius: var(--radius-lg); }
.size-banner-img img { width: 100%; height: 300px; object-fit: contain; }

/* ── Testimonials ───────────────────────────────────────────── */
.testimonial-slider { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.testimonial-card { background: white; border-radius: var(--radius-lg); padding: 1.5rem; border: 1px solid var(--border); transition: all var(--transition); }
.testimonial-card:hover { box-shadow: var(--shadow); }
.test-stars { color: var(--secondary); font-size: 0.9rem; margin-bottom: 0.75rem; }
.test-text { color: var(--text-medium); font-size: 0.9rem; line-height: 1.6; margin-bottom: 1rem; font-style: italic; }
.test-author { display: flex; align-items: center; gap: 0.75rem; }
.test-avatar { width: 40px; height: 40px; background: #2d3748; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-weight: 800; font-size: 1rem; flex-shrink: 0; }
.test-author strong { display: block; font-size: 0.9rem; }
.test-author small { color: var(--text-muted); font-size: 0.78rem; }
.testimonial-nav { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.5rem; }
.testimonial-nav button { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; transition: all var(--transition); }
.testimonial-nav button:hover { border-color: var(--primary); color: var(--primary); }
.test-dots { display: flex; gap: 6px; }
.test-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); cursor: pointer; transition: all var(--transition); }
.test-dot.active { background: var(--primary); width: 22px; border-radius: 4px; }

/* ── Koleksi Page ───────────────────────────────────────────── */
.page-hero { padding: 3rem 0; }
.page-hero h1 { font-size: 2rem; }
.page-hero p { margin-top: 0.5rem; opacity: 0.7; }
.koleksi-layout { display: grid; grid-template-columns: 260px 1fr; gap: 2rem; align-items: start; }
.filter-sidebar {
  background: white; border-radius: var(--radius-lg); padding: 1.5rem;
  border: 1px solid var(--border); position: sticky; top: calc(var(--header-height) + var(--header-top-height) + 1rem);
  /* Katalog sekarang render jauh lebih banyak kategori/ukuran (2026-08-07)
     — sidebar-nya bisa lebih tinggi dari viewport. Sticky element yang lebih
     tinggi dari sisa ruang viewport bakal kepotong di bawah & gak bisa
     discroll (scroll halaman gak "melepas" sticky-nya karena container-nya
     sama tinggi persis sama isinya) — kasih scroll internal sendiri. */
  max-height: calc(100vh - var(--header-height) - var(--header-top-height) - 2rem);
  overflow-y: auto;
}
.filter-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.filter-close { display: none; }
.filter-group { margin-bottom: 1.5rem; }
.filter-group h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 0.75rem; }
.filter-options { display: flex; flex-direction: column; gap: 4px; }
.filter-opt {
  display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.75rem;
  border-radius: var(--radius); font-size: 0.88rem; font-weight: 500; color: var(--text-medium);
  transition: all var(--transition); cursor: pointer;
}
.filter-opt:hover { background: var(--light); color: var(--primary); }
.filter-opt.active { background: rgba(22,163,74,0.1); color: var(--primary); font-weight: 700; }
.filter-opt-count { margin-left: auto; font-size: 0.75rem; color: var(--text-muted); font-weight: 500; }
.filter-opt.active .filter-opt-count { color: var(--primary); }
.size-filter-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.size-filter-btn {
  display: flex; align-items: center; justify-content: center;
  padding: 0.4rem; border-radius: var(--radius-sm); border: 1.5px solid var(--border);
  font-size: 0.78rem; font-weight: 600; transition: all var(--transition); cursor: pointer;
}
.size-filter-btn:hover, .size-filter-btn.active { border-color: var(--primary); background: rgba(22,163,74,0.08); color: var(--primary); }
.price-range { padding: 0.5rem 0; }
.price-range input[type=range] { width: 100%; accent-color: var(--primary); }
.price-labels { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--text-muted); margin-top: 0.4rem; }
/* Only meaningful on mobile, where the sidebar starts hidden — on desktop
   the sidebar is always visible so the toggle has nothing to do. */
#filterToggle { display: none; }

/* Toolbar */
.koleksi-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; gap: 0.75rem; flex-wrap: wrap; }
.toolbar-left, .toolbar-right { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.product-count { font-size: 0.85rem; color: var(--text-muted); }
.sort-select { padding: 0.45rem 0.75rem; border: 2px solid var(--border); border-radius: var(--radius); font-size: 0.85rem; font-family: var(--font); background: white; cursor: pointer; }
.sort-select:focus { outline: none; border-color: var(--primary); }
.search-tag { display: inline-flex; align-items: center; gap: 0.4rem; background: rgba(22,163,74,0.1); color: var(--primary); padding: 0.3rem 0.75rem; border-radius: var(--radius-full); font-size: 0.82rem; font-weight: 600; }
.search-tag a { color: var(--primary); display: flex; align-items: center; }

/* Empty state */
.empty-state { text-align: center; padding: 4rem 2rem; }
.empty-state i { color: var(--border); margin-bottom: 1rem; }
.empty-state h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.empty-state p { color: var(--text-muted); margin-bottom: 1.5rem; }

/* ── Product Detail ─────────────────────────────────────────── */
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; font-size: 0.82rem; color: var(--text-muted); margin-bottom: 2rem; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb i { font-size: 0.65rem; }
.produk-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; margin-bottom: 3rem; }
.gallery-main { position: relative; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 3/4; background: var(--light); }
/* object-fit:cover di kotak rasio tetap 3:4 motong bagian foto yang gak pas
   sama rasio itu — banyak foto produk (model full-body) rasionya beda dikit,
   jadi kepala/kaki-nya kepotong. contain nampilin foto utuh (nambah sedikit
   ruang kosong di sisi yang gak pas, ke-cover sama background terang). */
.main-product-img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.gallery-thumbs .thumb { width: 72px; height: 72px; object-fit: contain; background: var(--light); border-radius: var(--radius-sm); border: 2px solid transparent; cursor: pointer; transition: border-color var(--transition); }
.gallery-thumbs .thumb.active, .gallery-thumbs .thumb:hover { border-color: var(--primary); }
.wishlist-btn-lg {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: white; border-radius: var(--radius-full); padding: 0.5rem 1rem;
  font-size: 0.82rem; font-weight: 700; box-shadow: var(--shadow);
  color: var(--text-muted); transition: all var(--transition); cursor: pointer; border: none;
}
.wishlist-btn-lg:hover { color: var(--danger); }
.wishlist-btn-lg.active { color: var(--danger); }
.produk-badges { display: flex; gap: 6px; margin-bottom: 0.75rem; }
.produk-category { font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; margin-bottom: 0.4rem; }
.produk-title { margin-bottom: 1rem; }
.produk-rating { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1.25rem; font-size: 0.88rem; }
.produk-rating .stars { color: var(--secondary); }
.rating-num { font-weight: 800; }
.review-count, .sold-count { color: var(--text-muted); font-size: 0.82rem; }
.produk-price { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 1.5rem; padding: 1rem; background: var(--light); border-radius: var(--radius-lg); }
.price-main { font-size: 1.6rem; font-weight: 800; color: var(--primary); }
.flash-price-box { display: flex; flex-direction: column; gap: 0.3rem; }
.flash-price-box .price-main { color: var(--danger); }
.selection-group { margin-bottom: 1.25rem; }
.selection-group > label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 0.6rem; }
.selection-group > label strong { color: var(--primary); }
.color-selector { display: flex; gap: 8px; flex-wrap: wrap; }
.color-opt { padding: 0.45rem 0.85rem; border: 2px solid var(--border); border-radius: var(--radius); font-size: 0.82rem; font-weight: 600; cursor: pointer; transition: all var(--transition); }
.color-opt:hover, .color-opt.active { border-color: var(--primary); background: rgba(22,163,74,0.08); color: var(--primary); }
.size-selector { display: flex; gap: 8px; flex-wrap: wrap; }
.size-opt {
  width: 52px; height: 44px; display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--border); border-radius: var(--radius); font-size: 0.82rem; font-weight: 700;
  cursor: pointer; transition: all var(--transition); position: relative;
}
.size-opt:hover:not([disabled]) { border-color: var(--primary); color: var(--primary); }
.size-opt.active { border-color: var(--primary); background: var(--primary); color: white; }
.size-opt.out-of-stock { opacity: 0.4; cursor: not-allowed; }
.size-cross { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-45deg); width: 100%; height: 2px; background: var(--text-muted); }
.stock-info { font-size: 0.82rem; margin-top: 0.5rem; }
.qty-control { display: flex; align-items: center; gap: 0; border: 2px solid var(--border); border-radius: var(--radius); overflow: hidden; width: fit-content; }
.qty-btn { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; font-weight: 700; cursor: pointer; transition: background var(--transition); border: none; background: var(--light); }
.qty-btn:hover { background: var(--border); }
.qty-input { width: 60px; height: 40px; text-align: center; border: none; font-weight: 700; font-size: 1rem; }
.qty-input:focus { outline: none; }
.qty-val { min-width: 40px; text-align: center; font-weight: 700; }
.produk-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.produk-cta .btn { flex: 1; }
.produk-features { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-bottom: 1.5rem; }
.feature-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--text-medium); }
.feature-item i { color: var(--success); }
.produk-desc { border-top: 1px solid var(--border); padding-top: 1.5rem; }
.produk-desc h3 { margin-bottom: 0.75rem; }
.produk-desc p { white-space: pre-wrap; line-height: 1.65; column-width: 320px; column-gap: 2.5rem; }
@media (max-width: 640px) { .produk-desc p { column-width: auto; column-count: 1; } }
.produk-desc ul { margin-top: 0.75rem; display: flex; flex-direction: column; gap: 0.4rem; }
.produk-desc ul li { display: flex; align-items: center; gap: 0.4rem; font-size: 0.9rem; }
.produk-desc ul li i { color: var(--success); }
.produk-detail-info { display: flex; gap: 1.5rem; margin-top: 1rem; font-size: 0.85rem; color: var(--text-muted); flex-wrap: wrap; }

/* Reviews */
.reviews-section { border-top: 1px solid var(--border); padding-top: 2.5rem; margin-bottom: 3rem; }
.reviews-section h2 { margin-bottom: 1.5rem; }
.reviews-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-bottom: 2rem; }
.review-card { background: var(--light); border-radius: var(--radius-lg); padding: 1.25rem; }
.review-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.review-avatar { width: 40px; height: 40px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-weight: 800; flex-shrink: 0; }
.review-stars { color: var(--secondary); font-size: 0.78rem; }
.review-date { margin-left: auto; font-size: 0.75rem; color: var(--text-muted); }
.review-form-wrap { background: var(--light); border-radius: var(--radius-lg); padding: 1.5rem; }
.review-form-wrap h3 { margin-bottom: 1rem; }
.form-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.star-input { display: flex; gap: 4px; font-size: 1.3rem; color: var(--secondary); cursor: pointer; }
.star-input i:hover, .star-input i.selected { color: var(--secondary); }
.no-reviews { color: var(--text-muted); text-align: center; padding: 2rem; }

/* Related */
.related-section h2 { margin-bottom: 1.5rem; }

/* ── Cart ───────────────────────────────────────────────────── */
.page-title { font-size: 1.6rem; margin-bottom: 2rem; display: flex; align-items: center; gap: 0.75rem; }
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 2rem; align-items: start; }
.cart-header-row { display: grid; grid-template-columns: 30px 2fr 1fr 1fr 1fr 40px; gap: 1rem; padding: 0.75rem 1rem; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); border-bottom: 1px solid var(--border); }
.cart-item { display: grid; grid-template-columns: 30px 2fr 1fr 1fr 1fr 40px; gap: 1rem; align-items: center; padding: 1rem; border-bottom: 1px solid var(--border); }
.cart-item-product { display: flex; gap: 0.75rem; align-items: flex-start; }
.cart-item-product img { width: 70px; height: 84px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0; }
.cart-item-detail { display: flex; flex-direction: column; gap: 3px; }
.cart-item-detail a { font-weight: 700; font-size: 0.9rem; }
.cart-item-detail a:hover { color: var(--primary); }
.cart-item-detail span { font-size: 0.8rem; color: var(--text-muted); }
.cart-item-price, .cart-item-subtotal { font-weight: 700; }
.cart-remove { color: var(--text-muted); padding: 0; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 6px; transition: color var(--transition), background var(--transition); flex-shrink: 0; }
.cart-remove:hover { color: var(--danger); background: rgba(239,68,68,0.08); }
.qty-sm .qty-btn { width: 32px; height: 32px; font-size: 1rem; }
.qty-sm .qty-val { min-width: 32px; }
.discount-row { display: flex; gap: 0.75rem; padding: 1rem; }
.cart-summary { background: var(--light); border-radius: var(--radius-xl); padding: 1.5rem; position: sticky; top: calc(var(--header-height) + var(--header-top-height) + 1rem); border: 1px solid var(--border); }
.cart-summary h3 { margin-bottom: 1.25rem; }
.summary-row { display: flex; justify-content: space-between; align-items: center; padding: 0.5rem 0; font-size: 0.9rem; }
.summary-total { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0 0.75rem; border-top: 2px solid var(--border); margin-top: 0.5rem; font-size: 1.1rem; }
.summary-total strong { color: var(--primary); font-size: 1.3rem; }
.free-shipping-progress { margin: 0.75rem 0; }
.free-ship-bar { height: 6px; background: var(--border); border-radius: var(--radius-full); overflow: hidden; }
.free-ship-fill { height: 100%; background: linear-gradient(90deg, var(--success), #16a34a); border-radius: var(--radius-full); transition: width 0.5s ease; }
.free-shipping-progress p { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.4rem; }
.cart-trust { text-align: center; font-size: 0.78rem; color: var(--text-muted); margin-top: 1rem; display: flex; align-items: center; justify-content: center; gap: 0.4rem; }
.empty-cart { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 5rem 2rem; }
.empty-cart i { color: var(--border); margin-bottom: 1.5rem; }
.empty-cart h2 { margin-bottom: 0.75rem; }
.empty-cart p { color: var(--text-muted); margin-bottom: 2rem; }
.empty-cart .btn { margin: 0 auto; }

/* ── Checkout ───────────────────────────────────────────────── */
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 2rem; align-items: start; }
.checkout-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 1.5rem; margin-bottom: 1.25rem; }
.checkout-card h3 { margin-bottom: 1.25rem; display: flex; align-items: center; gap: 0.5rem; color: var(--text-dark); }
.courier-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.payment-options { display: flex; flex-direction: column; gap: 0.6rem; }
.courier-opt input, .payment-opt input { position: absolute; opacity: 0; }
.courier-opt, .payment-opt { cursor: pointer; }
.courier-card, .payment-card {
  padding: 0.75rem; border: 2px solid var(--border); border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 0.25rem; transition: all var(--transition); text-align: center;
}
.payment-card { flex-direction: row; align-items: center; gap: 0.75rem; text-align: left; width: 100%; }
.payment-card i { font-size: 1.4rem; flex-shrink: 0; width: 1.5rem; text-align: center; }
.courier-opt input:checked + .courier-card,
.payment-opt input:checked + .payment-card { border-color: var(--primary); background: rgba(22,163,74,0.06); }
.courier-card strong, .payment-card strong { font-size: 0.88rem; }
.courier-card small, .payment-card small { font-size: 0.75rem; color: var(--text-muted); }
.payment-opt { display: block; }
.shipping-note { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.75rem; display: flex; align-items: center; gap: 0.4rem; }
.checkout-summary { background: var(--light); border-radius: var(--radius-xl); padding: 1.5rem; border: 1px solid var(--border); position: sticky; top: calc(var(--header-height) + var(--header-top-height) + 1rem); }
.checkout-summary h3 { margin-bottom: 1rem; }
.summary-item { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 0.75rem; }
.summary-item img { width: 56px; height: 64px; object-fit: cover; border-radius: var(--radius-sm); }
.summary-item-info { flex: 1; }
.summary-item-info p { font-size: 0.85rem; font-weight: 600; line-height: 1.3; }
.summary-item-info small { color: var(--text-muted); font-size: 0.75rem; }
.summary-divider { height: 1px; background: var(--border); margin: 0.75rem 0; }
.checkout-secure { text-align: center; font-size: 0.78rem; color: var(--text-muted); margin-top: 1rem; display: flex; align-items: center; justify-content: center; gap: 0.4rem; }

/* ── Success Page ───────────────────────────────────────────── */
.success-wrapper { max-width: 700px; margin: 0 auto; text-align: center; }
.success-icon { font-size: 5rem; color: var(--success); margin-bottom: 1.5rem; }
.success-sub { color: var(--text-muted); font-size: 1.05rem; margin: 0.75rem 0 2rem; }
.order-info-card { background: var(--light); border-radius: var(--radius-xl); padding: 2rem; text-align: left; margin-bottom: 2rem; border: 1px solid var(--border); }
.order-id-row { display: flex; justify-content: space-between; align-items: center; padding-bottom: 1rem; border-bottom: 1px solid var(--border); margin-bottom: 1rem; }
.order-info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
.order-info-grid label { display: block; font-size: 0.75rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 3px; }
.status-badge { padding: 3px 10px; border-radius: var(--radius-full); font-size: 0.75rem; font-weight: 700; }
.status-pending { background: rgba(245,158,11,0.15); color: #92400e; }
.status-processing { background: rgba(22,163,74,0.15); color: #15803d; }
.status-packing { background: rgba(168,85,247,0.15); color: #7e22ce; }
.status-shipped { background: rgba(6,182,212,0.15); color: #0e7490; }
.status-delivered { background: rgba(34,197,94,0.15); color: #15803d; }
.status-cancelled { background: rgba(239,68,68,0.15); color: #b91c1c; }
.status-problem { background: rgba(249,115,22,0.15); color: #9a3412; }
.status-retur_gudang { background: rgba(244,63,94,0.15); color: #9f1239; }
.order-item-row { display: flex; gap: 1rem; align-items: center; padding: 0.5rem 0; border-bottom: 1px solid var(--border); font-size: 0.88rem; }
.order-item-row span:first-child { flex: 1; font-weight: 600; }
.order-item-row small { color: var(--text-muted); }
.order-totals, .order-totals-admin { padding-top: 1rem; }
.order-row, .ot-row { display: flex; justify-content: space-between; padding: 0.3rem 0; font-size: 0.9rem; }
.order-total-row, .ot-total { border-top: 2px solid var(--border); padding-top: 0.75rem; margin-top: 0.25rem; font-size: 1.05rem; }
.shipping-addr { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.shipping-addr h4 { margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.4rem; }
.payment-instruction { background: rgba(245,158,11,0.08); border: 1px solid rgba(245,158,11,0.3); border-radius: var(--radius-xl); padding: 1.5rem; margin-bottom: 2rem; text-align: left; }
.payment-instruction h3 { margin-bottom: 0.75rem; }
.bank-accounts { display: flex; flex-direction: column; gap: 0.5rem; margin: 0.75rem 0; }
.bank-account { background: white; padding: 0.75rem 1rem; border-radius: var(--radius); font-size: 0.88rem; }
.transfer-note { font-size: 0.85rem; color: var(--text-muted); }
.success-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }

/* ── Reseller Page ──────────────────────────────────────────── */
.reseller-hero { background: linear-gradient(135deg, var(--dark), var(--dark-2)); padding: 5rem 0; }
.reseller-hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.reseller-hero-text { color: white; }
.reseller-hero-text h1 { color: white; margin-bottom: 1rem; }
.reseller-hero-text p { color: rgba(255,255,255,0.7); margin-bottom: 1.5rem; }
.reseller-benefits-quick { display: flex; flex-direction: column; gap: 0.5rem; color: rgba(255,255,255,0.85); font-size: 0.9rem; }
.reseller-benefits-quick i { color: var(--success); margin-right: 0.25rem; }
.reseller-hero-img { position: relative; overflow: hidden; border-radius: var(--radius-xl); }
.reseller-hero-img img { object-fit: contain; width: 100%; height: 400px; }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.benefit-card { padding: 1.5rem; border-radius: var(--radius-xl); border: 1px solid var(--border); transition: all var(--transition-slow); }
.benefit-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.benefit-icon { width: 56px; height: 56px; border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.benefit-icon i { font-size: 1.3rem; color: white; }
.benefit-card h3 { margin-bottom: 0.5rem; }
.benefit-card p { font-size: 0.88rem; color: var(--text-muted); }
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.tier-card { padding: 1.75rem; border-radius: var(--radius-xl); border: 2px solid var(--border); }
.tier-card.tier-featured { border-color: var(--secondary); background: rgba(245,158,11,0.04); transform: scale(1.03); }
.tier-badge { display: inline-block; padding: 0.3rem 1rem; border-radius: var(--radius-full); font-weight: 800; font-size: 0.9rem; margin-bottom: 0.75rem; }
.tier-silver { background: rgba(148,163,184,0.15); color: #64748b; }
.tier-gold { background: rgba(245,158,11,0.15); color: #92400e; }
.tier-platinum { background: rgba(22,163,74,0.15); color: #15803d; }
.tier-target { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 1rem; }
.tier-card ul { display: flex; flex-direction: column; gap: 0.5rem; }
.tier-card li { font-size: 0.88rem; display: flex; align-items: center; gap: 0.5rem; }
.tier-card li i { color: var(--success); flex-shrink: 0; }
.reseller-form-wrap { max-width: 680px; margin: 0 auto; }
.form-intro { text-align: center; margin-bottom: 2rem; }
.form-intro h2 { margin-bottom: 0.5rem; }
.form-intro p { color: var(--text-muted); }
.reseller-form { background: white; border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 2rem; }
.form-disclaimer { text-align: center; font-size: 0.78rem; color: var(--text-muted); margin-top: 0.75rem; }
.success-notice { display: flex; gap: 1.25rem; align-items: flex-start; background: rgba(34,197,94,0.08); border: 1px solid rgba(34,197,94,0.3); border-radius: var(--radius-xl); padding: 1.75rem; }
.success-notice i { color: var(--success); flex-shrink: 0; }
.success-notice h3 { margin-bottom: 0.4rem; }
.success-notice p { font-size: 0.9rem; color: var(--text-muted); }
.faq-list { display: flex; flex-direction: column; gap: 0; max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); padding: 1.25rem 0; }
.faq-q { font-weight: 700; display: flex; align-items: flex-start; gap: 0.5rem; margin-bottom: 0.5rem; }
.faq-q i { color: var(--primary); margin-top: 2px; flex-shrink: 0; }
.faq-a { color: var(--text-muted); font-size: 0.9rem; padding-left: 1.5rem; }

/* ── Error Page ─────────────────────────────────────────────── */
.error-page { text-align: center; padding: 6rem 2rem; }
.error-code { font-size: 8rem; font-weight: 800; color: var(--primary); line-height: 1; margin-bottom: 1rem; }
.error-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }

/* ── Quick Add Modal ────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1000;
  display: none; align-items: flex-end; justify-content: center;
  backdrop-filter: blur(4px);
}
.modal-overlay.show { display: flex; }
.modal {
  background: white; border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  padding: 1.5rem; width: 100%; max-width: 480px; max-height: 90vh; overflow-y: auto;
  animation: slideUp 0.3s ease;
}
@keyframes slideUp { from { transform: translateY(60px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal { animation-duration: 0.4s; animation-timing-function: var(--ease-out); }
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.25rem; }
.modal-close { font-size: 1.2rem; color: var(--text-muted); padding: 0.4rem; }
.modal-close:hover { color: var(--text-dark); }
.modal-size-select, .modal-color-select, .modal-qty { margin-bottom: 1.25rem; }
.modal-size-select label, .modal-color-select label, .modal-qty label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 0.6rem; }
.size-options, .color-options { display: flex; gap: 8px; flex-wrap: wrap; }
.color-options .color-opt { min-width: 50px; }
/* Beda dari .size-selector di halaman produk (cuma 1 baris teks) — tombol
   ukuran di modal quick-add ini bisa punya baris ke-2 (badge "sisa X"/"Habis"
   yang disuntik JS), jadi butuh flex-direction column + tinggi otomatis biar
   gak numpuk. Lebar juga dilebarin (bukan fixed 52px) biar label kayak
   "8XL" (brand ini jual sampai ukuran 8XL) gak kepotong/wrap aneh. */
.size-options .size-opt {
  width: auto; min-width: 54px; height: auto; min-height: 46px;
  flex-direction: column; gap: 2px; padding: 6px 8px; line-height: 1.15;
}
.modal-footer { padding-top: 1rem; border-top: 1px solid var(--border); }
.modal-overlay-bg { display: none; }
.modal-overlay-bg.show { display: block; position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 499; }

/* Centered variant — buat modal yang isinya form/dialog singkat (bukan
   quick-add-to-cart yang emang didesain bottom-sheet ala mobile app). Dipakai
   lewat class tambahan (modal-overlay-center + modal-centered), gak ubah
   .modal-overlay/.modal default biar bottom-sheet di tempat lain gak kesenggol. */
.modal-overlay-center { align-items: center; padding: 1rem; }
.modal-centered { border-radius: var(--radius-xl); animation: modalPopIn 0.2s ease; }
@keyframes modalPopIn { from { transform: scale(0.96); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ── Toast ──────────────────────────────────────────────────── */
.toast-container { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 2000; display: flex; flex-direction: column; gap: 0.5rem; pointer-events: none; }
.toast {
  background: var(--dark); color: white; padding: 0.85rem 1.25rem; border-radius: var(--radius-lg);
  font-size: 0.88rem; font-weight: 600; box-shadow: var(--shadow-xl); display: flex; align-items: center; gap: 0.5rem;
  max-width: 320px; opacity: 0; transform: translateX(110%) scale(0.95);
  transition: opacity 0.35s var(--ease-out), transform 0.45s var(--ease-spring);
  pointer-events: all;
}
.toast.show { opacity: 1; transform: translateX(0) scale(1); }
.toast.toast-success { background: var(--success); }
.toast.toast-error { background: var(--danger); }
.toast.toast-info { background: var(--info); }
.toast.toast-clickable { cursor: pointer; }
.toast.toast-clickable:hover, .toast.toast-clickable:active { filter: brightness(1.1); }
.toast.toast-clickable a { pointer-events: none; }

/* ── Back to Top ────────────────────────────────────────────── */
.back-to-top {
  position: fixed; bottom: 5rem; right: 1.5rem; width: 44px; height: 44px;
  background: var(--primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(12px); transition: all var(--transition); z-index: 999; cursor: pointer; border: none;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer { background: var(--dark); color: rgba(255,255,255,0.7); padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer-logo { height: 48px; width: auto; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.88rem; margin-bottom: 0.75rem; }
.footer-desc { font-size: 0.82rem; color: rgba(255,255,255,0.5); }
.footer-col h4 { color: white; font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul a { position: relative; font-size: 0.88rem; transition: color var(--transition), padding-left var(--transition); }
.footer-col ul a::before {
  content: ''; position: absolute; left: 0; top: 50%; width: 0; height: 1.5px;
  background: var(--primary-light); transform: translateY(-50%);
  transition: width 0.25s var(--ease-out);
}
.footer-col ul a:hover { color: var(--primary-light); padding-left: 14px; }
.footer-col ul a:hover::before { width: 9px; }
.social-links { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.social-link { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all var(--transition); }
.social-ig { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: white; }
.social-tokped { background: #42b549; color: white; }
.social-shopee { background: #ee4d2d; color: white; }
.social-link:hover { transform: scale(1.1); box-shadow: 0 4px 12px rgba(0,0,0,0.3); }
.footer-couriers { margin-top: 1.25rem; }
.footer-couriers span { font-size: 0.78rem; color: rgba(255,255,255,0.5); }
.courier-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 0.4rem; }
.courier-badges span { padding: 2px 8px; background: rgba(255,255,255,0.1); border-radius: var(--radius-sm); font-size: 0.72rem; font-weight: 600; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 1.5rem 0; display: flex; justify-content: space-between; align-items: center; font-size: 0.82rem; color: rgba(255,255,255,0.4); flex-wrap: wrap; gap: 0.5rem; }
/* Small reseller nudge — replaces the old full-width homepage CTA section
   so the catalog stays the visual focus; this is deliberately just a line. */
.footer-reseller-nudge {
  display: flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.85rem 0; margin-top: 0.5rem; border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.82rem; color: rgba(255,255,255,0.5); text-align: center; flex-wrap: wrap;
}
.footer-reseller-nudge i.fa-handshake { color: var(--primary-light); }
.footer-reseller-nudge a { display: inline-flex; align-items: center; gap: 0.3rem; color: white; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.footer-reseller-nudge a:hover { color: var(--primary-light); }
.footer-reseller-nudge i.fa-arrow-right { font-size: 0.72rem; }


/* ── Footer extra ───────────────────────────────────────────── */
.footer-tagline { font-weight: 700; color: rgba(255,255,255,0.9); font-size: 0.95rem; margin-bottom: 0.5rem; }
.social-link { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all var(--transition); font-size: 1rem; }
.social-ig { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: white; }
.social-fb { background: #1877f2; color: white; padding: 0; overflow: hidden; }
.social-tokped { background: #03AC0E; padding: 0; overflow: hidden; }
.social-shopee { background: #ee4d2d; padding: 0; overflow: hidden; }
.social-tiktok { background: #010101; color: white; }
.social-link:hover { transform: scale(1.12) translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.4); }
.social-mp-img { width: 24px; height: 24px; object-fit: contain; }
.footer-contact { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.4rem; }
.footer-wa-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: #25d366; font-weight: 700; font-size: 0.88rem;
  padding: 0.5rem 1rem; border-radius: var(--radius-full);
  border: 1px solid rgba(37,211,102,0.4);
  transition: all var(--transition);
}
.footer-wa-btn i { font-size: 1rem; }
.footer-wa-btn:hover { background: rgba(37,211,102,0.15); border-color: rgba(37,211,102,0.7); transform: translateY(-1px); }
.footer-contact p { font-size: 0.82rem; color: rgba(255,255,255,0.55); display: flex; align-items: center; gap: 0.4rem; }
.text-muted-footer { color: rgba(255,255,255,0.35) !important; }
.footer-visit-store { border-top: 1px solid rgba(255,255,255,0.1); padding: 1.25rem 0; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.footer-visit-info { flex: 1 1 220px; min-width: 200px; }
.footer-visit-store h4 { color: white; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.35rem; display: flex; align-items: center; gap: 0.4rem; }
.footer-visit-address { font-size: 0.8rem; color: rgba(255,255,255,0.55); margin-bottom: 0.35rem; display: flex; align-items: flex-start; gap: 0.4rem; }
.footer-visit-link { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.8rem; font-weight: 700; color: var(--primary-light); }
.footer-visit-link:hover { text-decoration: underline; }
.footer-visit-thumbs { display: flex; gap: 0.75rem; flex: 0 0 auto; }
.footer-visit-photo, .footer-visit-map { width: 170px; height: 130px; flex-shrink: 0; border-radius: 8px; overflow: hidden; border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.04); position: relative; display: block; transition: border-color var(--transition); }
.footer-visit-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.footer-visit-map iframe { width: 100%; height: 100%; display: block; pointer-events: none; }
.footer-visit-map:hover, .footer-visit-map:focus-visible { border-color: rgba(255,255,255,0.4); }
.footer-visit-map-badge { position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; border-radius: 50%; background: rgba(0,0,0,0.55); color: white; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; pointer-events: none; }
.footer-marketplace { border-top: 1px solid rgba(255,255,255,0.1); padding: 1.5rem 0; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.footer-marketplace > span { font-size: 0.78rem; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.mp-badges { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.mp-badge { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.35rem 0.85rem; border-radius: var(--radius-full); font-size: 0.8rem; font-weight: 700; border: 1px solid rgba(255,255,255,0.15); color: rgba(255,255,255,0.7); transition: all var(--transition); }
.mp-badge img { height: 16px; width: auto; object-fit: contain; }
.mp-badge:hover { border-color: rgba(255,255,255,0.4); color: white; transform: translateY(-1px); }
.mp-badge-wa { border-color: rgba(37,211,102,0.4); color: #25d366; }
.mp-badge-wa:hover { background: rgba(37,211,102,0.15); }
.mp-badge-shopee { border-color: rgba(238,77,45,0.4); color: #ee4d2d; }
.mp-badge-shopee:hover { background: rgba(238,77,45,0.15); }
.mp-badge-tokped { border-color: rgba(3,172,14,0.4); color: #42b549; }
.mp-badge-tokped:hover { background: rgba(3,172,14,0.15); }
.mp-badge-tiktok { border-color: rgba(255,255,255,0.2); }
.mp-badge-web { }

/* ── Tentang Kami ───────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 4rem; align-items: center; }
.about-badge { display: inline-flex; align-items: center; gap: 0.4rem; background: rgba(22,163,74,0.1); border: 1px solid rgba(22,163,74,0.25); color: var(--primary); padding: 0.35rem 1rem; border-radius: var(--radius-full); font-size: 0.82rem; font-weight: 700; margin-bottom: 1rem; }
.about-lead { font-size: 1.05rem; color: var(--text-medium); margin-bottom: 1rem; line-height: 1.7; }
.about-story p { color: var(--text-medium); margin-bottom: 0.75rem; font-size: 0.95rem; }
.about-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 1.5rem 0; }
.about-stat { background: var(--light); border-radius: var(--radius-lg); padding: 1rem; text-align: center; }
.about-stat strong { display: block; font-size: 1.5rem; font-weight: 800; color: var(--primary); }
.about-stat span { font-size: 0.78rem; color: var(--text-muted); font-weight: 600; }
.about-tagline { font-size: 1.05rem; font-style: italic; color: var(--text-dark); margin: 1rem 0 0.25rem; font-weight: 600; }
.about-tagline i { color: var(--primary); font-size: 0.85rem; }
.about-hashtag { font-weight: 700; }
.about-logo-card { background: var(--light); border-radius: var(--radius-xl); padding: 2.5rem; text-align: center; border: 2px solid var(--border); }
.about-logo-big { max-width: 220px; margin: 0 auto 1rem; }
.about-logo-card p { color: var(--text-muted); font-size: 0.9rem; font-weight: 600; }
.about-store-photo, .contact-store-photo { border-radius: var(--radius-xl); overflow: hidden; margin-bottom: 1.5rem; border: 2px solid var(--border); }
.about-store-photo img, .contact-store-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.vm-card { background: white; border-radius: var(--radius-xl); padding: 2rem; border: 1px solid var(--border); }
.vm-icon { width: 56px; height: 56px; border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 1rem; }
.vm-vision .vm-icon { background: rgba(22,163,74,0.12); color: var(--primary); }
.vm-mission .vm-icon { background: rgba(245,158,11,0.12); color: var(--warning); }
.vm-card h3 { margin-bottom: 0.75rem; }
.vm-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; }
.vm-card ul { display: flex; flex-direction: column; gap: 0.6rem; }
.vm-card li { font-size: 0.9rem; color: var(--text-medium); display: flex; align-items: flex-start; gap: 0.5rem; }
.vm-card li i { color: var(--success); flex-shrink: 0; margin-top: 2px; }
.marketplace-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.mp-card { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; padding: 1.5rem 1rem; background: white; border: 2px solid var(--border); border-radius: var(--radius-xl); text-align: center; transition: all var(--transition-slow); }
.mp-card:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.mp-card-icon { width: 60px; height: 60px; border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; margin-bottom: 0.25rem; }
.mp-card-icon img { width: 40px; height: 40px; object-fit: contain; }
.mp-icon-wa { background: rgba(37,211,102,0.1); color: #25d366; }
.mp-icon-shopee { background: rgba(238,77,45,0.1); }
.mp-icon-tokped { background: rgba(3,172,14,0.1); }
.mp-icon-tiktok { background: rgba(0,0,0,0.08); color: #010101; }
.mp-icon-web { background: rgba(22,163,74,0.1); color: var(--primary); }
.mp-card strong { font-size: 0.9rem; color: var(--text-dark); }
.mp-card span { font-size: 0.78rem; color: var(--text-muted); }

/* ── Syarat & Ketentuan ─────────────────────────────────────── */
.sk-layout { display: grid; grid-template-columns: 260px 1fr; gap: 2.5rem; align-items: start; }
.sk-sidebar { position: sticky; top: calc(var(--header-height) + 2rem); }
.sk-nav { background: white; border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 1.25rem; margin-bottom: 1rem; }
.sk-nav h4 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 0.75rem; }
.sk-nav a { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.75rem; border-radius: var(--radius); font-size: 0.85rem; font-weight: 600; color: var(--text-medium); transition: all var(--transition); }
.sk-nav a:hover { background: rgba(22,163,74,0.08); color: var(--primary); }
.sk-contact-box { background: rgba(22,163,74,0.06); border: 1px solid rgba(22,163,74,0.2); border-radius: var(--radius-xl); padding: 1.25rem; text-align: center; }
.sk-contact-box p { font-size: 0.85rem; font-weight: 600; color: var(--text-medium); margin-bottom: 0.75rem; }
.sk-intro { background: rgba(22,163,74,0.05); border-left: 3px solid var(--primary); padding: 1rem 1.25rem; border-radius: 0 var(--radius) var(--radius) 0; margin-bottom: 2rem; color: var(--text-medium); font-size: 0.9rem; }
.sk-section { margin-bottom: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--border); }
.sk-section:last-of-type { border-bottom: none; }
.sk-section-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.sk-icon { width: 48px; height: 48px; background: rgba(22,163,74,0.1); color: var(--primary); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.sk-icon-warning { background: rgba(245,158,11,0.1); color: var(--warning); }
.sk-icon-info { background: rgba(6,182,212,0.1); color: var(--info); }
.sk-icon-success { background: rgba(34,197,94,0.1); color: var(--success); }
.sk-section-header h2 { font-size: 1.2rem; }
.sk-body { display: flex; flex-direction: column; gap: 1.25rem; }
.sk-rule { display: flex; gap: 1rem; align-items: flex-start; }
.sk-rule > i { width: 32px; height: 32px; background: var(--light); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: var(--primary); flex-shrink: 0; font-size: 0.9rem; margin-top: 2px; }
.sk-rule strong { display: block; font-size: 0.92rem; margin-bottom: 0.35rem; }
.sk-rule p { font-size: 0.88rem; color: var(--text-medium); line-height: 1.6; }
.sk-note { font-size: 0.9rem; color: var(--text-medium); margin-bottom: 1rem; }
.sk-conditions { display: flex; flex-direction: column; gap: 0.5rem; }
.sk-cond { display: flex; align-items: center; gap: 0.6rem; font-size: 0.9rem; padding: 0.5rem 0.75rem; background: rgba(34,197,94,0.06); border-radius: var(--radius-sm); }
.sk-cond i { color: var(--success); }
.sk-cond-warning { background: rgba(245,158,11,0.08); }
.sk-cond-warning i { color: var(--warning); }
.courier-list { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 0.5rem; }
.courier-list span { background: var(--light); border: 1px solid var(--border); padding: 2px 10px; border-radius: var(--radius-full); font-size: 0.8rem; font-weight: 700; }
.payment-methods-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.pm-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.85rem 1rem; background: var(--light); border-radius: var(--radius); font-size: 0.88rem; font-weight: 600; }
.pm-item i { color: var(--primary); width: 20px; text-align: center; }
.sk-footer-note { display: flex; gap: 0.75rem; align-items: flex-start; background: rgba(6,182,212,0.06); border: 1px solid rgba(6,182,212,0.2); border-radius: var(--radius-lg); padding: 1.25rem; margin-top: 2rem; }
.sk-footer-note i { color: var(--info); flex-shrink: 0; margin-top: 2px; }
.sk-footer-note p { font-size: 0.88rem; color: var(--text-medium); }
.text-primary { color: var(--primary); font-weight: 700; }

/* ── Panduan Ukuran ─────────────────────────────────────────── */
.size-tips-bar { display: flex; gap: 1rem; flex-wrap: wrap; background: rgba(22,163,74,0.06); border: 1px solid rgba(22,163,74,0.2); border-radius: var(--radius-lg); padding: 1rem 1.5rem; margin-bottom: 2rem; }
.size-tip { display: flex; align-items: center; gap: 0.5rem; font-size: 0.88rem; color: var(--text-medium); }
.size-tip i { color: var(--primary); }
.size-tip a { color: var(--primary); font-weight: 700; }
.size-tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; border-bottom: 2px solid var(--border); padding-bottom: 0; }
.size-tab { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.65rem 1.25rem; font-size: 0.88rem; font-weight: 700; color: var(--text-muted); border-bottom: 3px solid transparent; margin-bottom: -2px; transition: all var(--transition); cursor: pointer; background: none; border-left: none; border-right: none; border-top: none; border-radius: 0; }
.size-tab:hover { color: var(--primary); }
.size-tab-icon { font-size: 1.2em; line-height: 0; display: inline-flex; }
.size-tab-icon svg { display: block; }
.size-tab.active { color: var(--primary); border-bottom-color: var(--primary); }
.size-table-wrap { display: none; }
.size-table-wrap.active { display: block; }
.size-table-wrap h3 { margin-bottom: 0.5rem; }
.size-table-note { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 1rem; }
.size-table-scroll { overflow-x: auto; }
.size-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.size-table th { padding: 0.75rem 1rem; text-align: left; background: var(--dark); color: white; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap; }
.size-table td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--border); }
.size-table tbody tr:nth-child(even) { background: var(--light); }
.size-table tbody tr:hover { background: rgba(22,163,74,0.06); }
.size-label { font-weight: 800; color: var(--primary); font-size: 1rem; background: rgba(22,163,74,0.08) !important; }
.size-cta-box { display: flex; align-items: center; gap: 1.5rem; background: linear-gradient(135deg, var(--dark), var(--dark-2)); border-radius: var(--radius-xl); padding: 1.75rem 2rem; margin-top: 2rem; flex-wrap: wrap; }
.size-cta-box > i { font-size: 2rem; color: var(--primary-light); flex-shrink: 0; }
.size-cta-box > div { flex: 1; color: white; }
.size-cta-box strong { display: block; font-size: 1.1rem; margin-bottom: 0.25rem; }
.size-cta-box p { font-size: 0.88rem; color: rgba(255,255,255,0.65); }

/* ── Hubungi Kami ───────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-info h2, .contact-location h2 { margin-bottom: 0.4rem; }
.contact-cards { display: flex; flex-direction: column; gap: 0.75rem; margin: 1.5rem 0; }
.contact-card { display: flex; align-items: center; gap: 1.25rem; padding: 1.25rem; background: white; border: 1.5px solid var(--border); border-radius: var(--radius-xl); transition: all var(--transition); }
.contact-card:hover { border-color: var(--primary); transform: translateX(4px); box-shadow: var(--shadow); }
.contact-primary { border-color: rgba(37,211,102,0.3); background: rgba(37,211,102,0.03); }
.contact-card-icon { width: 52px; height: 52px; background: rgba(37,211,102,0.1); color: #25d366; border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-card > div { flex: 1; }
.contact-card strong { display: block; font-size: 0.9rem; margin-bottom: 2px; }
.contact-card span { display: block; font-size: 0.95rem; font-weight: 700; color: var(--text-dark); }
.contact-card small { display: block; font-size: 0.78rem; color: var(--text-muted); }
.contact-card > .fa-arrow-right { color: var(--border); transition: all var(--transition); }
.contact-card:hover > .fa-arrow-right { color: var(--primary); }
.contact-hours { background: var(--light); border-radius: var(--radius-xl); padding: 1.5rem; border: 1px solid var(--border); }
.contact-hours h3 { margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; font-size: 1rem; }
.hours-list { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 0.75rem; }
.hour-row { display: flex; justify-content: space-between; align-items: center; padding: 0.4rem 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.hour-row:last-child { border-bottom: none; }
.hours-note { font-size: 0.8rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.3rem; }
.contact-address-card { display: flex; gap: 1rem; background: white; border: 1.5px solid var(--border); border-radius: var(--radius-xl); padding: 1.5rem; margin-bottom: 1.5rem; }
.address-icon { width: 44px; height: 44px; background: rgba(22,163,74,0.1); color: var(--primary); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-address-card strong { display: block; font-size: 0.92rem; margin-bottom: 0.3rem; }
.contact-address-card p { font-size: 0.88rem; color: var(--text-medium); line-height: 1.5; }
.marketplace-contact-list h3 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 0.75rem; }
.mp-contact-row { display: flex; align-items: center; gap: 1rem; padding: 0.85rem 1rem; background: white; border: 1.5px solid var(--border); border-radius: var(--radius-lg); transition: all var(--transition); margin-bottom: 0.5rem; }
.mp-contact-row:hover { border-color: var(--primary); }
.mp-contact-row > div { flex: 1; }
.mp-contact-row strong { display: block; font-size: 0.88rem; }
.mp-contact-row span { display: block; font-size: 0.78rem; color: var(--text-muted); }
.mp-contact-row .fa-external-link-alt { color: var(--border); font-size: 0.8rem; }
.contact-faq { margin-top: 3rem; padding-top: 3rem; border-top: 1px solid var(--border); }
.contact-faq h2 { margin-bottom: 1.5rem; }

/* ── Kategori Page ──────────────────────────────────────────── */
.all-categories-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.all-cat-card { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; padding: 2rem 1.25rem; background: white; border: 2px solid var(--border); border-radius: var(--radius-xl); text-align: center; transition: all var(--transition-slow); }
.all-cat-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.all-cat-icon {
  width: 56px; height: 56px; border-radius: var(--radius-lg);
  background: rgba(21,128,61,0.09); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; transition: all var(--transition);
}
.all-cat-icon svg { width: 1.2em; height: 1.2em; }
.all-cat-card:hover .all-cat-icon { background: var(--primary); color: white; }
.all-cat-card strong { font-size: 1rem; color: var(--text-dark); }
.all-cat-card small { font-size: 0.8rem; color: var(--text-muted); text-align: center; }
.all-cat-link { font-size: 0.8rem; color: var(--primary); font-weight: 700; display: flex; align-items: center; gap: 0.3rem; margin-top: 0.25rem; }
.all-cat-card:hover .all-cat-link i { transform: translateX(4px); }
.all-cat-link i { transition: transform var(--transition); }

/* ── Navbar spacer & login btn ───────────────────────────────── */
.nav-spacer { flex: 1; }
.nav-btn-login {
  padding: 0.35rem 0.9rem; font-size: 0.82rem; font-weight: 700;
  border: 1.5px solid var(--primary); color: var(--primary);
  border-radius: var(--radius-full); transition: all var(--transition);
  white-space: nowrap;
}
.nav-btn-login:hover { background: var(--primary); color: white; }
/* Masuk/Keluar di main-nov (baris kedua) cuma buat menu mobile (baris ini
   jadi slide-out penuh di ≤768px) — di desktop udah ada tombol yang sama
   di nav-actions (baris atas), jadi gak perlu dobel. */
.nav-list > li.mobile-only-nav-item { display: none; }
.nav-btn-logout {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.35rem 0.9rem; font-size: 0.82rem; font-weight: 700;
  border: 1.5px solid var(--border, #e2e8f0); color: var(--text-medium, #475569);
  border-radius: var(--radius-full); transition: all var(--transition);
  white-space: nowrap;
}
.nav-btn-logout:hover { background: #fef2f2; border-color: #fca5a5; color: #dc2626; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  .marketplace-cards { grid-template-columns: repeat(3, 1fr); }
  .all-categories-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-logo-card { display: none; }
  .about-store-photo { margin-bottom: 0; }
  .vm-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .sk-layout { grid-template-columns: 1fr; }
  .sk-sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .koleksi-layout { grid-template-columns: 1fr; }
  .filter-sidebar { display: none; position: fixed; top: 0; left: 0; width: 280px; height: 100vh; overflow-y: auto; z-index: 500; transform: translateX(-100%); transition: transform var(--transition-slow); box-shadow: var(--shadow-xl); }
  .filter-sidebar.open { display: flex; flex-direction: column; transform: translateX(0); }
  .filter-close { display: flex; }
  #filterToggle { display: inline-flex; }
  /* minmax(0, 1fr) bukan cuma 1fr — 1fr sendirian defaultnya minmax(auto,1fr),
     jadi track tetap gak bisa lebih sempit dari min-content isinya (mis. baris
     ringkasan ongkir yang gak wrap). Itu yang bikin .cart-items/.cart-summary
     ikut kepaksa lebih lebar dari container & keseluruhan halaman jadi bisa
     di-scroll horizontal di HP — padahal masalahnya nyangkut di sini, bukan
     di dalam .cart-item sendiri. */
  .checkout-layout, .cart-layout { grid-template-columns: minmax(0, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .reseller-hero-inner, .size-banner-inner { grid-template-columns: 1fr; }
  .reseller-hero-img { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 3rem 0; }
  .marketplace-cards { grid-template-columns: repeat(2, 1fr); }
  .all-categories-grid { grid-template-columns: repeat(2, 1fr); }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .payment-methods-grid { grid-template-columns: 1fr; }
  .size-tabs { gap: 0.25rem; }
  .size-tab { padding: 0.5rem 0.75rem; font-size: 0.78rem; }
  .sk-sidebar { grid-template-columns: 1fr; }
  /* ── Mobile Footer ── */
  .site-footer { padding: 2.5rem 0 0; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 1.25rem 1.5rem; }
  .footer-brand { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; gap: 0 1.5rem; align-items: start; }
  .footer-brand .social-links { margin-top: 0; justify-self: end; align-self: start; }
  .footer-marketplace { flex-direction: column; gap: 0.6rem; padding: 1.25rem 0; }
  .mp-badges { gap: 0.35rem; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: 0.2rem; padding: 1rem 0; }
  .footer-visit-store { flex-direction: column; align-items: flex-start; }
  .footer-visit-thumbs { width: 100%; }
  .footer-visit-photo, .footer-visit-map { flex: 1 1 0; width: auto; }
  .header-top { display: none; }
  /* Logo & nav-actions dulu 2 flex item biasa di baris yang sama — pas lagi
     login, ikon avatar nambah ~40px dan bikin total lebar row 1 (logo+ikon)
     ngepas/kelebihan dari lebar layar, jadi nav-actions ke-wrap PINDAH KE
     BARIS SENDIRI (logo doang di baris 1, semua ikon baris 2) — beda dari
     pas belum login (lebih sempit dikit, masih muat 1 baris). Pakai grid
     2 kolom biar logo & nav-actions DIJAMIN selalu 1 baris yang sama, gak
     gantung ke hasil hitungan lebar konten kayak flex-wrap. */
  .header-inner {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-areas: "logo actions" "search search";
    align-items: center; column-gap: 0.5rem; row-gap: 0.4rem;
    padding: 0.6rem 0.75rem; height: auto;
  }
  .logo { grid-area: logo; min-width: 0; }
  .logo-img { height: 32px; max-width: 140px; }
  /* backdrop-filter di .header-main/.main-nav pas .scrolled (lihat blok
     @supports di atas) bikin .header-main jadi containing block buat anak
     position:fixed-nya — .main-nav (panel menu full-screen di mobile) jadi
     ke-anchor ke posisi header DI DALAM DOKUMEN, bukan ke viewport lagi.
     Efeknya: buka menu pas udah scroll jauh ke bawah, panelnya nyangkut di
     atas (posisi header asli), harus scroll manual ke atas buat jangkau.
     Backdrop-blur di mobile juga percuma — .main-nav udah solid putih.
     Dicabut khusus mobile biar position:fixed balik ngikutin viewport. */
  .site-header.scrolled .header-main,
  .site-header.scrolled .main-nav { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .search-wrapper { grid-area: search; width: 100%; max-width: 100%; margin-top: 0; }
  .nav-actions { grid-area: actions; justify-self: end; gap: 0.15rem; }
  .nav-icon { padding: 0.4rem; }
  .nav-avatar-icon { padding: 0.2rem; }
  /* Tombol WA di header ikut disembunyikan di mobile — udah ada tombol WA
     lain (footer, produk, dst), di sini cuma bikin baris ikon kepenuhan &
     dorong logo gak sejajar lagi. */
  .nav-actions .btn-wa { display: none; }
  .hamburger-btn { display: flex; padding: 6px; }
  /* Hamburger jadi X pas menu-nya kebuka — sebelumnya gak ada perubahan visual
     sama sekali di ikonnya, jadi keliatannya kayak gak ada tombol buat nutup. */
  .hamburger-btn.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger-btn.active span:nth-child(2) { opacity: 0; }
  .hamburger-btn.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav {
    display: none; position: fixed;
    top: var(--header-height); left: 0; right: 0; bottom: 0;
    background: white; z-index: 200; box-shadow: var(--shadow-lg);
    overflow-y: auto;
  }
  .main-nav.open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; }
  .nav-list > li { flex-direction: column; align-items: stretch; }
  .nav-list > li > a {
    border-bottom: 1px solid var(--border); border-left: 3px solid transparent;
    padding: 1rem 1.25rem; border-bottom-color: var(--border);
    justify-content: space-between;
  }
  .nav-list > li > a.active,
  .nav-list > li > a:hover,
  .nav-list > li.active-parent > a { border-left-color: var(--primary); border-bottom-color: var(--border); }
  /* Mobile dropdown: static, hidden by default */
  .nav-dropdown {
    position: static; opacity: 1; visibility: hidden; transform: none;
    box-shadow: none; border: none; border-radius: 0;
    background: var(--light); max-height: 0; overflow: hidden;
    transition: max-height 0.3s ease, visibility 0.3s;
    padding: 0;
  }
  .has-dropdown.open .nav-dropdown {
    visibility: visible; max-height: 400px; padding: 0.25rem 0;
  }
  .nav-dropdown li a { padding: 0.65rem 1.5rem; border-bottom: 1px solid var(--border); }
  .dropdown-sep { margin: 0; }
  .nav-arrow { margin-left: auto; }
  .has-dropdown.open .nav-arrow { transform: rotate(180deg); }
  .nav-overlay.show { display: block; }
  .btn-wa.btn-sm span { display: none; }
  /* ── Mobile Hero ── */
  .hero { padding: 2.5rem 0 2.25rem; }
  .hero::before {
    background-image:
      linear-gradient(180deg, rgba(12,20,32,0.84) 0px, rgba(12,20,32,0.96) 200px, var(--dark) 300px),
      url('../img/hero-bg-store-mobile.jpg');
    background-size: auto, 100% auto;
    background-position: center top;
    background-repeat: no-repeat;
  }
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-eyebrow { font-size: 0.68rem; margin-bottom: 1rem; }
  .hero-content h1 { font-size: 1.85rem; line-height: 1.2; margin-bottom: 0.75rem; }
  .hero-sub { font-size: 0.875rem; line-height: 1.55; margin-bottom: 1.5rem; max-width: none; }
  .hero-cta { gap: 1rem; margin-bottom: 1.75rem; }
  .hero-cta .btn { flex: 1; justify-content: center; font-size: 0.88rem; padding: 0.8rem 0.75rem; }
  .hero-cta-link { flex: 1; justify-content: center; border-bottom: none; }
  .hero-meta-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 0; padding-top: 1.25rem; }
  .hero-meta-item { border-right: none; margin-right: 0; padding-right: 0; }
  .hero-meta-item strong { font-size: 1rem; }
  .hero-visual { display: block; margin-top: 0.25rem; }
  .hero-tag { font-size: 0.72rem; padding: 0.55rem 0.85rem; }
  .nav-btn-login { display: none; }
  .nav-btn-logout { display: none; }
  /* #mainNav di-prefix biar specificity-nya PASTI menang lawan rule non-media
     yang letaknya lebih belakang di file ini (.nav-spacer/.mobile-only-nav-item
     versi desktop) — kalau cuma samain specificity, urutan taruh di file yang
     menentukan menang-kalahnya, bukan media query-nya, gampang salah lagi. */
  #mainNav .nav-list > li.mobile-only-nav-item { display: block; }
  /* Bug lama (bukan cuma soal mobile-only-nav-item): .nav-spacer punya
     flex:1 buat dorong item ke kanan di layout desktop (row) — tapi begitu
     .nav-list jadi flex-direction:column di mobile, flex:1 pada axis
     vertikal malah bikin spacer ini MELEBAR MEMENUHI SISA TINGGI LAYAR,
     ndorong item sesudahnya (Keluar/Masuk) ke luar viewport, seolah hilang. */
  #mainNav .nav-spacer { flex: 0; height: 0; }
  /* Cart button label swap */
  .cart-label-full { display: none; }
  .cart-label-short { display: inline; }
  /* Horizontal scroll grid for homepage sections */
  .product-scroll-wrap {
    overflow-x: auto; overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    /* negative margin so cards flush to screen edge, padding keeps gap */
    margin-left: -1rem; margin-right: -1rem;
    padding-left: 1rem; padding-right: 1rem;
    padding-bottom: 0.75rem;
  }
  .product-grid-scroll {
    display: flex; flex-wrap: nowrap; gap: 0.75rem;
    width: max-content;
    grid-template-columns: unset;
  }
  .product-grid-scroll .product-card {
    flex: 0 0 158px; width: 158px;
    scroll-snap-align: start;
  }
  /* Regular 2-col grid for non-scroll grids */
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-slider { grid-template-columns: 1fr; }
  .produk-layout { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 1.25rem 1.5rem; }
  .footer-brand { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; gap: 0 1.5rem; align-items: start; }
  .footer-brand .social-links { margin-top: 0; }
  /* Baris item keranjang di mobile: dulu dipaksa 1 baris grid sempit
     (30px 1fr auto auto) yang total kontennya lebih lebar dari layar
     (~417px vs viewport 375px) — kolom Subtotal (harga) jadi kepotong &
     butuh di-swipe buat keliatan, dan tombol hapus gak kebagian kolom (cuma
     4 kolom didefinisikan buat 5 elemen: check/product/qty/subtotal/hapus)
     jadi malah numpuk di posisi checkbox. Diganti jadi 2 baris pakai
     grid-template-areas: baris 1 foto+nama produk (lega, satu-satunya yang
     butuh ruang), baris 2 kontrol jumlah + subtotal + tombol hapus — semua
     kolom di baris 2 auto-sized ke konten kecilnya, jadi gak akan overflow. */
  .cart-header-row { display: none; }
  .cart-item {
    grid-template-columns: 28px minmax(0, 1fr) auto;
    grid-template-areas:
      "check   product ."
      ".       qty      subtotal"
      ".       .        remove";
    row-gap: 0.5rem;
    column-gap: 0.75rem;
  }
  .cart-item-check { grid-area: check; }
  .cart-item-product { grid-area: product; }
  .cart-item-price { display: none; }
  .cart-item-qty { grid-area: qty; }
  .cart-item-subtotal { grid-area: subtotal; align-self: center; text-align: right; }
  .cart-remove { grid-area: remove; justify-self: end; }
  .tier-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .courier-options { grid-template-columns: repeat(2, 1fr); }
  .success-actions { flex-direction: column; align-items: center; }
  .produk-cta { flex-direction: column; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .product-info { padding: 0.75rem; }
  .product-name { font-size: 0.82rem; }
  /* ── 480px Footer ── */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .footer-brand { grid-column: 1 / -1; display: block; }
  .footer-brand .social-links { margin-top: 1rem; flex-wrap: wrap; gap: 0.5rem; }
  .footer-logo { height: 38px; margin-bottom: 0.6rem; }
  .footer-tagline { font-size: 0.88rem; margin-bottom: 0.3rem; }
  .footer-desc { font-size: 0.78rem; }
  .social-link { width: 34px; height: 34px; font-size: 0.9rem; }
  .social-mp-img { width: 20px; height: 20px; }
  .footer-col { }
  .footer-col h4 { font-size: 0.82rem; margin-bottom: 0.65rem; }
  .footer-col ul li { margin-bottom: 0.4rem; }
  .footer-col ul a { font-size: 0.82rem; }
  .footer-contact { margin-top: 0.75rem; }
  .footer-contact p { font-size: 0.78rem; }
  .footer-marketplace > span { font-size: 0.72rem; }
  .mp-badge { font-size: 0.75rem; padding: 0.28rem 0.65rem; }
  .hero-content h1 { font-size: 1.6rem; }
  .flash-sale-header { flex-direction: column; align-items: flex-start; }
  /* Timer flash sale (label + 3-4 kotak angka + separator) lebarnya bisa ~380px+
     kalau dipaksa 1 baris (min-width 54px/kotak + padding + label teks) —
     lebih lebar dari layar HP, jadi bikin halaman bisa di-scroll horizontal.
     Dikecilin & dibolehin wrap khusus di mobile. */
  .flash-sale-timer { flex-wrap: wrap; row-gap: 0.4rem; }
  .cd-box { min-width: 42px; padding: 0.4rem 0.5rem; }
  .cd-box span { font-size: 1.15rem; }
  .cd-sep { font-size: 1.15rem; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Auth pages ──────────────────────────────────────────────── */
.auth-card {
  background: white; border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: 2.5rem 2rem; box-shadow: var(--shadow-md); margin: 2rem auto;
}
.auth-logo { text-align: center; margin-bottom: 1.5rem; }
.auth-title { font-size: 1.5rem; font-weight: 800; text-align: center; margin-bottom: 0.25rem; }
.auth-sub { text-align: center; color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.75rem; }
.auth-form .form-group { margin-bottom: 1.25rem; }
.input-password-wrap { position: relative; }
.input-password-wrap .form-input { padding-right: 2.75rem; }
.pw-toggle {
  position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%);
  color: var(--text-muted); background: none; padding: 0.25rem;
}
.pw-toggle:hover { color: var(--primary); }
.auth-divider { display: flex; align-items: center; gap: 1rem; margin: 1.25rem 0; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.auth-divider span { color: var(--text-muted); font-size: 0.82rem; }
.auth-tos { text-align: center; font-size: 0.78rem; color: var(--text-muted); margin-top: 1rem; }

/* ── Profil page ─────────────────────────────────────────────── */
.profil-layout { display: grid; grid-template-columns: 260px 1fr; gap: 2rem; }
.profil-sidebar {
  background: white; border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: 2rem; text-align: center; height: fit-content;
}
.profil-avatar {
  width: 72px; height: 72px; border-radius: 50%; background: var(--primary);
  color: white; font-size: 2rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem;
}
.profil-avatar-img { object-fit: cover; }
.profil-info-block { overflow-wrap: break-word; word-break: break-word; }
.profil-avatar-wrap { position: relative; width: 72px; margin: 0 auto 1rem; }
.profil-avatar-wrap .profil-avatar { margin: 0; }
.avatar-edit-btn {
  position: absolute; bottom: -2px; right: -2px; width: 30px; height: 30px; border-radius: 50%;
  background: #fff; color: var(--primary); border: 2px solid var(--primary); cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: 0.8rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.avatar-edit-btn:hover { background: var(--primary); color: #fff; transform: scale(1.08); }
.avatar-delete-form { margin: 0.6rem 0 0.4rem; }
.avatar-delete-btn {
  display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.76rem; font-weight: 600;
  color: #dc2626; background: none; border: none; cursor: pointer; padding: 0.25rem 0.5rem;
  border-radius: var(--radius-full, 20px); transition: background 0.15s ease;
}
.avatar-delete-btn:hover { background: #fef2f2; }
.profil-content h2 { margin-bottom: 1.25rem; }
.order-filter-form {
  display: flex; flex-direction: column; gap: 0.55rem;
  background: #f8fafc; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 0.75rem 0.85rem; margin-bottom: 1.25rem;
}
.off-search { position: relative; }
.off-search i { position: absolute; left: 0.7rem; top: 50%; transform: translateY(-50%); color: #94a3b8; font-size: 0.8rem; }
.off-search .form-input { padding: 0.5rem 0.75rem 0.5rem 2rem; font-size: 0.85rem; }
.off-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; }
.off-select { flex: 1; min-width: 120px; font-size: 0.8rem; padding: 0.4rem 0.55rem; }
.off-daterange { display: flex; align-items: center; gap: 0.3rem; }
.off-daterange .form-input { font-size: 0.78rem; padding: 0.4rem 0.45rem; width: 128px; }
.off-daterange span { color: #94a3b8; font-size: 0.78rem; }
@media (max-width: 640px) {
  .off-daterange { width: 100%; }
  .off-daterange .form-input { flex: 1; width: auto; min-width: 0; }
}
.order-list { display: flex; flex-direction: column; gap: 1rem; }
.order-card {
  border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.25rem;
  background: white;
}
.order-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; }
.order-status { padding: 0.2rem 0.65rem; border-radius: var(--radius-full); font-size: 0.72rem; font-weight: 700; margin-left: 0.5rem; }
.status-pending { background: #fef3c7; color: #92400e; }
.status-processing, .status-shipped { background: #dbeafe; color: #1e40af; }
.status-packing { background: #fae8ff; color: #86198f; }
.status-delivered, .status-completed { background: #dcfce7; color: #166534; }
.status-cancelled { background: #fee2e2; color: #991b1b; }
.status-problem { background: #ffedd5; color: #9a3412; }
.status-retur_gudang { background: #ffe4e6; color: #9f1239; }
.order-items-preview { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.order-card-foot { display: flex; justify-content: space-between; align-items: center; }

/* Admin users table extras */
.status-badge { padding: 0.2rem 0.65rem; border-radius: var(--radius-full); font-size: 0.72rem; font-weight: 700; }
.status-active { background: #dcfce7; color: #166534; }
.status-inactive { background: #fee2e2; color: #991b1b; }
.btn-danger { background: #ef4444; color: white; border-color: #ef4444; }
.btn-danger:hover { background: #dc2626; }

/* Footer logo (white on dark – no filter needed with transparent white PNG) */
.footer-logo { height: 48px; width: auto; margin-bottom: 1rem; }

@media (max-width: 768px) {
  .profil-layout { grid-template-columns: 1fr; }
  .profil-sidebar { text-align: left; display: flex; gap: 1rem; align-items: flex-start; flex-wrap: wrap; }
  .profil-avatar-block { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
  .profil-avatar { width: 54px; height: 54px; font-size: 1.4rem; flex-shrink: 0; }
  .profil-avatar-wrap { width: 54px; margin: 0; flex-shrink: 0; }
  .avatar-delete-form { margin: 0.35rem 0 0; }
  .avatar-delete-btn { font-size: 0.68rem; padding: 0.15rem 0.4rem; white-space: nowrap; }
  .profil-info-block { flex: 1; min-width: 0; }
  .profil-actions-block { flex-basis: 100%; }
}

/* ── Logo color utilities ─────────────────────────────────────── */
/* Use logo-bigjordan-white.png on dark backgrounds — no filter needed */
/* Use logo-bigjordan.png on light backgrounds — already dark */
/* For inline img on dark bg without separate asset: */
.logo-on-dark { filter: brightness(0) invert(1); }

/* ── Testimonials — horizontal scroll slider ─────────────────── */
.testimonials-section { background: var(--light); }
.testi-track-wrap {
  position: relative; display: flex; align-items: center; gap: 0.75rem;
  margin: 0 -0.5rem;
}
.testi-track {
  display: flex; gap: 1.25rem;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  flex: 1; cursor: grab;
  scrollbar-width: none;
}
.testi-track::-webkit-scrollbar { display: none; }
.testi-track:active { cursor: grabbing; }
.testi-card {
  flex: 0 0 calc(33.33% - 0.85rem);
  scroll-snap-align: start;
  background: white; border-radius: var(--radius-xl);
  padding: 1.75rem; border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 0.75rem;
}
.testi-stars { color: #f59e0b; font-size: 0.9rem; display: flex; gap: 2px; }
.testi-text {
  font-size: 0.9rem; line-height: 1.6; color: var(--text-medium);
  flex: 1;
}
.testi-author { display: flex; align-items: center; gap: 0.65rem; margin-top: auto; }
.testi-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--primary); color: white;
  font-weight: 800; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.testi-author strong { font-size: 0.88rem; color: var(--text-dark); }
.testi-arrow {
  width: 40px; height: 40px; border-radius: 50%;
  background: white; border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-medium); flex-shrink: 0;
  transition: all var(--transition); cursor: pointer;
}
.testi-arrow:hover { background: var(--primary); color: white; border-color: var(--primary); }
.testi-arrow:disabled { opacity: 0.3; cursor: not-allowed; }
.testi-dots {
  display: flex; justify-content: center; gap: 6px; margin-top: 1.25rem;
}
.testi-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border); border: none; padding: 0;
  cursor: pointer; transition: all var(--transition);
}
.testi-dot.active { background: var(--primary); width: 24px; border-radius: 4px; }

/* ── Lacak select dropdown ───────────────────────────────────── */
.select-wrapper { position: relative; }
.select-wrapper::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free'; font-weight: 900;
  position: absolute; right: 1rem; top: 50%; transform: translateY(-50%);
  color: var(--text-muted); pointer-events: none; font-size: 0.75rem;
}
.select-wrapper select { appearance: none; -webkit-appearance: none; padding-right: 2.5rem; }

/* Discount msg */
.discount-msg { font-size: 0.88rem; margin-top: 0.5rem; }
.discount-msg.success { color: var(--primary); }
.discount-msg.error { color: #ef4444; }

@media (max-width: 1024px) {
  .testi-card { flex: 0 0 calc(50% - 0.65rem); }
}
@media (max-width: 640px) {
  .testi-card { flex: 0 0 calc(85% - 0.65rem); }
  .testi-arrow { display: none; }
}

/* ── iOS zoom prevention: form inputs must be ≥16px on mobile ── */
@media (max-width: 768px) {
  .form-input, input[type="text"], input[type="email"], input[type="number"],
  input[type="password"], input[type="tel"], input[type="search"],
  input[type="date"], input[type="datetime-local"], select, textarea {
    font-size: 16px;
  }
  /* Minimum touch target for primary CTAs */
  .btn, .btn-primary, .btn-outline { min-height: 44px; }
  .btn-sm { min-height: 38px; }
}

/* ── Popup Promosi ────────────────────────────────────────────── */
.promo-popup-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  z-index: 3000; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.promo-popup-overlay.show { opacity: 1; pointer-events: auto; }
.promo-popup-overlay.hiding { opacity: 0; pointer-events: none; }
.promo-popup-card {
  background: #fff; border-radius: 16px; max-width: 420px; width: calc(100% - 2rem);
  overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  transform: scale(0.9) translateY(20px); transition: transform 0.3s ease;
  position: relative;
}
.promo-popup-overlay.show .promo-popup-card { transform: scale(1) translateY(0); }
.promo-popup-close {
  position: absolute; top: 0.75rem; right: 0.75rem;
  background: rgba(0,0,0,0.4); color: #fff; border: none; border-radius: 50%;
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 0.9rem; z-index: 1;
}
.promo-popup-close:hover { background: rgba(0,0,0,0.6); }
.promo-popup-img img { width: 100%; display: block; max-height: 260px; object-fit: cover; }
.promo-popup-body { padding: 1.5rem; text-align: center; }
.promo-popup-title { font-size: 1.4rem; font-weight: 800; margin: 0 0 0.5rem; color: var(--dark); }
.promo-popup-sub { font-size: 0.95rem; color: #64748b; margin: 0 0 1.25rem; }
.promo-popup-btn { padding: 0.75rem 2rem; font-size: 1rem; }

/* ── Scroll Reveal (class disuntik JS — tanpa JS semua tetap terlihat) ── */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: translateY(0); will-change: auto; }

/* ── Section header eyebrow polish ── */
.section-header h2 { position: relative; display: inline-block; }
.section-header p { font-size: 0.95rem; }

/* ── Link arrow micro-interaction ── */
.section-link i { transition: transform var(--transition); }
.section-link:hover i { transform: translateX(4px); }

/* ── Back to top: springier ── */
.back-to-top { transition: opacity 0.3s var(--ease-out), transform 0.4s var(--ease-spring), background var(--transition); }

/* ── Image placeholder shimmer (berlaku ke bg .light di product img) ── */
.product-img-wrap { background: linear-gradient(100deg, var(--light) 40%, #eef1ee 50%, var(--light) 60%); background-size: 200% 100%; animation: none; }

/* ── Reduced motion: hormati preferensi user ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
