/* ── HUB721 DESIGN SYSTEM ───────────────────────────────── */
:root {
  --navy:    #0a1628;
  --blue:    #2563eb;
  --blue2:   #3b82f6;
  --blue-lt: #dbeafe;
  --blue-bg: #f0f4ff;
  --white:   #ffffff;
  --bg:      #f8fafc;
  --gray:    #f1f5f9;
  --border:  #e2e8f0;
  --text:    #0a1628;
  --muted:   #64748b;
  --subtle:  #e2e8f0;
  --green:   #16a34a;
  --red:     #dc2626;
  --tg:      #229ED9;
  --wa:      #25D366;
  --shadow:  0 1px 3px rgba(0,0,0,0.08);
  --shadow2: 0 4px 16px rgba(0,0,0,0.10);
  --shadow3: 0 8px 32px rgba(37,99,235,0.15);
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ──────────────────────────────────────────────────── */
.nav-top {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 32px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow);
}
.nav-logo { cursor: pointer; display: flex; align-items: center; height: 44px; }
.nav-logo img { height: 38px; width: auto; object-fit: contain; display: block; }
.nav-logo-text { font-size: 22px; font-weight: 900; color: var(--navy); letter-spacing: -0.5px; display: none; }
.nav-logo-text span { color: var(--blue); }
.nav-top-right { display: flex; align-items: center; gap: 12px; }
.cart-btn {
  position: relative; background: var(--navy); border: none;
  border-radius: 8px; padding: 8px 18px; cursor: pointer;
  color: var(--white); font-size: 13px; font-weight: 700;
  display: flex; align-items: center; gap: 7px; transition: opacity 0.2s;
}
.cart-btn:hover { opacity: 0.88; }
.cart-count {
  position: absolute; top: -7px; right: -7px;
  background: var(--blue); color: #fff; border-radius: 50%;
  width: 18px; height: 18px; font-size: 10px;
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.hamburger span { width: 22px; height: 2px; background: var(--navy); border-radius: 2px; }

/* Desktop nav row 2 */
.nav-bottom {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 32px;
  display: flex;
  justify-content: center;
  gap: 4px;
}
.nav-link {
  padding: 10px 16px; border-radius: 0; font-size: 13px; font-weight: 500;
  color: var(--muted); cursor: pointer; border: none; background: none;
  border-bottom: 2px solid transparent; transition: all 0.2s; text-decoration: none;
  display: inline-flex; align-items: center;
}
.nav-link:hover, .nav-link.active { color: var(--navy); border-bottom-color: var(--blue); }

/* Mobile menu */
.mobile-menu {
  display: none; position: fixed; top: 56px; left: 0; right: 0;
  background: var(--white); border-bottom: 1px solid var(--border);
  padding: 12px 16px; z-index: 199; flex-direction: column; gap: 4px;
  box-shadow: var(--shadow2);
}
.mobile-menu.open { display: flex; }
.mobile-link {
  padding: 12px 16px; border-radius: 8px; font-size: 14px;
  color: var(--muted); cursor: pointer; border: none; background: none;
  text-align: left; font-weight: 500; transition: all 0.2s; text-decoration: none;
  display: block;
}
.mobile-link:hover, .mobile-link.active { color: var(--navy); background: var(--gray); }
.mobile-cart {
  background: var(--navy); color: var(--white); border-radius: 8px;
  padding: 12px 16px; font-size: 14px; font-weight: 700;
  border: none; cursor: pointer; text-align: left; margin-top: 4px;
}

/* ── BANNER ───────────────────────────────────────────────── */
.banner-wrap {
  background: var(--navy); height: 42px;
  position: relative; overflow: hidden;
}
.banner-slides { display: flex; transition: transform 0.5s ease; height: 100%; }
.banner-slide {
  min-width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  padding: 0 16px; text-align: center;
}
.banner-slide span { font-size: 11px; color: rgba(255,255,255,0.85); letter-spacing: 0.3px; }
.banner-dots {
  position: absolute; bottom: 5px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 4px;
}
.banner-dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,0.3); transition: background 0.3s; }
.banner-dot.active { background: #fff; }

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn-primary {
  background: var(--blue); color: #fff; border: none;
  border-radius: 10px; padding: 13px 28px; font-size: 14px;
  font-weight: 700; cursor: pointer; transition: all 0.2s; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
}
.btn-primary:hover { background: #1d4ed8; transform: translateY(-1px); box-shadow: var(--shadow3); }
.btn-outline {
  background: transparent; color: var(--navy); border: 2px solid var(--border);
  border-radius: 10px; padding: 11px 24px; font-size: 14px;
  font-weight: 600; cursor: pointer; transition: all 0.2s; text-decoration: none;
  display: inline-flex; align-items: center;
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #1fa855; }
.btn-tg { background: var(--tg); color: #fff; }
.btn-tg:hover { background: #1a8abf; }
.btn-back {
  background: none; border: 1px solid var(--border); border-radius: 8px;
  padding: 8px 16px; font-size: 13px; color: var(--muted);
  cursor: pointer; transition: all 0.2s; font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px; text-decoration: none;
}
.btn-back:hover { color: var(--navy); border-color: var(--blue); }

/* ── HOME PAGE ────────────────────────────────────────────── */
/* Hero desktop */
.hero-wrap {
  max-width: 1200px; margin: 0 auto;
  padding: 72px 48px 56px;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 64px;
}
.hero-eyebrow {
  font-size: 11px; font-weight: 700; color: var(--blue);
  letter-spacing: 3px; text-transform: uppercase; margin-bottom: 16px;
}
.hero-title {
  font-size: 48px; font-weight: 900; color: var(--navy);
  line-height: 1.1; margin-bottom: 16px; letter-spacing: -1px;
}
.hero-sub {
  font-size: 16px; color: var(--muted); line-height: 1.7;
  margin-bottom: 24px; max-width: 440px;
}
.hero-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-tag {
  background: var(--blue-bg); border: 1px solid var(--blue-lt);
  border-radius: 20px; padding: 4px 14px;
  font-size: 12px; color: var(--blue); font-weight: 600;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* Product Vault — right side of hero */
.vault-wrap {
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.vault-card {
  background: var(--navy);
  border-radius: 24px;
  padding: 32px;
  width: 340px;
  box-shadow: 0 20px 60px rgba(10,22,40,0.25), 0 0 0 1px rgba(37,99,235,0.2);
  position: relative; overflow: hidden;
}
.vault-card::before {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.vault-label {
  font-size: 9px; font-weight: 700; color: rgba(255,255,255,0.4);
  letter-spacing: 3px; text-transform: uppercase; margin-bottom: 20px;
  display: flex; align-items: center; gap: 8px;
}
.vault-label::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,0.1); }
.vault-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 20px; }
.vault-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px; padding: 16px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  transition: all 0.2s;
}
.vault-item:hover { background: rgba(37,99,235,0.15); border-color: rgba(37,99,235,0.3); }
.vault-item img { width: 36px; height: 36px; object-fit: contain; border-radius: 8px; }
.vault-item-name { font-size: 10px; color: rgba(255,255,255,0.6); font-weight: 600; text-align: center; }
.vault-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.08);
}
.vault-more { font-size: 11px; color: rgba(255,255,255,0.4); }
.vault-cta {
  background: var(--blue); border: none; border-radius: 8px;
  padding: 8px 16px; font-size: 12px; font-weight: 700;
  color: #fff; cursor: pointer; transition: opacity 0.2s; text-decoration: none;
}
.vault-cta:hover { opacity: 0.85; }

/* Hero mobile */
.hero-mobile {
  display: none; padding: 36px 20px 24px; text-align: center;
}
.hero-mobile .hero-eyebrow { margin-bottom: 10px; }
.hero-mobile .hero-title { font-size: 32px; margin-bottom: 12px; }
.hero-mobile .hero-sub { font-size: 14px; margin-bottom: 20px; max-width: 100%; }
.hero-mobile-btns { display: flex; flex-direction: column; gap: 10px; }
.hero-mobile-btns .btn-primary,
.hero-mobile-btns .btn-outline { width: 100%; justify-content: center; }

/* Stats */
.stats-bar {
  background: var(--white); border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 48px; display: flex; justify-content: center;
  gap: 72px; flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-num { font-size: 28px; font-weight: 900; color: var(--blue); }
.stat-label { font-size: 10px; color: var(--muted); letter-spacing: 2px; text-transform: uppercase; margin-top: 4px; }

/* Featured strip */
.featured-section { background: var(--white); border-bottom: 1px solid var(--border); padding: 28px 0; }
.section-label {
  font-size: 10px; font-weight: 700; color: var(--muted);
  letter-spacing: 3px; text-transform: uppercase;
  text-align: center; margin-bottom: 16px; padding: 0 16px;
}
.featured-outer { overflow: hidden; position: relative; }
.featured-outer::before, .featured-outer::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 60px;
  z-index: 2; pointer-events: none;
}
.featured-outer::before { left: 0; background: linear-gradient(to right, var(--white), transparent); }
.featured-outer::after { right: 0; background: linear-gradient(to left, var(--white), transparent); }
.featured-track {
  display: flex; gap: 12px; padding: 4px 24px;
  animation: scrollFeat 30s linear infinite; width: max-content;
}
.featured-track:hover { animation-play-state: paused; }
@keyframes scrollFeat { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.feat-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: 12px;
  padding: 12px 18px; display: flex; align-items: center; gap: 12px;
  cursor: pointer; transition: all 0.2s; white-space: nowrap; flex-shrink: 0; min-width: 190px;
}
.feat-card:hover { background: var(--white); box-shadow: var(--shadow2); border-color: var(--blue); transform: translateY(-2px); }
.feat-icon { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feat-icon img { width: 30px; height: 30px; object-fit: contain; border-radius: 6px; }
.feat-name { font-size: 12px; font-weight: 700; color: var(--navy); }
.feat-price { font-size: 11px; color: var(--blue); font-weight: 600; margin-top: 2px; }

/* About section (home) */
.about-home {
  max-width: 1200px; margin: 0 auto; padding: 72px 48px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
}
.about-img-panel {
  background: var(--blue-bg); border-radius: 20px;
  padding: 32px; min-height: 320px;
  display: flex; align-items: center; justify-content: center;
}
.about-icons-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 100%; }
.about-icon-card {
  background: var(--white); border-radius: 16px; padding: 24px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow); transition: all 0.2s;
}
.about-icon-card:hover { box-shadow: var(--shadow2); transform: translateY(-2px); }
.about-icon-card img { width: 44px; height: 44px; object-fit: contain; }

.about-eyebrow {
  font-size: 11px; font-weight: 700; color: var(--blue);
  letter-spacing: 3px; text-transform: uppercase; margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.about-eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--blue); }

