/* ===== CSS VARIABLES / THEMES ===== */
:root[data-theme="dark"] {
  --bg-primary: #090d18;
  --bg-secondary: #0e1322;
  --bg-card: #12182a;
  --bg-card-hover: #161e32;
  --bg-glass: rgba(14,19,34,0.8);
  --border: rgba(255,255,255,0.06);
  --border-hover: rgba(255,255,255,0.14);
  --text-primary: #e8ecf4;
  --text-secondary: #7e8da4;
  --text-muted: #3e4a5e;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --accent-glow: rgba(59,130,246,0.06);
  --accent-light: #60a5fa;
  --green: #22c55e;
  --navbar-bg: rgba(9,13,24,0.94);
  --footer-bg: #060810;
  --shadow: 0 2px 12px rgba(0,0,0,0.3);
  --shadow-blue: 0 1px 8px rgba(0,0,0,0.2);
  --gradient-hero: #090d18;
}
:root[data-theme="light"] {
  --bg-primary: #f4f6fb;
  --bg-secondary: #ebeef6;
  --bg-card: #ffffff;
  --bg-card-hover: #f8f9fc;
  --bg-glass: rgba(255,255,255,0.88);
  --border: rgba(15,23,42,0.07);
  --border-hover: rgba(15,23,42,0.16);
  --text-primary: #111827;
  --text-secondary: #4b5563;
  --text-muted: #9ca3af;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-glow: rgba(37,99,235,0.06);
  --accent-light: #3b82f6;
  --green: #16a34a;
  --navbar-bg: rgba(244,246,251,0.94);
  --footer-bg: #111827;
  --shadow: 0 2px 12px rgba(0,0,0,0.06);
  --shadow-blue: 0 1px 8px rgba(0,0,0,0.04);
  --gradient-hero: #ebeef6;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;  /* prevent horizontal scroll at html level */
}
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  transition: background 0.25s, color 0.25s;
  overflow-x: hidden;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--text-muted); border-radius: 3px; }

/* ===== NAVBAR ===== */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: var(--navbar-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  height: 60px;
  display: flex; align-items: center; gap: 20px;
  transition: all 0.25s;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.logo-icon {
  width: 32px; height: 32px;
  background: var(--accent);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; color: white;
}
.logo-text {
  font-size: 16px; font-weight: 700; color: var(--text-primary);
  letter-spacing: -0.3px;
}
.logo-text span { color: inherit; }
/* Light mode: darken custom logo image so it's visible on light navbar */
:root[data-theme="light"] .logo-icon img { filter: brightness(0); }
.nav-search {
  flex: 1; max-width: 480px;
  position: relative;
}
.nav-search input {
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 16px 9px 40px;
  color: var(--text-primary);
  font-size: 13px; font-family: inherit;
  transition: all 0.2s;
  outline: none;
}
.nav-search input::placeholder { color: var(--text-muted); }
.nav-search input:focus { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-glow); }
.nav-search-icon {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--text-muted); pointer-events: none;
}
.nav-actions {
  display: flex; align-items: center; gap: 8px; margin-left: auto;
}
.nav-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 14px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 7px;
  color: var(--text-secondary);
  font-size: 13px; font-weight: 500; font-family: inherit;
  cursor: pointer; transition: all 0.2s; text-decoration: none;
}
.nav-btn:hover { border-color: var(--border-hover); color: var(--text-primary); }
.nav-btn-icon {
  width: 34px; height: 34px; padding: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 7px;
}
.btn-login {
  background: var(--accent); border-color: var(--accent);
  color: white; font-weight: 600;
}
.btn-login:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: white; }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: all 0.3s; }

/* Desktop: tampilkan theme btn, sembunyikan search btn */
.mobile-search-btn { display: none; }
.desktop-theme-btn { display: flex; }

/* ===== MOBILE SEARCH BAR ===== */
.mobile-searchbar {
  display: none;
  background: var(--navbar-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
  animation: slideDown 0.2s ease;
}
.mobile-searchbar.open { display: block; }
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mobile-searchbar-inner {
  position: relative; display: flex; align-items: center;
}
.mobile-searchbar-inner > i {
  position: absolute; left: 14px;
  color: var(--text-muted); font-size: 14px; pointer-events: none;
}
.mobile-searchbar-inner input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 12px 44px 12px 42px;
  color: var(--text-primary);
  font-size: 14px; font-family: inherit;
  outline: none; transition: all 0.2s;
}
.mobile-searchbar-inner input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.mobile-searchbar-inner input::placeholder { color: var(--text-muted); }
.mobile-searchbar-close {
  position: absolute; right: 12px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--bg-secondary); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 12px; transition: all 0.2s;
}
.mobile-searchbar-close:hover { background: var(--bg-card); color: var(--text-primary); }

