/* Helix King — Mobile-first light theme */
:root {
  --bg: #f4f6fa;
  --white: #fff;
  --sidebar: #0b1f3a;
  --primary: #1a6fd4;
  --primary-dark: #0d4fa0;
  --primary-soft: #e8f1fc;
  --text: #1a2332;
  --muted: #5a6a7e;
  --border: #e2e8f0;
  --danger: #dc2626;
  --ok: #059669;
  --radius: 14px;
  --sidebar-w: 280px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 15px; }
body {
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
}

/* Sidebar — drawer on mobile */
.sidebar {
  width: var(--sidebar-w);
  max-width: 85vw;
  height: 100%;
  background: var(--sidebar);
  color: #fff;
  position: fixed;
  left: 0; top: 0; bottom: 0;
  z-index: 300;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  padding: 16px 0 24px;
}
.sidebar.open { transform: translateX(0); }

.sidebar-close {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
}

.sidebar-logo {
  padding: 12px 20px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 12px;
}
.sidebar-logo img { max-width: 110px; height: auto; }
.sidebar-logo span {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  color: #8ba3c4;
  margin-top: 6px;
  text-transform: uppercase;
}

.sidebar nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  color: #b8c9de;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  border-left: 3px solid transparent;
}
.sidebar nav a:hover, .sidebar nav a.active {
  background: #122a4a;
  color: #fff;
  border-left-color: var(--primary);
}

.sidebar-section {
  margin-top: 16px;
  padding: 0 20px 6px;
  font-size: 0.65rem;
  letter-spacing: 1.2px;
  color: #6b829e;
  text-transform: uppercase;
  font-weight: 700;
}

.sidebar-cats a { padding-left: 28px; font-size: 0.85rem; }

.sidebar-bottom {
  margin-top: auto;
  padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.75rem;
  color: #8ba3c4;
}
.sidebar-bottom strong { color: #fff; display: block; margin-bottom: 4px; }

.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 250;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.sidebar-overlay.visible { opacity: 1; pointer-events: auto; }

/* Main — full width mobile */
.main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  max-width: 520px;
  margin: 0 auto;
  background: var(--bg);
  box-shadow: 0 0 40px rgba(0,0,0,0.06);
}

.site-banner {
  background: linear-gradient(90deg, var(--primary), #3b8aef);
  color: #fff;
  text-align: center;
  padding: 7px 12px;
  font-size: 0.72rem;
  font-weight: 600;
}

.disclaimer-bar {
  background: #fef2f2;
  color: #991b1b;
  text-align: center;
  padding: 6px 10px;
  font-size: 0.7rem;
  font-weight: 700;
}

.topbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  position: sticky;
  top: 0;
  z-index: 50;
}

.menu-toggle {
  background: var(--primary-soft);
  border: none;
  color: var(--primary);
  width: 40px; height: 40px;
  border-radius: 10px;
  font-size: 1.3rem;
  cursor: pointer;
}

.topbar-logo {
  flex: 1;
  text-align: center;
}
.topbar-logo img { height: 32px; width: auto; }

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

.lang-switch {
  display: flex;
  background: var(--bg);
  border-radius: 8px;
  border: 1px solid var(--border);
  overflow: hidden;
}
.lang-switch button {
  border: none;
  background: none;
  padding: 5px 8px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.7rem;
  color: var(--muted);
}
.lang-switch button.active { background: var(--primary); color: #fff; }

.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}
.cart-count {
  background: var(--primary);
  color: #fff;
  font-size: 0.65rem;
  min-width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.content { padding: 16px 14px 40px; }

.hero {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 18px;
  margin-bottom: 18px;
  text-align: center;
  border: 1px solid var(--border);
}
.hero h1 { font-size: 1.45rem; color: var(--sidebar); margin-bottom: 6px; }
.hero h1 span { color: var(--primary); }
.hero p { color: var(--muted); font-size: 0.88rem; margin-bottom: 16px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(26,111,212,0.25);
}
.btn-primary:hover { background: var(--primary-dark); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-sm { padding: 8px 14px; font-size: 0.82rem; }

.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 22px;
}
.feature {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
}
.feature .icon { font-size: 1.2rem; }
.feature h3 { font-size: 0.78rem; margin: 4px 0 2px; color: var(--sidebar); }
.feature p { font-size: 0.7rem; color: var(--muted); margin: 0; }

.section-title { font-size: 1.2rem; color: var(--sidebar); margin-bottom: 4px; }
.section-subtitle { color: var(--muted); font-size: 0.85rem; margin-bottom: 14px; }

.category-filters {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  margin-bottom: 14px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}
.cat-btn {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 7px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}
.cat-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }

