@font-face {
  font-family: 'Kalice';
  src: url('kalice-medium.woff') format('woff'), url('kalice-medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-bg: #f5f5f5;
  --color-ink: #363332;
  --color-border: #d7d5d0;
  --color-border-strong: #72716e;
  --color-surface: #eeeeee;
  --color-surface-selected: #e0e0e0;
  --color-accent: #fecc35;
  --color-dark: #1c221b;
  --font-body: 'Suisse Intl', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-heading: 'Kalice', Georgia, 'Times New Roman', serif;
  --font-mono: 'Spline Sans Mono', 'SF Mono', Menlo, monospace;
  --page-max: 1440px;
}

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

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

h1, h2, h3, h4, p {
  margin: 0;
  font-weight: inherit;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
}

.page-width {
  max-width: var(--page-max);
  margin: 0 auto;
}

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

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: 24px 32px;
  max-width: var(--page-max);
  margin: 0 auto;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 15px;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.site-header__nav a:hover {
  opacity: 0.6;
}

.site-header__logo {
  display: block;
}

.site-header__logo img,
.site-header__logo svg {
  height: 26px;
  width: auto;
}

.site-header__cart-count {
  opacity: 0.5;
}

.site-header__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  order: 3;
  margin-right: -10px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--color-ink);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  border-bottom: 1px solid var(--color-border);
  padding: 8px 16px 20px;
  font-size: 16px;
}

.mobile-nav a {
  padding: 10px 0;
}

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

.btn-dark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 48px;
  padding: 14px 48px;
  background: var(--color-ink);
  color: #fff;
  border: 0;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
}

.btn-dark:hover {
  background: #262322;
}

.btn-dark .btn-dark__sep {
  font-weight: 400;
}

.btn-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 40px;
  padding: 14px 48px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.2);
  color: var(--color-ink);
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
}

.btn-outline:hover {
  border-color: rgba(0, 0, 0, 0.45);
}

/* ---------------- Product page layout ---------------- */

.product-page {
  padding: 32px;
  max-width: var(--page-max);
  margin: 0 auto;
}

