@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,650;9..144,800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap");

:root {
  --bg: #f7fbff;
  --surface: #ffffff;
  --surface-soft: #f1f9ff;
  --ink: #101820;
  --black: #070b10;
  --muted: #526979;
  --blue-50: #f3fbff;
  --blue-100: #e4f6ff;
  --blue-200: #c9ecff;
  --blue-300: #9bd9ff;
  --blue-600: #176aa4;
  --blue-700: #0f527f;
  --line: #cce7f6;
  --shadow: 0 22px 60px rgba(15, 82, 127, 0.16);
  --shadow-soft: 0 12px 34px rgba(15, 82, 127, 0.12);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  min-width: 0;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  min-height: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-padding-top: 10rem;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Nunito Sans", "Trebuchet MS", sans-serif;
  background:
    radial-gradient(circle at 8% 8%, rgba(155, 217, 255, 0.42), transparent 30rem),
    radial-gradient(circle at 92% 18%, rgba(201, 236, 255, 0.75), transparent 26rem),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 42%, #ffffff 100%);
  line-height: 1.55;
  min-height: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(23, 106, 164, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 106, 164, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, black, transparent 70%);
  pointer-events: none;
}

a {
  color: var(--blue-700);
  overflow-wrap: anywhere;
}

img,
video,
iframe,
audio,
table {
  max-width: 100%;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
main:focus-visible {
  outline: 4px solid #0b5791;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  background: var(--black);
  color: #fff;
  border-radius: 999px;
  padding: 0.72rem 1.1rem;
  transform: translateY(-140%);
  transition: transform 0.18s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.muted-small {
  color: var(--muted);
  font-size: 0.82rem;
}

.link-note {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.pill-list,
.voice-command-list,
.voice-button-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  margin: 1rem 0;
  padding: 0;
}

.pill-list li,
.voice-command-list li {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--black);
  font-size: 0.9rem;
  font-weight: 900;
  padding: 0.45rem 0.75rem;
}

.voice-command-list {
  align-items: flex-start;
  flex-direction: column;
}

.voice-command-list li {
  border-radius: 14px;
}

.voice-button-grid {
  margin-top: 1rem;
}

.speech-button {
  border: 1px solid var(--blue-600);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(228, 246, 255, 0.96));
  color: var(--black);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  min-height: 48px;
  padding: 0.72rem 0.9rem;
  text-align: left;
}

.speech-button:hover {
  box-shadow: 0 12px 24px rgba(23, 106, 164, 0.16);
  transform: translateY(-1px);
}

.voice-reader-player {
  display: block;
  width: 100%;
  margin-top: 0.8rem;
}

.voice-nav-panel {
  margin: 1.15rem 0;
  border-color: var(--blue-600);
  background:
    radial-gradient(circle at top right, rgba(155, 217, 255, 0.35), transparent 18rem),
    #fff;
}

.voice-nav-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.voice-state-badge,
.voice-support-status {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--blue-50);
  color: var(--blue-700);
  font-size: 0.82rem;
  font-weight: 900;
  padding: 0.45rem 0.75rem;
}

.voice-state-badge[data-state="listening"],
.voice-support-status[data-state="supported"] {
  border-color: rgba(23, 106, 164, 0.45);
  background: #e8f8ee;
  color: #136b32;
}

.voice-support-status[data-state="warning"] {
  background: #fff7dc;
  color: #735000;
}

.voice-support-status[data-state="unsupported"] {
  background: #fff0f0;
  color: #8a1f1f;
}

.voice-support-status {
  display: block;
  border-radius: 18px;
  margin: 1rem 0;
  overflow-wrap: anywhere;
}

.voice-step-grid,
.voice-quick-grid {
  display: grid;
  gap: 0.75rem;
}

.voice-step-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 1rem 0;
}

.voice-step-grid div {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  padding: 0.9rem;
}

.voice-step-grid strong,
.voice-step-grid span {
  display: block;
}

.voice-step-grid strong {
  color: var(--black);
  font-weight: 900;
}

.voice-step-grid span {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 0.28rem;
}

.voice-nav-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.voice-nav-controls .btn[disabled] {
  cursor: not-allowed;
  opacity: 0.58;
  transform: none;
}

.voice-toggle-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0.9rem 0;
}

.voice-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--black);
  cursor: pointer;
  font-weight: 900;
  padding: 0.55rem 0.78rem;
}

.voice-toggle input {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--blue-600);
}

.voice-speed-control {
  border-radius: 18px;
  flex-wrap: wrap;
}

.voice-speed-control select {
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 900;
  min-height: 38px;
  padding: 0.35rem 2rem 0.35rem 0.7rem;
  width: auto;
}

.voice-transcript {
  border: 1px dashed var(--blue-600);
  border-radius: 14px;
  background: var(--blue-50);
  color: var(--black);
  font-weight: 900;
  padding: 0.7rem 0.85rem;
}

.voice-call-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  border: 2px solid var(--blue-600);
  border-radius: 20px;
  background:
    radial-gradient(circle at top right, rgba(155, 217, 255, 0.42), transparent 14rem),
    #ffffff;
  box-shadow: var(--shadow-soft);
  margin-top: 1rem;
  padding: 1rem;
}

