/* Plus Medical & General Store — shared styles */

:root {
  --green-900: #0a3d34;
  --green-800: #0c5144;
  --green-700: #0f6b57;
  --green-600: #138a6d;
  --mint-50: #f4fbf8;
  --mint-100: #e3f4ed;
  --mint-200: #c9e8dc;
  --ink: #12261f;
  --muted: #53695f;
  --line: #d9e9e2;
  --white: #ffffff;
  --ok: #138a6d;
  --ok-bg: #e0f4ec;
  --low: #9a6410;
  --low-bg: #fcf0d8;
  --out: #b43a3a;
  --out-bg: #fbe4e4;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(10, 61, 52, 0.06), 0 8px 24px rgba(10, 61, 52, 0.08);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--green-700); }
a:hover { color: var(--green-900); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: var(--green-900);
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--green-900);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 100;
}
.skip-link:focus { left: 8px; color: #fff; }

:focus-visible {
  outline: 3px solid #7fd6bb;
  outline-offset: 2px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--green-900);
}
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.1;
}
.brand-name small {
  display: block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 0.15s, color 0.15s;
}
.nav a:hover { background: var(--mint-100); color: var(--green-900); }
.nav a[aria-current="page"] { background: var(--mint-100); color: var(--green-800); }
.nav a.nav-cta {
  background: var(--green-700);
  color: #fff;
  margin-left: 6px;
}
.nav a.nav-cta:hover { background: var(--green-800); color: #fff; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  color: var(--green-900);
}
.nav-toggle svg { width: 22px; height: 22px; margin: auto; }

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 20px 16px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(10, 61, 52, 0.08);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
  .nav a.nav-cta { margin: 6px 0 0; text-align: center; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-weight: 600;
  font-size: 0.97rem;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s, background 0.15s, color 0.15s, border-color 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--green-700); color: #fff; }
