@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/dm-sans.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: 'DM Serif Text';
  src: url('/fonts/dm-serif-text-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
:root {
  --ink: #19392d;
  --deep: #174d39;
  --green: #216246;
  --muted: #5c6b62;
  --line: #dee5de;
  --soft: #f3f7f1;
  --mint: #e1eedf;
  --bg: #fff;
  --radius: 16px;
  color: var(--ink);
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
  background: none;
  cursor: pointer;
}
button,
a,
input,
select,
summary {
  touch-action: manipulation;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
select:focus-visible {
  outline: 3px solid #c25d32;
  outline-offset: 3px;
}
input:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}
[hidden] {
  display: none !important;
}
svg.icon {
  display: inline-block;
  flex: none;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
img {
  max-width: 100%;
  display: block;
}
h1,
h2,
h3,
p,
dl,
dd {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.14;
  color: var(--ink);
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  padding: 0;
}
.wrap {
  width: min(1280px, calc(100% - 104px));
  margin-inline: auto;
}
.skip {
  position: absolute;
  top: -80px;
  left: 12px;
  background: white;
  padding: 10px;
  z-index: 20;
}
.skip:focus {
  top: 4px;
}
#main:focus {
  outline: none;
}
.brand-strip {
  min-height: 30px;
  background: var(--deep);
  color: #fafbf2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-strip a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 30px;
  padding-inline: 10px;
  font-size: 12px;
  letter-spacing: 0.12px;
  font-weight: 500;
}
.brand-strip-action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 650;
  color: #fcdfbc;
  border-left: 1px solid #779382;
  padding-left: 12px;
}
.brand-strip a:is(:hover, :focus-visible) .brand-strip-action { text-decoration: underline; text-underline-offset: 3px; }
.brand-strip a:focus-visible { outline-offset: -3px; }
#site-header {
  background: #fff;
  position: relative;
  z-index: 5;
}
.masthead {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 79px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: none;
}
.wordmark img {
  width: 39px;
  height: 39px;
}
.wordmark span {
  color: #214b38;
  font-size: 34px;
  font-weight: 750;
  letter-spacing: -2.2px;
  line-height: 1;
}
.wordmark b {
  font-weight: 550;
}
.head-divider {
  height: 27px;
  width: 1px;
  background: var(--line);
  flex: none;
}
.location-button,
.account-button,
.cart-button {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.location-button {
  gap: 6px;
}
.location-button > span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.location-button small {
  font-size: 11px;
  color: var(--muted);
}
.location-button strong {
  font-size: 13px;
  font-weight: 700;
  display: flex;
  gap: 5px;
  align-items: center;
}
.account-button {
  font-size: 14px;
  font-weight: 600;
}
.cart-button {
  padding: 9px 13px;
  background: #f0f5ed;
  border: 1px solid #dde7d9;
  border-radius: 9px;
  color: var(--deep);
  font-size: 14px;
  font-weight: 700;
}
.cart-button b {
  font-size: 11px;
  background: var(--deep);
  border-radius: 50%;
  color: #fff;
  min-width: 17px;
  line-height: 17px;
  text-align: center;
}
.search-form {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 13px 0 16px;
  border: 1px solid #cfdbd0;
  background: #fff;
  border-radius: 10px;
  height: 52px;
  color: var(--muted);
}
.search-form:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 2px #dceadd;
}
.search-form input {
  width: 100%;
  min-width: 0;
  flex: 1;
  outline: none !important;
  border: none;
  background: none;
  font-size: 15px;
  padding: 8px 0;
  color: var(--ink);
}
.search-form input::-webkit-search-cancel-button {
  cursor: pointer;
}
.search-form input::placeholder {
  color: #748076;
}
.header-search {
  flex: 1;
  min-width: 120px;
  height: 43px;
  background: #f5f7f3;
  border-color: #e0e6db;
  border-radius: 9px;
  margin-inline: 4px;
}
.header-search input {
  font-size: 14px;
}
.search-submit {
  opacity: 0;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 4px;
}
.search-form:focus-within .search-submit,
.search-form:has(input:not(:placeholder-shown)) .search-submit {
  opacity: 1;
}
.navline {
  border-block: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 34px;
  height: 44px;
}
.nav-inner a,
.nav-inner button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 550;
  font-size: 14px;
}
.nav-inner a:hover,
.nav-inner a[aria-current],
.nav-inner button:hover,
.account-button:hover,
.location-button:hover {
  color: #287c50;
}
.nav-inner button {
  margin-left: auto;
  color: var(--green);
  font-weight: 700;
}
.nav-inner a:nth-child(4) svg {
  color: #bc623d;
}
.home {
  padding-top: 22px;
  padding-bottom: 42px;
}
.hero {
  display: grid;
  touch-action: pan-y pinch-zoom;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 19px;
  min-height: 342px;
  background: #fbdbbb;
}
.hero-slide {
  grid-area: 1 / 1;
  min-width: 0;
  position: relative;
  isolation: isolate;
}
.hero-slide[inert] {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.hero-slide:not([inert]) {
  z-index: 1;
}
.hero-slide--family {
  background: #fbdbbb;
}
.hero-slide--wellness {
  background: linear-gradient(110deg, #fff1d5, #f9dfaa 70%);
}
.hero-slide--prescription {
  background: #eef0ea;
}
.hero-clinical-photo {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 auto;
  width: 48%;
  height: 100%;
  object-fit: cover;
  object-position: 46% 56%;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-slide {
    transition: opacity 240ms ease-out, visibility 0s;
  }
  .hero-slide[inert] {
    transition-delay: 0s, 240ms;
  }
  .hero-copy {
    transition: transform 260ms ease-out;
  }
  .hero-slide[inert] .hero-copy {
    transform: translateX(8px);
  }
  .hero-controls span {
    transition: width 180ms ease, background-color 180ms ease;
  }
}
.hero-photo {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 16%;
}
.hero-copy {
  width: 51%;
  padding: 30px 0 34px 44px;
}
.hero-tag,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 1.65px;
  line-height: 1.4;
}
.hero-tag {
  padding: 5px 10px 5px 9px;
  border-radius: 6px;
  background: #fdf2dfbd;
  color: #59422a;
  border: 1px solid #fff4df9e;
}
.hero h1 {
  font-size: clamp(45px, 4.35vw, 64px);
  letter-spacing: -3px;
  font-weight: 650;
  line-height: 0.99;
  color: #213e2d;
  margin-top: 15px;
}
.hero h1 em {
  display: block;
  font-family: 'DM Serif Text', Georgia, serif;
  font-weight: 400;
  letter-spacing: -2px;
}
.hero p {
  margin: 15px 0 18px;
  max-width: 430px;
  color: #394d3e;
  font-size: 15px;
  line-height: 1.46;
}
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  border-radius: 8px;
  min-height: 43px;
  padding: 10px 18px;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 650;
  cursor: pointer;
  border: 1px solid transparent;
}
.primary {
  background: var(--deep);
  color: #fff;
}
.primary:hover {
  background: #0e3d2a;
}
.secondary {
  border-color: #b6c9b8;
  color: var(--deep);
  background: #fff;
}
.secondary:hover {
  background: var(--soft);
}
.hero .btn {
  min-height: 42px;
  padding-inline: 18px;
}
.hero-controls {
  z-index: 2;
  position: absolute;
  display: flex;
  gap: 1px;
  align-items: center;
  right: 20px;
  bottom: 15px;
  background: #203d31b8;
  border-radius: 16px;
  padding: 0 6px;
}
.hero-controls button {
  height: 30px;
  width: 30px;
  display: grid;
  place-items: center;
}
.hero-controls span {
  width: 6px;
  height: 6px;
  border-radius: 8px;
  background: #fff9;
}
.hero-controls [aria-pressed="true"] span {
  width: 18px;
  background: #fff;
}
.shortcut-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 13px;
  margin-top: 16px;
  padding: 15px 0;
}
.shortcut-strip > a,
.shortcut-strip > button {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 23px;
  text-align: left;
  min-width: 0;
}
.shortcut-strip > :not(:first-child) {
  border-left: 1px solid var(--line);
}
.shortcut-strip strong,
.shortcut-strip small {
  display: block;
}
.shortcut-strip strong {
  font-weight: 680;
  font-size: 15px;
  letter-spacing: -0.25px;
}
.shortcut-strip small {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.shortcut-strip .icon:last-child:not(:first-child) {
  margin-left: auto;
  color: #718773;
}
.shortcut-icon {
  width: 41px;
  height: 41px;
  border-radius: 11px;
  display: inline-grid;
  place-items: center;
  flex: none;
}
.mint {
  background: #e6efdf;
  color: #436b48;
}
.peach {
  background: #f9e8df;
  color: #a65437;
}
.gold {
  background: #f8efcf;
  color: #806b28;
}
.shortcut-strip > a:hover strong,
.shortcut-strip > button:hover strong {
  color: #367d50;
}
.shelf {
  margin-top: 34px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 17px;
}
.section-head h2,
.shelf > h2,
.rx-promo h2 {
  font-size: clamp(23px, 2vw, 30px);
  font-weight: 650;
  letter-spacing: -1.05px;
}
.section-head a,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 650;
  color: #275f45;
}
.section-head a:hover,
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 17px;
}
.category {
  display: block;
  text-align: center;
}
.category-image {
  position: relative;
  overflow: hidden;
  border-radius: 11px;
  aspect-ratio: 4 / 3;
  background: linear-gradient(to bottom, #f7f8f6 48%, var(--bg));
}
.category img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .category img { transition: transform 160ms ease; }
  .category:hover img { transform: scale(1.018); }
}
.photo-missing { font-size: 14px; color: var(--muted); }
.category > span {
  display: block;
  font-weight: 600;
  margin-top: 10px;
  letter-spacing: -0.2px;
  font-size: 15px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
}
.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.product-image {
  height: 166px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: #f7f8f3;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.product-image small,
.detail-image small {
  position: absolute;
  bottom: 6px;
  left: 9px;
  color: #516252;
  background: #ffffffd9;
  padding: 1px 4px;
  border-radius: 4px;
  font-size: 10px;
}
.rx-badge {
  position: absolute;
  left: 10px;
  top: 9px;
  font-size: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 6px;
}
.product-copy {
  padding: 15px;
}
.meta {
  font-size: 12px;
  font-weight: 550;
  color: var(--muted);
}
.product-copy h3 {
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.3px;
  margin: 5px 0;
  min-height: 38px;
}
.product-copy p {
  font-size: 13px;
  color: var(--muted);
}
.product-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 13px;
}
.product-bottom strong {
  font-size: 19px;
  letter-spacing: -0.55px;
}
.add-button {
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f2f7ef;
  border: 1px solid #c1d3bb;
  border-radius: 6px;
  padding: 5px 9px;
}
.add-button:hover {
  background: #e0ebdc;
}
.rx-promo {
  margin-top: 34px;
  background: #e7f1e5;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 0 28px 0 0;
  overflow: hidden;
}
.rx-promo img {
  height: 128px;
  width: 155px;
  object-fit: cover;
}
.rx-promo p {
  font-size: 15px;
  color: var(--muted);
  margin-top: 5px;
}
.rx-promo button {
  margin-left: auto;
}
.inner {
  padding-block: 22px 55px;
  min-height: 60vh;
}
.crumb {
  font-size: 13px;
  display: flex;
  gap: 6px;
  align-items: center;
  color: var(--muted);
  margin-bottom: 28px;
}
.crumb a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.page-head {
  margin-bottom: 24px;
}
.page-head h1,
.finder-intro h1,
.detail-content h1 {
  font-weight: 650;
  font-size: clamp(32px, 3.4vw, 50px);
  letter-spacing: -1.8px;
}
.page-head p,
.finder-intro p,
.detail-content > p,
.soft-panel p,
.muted,
.empty p,
.offer-card p {
  color: var(--muted);
  margin-top: 8px;
}
.page-head .section-kicker {
  margin-bottom: 10px;
}
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter {
  border: 1px solid var(--line);
  padding: 7px 13px;
  border-radius: 20px;
  font-size: 14px;
}
.filter.chosen,
.filter:hover {
  background: var(--soft);
  border-color: #9fbaa2;
  color: var(--green);
}
.listing-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 24px 0 13px;
}
.listing-tools label {
  font-size: 13px;
  color: var(--muted);
}
.listing-tools select {
  padding: 6px 12px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 7px;
}
.compare-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid #c3d7c0;
  background: #f1f6ec;
  padding: 18px 22px;
  border-radius: 13px;
  margin-top: 22px;
}
.compare-banner p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 3px;
}
.compare-banner .btn {
  margin-left: auto;
}
.empty {
  padding: 58px 20px;
  text-align: center;
  background: var(--soft);
  border-radius: 16px;
}
.empty .shortcut-icon {
  margin-bottom: 15px;
}
.empty .btn {
  margin-top: 20px;
}
.finder-intro {
  background: #e7efe2;
  border-radius: 18px;
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.finder-intro > div:first-child {
  max-width: 620px;
  flex: 1;
}
.finder-intro .section-kicker {
  margin-bottom: 12px;
}
.finder-intro .search-form {
  margin-top: 20px;
}
.finder-symbol {
  margin-left: 25px;
  color: #629071;
  background: #d7e6cd;
  border-radius: 50%;
  width: 145px;
  height: 145px;
  display: grid;
  place-items: center;
}
.suggest-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
}
.suggest-chips a {
  background: #fff9;
  border: 1px solid #c4d3bf;
  border-radius: 5px;
  padding: 2px 8px;
  color: var(--deep);
  font-weight: 550;
}
.starter-card,
.compare-item,
.soft-panel,
.checkout-box,
.summary,
.order-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
}
.starter-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.starter-card > svg {
  color: #588465;
}
.starter-card strong {
  font-size: 21px;
}
.starter-card small {
  font-size: 14px;
  color: var(--muted);
}
.starter-card span {
  margin-top: 9px;
  font-size: 14px;
  font-weight: 650;
  color: var(--green);
}
.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
  margin-top: 18px;
}
.compare-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.compare-item.match {
  background: #f4f8f0;
  border-color: #b5cdb1;
}
.comparison-label,
.order-status {
  font-weight: 650;
  background: #e8eee5;
  padding: 4px 9px;
  border-radius: 5px;
  font-size: 12px;
}
.compare-item.match .comparison-label,
.order-status {
  background: #d6e9cd;
  color: var(--deep);
}
.compare-item h3 {
  font-size: 27px;
  margin-top: 14px;
  letter-spacing: -0.7px;
}
.compare-item p {
  color: var(--muted);
  margin-top: 4px;
}
.compare-item dl,
.detail-content dl,
.summary dl,
.dialog-body dl {
  display: grid;
  grid-template-columns: 1fr auto;
  width: 100%;
  gap: 9px 15px;
  margin: 20px 0;
  font-size: 14px;
}
.compare-item dt,
.detail-content dt,
.summary dt,
.dialog-body dt {
  color: var(--muted);
}
.compare-item dd,
.detail-content dd,
.summary dd,
.dialog-body dd {
  text-align: right;
}
.compare-item .btn {
  margin-top: auto;
}
.saving {
  color: #2f6039;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 700;
}
.note {
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  border-radius: 9px;
  background: #f8f3e7;
  margin-block: 17px;
  font-size: 14px;
}
.note svg {
  margin-top: 1px;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 45px;
  align-items: center;
}
.detail-image {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f7f2;
  border-radius: 16px;
  height: 330px;
}
.detail-image img {
  width: 85%;
  height: 85%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.detail-content h1 {
  margin-block: 9px;
}
.detail-content dl {
  max-width: 500px;
  border-block: 1px solid var(--line);
  padding-block: 15px;
}
.detail-price {
  font-size: 32px;
  font-weight: 750;
  letter-spacing: -1px;
}
.detail-price del {
  font-size: 17px;
  color: var(--muted);
  font-weight: 400;
}
.actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 17px;
}
.soft-panel {
  background: #f8faf5;
  margin-top: 26px;
}
.soft-panel h2,
.offer-card h2,
.summary h2,
.empty h2 {
  font-size: 25px;
  letter-spacing: -0.8px;
}
.soft-panel .text-link,
.empty .text-link {
  margin-top: 10px;
}
.offer-card {
  display: flex;
  align-items: center;
  gap: 34px;
  background: #fbebd6;
  border-radius: 16px;
  padding: 40px;
  max-width: 850px;
}
.deal-art {
  display: grid;
  place-items: center;
  flex: none;
  padding: 28px;
  border: 1px dashed #b68b52;
  border-radius: 50%;
  color: #975e28;
}
.offer-card .section-kicker {
  margin-bottom: 9px;
}
.offer-card p {
  max-width: 550px;
}
.coupon-copy {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 15px;
  border: 1px dashed #96683c;
  border-radius: 7px;
  background: #fff8e8;
  font-weight: 750;
  letter-spacing: 0.8px;
}
.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(270px, 0.8fr);
  gap: 24px;
  align-items: start;
}
.cart-list {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 16px;
}
.cart-line {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 0;
}
.cart-line + .cart-line {
  border-top: 1px solid var(--line);
}
.line-thumb {
  height: 64px;
  width: 64px;
  object-fit: contain;
  border-radius: 7px;
  background: var(--soft);
}
.line-main {
  flex: 1;
  min-width: 0;
}
.line-main h2 {
  font-size: 16px;
}
.line-main p {
  font-size: 13px;
  color: var(--muted);
  margin: 3px 0;
}
.line-main strong {
  font-size: 14px;
}
.stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 14px;
  font-weight: 600;
}
.stepper button {
  display: grid;
  place-items: center;
  width: 29px;
  height: 31px;
}
.stepper span {
  min-width: 20px;
  text-align: center;
}
.icon-button {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex: none;
}
.icon-button:hover {
  background: var(--soft);
}
.checkout-box {
  margin-top: 16px;
  padding: 17px 20px;
}
.checkout-box h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
}
.checkout-box p {
  margin: 8px 0;
  color: var(--muted);
  font-size: 14px;
}
.summary {
  background: #f6f8f2;
}
.total {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-block: 10px 16px;
}
.wide {
  width: 100%;
  margin-top: 10px;
}
.summary > small {
  font-size: 12px;
  display: block;
  text-align: center;
  color: var(--muted);
  margin-top: 10px;
}
label[for] {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 5px;
}
.field-with-btn {
  display: flex;
  align-items: center;
  gap: 7px;
}
.field-with-btn input,
.dialog-body form > input {
  min-width: 0;
  width: 100%;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid #b8c8b8;
  border-radius: 7px;
  font-size: 15px;
}
.field-error {
  color: #a22e21;
  font-size: 14px;
  margin: 8px 0;
}
.field-error:empty {
  display: none;
}
.applied,
.file-row {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 7px;
  padding: 8px 10px;
  background: #e3eedc;
  font-size: 14px;
}
.applied button,
.file-row button {
  margin-left: auto;
}
.applied button {
  text-decoration: underline;
  font-size: 12px;
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 21px 23px 12px;
}
.dialog-head h2 {
  font-size: 23px;
  letter-spacing: -0.7px;
}
.dialog-body {
  padding: 0 23px 23px;
}
.dialog-body > p {
  color: var(--muted);
  font-size: 15px;
  margin: 7px 0 16px;
}
.dialog-body p.field-error {
  color: #a22e21;
}
.dialog-body form {
  margin-top: 16px;
}
dialog {
  position: fixed;
  max-width: calc(100% - 30px);
  width: 470px;
  max-height: 88dvh;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 20px 80px #1a352031;
  padding: 0;
  color: var(--ink);
}
dialog::backdrop {
  background: #152d23aa;
}
body:has(dialog[open]) {
  overflow: hidden;
}
.upload-zone {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  padding: 22px;
  border: 1px dashed #8daa88;
  border-radius: 10px;
  background: var(--soft);
  cursor: pointer;
  position: relative;
}
.upload-zone small {
  color: var(--muted);
  font-size: 12px;
}
.upload-zone input {
  opacity: 0;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.upload-zone:focus-within {
  outline: 2px solid var(--green);
}
.dialog-body > .text-link {
  margin: 12px 0;
}
.file-row {
  margin: 5px 0;
}
.file-row span {
  overflow-wrap: anywhere;
}
.account-links {
  display: grid;
}
.account-links > a,
.account-links > button {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 10px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-weight: 600;
}
.account-links .icon:last-child {
  margin-left: auto;
}
.order-item {
  max-width: 760px;
  margin-bottom: 16px;
}
.order-heading,
.order-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.order-heading {
  margin-bottom: 17px;
}
.order-heading h3 {
  margin-top: 4px;
}
.order-line {
  padding: 6px 0;
  font-size: 14px;
}
.reading {
  max-width: 850px;
}
.faq {
  border-bottom: 1px solid var(--line);
  padding-block: 15px;
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq[open] svg {
  transform: rotate(180deg);
}
.faq p {
  color: var(--muted);
  padding-top: 12px;
  line-height: 1.65;
}
.source {
  margin-top: 20px;
  color: var(--muted);
  font-size: 14px;
}
.source a {
  text-decoration: underline;
}
.search-menu {
  position: absolute;
  z-index: 8;
  top: calc(100% + 5px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--line);
  padding: 5px;
  border-radius: 10px;
  box-shadow: 0 14px 32px #1b432416;
  max-height: min(440px, 62vh);
  overflow: auto;
}
.suggestion {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px;
  border-radius: 7px;
  color: var(--ink);
}
.suggestion > span:nth-child(2) {
  flex: 1;
}
.suggestion b,
.suggestion small,
.alt-preview {
  display: block;
}
.suggestion b,
.suggestion strong {
  font-size: 14px;
}
.suggestion small {
  font-size: 12px;
  color: var(--muted);
}
.suggest-icon {
  width: 31px;
  height: 31px;
  border-radius: 7px;
  background: var(--soft);
  display: grid;
  place-items: center;
}
.alt-preview {
  font-size: 12px;
  color: var(--green);
  margin-top: 2px;
}
.all-results,
.no-results {
  display: block;
  font-size: 13px;
  padding: 11px;
}
.all-results {
  font-weight: 650;
  color: var(--green);
  border-top: 1px solid var(--line);
}
.suggestion:hover,
.all-results:hover,
[role='option'][aria-selected='true'] {
  background: #eff5eb;
}
#toast {
  position: fixed;
  z-index: 20;
  bottom: 23px;
  left: 50%;
  transform: translate(-50%, 10px);
  max-width: 90%;
  width: max-content;
  padding: 11px 19px;
  border-radius: 9px;
  color: #fff;
  background: var(--deep);
  box-shadow: 0 5px 20px #12291f22;
  opacity: 0;
  pointer-events: none;
  font-size: 14px;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (max-width: 1120px) {
  .wrap {
    width: calc(100% - 56px);
  }
  .masthead {
    gap: 15px;
  }
  .header-search {
    margin-inline: 0;
  }
  .head-divider {
    display: none;
  }
  .hero-copy {
    width: 52%;
    padding-left: 32px;
  }
  .hero {
    min-height: 318px;
  }
  .hero h1 {
    font-size: 53px;
  }
  .hero p {
    max-width: 360px;
  }
  .shortcut-strip > a,
  .shortcut-strip > button {
    padding-inline: 16px;
  }
  .category-grid {
    gap: 12px;
  }
  .product-grid {
    gap: 13px;
  }
  .nav-inner {
    gap: 28px;
  }
}
@media (max-width: 850px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .masthead {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 12px;
    min-height: 0;
    padding-block: 12px;
  }
  .location-button {
    justify-self: start;
  }
  .masthead .header-search {
    grid-column: 1/-1;
    grid-row: 2;
  }
  .account-button span {
    display: none;
  }
  .wordmark span {
    font-size: 30px;
  }
  .wordmark img {
    width: 32px;
    height: 32px;
  }
  .nav-inner {
    gap: 19px;
  }
  .nav-inner a,
  .nav-inner button {
    font-size: 13px;
  }
  .hero-copy {
    padding: 26px 0 30px 25px;
  }
  .hero {
    min-height: 295px;
  }
  .hero h1 {
    font-size: 45px;
  }
  .hero p {
    font-size: 14px;
  }
  .hero-photo {
    object-position: 53% 40%;
  }
  .shortcut-strip {
    padding-block: 12px;
  }
  .shortcut-strip > a,
  .shortcut-strip > button {
    gap: 9px;
    padding-inline: 12px;
  }
  .shortcut-strip strong {
    font-size: 13px;
  }
  .shortcut-strip small {
    font-size: 11px;
  }
  .shortcut-strip .icon:last-child:not(:first-child) {
    display: none;
  }
  .shortcut-icon {
    width: 35px;
    height: 35px;
  }
  .category-grid {
    gap: 10px;
  }
  .category > span {
    font-size: 13px;
  }
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .home .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .product-copy {
    padding: 12px;
  }
  .product-copy h3 {
    font-size: 15px;
  }
  .product-image {
    height: 132px;
  }
  .cart-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
    gap: 14px;
  }
  .cart-line {
    gap: 9px;
  }
  .cart-list {
    padding-inline: 10px;
  }
  .line-thumb {
    width: 43px;
    height: 46px;
  }
  .detail-grid {
    gap: 23px;
  }
  .rx-promo {
    gap: 15px;
    padding-right: 16px;
  }
  .rx-promo img {
    width: 110px;
  }
  .rx-promo p {
    font-size: 13px;
  }
  .rx-promo .btn {
    font-size: 13px;
    white-space: nowrap;
  }
}
@media (max-width: 640px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .brand-strip a { font-size: 11px; gap: 8px; }
  .brand-strip-action { padding-left: 8px; }
  .masthead {
    grid-template-columns: auto 1fr auto auto;
    column-gap: 10px;
    row-gap: 10px;
    padding-block: 12px 10px;
  }
  .wordmark span {
    font-size: 27px;
    letter-spacing: -1.7px;
  }
  .wordmark img {
    width: 30px;
    height: 30px;
  }
  .wordmark {
    gap: 3px;
  }
  .location-button {
    margin-left: 1px;
    gap: 3px;
  }
  .location-button > svg {
    width: 15px;
  }
  .location-button small {
    font-size: 9px;
  }
  .location-button strong {
    font-size: 11px;
    gap: 1px;
  }
  .account-button {
    width: 25px;
    height: 32px;
    justify-content: center;
  }
  .account-button svg {
    width: 19px;
  }
  .cart-button {
    gap: 4px;
    padding: 5px 7px;
    border-radius: 7px;
    min-height: 32px;
  }
  .cart-button > span {
    display: none;
  }
  .cart-button b {
    min-width: 14px;
    line-height: 14px;
    font-size: 10px;
  }
  .header-search {
    height: 39px;
  }
  .nav-inner {
    height: 37px;
    gap: 21px;
    overflow: auto;
    scrollbar-width: none;
    white-space: nowrap;
  }
  .nav-inner a,
  .nav-inner button {
    font-size: 12px;
    gap: 4px;
  }
  .nav-inner a svg {
    width: 13px;
  }
  .nav-inner button {
    display: none;
  }
  .home {
    padding-top: 13px;
  }
  .hero {
    min-height: 0;
    border-radius: 14px;
    isolation: isolate;
    aspect-ratio: auto;
  }
  .hero-copy {
    padding: 21px 16px 22px 18px;
    width: 64%;
    z-index: 1;
  }
  .hero h1 {
    font-size: clamp(32px, 7.5vw, 43px);
    letter-spacing: -1.7px;
    margin-top: 12px;
    line-height: 1.01;
  }
  .hero h1 em {
    letter-spacing: -1.2px;
  }
  .hero-tag {
    font-size: 8px;
    letter-spacing: 0.85px;
    gap: 4px;
    padding: 4px 6px;
  }
  .hero-tag svg {
    width: 12px;
    height: 12px;
  }
  .hero p {
    font-size: 12px;
    line-height: 1.45;
    max-width: 230px;
    margin: 9px 0 12px;
  }
  .hero .btn {
    font-size: 12px;
    min-height: 34px;
    padding: 7px 11px;
    gap: 6px;
  }
  .hero .btn svg {
    width: 13px;
    height: 13px;
  }
  .hero-photo {
    object-fit: cover;
    object-position: 63% 15%;
    width: 100%;
    height: 100%;
  }
  .hero-slide--family:after {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: '';
    background: linear-gradient(
      90deg,
      #fbdbbb 0%,
      #fbdbbbf4 38%,
      #fbdbbbad 52%,
      #fbdbbb00 68%
    );
  }
  .hero-controls {
    right: 9px;
    bottom: 9px;
  }
  .hero-controls button {
    height: 32px;
    width: 32px;
  }
  .hero-clinical-photo {
    width: 42%;
    object-position: 35% 55%;
  }
  .hero-controls span {
    width: 5px;
    height: 5px;
  }
  .hero-controls [aria-pressed="true"] span {
    width: 13px;
  }
  .shortcut-strip {
    margin-top: 10px;
    padding: 10px 0;
    border-radius: 11px;
    align-items: stretch;
  }
  .shortcut-strip > a,
  .shortcut-strip > button {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    padding: 0 5px;
    text-align: center;
  }
  .shortcut-strip .shortcut-icon {
    width: 31px;
    height: 31px;
    border-radius: 9px;
  }
  .shortcut-icon svg {
    width: 19px;
    height: 19px;
  }
  .shortcut-strip strong {
    font-size: 11px;
    letter-spacing: -0.15px;
  }
  .shortcut-strip small {
    display: none;
  }
  .shelf {
    margin-top: 25px;
  }
  .section-head {
    margin-bottom: 13px;
  }
  .section-head h2,
  .shelf > h2,
  .rx-promo h2 {
    font-size: 22px;
    letter-spacing: -0.7px;
  }
  .section-head a {
    font-size: 12px;
    gap: 1px;
  }
  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 10px;
  }
  .category-image { border-radius: 9px; }
  .category > span {
    margin-top: 5px;
    font-size: 13px;
  }
  .product-grid,
  .home .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
  }
  .product-image {
    height: 130px;
  }
  .product-copy h3 {
    font-size: 15px;
    min-height: 34px;
  }
  .product-copy p {
    font-size: 12px;
  }
  .product-bottom strong {
    font-size: 16px;
  }
  .rx-promo {
    flex-wrap: wrap;
    gap: 0 11px;
    padding: 12px;
  }
  .rx-promo img {
    width: 57px;
    height: 70px;
    border-radius: 8px;
  }
  .rx-promo > div {
    flex: 1;
  }
  .rx-promo h2 {
    font-size: 19px;
  }
  .rx-promo button {
    margin: 9px 0 0 68px;
  }
  .inner {
    padding-top: 15px;
  }
  .crumb {
    margin-bottom: 18px;
  }
  .page-head {
    margin-bottom: 17px;
  }
  .page-head h1,
  .detail-content h1,
  .finder-intro h1 {
    font-size: 33px;
    letter-spacing: -1.3px;
  }
  .page-head p,
  .finder-intro p,
  .soft-panel p,
  .offer-card p {
    font-size: 15px;
  }
  .filter {
    padding: 5px 9px;
    font-size: 13px;
  }
  .listing-tools {
    padding-top: 18px;
  }
  .compare-banner {
    padding: 13px;
    gap: 9px;
    flex-wrap: wrap;
  }
  .compare-banner > div {
    flex: 1;
    min-width: 150px;
  }
  .compare-banner strong {
    font-size: 15px;
  }
  .compare-banner p {
    font-size: 12px;
  }
  .compare-banner .btn {
    min-height: 32px;
    padding: 6px 10px;
    font-size: 13px;
  }
  .finder-intro {
    padding: 21px 15px;
  }
  .finder-symbol {
    display: none;
  }
  .compare-grid {
    grid-template-columns: 1fr;
    gap: 11px;
  }
  .compare-item,
  .soft-panel,
  .summary,
  .order-item {
    padding: 17px;
  }
  .compare-item dl {
    margin: 14px 0;
    gap: 6px 12px;
  }
  .starter-card {
    padding: 13px;
    gap: 5px;
  }
  .starter-card strong {
    font-size: 17px;
  }
  .starter-card small {
    font-size: 12px;
  }
  .starter-card span {
    font-size: 12px;
  }
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .detail-image {
    height: 225px;
  }
  .detail-content .actions {
    gap: 7px;
  }
  .cart-layout {
    grid-template-columns: 1fr;
  }
  .line-thumb {
    width: 40px;
  }
  .cart-line .icon-button {
    width: 25px;
  }
  .offer-card {
    padding: 22px 16px;
    display: block;
  }
  .deal-art {
    width: 62px;
    height: 62px;
    padding: 12px;
    margin-bottom: 12px;
  }
  .deal-art svg {
    width: 37px;
    height: 37px;
  }
  .order-heading .meta {
    font-size: 10px;
  }
  .empty {
    padding: 35px 16px;
  }
  .reading {
    min-height: 70vh;
  }
  .search-menu {
    max-height: 55vh;
  }
  .upload-zone {
    padding: 15px;
  }
}
@media (max-width: 370px) {
  .wrap {
    width: calc(100% - 24px);
  }
  .masthead {
    column-gap: 6px;
  }
  .location-button > svg {
    display: none;
  }
  .nav-inner {
    gap: 13px;
  }
  .hero-copy {
    width: 67%;
    padding-left: 14px;
  }
  .hero h1 {
    font-size: 32px;
  }
  .product-copy {
    padding: 9px;
  }
  .compare-banner > .shortcut-icon {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
.variant-list {
  margin-top: 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.variant-list a {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
}
.variant-list a + a {
  border-top: 1px solid var(--line);
}
.variant-list a:hover {
  background: var(--soft);
}
.variant-list small,
.compared {
  display: block;
  font-size: 12px;
  color: var(--green);
  margin: 3px 0;
}
.order-heading .meta {
  overflow-wrap: anywhere;
}
@media (max-width: 640px) {
  .nav-inner {
    justify-content: space-between;
    gap: 8px;
  }
  .nav-inner a {
    font-size: 11.5px;
  }
  .hero-photo {
    object-position: right center;
  }
  .hero-slide--family:after {
    display: none;
  }
  .hero-copy {
    width: 58%;
    padding-right: 0;
  }
  .hero h1 {
    font-size: clamp(32px, 8vw, 43px);
  }
  .hero p {
    max-width: 175px;
  }
  .account-button {
    justify-self: end;
  }
}
.wordmark .brand-lockup {
  width: 188px;
  height: auto;
}
@media (max-width: 850px) {
  .masthead .brand-lockup {
    width: 157px;
  }
}
@media (max-width: 640px) {
  .masthead .brand-lockup {
    width: 128px;
  }
  .masthead {
    grid-template-columns: auto minmax(86px, 1fr) auto auto;
    column-gap: 7px;
  }
  .location-button {
    justify-self: center;
  }
  .hero {
    min-height: 235px;
  }
  .hero-copy {
    width: 56%;
  }
  .hero h1 {
    letter-spacing: -1.8px;
  }
  .hero p {
    max-width: 170px;
  }
}
@media (max-width: 365px) {
  .masthead .brand-lockup {
    width: 113px;
  }
  .masthead {
    column-gap: 5px;
  }
  .nav-inner a {
    font-size: 11px;
  }
}
@media (max-width: 640px) {
  .hero-photo {
    object-fit: contain;
    object-position: right bottom;
  }
  .hero-slide--family:after {
    display: block;
    background: linear-gradient(
      90deg,
      #fbdbbb 0%,
      #fbdbbb 38%,
      #fbdbbbd9 48%,
      #fbdbbb00 59%
    );
  }
  .hero-copy {
    padding-block: 18px 21px;
  }
  .hero p {
    font-size: 12px;
    max-width: 172px;
  }
}
.hero-short {
  display: none;
}
@media (max-width: 640px) {
  .hero-long {
    display: none;
  }
  .hero-short {
    display: inline;
  }
}
@media (max-width: 640px) {
  .hero-photo {
    height: auto;
    max-height: 100%;
    top: auto;
    bottom: 0;
    mask-image: linear-gradient(to bottom, transparent 0%, black 11%);
  }
  .section-head > a {
    white-space: nowrap;
  }
}
@media (max-width: 365px) {
  .nav-inner a svg {
    display: none;
  }
  .section-head h2 {
    font-size: 20px;
  }
  .hero h1 {
    font-size: 29px;
    letter-spacing: -1.65px;
  }
  .hero-copy {
    width: 60%;
  }
  .hero-slide--family p {
    max-width: 142px;
  }
  .hero-slide--family:after {
    background: linear-gradient(90deg, #fbdbbb 42%, #fbdbbbe8 51%, transparent 64%);
  }
}

.catalog-pages {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin: 28px auto 0;
  max-width: 760px;
}
.catalog-pages a,
.catalog-pages select {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 6px 10px;
  gap: 5px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
}
.catalog-pages a:hover {
  background: var(--soft);
}
.catalog-pages a[aria-current="page"] {
  background: var(--deep);
  border-color: var(--deep);
  color: white;
}
.page-numbers {
  display: flex;
  align-items: center;
  gap: 4px;
}
.page-gap {
  color: var(--muted);
  padding: 0 4px;
}
.page-direction:last-child {
  text-align: right;
}
.catalog-pages select {
  display: none;
}
@media (max-width: 640px) {
  .catalog-pages {
    gap: 6px;
  }
  .catalog-pages .page-numbers {
    display: none;
  }
  .catalog-pages select {
    display: block;
  }
  .listing-tools {
    flex-wrap: wrap;
  }
}


.rx-ready-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0;
}
.rx-ready-check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: none;
  accent-color: var(--deep);
}
.review-pack,
.order-line .review-pack {
  display: block;
  font-weight: 400;
  color: var(--muted);
}
.whatsapp-reopen {
  margin: 14px 0;
}
.whatsapp-reopen p {
  color: var(--muted);
  margin-bottom: 8px;
}
.whatsapp-reopen .btn {
  margin: 0 6px 6px 0;
}
.order-item .meta {
  overflow-wrap: anywhere;
}
.order-heading > div {
  min-width: 0;
}
.order-heading .order-status {
  flex-shrink: 0;
  max-width: 45%;
  white-space: normal;
}

@media (max-width: 640px) {
  :root {
    --pinned-search-height: 55px;
    scroll-padding-block-start: calc(var(--pinned-search-height) + 4px);
  }

  #site-header {
    position: sticky;
    top: calc(var(--pinned-search-height) - var(--masthead-height, 130px));
    box-shadow: 0 1px 0 var(--line);
  }

  /* Reveal the whole masthead when a keyboard user visits its upper row. */
  #site-header:has(:focus-visible):not(:has(.header-search :focus-visible)) {
    top: 0;
  }

  .header-search input {
    font-size: 16px;
  }

  .header-search .search-menu {
    max-block-size: min(55dvh, 26rem);
    overscroll-behavior: contain;
  }
}