.voice-call-panel strong,
.voice-call-panel span {
  display: block;
}

.voice-call-panel strong {
  color: var(--black);
  font-size: 1.02rem;
  font-weight: 900;
}

.voice-call-panel span {
  color: var(--muted);
  font-weight: 800;
  margin-top: 0.25rem;
}

.voice-quick-panel {
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(243, 251, 255, 0.96), rgba(255, 255, 255, 0.96));
  margin-top: 1rem;
  padding: 0.9rem;
}

.voice-quick-panel h4 {
  margin: 0 0 0.75rem;
}

.voice-quick-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.voice-quick-grid button {
  border: 1px solid var(--blue-600);
  border-radius: 14px;
  background: #fff;
  color: var(--blue-700);
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 900;
  min-height: 46px;
  padding: 0.6rem 0.7rem;
  text-align: center;
}

.voice-quick-grid button:hover {
  background: var(--blue-100);
  box-shadow: 0 10px 24px rgba(15, 82, 127, 0.12);
}

.voice-command-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  margin-top: 0.9rem;
}

.voice-command-form .btn {
  align-self: end;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(204, 231, 246, 0.8);
  backdrop-filter: blur(18px);
}

.utility-strip {
  background:
    linear-gradient(90deg, rgba(228, 246, 255, 0.98), rgba(201, 236, 255, 0.98));
  color: var(--ink);
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 1.25rem;
  border-bottom: 1px solid var(--line);
  padding: 0.35rem max(1rem, calc((100vw - 1180px) / 2));
  font-size: 0.86rem;
  font-weight: 900;
}

.utility-strip,
.category-nav {
  scrollbar-width: none;
}

.utility-strip::-webkit-scrollbar,
.category-nav::-webkit-scrollbar {
  display: none;
}

.utility-strip a,
.utility-button {
  color: var(--ink);
  text-decoration: none;
  white-space: normal;
  font-weight: 900;
}

.utility-button {
  appearance: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  min-height: 44px;
  padding: 0 0.2rem;
}

.language-control {
  align-items: center;
  display: grid;
  grid-template-columns: auto minmax(9.5rem, max-content) auto;
  gap: 0.5rem;
  min-height: 44px;
  white-space: nowrap;
}

.language-control label {
  font-weight: 900;
}

.language-control select {
  appearance: auto;
  border: 1px solid rgba(15, 82, 127, 0.28);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.2;
  min-height: 34px;
  padding: 0.25rem 1.7rem 0.25rem 0.65rem;
  width: 100%;
}

.language-actions {
  display: inline-flex;
  gap: 0.25rem;
}

.language-choice {
  appearance: none;
  border: 1px solid rgba(15, 82, 127, 0.28);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  min-height: 34px;
  padding: 0.25rem 0.62rem;
}

.language-choice.is-active,
.language-choice[aria-pressed="true"] {
  background: var(--blue-700);
  border-color: var(--blue-700);
  color: #fff;
}

.utility-strip a:hover,
.utility-button:hover,
.language-choice:hover {
  color: var(--blue-700);
}

.language-choice.is-active:hover,
.language-choice[aria-pressed="true"]:hover {
  color: #fff;
}

.primary-header,
.category-nav {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.primary-header {
  display: grid;
  grid-template-columns: auto minmax(260px, 650px);
  align-items: center;
  gap: 1.4rem;
  padding: 1rem 0;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.logo {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  object-fit: contain;
  padding: 0.3rem;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: 900;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 0.98;
}

h3 {
  font-size: 1.25rem;
  font-weight: 900;
}

.tagline {
  margin: 0.1rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.search-bar {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto;
  justify-self: end;
  width: 100%;
  max-width: 650px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 82, 127, 0.09);
  overflow: hidden;
}

.search-bar input {
  border: 0;
  min-height: 50px;
  padding-left: 1.2rem;
  background: transparent;
}

.search-bar button {
  border: 0;
  background: var(--blue-600);
  color: #fff;
  font-weight: 900;
  min-height: 50px;
  padding: 0 1.35rem;
}

.category-nav {
  display: flex;
  gap: 0.3rem;
  flex-wrap: wrap;
  padding: 0 0 0.85rem;
}

.category-nav a {
  color: var(--black);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 900;
  padding: 0.78rem 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
}

.category-nav a:hover {
  background: var(--blue-100);
  border-color: var(--line);
  color: var(--blue-700);
}

main {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.2rem 0 2.5rem;
  display: grid;
  gap: 1.2rem;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  gap: clamp(1.2rem, 3vw, 2.6rem);
  align-items: center;
  min-height: 600px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(228, 246, 255, 0.88)),
    radial-gradient(circle at 88% 18%, rgba(23, 106, 164, 0.18), transparent 26rem);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(1.2rem, 4vw, 3.25rem);
  box-shadow: var(--shadow);
}

.hero::before {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  left: -130px;
  bottom: -150px;
  z-index: -1;
  border-radius: 50%;
  background: repeating-linear-gradient(135deg, rgba(23, 106, 164, 0.12) 0 10px, transparent 10px 22px);
}

.hero::after {
  content: "+";
  position: absolute;
  right: 2rem;
  top: 1.4rem;
  z-index: -1;
  color: rgba(23, 106, 164, 0.11);
  font-size: 10rem;
  font-weight: 900;
  line-height: 1;
}

.hero-copy {
  max-width: 650px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--blue-700);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 0.46rem 0.8rem;
  text-transform: uppercase;
}