/* ===== MOBILE OVERLAY ===== */
.mobile-overlay {
  display: none;
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.55); backdrop-filter: blur(2px);
  z-index: 998;
}
.mobile-overlay.open { display: block; }

/* ===== MOBILE MENU DRAWER ===== */
.mobile-menu {
  position: fixed; top: 0; right: -320px; bottom: 0;
  width: 300px; z-index: 999;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border);
  display: flex; flex-direction: column;
  transition: right 0.3s cubic-bezier(0.4,0,0.2,1);
  overflow: hidden;
}
.mobile-menu.open { right: 0; box-shadow: -24px 0 60px rgba(0,0,0,0.45); }

/* Header */
.mobile-menu-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 16px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.mobile-menu-title {
  font-size: 16px; font-weight: 700; color: var(--text-primary);
}
.mobile-menu-close {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--bg-card); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text-secondary); font-size: 15px;
  transition: all 0.2s;
}
.mobile-menu-close:hover { border-color: var(--border-hover); color: var(--text-primary); }

/* Scrollable body */
.mobile-menu-body {
  flex: 1; overflow-y: auto; padding: 10px 10px;
}

/* Nav items */
.mobile-nav { display: flex; flex-direction: column; gap: 2px; }
.mobile-nav-item {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 14px; border-radius: 8px;
  color: var(--text-secondary); text-decoration: none;
  font-size: 14px; font-weight: 500;
  transition: all 0.2s; border: none; background: none; font-family: inherit; cursor: pointer; width: 100%; text-align: left;
}
.mobile-nav-item i { font-size: 15px; width: 20px; text-align: center; flex-shrink: 0; }
.mobile-nav-item:hover { background: var(--bg-card); color: var(--text-primary); }
.mobile-nav-item.active {
  background: rgba(59,130,246,0.08);
  color: var(--accent-light);
  font-weight: 600;
}
.mobile-nav-item.active i { color: var(--accent); }

/* Divider & section label */
.mobile-menu-divider {
  height: 1px; background: var(--border); margin: 8px 4px;
}
.mobile-section-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; color: var(--text-muted);
  padding: 8px 14px 6px;
}

/* Footer buttons */
.mobile-menu-footer {
  padding: 14px 10px;
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 8px;
  flex-shrink: 0;
}
.mobile-theme-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 12px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 8px; color: var(--text-primary);
  font-size: 13px; font-weight: 600; font-family: inherit;
  cursor: pointer; transition: all 0.2s;
}
.mobile-theme-btn:hover { border-color: var(--border-hover); color: var(--text-primary); }
.mobile-login-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 12px;
  background: var(--accent); border: none;
  border-radius: 8px; color: white;
  font-size: 13px; font-weight: 600; font-family: inherit;
  cursor: pointer; transition: background 0.2s;
}
.mobile-login-btn:hover { background: var(--accent-hover); }