.directory-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 24px;
}
.directory-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--soft);
}
.directory-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
.directory-switch a[aria-current="page"] {
  background: var(--deep);
  color: var(--bg);
}
.directory-switch a:hover:not([aria-current]) { color: var(--deep); }
.directory-tools {
  display: flex;
  align-items: center;
  gap: 14px 24px;
  padding-block: 20px;
  border-block: 1px solid var(--line);
}
.directory-search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(100%, 340px);
  min-width: 0;
  padding-inline: 13px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--green);
}
.directory-search:focus-within { outline: 2px solid var(--green); outline-offset: 2px; }
.directory-search input[type="search"] {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  outline: 0;
  font-size: 16px;
}
.directory-search input::placeholder { color: var(--muted); opacity: 1; }
.directory-alphabet { display: flex; flex: 1 1 auto; min-width: 0; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2px; }
.directory-alphabet button {
  display: grid;
  place-items: center;
  min-width: 28px;
  min-height: 40px;
  padding-inline: 4px;
  border-radius: 6px;
  font-weight: 650;
  font-size: 14px;
}
.directory-alphabet button:hover { background: var(--soft); }
.directory-alphabet button[aria-pressed="true"] { background: var(--deep); color: var(--bg); }
.directory-initial {
  display: none;
  min-width: 0;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background-color: var(--bg);
  padding-inline: 8px;
  font-size: 14px;
}
.directory-results-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-block: 26px 12px;
}
.directory-results-head h2 { font-size: clamp(20px, 2vw, 26px); letter-spacing: -.035em; scroll-margin-top: 16px; }
.directory-results-head [data-range], .directory-pages [data-page] { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.directory-results-head [data-range] { white-space: nowrap; }
.directory-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.directory-list li { min-width: 0; }
.directory-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-content: center;
  align-items: center;
  gap: 3px 12px;
  height: 100%;
  min-height: 74px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--bg);
}
.directory[data-directory="brands"] .directory-list a { grid-template-columns: 48px minmax(0, 1fr) auto; }
.directory-thumb {
  display: grid;
  grid-row: 1 / 3;
  place-items: center;
  width: 48px;
  height: 48px;
  overflow: hidden;
  background: var(--soft);
  border-radius: 6px;
  color: var(--green);
  font-size: 20px;
  font-weight: 650;
}
.directory-thumb:has(img) { background: transparent; }
.directory-thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.directory[data-directory="brands"] .directory-entry-count { grid-column: 2; }
.directory[data-directory="brands"] .directory-list a > .icon { grid-column: 3; }
.directory-entry-name { font-size: 16px; font-weight: 650; line-height: 1.3; overflow-wrap: anywhere; }
.directory-entry-count { grid-column: 1; color: var(--muted); font-size: 13px; }
.directory-list a > .icon { grid-column: 2; grid-row: 1 / 3; color: var(--green); }
.directory-list a:hover, .directory-list a:focus-visible { background: var(--soft); border-color: var(--green); }
.directory-pages {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}
.directory-pages .btn { min-height: 44px; }
.directory-pages .btn:disabled { cursor: default; }
.directory-empty {
  padding: 30px 18px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}
