/* =============================================
   store.css — KodeKita Inject
   Marketplace Layout (Inspired by jasacarx.com)
   ============================================= */

:root {
  --paper: #FFFFFF;
  --bg: #F8FAFC;
  --bg-soft: #F1F5F9;
  --bg-deep: #E2E8F0;

  --ink: #0F172A;
  --ink-soft: #334155;
  --ink-mute: #64748B;
  --ink-faint: #94A3B8;

  --indigo: #4F46E5;
  --indigo-deep: #3730A3;
  --indigo-soft: #EEF2FF;
  --indigo-line: #C7D2FE;

  --card-purple: #7C3AED;
  --card-purple-2: #C026D3;
  --card-teal: #0D9488;
  --card-teal-2: #14B8A6;
  --card-orange: #F97316;
  --card-orange-2: #EA580C;
  --card-green: #16A34A;
  --card-green-2: #15803D;
  --card-black: #0A0A0A;
  --card-blue: #1E40AF;
  --card-blue-2: #2563EB;

  --rose: #E11D48;
  --emerald: #10B981;
  --amber: #F59E0B;
  --rule: #E2E8F0;
  --rule-strong: #CBD5E1;

  --ff-display: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --ff-body: 'Outfit', system-ui, -apple-system, sans-serif;
  --ff-mono: 'Roboto Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --text-xs: 12px;
  --text-sm: 13px;
  --text-base: 15px;
  --text-md: 17px;
  --text-lg: 20px;
  --text-xl: 24px;
  --text-2xl: 32px;

  --container: 1280px;
  --container-pad: 24px;

  --r-sm: 6px;
  --r: 14px;
  --r-lg: 22px;
  --r-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(15,23,42,0.06);
  --shadow: 0 6px 18px -8px rgba(15,23,42,0.16), 0 2px 4px -2px rgba(15,23,42,0.06);
  --shadow-lg: 0 24px 60px -28px rgba(15,23,42,0.30), 0 8px 16px -10px rgba(15,23,42,0.08);
  --shadow-indigo: none;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: var(--text-base);
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: 68px;
}

h1, h2, h3, h4, h5 {
  margin: 0;
  font-family: var(--ff-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
p { margin: 0; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; transition: color 180ms var(--ease); }
a:hover { color: var(--indigo); }
button { font: inherit; border: 0; background: transparent; cursor: pointer; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--indigo); color: var(--paper); }

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

.hidden { display: none !important; }

/* Material Symbols Outlined */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 20px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  vertical-align: middle;
}

/* ======== UTILITY BAR (HIDDEN PER USER REQUEST) ======== */
.utility {
  display: none !important;
}
.utility .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  padding-bottom: 10px;
  flex-wrap: wrap;
  gap: 12px;
}
.utility .brand-info {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
}
.utility .links {
  display: inline-flex;
  gap: 20px;
  color: rgba(255,255,255,0.7);
}
.utility .links a { color: inherit; }
.utility .links a:hover { color: var(--paper); }

/* ======== SITE HEADER ======== */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 60;
}
.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--indigo), var(--card-purple) 70%);
  display: inline-grid;
  place-items: center;
  color: var(--paper);
  font-weight: 800;
  font-size: 16px;
  box-shadow: var(--shadow-indigo);
  flex-shrink: 0;
}
.brand .brand-accent {
  color: var(--indigo);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.header-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 14px;
  border-radius: 9999px;
  font-family: var(--ff-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  cursor: pointer;
  white-space: nowrap;
  transition: all 200ms cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.header-pill:hover {
  transform: translateY(-1.5px);
  color: var(--indigo);
  border-color: var(--indigo-line);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.12);
}

.header-pill--cart {
  background: var(--bg);
}

.header-pill--cart .cart-badge {
  background: linear-gradient(135deg, var(--indigo), #8b5cf6);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 9999px;
  margin-left: 2px;
  box-shadow: 0 2px 5px rgba(99, 102, 241, 0.35);
}

.header-pill--voucher {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(245, 158, 11, 0.08));
  border: 1px solid rgba(99, 102, 241, 0.35);
  color: var(--indigo);
  font-weight: 700;
  position: relative;
  overflow: hidden;
}

.header-pill--voucher::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transform: skewX(-20deg);
  animation: shinePill 3.5s infinite;
}

@keyframes shinePill {
  0%, 70% { left: -100%; }
  100% { left: 150%; }
}

.header-pill--voucher:hover {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(245, 158, 11, 0.15));
  border-color: var(--indigo);
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.22);
}

.header-pill--track {
  background: var(--paper);
}

.header-pill--wa {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #ffffff !important;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
}

.header-pill--wa:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff !important;
  transform: translateY(-1.5px);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35);
  border-color: #059669;
}

.cs-dot-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.95);
  animation: csPulse 1.5s infinite;
  display: inline-block;
  flex-shrink: 0;
}

@keyframes csPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}

/* ======== NAV BAR (Catalog Tabs) ======== */
.nav-bar {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 72px;
  z-index: 55;
}
.nav-bar .container {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 0;
  padding-bottom: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-bar .container::-webkit-scrollbar { display: none; }

.nav-bar .all-cats {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: var(--text-sm);
  white-space: nowrap;
  color: var(--ink-mute);
  border-bottom: 2px solid transparent;
  transition: all 180ms var(--ease);
}
.nav-bar .all-cats:hover,
.nav-bar .all-cats.is-active {
  color: var(--indigo);
  border-bottom-color: var(--indigo);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0;
}
.main-nav a,
.main-nav button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 16px;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: var(--text-sm);
  white-space: nowrap;
  color: var(--ink-mute);
  border-bottom: 2px solid transparent;
  transition: all 180ms var(--ease);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  cursor: pointer;
}
.main-nav a:hover,
.main-nav a.is-active,
.main-nav button:hover,
.main-nav button.is-active {
  color: var(--indigo);
  border-bottom-color: var(--indigo);
}

.nav-cta {
  margin-left: auto;
  flex-shrink: 0;
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--emerald);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: 999px;
  background: rgba(16,185,129,0.06);
  white-space: nowrap;
}
.nav-cta::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--emerald);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--emerald);
  animation: pulseDot 1.5s infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