/* ===== HERO / BANNER ===== */
.hero {
  background: var(--gradient-hero);
  border-bottom: 1px solid var(--border);
  padding: 56px 40px 48px;
  position: relative; overflow: hidden;
  display: flex; align-items: center;
}
.hero-bg-blob { display: none; }
.hero-content {
  position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; width: 100%;
  display: flex; align-items: center; gap: 48px;
}
.hero-text { flex: 1; max-width: 560px; }
.hero-badge {
  display: inline-block;
  font-size: 12px; font-weight: 600;
  color: var(--text-muted); margin-bottom: 20px; letter-spacing: 0.5px;
}
.hero-title {
  font-size: clamp(22px, 3vw, 32px); font-weight: 700; line-height: 1.35;
  color: var(--text-primary); margin-bottom: 12px; letter-spacing: -0.4px;
}
.hero-title .highlight { color: var(--accent-light); }
.hero-subtitle {
  font-size: 14px; color: var(--text-secondary); margin-bottom: 28px; max-width: 440px;
  line-height: 1.7;
}
.hero-subtitle strong { color: var(--text-primary); font-weight: 600; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent); color: white; font-weight: 600;
  padding: 10px 20px; border-radius: 7px; font-size: 13px; border: none;
  cursor: pointer; font-family: inherit; text-decoration: none;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--accent-hover); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; color: var(--text-secondary); font-weight: 500;
  padding: 10px 20px; border-radius: 7px; font-size: 13px; font-family: inherit;
  border: 1px solid var(--border); cursor: pointer; text-decoration: none;
  transition: all 0.2s;
}
.btn-outline:hover { border-color: var(--border-hover); color: var(--text-primary); }
.hero-stats {
  display: flex; gap: 28px; margin-top: 32px; flex-wrap: wrap;
  padding-top: 20px; border-top: 1px solid var(--border);
}
.hero-stat-num { font-size: 14px; font-weight: 700; color: var(--text-primary); }
.hero-stat-label { font-size: 11px; color: var(--text-muted); letter-spacing: 0.2px; margin-top: 2px; }
/* Hero Visual — product showcase on desktop */
.hero-visual {
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; width: 320px;
}
.hero-phone-mockup {
  width: 100%;
  background: transparent;
  border-radius: 0;
  border: none;
  box-shadow: none;
  padding: 0;
  display: flex; flex-direction: column; gap: 0;
  position: relative; overflow: visible;
}
/* Hide phone chrome — only keep product grid */
.hero-phone-mockup > div:first-child { display: none !important; }
.phone-bar { display: none; }
.phone-mini-logo { display: none; }
.phone-search { display: none; }
.phone-categories { display: none; }
.phone-section-title { display: none; }
/* Product showcase grid */
.phone-products { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.phone-product-card {
  background: var(--bg-card); border-radius: 10px; padding: 12px;
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}
.phone-product-card:hover { border-color: var(--border-hover); }
.phone-product-img {
  width: 100%; aspect-ratio: 1; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; margin-bottom: 8px;
  background: var(--bg-secondary);
}
.phone-product-name { font-size: 12px; font-weight: 600; color: var(--text-primary); margin-bottom: 3px; line-height: 1.3; }
.phone-product-price { font-size: 11px; color: var(--accent-light); font-weight: 500; }
.phone-cat {
  display: none;
}
.phone-cat-icon {
  display: none;
}
.slider-dots {
  display: flex; gap: 6px; justify-content: center; padding: 12px 0;
}
.slider-dot {
  width: 8px; height: 8px; border-radius: 50%; cursor: pointer;
  background: var(--border); transition: all 0.2s;
}
.slider-dot.active { background: var(--accent); width: 24px; border-radius: 4px; }

/* ===== SECTIONS COMMON ===== */
.section { padding: 40px 40px; max-width: 1200px; margin: 0 auto; }
.section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.section-title-wrap { display: flex; align-items: center; gap: 10px; }
.section-icon { font-size: 18px; }
.section-title { font-size: 16px; font-weight: 600; color: var(--text-primary); letter-spacing: -0.2px; }
.section-link {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--text-muted); font-size: 12px; font-weight: 500;
  text-decoration: none; transition: color 0.2s;
}
.section-link:hover { color: var(--text-secondary); }
/* Garis pemisah antar seksi — tidak boleh overflow */
.section-divider {
  height: 1px;
  background: var(--border);
  margin: 0;
  width: 100%;
}

/* ===== PRODUCT CARDS ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 260px));
  gap: 14px;
}
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px; overflow: hidden;
  cursor: pointer; transition: border-color 0.2s;
  position: relative; text-decoration: none; color: inherit;
  display: block;
}
.product-card:hover {
  border-color: var(--border-hover);
}
.product-img {
  width: 100%; aspect-ratio: 1; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 60px; background: var(--bg-secondary);
  position: relative;
}
.product-fav {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(10,14,26,0.7); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.2s; font-size: 14px;
  color: var(--text-muted); backdrop-filter: blur(4px);
}
.product-fav:hover { color: #ef4444; border-color: #ef4444; }
.product-fav.active { color: #ef4444; border-color: #ef4444; }
.product-info { padding: 12px; }
.product-cat-badge {
  display: inline-block; font-size: 10px; font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.4px; color: var(--text-muted);
  margin-bottom: 4px;
}
.product-name { font-size: 14px; font-weight: 600; color: var(--text-primary); margin-bottom: 4px; line-height: 1.35; }
.product-price { font-size: 13px; color: var(--text-secondary); margin-bottom: 10px; }
.product-price strong { color: var(--text-primary); font-size: 14px; font-weight: 700; }
.btn-buy {
  width: 100%; padding: 8px; border: none;
  background: var(--accent); color: white;
  font-size: 12px; font-weight: 600; font-family: inherit;
  border-radius: 6px; cursor: pointer; transition: background 0.2s;
}
.btn-buy:hover { background: var(--accent-hover); }

/* ===== FEATURED (UNGGULAN) ===== */
.featured-section { background: var(--bg-secondary); }
.featured-wrapper { max-width: 1200px; margin: 0 auto; padding: 40px 40px; }