.product-page__grid {
  display: grid;
  grid-template-columns: minmax(0, 658px) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

@media (min-width: 1200px) {
  .product-page__grid {
    padding-right: 100px;
  }
}

@media (max-width: 989px) {
  .product-page {
    padding: 20px 16px;
  }
  .product-page__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ---------------- Gallery ---------------- */

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-gallery__main {
  position: relative;
  background: var(--color-surface);
  border-radius: 12px;
  aspect-ratio: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-gallery__main {
  cursor: zoom-in;
}

/* Shorter hero image on desktop so the thumbnails sit above the fold */
@media (min-width: 990px) {
  .product-gallery__main {
    aspect-ratio: 4 / 3;
  }
}

.product-gallery__main img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
}

/* Lightbox */

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(28, 34, 27, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  padding: 24px;
}

.gallery-lightbox img {
  max-width: 92vw;
  max-height: 92vh;
  width: auto;
  height: auto;
  object-fit: contain;
  background: #fff;
}

.gallery-lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  color: #fff;
  font-size: 32px;
  line-height: 1;
}

body.lightbox-open {
  overflow: hidden;
}

.product-gallery__thumbs {
  display: flex;
  gap: 12px;
}

.product-gallery__thumb {
  flex: 0 0 calc((100% - 48px) / 5);
  min-width: 1px;
  aspect-ratio: 1;
  border: 1.4px solid transparent;
  border-radius: 4px;
  background: var(--color-surface);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-gallery__thumb img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  opacity: 0.5;
}

.product-gallery__thumb.is-active {
  background: var(--color-surface);
  border-color: #000;
}

.product-gallery__thumb.is-active img {
  opacity: 1;
}

/* No thumbnails to switch between: hide the row.
   Desktop: single image (COA thumb is desktop-hidden anyway).
   Mobile: single image AND no COA thumb. */
@media (min-width: 750px) {
  .product-gallery__thumbs--solo {
    display: none;
  }
}

@media (max-width: 749px) {
  .product-gallery__thumbs--solo.product-gallery__thumbs--no-coa {
    display: none;
  }
}

.product-gallery__thumb--coa {
  display: none;
  background: #fff;
}

.product-gallery__thumb--coa img {
  width: auto;
  height: auto;
  max-width: 78%;
  max-height: 78%;
  object-fit: contain;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.product-gallery__main.is-coa {
  background: #fff;
  border: 1px solid var(--color-border);
}

.product-gallery__main.is-coa img {
  width: 72%;
  height: auto;
  max-height: 88%;
  object-fit: contain;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.product-gallery__coa {
  background: var(--color-surface);
  border-radius: 12px;
  aspect-ratio: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-gallery__coa img {
  width: 65%;
  height: auto;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.12);
}


/* ---------------- Buy column ---------------- */

.product-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 638px;
}

.product-info__intro {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-info__title {
  font-size: 36px;
  line-height: 48px;
  font-weight: 500;
  letter-spacing: -0.36px;
}

.product-info__subtitle {
  display: flex;
  gap: 8px;
  font-size: 16px;
  margin-top: 6px;
}

.product-info__subtitle .sep {
  opacity: 0.5;
}

.product-info__summary {
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.14px;
  color: #666;
}

.product-info__buy {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-info__price {
  font-size: 32px;
}

/* Variant cards (quantity selector) */

.variant-cards {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 2px;
}

.variant-card {
  position: relative;
  flex: 1 1 0;
  min-width: 100px;
  max-width: 150px;
  height: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px 8px;
  border: 1px solid rgba(51, 51, 51, 0.2);
  background: transparent;
  color: var(--color-ink);
  font-size: 16px;
  font-family: inherit;
}

.variant-card:hover {
  border-color: rgba(51, 51, 51, 0.45);
}

.variant-card.is-selected {
  border-color: var(--color-ink);
  background: var(--color-surface-selected);
}

.variant-card[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}

.variant-card__label {
  color: #333;
}

.variant-card__price {
  color: #000;
}

.variant-card__badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: #3f6529;
  color: #fffef7;
  font-size: 11px;
  line-height: normal;
  padding: 1px 4px;
  white-space: nowrap;
}

.variant-card__badge--deal {
  top: auto;
  bottom: -1px;
  background: #afc1a4;
  color: #333;
}

/* Variant tier rows */

.variant-tiers {
  display: flex;
  flex-direction: column;
}

.variant-tier {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px;
  border: 0;
  border-bottom: 1px solid var(--color-border);
  background: transparent;
  text-align: left;
  font-size: 16px;
  color: var(--color-ink);
}

.variant-tier:last-child {
  border-bottom: 0;
}

.variant-tier.is-selected {
  background: var(--color-surface-selected);
}

.variant-tier__label {
  display: flex;
  align-items: center;
  gap: 12px;
}

.variant-tier__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  flex-shrink: 0;
}

.variant-tier.is-selected .variant-tier__dot {
  border: 0;
  background: var(--color-ink);
}

.variant-tier__pricing {
  display: flex;
  align-items: center;
  gap: 8px;
}

.variant-tier__unit {
  font-size: 13px;
  letter-spacing: 0.13px;
  opacity: 0.6;
  white-space: nowrap;
}

.variant-tier__total {
  font-weight: 500;
  min-width: 36px;
  text-align: right;
}

.variant-tier[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Trust badges */

.trust-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.trust-badges__item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  white-space: nowrap;
}

.trust-badges__item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ---------------- Lab results card ---------------- */

.lab-card {
  border: 1px solid var(--color-border);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lab-card__inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lab-card__title {
  font-size: 18px;
  font-weight: 600;
}

.lab-card__row {
  display: flex;
  align-items: baseline;
  gap: 32px;
  font-size: 14px;
  letter-spacing: 0.14px;
  padding: 0;
}

.lab-card__row + .lab-card__row {
  border-top: 1px solid rgba(114, 113, 110, 0.35);
  padding-top: 8px;
}

.lab-card__row-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.lab-card__label {
  width: 185px;
  flex-shrink: 0;
}

.lab-card__spec {
  width: 188px;
  flex-shrink: 0;
}

.lab-card__result {
  white-space: nowrap;
  display: flex;
  gap: 8px;
  align-items: baseline;
}

.lab-card__result a {
  opacity: 0.5;
  text-decoration: underline;
  text-underline-position: from-font;
}

.lab-card__bar {
  height: 8px;
  background: var(--color-ink);
  width: 100%;
}

.lab-card__group-heading {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.24px;
  text-transform: uppercase;
}

.lab-card__cols-heading {
  display: flex;
  gap: 32px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.24px;
}

.lab-card__cols-heading .lab-card__label {
  visibility: hidden;
  font-family: var(--font-body);
  font-size: 14px;
}

.lab-card__cols-heading .lab-card__spec,
.lab-card__cols-heading .lab-card__result {
  text-transform: uppercase;
}

.lab-card__sections {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.lab-card__footnote {
  font-size: 12px;
  opacity: 0.7;
  white-space: pre-line;
}

@media (max-width: 749px) {
  .lab-card__label { width: 120px; }
  .lab-card__spec { width: 120px; }
  .lab-card__result { white-space: normal; }
}

/* ---------------- Disclaimer ---------------- */

.product-disclaimer {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
}

.product-disclaimer__title {
  font-weight: 600;
}

.product-disclaimer__body {
  line-height: 1.25;
}

/* ---------------- Dark details section ---------------- */

.product-details {
  background: var(--color-dark);
  color: #fff;
}

.product-details__inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 80px 146px;
  display: flex;
  gap: 52px;
  align-items: flex-start;
}

.product-details__sidebar {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  position: sticky;
  top: 40px;
  flex-shrink: 0;
}

.product-details__ruler {
  width: 20px;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-shrink: 0;
}

.product-details__ruler span {
  display: block;
  height: 1px;
  width: 100%;
  background: #fff;
  opacity: 0.3;
  transform: scaleX(0.8);
  transform-origin: left center;
  transition: opacity 0.2s ease-out, transform 0.2s ease-out;
}

.product-details__nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-details__nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: #fff;
  opacity: 0.5;
}

.product-details__nav-item:hover {
  opacity: 0.8;
}

.product-details__nav-item.is-active {
  opacity: 1;
}

.product-details__nav-dot {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-details__nav-dot::after {
  content: '';
  width: 4.5px;
  height: 4.5px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
}

.product-details__nav-item.is-active .product-details__nav-dot::after {
  background: var(--color-border);
}

.product-details__content {
  flex: 1 0 0;
  min-width: 1px;
  padding: 0 140px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.product-details__block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-details__heading {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 500;
}

.product-details__text {
  font-size: 16px;
}

.product-details__text p {
  margin: 0 0 1em;
}

.product-details__text p:last-child {
  margin-bottom: 0;
}

.product-details__text--muted {
  opacity: 0.7;
}

.product-details__figure {
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-height: 330px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-details__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Specs table */

.spec-table {
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 8px;
}

.spec-table__row {
  display: flex;
  align-items: baseline;
  gap: 32px;
  font-size: 14px;
  letter-spacing: 0.14px;
}

.spec-table__row + .spec-table__row {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 13px;
}

.spec-table__label {
  width: 125px;
  flex-shrink: 0;
}

/* Dosing table */

.dosing-table {
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
}

.dosing-table__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.24px;
  text-transform: uppercase;
  opacity: 0.7;
}

.dosing-table__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 14px;
}

.dosing-table__label {
  font-size: 14px;
  letter-spacing: 0.14px;
  font-weight: 500;
}

.dosing-table__sub {
  font-size: 14px;
  letter-spacing: 0.14px;
  opacity: 0.6;
  margin-top: 2px;
}

.dosing-table__value {
  font-size: 14px;
  letter-spacing: 0.14px;
  font-weight: 500;
}

@media (max-width: 989px) {
  .product-details__inner {
    padding: 48px 24px;
    flex-direction: column;
  }
  .product-details__sidebar {
    position: static;
  }
  .product-details__ruler {
    display: none;
  }
  .product-details__nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }
  .product-details__content {
    padding: 0;
    gap: 40px;
  }
}

/* ---------------- Stars ---------------- */

.stars {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
}

.stars__layer {
  display: flex;
  gap: 2px;
}

.stars__layer svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: currentColor;
}

.stars__layer--bg {
  color: var(--color-border);
}

.stars__layer--fill {
  position: absolute;
  inset: 0;
  overflow: hidden;
  color: #3f6529;
}

.product-info__rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 14px;
}