.hero h2 {
  max-width: 780px;
  color: var(--black);
  font-family: "Newsreader", Georgia, serif;
  overflow-wrap: anywhere;
}

.hero p {
  color: var(--muted);
  max-width: 640px;
  font-size: 1.08rem;
}

.hero-visual {
  position: relative;
  min-height: 460px;
}

.hero-halo {
  position: absolute;
  inset: 10% -4% 5% 10%;
  border-radius: 42% 58% 48% 52%;
  background:
    linear-gradient(135deg, rgba(23, 106, 164, 0.18), rgba(255, 255, 255, 0.3)),
    var(--blue-200);
  transform: rotate(-7deg);
}

.hero-card {
  position: relative;
  width: 100%;
  height: min(520px, 62vw);
  min-height: 390px;
  border-radius: 34px;
  border: 9px solid #fff;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 28px 70px rgba(7, 11, 16, 0.24);
}

.hero-note {
  position: absolute;
  right: -0.4rem;
  bottom: 1.2rem;
  display: grid;
  gap: 0.12rem;
  width: min(280px, 88%);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
  padding: 1rem;
}

.hero-note .note-label {
  color: var(--blue-700);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-note a {
  color: var(--blue-700);
  font-weight: 900;
  text-decoration-thickness: 2px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.btn {
  border: 0;
  border-radius: 999px;
  padding: 0.82rem 1.25rem;
  min-height: 48px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(23, 106, 164, 0.26);
}

.btn-secondary {
  background: var(--black);
}

.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}

.trust-pills li {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--blue-700);
  font-size: 0.88rem;
  font-weight: 900;
  padding: 0.5rem 0.75rem;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
  margin-top: -3.1rem;
  padding: 0 1.1rem;
  position: relative;
  z-index: 2;
}

.quick-card {
  display: grid;
  gap: 0.35rem;
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  padding: 1.15rem;
}

.quick-card:hover {
  transform: translateY(-3px);
  border-color: var(--blue-300);
}

.quick-card strong {
  font-size: 1.05rem;
  line-height: 1.18;
}

.quick-card span:last-child {
  color: var(--muted);
  font-size: 0.94rem;
}

.quick-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: var(--blue-100);
  color: var(--blue-700);
  font-weight: 900;
}

.card {
  position: relative;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: 0 8px 28px rgba(15, 82, 127, 0.07);
  animation: riseIn 450ms ease;
}

.card > p {
  color: var(--muted);
  max-width: 850px;
  font-size: 1.03rem;
}

.grid-2,
.contact-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1rem;
}

.service-grid article,
.panel,
.metric-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(243, 251, 255, 0.96));
  box-shadow: 0 10px 26px rgba(15, 82, 127, 0.07);
}

.service-grid article {
  min-height: 180px;
  padding: 1.1rem;
}

.service-grid article::before {
  content: "";
  display: block;
  width: 44px;
  height: 44px;
  margin-bottom: 0.8rem;
  border-radius: 15px;
  background:
    linear-gradient(90deg, transparent 42%, #fff 42% 58%, transparent 58%),
    linear-gradient(0deg, transparent 42%, #fff 42% 58%, transparent 58%),
    var(--blue-600);
}

.panel {
  padding: 1.1rem;
}

.notice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.notice-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    radial-gradient(circle at top right, rgba(155, 217, 255, 0.35), transparent 14rem),
    #fff;
  box-shadow: var(--shadow-soft);
  padding: 1.1rem;
}

.notice-card h3 {
  color: var(--blue-700);
}

.qr-panel {
  text-align: center;
}

.qr-code {
  display: block;
  width: min(430px, 100%);
  height: auto;
  margin: 1rem auto;
  border: 10px solid #fff;
  border-radius: 24px;
  background: #fff;
  image-orientation: none;
  object-fit: contain;
  box-shadow: 0 16px 38px rgba(15, 82, 127, 0.18);
}

.admin-login-panel {
  max-width: 760px;
  margin-top: 1rem;
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1rem 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  padding: 1rem;
}

.admin-toolbar p {
  margin: 0;
  color: var(--muted);
  font-weight: 900;
}

.owner-panel {
  margin-top: 1rem;
}

.customer-access-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.8rem;
  margin-top: 1rem;
  border-color: rgba(38, 143, 204, 0.35);
  background:
    radial-gradient(circle at top right, rgba(155, 217, 255, 0.34), transparent 15rem),
    linear-gradient(180deg, #fff, #f5fbff);
}

.customer-session-summary {
  border: 1px solid rgba(38, 143, 204, 0.35);
  border-radius: 16px;
  background: #fff;
  color: var(--black);
  font-weight: 800;
  padding: 0.8rem;
}

.prescription-products-panel {
  margin-top: 1rem;
}

.price-locked {
  display: grid;
  gap: 0.45rem;
}

.price-locked span,
.rx-product-meta {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.price-visible {
  color: var(--black);
  font-size: 1.05rem;
  font-weight: 950;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1rem 0;
}

.metric-card {
  padding: 1rem;
}

.metric-card span {
  color: var(--muted);
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.metric-card strong {
  display: block;
  color: var(--black);
  font-size: 1.8rem;
  line-height: 1.2;
}

.compact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 0.9rem;
}

.compact-grid .btn,
.compact-grid .check-row {
  align-self: end;
}

.admin-stack {
  margin-top: 1rem;
}

.inline-actions,
.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.text-link-button,
.danger-button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--black);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  min-height: 44px;
  padding: 0.5rem 0.8rem;
  text-decoration: none;
}

