/* ============================================================
   iCareX Store — stylesheet
   Palette: deep navy ink, electric blue → vivid orange gradient
   ============================================================ */
:root {
  --ink: #0e1626;
  --ink-soft: #475069;
  --bg: #f6f7fb;
  --card: #ffffff;
  --line: #e6e8f0;
  --blue: #2563eb;
  --blue-dark: #1e4fd8;
  --orange: #f97316;
  --grad: linear-gradient(120deg, #2563eb 0%, #7c3aed 55%, #f97316 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(14, 22, 38, 0.08);
  --shadow-lg: 0 24px 60px rgba(14, 22, 38, 0.16);
  --header-h: 72px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 3vw, 2.1rem); font-weight: 800; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: min(1140px, 92%); margin-inline: auto; }
.narrow { width: min(760px, 92%); }
.center { text-align: center; }
.muted { color: var(--ink-soft); }
.tiny { font-size: 0.8rem; }
.lead { font-size: 1.08rem; color: var(--ink-soft); }

.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff;
  padding: 10px 16px; z-index: 2000; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 26px; border-radius: 999px;
  font-weight: 700; font-size: 0.98rem; border: 2px solid transparent;
  cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none !important;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 22px rgba(37, 99, 235, 0.35); }
.btn-primary:hover { box-shadow: 0 12px 28px rgba(249, 115, 22, 0.4); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: rgba(37, 99, 235, 0.08); }
.btn-outline-light { border-color: rgba(255,255,255,0.7); color: #fff; background: transparent; }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); }
.btn-light { background: #fff; color: var(--ink); }
.btn-sm { min-height: 44px; padding: 9px 18px; font-size: 0.9rem; }
.btn-lg { min-height: 56px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.center-row { justify-content: center; }
.text-link { font-weight: 700; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { border-radius: 10px; }
.brand-name { font-weight: 800; font-size: 1.25rem; color: var(--ink); }
.brand-name span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > a {
  padding: 10px 14px; border-radius: 10px; color: var(--ink-soft); font-weight: 600;
  font-size: 0.95rem; text-decoration: none !important; min-height: 44px;
  display: inline-flex; align-items: center;
}
.main-nav > a:hover { background: rgba(37, 99, 235, 0.08); color: var(--ink); }
.main-nav > a.active { color: var(--blue); background: rgba(37, 99, 235, 0.1); }
.main-nav .nav-call { margin-left: 8px; color: #fff; }
.nav-toggle {
  display: none; width: 48px; height: 48px; border: 1px solid var(--line);
  background: #fff; border-radius: 12px; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 22px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(249, 115, 22, 0.14), transparent 60%),
    radial-gradient(700px 380px at 5% 0%, rgba(37, 99, 235, 0.12), transparent 60%),
    var(--bg);
  padding: clamp(40px, 7vw, 84px) 0;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.pill {
  display: inline-block; padding: 7px 16px; border-radius: 999px;
  background: rgba(37, 99, 235, 0.1); color: var(--blue);
  font-weight: 700; font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase;
  margin-bottom: 18px;
}
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 18px; }
.hero-points { list-style: none; padding: 0; margin: 0; color: var(--ink-soft); font-weight: 600; font-size: 0.95rem; }
.hero-points li { padding: 3px 0; }
.hero-media img {
  border-radius: 24px; box-shadow: var(--shadow-lg); width: 100%; object-fit: cover;
  aspect-ratio: 16 / 9;
}

/* ---------- Sections ---------- */
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section-alt { background: #fff; border-block: 1px solid var(--line); }
.section-dark { background: var(--ink); color: #fff; }
.section-dark p { color: #b9c1d4; }
.section-head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.section-head p { color: var(--ink-soft); }
.eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 10px;
}

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 24px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.feature-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 6px;
}
.feature-card img { border-radius: var(--radius-sm); aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 12px; }
.feature-card p { color: var(--ink-soft); font-size: 0.95rem; flex: 1; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split-reverse .split-copy { order: 2; }
.split-media img { border-radius: 22px; box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 1; object-fit: cover; }
.check-list { list-style: none; padding: 0; margin: 0 0 24px; }
.check-list li { padding: 6px 0 6px 32px; position: relative; color: var(--ink-soft); font-weight: 600; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 6px;
  width: 22px; height: 22px; border-radius: 50%; background: rgba(37, 99, 235, 0.12);
  color: var(--blue); font-size: 0.8rem; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
}
.check-list.cols-2 { columns: 2; column-gap: 40px; }
.check-list.cols-2 li { break-inside: avoid; }

/* ---------- Model chips ---------- */
.model-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 32px; }
.model-chip {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 12px; text-align: center; font-weight: 800; font-size: 1.05rem;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--ink); box-shadow: var(--shadow); transition: transform 0.15s ease;
}
.model-chip:hover { transform: translateY(-4px); }
.model-chip svg { color: var(--blue); }

/* ---------- CTA band ---------- */
.cta-band { padding: clamp(40px, 6vw, 64px) 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; margin-bottom: 6px; }
.cta-inner p { margin: 0; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Page hero ---------- */
.page-hero {
  padding: clamp(44px, 6vw, 72px) 0;
  background:
    radial-gradient(700px 300px at 90% -20%, rgba(249, 115, 22, 0.12), transparent 60%),
    radial-gradient(600px 280px at 0% 0%, rgba(37, 99, 235, 0.1), transparent 60%);
  border-bottom: 1px solid var(--line);
}
.page-hero p { max-width: 640px; color: var(--ink-soft); }
.page-hero .btn-row { margin-top: 20px; }

/* ---------- Product grid ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card {
  position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column; transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--grad); color: #fff; font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px;
}
.product-media { background: #eef0f6; }
.product-media img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.product-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-body h2 { font-size: 1.12rem; margin: 0; }
.product-body p { color: var(--ink-soft); font-size: 0.9rem; flex: 1; margin: 0; }
.product-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.price { font-size: 1.35rem; font-weight: 800; color: var(--ink); }

/* ---------- Bulk strip / tiers ---------- */
.bulk-strip {
  margin-top: 48px; text-align: center; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(28px, 5vw, 48px); box-shadow: var(--shadow);
}
.tier-row { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin: 22px 0 26px; }
.tier {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 16px 28px; display: flex; flex-direction: column;
}
.tier strong { font-size: 1.15rem; }
.tier span { color: var(--orange); font-weight: 800; }
.tier-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tier-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 26px; text-align: center; box-shadow: var(--shadow);
}
.tier-featured { border: 2px solid var(--blue); transform: scale(1.03); }
.tier-qty { display: block; color: var(--ink-soft); font-weight: 700; }
.tier-off {
  display: block; font-size: 2.1rem; font-weight: 800; margin: 8px 0 12px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tier-card p { color: var(--ink-soft); font-size: 0.92rem; margin: 0; }

/* ---------- Steps ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; box-shadow: var(--shadow);
}
.step-num {
  display: inline-flex; width: 40px; height: 40px; border-radius: 12px;
  background: var(--grad); color: #fff; font-weight: 800; font-size: 1.1rem;
  align-items: center; justify-content: center; margin-bottom: 14px;
}
.step p { color: var(--ink-soft); font-size: 0.9rem; margin: 0; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.price-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.price-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.price-body h2 { font-size: 1.1rem; margin: 0; }
.price-tag { margin: 0; color: var(--ink-soft); font-weight: 600; }
.price-tag span { font-size: 1.6rem; font-weight: 800; color: var(--ink); }
.mini-tiers { list-style: none; margin: 0 0 8px; padding: 0; font-size: 0.88rem; color: var(--ink-soft); }
.mini-tiers li { padding: 3px 0; border-bottom: 1px dashed var(--line); }
.mini-tiers li:last-child { border-bottom: 0; }
.info-band {
  margin-top: 48px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(28px, 5vw, 44px); box-shadow: var(--shadow);
}
.info-band .check-list { margin-bottom: 0; }

/* ---------- Checkout ---------- */
.checkout-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: start; }
.checkout-form fieldset {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--card);
  padding: 24px; margin: 0 0 22px; box-shadow: var(--shadow);
}
.checkout-form legend { font-weight: 800; font-size: 1.02rem; padding: 0 8px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.field label { font-weight: 700; font-size: 0.88rem; }
.field input, .field select, .field textarea {
  min-height: 48px; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; background: #fff; color: var(--ink); width: 100%;
}
.field textarea { min-height: 90px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.cod-option {
  display: flex; gap: 14px; align-items: flex-start; cursor: pointer;
  background: rgba(37, 99, 235, 0.06); border: 1.5px solid var(--blue);
  border-radius: var(--radius-sm); padding: 16px;
}
.cod-option input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--blue); }
.cod-option small { display: block; color: var(--ink-soft); }
.cod-option + .cod-option { margin-top: 10px; }
.pay-online { background: var(--bg); border-color: var(--line); }
.pay-online:has(input:checked) { border-color: var(--orange); background: #fff7ed; }
.pay-notice {
  margin-top: 12px; background: #fff7ed; border: 1px solid #fdba74; color: #9a3412;
  border-radius: var(--radius-sm); padding: 12px 16px; font-weight: 600; font-size: 0.92rem;
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; box-shadow: none; }
.btn:disabled:hover { transform: none; }
.form-errors {
  background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c;
  border-radius: var(--radius-sm); padding: 14px 18px; margin-bottom: 20px;
}
.form-errors ul { margin: 6px 0 0; padding-left: 18px; }
.order-summary {
  position: sticky; top: calc(var(--header-h) + 20px);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.summary-product { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.summary-product img { width: 72px; height: 72px; border-radius: var(--radius-sm); object-fit: cover; }
.summary-product span { display: block; font-size: 0.85rem; }
.summary-table { width: 100%; border-collapse: collapse; margin-bottom: 14px; }
.summary-table td { padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 0.93rem; }
.summary-table td:last-child { text-align: right; font-weight: 600; }
.summary-table .total-row td { border-bottom: 0; font-size: 1.1rem; font-weight: 800; color: var(--ink); }

/* ---------- Confirmation ---------- */
.confirm-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(28px, 5vw, 48px); box-shadow: var(--shadow); text-align: center;
}
.confirm-icon {
  width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--grad); color: #fff; font-size: 2.2rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.order-number {
  display: inline-block; background: var(--bg); border: 1px dashed var(--line);
  border-radius: var(--radius-sm); padding: 10px 22px; margin: 6px 0 22px; font-size: 1.05rem;
}
.confirm-card .summary-table { text-align: left; margin-bottom: 18px; }
.confirm-card .btn-row { margin-top: 8px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 32px; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 24px; box-shadow: var(--shadow); text-align: center;
  color: var(--ink); text-decoration: none !important; display: block;
}
.contact-icon {
  width: 58px; height: 58px; margin: 0 auto 14px; border-radius: 16px;
  background: rgba(37, 99, 235, 0.1); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.contact-card .big { font-weight: 800; font-size: 1.02rem; }
.contact-cta {
  background: var(--ink); color: #fff; border-radius: var(--radius);
  padding: clamp(28px, 5vw, 44px); text-align: center;
}
.contact-cta p { color: #b9c1d4; }
.contact-cta .btn-row { justify-content: center; }

/* ---------- Offers (hidden page) ---------- */
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.offer-card {
  position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px 26px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 8px;
}
.offer-card p { color: var(--ink-soft); flex: 1; }
.offer-card .btn { align-self: flex-start; }
.offer-tag {
  position: absolute; top: -12px; left: 22px; background: var(--grad); color: #fff;
  font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 6px 14px; border-radius: 999px;
}

/* ---------- Call overlay ---------- */
.ov-overlay {
  display: none; position: fixed; inset: 0; z-index: 1500;
  align-items: center; justify-content: center; padding: 24px;
  background: rgba(10, 15, 26, 0.5);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
}
body.ov-both .ov-overlay { display: flex; }
@media (min-width: 1024px) { body.ov-desktop .ov-overlay { display: flex; } }
@media (max-width: 1023.98px) { body.ov-mobile .ov-overlay { display: flex; } }
.ov-card {
  background: #fff; border-radius: 26px; box-shadow: var(--shadow-lg);
  max-width: 460px; width: 100%; padding: clamp(30px, 5vw, 46px);
  text-align: center; animation: ov-pop 0.35s ease;
}
@keyframes ov-pop { from { transform: scale(0.92) translateY(14px); opacity: 0; } }
.ov-logo { width: 84px; height: 84px; margin: 0 auto 16px; border-radius: 20px; }
.ov-kicker {
  display: inline-block; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 8px;
}
.ov-card p { color: var(--ink-soft); }
.ov-call {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 60px; border-radius: 999px; background: var(--grad); color: #fff;
  font-size: 1.25rem; font-weight: 800; margin: 20px 0 12px; text-decoration: none !important;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.4);
}
.ov-note { font-size: 0.82rem; color: var(--ink-soft); }

/* ---------- Special offers: pricing + add to cart ---------- */
.price-line { display: flex; align-items: baseline; gap: 6px; margin-top: 4px; }
.unit-note { color: var(--ink-soft); font-size: 0.85rem; font-weight: 600; }
.offer-controls { display: flex; flex-direction: column; gap: 12px; margin-top: 10px; }
.offer-controls .field { margin-bottom: 0; }
.offer-actions { display: flex; gap: 10px; align-items: stretch; }
.offer-actions .btn { flex: 1; }
.qty-stepper {
  display: flex; align-items: stretch; border: 1.5px solid var(--line);
  border-radius: 999px; overflow: hidden; background: #fff;
}
.qty-stepper input, .qty-stepper .qty-val {
  width: 52px; border: 0; text-align: center; font: inherit; font-weight: 700;
  min-height: 44px; display: flex; align-items: center; justify-content: center;
  padding: 0 4px; background: transparent; color: var(--ink);
}
.qty-stepper input { -moz-appearance: textfield; appearance: textfield; }
.qty-stepper input::-webkit-outer-spin-button,
.qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-btn {
  width: 44px; min-height: 44px; border: 0; background: var(--bg);
  font-size: 1.2rem; font-weight: 800; color: var(--ink); cursor: pointer;
}
.qty-btn:hover { background: rgba(37, 99, 235, 0.1); color: var(--blue); }
.qty-stepper-sm .qty-btn { width: 36px; min-height: 36px; font-size: 1rem; }
.qty-stepper-sm .qty-val { width: 36px; min-height: 36px; }
.sticker-addon { border-style: dashed; border-width: 2px; }

/* ---------- Cart drawer ---------- */
.cart-fab {
  position: fixed; right: 18px; bottom: calc(86px + var(--safe-b)); z-index: 850;
  width: 56px; height: 56px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(14, 22, 38, 0.4);
}
.cart-fab:hover { transform: scale(1.06); }
.cart-count {
  position: absolute; top: -4px; right: -4px; min-width: 24px; height: 24px;
  border-radius: 999px; background: var(--orange); color: #fff;
  font-size: 0.78rem; font-weight: 800; display: flex; align-items: center;
  justify-content: center; padding: 0 6px; opacity: 0; transform: scale(0.6);
  transition: 0.15s ease;
}
.cart-count.has-items { opacity: 1; transform: scale(1); }
.cart-backdrop {
  position: fixed; inset: 0; z-index: 1200; background: rgba(10, 15, 26, 0.45);
}
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 1300;
  width: min(420px, 100%); background: #fff; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column;
  transform: translateX(105%); transition: transform 0.25s ease;
}
.cart-drawer.open { transform: translateX(0); }
.cart-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; border-bottom: 1px solid var(--line);
}
.cart-head h2 { margin: 0; font-size: 1.2rem; }
.cart-close {
  width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--bg);
  font-size: 1rem; cursor: pointer; color: var(--ink);
}
.cart-body { flex: 1; overflow-y: auto; padding: 16px 20px; }
.cart-empty { color: var(--ink-soft); text-align: center; padding: 40px 0; }
.cart-items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.cart-item {
  display: flex; gap: 12px; align-items: center; border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 12px;
}
.cart-item img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.cart-item-mid { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cart-item-mid .muted { font-size: 0.82rem; }
.cart-item-mid .qty-stepper { align-self: flex-start; }
.cart-item-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.cart-remove {
  border: 0; background: none; color: #b91c1c; font-size: 0.8rem; font-weight: 700;
  cursor: pointer; padding: 8px 4px; min-height: 32px;
}
.cart-foot { border-top: 1px solid var(--line); padding: 16px 20px calc(16px + var(--safe-b)); }
.cart-foot .summary-table { margin-bottom: 10px; }
.cart-clear {
  display: block; margin: 10px auto 0; border: 0; background: none;
  color: var(--ink-soft); font-weight: 700; font-size: 0.85rem; cursor: pointer;
  padding: 10px; min-height: 44px;
}
.cart-lines td:first-child { text-align: left; }

/* ---------- Admin ---------- */
.admin-body {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(800px 400px at 80% -10%, rgba(249,115,22,0.15), transparent 60%), var(--bg);
  padding: 24px;
}
.admin-wrap { width: min(440px, 100%); }
.admin-card {
  background: #fff; border: 1px solid var(--line); border-radius: 22px;
  padding: 36px 30px; box-shadow: var(--shadow-lg); text-align: center;
}
.admin-card h1 { font-size: 1.4rem; }
.admin-card form { text-align: left; margin-top: 18px; }
.admin-msg { background: rgba(37,99,235,0.08); border-radius: 10px; padding: 10px 14px; font-weight: 600; }
.radio-card {
  display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 10px; cursor: pointer;
}
.radio-card:has(input:checked) { border-color: var(--blue); background: rgba(37,99,235,0.05); }
.radio-card input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); }
.radio-card small { display: block; color: var(--ink-soft); }
.radio-card + .btn { margin-top: 6px; }

/* ---------- Legal ---------- */
.legal-content h2 { font-size: 1.25rem; margin-top: 1.8em; }
.legal-content ul { padding-left: 22px; }
.legal-content li { margin-bottom: 6px; color: var(--ink-soft); }
.legal-content p { color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b9c1d4; padding: 56px 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 40px; }
.footer-col h3 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer-col a { display: block; color: #b9c1d4; padding: 4px 0; min-height: 32px; }
.footer-col a:hover { color: #fff; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { font-size: 0.9rem; margin-top: 14px; }
.footer-address { font-size: 0.9rem; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 18px 0 calc(18px + var(--safe-b));
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 0.84rem;
}
.footer-bottom p { margin: 0; }
.cod-note { color: var(--orange); font-weight: 700; }

/* ---------- Floating call ---------- */
.floating-call {
  position: fixed; right: 18px; bottom: calc(18px + var(--safe-b)); z-index: 800;
  width: 56px; height: 56px; border-radius: 50%; background: var(--grad); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(249, 115, 22, 0.45);
}
.floating-call:hover { transform: scale(1.06); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1023.98px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 890;
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 14px 4% calc(18px + var(--safe-b)); gap: 4px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav > a { font-size: 1.05rem; }
  .main-nav .nav-call { margin: 8px 0 0; justify-content: center; }
  .hero-grid, .split, .checkout-grid { grid-template-columns: 1fr; }
  .split-reverse .split-copy { order: 0; }
  .cards-3, .product-grid, .price-grid, .tier-cards, .offer-grid, .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .model-row { grid-template-columns: repeat(2, 1fr); }
  .order-summary { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .check-list.cols-2 { columns: 1; }
  .hero-media { order: -1; }
}

@media (max-width: 640px) {
  .cards-3, .product-grid, .price-grid, .tier-cards, .offer-grid, .contact-cards,
  .steps-grid, .field-row { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .hero-actions .btn, .cta-actions .btn, .btn-row .btn { flex: 1 1 auto; }
  .tier-featured { transform: none; }
}
