/* =========================================================
   Bella Vita Labs — Styles (v3 clean/professional)
   ========================================================= */

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

:root {
  --navy:        #10261a;
  --navy-2:      #18321f;
  --blue:        #1a5e37;
  --blue-light:  #2f8a54;
  --blue-pale:   #eef6f1;
  --maroon:      #8b1e2d;
  --maroon-pale: #fbf1f3;
  --green:       #16a34a;
  --green-pale:  #f0fdf4;
  --amber:       #d97706;
  --amber-pale:  #fffbeb;
  --red:         #dc2626;
  --red-pale:    #fef2f2;
  --gray-50:     #f9fafb;
  --gray-100:    #f3f4f6;
  --gray-200:    #e5e7eb;
  --gray-300:    #d1d5db;
  --gray-500:    #6b7280;
  --gray-600:    #4b5563;
  --gray-700:    #374151;
  --gray-900:    #111827;
  --text:        #111827;
  --text-muted:  #6b7280;
  --border:      #e5e7eb;
  --radius:      8px;
  --radius-lg:   12px;
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow:      0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.05);
  --shadow-lg:   0 10px 30px rgba(0,0,0,0.1), 0 4px 8px rgba(0,0,0,0.06);
  --transition:  0.15s ease;
}

html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', sans-serif;
  background: #fff;
  color: var(--text);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius);
  font-size: 0.9rem; font-weight: 600;
  cursor: pointer; border: none;
  transition: all var(--transition);
  font-family: inherit; letter-spacing: 0.01em;
}
.btn--primary   { background: var(--blue); color: #fff; }
.btn--primary:hover { background: #14492b; box-shadow: 0 4px 12px rgba(26,94,55,0.3); transform: translateY(-1px); }
.btn--outline   { background: #fff; color: var(--navy); border: 1.5px solid var(--border); }
.btn--outline:hover { border-color: var(--blue-light); color: var(--blue); }
.btn--full      { width: 100%; justify-content: center; }
.btn--sm        { padding: 8px 16px; font-size: 0.85rem; }

/* ---- Announcement Bar ---- */
.announcement {
  background: var(--navy);
  color: rgba(255,255,255,0.9);
  text-align: center;
  padding: 9px 24px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.announcement strong { color: #fff; }

/* ---- Nav ---- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.nav__inner {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  height: 64px; display: flex; align-items: center; gap: 32px;
}
.nav__logo {
  font-size: 1.25rem; font-weight: 800;
  letter-spacing: -0.5px; color: var(--blue); flex-shrink: 0;
}
.nav__logo span { color: var(--maroon); }
.nav__links {
  display: flex; list-style: none; gap: 4px; margin-left: auto;
}
.nav__links a {
  font-size: 0.875rem; color: var(--gray-600); font-weight: 500;
  padding: 6px 12px; border-radius: 6px;
  transition: all var(--transition);
}
.nav__links a:hover { background: var(--gray-100); color: var(--text); }
.cart-btn {
  position: relative;
  background: var(--navy); color: #fff;
  border: none; width: 40px; height: 40px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all var(--transition); flex-shrink: 0;
}
.cart-btn:hover { background: var(--navy-2); transform: translateY(-1px); }
.cart-count {
  position: absolute; top: -6px; right: -6px;
  background: var(--red); color: #fff;
  font-size: 0.62rem; font-weight: 700;
  min-width: 17px; height: 17px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center; padding: 0 4px;
  border: 2px solid #fff;
  opacity: 0; transform: scale(0.7); transition: all var(--transition);
}
.cart-count.visible { opacity: 1; transform: scale(1); }

/* ---- Hero ---- */
.hero {
  background: var(--navy);
  padding: 72px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 480px;
}
.hero__bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.85;
}
.hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(16,38,26,0.2) 0%, rgba(16,38,26,0.55) 100%),
    linear-gradient(180deg, rgba(16,38,26,0.45) 0%, rgba(16,38,26,0.4) 50%, rgba(16,38,26,0.85) 100%);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.85); padding: 5px 14px; border-radius: 100px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.5px;
  text-transform: uppercase; margin-bottom: 24px;
}
.hero__eyebrow::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: #22c55e; box-shadow: 0 0 8px #22c55e;
}
.hero__title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800; line-height: 1.15;
  letter-spacing: -1px; color: #fff; margin-bottom: 18px;
}
.hero__title span { color: #5ec98c; }
.hero__sub {
  font-size: 1.05rem; color: rgba(255,255,255,0.65);
  max-width: 520px; margin: 0 auto 36px; line-height: 1.7;
}
.hero__ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero__ctas .btn--primary { background: var(--blue); padding: 13px 28px; font-size: 0.95rem; }
.hero__ctas .btn--ghost {
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(255,255,255,0.2); padding: 13px 28px; font-size: 0.95rem;
}
.hero__ctas .btn--ghost:hover { background: rgba(255,255,255,0.15); color: #fff; }

/* ---- Trust Strip ---- */
.trust-strip {
  background: var(--gray-50);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
}
.trust-strip__inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 32px;
}
.trust-item {
  display: flex; align-items: center; gap: 9px;
  font-size: 0.82rem; font-weight: 600; color: var(--gray-600);
}
.trust-item svg { color: var(--blue); flex-shrink: 0; }

/* ---- Section Helpers ---- */
.section-label {
  display: block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--blue); margin-bottom: 8px;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800;
  letter-spacing: -0.5px; color: var(--navy); line-height: 1.2;
}
.section-sub { color: var(--text-muted); margin-top: 8px; font-size: 0.95rem; line-height: 1.6; }

/* ---- Products ---- */
.products { padding: 64px 0; background: #fff; }
.products__header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 36px; flex-wrap: wrap; gap: 16px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.product-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  display: flex; flex-direction: column;
}
.product-card:hover {
  border-color: #cfe8d8;
  box-shadow: 0 8px 28px rgba(16,38,26,0.1);
  transform: translateY(-3px);
}
.product-card--soldout { opacity: 0.6; }

