/* ===========================================================
   D&D Pharmacy — Kit detail pages (Travel, Medical, First Aid)
   Editorial restyle. Inherits tokens + base from site.css.
   =========================================================== */

.kit-narrow { max-width: 1000px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Breadcrumb ---------- */
.crumbs { display: flex; gap: 9px; align-items: center; font-size: 13px; color: var(--muted); padding-top: 22px; }
.crumbs a { color: var(--navy); }
.crumbs a:hover { color: var(--green-700); }
.crumbs .sep { opacity: 0.5; }

/* ===========================================================
   HERO — copy + sticky purchase box
   =========================================================== */
.kit-hero { display: grid; grid-template-columns: 1fr 372px; gap: 56px; align-items: start; padding: 30px 0 64px; }
.kit-hero h1 { font-family: var(--serif); font-weight: 420; font-size: clamp(34px, 4.4vw, 52px); line-height: 1.02; letter-spacing: -0.025em; color: var(--navy); margin: 16px 0 0; text-wrap: balance; }
.kit-hero h1 em { font-style: italic; color: var(--green-700); }
.kit-lede { font-size: 17.5px; color: var(--muted); line-height: 1.62; max-width: 540px; margin: 18px 0 0; }
.benefits { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.benefits li { position: relative; padding-left: 34px; font-size: 15.5px; color: var(--ink); line-height: 1.5; }
.benefits li strong { font-weight: 650; color: var(--navy); }
.benefits li::before { content: '✓'; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; display: grid; place-items: center; background: var(--green); color: #fff; border-radius: 50%; font-size: 11px; font-weight: 700; }

/* Purchase box */
.purchase-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; position: sticky; top: 96px; box-shadow: var(--shadow-card); }
.purchase-box-top { padding: 26px 26px 22px; }
.purchase-price { font-family: var(--serif); font-weight: 500; font-size: 40px; letter-spacing: -0.02em; color: var(--navy); line-height: 1; transition: color .2s ease; }
.purchase-price.bumped { color: #b9633a; }
.purchase-stock { font-size: 13px; color: var(--green-700); font-weight: 600; margin: 10px 0 20px; }
.epipen-toggle { border: 1.5px dashed var(--line); border-radius: 12px; padding: 14px 16px; display: flex; align-items: flex-start; gap: 12px; cursor: pointer; transition: all .15s ease; background: var(--paper); margin-bottom: 16px; user-select: none; }
.epipen-toggle:hover { border-color: #c8915f; background: rgba(185,99,58,0.07); }
.epipen-toggle.active { border-color: #b9633a; border-style: solid; background: rgba(185,99,58,0.09); }
.epi-checkbox { width: 20px; height: 20px; flex: none; border-radius: 6px; border: 2px solid var(--line); background: #fff; margin-top: 1px; display: grid; place-items: center; transition: all .15s ease; font-size: 12px; color: #fff; }
.epipen-toggle.active .epi-checkbox { background: #b9633a; border-color: #b9633a; }
.epi-toggle-text { flex: 1; }
.epi-toggle-name { font-size: 13px; font-weight: 650; color: var(--ink); margin-bottom: 4px; }
.epi-toggle-desc { font-size: 12px; color: var(--muted); line-height: 1.45; }
.epi-toggle-price { font-family: var(--serif); font-size: 18px; font-weight: 500; color: #b9633a; flex: none; white-space: nowrap; }
.btn-block { display: block; width: 100%; text-align: center; }
.btn-see-inside { display: block; width: 100%; text-align: center; background: transparent; color: var(--navy); font-size: 14px; font-weight: 600; padding: 11px; border-radius: 999px; border: 1.5px solid var(--line); margin-top: 10px; transition: border-color .15s ease; }
.btn-see-inside:hover { border-color: var(--navy); }
.purchase-note { padding: 16px 26px; font-size: 12px; color: var(--muted); line-height: 1.6; border-top: 1px solid var(--line); background: var(--paper); }
.purchase-note strong { color: var(--navy); font-weight: 650; }

/* ===========================================================
   Section scaffolding
   =========================================================== */
.kit-section { padding: 44px 0; border-top: 1px solid var(--line); }
.kit-section:first-of-type { border-top: none; }
.section-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--green-700); margin-bottom: 14px; }
.section-eyebrow::before { content:''; width: 22px; height: 1.5px; background: var(--green); }
.section-title { font-family: var(--serif); font-weight: 460; font-size: clamp(26px, 3vw, 38px); letter-spacing: -0.02em; color: var(--navy); line-height: 1.08; margin: 0; text-wrap: balance; }
.section-sub { font-size: 16px; color: var(--muted); margin: 16px 0 0; max-width: 580px; line-height: 1.6; }

/* pack block */
.pack-block { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.pack-block .pack-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); background: var(--paper-2); }
.pack-block img { width: 100%; aspect-ratio: 3/2; object-fit: cover; display: block; }
.pack-block .section-title { margin-bottom: 14px; }
.pack-block p { font-size: 16px; color: var(--muted); line-height: 1.7; margin: 0; }

/* covers grid */
.covers-grid { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.cover-tag { font-size: 13.5px; font-weight: 500; color: var(--navy); background: #fff; border: 1px solid var(--line); padding: 8px 15px; border-radius: 999px; }

/* contents table */
.contents { margin-top: 28px; }
.contents-group-label { font-size: 12px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); padding: 22px 0 12px; border-top: 2px solid var(--navy); }
.contents-group-label:first-child { padding-top: 0; }
.contents-row { display: flex; align-items: flex-start; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.contents-qty { font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; width: 76px; flex: none; padding-top: 2px; }
.contents-name { flex: 1; }
.contents-name strong { font-size: 15.5px; font-weight: 650; color: var(--navy); display: block; margin-bottom: 3px; }
.contents-name span { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.contents-badge { font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 4px 9px; border-radius: 5px; flex: none; white-space: nowrap; margin-top: 2px; }
.badge-rx { background: rgba(10,53,94,0.08); color: var(--navy); }
.badge-otc { background: rgba(15,160,78,0.12); color: var(--green-700); }
.badge-supply { background: rgba(93,103,118,0.1); color: var(--muted); }

/* antibiotic choice */
.choose-tag { font-size: 9.5px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; color: var(--green-700); background: rgba(15,160,78,0.12); padding: 2px 7px; border-radius: 4px; vertical-align: middle; margin-left: 6px; }
.choice-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.choice-opt { cursor: pointer; }
.choice-opt input { position: absolute; opacity: 0; pointer-events: none; }
.choice-card { display: block; border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px; transition: border-color .15s ease, background .15s ease; }
.choice-opt input:checked + .choice-card { border-color: var(--green); background: rgba(15,160,78,0.05); }
.choice-name { display: block; font-size: 14px; font-weight: 650; color: var(--navy); margin-bottom: 5px; }
.choice-note { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.5; }

/* scenarios */
.scenario-list { display: flex; flex-direction: column; margin-top: 26px; }
.scenario { padding: 24px 0; border-bottom: 1px solid var(--line); display: flex; gap: 24px; }
.scenario:first-child { border-top: 1px solid var(--line); }
.scenario-num { font-family: var(--serif); font-style: italic; font-size: 34px; color: var(--green-700); line-height: 1; flex: none; width: 44px; }
.scenario-body h4 { font-size: 17px; font-weight: 650; color: var(--navy); margin: 0 0 6px; letter-spacing: -0.1px; }
.scenario-body p { font-size: 14.5px; color: var(--muted); line-height: 1.65; margin: 0; }

/* steps */
.kit-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
.kit-step { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px 22px; }
.kit-step .step-num { font-family: var(--serif); font-style: italic; font-size: 30px; color: var(--green-700); line-height: 1; margin-bottom: 12px; }
.kit-step h4 { font-size: 15.5px; font-weight: 650; color: var(--navy); margin: 0 0 6px; letter-spacing: -0.1px; }
.kit-step p { font-size: 13px; color: var(--muted); line-height: 1.55; margin: 0; }

/* CTA */
.cta-block { background: linear-gradient(165deg, var(--navy) 0%, var(--navy-deep) 100%); border-radius: var(--radius-lg); padding: 56px 44px; text-align: center; position: relative; overflow: hidden; }
.cta-block::before { content:''; position: absolute; left: 50%; top: -120px; width: 420px; height: 420px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(15,160,78,0.2) 0%, transparent 65%); }
.cta-block > * { position: relative; z-index: 1; }
.cta-block .cta-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: #7fe0a6; margin-bottom: 14px; }
.cta-block h3 { font-family: var(--serif); font-weight: 460; font-size: clamp(26px, 3vw, 36px); color: #fff; letter-spacing: -0.02em; margin: 0 0 10px; }
.cta-block p { font-size: 16px; color: rgba(255,255,255,0.7); margin: 0 auto 26px; max-width: 520px; line-height: 1.55; }
.cta-block .micro { font-size: 12px; color: rgba(255,255,255,0.5); margin: 14px 0 0; }

/* FAQ */
.kit-faq { border-top: 1px solid var(--line); margin-top: 28px; }
.kit-faq details { border-bottom: 1px solid var(--line); }
.kit-faq summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-family: var(--serif); font-size: 20px; font-weight: 460; color: var(--navy); letter-spacing: -0.01em; }
.kit-faq summary::-webkit-details-marker { display: none; }
.kit-faq summary::after { content: '+'; font-size: 25px; color: var(--muted); font-weight: 300; line-height: 1; flex: none; transition: transform .2s ease; }
.kit-faq details[open] summary::after { content: '−'; color: var(--green-700); }
.kit-faq .faq-body { padding: 0 40px 24px 0; font-size: 15px; color: var(--muted); line-height: 1.7; }
.kit-faq .faq-body a { color: var(--green-700); }

/* other kits */
.other-kits { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.other-kit-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; text-decoration: none; transition: border-color .15s ease, transform .12s ease, box-shadow .2s ease; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.other-kit-card:hover { border-color: rgba(15,160,78,0.45); transform: translateY(-2px); box-shadow: var(--shadow-card); }
.other-kit-tag { font-size: 10.5px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--green-700); margin-bottom: 5px; }
.other-kit-name { font-family: var(--serif); font-size: 20px; font-weight: 480; color: var(--navy); letter-spacing: -0.01em; }
.other-kit-arrow { font-size: 18px; color: var(--green); font-weight: 700; }

/* legal */
.kit-legal { margin: 14px 0 56px; padding: 18px 22px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.kit-legal strong { color: var(--navy); font-weight: 650; }

/* ===========================================================
   Responsive
   =========================================================== */
@media (max-width: 900px) {
  .kit-hero { grid-template-columns: 1fr; gap: 36px; }
  .purchase-box { position: static; }
  .pack-block { grid-template-columns: 1fr; gap: 26px; }
  .kit-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .choice-options { grid-template-columns: 1fr; }
  .other-kits { grid-template-columns: 1fr; }
  .kit-steps { grid-template-columns: 1fr; }
  .scenario { gap: 16px; }
}
