:root {
  --orange: #e8631a;
  --orange-dk: #b9490b;
  --orange-hover: #983a06;
  --orange-pale: #fff4ee;
  --sky: #56adc6;
  --sky-pale: #eaf6fa;
  --sky-ink: #134356;
  --night: #172a3a;
  --ink: #1b2026;
  --text: #2e3338;
  --muted: #52575d;
  --line: #e4ded5;
  --line-strong: #cfc7bc;
  --bg: #fafaf8;
  --surface-warm: #f4f1eb;
  --card: #ffffff;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow: 0 2px 10px rgba(23, 42, 58, 0.06);
  --shadow-lg: 0 12px 30px rgba(23, 42, 58, 0.08);
  --serif: 'Iowan Old Style', 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif;
  --sans: 'Avenir Next', Avenir, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

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

@keyframes gnNavSlide {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gnStatusPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(19, 67, 86, 0.16);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(19, 67, 86, 0);
  }
}

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

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font: 16px/1.62 var(--sans);
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

[hidden] {
  display: none !important;
}

picture {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--orange-dk);
  text-underline-offset: 3px;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

a:hover {
  color: var(--ink);
}

h1, h2, h3 {
  color: var(--ink);
  line-height: 1.14;
  margin: 0 0 0.5em;
  overflow-wrap: break-word;
}

h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.15rem, 4.8vw, 3.45rem);
  letter-spacing: -0.015em;
}

h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.65rem, 3.2vw, 2.2rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.04rem;
  font-weight: 700;
  line-height: 1.32;
}

p {
  margin: 0 0 1em;
}

:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 2px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 768px) {
  .wrap {
    padding: 0 32px;
  }
}

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

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--night);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
  z-index: 60;
}

.skip:focus {
  left: 12px;
}

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

.small {
  font-size: 0.875rem;
}

.lede {
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--text);
  max-width: 62ch;
}

/* Preview banner + header */
.demo-bar {
  background: var(--surface-warm);
  color: #3d3a35;
  font-size: 0.84rem;
  padding: 2px 0;
  border-bottom: 1px solid var(--line);
}

.demo-bar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.demo-bar strong {
  color: var(--ink);
}

.demo-bar a {
  color: var(--ink);
  font-weight: 700;
}

.demo-bar-close {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.demo-bar-close:hover {
  background: var(--line);
}

.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 30;
  box-shadow: 0 1px 4px rgba(23, 42, 58, 0.04);
}

.header-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 68px;
  flex-wrap: wrap;
  padding-top: 8px;
  padding-bottom: 8px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: auto;
  min-height: 44px;
}

.brand picture {
  display: inline-flex;
  align-items: center;
}

.brand img {
  height: 42px;
  width: auto;
}

.brand-tag {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  color: #fff;
  background: var(--sky-ink);
  border-radius: 6px;
  padding: 4px 9px;
  white-space: nowrap;
  align-self: center;
}

@media (max-width: 599px) {
  .brand-tag {
    display: none;
  }
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid transparent;
  background: none;
  color: var(--ink);
  border-radius: 8px;
  cursor: pointer;
  position: relative;
  text-decoration: none;
}

.icon-btn:hover {
  background: var(--orange-pale);
  border-color: #f3d5c3;
  color: var(--ink);
}

.cart-count {
  position: absolute;
  top: 2px;
  right: 1px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  background: var(--orange-dk);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 20px;
  text-align: center;
  animation: gnStatusPulse 2.4s ease-in-out infinite;
}

.search {
  order: 5;
  flex: 1 1 100%;
  display: flex;
  border: 1px solid #9e968c;
  border-radius: 8px;
  background: var(--card);
  overflow: hidden;
}

.search input {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  border: 0;
  padding: 9px 12px;
  font: inherit;
  font-size: 0.95rem;
  background: transparent;
}

.search input:focus {
  outline: none;
}

.search input::placeholder {
  color: var(--muted);
  opacity: 1;
}

.search:focus-within {
  border-color: var(--sky-ink);
  box-shadow: 0 0 0 3px var(--sky-pale);
}

