/* ===========================================
   BUZZMART - GOLD THEME
   =========================================== */

:root {
  /* Gold Palette */
  --gold-primary: #FFD700;
  --gold-bright: #FFC700;
  --gold-deep: #E6A800;
  --gold-dark: #8B6508;
  --amber: #FFA500;

  /* Background */
  --bg-base: #0d0a05;
  --bg-surface: #1a140a;
  --bg-card: #1f1810;
  --bg-card-hover: #261d12;

  /* Text */
  --text-primary: #fff8e7;
  --text-secondary: #cdb98a;
  --text-muted: #8a7a5c;

  /* Borders & Glow */
  --border-gold: rgba(255, 215, 0, 0.25);
  --border-gold-strong: rgba(255, 215, 0, 0.5);
  --glow-gold: 0 0 20px rgba(255, 215, 0, 0.35);
  --glow-gold-soft: 0 0 12px rgba(255, 199, 0, 0.2);

  /* Status colors */
  --success: #22c55e;
  --danger: #ef4444;
  --warning: #f59e0b;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;

  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background: var(--bg-base);
  background-image:
    radial-gradient(circle at 15% 0%, rgba(255, 215, 0, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 85% 100%, rgba(255, 165, 0, 0.05) 0%, transparent 45%);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.5;
}

a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; }
input, textarea, select { font-family: inherit; }

/* ===== LAYOUT CONTAINER ===== */
.app-container {
  max-width: 460px;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  background: var(--bg-base);
  border-left: 1px solid var(--border-gold);
  border-right: 1px solid var(--border-gold);
}

@media (min-width: 768px) {
  .app-container {
    max-width: 1100px;
    border: none;
  }
}

/* ===== HEADER ===== */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-gold);
  background: linear-gradient(180deg, rgba(255,215,0,0.05), transparent);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
}

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

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.3));
}

.brand-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.brand-name .accent {
  color: var(--gold-primary);
  text-shadow: 0 0 14px rgba(255, 215, 0, 0.5);
}

.nav-menu {
  display: none;
  gap: 28px;
}

@media (min-width: 768px) {
  .nav-menu {
    display: flex;
  }
  .nav-menu a {
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    transition: color 0.2s;
  }
  .nav-menu a:hover, .nav-menu a.active {
    color: var(--gold-primary);
  }
}

.cart-icon-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--glow-gold);
  color: #1a1305;
  font-size: 18px;
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--danger);
  color: white;
  font-size: 11px;
  font-weight: 700;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-base);
}

/* Mobile bottom-fixed cart (optional, hidden by default) */
.mobile-nav-toggle {
  display: none;
}

/* ===== HERO BANNER ===== */
.hero-banner {
  margin: 16px 20px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-gold-strong);
  box-shadow: var(--glow-gold-soft);
  background: var(--bg-surface);
}

.hero-banner img {
  width: 100%;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13,10,5,0.85) 0%, rgba(13,10,5,0.3) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 215, 0, 0.15);
  border: 1px solid var(--gold-primary);
  color: var(--gold-primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
  width: fit-content;
}

.hero-title {
  font-size: 28px;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  background: linear-gradient(135deg, #fff8d6, var(--gold-primary) 60%, var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 20px rgba(255, 215, 0, 0.3);
  margin-bottom: 16px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 248, 231, 0.08);
  border: 1px solid var(--border-gold-strong);
  color: var(--text-primary);
  font-weight: 700;
  font-size: 13px;
  padding: 10px 20px;
  border-radius: 30px;
  width: fit-content;
  transition: all 0.2s;
}

.hero-cta:hover {
  background: var(--gold-primary);
  color: #1a1305;
}

/* ===== HERO CAROUSEL V2 ===== */
.hero-carousel {
  position: relative;
  margin: 16px 20px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-gold-strong);
  box-shadow: var(--glow-gold-soft);
  background: linear-gradient(135deg, #1a0a2e, #2d0a3d, #0d0a05);
}

.hero-slide-track {
  display: flex;
  transition: transform 0.4s ease;
}

