/* ==========================================================================
   Subscription Dock — Dark Theme Design System (#01313f Base)
   Rich Ocean Teal Dark Mode, Light Version Logo, Zero-Friction WhatsApp Checkout
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;750;800&display=swap');

:root {
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Rich Deep Ocean Teal Dark Palette (Base: #01313f instead of black) */
  --bg: #01313f;                              /* Primary base background */
  --bg-subtle: #01242e;                       /* Deeper contrast for header, footer, announcement */
  --bg-muted: #023c4d;                        /* Muted secondary background */
  --panel: #023a4a;                           /* Panel / modal background */
  --panel-card: #023847;                      /* Product card background */
  --panel-card-hover: #03485b;                /* Hover state for cards */
  --panel-border: rgba(255, 255, 255, 0.12);  /* Crisp border */
  --panel-border-hover: rgba(56, 189, 248, 0.4);
  
  /* Text Colors */
  --text: #ffffff;                            /* Primary titles & high-emphasis text */
  --text-dim: #e0f2fe;                        /* Body text & secondary details */
  --text-muted: #94a3b8;                      /* Metadata, subtitles, helper text */
  
  /* Brand Accents */
  --accent: #38bdf8;                          /* Icy cyan from light logo */
  --accent-subtle: rgba(56, 189, 248, 0.15);
  --accent-border: rgba(56, 189, 248, 0.35);
  
  --primary: #0284c7;                         /* Primary brand actions */
  --primary-hover: #0369a1;
  --primary-subtle: rgba(2, 132, 199, 0.2);
  --primary-border: rgba(2, 132, 199, 0.4);
  
  /* WhatsApp Emerald Green */
  --wa: #16a34a;
  --wa-hover: #15803d;
  --wa-subtle: rgba(34, 197, 94, 0.18);
  --wa-border: rgba(34, 197, 94, 0.38);
  
  --success: #22c55e;
  --success-bg: rgba(34, 197, 94, 0.15);
  --danger: #ef4444;
  --danger-bg: rgba(239, 68, 68, 0.15);
  
  /* Geometry & Shadows */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 14px 35px rgba(0, 0, 0, 0.5);
  
  --transition: all 0.16s ease-in-out;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--text-dim);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: min(1160px, 92%);
  margin-inline: auto;
}



/* --------------------------------------------------------------------------
   Header & Navigation
   -------------------------------------------------------------------------- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(1, 36, 46, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--panel-border);
}

.nav {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo-img {
  height: 38px;
  max-height: 40px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}

.footer-logo-img {
  height: 34px;
  max-height: 38px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
  margin-bottom: 10px;
}

.brand span {
  color: var(--accent);
  font-weight: 700;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-muted);
}

.navlinks a:hover,
.navlinks a.active {
  color: #ffffff;
}

.navlinks a.active {
  font-weight: 600;
  color: var(--accent);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Currency Switcher */
.currency-switch {
  display: inline-flex;
  align-items: center;
  background: var(--bg-subtle);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-sm);
  padding: 2px;
  gap: 2px;
}

.currency-btn {
  background: none;
  border: 0;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.currency-btn:hover {
  color: #ffffff;
}

.currency-btn.active {
  background: var(--panel-card-hover);
  color: #ffffff;
  border: 1px solid rgba(56, 189, 248, 0.4);
}

.btn-nav-wa {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--wa-subtle);
  border: 1px solid var(--wa-border);
  color: #4ade80;
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius);
  transition: var(--transition);
}

.btn-nav-wa:hover {
  background: var(--wa);
  border-color: var(--wa);
  color: #ffffff;
}