.btn-primary:hover { background: var(--green-800); color: #fff; }
.btn-light { background: #fff; color: var(--green-900); }
.btn-light:hover { background: var(--mint-100); color: var(--green-900); }
.btn-outline { border-color: var(--green-700); color: var(--green-700); background: transparent; }
.btn-outline:hover { background: var(--mint-100); color: var(--green-900); }
.btn-ghost-light { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(900px 400px at 85% -10%, rgba(127, 214, 187, 0.35), transparent 60%),
    linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 100%);
}
.hero::after {
  /* faint oversized cross, a quiet nod to the pharmacy symbol */
  content: "";
  position: absolute;
  right: -90px;
  bottom: -110px;
  width: 420px;
  height: 420px;
  opacity: 0.07;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M17 5h6v12h12v6H23v12h-6V23H5v-6h12z' fill='%23fff'/%3E%3C/svg%3E") center / contain no-repeat;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; padding-top: 84px; padding-bottom: 92px; max-width: 760px; margin-left: max(0px, calc((100% - 1120px) / 2)); }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #a8e6d1;
  margin-bottom: 18px;
}
.hero h1 { color: #fff; }
.hero p.lead { font-size: 1.15rem; color: #d3efe5; max-width: 560px; margin-bottom: 28px; }

.quick-search {
  display: flex;
  gap: 8px;
  background: #fff;
  border-radius: 999px;
  padding: 6px;
  max-width: 560px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}
.quick-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  font: inherit;
  padding: 10px 16px;
  background: transparent;
  color: var(--ink);
}
.quick-search .btn { padding: 11px 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }

@media (max-width: 520px) {
  .hero-inner { padding-top: 60px; padding-bottom: 68px; }
  .quick-search { flex-direction: column; border-radius: 18px; }
  .quick-search input { padding: 12px 14px; }
}

/* ---------- Sections ---------- */

.section { padding: 76px 0; }
.section-search { padding-top: 36px; }
.section-contact,
.section-404 { padding-top: 44px; }
.not-found-links { display: flex; flex-wrap: wrap; gap: 12px; }
.section-tint { background: var(--mint-50); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 620px; margin-bottom: 36px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.card .icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--mint-100);
  color: var(--green-700);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.card .icon svg { width: 24px; height: 24px; }
.card p { color: var(--muted); margin: 0; }

/* Home page: Everyday essentials strip */
.popular-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.popular-item {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow);
  transition: border-color 0.15s;
}
.popular-item:hover { border-color: var(--green-600); }
.popular-name { font-weight: 600; line-height: 1.3; }
.popular-pack { font-size: 0.85rem; color: var(--muted); }
.popular-meta { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; }
.popular-price { font-weight: 600; color: var(--green-900); font-variant-numeric: tabular-nums; }
.popular-more { margin: 24px 0 0; }
@media (max-width: 860px) { .popular-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.cta-band {
  background: var(--green-900);
  color: #fff;
  border-radius: 22px;
  padding: 44px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { margin: 0; color: #bfe5d7; }

/* ---------- Page header (inner pages) ---------- */

.page-head {
  background: linear-gradient(180deg, var(--mint-100), var(--mint-50));
  border-bottom: 1px solid var(--line);
  padding: 56px 0 44px;
}
.page-head p { color: var(--muted); font-size: 1.08rem; max-width: 620px; margin: 0; }

/* ---------- Find a medicine or product (catalogue) ---------- */

.search-box {
  position: relative;
  max-width: 720px;
}
.search-box svg {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--muted);
  pointer-events: none;
}
.search-box input {
  width: 100%;
  font: inherit;
  font-size: 1.05rem;
  padding: 16px 20px 16px 50px;
  border: 1.5px solid var(--mint-200);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
}
.search-box input:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 4px rgba(19, 138, 109, 0.15); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 8px; }
.chip {
  font: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 7px 15px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.15s;
}
.chip:hover { border-color: var(--green-600); color: var(--green-800); }
.chip[aria-pressed="true"] { background: var(--green-700); border-color: var(--green-700); color: #fff; }

.result-count { color: var(--muted); font-size: 0.92rem; margin: 22px 0 14px; min-height: 1.4em; }


.stock-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--mint-50);
  border: 1px solid var(--line);
  color: var(--green-900);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.92rem;
  margin-bottom: 10px;
}
.stock-note svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--green-700); }
.stock-note p { margin: 0; }
.stock-meta { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0 0 28px; font-size: 0.88rem; color: var(--muted); }
.stock-meta strong { color: var(--green-800); font-weight: 600; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.catalog { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 32px; align-items: start; }

.cat-rail { position: sticky; top: 88px; }
.cat-rail h2 {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px 12px;
}
.cat-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.cat-btn {
  position: relative; /* keeps the visually hidden count text inside the button */
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  font: inherit;
  font-size: 0.94rem;
  font-weight: 500;
  text-align: left;
  padding: 9px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.cat-btn svg { width: 20px; height: 20px; flex: none; color: var(--green-700); }
.cat-btn .count { margin-left: auto; font-size: 0.8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.cat-btn:hover { background: var(--mint-100); }
.cat-btn[aria-pressed="true"] { background: var(--green-700); color: #fff; }
.cat-btn[aria-pressed="true"] svg,
.cat-btn[aria-pressed="true"] .count { color: #fff; }

.catalog-main { min-width: 0; }
.catalog-main .search-box { max-width: none; }

.filters:empty { display: none; }

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  margin: 18px 0 6px;
}
.toolbar .result-count { margin: 0; }
.toolbar-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: 0.9rem; color: var(--muted); }
.toggle { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.toggle input { width: 18px; height: 18px; accent-color: var(--green-700); margin: 0; }
.sort { display: inline-flex; align-items: center; gap: 8px; }
.sort select {
  font: inherit;
  font-size: 0.9rem;
  padding: 6px 10px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}
.share-btn {
  font: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--green-800);
  cursor: pointer;
}
.share-btn svg { width: 16px; height: 16px; }
.share-btn:hover { border-color: var(--green-600); }

.results-heading { font-family: var(--sans); font-size: 1.1rem; font-weight: 600; color: var(--green-900); margin: 14px 0 14px; }

.products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.prod {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow);
}
.prod-top { display: flex; align-items: flex-start; gap: 12px; }
.prod-icon {
  flex: none;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--mint-100);
  color: var(--green-700);
}
.prod-icon svg { width: 20px; height: 20px; }
.prod-title { min-width: 0; flex: 1; }
.prod h3 { margin: 0; font-family: var(--sans); font-weight: 600; font-size: 1.02rem; line-height: 1.3; color: var(--ink); overflow-wrap: anywhere; }
.prod-maker { margin: 2px 0 0; font-size: 0.85rem; color: var(--muted); }
.tag-popular {
  flex: none;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--red-100);
  color: var(--red-700);
}
.variants { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.variants li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding: 7px 10px;
  border-radius: 9px;
  background: var(--mint-50);
  font-size: 0.9rem;
}
.v-pack { color: var(--ink); }
.v-price { font-weight: 600; color: var(--green-900); font-variant-numeric: tabular-nums; }
.variants .badge { margin-left: auto; }
/* Composition line under a medicine's name (secondary) */
.prod-comp { margin: 2px 0 0; font-size: 0.82rem; line-height: 1.35; color: var(--green-800); overflow-wrap: anywhere; }

