/* ==========================================================================
   STUDIO PONSEL OFFICIAL STORE - AUTHENTIC WHITE LUXURY DESIGN SYSTEM
   Official Store Aesthetic • Ultra Crisp, Modern, Lightweight
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  /* Surface & Canvas Colors - Clean Authentic White Theme */
  --bg-canvas: #F5F7FA;
  --bg-primary: #F8F9FA;
  --bg-secondary: #FFFFFF;
  --bg-surface: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FFFFFF;
  --bg-subtle: #F1F4F9;
  --bg-input: #FFFFFF;
  --bg-glass: rgba(255, 255, 255, 0.96);

  /* Borders */
  --border-subtle: #E2E8F0;
  --border-light: #EDF2F7;
  --border-hover: #CBD5E1;
  --border-highlight: #03AC0E;

  /* Typography */
  --text-main: #1E293B;
  --text-heading: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --text-dim: #94A3B8;

  /* Official Brand Colors */
  --tokopedia-green: #03AC0E;
  --tokopedia-green-hover: #028A0B;
  --tokopedia-green-light: #E8F8EE;
  --tokopedia-green-border: rgba(3, 172, 14, 0.25);
  --tokopedia-green-glow: rgba(3, 172, 14, 0.2);

  /* Promo & Brand Accents */
  --accent-red: #FA591D;
  --accent-red-hover: #E0440C;
  --accent-red-light: #FFF2ED;
  --accent-red-glow: rgba(250, 89, 29, 0.18);

  --mall-purple: #6E2F9C;
  --mall-purple-light: #F5EEFA;

  --star-gold: #FFC400;

  /* Typography Fonts */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Radii */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 6px 16px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.08);
  --shadow-modal: 0 20px 60px rgba(15, 23, 42, 0.18);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-canvas);
  color: var(--text-main);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Real Vector SVG Icons Standard */
.svg-icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.btn-hero-primary svg,
.btn-hero-secondary svg {
  width: 16px !important;
  height: 16px !important;
}

.card-badge-tag svg {
  width: 12px !important;
  height: 12px !important;
}

.meta-loc svg {
  width: 13px !important;
  height: 13px !important;
}

.section-title-wrap h2 .svg-icon {
  width: 22px !important;
  height: 22px !important;
}

.faq-question .svg-icon:not(.faq-chevron) {
  width: 18px !important;
  height: 18px !important;
}

/* ==========================================================================
   TOP NOTIFICATION BAR
   ========================================================================== */
.top-bar {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-subtle);
  padding: 8px 24px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.top-bar-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.top-bar-marquee {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  white-space: nowrap;
}

.top-bar-pill {
  background: var(--accent-red-light);
  color: var(--accent-red);
  font-weight: 800;
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(250, 89, 29, 0.2);
}

.top-bar-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.top-bar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.78rem;
  transition: color var(--transition-fast);
}

.top-bar-link:hover {
  color: var(--tokopedia-green);
}

/* ==========================================================================
   MAIN HEADER
   ========================================================================== */
.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  padding: 12px 24px;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Brand Section */
.brand-section {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
}

.brand-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text-heading);
  line-height: 1.1;
}

.brand-title span {
  color: var(--tokopedia-green);
}

.brand-badges {
  display: flex;
  align-items: center;
  gap: 6px;
}

.badge-mall {
  background: var(--mall-purple);
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 1.5px 6px;
  border-radius: var(--radius-xs);
  display: inline-flex;
  align-items: center;
  gap: 3px;
  letter-spacing: 0.02em;
}

.badge-official {
  background: var(--tokopedia-green-light);
  color: var(--tokopedia-green);
  border: 1px solid var(--tokopedia-green-border);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 1.5px 6px;
  border-radius: var(--radius-xs);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Search Box with Auto Suggestions */
.search-wrapper {
  position: relative;
  flex: 1;
  max-width: 680px;
}

.search-box {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 3px 4px 3px 14px;
  transition: all var(--transition-fast);
}

.search-box:focus-within {
  border-color: var(--tokopedia-green);
  box-shadow: 0 0 0 3px rgba(3, 172, 14, 0.12);
}

.search-icon {
  color: var(--text-dim);
  display: flex;
  align-items: center;
  margin-right: 10px;
  width: 18px;
  height: 18px;
}

.search-icon svg {
  width: 18px;
  height: 18px;
}

.search-input {
  flex: 1;
  background: transparent;
  color: var(--text-heading);
  font-size: 0.9rem;
  font-weight: 500;
}

.search-input::placeholder {
  color: var(--text-dim);
  font-weight: 400;
}

.search-btn {
  background: var(--tokopedia-green);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.search-btn:hover {
  background: var(--tokopedia-green-hover);
}

/* Search Dropdown Suggestions */
.search-suggestions-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  max-height: 380px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
}

.search-suggestions-dropdown.active {
  display: block;
}

.suggestion-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-light);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.suggestion-item:last-child {
  border-bottom: none;
}

.suggestion-item:hover {
  background: var(--bg-subtle);
}

.suggestion-thumb {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-xs);
  object-fit: contain;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
}

.suggestion-info {
  flex: 1;
  min-width: 0;
}

.suggestion-name {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-heading);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.suggestion-price {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--tokopedia-green);
}