.product-info__rating:hover .product-info__rating-text {
  text-decoration: underline;
  text-underline-position: from-font;
}

.product-info__rating-text .sep {
  opacity: 0.5;
}

/* ---------------- Reviews ---------------- */

.product-reviews {
  padding: 32px;
  max-width: var(--page-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.product-reviews__heading {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 500;
}

.product-reviews__avg {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.product-reviews__avg-number {
  font-size: 32px;
}

.product-reviews__count {
  font-size: 14px;
  opacity: 0.6;
}

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

.review-card {
  border: 1px solid var(--color-border);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.review-card__title {
  font-size: 16px;
  font-weight: 600;
}

.review-card__body {
  font-size: 14px;
  line-height: 1.4;
}

.review-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.review-card__author {
  font-weight: 500;
}

.review-card__verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  opacity: 0.7;
}

.review-card__verified svg {
  width: 12px;
  height: 12px;
}

.review-card__date {
  opacity: 0.5;
}

@media (max-width: 749px) {
  .product-reviews {
    padding: 24px 16px;
  }
  .product-reviews__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ---------------- Related products ---------------- */

.related-products {
  padding: 32px;
  max-width: var(--page-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.related-products__heading {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 500;
}

.related-products__grid,
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

@media (max-width: 989px) {
  .related-products__grid,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Product card */

.product-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-card__body {
  background: var(--color-surface);
  display: flex;
  flex-direction: column;
}

.product-card__media {
  height: 236px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-card__media img {
  height: 174px;
  width: auto;
  object-fit: contain;
}

.product-card__info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-card__title {
  font-size: 16px;
  font-weight: 500;
}

.product-card__subtitle {
  display: flex;
  gap: 8px;
  font-size: 14px;
  margin-top: 4px;
}

.product-card__subtitle .sep {
  opacity: 0.5;
}

.product-card__price {
  font-size: 16px;
  font-weight: 500;
}

.product-card__button {
  height: 36px;
  padding: 0 48px;
  font-size: 14px;
}

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

.site-footer {
  padding: 40px 32px;
  max-width: var(--page-max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 13px;
  opacity: 0.7;
  flex-wrap: wrap;
}

/* ---------------- Generic pages ---------------- */

.page-section {
  padding: 48px 32px;
  max-width: 800px;
  margin: 0 auto;
}

.page-section h1 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 16px;
}

/* ---------------- Mobile ---------------- */

@media (max-width: 749px) {
  /* Header: hamburger + centered logo + cart */
  .site-header {
    padding: 16px;
  }

  .site-header__toggle {
    display: flex;
  }

  .site-header__nav--primary,
  .site-header__utility-link {
    display: none;
  }

  .mobile-nav:not([hidden]) {
    display: flex;
  }

  .site-header__cart-label {
    display: none;
  }

  .site-header__cart-link::before {
    content: 'Cart';
  }

  /* Buy box */
  .product-info {
    max-width: none;
  }

  .product-info__price {
    font-size: 28px;
  }

  .product-info__title {
    font-size: 26px;
    line-height: 34px;
  }

  .product-info__summary {
    max-width: none;
  }

  /* Gallery: hide decorative empty slots, keep real thumbs scrollable */
  .product-gallery__thumbs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .product-gallery__thumb {
    flex: 0 0 80px;
  }

  /* COA becomes a gallery image instead of a separate panel */
  .product-gallery__thumb--coa {
    display: flex;
  }

  .product-gallery__coa {
    display: none;
  }

  /* Lab card: let the spec/result columns share remaining space */
  .lab-card {
    padding: 16px;
  }

  .lab-card__label {
    width: 104px;
  }

  .lab-card__spec {
    width: auto;
    flex: 1 1 0;
    min-width: 0;
  }

  .lab-card__row,
  .lab-card__cols-heading {
    gap: 16px;
  }

  .lab-card__result {
    white-space: normal;
    flex-wrap: wrap;
  }

  /* Related products: 2-up grid with compact cards */
  .related-products {
    padding: 24px 16px;
  }

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

  .product-card__media {
    height: 150px;
  }

  .product-card__media img {
    height: 118px;
  }

  .product-card__info {
    padding: 12px;
    gap: 10px;
  }

  .product-card__title {
    font-size: 14px;
  }

  .product-card__subtitle {
    font-size: 12px;
  }

  .product-card__button {
    padding: 0 12px;
  }
}

/* ---------------- Cart page ---------------- */

.cart-page {
  padding: 48px 32px;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cart-page h1 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 500;
}

.cart-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 14px;
}

.cart-line__title {
  font-weight: 500;
  font-size: 16px;
}

.cart-line__remove {
  opacity: 0.5;
  text-decoration: underline;
}

.cart-page__footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.cart-page__subtotal {
  font-size: 18px;
  font-weight: 500;
}

.cart-page__checkout {
  max-width: 320px;
}

/* ---------------- Zooomies hero redesign ---------------- */

.announcement-bar {
  background: var(--color-accent);
  color: var(--color-ink);
  text-align: center;
  padding: 8px 16px;
  font-size: 13px;
  letter-spacing: 0.26px;
  line-height: 20px;
}

/* Benefit pills under the title */

.benefit-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.benefit-pills span {
  display: inline-flex;
  align-items: center;
  border: 1.4px solid var(--color-ink);
  border-radius: 999px;
  padding: 6px 10px 4px;
  font-size: 15px;
  line-height: 20px;
  white-space: nowrap;
}

.product-info__divider {
  border: 0;
  border-top: 1px solid var(--color-border);
  width: 100%;
  margin: 0;
}

.option-label {
  font-size: 16px;
  line-height: 20px;
}

.product-info__buy .option-label:not(:first-child) {
  margin-top: 20px;
}

/* Dog size cards */

.size-cards {
  display: flex;
  gap: 12px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.size-card {
  position: relative;
  flex: 1 1 0;
  min-width: 96px;
  max-width: 132px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  background: var(--color-surface);
  border: 1.5px solid transparent;
  border-radius: 12px;
  color: var(--color-ink);
  overflow: hidden;
}

.size-card__media {
  width: 100%;
  aspect-ratio: 3 / 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.size-card__media img {
  max-width: 58%;
  max-height: 78%;
  object-fit: contain;
  opacity: 0.3;
  filter: grayscale(1);
}

.size-card__label {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-size: 15px;
  line-height: 20px;
  padding: 2px 6px 12px;
}

.size-card__sub {
  font-size: 12px;
  line-height: 16px;
  color: #8a8a8a;
  margin-top: 2px;
  font-weight: 400;
}

.size-card.is-selected .size-card__sub {
  color: #5a5a5a;
}

.size-card__dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(54, 51, 50, 0.35);
  background: transparent;
}

.size-card.is-selected {
  background: #fff;
  border-color: #000;
}

.size-card.is-selected .size-card__media img {
  opacity: 1;
  filter: none;
}

.size-card.is-selected .size-card__label {
  font-weight: 500;
}

.size-card.is-selected .size-card__dot {
  background: var(--color-accent);
  border-color: rgba(54, 51, 50, 0.4);
}

.size-card[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Quantity panel */

.qty-panel {
  background: var(--color-surface);
  border-radius: 16px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
}

.qty-toggle {
  display: flex;
  gap: 8px;
  background: var(--color-surface-selected);
  border-radius: 999px;
  padding: 2px;
  width: 100%;
}

.qty-toggle__option {
  flex: 1 1 0;
  min-width: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11px 12px 9px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 16px;
  line-height: 20px;
  color: rgba(54, 51, 50, 0.7);
  white-space: nowrap;
}

.qty-toggle__option.is-selected {
  background: #fff;
  color: var(--color-ink);
}

.qty-rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 12px 10px;
  border: 0;
  border-bottom: 1px solid var(--color-border);
  background: transparent;
  text-align: left;
  color: var(--color-ink);
}

.qty-row__main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.qty-row__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(54, 51, 50, 0.4);
  flex-shrink: 0;
}

.qty-row.is-selected .qty-row__dot {
  border: 0;
  background: var(--color-ink);
  box-shadow: inset 0 0 0 2.5px var(--color-surface);
}

.qty-row__title {
  font-size: 16px;
  line-height: 20px;
}

.qty-row__sub {
  font-size: 14px;
  line-height: 22px;
  letter-spacing: 0.14px;
  color: #666;
}

.qty-row__aside {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.qty-row__save {
  border: 1px solid var(--color-ink);
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 12px;
  line-height: 16px;
  white-space: nowrap;
}

.qty-row__prices {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-width: 90px;
  text-align: right;
}

.qty-row__was {
  font-size: 11px;
  text-decoration: line-through;
}

.qty-row__price {
  font-size: 16px;
  line-height: 24px;
}

.qty-row[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Yellow CTA */

.btn-yellow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 18px 48px;
  background: var(--color-accent);
  color: #000;
  border: 0;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.36px;
  line-height: 20px;
  white-space: nowrap;
}

.btn-yellow:hover {
  background: #f5c22a;
}

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

.secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  font-size: 13px;
  line-height: 20px;
  color: #333;
}

.secure-note img,
.secure-note svg {
  width: 16px;
  height: 16px;
}

/* Trust icons row */

.trust-icons {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 0 4px;
}

.trust-icons__item {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 0;
  min-width: 0;
  font-size: 14px;
}

.trust-icons__item img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* Fine print + payment icons */

.fine-print {
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.2px;
  color: rgba(54, 51, 50, 0.8);
  text-align: justify;
}

.payment-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.payment-icons img {
  height: 22px;
  width: auto;
}

@media (max-width: 749px) {
  /* Horizontal size rows: dog left, label + dose right */
  .size-cards {
    flex-direction: column;
    gap: 8px;
  }
  .size-card {
    flex: 0 0 auto;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    width: 100%;
    min-width: 0;
    max-width: none;
    padding: 6px 14px;
  }
  .size-card__media {
    width: 84px;
    aspect-ratio: auto;
    height: 56px;
    flex-shrink: 0;
  }
  .size-card__media img {
    max-width: 78%;
    max-height: 92%;
  }
  .size-card__label {
    align-items: flex-start;
    text-align: left;
    padding: 0;
  }
  .size-card__dot {
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
  }
  .qty-panel {
    padding: 20px 14px;
  }
  .qty-toggle__option {
    font-size: 14px;
    padding: 9px 8px 7px;
  }
  .qty-row {
    padding: 12px 6px;
    gap: 8px;
  }
  .qty-row__main {
    gap: 8px;
  }
  .qty-row__title {
    font-size: 15px;
  }
  .qty-row__sub {
    font-size: 13px;
  }
  .qty-row__aside {
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
  }
  .qty-row__save {
    padding: 3px 6px;
    font-size: 11px;
  }
  .qty-row__prices {
    min-width: auto;
    gap: 4px;
  }
  .qty-row__price {
    font-size: 15px;
  }
  .trust-icons {
    flex-direction: column;
    gap: 10px;
  }
}

.qty-panel__cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.qty-panel__cta form {
  width: 100%;
}

.qty-panel__footer {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

/* Hero badge above the title */

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #f5b8b8;
  border-radius: 999px;
  padding: 4px 12px 4px 8px;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0.14px;
  color: #f27676;
}

.hero-badge img {
  width: 22px;
  height: 22px;
}

/* ================= Landing sections ================= */

.land-section {
  max-width: 1244px;
  margin: 0 auto;
  padding: 40px 32px;
}

.land-heading {
  font-size: 32px;
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -0.3px;
  color: #2c2c2c;
}

.land-sub {
  font-size: 16px;
  line-height: 22px;
  color: #5a5a5a;
  margin-top: 16px;
}

/* --- Split feature card (Five Core Benefits / In One Daily Treat) --- */

.feature-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
}

.feature-split__body {
  padding: 24px 16px 24px 0;
  display: flex;
  flex-direction: column;
}

.feature-split__media {
  position: relative;
  min-height: 420px;
  border-radius: 28px;
  overflow: hidden;
}

.feature-split__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-split__tag {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 14px;
}

.feature-split--flip .feature-split__body {
  order: 2;
  padding: 24px 0 24px 16px;
}

.feature-split--flip .feature-split__media {
  order: 1;
}

/* benefit rows inside feature card */

.benefit-rows {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
}

.benefit-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 18px 0;
  border-top: 1px solid #e8e6e1;
}

.benefit-row img {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.benefit-row__title {
  font-size: 16px;
  font-weight: 500;
  color: #2c2c2c;
}

.benefit-row__text {
  font-size: 14px;
  line-height: 20px;
  color: #5a5a5a;
  margin-top: 4px;
}

/* ingredients table inside feature card */

.ingredients-table {
  margin-top: 32px;
  font-size: 15px;
}

.ingredients-table__head,
.ingredients-table__row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #e8e6e1;
}

.ingredients-table__head {
  color: #2c2c2c;
  font-weight: 500;
}

.ingredients-table__row {
  color: #363332;
}

.ingredients-table__note {
  margin-top: 16px;
  font-size: 15px;
  color: #363332;
}

.ingredients-table__fine {
  margin-top: 12px;
  font-size: 13px;
  line-height: 18px;
  color: #8a8a8a;
}

/* --- Daily directions --- */

.directions-section {
  background: #f4f2ee;
  padding: 64px 0;
}

.directions-head {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  align-items: flex-start;
  margin-bottom: 40px;
}

.directions-head .land-sub {
  max-width: 400px;
  margin-top: 0;
  font-size: 14px;
  line-height: 20px;
}

.directions-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 20px;
}

.direction-card__media {
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 0.92;
}

.direction-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.direction-card__info {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 14px 4px 0;
}

.direction-card__info img {
  flex-shrink: 0;
}

.direction-card__label {
  font-size: 14px;
  font-weight: 500;
  color: #2c2c2c;
}

.direction-card__dose {
  font-size: 13px;
  color: #5a5a5a;
}

/* --- Everything in one pill --- */

.pill-section {
  background: #f5e8d7;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  padding: 0;
}

.pill-section__grid {
  position: relative;
}

.pill-section__body {
  position: relative;
  z-index: 1;
  max-width: 56%;
  padding: 64px 32px 64px 56px;
}

.pill-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px 40px;
  margin-top: 48px;
}

.pill-feature img {
  width: 40px;
  height: 40px;
}

.pill-feature__title {
  font-size: 17px;
  font-weight: 500;
  color: #363332;
  margin-top: 16px;
}

.pill-feature__text {
  font-size: 15px;
  line-height: 21px;
  color: #5a5a5a;
  margin-top: 8px;
}

.pill-section__media {
  position: absolute;
  inset: 0;
}

.pill-section__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

/* --- What to expect --- */

.expect-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.expect-card__media {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 0.95;
}

.expect-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.expect-card__month {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #fff;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 500;
  color: #2c2c2c;
}

.expect-card__text {
  font-size: 14px;
  line-height: 20px;
  color: #5a5a5a;
  margin-top: 14px;
}

/* --- Biological defense comparison --- */

.defense-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 64px;
  align-items: start;
}

.defense-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 48px;
  align-items: center;
}

.defense-stat__label {
  font-size: 14px;
  color: #363332;
}

.defense-stat__value {
  font-size: 56px;
  font-weight: 500;
  letter-spacing: -1px;
  color: #2c2c2c;
  line-height: 1.1;
  margin: 6px 0;
}

.defense-stat__note {
  font-size: 14px;
  line-height: 20px;
  color: #5a5a5a;
  max-width: 255px;
}

.defense-dog {
  position: relative;
  display: block;
  width: 100%;
  max-width: 260px;
  justify-self: center;
}

.defense-dog > img {
  width: 100%;
  height: auto;
  aspect-ratio: 222 / 150;
  display: block;
}

.defense-dog__overlay {
  position: absolute;
  height: auto;
}

.defense-dog__overlay--paws {
  left: 9.82%;
  top: 80.8%;
  width: 68.92% !important;
  height: 19.2% !important;
}

.defense-dog__overlay--body {
  left: 3.69%;
  top: 24%;
  width: 82.43% !important;
  height: 76% !important;
}

.defense-footnote {
  grid-column: 1 / -1;
  background: #fff;
  border-radius: 12px;
  padding: 20px 24px;
  font-size: 13px;
  line-height: 19px;
  color: #5a5a5a;
  margin-top: 16px;
}

/* --- Stories carousel --- */

.stories-section {
  text-align: center;
  overflow: hidden;
}

/* Full-bleed regardless of whether the marquee JS has initialized */
.land-section.stories-section {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.stories-track {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: stretch;
  margin-top: 48px;
}

.story-card {
  border-radius: 20px;
  overflow: hidden;
  flex-shrink: 0;
  width: 220px;
  position: relative;
}

.story-card--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-card--photo .story-card__caption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  color: #fff;
  font-size: 13px;
  text-align: left;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.story-card--quote {
  background: #fff;
  padding: 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 14px;
  line-height: 20px;
  color: #363332;
}

.story-card--quote.is-olive {
  background: #684e01;
  color: #fffef7;
}

.story-card__author {
  margin-top: 16px;
  font-size: 13px;
  text-align: right;
}

.story-card__author small {
  opacity: 0.6;
  display: block;
}

.story-card--stat {
  background: #684e01;
  color: #fffef7;
  padding: 24px 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.story-card--stat .story-card__pct {
  font-size: 44px;
  font-weight: 500;
}

.story-card--stat .stars .stars__layer--fill {
  color: #fecc35;
}

.story-card--stat .stars .stars__layer--bg {
  color: rgba(255, 255, 255, 0.3);
}

.story-card--stat small {
  font-size: 12px;
  opacity: 0.8;
}

/* --- Barking reviews --- */

.barking-section {
  text-align: center;
}

.barking-kicker {
  font-size: 13px;
  color: #363332;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.barking-kicker img {
  width: 14px;
  height: 14px;
}

.barking-list {
  max-width: 976px;
  margin: 48px auto 0;
  text-align: left;
}

.barking-review {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 11fr);
  gap: 40px;
  padding: 28px 0;
  border-top: 1px solid #e5e5e5;
}

.barking-review__who {
  font-size: 15px;
  font-weight: 500;
  color: #363332;
  display: flex;
  gap: 12px;
  align-items: center;
}

.barking-review__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #684e01;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.barking-review__who small {
  display: block;
  font-weight: 400;
  color: #8a8a8a;
  font-size: 12px;
}

.barking-review__facts {
  margin-top: 18px;
  font-size: 12px;
  color: #5a5a5a;
}

.barking-review__facts div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid #ececec;
}