.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  position: relative;
}
.product-cat {
  position: absolute;
  top: 6px; left: 6px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 4px;
  z-index: 2;
}
.product-img {
  height: 140px;
  background: linear-gradient(180deg, #f5f8fc, #eef2f8);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.product-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.product-body { padding: 10px 12px 12px; flex: 1; display: flex; flex-direction: column; }
.product-name { font-size: 0.88rem; font-weight: 700; color: var(--sidebar); }
.product-dose { color: var(--primary); font-size: 0.75rem; font-weight: 600; margin-bottom: 8px; }
.product-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.product-price { font-size: 1.05rem; font-weight: 800; color: var(--sidebar); }
.btn-view { font-size: 0.72rem; color: var(--primary); font-weight: 600; }

/* Product detail */
.back-link { display: inline-block; color: var(--muted); text-decoration: none; margin-bottom: 12px; font-size: 0.85rem; }
.product-detail-grid {
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px;
  border: 1px solid var(--border);
  margin-bottom: 14px;
}
.product-detail-img {
  background: linear-gradient(180deg, #f5f8fc, #eef2f8);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  margin-bottom: 14px;
}
.product-detail-img img { max-width: 180px; max-height: 220px; object-fit: contain; }
.product-detail-info h1 { font-size: 1.35rem; color: var(--sidebar); }
.product-detail-dose { color: var(--primary); font-weight: 700; margin-bottom: 8px; }
.product-detail-subtitle { font-size: 0.88rem; margin-bottom: 4px; }
.product-detail-tagline { color: var(--muted); font-size: 0.82rem; font-style: italic; margin-bottom: 10px; }
.product-detail-price { font-size: 1.6rem; font-weight: 800; color: var(--sidebar); margin-bottom: 12px; }
.product-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.product-badges span {
  background: var(--primary-soft);
  color: var(--primary-dark);
  padding: 5px 10px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
}

.description-section, .benefits-section, .calc-section {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 12px;
}
.description-section h2, .benefits-section h2, .calc-section h2 {
  font-size: 1.05rem;
  color: var(--sidebar);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.description-body { color: var(--muted); font-size: 0.85rem; line-height: 1.65; }
.description-body p { margin-bottom: 10px; }
.description-body strong { color: var(--text); }

.benefits-grid { display: flex; flex-direction: column; gap: 8px; }
.benefit-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
}
.benefit-card h3 { font-size: 0.85rem; color: var(--sidebar); margin-bottom: 4px; }
.benefit-card p { font-size: 0.78rem; color: var(--muted); margin: 0; }

.research-notice {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 12px;
  padding: 12px;
  color: #991b1b;
  font-size: 0.8rem;
}

/* Dosage calculator */
.calc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}
.calc-row label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 4px;
}
.calc-row input, .calc-row select {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.9rem;
}
.calc-result {
  background: var(--primary-soft);
  border-radius: 10px;
  padding: 12px;
  margin-top: 10px;
  text-align: center;
}
.calc-result strong { color: var(--primary-dark); font-size: 1.1rem; }
.calc-note { font-size: 0.7rem; color: var(--muted); margin-top: 8px; text-align: center; }

/* Cart */
#cart-sidebar {
  position: fixed;
  top: 0; right: -100%;
  width: 100%;
  max-width: 400px;
  height: 100%;
  background: var(--white);
  z-index: 400;
  transition: right 0.3s;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 30px rgba(0,0,0,0.12);
}
#cart-sidebar.open { right: 0; }