.menu-toggle {
  display: none;
  background: var(--bg-subtle);
  border: 1px solid var(--panel-border);
  color: var(--text);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* Mobile Nav Drawer */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.mobile-nav-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(300px, 85vw);
  background: var(--bg-subtle);
  border-left: 1px solid var(--panel-border);
  z-index: 160;
  transform: translateX(100%);
  transition: transform 0.22s ease;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.mobile-nav-drawer.open {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--panel-border);
  margin-bottom: 16px;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav-links a {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 15px;
  color: var(--text-dim);
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
  background: var(--panel-card);
  color: #ffffff;
  font-weight: 600;
}

.mobile-nav-footer {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--panel-border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* --------------------------------------------------------------------------
   Buttons & Core Components
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: 1px solid var(--panel-border);
  background: var(--panel-card);
  color: #ffffff;
  transition: var(--transition);
  user-select: none;
  white-space: nowrap;
}

.btn:hover {
  background: var(--panel-card-hover);
  border-color: var(--panel-border-hover);
}

.btn:active {
  transform: translateY(1px);
}

.btn.primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.btn.primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
}

.btn.whatsapp {
  background: var(--wa);
  border-color: var(--wa);
  color: #fff;
}

.btn.whatsapp:hover {
  background: var(--wa-hover);
  border-color: var(--wa-hover);
}

.btn.sm {
  padding: 6px 12px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

.btn.lg {
  padding: 12px 22px;
  font-size: 15px;
  border-radius: var(--radius);
}

.btn.block {
  width: 100%;
}

.btn:disabled,
.btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.badge.in-stock {
  background: var(--success-bg);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.badge.out {
  background: var(--danger-bg);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge.type-shared {
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.badge.type-personal {
  background: var(--accent-subtle);
  color: #7dd3fc;
  border: 1px solid var(--accent-border);
}

/* --------------------------------------------------------------------------
   Hero Section (#01313f Base)
   -------------------------------------------------------------------------- */
.hero {
  padding: 56px 0 42px;
  background: var(--bg);
  border-bottom: 1px solid var(--panel-border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.28);
  color: #7dd3fc;
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  width: fit-content;
}

.hero-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38bdf8;
}

.hero h1 {
  font-size: clamp(34px, 4.5vw, 50px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: #ffffff;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero p {
  font-size: 16.5px;
  color: #cbd5e1;
  max-width: 520px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.hero-guarantee {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 500;
  flex-wrap: wrap;
}

.hero-guarantee span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-guarantee span svg {
  color: #4ade80;
}

/* Hero Preview Card */
.hero-card {
  background: var(--panel-card);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}

.hero-card-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--panel-border);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
}

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

/* Uniform Logo Styling */
.hero-card-logo,
.card-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--bg-subtle);
  border: 1px solid var(--panel-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bae6fd;
  flex-shrink: 0;
  overflow: hidden;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.hero-card-logo {
  width: 48px;
  height: 48px;
}

.card:hover .card-logo {
  transform: scale(1.05);
}

.card-logo img,
.hero-card-logo img,
#modalLogo img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.hero-card-logo img {
  width: 32px;
  height: 32px;
}

.detail-logo {
  width: 52px !important;
  height: 52px !important;
  border-radius: 12px;
}

.detail-logo img {
  width: 36px !important;
  height: 36px !important;
}

.card-logo svg,
.hero-card-logo svg,
#modalLogo svg {
  width: 24px;
  height: 24px;
}

.hero-card-title h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 2px;
  color: #ffffff;
}

.hero-card-title span {
  font-size: 13px;
  color: var(--text-muted);
}

.hero-card-features {
  list-style: none;
  display: grid;
  gap: 8px;
  margin: 16px 0;
}

.hero-card-features li {
  font-size: 13.5px;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-card-features li svg {
  color: #4ade80;
  flex-shrink: 0;
}

.hero-card-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-subtle);
  border: 1px solid var(--panel-border);
  padding: 12px 16px;
  border-radius: var(--radius);
  margin-bottom: 16px;
}

.hero-card-price-row .price-val {
  font-size: 22px;
  font-weight: 750;
  color: #ffffff;
}

.hero-card-price-row .price-label {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Trust Section & Value Stats
   -------------------------------------------------------------------------- */
.trust-bar {
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--panel-border);
  padding: 24px 0;
}

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

.stats {
  margin-top: 14px;
}

.trust-item,
.stat {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  min-height: 68px;
  background: var(--panel-card);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  box-sizing: border-box;
  transition: border-color 0.16s ease, transform 0.16s ease;
}

