/* ===========================================================
   BioShield — E-commerce & Checkout Styles
   =========================================================== */

:root {
  --aqua: #34A853;
  --aqua-deep: #208038;
  --aqua-dark: #10451D;
  --mint-soft: #eff6ee;
  --bg: #ffffff;
  --bg-light: #f9fbf9;
  --ink: #1a1a1a;
  --muted: #666666;
  --line: #e5e5e5;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --maxw: 1180px;
  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.wrap { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.2; color: var(--ink); }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.3rem; margin-bottom: 8px; }
.lead { font-size: 1.1rem; color: rgba(255,255,255,0.9); margin-top: 16px; margin-bottom: 32px; max-width: 600px; }

/* ---------- Utilities ---------- */
.center { text-align: center; }
.hide-mobile { display: flex; }
@media(max-width: 768px) { .hide-mobile { display: none !important; } }
.bg-light { background: var(--bg-light); }

/* ---------- Promo Bar ---------- */
.promo {
  background: var(--aqua-deep);
  color: #fff;
  font-size: 0.85rem;
  text-align: center;
  padding: 8px 16px;
}

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; height: 72px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; }
.brand .logo {
  width: 32px; height: 32px; border-radius: 8px; background: var(--aqua-deep);
  display: grid; place-items: center;
}
.brand .logo svg { width: 18px; height: 18px; }
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a { font-weight: 500; font-size: 0.95rem; color: var(--muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--aqua-deep); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px; border-radius: 6px;
  font-family: inherit; font-weight: 600; font-size: 1rem;
  cursor: pointer; transition: all 0.2s; border: none; text-align: center;
}
.btn-primary { background: var(--aqua-deep); color: #fff; }
.btn-primary:hover { background: var(--aqua-dark); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--bg-light); }
.btn-lg { padding: 16px 32px; font-size: 1.1rem; }
.btn-block { width: 100%; }

/* ---------- Hero Video BG ---------- */
.hero-bg {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-video-bg {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
}
.hero-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); z-index: -1;
}
.hero-content { position: relative; z-index: 1; padding-block: 60px; }
.hero-content h1 { color: #fff; max-width: 700px; }
.hero-actions { display: flex; gap: 16px; align-items: center; margin-bottom: 32px; }
.hero-trust { display: flex; gap: 24px; font-size: 0.9rem; opacity: 0.9; }
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust svg { width: 18px; height: 18px; }

/* ---------- Grid / Split ---------- */
.section { padding-block: 80px; }
.section-title { margin-bottom: 48px; max-width: 600px; margin-inline: auto; }
.section-title p { margin-top: 12px; color: var(--muted); font-size: 1.1rem; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; }
.feature-card { padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.feature-card .icon-wrap {
  width: 48px; height: 48px; border-radius: 8px; background: var(--mint-soft);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px; color: var(--aqua-deep);
}
.feature-card svg { width: 24px; height: 24px; }
.feature-card p { color: var(--muted); font-size: 0.95rem; }

.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media(max-width: 800px) { .split-layout { grid-template-columns: 1fr; gap: 40px; } }
.split-text p { margin-top: 16px; color: var(--muted); }
.check-list { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.check-list li { position: relative; padding-left: 28px; color: var(--muted); }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 2px; color: var(--aqua-deep); font-weight: bold;
}
.check-list strong { color: var(--ink); }

/* ---------- Checkout Forms ---------- */
.checkout-wrap { min-height: 60vh; }
@media(max-width: 800px) { .checkout-wrap { grid-template-columns: 1fr !important; } }
.order-form { display: flex; flex-direction: column; gap: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field-group { display: flex; flex-direction: column; gap: 6px; }
.field-group label { font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.field-group input {
  padding: 12px 16px; border: 1px solid var(--line); border-radius: 6px;
  font-family: inherit; font-size: 1rem; transition: border-color 0.2s;
}
.field-group input:focus { outline: none; border-color: var(--aqua-deep); box-shadow: 0 0 0 3px var(--mint-soft); }
.field-hint { font-size: 0.8rem; color: var(--muted); }

/* Qty */
.qty-ctrl { display: flex; width: 140px; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.qty-btn { flex: 1; background: #fff; border: none; font-size: 1.2rem; cursor: pointer; transition: background 0.2s; }
.qty-btn:hover { background: var(--bg-light); }
.qty-ctrl input { width: 50px; border: none; text-align: center; font-weight: 600; -moz-appearance: textfield; border-radius: 0; padding: 0;}
.qty-ctrl input::-webkit-outer-spin-button, .qty-ctrl input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Payment Option */
.payment-method { margin-top: 24px; }
.payment-method .label { display: block; font-weight: 600; margin-bottom: 12px; }
.radio-box {
  display: flex; align-items: flex-start; gap: 12px; padding: 16px;
  border: 1px solid var(--aqua-deep); border-radius: 6px; background: var(--mint-soft); cursor: pointer;
}
.radio-box input { margin-top: 4px; accent-color: var(--aqua-deep); width: 18px; height: 18px; }
.radio-box label { cursor: pointer; display: flex; flex-direction: column; }
.radio-box label b { font-size: 1rem; color: var(--ink); }
.radio-box label span { font-size: 0.85rem; color: var(--muted); }

.form-footer { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--line); }
.terms-hint { font-size: 0.85rem; color: var(--muted); text-align: center; margin-top: 16px; }
.terms-hint a { text-decoration: underline; }

.success-msg { text-align: center; padding: 40px 20px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.success-msg.hidden { display: none; }
.success-msg .icon { width: 64px; height: 64px; border-radius: 32px; background: var(--mint-soft); color: var(--aqua-deep); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.success-msg .icon svg { width: 32px; height: 32px; }

/* ---------- Legal Pages ---------- */
.legal-page { padding-block: 60px; min-height: 60vh;}
.legal-page .eyebrow { font-size: 0.85rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.legal-page h1 { margin-block: 8px 16px; }
.legal-page .updated { font-size: 0.9rem; color: var(--muted); margin-bottom: 40px; }
.legal-body h2 { font-size: 1.5rem; margin-top: 40px; margin-bottom: 16px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.legal-body p, .legal-body ul { margin-bottom: 16px; color: var(--muted); }
.legal-body ul { padding-left: 24px; list-style: disc; }
.legal-body li { margin-bottom: 8px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--aqua-deep); font-weight: 600; margin-bottom: 24px; }
.back-link svg { width: 18px; height: 18px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #fff; padding-block: 60px 20px; }
.footer-links { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
@media(max-width: 600px) { .footer-links { grid-template-columns: 1fr; } }
.f-col { display: flex; flex-direction: column; gap: 12px; }
.f-col b { color: #fff; font-size: 1.1rem; margin-bottom: 8px; }
.f-col a { color: rgba(255,255,255,0.7); transition: color 0.2s; }
.f-col a:hover { color: #fff; }
.footer-bottom { text-align: center; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.5); font-size: 0.9rem; }