.hero-slide {
  min-width: 100%;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 260px;
  position: relative;
}

.hero-slide.has-banner-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-slide.has-banner-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13,10,5,0.92) 0%, rgba(13,10,5,0.55) 55%, rgba(13,10,5,0.25) 100%);
  z-index: 0;
}

.hero-slide.has-banner-image > * {
  position: relative;
  z-index: 1;
}

.hero-slide-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.hero-slide-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--border-gold-strong);
}

.hero-slide-title {
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-slide-title i.verified { color: #3b9eff; font-size: 16px; }

.hero-slide-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 600px;
}

.hero-slide-desc b { color: var(--text-primary); }

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(13,10,5,0.5);
  border: 1px solid var(--border-gold-strong);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  font-size: 14px;
  transition: all 0.2s;
}

.hero-arrow:hover { background: var(--gold-primary); color: #1a1305; }
.hero-arrow.prev { left: 14px; }
.hero-arrow.next { right: 14px; }

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  padding: 14px 0;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: var(--border-gold);
  transition: all 0.3s;
  cursor: pointer;
}

.hero-dot.active {
  width: 24px;
  background: var(--gold-primary);
  box-shadow: var(--glow-gold-soft);
}

/* ===== AVAILABLE PRODUCTS HEADER ===== */
.section-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  margin: 24px 0 14px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-primary);
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
}

/* ===== FILTER TABS ===== */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
  margin-bottom: 20px;
  overflow-x: auto;
  scrollbar-width: none;
}
.filter-bar::-webkit-scrollbar { display: none; }

.filter-tab {
  flex-shrink: 0;
  padding: 9px 18px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid var(--border-gold);
  background: var(--bg-surface);
  color: var(--text-secondary);
  transition: all 0.2s;
  white-space: nowrap;
}

.filter-tab.active {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  color: #1a1305;
  border-color: transparent;
  box-shadow: var(--glow-gold);
}

.filter-search-btn {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  background: var(--bg-surface);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-box {
  padding: 0 20px;
  margin-bottom: 16px;
}

.search-box input {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  border-radius: 24px;
  padding: 11px 18px;
  color: var(--text-primary);
  font-size: 14px;
}

.search-box input::placeholder { color: var(--text-muted); }
.search-box input:focus { outline: none; border-color: var(--gold-primary); }

/* ===== PRODUCT GRID & CARD ===== */
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 0 20px 30px;
}

@media (min-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 16px;
  transition: all 0.2s;
}

.product-card:hover {
  border-color: var(--border-gold-strong);
  box-shadow: var(--glow-gold-soft);
  background: var(--bg-card-hover);
}

.product-card-top {
  display: flex;
  gap: 14px;
  margin-bottom: 14px;
}

.product-icon {
  width: 68px;
  height: 68px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  flex-shrink: 0;
}

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

.product-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 6px;
}

.product-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(255, 215, 0, 0.12);
  border: 1px solid var(--border-gold-strong);
  color: var(--gold-primary);
}

.product-price {
  font-size: 16px;
  font-weight: 800;
  color: var(--gold-primary);
  text-shadow: 0 0 12px rgba(255,215,0,0.3);
  white-space: nowrap;
}

.product-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.product-desc {
  font-size: 12px;
  color: var(--text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-meta-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
}

.product-meta-row .star { color: var(--gold-primary); }

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

.duration-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  padding: 7px 12px;
  border-radius: 20px;
  flex-shrink: 0;
}

.btn-buy {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  color: #1a1305;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.5px;
  padding: 11px 16px;
  border-radius: 24px;
  box-shadow: var(--glow-gold);
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-buy:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 28px rgba(255, 215, 0, 0.5);
}

.btn-buy:disabled {
  background: var(--bg-surface);
  color: var(--text-muted);
  box-shadow: none;
  cursor: not-allowed;
}

.stock-warning {
  font-size: 11px;
  color: var(--danger);
  font-weight: 600;
  margin-top: 6px;
}

/* ===== PRODUCT CARD V2 (grid poster style, sesuai referensi baru) ===== */
.product-grid-v2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 0 20px 10px;
}