/* ======== HERO / BENTO SECTION ======== */
.hero {
  padding: 32px 0 0 0;
  background: var(--paper);
}
.bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}
.bento-card {
  border-radius: var(--r-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  color: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 200px;
  cursor: pointer;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
}
.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.bento-card--lg {
  grid-column: 1 / -1;
  min-height: 340px;
  cursor: default;
  background: linear-gradient(135deg, var(--card-blue) 0%, var(--card-blue-2) 100%);
}
.bento-card--lg:hover { transform: none; box-shadow: none; }
.bento-card--purple {
  background: linear-gradient(135deg, var(--card-purple) 0%, var(--card-purple-2) 100%);
}
.bento-card--teal {
  background: linear-gradient(135deg, var(--card-teal) 0%, var(--card-teal-2) 100%);
}
.bento-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.bento-card--orange {
  background: linear-gradient(135deg, var(--card-orange) 0%, var(--card-orange-2) 100%);
}
.bento-card--green {
  background: linear-gradient(135deg, var(--card-green) 0%, var(--card-green-2) 100%);
}
.bento-card--black {
  background: linear-gradient(135deg, #18181b 0%, var(--card-black) 100%);
}

.bento-card .sparkle {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.15) 0%, transparent 60%);
  pointer-events: none;
}
.bento-card .eyebrow {
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.8;
  margin-bottom: 8px;
}
.bento-card h1 {
  font-size: clamp(1.6rem, 1rem + 2.4vw, 2.6rem);
  font-weight: 800;
  color: var(--paper);
  line-height: 1.2;
  max-width: 700px;
  margin-bottom: 12px;
}
.bento-card h1 .cx-highlight {
  color: #93C5FD;
}
.bento-card p {
  font-size: var(--text-base);
  opacity: 0.8;
  margin-bottom: 20px;
  max-width: 500px;
}
.bento-card h3 {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--paper);
  line-height: 1.2;
  margin-bottom: 8px;
}
.bento-card .shop-now {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.85);
  transition: color 180ms;
}
.bento-card .shop-now:hover { color: #fff; }

.bento-card .product {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 110px;
  height: 110px;
  object-fit: contain;
  opacity: 0.55;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.35));
  pointer-events: none;
  transition: transform 260ms var(--ease), opacity 260ms var(--ease);
}
.bento-card:hover .product {
  transform: scale(1.08) translateY(-4px);
  opacity: 0.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.cx-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
}
.cx-trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cx-trust-row span::before {
  content: '✓';
  color: #34d399;
  font-weight: 900;
  font-size: 14px;
}

/* ======== TRUST STATS BAR (Modern Marketplace Cards) ======== */
.trust-stats-bar {
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
  padding: 16px 0;
}
.trust-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.trust-stat-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 2px 6px rgba(15,23,42,0.03);
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), border-color 180ms var(--ease);
}
.trust-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(15,23,42,0.06);
  border-color: var(--indigo-line);
}
.trust-stat-card--rating {
  border-color: rgba(245, 158, 11, 0.4);
  background: linear-gradient(135deg, #FFFDF7 0%, #FFFFFF 100%);
}
.trust-stat-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 20px;
  flex-shrink: 0;
}
.badge-emerald { background: #ECFDF5; color: var(--emerald); border: 1px solid rgba(16,185,129,0.25); }
.badge-amber { background: #FFFBEB; color: var(--amber); border: 1px solid rgba(245,158,11,0.25); }
.badge-indigo { background: #EEF2FF; color: var(--indigo); border: 1px solid rgba(79,70,229,0.25); }
.badge-star { background: #FFF7ED; font-size: 22px; border: 1px solid rgba(245,158,11,0.3); }
.trust-stat-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.trust-stat-num {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.25;
}
.rating-with-emoji {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}
.stars-emojis {
  font-size: 13px;
  letter-spacing: 0.5px;
}
.trust-stat-sub {
  font-size: 11px;
  color: var(--ink-faint);
  font-family: var(--ff-mono);
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 1024px) {
  .trust-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .trust-stats-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* ======== BUTTONS ======== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--r);
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 180ms var(--ease);
  white-space: nowrap;
  border: none;
  text-decoration: none;
}
.btn--indigo {
  background: var(--indigo);
  color: var(--paper);
  box-shadow: var(--shadow-indigo);
}
.btn--indigo:hover {
  background: var(--indigo-deep);
}
.btn--paper {
  background: var(--paper);
  color: var(--ink);
}
.btn--paper:hover {
  background: var(--bg);
}
.btn--ghost {
  background: transparent;
  color: var(--ink-soft);
  border: 1px solid var(--rule-strong);
}
.btn--ghost:hover {
  border-color: var(--indigo);
  color: var(--indigo);
}
.btn--ghost-light {
  background: rgba(255,255,255,0.12);
  color: var(--paper);
  border: 1px solid rgba(255,255,255,0.25);
}
.btn--ghost-light:hover {
  background: rgba(255,255,255,0.2);
}
.btn--wa {
  background: #25d366;
  color: var(--paper);
  font-weight: 800;
}
.btn--wa:hover {
  background: #1eb956;
}
.btn--sm {
  padding: 8px 14px;
  font-size: var(--text-xs);
  border-radius: var(--r-sm);
}

/* ======== CATALOG SECTION (Marketplace Layout) ======== */
.catalog-section {
  padding: 32px 0 24px 0;
}

/* Compact Catalog Head (like jasacarx) */
.catalog-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.catalog-head .eyebrow {
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--indigo);
}
.catalog-head h2 {
  font-size: var(--text-xl);
  font-weight: 800;
}
.catalog-head p {
  color: var(--ink-mute);
  font-size: var(--text-sm);
}
.catalog-head-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.catalog-head-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.catalog-product-count {
  font-family: var(--ff-mono);
  font-size: var(--text-xs);
  color: var(--ink-faint);
  letter-spacing: 0.02em;
  background: var(--bg);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  white-space: nowrap;
}
.catalog-sort-btn {
  padding: 6px 12px;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: var(--text-xs);
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink-mute);
  border: 1px solid var(--rule);
  cursor: pointer;
  transition: all 180ms var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.catalog-sort-btn:hover {
  background: var(--indigo-soft);
  color: var(--indigo);
  border-color: var(--indigo-line);
}

/* Catalog Tabs - Pill Style */
.catalog-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: nowrap;
  margin-bottom: 24px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.catalog-tabs::-webkit-scrollbar { display: none; }

.catalog-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--ink-mute);
  background: var(--paper);
  border: 1px solid var(--rule);
  cursor: pointer;
  transition: all 180ms var(--ease);
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}
.catalog-tab:hover {
  background: var(--indigo-soft);
  color: var(--indigo);
  border-color: var(--indigo-line);
}
.catalog-tab.active {
  background: var(--indigo);
  color: var(--paper);
  border-color: var(--indigo);
  box-shadow: var(--shadow-indigo);
}

/* ======== PRODUCT GRID ======== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

/* ======== PRODUCT CARD (Marketplace Style) ======== */
.product-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all 260ms var(--ease);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  border-color: var(--indigo-line);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.product-media {
  position: relative;
  background: var(--bg-soft);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 300ms var(--ease);
}
.product-card:hover .product-media img {
  transform: scale(1.05);
}
.product-media .product-icon {
  font-size: 64px;
  opacity: 0.6;
}

