:root {
  --paper: #FAF8F4;
  --paper-warm: #F4F1EA;
  --paper-sage: #EDEEE6;
  --surface: #FFFFFF;
  --ink: #131313;
  --ink-soft: #3A3A38;
  --ink-muted: #6E6E66;
  /* Muted text on sage and accent-soft surfaces (tinted containers rebind --ink-muted). */
  --ink-muted-tint: #5F5F58;
  --accent: #6E7A55;
  /* Text-only accent: small text on paper, warm, sage and accent-soft stays >=4.5:1.
     --accent remains for icons, borders and focus rings. */
  --accent-ink: #5C6746;
  --accent-soft: #E4E7DA;
  --line: #E5E2D9;
  --focus: #6E7A55;
  --trust-card-h: 8.75rem;
  --font-display: 'Fraunces', 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-space: clamp(4rem, 8vw, 7rem);
  --radius-card: 12px;
  --radius-pill: 999px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  color: inherit;
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  margin-bottom: 1.5rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.6rem, 4.4vw, 3.6rem);
}

h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.9rem);
}

h1 em,
h2 em {
  font-weight: 400;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-space);
}

.eyebrow {
  margin-bottom: 1.25rem;
  color: var(--accent-ink);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .14em;
  line-height: 1.4;
  text-transform: uppercase;
}

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

/* The bypass link is revealed above the sticky header while it has keyboard focus. */
.skip-link.screen-reader-text:focus {
  position: fixed;
  z-index: 1100;
  top: .75rem;
  left: .75rem;
  width: auto;
  height: auto;
  padding: .75rem 1.125rem;
  overflow: visible;
  clip: auto;
  clip-path: none;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--surface);
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.admin-bar .skip-link.screen-reader-text:focus {
  top: calc(var(--wp-admin--admin-bar--height, 32px) + .75rem);
}

/* Muted text keeps 4.5:1 on sage and accent-soft surfaces: those surfaces rebind the token. */
.how-it-works,
.faq-section,
.search-secondary-results,
.search-result[aria-selected="true"],
.search-result:hover,
.coa-help-card,
.coa-disclaimer,
.certificate-stat--cleared,
.coa-result--cleared,
.coa-verify-card__status.is-success,
.coa-history-table tr.is-current,
.contact-consent,
.contact-signin,
.support-card--accent,
.form-status--success,
.ruo-note,
.status-pill--delivered,
.account-nav__list a.is-active,
.variation-choice__input:checked + label {
  --ink-muted: var(--ink-muted-tint);
}

.image-well {
  overflow: hidden;
  background: var(--paper-warm);
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: .625rem;
  padding: .75rem 1.375rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.2;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button svg,
.text-link svg {
  width: 1.125rem;
  height: 1.125rem;
}

.button--primary {
  background: var(--ink);
  color: var(--surface);
}

.button--primary:hover {
  background: var(--accent);
}

.button--secondary {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.button--secondary:hover {
  border-color: var(--ink-muted);
  background: var(--surface);
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.icon-button {
  display: inline-grid;
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 auto;
  padding: 0;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--ink);
}

.icon-button:hover {
  color: var(--accent);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}

/* The frosted backdrop lives on a pseudo-element, NOT on .site-header itself.
   backdrop-filter (like transform and filter) makes an element a containing block
   for position:fixed descendants — and the mobile nav drawer is a descendant. With
   the blur on the header, the drawer resolved against the header's box and rendered
   as a short clipped panel instead of a full-height sheet. The header creates a
   stacking context (z-index:100), so z-index:-1 keeps this behind the header's
   content while staying inside it. */
.site-header::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: color-mix(in srgb, var(--paper) 96%, transparent);
  backdrop-filter: blur(12px);
  content: '';
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

body.nav-open .site-header::after {
  position: fixed;
  z-index: 100;
  inset: 0;
  background: rgba(19, 19, 19, .42);
  content: '';
}

.site-header__inner {
  display: flex;
  min-height: 5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  color: var(--ink);
  line-height: 1;
}

.wordmark__name {
  font-family: var(--font-display);
  font-size: 1.9rem;
  letter-spacing: -.04em;
}

.wordmark__descriptor {
  margin-top: .25rem;
  font-size: .5rem;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  transform: translateX(.15em);
}

.nav-toggle {
  position: relative;
  z-index: 102;
  margin-left: auto;
}

.primary-nav {
  position: fixed;
  z-index: 101;
  inset: 0 0 0 auto;
  width: min(88vw, 24rem);
  padding: 7rem var(--gutter) 2rem;
  overflow-y: auto;
  background: var(--surface);
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .25s ease, visibility .25s;
}

.primary-nav.is-open {
  transform: translateX(0);
  visibility: visible;
}

.primary-nav__list,
.footer-column ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav__list {
  display: grid;
  gap: 0;
}

.primary-nav__list a {
  display: block;
  padding: .9rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.2;
}

.primary-nav__mobile-actions {
  display: grid;
  gap: .75rem;
  margin-top: 2rem;
}

.primary-nav__mobile-actions .utility-link {
  min-height: 2.75rem;
}

.utility-link {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--ink-soft);
  font-size: .875rem;
}

.cart-count {
  display: inline-grid;
  min-width: 1.25rem;
  height: 1.25rem;
  padding-inline: .3rem;
  place-items: center;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--ink);
  font-size: .625rem;
  font-weight: 600;
}

.header-actions {
  display: none;
}

.hero {
  position: relative;
  padding-block: clamp(3rem, 7vw, 6.5rem) 3rem;
  background: var(--paper-warm);
}

.hero__inner {
  display: grid;
  gap: 2.75rem;
}

.hero__copy {
  align-self: center;
}

.hero__copy h1 {
  max-width: 12ch;
}

.hero__lede {
  max-width: 36rem;
  margin-bottom: 2rem;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.4vw, 1.125rem);
}

