/* ==========================================================================
   BARELOGIC.IN — HIGH-TRUST LIGHT MINIMAL + OBSIDIAN ACCENT STOREFRONT CSS
   ========================================================================== */
:root {
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-subtle: #f1f5f9;
  --ink: #0b0f19;
  --ink-soft: #334155;
  --muted: #64748b;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --emerald: #059669;
  --amber: #d97706;
  --danger: #dc2626;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --font-display: "Plus Jakarta Sans", "Inter", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.hidden { display: none !important; }
.container { max-width: 1220px; margin: 0 auto; padding: 0 22px; }

/* Maintenance Gate */
.maint-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: radial-gradient(700px circle at 20% 20%, rgba(37, 99, 235, 0.12), transparent 60%), #070b14;
  color: #f8fafc;
}
.maint-card {
  max-width: 520px;
  width: 100%;
  background: rgba(15, 23, 42, 0.86);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 22px;
  padding: 40px 34px;
  text-align: center;
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.55);
}
.maint-logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; letter-spacing: 0.08em; margin-bottom: 20px; }
.maint-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; padding: 5px 12px; border-radius: 99px; background: rgba(37, 99, 235, 0.16); color: #93c5fd; border: 1px solid rgba(59, 130, 246, 0.35); margin-bottom: 18px; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 8px #34d399; }
.maint-card h1 { margin: 0 0 12px; font-family: var(--font-display); font-size: 2rem; line-height: 1.15; letter-spacing: -0.03em; }
.maint-card p { margin: 0 0 24px; color: #94a3b8; font-size: 0.94rem; }
.maint-meta { font-family: var(--font-mono); font-size: 0.76rem; color: #64748b; }

/* Announcement & Owner Preview Bars */
.announce-bar {
  background: var(--ink);
  color: #e2e8f0;
  font-size: 0.76rem;
  font-weight: 500;
  padding: 8px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.announce-bar .sep { color: #475569; }

.owner-preview-bar {
  background: #fef3c7;
  color: #92400e;
  border-bottom: 1px solid #fde68a;
  text-align: center;
  padding: 7px 14px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Sticky Glass Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1220px;
  margin: 0 auto;
  padding: 12px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}
.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--ink);
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.08rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.nav-brand strong { display: block; font-family: var(--font-display); font-size: 0.98rem; letter-spacing: 0.06em; line-height: 1.1; }
.nav-brand small { display: block; font-size: 0.64rem; font-weight: 700; letter-spacing: 0.1em; color: var(--muted); }

.nav-search-wrap {
  position: relative;
  flex: 1;
  max-width: 440px;
}
.search-ico {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--muted);
}
.nav-search-wrap input {
  width: 100%;
  padding: 9px 14px 9px 38px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 99px;
  font-size: 0.88rem;
  color: var(--ink);
  outline: none;
  transition: all 0.16s ease;
}
.nav-search-wrap input:focus {
  background: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}


.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-link-btn {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 99px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.nav-link-btn:hover { background: var(--bg-subtle); }

.icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 99px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}
.icon-btn svg, .cart-btn svg { width: 18px; height: 18px; }
.icon-btn:hover { background: var(--bg-soft); border-color: var(--border-strong); }

.count-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 99px;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: 99px;
  border: none;
  background: var(--ink);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.cart-btn:hover { background: #1e293b; }
.cart-count {
  background: rgba(255, 255, 255, 0.18);
  padding: 1px 7px;
  border-radius: 99px;
  font-size: 0.76rem;
  font-weight: 700;
}

/* Hero Section */
.hero {
  background:
    radial-gradient(800px circle at 85% 15%, rgba(37, 99, 235, 0.08), transparent 55%),
    linear-gradient(180deg, var(--bg-soft), #ffffff);
  border-bottom: 1px solid var(--border);
  padding: 58px 22px 54px;
}
.hero-inner {
  max-width: 1220px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.35fr 0.95fr;
  gap: 36px;
  align-items: center;
}
.hero-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.22);
  padding: 5px 12px;
  border-radius: 99px;
  margin-bottom: 16px;
}
.hero-copy h1 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.hero-copy p {
  margin: 0 0 26px;
  color: var(--ink-soft);
  font-size: 1rem;
  max-width: 560px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  transition: all 0.16s ease;
}
.btn-dark { background: var(--ink); color: #ffffff; }
.btn-dark:hover { background: #1e293b; transform: translateY(-1px); }
.btn-light { background: #ffffff; color: var(--ink); border-color: var(--border-strong); }
.btn-light:hover { background: var(--bg-soft); }
.btn-primary-lg { background: var(--accent); color: #ffffff; padding: 14px 24px; border-radius: 12px; font-weight: 700; }
.btn-primary-lg:hover { background: var(--accent-hover); transform: translateY(-1px); }

.hero-stats-card {
  background: var(--ink);
  color: #f8fafc;
  border-radius: 20px;
  padding: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  box-shadow: 0 22px 45px rgba(11, 15, 25, 0.16);
}
.hstat {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  padding: 16px;
}
.hstat strong { display: block; font-family: var(--font-display); font-size: 1.3rem; color: #ffffff; margin-bottom: 4px; }
.hstat span { font-size: 0.78rem; color: #94a3b8; display: block; line-height: 1.35; }

/* Trust Strip */
.trust-strip { border-bottom: 1px solid var(--border); background: #ffffff; padding: 24px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.trust-item { display: flex; align-items: flex-start; gap: 12px; }
.trust-ico {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--bg-subtle); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; flex-shrink: 0;
}
.trust-item strong { display: block; font-size: 0.88rem; margin-bottom: 2px; }
.trust-item p { margin: 0; font-size: 0.78rem; color: var(--muted); }

/* Catalog Section */
.catalog-section { padding: 54px 0 64px; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.section-head h2 { margin: 0 0 4px; font-family: var(--font-display); font-size: 1.65rem; font-weight: 800; letter-spacing: -0.02em; }
.section-head p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.catalog-count { font-family: var(--font-mono); font-size: 0.8rem; color: var(--muted); }

.cat-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.cat-pill {
  padding: 8px 16px;
  border-radius: 99px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.cat-pill:hover { border-color: var(--border-strong); background: var(--bg-soft); }
.cat-pill.active { background: var(--ink); color: #ffffff; border-color: var(--ink); }

/* Product Grid & Cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(275px, 1fr));
  gap: 22px;
}
.prod-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.prod-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}
.prod-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
}
.prod-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s ease; }
.prod-card:hover .prod-media img { transform: scale(1.03); }
.prod-placeholder {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
  padding: 18px;
}
.prod-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.p-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 99px;
  background: rgba(11, 15, 25, 0.85);
  color: #ffffff;
}
.p-badge.moq { background: var(--accent); }
.p-badge.oos { background: var(--danger); }

.bookmark-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 99px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}
.bookmark-btn.saved { background: var(--ink); color: #ffffff; border-color: var(--ink); }
.bookmark-btn svg { width: 16px; height: 16px; }

.prod-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.prod-serial { font-family: var(--font-mono); font-size: 0.7rem; color: var(--muted); margin-bottom: 4px; }
.prod-title { margin: 0 0 6px; font-family: var(--font-display); font-size: 1.04rem; font-weight: 700; color: var(--ink); cursor: pointer; }
.prod-desc { margin: 0 0 14px; font-size: 0.83rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.prod-price-row { display: flex; align-items: baseline; gap: 8px; margin-top: auto; margin-bottom: 14px; }
.prod-price { font-family: var(--font-display); font-size: 1.28rem; font-weight: 800; color: var(--ink); }
.prod-mrp { font-size: 0.84rem; color: var(--muted); text-decoration: line-through; }
.prod-save { font-size: 0.74rem; font-weight: 700; color: var(--emerald); }

.prod-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.btn-add-cart {
  padding: 10px 14px;
  border-radius: 9px;
  border: none;
  background: var(--ink);
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}
.btn-add-cart:hover { background: #1e293b; }
.btn-add-cart:disabled { background: #cbd5e1; color: #64748b; cursor: not-allowed; }
.btn-quick-view {
  padding: 10px 12px;
  border-radius: 9px;
  border: 1px solid var(--border-strong);
  background: #ffffff;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}
.btn-quick-view:hover { background: var(--bg-soft); }

/* Skeleton Loader */
.skeleton-card {
  height: 340px;
  border-radius: 16px;
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* R&D Lab Coming Soon Section */
.lab-section { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 54px 0; }
.lab-badge { display: inline-block; font-family: var(--font-mono); font-size: 0.7rem; font-weight: 700; color: var(--amber); background: #fef3c7; padding: 3px 10px; border-radius: 99px; margin-bottom: 8px; }
.lab-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.lab-card {
  background: #ffffff;
  border: 1px dashed var(--border-strong);
  border-radius: 16px;
  padding: 22px;
}
.lab-tag { font-family: var(--font-mono); font-size: 0.68rem; font-weight: 700; color: var(--accent); letter-spacing: 0.06em; }
.lab-card h3 { margin: 8px 0 6px; font-family: var(--font-display); font-size: 1.06rem; }
.lab-card p { margin: 0 0 14px; font-size: 0.85rem; color: var(--muted); }
.lab-status { font-size: 0.76rem; font-weight: 600; color: var(--ink-soft); background: var(--bg-subtle); display: inline-block; padding: 4px 10px; border-radius: 8px; }

/* Join Us Banner */
.join-banner { padding: 54px 0; background: var(--ink); color: #ffffff; }
.join-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.join-kicker { font-family: var(--font-mono); font-size: 0.72rem; color: #60a5fa; letter-spacing: 0.1em; font-weight: 700; }
.join-banner h2 { margin: 8px 0 8px; font-family: var(--font-display); font-size: 1.75rem; }
.join-banner p { margin: 0; color: #94a3b8; max-width: 600px; font-size: 0.94rem; }

/* Footer */
.footer { background: #ffffff; border-top: 1px solid var(--border); padding: 48px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer-desc { color: var(--muted); font-size: 0.86rem; max-width: 340px; margin: 0; }
.footer h4 { margin: 0 0 12px; font-family: var(--font-display); font-size: 0.92rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 0.85rem; color: var(--muted); }
.footer a { color: var(--ink-soft); text-decoration: none; }
.footer a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 18px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.8rem; color: var(--muted); }

/* Drawers, Modals & Toast */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(11, 15, 25, 0.52); backdrop-filter: blur(4px); z-index: 60; }
.side-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 100%; max-width: 420px;
  background: #ffffff; z-index: 70; display: flex; flex-direction: column;
  box-shadow: -16px 0 40px rgba(0, 0, 0, 0.18);
}
.drawer-head { padding: 18px 22px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.drawer-head h3 { margin: 0; font-family: var(--font-display); font-size: 1.1rem; }
.close-x { background: var(--bg-subtle); border: none; width: 32px; height: 32px; border-radius: 99px; font-size: 1.2rem; cursor: pointer; color: var(--ink); }
.drawer-body { flex: 1; overflow-y: auto; padding: 18px 22px; }
.drawer-foot { padding: 18px 22px; border-top: 1px solid var(--border); background: var(--bg-soft); }

.store-modal {
  width: 94%; max-width: 680px; border: 1px solid var(--border); border-radius: 18px;
  padding: 26px; background: #ffffff; color: var(--ink); box-shadow: 0 28px 65px rgba(0, 0, 0, 0.28);
}
.store-modal::backdrop { background: rgba(11, 15, 25, 0.58); backdrop-filter: blur(4px); }

.store-toast {
  position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: #ffffff; padding: 11px 20px; border-radius: 99px;
  font-size: 0.85rem; font-weight: 600; z-index: 90; box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-search-wrap { order: 3; max-width: 100%; flex-basis: 100%; }
  .nav-inner { flex-wrap: wrap; }
}


/* ==========================================================================
   SHOP PAGE DEPARTMENT TABS + AMAZON-STYLE BOTTOM NAVIGATION DOCK
   ========================================================================== */
body { padding-bottom: 84px; }

.shop-dept-bar {
  border-top: 1px solid var(--border);
  background: #ffffff;
}
.shop-dept-inner {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding-top: 8px;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.shop-dept-inner::-webkit-scrollbar { display: none; }

.dept-tab {
  padding: 8px 16px;
  border-radius: 99px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.15s ease;
}
.dept-tab:hover { background: var(--bg-soft); color: var(--ink); }
.dept-tab.active {
  background: var(--ink);
  color: #ffffff;
}

.shop-main { padding: 34px 0 40px; }
.shop-hero-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.shop-crumb { font-size: 0.8rem; color: var(--muted); margin-bottom: 6px; }
.shop-crumb a { color: var(--ink-soft); text-decoration: none; font-weight: 500; }
.shop-hero-bar h1 { margin: 0 0 4px; font-family: var(--font-display); font-size: 1.85rem; letter-spacing: -0.02em; }
.shop-hero-bar p { margin: 0; color: var(--muted); font-size: 0.88rem; }

.shop-controls { display: flex; align-items: center; gap: 12px; }
.shop-sort-sel {
  padding: 8px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: #ffffff;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 600;
  outline: none;
  cursor: pointer;
}

/* Bottom Navigation Dock (Floating Pill on Laptop, Full-Width App Bar on Mobile) */
.bottom-dock {
  position: fixed;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: rgba(11, 15, 25, 0.94);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 99px;
  box-shadow: 0 14px 36px rgba(11, 15, 25, 0.28);
}

.bnav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 7px 16px;
  border-radius: 99px;
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 0.7rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
}
.bnav-item svg { width: 18px; height: 18px; }
.bnav-item:hover { color: #ffffff; background: rgba(255, 255, 255, 0.08); }
.bnav-item.active { color: #ffffff; background: var(--accent); }

.bnav-ico-wrap { position: relative; display: inline-flex; }
.bnav-badge {
  position: absolute;
  top: -6px;
  right: -9px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 99px;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.64rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 680px) {
  .bottom-dock {
    bottom: 0;
    left: 0;
    right: 0;
    transform: none;
    border-radius: 0;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    justify-content: space-around;
    padding: 6px 4px 8px;
  }
  .bnav-item { padding: 6px 10px; border-radius: 12px; flex: 1; }
}











/* ==========================================================================
   CART / BOOKMARKS DRAWERS + PRODUCT QUICK-VIEW & MOQ SLABS
   ========================================================================== */
.drawer-empty {
  text-align: center;
  padding: 44px 16px;
  color: var(--muted);
}
.drawer-empty strong { display: block; color: var(--ink); font-size: 1rem; margin-bottom: 6px; }
.drawer-empty p { margin: 0 0 18px; font-size: 0.86rem; }

.drawer-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.drawer-item:last-child { border-bottom: none; }
.d-thumb {
  width: 66px; height: 66px; border-radius: 10px; overflow: hidden;
  background: var(--bg-soft); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted);
}
.d-thumb img { width: 100%; height: 100%; object-fit: cover; }
.d-info { flex: 1; min-width: 0; }
.d-title { font-weight: 700; font-size: 0.9rem; color: var(--ink); margin-bottom: 3px; }
.d-meta { font-size: 0.8rem; color: var(--muted); margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.moq-applied-tag { background: #dbeafe; color: #1d4ed8; font-size: 0.68rem; font-weight: 700; padding: 1px 6px; border-radius: 99px; }

.d-controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.d-line-price { font-family: var(--font-display); font-size: 0.94rem; margin-left: auto; }
.d-remove { background: none; border: none; color: var(--danger); font-size: 0.76rem; font-weight: 600; cursor: pointer; padding: 0; }

.qty-stepper {
  display: inline-flex; align-items: center; border: 1px solid var(--border-strong);
  border-radius: 8px; overflow: hidden; background: #ffffff;
}
.qty-stepper button {
  width: 28px; height: 28px; border: none; background: var(--bg-soft);
  color: var(--ink); font-weight: 700; cursor: pointer;
}
.qty-stepper button:hover { background: var(--bg-subtle); }
.qty-stepper span { min-width: 28px; text-align: center; font-size: 0.84rem; font-weight: 600; }
.qty-stepper.lg button { width: 34px; height: 42px; font-size: 1rem; }
.qty-stepper.lg input {
  width: 48px; height: 42px; border: none; text-align: center;
  font-weight: 700; font-size: 0.92rem; outline: none;
}

.cart-summary-row { display: flex; justify-content: space-between; align-items: center; font-size: 0.95rem; margin-bottom: 10px; }
.cart-summary-row strong { font-family: var(--font-display); font-size: 1.25rem; }
.cart-cod-note {
  font-size: 0.76rem; padding: 8px 10px; border-radius: 8px; margin-bottom: 14px;
  background: #fef3c7; color: #92400e; font-weight: 500;
}
.cart-cod-note.ok { background: #ecfdf5; color: #065f46; }

/* Quick View Modal */
.qv-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.qv-layout { display: grid; grid-template-columns: 0.95fr 1.15fr; gap: 22px; align-items: start; }
.qv-media {
  aspect-ratio: 1 / 1; background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.qv-media img { width: 100%; height: 100%; object-fit: cover; }
.qv-details h2 { margin: 0 0 8px; font-family: var(--font-display); font-size: 1.35rem; line-height: 1.2; }
.qv-desc { margin: 0 0 14px; font-size: 0.86rem; color: var(--ink-soft); }
.qv-unit-note { font-size: 0.76rem; color: var(--muted); }
.qv-policies { display: flex; flex-direction: column; gap: 4px; font-size: 0.78rem; color: var(--emerald); font-weight: 600; margin-bottom: 14px; }

.qv-moq-box { background: var(--bg-soft); border: 1px solid var(--border); border-radius: 12px; padding: 12px; margin-bottom: 16px; }
.qv-moq-title { font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 8px; }
.qv-moq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(95px, 1fr)); gap: 8px; }
.qv-slab {
  background: #ffffff; border: 1px solid var(--border); border-radius: 9px; padding: 8px 10px;
  cursor: pointer; transition: all 0.14s ease;
}
.qv-slab span { display: block; font-size: 0.72rem; color: var(--muted); }
.qv-slab strong { font-family: var(--font-display); font-size: 0.92rem; color: var(--ink); }
.qv-slab.active { border-color: var(--accent); background: #eff6ff; }

.qv-buy-row { display: flex; gap: 10px; align-items: center; }

@media (max-width: 680px) {
  .qv-layout { grid-template-columns: 1fr; }
}



/* ==========================================================================
   CHECKOUT MODAL + DUAL-GATEWAY PAYMENT SHEET
   ========================================================================== */
.checkout-wide-modal { max-width: 860px; padding: 28px; }
.co-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.co-kicker { font-family: var(--font-mono); font-size: 0.7rem; font-weight: 700; color: var(--accent); letter-spacing: 0.08em; }
.co-head h2 { margin: 4px 0 0; font-family: var(--font-display); font-size: 1.45rem; }

.co-grid { display: grid; grid-template-columns: 1.35fr 0.95fr; gap: 24px; align-items: start; }
.co-section-title { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 12px; }
.co-field { margin-bottom: 12px; }
.co-field label { display: block; font-size: 0.78rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 5px; }
.co-input {
  width: 100%; padding: 10px 12px; border: 1px solid var(--border-strong); border-radius: 9px;
  font-size: 0.88rem; color: var(--ink); background: #ffffff; outline: none;
}
.co-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12); }
.co-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.co-row-3 { display: grid; grid-template-columns: 1fr 1fr 0.8fr; gap: 10px; }

.pay-option {
  display: flex; align-items: flex-start; gap: 12px; padding: 13px 14px;
  border: 1.5px solid var(--border); border-radius: 12px; margin-bottom: 10px;
  cursor: pointer; transition: all 0.15s ease; background: #ffffff;
}
.pay-option.active { border-color: var(--ink); background: var(--bg-soft); }
.pay-option.disabled { opacity: 0.6; cursor: not-allowed; background: var(--bg-subtle); }
.pay-option input { margin-top: 3px; accent-color: var(--ink); }
.pay-opt-body { flex: 1; }
.pay-opt-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 3px; }
.pay-opt-top strong { font-size: 0.88rem; }
.pay-opt-body small { font-size: 0.77rem; color: var(--muted); display: block; }
.pay-tag-ok { font-size: 0.66rem; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: #dcfce7; color: #166534; }
.pay-tag-muted { font-size: 0.66rem; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: var(--bg-subtle); color: var(--muted); }

.co-summary-card { background: var(--bg-soft); border: 1px solid var(--border); border-radius: 14px; padding: 18px; }
.co-items-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.co-item-row { display: flex; justify-content: space-between; gap: 10px; font-size: 0.84rem; }
.co-item-row strong { display: block; color: var(--ink); }
.co-item-row small { color: var(--muted); font-size: 0.75rem; }
.co-totals { display: flex; flex-direction: column; gap: 7px; font-size: 0.86rem; color: var(--ink-soft); }
.co-totals > div { display: flex; justify-content: space-between; }
.co-grand { border-top: 1px solid var(--border); padding-top: 10px; margin-top: 4px; font-size: 0.96rem; color: var(--ink); }
.co-grand strong { font-family: var(--font-display); font-size: 1.2rem; }
.co-trust-foot { margin-top: 14px; font-size: 0.75rem; color: var(--emerald); font-weight: 600; line-height: 1.6; }
.co-error { margin-top: 10px; padding: 10px 12px; border-radius: 9px; background: #fef2f2; color: var(--danger); font-size: 0.82rem; font-weight: 600; }

/* Payment Sandbox Sheet */
.pay-sheet-modal { max-width: 440px; padding: 24px; }
.pay-sheet-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.pay-gw-pill { display: inline-block; font-family: var(--font-mono); font-size: 0.66rem; font-weight: 700; color: var(--accent); background: #eff6ff; padding: 3px 8px; border-radius: 99px; margin-bottom: 4px; }
.pay-sheet-head h3 { margin: 0; font-family: var(--font-display); font-size: 1.2rem; }
.pay-failover-alert { background: #fef3c7; color: #92400e; font-size: 0.78rem; font-weight: 600; padding: 9px 12px; border-radius: 9px; margin-bottom: 12px; }
.pay-amount-bar { display: flex; justify-content: space-between; align-items: center; background: var(--ink); color: #ffffff; padding: 14px 16px; border-radius: 12px; margin-bottom: 16px; }
.pay-amount-bar span { display: block; font-family: var(--font-mono); font-size: 0.74rem; color: #93c5fd; }
.pay-amount-bar small { font-size: 0.76rem; color: #cbd5e1; }
.pay-amount-bar strong { font-family: var(--font-display); font-size: 1.35rem; }
.pay-method-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 14px; }
.pm-tab { padding: 8px; border-radius: 8px; border: 1px solid var(--border-strong); background: #ffffff; font-size: 0.8rem; font-weight: 600; cursor: pointer; }
.pm-tab.active { background: var(--ink); color: #ffffff; border-color: var(--ink); }
.pay-method-body { background: var(--bg-soft); border: 1px solid var(--border); border-radius: 10px; padding: 14px; margin-bottom: 16px; }
.pay-method-body p { margin: 0 0 10px; font-size: 0.8rem; color: var(--muted); }
.pay-sandbox-actions { display: flex; flex-direction: column; gap: 8px; }
.pay-sheet-foot { text-align: center; font-size: 0.72rem; color: var(--muted); margin-top: 14px; }

/* Order Success Receipt */
.co-success { text-align: center; padding: 12px 6px; }
.co-check-circle { width: 56px; height: 56px; border-radius: 50%; background: #dcfce7; color: var(--emerald); font-size: 1.8rem; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.co-success h2 { margin: 0 0 6px; font-family: var(--font-display); }
.co-success p { margin: 0 0 18px; color: var(--muted); font-size: 0.9rem; }
.co-receipt-box { max-width: 460px; margin: 0 auto; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 12px; padding: 14px 18px; text-align: left; display: flex; flex-direction: column; gap: 8px; font-size: 0.85rem; }
.co-receipt-box > div { display: flex; justify-content: space-between; gap: 12px; }
.co-receipt-box span { color: var(--muted); }

@media (max-width: 760px) {
  .co-grid, .co-row-2, .co-row-3 { grid-template-columns: 1fr; }
}