.cart-header {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-header h3 { font-size: 1.05rem; color: var(--sidebar); }
.cart-close { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--muted); }
.cart-items { flex: 1; overflow-y: auto; padding: 12px 16px; }
.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item-name { font-weight: 600; font-size: 0.85rem; }
.cart-item-price { color: var(--primary); font-size: 0.8rem; }
.cart-item-qty { display: flex; align-items: center; gap: 6px; }
.cart-item-qty button {
  width: 28px; height: 28px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg);
  cursor: pointer;
}
.cart-empty { text-align: center; color: var(--muted); padding: 32px 12px; font-size: 0.9rem; }

.cart-footer {
  padding: 14px 16px 20px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.cart-summary { font-size: 0.88rem; margin-bottom: 10px; }
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  color: var(--muted);
}
.cart-summary-row.discount { color: var(--ok); font-weight: 600; }
.cart-summary-row.total {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--sidebar);
  padding-top: 8px;
  border-top: 1px solid var(--border);
  margin-top: 6px;
}

.tax-note {
  font-size: 0.72rem;
  color: var(--ok);
  text-align: center;
  margin-bottom: 10px;
  font-weight: 600;
}

.promo-box {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}
.promo-box input {
  flex: 1;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.85rem;
}
.promo-box button {
  padding: 10px 14px;
  border-radius: 8px;
  border: none;
  background: var(--sidebar);
  color: #fff;
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
}
.promo-msg { font-size: 0.75rem; margin-bottom: 8px; text-align: center; }
.promo-msg.ok { color: var(--ok); }
.promo-msg.err { color: var(--danger); }

.payment-methods { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); text-align: center; }
.payment-title { font-size: 0.7rem; color: var(--muted); margin-bottom: 8px; }
.payment-logos { display: flex; justify-content: center; gap: 12px; }
.pay-item { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.pay-item span { font-size: 0.62rem; color: var(--muted); font-weight: 600; }

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 350;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cart-overlay.visible { opacity: 1; pointer-events: auto; }

/* Login */
.login-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 18px;
  margin-top: 12px;
}
.login-box h1 { text-align: center; font-size: 1.3rem; color: var(--sidebar); margin-bottom: 4px; }
.login-box .sub { text-align: center; color: var(--muted); font-size: 0.85rem; margin-bottom: 20px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 600; margin-bottom: 4px; }
.form-group input {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.9rem;
}
.login-box .btn { width: 100%; margin-top: 6px; }
.login-note { margin-top: 14px; font-size: 0.75rem; color: var(--muted); text-align: center; }

.page-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.page-card h1 { color: var(--sidebar); font-size: 1.25rem; margin-bottom: 12px; }
.page-card p { color: var(--muted); font-size: 0.9rem; margin-bottom: 10px; }