.danger-button {
  border-color: #ffcfcf;
  color: #951818;
}

.scanner-video {
  width: min(460px, 100%);
  margin-top: 0.75rem;
  border: 4px solid var(--blue-600);
  border-radius: 20px;
  background: #000;
}

.accessible-video-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.video-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 0.9rem;
}

.video-card h4 {
  margin: 0 0 0.65rem;
  color: var(--black);
}

.video-card video {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--black);
}

.video-card .inline-actions {
  margin-top: 0.65rem;
}

.transcript-panel {
  margin-top: 0.7rem;
  border-left: 5px solid var(--blue-600);
  border-radius: 12px;
  background: var(--blue-50);
  padding: 0.75rem;
}

.transcript-panel p {
  margin: 0;
  color: var(--ink);
}

ul {
  margin-top: 0.5rem;
  padding-left: 1.1rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.7rem;
}

.panel:has(table) {
  overflow-x: auto;
}

th,
td {
  border-bottom: 1px solid #d8edf8;
  padding: 0.78rem 0.62rem;
  text-align: left;
  font-size: 0.92rem;
}

th {
  color: var(--blue-700);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.form-grid {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

label {
  display: grid;
  gap: 0.35rem;
  color: var(--black);
  font-size: 0.93rem;
  font-weight: 800;
}

input,
select,
textarea {
  border: 1px solid #b8dff2;
  border-radius: 14px;
  padding: 0.72rem 0.82rem;
  font-size: 0.96rem;
  font-family: inherit;
  min-height: 48px;
  max-width: 100%;
  width: 100%;
  background: #fff;
}

input:focus,
select:focus,
textarea:focus {
  outline: 4px solid #0b5791;
  outline-offset: 2px;
}

.check-row {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.55rem;
  font-weight: 700;
}

.check-row input {
  min-height: auto;
  margin-top: 0.2rem;
}

.result {
  min-height: 1.1rem;
  color: #0b5791;
  font-size: 0.94rem;
  font-weight: 800;
}

pre {
  background: #0d1f30;
  color: #daeeff;
  border-radius: 16px;
  padding: 0.85rem;
  font-size: 0.82rem;
  overflow-x: auto;
  min-height: 70px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(7, 11, 16, 0.62);
  display: grid;
  place-items: center;
  padding: 1rem;
}

.modal-backdrop[hidden] {
  display: none;
}

.location-modal {
  position: relative;
  width: min(520px, 100%);
  background: #fff;
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  padding: 1.5rem;
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--black);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}

.modal-address {
  color: var(--muted);
}

.hours-list {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 1rem 0;
  padding: 0.6rem 0;
}

.hours-list p {
  margin: 0.35rem 0;
}

.map-frame {
  width: 100%;
  min-height: 240px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--blue-50);
}

.accessibility-section {
  border-top: 6px solid var(--blue-600);
}

.compliance-section {
  border-top: 6px solid var(--blue-600);
}