.directory-empty p { margin: 8px 0 14px; color: var(--muted); }
.directory-promotion { margin-top: 32px; }
@media (max-width: 1199px) {
  .directory-alphabet { display: none; }
  .directory-initial { display: block; }
  .directory-tools { justify-content: space-between; }
}
@media (max-width: 900px) {
  .directory-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .directory-switch a { min-height: 40px; padding: 8px 12px; }
  .directory-heading { display: grid; gap: 14px; }
  .directory-switch { justify-self: start; }
  .directory-tools { gap: 8px; padding-block: 14px; }
  .directory-search { flex: 1; }
  .directory-initial { max-width: 112px; }
  .directory-results-head { margin-block: 20px 10px; }
  .directory-list { grid-template-columns: minmax(0, 1fr); gap: 0; border-block: 1px solid var(--line); }
  .directory-list li:not([hidden]) ~ li:not([hidden]) { border-top: 1px solid var(--line); }
  .directory-list a {
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-rows: auto;
    min-height: 52px;
    padding: 9px 3px;
    border: 0;
    border-radius: 0;
    gap: 8px;
  }
  .directory-entry-count, .directory-list a > .icon { grid-column: auto; grid-row: auto; }
  .directory[data-directory="brands"] .directory-list a {
    grid-template-columns: 38px minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    min-height: 62px;
    column-gap: 12px;
    row-gap: 0;
  }
  .directory[data-directory="brands"] .directory-list a > .icon { grid-row: 1 / 3; }
  .directory-thumb { width: 38px; height: 38px; }
  .directory-promotion { margin-top: 24px; }
}