.barking-review__facts span:last-child {
  color: #363332;
  text-align: right;
}

.barking-review__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.barking-review__head .stars__layer--fill {
  color: #fecc35;
}

.barking-review__date {
  font-size: 13px;
  color: #8a8a8a;
}

.barking-review__text {
  margin-top: 14px;
  font-size: 14px;
  line-height: 21px;
  color: #363332;
}

.barking-review__photo {
  margin-top: 16px;
  width: 100px;
  height: 100px;
  border-radius: 8px;
  object-fit: cover;
}

.barking-cta {
  display: block;
  max-width: 600px;
  margin: 40px auto 0;
  background: #fff;
  border: 0;
  border-radius: 999px;
  padding: 20px 24px;
  font-size: 14px;
  color: #8a8a8a;
  text-align: left;
  cursor: pointer;
  width: 100%;
}

/* --- Vet quote --- */

.vet-quote {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 4fr);
  gap: 24px;
}

.vet-quote__card {
  background: #fff;
  border-radius: 24px;
  padding: 48px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 380px;
}

.vet-quote__lede {
  font-size: 22px;
  line-height: 26px;
  font-weight: 600;
  color: #363332;
  max-width: 480px;
}

.vet-quote__body {
  margin-top: 20px;
  font-size: 15px;
  line-height: 22px;
  color: #5a5a5a;
  max-width: 520px;
}