.search button {
  border: 0;
  background: var(--orange-dk);
  color: #fff;
  width: 48px;
  min-width: 48px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.search button:hover {
  background: var(--orange-hover);
}

.header-phone {
  display: none;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  min-height: 44px;
  padding: 6px 10px;
  border-radius: 8px;
}

.header-phone:hover {
  background: var(--surface-warm);
}

.cat-nav {
  border-top: 1px solid var(--line);
  background: var(--card);
  display: none;
}

.cat-nav.open {
  display: block;
  animation: gnNavSlide 0.18s ease-out;
}

.cat-nav-row {
  display: flex;
  flex-direction: column;
  padding-top: 4px;
  padding-bottom: 8px;
}

.cat-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  min-height: 44px;
  padding: 10px 4px;
  display: inline-flex;
  align-items: center;
  font-size: 0.95rem;
  border-bottom: 2px solid transparent;
}

.cat-nav a:hover,
.cat-nav a[aria-current] {
  color: var(--orange-dk);
}

@media (min-width: 900px) {
  .menu-btn {
    display: none;
  }
  .header-row {
    flex-wrap: nowrap;
    gap: 24px;
    min-height: 80px;
  }
  .brand {
    margin-right: 0;
  }
  .brand img {
    height: 50px;
  }
  .search {
    order: 0;
    flex: 1 1 auto;
    max-width: 500px;
  }
  .header-phone {
    display: inline-flex;
    margin-left: auto;
  }
  .cat-nav {
    display: block;
  }
  .cat-nav-row {
    flex-direction: row;
    gap: 28px;
    padding-top: 0;
    padding-bottom: 0;
  }
  .cat-nav a {
    padding: 11px 0 9px;
  }
  .cat-nav a[aria-current] {
    border-bottom-color: var(--orange-dk);
  }
}

/* Buttons + badges */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--orange-dk);
  color: #fff;
  border: 1px solid var(--orange-dk);
  border-radius: 8px;
  padding: 11px 20px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  min-height: 46px;
  min-width: 44px;
  text-align: center;
}

.btn svg,
.header-phone svg {
  flex-shrink: 0;
}

.btn:hover {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
  color: #fff;
}

.btn-ghost {
  background: var(--card);
  color: var(--ink);
  border: 2px solid #6b645c;
}

.btn-ghost:hover {
  background: var(--orange-pale);
  border-color: var(--orange-dk);
  color: var(--ink);
}

.btn-sm {
  padding: 9px 14px;
  min-height: 44px;
  min-width: 44px;
  font-size: 0.9rem;
}

.btn-wide {
  width: 100%;
}

.btn-lg {
  min-height: 52px;
  font-size: 1.05rem;
}

.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

.badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
  line-height: 1.4;
}

.badge-rx {
  background: #dcf0f6;
  color: #0d3445;
  border: 1px solid #9fd0e0;
}

.badge-norx {
  background: #e4f1e0;
  color: #1e4218;
  border: 1px solid #b9d8b0;
}

.badge-demo {
  background: #efece7;
  color: #3f3c36;
  border: 1px solid #d6cfc4;
}

.card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

/* Hero */
.hero {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  animation: gnFadeUp 0.35s ease-out;
}

.hero-grid {
  display: grid;
  gap: 28px;
  padding-top: 32px;
  padding-bottom: 40px;
  align-items: center;
}

.hero-kicker {
  color: var(--sky-ink);
  font-weight: 800;
  font-size: 1.02rem;
  margin-bottom: 10px;
}

.hero h1 {
  max-width: 24ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}

.hero-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding: 0;
  margin: 0;
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 700;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-points li::before {
  content: '';
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--orange-dk);
  border-bottom: 2px solid var(--orange-dk);
  transform: rotate(-45deg) translateY(-2px);
}

/* The photo is a structural, full-bleed part of the hero: no card frame, border or shadow. */
.hero-media {
  overflow: hidden;
  background: #e9e4dc;
}

.hero-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

@media (max-width: 899px) {
  .hero-grid {
    padding-top: 14px;
    padding-bottom: 28px;
    gap: 0;
  }
  .hero-copy {
    display: contents;
  }
  .hero-kicker {
    order: 1;
    font-size: 0.92rem;
    margin-bottom: 6px;
  }
  .hero h1 {
    order: 2;
    font-size: 2.05rem;
    max-width: 24ch;
  }
  .hero-media {
    order: 3;
    margin: 12px -16px 20px;
  }
  .hero .lede {
    order: 4;
  }
  .hero-actions {
    order: 5;
    margin-top: 8px;
  }
  .hero-points {
    order: 6;
  }
}

