/* ===== OPIOIDS PHARMACY STORE — UNIQUE THEME ===== */
:root {
  --bg: #f8f7ff;
  --bg2: #f0eeff;
  --card: #ffffff;
  --primary: #6d28d9;
  --primary-dark: #5b21b6;
  --primary-light: #ede9fe;
  --accent: #7c3aed;
  --accent2: #a78bfa;
  --text: #1e1b4b;
  --text2: #4c1d95;
  --muted: #6b7280;
  --border: #e0d9f7;
  --danger: #dc2626;
  --success: #059669;
  --warning: #d97706;
  --radius: 14px;
  --shadow: 0 4px 24px rgba(109,40,217,0.10);
  --shadow-hover: 0 10px 40px rgba(109,40,217,0.18);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
}

a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }

img { max-width: 100%; display: block; }

/* ── TOPBAR ── */
.topbar {
  background: var(--primary);
  color: rgba(255,255,255,0.85);
  font-size: 0.78rem;
  text-align: center;
  padding: 7px 16px;
  letter-spacing: 0.02em;
}
.topbar span { margin: 0 12px; }
.topbar strong { color: #fff; }

/* ── HEADER / NAV ── */
header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 12px rgba(109,40,217,0.07);
}
.nav-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-logo img { height: 42px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 8px;
  transition: background .18s, color .18s;
}
.nav-links a:hover, .nav-links a.active {
  background: var(--primary-light);
  color: var(--primary);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-hamburger svg { display: block; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all .2s;
  white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(109,40,217,0.28); }
.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-ghost { background: var(--primary-light); color: var(--primary); }
.btn-ghost:hover { background: var(--primary); color: #fff; }
.btn-sm { padding: 8px 16px; font-size: 0.82rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }
.btn-success { background: var(--success); color: #fff; }
.btn-success:hover { background: #047857; color: #fff; }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, #4c1d95 0%, #6d28d9 45%, #7c3aed 100%);
  color: #fff;
  padding: 80px 24px 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner { max-width: 760px; margin: 0 auto; position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 22px;
}
.hero-eyebrow::before { content: '●'; color: #a5f3fc; font-size: 0.5rem; }
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}
.hero h1 em { font-style: normal; color: #c4b5fd; }
.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  margin: 0 auto 36px;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-actions .btn-primary { background: #fff; color: var(--primary); }
.hero-actions .btn-primary:hover { background: #ede9fe; }
.hero-actions .btn-outline { border-color: rgba(255,255,255,0.5); color: #fff; }
.hero-actions .btn-outline:hover { background: rgba(255,255,255,0.15); color: #fff; }

/* ── TRUST BAR ── */
.trust-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 18px 24px;
}
.trust-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
}
.trust-icon {
  width: 36px;
  height: 36px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

/* ── SECTION HELPERS ── */
.section { padding: 72px 24px; }
.section-alt { background: var(--bg2); }
.section-white { background: #fff; }
.container { max-width: 1200px; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 52px; }
.section-head .eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.section-head p { color: var(--muted); max-width: 540px; margin: 0 auto; font-size: 1rem; }

/* ── SERVICE CARDS ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 28px;
}
.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .22s, box-shadow .22s, border-color .22s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent2);
}
.product-card-img-wrap {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: var(--primary-light);
}
.product-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
}
.product-card:hover .product-card-img-wrap img { transform: scale(1.04); }
.product-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 20px;
}
.product-card-body { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.product-card-cat {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--primary);
  margin-bottom: 6px;
}
.product-card-body h3 { font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.product-card-body p { font-size: 0.875rem; color: var(--muted); flex: 1; margin-bottom: 18px; line-height: 1.6; }
.product-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.product-card-footer a.view-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 5px;
}
.product-card-footer a.view-link:hover { color: var(--accent); }
.product-card-footer a.view-link::after { content: '→'; transition: margin .2s; }
.product-card-footer a.view-link:hover::after { margin-left: 4px; }

/* ── SERVICE DETAIL PAGE ── */
.service-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px;
}
.service-main-img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  max-height: 400px;
  object-fit: cover;
  margin-bottom: 32px;
}
.service-cat-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: var(--primary-light);
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.service-title {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--text);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.service-desc { color: var(--muted); font-size: 0.975rem; margin-bottom: 24px; line-height: 1.75; }
.spec-list { list-style: none; display: flex; flex-direction: column; gap: 6px; margin-bottom: 28px; }
.spec-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  padding: 9px 14px;
  background: var(--primary-light);
  border-radius: 8px;
  color: var(--text2);
  font-weight: 500;
}
.spec-list li::before { content: '✦'; color: var(--primary); font-size: 0.6rem; margin-top: 3px; flex-shrink: 0; }
.long-content { font-size: 0.95rem; color: #374151; line-height: 1.8; }
.long-content h2 { font-size: 1.2rem; font-weight: 700; color: var(--text); margin: 28px 0 10px; }
.long-content p { margin-bottom: 14px; }
.long-content ul { margin: 0 0 14px 20px; }
.long-content ul li { margin-bottom: 6px; }

/* ── ORDER SIDEBAR / FORM BOX ── */
.order-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: sticky;
  top: 88px;
}
.order-box-header {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  padding: 18px 22px;
}
.order-box-header h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.order-box-header p { font-size: 0.8rem; opacity: 0.85; }
.order-box-body { padding: 22px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 9px;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color .2s, box-shadow .2s;
  font-family: inherit;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(109,40,217,0.12);
  background: #fff;
}
.form-group textarea { resize: vertical; min-height: 80px; }
.order-secure {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 10px;
  justify-content: center;
}

/* Full page order form */
.order-page { max-width: 680px; margin: 48px auto; padding: 0 24px 60px; }
.order-page h1 { font-size: 1.8rem; font-weight: 800; margin-bottom: 6px; }
.order-page .subtitle { color: var(--muted); margin-bottom: 32px; }
.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}
.form-card h2 { font-size: 1rem; font-weight: 700; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid var(--border); color: var(--text); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── BREADCRUMB ── */
.breadcrumb-bar { background: #fff; border-bottom: 1px solid var(--border); padding: 10px 24px; }
.breadcrumb {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--muted);
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: #d1d5db; }
.breadcrumb .current { color: var(--primary); font-weight: 600; }

/* ── POLICY PAGES ── */
.policy-page { max-width: 820px; margin: 0 auto; padding: 48px 24px 72px; }
.policy-page h1 { font-size: 2rem; font-weight: 800; margin-bottom: 8px; }
.policy-page .updated { font-size: 0.82rem; color: var(--muted); margin-bottom: 36px; }
.policy-page h2 { font-size: 1.2rem; font-weight: 700; margin: 32px 0 10px; color: var(--text); }
.policy-page p { color: #374151; margin-bottom: 14px; line-height: 1.8; }
.policy-page ul { margin: 0 0 14px 20px; color: #374151; }
.policy-page ul li { margin-bottom: 7px; line-height: 1.7; }

/* ── DISCLAIMER / ALERT ── */
.alert {
  padding: 16px 20px;
  border-radius: 10px;
  font-size: 0.875rem;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.6;
}
.alert-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }
.alert-warning { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }
.alert-info { background: var(--primary-light); border: 1px solid var(--accent2); color: var(--text2); }
.alert-success { background: #ecfdf5; border: 1px solid #6ee7b7; color: #065f46; }

/* ── STEPS / HOW IT WORKS ── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.step-card {
  text-align: center;
  padding: 32px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.step-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.step-card p { font-size: 0.875rem; color: var(--muted); }

/* ── FOOTER ── */
footer {
  background: #1e1b4b;
  color: #c4b5fd;
  padding: 56px 24px 0;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(196,181,253,0.15);
}
.footer-brand img { height: 42px; margin-bottom: 14px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 0.85rem; color: rgba(196,181,253,0.7); line-height: 1.7; max-width: 280px; }
.footer-col h4 { font-size: 0.85rem; font-weight: 700; color: #fff; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.07em; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { font-size: 0.85rem; color: rgba(196,181,253,0.7); transition: color .2s; }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(196,181,253,0.5);
  flex-wrap: wrap;
  gap: 10px;
}
.footer-legal-bar {
  background: #120f36;
  padding: 12px 24px;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(196,181,253,0.45);
  line-height: 1.6;
}

/* ── SUCCESS PAGE ── */
.success-wrap { text-align: center; padding: 80px 24px; max-width: 560px; margin: 0 auto; }
.success-icon { font-size: 4rem; margin-bottom: 20px; }
.success-wrap h1 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; color: var(--success); }
.success-wrap p { color: var(--muted); margin-bottom: 28px; }

/* ── 404 ── */
.notfound { text-align: center; padding: 80px 24px; }
.notfound h1 { font-size: 6rem; font-weight: 900; color: var(--primary-light); line-height: 1; }
.notfound h2 { font-size: 1.6rem; font-weight: 700; margin-bottom: 10px; }
.notfound p { color: var(--muted); margin-bottom: 28px; }

/* ── OTHER SERVICES ── */
.other-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; margin-top: 20px; }
.other-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
  color: var(--text);
}
.other-card:hover { border-color: var(--accent2); box-shadow: 0 4px 16px rgba(109,40,217,0.12); }
.other-card img { width: 100%; height: 110px; object-fit: cover; background: var(--primary-light); }
.other-card-info { padding: 10px 12px; }
.other-card-info span { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; color: var(--primary); display: block; margin-bottom: 2px; }
.other-card-info h4 { font-size: 0.82rem; font-weight: 600; color: var(--text); }

/* ── MOBILE NAV ── */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(30,27,75,0.97);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  padding: 12px 32px;
  border-radius: 10px;
  width: 260px;
  text-align: center;
  transition: background .2s;
}
.mobile-nav a:hover { background: rgba(255,255,255,0.1); color: #c4b5fd; }
.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .service-layout { grid-template-columns: 1fr; }
  .order-box { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
}
@media (max-width: 640px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: block; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .trust-inner { gap: 20px; }
  .hero { padding: 56px 20px 52px; }
  .section { padding: 52px 20px; }
  .steps { grid-template-columns: 1fr; }
}

/* ── CART ── */
.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 8px;
  transition: background .18s;
}
.cart-link:hover { background: var(--primary-light); color: var(--primary); }
.cart-badge {
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 10px;
  padding: 0 5px;
  line-height: 1;
}
/* Toast */
#cart-toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: #1e1b4b;
  color: #fff;
  padding: 13px 22px;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 8px 32px rgba(0,0,0,0.22);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 9999;
  transform: translateY(80px);
  opacity: 0;
  transition: transform .3s, opacity .3s;
  pointer-events: none;
}
#cart-toast.show { transform: translateY(0); opacity: 1; }

/* Cart page */
.cart-page { max-width: 1060px; margin: 0 auto; padding: 48px 24px 72px; display: grid; grid-template-columns: 1fr 340px; gap: 36px; align-items: start; }
.cart-title { font-size: 1.7rem; font-weight: 800; margin-bottom: 24px; }
.cart-empty { text-align: center; padding: 64px 24px; color: var(--muted); }
.cart-empty .empty-icon { font-size: 3.5rem; margin-bottom: 16px; }
.cart-empty h2 { font-size: 1.3rem; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); padding: 10px 12px; text-align: left; border-bottom: 2px solid var(--border); }
.cart-table td { padding: 16px 12px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.cart-item-img { width: 62px; height: 62px; object-fit: cover; border-radius: 8px; background: var(--primary-light); flex-shrink: 0; }
.cart-item-info { display: flex; align-items: center; gap: 14px; }
.cart-item-name { font-size: 0.9rem; font-weight: 600; color: var(--text); }
.cart-item-cat { font-size: 0.72rem; color: var(--primary); font-weight: 600; text-transform: uppercase; }
.qty-control { display: flex; align-items: center; gap: 0; border: 1.5px solid var(--border); border-radius: 8px; overflow: hidden; width: fit-content; }
.qty-btn { background: var(--bg2); border: none; width: 32px; height: 34px; font-size: 1.1rem; cursor: pointer; color: var(--text); transition: background .15s; display: flex; align-items: center; justify-content: center; }
.qty-btn:hover { background: var(--primary-light); color: var(--primary); }
.qty-input { border: none; width: 44px; height: 34px; text-align: center; font-size: 0.9rem; font-weight: 600; background: #fff; color: var(--text); outline: none; }
.remove-btn { background: none; border: none; color: #ef4444; cursor: pointer; font-size: 0.8rem; font-weight: 600; padding: 4px 8px; border-radius: 6px; transition: background .15s; }
.remove-btn:hover { background: #fee2e2; }

/* Order summary box */
.summary-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; position: sticky; top: 88px; }
.summary-box-header { background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; padding: 16px 20px; }
.summary-box-header h3 { font-size: 1rem; font-weight: 700; }
.summary-box-body { padding: 20px; }
.summary-row { display: flex; justify-content: space-between; align-items: center; font-size: 0.875rem; padding: 8px 0; border-bottom: 1px solid var(--border); }
.summary-row:last-child { border-bottom: none; }
.summary-row.total { font-size: 1rem; font-weight: 800; color: var(--primary); padding-top: 14px; }
.summary-note { font-size: 0.75rem; color: var(--muted); margin: 12px 0; line-height: 1.5; }

/* Checkout page */
.checkout-page { max-width: 1060px; margin: 0 auto; padding: 48px 24px 72px; display: grid; grid-template-columns: 1fr 340px; gap: 36px; align-items: start; }
.checkout-items { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 20px; }
.checkout-item { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--border); font-size: 0.875rem; }
.checkout-item:last-child { border-bottom: none; }
.checkout-item img { width: 46px; height: 46px; object-fit: cover; border-radius: 7px; background: var(--primary-light); }
.checkout-item-info { flex: 1; }
.checkout-item-name { font-weight: 600; color: var(--text); }
.checkout-item-qty { color: var(--muted); font-size: 0.8rem; }

@media (max-width: 760px) {
  .cart-page, .checkout-page { grid-template-columns: 1fr; }
  .summary-box { position: static; }
}

/* ── PRICING TABLE ── */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.pricing-table thead { background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; }
.pricing-table th {
  padding: 14px 18px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
}
.pricing-table th:first-child { text-align: left; }
.pricing-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  text-align: center;
  vertical-align: middle;
}
.pricing-table td:first-child { text-align: left; }
.pricing-table tbody tr:last-child td { border-bottom: none; }
.pricing-table tbody tr:hover { background: var(--bg2); }
.price-cell { font-weight: 700; color: var(--text); font-size: 0.95rem; }
.price-cell.best {
  color: var(--primary);
  font-size: 1rem;
  background: var(--primary-light);
  font-weight: 800;
}
.cat-pill {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
@media (max-width: 700px) {
  .bulk-tiers { grid-template-columns: 1fr 1fr !important; }
  .pricing-table { font-size: 0.78rem; }
  .pricing-table th, .pricing-table td { padding: 10px 10px; }
}

/* ── SHIPPING OPTIONS ── */
.shipping-options { display: flex; flex-direction: column; gap: 10px; }
.shipping-option {
  display: flex; align-items: flex-start; gap: 12px;
  border: 2px solid var(--border); border-radius: 10px;
  padding: 14px 16px; cursor: pointer; transition: border-color .15s, background .15s;
}
.shipping-option:hover { border-color: var(--primary); background: var(--primary-light); }
.shipping-option input[type=radio] { margin-top: 3px; accent-color: var(--primary); width:16px;height:16px;flex-shrink:0; }
.shipping-option input[type=radio]:checked ~ .shipping-option-body .shipping-option-title { color: var(--primary); }
.shipping-option:has(input:checked) { border-color: var(--primary); background: var(--primary-light); }
.shipping-option-title { font-weight: 700; font-size: 0.92rem; margin-bottom: 3px; }
.shipping-option-desc  { font-size: 0.8rem; color: var(--muted); }
.shipping-badge { display:inline-block; margin-left:8px; font-size:0.72rem; font-weight:700; background:#dcfce7; color:#166534; border-radius:20px; padding:1px 8px; }
.shipping-badge-paid   { background:#fef9c3; color:#854d0e; }

/* ── BULK PRICE TABLE (service sidebar) ── */
.bulk-price-table { border:1px solid var(--border); border-radius:10px; overflow:hidden; margin-bottom:4px; font-size:0.82rem; }
.bulk-price-row { display:grid; grid-template-columns:1fr 80px 70px; gap:4px; padding:8px 12px; border-bottom:1px solid var(--border); align-items:center; transition:background .12s; }
.bulk-price-row:last-child { border-bottom:none; }
.bulk-price-row.header { background:var(--primary); color:#fff; font-weight:700; font-size:0.75rem; text-transform:uppercase; letter-spacing:.04em; }
.bulk-price-row.bulk { background:#fafafa; }
.bulk-price-row.best { background:linear-gradient(90deg,#ede9fe,#f5f3ff); }
.bulk-price-row.active { background:var(--primary-light); border-left:3px solid var(--primary); }
.bulk-price-row.active .tier-price { color:var(--primary); font-weight:800; }
.tier-price { font-weight:700; text-align:center; }
.tier-save { font-size:.72rem; font-weight:700; text-align:right; }
.save-green  { color:#166534; }
.save-purple { color:var(--primary); }
.bulk-tag { display:inline-block; font-size:.6rem; font-weight:800; text-transform:uppercase; letter-spacing:.05em; background:var(--primary); color:#fff; border-radius:3px; padding:1px 4px; margin-left:3px; vertical-align:middle; }
.best-tag { background:linear-gradient(90deg,#7c3aed,#4f46e5); }

/* ── REVIEW CARDS ── */
.reviews-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
@media(max-width:640px){ .reviews-grid { grid-template-columns:1fr; } }
.review-card { background:#fff; border:1px solid var(--border); border-radius:12px; padding:18px 20px; box-shadow:0 1px 4px rgba(0,0,0,.04); }
.review-header { display:flex; align-items:center; gap:12px; margin-bottom:12px; }
.review-avatar { width:38px; height:38px; border-radius:50%; background:var(--primary); color:#fff; font-weight:800; font-size:1rem; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.review-date { margin-left:auto; font-size:.75rem; color:var(--muted); white-space:nowrap; }
.review-text { font-size:.88rem; color:#374151; line-height:1.6; margin:0 0 10px; }
.review-verified { font-size:.75rem; color:#166534; font-weight:600; }

/* ── HOME PAGE SEO SECTIONS ── */

/* Why Grid */
.why-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
@media(max-width:900px){ .why-grid { grid-template-columns:repeat(2,1fr); } }
@media(max-width:580px){ .why-grid { grid-template-columns:1fr; } }
.why-card { background:#fff; border:1px solid var(--border); border-radius:14px; padding:24px 20px; box-shadow:0 2px 8px rgba(0,0,0,.04); transition:transform .15s,box-shadow .15s; }
.why-card:hover { transform:translateY(-3px); box-shadow:0 6px 20px rgba(0,0,0,.09); }
.why-icon { font-size:2rem; margin-bottom:12px; }
.why-card h3 { font-size:1rem; font-weight:700; margin-bottom:8px; }
.why-card p { font-size:.875rem; color:#374151; line-height:1.65; margin:0; }

/* Product SEO List */
.prod-group-title { font-size:1.1rem; font-weight:800; margin:36px 0 6px; color:var(--primary-dark); border-left:4px solid var(--primary); padding-left:12px; }
.prod-group-desc { font-size:.9rem; color:#4b5563; line-height:1.7; margin-bottom:14px; }
.prod-seo-list { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-bottom:10px; }
@media(max-width:860px){ .prod-seo-list { grid-template-columns:repeat(2,1fr); } }
@media(max-width:540px){ .prod-seo-list { grid-template-columns:1fr; } }
.prod-seo-card { display:flex; flex-direction:column; gap:6px; background:#fff; border:1px solid var(--border); border-radius:10px; padding:16px; text-decoration:none; color:inherit; transition:border-color .15s,box-shadow .15s; }
.prod-seo-card:hover { border-color:var(--primary); box-shadow:0 4px 14px rgba(99,102,241,.12); }
.prod-seo-card strong { font-size:.92rem; color:var(--primary-dark); }
.prod-seo-card span { font-size:.8rem; color:#6b7280; line-height:1.5; }

/* Conditions Grid */
.conditions-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
@media(max-width:1000px){ .conditions-grid { grid-template-columns:repeat(2,1fr); } }
@media(max-width:560px){ .conditions-grid { grid-template-columns:1fr; } }
.condition-card { background:#fff; border:1px solid var(--border); border-radius:12px; padding:20px 18px; }
.condition-card h4 { font-size:.95rem; font-weight:700; margin-bottom:8px; color:var(--primary-dark); }
.condition-card p { font-size:.82rem; color:#374151; line-height:1.65; margin:0; }

/* Shipping Grid */
.shipping-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-bottom:28px; }
@media(max-width:800px){ .shipping-grid { grid-template-columns:1fr; } }
.shipping-card { background:#fff; border:1px solid var(--border); border-radius:14px; padding:24px 20px; position:relative; }
.shipping-card-highlight { border-color:var(--primary); box-shadow:0 4px 18px rgba(99,102,241,.13); }
.shipping-badge { position:absolute; top:-10px; left:20px; background:var(--primary); color:#fff; font-size:.68rem; font-weight:800; padding:3px 10px; border-radius:20px; letter-spacing:.06em; text-transform:uppercase; }
.shipping-card h3 { font-size:1rem; font-weight:700; margin-bottom:10px; }
.shipping-card p { font-size:.85rem; color:#374151; line-height:1.65; margin:0; }
.shipping-geo { background:#f8fafc; border:1px solid var(--border); border-radius:12px; padding:22px 24px; }
.shipping-geo h3 { font-size:1rem; font-weight:700; margin-bottom:14px; }
.geo-tags { display:flex; flex-wrap:wrap; gap:8px; }
.geo-tags span { background:#fff; border:1px solid var(--border); border-radius:20px; padding:4px 12px; font-size:.78rem; font-weight:500; }

/* Bulk Table */
.bulk-table-wrap { overflow-x:auto; }
.bulk-home-table { width:100%; border-collapse:collapse; font-size:.9rem; }
.bulk-home-table th { background:var(--primary); color:#fff; padding:12px 16px; text-align:left; }
.bulk-home-table td { padding:11px 16px; border-bottom:1px solid var(--border); }
.bulk-home-table tr:last-child td { border-bottom:none; }
.bulk-row-2 td { background:#eff6ff; }
.bulk-row-3 td { background:#f0fdf4; }
.bulk-row-4 td { background:#fefce8; font-weight:700; }

/* How It Works Steps */
.howitworks-steps { display:flex; flex-direction:column; gap:0; }
.hiw-step { display:flex; gap:28px; align-items:flex-start; padding:28px 0; border-bottom:1px solid var(--border); }
.hiw-step:last-child { border-bottom:none; }
.hiw-num { font-size:2.5rem; font-weight:900; color:var(--primary); opacity:.25; line-height:1; flex-shrink:0; min-width:52px; }
.hiw-body h3 { font-size:1.05rem; font-weight:700; margin-bottom:8px; }
.hiw-body p { font-size:.9rem; color:#374151; line-height:1.7; margin:0; }

/* Home Reviews Grid */
.home-reviews-grid { grid-template-columns:repeat(3,1fr); }
@media(max-width:900px){ .home-reviews-grid { grid-template-columns:repeat(2,1fr); } }
@media(max-width:580px){ .home-reviews-grid { grid-template-columns:1fr; } }

/* FAQ */
.faq-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:20px; }
@media(max-width:760px){ .faq-grid { grid-template-columns:1fr; } }
.faq-item { background:#fff; border:1px solid var(--border); border-radius:12px; padding:22px 20px; }
.faq-item h4 { font-size:.95rem; font-weight:700; margin-bottom:10px; color:var(--primary-dark); }
.faq-item p { font-size:.85rem; color:#374151; line-height:1.7; margin:0; }

/* About Section */
.home-about-inner { display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:start; }
@media(max-width:800px){ .home-about-inner { grid-template-columns:1fr; } }
.home-about-text h2 { font-size:1.4rem; font-weight:800; margin-bottom:16px; line-height:1.3; }
.home-about-text p { font-size:.9rem; color:#374151; line-height:1.75; margin-bottom:14px; }
.home-about-stats { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
@media(max-width:500px){ .home-about-stats { grid-template-columns:repeat(2,1fr); } }
.stat-card { background:#fff; border:1px solid var(--border); border-radius:12px; padding:20px 14px; text-align:center; }
.stat-num { font-size:1.6rem; font-weight:900; color:var(--primary); line-height:1; }
.stat-label { font-size:.72rem; color:var(--muted); margin-top:4px; font-weight:600; text-transform:uppercase; letter-spacing:.04em; }

/* Compare Table */
.compare-table-wrap { overflow-x:auto; }
.compare-table { width:100%; border-collapse:collapse; font-size:.84rem; }
.compare-table th { background:var(--primary-dark); color:#fff; padding:11px 14px; text-align:left; white-space:nowrap; }
.compare-table td { padding:10px 14px; border-bottom:1px solid var(--border); vertical-align:top; }
.compare-table tr:hover td { background:#f8fafc; }
.compare-table tr:last-child td { border-bottom:none; }

/* Safety Section */
.home-safety p { font-size:.88rem; color:#374151; line-height:1.75; margin-bottom:12px; }
.home-safety p:last-child { margin-bottom:0; }