footer {
  text-align: center;
  font-size: 0.9rem;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(228, 246, 255, 0.85), rgba(201, 236, 255, 0.95));
  border-top: 1px solid var(--line);
  padding: 2rem 1rem 3rem;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 980px) {
  .primary-header,
  .hero,
  .grid-2,
  .contact-grid,
  .service-grid,
  .notice-grid,
  .dashboard-grid,
  .compact-grid,
  .quick-actions {
    grid-template-columns: 1fr;
  }

  .site-header {
    position: static;
  }

  .utility-strip {
    justify-content: flex-start;
    overflow-x: auto;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .primary-header {
    align-items: stretch;
  }

  .search-bar {
    justify-self: stretch;
    max-width: none;
  }

  .category-nav {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.75rem;
  }

  .category-nav a {
    white-space: nowrap;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 0;
  }

  .hero-card {
    min-height: 280px;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .hero-note {
    position: relative;
    right: auto;
    bottom: auto;
    margin: -2.8rem 1rem 0 auto;
  }

  .quick-actions {
    margin-top: 0;
    padding: 0;
  }

  .modal-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-toolbar {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .hero h2 {
    font-size: 2.25rem;
    line-height: 1.03;
  }
}

@media (max-width: 560px) {
  html,
  body {
    width: 100%;
    overflow-x: clip;
  }

  main,
  .primary-header,
  .category-nav {
    width: min(100% - 0.75rem, 1180px);
  }

  main {
    gap: 0.9rem;
    padding-top: 0.75rem;
  }

  .utility-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem;
    overflow: visible;
    padding: 0.45rem 0.5rem;
    font-size: 0.78rem;
  }

  .utility-strip a,
  .utility-button,
  .language-control {
    align-items: center;
    justify-content: center;
    min-height: 40px;
    border: 1px solid rgba(15, 82, 127, 0.18);
    border-radius: 999px;
    padding: 0.28rem 0.45rem;
    text-align: center;
  }

  .utility-strip a,
  .utility-button {
    display: inline-flex;
  }

  .language-control {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    justify-items: stretch;
    white-space: normal;
  }

  .language-control label {
    text-align: center;
  }

  .language-control select {
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }

  .language-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .language-choice {
    width: 100%;
  }

  .primary-header {
    gap: 0.7rem;
    padding: 0.75rem 0;
  }

  .brand-wrap {
    justify-content: center;
  }

  .logo {
    width: 52px;
    height: 52px;
    border-radius: 15px;
  }

  h1 {
    font-size: 1.45rem;
  }

  .tagline {
    font-size: 0.84rem;
  }

  .category-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem;
    overflow: visible;
    padding-bottom: 0.55rem;
  }

  .category-nav a {
    display: grid;
    min-height: 44px;
    place-items: center;
    padding: 0.55rem 0.4rem;
    text-align: center;
    white-space: normal;
  }

  .hero,
  .card {
    border-radius: 18px;
  }

  .hero {
    padding: 1rem;
  }

  .hero::after {
    right: 0.6rem;
    top: 0.6rem;
    font-size: 5.4rem;
  }

  .hero h2 {
    font-size: 2.05rem;
    line-height: 1.05;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-card {
    min-height: 220px;
    border-width: 6px;
    border-radius: 24px;
  }

  .hero-halo {
    display: none;
  }

  .hero-note {
    width: auto;
    margin: -2.1rem 0.5rem 0;
    padding: 0.85rem;
  }

  .cta-row .btn,
  .quick-card,
  .voice-nav-controls .btn,
  .voice-call-panel .btn,
  .modal-actions .btn,
  .modal-actions .text-link-button {
    width: 100%;
  }

  .quick-card {
    min-height: auto;
    padding: 1rem;
  }

  .card {
    padding: 1rem;
  }

  .panel {
    padding: 0.85rem;
  }

  .search-bar {
    grid-template-columns: 1fr;
    border-radius: 18px;
  }

  .search-bar input,
  .search-bar button {
    min-height: 46px;
  }

  .search-bar button {
    border-radius: 0;
  }

  .pill-list li,
  .voice-command-list li {
    width: 100%;
  }

  .voice-nav-heading,
  .voice-toggle-row {
    align-items: stretch;
    flex-direction: column;
  }

  .voice-state-badge {
    align-self: flex-start;
  }

  .voice-step-grid,
  .voice-quick-grid,
  .voice-call-panel {
    grid-template-columns: 1fr;
  }

  .voice-toggle {
    border-radius: 16px;
    width: 100%;
  }

  .voice-speed-control select {
    width: 100%;
  }

  .voice-command-form {
    grid-template-columns: 1fr;
  }

  .voice-command-form .btn {
    width: 100%;
  }

  .modal-backdrop {
    align-items: start;
    overflow-y: auto;
    padding: 0.5rem;
  }

  .location-modal {
    width: 100%;
    max-height: calc(100dvh - 1rem);
    overflow-y: auto;
    border-radius: 18px;
    padding: 1rem;
  }

  .location-modal h2 {
    padding-right: 2.7rem;
  }

  .map-frame {
    min-height: 190px;
  }

  .inline-actions,
  .modal-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .inline-actions a,
  .inline-actions button,
  .text-link-button,
  .danger-button {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .panel:has(table) {
    overflow: visible;
  }

  #otc-table,
  #otc-table tbody,
  #otc-table tr,
  #otc-table td,
  #rx-product-table,
  #rx-product-table tbody,
  #rx-product-table tr,
  #rx-product-table td {
    display: block;
    width: 100%;
  }

  #otc-table thead,
  #rx-product-table thead {
    display: none;
  }

  #otc-table tr,
  #rx-product-table tr {
    margin-top: 0.75rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 82, 127, 0.08);
    overflow: hidden;
  }

  #otc-table td,
  #rx-product-table td {
    display: grid;
    grid-template-columns: minmax(90px, 0.42fr) minmax(0, 1fr);
    gap: 0.65rem;
    border-bottom: 1px solid #e4f1f8;
    padding: 0.62rem 0.7rem;
    overflow-wrap: anywhere;
  }

  #otc-table td:last-child,
  #rx-product-table td:last-child {
    border-bottom: 0;
  }

  #otc-table td::before,
  #rx-product-table td::before {
    content: attr(data-label);
    color: var(--blue-700);
    font-size: 0.74rem;
    font-weight: 900;
    text-transform: uppercase;
  }

  .accessible-video-grid,
  .video-card,
  .video-card video,
  .voice-reader-player,
  .scanner-video,
  pre {
    width: 100%;
  }
}