.trust-item:hover,
.stat:hover {
  border-color: rgba(56, 189, 248, 0.35);
}

.trust-item {
  gap: 12px;
}

.trust-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--accent-subtle);
  border: 1px solid var(--accent-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.trust-text h4 {
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 1px;
  color: #ffffff;
}

.trust-text p {
  font-size: 12px;
  color: var(--text-muted);
}

.stat {
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.stat strong {
  display: block;
  font-size: 19px;
  font-weight: 750;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 2px;
}

.stat span {
  display: block;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.3;
}

/* --------------------------------------------------------------------------
   Section Layouts
   -------------------------------------------------------------------------- */
.section {
  padding: 44px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.section-head h2 {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 750;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.section-head p {
  color: var(--text-muted);
  font-size: 15px;
  margin-top: 4px;
}

/* Category Filter Chips */
.filter-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.chip {
  background: var(--panel-card);
  border: 1px solid var(--panel-border);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
}

.chip:hover {
  background: var(--panel-card-hover);
  color: #ffffff;
  border-color: var(--panel-border-hover);
}

.chip.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Product Cards & Grid
   -------------------------------------------------------------------------- */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  background: var(--panel-card);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.card:hover {
  background: var(--panel-card-hover);
  border-color: var(--panel-border-hover);
  box-shadow: var(--shadow);
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

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

.card-category {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.card h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  line-height: 1.3;
  color: #ffffff;
}

.card-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.card-type-desc {
  font-size: 13px;
  color: var(--text-muted);
  min-height: 36px;
  line-height: 1.4;
  margin-bottom: 14px;
}

.card-features-mini {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 16px;
  padding-top: 10px;
  border-top: 1px solid var(--panel-border);
}

.card-features-mini span {
  font-size: 12.5px;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-features-mini span svg {
  color: #4ade80;
  flex-shrink: 0;
}

.card-bottom {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--panel-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card-price small {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-muted);
}

.card-price .amount {
  font-size: 20px;
  font-weight: 750;
  color: #ffffff;
}

.card-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* --------------------------------------------------------------------------
   Search & Toolbar (`products.html`)
   -------------------------------------------------------------------------- */
.toolbar-wrap {
  background: var(--bg-subtle);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 24px;
}

.toolbar {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 12px;
  align-items: center;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-box svg {
  position: absolute;
  left: 12px;
  color: var(--text-muted);
  pointer-events: none;
}

.search-box input {
  width: 100%;
  background: var(--panel-card);
  border: 1px solid var(--panel-border);
  color: #ffffff;
  border-radius: var(--radius-sm);
  padding: 9px 12px 9px 38px;
  outline: none;
  font-size: 14px;
  transition: var(--transition);
}

.search-box input:focus {
  border-color: var(--accent);
}

.select {
  width: 100%;
  background: var(--panel-card);
  border: 1px solid var(--panel-border);
  color: #ffffff;
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  outline: none;
  cursor: pointer;
  font-size: 13.5px;
  transition: var(--transition);
}

.select:focus {
  border-color: var(--accent);
}

.toolbar-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--panel-border);
  font-size: 13px;
  color: var(--text-muted);
}

.toolbar-status b {
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   How It Works & Reviews
   -------------------------------------------------------------------------- */
.how-it-works,
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.step-card,
.review-card {
  background: var(--panel-card);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.step-num {
  font-size: 26px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 12px;
}

.step-card h3 {
  font-size: 16.5px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #ffffff;
}

.step-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

.review-stars {
  color: #fbbf24;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.review-text {
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.55;
  margin-bottom: 14px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--panel-border);
}

.review-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-subtle);
  border: 1px solid var(--panel-border);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
}

.review-meta h5 {
  font-size: 13px;
  font-weight: 650;
  color: #ffffff;
}

.review-meta span {
  font-size: 11.5px;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Order Modal (Zero-Friction WhatsApp Direct Order)
   -------------------------------------------------------------------------- */
.order-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.order-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.order-modal {
  background: var(--bg-subtle);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  width: min(480px, 96vw);
  max-height: min(90vh, 680px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.08);
  position: relative;
}

.details-modal {
  width: min(560px, 96vw);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 22px 14px;
  border-bottom: 1px solid var(--panel-border);
  background: var(--bg-subtle);
  flex-shrink: 0;
  margin-bottom: 0;
}

.modal-title h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.modal-title p {
  font-size: 13px;
  color: var(--text-muted);
}

.modal-close {
  background: var(--panel-card);
  border: 1px solid var(--panel-border);
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: var(--transition);
  flex-shrink: 0;
}

.modal-close:hover {
  color: #ffffff;
  border-color: var(--panel-border-hover);
}

.modal-body {
  padding: 18px 22px;
  overflow-y: auto;
  flex: 1 1 auto;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
}

.modal-body::-webkit-scrollbar {
  width: 6px;
}

.modal-body::-webkit-scrollbar-track {
  background: transparent;
}

.modal-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

.modal-footer {
  padding: 12px 20px 16px;
  border-top: 1px solid var(--panel-border);
  background: var(--bg-subtle);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: none;
  transition: box-shadow 0.2s ease;
  position: relative;
  z-index: 2;
}

.modal-footer.has-scroll-below {
  box-shadow: 0 -12px 26px rgba(0, 0, 0, 0.55);
}

.modal-footer .modal-actions {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.modal-plan-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0;
  background: transparent;
  border: none;
}

.modal-plan-dropdown-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.modal-plan-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.modal-select-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}

.modal-plan-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: var(--panel-card);
  color: #ffffff;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-sm);
  padding: 8px 30px 8px 11px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  transition: var(--transition);
  width: 100%;
  font-family: inherit;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.modal-plan-select:hover:not(:disabled) {
  border-color: var(--panel-border-hover);
  background: #02556d;
}

.modal-plan-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.2);
}

.modal-plan-select:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.modal-plan-select option {
  background: #01313f;
  color: #ffffff;
  padding: 8px;
}

.modal-select-wrapper .select-arrow {
  position: absolute;
  right: 10px;
  pointer-events: none;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-plan-price-block {
  text-align: right;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-price-main {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.modal-price-sub {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.2;
  margin-top: 2px;
}

.modal-section {
  margin-bottom: 18px;
}

.modal-section-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.plan-options {
  display: grid;
  gap: 8px;
}

.plan-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  background: var(--panel-card);
  border: 1.5px solid var(--panel-border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
}

.plan-option:hover {
  border-color: var(--panel-border-hover);
}

.plan-option.selected {
  border-color: var(--wa);
  background: var(--wa-subtle);
}

.plan-option-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-radio {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--panel-border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.plan-option.selected .plan-radio {
  border-color: var(--wa);
}

.plan-option.selected .plan-radio::after {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--wa);
}

.plan-option-name {
  font-size: 14px;
  font-weight: 650;
  color: #ffffff;
}

.plan-option-price {
  font-size: 15px;
  font-weight: 750;
  text-align: right;
  color: #ffffff;
}

.modal-input {
  width: 100%;
  background: var(--panel-card);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  color: #ffffff;
  font-size: 13.5px;
  outline: none;
}

.modal-input:focus {
  border-color: var(--accent);
}

.order-preview {
  background: var(--bg-subtle);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: #bae6fd;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 80px;
  overflow-y: auto;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--panel-card);
  border: 1px solid var(--accent);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  z-index: 300;
  opacity: 0;
  transition: all 0.2s ease;
  pointer-events: none;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Floating WhatsApp Widget */
.floating-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--wa);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-weight: 650;
  font-size: 13.5px;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.45);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.floating-wa:hover {
  background: var(--wa-hover);
  transform: translateY(-2px);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
}

/* --------------------------------------------------------------------------
   Product Detail Page
   -------------------------------------------------------------------------- */
.page {
  padding: 40px 0 60px;
}

.crumb {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.crumb a:hover {
  color: #ffffff;
}

.detail {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 28px;
  align-items: start;
}

.detail-main,
.detail-side {
  background: var(--panel-card);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}

.detail-side {
  position: sticky;
  top: 90px;
}

.detail h1 {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 750;
  letter-spacing: -0.03em;
  margin: 10px 0;
  color: #ffffff;
}

.detail-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 14px 0;
}

.detail-section {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--panel-border);
}

.detail-section h2 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 14px;
  color: #ffffff;
}

.feature-list {
  padding: 0;
  margin: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.feature-list li {
  padding: 10px 14px;
  background: var(--bg-subtle);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
}

.feature-list li svg {
  color: #4ade80;
  flex-shrink: 0;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.info-card {
  padding: 12px 14px;
  border: 1px solid var(--panel-border);
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
}

.info-card small {
  display: block;
  color: var(--text-muted);
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 2px;
}

.info-card span {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

/* Category Grid & FAQ */
.categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.cat {
  padding: 18px;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  background: var(--panel-card);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: var(--shadow-sm);
}

.cat:hover {
  background: var(--panel-card-hover);
  border-color: var(--panel-border-hover);
  box-shadow: var(--shadow);
}

.cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cat strong {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.cat span {
  color: var(--text-muted);
  font-size: 12.5px;
}

.faqs {
  display: grid;
  gap: 10px;
}

.faq {
  background: var(--panel-card);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq button {
  width: 100%;
  padding: 16px 20px;
  background: none;
  border: 0;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-size: 15px;
  font-weight: 650;
  cursor: pointer;
}

.faq button .icon-plus {
  font-size: 18px;
  color: var(--text-muted);
}

.faq.open button .icon-plus {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq p {
  display: none;
  color: var(--text-dim);
  padding: 0 20px 16px;
  line-height: 1.55;
  font-size: 14px;
}

.faq.open p {
  display: block;
}

.notice {
  padding: 14px 18px;
  border: 1px solid rgba(56, 189, 248, 0.25);
  background: rgba(56, 189, 248, 0.1);
  border-radius: var(--radius);
  color: #bae6fd;
  font-size: 13px;
  line-height: 1.5;
}

.contact-box {
  padding: 30px;
  background: var(--panel-card);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  max-width: 720px;
  margin-inline: auto;
  box-shadow: var(--shadow-sm);
}

.contact-box h1 {
  font-size: 28px;
  font-weight: 750;
  margin-bottom: 10px;
  color: #ffffff;
}

.contact-box p {
  color: var(--text-dim);
  font-size: 14.5px;
  margin-bottom: 18px;
}

.empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--text-muted);
  border: 1px dashed var(--panel-border);
  border-radius: var(--radius);
  grid-column: 1 / -1;
}



/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
footer {
  margin-top: auto;
  border-top: 1px solid var(--panel-border);
  background: var(--bg-subtle);
  padding: 40px 0 28px;
  color: var(--text-muted);
  font-size: 13.5px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-weight: 500;
}

.footer-links a:hover {
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .how-it-works,
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .detail {
    grid-template-columns: 1fr;
  }
  .detail-side {
    position: static;
  }
  .toolbar {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .toolbar .search-box {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .navlinks, .btn-nav-wa {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .hero {
    padding: 32px 0 24px;
  }
  .hero h1 {
    font-size: 30px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .categories {
    grid-template-columns: 1fr;
  }
  .trust-bar,
  .stats-section {
    display: none;
  }
  .how-it-works,
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .toolbar {
    grid-template-columns: 1fr;
  }
  .info-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }
  .floating-wa {
    bottom: 16px;
    right: 16px;
    padding: 9px 15px;
    font-size: 13px;
  }
  .order-modal {
    width: 96vw;
    max-height: 92vh;
  }
  .modal-header {
    padding: 14px 16px 12px;
  }
  .modal-body {
    padding: 14px 16px;
  }
  .modal-footer {
    padding: 10px 14px 14px;
  }
  .modal-plan-line {
    padding: 0;
    gap: 8px;
  }
  .modal-plan-select {
    font-size: 13px;
    padding: 7px 26px 7px 9px;
  }
  .modal-price-main {
    font-size: 15px;
  }
}