.about-title { font-size: 32px; font-weight: 900; color: var(--navy); line-height: 1.2; margin-bottom: 14px; }
.about-desc { font-size: 14px; color: var(--muted); line-height: 1.8; margin-bottom: 24px; }
.about-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.about-check {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text); font-weight: 500;
}

.check-icon {
  width: 20px; height: 20px; background: var(--blue-bg); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--blue); font-size: 11px; font-weight: 700;
}

/* How it works */
.how-section {
  background: var(--gray); padding: 72px 48px;
}
.how-inner { max-width: 1200px; margin: 0 auto; }
.section-eyebrow {
  font-size: 10px; font-weight: 700; color: var(--muted);
  letter-spacing: 3px; text-transform: uppercase;
  text-align: center; margin-bottom: 8px;
  display: flex; align-items: center; justify-content: center; gap: 14px;
}
.section-eyebrow::before, .section-eyebrow::after { content: ''; width: 40px; height: 1px; background: var(--border); }
.section-title { font-size: 30px; font-weight: 900; color: var(--navy); text-align: center; margin-bottom: 8px; }
.section-sub { font-size: 14px; color: var(--muted); text-align: center; margin-bottom: 40px; line-height: 1.6; max-width: 560px; margin-left: auto; margin-right: auto; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.how-card {
  background: var(--white); border-radius: 16px; padding: 32px 24px;
  text-align: center; box-shadow: var(--shadow); transition: all 0.2s;
}
.how-card:hover { box-shadow: var(--shadow2); transform: translateY(-2px); }
.how-icon-wrap {
  width: 60px; height: 60px; border-radius: 16px;
  background: var(--blue-bg); border: 1px solid var(--blue-lt);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px; font-size: 26px;
}
.how-card-title { font-size: 15px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.how-card-desc { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ── FOOTER ───────────────────────────────────────────────── */
footer {
  background: var(--navy); color: var(--white);
  padding: 36px 48px 24px;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: flex-start;
  justify-content: space-between; flex-wrap: wrap; gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand {}
.footer-logo-img { height: 28px; width: auto; opacity: 0.9; margin-bottom: 8px; display: block; }
.footer-logo-text { font-size: 18px; font-weight: 900; color: #fff; letter-spacing: -0.5px; margin-bottom: 6px; display: none; }
.footer-logo-text span { color: var(--blue2); }
.footer-tag { font-size: 12px; color: rgba(255,255,255,0.45); font-style: italic; }
.footer-socials { display: flex; gap: 10px; align-items: center; }
.footer-soc {
  width: 38px; height: 38px; border-radius: 9px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; text-decoration: none; cursor: pointer;
  transition: all 0.2s;
}
.footer-soc:hover { background: rgba(255,255,255,0.16); }
.footer-copy {
  max-width: 1200px; margin: 16px auto 0;
  font-size: 11px; color: rgba(255,255,255,0.35); text-align: center;
}

/* ── PRODUCTS PAGE ────────────────────────────────────────── */
.products-wrap { max-width: 1200px; margin: 0 auto; padding: 40px 48px 60px; }
.prod-page-header { text-align: center; margin-bottom: 28px; }
.prod-page-title { font-size: 28px; font-weight: 900; color: var(--navy); margin-bottom: 6px; }
.prod-page-sub { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.prod-divider { width: 40px; height: 3px; background: var(--blue); border-radius: 2px; margin: 0 auto; }

/* Category dropdown */
.cat-dropdown-wrap { margin-bottom: 28px; position: relative; max-width: 320px; }
.cat-dropdown {
  width: 100%; padding: 11px 16px; border: 1px solid var(--border);
  border-radius: 10px; font-size: 14px; color: var(--text);
  background: var(--white); appearance: none; cursor: pointer;
  font-weight: 500; transition: border-color 0.2s; outline: none;
}
.cat-dropdown:focus { border-color: var(--blue); }
.cat-dropdown-icon { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); font-size: 12px; }

/* Product sections */
.prod-section { margin-bottom: 28px; }
.prod-section-head {
  background: var(--navy); border-radius: 10px 10px 0 0;
  padding: 11px 20px; font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; color: #fff;
}
.prod-table {
  background: var(--white); border: 1px solid var(--border);
  border-top: none; border-radius: 0 0 10px 10px; overflow: hidden;
  box-shadow: var(--shadow);
}
.prod-table-head {
  display: grid; grid-template-columns: 1fr 110px 100px 48px;
  padding: 9px 20px; font-size: 10px; font-weight: 700;
  color: var(--muted); letter-spacing: 1px; text-transform: uppercase;
  border-bottom: 1px solid var(--border); background: var(--gray);
}
.prod-row {
  display: grid; grid-template-columns: 1fr 110px 100px 48px;
  padding: 13px 20px; align-items: center;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s; cursor: pointer; text-decoration: none; color: inherit;
}
.prod-row:last-child { border-bottom: none; }
.prod-row:hover { background: var(--blue-bg); }
.prod-info { display: flex; align-items: center; gap: 14px; }
.prod-logo-wrap { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.prod-logo-wrap img { width: 32px; height: 32px; object-fit: contain; border-radius: 7px; }
.prod-name { font-size: 13px; font-weight: 600; color: var(--text); }
.prod-price-cell { font-size: 13px; font-weight: 700; color: var(--blue); text-align: center; }
.prod-stock-cell { font-size: 11px; font-weight: 600; text-align: center; }
.stock-in { color: var(--green); }
.stock-out { color: var(--red); }
.bag-btn {
  width: 34px; height: 34px; border-radius: 8px; border: none;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 16px; transition: all 0.2s; margin-left: auto;
}
.bag-btn-on { background: var(--blue); color: #fff; }
.bag-btn-on:hover { background: #1d4ed8; transform: scale(1.05); }
.bag-btn-off { background: var(--gray); color: var(--subtle); cursor: not-allowed; }

/* Digital Tools card grid */
.tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 16px; }
.tool-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden;
  box-shadow: var(--shadow); transition: all 0.2s; cursor: pointer;
  text-decoration: none; color: inherit;
}
.tool-card:hover { box-shadow: var(--shadow2); transform: translateY(-2px); border-color: var(--blue); }
.tool-card-img {
  width: 100%; aspect-ratio: 16/9; object-fit: cover;
  background: var(--blue-bg); display: flex;
  align-items: center; justify-content: center; font-size: 40px;
}
.tool-card-img img { width: 100%; height: 100%; object-fit: cover; }
.tool-card-img-placeholder { width: 100%; aspect-ratio: 16/9; background: var(--blue-bg); display: flex; align-items: center; justify-content: center; font-size: 40px; }
.tool-card-body { padding: 14px 16px; }
.tool-card-cat { font-size: 10px; font-weight: 700; color: var(--blue); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 4px; }
.tool-card-name { font-size: 14px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.tool-card-price { font-size: 18px; font-weight: 900; color: var(--blue); margin-bottom: 4px; }
.tool-card-stock { font-size: 11px; font-weight: 600; margin-bottom: 12px; }
.tool-card-btn {
  width: 100%; background: var(--navy); color: #fff; border: none;
  border-radius: 8px; padding: 10px; font-size: 13px; font-weight: 700;
  cursor: pointer; transition: opacity 0.2s;
}
.tool-card-btn:hover { opacity: 0.88; }
.tool-card-btn-disabled { background: var(--gray); color: var(--subtle); cursor: not-allowed; }

/* ── PRODUCT DETAIL PAGE ──────────────────────────────────── */
.detail-wrap { max-width: 600px; margin: 0 auto; padding: 32px 24px 60px; }
.detail-img-wrap {
  width: 100%; border-radius: 16px; overflow: hidden;
  background: var(--blue-bg); margin-bottom: 24px;
  display: flex; align-items: center; justify-content: center;
  min-height: 200px;
}
.detail-img-wrap img { width: 100%; object-fit: cover; }
.detail-img-placeholder { width: 100%; min-height: 200px; display: flex; align-items: center; justify-content: center; font-size: 64px; }
.detail-cat { font-size: 11px; font-weight: 700; color: var(--blue); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 8px; }
.detail-name { font-size: 26px; font-weight: 900; color: var(--navy); margin-bottom: 8px; }
.detail-price { font-size: 32px; font-weight: 900; color: var(--blue); margin-bottom: 6px; }
.detail-stock { font-size: 13px; font-weight: 600; margin-bottom: 16px; }
.detail-desc {
  background: var(--blue-bg); border: 1px solid var(--blue-lt);
  border-radius: 12px; padding: 14px 16px; font-size: 13px;
  color: var(--muted); line-height: 1.7; margin-bottom: 20px;
}
.detail-summary {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden; margin-bottom: 16px;
  box-shadow: var(--shadow);
}
.detail-sum-head {
  padding: 10px 18px; font-size: 10px; font-weight: 700;
  letter-spacing: 1px; color: var(--muted); text-transform: uppercase;
  border-bottom: 1px solid var(--border); background: var(--gray);
}
.detail-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 18px; border-bottom: 1px solid var(--border); font-size: 13px;
}
.detail-row:last-child { border-bottom: none; }
.detail-row-label { color: var(--muted); }
.detail-row-val { font-weight: 700; color: var(--navy); }
.detail-total { color: var(--blue); font-size: 16px; }
.qty-ctrl { display: flex; align-items: center; gap: 14px; }
.qty-btn {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--gray); border: 1px solid var(--border);
  color: var(--navy); font-size: 16px; font-weight: 700;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.qty-btn:hover { background: var(--blue-bg); border-color: var(--blue); }
.qty-num { font-size: 15px; font-weight: 800; min-width: 24px; text-align: center; color: var(--navy); }
.bank-box {
  background: var(--blue-bg); border: 1px solid var(--blue-lt);
  border-radius: 12px; padding: 16px 18px; margin-bottom: 16px;
  font-size: 12px; line-height: 2; color: var(--muted);
}
.bank-box  strong { color: var(--navy); }
.bank-acct { color: var(--blue); font-size: 15px; font-weight: 800; }
.detail-btns { display: flex; flex-direction: column; gap: 10px; }
.detail-btns a {
  width: 100%; border: none; border-radius: 12px; padding: 14px;
  font-size: 14px; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  gap: 8px; text-decoration: none; transition: all 0.2s;
}
.detail-btns a:hover { opacity: 0.88; transform: translateY(-1px); }
.detail-note { font-size: 11px; color: var(--muted); text-align: center; line-height: 1.5; margin-top: 10px; }
.detail-out { text-align: center; padding: 20px; }
.detail-out-title { font-size: 16px; font-weight: 700; color: var(--red); margin-bottom: 6px; }
.detail-out-sub { font-size: 13px; color: var(--muted); }

/* ── ABOUT PAGE ───────────────────────────────────────────── */
.about-wrap { max-width: 1200px; margin: 0 auto; padding: 48px 48px 64px; }
.about-hero {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center; margin-bottom: 64px;
}
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.about-grid-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 16px; padding: 28px; display: flex;
  align-items: center; justify-content: center;
  box-shadow: var(--shadow); transition: all 0.2s;
}
.about-grid-card:hover { box-shadow: var(--shadow2); transform: translateY(-2px); }
.about-grid-card img { width: 48px; height: 48px; object-fit: contain; }
.about-how { background: var(--gray); border-radius: 20px; padding: 52px 48px; }

/* ── SUPPORT PAGE ─────────────────────────────────────────── */
.support-wrap { max-width: 520px; margin: 0 auto; padding: 40px 24px; }
.page-title { font-size: 26px; font-weight: 900; color: var(--navy); margin-bottom: 6px; }
.page-sub { font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.sup-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 14px; padding: 18px 20px; margin-bottom: 12px;
  display: flex; align-items: center; gap: 16px;
  cursor: pointer; transition: all 0.2s; text-decoration: none; color: inherit;
  box-shadow: var(--shadow);
}
.sup-card:hover { box-shadow: var(--shadow2); transform: translateY(-1px); border-color: var(--blue); }
.sup-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
}
.si-tg  { background: #e0f2fe; }
.si-wa  { background: #dcfce7; }
.si-faq { background: var(--blue-bg); }
.sup-body { flex: 1; }
.sup-title { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.sup-desc { font-size: 12px; color: var(--muted); }
.sup-arr { color: var(--subtle); font-size: 22px; }

/* ── FAQ PAGE ─────────────────────────────────────────────── */
.faq-wrap { max-width: 520px; margin: 0 auto; padding: 40px 24px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 16px 0; cursor: pointer; gap: 12px;
}
.faq-q-text { font-size: 14px; font-weight: 700; color: var(--navy); }
.faq-arr { color: var(--muted); font-size: 18px; flex-shrink: 0; transition: transform 0.2s; margin-top: 2px; }
.faq-arr.open { transform: rotate(90deg); color: var(--blue); }
.faq-body { display: none; padding-bottom: 14px; }
.faq-body.open { display: block; }
.faq-article { background: var(--gray); border-radius: 10px; padding: 14px 16px; margin-bottom: 8px; }
.faq-article-text { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* ── CART DRAWER ──────────────────────────────────────────── */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.4);
  z-index: 500; display: none; align-items: flex-end; justify-content: center;
}
.cart-overlay.open { display: flex; }
.cart-drawer {
  background: var(--white); border-radius: 20px 20px 0 0;
  width: 100%; max-width: 520px; padding: 24px 20px;
  max-height: 80vh; overflow-y: auto;
}
.cart-title { font-size: 18px; font-weight: 800; color: var(--navy); margin-bottom: 16px; }
.cart-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border); }
.cart-item-name { font-size: 13px; font-weight: 700; color: var(--navy); }
.cart-item-sub { font-size: 11px; color: var(--muted); margin-top: 2px; }
.cart-item-price { font-size: 13px; font-weight: 700; color: var(--blue); }
.cart-remove { background: none; border: none; color: var(--red); cursor: pointer; font-size: 18px; padding: 4px; margin-left: 8px; }
.cart-total { display: flex; justify-content: space-between; padding: 14px 0; font-size: 15px; font-weight: 800; color: var(--navy); }
.cart-empty { text-align: center; padding: 32px 0; color: var(--muted); font-size: 14px; }
.cart-actions { display: flex; flex-direction: column; gap: 10px; }
.cart-close-btn {
  background: var(--gray); border: 1px solid var(--border);
  border-radius: 10px; padding: 12px; color: var(--muted);
  font-size: 13px; cursor: pointer; font-weight: 500;
}

/* ── COMMUNITY POPUP ──────────────────────────────────────── */
.popup-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  z-index: 600; display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.popup-overlay.open { display: flex; }
.popup-modal {
  background: var(--navy); border: 1px solid rgba(37,99,235,0.3);
  border-radius: 20px; padding: 32px 28px; max-width: 340px; width: 100%;
  text-align: center; position: relative;
  box-shadow: 0 20px 60px rgba(10,22,40,0.4);
}
.popup-close {
  position: absolute; top: 14px; right: 16px;
  background: rgba(255,255,255,0.1); border: none; border-radius: 50%;
  width: 30px; height: 30px; cursor: pointer; font-size: 16px;
  color: rgba(255,255,255,0.6); display: flex; align-items: center; justify-content: center;
}
.popup-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--blue); display: flex; align-items: center;
  justify-content: center; margin: 0 auto 16px; font-size: 28px;
}
.popup-title { font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.popup-sub { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.6; margin-bottom: 18px; }
.popup-benefits { text-align: left; margin-bottom: 22px; display: flex; flex-direction: column; gap: 10px; }
.popup-benefit { display: flex; align-items: center; gap: 10px; font-size: 13px; color: rgba(255,255,255,0.85); }
.popup-check { color: var(--blue2); font-weight: 700; font-size: 14px; }
.popup-join-btn {
  width: 100%; background: var(--white); color: var(--navy);
  border: none; border-radius: 12px; padding: 14px;
  font-size: 14px; font-weight: 800; cursor: pointer;
  transition: all 0.2s; text-decoration: none;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-bottom: 10px;
}
.popup-join-btn:hover { background: var(--blue-bg); }
.popup-tg-link {
  font-size: 12px; color: rgba(255,255,255,0.45);
  cursor: pointer; text-decoration: underline; background: none;
  border: none; width: 100%; text-align: center;
}
.popup-tg-link:hover { color: rgba(255,255,255,0.7); }
.popup-skip { font-size: 12px; color: rgba(255,255,255,0.35); margin-top: 8px; cursor: pointer; background: none; border: none; width: 100%; }
.popup-skip:hover { color: rgba(255,255,255,0.6); }

/* ── UTILITIES ────────────────────────────────────────────── */
.loading { text-align: center; padding: 60px 20px; color: var(--muted); font-size: 14px; }
.spinner { width: 28px; height: 28px; border: 3px solid var(--border); border-top-color: var(--blue); border-radius: 50%; animation: spin 0.8s linear infinite; margin: 0 auto 12px; }
@keyframes spin { to { transform: rotate(360deg); } }
.page-header { padding: 32px 48px 0; max-width: 1200px; margin: 0 auto; }
.page-header-mobile { padding: 20px 20px 0; }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-bottom { display: none; }
  .hamburger { display: flex; }
  .hero-wrap { display: none; }
  .hero-mobile { display: block; }
  .stats-bar { padding: 20px 24px; gap: 24px; }
  .stat-num { font-size: 22px; }
  .about-home { display: none; }
  .how-section { padding: 40px 20px; }
  .how-grid { grid-template-columns: 1fr; }
  footer { padding: 24px 20px 16px; }
  .footer-inner { flex-direction: column; gap: 16px; }
  .products-wrap { padding: 20px 16px 60px; }
  .prod-table-head { grid-template-columns: 1fr 90px 42px; }
  .prod-table-head span:nth-child(3) { display: none; }
  .prod-row { grid-template-columns: 1fr 90px 42px; }
  .prod-stock-cell { display: none; }
  .tools-grid { grid-template-columns: 1fr; }
  .about-wrap { padding: 24px 20px 48px; }
  .about-hero { grid-template-columns: 1fr; gap: 28px; }
  .about-grid { grid-template-columns: 1fr 1fr; }
  .about-how { padding: 32px 20px; }
  .cat-dropdown-wrap { max-width: 100%; }
  .page-header { padding: 20px 20px 0; }
  
  /* Hides the login/account button on mobile top bar to prevent overlapping the logo */
  .nav-auth {
    display: none !important;
  }
}
@media (min-width: 769px) {
  .hero-mobile { display: none; }
  .about-home { display: grid; }
  .hamburger { display: none; }
}

/* ── UPGRADE SYSTEM STYLES (2026) ── */
.nav-auth {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-login-btn {
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: inherit;
}
.nav-login-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.nav-account-btn {
  background: var(--blue-bg);
  border: 1.5px solid var(--blue-lt);
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.nav-account-btn:hover {
  background: var(--blue);
  color: #fff;
}

/* Category grid and card enhancements */
.home-categories-section {
  padding: 60px 48px 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.home-categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.category-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.category-card:hover {
  box-shadow: var(--shadow2);
  transform: translateY(-4px);
  border-color: var(--blue);
}
.category-card-icon {
  font-size: 32px;
  background: var(--blue-bg);
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.category-card-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
}
.category-card-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
}
.category-card-link {
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 8px;
}
@media (max-width: 900px) {
  .home-categories-grid { grid-template-columns: repeat(2, 1fr); }
  .home-categories-section { padding: 40px 24px 20px; }
}
@media (max-width: 600px) {
  .home-categories-grid { grid-template-columns: 1fr; }
}