.vet-quote__name {
  margin-top: 40px;
  font-size: 17px;
  font-weight: 500;
  color: #363332;
}

.vet-quote__role {
  font-size: 14px;
  color: #5a5a5a;
  margin-top: 4px;
}

.vet-quote__squiggle {
  position: absolute;
  right: 32px;
  bottom: 24px;
  width: 140px;
  height: 81px;
  z-index: 0;
}

.vet-quote__card > div {
  position: relative;
  z-index: 1;
}

.vet-quote__media {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 380px;
}

.vet-quote__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- FAQ --- */

.faq-section {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 64px;
  align-items: start;
}

.faq-list details {
  border-bottom: 1px solid #e5e5e5;
}

.faq-list details[open] {
  background: #fff;
  border-radius: 20px;
  border-bottom-color: transparent;
  padding: 4px 24px 20px;
  margin: 8px -24px;
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  font-size: 15px;
  font-weight: 500;
  color: #363332;
}

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

.faq-list summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 400;
  color: #363332;
}

.faq-list details[open] summary::after {
  content: '\2013';
}

.faq-list .faq-answer {
  font-size: 14px;
  line-height: 21px;
  color: #5a5a5a;
  padding-bottom: 8px;
}

/* --- Landing footer --- */

.land-footer {
  background: var(--color-bg);
  border-top: 1px solid #e5e5e5;
}