@media (min-width: 640px) {
  .product-grid-v2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .product-grid-v2 { grid-template-columns: repeat(4, 1fr); }
}

.product-card-v2 {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
}

.product-card-v2:hover {
  border-color: var(--border-gold-strong);
  box-shadow: var(--glow-gold-soft);
  transform: translateY(-2px);
}

.product-card-v2-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 14px 0;
}

.product-card-v2-icon {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  object-fit: cover;
  border: 1px solid var(--border-gold);
  flex-shrink: 0;
}

.product-card-v2-titlewrap { flex: 1; min-width: 0; }

.product-card-v2-name {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  gap: 5px;
}

.product-card-v2-name .verified { color: #3b9eff; font-size: 11px; }

.product-card-v2-rating {
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

.product-card-v2-rating .star { color: var(--gold-primary); }

.product-card-v2-poster {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  margin-top: 12px;
  background: var(--bg-surface);
}

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

.product-card-v2-desc {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  min-height: 32px;
}

.product-card-v2-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  color: var(--gold-primary);
  background: rgba(255,215,0,0.1);
  border: 1px solid var(--border-gold);
  padding: 3px 10px;
  border-radius: 16px;
  width: fit-content;
  margin-bottom: 12px;
}

.product-card-v2-price {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.product-card-v2-price b {
  font-size: 16px;
  color: var(--success);
  font-weight: 800;
}

.product-card-v2-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.btn-buy-v2 {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  color: #1a1305;
  font-weight: 700;
  font-size: 12px;
  padding: 9px 10px;
  border-radius: 10px;
  box-shadow: var(--glow-gold-soft);
}

.btn-buy-v2:hover { box-shadow: var(--glow-gold); }

.btn-buy-v2:disabled {
  background: var(--bg-surface);
  color: var(--text-muted);
  box-shadow: none;
}

/* ===== TOMBOL TUTORIAL TIKTOK (pengganti posisi Demo lama) ===== */
.btn-tutorial-v2 {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  color: var(--text-primary);
  font-size: 15px;
  transition: all 0.2s;
}

.btn-tutorial-v2:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  box-shadow: var(--glow-gold-soft);
}

/* ===== REVIEWS SECTION ===== */
.reviews-section {
  padding: 24px 20px;
  border-top: 1px solid var(--border-gold);
  margin-top: 10px;
}

.reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.reviews-title {
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.reviews-title i { color: var(--gold-primary); }

.reviews-meta {
  display: flex;
  gap: 8px;
}

.review-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 14px;
}

.review-badge.rating { background: rgba(34,197,94,0.15); color: var(--success); }
.review-badge.count { background: rgba(255,215,0,0.12); color: var(--gold-primary); }

.review-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 6px;
}
.review-scroll::-webkit-scrollbar { display: none; }

.review-card {
  flex-shrink: 0;
  width: 230px;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 14px;
}

.review-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.review-card-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--success);
}

.review-card-time { font-size: 11px; color: var(--text-muted); }

.review-card-product {
  font-size: 11px;
  color: var(--gold-primary);
  font-weight: 700;
  margin-bottom: 6px;
}

.review-card-text {
  font-size: 13px;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.5;
}

.review-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.review-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #1a1305;
}

.review-author-name {
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}

.review-author-name .verified { color: #3b9eff; font-size: 10px; }

.show-all-reviews-btn {
  display: block;
  margin: 16px auto 0;
  padding: 9px 22px;
  border-radius: 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

/* ===== ALL CUSTOMER REVIEWS MODAL (breakdown bintang) ===== */
.all-reviews-modal-box {
  max-width: 480px;
  max-height: 88vh;
}

.all-reviews-summary {
  text-align: center;
  padding: 24px 22px 18px;
  border-bottom: 1px solid var(--border-gold);
}

.all-reviews-avg-score {
  font-size: 40px;
  font-weight: 900;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 4px;
}

.all-reviews-avg-score i { color: var(--gold-primary); font-size: 30px; }

.all-reviews-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--success);
  margin-bottom: 4px;
}