/* Header Action Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-tokopedia-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--tokopedia-green-light);
  border: 1.5px solid var(--tokopedia-green-border);
  color: var(--tokopedia-green);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.btn-tokopedia-badge:hover {
  background: #03AC0E;
  color: #FFFFFF;
  border-color: #03AC0E;
}

.btn-tokopedia-badge:hover svg {
  color: #FFFFFF !important;
}

.btn-icon-action {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.btn-icon-action:hover {
  background: var(--bg-subtle);
  border-color: var(--border-hover);
  color: var(--tokopedia-green);
}

.btn-icon-action svg {
  width: 20px;
  height: 20px;
}

.badge-counter {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--accent-red);
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid #FFFFFF;
}

.btn-direct-chat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #25D366;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  box-shadow: 0 3px 10px rgba(37, 211, 102, 0.25);
}

.btn-direct-chat:hover {
  background: #20bd5a;
  box-shadow: 0 5px 14px rgba(37, 211, 102, 0.35);
  transform: translateY(-1px);
}

.icon-wa {
  width: 17px;
  height: 17px;
}

/* ==========================================================================
   HERO BANNER CAROUSEL
   ========================================================================== */
.hero-section {
  max-width: 1400px;
  margin: 20px auto 0 auto;
  padding: 0 24px;
}

.carousel-container {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-subtle);
  background: #FFFFFF;
}

.carousel-slides {
  position: relative;
  width: 100%;
  height: 380px;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.carousel-slide.active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

.carousel-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.carousel-overlay-cta {
  position: absolute;
  bottom: 28px;
  left: 36px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
}

.btn-hero-primary {
  background: var(--tokopedia-green);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 11px 22px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 14px rgba(3, 172, 14, 0.35);
}

.btn-hero-primary:hover {
  background: var(--tokopedia-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(3, 172, 14, 0.45);
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-heading);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 11px 20px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(8px);
  transition: all var(--transition-fast);
}

.btn-hero-secondary:hover {
  background: #FFFFFF;
  border-color: var(--tokopedia-green);
  color: var(--tokopedia-green);
  transform: translateY(-2px);
}

.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-heading);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow-md);
  z-index: 20;
  backdrop-filter: blur(6px);
  transition: all var(--transition-fast);
}

.carousel-nav-btn:hover {
  background: #FFFFFF;
  color: var(--tokopedia-green);
  transform: translateY(-50%) scale(1.06);
}

.carousel-nav-btn.prev { left: 16px; }
.carousel-nav-btn.next { right: 16px; }

.carousel-nav-btn svg {
  width: 20px;
  height: 20px;
}

.carousel-dots {
  position: absolute;
  bottom: 14px;
  right: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 20;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.carousel-dot.active {
  width: 24px;
  background: var(--tokopedia-green);
  border-color: var(--tokopedia-green);
}

/* ==========================================================================
   STORE TRUST / GUARANTEE HIGHLIGHTS
   ========================================================================== */
.trust-section {
  max-width: 1400px;
  margin: 20px auto 0 auto;
  padding: 0 24px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.trust-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast);
}

.trust-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: var(--border-hover);
}

.trust-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-icon-box.icon-red {
  background: #FFF0F2;
  color: #FF2438;
}

.trust-icon-box.icon-green {
  background: var(--tokopedia-green-light);
  color: var(--tokopedia-green);
}

.trust-icon-box.icon-blue {
  background: #EFF6FF;
  color: #2563EB;
}

.trust-icon-box.icon-purple {
  background: var(--mall-purple-light);
  color: var(--mall-purple);
}

.trust-icon-box svg {
  width: 22px;
  height: 22px;
}

.trust-content h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.25;
}

.trust-content p {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.35;
  margin-top: 2px;
}

/* ==========================================================================
   VOUCHER PROMO TICKETS (Road to 9.9)
   ========================================================================== */
.vouchers-section {
  max-width: 1400px;
  margin: 24px auto 0 auto;
  padding: 0 24px;
}

.section-header {
  margin-bottom: 14px;
}

.section-title-wrap h2 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-heading);
  display: flex;
  align-items: center;
}

.section-title-wrap p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.vouchers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.voucher-ticket {
  background: #FFFFFF;
  border: 1.5px dashed #CBD5E1;
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: relative;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast);
}

.voucher-ticket:hover {
  border-color: var(--tokopedia-green);
  box-shadow: var(--shadow-sm);
}

.voucher-badge {
  background: var(--accent-red-light);
  color: var(--accent-red);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-xs);
  display: inline-block;
  margin-bottom: 4px;
}

.voucher-title {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text-heading);
  line-height: 1.25;
}

.voucher-desc {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.35;
  margin-top: 2px;
}

.btn-claim-voucher {
  background: var(--tokopedia-green);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.btn-claim-voucher:hover {
  background: var(--tokopedia-green-hover);
}

.btn-claim-voucher.claimed {
  background: #E2E8F0;
  color: var(--text-muted);
  cursor: default;
}

/* ==========================================================================
   FLASH SALE COUNTDOWN SECTION
   ========================================================================== */
.flash-sale-section {
  max-width: 1400px;
  margin: 20px auto 0 auto;
  padding: 0 24px;
}

.flash-sale-banner {
  background: linear-gradient(135deg, #FFF5F2 0%, #FFFFFF 100%);
  border: 1.5px solid rgba(250, 89, 29, 0.25);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: var(--shadow-xs);
}

.flash-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.flash-badge-anim {
  background: var(--accent-red);
  color: #FFFFFF;
  font-weight: 900;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  animation: pulseBadge 2s infinite ease-in-out;
}

@keyframes pulseBadge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

.flash-info-text h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-heading);
}

.flash-info-text p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.countdown-timer {
  display: flex;
  align-items: center;
  gap: 6px;
}

.timer-block {
  background: var(--text-heading);
  color: #FFFFFF;
  border-radius: var(--radius-xs);
  padding: 4px 8px;
  text-align: center;
  min-width: 44px;
}

.timer-number {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
}