/* Badge system */
.product-media .badge-overlay,
.product-media .product-category-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  z-index: 2;
}
.product-media .badge-popular,
.product-category-badge.popular {
  background: var(--rose);
  color: var(--paper);
  font-family: var(--ff-mono);
  font-size: 10px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.product-media .badge-new,
.product-category-badge.new {
  background: var(--emerald);
  color: var(--paper);
  font-family: var(--ff-mono);
  font-size: 10px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.product-category-badge.promo {
  background: var(--amber);
  color: #fff;
  font-family: var(--ff-mono);
  font-size: 10px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.product-media .badge-mod {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff;
  font-family: var(--ff-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  box-shadow: 0 2px 6px rgba(234, 88, 12, 0.4);
}
.product-media .badge-orig {
  background: linear-gradient(135deg, #0d9488, #0f766e);
  color: #fff;
  font-family: var(--ff-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  box-shadow: 0 2px 6px rgba(13, 148, 136, 0.4);
}
.sold-overlay {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  letter-spacing: 0.2px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 2;
  box-shadow: none !important;
}

/* Product Title (above body, like jasacarx marketplace) */
.product-title {
  font-family: var(--ff-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  padding: 12px 16px 0 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Product Body */
.product-body {
  padding: 8px 16px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.product-price,
.product-body .price {
  font-family: var(--ff-mono);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--ink);
}
.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}
.currency-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: var(--r-sm);
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 600;
}
.currency-badge.currency-silver {
  background: #e2e8f0;
  color: #475569;
}
.currency-badge.currency-gold {
  background: #fef3c7;
  color: #92400e;
}
.currency-badge.currency-cars {
  background: #dbeafe;
  color: #1e40af;
}
.currency-badge.currency-level {
  background: #ede9fe;
  color: #5b21b6;
}
.product-bonus {
  font-size: var(--text-xs);
  color: var(--emerald);
  background: rgba(16,185,129,0.06);
  border: 1px dashed rgba(16,185,129,0.3);
  padding: 6px 10px;
  border-radius: var(--r-sm);
  text-align: center;
}

/* Product Buy Button */
.product-btn {
  width: 100%;
  padding: 11px 16px;
  background: var(--indigo);
  color: var(--paper);
  border: none;
  border-radius: var(--r);
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: var(--text-sm);
  cursor: pointer;
  transition: all 180ms var(--ease);
  margin-top: auto;
}
.product-btn:hover {
  background: var(--indigo-deep);
  box-shadow: var(--shadow-indigo);
}

/* ======== CAR GRID ======== */
.car-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}
.car-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all 260ms var(--ease);
}
.car-card:hover {
  border-color: var(--indigo-line);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.car-media {
  background: var(--bg-soft);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.car-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 300ms var(--ease);
}
.car-card:hover .car-media img {
  transform: scale(1.05);
}

/* Styling Khusus Card Premium Bundle (Unlock Premium Car & 70+ All Premium Car) - Elegan & Bersahaja */
.car-card-premium-bundle {
  border: 1px solid #cbd5e1;
  position: relative;
}
.car-card-premium-bundle:hover {
  border-color: var(--indigo-line);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.car-media-poster {
  aspect-ratio: 1 / 1 !important;
  background: #0f172a !important;
}
.car-media-poster img {
  object-fit: cover !important;
  width: 100% !important;
  height: 100% !important;
}
.badge-special {
  background: #fef3c7 !important;
  color: #92400e !important;
  font-weight: 700 !important;
  border: 1px solid #fde68a !important;
}
.badge-special-sub {
  background: #f1f5f9 !important;
  color: #475569 !important;
  font-weight: 700 !important;
  border: 1px solid #e2e8f0 !important;
}
.car-media.car-media-empty {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.car-media.car-media-empty .car-icon {
  font-size: 42px;
  opacity: 0.35;
}
.car-media.car-media-empty::after {
  content: 'Foto Belum Ada';
  font-family: var(--ff-mono);
  font-size: 10px;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
}
.car-media .car-icon {
  font-size: 48px;
}
.car-name-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 12px 14px 6px 14px;
}
.car-name {
  font-family: var(--ff-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}
.car-price-badge {
  font-family: var(--ff-mono);
  font-size: var(--text-xs);
  font-weight: 800;
  color: #1d4ed8;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 4px 10px;
  border-radius: 999px;
  flex-shrink: 0;
}
.car-body {
  padding: 6px 14px 14px 14px;
}
.car-rankline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 6px 0 10px 0;
}
.car-rankline .badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.car-rankline .badge.class {
  background: #eef2ff;
  color: #4338ca;
  border: 1px solid #c7d2fe;
}
.car-rankline .badge.gold {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}
.car-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}
.car-specs .spec-box,
.car-specs > div {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 8px 6px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2px;
  transition: all 180ms ease;
}
.car-specs > div:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.car-specs span {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.04em;
  line-height: 1.1;
}
.car-specs b {
  font-family: var(--ff-mono);
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}
.car-btn-row {
  display: flex;
  margin-top: 10px;
}
.btn-car-buy {
  width: 100%;
  flex: 1;
  background: #2563eb;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 11px 16px;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-car-buy:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: none;
}
.car-card.selected {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

/* ======== CAR SEARCH ======== */
.search-wrapper {
  position: relative;
  margin-bottom: 20px;
}
.search-wrapper .search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-faint);
  font-size: 18px;
  pointer-events: none;
}
.search-wrapper input {
  width: 100%;
  padding: 14px 20px 14px 44px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  background: var(--paper);
  font-size: var(--text-base);
  transition: border-color 180ms var(--ease), background 180ms var(--ease);
}
.search-wrapper input::placeholder { color: var(--ink-faint); }
.search-wrapper input:focus {
  outline: 0;
  background: var(--paper);
  border-color: var(--indigo);
  box-shadow: 0 0 0 4px rgba(79,70,229,0.12);
}

/* ======== CAR SELECTION BAR ======== */
.car-selection-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 14px 20px;
  border-radius: var(--r);
  margin-top: 20px;
}

/* ======== STORE SECTION TRANSITIONS ======== */
.store-section {
  animation: fadeSlideIn 300ms var(--ease);
}
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ======== TOOL BOX (Kredit & Track) ======== */
.tool-box {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: 24px;
}
.tool-form-row {
  display: flex;
  gap: 12px;
}
.tool-input {
  flex: 1;
  padding: 12px 18px;
  border: 1px solid var(--rule-strong);
  border-radius: var(--r);
  background: var(--bg);
  font-size: var(--text-base);
}
.tool-input:focus {
  outline: 0;
  background: var(--paper);
  border-color: var(--indigo);
  box-shadow: 0 0 0 4px rgba(79,70,229,0.12);
}
.tool-result-area {
  margin-top: 16px;
}

/* ======== MODAL OVERLAY ======== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.55);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal-overlay.hidden {
  display: none !important;
}
.modal-window {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-xl);
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: modalIn 250ms var(--ease);
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.96) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 20px 24px;
  border-bottom: 1px solid var(--rule);
}
.modal-header-content h3 {
  font-size: var(--text-lg);
  font-weight: 800;
}
.modal-price-tag {
  font-family: var(--ff-mono);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--indigo);
}
.modal-close {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  font-size: 16px;
  cursor: pointer;
  color: var(--ink-mute);
  transition: all 180ms;
}
.modal-close:hover {
  background: var(--bg-deep);
  color: var(--ink);
}
.modal-body {
  padding: 24px;
}
.modal-product-summary {
  font-size: var(--text-sm);
  color: var(--ink-mute);
  background: var(--bg);
  padding: 12px 16px;
  border-radius: var(--r-sm);
  margin-bottom: 20px;
  border-left: 3px solid var(--indigo);
}
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--ink-mute);
  margin-bottom: 6px;
  font-family: var(--ff-display);
}
.input-field {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--rule-strong);
  border-radius: var(--r);
  background: var(--bg);
  font-size: var(--text-base);
  transition: border-color 180ms;
  box-sizing: border-box;
}
.input-field:focus {
  outline: 0;
  border-color: var(--indigo);
  background: var(--paper);
  box-shadow: 0 0 0 4px rgba(79,70,229,0.12);
}
.modal-account-mode-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.mode-radio-label {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  font-size: var(--text-xs);
  cursor: pointer;
  font-weight: 600;
  transition: all 180ms;
}
.mode-radio-label:hover {
  background: var(--indigo-soft);
  border-color: var(--indigo-line);
}
.btn-whatsapp-order {
  width: 100%;
  padding: 14px 16px;
  background: #25d366;
  color: var(--paper);
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: var(--text-base);
  border: none;
  border-radius: var(--r);
  cursor: pointer;
  transition: all 180ms var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-whatsapp-order:hover {
  background: #1eb956;
  box-shadow: 0 6px 20px rgba(37,211,102,0.35);
}
.card-guarantee-pill {
  font-size: var(--text-xs);
  color: var(--emerald);
  background: rgba(16,185,129,0.06);
  border: 1px dashed rgba(16,185,129,0.3);
  padding: 8px 12px;
  border-radius: var(--r-sm);
  text-align: center;
}
.alert-box {
  padding: 12px 16px;
  border-radius: var(--r-sm);
  font-size: var(--text-sm);
  margin-bottom: 16px;
}
.alert-error {
  background: rgba(225,29,72,0.08);
  border: 1px solid rgba(225,29,72,0.2);
  color: var(--rose);
}
.alert-info {
  background: rgba(79,70,229,0.06);
  border: 1px solid rgba(79,70,229,0.2);
  color: var(--indigo);
}

/* ======== SUCCESS MODAL ======== */
.success-modal-card {
  text-align: center;
  padding: 28px;
}
.success-icon-anim {
  font-size: 48px;
  margin-bottom: 8px;
}
.success-order-pill {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--indigo);
  background: var(--indigo-soft);
  border: 1px solid var(--indigo-line);
  padding: 6px 20px;
  border-radius: 999px;
  margin: 12px 0 20px 0;
}
.btn-outline-full {
  width: 100%;
  padding: 10px;
  background: var(--bg);
  color: var(--ink-soft);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: var(--text-sm);
  cursor: pointer;
}
.btn-outline-full:hover {
  background: var(--bg-deep);
}

/* ======== FLOATING WA ======== */
.floating-whatsapp {
  position: fixed;
  bottom: 80px;
  right: 24px;
  z-index: 95;
  background: #25d366;
  color: var(--paper);
  border-radius: 999px;
  padding: 10px 18px;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: var(--text-sm);
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: all 250ms var(--ease);
}
.floating-whatsapp:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 25px rgba(37,211,102,0.6);
  color: var(--paper);
}

/* ======== MOBILE BOTTOM BAR ======== */
.mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background: var(--paper);
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-around;
  padding: 6px 0 8px 0;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.06);
}
.mobile-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
  font-family: var(--ff-display);
  color: var(--ink-mute);
  gap: 2px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px 8px;
  text-decoration: none;
  transition: color 150ms;
}
.mobile-bar-item .icon {
  font-size: 20px;
  line-height: 1;
}
.mobile-bar-item.active,
.mobile-bar-item:hover {
  color: var(--indigo);
}