/* Card image/header band */
.product-card__img {
  background: linear-gradient(135deg, #0f1c2e 0%, #162036 100%);
  height: 56px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 16px;
  position: relative; flex-shrink: 0;
}
.product-card__img::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(59,130,246,0.18) 0%, transparent 65%);
  pointer-events: none;
}
.product-card__img-badge {
  position: relative; z-index: 1;
  background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.92);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.8px;
  text-transform: uppercase; padding: 5px 14px; border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.2);
  white-space: nowrap;
}

/* Card body */
.product-card__body {
  padding: 20px 20px 16px;
  flex: 1; display: flex; flex-direction: column; gap: 12px;
}
.product-card__name {
  font-size: 1.05rem; font-weight: 800;
  color: var(--navy); letter-spacing: -0.2px;
}
.product-card__desc {
  font-size: 0.855rem; color: var(--gray-600);
  line-height: 1.65; flex: 1;
}

/* Spec tags — each on its own chip with clear spacing */
.product-card__specs {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding-top: 12px; border-top: 1px solid var(--gray-100);
}
.spec-tag {
  background: var(--gray-100); color: var(--gray-600);
  font-size: 0.72rem; font-weight: 600;
  padding: 4px 10px; border-radius: 100px;
  white-space: nowrap;
  border: 1px solid var(--gray-200);
}