.all-reviews-count {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.rating-breakdown-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.rating-breakdown-star {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 600;
  width: 36px;
  text-align: left;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.rating-breakdown-bar-track {
  flex: 1;
  height: 8px;
  border-radius: 5px;
  background: var(--bg-surface);
  overflow: hidden;
}

.rating-breakdown-bar-fill {
  height: 100%;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-primary));
  transition: width 0.5s ease;
}

.rating-breakdown-num {
  font-size: 12px;
  color: var(--text-muted);
  width: 28px;
  text-align: right;
  flex-shrink: 0;
}

.all-reviews-list {
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 50vh;
  overflow-y: auto;
}

.all-review-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 14px 16px;
}

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

.all-review-author-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.all-review-name {
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
}

.all-review-time {
  font-size: 11px;
  color: var(--text-muted);
}

/* ===== WHY CHOOSE US SECTION ===== */
.why-choose-section {
  padding: 36px 20px;
  text-align: center;
}

.why-choose-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}

.why-choose-title .accent { color: var(--gold-primary); }

.why-choose-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  max-width: 400px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

.promo-video-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: left;
  margin-bottom: 24px;
}

.promo-video-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
}

.promo-video-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-gold);
}

.promo-video-title { font-size: 13px; font-weight: 700; }
.promo-video-sub { font-size: 11px; color: var(--text-muted); }

.promo-video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #1a0a2e, #2d0a3d);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.promo-video-play {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 22px;
}

.promo-video-footer {
  display: flex;
  justify-content: flex-end;
  padding: 10px 16px;
  font-size: 12px;
  color: var(--text-muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 768px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  text-align: center;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #1a1305;
  margin: 0 auto 14px;
  box-shadow: var(--glow-gold-soft);
}

.feature-title { font-size: 14px; font-weight: 800; margin-bottom: 8px; }
.feature-desc { font-size: 12px; color: var(--text-secondary); line-height: 1.6; }

/* ===== MULTI-STEP MODAL (buy flow) ===== */
.step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 22px 4px;
}

.step-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  color: var(--text-muted);
}

.step-dot.active {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  color: #1a1305;
  border-color: transparent;
}

.step-dot.done {
  background: var(--success);
  color: white;
  border-color: transparent;
}

.step-line {
  width: 30px;
  height: 2px;
  background: var(--border-gold);
}

.step-panel { display: none; }
.step-panel.active { display: block; }

.option-select {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 13px 16px;
  color: var(--text-primary);
  font-size: 14px;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23FFD700' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.stock-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 14px 16px;
  margin-top: 16px;
}

.stock-info-label { font-size: 12px; color: var(--text-muted); }
.stock-info-price { font-size: 18px; font-weight: 800; color: var(--gold-primary); }

.btn-continue {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--success);
  color: white;
  font-weight: 800;
  font-size: 14px;
  padding: 15px;
  border-radius: 30px;
  margin-top: 18px;
}

.btn-continue:hover { background: #16a34a; }
.btn-continue:disabled { background: var(--bg-surface); color: var(--text-muted); cursor: not-allowed; }

.btn-back-step {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 13px;
  padding: 12px;
  border-radius: 30px;
  border: 1px solid var(--border-gold);
  margin-top: 10px;
}

/* ===== AUTH PAGES (login, register, forgot password) ===== */
.auth-page-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--bg-card);
  border: 1px solid var(--border-gold-strong);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--glow-gold-soft);
}

.auth-logo-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  text-align: center;
}

.auth-logo-row img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.3));
}

.auth-logo-row .store-name {
  font-size: 18px;
  font-weight: 800;
}

.auth-title {
  font-size: 20px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 6px;
}

.auth-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 24px;
}