@media (max-width: 390px) {
  .utility-strip,
  .category-nav {
    grid-template-columns: 1fr;
  }

  .hero h2 {
    font-size: 1.82rem;
  }

  #otc-table td,
  #rx-product-table td {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

/* UX redesign pass: customer-first hierarchy, cleaner pharmacy storefront, calmer backend-heavy sections. */
:root {
  --bg: #f6fbff;
  --surface: #ffffff;
  --surface-soft: #edf8ff;
  --ink: #111820;
  --black: #05080c;
  --muted: #526576;
  --blue-50: #f2fbff;
  --blue-100: #e3f6ff;
  --blue-200: #c7ebff;
  --blue-300: #9fdbff;
  --blue-600: #176b9f;
  --blue-700: #0a4f78;
  --line: #d8eaf4;
  --shadow: 0 24px 70px rgba(9, 58, 92, 0.15);
  --shadow-soft: 0 14px 36px rgba(9, 58, 92, 0.09);
  --radius: 28px;
}

html {
  scroll-padding-top: 9.5rem;
}

body {
  font-family: "Plus Jakarta Sans", "Trebuchet MS", sans-serif;
  background:
    radial-gradient(circle at 12% -10%, rgba(159, 219, 255, 0.72), transparent 28rem),
    radial-gradient(circle at 92% 8%, rgba(227, 246, 255, 0.95), transparent 26rem),
    linear-gradient(180deg, #fafdff 0%, #f4fbff 48%, #ffffff 100%);
}

body::before {
  background-image:
    radial-gradient(circle, rgba(23, 107, 159, 0.055) 1.3px, transparent 1.3px);
  background-size: 26px 26px;
  opacity: 0.8;
  mask-image: linear-gradient(180deg, black, transparent 58%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(10, 79, 120, 0.12);
  background: rgba(246, 251, 255, 0.92);
  box-shadow: 0 10px 30px rgba(9, 58, 92, 0.08);
  backdrop-filter: blur(18px);
}

.utility-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  max-width: 1240px;
  margin: 0 auto;
  border-bottom: 0;
  background: transparent;
  color: var(--black);
  padding: 0.58rem 1rem 0;
}

.utility-strip a,
.utility-button,
.language-control {
  min-height: 36px;
  border: 1px solid rgba(10, 79, 120, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--black);
  box-shadow: none;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.38rem 0.7rem;
  text-decoration: none;
}

.utility-button strong,
.utility-strip a strong {
  font-weight: 950;
}

.utility-secondary {
  opacity: 0.72;
}

.language-control {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.language-control label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.language-control select {
  min-height: 28px;
  border-radius: 999px;
  border-color: rgba(10, 79, 120, 0.18);
  background: #fff;
  font-size: 0.78rem;
  padding: 0.18rem 1.8rem 0.18rem 0.55rem;
}

.language-actions {
  display: none;
}

.primary-header,
.category-nav,
main {
  width: min(100% - 2rem, 1180px);
}

.primary-header {
  display: grid;
  grid-template-columns: minmax(250px, 1fr) minmax(280px, 430px);
  gap: 1rem;
  padding: 0.85rem 0 0.65rem;
}

.brand-wrap {
  gap: 0.82rem;
}

.logo {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(9, 58, 92, 0.12);
}

.brand-wrap h1 {
  color: var(--black);
  font-size: clamp(1.32rem, 2vw, 1.72rem);
  letter-spacing: -0.045em;
}

.tagline {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.search-bar {
  border: 1px solid rgba(10, 79, 120, 0.12);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(9, 58, 92, 0.07);
  padding: 0.24rem;
}

.search-bar input {
  font-size: 0.92rem;
  padding-left: 0.8rem;
}

.search-bar button {
  border-radius: 14px;
  background: var(--black);
  font-weight: 900;
}

.category-nav {
  justify-content: center;
  gap: 0.42rem;
  padding: 0 0 0.8rem;
}

.category-nav a {
  border: 1px solid rgba(10, 79, 120, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--black);
  font-size: 0.84rem;
  font-weight: 900;
  padding: 0.58rem 0.86rem;
  text-decoration: none;
}

.category-nav a:hover,
.category-nav a:focus-visible {
  background: var(--blue-700);
  color: #fff;
}

main {
  gap: clamp(1.1rem, 3vw, 2rem);
  padding: clamp(1.1rem, 3vw, 2rem) 0 4rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  align-items: center;
  min-height: 570px;
  overflow: hidden;
  border: 1px solid rgba(10, 79, 120, 0.14);
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0 48%, rgba(226, 246, 255, 0.82) 48% 100%);
  box-shadow: var(--shadow);
  padding: clamp(1.5rem, 4vw, 3.4rem);
}

.hero::before {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(159, 219, 255, 0.76), transparent 68%);
  right: 22%;
  top: -7rem;
}

.hero::after {
  right: -7rem;
  bottom: -8rem;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(10, 79, 120, 0.12);
  background: rgba(255, 255, 255, 0.26);
}

.hero-copy {
  max-width: 680px;
}

.eyebrow,
.section-heading .eyebrow {
  color: var(--blue-700);
  font-size: 0.8rem;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.hero h2,
.card h2,
.section-heading h2 {
  font-family: "Fraunces", Georgia, serif;
  letter-spacing: -0.055em;
}

.hero h2 {
  max-width: 760px;
  font-size: clamp(3.15rem, 6vw, 5.75rem);
  line-height: 0.93;
}

.hero p {
  max-width: 610px;
  color: #35495a;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
}

.cta-row {
  gap: 0.65rem;
}

.btn {
  border-radius: 16px;
  min-height: 52px;
  box-shadow: 0 13px 26px rgba(23, 107, 159, 0.18);
  padding: 0.86rem 1.2rem;
}

.btn-secondary {
  background: #fff;
  border: 1px solid rgba(10, 79, 120, 0.18);
  color: var(--black);
  box-shadow: 0 10px 24px rgba(9, 58, 92, 0.09);
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(10, 79, 120, 0.2);
  color: var(--blue-700);
  box-shadow: none;
}

.trust-pills {
  max-width: 620px;
}

.trust-pills li {
  border-color: rgba(10, 79, 120, 0.13);
  background: #fff;
  color: var(--black);
  font-size: 0.84rem;
}

.hero-visual {
  min-height: 510px;
}

.hero-halo {
  inset: 11% -2% 0 8%;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(10, 79, 120, 0.18), rgba(199, 235, 255, 0.92)),
    var(--blue-200);
  transform: rotate(-4deg);
}

.hero-card {
  height: min(510px, 55vw);
  border: 12px solid #fff;
  border-radius: 30px;
  box-shadow: 0 28px 64px rgba(5, 8, 12, 0.22);
}

.hero-note {
  right: 1rem;
  bottom: 1rem;
  width: min(315px, 88%);
  border-color: rgba(10, 79, 120, 0.15);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  padding: 1rem 1.05rem;
}

.quick-actions {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: -3rem;
  padding: 0 clamp(0.6rem, 2vw, 1.2rem);
}

.quick-card {
  min-height: 154px;
  border-radius: 24px;
  border-color: rgba(10, 79, 120, 0.12);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 40px rgba(9, 58, 92, 0.11);
  padding: 1.15rem;
}

.quick-card strong {
  color: var(--black);
  font-size: 1.08rem;
}

.quick-icon {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: var(--black);
  color: #fff;
  font-size: 0.82rem;
}

.card {
  border-color: rgba(10, 79, 120, 0.12);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 44px rgba(9, 58, 92, 0.08);
}

.card h2,
.section-heading h2 {
  color: var(--black);
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  line-height: 0.98;
  margin-bottom: 0.6rem;
}

.section-heading {
  display: grid;
  gap: 0.25rem;
  max-width: 850px;
  margin-bottom: 1.1rem;
}

.section-heading p:last-child {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0;
}

.notice-grid {
  gap: 0.8rem;
}

.notice-card {
  border-color: rgba(10, 79, 120, 0.11);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(9, 58, 92, 0.07);
}

.shop-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 1rem 0;
}

.shop-steps article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.35rem 0.7rem;
  align-items: start;
  border: 1px solid rgba(10, 79, 120, 0.12);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff, #f4fbff);
  box-shadow: 0 12px 30px rgba(9, 58, 92, 0.08);
  padding: 1rem;
}