/* ======== FOOTER (ULTRA COMPACT) ======== */
.site-footer {
  border-top: 1px solid var(--rule);
  padding: 24px 0 16px 0;
  margin-top: 32px;
  color: var(--ink-mute);
  font-size: var(--text-xs);
  background: var(--paper);
}
.site-footer a {
  color: var(--ink-mute);
  text-decoration: none;
}
.site-footer a:hover { color: var(--indigo); }
.footer-compact-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 12px;
}
.footer-brand-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-desc {
  font-size: 12px;
  color: var(--ink-mute);
  margin: 0;
}
.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 12px;
  transition: color 150ms;
}
.footer-links a:hover {
  color: var(--indigo);
}
.footer-bottom-line {
  text-align: center;
  font-size: 11px;
  color: var(--ink-faint);
  padding-top: 12px;
  border-top: 1px solid var(--rule);
}

/* ======== RESPONSIVE ======== */
@media (min-width: 769px) {
  .mobile-bar { display: none; }
  body { padding-bottom: 0; }
}
@media (max-width: 768px) {
  body {
    padding-bottom: 74px;
  }
  .floating-whatsapp {
    bottom: 74px;
    right: 14px;
    padding: 8px 12px;
    font-size: var(--text-xs);
    z-index: 95;
  }
  .utility .brand-info { display: none; }
  .bento {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .bento-row {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .bento-card { min-height: 150px; padding: 20px; }
  .bento-card--lg { min-height: 250px; padding: 22px 18px; }
  .bento-card h1 { font-size: 1.35rem; line-height: 1.25; }
  .hero-actions {
    flex-direction: column;
    gap: 8px;
  }
  .hero-actions .btn {
    width: 100%;
    min-height: 44px;
  }

  /* Compact Native-Feel Header */
  .site-header .container {
    height: 56px;
    padding: 0 12px;
  }
  .brand {
    font-size: 17px;
    gap: 6px;
  }
  .brand-mark {
    width: 32px;
    height: 32px;
    font-size: 14px;
    border-radius: 8px;
  }
  .header-actions {
    gap: 6px;
    flex-wrap: nowrap;
    align-items: center;
  }
  .header-pill {
    height: 34px;
    padding: 0 10px;
    font-size: 12px;
  }
  /* Sembunyikan pill berteks panjang di header HP agar tidak overflow */
  .header-pill--voucher,
  .header-pill--track {
    display: none !important;
  }
  .header-actions .pill-label {
    display: none !important;
  }
  .header-user-chip {
    padding: 3px 6px;
    gap: 4px;
  }
  .header-user-chip .user-info-text {
    display: none !important;
  }
  .header-actions .btn--wa { display: none; }

  /* Nav Bar Swipeable Tabs */
  .nav-bar {
    top: 56px;
  }
  .nav-bar .container {
    padding: 0 8px;
    -webkit-overflow-scrolling: touch;
  }
  .nav-bar .all-cats,
  .main-nav button,
  .main-nav a {
    padding: 11px 12px;
    font-size: 12px;
  }
  .nav-cta {
    display: none !important; /* Maksimumkan ruang untuk swipe kategori produk */
  }

  .trust-stats-bar .container {
    gap: 16px;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  .trust-stats-bar .container::-webkit-scrollbar { display: none; }
  .trust-stat { flex-shrink: 0; }
  .catalog-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .site-footer {
    padding: 18px 0 16px 0;
    margin-top: 20px;
  }
  .footer-compact-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }
  .footer-brand-info {
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }
  .footer-links {
    justify-content: center;
    gap: 10px 14px;
  }
}
@media (max-width: 768px) {
  :root {
    --container-pad: 12px;
  }
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
  }
  .container {
    padding: 0 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  /* Grid Produk & Mobil TETAP 2 KOLOM RAPI PADA MOBILE */
  .product-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
  }
  .car-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
  }
  .product-card,
  .car-card {
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .bento-row { grid-template-columns: 1fr; }
  .tool-form-row { flex-direction: column; }
  
  .product-title {
    font-size: 12px;
    padding: 8px 8px 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
  }
  .product-body {
    padding: 6px 8px 10px 8px;
    gap: 6px;
  }
  .product-price,
  .product-body .price {
    font-size: var(--text-base);
  }
  .product-btn {
    padding: 8px 8px;
    font-size: 11px;
    min-height: 38px;
  }
  .currency-badge {
    font-size: 10px;
    padding: 3px 6px;
  }
  .product-media .badge-mod,
  .product-media .badge-orig {
    font-size: 9px;
    padding: 2px 7px;
  }

  /* Compact Native 2-Kolom Car Card Mobile Layout */
  .car-media {
    aspect-ratio: 4/3;
    position: relative;
    overflow: hidden;
  }
  .sold-overlay {
    font-size: 9.5px !important;
    padding: 2px 7px !important;
    bottom: 6px !important;
    right: 6px !important;
    border-radius: 999px !important;
  }
  .car-name-row {
    padding: 8px 8px 4px 8px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
  }
  .car-name {
    font-size: 11.5px !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    min-height: 2.5em !important;
    width: 100% !important;
    margin: 0 !important;
  }
  .car-price-badge {
    font-size: 10.5px !important;
    padding: 2px 7px !important;
    border-radius: 999px !important;
    align-self: flex-start !important;
  }
  .car-body {
    padding: 4px 8px 10px 8px !important;
  }
  .car-rankline {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 3px !important;
    justify-content: flex-start !important;
    margin: 4px 0 8px 0 !important;
  }
  .car-rankline .badge {
    padding: 2px 6px !important;
    font-size: 8.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    border-radius: 6px !important;
  }
  .car-specs {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 4px !important;
    margin-bottom: 8px !important;
  }
  .car-specs .spec-box,
  .car-specs > div {
    padding: 4px 2px !important;
    border-radius: 6px !important;
    gap: 1px !important;
    min-width: 0 !important;
  }
  .car-specs span {
    font-size: 8px !important;
    letter-spacing: 0 !important;
    line-height: 1 !important;
  }
  .car-specs b {
    font-size: 11px !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .btn-car-buy {
    padding: 8px 6px !important;
    font-size: 11.5px !important;
    border-radius: 8px !important;
    min-height: 36px !important;
    width: 100% !important;
  }
  .catalog-tools-row {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
  }
  .catalog-sort-select {
    width: 100% !important;
  }
  .search-wrapper {
    width: 100% !important;
  }
}
@media (max-width: 600px) {

  /* Modal Bottom Sheet Mobile */
  .modal-overlay {
    padding: 0;
    align-items: flex-end;
  }
  .modal-window {
    max-width: 100% !important;
    width: 100% !important;
    max-height: 94vh !important;
    border-radius: 22px 22px 0 0 !important;
    border-bottom: none !important;
    margin: 0 !important;
    padding-bottom: max(16px, env(safe-area-inset-bottom, 16px));
    animation: sheetSlideUp 260ms cubic-bezier(0.16, 1, 0.3, 1) !important;
  }
  @keyframes sheetSlideUp {
    from { opacity: 0; transform: translateY(100%); }
    to { opacity: 1; transform: translateY(0); }
  }
  .modal-header {
    padding: 14px 18px;
    position: sticky;
    top: 0;
    background: var(--paper);
    z-index: 10;
  }
  .modal-body {
    padding: 14px 16px 24px;
  }
  /* Input 16px: Anti iOS Safari Auto-Zoom */
  .input-field {
    font-size: 16px !important;
    min-height: 44px;
    padding: 10px 12px;
  }
  .btn-whatsapp-order {
    min-height: 46px;
    font-size: 14px;
  }

  /* QRIS Mobile Optimization */
  .qris-presentation-box {
    max-width: 100%;
  }
  .qris-card-wrapper {
    padding: 12px;
    margin: 6px auto 12px auto;
    width: 100%;
  }
  .qris-img-container {
    padding: 8px;
    margin: 4px 0 8px 0;
  }
  .qris-img-container img {
    width: 240px;
    height: 240px;
    max-width: 100%;
  }
  .qris-amount-card {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 10px 12px;
  }
  .qris-amount-title,
  .qris-amount-val,
  .qris-amount-warning {
    text-align: center !important;
  }
  .btn-copy-amount {
    width: 100%;
    padding: 9px;
  }

  /* Tracking section on mobile */
  .track-search-box {
    flex-direction: column;
    gap: 8px;
  }
  .track-search-box .btn {
    width: 100%;
    min-height: 44px;
  }
}

/* ======== LIGHTBOX MODAL ======== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(8px);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalPop 260ms var(--ease);
  cursor: default;
}
@keyframes modalPop {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}
.lightbox-content img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--r);
  box-shadow: 0 24px 60px rgba(0,0,0,0.6);
  object-fit: contain;
  background: #000;
}

/* ======== SCROLL TO TOP BUTTON ======== */
.scroll-to-top {
  position: fixed;
  bottom: 80px;
  left: 24px;
  z-index: 94;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 200ms var(--ease);
  color: var(--ink-mute);
  font-size: 18px;
}
.scroll-to-top.visible {
  display: flex;
}
.scroll-to-top:hover {
  background: var(--indigo);
  color: var(--paper);
  border-color: var(--indigo);
  transform: translateY(-2px);
}

/* ======== MARKETPLACE FILTER CHIPS & CONTROLS ======== */
.filter-chips-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 0 16px 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
  align-items: center;
}
.filter-chips-row::-webkit-scrollbar { display: none; }
.filter-chip {
  padding: 7px 16px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--ink-mute);
  white-space: nowrap;
  cursor: pointer;
  transition: all 180ms var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.filter-chip:hover {
  border-color: var(--indigo-line);
  color: var(--indigo);
  background: var(--indigo-soft);
}
.filter-chip.active {
  background: var(--indigo);
  border-color: var(--indigo);
  color: #fff;
  box-shadow: 0 2px 8px rgba(79,70,229,0.25);
}

.catalog-tools-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.catalog-sort-select {
  padding: 8px 14px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  font-size: var(--text-xs);
  color: var(--ink-soft);
  font-weight: 600;
  cursor: pointer;
  outline: none;
  transition: border-color 150ms var(--ease);
}
.catalog-sort-select:focus {
  border-color: var(--indigo);
}

/* ======== MARKETPLACE TRUST FEATURES GRID ======== */
.trust-features-section {
  padding: 48px 0;
  background: var(--paper);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-top: 48px;
}
.trust-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.trust-feature-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px;
  background: var(--bg);
  border-radius: var(--r);
  border: 1px solid var(--rule);
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease);
}
.trust-feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: var(--indigo-line);
}
.trust-feature-icon {
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
}
.trust-feature-title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.trust-feature-desc {
  font-size: var(--text-xs);
  color: var(--ink-mute);
  line-height: 1.45;
}