.auth-error {
  background: rgba(239,68,68,0.1);
  border: 1px solid var(--danger);
  color: var(--danger);
  font-size: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.auth-success {
  background: rgba(34,197,94,0.1);
  border: 1px solid var(--success);
  color: var(--success);
  font-size: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.input-with-icon {
  position: relative;
}

.input-with-icon i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 13px;
}

.input-with-icon input {
  padding-left: 42px;
}

.password-toggle {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 13px;
  background: none;
  border: none;
  cursor: pointer;
}

.auth-forgot-link {
  display: block;
  text-align: right;
  font-size: 12px;
  color: var(--gold-primary);
  font-weight: 600;
  margin-top: -8px;
  margin-bottom: 18px;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--text-muted);
  font-size: 12px;
}

.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-gold);
}

.google-signin-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}

.auth-footer-text {
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 20px;
}

.auth-footer-text a {
  color: var(--gold-primary);
  font-weight: 700;
}

.auth-back-home {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* ===== STATUS PILL PRODUK (Online/Offline/Unknown) ===== */
.status-row {
  margin-bottom: 8px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 3px 10px;
  border-radius: 14px;
}

.status-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.status-pill.online {
  background: rgba(34,197,94,0.12);
  color: var(--success);
}
.status-pill.online .status-pill-dot { background: var(--success); box-shadow: 0 0 6px var(--success); }

.status-pill.offline {
  background: rgba(239,68,68,0.12);
  color: var(--danger);
}
.status-pill.offline .status-pill-dot { background: var(--danger); box-shadow: 0 0 6px var(--danger); }

.status-pill.unknown {
  background: rgba(168,85,247,0.12);
  color: #a855f7;
}
.status-pill.unknown .status-pill-dot { background: #a855f7; box-shadow: 0 0 6px #a855f7; }

/* ===== FLOATING CUSTOMER SERVICE BUTTON ===== */
.cs-float-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  z-index: 150;
  transition: transform 0.2s;
  animation: csFloatPulse 2.5s ease-in-out infinite;
}

.cs-float-btn:hover {
  transform: scale(1.08);
}

@keyframes csFloatPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.8); }
}

/* ===== POPUP INFORMASI (channel mod, dll) ===== */
.info-popup-box {
  text-align: center;
  padding: 32px 28px;
  position: relative;
  max-width: 380px;
}

.info-popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
}

.info-popup-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.12);
  color: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin: 0 auto 18px;
}

.info-popup-title {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 10px;
}

.info-popup-message {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== FOOTER ===== */
.site-footer {
  padding: 30px 20px;
  text-align: center;
  border-top: 1px solid var(--border-gold);
  margin-top: 20px;
}

.footer-social-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.footer-social-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.footer-social-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer-social-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  color: var(--text-primary);
  transition: all 0.2s;
}

.footer-social-item:hover .footer-social-icon {
  border-color: var(--gold-primary);
  box-shadow: var(--glow-gold-soft);
  color: var(--gold-primary);
}

.footer-social-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}

.footer-security-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--gold-primary);
  background: rgba(255,215,0,0.08);
  border: 1px solid var(--border-gold);
  padding: 8px 18px;
  border-radius: 24px;
  margin-bottom: 18px;
}

.footer-copyright {
  font-size: 11px;
  color: var(--text-muted);
}

.footer-staff-access {
  margin-top: 10px;
  font-size: 10px;
  color: var(--bg-surface);
}

/* ===== FOOTER V2 (struktur baru sesuai referensi) ===== */
.site-footer-v2 {
  border-top: 1px solid var(--border-gold);
  margin-top: 30px;
  padding: 24px 20px;
}

.footer-v2-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

@media (min-width: 768px) {
  .footer-v2-top {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-v2-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 15px;
}

.footer-v2-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.footer-v2-links {
  display: flex;
  gap: 24px;
}

.footer-v2-links a {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.footer-v2-links a:hover { color: var(--gold-primary); }

.footer-v2-social {
  display: flex;
  gap: 10px;
}

.footer-v2-social a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 15px;
  transition: all 0.2s;
}

.footer-v2-social a:hover {
  color: var(--gold-primary);
  border-color: var(--gold-primary);
  box-shadow: var(--glow-gold-soft);
}

.footer-v2-bottom {
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
  padding-top: 16px;
  border-top: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* ===== MODAL (CART & CHECKOUT) ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 4, 2, 0.85);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 20px;
}

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