.timer-label {
  font-size: 0.6rem;
  color: #CBD5E1;
  text-transform: uppercase;
  margin-top: 1px;
}

.timer-separator {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--text-heading);
}

/* ==========================================================================
   PRODUCT CATALOG & FILTERS
   ========================================================================== */
.catalog-section {
  max-width: 1400px;
  margin: 28px auto 0 auto;
  padding: 0 24px;
}

/* Catalog Header Bar */
.catalog-header-bar {
  margin-bottom: 20px;
}

.catalog-header-title-box {
  margin-bottom: 16px;
}

.catalog-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--tokopedia-green-light);
  color: var(--tokopedia-green);
  border: 1px solid var(--tokopedia-green-border);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}

.catalog-header-title-box h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-heading);
  letter-spacing: -0.01em;
}

.catalog-header-title-box p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Category Pills Horizontal Scroll Bar */
.category-pills-wrapper {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  box-shadow: var(--shadow-xs);
}

.category-pills-scroll {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: thin;
  padding: 2px 0;
}

.category-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.category-chip:hover {
  border-color: var(--tokopedia-green);
  color: var(--tokopedia-green);
  background: var(--tokopedia-green-light);
}

.category-chip.active {
  background: var(--tokopedia-green);
  color: #FFFFFF;
  border-color: var(--tokopedia-green);
  box-shadow: 0 3px 10px rgba(3, 172, 14, 0.28);
}

.category-chip.active .chip-icon svg {
  color: #FFFFFF !important;
  stroke: #FFFFFF !important;
}

.category-chip.active .chip-count {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

.chip-icon {
  display: flex;
  align-items: center;
}

.chip-icon svg {
  width: 16px;
  height: 16px;
}

.chip-count {
  background: var(--bg-subtle);
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: var(--radius-full);
}

/* Catalog 2-Column Layout */
.catalog-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: flex-start;
  margin-top: 20px;
}

/* Sidebar Filters */
.catalog-sidebar {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-xs);
  position: sticky;
  top: 86px;
}

.sidebar-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 14px;
}

.sidebar-title span {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text-heading);
}

.sidebar-mobile-chevron {
  display: none;
}

.btn-reset-filter {
  background: transparent;
  color: var(--tokopedia-green);
  font-weight: 700;
  font-size: 0.78rem;
  transition: color var(--transition-fast);
}

.btn-reset-filter:hover {
  text-decoration: underline;
}

.filter-group {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
}

.filter-group:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.filter-group-title {
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--text-heading);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.filter-options-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 220px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.filter-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  cursor: pointer;
}

.filter-checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--tokopedia-green);
  cursor: pointer;
}

.filter-checkbox-label:hover {
  color: var(--tokopedia-green);
}

.price-inputs-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-input-box {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  font-size: 0.82rem;
  color: var(--text-heading);
  transition: border-color var(--transition-fast);
}

.price-input-box:focus {
  border-color: var(--tokopedia-green);
}

.btn-apply-price {
  width: 100%;
  background: var(--tokopedia-green-light);
  border: 1px solid var(--tokopedia-green-border);
  color: var(--tokopedia-green);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 7px;
  border-radius: var(--radius-sm);
  margin-top: 8px;
  transition: all var(--transition-fast);
}

.btn-apply-price:hover {
  background: var(--tokopedia-green);
  color: #FFFFFF;
}

/* Catalog Main Content Area */
.catalog-content {
  min-width: 0;
}

.catalog-toolbar {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-xs);
}

.result-count {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.result-count strong {
  color: var(--text-heading);
}

.sort-select-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sort-select-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

.sort-select {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-heading);
  cursor: pointer;
  transition: border-color var(--transition-fast);
}

.sort-select:focus {
  border-color: var(--tokopedia-green);
}

/* ==========================================================================
   PRODUCT CARDS GRID
   ========================================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.product-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  cursor: pointer;
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--tokopedia-green);
}

.product-card-top {
  position: relative;
  width: 100%;
  padding-top: 100%; /* 1:1 Aspect Ratio */
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}

.product-thumb-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  transition: transform 0.3s ease;
}

.product-card:hover .product-thumb-img {
  transform: scale(1.04);
}

.card-badges-wrapper {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 5;
}

.badge-official-crest {
  background: var(--tokopedia-green-light);
  color: var(--tokopedia-green);
  border: 1px solid var(--tokopedia-green-border);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.badge-official-crest svg {
  width: 12px;
  height: 12px;
}

.badge-mall-crest {
  background: var(--mall-purple);
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.badge-mall-crest svg {
  width: 12px;
  height: 12px;
}

.card-badge-tag {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.badge-tag-red {
  background: var(--accent-red-light);
  color: var(--accent-red);
  border: 1px solid rgba(250, 89, 29, 0.2);
}

.btn-wishlist-card {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  color: var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  z-index: 5;
  transition: all var(--transition-fast);
}

.btn-wishlist-card:hover {
  color: var(--accent-red);
  transform: scale(1.1);
}

.btn-wishlist-card.active {
  color: #FF2438;
}

.btn-wishlist-card svg {
  width: 16px;
  height: 16px;
}

.product-card-body {
  padding: 12px 14px 14px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-brand {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.icon-bebas-ongkir {
  height: 16px;
  width: auto;
}

.product-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-heading);
  line-height: 1.35;
  margin: 4px 0 8px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.7em;
}

.product-price-row {
  margin-bottom: 6px;
}

.product-price-current {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.01em;
}

.product-price-discount-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.product-price-original {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-decoration: line-through;
}

.product-discount-pill {
  background: var(--accent-red-light);
  color: var(--accent-red);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: var(--radius-xs);
}

.product-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.meta-rating {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--text-heading);
  font-weight: 700;
}

.meta-rating svg {
  width: 13px;
  height: 13px;
  color: var(--star-gold);
}

.meta-sold {
  color: var(--text-muted);
}

.product-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
}

.btn-card-cart {
  background: #FFFFFF;
  border: 1.5px solid var(--tokopedia-green);
  color: var(--tokopedia-green);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 7px 4px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all var(--transition-fast);
}

.btn-card-cart:hover {
  background: var(--tokopedia-green-light);
}

.btn-card-cart svg {
  width: 14px;
  height: 14px;
}

.btn-card-buy {
  background: var(--tokopedia-green);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 7px 4px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.btn-card-buy:hover {
  background: var(--tokopedia-green-hover);
}

.btn-card-direct-tp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-dim);
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px dashed var(--border-light);
  transition: color var(--transition-fast);
}