.directory-switch { flex-wrap: wrap; }
.directory-health {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 14px;
  font-weight: 650;
  font-size: 14px;
}
.directory-health select {
  min-height: 44px;
  max-width: 100%;
  padding-inline: 10px;
  border: 1px solid var(--line);
  border-radius: var(--control-radius);
  background: var(--soft);
  color: var(--ink);
}

.discovery-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 24px);
}

.catalog-campaign {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.catalog-campaign > .campaign {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
}

.after-detail-campaign {
  margin-top: 28px;
}

.finder-intro.finder-feature {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(24px, 5vw, 80px);
  padding: 0;
  align-items: stretch;
}

.finder-feature > div:first-child {
  min-width: 0;
  padding: clamp(24px, 3vw, 42px) 0 clamp(24px, 3vw, 42px) clamp(20px, 3vw, 42px);
  align-self: center;
}

.finder-feature .finder-photograph,
.offer-feature .offer-photograph {
  --blend-direction: to right;
  --blend-length: 38%;
  /* Ease the image into its own card surface, in the direction of the copy. */
  --photo-edge: linear-gradient(var(--blend-direction),
    transparent, rgb(0 0 0 / .1) calc(var(--blend-length) * .2),
    rgb(0 0 0 / .5) calc(var(--blend-length) * .5),
    rgb(0 0 0 / .9) calc(var(--blend-length) * .8), black var(--blend-length));
  -webkit-mask-image: var(--photo-edge);
  mask-image: var(--photo-edge);
}

.finder-photograph,
.offer-photograph {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 16px 16px 0;
}

.finder-feature .finder-photograph {
  --blend-length: 47%;
  object-position: 72% 48%;
  min-height: 0;
  aspect-ratio: 5 / 3;
}

.offer-card.offer-feature {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: stretch;
  max-width: none;
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.offer-terms {
  align-self: center;
  padding: clamp(26px, 4.5vw, 64px);
}

.offer-feature h2 {
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.04;
  letter-spacing: -.045em;
  max-width: 13ch;
}

.offer-feature p {
  max-width: 44ch;
  line-height: 1.5;
}

.offer-photograph {
  min-height: 0;
  aspect-ratio: 3 / 2;
  object-position: 72% 50%;
}

@media (max-width: 700px) {
  .discovery-pair {
    grid-template-columns: 1fr;
  }
  .finder-intro.finder-feature,
  .offer-card.offer-feature {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .finder-feature > div:first-child,
  .offer-terms {
    padding: 22px 18px;
  }
  .finder-feature .finder-photograph,
  .offer-feature .offer-photograph {
    --blend-direction: to bottom;
    --blend-length: 25%;
    width: 100%;
    height: clamp(158px, 54vw, 265px);
    aspect-ratio: auto;
    border-radius: 0 0 16px 16px;
  }
  .finder-feature .finder-photograph {
    --blend-length: 21%;
    object-position: 65% 0;
  }
  .offer-feature .offer-photograph {
    object-position: 72% 15%;
  }
}

.reading-aside .guide-reference {
  background: var(--bg);
}

.reading-aside .guide-reference img {
  --caption-edge: linear-gradient(to bottom, black 70%, rgb(0 0 0 / .93) 76%,
    rgb(0 0 0 / .5) 85%, rgb(0 0 0 / .08) 95%, transparent);
  -webkit-mask-image: var(--caption-edge);
  mask-image: var(--caption-edge);
}

.discovery-pair > .campaign--tile {
  width: 100%;
  max-height: none;
}
@media (min-width: 701px) {
  .discovery-pair > .campaign--tile {
    aspect-ratio: 1.85;
    grid-template-columns: 46% 54%;
    grid-template-rows: auto;
  }
  .discovery-pair .campaign-frame {
    grid-area: 1 / 2;
  }
  .discovery-pair .campaign-copy {
    grid-area: 1 / 1;
    padding: clamp(18px, 2.3vw, 34px);
  }
  .discovery-pair .campaign-title {
    font-size: clamp(26px, 2.7vw, 44px);
  }
}

.studio-feature {
  --set-top: #aec2d0;
  --set-base: #adc1d1;
  --accent: #294d63;
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(252px, 28vw, 356px);
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(to bottom, var(--set-top), var(--set-base));
  color: var(--ink);
}
.studio-price {
  --set-top: #243c26;
  --set-base: #355339;
  --accent: #ffc295;
  color: #fff9ed;
  margin-top: var(--section-gap);
}
.studio-routine {
  --set-top: #fcbe95;
  --set-base: #fab891;
  --accent: #783c24;
}
.studio-label { min-height: clamp(220px, 24vw, 322px); }
.studio-copy {
  z-index: 1;
  width: 62%;
  padding: clamp(28px, 3.5vw, 54px);
}
.studio-copy :is(h1, h2) {
  color: inherit;
  font-size: clamp(36px, 4.45vw, 66px);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: 1.02;
}
.studio-copy em {
  display: block;
  font: italic 400 1.05em/1.04 'DM Serif Text', Georgia, serif;
  letter-spacing: -.045em;
  color: var(--accent);
}
.studio-copy p { max-width: 45ch; margin: 15px 0 0; line-height: 1.5; }
.studio-copy > .btn, .studio-copy .actions { margin: 18px 0 0; }
.studio-price .btn.primary { background: #fff7e9; color: #223e29; }
.studio-price .btn.primary:hover { background: #fbe3cd; }
.studio-price .btn:focus-visible { outline-color: #ffc295; }
.studio-routine .coupon-copy { min-height: var(--control-height); }
.studio-photo {
  position: absolute;
  inset: 0 0 0 auto;
  width: 46%;
  pointer-events: none;
}
.studio-photo img {
  position: absolute;
  inset: 50% 0 auto auto;
  width: auto;
  height: 112%;
  max-width: none;
  transform: translateY(-50%);
  mask-image: linear-gradient(to right, transparent, #000 15%);
}
.guide-topics { margin-top: clamp(18px, 2vw, 28px); }

@media (max-width: 600px) {
  .studio-feature { display: block; min-height: 0; }
  .studio-copy { width: 100%; padding: 20px; position: relative; }
  .studio-copy :is(h1, h2) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: clamp(145px, 39vw, 215px);
    width: 54%;
    font-size: clamp(31px, 6.5vw, 39px);
  }
  .studio-copy p { margin-top: 12px; }
  .studio-copy > .btn, .studio-copy .actions { margin-top: 14px; }
  .studio-photo {
    inset: 0 0 auto auto;
    width: 52%;
    aspect-ratio: 1;
    mask-image: linear-gradient(to bottom, #000 80%, transparent);
  }
  .studio-photo img { inset: 0 0 auto auto; height: 100%; transform: none; }
}

wellness-shelf {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

wellness-shelf .section-head {
  margin: 0;
}

.wellness-track {
  --shelf-gap: 17px;
  display: grid;
  grid-column: 1 / -1;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - var(--shelf-gap) * 3) / 4);
  gap: var(--shelf-gap);
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}

.wellness-track::-webkit-scrollbar {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .wellness-track { scroll-snap-type: x proximity; }
  .wellness-track > article { scroll-snap-align: start; }
}

.wellness-track:focus-visible {
  outline: 3px solid #c25d32;
  outline-offset: 3px;
}

.wellness-track .product-image:focus-visible {
  outline-offset: -4px;
}

@media (max-width: 850px) {
  .wellness-track {
    grid-auto-columns: calc((100% - var(--shelf-gap) * 2) / 3);
  }
}

@media (max-width: 640px) {
  .wellness-track {
    --shelf-gap: 11px;
    grid-auto-columns: min(215px, 59%);
  }
}

@media (max-width: 470px) {
  wellness-shelf .section-head { flex-wrap: wrap; gap: 0 12px; }
}

.campaign {
  --paper: #efe4cf;
  --type: var(--ink);
  --focal: 72% 50%;
  position: relative;
  isolation: isolate;
  display: grid;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--type);
  text-decoration: none;
}
.campaign--botanical { --paper: #172b19; --type: #fff8e9; --focal: 76% 48%; }
.campaign--nutrition { --paper: #75381f; --type: #fff3df; --focal: 74% 52%; }
.campaign--baby { --paper: #f5d9c6; --type: #4e322a; --focal: 68% 55%; }
.campaign--monitor { --paper: #dce6eb; --type: #263c49; --focal: 88% 58%; }
.campaign--pharmacist { --paper: #f0dfca; --focal: 84% 38%; }
.campaign--wellness { --paper: #f9d5b2; --focal: 75% 58%; }
.campaign--cleanser { --paper: #daedec; --type: #183c4a; --focal: 78% 52%; }

.campaign-frame, .campaign-frame img { display: block; width: 100%; height: 100%; }
.campaign-frame { min-width: 0; min-height: 0; overflow: hidden; }
.campaign-frame img { object-fit: cover; object-position: var(--focal); }
/* Extend the set into the copy area so the transition has room on both sides of the grid line. */
a.campaign {
  --art-extension: clamp(30px, 28%, 150px);
  --art-width: var(--art-extension);
  --art-height: 0px;
  --fade-direction: to right;
  --fade-reach: 42%;
}
a.campaign .campaign-frame { overflow: visible; }
a.campaign .campaign-frame img {
  inset: 0 0 auto auto;
  width: calc(100% + var(--art-width));
  height: calc(100% + var(--art-height));
  max-width: none;
  mask-image: linear-gradient(var(--fade-direction),
    transparent, rgb(0 0 0 / .08) calc(var(--fade-reach) * .2),
    rgb(0 0 0 / .5) calc(var(--fade-reach) * .5),
    rgb(0 0 0 / .92) calc(var(--fade-reach) * .8), black var(--fade-reach));
}
a.campaign:is(.campaign--tile, .campaign--portrait) {
  --art-width: 0px;
  --art-height: clamp(22px, 19%, 52px);
  --fade-direction: to top;
  --fade-reach: 32%;
}
.campaign-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  padding: clamp(16px, 2.4vw, 38px);
}
.campaign-label {
  font-weight: 750;
  font-size: clamp(10px, .85vw, 12px);
  line-height: 1.25;
  letter-spacing: .105em;
  text-transform: uppercase;
}
.campaign-title {
  font-family: 'DM Serif Text', Georgia, serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(26px, 2.8vw, 46px);
  line-height: 1.06;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.campaign-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 5px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}
.campaign-link svg { width: 15px; height: 15px; }
.campaign:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .campaign:hover .campaign-link { text-decoration: underline; text-underline-offset: .24em; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .campaign-frame img { transition: transform 250ms ease-out; }
  .campaign:hover .campaign-frame img { transform: scale(1.025); }
}
.campaign--strip, .campaign--banner { grid-template-columns: 1fr 45%; }
.campaign--strip .campaign-frame, .campaign--banner .campaign-frame { grid-area: 1 / 2; position: relative; }
.campaign--strip .campaign-frame img, .campaign--banner .campaign-frame img { position: absolute; inset: 0; }
.campaign--strip .campaign-copy, .campaign--banner .campaign-copy { grid-area: 1 / 1; }
.campaign--strip { min-height: 132px; }
.campaign--strip .campaign-copy { padding-block: 18px; }
.campaign--strip .campaign-title { font-size: clamp(24px, 2.3vw, 35px); }
.campaign--banner { min-height: clamp(180px, 20vw, 290px); }
.campaign--tile, .campaign--portrait { grid-template-rows: minmax(0, 1fr) auto; }
.campaign--tile { aspect-ratio: 1; max-height: 420px; }
.campaign--portrait { aspect-ratio: 4 / 5; min-height: 220px; }
.campaign--tile .campaign-copy, .campaign--portrait .campaign-copy { padding: 17px 20px 19px; gap: 5px; }
.campaign--tile .campaign-title, .campaign--portrait .campaign-title { font-size: clamp(23px, 2.2vw, 35px); }
.campaign--tile .campaign-frame, .campaign--portrait .campaign-frame { position: relative; }
.campaign--tile .campaign-frame img, .campaign--portrait .campaign-frame img { position: absolute; inset: 0; }
.campaign-edits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.5vw, 22px);
}
.campaign-edits .campaign {
  width: 100%;
  min-height: 0;
  max-height: none;
  aspect-ratio: auto;
  grid-template-rows: auto 1fr;
}
.campaign-edits .campaign-frame { aspect-ratio: 3 / 2; }
.campaign-edits .campaign-copy { justify-content: start; gap: 6px; }
.campaign-edits .campaign-link { margin-top: auto; padding-top: 8px; }
.campaign-edits .campaign--baby .campaign-frame img { object-position: 58% 49%; }
.catalog-campaign .campaign { height: 100%; }
@media (min-width: 641px) and (max-width: 850px) {
  .campaign-edits .campaign-copy { padding: 14px; }
}
@media (min-width: 701px) {
  /* Cap the image proportions in a long strip so that faces and complete packs stay in view. */
  a.campaign--strip:not(.campaign--pack) { min-height: clamp(148px, 12vw, 176px); }
  a.campaign--strip:not(.campaign--pack) .campaign-frame img {
    width: auto;
    max-width: calc(100% + var(--art-width));
    aspect-ratio: var(--strip-ratio, 1.65);
  }
  a.campaign--botanical { --strip-ratio: 2.75; }
  a.campaign--baby { --strip-ratio: 1.2; }
  a.campaign--monitor, a.campaign--pharmacist { --strip-ratio: 2; }
  a.campaign--pharmacist.campaign--strip { --focal: 84% 15%; }
  .discovery-pair > a.campaign--tile {
    --art-width: var(--art-extension);
    --art-height: 0px;
    --fade-direction: to right;
    --fade-reach: 42%;
  }
}
@media (max-width: 700px) {
  .reading-aside > a.campaign--portrait {
    --art-width: var(--art-extension);
    --art-height: 0px;
    --fade-direction: to right;
    --fade-reach: 42%;
  }
}
@media (max-width: 640px) {
  .campaign--strip { grid-template-columns: 57% 43%; min-height: 116px; }
  .campaign--banner { grid-template-columns: 53% 47%; }
  .campaign-edits, .discovery-pair { grid-template-columns: 1fr; grid-auto-rows: 1fr; gap: 12px; }
  .campaign-edits > a.campaign, .discovery-pair > a.campaign--tile {
    grid-template: auto / minmax(0, 1fr) minmax(0, 42%);
    --art-width: var(--art-extension);
    --art-height: 0px;
    --fade-direction: to right;
    --fade-reach: 40%;
    aspect-ratio: auto;
    min-height: 136px;
    width: 100%;
    max-height: none;
  }
  .campaign-edits .campaign-frame, .discovery-pair .campaign-frame { grid-area: 1 / 2; aspect-ratio: auto; }
  .campaign-edits .campaign-copy, .discovery-pair .campaign-copy {
    grid-area: 1 / 1;
    justify-content: center;
    padding: 14px;
  }
  .campaign-edits .campaign-title, .discovery-pair .campaign-title { font-size: 24px; }
  .campaign-edits .campaign-link, .discovery-pair .campaign-link { margin-top: 3px; padding: 0; font-size: 12px; }
}

.hero-slide--botanical { background: #1d291d; }
.hero-slide--wellness { background: linear-gradient(to bottom, #fcbe95, #fab891); }
.hero-scene {
  position: absolute;
  z-index: -2;
  inset-block: 0;
  right: 0;
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: cover;
  object-position: right center;
}
/* Keep the campaign grading on editorial images. Pack-identification photos use their source colours. */
.hero-slide--botanical .hero-scene,
.campaign--botanical .campaign-frame img {
  filter: saturate(.79) contrast(.93);
}
.offer-photograph,
.campaign--wellness .campaign-frame img,
.campaign--nutrition .campaign-frame img {
  filter: saturate(.85) contrast(.95);
}
.hero-slide--botanical .hero-tag {
  color: #e2eed2;
  background: transparent;
  border-color: rgb(223 237 207 / .4);
}
.hero-slide--botanical h1, .hero-slide--botanical p { color: #fff9e8; }
.hero-slide--botanical h1 em { color: #d7e8aa; }
.hero-slide--botanical .btn { background: #f8f7ea; color: #203e25; }
.hero-slide--botanical .btn:hover { background: #dce9be; }
@media (max-width: 640px) {
  .hero-slide--botanical .hero-scene { width: 100%; object-position: 75% center; }
  .hero-slide--botanical .hero-copy { width: 58%; }
  .hero-slide--botanical p { max-width: 18ch; }
  .hero-controls { gap: 0; padding: 0 3px; }
  .hero-controls button { width: 26px; }
}

/* Fade the photo itself so its first painted pixels match the slide at every crop. */
.hero-slide {
  --photo-fade: linear-gradient(to right, transparent, rgb(0 0 0 / .12) 9%, rgb(0 0 0 / .5) 21%, rgb(0 0 0 / .88) 33%, black 42%);
}
.hero-slide--botanical .hero-scene,
.hero-slide--wellness .hero-scene,
.hero-slide--prescription .hero-clinical-photo {
  -webkit-mask-image: var(--photo-fade);
  mask-image: var(--photo-fade);
}
.hero-slide--wellness .hero-scene {
  width: auto;
  min-width: 0;
  max-width: none;
  height: 100%;
  object-fit: cover;
}
.hero-slide--prescription {
  background: linear-gradient(to bottom, #f5f4ef, #ece8df);
}
.hero-slide--prescription .hero-clinical-photo {
  width: 61%;
  object-position: 53% 52%;
}
@media (min-width: 641px) and (max-width: 850px) {
  .hero-slide--family h1 { font-size: clamp(32px, 5vw, 42px); letter-spacing: -.05em; }
  .hero-slide--family p { max-width: 25ch; }
  .hero-slide--family .hero-long { display: none; }
  .hero-slide--family .hero-short { display: inline; }
  .hero-slide--family .hero-photo { object-position: 74% center; }
  .hero-slide--family::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(to right, #fbdbbb 27%, rgb(251 219 187 / .96) 37%, rgb(251 219 187 / .62) 46%, transparent 59%);
  }
}
@media (max-width: 640px) {
  .hero-slide--family .hero-photo {
    inset: auto 0 0 auto;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
  }
  .hero-slide--family::after {
    background: linear-gradient(to right, #fbdbbb 37%, rgb(251 219 187 / .86) 46%, rgb(251 219 187 / .32) 56%, transparent 65%);
  }
  .hero-slide--wellness {
    --photo-fade: linear-gradient(to right, transparent 12%, rgb(0 0 0 / .12) 26%, rgb(0 0 0 / .5) 42%, rgb(0 0 0 / .88) 56%, black 68%);
  }
  .hero-slide--wellness .hero-scene {
    width: 78%;
    max-width: none;
    object-position: 68% top;
  }
  .hero-slide--prescription {
    --photo-fade: linear-gradient(to right, transparent 14%, rgb(0 0 0 / .1) 30%, rgb(0 0 0 / .45) 48%, rgb(0 0 0 / .85) 63%, black 78%);
  }
  .hero-slide--prescription .hero-clinical-photo {
    width: 64%;
    object-position: 32% center;
  }
}

/* The consultation is one canvas. The paper shows through the quiet side of
   the photograph and stays fully opaque under the prescription action. */
.rx-campaign {
  --paper: #efe1d1;
  margin-top: 32px;
  grid-template-columns: minmax(0, 1fr);
  background: var(--paper);
}
.rx-campaign > .campaign-frame {
  --rx-blend: linear-gradient(to right, transparent 0%, rgb(0 0 0 / .06) 9%, rgb(0 0 0 / .35) 23%, rgb(0 0 0 / .84) 38%, black 50%);
  position: absolute;
  grid-area: auto;
  inset: 0 0 0 auto;
  width: 61%;
  pointer-events: none;
  -webkit-mask-image: var(--rx-blend);
  mask-image: var(--rx-blend);
}
.rx-campaign > .campaign-frame img { object-position: 76% 10%; }
.rx-campaign > .campaign-copy {
  grid-area: 1 / 1;
  width: 54%;
  padding: clamp(22px, 3vw, 42px);
}
.rx-campaign h2 { font-size: clamp(23px, 2.4vw, 38px); letter-spacing: -.045em; line-height: 1.08; }
.rx-campaign p { max-width: 36ch; margin: 0 0 5px; font-size: 14px; }
@media (max-width: 480px) {
  .rx-campaign { --photo-height: clamp(154px, 44vw, 200px); }
  .rx-campaign > .campaign-frame {
    --rx-blend: linear-gradient(to bottom, black 0% 48%, rgb(0 0 0 / .93) 58%, rgb(0 0 0 / .5) 77%, rgb(0 0 0 / .08) 93%, transparent 100%);
    inset: 0 0 auto;
    width: 100%;
    height: var(--photo-height);
  }
  .rx-campaign > .campaign-frame img { object-position: 62% 8%; }
  .rx-campaign > .campaign-copy {
    width: 100%;
    padding: calc(var(--photo-height) - 8px) 20px 22px;
  }
}

.campaign--pack .campaign-frame img {
  object-fit: contain;
  object-position: center;
  padding: 6px;
  mix-blend-mode: multiply;
}

.campaign--care-basket { --paper: #f6b28a; --type: #293b29; --focal: 60% 50%; }
.campaign--pack-label { --paper: #afc3d1; --type: #213c47; --focal: 54% 52%; }
a.campaign--strip:is(.campaign--pack-label, .campaign--care-basket) { --strip-ratio: 1.22; }

:root {
  --page-width: 1280px;
  --page-gutter: clamp(20px, 3.65vw, 56px);
  --control-height: 44px;
  --chat-size: 52px;
  --chat-inset: clamp(14px, 2vw, 24px);
  --chat-bottom: calc(var(--chat-inset) + env(safe-area-inset-bottom, 0px));
  --chat-right: calc(var(--chat-inset) + env(safe-area-inset-right, 0px));
  --control-radius: 8px;
  --panel-radius: 14px;
  --section-gap: clamp(32px, 3.4vw, 52px);
  --page-title-size: clamp(32px, 3.15vw, 46px);
}
.wrap { width: min(var(--page-width), calc(100% - 2 * var(--page-gutter))); }
.inner { padding-block: clamp(16px, 1.75vw, 26px) var(--section-gap); }
.crumb {
  flex-wrap: wrap;
  row-gap: 3px;
  line-height: 1.45;
  margin-bottom: clamp(16px, 1.6vw, 24px);
}
.page-head { margin-bottom: clamp(20px, 2.1vw, 30px); }
.page-head h1, .finder-intro h1, .detail-content h1 {
  font-size: var(--page-title-size);
  line-height: 1.08;
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
}
.btn { min-height: var(--control-height); border-radius: var(--control-radius); }
button:disabled { cursor: default; }
button[aria-busy="true"] { cursor: progress; }
main { min-width: 0; }
.connection-state { max-width: 680px; padding-block: var(--section-gap); }
.connection-state .page-head p { max-width: 52ch; }
.catalogue-loading { padding-block: var(--section-gap); color: var(--muted); }
.skip { left: var(--page-gutter); z-index: 30; border-radius: var(--control-radius); }
.skip:focus { top: 4px; }
#site-header { z-index: 10; }
.masthead { gap: clamp(12px, 1.6vw, 24px); }
.masthead .brand-lockup { width: 176px; }
.masthead .wordmark, .masthead .location-button, .masthead .account-button, .masthead .cart-button {
  min-height: var(--control-height);
}
.account-button, .location-button { border-radius: var(--control-radius); }
.cart-button { border-color: var(--line); border-radius: var(--control-radius); background: var(--soft); }
.cart-button:hover, .cart-button:focus-visible { background: var(--mint); }
.masthead .header-search {
  margin-inline: 0;
  border-radius: var(--control-radius);
  height: var(--control-height);
  background: var(--soft);
  border-color: var(--line);
}
.search-form:focus-within { border-color: var(--green); }
.search-form input::placeholder { color: var(--muted); }
.search-submit { min-width: 32px; min-height: 32px; }
.search-form:has(input:placeholder-shown):not(:focus-within) .search-submit { visibility: hidden; }
.suggestion { min-height: 44px; }
.suggestion > span:nth-child(2) { min-width: 0; overflow-wrap: anywhere; }
.suggestion > strong { flex-shrink: 0; font-variant-numeric: tabular-nums; }
.search-menu .all-results { display: flex; align-items: center; min-height: 44px; }
.navline { background: var(--bg); }
.nav-inner { height: 46px; gap: clamp(20px, 2.25vw, 34px); }
.nav-inner a, .nav-inner button {
  position: relative;
  align-items: center;
  height: 100%;
  line-height: 1.25;
  font-size: 14px;
  font-weight: 600;
}
.nav-inner a[aria-current], .nav-inner .nav-more[aria-current] { color: var(--deep); }
.nav-inner a[aria-current]::after, .nav-inner .nav-more[aria-current]::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--green);
}
.nav-inner a:focus-visible, .nav-inner button:focus-visible { outline-offset: -3px; }
.nav-inner a:hover, .nav-inner button:hover { color: var(--green); }
.nav-inner .nav-more { display: none; }
.nav-inner .nav-rx { margin-left: auto; }
.browse-menu { display: grid; }
.browse-menu > :is(a, button) {
  display: grid;
  grid-template-columns: 20px 1fr 16px;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  text-align: left;
  padding: 9px 6px;
  font-size: 15px;
  font-weight: 600;
}
.browse-menu > * + * { border-top: 1px solid var(--line); }
.browse-menu > :is(a, button):hover, .browse-menu [aria-current] { color: var(--green); background: var(--soft); }
#site-footer {
  --footer-text: #d6e5dc;
  --footer-rule: #46705b;
  background: var(--deep);
  color: #f6f8ed;
}
.pharmacy-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .85fr) minmax(0, 1.1fr);
  grid-template-areas: "brand contact explore";
  align-items: start;
  gap: 24px var(--page-gutter);
  padding-block: var(--section-gap);
}
.footer-brand { grid-area: brand; }
.footer-contact { grid-area: contact; }
.footer-links { grid-area: explore; }
.footer-logo { display: flex; width: fit-content; align-items: center; min-height: 44px; }
.footer-logo img { display: block; width: 172px; height: auto; }
.footer-brand #brand-tagline {
  margin: 8px 0 0;
  font-size: clamp(19px, 1.6vw, 24px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -.018em;
  text-wrap: balance;
}
.pharmacy-footer h2 {
  display: flex;
  align-items: center;
  min-height: 44px;
  margin: 0 0 4px;
  color: inherit;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -.02em;
  line-height: 1.4;
}
.footer-links ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links a, .pharmacy-footnote a, .footer-support {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  max-width: 100%;
  color: var(--footer-text);
  font-size: 14px;
  line-height: 1.45;
  text-underline-offset: .22em;
}
.footer-support { overflow-wrap: anywhere; text-decoration: underline; }
#site-footer a:is(:hover, :focus-visible) {
  color: #fff;
  text-decoration: underline;
}
#site-footer a:focus-visible { outline: 2px solid #f4b08d; outline-offset: 3px; }
.pharmacy-footnote {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px 24px;
  padding-block: 13px;
  padding-inline-end: max(0px, calc(var(--chat-right) + var(--chat-size) + 16px - var(--page-gutter)));
  border-top: 1px solid var(--footer-rule);
  color: var(--footer-text);
  font-size: 13px;
  line-height: 1.5;
}
.pharmacy-footnote a { font-size: inherit; white-space: nowrap; text-decoration: underline; }
.whatsapp-contact {
  position: fixed;
  right: var(--chat-right);
  bottom: var(--chat-bottom);
  z-index: 6;
  display: grid;
  place-items: center;
  width: var(--chat-size);
  height: var(--chat-size);
  border: 2px solid #fff;
  border-radius: 50%;
  background: #12804b;
  box-shadow: 0 3px 12px #163e2c38;
}
.whatsapp-contact:is(:hover, :focus-visible) { background: #0b6940; }
body:has(#panel[open]) .whatsapp-contact { display: none; }
@media print {
  .whatsapp-contact { display: none; }
}

@media (max-width: 900px) {
  .pharmacy-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: "brand explore" "contact explore";
    grid-template-rows: auto 1fr;
    row-gap: 16px;
  }
  .footer-contact h2 { min-height: 0; margin: 0; font-size: 15px; }
}
@media (max-width: 850px) {
  .masthead .brand-lockup { width: 150px; }
  .masthead { row-gap: 8px; }
  .masthead .account-button { min-width: var(--control-height); justify-content: center; }
  .nav-inner { gap: clamp(11px, 2vw, 20px); }
  .nav-inner a, .nav-inner button { font-size: 13px; }
}
@media (max-width: 700px) {
  .nav-inner { display: grid; grid-template-columns: auto auto auto auto; justify-content: space-between; gap: 8px; height: 44px; overflow: visible; }
  .nav-inner .nav-rx, .nav-inner [data-nav="wellness"], .nav-inner [data-nav="offers"] { display: none; }
  .nav-inner .nav-more { display: inline-flex; justify-content: end; gap: 5px; margin: 0; }
}
@media (max-width: 640px) {
  :root { --page-gutter: 16px; --pinned-search-height: 54px; --chat-size: 48px; }
  #toast { bottom: calc(var(--chat-bottom) + var(--chat-size) + 8px); }
  .masthead {
    grid-template-columns: auto minmax(0,1fr) 44px auto;
    padding-block: 4px 9px;
    gap: 4px 6px;
  }
  .masthead .brand-lockup { width: clamp(104px, 30vw, 134px); }
  .masthead .location-button { justify-self: center; min-width: 0; max-width: 100%; margin: 0; }
  .masthead .location-button > svg { display: none; }
  .masthead .location-button small { font-size: 10px; line-height: 1.3; }
  .masthead .location-button strong { font-size: 12px; }
  .masthead .header-search:has(input:placeholder-shown):not(:focus-within) .search-submit { display: none; }
  .masthead .account-button { width: 44px; }
  .masthead .cart-button { gap: 4px; padding: 0 7px; }
  .masthead .header-search { min-width: 0; font-size: 16px; }
  .nav-inner a, .nav-inner button { font-size: 13px; }
}
@media (max-width: 560px) {
  .pharmacy-footer {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "brand" "contact" "explore";
    grid-template-rows: auto;
    gap: 16px;
    padding-block: 24px 20px;
  }
  .footer-logo img { width: 150px; }
  .footer-brand #brand-tagline { max-width: none; margin-top: 4px; font-size: 17px; }
  .footer-links h2 { min-height: 0; margin: 0 0 4px; font-size: 16px; }
  .footer-support { min-height: var(--control-height); }
  .footer-links a { min-height: 44px; padding-block: 2px; line-height: 1.35; }
  .footer-links { border-top: 1px solid var(--footer-rule); padding-top: 16px; }
  .pharmacy-footnote { align-items: flex-start; flex-direction: column; gap: 0; font-size: 12px; }
  .pharmacy-footnote a { min-height: 36px; }
}
@media (max-width: 350px) {
  :root { --page-gutter: 12px; }
  .masthead { column-gap: 3px; }
  .masthead .brand-lockup { width: 101px; }
  .masthead .location-button strong .icon { display: none; }
}

#main { min-block-size: 82svh; }

/* Browsing shares the same product cards across search, departments and directories. */
.catalog-layout {
  display: grid;
  grid-template-columns: minmax(160px, 184px) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 44px);
  align-items: start;
}
.catalog-nav {
  display: grid;
  align-content: start;
  gap: 3px;
  padding: 13px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.catalog-nav h2 {
  padding: 5px 10px 12px;
  font-size: 16px;
  line-height: 1.3;
}
.catalog-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 42px;
  padding: 7px 10px;
  border-radius: 7px;
  font-size: 14px;
}
.catalog-nav a svg { color: var(--muted); }
.catalog-nav a:is(:hover, :focus-visible) { background: var(--soft); }
.catalog-nav a[aria-current] { background: var(--mint); color: var(--deep); font-weight: 700; }
.catalog-nav a:last-child { border-top: 1px solid var(--line); border-radius: 0; margin-top: 4px; }
.catalog-page .listing-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0 16px;
  gap: 10px;
}
.catalog-results { min-width: 0; }
.catalog-results > .compare-banner { margin: 0 0 16px; }
.catalog-count { color: var(--muted); font-size: 14px; font-weight: 550; }
.catalog-sort { display: flex; align-items: center; gap: 8px; }
.catalog-section { display: none; }
.catalog-page .listing-tools select {
  min-width: 0;
  min-height: 42px;
  max-width: 100%;
  color: var(--ink);
  font-size: 14px;
}
.catalog-results .product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.3vw, 20px);
}
.catalog-campaign { grid-column: 1 / -1; }
.catalog-campaign > .campaign--strip { min-height: 124px; }
.catalog-campaign .campaign-copy { padding: 14px clamp(17px, 2vw, 28px); }
.catalog-campaign .campaign-title { font-size: clamp(23px, 2.2vw, 32px); }
.product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--bg);
}
.product-card .product-image {
  aspect-ratio: 16 / 10;
  height: auto;
  flex: none;
  background: linear-gradient(to bottom, #f7f8f3 46%, var(--bg) 100%);
}
.product-card .product-image img { padding: 8px; }
.product-card .product-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(12px, 1.3vw, 18px);
}
.product-copy h3 {
  min-height: 0;
  margin-block: 5px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.product-copy p { line-height: 1.45; overflow-wrap: anywhere; }
.product-bottom {
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 15px;
}
.product-bottom strong { line-height: 1.25; font-variant-numeric: tabular-nums; }
.product-bottom .add-button {
  justify-content: center;
  min-width: 58px;
  min-height: 40px;
  background: var(--soft);
  color: var(--deep);
  border-radius: 8px;
  line-height: 1.2;
}
.product-bottom .add-button:enabled:hover { background: var(--mint); }
.product-card a:focus-visible { outline-offset: -3px; }
.product-bottom .add-button:disabled, .compare-item button:disabled, .detail-content button:disabled { cursor: not-allowed; }
.product-copy h3 a:hover, .detail-brand:hover { text-decoration: underline; text-underline-offset: .2em; }
.home .shelf { margin-top: clamp(32px, 4vw, 54px); }
.home .section-head { gap: 10px 18px; }
.home .section-head > a { min-height: 36px; }
.home .section-head h2 { line-height: 1.18; }
.hero-controls button { min-width: 30px; min-height: 32px; }
.home .hero .btn { min-height: 42px; }
.shortcut-strip strong { line-height: 1.25; }
.department-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 clamp(12px, 2.5vw, 38px);
  border-block-start: 1px solid var(--line);
}
.department-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 13px 3px;
  min-height: 48px;
  border-block-end: 1px solid var(--line);
  font-size: 15px;
  font-weight: 550;
  overflow-wrap: anywhere;
}
.department-list a svg { color: var(--green); }
.department-list a:hover { color: var(--green); background: var(--soft); }
.retail-detail .crumb { flex-wrap: wrap; }
.retail-detail .detail-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; }
.retail-detail .detail-image { height: auto; aspect-ratio: 5 / 4; border: 1px solid var(--line); }
.retail-detail .detail-image img { position: absolute; inset: 8%; width: 84%; height: 84%; }
.detail-brand { display: inline-flex; align-items: center; gap: 4px; color: var(--green); font-size: 14px; font-weight: 650; }
.detail-content h1, .catalog-page .page-head h1 { overflow-wrap: anywhere; line-height: 1.12; }
.retail-detail .detail-content dl, .compare-item dl { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); overflow-wrap: anywhere; }
.retail-detail .detail-content dl { max-width: none; }
.retail-detail .note { margin-bottom: 0; }
.pack-declarations { margin-block: var(--section-gap); }
.pack-declarations p { max-width: 76ch; white-space: pre-line; overflow-wrap: anywhere; }
.finder-results-intro > div:first-child { max-width: 660px; }
.finder-intro.finder-results-intro { padding: clamp(20px, 3vw, 34px); }
.finder-intro .suggest-chips { flex-wrap: wrap; gap: 6px; }
.finder-intro .suggest-chips a { display: inline-flex; align-items: center; min-height: 34px; border-radius: 8px; padding: 4px 11px; }
.starter-card { min-width: 0; }
.starter-card > span { padding-top: 10px; margin-top: auto; }
.starter-card:focus-visible, .starter-card:hover { border-color: var(--green); }
.compare-item, .variant-list a > span { min-width: 0; overflow-wrap: anywhere; }
.compare-item dl { padding-block: 14px; border-block: 1px solid var(--line); }
.offer-feature .actions > * { min-height: 44px; }
@media (max-width: 850px) {
  .catalog-layout { display: block; }
  .catalog-nav { display: none; }
  .catalog-page .listing-tools {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: end;
    padding-bottom: 12px;
  }
  .catalog-page .listing-tools label { display: grid; gap: 4px; font-size: 12px; font-weight: 600; }
  .catalog-count { grid-row: 2; grid-column: 1 / -1; font-size: 13px; }
  .catalog-page .listing-tools select { width: 100%; }
  .department-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .catalog-results .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .catalog-campaign > .campaign--strip { min-height: 124px; }
  .product-card .product-copy { padding: 11px; }
  .product-card .product-image { aspect-ratio: 4 / 3; }
  .product-card .meta { line-height: 1.35; }
  .product-bottom { gap: 5px; }
  .product-bottom .add-button { padding: 6px 8px; min-width: 54px; }
  .home .shortcut-strip strong { font-size: 12px; }
  .home .shelf { margin-top: 30px; }
  .home .section-head a { flex-shrink: 0; }
  .retail-detail .detail-grid { grid-template-columns: 1fr; }
  .retail-detail .detail-image { aspect-ratio: 1.9; }
  .department-list { gap: 0 14px; }
  .department-list a { font-size: 14px; }
}
@media(max-width: 365px) {
  .product-card .product-copy { padding: 9px; }
  .catalog-results .product-bottom { display: grid; grid-template-columns: minmax(0, 1fr); }
  .product-bottom .add-button { min-width: 44px; padding-inline: 5px; }
}

.finder-intro.finder-results-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 50px);
}
.finder-intro .finder-search .search-form { margin-top: 0; }
.finder-intro.finder-feature {
  grid-template: auto auto / minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 0 clamp(24px, 5vw, 80px);
  align-content: center;
}
.finder-feature > div:first-child {
  align-self: end;
  padding-bottom: 0;
}
.finder-feature .finder-search {
  grid-area: 2 / 1;
  padding: 16px 0 clamp(22px, 3vw, 42px) clamp(20px, 3vw, 42px);
  min-width: 0;
}
.finder-feature .finder-photograph { grid-area: 1 / 2 / span 2 / 3; }
@media (max-width: 700px) {
  .finder-intro.finder-feature, .finder-intro.finder-results-intro { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .finder-feature > div:first-child { align-self: stretch; padding: 21px 18px 0; }
  .finder-feature .finder-search { padding: 14px 18px 20px; }
  .finder-results-intro .finder-search { margin-top: 14px; }
}

/* Continue the warm studio backdrop beyond each square format photograph. */
.product-card .product-image:has(.format-photo) {
  background: linear-gradient(to bottom, #e7e2df, #ebe6e3 72%, var(--bg));
}
.retail-detail .detail-image:has(.format-photo) {
  background: linear-gradient(115deg, #ebe6e4, #e7e1df);
}
img.format-photo {
  --studio-x: linear-gradient(to right, transparent, black 12% 88%, transparent);
  --studio-y: linear-gradient(to bottom, transparent, black 12% 84%, transparent);
  -webkit-mask-image: var(--studio-x), var(--studio-y);
  mask-image: var(--studio-x), var(--studio-y);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
.product-image img.format-photo, .detail-image img.format-photo { mix-blend-mode: normal; }
.product-card .product-image .format-photo {
  width: auto;
  height: calc(100% - 16px);
  max-width: calc(100% - 16px);
  padding: 0;
  aspect-ratio: 1;
}
.retail-detail .detail-image .format-photo {
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: auto;
  height: 84%;
  max-width: 84%;
  aspect-ratio: 1;
}
.cart-line img.line-thumb { background: var(--bg); }

@media (width > 850px) {
  .catalog-nav {
    position: sticky;
    inset-block-start: 16px;
    max-block-size: calc(100dvh - 32px);
    overflow-y: auto;
    scroll-padding-block: 8px;
  }
}

@media (width > 640px) and (height >= 600px) {
  .retail-detail .detail-image {
    position: sticky;
    inset-block-start: 16px;
  }
}

.quick-comparison { margin-top: 18px; }
.quick-packs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-block: 10px; }
.quick-packs article { border: 1px solid var(--line); border-radius: var(--panel-radius); display: flex; flex-direction: column; gap: 7px; padding: clamp(10px, 2vw, 20px); overflow-wrap: anywhere; }
.quick-packs .quick-match { background: var(--soft); }
.quick-packs h3, .quick-packs p { margin: 0; }
.quick-packs article > strong { font-size: clamp(18px, 2vw, 26px); }
.quick-packs small { color: var(--muted); font-size: 12px; }
.quick-packs .btn { margin-top: auto; }
.quick-specs { border-block: 1px solid var(--line); margin-block: 12px; padding-block: 10px; }
.quick-specs summary { cursor: pointer; }
.card-compare { display: inline-flex; align-items: center; min-height: 42px; }
.pack-zoom { position: absolute; inset-inline-end: 8px; inset-block-end: 8px; }
.zoomed-pack { display: block; margin: auto; width: 100%; height: auto; }
@media (max-width: 640px) {
  .finder-results-intro .suggest-chips { display: none; }
  body:has(.quick-comparison, .retail-detail, .catalog-page, .service-cart) > .whatsapp-contact { display: none; }
}

.catalog-nav [data-catalog-filters] { padding: 10px 4px 2px; border-top: 1px solid var(--line); }
[data-catalog-filters] { display: grid; gap: 9px; min-width: 0; }
[data-catalog-filters] label { display: grid; gap: 3px; font-size: 13px; font-weight: 650; min-width: 0; }
[data-catalog-filters] select { min-width: 0; max-width: 100%; padding: 8px; min-height: 40px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); }
.filter-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.mobile-filters { display: none; }
@media (max-width: 850px) {
  .mobile-filters { display: inline-flex; grid-row: 3; grid-column: 1 / -1; justify-self: start; }
}

.home-medicine-search { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 22px; align-items: center; margin-block: 16px; padding: 12px 16px; background: var(--soft); border-radius: var(--panel-radius); }
.home-medicine-search h2 { margin: 0; font-size: clamp(17px, 2vw, 23px); }
.home-medicine-search .search-form { margin: 0; }
@media (max-width: 640px) {
  .home-medicine-search { grid-template-columns: minmax(0, 1fr); }
  .quick-packs .btn { padding-inline: 8px; min-height: 44px; }
}

.service-cart .cart-content { display: grid; gap: 16px; }
.service-cart .cart-list { padding-inline: clamp(12px, 1.5vw, 20px); }
.service-cart .cart-line {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto minmax(5ch, auto) auto;
  gap: 8px clamp(8px, 1vw, 16px);
  padding-block: 18px;
}
.service-cart .line-main { overflow-wrap: anywhere; }
.service-cart .pack-rate, .receipt-ref > span, .receipt-summary > small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 450;
  line-height: 1.4;
}
.service-cart .line-total, .service-cart dd, .receipt-body b, #panel dd {
  font-variant-numeric: tabular-nums;
}
.service-cart .line-total { text-align: end; }
.service-cart .line-thumb { width: 58px; height: 62px; }
.service-cart .stepper { overflow: hidden; }
.service-cart .stepper button { width: 38px; height: 40px; }
.service-cart .stepper button:focus-visible { outline-offset: -3px; }
.service-cart .stepper button:not(:disabled):hover { background: var(--soft); }
.service-cart .remove, #panel .icon-button { width: 44px; height: 44px; }
.service-cart .line-issue { grid-column: 2 / -1; margin: 0; }
.checkout-settings, .faq-list, .guide-reference {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: clip;
}
.checkout-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px 12px; padding: 16px 20px; }
.checkout-row + .checkout-row { border-top: 1px solid var(--line); }
.checkout-row h2 { font-size: 16px; }
.checkout-row p { margin-top: 3px; font-size: 14px; color: var(--muted); }
.checkout-row button { min-height: 44px; justify-self: start; }
.service-cart .summary, .service-orders .order-item, #panel .review-items, #panel .review-details {
  text-align: start;
}
.service-cart .summary { padding: clamp(18px, 2.2vw, 28px); }
.service-cart .summary h2 { font-size: clamp(21px, 2.4vw, 25px); }
.service-cart .delivery-policy {
  margin: -8px 0 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.service-cart .field-with-btn input, #panel input:not([type=file]):not([type=checkbox]) { min-height: 44px; font-size: 16px; }
.service-cart .summary .btn, #panel .btn { min-height: 44px; }
.service-cart .summary .wide { margin-top: 16px; }
.service-cart .cart-notice, #panel .handoff-note { padding: 12px 14px; background: var(--soft); border-radius: 8px; }
.service-cart .cart-notice { margin-block: 12px; }
#panel { width: min(100% - 28px, 480px); }
#panel .dialog-head { border-bottom: 1px solid var(--line); padding: 12px 18px 12px 22px; }
#panel .dialog-body { padding: 18px 22px 22px; }
#panel .dialog-body > p:first-child { margin-top: 0; }
#panel .review-items, #panel .review-details {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 12px 16px;
  margin-block: 16px;
}
#panel .review-items { border-block: 1px solid var(--line); padding-block: 14px; }
#panel .review-items dt, #panel .review-items dd { color: var(--ink); font-weight: 650; }
#panel .review-items dt { overflow-wrap: anywhere; }
#panel .review-pack { font-size: 13px; margin-top: 2px; }
#panel .handoff-note { margin-bottom: 0; font-size: 14px; line-height: 1.5; }
#panel .file-row span { min-width: 0; }
#panel .file-row .icon-button { flex: none; }
#panel .rx-ready-check { padding-block: 8px; }
#panel .account-links a:hover, #panel .account-links button:hover { color: var(--deep); background: var(--soft); }
.account-history { border-top: 1px solid var(--line); }
.account-history summary { padding-block: 14px; font-weight: 600; cursor: pointer; }
.account-history [data-cookie-controls] { display: grid; justify-items: start; gap: 10px; }
.account-history .history-preference { display: flex; gap: 10px; align-items: center; min-height: 44px; }
.account-history input[type="checkbox"] { flex: none; width: 20px; height: 20px; accent-color: var(--green); }
#panel .account-history p { margin: 0; }
.account-history [role="status"]:empty { display: none; }
.service-orders #order-list { max-width: 850px; }
.service-orders .order-item { max-width: none; padding: 0; margin-bottom: 12px; }
.service-orders .order-heading {
  padding: 16px 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  margin: 0;
  cursor: pointer;
  border-radius: inherit;
  list-style: none;
}
.service-orders .order-heading::-webkit-details-marker, .faq-list summary::-webkit-details-marker { display: none; }
.service-orders .order-heading:hover, .faq-list summary:hover { background: var(--soft); }
.service-orders .order-heading .order-status { max-width: none; justify-self: start; }
.service-orders .order-heading .icon { transition: transform .18s ease; }
.service-orders details[open] .order-heading .icon { transform: rotate(180deg); }
.receipt-summary { display: grid; gap: 4px; }
.receipt-summary > strong { font-size: 17px; }
.receipt-body { border-top: 1px solid var(--line); padding: 18px 20px 20px; }
.receipt-ref { margin: 0 0 14px; overflow-wrap: anywhere; }
.receipt-ref strong { font-size: 13px; font-weight: 550; }
.receipt-items { border-block: 1px solid var(--line); margin-bottom: 8px; }
.receipt-items .order-line { padding-block: 10px; }
.receipt-items .order-line + .order-line { border-top: 1px solid var(--line); }
.receipt-body .order-line { align-items: baseline; }
.receipt-body .order-line > span { min-width: 0; overflow-wrap: anywhere; }
.receipt-body .order-line > b { text-align: right; }
.receipt-body .whatsapp-reopen { margin: 0; }
.receipt-body .whatsapp-reopen p { font-size: 14px; max-width: 68ch; }
.service-orders .return-shop { min-height: 44px; }
.service-orders .soft-panel .btn { margin-top: 12px; }
.service-reading .reading-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(240px, .8fr);
  gap: clamp(16px, 2.4vw, 32px);
  align-items: start;
}
.faq-list .faq { padding: 0; }
.faq-list .faq:last-child { border-bottom: 0; }
.faq-list summary { min-height: 54px; padding: 13px 20px; }
.faq-list summary .icon { flex: none; }
.faq-list summary:focus-visible, .order-heading:focus-visible { outline-offset: -3px; }
.faq-list .faq p { padding: 0 20px 18px; max-width: 78ch; }
.faq-list [data-customer-complaints] { margin: 0 20px 18px; }
.faq-list [data-complaint-receipt]:not(:empty) { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 14px; }
.faq-list .faq [data-complaint-receipt] p { padding: 0; margin: 0 0 12px; }
.faq-list .complaint-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.faq-list .faq [data-copy-status]:empty { margin: 0; }
.reading-aside { min-width: 0; }
.reading-aside .campaign { width: 100%; }
.guide-reference { margin: 0; }
.guide-reference img { display: block; width: 100%; height: auto; aspect-ratio: 1.6; object-fit: cover; object-position: 68% 47%; }
.service-not-found .actions { justify-content: center; }
.service-not-found .empty h1 { font-size: clamp(26px, 3.5vw, 40px); }
@media(max-width: 900px) {
  .service-cart .cart-layout { grid-template-columns: 1fr; }
  .service-cart .cart-content { gap: 12px; }
}
@media(max-width: 700px) {
  .service-reading .reading-layout { grid-template-columns: minmax(0, 1fr); }
  .reading-aside .campaign { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto; aspect-ratio: auto; min-height: 170px; }
  .reading-aside .campaign-frame { grid-area: 1 / 2; }
  .reading-aside .campaign-copy { grid-area: 1 / 1; }
  .guide-reference img { max-height: 215px; }
}
@media(max-width: 590px) {
  .service-cart .cart-line {
    grid-template-columns: 52px minmax(0, 1fr) 44px;
    grid-template-areas: "image item remove";
    gap: 10px;
    align-items: start;
    padding-block: 14px;
  }
  .service-cart .line-thumb { grid-area: image; width: 52px; height: 56px; }
  .service-cart .line-main { grid-area: item; align-self: center; }
  .service-cart .remove { grid-area: remove; justify-self: end; }
  .service-cart .stepper { grid-area: 2 / 1 / 3 / 3; justify-self: start; }
  .service-cart .stepper button { width: 40px; height: 42px; }
  .service-cart .line-total { grid-area: 2 / 2 / 3 / 4; align-self: center; justify-self: end; }
  .service-cart .line-issue { grid-column: 1 / -1; }
  .checkout-row { padding: 14px; grid-template-columns: 20px minmax(0, 1fr); gap: 3px 10px; }
  .checkout-row > svg { align-self: start; }
  .checkout-row .text-link { grid-column: 2; margin-block: 0 -4px; }
  .service-orders .order-heading { padding: 14px 16px; grid-template-columns: 1fr auto; gap: 7px 12px; }
  .service-orders .order-heading .order-status { grid-column: 1; grid-row: 2; }
  .service-orders .order-heading .icon { grid-column: 2; grid-row: 1 / 3; }
  .receipt-body { padding: 14px 16px 16px; }
  #panel .dialog-head { padding: 10px 12px 10px 16px; }
  #panel .dialog-body { padding: 16px; }
  .faq-list summary { padding-inline: 15px; }
  .faq-list .faq p { padding-inline: 15px; }
  .faq-list [data-customer-complaints] { margin-inline: 15px; }
}
@media(prefers-reduced-motion: reduce) {
  .service-orders .order-heading .icon { transition: none; }
}
#panel #rx-file-note { color: var(--muted); font-size: 13px; margin: 7px 0 12px; }
#panel .rx-ready-check { margin: 0 0 16px; gap: 10px; }
#panel .order-consent { align-items: flex-start; margin: 8px 0 0; }
#panel .order-consent input { flex-shrink: 0; margin-top: 3px; }

.cart-offers { margin-block: 20px; }
.cart-offers > p, .cart-offers li p { margin: 3px 0 0; color: var(--muted); font-size: 14px; }
.cart-offers ul { list-style: none; padding: 0; margin: 10px 0 0; }
.cart-offers li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-block: 10px; border-top: 1px solid var(--line); }
.cart-offers li button { flex: none; padding-inline: 10px; font-size: 13px; }
.cart-offers li button:disabled { opacity: .68; }
.offer-directory { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.offer-directory article { border: 1px solid var(--line); border-radius: var(--panel-radius); padding: 16px; }
.offer-directory h3 { margin: 0; }

.cart-offer-preview { margin-top: 12px; }
.cart-offer-preview > button { min-height: 36px; }
.cart-offer-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 14px; }
.cart-offer-row strong { display: flex; align-items: center; gap: 5px; }
.cart-offer-row button { flex: none; }
.dialog-body .cart-offers { margin-block: 0; }