.modal-box {
  background: var(--bg-card);
  border: 1px solid var(--border-gold-strong);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 0 40px rgba(255, 215, 0, 0.15);
  animation: modalIn 0.2s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

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

.modal-title {
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 14px;
}

.modal-body {
  padding: 22px;
}

.cart-item-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.cart-item-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--border-gold);
}

.cart-item-info { flex: 1; }
.cart-item-name { font-size: 14px; font-weight: 700; margin-bottom: 3px; }
.cart-item-price { font-size: 13px; color: var(--gold-primary); font-weight: 700; }

.qty-control {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  padding: 6px 8px;
}

.qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.qty-value {
  font-weight: 700;
  font-size: 14px;
  min-width: 18px;
  text-align: center;
}

.divider-line {
  border: none;
  border-top: 1px solid var(--border-gold);
  margin: 18px 0;
}

.total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.total-label { font-size: 14px; color: var(--text-secondary); font-weight: 600; }
.total-value { font-size: 22px; font-weight: 800; color: var(--gold-primary); }

.btn-full-gold {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  color: #1a1305;
  font-weight: 800;
  font-size: 14px;
  padding: 15px;
  border-radius: 30px;
  box-shadow: var(--glow-gold);
}

.btn-full-gold:hover { box-shadow: 0 0 28px rgba(255,215,0,0.5); }
.btn-full-gold:disabled { opacity: 0.5; cursor: not-allowed; }

/* ===== FORM ELEMENTS (checkout) ===== */
.form-group { margin-bottom: 18px; }

.form-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-input {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 13px 16px;
  color: var(--text-primary);
  font-size: 14px;
}

.form-input::placeholder { color: var(--text-muted); }
.form-input:focus { outline: none; border-color: var(--gold-primary); }

.order-summary-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.summary-row:last-child { margin-bottom: 0; }
.summary-row.total { font-weight: 800; color: var(--text-primary); font-size: 15px; padding-top: 10px; border-top: 1px solid var(--border-gold); margin-top: 10px; }
.summary-row .gold { color: var(--gold-primary); }

.payment-note {
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 14px;
}

/* ===== ALERTS / TOAST ===== */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--bg-card);
  border: 1px solid var(--border-gold-strong);
  color: var(--text-primary);
  padding: 14px 22px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--glow-gold);
  z-index: 300;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 90%;
}

.toast.show { transform: translateX(-50%) translateY(0); }
.toast.error { border-color: var(--danger); }
.toast.error i { color: var(--danger); }
.toast i { color: var(--success); }

/* ===== EMPTY STATE ===== */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.empty-state i { font-size: 40px; margin-bottom: 14px; opacity: 0.5; }

/* ===== LOADING SPINNER ===== */
.spinner {
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(26,19,5,0.3);
  border-top-color: #1a1305;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ===== STATIC PAGE (FAQ, About) ===== */
.static-page {
  padding: 30px 20px;
}

.static-page h1 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--gold-primary);
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 12px;
}

.faq-question {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.faq-answer {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== ORDER STATUS PAGE ===== */
.status-page {
  padding: 50px 20px;
  text-align: center;
}

.status-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin: 0 auto 20px;
}

.status-icon.success { background: rgba(34,197,94,0.15); color: var(--success); border: 2px solid var(--success); }
.status-icon.pending { background: rgba(245,158,11,0.15); color: var(--warning); border: 2px solid var(--warning); }
.status-icon.failed { background: rgba(239,68,68,0.15); color: var(--danger); border: 2px solid var(--danger); }

.status-title { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.status-desc { font-size: 13px; color: var(--text-secondary); margin-bottom: 24px; }

.key-display-box {
  background: var(--bg-surface);
  border: 1px dashed var(--gold-primary);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  text-align: left;
}

.key-display-label {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.key-display-value {
  font-family: 'Courier New', monospace;
  font-size: 16px;
  font-weight: 700;
  color: var(--gold-primary);
  letter-spacing: 1px;
  word-break: break-all;
}