.shop-steps span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--blue-700);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 950;
}

.shop-steps strong {
  color: var(--black);
  font-weight: 950;
}

.shop-steps p {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.panel,
.service-grid article,
.metric-card {
  border-color: rgba(10, 79, 120, 0.12);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(9, 58, 92, 0.07);
}

.panel h3 {
  margin-top: 0;
  color: var(--black);
  font-size: 1.22rem;
  letter-spacing: -0.025em;
}

.customer-access-panel {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  border: 1px solid rgba(10, 79, 120, 0.18);
  border-radius: 28px;
  background:
    radial-gradient(circle at right top, rgba(159, 219, 255, 0.55), transparent 18rem),
    linear-gradient(135deg, #ffffff, #eff9ff);
  box-shadow: 0 18px 48px rgba(9, 58, 92, 0.11);
  padding: clamp(1rem, 2.2vw, 1.35rem);
}

.customer-access-panel h3 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.55rem, 2.2vw, 2.1rem);
  line-height: 1;
}

.customer-access-panel .compact-grid {
  grid-template-columns: 1fr 1fr;
  margin-top: 0;
}

.customer-access-panel .compact-grid .check-row,
.customer-access-panel .compact-grid .btn {
  grid-column: 1 / -1;
}

.customer-session-summary {
  grid-column: 1 / -1;
}

.prescription-products-panel {
  overflow: hidden;
}