.btn-card-direct-tp:hover {
  color: var(--tokopedia-green);
}

.btn-card-direct-tp svg {
  width: 12px;
  height: 12px;
}

/* ==========================================================================
   PAGINATION CONTROLS
   ========================================================================== */
.pagination-wrapper {
  margin-top: 32px;
  padding: 16px 20px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.pagination-summary {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.pagination-summary strong {
  color: var(--text-heading);
}

.pagination-bar {
  display: flex;
  align-items: center;
  gap: 6px;
}

.page-btn {
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.page-btn:hover:not(:disabled) {
  border-color: var(--tokopedia-green);
  color: var(--tokopedia-green);
  background: var(--tokopedia-green-light);
}

.page-btn.active {
  background: var(--tokopedia-green);
  color: #FFFFFF;
  border-color: var(--tokopedia-green);
}

.page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.page-btn svg {
  width: 14px;
  height: 14px;
}

.page-ellipsis {
  color: var(--text-dim);
  padding: 0 4px;
  font-weight: 700;
}

/* ==========================================================================
   RECENTLY VIEWED SECTION
   ========================================================================== */
.recently-viewed-section {
  max-width: 1400px;
  margin: 36px auto 0 auto;
  padding: 0 24px;
}

.recently-viewed-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 8px 2px;
  scrollbar-width: thin;
}

.rv-card {
  flex: 0 0 160px;
  width: 160px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xs);
}

.rv-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: var(--tokopedia-green);
}

.rv-card img {
  width: 100%;
  height: 120px;
  object-fit: contain;
  margin-bottom: 8px;
  border-radius: 6px;
  background: var(--bg-surface);
}

.rv-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.rv-card-name {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 6px;
}

.rv-card-price {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent-red);
  margin-top: auto;
}

/* ==========================================================================
   CUSTOMER REVIEWS / TESTIMONIALS SECTION
   ========================================================================== */
.reviews-section {
  max-width: 1400px;
  margin: 40px auto 0 auto;
  padding: 0 24px;
}

.reviews-summary-bar {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 36px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-xs);
}

.reviews-score-block {
  text-align: center;
  flex-shrink: 0;
  padding-right: 24px;
  border-right: 1px solid var(--border-light);
}

.reviews-big-score {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--text-heading);
  line-height: 1;
}

.reviews-stars-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin: 6px 0 4px 0;
}

.reviews-stars-row svg {
  width: 18px;
  height: 18px;
  color: var(--star-gold);
}

.reviews-total-text {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.reviews-bars-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.review-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.review-bar {
  flex: 1;
  height: 8px;
  background: var(--bg-subtle);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.review-bar-fill {
  height: 100%;
  background: var(--tokopedia-green);
  border-radius: var(--radius-full);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.review-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
}

.review-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  color: #FFFFFF;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.review-user-info {
  flex: 1;
  min-width: 0;
}

.review-username {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-heading);
}

.review-date {
  font-size: 0.72rem;
  color: var(--text-dim);
}

.review-rating {
  display: flex;
  align-items: center;
  gap: 2px;
}

.review-rating svg {
  width: 13px;
  height: 13px;
  color: var(--star-gold);
}

.review-product-tag {
  background: var(--bg-subtle);
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-text {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 12px;
  flex: 1;
}

.review-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--tokopedia-green);
  font-weight: 700;
  font-size: 0.72rem;
  margin-top: auto;
}

/* ==========================================================================
   STORE STATISTICS COUNTER SECTION
   ========================================================================== */
.stats-section {
  max-width: 1400px;
  margin: 36px auto 0 auto;
  padding: 0 24px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-icon {
  margin-bottom: 8px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--text-heading);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 4px;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-section {
  max-width: 1400px;
  margin: 40px auto 0 auto;
  padding: 0 24px;
}

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.faq-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.faq-card:hover {
  border-color: var(--border-hover);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-heading);
}

.faq-chevron {
  width: 18px;
  height: 18px;
  color: var(--text-dim);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-card.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 20px 16px 20px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  border-top: 1px solid var(--border-light);
  margin-top: 4px;
  padding-top: 12px;
}

.faq-card.open .faq-answer {
  display: block;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.store-footer {
  background: #FFFFFF;
  border-top: 1px solid var(--border-subtle);
  margin-top: 60px;
  padding: 48px 24px 24px 24px;
  color: var(--text-secondary);
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 36px;
}

.footer-brand h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--text-heading);
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 8px 0 14px 0;
  color: var(--text-muted);
}

.footer-title {
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--text-heading);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list a {
  font-size: 0.84rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-links-list a:hover {
  color: var(--tokopedia-green);
}

.footer-bottom {
  max-width: 1400px;
  margin: 36px auto 0 auto;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ==========================================================================
   PRODUCT DETAIL MODAL (PDP)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.active {
  display: flex;
}

.modal-pdp-container {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  max-width: 1000px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-modal);
  position: relative;
  border: 1px solid var(--border-subtle);
  padding: 32px;
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  z-index: 10;
}

.modal-close-btn:hover {
  background: #E2E8F0;
  color: var(--text-heading);
}

.pdp-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 36px;
}