@media (width > 900px) and (height >= 550px) {
  .service-cart .summary {
    position: sticky;
    inset-block-start: 16px;
    max-block-size: calc(100dvh - 32px);
    overflow-y: auto;
    scroll-padding-block: 12px;
  }
}

@media (width > 700px) and (height >= 600px) {
  .service-reading .reading-aside {
    position: sticky;
    inset-block-start: 16px;
  }
}

.hero-controls {
  border: 1px solid rgb(255 255 255 / .24);
  background: rgb(21 48 36 / .88);
}
.hero-controls [data-rotation-control] {
  position: relative;
  color: white;
  margin-inline-end: 4px;
}
.hero-controls [data-rotation-control]::after {
  position: absolute;
  content: '';
  right: -2px;
  width: 1px;
  height: 13px;
  background: rgb(255 255 255 / .32);
}
.hero-controls [hidden], .hero .play-symbol,
.hero[data-rotation="off"] .pause-symbol { display: none; }
.hero[data-rotation="off"] .play-symbol { display: initial; }
.hero-controls button:focus-visible { outline: 2px solid white; outline-offset: -3px; border-radius: 12px; }

@media (max-width: 374px) {
  .hero-copy { padding-bottom: 50px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-controls [data-rotation-control] { display: none; }
}

@media (prefers-reduced-motion: no-preference) {
  :root { --ease-arrive: cubic-bezier(.2, .75, .25, 1); }

  .hero-slide:not([inert]) picture > img {
    transform-origin: right center;
    animation: campaign-settle 1050ms var(--ease-arrive);
  }
  .hero-slide:not([inert]) .hero-copy h1,
  .hero-slide:not([inert]) .hero-copy p {
    animation: copy-arrive 500ms var(--ease-arrive) backwards;
  }
  .hero-slide:not([inert]) .hero-copy p { animation-delay: 65ms; }
  .hero-controls [data-slide] span { position: relative; overflow: hidden; }
  .hero[data-rotation="on"] [aria-pressed="true"] span { width: 23px; background: rgb(255 255 255 / .37); }
  .hero[data-rotation="on"] [aria-pressed="true"] span::after {
    content: '';
    position: absolute;
    inset: 0;
    background: white;
    border-radius: inherit;
    transform-origin: left center;
    animation: promotion-progress 8s linear forwards;
  }
  .hero[data-cycle-paused] [aria-pressed="true"] span::after,
  body:has(#panel[open]) .hero [aria-pressed="true"] span::after {
    animation-play-state: paused;
  }
  .entered-view { animation: copy-arrive 450ms var(--ease-arrive) var(--entrance-delay, 0ms) backwards; }
  .entered-view:focus-within { animation: none; }
  .search-form { transition: border-color 160ms, box-shadow 160ms; }
  .search-submit { transition: opacity 150ms; }
  .search-menu:not([hidden]), #panel[open] { animation: surface-arrive 160ms var(--ease-arrive); }
  #panel[open]::backdrop { animation: backdrop-arrive 160ms ease-out; }
  .btn, .add-button, .icon-button {
    transition: background-color 150ms ease, border-color 150ms ease, scale 130ms var(--ease-arrive);
  }
  :is(.btn, .add-button, .icon-button):not(:disabled, [aria-disabled="true"]):active { scale: .97; }

  @keyframes campaign-settle { from { transform: scale(1.025); } to { transform: scale(1); } }
  @keyframes copy-arrive { from { opacity: .72; translate: 0 10px; } to { opacity: 1; translate: 0 0; } }
  @keyframes surface-arrive { from { opacity: .82; translate: 0 5px; } to { opacity: 1; translate: 0 0; } }
  @keyframes backdrop-arrive { from { opacity: 0; } to { opacity: 1; } }
  @keyframes promotion-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .hero:hover [aria-pressed="true"] span::after { animation-play-state: paused; }
  .product-card { transition: border-color 200ms ease, box-shadow 200ms ease; }
  .product-card:is(:hover, :focus-within) {
    border-color: #b4cbb9;
    box-shadow: 0 3px 12px rgb(25 57 45 / .07);
  }
  .product-image img { transition: scale 320ms var(--ease-arrive); }
  .product-card:is(:hover, :focus-within) .product-image img { scale: 1.035; }
  :is(.campaign-link, .section-head a, .shortcut-strip > *, .directory-list a, .btn) > .icon:has(use:is([href$="#arrow-right"], [href$="#chevron-right"])) {
    transition: translate 200ms var(--ease-arrive);
  }
  :is(.campaign, .section-head a, .shortcut-strip > *, .directory-list a, .btn):is(:hover, :focus-visible) .icon:has(use:is([href$="#arrow-right"], [href$="#chevron-right"])) {
    translate: 3px 0;
  }
}

.stepper .quantity-unit {
  position: absolute;
  width: 1px;
  min-width: 0;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (prefers-reduced-motion: no-preference) {
  [data-add].cart-added .icon {
    animation: cart-check-in 220ms cubic-bezier(.2, .8, .3, 1) both;
  }

  .stepper[data-quantity-change] > span {
    --quantity-offset: 5px;
    animation: cart-number-in 190ms ease-out both;
  }

  .stepper[data-quantity-change="down"] > span { --quantity-offset: -5px; }

  @keyframes cart-check-in {
    from { opacity: .45; transform: scale(.75); }
    to { opacity: 1; transform: scale(1); }
  }

  @keyframes cart-number-in {
    from { opacity: .55; transform: translateY(var(--quantity-offset)); }
    to { opacity: 1; transform: translateY(0); }
  }
}

.hd-brand-list,
.hd-guide-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hd-brand-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-block: 1px solid var(--line);
}

.hd-brand-list li {
  min-width: 0;
}

.hd-brand-list a {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.45vw, 22px);
  height: 100%;
  padding: 14px 10px;
  color: var(--ink);
}