/* ===== CATEGORIES ===== */
.categories-section { background: var(--bg-primary); }
.categories-wrapper { max-width: 1200px; margin: 0 auto; padding: 32px 40px; }
.cat-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.cat-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 6px;
  font-size: 12px; font-weight: 500; font-family: inherit;
  cursor: pointer; transition: all 0.2s; white-space: nowrap;
  background: transparent; color: var(--text-secondary); border: 1px solid var(--border);
}
.cat-pill:hover { border-color: var(--border-hover); color: var(--text-primary); }
.cat-pill.active { background: var(--accent); color: white; border-color: var(--accent); }

/* ===== BENEFITS ===== */
.benefits-section { background: var(--bg-secondary); }
.benefits-wrapper { max-width: 1200px; margin: 0 auto; padding: 40px 40px; }
.benefits-title {
  font-size: 16px; font-weight: 600;
  color: var(--text-primary); margin-bottom: 24px; letter-spacing: -0.2px;
}
.benefits-title .highlight { color: var(--accent-light); }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.benefit-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 10px; padding: 20px 18px; transition: border-color 0.2s;
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
}
.benefit-card:hover { border-color: var(--border-hover); }
.benefit-icon-wrap {
  width: 36px; height: 36px; flex-shrink: 0;
  background: var(--bg-secondary); border: 1px solid var(--border);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}
.benefit-title { font-size: 14px; font-weight: 600; color: var(--text-primary); margin-bottom: 4px; }
.benefit-desc { font-size: 12px; color: var(--text-secondary); line-height: 1.6; }

/* ===== WHATSAPP FLOAT ===== */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 900;
  display: flex; flex-direction: row; align-items: center; gap: 10px;
}
.wa-bubble {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px; padding: 10px 14px;
  font-size: 13px; font-weight: 500;
  color: var(--text-primary);
  box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 8px;
  white-space: nowrap;
  animation: slideInLeft 0.4s ease;
  position: relative;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
/* Panah kecil di sisi kanan bubble mengarah ke tombol WA */
.wa-bubble::after {
  content: '';
  position: absolute; right: -7px; top: 50%;
  transform: translateY(-50%);
  border-width: 6px 0 6px 7px;
  border-style: solid;
  border-color: transparent transparent transparent var(--bg-card);
  filter: drop-shadow(1px 0 0 var(--border));
}
.wa-bubble-close {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--text-muted); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; color: white; flex-shrink: 0;
  transition: opacity 0.2s;
}
.wa-bubble-close:hover { opacity: 0.75; }
.wa-btn {
  width: 52px; height: 52px; border-radius: 50%;
  background: #25d366; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 10px rgba(37,211,102,0.15); font-size: 26px;
  transition: transform 0.2s; flex-shrink: 0;
}
.wa-btn:hover { transform: scale(1.04); }
@keyframes slideInLeft { from{opacity:0;transform:translateX(20px)} to{opacity:1;transform:translateX(0)} }