.pdp-main-image-wrap {
  width: 100%;
  padding-top: 100%;
  position: relative;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.pdp-main-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
  transition: transform 0.3s ease;
}

.pdp-main-image-wrap:hover .pdp-main-image {
  transform: scale(1.08);
}

.pdp-thumb-list {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
}

.pdp-thumb-item {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-subtle);
  padding: 4px;
  background: #FFFFFF;
  cursor: pointer;
  transition: border-color var(--transition-fast);
}

.pdp-thumb-item.active {
  border-color: var(--tokopedia-green);
}

.pdp-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pdp-badges-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.pdp-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.3;
  margin: 4px 0 10px 0;
}

.pdp-rating-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.pdp-price-box {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 18px;
}

.pdp-price-current {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--tokopedia-green);
}

.pdp-price-slashed {
  font-size: 0.95rem;
  color: var(--text-dim);
  text-decoration: line-through;
  margin-left: 10px;
}

.pdp-cicilan-note {
  font-size: 0.8rem;
  font-weight: 600;
  color: #15803D;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

.pdp-section-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-heading);
  margin: 14px 0 8px 0;
}

.pdp-color-swatches, .pdp-storage-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.color-swatch-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.color-swatch-btn.active {
  border-color: var(--tokopedia-green);
  color: var(--tokopedia-green);
  background: var(--tokopedia-green-light);
}

.swatch-circle {
  width: 14px;
  height: 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.storage-pill-btn {
  background: #FFFFFF;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 7px 14px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.storage-pill-btn.active {
  background: var(--tokopedia-green);
  color: #FFFFFF;
  border-color: var(--tokopedia-green);
}

.pdp-warranty-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.warranty-option-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.warranty-option-card.active {
  border-color: var(--tokopedia-green);
  background: var(--tokopedia-green-light);
}

.warranty-name {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-heading);
}

.warranty-delta {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--tokopedia-green);
}

.pdp-action-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.qty-counter {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #FFFFFF;
}

.qty-btn {
  width: 34px;
  height: 38px;
  background: var(--bg-subtle);
  color: var(--text-heading);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover {
  background: #E2E8F0;
}

.qty-input {
  width: 44px;
  text-align: center;
  font-weight: 700;
  color: var(--text-heading);
  font-size: 0.9rem;
}

.btn-pdp-cart {
  background: #FFFFFF;
  border: 2px solid var(--tokopedia-green);
  color: var(--tokopedia-green);
  font-weight: 800;
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  transition: all var(--transition-fast);
}

.btn-pdp-cart:hover {
  background: var(--tokopedia-green-light);
}

.btn-pdp-buy {
  flex: 1;
  background: var(--tokopedia-green);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 14px rgba(3, 172, 14, 0.3);
}

.btn-pdp-buy:hover {
  background: var(--tokopedia-green-hover);
  transform: translateY(-1px);
}

.pdp-tabs {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
}

.pdp-tabs-nav {
  margin-bottom: 12px;
}

.pdp-tab-btn {
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--text-heading);
  background: transparent;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--tokopedia-green);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.specs-table td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--border-light);
}

.specs-table tr:nth-child(even) {
  background: var(--bg-subtle);
}

.specs-table td:first-child {
  font-weight: 700;
  color: var(--text-secondary);
  width: 35%;
}

.specs-table td:last-child {
  color: var(--text-heading);
}

/* ==========================================================================
   SHOPPING CART DRAWER
   ========================================================================== */
.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  z-index: 3000;
  display: none;
  justify-content: flex-end;
}

.cart-drawer-overlay.active {
  display: flex;
}

.cart-drawer {
  width: 440px;
  max-width: 100%;
  height: 100vh;
  background: #FFFFFF;
  box-shadow: var(--shadow-modal);
  display: flex;
  flex-direction: column;
  animation: slideDrawer 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDrawer {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.cart-header {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-heading);
  display: flex;
  align-items: center;
}

.btn-close-cart {
  background: var(--bg-subtle);
  color: var(--text-secondary);
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-close-cart:hover {
  background: #E2E8F0;
  color: var(--text-heading);
}

.cart-items-list {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-item-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  gap: 12px;
}

.cart-item-thumb {
  width: 70px;
  height: 70px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  flex-shrink: 0;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-variant {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin: 2px 0 4px 0;
}

.cart-item-price {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--tokopedia-green);
}

.cart-item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.cart-qty-ctrl {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  overflow: hidden;
}

.cart-qty-btn {
  width: 26px;
  height: 26px;
  background: var(--bg-subtle);
  font-weight: 700;
  color: var(--text-heading);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-qty-text {
  width: 30px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-heading);
}

.btn-delete-cart-item {
  background: transparent;
  color: var(--text-dim);
  padding: 4px;
}

.btn-delete-cart-item:hover {
  color: #FF2438;
}

.btn-delete-cart-item svg {
  width: 16px;
  height: 16px;
}

.cart-empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.cart-empty-icon svg {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
}

.cart-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border-subtle);
  background: #FFFFFF;
}

.cart-voucher-input-row {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.cart-voucher-field {
  flex: 1;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 0.82rem;
  color: var(--text-heading);
}

.btn-apply-voucher {
  background: var(--tokopedia-green-light);
  border: 1px solid var(--tokopedia-green-border);
  color: var(--tokopedia-green);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0 16px;
  border-radius: var(--radius-sm);
}

.btn-apply-voucher:hover {
  background: var(--tokopedia-green);
  color: #FFFFFF;
}

.cart-summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.cart-summary-line.total {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--border-subtle);
}