.hd-brand-photo {
  display: grid;
  flex: none;
  place-items: center;
  width: clamp(54px, 5.8vw, 84px);
  aspect-ratio: 1;
  padding: 6px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--soft);
  color: var(--deep);
  font-size: 1.55rem;
}

.hd-brand-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.hd-brand-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.hd-brand-copy strong {
  overflow-wrap: anywhere;
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  letter-spacing: -.035em;
}

.hd-brand-copy small,
.hd-guide-links small {
  color: var(--muted);
  font-size: .875rem;
}

.hd-guide {
  --hd-guide-surface: color-mix(in srgb, var(--paper) 23%, var(--bg));
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  border-radius: var(--radius);
  background: var(--hd-guide-surface);
}

.hd-guide-photo {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius) 0 0 var(--radius);
  background: var(--paper);
}

.hd-guide-photo img {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 47%;
}

.hd-guide-copy {
  align-self: center;
  padding: clamp(30px, 3.4vw, 55px) clamp(24px, 4.2vw, 69px);
}

.hd-guide-copy h2 {
  margin: 0 0 clamp(14px, 2vw, 26px);
  font-size: clamp(1.7rem, 2.7vw, 2.6rem);
  line-height: 1.08;
  letter-spacing: -.045em;
}

.hd-guide-copy h2 em {
  font-family: 'DM Serif Text', Georgia, serif;
  font-weight: 400;
}