/* ===== FOOTER ===== */
footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--border);
  padding: 48px 40px 0;
}
.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.2fr; gap: 40px;
  padding-bottom: 40px;
}
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-desc { font-size: 12px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 18px; }
.footer-socials { display: flex; gap: 8px; }
.social-btn {
  width: 34px; height: 34px; border-radius: 8px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; cursor: pointer; transition: border-color 0.2s; text-decoration: none;
}
.social-btn:hover { border-color: var(--border-hover); }
.footer-col-title { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-link {
  font-size: 13px; color: var(--text-secondary); text-decoration: none; transition: color 0.2s;
}
.footer-link:hover { color: var(--text-primary); }
.payment-methods { display: flex; flex-wrap: wrap; gap: 8px; }
.payment-badge {
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  border-radius: 6px; padding: 6px 12px;
  font-size: 11px; font-weight: 600; color: var(--text-muted);
  display: flex; align-items: center; gap: 5px;
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 16px 40px;
  display: flex; align-items: center; justify-content: center;
  gap: 6px; flex-wrap: wrap;
}
.footer-copyright { font-size: 12px; color: var(--text-muted); }

/* ===== ADMIN PANEL ===== */
.admin-toggle {
  position: fixed; bottom: 90px; right: 24px; z-index: 900;
  background: #6366f1; color: white; border: none; border-radius: 12px;
  padding: 10px 14px; font-size: 12px; font-weight: 700; cursor: pointer; font-family: inherit;
  box-shadow: 0 4px 12px rgba(99,102,241,0.25); transition: all 0.2s;
}
.admin-toggle:hover { transform: translateY(-1px); }
.admin-panel {
  position: fixed; top: 0; right: -420px; width: 400px; height: 100vh;
  background: var(--bg-secondary); border-left: 1px solid var(--border);
  z-index: 1100; overflow-y: auto; transition: right 0.3s ease;
  padding: 24px;
}
.admin-panel.open { right: 0; box-shadow: -20px 0 60px rgba(0,0,0,0.4); }
.admin-header {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px;
}
.admin-title { font-size: 18px; font-weight: 800; color: var(--text-primary); }
.admin-close {
  background: none; border: 1px solid var(--border); color: var(--text-secondary);
  border-radius: 8px; padding: 6px 10px; cursor: pointer; font-size: 16px; font-family: inherit;
}
.admin-section-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); margin-bottom: 12px; margin-top: 20px; }
.admin-field { margin-bottom: 14px; }
.admin-label { font-size: 13px; font-weight: 600; color: var(--text-secondary); margin-bottom: 6px; display: block; }
.admin-input {
  width: 100%; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 8px; padding: 9px 12px; color: var(--text-primary); font-size: 14px; font-family: inherit;
  outline: none; transition: border 0.2s;
}
.admin-input:focus { border-color: var(--accent); }
.admin-textarea { resize: vertical; min-height: 80px; }
.admin-save {
  width: 100%; padding: 12px; background: var(--accent); color: white;
  border: none; border-radius: 10px; font-size: 14px; font-weight: 700; font-family: inherit;
  cursor: pointer; margin-top: 8px; transition: all 0.2s;
}
.admin-save:hover { background: var(--accent-hover); }
.admin-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 1099;
  background: rgba(0,0,0,0.5); backdrop-filter: blur(2px);
  display: none;
}
.admin-overlay.open { display: block; }

