/* MAA Pharmacy public site. Graphite, sage and copper on warm sand. */

:root {
  /* Brand palette. Change colors here only. */
  --brand: #107109;          /* primary green: top bar, links, outlines */
  --brand-deep: #0B5406;
  --brand-soft: #E8F4E7;
  --accent: #C37304;         /* orange: highlights and decoration */
  --accent-strong: #A35F00;  /* orange for buttons and prices (WCAG AA with white) */
  --accent-hover: #874E00;
  --accent-soft: #FBF1E3;
  --heading: #0B2559;        /* deep navy headings */
  --blue: #0E5FE1;           /* bright blue accents */
  --deep: #0B2559;           /* dark surfaces: footer, label card */
  --deep-2: #12357D;
  --text: #2F3A45;
  --muted: #5B6673;
  --bg: #F4F6F8;
  --bg-2: #EBEFF3;
  --paper: #FFFFFF;
  --line: #DFE5EB;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 1px 2px rgba(16, 32, 56, .05), 0 12px 30px rgba(16, 32, 56, .09);
  --shadow-hover: 0 2px 4px rgba(16, 32, 56, .06), 0 18px 40px rgba(16, 32, 56, .14);
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-deep); }
h1, h2, h3, h4 { color: var(--heading); line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid rgba(14, 95, 225, .45); outline-offset: 3px; border-radius: 8px; }
.container { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; background: var(--paper); padding: 10px 16px; border-radius: 8px; }

/* Label above headings: sentence case with a copper mark */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 700; color: var(--accent-strong); margin-bottom: 14px; }
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; background: var(--accent-strong); color: #fff; font-weight: 700; font-size: .98rem; border: 1px solid var(--accent-strong); cursor: pointer; transition: background .2s, transform .2s, box-shadow .2s, border-color .2s; }
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 18px rgba(163, 95, 0, .25); }
.btn:active { transform: translateY(1px); }
.btn-light { background: var(--paper); color: var(--brand); border-color: var(--brand); }
.btn-light:hover { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 8px 18px rgba(16, 113, 9, .22); }
.btn-small { min-height: 40px; padding: 0 18px; font-size: .92rem; }
.link-arrow { font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }
.link-arrow::after { content: '→'; transition: transform .15s; }
.link-arrow:hover::after { transform: translateX(3px); }