.land-footer__inner {
  max-width: 1244px;
  margin: 0 auto;
  padding: 64px 32px;
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr);
  gap: 48px;
}

.land-footer__brand img {
  height: 24px;
  width: 130px;
}

.land-footer__text {
  margin-top: 20px;
  font-size: 14px;
  line-height: 20px;
  color: #636363;
  max-width: 420px;
}

.land-footer__note {
  margin-top: 28px;
  font-size: 13px;
  color: #636363;
}

.land-footer__col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 14px;
  color: #363332;
}

.land-footer__col .payment-icons {
  justify-content: flex-start;
  margin-top: 12px;
}

/* --- Landing responsive --- */

@media (max-width: 989px) {
  .land-section {
    padding: 32px 16px;
  }
  .feature-split,
  .pill-section__grid,
  .defense-grid,
  .vet-quote,
  .faq-section {
    grid-template-columns: 1fr;
  }
  .feature-split__body,
  .feature-split--flip .feature-split__body {
    order: 2;
    padding: 20px 0;
  }
  .feature-split__media,
  .feature-split--flip .feature-split__media {
    order: 1;
    min-height: 300px;
  }
  .directions-head {
    flex-direction: column;
    gap: 16px;
  }
  .directions-grid,
  .expect-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pill-section__body {
    max-width: none;
    padding: 28px 20px;
  }
  .pill-section__media {
    position: static;
    height: 260px;
  }
  .pill-section__media img {
    position: static;
    height: 260px;
  }
  .pill-features {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  /* icon inline-left of the title, half size */
  .pill-feature {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    column-gap: 10px;
    align-items: center;
  }
  .pill-feature img {
    width: 20px;
    height: 20px;
    grid-column: 1;
    grid-row: 1;
  }
  .pill-feature__title {
    grid-column: 2;
    grid-row: 1;
    margin-top: 0;
    font-size: 16px;
  }
  .pill-feature__text {
    grid-column: 1 / -1;
    margin-top: 8px;
  }
  .defense-dog {
    max-width: 180px;
  }
  .stories-track {
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 16px;
  }
  .barking-review {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .land-footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 16px;
  }
  .faq-list details[open] {
    margin: 8px 0;
    padding: 4px 16px 16px;
  }
  .vet-quote__card {
    padding: 28px 24px;
    min-height: 0;
  }
  .vet-quote__media {
    min-height: 280px;
  }
  .vet-quote__squiggle {
    right: 14px;
    bottom: 10px;
  }
}

@media (max-width: 599px) {
  .expect-grid {
    grid-template-columns: 1fr;
  }
  .directions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .direction-card__info {
    gap: 8px;
    padding-top: 10px;
  }
  .direction-card__info img {
    transform: scale(0.85);
    transform-origin: left center;
  }
  .direction-card__label {
    font-size: 13px;
  }
  .direction-card__dose {
    font-size: 12px;
  }
  /* dog silhouette left, stat right, one row per comparison */
  .defense-stats {
    grid-template-columns: minmax(0, 42%) minmax(0, 1fr);
    gap: 24px 16px;
    align-items: center;
  }
  .defense-stats > div:nth-child(1) {
    grid-column: 2;
    grid-row: 1;
  }
  .defense-stats .defense-dog:nth-child(2) {
    grid-column: 1;
    grid-row: 1;
  }
  .defense-stats .defense-dog:nth-child(3) {
    grid-column: 1;
    grid-row: 2;
  }
  .defense-stats > div:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
  }
  .defense-footnote {
    grid-column: 1 / -1;
    grid-row: 3;
  }
  .defense-stat__value {
    font-size: 40px;
  }
  .defense-stat__note {
    font-size: 13px;
  }
  .land-heading {
    font-size: 26px;
  }
}