.cart-total-price {
  color: var(--tokopedia-green);
}

.btn-checkout-trigger {
  width: 100%;
  background: var(--tokopedia-green);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 13px;
  border-radius: var(--radius-md);
  margin-top: 14px;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 14px rgba(3, 172, 14, 0.3);
}

.btn-checkout-trigger:hover {
  background: var(--tokopedia-green-hover);
  transform: translateY(-1px);
}

/* ==========================================================================
   DIRECT CHECKOUT & PAYMENT MODAL
   ========================================================================== */
.checkout-modal-container {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  max-width: 680px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: var(--shadow-modal);
  position: relative;
  border: 1px solid var(--border-subtle);
  padding: 32px;
}

.checkout-steps-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 24px;
}

.step-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
}

.step-circle {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  color: var(--text-muted);
  font-weight: 800;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-indicator.active .step-circle {
  background: var(--tokopedia-green);
  color: #FFFFFF;
}

.step-indicator.active .step-label {
  color: var(--tokopedia-green);
  font-weight: 700;
}

.step-label {
  font-size: 0.82rem;
  font-weight: 600;
}

/* Forms */
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-heading);
}

.form-input, .form-select, .form-textarea {
  background: #FFFFFF;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  font-size: 0.85rem;
  color: var(--text-heading);
  transition: border-color var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--tokopedia-green);
}

.couriers-selection-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.courier-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.courier-card.active {
  border-color: var(--tokopedia-green);
  background: var(--tokopedia-green-light);
}

.payment-methods-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.payment-method-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.payment-method-card.active {
  border-color: var(--tokopedia-green);
  background: var(--tokopedia-green-light);
}

.payment-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.payment-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-heading);
  display: flex;
  align-items: center;
}

.payment-icon-pill {
  font-size: 0.68rem;
  font-weight: 800;
  background: #E8F8EE;
  color: var(--tokopedia-green);
  padding: 2px 7px;
  border-radius: var(--radius-xs);
}

.payment-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Payment Terminal (QRIS) Screen */
.payment-terminal-screen {
  text-align: center;
  padding: 10px 0;
}

.qris-box-wrapper {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  max-width: 280px;
  margin: 18px auto;
  box-shadow: var(--shadow-sm);
}

.qris-merchant-header {
  font-size: 0.8rem;
  font-weight: 900;
  color: var(--text-heading);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.qris-qr-container {
  width: 220px;
  height: 220px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 8px;
}

#qrisQrTarget {
  width: 220px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#qrisQrTarget img,
#qrisQrTarget canvas,
.qris-canvas {
  width: 220px !important;
  height: 220px !important;
  display: block;
  margin: 0 auto;
}

.qris-center-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 38px;
  height: 38px;
  background: #ED1C24;
  border: 3px solid #ffffff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 13px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  pointer-events: none;
  z-index: 5;
}

.qris-footer-logos {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-dim);
  margin-top: 10px;
}

.payment-timer-alert {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FEF3C7;
  color: #92400E;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.payment-timer-digits {
  font-family: var(--font-heading);
  font-weight: 900;
  color: #B45309;
}

.btn-simulate-pay {
  background: #FFC400;
  color: #78350F;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  box-shadow: 0 4px 14px rgba(255, 196, 0, 0.4);
  transition: all var(--transition-fast);
}

.btn-simulate-pay:hover {
  background: #FBBF24;
  transform: translateY(-2px);
}