/* Top bar and header */
.topbar { background: var(--brand); color: #EAF5E9; font-size: .88rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar a { color: #fff; font-weight: 700; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--deep); line-height: 1; }
.brand img { width: 52px; height: 52px; flex: none; object-fit: contain; }
.brand-name { display: flex; flex-direction: column; justify-content: center; gap: 5px; font-weight: 800; font-size: 1.22rem; letter-spacing: -0.02em; line-height: 1; }
.brand-name span { font-size: .74rem; font-weight: 600; letter-spacing: .02em; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { position: relative; color: var(--deep); font-weight: 600; font-size: .96rem; padding: 6px 0; }
.nav a:not(.btn)::after { content: ''; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; background: var(--accent); border-radius: 2px; transition: width .25s; }
.nav a:not(.btn):hover { color: var(--brand); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.nav a[aria-current="page"] { color: var(--brand); }
.nav .btn { color: #fff; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 46px; height: 46px; cursor: pointer; color: var(--deep); }

/* Hero */
.hero { padding: 72px 0 96px; background: radial-gradient(circle at 12% 10%, rgba(14, 95, 225, .08), transparent 42%), radial-gradient(circle at 90% 90%, rgba(16, 113, 9, .07), transparent 40%), var(--paper); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: 64px; align-items: center; }
.hero-copy > p { font-size: 1.15rem; max-width: 34em; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 26px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .92rem; font-weight: 600; color: var(--muted); }
.trust-row span { display: inline-flex; align-items: center; gap: 8px; }
.trust-row svg { color: var(--brand); }

/* Signature element: the hero card is styled like a prescription label */
.rx-label { position: relative; background: linear-gradient(160deg, #0B2559 0%, #12357D 100%); color: #FFFFFF; border-radius: var(--radius-lg); padding: 30px 30px 26px; box-shadow: 0 30px 60px rgba(30, 36, 34, .22); }
.rx-label::after { content: ''; position: absolute; left: 30px; right: 30px; top: 92px; border-top: 2px dashed rgba(255, 255, 255, .18); }
.rx-label-head { display: flex; justify-content: space-between; align-items: flex-start; height: 62px; }
.rx-mark { font-size: 2.6rem; font-weight: 800; color: #F6B454; line-height: 1; letter-spacing: -0.04em; }
.rx-label-head small { text-align: right; font-size: .85rem; font-weight: 600; color: #DCE6F7; line-height: 1.4; }
.rx-label h2 { color: #fff; font-size: 1.5rem; margin: 26px 0 16px; }
.rx-rows { display: grid; gap: 0; }
.rx-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); font-size: 1rem; }
.rx-row:last-child { border-bottom: 0; }
.rx-row strong { color: #fff; }
.rx-row a { color: #FFFFFF; font-weight: 700; text-decoration: underline; text-decoration-color: rgba(246, 180, 84, .7); text-underline-offset: 4px; }
.rx-row span { color: #E4ECFA; font-weight: 500; }

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--paper); border-block: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 44px; }
.page-hero { position: relative; overflow: hidden; padding: 64px 0 56px; color: #DCE6F7;
  background: radial-gradient(circle at 85% 20%, rgba(255, 255, 255, .14), transparent 40%), linear-gradient(120deg, #0B2559 0%, #0E4DBF 60%, #0E5FE1 100%); }
.page-hero::after { content: ''; position: absolute; right: -80px; bottom: -120px; width: 360px; height: 360px; border-radius: 50%; border: 48px solid rgba(255, 255, 255, .06); }
.page-hero h1 { color: #FFFFFF; max-width: 18em; }
.page-hero p { color: #DCE6F7; }
.page-hero a:not(.btn) { color: #FFFFFF; text-decoration: underline; text-underline-offset: 3px; }
.page-hero .eyebrow { color: #F6B454; }
.page-hero .eyebrow::before { background: #F6B454; }
.page-hero .btn-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.page-hero .btn-light:hover { background: #fff; color: var(--deep); border-color: #fff; }
.page-hero .shop-search .form-control { border-color: transparent; }
.page-hero p { font-size: 1.12rem; max-width: 40em; }
.page-hero.compact { padding: 48px 0 40px; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: border-color .15s, transform .15s, box-shadow .15s; }
a.card { color: inherit; display: block; }
a.card:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow); color: inherit; }
.card p { color: var(--muted); font-size: .98rem; }
.card h3, .feature h3, .step h3 { color: var(--heading); }
.link-arrow { color: var(--brand); }
.icon { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-bottom: 18px; }
.icon svg { width: 24px; height: 24px; }
.quick-actions { margin-top: -44px; position: relative; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.check-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--deep); }
.check-list svg { flex: none; color: var(--brand); margin-top: 3px; }
.feature-stack { display: grid; gap: 16px; }
.feature { background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--brand); border-radius: var(--radius); padding: 24px 26px; }
.feature p { color: var(--muted); margin: 0; font-size: .98rem; }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--deep); color: #fff; font-weight: 800; margin-bottom: 16px; }
.step p { color: var(--muted); margin: 0; }

.notice { background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius); padding: 20px 24px; margin-top: 32px; font-size: .98rem; }

/* Locations */
.location-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.location-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; display: flex; flex-direction: column; }
.location-card .state-tag { align-self: flex-start; font-size: .78rem; font-weight: 800; letter-spacing: .04em; color: var(--accent-strong); background: var(--accent-soft); padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }
.location-card address { font-style: normal; color: var(--text); margin-bottom: 18px; }
.location-card .hours { border-top: 1px solid var(--line); padding-top: 14px; margin: 4px 0 22px; font-size: .94rem; }
.hours-row { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; }
.hours-row strong { color: var(--deep); }
.location-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }

/* Contact details (address, phone, fax, email, website) */
.contact-list { margin: 0 0 18px; display: grid; gap: 10px; font-size: .95rem; }
.contact-list > div { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: baseline; }
.contact-list dt { font-size: .75rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.contact-list dd { margin: 0; color: var(--deep); overflow-wrap: anywhere; }
.contact-list a { color: var(--deep); font-weight: 600; }
.contact-list a:hover { color: var(--accent-strong); text-decoration: underline; }
.contact-list.dark dt { color: #C9D6F2; }
.contact-list.dark dd, .contact-list.dark a { color: #fff; }
.contact-list.dark a:hover { color: #FFE2B8; }
.aside-location + .aside-location { border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 18px; padding-top: 18px; }
.aside-location h4 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.location-card .contact-list { margin-bottom: 20px; }

/* CTA band */
.cta-band { background: var(--deep); color: #DCE6F7; border-radius: var(--radius-lg); padding: 56px; display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { margin: 0; }
.cta-band .btn { background: #F6B454; border-color: #F6B454; color: #1F2933; }
.cta-band .btn:hover { background: #fff; border-color: #fff; color: var(--deep); }

/* Forms */
.form-layout { display: grid; grid-template-columns: 1.5fr .9fr; gap: 32px; align-items: start; }
.request-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; margin-bottom: 26px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .92rem; color: var(--deep); }
.form-control { width: 100%; font: inherit; font-size: 1rem; color: var(--deep); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; transition: border-color .15s, background .15s; }
.form-control:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 3px var(--brand-soft); }
textarea.form-control { min-height: 120px; resize: vertical; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; font-size: .95rem; color: var(--deep); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent-strong); flex: none; }
.error { color: #A33A2B; font-weight: 600; font-size: .88rem; }
.form-note { margin-top: 18px; font-size: .88rem; color: var(--muted); }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-aside { background: var(--deep); color: #DCE6F7; border-radius: var(--radius-lg); padding: 30px; position: sticky; top: 100px; }
.contact-aside h3 { color: #fff; }
.contact-aside .phone-large { display: block; font-size: 1.6rem; font-weight: 800; color: #fff; margin-bottom: 6px; }
.contact-aside hr { border: 0; border-top: 1px solid rgba(255, 255, 255, .14); margin: 22px 0; }
.contact-aside .hours-row strong { color: #fff; }
.messages { list-style: none; padding: 0; margin: 0 0 24px; }
.messages li { background: var(--brand-soft); border: 1px solid #BFDDBC; color: var(--deep); border-radius: 12px; padding: 14px 18px; font-weight: 600; }

/* Footer */
.site-footer { background: var(--deep); color: #C9D6EC; padding: 72px 0 28px; margin-top: 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.4fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; letter-spacing: 0; }
.site-footer a { color: #EEF3FB; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; color: #fff; font-weight: 800; font-size: 1.15rem; line-height: 1; }
.footer-brand img { width: 48px; height: 48px; flex: none; object-fit: contain; background: #fff; border-radius: 50%; padding: 4px; }
.footer-location { margin-bottom: 14px; }
.footer-location strong { color: #fff; display: block; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 48px; padding-top: 24px; font-size: .85rem; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .split, .form-layout { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 40px 32px; }
  .contact-aside { position: static; }
}
@media (max-width: 820px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; border-bottom: 0; }
  .topbar-inner > span:first-child { display: none; }
  .topbar-inner { justify-content: center; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero { padding: 44px 0 64px; }
  .section { padding: 64px 0; }
  .form-grid { grid-template-columns: 1fr; }
  .request-card, .rx-label, .location-card { padding: 24px; }
  .rx-label::after { left: 24px; right: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .quick-actions { margin-top: -28px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
.location-card h2 { font-size: 1.6rem; }

/* Location maps */
.map-frame { position: relative; margin: -30px -30px 22px; height: 200px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; overflow: hidden; background: var(--bg-2); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.35) contrast(1.05); }
.map-open { position: absolute; right: 12px; bottom: 12px; background: var(--paper); color: var(--deep); font-size: .82rem; font-weight: 700; padding: 7px 12px; border-radius: 999px; box-shadow: var(--shadow); }
.map-open:hover { background: var(--deep); color: #fff; }
@media (max-width: 600px) { .map-frame { margin: -24px -24px 20px; height: 180px; } }

/* Hover and focus feedback on every interactive surface */
.card, .feature, .step, .location-card, .request-card { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover, .feature:hover, .step:hover, .location-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--brand); }
.card:hover .icon, .feature:hover .icon { background: var(--brand); color: #fff; }
.icon { transition: background .2s, color .2s; }
a.card:focus-visible { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft), var(--shadow-hover); }
.feature { border-left-color: var(--accent); }
.feature:hover { border-left-color: var(--accent); }
.contact-list a, .site-footer a, .link-arrow { transition: color .15s; }
.check-list svg { color: var(--brand); }
.trust-row svg { color: var(--brand); }
@media (hover: none) {
  .card:active, .location-card:active { transform: scale(.99); border-color: var(--brand); }
}

/* Open status */
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #F6B454; margin-right: 8px; vertical-align: 1px; }
.status-dot.is-open { background: #B8F5B0; box-shadow: 0 0 0 3px rgba(184, 245, 176, .25); }
.open-badge { display: inline-block; font-size: .85rem; font-weight: 700; color: var(--accent-strong); background: var(--accent-soft); padding: 4px 12px; border-radius: 999px; margin: -4px 0 16px; }
.open-badge.is-open { color: var(--brand-deep); background: var(--brand-soft); }
.languages { font-size: .93rem; color: var(--text); margin: -6px 0 16px; }

/* FAQ */
.faq-list { max-width: 820px; display: grid; gap: 12px; }
.faq-item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.faq-item:hover, .faq-item[open] { border-color: var(--brand); box-shadow: var(--shadow); }
.faq-item summary { cursor: pointer; list-style: none; padding: 20px 24px; font-weight: 700; color: var(--heading); display: flex; justify-content: space-between; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--accent-strong); font-size: 1.4rem; line-height: 1; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 24px 18px; color: var(--text); }
.prose { max-width: 780px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* Mobile quick actions */
.mobile-bar { display: none; }
@media (max-width: 820px) {
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: sticky; bottom: 0; z-index: 60; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(16, 32, 56, .08); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 999px; font-weight: 800; border: 1px solid var(--brand); color: var(--brand); background: var(--paper); }
  .mobile-bar a.primary { background: var(--accent-strong); border-color: var(--accent-strong); color: #fff; }
}

/* Shop */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cart-link { display: inline-flex; align-items: center; gap: 6px; }
.cart-badge { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--accent-strong); color: #fff; font-size: .75rem; font-weight: 800; }
.shop-search { display: flex; gap: 10px; max-width: 640px; margin-top: 18px; }
.shop-search .form-control { background: var(--paper); }
.category-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.chip { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--deep); font-weight: 600; font-size: .92rem; transition: border-color .2s, background .2s, color .2s; }
.chip:hover, .chip.active { border-color: var(--brand); background: var(--brand); color: #fff; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.product-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--brand); }
.product-media { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; background: var(--bg); }
.product-media img { width: 100%; height: 100%; object-fit: contain; padding: 16px; transition: transform .3s; }
.product-card:hover .product-media img { transform: scale(1.04); }
.product-media.large { border-radius: var(--radius-lg); border: 1px solid var(--line); }
.product-placeholder { display: grid; justify-items: center; gap: 10px; color: var(--brand); }
.product-placeholder svg { width: 72px; height: 72px; padding: 16px; border-radius: 50%; background: var(--brand-soft); box-sizing: content-box; }
.product-placeholder small { font-size: .8rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.product-media { background: linear-gradient(160deg, #F7FAF7 0%, #EEF4FE 100%); }
.sale-tag { position: absolute; top: 12px; left: 12px; background: var(--accent-strong); color: #fff; font-size: .75rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.product-body { padding: 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.product-body form { margin-top: auto; padding-top: 10px; }
.product-brand { font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.product-name { font-size: 1rem; margin: 0; }
.product-name a { color: var(--deep); }
.product-name a:hover { color: var(--brand); }
.product-size { font-size: .88rem; color: var(--muted); }
.product-price { font-weight: 800; color: var(--accent-strong); font-size: 1.05rem; }
.product-price s { color: var(--muted); font-weight: 500; font-size: .9rem; margin-left: 4px; }
.product-price.large { font-size: 1.6rem; margin: 8px 0 14px; }
.btn-block { width: 100%; }
.in-store-only { font-size: .88rem; font-weight: 600; color: var(--accent-strong); background: var(--accent-soft); padding: 8px 12px; border-radius: 10px; margin-top: auto; }
.product-detail { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.product-title { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 6px 0; }
.breadcrumb { font-size: .92rem; color: var(--muted); margin-bottom: 20px; }
.availability { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.availability li::before { content: ''; display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; background: #C0392B; }
.availability li.in::before { background: var(--brand); }
.add-form { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.add-form label { font-weight: 700; }
.qty { width: 90px; }
.product-description { margin-top: 28px; border-top: 1px solid var(--line); padding-top: 20px; }
.cart-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: start; }
.cart-lines { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.cart-line { display: grid; grid-template-columns: 1fr auto auto auto; gap: 16px; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.cart-line:last-child { border-bottom: 0; }
.cart-name { font-weight: 700; color: var(--deep); }
.cart-qty { display: flex; gap: 8px; align-items: center; }
.link-button { background: none; border: 0; color: #B03A2E; font-weight: 700; cursor: pointer; font: inherit; font-size: .9rem; }
.summary-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; display: grid; gap: 12px; position: sticky; top: 100px; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; font-size: .95rem; }
.summary-row.total { border-top: 1px solid var(--line); padding-top: 12px; font-size: 1.05rem; }
.pager { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 32px; }
.messages li.error { background: #FDECEA; border-color: #F5C2BC; color: #8E2A20; }
.messages li.info { background: var(--accent-soft); border-color: #F1D3A8; }
@media (max-width: 960px) { .product-detail, .cart-layout { grid-template-columns: 1fr; } .summary-card { position: static; } }
@media (max-width: 600px) { .cart-line { grid-template-columns: 1fr auto; } .shop-search { flex-direction: column; } }
.nav a.btn { padding: 0 20px; white-space: nowrap; }
.nav a.btn::after { display: none; }
.choice-group { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; display: grid; gap: 10px; }
.choice-group legend { font-weight: 700; font-size: .92rem; color: var(--deep); padding: 0 6px; }
.choice { display: flex; align-items: center; gap: 10px; font-weight: 600; cursor: pointer; }
.choice input { width: 18px; height: 18px; accent-color: var(--brand); }

/* ===== Premium components ===== */
.trust-strip { background: var(--paper); border-bottom: 1px solid var(--line); }
.trust-strip .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.trust-item { display: flex; align-items: center; gap: 14px; padding: 22px 20px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item .ti-circle { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.trust-item .ti-circle svg { width: 22px; height: 22px; }
.trust-item strong { display: block; color: var(--heading); font-size: .98rem; }
.trust-item span { font-size: .86rem; color: var(--muted); }

.bento { display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: auto auto; gap: 20px; }
.bento .tile { position: relative; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 30px; color: inherit; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.bento .tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--brand); color: inherit; }
.bento .tile-feature { grid-row: span 2; background: linear-gradient(155deg, #0B2559 0%, #12357D 55%, #0E5FE1 130%); border-color: transparent; color: #DCE6F7; padding: 38px; }
.bento .tile-feature::after { content: ''; position: absolute; right: -70px; bottom: -70px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .07); }
.bento .tile-feature h3 { color: #fff; font-size: 1.8rem; margin: 18px 0 12px; }
.bento .tile-feature p { color: #DCE6F7; font-size: 1.05rem; }
.bento .tile-feature:hover { border-color: transparent; }
.tile h3 { font-size: 1.2rem; margin: 16px 0 8px; }
.tile p { color: var(--muted); font-size: .97rem; margin: 0 0 18px; }
.tile-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.tile-icon svg { width: 26px; height: 26px; }
.tile-icon.orange { background: var(--accent-soft); color: var(--accent-strong); }
.tile-icon.blue { background: #E7EFFD; color: var(--blue); }
.tile-feature .tile-icon { background: rgba(255, 255, 255, .12); color: #F6B454; }
.tile-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 700; color: var(--heading); }
.tile-feature .tile-foot { color: #fff; }
.arrow-btn { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--heading); transition: background .25s, color .25s, border-color .25s, transform .25s; }
.tile:hover .arrow-btn { background: var(--brand); border-color: var(--brand); color: #fff; transform: translateX(3px); }
.tile-feature .arrow-btn { border-color: rgba(255, 255, 255, .35); color: #fff; }
.tile-feature:hover .arrow-btn { background: #F6B454; border-color: #F6B454; color: var(--deep); }
.tile-points { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.tile-points li { display: flex; gap: 10px; align-items: center; color: #fff; font-weight: 600; }
.tile-points svg { color: #B8F5B0; }

.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; counter-reset: tl; }
.timeline::before { content: ''; position: absolute; top: 26px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 10px, transparent 10px 18px); }
.timeline-step { position: relative; text-align: center; padding: 0 12px; }
.timeline-step::before { counter-increment: tl; content: counter(tl); position: relative; z-index: 1; display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 18px; border-radius: 50%; background: var(--paper); border: 2px solid var(--brand); color: var(--brand); font-weight: 800; font-size: 1.2rem; transition: background .25s, color .25s; }
.timeline-step:hover::before { background: var(--brand); color: #fff; }
.timeline-step h3 { font-size: 1.15rem; margin-bottom: 6px; }
.timeline-step p { color: var(--muted); margin: 0; font-size: .97rem; }

.section-head.split-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; max-width: none; }
.section-head .lead { color: var(--muted); font-size: 1.05rem; margin: 0; }

.info-panel { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 30px; position: sticky; top: 100px; }
.info-panel h3 { font-size: 1.15rem; }
.need-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 14px; }
.need-list li { display: flex; gap: 12px; align-items: flex-start; }
.need-list .n-icon { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.need-list .n-icon svg { width: 18px; height: 18px; }
.need-list strong { display: block; color: var(--heading); font-size: .97rem; }
.need-list span { color: var(--muted); font-size: .9rem; }
.two-col { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: start; }
.action-stack { display: grid; gap: 20px; }
.action-card { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 28px; color: inherit; transition: transform .25s, box-shadow .25s, border-color .25s; }
.action-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: var(--brand); color: inherit; }
.action-card:hover .arrow-btn { background: var(--brand); border-color: var(--brand); color: #fff; transform: translateX(3px); }
.action-card h3 { margin: 0 0 6px; font-size: 1.25rem; }
.action-card p { margin: 0; color: var(--muted); }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 30px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--brand); }
.service-card:hover .tile-icon { background: var(--brand); color: #fff; }
.service-card .tile-icon { transition: background .25s, color .25s; }
.service-card h3 { font-size: 1.15rem; margin: 18px 0 8px; }
.service-card p { color: var(--muted); margin: 0; font-size: .97rem; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value { padding: 28px; border-radius: 22px; background: var(--paper); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s, border-color .25s; }
.value:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--brand); }
.value h3 { font-size: 1.15rem; margin: 16px 0 8px; }
.value p { color: var(--muted); margin: 0; }
.big-quote { font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.35; color: var(--heading); font-weight: 700; letter-spacing: -0.02em; margin: 0 0 18px; }
.shop-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

@media (max-width: 960px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento .tile-feature { grid-column: span 2; grid-row: auto; }
  .trust-strip .container { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .two-col, .service-grid, .values { grid-template-columns: 1fr; }
  .shop-row { grid-template-columns: 1fr 1fr; }
  .info-panel { position: static; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .bento .tile-feature { grid-column: auto; }
  .timeline { grid-template-columns: 1fr; }
  .timeline::before { display: none; }
  .action-card { grid-template-columns: auto 1fr; }
  .action-card .arrow-btn { display: none; }
  .section-head.split-head { flex-direction: column; align-items: flex-start; }
}
.illustration { width: 100%; height: auto; border-radius: 28px; display: block; }
.hero-art { display: grid; gap: 18px; }
.page-hero .container.with-art { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.page-hero .with-art .illustration { box-shadow: 0 24px 50px rgba(0, 0, 0, .25); }
@media (max-width: 960px) { .page-hero .container.with-art { grid-template-columns: 1fr; } .page-hero .with-art .illustration { max-width: 460px; } }

.open-badge { align-self: flex-start; }
.location-list.single { grid-template-columns: 1fr; }
.location-list.single .location-card { display: grid; grid-template-columns: 1.1fr 1fr; column-gap: 40px; padding: 0; overflow: hidden; }
.location-list.single .map-frame { grid-row: 1 / span 20; margin: 0; height: 100%; min-height: 460px; border-radius: 0; }
.location-list.single .location-card > :not(.map-frame) { margin-right: 36px; }
.location-list.single .state-tag { margin-top: 34px; }
.location-list.single .location-actions { margin-bottom: 34px; }
.faq-list { margin-inline: auto; }
@media (max-width: 860px) {
  .location-list.single .location-card { grid-template-columns: 1fr; padding: 0 0 24px; }
  .location-list.single .map-frame { grid-row: auto; min-height: 220px; }
  .location-list.single .location-card > :not(.map-frame) { margin: 0 24px; }
}
.location-list.single .state-tag, .location-list.single .open-badge { justify-self: start; }

.product-perks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 0; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.product-perks li { padding: 16px 20px; border-bottom: 1px solid var(--line); }
.product-perks li:last-child { border-bottom: 0; }
.product-perks strong { display: block; color: var(--heading); font-size: .97rem; }
.product-perks span { color: var(--muted); font-size: .92rem; }

@media (max-width: 600px) {
  .topbar-status { display: none; }
  .product-grid, .shop-row { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product-body { padding: 12px; }
  .product-name { font-size: .92rem; }
  .product-placeholder svg { width: 44px; height: 44px; padding: 12px; }
  .product-body .btn { min-height: 40px; font-size: .88rem; padding: 0 10px; }
}

/* Promotions */
.promo-bar { font-size: .92rem; color: #fff; }
.promo-bar-inner { display: flex; justify-content: center; align-items: center; gap: 16px; min-height: 40px; text-align: center; flex-wrap: wrap; padding: 6px 0; }
.promo-bar a { color: #fff; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.promo-brand { background: var(--brand); }
.promo-accent { background: var(--accent-strong); }
.promo-dark { background: var(--deep); }
.promo-banner { display: grid; grid-template-columns: 1fr; overflow: hidden; border-radius: 22px; color: #fff; }
.promo-banner.has-image { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
.promo-banner img { width: 100%; height: 100%; object-fit: cover; min-height: 220px; }
.promo-banner-body { padding: 34px 38px; display: grid; align-content: center; gap: 10px; }
.promo-banner h2 { color: #fff; margin: 0; font-size: clamp(1.4rem, 2.4vw, 2rem); }
.promo-banner p { margin: 0; color: rgba(255, 255, 255, .9); }
.promo-banner .btn, .promo-popup .btn { justify-self: start; background: #fff; border-color: #fff; color: var(--deep); margin-top: 8px; }
.promo-banner .btn:hover, .promo-popup .btn:hover { background: #F6B454; border-color: #F6B454; color: var(--deep); }
.promo-code strong { background: rgba(255, 255, 255, .18); padding: 3px 10px; border-radius: 8px; letter-spacing: .06em; }
.product-detail .promo-banner-body { padding: 22px 24px; }
.product-detail .promo-banner h2 { font-size: 1.2rem; }
.promo-popup { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(11, 37, 89, .55); }
.promo-popup-card { position: relative; width: min(460px, 100%); border-radius: 24px; overflow: hidden; color: #fff; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); animation: promo-in .3s ease; }
.promo-popup-card img { width: 100%; max-height: 220px; object-fit: cover; }
.promo-popup-body { padding: 30px; display: grid; gap: 10px; }
.promo-popup h2 { color: #fff; margin: 0; }
.promo-popup p { margin: 0; color: rgba(255, 255, 255, .9); }
.promo-close { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--deep); font-size: 1.4rem; cursor: pointer; z-index: 1; }
@keyframes promo-in { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 640px) {
  .promo-banner.has-image { grid-template-columns: 1fr; }
  .promo-popup { place-items: end center; padding: 0; background: rgba(11, 37, 89, .35); }
  .promo-popup-card { width: 100%; border-radius: 24px 24px 0 0; margin-bottom: 0; }
}

/* ===== Header v2: search, store, cart, mega menu ===== */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); backdrop-filter: none; }
.header-main { display: flex; align-items: center; gap: 22px; min-height: 78px; }
.header-search { flex: 1; display: flex; align-items: center; max-width: 620px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--bg); transition: border-color .2s, box-shadow .2s, background .2s; }
.header-search:focus-within { border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px var(--brand-soft); }
.header-search input { flex: 1; border: 0; background: transparent; font: inherit; font-size: .98rem; padding: 12px 18px; color: var(--ink, #1F2933); outline: none; min-width: 0; }
.header-search button { border: 0; background: transparent; color: var(--heading); padding: 0 16px; cursor: pointer; display: grid; place-items: center; }
.header-store { display: flex; align-items: center; gap: 10px; color: var(--heading); max-width: 260px; line-height: 1.25; }
.header-store strong { display: block; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.header-store small { display: block; font-size: .78rem; font-weight: 700; }
.header-store small.open { color: var(--brand); }
.header-store small.closed { color: var(--accent-strong); }
.header-store:hover strong { text-decoration: underline; }
.header-cart { position: relative; color: var(--heading); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; transition: background .2s; }
.header-cart:hover { background: var(--bg); color: var(--brand); }
.header-cart .cart-badge { position: absolute; top: 2px; right: 0; }
.main-nav { border-top: 1px solid var(--line); background: #fff; }
.main-nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: stretch; gap: 4px; }
.menu > li { position: relative; display: flex; }
.menu-top { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; font: inherit; font-weight: 700; font-size: .96rem; color: var(--heading); padding: 14px 12px; cursor: pointer; border-bottom: 3px solid transparent; }
.has-mega > .menu-top::after { content: ''; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.menu-top:hover, .has-mega:hover > .menu-top, .has-mega.open > .menu-top { color: var(--brand); border-bottom-color: var(--accent); }
.mega { position: absolute; top: 100%; left: 0; min-width: 560px; background: #fff; border: 1px solid var(--line); border-radius: 0 0 18px 18px; box-shadow: 0 24px 50px rgba(16, 32, 56, .14); padding: 26px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; z-index: 60; }
.has-mega:hover > .mega, .has-mega:focus-within > .mega, .has-mega.open > .mega { opacity: 1; visibility: visible; transform: none; }
.has-mega:hover > .menu-top::after, .has-mega.open > .menu-top::after { transform: rotate(-135deg) translateY(-2px); }
.mega-cols { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(180px, 1fr); gap: 28px; }
.mega h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 10px; }
.mega a { display: block; padding: 7px 0; color: var(--heading); font-weight: 600; font-size: .95rem; }
.mega a:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 4px; }
.mega-cats { columns: 2; column-gap: 24px; }
.mega-cats h4 { column-span: all; }
.mega-promo { background: var(--brand-soft); border-radius: 14px; padding: 18px; display: grid; gap: 8px; align-content: start; }
.mega-promo strong { color: var(--heading); }
.mega-promo span { font-size: .9rem; color: var(--text); }
.mega-promo .btn { color: #fff; justify-self: start; }
.nav-extras { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; }
.promo-bar-inner.multi { justify-content: space-around; }
.promo-item a { color: #fff; text-decoration: none; font-weight: 700; }
.promo-item a:hover { text-decoration: underline; }

/* ===== Pharmacy hub ===== */
.task-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.task { display: grid; gap: 6px; justify-items: start; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 26px; color: inherit; transition: transform .25s, box-shadow .25s, border-color .25s; }
.task:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--brand); color: inherit; }
.task:hover .tile-icon { background: var(--brand); color: #fff; }
.task .tile-icon { margin-bottom: 8px; transition: background .25s, color .25s; }
.task strong { font-size: 1.15rem; color: var(--heading); }
.task span:last-child { color: var(--muted); font-size: .94rem; }
.prescriber-card { display: grid; gap: 2px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; margin-top: 14px; }
.prescriber-card strong { color: var(--heading); }
.we-speak-hero { display: inline-block; margin-top: 6px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #fff !important; font-weight: 700; }
.we-speak { color: #EEF3FB; }
.status-result { display: grid; gap: 8px; }
.status-pill { justify-self: start; background: var(--brand-soft); color: var(--brand-deep); font-weight: 800; padding: 6px 14px; border-radius: 999px; }
.search-pages { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.search-page { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; font-weight: 700; color: var(--heading); display: flex; justify-content: space-between; transition: border-color .2s, transform .2s; }
.search-page:hover { border-color: var(--brand); transform: translateY(-2px); color: var(--brand); }

/* ===== Shop v2 ===== */
.shop-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.shop-pills a { padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #fff; font-weight: 700; font-size: .92rem; text-decoration: none !important; transition: background .2s; }
.shop-pills a:hover { background: #fff; color: var(--deep); }
.service-strip { background: #fff; border-bottom: 1px solid var(--line); }
.service-strip .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.service-strip .container > div { padding: 18px 20px; border-right: 1px solid var(--line); display: grid; gap: 2px; }
.service-strip .container > div:last-child { border-right: 0; }
.service-strip strong { color: var(--heading); font-size: .95rem; }
.service-strip span { color: var(--muted); font-size: .85rem; }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.category-tile { display: grid; gap: 8px; justify-items: start; padding: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; color: inherit; transition: transform .25s, box-shadow .25s, border-color .25s; }
.category-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--brand); color: inherit; }
.category-tile strong { color: var(--heading); font-size: 1.05rem; }
.cat-icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); transition: background .25s, color .25s; }
.cat-icon svg { width: 26px; height: 26px; }
.category-tile:hover .cat-icon { background: var(--brand); color: #fff; }
.cat-subs { font-size: .85rem; color: var(--muted); }
.deal-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.deal-tile { display: grid; gap: 2px; padding: 20px; border-radius: 18px; background: linear-gradient(150deg, #FFF6EA, #FDEBD3); color: var(--heading); border: 1px solid #F3D9B5; transition: transform .25s, box-shadow .25s; }
.deal-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); color: var(--heading); }
.deal-tile span { font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--accent-strong); }
.deal-tile strong { font-size: 1.1rem; }
.deal-tile small { color: var(--muted); }
.offer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.offer-card { display: grid; gap: 8px; padding: 22px; border-radius: 18px; border: 1.5px dashed var(--accent); background: var(--paper); }
.offer-card strong { color: var(--heading); font-size: 1.05rem; }
.offer-card p { margin: 0; color: var(--muted); }
.offer-code b { background: var(--accent-soft); color: var(--accent-strong); padding: 3px 10px; border-radius: 8px; letter-spacing: .06em; }
.collection-banner { display: grid; grid-template-columns: 1fr; overflow: hidden; border-radius: 22px; background: linear-gradient(130deg, #0B2559, #0E5FE1); color: #DCE6F7; }
.collection-banner:has(img) { grid-template-columns: 1fr 1.2fr; }
.collection-banner img { width: 100%; height: 100%; object-fit: cover; min-height: 220px; }
.collection-banner > div { padding: 34px 38px; display: grid; gap: 8px; align-content: center; }
.collection-banner h2 { color: #fff; margin: 0; }
.collection-banner .eyebrow { color: #F6B454; margin: 0; }
.collection-banner .btn { justify-self: start; }
.collection-banner:hover { color: #DCE6F7; }
.request-product-band { margin-top: 56px; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 30px 34px; border-radius: 22px; background: var(--brand-soft); border: 1px solid #CFE6CD; }
.request-product-band h2 { margin: 0 0 6px; font-size: 1.4rem; }
.request-product-band p { margin: 0; }
.price-note { margin: 34px 0 0; font-size: .85rem; color: var(--muted); }
.special-note { background: #EEF4FE; border: 1px solid #CFDDF7; color: var(--heading); border-radius: 12px; padding: 12px 16px; font-size: .93rem; font-weight: 600; }
.special-tag { display: inline-block; margin-top: 6px; font-size: .8rem; font-weight: 700; color: var(--blue); background: #EEF4FE; padding: 3px 10px; border-radius: 999px; }
.availability li.special::before { background: var(--blue); }

@media (max-width: 1100px) { .header-store { display: none; } }
@media (max-width: 960px) {
  .task-grid, .category-grid { grid-template-columns: 1fr 1fr; }
  .service-strip .container { grid-template-columns: 1fr 1fr; }
  .service-strip .container > div:nth-child(2) { border-right: 0; }
  .collection-banner:has(img) { grid-template-columns: 1fr; }
  .request-product-band { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 860px) {
  .header-main { flex-wrap: wrap; gap: 10px 14px; min-height: 0; padding: 12px 0; }
  .header-search { order: 5; flex-basis: 100%; max-width: none; }
  .header-cart { margin-left: auto; }
  .nav-toggle { display: inline-grid; place-items: center; background: none; border: 1px solid var(--line); border-radius: 10px; width: 46px; height: 46px; cursor: pointer; color: var(--heading); }
  .main-nav { display: none; }
  .main-nav.open { display: block; }
  .main-nav-inner { flex-direction: column; align-items: stretch; padding: 8px 0 16px; }
  .menu { flex-direction: column; gap: 0; }
  .menu > li { flex-direction: column; border-bottom: 1px solid var(--line); }
  .menu-top { justify-content: space-between; width: 100%; padding: 14px 4px; border-bottom: 0; }
  .mega { position: static; min-width: 0; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-radius: 0; padding: 0 4px 14px; display: none; }
  .has-mega:hover > .mega { display: none; }
  .has-mega.open > .mega { display: block; }
  .mega-cols { grid-auto-flow: row; gap: 14px; }
  .nav-extras { justify-content: space-between; padding-top: 12px; }
}
@media (max-width: 600px) {
  .task-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .category-tile { padding: 16px; }
  .service-strip .container { grid-template-columns: 1fr 1fr; }
  .service-strip .container > div { padding: 12px; }
  .brand-name span { display: none; }
}
.mega-cats a { break-inside: avoid; display: inline-block; width: 100%; }
.has-mega:nth-child(3) .mega { min-width: 660px; }

/* Review fixes */
.trust-strip .container > *, .service-strip .container > * { min-width: 0; }
@media (max-width: 600px) {
  .trust-strip .container { grid-template-columns: 1fr 1fr; }
  .trust-item { padding: 14px 10px; gap: 10px; align-items: flex-start; }
  .trust-item .ti-circle { width: 36px; height: 36px; }
  .trust-item strong { font-size: .88rem; }
  .trust-item span { font-size: .8rem; }
}
.site-footer .footer-title { color: #fff; font-size: .95rem; margin: 0 0 16px; letter-spacing: 0; }
.mega .mega-title { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 10px; font-weight: 800; }
.contact-aside .aside-title { color: #fff; font-size: 1.2rem; margin: 0 0 14px; }
.subcat-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: -12px 0 28px; }
.subcat-chips a { padding: 7px 14px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-deep); font-weight: 700; font-size: .9rem; border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s; }
.subcat-chips a:hover, .subcat-chips a.active { background: var(--brand); color: #fff; }

.header-store small { white-space: nowrap; }

.js .js-hide { display: none; }

.list-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 0 0 20px; color: var(--muted); font-weight: 600; }
.sort-form { display: flex; align-items: center; gap: 10px; }
.sort-form label { font-weight: 700; color: var(--heading); }
.sort-form .form-control { width: auto; padding: 9px 12px; background: #fff; }

/* Appointments and drug information */
.step-title { font-size: 1.1rem; margin: 26px 0 12px; }
.step-title:first-child { margin-top: 0; }
.choice-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--heading); font-weight: 700; font-size: .92rem; transition: border-color .2s, background .2s, color .2s; }
.pill:hover { border-color: var(--brand); color: var(--brand); }
.pill.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.time-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; margin-bottom: 8px; }
.time-slot { position: relative; cursor: pointer; }
.time-slot input { position: absolute; opacity: 0; }
.time-slot span { display: block; text-align: center; padding: 10px; border: 1px solid var(--line); border-radius: 12px; font-weight: 700; color: var(--heading); transition: border-color .2s, background .2s, color .2s; }
.time-slot:hover span { border-color: var(--brand); }
.time-slot input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.time-slot input:focus-visible + span { outline: 3px solid rgba(14, 95, 225, .45); outline-offset: 2px; }
.check-row { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0; font-weight: 600; }
.vaccine-card { display: grid; gap: 8px; color: inherit; }
.vaccine-card:hover { color: inherit; }
.vaccine-card h3 { margin: 0; }
.drug-results { display: grid; gap: 18px; margin-top: 24px; }
.drug-card { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 26px; }
.drug-card h2 { font-size: 1.35rem; margin: 0; }
.drug-card h3 { font-size: .95rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 18px 0 6px; }
.drug-card p { margin: 0; }
.drug-generic { color: var(--brand); font-weight: 700; }
.drug-meta { color: var(--muted); font-size: .9rem; margin-top: 4px !important; }
.suggest-wrap { position: relative; flex: 1; }
.suggest-list { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 30; list-style: none; margin: 0; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-hover); max-height: 320px; overflow-y: auto; }
.suggest-list li { padding: 10px 12px; border-radius: 10px; cursor: pointer; color: var(--heading); font-weight: 600; }
.suggest-list li:hover, .suggest-list li.active { background: var(--brand-soft); color: var(--brand-deep); }
.did-you-mean { font-size: 1rem; margin: 16px 0 0; }
.did-you-mean a { font-weight: 700; }
.page-hero:has(.drug-search) { overflow: visible; z-index: 5; }
.page-hero:has(.drug-search)::after { display: none; }