/* Stories auto-scrolling marquee */

.stories-marquee {
  overflow: hidden;
  margin-top: 48px;
  width: 100%;
}

.stories-marquee .stories-track {
  margin-top: 0;
  justify-content: flex-start;
  width: max-content;
  animation: stories-scroll 45s linear infinite;
}

.stories-marquee:hover .stories-track {
  animation-play-state: paused;
}

@keyframes stories-scroll {
  to {
    transform: translateX(calc(-50% - 10px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .stories-marquee .stories-track {
    animation: none;
  }
}

@media (max-width: 989px) {
  .stories-marquee .stories-track {
    overflow-x: visible;
    padding: 0;
  }
}

/* ---------------- AOV features ---------------- */

.qty-row__best {
  display: inline-block;
  background: var(--color-ink);
  color: #fffef7;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 11px;
  line-height: 16px;
  font-weight: 500;
  margin-left: 8px;
  vertical-align: 2px;
  white-space: nowrap;
}

.double-order {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1.4px dashed var(--color-accent);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-ink);
  cursor: pointer;
}

.double-order input {
  width: 18px;
  height: 18px;
  accent-color: #000;
  flex-shrink: 0;
}

.thankyou-upsell {
  max-width: 560px;
  margin: 32px auto;
  background: #fff;
  border: 1.4px dashed var(--color-accent);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
}

.thankyou-upsell__heading {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.thankyou-upsell__text {
  font-size: 15px;
  line-height: 21px;
  color: #5a5a5a;
  margin-bottom: 18px;
}

.thankyou-upsell__btn {
  display: inline-flex;
  width: auto;
}

/* ---------------- Conversion polish (cofounder round 2) ---------------- */

/* Selected quantity row gets a real highlight */
.qty-row {
  border-radius: 12px;
  border: 1.5px solid transparent;
}

.qty-row.is-selected {
  background: #fff;
  border-color: #000;
}

.qty-row.is-selected + .qty-row {
  border-top: 0;
}

/* Savings pill: brand green, filled */
.qty-row__save {
  border: 0;
  background: #3f6529;
  color: #fffef7;
}

/* Money-back guarantee banner */
.guarantee-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: rgba(63, 101, 41, 0.1);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #3f6529;
}

.guarantee-banner img {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* ================= Homepage ================= */

.home-page {
  padding-bottom: 20px;
}

.home-wide {
  max-width: 1716px;
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* --- Hero --- */

.home-hero {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #eaeaea;
  aspect-ratio: 1652 / 929;
}

.home-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-hero__content {
  position: absolute;
  left: 48.3%;
  right: 5%;
  top: 18.4%;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: flex-start;
}

.home-hero__title {
  font-size: clamp(30px, 4.1vw, 71px);
  font-weight: 500;
  line-height: 1.13;
  letter-spacing: -0.01em;
  color: #363332;
  margin: 0;
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1.5px solid #000;
  border-radius: 999px;
  padding: 20px 24px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.36px;
  line-height: 20px;
  color: #000;
}

.btn-outline-white:hover {
  background: #f4f4f4;
}

/* --- Product cards --- */

.home-products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.home-product {
  position: relative;
  background: #fff;
  border-radius: 12px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  min-height: 600px;
}

/* Whole card is clickable; explicit links sit above the cover */
.home-product__cover {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 12px;
}

.home-product__media,
.home-product__actions {
  position: relative;
  z-index: 2;
}

.home-product__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.home-product__name {
  font-size: clamp(24px, 2vw, 32px);
  font-weight: 500;
  line-height: 1.1;
  color: #363332;
  margin: 0 0 8px;
}

.home-product__desc {
  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 1.4;
  color: #5b5756;
  margin: 0;
  max-width: 560px;
}

.home-product__badges {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.home-product__badge {
  border: 1.5px solid #363332;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 15px;
  line-height: 22px;
  color: #363332;
  white-space: nowrap;
}

.home-product__media {
  position: relative;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-product__media::before {
  content: "";
  position: absolute;
  bottom: 6%;
  left: 50%;
  transform: translateX(-50%);
  width: 54%;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(0, 0, 0, 0.22), transparent 72%);
  filter: blur(4px);
}

.home-product__media img {
  position: relative;
  width: min(430px, 88%);
  height: 100%;
  object-fit: contain;
}

.home-product__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.home-product__price {
  font-size: clamp(26px, 2.2vw, 36px);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #363332;
  margin: 0;
}

.home-product__actions {
  display: flex;
  gap: 12px;
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 16px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.32px;
  line-height: 20px;
  color: #000;
  white-space: nowrap;
}

.pill-btn--yellow {
  background: var(--color-accent, #fecc35);
}

.pill-btn--yellow:hover {
  background: #f5c22a;
}

.pill-btn--gray {
  background: #f5f5f5;
}

.pill-btn--gray:hover {
  background: #ebebeb;
}

/* --- One Pill split --- */

.home-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 552px);
  gap: 20px;
  align-items: stretch;
}

.home-split__body {
  padding: 60px 0 60px clamp(24px, 7vw, 120px);
}

.home-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 300px));
  gap: 56px;
  margin-top: 64px;
}

.home-benefit img {
  width: 40px;
  height: 40px;
  margin-bottom: 24px;
}

.home-benefit__title {
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
  text-transform: capitalize;
  color: #363332;
  margin: 0 0 10px;
}

.home-benefit__text {
  font-size: 16px;
  line-height: 1.4;
  color: rgba(54, 51, 50, 0.8);
  margin: 0;
}

.home-split__media {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  min-height: 560px;
}

.home-split__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Defense --- */

.home-defense {
  background: #fff;
  border-radius: 12px;
  padding: clamp(48px, 6vw, 96px) clamp(24px, 4vw, 64px) clamp(40px, 5vw, 72px);
  text-align: center;
}

.home-defense > .land-heading {
  max-width: 460px;
  margin: 0 auto;
}

.home-defense__grid {
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(260px, 420px) minmax(0, 380px);
  gap: 32px 48px;
  align-items: center;
  justify-content: center;
  margin-top: 56px;
}

.home-defense__col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.defense-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  text-align: left;
  box-shadow: 0 10px 44px rgba(0, 0, 0, 0.09);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.defense-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.defense-card__label,
.defense-card__chip {
  color: #1a9707;
  font-size: 19px;
  line-height: 28px;
  letter-spacing: 0.2px;
  margin: 0;
}

.defense-card__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.defense-card__chip img {
  width: 20px;
  height: 20px;
}

.defense-card__text {
  font-size: 15px;
  line-height: 22px;
  color: #5a5a5a;
  margin: 0;
}

.home-defense__paw {
  perspective: 1600px;
}

.home-defense__paw img {
  width: min(420px, 100%);
  height: auto;
}

/* 3D spinning treat */

.treat-3d {
  position: relative;
  width: min(236px, 100%);
  margin: 0 auto;
  transform-style: preserve-3d;
  will-change: transform;
}

.treat-3d__face {
  display: block;
  width: 100% !important;
  height: auto;
  backface-visibility: hidden;
  transform: translateZ(var(--treat-z, 0px));
}

.treat-3d__face--back {
  position: absolute;
  inset: 0;
  transform: rotateY(180deg) translateZ(var(--treat-z, 0px));
}

.treat-3d__edge {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

.treat-3d__edge div {
  position: absolute;
  left: 50%;
  top: 50%;
  background: #e7cfb2;
  backface-visibility: hidden;
}

/* WebGL renderer active: canvas draws the coin, DOM pieces keep layout only */
.treat-3d--gl .treat-3d__face,
.treat-3d--gl .treat-3d__edge {
  visibility: hidden;
}

.treat-3d__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.home-defense__cta {
  margin-top: 48px;
}

.home-defense__note {
  font-size: 12px;
  color: #8a8a8a;
  margin: 16px auto 0;
  max-width: 520px;
}

/* --- FAQ split layout --- */

.faq-section--split {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
}

.faq-section--split .land-heading {
  text-align: left;
  margin: 0;
}

.faq-section--split .faq-list {
  width: min(560px, 100%);
  margin: 0;
}

/* --- Homepage responsive --- */

@media (max-width: 989px) {
  .home-wide {
    padding: 16px;
    gap: 16px;
  }

  .home-hero {
    aspect-ratio: auto;
    background: #fbe9c9;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  .home-hero__content {
    position: static;
    order: 1;
    align-items: center;
    text-align: center;
    gap: 24px;
    padding: 31px 26px 34px;
  }

  .home-hero__img {
    position: static;
    order: 2;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: 16% center;
  }

  .home-hero__title {
    font-size: 28px;
    letter-spacing: -0.28px;
    text-align: center;
  }

  .btn-outline-white {
    padding: 16px 20px;
    font-size: 14.5px;
  }

  .home-products {
    grid-template-columns: 1fr;
  }

  .home-product {
    min-height: 0;
    padding: 32px 28px;
    gap: 24px;
  }

  .home-product__head {
    flex-direction: column;
    gap: 20px;
  }

  .home-product__name {
    font-size: 28px;
  }

  .home-product__desc {
    font-size: 20px;
    line-height: 28px;
  }

  .home-product__badges {
    justify-content: flex-start;
  }

  .home-product__media {
    height: 260px;
    overflow: hidden;
  }

  .home-product__media img {
    width: min(460px, 118%);
    max-width: none;
  }

  .home-product__foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .home-product__price {
    font-size: 28px;
  }

  .home-split {
    grid-template-columns: 1fr;
  }

  .home-split__body {
    padding: 12px 4px;
  }

  .home-benefits {
    gap: 32px 24px;
    margin-top: 36px;
  }

  .home-split__media {
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .home-defense {
    background: transparent;
    border-radius: 0;
    padding: 24px 0 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Children of the grid become direct flex items so the paw can sit above the heading */
  .home-defense__grid {
    display: contents;
  }

  .home-defense__paw {
    order: -1;
    margin-bottom: 28px;
  }

  .home-defense__paw .treat-3d {
    width: 150px;
  }

  .home-defense__col {
    width: 100%;
    gap: 16px;
    margin-top: 16px;
  }

  .home-defense__col:first-of-type {
    margin-top: 32px;
  }

  .defense-card {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
  }

  .defense-card__label,
  .defense-card__chip {
    font-size: 17px;
    line-height: 24px;
  }

  .home-defense__cta {
    margin-top: 28px;
    background: #fff;
  }

  .faq-section--split {
    flex-direction: column;
    gap: 24px;
  }
}

/* ================= Per-product accent themes ================= */

/* Zooomies Pro — light blue (product custom field: nuvos_theme = blue) */
body.product-theme--blue {
  --color-accent: #53c6fc;
}

body.product-theme--blue .btn-yellow:hover,
body.product-theme--blue .pill-btn--yellow:hover {
  background: #3fbcf9;
}

body.product-theme--blue .double-order {
  background: #f2fafe;
}