.product-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(210px, 0.42fr) auto;
  gap: 0.75rem;
  align-items: end;
  margin: 1rem 0;
  border: 1px solid rgba(10, 79, 120, 0.11);
  border-radius: 22px;
  background: var(--blue-50);
  padding: 0.9rem;
}

.product-toolbar label {
  color: var(--black);
  font-weight: 900;
}

.product-toolbar input,
.product-toolbar select {
  background: #fff;
}

.product-count {
  margin: 0;
  color: var(--blue-700);
  font-size: 0.88rem;
  font-weight: 950;
  white-space: nowrap;
}

table {
  overflow: hidden;
  border: 1px solid rgba(10, 79, 120, 0.1);
  border-radius: 18px;
  background: #fff;
  border-collapse: separate;
  border-spacing: 0;
}

th {
  background: #f4fbff;
  color: var(--blue-700);
  letter-spacing: 0.05em;
}

td,
th {
  border-bottom: 1px solid rgba(10, 79, 120, 0.1);
}

tr:last-child td {
  border-bottom: 0;
}

.price-visible {
  display: inline-flex;
  border-radius: 999px;
  background: #ecf9ff;
  color: var(--blue-700);
  padding: 0.42rem 0.65rem;
}

.price-locked .text-link-button,
.text-link-button {
  color: var(--blue-700);
  font-weight: 950;
}

.form-grid,
.compact-grid {
  gap: 0.85rem;
}

input,
select,
textarea {
  border-color: rgba(10, 79, 120, 0.16);
  border-radius: 16px;
  background: #fff;
}

footer {
  background: #e9f8ff;
  color: var(--black);
}

@media (max-width: 980px) {
  html {
    scroll-padding-top: 1rem;
  }

  .site-header {
    position: static;
  }

  .utility-strip {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .primary-header,
  .hero,
  .quick-actions,
  .shop-steps,
  .customer-access-panel,
  .product-toolbar {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .quick-actions {
    margin-top: 0;
    padding: 0;
  }

  .product-count {
    white-space: normal;
  }
}

@media (max-width: 680px) {
  .primary-header,
  .category-nav,
  main {
    width: min(100% - 1rem, 1180px);
  }

  .utility-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.38rem;
    padding: 0.55rem 0.5rem 0;
  }

  .utility-strip a,
  .utility-button,
  .language-control {
    min-height: 42px;
    justify-content: center;
    text-align: center;
  }

  .utility-secondary {
    display: none;
  }

  .language-control {
    grid-column: 1 / -1;
  }

  .search-bar {
    display: none;
  }

  .category-nav {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.65rem;
  }

  .hero {
    border-radius: 26px;
    padding: 1.15rem;
  }

  .hero h2 {
    font-size: clamp(2.45rem, 14vw, 3.6rem);
  }

  .hero-card {
    min-height: 250px;
    border-width: 8px;
    border-radius: 24px;
  }

  .hero-note {
    width: calc(100% - 1rem);
    margin: -1.8rem auto 0;
  }

  .quick-card {
    min-height: 0;
  }

  .card {
    border-radius: 24px;
    padding: 1rem;
  }

  .card h2,
  .section-heading h2 {
    font-size: clamp(2rem, 10vw, 2.65rem);
  }

  .customer-access-panel .compact-grid {
    grid-template-columns: 1fr;
  }

  .shop-steps article {
    grid-template-columns: 1fr;
  }

  .shop-steps p {
    grid-column: 1;
  }
}

/* Mobile/side-browser correction from rendered QA. */
@media (max-width: 980px) {
  .hero-visual {
    min-height: 0;
  }
}

@media (max-width: 680px) {
  .utility-strip {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0.45rem 0.55rem 0;
  }

  .utility-strip a,
  .utility-button,
  .language-control {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 0.34rem 0.62rem;
    white-space: nowrap;
  }

  .utility-strip a[href^="mailto"],
  .utility-strip a[href^="sms"] {
    display: none;
  }

  .primary-header {
    padding-top: 0.55rem;
    padding-bottom: 0.45rem;
  }

  .logo {
    width: 48px;
    height: 48px;
    border-radius: 15px;
  }

  .brand-wrap h1 {
    font-size: 1.28rem;
  }

  .tagline {
    font-size: 0.78rem;
  }

  .category-nav {
    padding-bottom: 0.5rem;
  }

  .category-nav a {
    padding: 0.48rem 0.7rem;
    font-size: 0.78rem;
  }

  .hero {
    gap: 1rem;
  }

  .hero-visual {
    display: grid;
    gap: 0;
  }

  .hero-card {
    aspect-ratio: 16 / 10;
    height: auto;
    min-height: 0;
  }

  .hero-note {
    position: relative;
    right: auto;
    bottom: auto;
  }
}

@media (max-width: 680px) {
  .hero h2 {
    font-size: clamp(2.15rem, 9.5vw, 2.85rem);
    line-height: 0.96;
  }

  .hero p {
    font-size: 0.98rem;
  }

  .hero .trust-pills,
  .hero-note {
    display: none;
  }

  .hero-card {
    aspect-ratio: 16 / 8.5;
    object-position: center 35%;
  }
}