.site-footer {
  margin-top: auto;
  background: var(--sidebar);
  color: #b8c9de;
  padding: 24px 16px 16px;
  font-size: 0.8rem;
}
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.footer-grid h4 { color: #fff; margin-bottom: 8px; font-size: 0.85rem; }
.footer-grid a, .footer-grid p { display: block; color: #8ba3c4; text-decoration: none; font-size: 0.78rem; margin-bottom: 4px; }
.footer-disclaimer {
  background: rgba(0,0,0,0.25);
  border-radius: 10px;
  padding: 12px;
  font-size: 0.7rem;
  color: #fca5a5;
  line-height: 1.5;
  margin-bottom: 12px;
}
.footer-bottom { text-align: center; font-size: 0.72rem; color: #6b829e; }

#age-gate {
  position: fixed;
  inset: 0;
  background: rgba(11, 31, 58, 0.96);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
#age-gate.hidden { display: none; }
.age-box {
  background: #fff;
  border-radius: 16px;
  padding: 28px 20px;
  max-width: 360px;
  text-align: center;
}
.age-box h2 { color: var(--sidebar); margin-bottom: 10px; font-size: 1.2rem; }
.age-box p { color: var(--muted); margin-bottom: 18px; font-size: 0.85rem; }
.age-buttons { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }

/* Tablet+ slightly wider but still compact */
@media (min-width: 600px) {
  .main { max-width: 560px; }
  .products-grid { gap: 14px; }
  .product-img { height: 160px; }
}

/* ===== Premium pharma refinements ===== */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #eef5fc 0%, #f8fbff 50%, #e8f0fa 100%);
  border: 1px solid #d0e0f5;
  box-shadow: 0 8px 32px rgba(26, 111, 212, 0.08);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('images/hero-bg.jpg') center/cover no-repeat;
  opacity: 0.22;
  pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }

.product-img {
  height: 200px !important;
  background: linear-gradient(180deg, #f7fafd 0%, #eef3f9 100%) !important;
  padding: 8px 8px 4px !important;
}
.product-img img {
  max-height: 100% !important;
  width: auto !important;
  object-fit: contain !important;
}

.product-detail-img {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #f7fafd, #e8f0f8) !important;
}
.product-detail-img img {
  max-width: 220px !important;
  max-height: 320px !important;
  width: auto;
}

.topbar-logo img {
  height: 28px !important;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}
.sidebar-logo img {
  max-width: 160px !important;
  height: auto;
}

/* Syringe calculator */
.calc-section {
  background: linear-gradient(180deg, #fff 0%, #f4f8fc 100%);
  border: 1px solid #c5d9f0;
}
.syringe-wrap {
  margin: 14px 0;
  text-align: center;
}
.syringe-svg {
  max-width: 100%;
  height: auto;
}
.syringe-units {
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  color: var(--muted);
  max-width: 280px;
  margin: 4px auto 0;
}
.calc-result {
  background: linear-gradient(135deg, #e8f1fc, #d6e8fa);
  border: 1px solid #a8c8ec;
}
.calc-result .big {
  font-size: 1.35rem;
  color: var(--primary-dark);
  font-weight: 800;
}
.calc-result .units-line {
  margin-top: 6px;
  font-size: 0.9rem;
  color: var(--sidebar);
  font-weight: 600;
}

.page-card, .description-section, .benefits-section, .product-detail-grid {
  box-shadow: 0 4px 20px rgba(11, 31, 58, 0.05);
}
.feature {
  background: linear-gradient(180deg, #fff, #f6f9fc);
  border-color: #d5e3f3;
}

/* Lighter sidebar for logo visibility */
.sidebar {
  background: #1a3a5c !important;
}
.sidebar nav a:hover,
.sidebar nav a.active {
  background: #244a70 !important;
}
.sidebar-logo img {
  max-width: 170px !important;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.25));
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 8px;
}

/* Smaller feature squares on home */
.features {
  gap: 8px !important;
  margin-bottom: 14px !important;
}
.feature {
  padding: 8px 6px !important;
  border-radius: 10px !important;
}
.feature .icon {
  font-size: 0.95rem !important;
}
.feature h3 {
  font-size: 0.68rem !important;
  margin: 2px 0 0 !important;
}
.feature p {
  font-size: 0.62rem !important;
  line-height: 1.2 !important;
}

/* Ensure full vial in catalog */
.product-img {
  height: 210px !important;
  padding: 6px !important;
}
.product-img img {
  max-height: 100% !important;
  width: auto !important;
  object-fit: contain !important;
}
.product-detail-img img {
  max-height: 340px !important;
  max-width: 240px !important;
}


/* === User tweaks Oct 24 === */
.sidebar {
  background: #2a5080 !important;
}
.sidebar nav a:hover,
.sidebar nav a.active {
  background: #356090 !important;
}
.sidebar-logo {
  background: rgba(255,255,255,0.12);
  margin: 8px 12px 16px;
  border-radius: 12px;
  padding: 14px 12px !important;
  border-bottom: none !important;
}
.sidebar-logo img {
  max-width: 180px !important;
  filter: none !important;
}

.features {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 6px !important;
  margin-bottom: 12px !important;
}
.feature {
  padding: 6px 4px !important;
  border-radius: 8px !important;
}
.feature .icon { font-size: 0.85rem !important; margin-bottom: 0 !important; }
.feature h3 { font-size: 0.65rem !important; margin: 1px 0 0 !important; }
.feature p { font-size: 0.58rem !important; margin: 0 !important; line-height: 1.15 !important; }

.product-img {
  height: 220px !important;
  padding: 4px 6px !important;
  background: #f7fafd !important;
}
.product-img img {
  max-height: 100% !important;
  width: auto !important;
  max-width: 100% !important;
  object-fit: contain !important;
}
.product-detail-img {
  min-height: 300px !important;
  padding: 12px !important;
}
.product-detail-img img {
  max-height: 360px !important;
  max-width: 260px !important;
}

/* Logo sidebar larger & visible */
.sidebar-logo {
  background: transparent !important;
  padding: 8px 10px 16px !important;
  margin: 4px 8px 12px !important;
}
.sidebar-logo img {
  max-width: 100% !important;
  width: 220px !important;
  height: auto !important;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.35)) !important;
  background: none !important;
  padding: 0 !important;
}
.sidebar-logo span { display: none !important; }

/* Catalog miniatures — full vial depth */
.product-img {
  height: 230px !important;
  padding: 10px 8px 6px !important;
  background: linear-gradient(180deg, #ffffff 0%, #f0f4f9 100%) !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
}
.product-img img {
  max-height: 210px !important;
  width: auto !important;
  max-width: 92% !important;
  object-fit: contain !important;
  object-position: bottom center !important;
  filter: drop-shadow(0 8px 16px rgba(0,40,80,0.15));
}
.product-detail-img {
  align-items: flex-end !important;
  background: linear-gradient(180deg, #fff, #f0f4f9) !important;
}
.product-detail-img img {
  max-height: 380px !important;
  filter: drop-shadow(0 12px 24px rgba(0,40,80,0.18));
}


/* Dual logo + full vials + about + payment */
.topbar-logo img {
  height: 34px !important;
  max-width: 200px !important;
  width: auto !important;
  object-fit: contain !important;
}
.sidebar-logo {
  background: transparent !important;
  padding: 6px 8px 14px !important;
  margin: 0 6px 8px !important;
  border: none !important;
}
.sidebar-logo img {
  width: 100% !important;
  max-width: 240px !important;
  height: auto !important;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
}

.product-img {
  height: 250px !important;
  padding: 12px 10px 8px !important;
  background: linear-gradient(180deg, #ffffff 0%, #f2f6fb 100%) !important;
  align-items: flex-end !important;
}
.product-img img {
  max-height: 230px !important;
  width: auto !important;
  max-width: 95% !important;
  object-fit: contain !important;
  object-position: bottom center !important;
  filter: drop-shadow(0 10px 18px rgba(0,30,60,0.18));
}
.product-detail-img img {
  max-height: 400px !important;
  max-width: 280px !important;
  filter: drop-shadow(0 14px 28px rgba(0,30,60,0.2));
}

.payment-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 12px;
}
.payment-title { font-weight: 700; font-size: 0.85rem; color: var(--sidebar); margin-bottom: 8px; }
.pay-note { font-size: 0.72rem; color: var(--muted); margin-top: 8px; line-height: 1.4; }
.pay-item.pay-active span { color: var(--sidebar); }

.about-hero {
  text-align: center;
  margin-bottom: 16px;
}
.about-hero h1 { font-size: 1.35rem; color: var(--sidebar); }
.about-tagline { color: var(--primary); font-weight: 600; margin-top: 4px; }
.about-block { margin-bottom: 12px; }
.about-block h2 { font-size: 1.05rem; color: var(--sidebar); margin-bottom: 8px; }
.faq-item { margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.faq-item h3 { font-size: 0.95rem; color: var(--sidebar); margin-bottom: 4px; }
.faq-item p { font-size: 0.85rem; color: var(--muted); margin: 0; }


/* CRITICAL: full vial visible in catalog — no crop */
.product-img {
  height: 280px !important;
  min-height: 280px !important;
  padding: 16px 12px 12px !important;
  background: #f7fafd !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}
.product-img img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 255px !important;
  object-fit: contain !important;
  object-position: center center !important;
  filter: drop-shadow(0 8px 16px rgba(0,30,60,0.14));
}
.product-card {
  overflow: hidden;
}
.product-detail-img {
  min-height: 340px !important;
  padding: 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.product-detail-img img {
  max-height: 380px !important;
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}


/* FINAL full-vial fix — highest priority */
.products-grid .product-img {
  height: 300px !important;
  min-height: 300px !important;
  max-height: none !important;
  padding: 8px !important;
  background: #f7fafd !important;
  overflow: visible !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.products-grid .product-img img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  transform: none !important;
}
.product-card:hover .product-img img {
  transform: scale(1.03) !important;
}

.billing-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 12px;
  max-height: 42vh;
  overflow-y: auto;
}
.billing-box h4 {
  font-size: 0.9rem;
  color: var(--sidebar);
  margin-bottom: 10px;
}
.billing-box input,
.billing-box select {
  width: 100%;
  padding: 10px 11px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.85rem;
  margin-bottom: 8px;
  background: #fff;
}
.bill-row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.bill-country {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0 0 4px;
}
.cart-summary-row.ship-note {
  font-size: 0.7rem;
  color: var(--muted);
  justify-content: flex-start;
}
.tax-note {
  color: var(--ok) !important;
  font-weight: 600;
}
#cart-sidebar {
  max-width: 420px;
}
.cart-footer {
  max-height: 70vh;
  overflow-y: auto;
}

.payment-methods {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 12px;
}
.pay-option {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 8px;
  cursor: pointer;
  background: #fafbfd;
}
.pay-option:has(input:checked) {
  border-color: var(--blue);
  background: #f0f6ff;
}
.pay-option input { margin-top: 3px; accent-color: var(--blue); }
.pay-label { display: flex; flex-direction: column; gap: 2px; font-size: 0.88rem; }
.pay-label strong { color: var(--text); }
.pay-label small { color: var(--muted); font-size: 0.75rem; }
.pay-icons { color: var(--blue); font-weight: 700; letter-spacing: 2px; }
.terms-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 12px;
}
.terms-heading {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--sidebar);
  margin-bottom: 8px;
}
.terms-scroll {
  max-height: 160px;
  overflow-y: auto;
  font-size: 0.72rem;
  line-height: 1.45;
  color: #3a4a5c;
  padding: 8px;
  background: #f7fafd;
  border-radius: 8px;
  border: 1px solid var(--border);
  margin-bottom: 10px;
}
.terms-scroll p { margin-bottom: 8px; }
.terms-ruo {
  font-weight: 700;
  color: #b45309;
  text-align: center;
  margin-top: 8px !important;
}
.terms-check {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 0.82rem;
  cursor: pointer;
}
.terms-check input { margin-top: 2px; accent-color: var(--blue); width: 16px; height: 16px; flex-shrink: 0; }

.age-box-wide {
  max-width: 420px !important;
  max-height: 92vh;
  overflow-y: auto;
  text-align: left !important;
}
.age-box-wide h2 { text-align: center; }
.age-box-wide > p { text-align: center; }
.age-terms-scroll {
  max-height: 200px;
  overflow-y: auto;
  font-size: 0.72rem;
  line-height: 1.45;
  color: #3a4a5c;
  padding: 10px;
  background: #f4f7fb;
  border-radius: 10px;
  border: 1px solid #d0dce8;
  margin: 12px 0;
}
.age-terms-scroll p { margin-bottom: 8px; }
.age-check {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 0.82rem;
  margin-bottom: 10px;
  cursor: pointer;
  color: #1a2a3a;
}
.age-check input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  flex-shrink: 0;
  accent-color: #1a6fd4;
}
.age-box-wide .age-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}
.age-box-wide .age-buttons .btn { width: 100%; }

.crypto-icons {
  display: flex;
  gap: 8px;
  margin: 6px 0 2px;
}
.ci {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}
.ci-usdt { background: #26a17b; }
.ci-btc { background: #f7931a; }
.ci-eth { background: #627eea; }
.pay-option:has(input:checked) .ci { box-shadow: 0 0 0 2px rgba(26,111,212,0.25); }