/* ======== MARKETPLACE REVIEWS / TESTIMONIALS ======== */
.reviews-section {
  padding: 48px 0;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.review-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 180ms var(--ease);
}
.review-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.review-user {
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 6px;
}
.review-badge {
  font-size: 11px;
  color: var(--emerald);
  background: rgba(16,185,129,0.1);
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 600;
}
.review-stars {
  color: var(--amber);
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.review-text {
  font-size: var(--text-sm);
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: 14px;
}
.review-footer {
  font-size: var(--text-xs);
  color: var(--ink-faint);
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--rule);
  padding-top: 10px;
}

/* ======== FAQ ACCORDION ======== */
.faq-section {
  padding: 48px 0;
  background: var(--paper);
  border-top: 1px solid var(--rule);
}
.faq-grid {
  max-width: 820px;
  margin: 24px auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border: 1px solid var(--rule);
  border-radius: var(--r);
  background: var(--bg);
  overflow: hidden;
  transition: all 180ms var(--ease);
}
.faq-item[open] {
  border-color: var(--indigo-line);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}
.faq-question {
  padding: 16px 20px;
  font-weight: 700;
  font-size: var(--text-base);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  color: var(--ink);
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: '▼';
  font-size: 11px;
  color: var(--ink-faint);
  transition: transform 180ms var(--ease);
}
.faq-item[open] .faq-question::after {
  transform: rotate(180deg);
  color: var(--indigo);
}
.faq-answer {
  padding: 0 20px 16px 20px;
  font-size: var(--text-sm);
  color: var(--ink-soft);
  line-height: 1.6;
}