.hero__media {
  min-height: 22rem;
  /* Stacked: the photo sits below the copy, so it dissolves upward into the band.
     The side edges get a light feather too, so no edge of the photo is a hard line
     on any viewport. The bottom stays solid — the trust card covers it. */
  -webkit-mask-image:
    linear-gradient(to bottom, transparent 0, #000 22%),
    linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to bottom, transparent 0, #000 22%),
    linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-composite: intersect;
}

.hero__media img {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  object-fit: cover;
}

.trust-bar {
  position: relative;
  z-index: 2;
  /* Standalone placement (shop, where it follows the America band): ordinary
     section rhythm, top and bottom. The straddle is scoped below to the one place
     it belongs — the homepage, where this card rides up onto the hero photo. */
  margin-block: clamp(2.5rem, 6vw, 4rem);
}

.hero + .trust-bar {
  /* -3rem lands the card flush with the photo's bottom edge; the extra pull is the
     straddle. Narrow screens get a fixed 4rem — the card is a four-row stack there,
     so half its height would bury most of the photo. */
  margin-top: calc(-3rem - 4rem);
  margin-bottom: 0;
}

.trust-bar__card {
  display: grid;
  padding: .5rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.trust-item:last-child {
  border-bottom: 0;
}

.trust-item__icon {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
}

.trust-item__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.trust-item__title {
  margin-bottom: .2rem;
  font-family: var(--font-body);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.3;
}

.trust-item p {
  margin-bottom: 0;
  color: var(--ink-muted);
  font-size: .75rem;
  line-height: 1.4;
}

/* `.section` qualifies the homepage band: WooCommerce also prints a `featured` class on
 * every featured product card, which picked up this padding as a blank band. */
.featured.section {
  padding-top: calc(var(--section-space) - 1rem);
}

.section-heading {
  max-width: 47rem;
  margin-bottom: 2.5rem;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading--split {
  display: flex;
  max-width: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.section-heading--split .eyebrow {
  margin-bottom: 1rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding-block: .25rem;
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.3;
}

.text-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

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

.product-card {
  position: relative;
  container-type: inline-size;
  display: flex;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  transition: box-shadow .2s ease, transform .2s ease;
}

.product-card:hover {
  box-shadow: 0 6px 24px rgba(19, 19, 19, .06);
  transform: translateY(-1px);
}

.product-card__topline {
  position: absolute;
  z-index: 2;
  top: 1rem;
  right: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.product-card__category {
  padding: .35rem .65rem;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.product-card__wishlist {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  pointer-events: auto;
}

.product-card__wishlist svg {
  width: 1.125rem;
  height: 1.125rem;
}

.product-card__image-link {
  display: block;
  aspect-ratio: 1 / 1;
  border-bottom: 1px solid var(--line);
}

.product-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.product-card:hover .product-card__image {
  transform: scale(1.015);
}

.product-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 1.25rem;
}

.product-card__name {
  margin-bottom: .35rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: -.01em;
  line-height: 1.2;
}

.product-card__name a:hover {
  color: var(--accent);
}

.product-card__name a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
}

.product-card__descriptor {
  display: -webkit-box;
  min-height: 2.8em;
  margin-bottom: 1.25rem;
  overflow: hidden;
  color: var(--ink-muted);
  font-size: .8125rem;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-card__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.product-card__price {
  color: var(--ink);
  font-size: .9375rem;
  font-weight: 600;
}

.product-card__link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  color: var(--ink-soft);
  font-size: .75rem;
  font-weight: 600;
  white-space: nowrap;
}

.product-card__link:hover {
  color: var(--accent);
}

@container (max-width: 20rem) {
  .product-card__footer {
    align-items: flex-start;
  }

  .product-card__link {
    flex-basis: 100%;
  }
}

/* Two-up phone cards (150–185px) cannot hold the category pill, 13px letter-spaced
 * text and a 44px heart in one overlay row. The heart keeps its 44px target in the
 * image corner with a smaller visual circle; the category drops below the image as
 * a wrapping sentence-case pill; long names shrink slightly and may hyphenate. */
@container (max-width: 15.5rem) {
  .product-card .product-card__topline {
    display: contents;
  }

  .product-card .product-card__image-link {
    order: -1;
  }

  .product-card .product-card__wishlist {
    position: absolute;
    z-index: 2;
    top: .25rem;
    right: .25rem;
    border-color: transparent;
    background: transparent;
  }

  .product-card .product-card__wishlist::before {
    position: absolute;
    z-index: -1;
    inset: .375rem;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: color-mix(in srgb, var(--surface) 92%, transparent);
    content: "";
  }

  .product-card .product-card__category {
    align-self: flex-start;
    max-width: calc(100% - 2rem);
    margin: 1rem 1rem 0;
    padding: .25rem .5rem;
    letter-spacing: .01em;
    overflow-wrap: anywhere;
    text-transform: none;
  }

  .product-card .product-card__category:empty {
    display: none;
  }

  .product-card .product-card__body {
    padding: .75rem 1rem 1rem;
  }

  .product-card .product-card__name {
    font-size: 1.2rem;
    overflow-wrap: anywhere;
    hyphens: auto;
  }
}

/* Shop and category archive navigation. */
.shop-toolbar__categories {
  min-width: 0;
}

.shop-category-chips {
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  padding: .15rem 0 .35rem;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}

.shop-category-chip {
  display: inline-flex;
  min-height: 2.75rem;
  flex: 0 0 auto;
  align-items: center;
  padding: .55rem .9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--paper);
  color: var(--ink-soft);
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.shop-category-chip:hover,
.shop-category-chip.is-current {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-ink);
}

.shop-catalog .woocommerce-pagination {
  margin-top: 2.5rem;
}

.shop-catalog .woocommerce-pagination ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.shop-catalog .woocommerce-pagination li > .page-numbers {
  display: inline-flex;
  min-width: 2.75rem;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink-soft);
  font-size: .8125rem;
  font-weight: 600;
}

.shop-catalog .woocommerce-pagination li > .page-numbers.current,
.shop-catalog .woocommerce-pagination li > a.page-numbers:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-ink);
}

.tax-product_cat .product-breadcrumbs {
  padding-block: 1.25rem;
}

.tax-product_cat .product-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
  margin: 0;
  padding: 0;
  color: var(--ink-muted);
  font-size: .8125rem;
  list-style: none;
}

.tax-product_cat .product-breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

.tax-product_cat .product-breadcrumbs li + li::before {
  color: color-mix(in srgb, var(--ink-muted) 55%, transparent);
  content: "›";
}

.tax-product_cat .product-breadcrumbs a:hover {
  color: var(--accent);
}

.tax-product_cat .product-breadcrumbs [aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

@media (max-width: 639px) {
  .product-card .product-card__category,
  .product-card .product-card__variants,
  .product-card .product-card__link,
  .product-card .product-card__price,
  .product-card .sale-tag--overlay,
  .shop-toolbar .shop-toolbar__count,
  .shop-toolbar .shop-toolbar__sort label,
  .shop-toolbar .shop-toolbar__sort select,
  .shop-toolbar .shop-toolbar__assurance {
    font-size: .8125rem;
  }

  .product-card .product-card__price del {
    font-size: .875rem;
  }
}

@media (min-width: 900px) {
  .shop-toolbar__categories {
    grid-column: 1 / -1;
  }
}

.micro-trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.micro-trust__inner {
  display: grid;
  padding-block: 1.5rem;
}

.micro-trust__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  padding: .75rem;
  color: var(--ink-soft);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.micro-trust__item + .micro-trust__item {
  border-top: 1px solid var(--line);
}

.micro-trust__item svg {
  width: 1.125rem;
  height: 1.125rem;
  color: var(--accent);
}

.how-it-works {
  background: var(--paper-sage);
}

.how-it-works__intro {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.how-it-works__intro .section-heading {
  align-self: center;
  margin-bottom: 0;
}

.how-it-works__lede {
  max-width: 34rem;
  margin: 1.25rem 0 0;
  color: var(--ink-muted);
}

.how-it-works__image {
  aspect-ratio: 8 / 5;
  min-height: 15rem;
  border-radius: var(--radius-card);
}

.how-it-works__image img {
  width: 100%;
  height: 100%;
  min-height: 15rem;
  object-fit: cover;
}

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

.step {
  position: relative;
}

.step__visual {
  position: relative;
  display: inline-flex;
  margin-bottom: 1.25rem;
}

.step__icon {
  display: grid;
  width: 4.25rem;
  height: 4.25rem;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  border-radius: 50%;
  background: var(--surface);
  color: var(--accent);
}

.step__number {
  position: absolute;
  right: -.35rem;
  bottom: -.2rem;
  display: grid;
  width: 1.65rem;
  height: 1.65rem;
  place-items: center;
  border: 2px solid var(--paper-sage);
  border-radius: 50%;
  background: var(--accent);
  color: var(--surface);
  font-size: .5625rem;
  font-weight: 600;
}

.step h3,
.commitment-item h3,
.footer-column h3 {
  margin-bottom: .5rem;
  color: var(--ink);
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.35;
}

.step p,
.commitment-item p {
  max-width: 16rem;
  margin-bottom: 0;
  color: var(--ink-muted);
  font-size: .8125rem;
  line-height: 1.6;
}

.commitment {
  background: var(--paper);
}

.commitment__inner {
  display: grid;
  gap: 3.5rem;
}

.commitment__copy h2 {
  max-width: 12ch;
}

.commitment__grid {
  display: grid;
  gap: 2rem;
}

.commitment-item__icon {
  display: grid;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1.25rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent);
}

.commitment-item__icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.site-footer {
  padding-top: clamp(3.5rem, 7vw, 6rem);
  background: var(--ink);
  color: rgba(255, 255, 255, .68);
}

.newsletter {
  display: grid;
  gap: 2rem;
  padding-bottom: clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.newsletter .eyebrow {
  margin-bottom: .8rem;
  color: #B7C29F;
}

.newsletter h2 {
  margin-bottom: .75rem;
  color: var(--surface);
}

.newsletter p:last-child {
  margin-bottom: 0;
  font-size: .875rem;
}

.newsletter__form {
  display: grid;
  gap: .75rem;
  align-self: center;
}

.newsletter__controls {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.newsletter__form input[type="email"] {
  width: 100%;
  min-height: 3.25rem;
  padding: .75rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--surface);
  outline: 0;
}

.newsletter__form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, .5);
}