/* ===== HERO SLIDER CONTROLS ===== */
.hero-slider-nav {
  display: flex; gap: 8px; position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-visual { display: none; }
  .hero-text { max-width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .navbar { padding: 0 16px; }
  .nav-search, .nav-btn:not(.hamburger):not(.nav-btn-icon):not(.btn-login) { display: none; }
  .hamburger { display: flex; }
  .section,
  .featured-wrapper,
  .categories-wrapper,
  .benefits-wrapper { padding: 32px 16px; }
  .benefits-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  footer { padding: 36px 16px 0; }
  .footer-bottom { padding: 16px; }
  .hero { padding: 40px 16px; }
  .hero-stats { gap: 20px; }
  /* 2 kolom product cards di tablet/mobile medium */
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  /* Sesuaikan ukuran icon & teks kartu */
  .product-img { font-size: 42px; }
  .product-img i { font-size: 42px; }
  .product-name { font-size: 13px; }
  .product-info { padding: 10px; }
  .btn-buy { padding: 8px; font-size: 12px; }

  /* Ganti theme btn → search btn di mobile */
  .desktop-theme-btn { display: none !important; }
  .mobile-search-btn { display: flex !important; }

  /* WA float: sembunyikan bubble teks, tampilkan icon saja */
  .wa-bubble { display: none !important; }

  /* WA button posisi lebih kecil & rapi di mobile */
  .wa-float { bottom: 20px; right: 16px; gap: 0; }
  .wa-btn { width: 52px; height: 52px; font-size: 24px; }

  /* Sembunyikan tombol Admin di mobile */
  .admin-toggle { display: none; }

  /* Admin panel fullscreen di mobile */
  .admin-panel { width: 100%; right: -100%; }

  /* Section divider margin reset */
  .section-divider { margin: 0; }
}

@media (max-width: 480px) {
  .cat-pills { gap: 8px; }
  /* Masih 2 kolom tapi dengan gap lebih kecil */
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-img { font-size: 36px; }
  .product-img i { font-size: 36px; }
  .product-cat-badge { font-size: 9px; }
  .product-name { font-size: 12px; }
  .product-price { font-size: 11px; margin-bottom: 8px; }
  .product-price strong { font-size: 12px; }
  .product-info { padding: 9px; }
  .btn-buy { padding: 7px; font-size: 11px; }
  /* Hero */
  .hero-title { letter-spacing: -0.3px; }
  .hero-subtitle { font-size: 13px; }
  .hero-stats { gap: 16px; flex-wrap: nowrap; }
  .hero-stat-num { font-size: 13px; }
  /* Section title */
  .section-title { font-size: 15px; }
  /* Footer bottom */
  .footer-bottom { flex-direction: column; text-align: center; gap: 4px; }
}

/* Layar sangat sempit (< 380px) — 1 kolom */
@media (max-width: 380px) {
  .products-grid { grid-template-columns: 1fr; gap: 12px; }
  .product-img { font-size: 54px; }
  .product-img i { font-size: 54px; }
  .product-name { font-size: 15px; }
  .product-info { padding: 14px; }
  .btn-buy { font-size: 13px; padding: 9px; }
  .navbar { padding: 0 12px; }
  .hero { padding: 40px 12px; }
}

/* ===== ANIMATIONS ===== */
.fade-in { animation: fadeIn 0.4s ease both; }
@keyframes fadeIn { from{opacity:0;transform:translateY(4px)} to{opacity:1;transform:translateY(0)} }
.product-card, .benefit-card { animation: fadeIn 0.35s ease both; }

/* ===== TOAST ===== */
.toast {
  position: fixed; bottom: 90px; left: 50%; transform: translateX(-50%);
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px;
  padding: 10px 18px; font-size: 13px; font-weight: 600; color: var(--text-primary);
  box-shadow: var(--shadow); z-index: 2000;
  animation: fadeIn 0.3s ease; display: none;
}
.toast.show { display: block; }

/* ===== FONT AWESOME ICON SIZES ===== */
/* Product card icon */
.product-img i {
  font-size: 54px;
  color: rgba(255,255,255,0.35);
}
/* Favorite button icon */
.product-fav i { font-size: 13px; color: inherit; }

/* Benefit card icon */
.benefit-icon-wrap i {
  font-size: 18px;
  color: var(--text-muted);
}

/* Phone mockup categories */
.phone-cat-icon i {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
}

/* Phone mockup product thumbnails */
.phone-product-img i {
  font-size: 28px;
  color: rgba(255,255,255,0.85);
}

/* Section header icon */
.section-icon i {
  font-size: 16px;
  color: var(--text-muted);
}

/* Category pill icon */
.cat-pill i { font-size: 11px; }

/* Navbar button icons */
.nav-btn i { font-size: 13px; }

/* Section link chevron */
.section-link i { font-size: 12px; }

/* Footer social buttons */
.social-btn i {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
}
.social-btn:hover i { color: var(--text-secondary); }

/* Footer payment badges */
.payment-badge i {
  font-size: 12px;
  color: var(--text-muted);
}

/* WhatsApp button */
.wa-btn i {
  font-size: 28px;
  color: white;
}

/* WhatsApp bubble close */
.wa-bubble-close i { font-size: 10px; }

/* WhatsApp bubble icon */
.wa-bubble > i { font-size: 15px; color: var(--accent-light); }

/* Admin toggle icon */
.admin-toggle i { font-size: 12px; }

/* Admin close icon */
.admin-close i { font-size: 14px; }

/* Admin section title icons */
.admin-section-title i {
  font-size: 13px;
  color: var(--accent-light);
  margin-right: 4px;
}

/* Admin title icon */
.admin-title i { font-size: 16px; color: var(--accent-light); }

/* Buy button icon */
.btn-buy i { font-size: 12px; }

/* Primary / outline button icons */
.btn-primary i, .btn-outline i { font-size: 12px; }

/* Hero badge star */
.hero-badge i { font-size: 11px; }

/* Benefit editor icon preview */
#benefitEditors i { font-size: 13px; color: var(--accent-light); }