/* =============================================
   NEW: CART, PROFILE, COMPACT QRIS & STEPPER
   ============================================= */

/* Header Cart & Profile */
.btn--cart {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  color: var(--ink);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--r-sm);
  transition: all 180ms var(--ease);
}
.btn--cart:hover {
  border-color: var(--indigo);
  color: var(--indigo);
  background: var(--indigo-soft);
}
.cart-badge {
  background: var(--indigo);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 10px;
  min-width: 18px;
  text-align: center;
}

.header-user-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 4px 10px 4px 6px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 180ms var(--ease);
}
.header-user-chip:hover {
  border-color: var(--indigo);
  box-shadow: var(--shadow-sm);
}
.user-avatar-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo), var(--card-purple));
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.user-info-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: left;
}
.user-info-sub {
  font-size: 10px;
  color: var(--ink-mute);
  font-weight: 500;
}

/* Car Card Single Button Layout (Beli Sekarang) */
.car-btn-row {
  display: flex;
  margin-top: 10px;
}

/* Dedicated QRIS Banner in Checkout Modal (Hanya QRIS Otomatis - Simple & Clean) */
.qris-auto-banner-simple {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--r-sm);
  padding: 8px 12px;
  margin-bottom: 12px;
  font-size: 12px;
  color: var(--ink-soft);
  text-align: center;
}
.qris-auto-banner-simple strong {
  color: var(--indigo-deep);
}
.qris-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 6px var(--emerald);
  flex-shrink: 0;
}
.qris-auto-banner {
  background: linear-gradient(135deg, #EEF2FF 0%, #F5F3FF 100%);
  border: 1px solid var(--indigo-line);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  margin-bottom: 14px;
  text-align: center;
}
.qris-auto-badge {
  display: inline-block;
  background: var(--indigo);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.qris-auto-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--indigo-deep);
  margin-bottom: 2px;
}
.qris-auto-desc {
  font-size: 11px;
  color: var(--ink-mute);
  line-height: 1.35;
}

/* Product Card Rating Rows & Badges */
.product-rating-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}
.rating-stars {
  font-size: 12px;
  letter-spacing: 1px;
}
.rating-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-mute);
}
.car-rating-row {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  margin-top: 2px;
}
.car-rating-score {
  font-weight: 700;
  color: var(--ink-mute);
  font-size: 11px;
}

/* Top Single CS Button */
#btn-top-cs {
  position: relative;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.28);
}
.cs-dot-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  display: inline-block;
  margin-right: 2px;
  animation: pulseCsDot 1.4s infinite;
}
@keyframes pulseCsDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

/* Compact QRIS Container */
.qris-compact-box {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  padding: 18px;
  text-align: center;
}
.qris-meta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-xs);
  color: var(--ink-mute);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--rule);
}
.qris-meta-id {
  font-family: var(--ff-mono);
  font-weight: 600;
  color: var(--ink);
}
.qris-pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: var(--emerald);
  background: #ECFDF5;
  padding: 3px 8px;
  border-radius: 12px;
}
.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  animation: pulseAnim 1.4s infinite;
}
@keyframes pulseAnim {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

/* ======== ENHANCED LARGE & CRISP QRIS DISPLAY ======== */
.qris-presentation-box,
.qris-compact-box {
  text-align: center;
  margin: 0 auto;
  max-width: 360px;
}
.qris-meta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-xs);
  color: var(--ink-mute);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--rule);
}
.qris-meta-left {
  display: flex;
  align-items: center;
  gap: 6px;
}
.qris-meta-label {
  font-size: 11px;
  color: var(--ink-mute);
}
.qris-card-wrapper {
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.1), 0 0 0 1px rgba(15, 23, 42, 0.04);
  margin: 10px auto 14px auto;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}