.btn-print-invoice {
  background: #FFFFFF;
  border: 1.5px solid var(--border-subtle);
  color: var(--text-heading);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 11px 20px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.btn-print-invoice:hover {
  background: var(--bg-subtle);
  border-color: var(--border-hover);
}

/* ==========================================================================
   FLOATING ACTIONS & TOASTS
   ========================================================================== */
.floating-actions {
  position: fixed;
  bottom: 28px;
  right: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.floating-btn-wa {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  background: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.floating-btn-wa:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.floating-btn-top {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: #FFFFFF;
  border: 1.5px solid var(--border-subtle);
  color: var(--text-secondary);
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-fast);
}

.floating-btn-top:hover {
  border-color: var(--tokopedia-green);
  color: var(--tokopedia-green);
  transform: translateY(-2px);
}

.floating-btn-top.active {
  display: flex;
}

.toast-container {
  position: fixed;
  bottom: 30px;
  left: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
  pointer-events: none;
}

.toast-alert {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--tokopedia-green);
  box-shadow: var(--shadow-lg);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  color: var(--text-heading);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toastIn 0.3s ease;
  pointer-events: auto;
}

.toast-alert.error {
  border-left-color: #EF4444;
}

.toast-alert.info {
  border-left-color: #3B82F6;
}

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

/* ==========================================================================
   MOBILE BOTTOM NAVIGATION BAR
   ========================================================================== */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #FFFFFF;
  border-top: 1px solid var(--border-subtle);
  padding: 8px 12px;
  z-index: 1000;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.mobile-nav-item {
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 600;
  position: relative;
}

.mobile-nav-item.active {
  color: var(--tokopedia-green);
}

.mobile-nav-cart-btn {
  position: relative;
}

.mobile-nav-cart-circle {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: var(--tokopedia-green);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(3, 172, 14, 0.35);
  margin-top: -14px;
}

.mobile-cart-badge {
  position: absolute;
  top: -16px;
  right: -2px;
  background: var(--accent-red);
  color: #FFFFFF;
  font-size: 0.62rem;
  font-weight: 800;
  min-width: 16px;
  height: 16px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-container {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

@media (max-width: 1024px) {
  .catalog-layout {
    grid-template-columns: 1fr;
  }
  .catalog-sidebar {
    position: static;
    margin-bottom: 20px;
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .vouchers-grid {
    grid-template-columns: 1fr;
  }
  .pdp-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .sidebar-mobile-chevron {
    display: inline-block;
    transition: transform var(--transition-fast);
  }
  .catalog-sidebar {
    padding: 12px 16px;
    margin-bottom: 16px;
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
  }
  .catalog-sidebar .sidebar-title {
    cursor: pointer;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
    user-select: none;
  }
  .catalog-sidebar:not(.open) > *:not(.sidebar-title) {
    display: none !important;
  }
  .catalog-sidebar.open .sidebar-title {
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-light);
  }
  .catalog-sidebar.open .sidebar-mobile-chevron {
    transform: rotate(180deg);
  }
  .top-bar-links {
    display: none;
  }
  .header-actions .btn-tokopedia-badge {
    display: none;
  }
  .carousel-slides {
    height: 220px;
  }
  .carousel-overlay-cta {
    left: 16px;
    bottom: 16px;
  }
  .btn-hero-primary, .btn-hero-secondary {
    font-size: 0.78rem;
    padding: 8px 14px;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .reviews-summary-bar {
    flex-direction: column;
    gap: 16px;
  }
  .reviews-score-block {
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 16px;
    width: 100%;
  }
  .footer-container {
    grid-template-columns: 1fr;
  }
  .mobile-bottom-nav {
    display: flex;
  }
  body {
    padding-bottom: 64px;
  }
  .floating-actions {
    bottom: 74px;
  }
}

@media (max-width: 480px) {
  .brand-title {
    font-size: 1.05rem;
  }
  .search-wrapper {
    max-width: 100%;
  }
  .flash-sale-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .trust-grid {
    grid-template-columns: 1fr;
  }
  .invoice-actions-footer {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   INVOICE RECEIPT & TOAST NOTIFICATION STYLING
   ========================================================================== */
.invoice-receipt-wrapper {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.invoice-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border-subtle);
  margin-bottom: 20px;
}

.invoice-brand-block h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--text-heading);
}

.invoice-status-badge {
  background: var(--tokopedia-green-light);
  color: var(--tokopedia-green);
  border: 1.5px solid var(--tokopedia-green-border);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
}

.invoice-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  background: var(--bg-subtle);
  padding: 16px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

.invoice-meta-item label {
  display: block;
  font-size: 0.74rem;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 2px;
}

.invoice-meta-item span {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-heading);
}

.invoice-items-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin: 16px 0;
}

.invoice-items-table th {
  text-align: left;
  padding: 10px 12px;
  background: var(--bg-subtle);
  color: var(--text-secondary);
  font-weight: 700;
  border-bottom: 1px solid var(--border-subtle);
}

.invoice-items-table td {
  padding: 12px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-heading);
}

.invoice-actions-footer {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 12px;
  margin-top: 24px;
}

.btn-whatsapp-confirm {
  background: #25D366;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-confirm:hover {
  background: #20BD5A;
  transform: translateY(-1px);
}

.toast {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-left: 4px solid #3B82F6;
  box-shadow: var(--shadow-lg);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  color: var(--text-heading);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toastIn 0.3s ease;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast-success {
  border-left-color: var(--tokopedia-green);
}

/* ==========================================================================
   LIMITED STOCK URGENCY BADGES & PDP STOCK ALERT
   ========================================================================== */
.badge-tag-stock-urgent {
  background: #FEF2F2 !important;
  color: #DC2626 !important;
  border: 1px solid #FCA5A5 !important;
  font-weight: 800 !important;
  box-shadow: 0 1px 4px rgba(220, 38, 38, 0.15);
  animation: pulseStock 2.2s infinite ease-in-out;
}

@keyframes pulseStock {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.35);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0);
  }
}

.pdp-stock-alert-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #FFF1F2;
  border: 1px solid #FECDD3;
  border-left: 4px solid #E11D48;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-top: 10px;
  margin-bottom: 18px;
  font-size: 0.83rem;
  color: #9F1239;
  line-height: 1.5;
  box-shadow: 0 2px 8px rgba(225, 29, 72, 0.08);
}

/* ==========================================================================
   PROMOTIONAL AD BANNERS SECTION (IKLAN-IKLAN RESMI)
   ========================================================================== */
.promo-ads-section {
  max-width: 1320px;
  margin: 36px auto 16px;
  padding: 0 20px;
}

.promo-ads-header-badge {
  display: flex;
  align-items: center;
}

.promo-ads-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 18px;
}

.promo-ad-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  cursor: pointer;
  position: relative;
}

.promo-ad-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.09);
  border-color: var(--tokopedia-green);
}

.promo-ad-badge-urgent {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 5;
  background: linear-gradient(135deg, #DC2626, #B91C1C);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 5px 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 3px 10px rgba(220, 38, 38, 0.45);
}

.promo-ad-img-box {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111827;
  position: relative;
}

.promo-ad-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.promo-ad-card:hover .promo-ad-img {
  transform: scale(1.03);
}

.promo-ad-content {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.promo-ad-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--tokopedia-green);
  background: var(--tokopedia-green-light);
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.promo-ad-title {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 8px;
  font-family: 'Outfit', sans-serif;
  line-height: 1.35;
}

.promo-ad-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 18px;
  flex: 1;
}

.promo-ad-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.promo-ad-price .lbl {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 2px;
}

.promo-ad-price .val {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--tokopedia-green);
  font-family: 'Outfit', sans-serif;
}