.hd-guide-links li + li {
  border-top: 1px solid color-mix(in srgb, var(--paper) 50%, var(--line));
}

.hd-guide-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block: 13px;
  line-height: 1.36;
}

.hd-guide-links li:last-child a {
  padding-bottom: 0;
}

.hd-guide-links strong,
.hd-guide-links small {
  display: block;
}

.hd-guide-links small {
  margin-top: 3px;
}

@media (hover: hover) {
  .hd-brand-list a:hover strong,
  .hd-guide-links a:hover strong {
    color: var(--green);
    text-decoration: underline;
    text-underline-offset: 3px;
  }
}

@media (max-width: 719px) {
  .hd-brand-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hd-brand-list li:nth-child(n+3) {
    border-top: 1px solid var(--line);
  }
  .hd-brand-list a {
    padding: 10px 3px;
  }
  .hd-guide {
    grid-template-columns: minmax(0, 1fr);
  }
  .hd-guide-photo {
    aspect-ratio: 2 / 1;
    border-radius: var(--radius) var(--radius) 0 0;
  }
  .hd-guide-copy {
    padding: 23px 20px 27px;
  }
}

.hd-guide-photo::after {
  position: absolute;
  inset: 0 -1px 0 auto;
  width: 16%;
  background: linear-gradient(to right, transparent, var(--hd-guide-surface));
  pointer-events: none;
  content: '';
}