/* Card footer */
.product-card__footer {
  padding: 14px 20px;
  border-top: 1px solid var(--gray-100);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--gray-50); flex-shrink: 0;
}
.product-card__price {
  font-size: 1.25rem; font-weight: 800; color: var(--navy); line-height: 1;
}
.product-card__price-sub {
  font-size: 0.74rem; color: var(--text-muted); font-weight: 400; margin-top: 3px;
}
.add-to-cart {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--blue); color: #fff;
  border: none; padding: 9px 16px; border-radius: 7px;
  font-size: 0.82rem; font-weight: 600; cursor: pointer;
  transition: all var(--transition); font-family: inherit; white-space: nowrap;
  flex-shrink: 0;
}
.add-to-cart:hover { background: #14492b; transform: translateY(-1px); box-shadow: 0 4px 10px rgba(26,94,55,0.3); }
.add-to-cart.added { background: var(--green); }
.add-to-cart[disabled] {
  background: var(--gray-200); color: var(--gray-500); cursor: not-allowed;
}
.add-to-cart[disabled]:hover { transform: none; box-shadow: none; }

/* Stock indicator */
.stock-indicator {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.75rem; font-weight: 600; padding: 4px 10px;
  border-radius: 100px;
}
.stock-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.stock-indicator--in  { background: var(--green-pale);  color: var(--green); }
.stock-indicator--low { background: var(--amber-pale);  color: var(--amber); }
.stock-indicator--out { background: var(--red-pale);    color: var(--red); }

/* ---- Why Us ---- */
.why {
  padding: 72px 0;
  background: var(--navy);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.why__bg {
  position: absolute; inset: 0; z-index: 0;
}
.why__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.9;
}
.why::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse 90% 70% at 50% 50%, rgba(16,38,26,0.25) 0%, rgba(16,38,26,0.55) 100%),
    linear-gradient(180deg, rgba(16,38,26,0.4) 0%, rgba(16,38,26,0.35) 50%, rgba(16,38,26,0.65) 100%);
  pointer-events: none;
}
/* Stronger backdrop on cards so they pop against the now-visible molecule */
.why-card {
  background: rgba(16,38,26,0.7);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.why__container { position: relative; z-index: 2; }
.why .section-label { color: #5ec98c; }
.why .section-title { color: #fff; }
.why__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 40px; position: relative; z-index: 2; }
.why-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg); padding: 24px;
  transition: all var(--transition);
  backdrop-filter: blur(8px);
}
.why-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(96,165,250,0.4);
  transform: translateY(-2px);
}
.why-card__icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(59,130,246,0.18);
  border: 1px solid rgba(96,165,250,0.3);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.why-card__icon svg { color: #5ec98c; }
.why-card__title { font-size: 0.95rem; font-weight: 700; color: #fff; margin-bottom: 6px; }
.why-card__desc { font-size: 0.85rem; color: rgba(255,255,255,0.6); line-height: 1.6; }

/* ---- Process / How it works ---- */
.how { padding: 72px 0; background: #fff; }
.how__container {
  max-width: 640px;
  margin: 0 auto;
}

.how__steps {
  display: flex; flex-direction: column; gap: 20px; margin-top: 28px;
}
.how-step {
  display: grid; grid-template-columns: 40px 1fr;
  gap: 16px; align-items: start;
}
.how-step__num {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--blue-pale); color: var(--blue);
  border: 1.5px solid #cfe8d8;
  font-size: 0.92rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.how-step__title { font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.how-step__desc  { font-size: 0.875rem; color: var(--text-muted); line-height: 1.55; }

/* ---- FAQ ---- */
.faq { padding: 64px 0; background: var(--gray-50); border-top: 1px solid var(--border); }
.faq__list { max-width: 700px; margin: 40px auto 0; display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: border-color var(--transition);
}
.faq-item.open { border-color: #cfe8d8; }
.faq-question {
  width: 100%; background: none; border: none; color: var(--text);
  font-family: inherit; font-size: 0.9rem; font-weight: 600;
  text-align: left; padding: 18px 20px; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-question svg { flex-shrink: 0; transition: transform var(--transition); color: var(--text-muted); }
.faq-item.open .faq-question svg { transform: rotate(45deg); color: var(--blue); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 0.875rem; color: var(--text-muted); line-height: 1.7;
}
.faq-answer p { padding: 0 20px 18px; }
.faq-item.open .faq-answer { max-height: 300px; }

/* ---- Contact ---- */
.contact { padding: 64px 0; background: #fff; border-top: 1px solid var(--border); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; align-items: start; }
.contact__info { padding-top: 8px; }
.contact__info h2 { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.5px; color: var(--navy); margin: 8px 0 14px; }
.contact__info p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; margin-bottom: 24px; }
.contact__details { display: flex; flex-direction: column; gap: 10px; }
.contact__detail { display: flex; align-items: center; gap: 10px; font-size: 0.875rem; color: var(--gray-600); }
.contact__detail svg { color: var(--blue); flex-shrink: 0; }
.contact__form {
  background: var(--gray-50); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
}
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group label { font-size: 0.8rem; font-weight: 600; color: var(--gray-700); }
.form-group input,
.form-group textarea,
.form-group select {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 10px 12px; color: var(--text); font-family: inherit; font-size: 0.875rem;
  outline: none; transition: border-color var(--transition);
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--blue-light); box-shadow: 0 0 0 3px rgba(59,130,246,0.1); }
.form-group textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 12px; }
.form-success {
  display: none; background: var(--green-pale); border: 1px solid #bbf7d0;
  color: var(--green); padding: 11px 14px; border-radius: var(--radius);
  font-size: 0.85rem; font-weight: 500;
}
.form-error {
  display: none; background: var(--red-pale); border: 1px solid #fecaca;
  color: var(--red); padding: 11px 14px; border-radius: var(--radius);
  font-size: 0.85rem; font-weight: 500; text-align: center;
}

/* ---- Referral code ---- */
.optional-tag {
  font-size: 0.62rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.04em; color: var(--text-muted);
  background: var(--bg-alt, #f1f5f9); padding: 2px 7px; border-radius: 999px;
  margin-left: 6px; vertical-align: middle;
}
#referralInput { text-transform: uppercase; }
.referral-feedback {
  font-size: 0.8rem; font-weight: 500; margin-top: 6px; min-height: 1em;
}
.referral-feedback--ok  { color: var(--green); }
.referral-feedback--err { color: var(--red); }
.order-card__referral { margin-top: 5px; font-size: 0.85rem; }
.order-card__commission {
  margin-top: 6px; font-size: 0.85rem; color: var(--maroon);
  background: var(--maroon-pale); border: 1px solid #f3d0d6;
  padding: 6px 10px; border-radius: var(--radius); display: inline-block;
}

/* ---- Admin orders summary + logout ---- */
.orders-summary { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.orders-stat {
  flex: 1; min-width: 110px; background: var(--gray-50); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 12px 14px; text-align: center;
}
.orders-stat__num { display: block; font-size: 1.15rem; font-weight: 800; color: var(--navy); }
.orders-stat__label { display: block; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); margin-top: 2px; }
.orders-stat--commission { background: var(--maroon-pale); border-color: #f3d0d6; }
.orders-stat--commission .orders-stat__num { color: var(--maroon); }
.admin-logout {
  margin-left: auto; background: none; border: none; color: var(--text-muted);
  font-size: 0.8rem; font-weight: 600; cursor: pointer; padding: 6px 8px;
}
.admin-logout:hover { color: var(--red); text-decoration: underline; }
.ref-badge {
  display: inline-block; font-size: 0.68rem; font-weight: 600;
  padding: 1px 7px; border-radius: 999px; text-transform: uppercase;
  letter-spacing: 0.03em; vertical-align: middle;
}
.ref-badge--ok  { background: var(--green-pale); color: var(--green); }
.ref-badge--bad { background: var(--red-pale); color: var(--red); }

/* ---- Variant selector (Vial / With Pen) ---- */
.variant-select { display: flex; gap: 8px; margin-top: 14px; }
.variant-select--modal { margin: 0 0 20px; }
.variant-opt {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 8px 6px; border: 1.5px solid var(--border); border-radius: var(--radius);
  background: #fff; cursor: pointer; font-size: 0.74rem; font-weight: 600;
  color: var(--text); line-height: 1.2; transition: border-color .15s, background .15s, color .15s;
}
.variant-opt span { font-size: 0.86rem; font-weight: 800; color: var(--text-muted); }
.variant-opt:hover { border-color: var(--blue); }
.variant-opt--active { border-color: var(--blue); background: var(--blue-pale); color: var(--blue); }
.variant-opt--active span { color: var(--blue); }
.cart-item__variant {
  display: inline-block; font-size: 0.62rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.03em; color: var(--blue); background: var(--blue-pale);
  padding: 1px 6px; border-radius: 999px; margin-left: 4px; vertical-align: middle;
}

/* ---- Age Gate (18+) ---- */
.age-gate {
  position: fixed; inset: 0; z-index: 100000;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  background: radial-gradient(circle at 50% 25%, #11203a 0%, #060912 70%);
}
.age-gate--hidden { display: none; }
.age-gate__box {
  max-width: 460px; width: 100%; text-align: center; color: #e7eef7;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px; padding: 40px 32px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.age-gate__logo-img {
  display: block; width: auto; max-width: 210px; max-height: 190px;
  margin: 0 auto 22px; border-radius: 14px;
}
.age-gate__logo { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; color: #fff; margin-bottom: 20px; }
.age-gate__logo span { color: #6bbf8f; }
.age-gate__badge {
  width: 60px; height: 60px; margin: 0 auto 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 800; color: #fff;
  background: var(--maroon); border: 2px solid rgba(255,255,255,0.25);
}
.age-gate__box h2 { font-size: 1.5rem; margin: 0 0 14px; color: #fff; }
.age-gate__box p { font-size: 0.9rem; line-height: 1.6; color: #9fb2c9; margin: 0 0 14px; }
.age-gate__q { font-weight: 700; color: #e7eef7; font-size: 1.02rem; }
.age-gate__btns { display: flex; flex-direction: column; gap: 10px; margin: 22px 0 16px; }
.age-gate__no {
  background: transparent; color: #aebfd3; border: 1px solid rgba(255,255,255,0.22);
}
.age-gate__no:hover { background: rgba(255,255,255,0.06); color: #fff; }
.age-gate__fine { font-size: 0.72rem; color: #6b7f96; margin: 0; line-height: 1.5; }

/* ---- View COA link (product card) ---- */
.view-coa {
  display: inline-flex; align-items: center; gap: 5px; margin-top: 12px;
  padding: 0; background: none; border: none; cursor: pointer;
  font-size: 0.78rem; font-weight: 600; color: var(--blue);
}
.view-coa:hover { text-decoration: underline; }

/* ---- COA Lightbox ---- */
.coa-overlay {
  position: fixed; inset: 0; background: rgba(8,12,20,0.8);
  z-index: 500; opacity: 0; pointer-events: none; transition: opacity .2s;
}
.coa-overlay.active { opacity: 1; pointer-events: auto; }
.coa-lightbox {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -48%) scale(0.98);
  width: min(680px, 94vw); max-height: 92vh; z-index: 501;
  background: #fff; border-radius: 14px; overflow: hidden; display: flex; flex-direction: column;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}
.coa-lightbox.open { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }
.coa-lightbox__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px; border-bottom: 1px solid var(--border); flex-shrink: 0;
}
.coa-lightbox__title { font-weight: 700; font-size: 0.9rem; color: var(--text); }
.coa-lightbox__actions { display: flex; align-items: center; gap: 14px; }
.coa-open-link { font-size: 0.8rem; font-weight: 600; color: var(--blue); text-decoration: none; white-space: nowrap; }
.coa-open-link:hover { text-decoration: underline; }
.coa-lightbox__body { overflow: auto; padding: 14px; background: #f8fafc; }
.coa-lightbox__body img { display: block; width: 100%; height: auto; border-radius: 8px; }
.coa-fallback { padding: 40px 20px; text-align: center; color: var(--text-muted); font-size: 0.9rem; }

/* ---- Legal Modal (Terms / Privacy / Disclaimer) ---- */
.legal-modal { max-width: 640px; }
.legal-modal__body {
  padding: 20px 24px 28px;
  font-size: 0.9rem; line-height: 1.7; color: var(--gray-700);
}
.legal-modal__body h4 {
  font-size: 0.95rem; font-weight: 700; color: var(--navy); margin: 22px 0 8px;
}
.legal-modal__body p { margin: 0 0 12px; }
.legal-modal__body ul { margin: 0 0 12px; padding-left: 20px; }
.legal-modal__body li { margin-bottom: 6px; }
.legal-modal__body strong { color: var(--text); }
.legal-updated { font-size: 0.78rem; color: var(--text-muted); font-style: italic; }
.legal-link { cursor: pointer; }

/* ---- Shipping method options ---- */
.ship-opt {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--radius);
  cursor: pointer; transition: border-color .15s, background .15s;
}
.ship-opt:hover { border-color: var(--blue); }
.ship-opt:has(input:checked) { border-color: var(--blue); background: var(--blue-pale); }
.ship-opt input { accent-color: var(--blue); width: 16px; height: 16px; flex-shrink: 0; }
.ship-opt__text { display: flex; flex-direction: column; gap: 1px; flex: 1; }
.ship-opt__label { font-size: 0.88rem; font-weight: 600; color: var(--text); }
.ship-opt__sub { font-size: 0.75rem; color: var(--text-muted); }
.ship-opt__price { font-size: 0.95rem; font-weight: 800; color: var(--navy); white-space: nowrap; }
.ship-warning {
  margin: 8px 2px 0; padding: 9px 12px;
  background: var(--red-pale); border: 1px solid #fecaca; border-radius: var(--radius);
  color: var(--red); font-size: 0.8rem; font-weight: 600; line-height: 1.4;
}

/* ---- Footer ---- */
.footer { background: var(--navy); color: rgba(255,255,255,0.7); padding: 52px 0 0; }
.footer__inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__brand .nav__logo { color: #fff; font-size: 1.2rem; }
.footer__brand .nav__logo span { color: #e79aa6; }
.footer__brand p { font-size: 0.82rem; color: rgba(255,255,255,0.45); margin-top: 10px; line-height: 1.65; }
.footer__col h4 { font-size: 0.75rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,0.9); margin-bottom: 14px; }
.footer__col a { display: block; font-size: 0.82rem; color: rgba(255,255,255,0.5); margin-bottom: 8px; transition: color var(--transition); }
.footer__col a:hover { color: rgba(255,255,255,0.85); }
.footer__bottom { padding: 18px 24px; text-align: center; }
.footer__bottom p { font-size: 0.75rem; color: rgba(255,255,255,0.35); max-width: 1100px; margin: 0 auto; }

/* ---- Cart Drawer ---- */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.4);
  z-index: 200; opacity: 0; pointer-events: none;
  transition: opacity var(--transition);
}
.cart-overlay.active { opacity: 1; pointer-events: all; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 400px; max-width: 100vw;
  background: #fff; border-left: 1px solid var(--border);
  z-index: 201; display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
  box-shadow: var(--shadow-lg);
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer__header {
  padding: 18px 20px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  background: var(--gray-50);
}
.cart-drawer__header h3 { font-size: 1rem; font-weight: 700; color: var(--navy); }
.cart-close {
  background: none; border: 1px solid var(--border); color: var(--gray-500);
  width: 32px; height: 32px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all var(--transition);
}
.cart-close:hover { border-color: var(--gray-500); color: var(--text); }
.cart-drawer__body { flex: 1; overflow-y: auto; padding: 16px 20px; }
.cart-empty {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 12px; height: 180px;
  color: var(--text-muted); text-align: center;
}
.cart-empty svg { opacity: 0.25; }
.cart-empty p { font-size: 0.875rem; }
.cart-item {
  display: grid; grid-template-columns: 1fr auto;
  gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--gray-100);
}
.cart-item__name { font-size: 0.9rem; font-weight: 600; color: var(--navy); margin-bottom: 3px; }
.cart-item__price { font-size: 0.8rem; color: var(--text-muted); }
.cart-item__controls { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.qty-btn {
  background: var(--gray-100); border: 1px solid var(--border); color: var(--text);
  width: 26px; height: 26px; border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 0.9rem; line-height: 1;
  transition: all var(--transition); font-family: inherit;
}
.qty-btn:hover { background: var(--gray-200); border-color: var(--gray-300); }
.qty-display { font-size: 0.875rem; font-weight: 600; min-width: 20px; text-align: center; }
.cart-item__remove {
  background: none; border: none; color: var(--gray-300);
  cursor: pointer; font-size: 1.1rem; padding: 2px;
  transition: color var(--transition); align-self: start; line-height: 1;
}
.cart-item__remove:hover { color: var(--red); }
.cart-item__total { font-weight: 700; font-size: 0.9rem; color: var(--navy); align-self: center; }
.cart-drawer__footer {
  padding: 16px 20px; border-top: 1px solid var(--border);
  background: var(--gray-50); display: flex; flex-direction: column; gap: 12px;
}
.cart-total { display: flex; justify-content: space-between; font-size: 1rem; font-weight: 700; color: var(--navy); }
.cart-shipping-note { font-size: 0.75rem; color: var(--text-muted); text-align: center; }

/* ---- Checkout Modal ---- */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  z-index: 300; opacity: 0; pointer-events: none;
  transition: opacity var(--transition);
}
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal {
  position: fixed; top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.97);
  width: 92%; max-width: 560px; max-height: 92vh; overflow-y: auto;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  z-index: 301; opacity: 0; pointer-events: none;
  transition: all 0.22s cubic-bezier(0.4,0,0.2,1);
  box-shadow: var(--shadow-lg);
}
.modal.open { opacity: 1; pointer-events: all; transform: translate(-50%, -50%) scale(1); }
.modal__header {
  padding: 18px 20px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; background: #fff; z-index: 1;
}
.modal__header h3 { font-size: 1rem; font-weight: 700; color: var(--navy); }
.modal__form { padding: 20px; display: flex; flex-direction: column; gap: 20px; }
.modal__section { display: flex; flex-direction: column; gap: 10px; }
.modal__section h4 {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--blue); margin-bottom: 4px;
  padding-bottom: 8px; border-bottom: 1px solid var(--gray-100);
}
.modal__order-summary {
  background: var(--gray-50); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px;
}
.modal__order-summary h4 {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--gray-500); margin-bottom: 10px;
}
.order-line {
  display: flex; justify-content: space-between;
  padding: 6px 0; border-bottom: 1px solid var(--gray-200);
  font-size: 0.85rem; color: var(--gray-600);
}
.order-line:last-child { border-bottom: none; font-weight: 700; color: var(--navy); font-size: 0.9rem; }
.checkout-note {
  font-size: 0.75rem; color: var(--text-muted); text-align: center; line-height: 1.55;
}
.order-success {
  padding: 48px 24px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.order-success svg { color: var(--green); }
.order-success h3 { font-size: 1.4rem; font-weight: 800; color: var(--navy); }
.order-success p { color: var(--text-muted); max-width: 300px; font-size: 0.9rem; line-height: 1.6; }

/* ---- Cash App box ---- */
.cashapp-box {
  background: #f0fdf4; border: 1px solid #bbf7d0;
  border-radius: var(--radius); padding: 18px;
  display: flex; flex-direction: column; gap: 12px;
}
.cashapp-box__header { display: flex; align-items: center; gap: 10px; }
.cashapp-logo {
  width: 36px; height: 36px; border-radius: 8px;
  background: #00D632; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1.3rem; flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0,214,50,0.3);
}
.cashapp-box__title { font-size: 0.9rem; font-weight: 700; color: var(--navy); }
.cashapp-box__sub { font-size: 0.78rem; color: var(--text-muted); }
.cashapp-handle-row {
  display: flex; align-items: center; justify-content: space-between;
  background: #fff; border: 1px solid #bbf7d0; border-radius: 6px; padding: 9px 12px;
}
.cashapp-handle { font-size: 0.95rem; font-weight: 700; color: #16a34a; font-family: monospace; }
.copy-btn {
  background: #dcfce7; border: 1px solid #bbf7d0; color: #16a34a;
  padding: 4px 12px; border-radius: 5px; font-size: 0.75rem; font-weight: 600;
  cursor: pointer; font-family: inherit; transition: all var(--transition);
}
.copy-btn:hover { background: #bbf7d0; }
.cashapp-amount-row {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.85rem; color: var(--gray-600);
}
.cashapp-amount { font-size: 1.2rem; font-weight: 800; color: var(--navy); }
.cashapp-steps { list-style: none; display: flex; flex-direction: column; gap: 7px; counter-reset: step; }
.cashapp-steps li {
  counter-increment: step; font-size: 0.82rem; color: var(--gray-600);
  line-height: 1.5; padding-left: 28px; position: relative;
}
.cashapp-steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 18px; height: 18px; border-radius: 50%;
  background: #bbf7d0; color: #16a34a;
  font-weight: 700; font-size: 0.7rem;
  display: flex; align-items: center; justify-content: center;
}

/* ---- Admin Panel ---- */
.admin-modal { max-width: 620px; }
.admin-login { padding: 28px 24px; }
.admin-login > p { color: var(--text-muted); font-size: 0.875rem; margin-bottom: 20px; text-align: center; }
.admin-login form { display: flex; flex-direction: column; gap: 14px; max-width: 300px; margin: 0 auto; }
.admin-dashboard {}
.admin-dash-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px 0;
}
.admin-dash-title { font-size: 0.95rem; font-weight: 800; color: var(--navy); }
.admin-tabs {
  display: flex; gap: 4px; border-bottom: 1px solid var(--border); background: var(--gray-50);
  padding: 0 12px; overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.admin-tabs::-webkit-scrollbar { height: 0; }
.admin-tab {
  flex: 0 0 auto; background: none; border: none; color: var(--gray-500);
  padding: 12px 12px; font-family: inherit; font-size: 0.85rem; font-weight: 600;
  cursor: pointer; border-bottom: 2px solid transparent; transition: all var(--transition);
  white-space: nowrap;
}
.admin-tab:hover { color: var(--text); }
.admin-tab--active { color: var(--blue); border-bottom-color: var(--blue); }
.admin-tab-content { padding: 18px 20px; }

/* Search + select-all toolbar */
.admin-toolbar {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 20px 0;
}
.admin-search-input {
  flex: 1; min-width: 0; font-family: inherit; font-size: 0.85rem;
  padding: 9px 12px; border: 1.5px solid var(--border); border-radius: var(--radius);
  background: #fff;
}
.admin-search-input:focus { outline: none; border-color: var(--blue); }
.select-all-check {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  font-size: 0.8rem; font-weight: 600; color: var(--gray-600); white-space: nowrap; user-select: none;
}
.select-all-check input { width: 15px; height: 15px; accent-color: var(--blue); cursor: pointer; }

/* Bulk action bar */
.bulk-bar {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  margin: 10px 20px 0; padding: 10px 14px;
  background: var(--blue-pale); border: 1px solid #cfe8d8; border-radius: var(--radius);
}
.bulk-bar__count { font-size: 0.82rem; font-weight: 700; color: var(--navy); }
.bulk-bar__actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bulk-bar__clear {
  background: none; border: none; color: var(--gray-500); font-family: inherit;
  font-size: 0.8rem; font-weight: 600; text-decoration: underline; cursor: pointer; padding: 4px;
}
.bulk-bar__clear:hover { color: var(--text); }

/* Payment-received checkbox */
.pay-check {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  font-size: 0.82rem; font-weight: 600; color: var(--gray-600);
  background: var(--gray-50); border: 1.5px solid var(--border);
  padding: 7px 12px; border-radius: var(--radius); user-select: none;
}
.pay-check input { width: 16px; height: 16px; accent-color: var(--green); cursor: pointer; }
.pay-check--done { background: var(--green-pale); border-color: #bbf7d0; color: var(--green); }
.shipped-tag { font-size: 0.8rem; font-weight: 700; color: var(--green); align-self: center; }

/* Commission panel */
.commission-panel {
  background: var(--maroon-pale); border: 1px solid #f3d0d6; border-radius: var(--radius-lg);
  padding: 14px 16px; margin-bottom: 16px;
}
.commission-panel__row {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.85rem; color: var(--gray-700); padding: 6px 0;
}
.commission-panel__row + .commission-panel__row { border-top: 1px solid rgba(139,30,45,0.12); }
.commission-panel__row strong { font-size: 1rem; color: var(--navy); }
.commission-panel__row--owed strong { color: var(--maroon); font-size: 1.15rem; }

/* Discount line in checkout order summary */
.order-line--discount { color: var(--green); font-weight: 600; }

/* Tracking input + shipped tracking display */
.ship-row { flex: 1 1 100%; display: flex; gap: 7px; margin-top: 2px; }
.tracking-input {
  flex: 1; min-width: 0; font-family: inherit; font-size: 0.82rem;
  padding: 8px 10px; border: 1.5px solid var(--border); border-radius: var(--radius);
}
.tracking-input:focus { outline: none; border-color: var(--blue); }
.order-card__tracking { margin-top: 5px; font-size: 0.82rem; color: var(--gray-700); }
.order-card__tracking a { color: var(--blue); text-decoration: underline; word-break: break-all; }
.payout-check span { white-space: nowrap; }
.admin-hint { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 14px; }
.empty-state { text-align: center; padding: 40px; color: var(--text-muted); font-size: 0.875rem; }
.order-card {
  background: var(--gray-50); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 14px; margin-bottom: 10px;
  transition: border-color .15s, background .15s;
}
.order-card--selected { border-color: var(--blue); background: var(--blue-pale); }
.order-card__header {
  display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 10px;
}
.order-card__header-left { display: flex; align-items: flex-start; gap: 9px; }
.order-select-check { width: 15px; height: 15px; margin-top: 2px; accent-color: var(--blue); cursor: pointer; flex-shrink: 0; }
.order-card__id { font-weight: 700; font-size: 0.8rem; font-family: monospace; color: var(--navy); }
.order-card__date { font-size: 0.72rem; color: var(--text-muted); margin-top: 2px; }
.order-status {
  font-size: 0.67rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
  padding: 3px 9px; border-radius: 100px;
}
.order-status--awaiting_payment { background: var(--amber-pale); color: var(--amber); }
.order-status--paid    { background: var(--blue-pale);  color: var(--blue); }
.order-status--shipped { background: var(--green-pale); color: var(--green); }
.order-card__body { font-size: 0.82rem; color: var(--gray-600); line-height: 1.6; margin-bottom: 10px; }
.order-card__body strong { color: var(--text); }
.order-card__items { margin-top: 5px; font-size: 0.8rem; color: var(--text); }
.order-card__total { margin-top: 5px; font-size: 0.875rem; }
.order-card__actions {
  display: flex; gap: 7px; flex-wrap: wrap; align-items: center;
  padding-top: 10px; border-top: 1px solid var(--border);
}
.btn-mini {
  background: #fff; border: 1px solid var(--border); color: var(--gray-600);
  padding: 5px 11px; border-radius: 5px; font-size: 0.77rem; font-weight: 600;
  cursor: pointer; font-family: inherit; transition: all var(--transition);
}
.btn-mini--success { background: var(--green-pale); border-color: #bbf7d0; color: var(--green); }
.btn-mini--primary { background: var(--blue-pale);  border-color: #cfe8d8; color: var(--blue); }
.btn-mini--danger  { background: var(--red-pale);   border-color: #fecaca; color: var(--red); }
.btn-mini:hover { transform: translateY(-1px); }

/* =========================================================
   Product Card — Details button
   ========================================================= */
.product-card__actions {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
}
.view-details-btn {
  background: none; border: 1.5px solid var(--border);
  color: var(--gray-600); padding: 9px 14px;
  border-radius: 7px; font-size: 0.82rem; font-weight: 600;
  cursor: pointer; font-family: inherit; white-space: nowrap;
  transition: all var(--transition);
}
.view-details-btn:hover {
  border-color: var(--blue-light); color: var(--blue); background: var(--blue-pale);
}

/* =========================================================
   Product Detail Modal
   ========================================================= */
.detail-modal {
  max-width: 620px;
  display: flex; flex-direction: column;
  max-height: 90vh;
}
.detail-modal__header {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 20px; border-bottom: 1px solid var(--border);
  position: sticky; top: 0; background: #fff; z-index: 1; flex-shrink: 0;
}
.detail-modal__title-row {
  display: flex; align-items: center; gap: 14px; min-width: 0;
}
.detail-modal__icon {
  font-size: 1.8rem; flex-shrink: 0;
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--gray-100);
  display: flex; align-items: center; justify-content: center;
}
.detail-modal__name {
  font-size: 1.1rem; font-weight: 800; color: var(--navy);
}
.detail-modal__fullname {
  font-size: 0.78rem; color: var(--text-muted); margin-top: 2px;
}
.detail-modal__body {
  overflow-y: auto; padding: 0; flex: 1;
}
.detail-modal__footer {
  padding: 16px 20px; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--gray-50); flex-shrink: 0;
  position: sticky; bottom: 0;
}
.detail-modal__footer .btn--primary { padding: 11px 24px; }
.detail-modal__footer .btn--primary[disabled] {
  background: var(--gray-200); color: var(--gray-500); cursor: not-allowed;
}

/* Detail body sections */
.detail-section {
  padding: 20px 20px 0;
}
.detail-section:last-of-type { padding-bottom: 0; }

.detail-category-badge {
  display: inline-block;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.5px;
  text-transform: uppercase; padding: 4px 12px; border-radius: 100px;
  margin-bottom: 12px;
}
.detail-category-badge--healing  { background: #d1fae5; color: #065f46; }
.detail-category-badge--metabolic { background: #dbeafe; color: #1e40af; }
.detail-category-badge--growth    { background: #fef3c7; color: #92400e; }
.detail-category-badge--cognitive { background: #ede9fe; color: #5b21b6; }
.detail-category-badge--aesthetic { background: #ffedd5; color: #9a3412; }

.detail-overview {
  font-size: 0.9rem; color: var(--gray-700); line-height: 1.75;
}

.detail-section-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.8px;
  text-transform: uppercase; color: var(--navy);
  margin-bottom: 14px; padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-100);
  margin-top: 20px;
}
.detail-section-title svg { color: var(--blue); flex-shrink: 0; }

.detail-benefits {
  list-style: none; display: flex; flex-direction: column; gap: 9px;
}
.detail-benefits li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.875rem; color: var(--gray-700); line-height: 1.5;
}
.detail-benefits li::before {
  content: '';
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--green-pale); border: 1.5px solid #bbf7d0;
  flex-shrink: 0; margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}

.detail-mechanism {
  font-size: 0.875rem; color: var(--gray-600); line-height: 1.75;
  background: var(--gray-50); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px 16px;
}

.detail-specs {
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
}
.detail-spec-row {
  display: grid; grid-template-columns: 140px 1fr;
  padding: 10px 14px; border-bottom: 1px solid var(--gray-100);
  font-size: 0.83rem;
}
.detail-spec-row:last-child { border-bottom: none; }
.detail-spec-label { font-weight: 600; color: var(--gray-700); }
.detail-spec-value { color: var(--gray-600); }

.detail-disclaimer {
  display: flex; align-items: flex-start; gap: 8px;
  margin: 20px 20px 20px;
  background: #fffbeb; border: 1px solid #fde68a;
  border-radius: var(--radius); padding: 12px 14px;
  font-size: 0.78rem; color: #92400e; line-height: 1.5;
}
.detail-disclaimer svg { color: var(--amber); flex-shrink: 0; margin-top: 1px; }

/* Mobile overrides for detail modal */
@media (max-width: 640px) {
  .detail-modal {
    width: 100%; max-width: 100%;
    top: auto; bottom: 0; left: 0; right: 0;
    transform: translateY(100%);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    max-height: 92vh;
  }
  .detail-modal.open { transform: translateY(0); }

  /* Tighter header */
  .detail-modal__header { padding: 14px 16px; gap: 10px; }
  .detail-modal__icon {
    width: 38px; height: 38px; font-size: 1.4rem;
    border-radius: 10px;
  }
  .detail-modal__name { font-size: 1rem; }
  .detail-modal__fullname { font-size: 0.72rem; }

  /* Tighter body sections */
  .detail-section { padding: 16px 16px 0; }
  .detail-section-title { margin-top: 16px; margin-bottom: 12px; padding-bottom: 8px; }
  .detail-overview { font-size: 0.875rem; }

  /* Spec rows stack on mobile */
  .detail-spec-row {
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 10px 12px;
  }
  .detail-spec-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--text-muted);
  }
  .detail-spec-value {
    font-size: 0.85rem;
    color: var(--text);
    word-break: break-word;
  }

  .detail-mechanism { padding: 12px 14px; font-size: 0.85rem; }
  .detail-benefits li { font-size: 0.85rem; }
  .detail-disclaimer { margin: 16px; padding: 11px 13px; font-size: 0.75rem; }
  .detail-modal__footer { padding: 12px 16px; }

  /* Product card buttons stack cleanly */
  .product-card__footer { flex-wrap: wrap; gap: 10px; }
  .product-card__actions { width: 100%; gap: 8px; }
  .view-details-btn, .add-to-cart { flex: 1; justify-content: center; }
}

/* =========================================================
   Mobile Nav / Hamburger
   ========================================================= */
.nav__actions {
  display: flex; align-items: center; gap: 8px; margin-left: auto;
}
.hamburger {
  display: none;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 40px; height: 40px; border-radius: var(--radius);
  background: none; border: 1px solid var(--border);
  cursor: pointer; padding: 0; flex-shrink: 0;
}
.hamburger span {
  display: block; width: 18px; height: 2px;
  background: var(--navy); border-radius: 2px;
  transition: all 0.25s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 8px 0 16px;
}
.mobile-menu.open { display: flex; }
.mobile-link {
  padding: 13px 24px;
  font-size: 1rem; font-weight: 500; color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
  transition: background var(--transition);
}
.mobile-link:last-child { border-bottom: none; }
.mobile-link:active { background: var(--gray-50); }

/* =========================================================
   Responsive
   ========================================================= */

/* Tablet */
@media (max-width: 900px) {
  .contact__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .why__grid { grid-template-columns: 1fr 1fr; }
}

/* Mobile */
@media (max-width: 640px) {
  /* Nav */
  .nav__links { display: none; }
  .hamburger { display: flex; }
  .nav__inner { padding: 0 16px; gap: 12px; }

  /* Announcement — tighter on mobile */
  .announcement { font-size: 0.72rem; padding: 7px 14px; line-height: 1.4; }

  /* Hero — tighter, more breathing room */
  .hero { padding: 44px 20px 52px; min-height: 0; }
  .hero__eyebrow {
    font-size: 0.65rem; padding: 4px 11px; margin-bottom: 18px;
    letter-spacing: 0.4px;
  }
  .hero__title { font-size: 1.75rem; letter-spacing: -0.5px; margin-bottom: 12px; }
  .hero__sub { font-size: 0.92rem; margin-bottom: 24px; padding: 0 4px; }
  .hero__ctas { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero__ctas .btn--primary,
  .hero__ctas .btn--ghost { justify-content: center; padding: 13px 24px; font-size: 0.95rem; }

  /* Trust strip — compact 2×2 grid */
  .trust-strip { padding: 14px 16px; }
  .trust-strip__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 14px;
    justify-items: start;
  }
  .trust-item { font-size: 0.76rem; gap: 6px; }
  .trust-item svg { width: 14px; height: 14px; }
  .trust-item:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; }

  /* Section headers — consistent on mobile */
  .section-title { font-size: 1.5rem; letter-spacing: -0.3px; }
  .section-label { font-size: 0.68rem; letter-spacing: 1.2px; }
  .section-sub { font-size: 0.88rem; }

  /* Products */
  .products { padding: 44px 0; }
  .products__header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    margin-bottom: 24px;
  }
  .products__header > div { width: 100%; }
  .products__header p {
    text-align: center;
    max-width: 100%;
    font-size: 0.8rem;
    line-height: 1.55;
  }
  .product-grid { grid-template-columns: 1fr; gap: 14px; }

  /* Product card — tighter, cleaner */
  .product-card__img { height: 48px; padding: 0 14px; }
  .product-card__img-badge { font-size: 0.66rem; padding: 4px 11px; letter-spacing: 0.6px; }
  .product-card__body { padding: 16px 16px 14px; gap: 10px; }
  .product-card__name { font-size: 1rem; }
  .product-card__desc { font-size: 0.82rem; line-height: 1.55; }
  .product-card__specs { padding-top: 10px; gap: 5px; }
  .spec-tag { font-size: 0.68rem; padding: 3px 8px; }
  .product-card__footer { padding: 12px 16px; }
  .product-card__price { font-size: 1.15rem; }
  .product-card__price-sub { font-size: 0.7rem; }
  .add-to-cart { padding: 10px 16px; font-size: 0.82rem; }
  .view-details-btn { padding: 10px 14px; font-size: 0.8rem; }

  /* Why */
  .why { padding: 44px 0; }
  .why__grid { grid-template-columns: 1fr; gap: 10px; margin-top: 28px; }
  .why-card { padding: 18px; }
  .why-card__icon { width: 38px; height: 38px; margin-bottom: 10px; border-radius: 9px; }
  .why-card__icon svg { width: 18px; height: 18px; }
  .why-card__title { font-size: 0.92rem; }
  .why-card__desc { font-size: 0.82rem; }

  /* How */
  .how { padding: 44px 0; }
  .how__steps { gap: 14px; margin-top: 20px; }
  .how-step__title { font-size: 0.92rem; }
  .how-step__desc { font-size: 0.82rem; }

  /* FAQ */
  .faq { padding: 44px 0; }
  .faq__list { margin-top: 28px; }
  .faq-question { font-size: 0.88rem; padding: 16px 18px; }

  /* Contact */
  .contact { padding: 44px 0; }
  .contact__info h2 { font-size: 1.55rem; }
  .contact__info p { font-size: 0.88rem; }

  /* Footer */
  .footer { padding: 36px 0 0; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; padding-bottom: 28px; }
  .contact__form { padding: 20px 16px; }

  /* Cart drawer — full width */
  .cart-drawer { width: 100vw; }
  .cart-drawer__body { padding: 12px 16px; }
  .cart-drawer__header { padding: 16px; }
  .cart-drawer__footer { padding: 14px 16px; }

  /* Checkout modal — edge to edge on mobile */
  .modal {
    width: 100%; max-width: 100%;
    top: auto; bottom: 0; left: 0; right: 0;
    transform: translateY(100%);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    max-height: 95vh;
  }
  .modal.open { transform: translateY(0); }
  .modal__header { padding: 14px 16px; }
  .modal__form { padding: 16px; gap: 16px; }
  .modal__section { gap: 10px; }
  .modal__section h4 { margin-bottom: 2px; padding-bottom: 8px; font-size: 0.7rem; }

  /* Force form rows to wrap properly — never more than 2 cols on phone */
  .form-row {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  /* Single column variant when needed */
  .form-row--1 { grid-template-columns: 1fr; }

  /* Bigger tap targets on forms */
  .form-group input,
  .form-group textarea { padding: 13px 12px; font-size: 1rem; }
  .form-group label { font-size: 0.78rem; }
  .btn--full { padding: 14px; font-size: 1rem; }
  .qty-btn { width: 32px; height: 32px; }

  /* Venmo box tighter */
  .cashapp-box { padding: 14px; gap: 10px; }
  .cashapp-handle { font-size: 0.85rem; }
  .cashapp-amount { font-size: 1.1rem; }
  .cashapp-steps li { font-size: 0.78rem; padding-left: 26px; }
  .checkout-note { font-size: 0.72rem; }

  /* Order summary tighter */
  .modal__order-summary { padding: 12px; }
  .order-line { font-size: 0.82rem; padding: 5px 0; }
}