.newsletter__form input[type="email"]:focus-visible {
  border-color: #B7C29F;
  outline: 3px solid #B7C29F;
  outline-offset: 2px;
}

.newsletter__form .button {
  background: var(--surface);
  color: var(--ink);
}

.newsletter__form .button:hover {
  background: var(--accent-soft);
}

.newsletter__consent {
  display: grid;
  grid-template-columns: 1.125rem minmax(0, 1fr);
  align-items: center;
  gap: .65rem;
  color: rgba(255, 255, 255, .72);
}

.newsletter__consent input {
  width: 1.125rem;
  height: 1.125rem;
  margin: 0;
  accent-color: #B7C29F;
}

.newsletter__consent label {
  font-size: .75rem;
  line-height: 1.5;
}

.newsletter__consent span {
  color: #B7C29F;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 1.5rem;
  padding-block: clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.footer-column h3 {
  margin-bottom: 1rem;
  color: var(--surface);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.footer-column ul {
  display: grid;
  gap: .6rem;
}

.footer-column a {
  font-size: .8125rem;
}

.footer-column a:hover,
.legal-nav a:hover {
  color: var(--surface);
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem 1.25rem;
  padding-block: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .68);
  font-size: .8125rem;
  font-style: normal;
}

.footer-contact strong {
  color: var(--surface);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.footer-contact a:hover {
  color: var(--surface);
}

.support-contact-details {
  display: grid;
  gap: .35rem;
  margin: .5rem 0 0;
  padding: 0;
  color: var(--ink-muted);
  font-size: .8125rem;
  list-style: none;
}

.support-contact-details address {
  font-style: normal;
}

.support-contact-details a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}

.footer-bottom {
  display: grid;
  gap: 2rem;
  padding-block: 2.5rem;
  font-size: .8125rem;
  line-height: 1.6;
}

.footer-bottom__brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

.footer-bottom__brand p,
.ruo-disclaimer {
  margin-bottom: 0;
}

.wordmark--footer {
  color: var(--surface);
}

.wordmark--footer .wordmark__name {
  font-size: 1.6rem;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.ruo-disclaimer {
  max-width: 40rem;
}

@media (max-width: 639px) {
  .trust-item p {
    font-size: .875rem;
  }

  .ruo-disclaimer,
  .contact-form .contact-field__hint {
    font-size: .8125rem;
  }

  .footer-column a,
  .legal-nav a,
  .footer-contact a,
  .product-breadcrumbs a,
  .coa-breadcrumb a,
  .support-contact-details a {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
  }

  .newsletter__consent label,
  .contact-form .contact-consent label {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
  }

  .contact-form .contact-consent {
    align-items: center;
  }

  .faq-list,
  .faq-item,
  .faq-item summary {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .faq-item summary > span {
    min-width: 0;
    overflow-wrap: anywhere;
  }
}

@media (min-width: 640px) {
  .trust-bar__card {
    grid-template-columns: repeat(2, 1fr);
    padding: 1rem;
  }

  .trust-item {
    padding: 1.25rem;
    border-bottom: 0;
  }

  .trust-item:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

  .trust-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .section-heading--split {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .micro-trust__inner {
    grid-template-columns: repeat(3, 1fr);
  }

  .micro-trust__item + .micro-trust__item {
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .steps,
  .commitment__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .newsletter {
    grid-template-columns: minmax(0, 1fr) minmax(20rem, .85fr);
  }

  .newsletter__form {
    align-content: center;
  }

  .newsletter__controls {
    flex-direction: row;
  }

  .newsletter__form .button {
    flex: 0 0 auto;
  }

  .footer-links {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 900px) {
  body.nav-open {
    overflow: auto;
  }

  .site-header__inner {
    min-height: 5.5rem;
  }

  .nav-toggle,
  .primary-nav__mobile-actions {
    display: none;
  }

  .primary-nav {
    position: static;
    width: auto;
    padding: 0;
    overflow: visible;
    background: transparent;
    border: 0;
    transform: none;
    visibility: visible;
  }

  .primary-nav__list {
    display: flex;
    align-items: center;
    gap: clamp(.85rem, 1.7vw, 1.65rem);
  }

  .primary-nav__list a {
    padding: .5rem 0;
    border: 0;
    font-family: var(--font-body);
    font-size: .75rem;
    font-weight: 500;
    line-height: 1.3;
  }

  .primary-nav__list a:hover {
    color: var(--accent);
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: .2rem;
  }

  .cart-button {
    position: relative;
  }

  .cart-count--badge {
    position: absolute;
    top: .1rem;
    right: 0;
    min-width: 1rem;
    height: 1rem;
    border: 2px solid var(--paper);
    font-size: .5rem;
  }

  .button--header {
    min-height: 2.65rem;
    margin-left: .55rem;
    padding-inline: 1.15rem;
    font-size: .75rem;
  }

  .hero {
    padding-block: clamp(4.5rem, 7vw, 7rem) 3rem;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 58fr) minmax(0, 42fr);
    align-items: stretch;
    gap: clamp(2rem, 5vw, 5rem);
  }

  .hero__copy h1 {
    max-width: none;
    font-size: clamp(2.6rem, 4.6vw, 3.5rem);
  }

  .hero + .trust-bar {
    /* -3rem is flush with the photo's edge; pulling up half the card's own height
       puts exactly 50% of it over the image. */
    margin-top: calc(-3rem - var(--trust-card-h) / 2);
  }

  .trust-bar__card {
    /* Pinned so the 50% above is exact rather than content-dependent. */
    min-height: var(--trust-card-h);
    align-content: center;
  }

  .hero__media {
    min-height: 34rem;
    margin-right: calc(-1 * var(--gutter));
    /* Side-by-side: dissolve the left edge into the copy column, and soften top and
       bottom so the photo reads as light rather than as a pasted-in rectangle.
       Two gradients intersected — each one only ever subtracts opacity. */
    -webkit-mask-image:
      linear-gradient(to right, transparent 0, #000 42%),
      linear-gradient(to bottom, transparent 0, #000 16%, #000 84%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image:
      linear-gradient(to right, transparent 0, #000 42%),
      linear-gradient(to bottom, transparent 0, #000 16%, #000 84%, transparent 100%);
    mask-composite: intersect;
  }

  .hero__media img {
    min-height: 34rem;
  }

  .trust-bar__card {
    grid-template-columns: repeat(4, 1fr);
    padding: 1rem 0;
  }

  .trust-item {
    padding: 1rem clamp(.9rem, 2vw, 1.5rem);
    border-right: 1px solid var(--line);
    border-bottom: 0 !important;
  }

  .trust-item:last-child {
    border-right: 0;
  }

  .featured.section {
    padding-top: var(--section-space);
  }

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

  .how-it-works__intro {
    grid-template-columns: minmax(0, 1.2fr) minmax(20rem, .8fr);
    align-items: center;
    gap: clamp(3rem, 7vw, 7rem);
    margin-bottom: 4rem;
  }

  .how-it-works__image,
  .how-it-works__image img {
    min-height: 15rem;
  }

  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(1.5rem, 4vw, 4rem);
  }

  .step:not(:last-child)::after {
    position: absolute;
    top: 2.1rem;
    left: 5.5rem;
    width: calc(100% - 2.5rem);
    border-top: 1px dashed var(--accent);
    content: '';
    opacity: .55;
  }

  .step__visual {
    z-index: 1;
  }

  .commitment__inner {
    grid-template-columns: minmax(20rem, .9fr) minmax(0, 1.3fr);
    align-items: center;
    gap: clamp(2.5rem, 5vw, 5rem);
  }

  .commitment__copy h2 {
    max-width: none;
    font-size: clamp(1.9rem, 2.6vw, 2.3rem);
  }

  .footer-bottom {
    grid-template-columns: auto auto minmax(20rem, 1fr);
    align-items: center;
  }

  .legal-nav {
    justify-content: center;
  }

  .ruo-disclaimer {
    justify-self: end;
    text-align: right;
  }
}

@media (min-width: 1200px) {
  .hero__media {
    margin-right: calc((100vw - 1200px) / -2 - 2.5rem);
  }

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

  .commitment__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/* Global search */

body.search-open {
  overflow: hidden;
}

kbd {
  font-family: var(--font-body);
}

.search-trigger {
  position: relative;
}

.search-shortcut {
  position: absolute;
  right: .1rem;
  bottom: .05rem;
  display: grid;
  width: 1rem;
  height: 1rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: .25rem;
  background: var(--paper);
  color: var(--ink-muted);
  font-size: .5625rem;
  line-height: 1;
}

.search-trigger--mobile {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}

.search-trigger--mobile kbd {
  display: inline-grid;
  width: 1.5rem;
  height: 1.5rem;
  margin-left: auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: .3rem;
  background: var(--paper);
  color: var(--ink-muted);
  font-size: .6875rem;
}

@media (max-width: 899px) {
  .search-trigger--mobile kbd {
    display: none;
  }
}

/* A `display` value on the element outranks the UA's `[hidden] { display: none }`,
   so without this guard the panel renders open on page load. */
.search-overlay[hidden] {
  display: none;
}

.search-overlay [data-search-option][hidden],
.search-overlay [data-search-group][hidden] {
  display: none !important;
}

.search-overlay {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  padding: clamp(1rem, 4vw, 2.5rem);
  /* The panel owns the only scroll region. When this scrolled too, its scroller
     sat inside a second one and the sheet showed two scrollbars side by side. */
  overflow: hidden;
  place-items: start center;
}

.search-overlay__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(19, 19, 19, .58);
  backdrop-filter: blur(3px);
}

.search-panel {
  position: relative;
  width: min(100%, 58rem);
  max-height: calc(100vh - clamp(2rem, 8vw, 5rem));
  margin-top: clamp(1rem, 4vh, 3rem);
  padding: clamp(1.25rem, 4vw, 2.25rem);
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: 0 24px 80px rgba(19, 19, 19, .2);
}

.search-panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.search-panel__header .eyebrow {
  margin-bottom: .5rem;
}

.search-panel__header h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(1.65rem, 4vw, 2.4rem);
}

.search-panel__close {
  margin: -.5rem -.5rem 0 0;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.search-form__field {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .75rem;
  padding: .25rem .35rem .25rem 1rem;
  border: 1px solid var(--ink-muted);
  border-radius: var(--radius-pill);
  background: var(--paper);
}

.search-form__field > svg {
  width: 1.4rem;
  height: 1.4rem;
  color: var(--accent);
}

.search-form__field input {
  width: 100%;
  min-width: 0;
  padding: .65rem 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  outline: 0;
}

.search-form__field input::-webkit-search-cancel-button {
  display: none;
}

.search-form__field:focus-within {
  border-color: var(--focus);
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.search-form__field input:focus-visible {
  outline: 0;
}

.search-form__clear {
  padding: .6rem .75rem;
  border: 0;
  background: transparent;
  color: var(--ink-muted);
  font-size: .75rem;
  font-weight: 600;
}

.search-form__clear:hover {
  color: var(--accent);
}

.search-state {
  display: none;
  margin-top: 1.5rem;
}

.search-overlay--typed .search-state--typed,
.search-overlay--empty .search-state--empty,
.search-overlay--no-results .search-state--no-results {
  display: block;
}

.search-overlay__results {
  display: grid;
  gap: 1.5rem;
}

.search-result-group h3,
.search-suggestions h3 {
  margin-bottom: .65rem;
  color: var(--accent-ink);
  font-size: .625rem;
  font-weight: 600;
  letter-spacing: .14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.search-result {
  border-top: 1px solid var(--line);
}

.search-result[aria-selected="true"],
.search-result:hover {
  background: var(--accent-soft);
}

.search-result--product {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr) auto;
  align-items: center;
  gap: .25rem .75rem;
  padding: .65rem;
}

.search-result__thumb {
  width: 3.25rem;
  height: 3.25rem;
  grid-row: 1 / 3;
  overflow: hidden;
  border-radius: .5rem;
}

.search-result__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-result__body {
  display: grid;
  min-width: 0;
}

.search-result__body strong {
  min-width: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.3;
  overflow-wrap: anywhere;
  white-space: normal;
}

.search-result__body small {
  color: var(--ink-muted);
  font-size: .6875rem;
}

.search-result--product .product-card__category {
  grid-column: 2;
  justify-self: start;
}

.search-result__price {
  grid-row: 1 / 3;
  grid-column: 3;
  color: var(--ink);
  font-size: .75rem;
  font-weight: 600;
}

.search-result--link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem .75rem;
  color: var(--ink);
  font-size: .8125rem;
  font-weight: 600;
}

.search-result--link span {
  color: var(--accent-ink);
}

.search-state--empty {
  gap: 1.5rem;
}

.search-overlay--empty .search-state--empty {
  display: grid;
}

.search-chips,
.search-pathways {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.search-chips button,
.search-pathways a {
  padding: .55rem .8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--paper);
  color: var(--ink-soft);
  font-size: .75rem;
  line-height: 1.2;
}

.search-chips button:hover,
.search-pathways a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.search-state--no-results {
  padding: 1.5rem;
  background: var(--paper-warm);
  border-radius: var(--radius-card);
  text-align: center;
}

.search-state--no-results p {
  margin-bottom: 0;
  font-size: .875rem;
}

.search-state--no-results a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}

.search-panel__hint {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .3rem;
  margin: 1.25rem 0 0;
  color: var(--ink-muted);
  font-size: .625rem;
}

.search-panel__hint kbd {
  padding: .15rem .3rem;
  border: 1px solid var(--line);
  border-radius: .25rem;
  background: var(--paper);
  color: var(--ink-soft);
}

/* Full search results page */

.search-page-form {
  max-width: 44rem;
  margin-top: 1.5rem;
}

.search-page-form .shop-toolbar__search {
  background: var(--surface);
}

.search-product-results h2,
.search-secondary-results h2 {
  margin-bottom: 2rem;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
}

.search-pagination {
  margin-top: 2rem;
}

.search-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
}

.search-pagination .page-numbers {
  display: inline-flex;
  min-width: 2.75rem;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  padding: .5rem .75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--ink);
  font-size: .8125rem;
}

.search-pagination .page-numbers.current {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.search-secondary-results {
  background: var(--paper-sage);
}

.search-secondary-results__list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.search-secondary-results__list li {
  display: grid;
  grid-template-columns: minmax(7rem, .35fr) minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--line);
}

.search-secondary-results__list li > span {
  color: var(--accent-ink);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.search-secondary-results__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.125rem;
}

.search-empty {
  padding-bottom: 0;
}

.search-empty p {
  max-width: 44rem;
}

.search-recovery {
  background: var(--surface);
}

@media (min-width: 900px) {
  .search-recovery .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Shared page heroes */

.page-hero {
  padding-block: clamp(2.75rem, 6vw, 5rem);
  background: var(--paper-warm);
}

.page-hero__inner {
  display: grid;
  gap: 2rem;
}

.page-hero__copy {
  align-self: center;
}

.page-breadcrumbs {
  margin-bottom: 1rem;
  color: var(--ink-muted);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.page-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: .35rem;
  color: var(--line);
}

.page-breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.page-breadcrumbs a:hover,
.page-breadcrumbs a:focus-visible {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: .2em;
}

.page-hero__copy h1 {
  max-width: 17ch;
}

.page-hero__lede {
  max-width: 40rem;
  margin-bottom: 0;
  font-size: clamp(1rem, 1.4vw, 1.125rem);
}

.page-hero__media {
  min-height: 15rem;
  /* Stacked: feather all four edges into the band. No border-radius — the edges
     dissolve, so a corner radius would have nothing to round. */
  -webkit-mask-image:
    linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%),
    linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%),
    linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-composite: intersect;
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  min-height: 15rem;
  object-fit: cover;
}

.page-hero--compact {
  padding-block: clamp(2rem, 4vw, 3.5rem);
}

.page-hero--shop .page-hero__copy h1 {
  max-width: 30ch;
  font-size: clamp(2.3rem, 3.6vw, 3.2rem);
}

.page-hero--shop .page-hero__copy h1 em {
  /* 41 characters — needs a smaller size than the roman line to stay unbroken. */
  font-size: .6em;
}

.page-hero--compact .page-hero__copy h1 {
  margin-bottom: .75rem;
}

.page-hero--account-endpoint {
  padding-block: clamp(1.5rem, 3vw, 2.25rem);
}

.page-hero--account-endpoint .page-hero__inner {
  display: block;
}

.page-hero--account-endpoint .page-hero__copy h1 {
  max-width: 24ch;
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3rem);
}

@media (min-width: 700px) {
  .page-hero__inner {
    grid-template-columns: minmax(0, 58fr) minmax(16rem, 42fr);
    align-items: stretch;
    gap: clamp(1.5rem, 4vw, 3rem);
  }

  .page-hero__media,
  .page-hero__media img {
    min-height: 18rem;
  }

  .page-hero__media {
    -webkit-mask-image:
      linear-gradient(to right, transparent 0, #000 28%, #000 94%, transparent 100%),
      linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image:
      linear-gradient(to right, transparent 0, #000 28%, #000 94%, transparent 100%),
      linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%);
    mask-composite: intersect;
  }

  .page-hero--compact .page-hero__media,
  .page-hero--compact .page-hero__media img {
    min-height: 13rem;
    max-height: 15rem;
  }
}

@media (min-width: 700px) and (max-width: 899px) {
  .hero__copy {
    width: min(100%, 38rem);
    margin-inline: auto;
    text-align: center;
  }

  .hero__lede {
    margin-inline: auto;
  }

  .hero__copy .button-group {
    justify-content: center;
  }
}

/* Made and tested in America: the quality band now lives in the dated
   "Origin seal and quality band variants" section at the end of this file. */

/* The zero top padding exists so the footer-proof strip can sit flush against the
   footer's top edge — but pages that carry the full Made-in-America band drop that
   strip, and there the newsletter needs its padding back. Scope it to footers that
   actually contain the strip. */
.site-footer:has(.footer-proof) {
  padding-top: 0;
}

.footer-proof {
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .035);
}

.footer-proof__grid {
  display: grid;
}

.footer-proof__item {
  display: grid;
  grid-template-columns: 1.5rem minmax(0, 1fr);
  gap: .75rem;
  padding-block: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.footer-proof__item:last-child {
  border-bottom: 0;
}

.footer-proof__item > svg {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: .1rem;
  color: #B7C29F;
}

.footer-proof__item h2 {
  margin-bottom: .3rem;
  color: var(--surface);
  font-family: var(--font-body);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.footer-proof__item p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, .58);
  font-size: .625rem;
  line-height: 1.55;
}

.footer-proof + .container {
  padding-top: clamp(3.5rem, 7vw, 6rem);
}

@media (min-width: 640px) {
  .search-result--product {
    grid-template-columns: 3.25rem minmax(0, 1fr) auto auto;
    gap: .75rem;
  }

  .search-result__thumb,
  .search-result__price {
    grid-row: auto;
  }

  .search-result--product .product-card__category {
    grid-column: auto;
  }

  .search-result__price {
    grid-column: auto;
  }

  .search-state--empty {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-proof__grid,
  .account-stats,
  .account-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-proof__item {
    padding-inline: 1.25rem;
    border-right: 1px solid rgba(255, 255, 255, .12);
  }

  .footer-proof__item:nth-child(2n) {
    border-right: 0;
  }

  .footer-proof__item:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

}

@media (min-width: 900px) {
  .search-panel {
    padding: 2.25rem;
  }

  .search-overlay__results {
    grid-template-columns: minmax(0, 1.7fr) repeat(2, minmax(0, .8fr));
    align-items: start;
    gap: 1.75rem;
  }

  .search-overlay__results--single {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-hero__inner {
    grid-template-columns: minmax(0, 58fr) minmax(20rem, 42fr);
    align-items: stretch;
    gap: clamp(2rem, 5vw, 5rem);
  }

  .page-hero__media,
  .page-hero__media img {
    min-height: 24rem;
  }

  .page-hero__media {
    /* Side-by-side: bias the fade toward the copy column, as the homepage does,
       while keeping the remaining edges soft. */
    -webkit-mask-image:
      linear-gradient(to right, transparent 0, #000 34%, #000 94%, transparent 100%),
      linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image:
      linear-gradient(to right, transparent 0, #000 34%, #000 94%, transparent 100%),
      linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%);
    mask-composite: intersect;
  }

  .page-hero--compact .page-hero__inner {
    grid-template-columns: minmax(0, 1.2fr) minmax(18rem, .8fr);
  }

  .page-hero--compact .page-hero__media,
  .page-hero--compact .page-hero__media img {
    min-height: 14rem;
    max-height: 16rem;
  }

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

  .footer-proof__item,
  .footer-proof__item:nth-child(2n) {
    padding: 1.25rem clamp(.8rem, 1.5vw, 1.25rem);
    border-right: 1px solid rgba(255, 255, 255, .12);
    border-bottom: 0;
  }

  .footer-proof__item:first-child {
    padding-left: 0;
  }

  .footer-proof__item:last-child {
    padding-right: 0;
    border-right: 0;
  }

}
/* How-it-works steps: on narrow screens the desktop 4-across layout collapses to
   four stranded circles with dead space beside each. A left icon rail with the copy
   alongside reads as an ordered sequence, and the connector returns the progression
   the dashed arrows give at desktop. */
@media (max-width: 899px) {
  .steps {
    gap: 0;
  }

  .step {
    display: grid;
    grid-template-columns: 4.25rem minmax(0, 1fr);
    column-gap: 1.25rem;
    padding-bottom: 2.25rem;
  }

  .step:last-child {
    padding-bottom: 0;
  }

  .step__visual {
    grid-row: 1 / span 2;
    margin-bottom: 0;
  }

  .step:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 4.9rem;
    bottom: .4rem;
    left: 2.125rem;
    border-left: 1px dashed color-mix(in srgb, var(--accent) 38%, transparent);
  }

  .step h3 {
    align-self: center;
    margin-bottom: .35rem;
  }

  .step p {
    margin-bottom: 0;
  }
}

/* Global search on a phone.
   A floating card with its own scroller reads badly on a small screen, so the
   panel becomes a full-screen sheet: the title and input stay put and only the
   results scroll. */
@media (max-width: 639px) {
  .search-overlay {
    padding: 0;
    place-items: stretch;
  }

  .search-panel {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    max-height: none;
    margin-top: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .search-panel__header,
  .search-form {
    flex: none;
  }

  .search-state {
    /* min-height:0 lets a flex child actually shrink so its own scroller works. */
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    margin-inline: calc(-1 * clamp(1.25rem, 4vw, 2.25rem));
    padding-inline: clamp(1.25rem, 4vw, 2.25rem);
  }

  .search-panel__hint {
    display: none;
  }
}


/* ---------------------------------------------------------------------------
 * Appended 2026-08-25 (audit-01). CSS is append-only; nothing above was edited.
 *
 * 1. Icons rendered through the core Icon API lose their root stroke/fill
 *    attributes to the sanitiser. Restore the line-art treatment for
 *    block-rendered `vow/*` icons. Front-end template icons are inlined directly
 *    by vow_icon() and never pass through the sanitiser.
 * 2. Warning tokens are shared by COA (endotoxin failed) and Contact (field
 *    errors); declared globally so a page loading only contact.css resolves them.
 *    Values duplicated from coa.css, which still declares them for itself.
 * ------------------------------------------------------------------------- */
.wp-block-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

:root {
  --warning: #8A2D24;
  --warning-soft: #F9E7E4;
  --warning-line: #DFA9A2;
}

/* Appended 2026-08-25 (audit-02 F6): the cart badge is server-rendered empty and
 * hydrated client-side; an empty badge must not paint as a bare pill. */
.cart-count:empty {
  display: none;
}

/* ---------------------------------------------------------------------------
 * Appended 2026-08-25 (design review 02, Sol). Overrides only; rules above are
 * untouched. Each item cites the review finding.
 * ------------------------------------------------------------------------- */
/* Hero: copy 48% / image 52% per BRIEF.md; headline at the authored display scale. */
@media (min-width: 900px) {
  .hero__inner {
    grid-template-columns: minmax(0, 48fr) minmax(0, 52fr);
  }

  .hero__copy h1 {
    font-size: clamp(2.6rem, 5.2vw, 4.2rem);
  }
}

/* Strength line on product cards reads as compact metadata, not body copy. */
.product-card__variants {
  margin: -.75rem 0 1rem;
  color: var(--ink-muted);
  font-size: .75rem;
  line-height: 1.4;
}

/* How-it-works at 640–899px: one ordered rail, not two competing columns. */
@media (max-width: 899px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------------------------------
 * Appended 2026-08-25 (Stage 1 cleanup). Existing rules remain untouched.
 * ------------------------------------------------------------------------- */
.announcement-bar {
  padding: .5rem var(--gutter);
  border-bottom: 1px solid var(--line);
  background: var(--paper-sage);
  color: var(--accent-ink);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .14em;
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;
}

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

.newsletter__status {
  grid-column: 1 / -1;
  margin-top: 0;
  font-size: .875rem;
}

.newsletter__form.is-success input[type="email"] {
  border-color: var(--accent);
}

.newsletter__form.is-success + .newsletter__status {
  color: var(--accent-soft);
}

.newsletter__form.is-error input[type="email"] {
  border-color: var(--warning);
}

.newsletter__form.is-error + .newsletter__status {
  color: var(--warning-line);
}

@media (min-width: 640px) {
  .newsletter__status {
    grid-column: 2;
  }
}

/* Appended 2026-08-25 (audit-03 F20/F21): global WooCommerce notices. Page-level
 * copies remain under the append-only policy; this is the shared fallback everywhere. */
.woocommerce-notices-wrapper {
  padding-top: 1rem;
}

.woocommerce-notices-wrapper:empty {
  padding: 0;
}

.notice {
  margin: 0 0 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: .625rem;
  background: var(--surface);
  color: var(--ink-soft);
  font-size: .8125rem;
  line-height: 1.55;
  list-style: none;
}

.notice--error {
  border-left-color: var(--warning);
  background: var(--warning-soft);
}

.notice a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: .18em;
}

/* Editor pages with blocks (audit 12 B2): plain content sits in the column; the quality band
   blocks stay full-bleed like their home/shop counterparts. */
.entry-content {
  padding-block: var(--section-space, 4rem) 0;
}
.entry-content > :not(.wp-block-vow-quality-band):not(.wp-block-vow-trust-bar):not(.wp-block-vow-faq) {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.entry-content > .wp-block-vow-product-grid {
  padding-block: 0 var(--section-space, 4rem);
}
.entry-content > .wp-block-vow-quality-band,
.entry-content > .wp-block-vow-trust-bar,
.entry-content > .wp-block-vow-faq {
  margin-top: var(--section-space, 4rem);
}

/* Sitemap page template */

.sitemap-page {
  background: var(--paper);
}

.sitemap-grid {
  display: grid;
  gap: 1.25rem;
}

.sitemap-section {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: .75rem;
  background: var(--surface);
}

.sitemap-section h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

.sitemap-section ul {
  display: grid;
  gap: .6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sitemap-section a {
  color: var(--ink-soft);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: .2em;
}

.sitemap-section a:hover,
.sitemap-section a:focus-visible {
  color: var(--accent);
  text-decoration-color: currentColor;
}

@media (min-width: 700px) {
  .sitemap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------------------------------------------------------------------------
 * Appended 2026-08-26 after the first production staging check. Override only.
 * Hero ↔ trust-card straddle: the card rides half its own height up onto the
 * photo (`.hero + .trust-bar`), but the copy column was centred in the FULL
 * row, so once the display h1 (design review 02) reaches three lines — every
 * viewport ≥ ~1300px — the CTAs slid under the card (21px at 1440/1720, 6px
 * clearance at 1024). Reserve the half-card zone plus breathing room at the
 * bottom of the copy column; the copy then centres in the space above the
 * card, and a taller copy grows the row (and the stretched photo) instead of
 * colliding. Stacked layouts (< 900px) place the card below the photo and are
 * untouched.
 * ------------------------------------------------------------------------- */
@media (min-width: 900px) {
  .hero__copy {
    padding-bottom: calc(var(--trust-card-h) / 2 + 2rem);
  }
}

/* Appended 2026-08-28 (Jon: "the header moves down when it should stay static"): the
 * sticky header pinned to top:0, which is underneath WordPress's fixed admin bar, so a
 * logged-in scroll slid the top 32px of the header behind it. Offset by the bar's
 * height for anyone who sees one; visitors are unaffected. WordPress puts the bar at
 * 32px, 46px below 783px, and un-fixes it under 601px. */
.admin-bar .site-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

@media screen and (max-width: 600px) {
  .admin-bar .site-header {
    top: 0;
  }
}

/* Appended 2026-08-28 (sale pricing): one compact badge language across cards and
 * product buy cards, plus a same-variation sale pair in the card footer. */
.sale-tag {
  display: inline-flex;
  align-items: center;
  min-height: 1.55rem;
  padding: .3rem .65rem;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--surface);
  font-family: var(--font-body);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .14em;
  line-height: 1;
  text-transform: uppercase;
}

.sale-tag[hidden] {
  display: none;
}

.product-card__badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .4rem;
}

.product-card__price {
  font-family: var(--font-display);
  font-variant-numeric: lining-nums tabular-nums;
  white-space: nowrap;
}

.product-card__price del {
  color: var(--ink-muted);
  font-size: .82em;
  font-weight: 400;
  text-decoration-thickness: 1px;
}

.product-card__price ins {
  color: var(--ink);
  text-decoration: none;
}

/* Appended 2026-08-28 (audit 18): the card Sale tag now belongs to the image-well,
 * below the single-line category/heart overlay. */
.product-card__image-link {
  position: relative;
}

.product-card__image-link .sale-tag--overlay {
  position: absolute;
  z-index: 1;
  top: 3.75rem;
  left: 1rem;
  pointer-events: none;
}

/* Appended 2026-08-28 (audit 18 D1b): keep the tag clear of the product artwork. */
.product-card__image-link .sale-tag--overlay {
  right: 1rem;
  left: auto;
}

/* Appended 2026-09-01 (reusability audit): an intrinsic image plus a fixed
 * minimum height can enlarge an implicit mobile grid track beyond the viewport.
 * Bound stacked image layouts to one shrinkable column so copy and art never clip. */
@media (max-width: 899px) {
  .hero__inner,
  .how-it-works__intro {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__copy,
  .hero__media,
  .page-hero__copy,
  .page-hero__media,
  .how-it-works__image {
    min-width: 0;
  }

  .how-it-works__image {
    width: 100%;
    max-width: 100%;
  }
}

/* Research declarations and requested availability alerts. */
.vow-qualification,
.vow-restock-panel {
  min-width: 0;
  margin-block: 1.5rem;
  padding: 1.25rem;
  border: 1px solid var(--line, #ddd9cf);
  border-radius: .5rem;
  background: var(--paper, #faf9f5);
  color: var(--ink, #191919);
}
.vow-qualification legend,
.vow-restock-panel h2 { font-size: 1.125rem; font-weight: 600; }
.vow-qualification p,
.vow-restock-panel p { margin-block: .75rem; line-height: 1.5; }
.vow-qualification label,
.vow-restock-panel label { display: block; }
.vow-qualification input:not([type="checkbox"]),
.vow-qualification select,
.vow-restock-panel input[type="email"],
.vow-restock-panel select {
  display: block;
  width: 100%;
  max-width: 32rem;
  min-height: 44px;
  margin-top: .375rem;
  padding: .625rem .75rem;
  border: 1px solid var(--ink-muted, #76766c);
  border-radius: .25rem;
  background: var(--surface, #fff);
  color: inherit;
  font: inherit;
}
.vow-qualification input[type="checkbox"],
.vow-restock-panel input[type="checkbox"] { margin-right: .375rem; }
.vow-qualification :focus-visible,
.vow-restock-panel :focus-visible { outline: 2px solid var(--accent, #536340); outline-offset: 3px; }
.vow-qualification small { display: block; margin-top: .375rem; }
.vow-policy-text { overflow-wrap: anywhere; }
.vow-restock-panel .button { min-height: 44px; white-space: normal; }

/* Origin seal and quality band variants (2026-09-29)
   One band per page (template-parts/quality-proof.php). `--full` is the home showcase:
   centred heading, the origin seal between guilloché waves, numbered facts, a call to
   action. `--compact` is every other page: seal, heading and one line, link. The seal,
   waves and strips print only while the store's origin seal is on (inc/seal.php); both
   variants stand on their own without them. The seal's halo is a border, so it survives
   forced-colors mode; the SVG art is currentColor. */

.quality-proof {
  --quality-proof-bg: var(--paper-sage);
  --ink-muted: var(--ink-muted-tint);
  position: relative;
  overflow: hidden;
  background: var(--quality-proof-bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quality-proof__lede {
  max-width: 36rem;
  margin: .875rem 0 0;
  color: var(--ink-soft);
  font-size: .9375rem;
  line-height: 1.6;
}

/* Full variant */

.quality-proof--full .quality-proof__head {
  max-width: calc(47.5rem + 2 * var(--gutter));
  text-align: center;
}

.quality-proof--full h2 {
  margin-bottom: 0;
  font-size: clamp(2.125rem, 3.6vw, 3.125rem);
}

.quality-proof--full .quality-proof__lede {
  margin-inline: auto;
}

.quality-proof__stage {
  position: relative;
  display: grid;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  padding-block: .875rem;
  place-items: center;
}

.quality-proof__waves {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 170px;
  color: var(--ink-soft);
  opacity: .42;
  pointer-events: none;
  transform: translateY(-50%);
}

.quality-proof__facts {
  display: grid;
  margin-top: clamp(1.75rem, 3.5vw, 2.75rem);
}

.quality-proof__fact {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: .375rem;
  padding: 1.125rem 0 1.25rem;
  border-top: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
}

.quality-proof__number {
  color: var(--accent-ink);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.1;
}

.quality-proof__fact h3 {
  margin: 0 0 .25rem;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.35;
}

.quality-proof__fact p {
  margin: 0;
  color: var(--ink-muted);
  font-size: .84375rem;
  line-height: 1.55;
}

/* The shared secondary border (--line) nearly vanishes on sage. */
.quality-proof .button--secondary {
  border-color: color-mix(in srgb, var(--ink) 20%, transparent);
}

.quality-proof--full .quality-proof__cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(.75rem, 3vw, 2.75rem);
}

/* Compact variant */

.quality-proof--compact {
  padding-block: clamp(3.5rem, 7vw, 4.5rem);
}

.quality-proof--compact.has-seal {
  padding-block: clamp(4.5rem, 8vw, 5.5rem);
}

/* The guilloché strips edge the compact band with a seal, so it drops its borders.
   Outranks product.css's `.product-page .quality-proof` top border. */
section.quality-proof--compact.has-seal {
  border-block: 0;
}

.quality-proof__compact {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.quality-proof__compact .eyebrow {
  margin-bottom: 1rem;
}

.quality-proof__compact h2 {
  margin-bottom: 0;
  font-size: clamp(1.875rem, 2.8vw, 2.375rem);
  line-height: 1.1;
}

.quality-proof__seal {
  display: flex;
  justify-content: center;
}

/* Phones: the seal sits above the copy, the stack centred on it. */
.has-seal .quality-proof__compact {
  text-align: center;
}

.has-seal .quality-proof__compact .quality-proof__lede {
  margin-inline: auto;
}

/* The pattern alone, with no bounding rules. */
.quality-proof__strip {
  position: absolute;
  right: 0;
  left: 0;
  display: block;
  color: var(--ink-soft);
  pointer-events: none;
}

.quality-proof__strip svg {
  display: block;
  width: 100%;
  height: 18px;
  opacity: .42;
}

.quality-proof__strip--top {
  top: .875rem;
}

.quality-proof__strip--bottom {
  bottom: .875rem;
}

/* Seal: a halo ring on the band colour, so the waves stop at its edge. */

.origin-seal {
  --seal-size: 15rem;
  --seal-halo: .75rem;
  position: relative;
  z-index: 1;
  display: grid;
  width: calc(var(--seal-size) + 2 * var(--seal-halo));
  height: calc(var(--seal-size) + 2 * var(--seal-halo));
  flex: none;
  padding: calc(var(--seal-halo) - 1px);
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--ink) 20%, transparent);
  border-radius: 50%;
  background: var(--quality-proof-bg, var(--paper-sage));
  color: var(--ink);
}

.origin-seal--compact {
  --seal-size: 11.25rem;
}

.origin-seal__art {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.origin-seal__ring {
  fill: currentColor;
  font-family: var(--font-body);
  font-weight: 600;
}

.origin-seal__name {
  fill: currentColor;
  font-family: var(--font-display);
}

@media (min-width: 640px) {
  .origin-seal--full {
    --seal-size: 17.5rem;
    --seal-halo: 1rem;
  }

  .quality-proof__facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 2rem;
  }

  .quality-proof--compact.has-seal .quality-proof__compact {
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: clamp(2rem, 5vw, 3.5rem);
    row-gap: 1.25rem;
    text-align: left;
  }

  .has-seal .quality-proof__seal {
    grid-row: span 2;
  }

  .has-seal .quality-proof__compact .quality-proof__lede {
    margin-inline: 0;
  }

  .has-seal .quality-proof__compact .quality-proof__cta {
    grid-column: 2;
  }
}

@media (min-width: 900px) {
  .quality-proof__facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 0;
    border-top: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  }

  .quality-proof__fact {
    display: block;
    padding: 1.625rem 1.75rem 0 0;
    border-top: 0;
  }

  .quality-proof__number {
    display: block;
    margin-bottom: .75rem;
    font-size: 1.375rem;
    line-height: 1;
  }

  .quality-proof__fact h3 {
    margin-bottom: .375rem;
  }

  .quality-proof--compact:not(.has-seal) .quality-proof__compact {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 3.5rem;
  }
}

@media (min-width: 1100px) {
  .origin-seal--compact {
    --seal-size: 12.5rem;
  }

  .quality-proof--compact.has-seal .quality-proof__compact {
    grid-template-columns: auto minmax(0, 1fr) auto;
    column-gap: 3.5rem;
  }

  .has-seal .quality-proof__seal {
    grid-row: auto;
  }

  .has-seal .quality-proof__compact .quality-proof__cta {
    grid-column: auto;
  }
}

@media (forced-colors: active) {
  .origin-seal,
  .quality-proof__strip,
  .quality-proof__waves {
    color: CanvasText;
  }

  .origin-seal {
    background: Canvas;
  }
}

/* Origin marks: tags, cards, announcement (2026-09-29) */
/* Settings: RUO Store → Site → Product cards and origin marks (dev/briefs/made-in-usa.md).
 * Every tag is a pill whose 1px border survives forced-colors mode; the star glyph fills
 * with currentColor. With the defaults nothing here shows a star or a card mark. */
.origin-glyph {
  display: block;
  flex: none;
  width: .7em;
  height: .7em;
}

/* Origin tag: the product gallery's pill overlay (product.css `.product-gallery__origin`),
 * shared by the certificate strip and product-card tags. */
.origin-tag {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  padding: .45rem .75rem;
  border: 1px solid color-mix(in srgb, var(--accent) 25%, var(--line));
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  color: var(--accent-ink);
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.3;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.origin-tag .origin-glyph {
  width: .75em;
  height: .75em;
}

/* Announcement bar items. The bar keeps its sage strip (Stage 1 rule above). Later
 * items lead with their separator, so a wrapped line never ends on one. */
.announcement-bar__text {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .125rem .875rem;
  max-width: var(--container);
  margin: 0 auto;
}

.announcement-bar__item {
  display: inline-flex;
  align-items: center;
  gap: .875rem;
  min-width: 0;
}

.announcement-bar__sep {
  display: inline-flex;
  flex: none;
  align-items: center;
}

.announcement-bar__sep .origin-glyph {
  width: 7px;
  height: 7px;
}

/* Phones: two items rarely fit on one line, and a wrapped line would open on its
 * separator. Stack the items instead and drop the separators. */
@media (max-width: 639px) {
  .announcement-bar__text {
    flex-direction: column;
  }

  .announcement-bar__sep {
    display: none;
  }
}

/* Product-card origin mark (Site → Product-card origin mark; off by default): a pill tag
 * or a round star mark at the bottom-left of the photo, clear of the category pill, heart
 * and Sale tag at the top. */
.product-card__image-link .card-origin {
  position: absolute;
  z-index: 1;
  bottom: 1rem;
  left: 1rem;
  max-width: calc(100% - 2rem);
  pointer-events: none;
}

.product-card__image-link .card-origin__star {
  display: none;
}

.product-card__image-link .card-origin--glyph .card-origin__star {
  display: block;
}

.product-card__image-link .card-origin--mark {
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
}

.product-card__image-link .card-origin--mark .origin-glyph {
  width: .75rem;
  height: .75rem;
}

/* A two-up phone card cannot hold the text tag on one line at the 12px floor, and two
 * lines would cover the product. There the tag becomes the star mark; its text stays
 * in the markup for screen readers. */
@container (max-width: 15.5rem) {
  .product-card__image-link .card-origin {
    bottom: .75rem;
    left: .75rem;
    max-width: calc(100% - 1.5rem);
  }

  .product-card__image-link .card-origin--tag {
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    padding: 0;
  }

  .product-card__image-link .card-origin--tag .card-origin__star {
    display: block;
    width: .75rem;
    height: .75rem;
  }

  .product-card__image-link .card-origin--tag .card-origin__text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }
}

/* Product-card category pill and heart (Site → Product cards and origin marks; both on
 * by default). A card without its heart (the setting, or the Wishlist module off)
 * carries .product-card--no-wishlist from PHP, and its Sale
 * tag moves up into the heart's top-right corner at the heart's inset. */
.product-card__topline .product-card__wishlist {
  margin-inline-start: auto;
}

.product-card--no-wishlist .product-card__image-link .sale-tag--overlay {
  top: 1rem;
}

/* The category pill now shares that row with the Sale tag: keep it clear of the tag. */
.product-card--no-wishlist.sale .product-card__category {
  max-width: calc(100% - 4.5rem);
}

/* Two-up phone cards: the heart's visible circle sat .625rem in from the corner; the
 * category pill has dropped below the photo, so it needs no room beside the tag. */
@container (max-width: 15.5rem) {
  .product-card--no-wishlist .product-card__image-link .sale-tag--overlay {
    top: .625rem;
    right: .625rem;
  }

  .product-card--no-wishlist.sale .product-card__category {
    max-width: calc(100% - 2rem);
  }
}