.qris-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1.5px solid #f1f5f9;
  margin-bottom: 8px;
}
.qris-brand-logo {
  display: flex;
  align-items: baseline;
  gap: 6px;
  text-align: left;
}
.qris-logo-red {
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: #dc2626;
  line-height: 1;
}
.qris-logo-sub {
  font-size: 9px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.qris-official-tag {
  background: #fee2e2;
  color: #991b1b;
  font-size: 9px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.04em;
}
.qris-merchant-info {
  margin-bottom: 8px;
  text-align: center;
}
.qris-merchant-name {
  font-family: var(--ff-display);
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0.02em;
}
.qris-merchant-sub {
  font-size: 10px;
  color: #64748b;
  font-family: var(--ff-mono);
  margin-top: 2px;
}
.qris-img-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 2px solid #cbd5e1;
  border-radius: 14px;
  padding: 10px;
  margin: 6px 0 10px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.qris-img-container img {
  width: 260px;
  height: 260px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  image-rendering: pixelated;
  display: block;
  background: #ffffff;
}
.qris-scan-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  padding-top: 8px;
  border-top: 1px dashed #e2e8f0;
}
.qris-scan-badges span {
  font-size: 9px;
  font-weight: 700;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 2px 6px;
  border-radius: 4px;
}
.qris-amount-card {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.06), rgba(99, 102, 241, 0.12));
  border: 1.5px solid rgba(79, 70, 229, 0.25);
  border-radius: 14px;
  padding: 12px 14px;
  margin: 12px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
}
.qris-amount-details {
  flex: 1;
}
.qris-amount-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-soft);
}
.qris-amount-val {
  font-size: 22px;
  font-weight: 900;
  font-family: var(--ff-mono);
  color: var(--indigo-deep);
  letter-spacing: -0.02em;
  margin: 2px 0;
}
.qris-amount-warning,
.qris-amount-note {
  font-size: 10px;
  color: var(--rose);
  font-weight: 700;
}
.btn-copy-amount {
  background: var(--indigo);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  padding: 9px 14px;
  border-radius: 10px;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  transition: all 180ms var(--ease);
  box-shadow: 0 2px 6px rgba(79, 70, 229, 0.3);
  flex-shrink: 0;
}
.btn-copy-amount:hover {
  background: var(--indigo-deep);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
}
.qris-mobile-tip {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 3px solid var(--indigo);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 11px;
  color: var(--ink-soft);
  text-align: left;
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 12px;
}
.qris-tip-icon {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}
.qris-actions-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}
.btn-qris-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 12px 16px;
  background: linear-gradient(135deg, var(--indigo), #6366f1);
  color: #ffffff;
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 13px;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.25);
  transition: all 180ms var(--ease);
  box-sizing: border-box;
}
.btn-qris-download:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 6px 18px rgba(79, 70, 229, 0.35);
  color: #ffffff;
}
.btn-qris-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 9px 14px;
  background: var(--bg);
  color: var(--ink-soft);
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 12px;
  border-radius: 10px;
  border: 1px solid var(--rule);
  cursor: pointer;
  transition: all 180ms;
}
.btn-qris-back:hover {
  background: var(--bg-deep);
  color: var(--ink);
}
.qris-timer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--rule);
  font-size: 11px;
  color: var(--ink-mute);
}
.qris-timer-item {
  display: flex;
  align-items: center;
  gap: 4px;
}
.qris-timer-val {
  font-family: var(--ff-mono);
  font-weight: 800;
  color: var(--amber);
  font-size: 13px;
}
.qris-status-live {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--emerald);
  font-weight: 700;
}

/* Post-Payment Process Stepper */
.post-pay-container {
  padding: 16px 0;
}
.stepper-row {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 24px;
  padding: 0 10px;
}
.stepper-row::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 30px;
  right: 30px;
  height: 2px;
  background: var(--rule);
  z-index: 1;
}
.stepper-step {
  position: relative;
  z-index: 2;
  text-align: center;
  flex: 1;
}
.step-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-faint);
  margin: 0 auto 6px auto;
}
.stepper-step.done .step-circle {
  background: var(--emerald);
  border-color: var(--emerald);
  color: #fff;
}
.stepper-step.active .step-circle {
  background: var(--indigo);
  border-color: var(--indigo);
  color: #fff;
  box-shadow: 0 0 0 4px var(--indigo-soft);
}
.step-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-mute);
}
.stepper-step.done .step-label {
  color: var(--ink);
  font-weight: 700;
}

/* Credentials Box for Generated Accounts */
.credentials-box {
  background: var(--bg);
  border: 1px solid var(--indigo-line);
  border-radius: var(--r);
  padding: 16px;
  margin-bottom: 18px;
  text-align: left;
}
.cred-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--rule);
}
.cred-item:last-child {
  border-bottom: none;
}
.cred-label {
  font-size: 12px;
  color: var(--ink-mute);
  font-weight: 600;
}
.cred-val {
  font-family: var(--ff-mono);
  font-weight: 700;
  color: var(--ink);
  font-size: var(--text-sm);
}
.cred-copy-btn {
  background: transparent;
  color: var(--indigo);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border: 1px solid var(--indigo-line);
  border-radius: var(--r-sm);
  cursor: pointer;
  margin-left: 8px;
}
.cred-copy-btn:hover {
  background: var(--indigo-soft);
}

/* Cart Modal Items */
.cart-items-list {
  max-height: 280px;
  overflow-y: auto;
  margin-bottom: 16px;
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  background: var(--paper);
}
.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid var(--rule);
}
.cart-item:last-child { border-bottom: none; }
.cart-item-title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--ink);
}
.cart-item-price {
  font-size: 13px;
  font-weight: 700;
  font-family: var(--ff-mono);
  color: var(--indigo);
}
.cart-remove-btn {
  background: transparent;
  color: var(--rose);
  font-size: 16px;
  padding: 4px 8px;
  border-radius: var(--r-sm);
  cursor: pointer;
  border: none;
}
.cart-remove-btn:hover {
  background: #FFF1F2;
}
.cart-summary-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  padding: 12px 16px;
  margin-bottom: 16px;
}
.cart-summary-total {
  font-size: var(--text-lg);
  font-weight: 800;
  font-family: var(--ff-mono);
  color: var(--indigo-deep);
}

/* Profile Modal Details */
.profile-card-view {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  padding: 18px;
  text-align: center;
  margin-bottom: 16px;
}
.profile-avatar-lg {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo), var(--card-purple));
  color: #fff;
  font-weight: 800;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px auto;
  box-shadow: var(--shadow-sm);
}
.profile-name-lg {
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--ink);
}
.profile-email-sub {
  font-size: var(--text-xs);
  color: var(--ink-mute);
  margin-bottom: 14px;
}
.profile-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  text-align: center;
}
.profile-stat-box {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  padding: 8px;
}
.profile-stat-num {
  font-size: 13px;
  font-weight: 800;
  font-family: var(--ff-mono);
  color: var(--indigo);
}
.profile-stat-lbl {
  font-size: 10px;
  color: var(--ink-mute);
  font-weight: 600;
  text-transform: uppercase;
}