.btn-ad-action {
  background: var(--tokopedia-green);
  color: #FFFFFF;
  border: none;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 6px rgba(3, 172, 14, 0.25);
}

.btn-ad-action:hover {
  background: var(--tokopedia-green-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(3, 172, 14, 0.35);
}

@media (max-width: 900px) {
  .promo-ads-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ==========================================================================
   INDONESIAN AUTHORITY BACKLINK NETWORK
   ========================================================================== */
.footer-authority-network {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border-light);
  width: 100%;
}

.authority-network-header {
  margin-bottom: 16px;
}

.authority-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--tokopedia-green-light);
  color: var(--tokopedia-green);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  margin-bottom: 8px;
  border: 1px solid var(--tokopedia-green-border);
}

.authority-network-header p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.authority-links-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.authority-link-item {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: all var(--transition-fast);
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.authority-link-item:hover {
  border-color: var(--tokopedia-green);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.authority-link-icon {
  width: 30px;
  height: 30px;
  background: var(--bg-subtle);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--tokopedia-green);
}

.authority-link-icon svg {
  width: 16px;
  height: 16px;
}

.authority-link-text {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.authority-link-text strong {
  font-size: 0.76rem;
  color: var(--text-heading);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.authority-link-text span {
  font-size: 0.68rem;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 1100px) {
  .authority-links-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .authority-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   GOOGLE MAPS STORE LOCATOR & HUB SECTION
   ========================================================================== */
.btn-maps-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFF5F5;
  border: 1.5px solid rgba(234, 67, 53, 0.25);
  color: #EA4335;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-maps-store-badge:hover {
  background: #EA4335;
  color: #FFFFFF;
  border-color: #EA4335;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(234, 67, 53, 0.25);
}

.btn-maps-store-badge:hover svg {
  color: #FFFFFF !important;
}

.store-location-section {
  max-width: 1400px;
  margin: 40px auto;
  padding: 0 24px;
}

.store-location-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  align-items: center;
}

.store-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: #E8F8EE;
  color: #03AC0E;
  font-weight: 700;
  font-size: 0.78rem;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #03AC0E;
  border-radius: 50%;
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(3, 172, 14, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(3, 172, 14, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(3, 172, 14, 0); }
}

.store-name {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 10px;
}

.store-address {
  display: flex;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.store-features-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.store-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-main);
  font-weight: 600;
}

.store-feature-item svg {
  width: 16px;
  height: 16px;
  color: #03AC0E;
  flex-shrink: 0;
}

.store-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-store-maps {
  display: inline-flex;
  align-items: center;
  background: #EA4335;
  color: #FFFFFF;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-store-maps:hover {
  background: #C5221F;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(234, 67, 53, 0.3);
}

.btn-store-wa {
  display: inline-flex;
  align-items: center;
  background: #25D366;
  color: #FFFFFF;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-store-wa:hover {
  background: #1EBE5B;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.store-location-map-frame {
  height: 340px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

@media (max-width: 900px) {
  .store-location-card {
    grid-template-columns: 1fr;
  }
  .store-location-map-frame {
    height: 260px;
  }
}

/* ==========================================================================
   GOOGLE MAPS SCRAPER & GEOCODING MODULE (CHECKOUT STEP 1)
   ========================================================================== */
.maps-scraper-container {
  background: #FAFBFD;
  border: 1.5px solid #E2E8F0;
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  margin-bottom: 20px;
  transition: border-color var(--transition-fast);
}

.maps-scraper-container:focus-within {
  border-color: #EA4335;
  background: #FFFFFF;
}

.maps-scraper-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.maps-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-heading);
  font-size: 0.95rem;
}

.maps-badge-verified {
  font-size: 0.7rem;
  font-weight: 800;
  background: #FFF5F5;
  color: #EA4335;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(234, 67, 53, 0.2);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.maps-scraper-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
}

.maps-search-bar {
  display: flex;
  gap: 8px;
  align-items: center;
}

.maps-query-input {
  flex: 1;
  padding: 10px 14px;
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-family: inherit;
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.maps-query-input:focus {
  outline: none;
  border-color: #EA4335;
  box-shadow: 0 0 0 3px rgba(234, 67, 53, 0.12);
}

.btn-scrape-action {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  background: #EA4335;
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.btn-scrape-action:hover {
  background: #C5221F;
}

.btn-gps-action {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  background: #FFFFFF;
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.btn-gps-action:hover {
  background: var(--bg-subtle);
  color: #EA4335;
  border-color: #EA4335;
}

.maps-preview-wrapper {
  margin-top: 14px;
  border-top: 1px dashed var(--border-medium);
  padding-top: 14px;
  animation: fadeIn 0.3s ease;
}

.maps-meta-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.map-coord-badge {
  font-size: 0.72rem;
  font-family: 'JetBrains Mono', Consolas, monospace;
  background: #EDF2F7;
  color: #2D3748;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.map-distance-badge {
  font-size: 0.72rem;
  font-weight: 700;
  background: #E8F8EE;
  color: #03AC0E;
  padding: 3px 8px;
  border-radius: 4px;
}

.map-ext-link {
  font-size: 0.72rem;
  font-weight: 700;
  color: #EA4335;
  text-decoration: none;
  margin-left: auto;
}

.map-ext-link:hover {
  text-decoration: underline;
}

.maps-iframe-container {
  height: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #EDF2F7;
}

.maps-embed-frame {
  width: 100%;
  height: 100%;
  border: 0;
}

.maps-scraped-summary {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-top: 8px;
  padding: 8px 12px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

@media (max-width: 600px) {
  .maps-search-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-scrape-action, .btn-gps-action {
    justify-content: center;
  }
}