@media (max-width: 719px) {
  .hd-guide-photo::after {
    inset: auto 0 -1px;
    width: auto;
    height: 16%;
    background: linear-gradient(to bottom, transparent, var(--hd-guide-surface));
  }
}

/* Reserve the storefront while its live catalogue loads. */
#main:empty, #main:has(.catalogue-loading) { min-height: 100vh; }

.market-directory, .market-directory > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}
.market-directory {
  margin: 24px 0 0;
  border-block: 1px solid var(--line);
  padding: 12px 0;
}
.market-directory > strong { margin-right: 10px; font-size: 14px; }
.market-directory a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 6px 14px;
  border-radius: 30px;
  background: var(--soft);
  color: var(--deep);
  font-size: 14px;
  font-weight: 650;
}
.market-directory a:hover, .market-return:hover { background: var(--mint); }
.market-aisle { --aisle-paper: #e8ece1; margin-block-start: var(--section-gap); }
.market-aisle--devices { --aisle-paper: #e4edf0; }
.market-aisle--family { --aisle-paper: #f7e9df; }
.market-aisle--medicines { --aisle-paper: #eee9dc; }
.aisle-feature {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(250px, 24vw, 342px);
  overflow: hidden;
  border-radius: var(--panel-radius);
  background: var(--aisle-paper);
  scroll-margin-top: 12px;
}
.aisle-feature picture {
  position: absolute;
  inset: 0 0 0 40%;
  z-index: -1;
  mask-image: linear-gradient(to right, transparent, #000 25%);
}
.aisle-feature img { width: 100%; height: 100%; object-fit: cover; }
.aisle-copy { width: 46%; padding: clamp(26px, 3.5vw, 56px); }
.aisle-copy h2 { margin: 0; font-size: clamp(34px, 4.6vw, 72px); line-height: 1.03; letter-spacing: -.055em; }
.aisle-copy h2 em { font-family: 'DM Serif Text', Georgia, serif; font-weight: 400; }
.aisle-copy p { max-width: 35ch; margin: 12px 0 20px; font-size: clamp(15px, 1.2vw, 18px); color: var(--ink); }
.aisle-copy .btn { background: rgb(255 255 255 / .84); }
.aisle-copy .btn:hover { background: white; }
.market-aisle--devices .aisle-copy { grid-column: 1; justify-self: end; }
.market-aisle--devices picture { inset: 0 40% 0 0; mask-image: linear-gradient(to left, transparent, #000 25%); }
.home .market-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.market-return {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  margin-block-start: var(--section-gap);
  background: var(--soft);
  border-block: 1px solid var(--line);
  color: var(--deep);
  font-size: 14px;
  font-weight: 700;
}
.market-return .icon { transform: rotate(-90deg); }
@media (max-width: 850px) {
  .home .market-grid { gap: 12px; }
}
@media (max-width: 640px) {
  .market-directory { display: block; padding-block: 12px; margin-top: 18px; }
  .market-directory > strong { display: block; margin: 0 0 8px; }
  .market-directory > div { gap: 6px; }
  .market-directory a { padding: 4px 9px; font-size: 13px; min-height: 40px; }
  .aisle-feature {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    scroll-margin-top: 8px;
  }
  .aisle-feature picture, .market-aisle--devices picture {
    position: relative; inset: auto; z-index: 0; width: 100%;
    aspect-ratio: 2.3; mask-image: linear-gradient(to bottom, #000 76%, transparent);
  }
  .aisle-feature img { display: block; }
  .aisle-copy { width: 100%; padding: 4px 22px 24px; }
  .aisle-copy h2 { font-size: 38px; }
  .aisle-copy p { margin: 7px 0 14px; font-size: 15px; }
  .home .market-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .home :is(.market-grid--extended, .market-grid--swipe) {
    grid-template-columns: none;
    grid-auto-columns: 46%;
    grid-auto-flow: column;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
    padding-block: 3px 8px;
    scrollbar-width: thin;
    scrollbar-color: #afc6b6 var(--soft);
  }
  .home .market-grid--extended { grid-template-rows: repeat(2, auto); }
  :is(.market-grid--extended, .market-grid--swipe) .product-card { scroll-snap-align: start; }
}

.price-pairs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.price-pairs > a {
  display: flex; flex-direction: column; min-width: 0; padding: clamp(16px, 1.8vw, 26px);
  border: 1px solid var(--line); border-top: 3px solid var(--green); border-radius: 0 0 12px 12px;
}
.price-pairs h3 { margin: 0; font-size: clamp(17px, 1.45vw, 22px); line-height: 1.25; }
.price-pairs dl {
  display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 9px 6px;
  margin: 18px 0; padding-block: 12px; border-block: 1px solid var(--line); font-size: 15px;
}
.price-pairs dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.price-pairs dd small { color: var(--muted); font-weight: 400; white-space: nowrap; }
.price-pairs a > span { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; color: var(--deep); font-weight: 650; font-size: 14px; }
.price-pairs a:hover > span { text-decoration: underline; }
.home-comparisons > p { margin: 10px 0 0; font-size: 14px; }
@media (max-width: 800px) {
  .price-pairs { display: flex; overflow-x: auto; gap: 10px; padding-bottom: 6px; scroll-snap-type: x proximity; }
  .price-pairs > a { flex: 0 0 min(82%, 300px); scroll-snap-align: start; }
}