/* Alternatives on Few left / Unavailable cards */
.alts { border-top: 1px dashed var(--line); padding-top: 10px; }
.alts-label { margin: 0 0 6px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.02em; color: var(--green-900); }
.alts-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.alts-list li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 10px; font-size: 0.88rem; }
.alts-list a { color: var(--green-700); font-weight: 500; text-decoration: none; overflow-wrap: anywhere; }
.alts-list a:hover { text-decoration: underline; }
.alts-list .badge { font-size: 0.7rem; padding: 2px 8px; }
.alts-note { margin: 6px 0 0; font-size: 0.78rem; color: var(--muted); }

/* Sold out: still listed, but muted (no opacity, so the text keeps its contrast) */
.prod.is-out { background: var(--mint-50); box-shadow: none; }
.prod.is-out h3 { color: var(--muted); }
.prod.is-out .prod-icon { background: #eef2f0; color: var(--muted); }
.prod.is-out .variants li { background: #fff; }
.prod-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 0.82rem; color: var(--muted); }
.reserve {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--red-600);
  text-decoration: none;
  white-space: nowrap;
}
.reserve svg { width: 15px; height: 15px; }
.reserve:hover { text-decoration: underline; }

.more-btn { display: block; margin: 22px auto 0; }
.more-btn[hidden] { display: none; }

.badge {
  flex: none;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 999px;
  white-space: nowrap;
}
.badge::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; margin-right: 6px; vertical-align: 1px; }
.badge-in { background: var(--ok-bg); color: var(--ok); }
.badge-low { background: var(--low-bg); color: var(--low); }
.badge-out { background: var(--out-bg); color: var(--out); }

.empty {
  text-align: center;
  padding: 48px 20px;
  border: 1.5px dashed var(--mint-200);
  border-radius: var(--radius);
  background: var(--mint-50);
  color: var(--muted);
}
.empty h3 { color: var(--green-900); }

.help-line { margin-top: 36px; color: var(--muted); font-size: 0.95rem; }

@media (max-width: 960px) {
  .catalog { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .cat-rail { position: static; }
  .cat-rail h2 { display: none; }
  /* Categories become a horizontal strip of chips on small screens */
  .cat-list {
    flex-direction: row;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 2px 8px;
    margin: 0 -2px;
    scrollbar-width: thin;
  }
  .cat-list li { flex: none; }
  .cat-btn {
    width: auto;
    border: 1.5px solid var(--line);
    border-radius: 999px;
    background: #fff;
    padding: 7px 14px;
    font-size: 0.88rem;
    white-space: nowrap;
  }
  .cat-btn svg { width: 17px; height: 17px; }
  .cat-btn .count { margin-left: 2px; }
  .cat-btn[aria-pressed="true"] { border-color: var(--green-700); }
  /* Subcategory chips scroll sideways too, so products stay near the top */
  .catalog-main .filters { flex-wrap: nowrap; overflow-x: auto; padding: 2px 2px 8px; margin: 14px -2px 0; scrollbar-width: thin; }
  .catalog-main .chip { flex: none; white-space: nowrap; }
}
@media (max-width: 760px) {
  .products { grid-template-columns: minmax(0, 1fr); }
  .toolbar { align-items: flex-start; flex-direction: column; }
}

/* ---------- Contact page ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.owner-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.owner-photo { aspect-ratio: 1 / 1; background: var(--mint-100); }
.owner-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.owner-body { padding: 22px 24px 26px; }
.owner-body .role {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-600);
  margin: 0 0 4px;
}
.owner-body h2 { margin: 0; font-size: 1.7rem; }

.contact-list { display: grid; gap: 14px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow);
  transition: border-color 0.15s, transform 0.15s;
}
a.contact-item:hover { border-color: var(--green-600); transform: translateY(-1px); color: var(--ink); }
.contact-item .icon {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 12px;
  background: var(--mint-100);
  color: var(--green-700);
  display: grid;
  place-items: center;
}
.contact-item .icon svg { width: 22px; height: 22px; }
.contact-item .label { font-size: 0.8rem; color: var(--muted); display: block; line-height: 1.3; }
.contact-item .value { font-weight: 600; font-size: 1.05rem; word-break: break-word; }

.map-card {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
}
.map-card iframe { display: block; width: 100%; height: 320px; border: 0; }
.map-card .map-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 20px;
}
.map-card .map-foot p { margin: 0; }
.map-card .map-foot strong { display: block; }
.map-card .map-foot span { color: var(--muted); font-size: 0.92rem; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--green-900);
  color: #bfe5d7;
  padding: 44px 0 28px;
  font-size: 0.93rem;
}
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.site-footer .brand { color: #fff; }
.site-footer .brand-name small { color: #8cc9b5; }
.site-footer a { color: #d9f3e9; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-col h4 {
  margin: 0 0 10px;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8cc9b5;
}
.footer-col p, .footer-col ul { margin: 0; padding: 0; list-style: none; }
.footer-col li { margin-bottom: 6px; }
.footer-bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  color: #8cc9b5;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* =====================================================
   Red + green accents, store hours
   ===================================================== */

:root {
  --red-700: #b3262e;
  --red-600: #c8323a;
  --red-500: #d63a3a;
  --red-100: #fde6e6;
  --red-50: #fff5f5;
  --coral: #ff7a7a;
}

/* Red call-to-action button */
.btn-red { background: var(--red-600); color: #fff; }
.btn-red:hover { background: var(--red-700); color: #fff; }
.nav a.nav-cta { background: var(--red-600); }
.nav a.nav-cta:hover { background: var(--red-700); }

/* Hero */
.eyebrow {
  background: rgba(255, 122, 122, 0.16);
  border: 1px solid rgba(255, 122, 122, 0.4);
  color: #ffc4c4;
  padding: 5px 14px;
  border-radius: 999px;
}
.hero h1 .accent {
  color: var(--coral);
  background: linear-gradient(transparent 88%, rgba(255, 122, 122, 0.55) 88%);
}
.hero::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M17 5h6v12h12v6H23v12h-6V23H5v-6h12z' fill='%23e0393e'/%3E%3C/svg%3E");
  opacity: 0.55;
}
.hero-inner { padding-bottom: 36px; }
.hero-actions { align-items: center; }

.ecg { position: relative; z-index: 1; display: block; width: 100%; height: 64px; }
.ecg path {
  fill: none;
  stroke: var(--coral);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 2400;
  stroke-dashoffset: 2400;
  animation: ecg-draw 2.8s ease-out 0.3s forwards;
}
@keyframes ecg-draw { to { stroke-dashoffset: 0; } }

/* Open / closed pill */
.open-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
}
.open-pill::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.open-pill.is-open { color: var(--ok); }
.open-pill.is-open::before { animation: pulse 1.8s infinite; }
.open-pill.is-closed { color: var(--red-600); }
.open-pill:empty { display: none; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(19, 138, 109, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(19, 138, 109, 0); }
  100% { box-shadow: 0 0 0 0 rgba(19, 138, 109, 0); }
}
.hours-card .open-pill { background: var(--mint-100); }
.hours-card .open-pill.is-closed { background: var(--red-100); }

/* Section headings get a red tick */
.section-head h2::before {
  content: "";
  display: block;
  width: 44px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--red-500) 0 50%, var(--green-600) 50% 100%);
  margin-bottom: 14px;
}
.page-head h1::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--red-500) 0 50%, var(--green-600) 50% 100%);
  margin-top: 14px;
}
.page-head h1 { margin-bottom: 0.5em; }