/* ======== CUSTOM NOTICE / POPUP DIALOG (Replaces Ugly Native Alert) ======== */
.notice-window {
  max-width: 440px;
  text-align: center;
  padding: 30px 24px;
  background: var(--paper);
  border-radius: 24px;
  border: 1px solid var(--rule);
  box-shadow: 0 25px 60px -12px rgba(15, 23, 42, 0.35);
  animation: noticePopIn 260ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  position: relative;
}
@keyframes noticePopIn {
  from { transform: scale(0.9) translateY(16px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.notice-icon-box {
  width: 66px;
  height: 66px;
  border-radius: 22px;
  background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%);
  border: 2px solid #C7D2FE;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
  box-shadow: 0 10px 24px rgba(79, 70, 229, 0.18);
}
.notice-icon-box.icon-warn {
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  border-color: #FDE68A;
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.2);
}
.notice-icon-box.icon-success {
  background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
  border-color: #A7F3D0;
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.2);
}
.notice-emoji {
  font-size: 32px;
  line-height: 1;
}
.notice-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.notice-desc {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 22px;
}
.notice-actions {
  display: flex;
  gap: 10px;
}
.btn--paper-notice {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--rule-strong);
  color: var(--ink-soft);
  padding: 12px 14px;
  border-radius: var(--r-sm);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: all 160ms var(--ease);
}
.btn--paper-notice:hover {
  background: var(--bg-soft);
  color: var(--ink);
}
.btn--indigo-notice {
  flex: 1.5;
  background: var(--indigo);
  color: #fff;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  border: none;
  box-shadow: var(--shadow-indigo);
  transition: all 160ms var(--ease);
}
.btn--indigo-notice:hover {
  background: var(--indigo-deep);
  transform: translateY(-1px);
}

/* ======== WEBSITE MEMBER AUTH MODAL (Daftar & Masuk Akun Web) ======== */
.auth-segmented-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  background: var(--bg-soft);
  padding: 4px;
  border-radius: var(--r-sm);
  margin-bottom: 18px;
}
.auth-tab-btn {
  padding: 9px 12px;
  font-size: var(--text-sm);
  font-weight: 700;
  border-radius: var(--r-sm);
  border: none;
  cursor: pointer;
  background: transparent;
  color: var(--ink-mute);
  transition: all 160ms var(--ease);
  text-align: center;
}
.auth-tab-btn.active {
  background: var(--paper);
  color: var(--indigo);
  box-shadow: var(--shadow-sm);
}
.auth-switch-text {
  font-size: 12px;
  color: var(--ink-mute);
  text-align: center;
  margin-top: 14px;
}
.auth-switch-link {
  color: var(--indigo);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}
.auth-switch-link:hover {
  color: var(--indigo-deep);
}

/* Member Logged-In Details */
.member-vip-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #ECFDF5;
  color: var(--emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.carx-saved-box {
  background: #F8FAFC;
  border: 1px dashed var(--indigo-line);
  border-radius: var(--r-sm);
  padding: 14px;
  margin: 16px 0;
  text-align: left;
}
.carx-saved-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--indigo-deep);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}
.carx-saved-desc {
  font-size: 11px;
  color: var(--ink-mute);
  line-height: 1.4;
  margin-bottom: 12px;
}

/* ======== CHECKOUT CARX TARGET ACCOUNT BOX ======== */
.checkout-carx-account-box {
  background: #F8FAFC;
  border: 1px solid var(--indigo-line);
  border-radius: var(--r-sm);
  padding: 14px;
  margin-bottom: 14px;
}
.carx-box-badge {
  display: inline-block;
  background: var(--indigo);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.carx-box-sub {
  font-size: 11.5px;
  color: var(--ink-soft);
  line-height: 1.45;
  margin-bottom: 12px;
}

/* ======== ORDER HISTORY & TRACKING STYLES ======== */
.orders-history-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.order-history-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: 18px;
  box-shadow: 0 1px 3px rgba(15,23,42,0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.order-history-card:hover {
  border-color: var(--indigo-line);
  box-shadow: 0 4px 14px rgba(79,70,229,0.08);
}

.order-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule-faint);
}

.order-card-id {
  font-family: var(--ff-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-deep);
}

.order-card-date {
  font-size: 11px;
  color: var(--ink-mute);
  margin-left: 6px;
}

.order-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--ff-mono);
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  letter-spacing: 0.03em;
}

.order-badge--success {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.order-badge--processing {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
  animation: pulse-border 1.5s infinite;
}

.order-badge--paid {
  background: #eef2ff;
  color: #4f46e5;
  border: 1px solid #c7d2fe;
}

.order-badge--pending {
  background: #fffbeb;
  color: #d97706;
  border: 1px solid #fde68a;
}

.order-badge--failed {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.order-card-body {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
}

.order-card-product {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.order-card-price {
  font-family: var(--ff-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--indigo);
}

.empty-orders-card {
  text-align: center;
  padding: 36px 16px;
  background: var(--bg);
  border: 1px dashed var(--rule-strong);
  border-radius: var(--r-md);
}

@keyframes pulse-border {
  0% { box-shadow: none; }
  100% { box-shadow: none; }
}

/* ==============================================================
   HILANGKAN SEMUA EFEK GLOW PADA SELURUH TOMBOL WEBSITE
   Tampilan tombol bersih, solid, elegan tanpa pendaran/neon
   ============================================================== */
button,
.btn,
.btn--indigo,
.btn--paper,
.btn-car-buy,
.btn-special-buy,
.btn-bundle,
.btn-redeem-action,
.product-btn,
.buy-btn,
.header-pill,
.header-pill--wa,
.header-pill--voucher,
.btn-qris-download,
.btn-whatsapp-order,
.btn-copy-amount,
.floating-wa-btn {
  box-shadow: none !important;
  text-shadow: none !important;
  filter: none !important;
}

button:hover,
.btn:hover,
.btn--indigo:hover,
.btn--paper:hover,
.btn-car-buy:hover,
.btn-special-buy:hover,
.btn-bundle:hover,
.btn-redeem-action:hover,
.product-btn:hover,
.buy-btn:hover,
.header-pill:hover,
.header-pill--wa:hover,
.header-pill--voucher:hover,
.btn-qris-download:hover,
.btn-whatsapp-order:hover,
.btn-copy-amount:hover,
.floating-wa-btn:hover {
  box-shadow: none !important;
  text-shadow: none !important;
  filter: none !important;
}

/* Badge Status Kadaluarsa (Expired) */
.order-badge--expired {
  background: #fee2e2 !important;
  color: #b91c1c !important;
  border: 1px solid #fca5a5 !important;
  font-weight: 700 !important;
}

/* Kartu Kredensial Akun Hasil Redeem (Cek Ulang Password) */
.redeem-cred-card {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(99, 102, 241, 0.04) 100%);
  border: 1px solid #86efac;
  border-radius: 12px;
  padding: 16px;
  margin-top: 14px;
}
.redeem-cred-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 6px;
}
.redeem-cred-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  margin-bottom: 10px;
}
.redeem-cred-item {
  background: var(--paper, #ffffff);
  border: 1px solid var(--rule, #e2e8f0);
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.redeem-cred-val {
  font-family: var(--ff-mono, monospace);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--ink-deep, #0f172a);
  word-break: break-all;
}