@media (min-width: 900px) {
  .hero {
    position: relative;
    overflow: hidden;
  }
  .hero-grid {
    grid-template-columns: 1.08fr 0.92fr;
    gap: 56px;
    padding-top: 120px;
    padding-bottom: 120px;
  }
  /* Photo runs from the hero's top edge to its bottom edge and out to the viewport's right edge. */
  .hero-media {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: calc(50vw - 28px);
  }
  .hero-media picture,
  .hero-media img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
  }
  .hero h1 {
    font-size: clamp(2.15rem, 2.55vw, 2.32rem);
    max-width: none;
  }
  .hero .lede {
    font-size: 1.14rem;
  }
}

/* Sections */
.section {
  padding-top: 48px;
  padding-bottom: 48px;
}

@media (min-width: 900px) {
  .section {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}

.section-tint {
  background: var(--card);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.section-head h2 {
  margin: 0;
}

.link-more {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.cat-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.cat-card:hover {
  border-color: var(--orange-dk);
  box-shadow: var(--shadow-lg);
  color: var(--text);
}

.cat-card img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  width: 100%;
  background: var(--surface-warm);
}

.cat-name {
  font-weight: 800;
  color: var(--ink);
  padding: 12px 14px 4px;
  font-size: 1.02rem;
}

.cat-blurb {
  display: none;
  padding: 0 14px;
  font-size: 0.9rem;
  color: var(--text);
}

.cat-count {
  padding: 4px 14px 14px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: auto;
}

@media (min-width: 900px) {
  .cat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }
  .cat-blurb {
    display: block;
  }
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}

.steps li {
  background: var(--bg);
  border: 1px solid var(--line);
  border-top: 3px solid var(--night);
  border-radius: var(--radius);
  padding: 22px 20px;
}

.steps p:last-child {
  margin: 0;
}

.step-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--night);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.step-title {
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}

.split {
  display: grid;
  gap: 32px;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
  }
}

.split-media {
  align-items: center;
}

.split-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: var(--shadow);
}

/* Product grid + cards */
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (min-width: 900px) {
  .grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  min-width: 0;
}

.card:hover {
  border-color: #b5aba0;
  box-shadow: var(--shadow-lg);
}

.card[hidden] {
  display: none;
}

.card-media {
  background: #f6f2ec;
  border-bottom: 1px solid var(--line);
  display: block;
}

.card-media img {
  aspect-ratio: 1 / 1;
  width: 100%;
  object-fit: contain;
  padding: 6px;
}

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 12px;
  min-width: 0;
}

.card-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.32;
  margin: 0 0 6px;
  overflow-wrap: break-word;
}

.card-title a {
  color: var(--ink);
  text-decoration: none;
}

.card-title a:hover {
  color: var(--orange-dk);
  text-decoration: underline;
}

.card-summary {
  display: none;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--muted);
}

.card-foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  padding-top: 8px;
}

.price {
  font-weight: 800;
  color: var(--ink);
  font-size: 1.05rem;
}

.price-call {
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--ink);
}

.card .btn-sm {
  width: 100%;
  background: var(--card);
  color: var(--orange-dk);
  border-color: var(--orange-dk);
}

.card .btn-sm:hover {
  background: var(--orange-dk);
  color: #fff;
}

@media (min-width: 600px) {
  .card-body {
    padding: 16px;
  }
  .card-title {
    font-size: 1.03rem;
  }
  .card-summary {
    display: block;
  }
}

/* Support / Trust band */
.band-ship {
  background: var(--card);
  color: var(--text);
  padding: 40px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ship-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.ship-title {
  color: var(--ink);
  font-weight: 800;
  margin-bottom: 4px;
}

.ship-item {
  border-left: 3px solid var(--sky-ink);
  padding-left: 14px;
}

.ship-item p:last-child {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.6;
}

.band-ship a {
  color: var(--orange-dk);
  font-weight: 700;
}

@media (min-width: 900px) {
  .ship-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
  }
}