/* Cards: coloured top edge, alternating red / green */
.card { border-top: 4px solid var(--green-600); }
.card:nth-child(2) { border-top-color: var(--red-500); }
.card:nth-child(2) .icon { background: var(--red-100); color: var(--red-600); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; }
.cta-band::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 8px;
  background: var(--red-500);
}

/* Hours section */
.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 860px) { .hours-grid { grid-template-columns: 1fr; gap: 24px; } }
.hours-grid .section-head { margin-bottom: 0; }

.hours-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--red-500);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 26px 18px;
}
.hours-card header { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.hours-card h3 { margin: 0; }
.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 12px;
  margin: 0 -12px;
  border-radius: 10px;
  font-weight: 500;
}
.hours-row + .hours-row { border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; }
.hours-row .closed { color: var(--red-600); font-weight: 600; }
.hours-row.today { background: var(--mint-50); }
.hours-row.today.is-sunday { background: var(--red-50); }
.hours-row.today .day::after {
  content: "Today";
  margin-left: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--green-700);
  color: #fff;
  vertical-align: 2px;
}
.hours-row.today.is-sunday .day::after { background: var(--red-600); }

/* Rx tag in red (pharmacy convention) */

/* Contact page */
.owner-body .role { color: var(--red-600); }
.owner-card { border-top: 4px solid var(--red-500); }
.contact-item .icon.red { background: var(--red-100); color: var(--red-600); }
.contact-item .sub { display: block; font-size: 0.88rem; color: var(--muted); font-weight: 400; }
.contact-item .open-pill { margin-left: auto; background: var(--mint-100); }
.contact-item .open-pill.is-closed { background: var(--red-100); }
@media (max-width: 560px) { .contact-item { flex-wrap: wrap; } .contact-item .open-pill { margin-left: 62px; } }

/* Footer */
.site-footer { border-top: 4px solid; border-image: linear-gradient(90deg, var(--green-600) 0 50%, var(--red-500) 50% 100%) 1; }
.footer-col h4 { color: #ff9c9c; }

@media (prefers-reduced-motion: reduce) {
  .ecg path { animation: none; stroke-dashoffset: 0; }
  .open-pill.is-open::before { animation: none; }
}

@media (max-width: 520px) {
  .brand { gap: 10px; }
  .brand-name { font-size: 1rem; }
}