/* FAQ */
.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  padding: 14px 32px 14px 0;
  min-height: 48px;
  display: flex;
  align-items: center;
  font-weight: 700;
  color: var(--ink);
  list-style: none;
  position: relative;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: var(--ink);
}

.faq details[open] summary::after {
  content: '\2212';
}

.faq details p {
  margin: 0 0 16px;
}

.faq + p {
  margin-top: 16px;
}

/* Breadcrumbs + category head */
.crumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 16px 0 0;
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.crumbs li + li::before {
  content: '/';
  margin-right: 6px;
  color: #9e968c;
}

.crumbs a {
  color: var(--muted);
}

.cat-head {
  padding-top: 24px;
  padding-bottom: 8px;
}

.cat-hero {
  display: grid;
  gap: 20px;
  align-items: center;
  padding-top: 20px;
  padding-bottom: 24px;
  animation: gnFadeUp 0.3s ease-out;
}

.cat-hero img {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  box-shadow: var(--shadow);
}

@media (min-width: 900px) {
  .cat-hero {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 48px;
  }
}

.guide {
  display: grid;
  gap: 12px;
  margin: 8px 0 28px;
}

.guide-item {
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-top: 3px solid var(--sky-ink);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow);
}

.guide-item p {
  margin: 0;
  font-size: 0.93rem;
}

.guide-item .step-title {
  margin-bottom: 6px;
  font-size: 1.05rem;
}

@media (min-width: 768px) {
  .guide {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  padding: 12px 0 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}

.toolbar-count {
  margin: 0 auto 0 0;
  font-weight: 700;
  color: var(--ink);
}

.check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  min-height: 44px;
  padding: 4px 2px;
}

.check input {
  width: 20px;
  height: 20px;
  accent-color: var(--orange-dk);
  cursor: pointer;
}

.sort {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

select, input, textarea {
  font: inherit;
  color: var(--ink);
}

.sort select {
  appearance: none;
  -webkit-appearance: none;
  min-height: 44px;
  min-width: 44px;
  padding: 9px 36px 9px 12px;
  border: 1px solid #bfb7ac;
  border-radius: 8px;
  background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23b9490b' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 12px center;
  font-weight: 600;
  cursor: pointer;
}

.sort select:focus {
  outline: none;
  border-color: var(--sky-ink);
  box-shadow: 0 0 0 3px var(--sky-pale);
}

a[href^="tel:"] {
  white-space: nowrap;
}

[data-grid] {
  margin-bottom: 56px;
}

.empty {
  padding: 24px;
  background: var(--card);
  border: 1px dashed #c8c0b5;
  border-radius: var(--radius);
}

/* Product detail */
.pdp {
  display: grid;
  gap: 28px;
  padding-top: 20px;
  padding-bottom: 32px;
  animation: gnFadeUp 0.3s ease-out;
}

.pdp-media {
  background: #f6f2ec;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  align-self: start;
  box-shadow: var(--shadow);
}

.pdp-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.media-note {
  font-size: 0.82rem;
  color: var(--muted);
  background: var(--card);
  padding: 9px 14px;
  margin: 0;
  border-top: 1px solid var(--line);
}

.pdp-info h1 {
  font-size: clamp(1.9rem, 4vw, 2.65rem);
}

.pdp-price {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--orange-dk);
  margin-bottom: 12px;
}

.buy {
  margin: 20px 0 16px;
}

.buy-row {
  display: flex;
  gap: 12px;
  align-items: stretch;
}

.qty {
  display: inline-flex;
  border: 1px solid #bfb7ac;
  border-radius: 8px;
  overflow: hidden;
  background: var(--card);
  flex: none;
}

.qty button {
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  border: 0;
  background: var(--card);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--ink);
}

.qty button:hover {
  background: var(--orange-pale);
}

.qty input {
  width: 44px;
  min-height: 44px;
  border: 0;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  text-align: center;
  font-weight: 700;
  -moz-appearance: textfield;
}

.qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

.buy-status {
  min-height: 1.5em;
  margin: 10px 0 0;
  font-weight: 700;
  color: #1e4218;
}

.call-row {
  margin: 0 0 16px;
}

.notice {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid #6b9e60;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 16px;
}

.notice p {
  margin: 0;
}

.notice-rx {
  border-left-color: var(--sky-ink);
  background: var(--sky-pale);
  border-color: #b8dfec;
}

.pdp-detail {
  display: grid;
  gap: 32px;
  padding-bottom: 28px;
}

.pdp-detail h2 {
  font-size: 1.6rem;
  margin-top: 8px;
}

.ticks {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.ticks li {
  position: relative;
  padding: 6px 0 6px 26px;
}

.ticks li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 13px;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--orange-dk);
  border-bottom: 2px solid var(--orange-dk);
  transform: rotate(-45deg);
}

@media (min-width: 900px) {
  .pdp {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px;
    padding-top: 28px;
  }
  .pdp-detail {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px;
  }
}

/* Request list */
.cart-layout {
  display: grid;
  gap: 24px;
  padding-bottom: 56px;
}

@media (min-width: 900px) {
  .cart-layout {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 40px;
    align-items: start;
  }
  .summary {
    position: sticky;
    top: 120px;
  }
}

.line {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.line-unavailable {
  grid-template-columns: minmax(0, 1fr);
}

.line img {
  width: 76px;
  height: 76px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #f6f2ec;
  object-fit: contain;
}

.line-name {
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  overflow-wrap: break-word;
}

.line-name:hover {
  color: var(--orange-dk);
  text-decoration: underline;
}

.line-meta {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 2px 0 8px;
}

.line-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}

.link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  border: 0;
  background: none;
  color: var(--orange-dk);
  text-decoration: underline;
  cursor: pointer;
  padding: 8px 10px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 6px;
}

.link-btn:hover {
  background: var(--orange-pale);
  color: var(--ink);
}

.summary {
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.summary h2 {
  font-size: 1.5rem;
}

.summary .btn-wide {
  margin-bottom: 10px;
}

.panel {
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-top: 3px solid var(--sky-ink);
  border-radius: 12px;
  padding: 20px;
  margin: 0;
  min-width: 0;
  box-shadow: var(--shadow);
}

/* Prose + Informational pages */
.confirm {
  padding-top: 48px;
  padding-bottom: 64px;
  max-width: 760px;
}

.prose {
  padding-top: 16px;
  padding-bottom: 56px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.prose h2 {
  margin-top: 32px;
}

.three-up {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .three-up {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.three-up .panel p:last-child {
  margin: 0;
}

.plan-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.plan-list li {
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 7px 13px;
  font-weight: 600;
  color: var(--ink);
  font-size: 0.94rem;
}

/* Footer */
.site-footer {
  background: var(--night);
  color: #d2dde4;
  padding-top: 48px;
  font-size: 0.94rem;
}

.site-footer a {
  color: #fff;
}

.site-footer a:hover {
  color: #ffd2b8;
}

.footer-grid {
  display: grid;
  gap: 28px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px;
  }
}

.footer-brand {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.55rem;
  color: #fff;
  margin-bottom: 8px;
}

.footer-head {
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  padding: 4px 0;
}

.footer-legal {
  border-top: 1px solid #2b4153;
  margin-top: 36px;
  padding-top: 18px;
  padding-bottom: 28px;
  font-size: 0.9rem;
  color: #dbe4ea;
}

.footer-legal p {
  margin: 0 0 10px;
  max-width: 80ch;
}

/* Mobile sticky call & request bar */
.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 35;
  background: var(--card);
  border-top: 1px solid var(--line-strong);
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  box-shadow: 0 -4px 16px rgba(23, 42, 58, 0.08);
}

.mobile-bar .btn {
  min-height: 44px;
  padding: 8px 10px;
  font-size: 0.9rem;
  position: relative;
}

.mobile-bar-list .cart-count {
  position: static;
  margin-left: 2px;
}

@media (max-width: 899px) {
  .site-footer {
    padding-bottom: 68px;
  }
}

@media (min-width: 900px) {
  .mobile-bar {
    display: none;
  }
}

/* Toast notification */
.toast {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 76px;
  z-index: 45;
  background: var(--night);
  color: #fff;
  padding: 14px 16px;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 600;
  animation: gnToastIn 0.22s ease-out;
}

.toast a {
  color: #ffd2b8;
  white-space: nowrap;
  font-weight: 700;
}

@media (min-width: 600px) {
  .toast {
    left: auto;
    width: 380px;
  }
}

@media (min-width: 900px) {
  .toast {
    bottom: 20px;
  }
}
