:root {
  --home-ink: #343434;
  --home-muted: #756b63;
  --home-paper: #fbf7f1;
  --home-sand: #f1e6d5;
  --home-gold: #b0903d;
  --home-line: #ded0bd;
  --home-container: var(--layout-container, 72.5rem);
  --home-gutter: var(--layout-gutter, clamp(1.125rem, 4vw, 4rem));
  --home-shipping-height: min(calc(2.5vw - .2px), 3.1875rem);
  --home-sticky-nav-height: 4.875rem;
}

html { scroll-behavior: smooth; }
body { overflow-x: clip; background: var(--home-paper); }
.site-header { position: sticky; z-index: 120; top: 0; height: calc(4.875rem + var(--home-shipping-height)); }
.nav {
  position: absolute;
  z-index: 120;
  inset: var(--home-shipping-height) 0 auto;
  width: 100%;
  min-height: 4.875rem;
  padding-inline: max(var(--home-gutter), calc((100% - var(--home-container)) / 2));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 1.25rem;
  border-bottom: 1px solid rgba(82, 57, 39, .16);
  background: rgba(251, 247, 241, .97);
  backdrop-filter: blur(0.875rem);
  box-shadow: 0 0.5rem 1.875rem rgba(55, 35, 22, .04);
  transform: none;
}
.nav-sticky .nav {
  position: absolute;
  inset: var(--home-shipping-height) 0 auto;
  width: 100%;
  min-height: 4.875rem;
  padding-inline: max(var(--home-gutter), calc((100% - var(--home-container)) / 2));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 1.25rem;
  background: rgba(251, 247, 241, .97);
  box-shadow: 0 0.5rem 1.875rem rgba(55, 35, 22, .04);
  clip-path: none;
  transform: none;
}
.nav-sticky .nav-links:first-child,
.nav-sticky .nav-links:last-of-type { transform: none; }
.nav-sticky .floating-actions a:nth-child(n) { order: initial; }
.nav .brand { position: static; width: 9.875rem; height: 4rem; display: grid; place-items: center; transform: none; }
.nav .brand img { width: 9.875rem; height: 4rem; object-fit: contain; }
.nav-links { position: static; display: flex; align-items: center; gap: clamp(0.75rem, 1.4vw, 1.625rem); }
.nav .nav-links:first-child,
.nav .nav-links:last-of-type { gap: clamp(0.75rem, 1.4vw, 1.625rem); transform: none; }
.nav-links-study { justify-content: flex-start; }
.nav-links-transactional { justify-content: flex-end; }
.nav-links a { color: var(--home-ink); font: 500 0.75rem/1.3 'Montserrat', Arial, sans-serif; white-space: nowrap; }
.nav-links a:not(.header-icon) { min-height: 2.625rem; padding: 0.8125rem 0 0.625rem; position: relative; }
.nav-links a:not(.header-icon)::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0.375rem;
  left: 0;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 220ms cubic-bezier(.22, .61, .36, 1), opacity 180ms ease;
  pointer-events: none;
}
.nav-links a:not(.header-icon):hover::after{ opacity: 1; transform: scaleX(1); }
.floating-actions,
.nav-sticky .floating-actions,
.nav .nav-links:last-of-type.floating-actions { position: static; display: flex; gap: 0.5rem; }
.floating-actions a,
.floating-actions a:nth-child(n) {
  position: static;
  order: initial;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  color: var(--home-ink);
  background: transparent;
}
.floating-actions a:hover { background: transparent; }
.floating-actions .header-icon,
.floating-actions a:nth-child(n).header-icon { display: inline-flex; align-items: center; justify-content: center; gap: 0.4375rem; }
.floating-actions .header-account,
.floating-actions a:nth-child(n).header-account { width: 2.625rem; height: 2.625rem; border: 1px solid var(--home-line); border-radius: 50%; transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease; }
.floating-actions .header-cart,
.floating-actions a:nth-child(n).header-cart { position: relative; width: 2.625rem; min-width: 2.625rem; height: 2.625rem; padding: 0; border-radius: 50%; color: #fff; background: var(--home-gold); transition: color 180ms ease, background-color 180ms ease, transform 180ms ease; }
.floating-actions .header-cart:hover,
.floating-actions a:nth-child(n).header-cart:hover { color: #fff; background: var(--home-gold); }
.floating-actions img,
.floating-actions a:nth-child(n) img { position: static; width: 1.25rem; height: 1.25rem; object-fit: contain; filter: none; }
.floating-actions .header-cart img,
.floating-actions a:nth-child(n).header-cart img { filter: brightness(0) invert(1); }
.floating-actions .header-account img,
.floating-actions a:nth-child(n).header-account img { filter: brightness(0) saturate(100%); opacity: .72; transition: filter 180ms ease, opacity 180ms ease; }
.floating-actions a span,
.floating-actions a:nth-child(n) span { position: static; display: inline; color: inherit; font: 500 0.75rem/1 'Montserrat', Arial, sans-serif; }
.floating-actions .cart-count { min-width: 1ch; font-variant-numeric: tabular-nums; text-align: center; }
.floating-actions .header-cart .cart-count { position: absolute; inset: 0; display: none; place-items: center; opacity: 1; pointer-events: none; }
.floating-actions .header-cart:hover img{ display: none; }
.floating-actions .header-cart:hover .cart-count{ display: grid; }
.floating-actions .header-account:hover,
.floating-actions a:nth-child(n).header-account:hover{ color:#fff; border-color:var(--home-gold); background:var(--home-gold); }
.floating-actions .header-account:hover img,
.floating-actions a:nth-child(n).header-account:hover img{ filter:brightness(0) invert(1); opacity:1; }
.floating-actions .header-account:active,
.floating-actions .header-cart:active { transform: scale(.96); }
.menu-toggle { display: none; }
.catalog-cacao-filter { margin: -1.75rem 0 2.375rem; padding: 0.875rem 1.125rem; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; border: 1px solid var(--home-line); color: var(--home-ink); background: var(--home-sand); font: 500 0.75rem/1.4 'Montserrat', Arial, sans-serif; }
.catalog-cacao-filter a { color: var(--home-ink); border-bottom: 1px solid currentColor; }

.home main { color: var(--home-ink); background: var(--home-paper); }
.home main a { text-decoration: none; }
/* Original cocoa illustrations stay in the section margins. */
.home #catalog,
.home .feature,
.home .reviews { position: relative; isolation: isolate; }
.home #catalog::before,
.home #catalog::after,
.home .feature::before,
.home .reviews::before {
  content: ''; position: absolute; z-index: -1; display: block;
  pointer-events: none; background-repeat: no-repeat; background-size: contain;
  opacity: .55;
}
.home #catalog::before {
  top: 0; right: 0; bottom: auto; left: auto;
  width: clamp(100px, 17vw, 230px); height: 150px;
  background-image: url('../images/botanical-home-right.webp'); background-position: top right;
}
.home #catalog::after {
  top: auto; bottom: 0; left: 0; right: auto;
  width: clamp(90px, 13vw, 180px); height: 130px;
  background-image: url('../images/botanical-home-left.webp'); background-position: bottom left;
}
.home .feature::before {
  top: auto; bottom: 0; right: 0; left: auto;
  width: clamp(90px, 12vw, 190px); height: 230px;
  background-image: url('../images/botanical-home-right-tall.webp'); background-position: bottom right;
}
.home .reviews::before {
  top: auto; bottom: 0; left: 0; right: auto;
  width: clamp(80px, 11vw, 170px); height: 190px;
  background-image: url('../images/botanical-home-left-tall.webp'); background-position: bottom left;
}
@media (max-width: 900px) {
  .home #catalog::before { height: 65px; }
  .home #catalog::after { height: 48px; }
  .home .feature::before, .home .reviews::before { height: 80px; opacity: .2; }
}
.home .feature,
.home .reviews,
.home .contact,
.home .site-footer { contain: layout style paint; }
.home-hero { min-height: clamp(31rem, 39vw, 35rem); margin-top: -1.875rem; border-bottom: 1px solid var(--home-line); background: var(--home-paper); }
.home-layout-shell,
.home-hero__shell { width: 100%; max-width: none; margin-inline: auto; }
.home-hero__shell { position: relative; min-height: clamp(31rem, 39vw, 35rem); padding: clamp(3.5rem, 5vw, 4.75rem) max(calc((100% - var(--home-container)) / 2), var(--home-gutter)) 2.25rem; display: grid; grid-template-columns: minmax(20rem, .82fr) minmax(29rem, 1.18fr); align-items: center; gap: clamp(2rem, 4vw, 5rem); overflow: hidden; }
.home-hero__copy { position: relative; z-index: 3; min-width: 0; align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.home-hero__copy { container-type: inline-size; }
.home-eyebrow { width: max-content; max-width: none; margin: 0; color: #171411; text-align: left; font: 400 clamp(1.5rem, 11cqw, 7rem)/.96 'Cormorant', Georgia, serif; letter-spacing: normal; text-transform: uppercase; }
@media (min-width: 1200px) {
  .home-eyebrow { font-size: clamp(3rem, 4.4vw, 7rem); }
}
.home-eyebrow span { display: block; white-space: nowrap; }
.home-eyebrow span:nth-child(2) { padding-left: .65em; }
.home-hero__video-trigger { position: relative; z-index: 2; width: min(100%, 38rem); aspect-ratio: 1; justify-self: center; padding: 0; border: 0; appearance: none; background: radial-gradient(circle at 56% 50%, rgba(176,144,61,.12), rgba(176,144,61,.035) 42%, transparent 70%); cursor: pointer; isolation: isolate; overflow: visible; transition: filter .45s ease; }
.home-hero__video-trigger video { position: absolute; right: -6%; bottom: -3.1875rem; width: clamp(52rem, 76vw, 80rem); max-width: none; height: auto; aspect-ratio: 16 / 9; display: block; object-fit: contain; transform: translateY(.75rem); clip-path: inset(2px 0 0); pointer-events: none; }
@media (min-width: 1440px) {
  .home-hero__video-trigger video { bottom: -3.3125rem; }
}
@media (min-width: 1600px) {
  .home-hero__video-trigger video { transform: translateY(calc(1rem + 1px)); }
}
.home-hero__play-hint { position: absolute; right: 7%; bottom: 8%; min-height: 2.375rem; padding: 0 .875rem 0 .625rem; display: inline-flex; align-items: center; gap: .5rem; border: 1px solid rgba(176,144,61,.48); border-radius: 999px; color: var(--home-gold); background: rgba(252,249,247,.88); backdrop-filter: blur(.35rem); font: 500 .625rem/1.2 'Montserrat', Arial, sans-serif; letter-spacing: .04em; transition: opacity .25s ease, transform .25s ease; pointer-events: none; }
.home-hero__play-hint i { width: 1.125rem; height: 1.125rem; display: grid; place-items: center; border-radius: 50%; background: var(--home-gold); }
.home-hero__play-hint i::before { content: ''; width: 0; height: 0; margin-left: .125rem; border-top: .22rem solid transparent; border-bottom: .22rem solid transparent; border-left: .34rem solid #fff; }
.home-hero__video-trigger[data-state="playing"] .home-hero__play-hint { opacity: 0; transform: translateY(.35rem); }
@media (hover: hover) and (pointer: fine) {
  .home-hero__video-trigger[data-state="idle"]:hover { filter: saturate(1.04); }
}
.home-hero__lead { width: min(100%, 30rem); margin-top: clamp(2rem, 3vw, 3rem); }
.home-hero__lead > p { width: 100%; margin: 0; color: var(--home-muted); font: 400 0.75rem/1.55 'Montserrat', Arial, sans-serif; }
.home-hero__actions { margin-top: 1.25rem; display: flex; gap: 0.75rem; flex-wrap: wrap; }
.home-button { min-height: 3rem; padding: 0 1.75rem; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--home-gold); border-radius: 62.4375rem; font: 500 0.8125rem/1.2 'Montserrat', Arial, sans-serif; transition: color .25s ease, background-color .25s ease; }
.home-button--primary { color: #fff; border-color: var(--home-gold); background: var(--home-gold); }
.home-button--secondary { color: var(--home-gold); border-color: var(--home-gold); background: transparent; }
.home-button--primary:hover { color: #fff; border-color: var(--home-gold); background: var(--home-gold); }
.home-button--secondary:hover { color: #fff; background: var(--home-gold); }
.home-hero__trust { margin-top: auto; padding-top: 2rem; display: flex; align-items: end; gap: clamp(1.75rem, 3vw, 2.875rem); text-align: left; }
.home-hero__trust > div { display: grid; }
.home-hero__trust strong { font: 400 clamp(2.125rem, 2.75vw, 2.625rem)/.9 'Cormorant', Georgia, serif; font-variant-numeric: lining-nums; }
.home-hero__trust span { margin-top: 0.5rem; color: var(--home-muted); font: 500 clamp(0.5625rem, 0.5rem + 0.18vw, 0.6875rem)/1.3 'Montserrat', Arial, sans-serif; white-space: nowrap; }
.home-benefit-strip { height: 3rem; min-height: 3rem; display: flex; align-items: center; border-bottom: 1px solid var(--home-line); overflow: hidden; }
.home-benefit-strip__track { width: max-content; display: flex; flex: none; will-change: transform; animation: home-benefit-marquee 42s linear infinite; }
.home-benefit-strip__group { width: max-content; min-width: 0; padding-right: 1rem; display: flex; flex: none; align-items: center; gap: 1rem; }
.home-benefit-strip span { color: #988c7f; font: 500 0.625rem/1.3 'Montserrat', Arial, sans-serif; letter-spacing: 0; text-transform: none; white-space: nowrap; }
.home-benefit-strip i { width: 0.25rem; height: 0.25rem; flex: 0 0 0.25rem; transform: rotate(45deg); background: var(--home-line); }
@keyframes home-benefit-marquee {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

#catalog.home-catalog { height: auto; min-height: 0; padding: clamp(4rem, 5.5vw, 5.125rem) var(--home-gutter) clamp(3rem, 4.25vw, 4rem); background: var(--home-paper); }
.home-section-heading { width: 100%; max-width: var(--home-container); margin: 0 auto 2rem; display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; }
.home-section-heading h2,
.home-cacao h2,
.home-composition h2 { margin: 0; font: 400 clamp(3rem, 5vw, 4.75rem)/.95 'Cormorant', Georgia, serif; letter-spacing: -.025em; }
.home-section-heading h2,
.home-cacao h2,
.home-composition h2,
.home-promo-card h2 { text-transform: none; }
.home-section-heading > a { color: var(--home-ink); border-bottom: 1px solid var(--home-line); font: 500 0.75rem/1.4 'Montserrat', Arial, sans-serif; }
.home-product-grid { width: 100%; max-width: var(--home-container); margin-inline: auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.home-product-card { min-width: 0; display: flex; flex-direction: column; }
.home-product-card__image { position: relative; aspect-ratio: 4 / 5; display: block; overflow: hidden; border-radius: 0.375rem; background: var(--home-sand); }
.home-product-card__image img { width: 100%; height: 100%; display: block; object-fit: contain; transition: transform .35s ease; }
.home-product-card__image:hover img { transform: scale(1.025); }
.home-product-card__badge { position: absolute; z-index: 1; top: 0.875rem; left: 0.875rem; min-height: 1.5rem; padding: 0.375rem 0.625rem; display: inline-flex; align-items: center; border-radius: 62.4375rem; color: #fff; background: var(--home-gold); box-shadow: 0 0.25rem 0.875rem rgba(176, 144, 61, .2); font: 500 0.5625rem/1.2 'Montserrat', Arial, sans-serif; letter-spacing: 0; text-transform: none; }
.home-product-card__heading { margin-top: 1.125rem; }
.home-product-card h3 { min-height: 0; margin: 0; font: 400 clamp(1.4375rem, 2vw, 1.9375rem)/1 'Cormorant', Georgia, serif; text-transform: none; }
.home-product-card h3 a { color: var(--home-ink); }
.home-product-card__purchase { margin-top: auto; display: grid; gap: 0.75rem; }
.home-product-card__price { display: block; color: var(--home-ink); font: 600 1.125rem/1.25 'Montserrat', Arial, sans-serif; letter-spacing: -.02em; }
.home-product-card__price del { color: var(--home-muted); }
.home-product-card__price ins { text-decoration: none; }
.home-product-card > p { height: auto; min-height: 0; margin: 0.625rem 0 0.875rem; overflow: visible; color: var(--home-muted); font: 400 0.6875rem/1.55 'Montserrat', Arial, sans-serif; white-space: normal; text-overflow: clip; }
.home-product-card__button { min-height: 2.625rem; display: flex; align-items: center; justify-content: center; border: 1px solid var(--home-gold); border-radius: 62.4375rem; color: var(--home-ink); font: 500 0.75rem/1 'Montserrat', Arial, sans-serif; transition: color .25s ease, background-color .25s ease; }
.home-product-card__button:hover,
.home-product-card__button.is-in-cart,
.home-product-card__button.added { color: #fff; background: var(--home-gold); }
.home-product-card__purchase > .added_to_cart.wc-forward { display: none; }
.home-catalog__footer { display: none; width: 100%; max-width: var(--home-container); margin: 2.25rem auto 0; justify-content: center; }
.home-empty-state { padding: 2.5rem; border: 1px solid var(--home-line); color: var(--home-muted); text-align: center; }

.home-cacao { padding: 2.375rem var(--home-gutter) 2.375rem; scroll-margin-top: var(--home-sticky-nav-height); border-block: 1px solid var(--home-line); background: #fffdf9; }
.home-cacao__shell { width: 100%; max-width: var(--home-container); min-width: 0; margin-inline: auto; display: grid; grid-template-columns: minmax(26.875rem, .94fr) minmax(28.75rem, 1.06fr); gap: clamp(4rem, 6vw, 5.375rem); align-items: start; }
.home-cacao__selector,
.home-cacao__panel { min-width: 0; }
.home-kicker { margin: 0 0 1.125rem; color: var(--home-gold); font: 500 0.5625rem/1.4 'Montserrat', Arial, sans-serif; letter-spacing: .2em; text-transform: uppercase; }
.home-cacao .home-kicker { display: none; }
.home-cacao h2 { max-width: 22.5rem; font-size: clamp(3rem, 4.35vw, 3.5rem); }
.home-cacao__intro { max-width: 28.75rem; margin: 1rem 0 1.125rem; color: var(--home-muted); font: 400 0.75rem/1.55 'Montserrat', Arial, sans-serif; }
.home-cacao__tabs { display: grid; }
.home-cacao__tabs button { min-height: 3.5rem; padding: 0; display: flex; align-items: center; gap: 1.125rem; border: 0; border-bottom: 1px solid var(--home-line); color: #c7b9a6; background: transparent; text-align: left; cursor: pointer; transition: color .3s ease, padding-left .3s ease; }
.home-cacao__tabs button strong { min-width: 4.25rem; font: 400 2.375rem/1 'Cormorant', Georgia, serif; }
.home-cacao__tabs button span { font: 500 clamp(.5625rem,calc(.5rem + .1vw),.625rem)/1.2 'Montserrat', Arial, sans-serif; letter-spacing: normal; text-transform: uppercase; }
.home-cacao__tabs button[aria-selected='true'] { padding-left: 0.5rem; color: var(--home-ink); }
.home-cacao__panel { width: 100%; max-width: 31.25rem; margin-top: 0; opacity: 1; display: flex; flex-direction: column; gap: 0.75rem; align-items: center; justify-self: center; transition: opacity .3s ease; }
.home-cacao__panel.is-changing { opacity: .25; }
.home-cacao__image-wrap { width: min(100%, 26.25rem); max-width: 26.25rem; aspect-ratio: 1; padding: 0; display: grid; place-items: center; justify-self: center; overflow: hidden; border-radius: 50%; background: var(--home-sand); }
.home-cacao__image-wrap img { display: block; width: 100%; height: auto; aspect-ratio: 1; min-width: 0; min-height: 0; object-fit: cover; object-position: center 75%; }
.home-cacao__copy { width: 100%; max-width: 29.375rem; text-align: center; }
.home-cacao__copy h3 { margin: 0; font: 400 clamp(2.5rem, 2.9vw, 2.75rem)/1 'Cormorant', Georgia, serif; letter-spacing: normal; }
.home-cacao__description { max-width: 27.5rem; margin: 0.625rem auto 0.5rem; color: var(--home-muted); font: 400 0.75rem/1.5 'Montserrat', Arial, sans-serif; }
.home-cacao__fact { min-height: 0; margin: 0 0 0.875rem; color: var(--home-gold); font: 500 0.5rem/1.4 'Montserrat', Arial, sans-serif; letter-spacing: normal; text-transform: uppercase; }
.home-cacao__buy { display: flex; align-items: center; justify-content: center; gap: 1.25rem; }
.home-cacao__buy strong { font: 400 1.5625rem/1 'Cormorant', Georgia, serif; }

.home-composition { padding: 2.9375rem var(--home-gutter); background: #fff; }
.home-composition__shell { width: 100%; max-width: var(--home-container); margin-inline: auto; display: grid; grid-template-columns: minmax(18.75rem, .9fr) minmax(31.25rem, 1.6fr); gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.home-composition h2 { max-width: 20.625rem; font-size: clamp(2.5rem, 3.5vw, 2.75rem); line-height: .96; }
.home-composition__intro > p:last-child { max-width: 24.375rem; margin: 1.25rem 0 0; color: var(--home-muted); font: 400 0.8125rem/1.6 'Montserrat', Arial, sans-serif; }
.home-composition dl { margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.home-composition dl > div { min-height: 6.5625rem; padding: 1rem 1.375rem; border-left: 1px solid var(--home-line); }
.home-composition dt { color: var(--home-gold); font: 400 2.125rem/1 'Cormorant', Georgia, serif; }
.home-composition dd { margin: 0.625rem 0 0; color: var(--home-muted); font: 400 0.6875rem/1.45 'Montserrat', Arial, sans-serif; }

.home-promo-grid { width: 100%; max-width: calc(var(--home-container) + 2 * var(--home-gutter)); margin-inline: auto; padding: 2.9375rem var(--home-gutter) 3.6875rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; background: var(--home-paper); }
.home-promo-card { min-height: 13.5rem; padding: 2.25rem; border: 0; border-radius: 0; }
.home-promo-card h2 { margin: 0; font: 400 clamp(2.125rem, 2.6vw, 2.5rem)/1.05 'Cormorant', Georgia, serif; letter-spacing: -.02em; }
.home-promo-card > p { max-width: 37.5rem; margin: 1rem 0 0; color: var(--home-muted); font: 400 0.75rem/1.55 'Montserrat', Arial, sans-serif; }
.home-promo-card--gift { color: var(--home-ink); background: var(--home-sand); }
.home-promo-card--gift h2 { color: var(--home-ink); }
.home-promo-card--gift > p { color: var(--home-muted); }
.home-promo-card--gift .home-button { min-height: 2.625rem; margin-top: 1.375rem; color: #fff; border-color: var(--home-gold); background: var(--home-gold); }
.home-promo-card--where { background: #fff; }
.home-promo-card--where nav { margin-top: 1.125rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.home-promo-card--where nav a { min-height: 2.25rem; padding: 0 1rem; display: inline-flex; align-items: center; border: 1px solid var(--home-line); border-radius: 62.4375rem; color: var(--home-ink); font: 500 0.625rem/1 'Montserrat', Arial, sans-serif; }
.home-promo-card--where > p a { color: inherit; border-bottom: 1px solid currentColor; }

@media (max-width: 1199px) {
  .home-cacao { border-block: 0; }
}

@media (min-width: 601px) and (max-width: 1199px) {
  :root { --home-shipping-height: 2.25rem; }
  .home-cacao__shell { grid-template-columns: 1fr; gap: 3.375rem; }
  .home-cacao__panel { max-width: 47.5rem; }
  .nav { gap: 1.125rem; }
  .nav-links { gap: 0.875rem; }
  .nav .nav-links:first-child,
  .nav .nav-links:last-of-type { gap: 0.875rem; }
  .nav-links a { font-size: 0.625rem; }
  .header-account { display: none !important; }
  .home-hero,
  .home-hero__shell { min-height: clamp(29rem, 50vw, 33rem); max-height: none; }
  .home-hero { margin-top: 0; }
  .home-hero__shell { padding-block: 2.75rem 2rem; grid-template-columns: minmax(15rem, .9fr) minmax(19rem, 1.1fr); gap: clamp(1.25rem, 4vw, 3rem); }
  .home-hero__video-trigger { width: min(100%, 31rem); align-self: stretch; aspect-ratio: auto; }
  .home-hero__video-trigger video { bottom: -2.75rem; }
  .home-hero__lead { margin-top: 1.75rem; }
  .home-hero__trust { padding-top: 1.5rem; }
  .home-hero__actions { gap: .625rem; }
  .home-button { min-height: 2.75rem; padding-inline: 1.125rem; text-align: center; }
  .home-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.625rem 1.5rem; }
  .home-composition__shell { grid-template-columns: 1fr; }
  .nav,
  .nav-sticky .nav {
    min-height: 4.875rem;
    padding: 0 clamp(1.5rem, 3.35vw, 2.25rem);
    grid-template-columns: auto 1fr auto;
    gap: 0.875rem;
  }
  .nav .brand { width: 8.75rem; height: 3.75rem; justify-self: start; }
  .nav .brand img { width: 8.75rem; height: 3.75rem; }
  .nav-links-study { display: none !important; }
  .nav-links-transactional,
  .floating-actions { position: static; display: flex; justify-self: end; gap: 0.5rem; }
  .floating-actions .header-account,
  .floating-actions a:nth-child(n).header-account { width: 2.625rem; height: 2.625rem; display: inline-flex !important; }
  .floating-actions .header-cart,
  .floating-actions a:nth-child(n).header-cart { width: 2.625rem; min-width: 2.625rem; height: 2.625rem; padding: 0; }
  .menu-toggle {
    position: relative;
    inset: auto;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0.625rem 0.375rem;
    display: grid;
    align-content: center;
    gap: 0.3125rem;
    border: 0;
    background: transparent;
  }
  .menu-toggle span { width: 1.6875rem; height: 1px; display: block; background: var(--home-ink); }
}

@media (max-width: 1199px) {
  .header-where { display: none !important; }
  .home-composition dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-composition dl > div { border: 0; }
  .home-composition dl > div:nth-child(even) { border-left: 1px solid var(--home-line); }
  .home-composition dl > div:nth-child(n + 3) { border-top: 1px solid var(--home-line); }
  .mobile-menu { inset: 0; height:100%; height:100dvh; overflow-y:auto; overscroll-behavior:contain; }
  body.nav-sticky .mobile-menu { top:0; }
  .mobile-menu::before { width: 88vw; background: var(--home-paper); }
  .mobile-menu nav { top: 4.25rem; left: 1.75rem; width: calc(88vw - 3.5rem); }
  .mobile-menu-label { margin: 1.625rem 0 0.875rem; color: var(--home-gold); font: 500 0.5625rem/1.2 'Montserrat', Arial, sans-serif; letter-spacing: .2em; text-transform: uppercase; }
  .mobile-menu li + li { margin-top: 0.75rem; }
  .mobile-menu a { max-width: 100%; color: var(--home-ink); font-size: 1.5rem; line-height: 1.08; text-transform: none; }
  .mobile-menu .mobile-menu-brand { position: absolute; z-index: 2; top: 0.5625rem; left: clamp(1.5rem, 3.35vw, 2.25rem); width: 8.75rem; height: 3.75rem; display: grid; place-items: center; transform: translateX(-115%); transition: transform .25s ease; }
  .mobile-menu-open .mobile-menu-brand { transform: translateX(0); }
  .mobile-menu-brand img { width: 8.75rem; height: 3.75rem; object-fit: contain; }
  .mobile-menu-close { top: 0.875rem; left: calc(88vw - 3rem); }
}

@media (min-width: 601px) and (max-width: 1199px) {
  .mobile-menu a { font-size: 2rem; }
}

@media (max-width: 600px) {
  :root { --home-shipping-height: 8.372093vw; --home-sticky-nav-height: 4.25rem; }
  html { scroll-behavior: auto; }
  .site-header { height: calc(4.25rem + var(--home-shipping-height)); }
  .nav,
  .nav-sticky .nav { min-height: 4.25rem; padding: 0 clamp(0.75rem, 4.6vw, 1.125rem); grid-template-columns: auto 1fr auto; gap: clamp(0.375rem, 2vw, 0.8125rem); }
  .nav .brand { width: clamp(6.5rem, 31vw, 7.75rem); height: 3.375rem; justify-self: start; }
  .nav .brand img { width: clamp(6.5rem, 31vw, 7.75rem); height: 3.375rem; }
  .mobile-menu .mobile-menu-brand { top: 0.4375rem; left: clamp(0.75rem, 4.6vw, 1.125rem); width: clamp(6.5rem, 31vw, 7.75rem); height: 3.375rem; }
  .mobile-menu-brand img { width: clamp(6.5rem, 31vw, 7.75rem); height: 3.375rem; }
  .nav-links-study { display: none !important; }
  .nav-links-transactional,
  .floating-actions { position: static; display: flex; justify-self: end; gap: 0.5rem; }
  .floating-actions .header-account,
  .floating-actions a:nth-child(n).header-account { width: 2.375rem; height: 2.375rem; display: inline-flex !important; }
  .floating-actions .header-account img { width: 1.125rem; height: 1.125rem; }
  .floating-actions .header-cart,
  .floating-actions a:nth-child(n).header-cart { width: 2.375rem; min-width: 2.375rem; height: 2.375rem; padding: 0; gap: 0.3125rem; }
  .floating-actions .header-cart img { width: 1.125rem; height: 1.125rem; }
  .menu-toggle { position: relative; inset: auto; width: 2.5rem; height: 2.5rem; padding: 0.625rem 0.375rem; display: grid; align-content: center; gap: 0.3125rem; border: 0; background: transparent; }
  .menu-toggle span { width: 1.6875rem; height: 1px; display: block; background: var(--home-ink); }
  .mobile-menu { z-index: 200; }
  .catalog-cacao-filter { margin: -1.25rem 0 1.875rem; }

  .home-hero,
  .home-hero__shell { min-height: 0; max-height: none; }
  .home-hero { margin-top: 0; }
  .home-hero__shell { padding-block: 2rem 1.75rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .home-hero__copy { display: block; }
  .home-hero__video-trigger { display: none; }
  .home-hero__lead { width: auto; margin-top: 1.5rem; }
  .home-hero__lead > p { width: 100%; margin-bottom: 1rem; font-size: 0.75rem; line-height: 1.5; }
  .home-hero__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .home-button { min-height: 2.75rem; padding: 0 0.875rem; font-size: 0.6875rem; text-align: center; }
  .home-hero__trust { margin-top: 1.5rem; padding-top: 0; gap: 1.125rem; }
  .home-hero__trust strong { font-size: 2.125rem; }
  .home-hero__trust span { max-width: 7.8125rem; }
  .home-benefit-strip__track { animation-duration: 34s; }
  .home-benefit-strip__group { gap: 0.75rem; padding-right: 0.75rem; }
  .home-benefit-strip span { font-size: 0.5625rem; }

  #catalog.home-catalog { padding: 4.125rem 0 4.25rem; overflow: hidden; }
  .home-section-heading { padding: 0 1.125rem; margin-bottom: 1.5625rem; }
  .home-section-heading h2,
  .home-cacao h2 { font-size: 3rem; }
  .home-composition h2 { font-size: 2.5rem; }
  .home-product-grid { padding: 0 1.125rem 0.75rem; grid-template-columns: minmax(0, 1fr); grid-auto-columns: auto; grid-auto-flow: row; gap: 2.5rem; overflow: visible; scroll-snap-type: none; }
  .home-product-card { width: 100%; justify-self: stretch; scroll-snap-align: none; }
  .home-product-card__image { aspect-ratio: 4 / 5; }
  .home-catalog__footer { margin-top: 1.375rem; padding: 0 1.125rem; display: flex; justify-content: stretch; }
  .home-catalog__footer .home-button { width: 100%; }

  .home-cacao { padding: 4.375rem 1.125rem 5rem; }
  .home-cacao__shell { grid-template-columns: 1fr; gap: 2rem; }
  .home-cacao__intro { margin: 1.0625rem 0 1.4375rem; }
  .home-cacao__tabs { width: calc(100% + 2.25rem); max-width: calc(100vw - 1px); margin-inline: -1.125rem; padding: 0 1.125rem 0.5rem; display: flex; gap: 0.625rem; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
  .home-cacao__tabs::-webkit-scrollbar { display: none; }
  .home-cacao__tabs button { min-width: 6.75rem; min-height: 4.75rem; padding: 0 0.6875rem; display: grid; align-content: center; gap: 0.3125rem; border: 1px solid var(--home-line); border-radius: 0.25rem; scroll-snap-align: start; }
  .home-cacao__tabs button[aria-selected='true'] { padding-left: 0.6875rem; color: #fff; border-color: var(--home-gold); background: var(--home-gold); }
  .home-cacao__tabs button strong { min-width: 0; font-size: 1.9375rem; }
  .home-cacao__panel { display: flex; flex-direction: column; gap: 1.5625rem; }
  .home-cacao__image-wrap { width: min(78vw, 20.625rem); order: 0; }
  .home-cacao__copy { order: 1; text-align: center; }
  .home-cacao__copy h3 { font-size: 2.5rem; }
  .home-cacao__fact { min-height: 0; }
  .home-cacao__buy { justify-content: center; }

  .home-composition { padding: 4.125rem 1.125rem; }
  .home-composition__shell { grid-template-columns: 1fr; gap: 2.25rem; }
  .home-composition dl > div { padding: 1.125rem 0.875rem; }
  .home-promo-grid { padding: 2.25rem 1.125rem 3rem; grid-template-columns: 1fr; gap: 0.75rem; }
  .home-promo-card { min-height: 0; padding: 1.75rem 1.5rem; }
  .home-promo-card h2 { font-size: 2.125rem; }
  .home-section-heading > a { font-size: clamp(0.625rem, 2.6vw, 0.75rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .home *,
  .home *::before,
  .home *::after { scroll-behavior: auto !important; transition-duration: 0s !important; animation-duration: 0s !important; }
  .home-benefit-strip__track { transform: translateX(0); animation: none !important; }
}

/* The homepage consumes the shared three-mode container tokens defined by the theme. */
@media (max-width: 600px) {
  .home-hero__shell { width:100vw; padding-inline:var(--layout-gutter); grid-template-columns:minmax(0,1fr); }
  .home-hero__lead { width:100%; min-width:0; }
  #catalog.home-catalog { padding-inline: 0; }
  .home-section-heading,
  .home-catalog__footer { padding-inline: var(--layout-gutter); }
  .home-product-grid {
    width: calc(100% - 2 * var(--layout-gutter));
    padding-inline: 0;
    grid-auto-columns: auto;
  }
  .home-cacao,
  .home-composition,
  .home-promo-grid { padding-inline: var(--layout-gutter); }
  .home-cacao__tabs {
    width:100%;
    max-width:100%;
    margin-inline:0;
    padding-inline:0;
  }
}

/* Legacy catalog breakpoints must not reintroduce fixed rows or card gutters. */
.catalog-page ul.products.home-product-grid,
.catalog-page.catalog-group-chocolate-30g ul.products.home-product-grid {
  grid-template-rows: none;
  grid-auto-rows: auto;
}

.catalog-page ul.products.home-product-grid > li.product.home-product-card,
.catalog-page.catalog-group-chocolate-30g ul.products.home-product-grid > li.product.home-product-card {
  height: auto;
  min-height: auto;
  padding: 0;
}

@media (min-width:601px) and (max-width:1199px) {
  .home-hero__shell { width:min(var(--layout-container),calc(100% - 2 * var(--layout-gutter))); max-width:var(--layout-container); padding-inline:0; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); container-type:inline-size; }
}

/* The homepage card is the canonical product presentation in every context. */
.catalog-page ul.products.home-product-grid,
.product-related-grid.home-product-grid,
.media-article-products-grid.home-product-grid,
.recipe-product-grid.home-product-grid,
.corporate-gifts-showcase-grid.home-product-grid {
  width: 100%;
  max-width: var(--home-container);
  height: auto;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: none;
  grid-auto-rows: auto;
  gap: 1.5rem;
  align-items: stretch;
  overflow: visible;
  text-align: left;
  transform: none;
}

/* Recipes render at most three explicitly selected products, not a four-slot catalog row. */
.recipe-product-grid.home-product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Media articles select three products, so the row must not reserve a fourth catalog track. */
.media-article-products-grid.home-product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (min-width: 1200px) {
  .recipe-product-grid--count-1.home-product-grid {
    grid-template-columns: minmax(0, calc((100% - 3rem) / 3));
    justify-content: center;
  }

  .recipe-product-grid--count-2.home-product-grid {
    grid-template-columns: repeat(2, minmax(0, calc((100% - 3rem) / 3)));
    justify-content: center;
  }

  .recipe-detail-intro { height: 120rem; }
  .recipe-detail-long .recipe-detail-intro { height: 145rem; }
  .recipe-detail-banana .recipe-detail-intro { height: 140rem; }
  .recipe-product-promo,
  .recipe-detail-long .recipe-product-promo,
  .recipe-detail-banana .recipe-product-promo { height: auto; }
}

:is(
  .catalog-page ul.products.home-product-grid,
  .product-related-grid.home-product-grid,
  .media-article-products-grid.home-product-grid,
  .recipe-product-grid.home-product-grid,
  .corporate-gifts-showcase-grid.home-product-grid
) > .home-product-card {
  width: auto;
  min-width: 0;
  max-width: none;
  height: auto;
  min-height: auto;
  margin: 0;
  padding: 0;
  position: relative;
  display: flex;
  flex: initial;
  flex-direction: column;
  gap: 0;
  float: none;
  background: transparent;
  text-align: start;
  transform: none;
}

:is(
  .catalog-page ul.products.home-product-grid,
  .product-related-grid.home-product-grid,
  .media-article-products-grid.home-product-grid,
  .recipe-product-grid.home-product-grid,
  .corporate-gifts-showcase-grid.home-product-grid
) > .home-product-card > .home-product-card__image {
  aspect-ratio: 4 / 5;
}

:is(
  .catalog-page ul.products.home-product-grid,
  .product-related-grid.home-product-grid,
  .media-article-products-grid.home-product-grid,
  .recipe-product-grid.home-product-grid,
  .corporate-gifts-showcase-grid.home-product-grid
) > .home-product-card h3 {
  text-transform: none;
}

.commerce-modal-product .product-related-grid.home-product-grid {
  width: 100%;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: visible;
}

.commerce-modal-product .product-related-grid.home-product-grid > .home-product-card {
  width: auto;
  min-width: 0;
  max-width: none;
  min-height: auto;
  padding-bottom: 0;
  flex: initial;
}

ul.products.home-product-grid > li.product.home-product-card > .home-product-card__purchase > a.home-product-card__button {
  display: flex !important;
}

.woocommerce ul.products.home-product-grid > li.product.home-product-card {
  min-height: auto;
}

.woocommerce ul.products.home-product-grid li.product.home-product-card h3 {
  margin: 0;
  padding: 0;
  font: 400 clamp(1.4375rem, 2vw, 1.9375rem) / 1 'Cormorant', Georgia, serif;
  text-transform: none;
}

.woocommerce ul.products.home-product-grid li.product.home-product-card a.home-product-card__image img {
  width: 100%;
  height: 100%;
  margin: 0;
  display: block;
  object-fit: contain;
}

.catalog-page ul.products.home-product-grid.is-filter-entering {
  opacity: 0;
  transform: translateY(8px);
}

@media (prefers-reduced-motion: reduce) {
  .catalog-page ul.products.home-product-grid.is-filter-entering {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1199px) {
  .catalog-page ul.products.home-product-grid,
  .product-related-grid.home-product-grid,
  .media-article-products-grid.home-product-grid,
  .recipe-product-grid.home-product-grid,
  .corporate-gifts-showcase-grid.home-product-grid,
  .commerce-modal-product .product-related-grid.home-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.625rem 1.5rem;
  }

  .catalog-page ul.products.home-product-grid {
    width: calc(100vw - 2 * var(--layout-gutter));
    max-width: var(--home-container);
    margin-left: calc(50% - 50vw + var(--layout-gutter));
    margin-right: calc(50% - 50vw + var(--layout-gutter));
  }
}

@media (max-width: 600px) {
  .catalog-page ul.products.home-product-grid,
  .product-related-grid.home-product-grid,
  .media-article-products-grid.home-product-grid,
  .recipe-product-grid.home-product-grid,
  .corporate-gifts-showcase-grid.home-product-grid,
  .commerce-modal-product .product-related-grid.home-product-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }

  :is(
    .catalog-page ul.products.home-product-grid,
    .product-related-grid.home-product-grid,
    .media-article-products-grid.home-product-grid,
    .recipe-product-grid.home-product-grid,
    .corporate-gifts-showcase-grid.home-product-grid
  ) > .home-product-card > .home-product-card__image {
    aspect-ratio: 4 / 5;
  }
}

/* Original hero artwork and aligned headline/pyramid composition. */
.home-hero { background: linear-gradient(rgba(251,247,245,.7), rgba(251,247,245,.7)), url('../images/hero-original-stripes.webp') center / cover; }
.home-hero__video-trigger { background: transparent; isolation: auto; mix-blend-mode: multiply; }
.home-hero__video-trigger video { filter: brightness(1.03) grayscale(.18) saturate(.72); }
.home-hero__video-trigger[data-state="settled"] .home-hero__play-hint { opacity: 0; }
@media (min-width: 601px) {
  .home-hero__shell { padding-top: clamp(5rem, 7vw, 7rem); }
  .home-hero__copy { justify-content: flex-start; padding-top: clamp(1rem, 1.6vw, 1.8rem); }
  .home-hero__video-trigger { align-self: stretch; }
  .home-hero__video-trigger video { top: 0; bottom: auto; transform: none; }
}
.floating-actions a:nth-child(n).header-with-label { width: auto; min-width: 0; border: 0; border-radius: 0; color: var(--home-ink); background: transparent; gap: .5rem; }
.floating-actions a:nth-child(n).header-with-label:hover{ color: var(--home-ink); background: transparent; }
.floating-actions a:nth-child(n) .header-action-icon { position: relative; display: inline-grid; place-items: center; width: 2.625rem; height: 2.625rem; flex: 0 0 2.625rem; border: 1px solid var(--home-line); border-radius: 50%; }
.floating-actions a:nth-child(n).header-cart .header-action-icon { background: var(--home-gold); border-color: var(--home-gold); }
.floating-actions a:nth-child(n) .header-action-label { white-space: nowrap; line-height: 1.3; }
.floating-actions .header-cart .cart-count { left: auto; width: 2.625rem; color: #fff; }
.floating-actions a:nth-child(n).header-account:hover .header-action-icon { color: #fff; background: var(--home-gold); border-color: var(--home-gold); }
@media (min-width: 1200px) {
  .nav, .nav-sticky .nav { grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); gap: .75rem; }
  .nav .nav-links:last-of-type.floating-actions { gap: .75rem; }
}
@media (max-width: 600px) {
  .site-header { height: calc(7.5rem + var(--home-shipping-height)); }
  .nav, .nav-sticky .nav { grid-template-columns: 1fr auto; min-height: 7.5rem; padding-block: .25rem .5rem; row-gap: .25rem; }
  .nav .brand { grid-column: 1; grid-row: 1; }
  .menu-toggle { grid-column: 2; grid-row: 1; }
  .nav .nav-links:last-of-type.floating-actions { grid-column: 1 / -1; grid-row: 2; justify-self: stretch; justify-content: space-between; gap: .5rem; }
  .floating-actions a:nth-child(n) .header-action-label { font-size: .6875rem; }
  .floating-actions a:nth-child(n).header-with-label { width: auto; }
  .floating-actions a:nth-child(n) .header-action-icon { width: 2.375rem; height: 2.375rem; flex-basis: 2.375rem; }
  .floating-actions .header-cart .cart-count { width: 2.375rem; }
}

/* Header controls use normal flow, never legacy artboard offsets. */
.site-header .shipping { box-sizing: border-box; min-height: var(--home-shipping-height); height: var(--home-shipping-height); gap: 8px; padding: 0 12px; }
.site-header .shipping img { position: static; inset: auto; width: 20px; height: 20px; zoom: 1; flex: 0 0 20px; }
.site-header .shipping span { position: static; inset: auto; width: auto; max-width: calc(100% - 28px); min-width: 0; zoom: 1; font: 400 12px/1.3 'Montserrat',Arial,sans-serif; white-space: normal; text-align: center; }
.nav .floating-actions a:nth-child(n) .header-action-icon,
.nav .floating-actions a:nth-child(n) .header-action-label,
.nav .floating-actions a:nth-child(n) .header-action-icon img { inset: auto; transform: none; margin: 0; }
@media (max-width: 1199px) {
  :root { --home-shipping-height: 36px; }
}
@media (max-width: 900px) {
  .site-header { height: calc(120px + var(--home-shipping-height)); }
  .nav, .nav-sticky .nav { grid-template-columns: 1fr auto; min-height: 120px; padding: 4px 18px 8px; row-gap: 4px; }
  .nav .brand { grid-column: 1; grid-row: 1; }
  .menu-toggle { grid-column: 2; grid-row: 1; }
  .nav .nav-links-study { display: none !important; }
  .nav .nav-links:last-of-type.floating-actions { grid-column: 1 / -1; grid-row: 2; justify-self: stretch; justify-content: space-between; gap: 8px; }
  .nav .floating-actions a:nth-child(n).header-with-label { width: auto; height: 38px; flex: 0 0 auto; gap: 6px; }
  .nav .floating-actions a:nth-child(n) .header-action-label { font-size: 11px; }
  .nav .floating-actions a:nth-child(n) .header-action-icon { width: 38px; height: 38px; flex-basis: 38px; }
  .nav .floating-actions .header-cart .cart-count { width: 38px; }
}
@media (min-width: 601px) and (max-width: 900px) {
  .site-header { height: calc(144px + var(--home-shipping-height)); }
  .nav, .nav-sticky .nav { min-height: 144px; }
  .nav .nav-links:last-of-type.floating-actions { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); justify-items:center; }
  .nav .floating-actions a:nth-child(n).header-with-label { width:100%; height:auto; flex-direction:column; gap:6px; }
}

/* Balanced labels on compact screens and larger desktop botanical details. */
@media(min-width:901px){.home #catalog::before{width:300px;height:230px}.home #catalog::after{width:240px;height:190px}.home .feature::before{width:260px;height:320px}.home .reviews::before{width:230px;height:270px}}
@media(max-width:600px){.nav .nav-links:last-of-type.floating-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.nav .floating-actions a:nth-child(n).header-with-label{flex-direction:column;height:auto;gap:6px;padding:4px 0}.nav .floating-actions a:nth-child(n) .header-action-label{font-size:10px}.site-header{height:calc(144px + var(--home-shipping-height))}.nav,.nav-sticky .nav{min-height:144px}.nav .floating-actions .header-cart .cart-count{top:auto;bottom:4px;height:38px;left:50%;right:auto;transform:translateX(-50%);}}

/* A quiet, continuous gold sheen; the label stays above the background. */
body :is(.home-button--primary, .home-promo-card--gift .home-button, .button, button[type="submit"]):not(:disabled):not([aria-disabled="true"]):not(.loading) {
  background-image: linear-gradient(110deg, transparent 36%, rgba(255,232,164,.14) 43%, rgba(255,248,222,.38) 49%, rgba(255,232,164,.14) 55%, transparent 62%);
  background-size: 300% 100%;
  background-repeat: no-repeat;
  animation: theobroma-gold-sheen 6s ease-in-out infinite;
}
@keyframes theobroma-gold-sheen {
  0%, 65% { background-position: 150% 0; }
  92%, 100% { background-position: -50% 0; }
}
@media (prefers-reduced-motion: reduce) {
  body :is(.home-button--primary, .home-promo-card--gift .home-button, .button, button[type="submit"]) {
    animation: none !important; background-image: none !important;
  }
}
.nav .nav-links-study a:first-child { max-width: 10rem; white-space: normal; }
#home-catalog-title { min-width: 0; line-height: 1.05; }
.catalog-page .catalog-title { height: auto; max-width: 100%; white-space: normal; line-height: 1.05; text-transform: none; }
@media (max-width: 600px) {
  .home-catalog .home-section-heading { flex-direction: column; align-items: flex-start; gap: .75rem; }
}

/* Section peers share the same responsive type scale. */
#home-catalog-title,
#home-cacao-title { font-size: clamp(3rem, 4.35vw, 3.5rem); line-height: 1.05; }
@media (max-width: 600px) {
  #home-catalog-title, #home-cacao-title { font-size: 3rem; }
}
/* Gold invites adding; white confirms the product is already in the cart. */
body a.home-product-card__button {
  color: #fff; border-color: var(--home-gold); background-color: var(--home-gold);
  background-image: linear-gradient(110deg, transparent 36%, rgba(255,232,164,.14) 43%, rgba(255,248,222,.38) 49%, rgba(255,232,164,.14) 55%, transparent 62%);
  background-size: 300% 100%; background-repeat: no-repeat;
  animation: theobroma-gold-sheen 6s ease-in-out infinite;
}
body a.home-product-card__button:is(.is-in-cart, .added),
body a.home-product-card__button:is(.is-in-cart, .added):hover {
  color: var(--home-gold); background: #fff; animation: none;
}
body a.home-product-card__button:is(.loading, [aria-disabled="true"]) { animation: none; background-image: none; }
@media (prefers-reduced-motion: reduce) {
  body a.home-product-card__button { animation: none; background-image: none; }
}

/* Shared scale is limited to editorial section headings, not commerce UI. */
:root { --type-h1: 52px; --type-h2: 52px; --type-h3: 26px; }
body :is(#home-catalog-title, #home-cacao-title, #home-composition-title,
  .theobroma-photo-showcase__intro h2, .catalog-page .catalog-title) {
  font-family: 'Cormorant', Georgia, serif;
  font-size: var(--type-h2);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: normal;
  text-transform: none;
  height: auto;
  min-width: 0;
  white-space: normal;
}
/* Let the company section grow with the shared heading scale. */
.home .feature { height: auto; }
.home .about-stage {
  position: relative; inset: auto; width: min(100% - 36px, var(--home-container));
  height: auto; margin: 0 auto; padding: 48px 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px;
}
.home .about-stage .about-award { position: relative; inset: auto; width: min(100%, 360px); height: 300px; margin: auto; object-fit: contain; }
.home .about-stage .story { position: static; width: auto; height: auto; padding: 32px; }
.home .about-stage .story :is(h2, p) { position: static; width: auto; height: auto; }
.home .about-stage .story p { margin-top: 24px; line-height: 1.6; }
.home .about-stage .values { position: static; width: auto; grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.home .about-stage .value { height: auto; min-width: 0; }
.home .about-stage .value > div, .home .about-stage .value h3 { width: auto; }
@media (max-width: 900px) {
  .home .about-stage { grid-template-columns: minmax(0, 1fr); }
  .home .about-stage .about-award { height: 200px; }
  .home .about-stage .values { grid-template-columns: minmax(0, 1fr); }
  .home .about-stage .story { padding: 24px; }
}

.home .about-stage .story .story-title {
  margin: 0; font: 400 var(--type-h3)/1.2 'Cormorant', Georgia, serif;
  letter-spacing: normal; text-transform: none;
}
.home .story-title em { color: var(--home-gold); }

/* Typography measured on the original Theobroma storefront. */
:root { --type-h1: 52px; --type-h2: 52px; --type-h3: 26px; }
body .catalog-title { font-weight: 500 !important; }
body .home-product-card h3,
body .home-product-card h3 a {
  font-family: 'Montserrat', Arial, sans-serif !important;
  font-size: 14px !important; font-weight: 500 !important;
  line-height: 1.35 !important; letter-spacing: normal !important;
  text-transform: uppercase !important; color: #343434;
}
body .home-product-card > p {
  font: 400 14px/1.55 'Montserrat', Arial, sans-serif;
  color: #343434; letter-spacing: normal;
}
body .home-product-card__price {
  color: #b0903d; font: 500 18px/1.35 'Montserrat', Arial, sans-serif;
  letter-spacing: normal;
}
body .home-product-card__price :is(span, ins) { color: inherit; font: inherit; }
body .home .about-stage .story .story-title {
  font-size: 26px; line-height: 31px; text-transform: uppercase;
}
body .home .value h3 { text-transform: uppercase !important; }
@media (min-width: 1200px) {
  .nav .nav-links-study { display: flex; flex-wrap: nowrap; gap: clamp(10px, 1vw, 16px); }
  .nav .nav-links-study a { min-height: 25px; padding: 0; font: 400 clamp(12px, .95vw, 14px)/25px 'Montserrat', Arial, sans-serif; }
  .nav .nav-links-study a:first-child { max-width: none; white-space: nowrap; }
}
@media (max-width: 1199px) {
  :root { --type-h1: 44px; --type-h2: 44px; }
}
@media (max-width: 600px) {
  :root { --type-h1: 30px; --type-h2: 30px; }
  body .home-product-card > p { font-size: 12px; }
}

@media (min-width: 1200px) {
  .nav .nav-links-study a,
  .nav .floating-actions a:nth-child(n) .header-action-label {
    font: 400 clamp(12px, .95vw, 14px)/25px 'Montserrat', Arial, sans-serif;
    letter-spacing: normal;
  }
}

/* Account forms retain their own compact UI typography. */
.woocommerce-account .woocommerce :is(.account-page-auth, .account-recovery-card) h2 {
  font: 500 20px/1.3 'Montserrat', Arial, sans-serif;
  letter-spacing: normal;
  text-transform: none;
}
/* Account copy must wrap naturally, including long customer display names. */
.theobroma-account-dashboard h1 { overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .woocommerce-account .account-page-title { font-size: 30px; line-height: 1.1; }
  .theobroma-account-dashboard h1 { font-size: 28px; line-height: 1.15; }
}

/* Account navigation and dashboard cards stay readable at every viewport. */
.logged-in.woocommerce-account .woocommerce-MyAccount-navigation ul {
  width: 100%; max-width: 100%; display: grid; gap: 8px;
  padding: 0; overflow: visible; background: transparent;
}
.logged-in.woocommerce-account .woocommerce-MyAccount-navigation li { min-width: 0; }
.logged-in.woocommerce-account .woocommerce-MyAccount-navigation a {
  min-height: 48px; height: 100%; padding: 12px 16px; box-sizing: border-box;
  border: 1px solid #dfd2c3; border-radius: 8px; background: #f3ebe4;
  font: 500 14px/1.35 'Montserrat', Arial, sans-serif;
  text-decoration: none; white-space: normal; text-align: left;
  transition: background-color 160ms ease, border-color 160ms ease;
}
.logged-in.woocommerce-account .woocommerce-MyAccount-navigation li:last-child a { border-bottom: 1px solid #dfd2c3; }
.logged-in.woocommerce-account .woocommerce-MyAccount-navigation .is-active a { background: #b0903d; border-color: #b0903d; color: #fff; }
.logged-in.woocommerce-account .woocommerce-MyAccount-content {
  min-width: 0; padding: 28px; border-radius: 12px;
}
.logged-in.woocommerce-account .account-dashboard-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px;
}
.logged-in.woocommerce-account .account-dashboard-grid a {
  min-width: 0; min-height: 128px; padding: 20px; gap: 12px;
  box-sizing: border-box; border-radius: 8px; text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease;
}
.logged-in.woocommerce-account .account-dashboard-grid span { font: 500 26px/1.1 'Cormorant', Georgia, serif; }
.logged-in.woocommerce-account .account-dashboard-grid small { font: 400 14px/1.5 'Montserrat', Arial, sans-serif; }
@media (hover: hover) {
  .logged-in.woocommerce-account .woocommerce-MyAccount-navigation li:not(.is-active) a:hover,
  .logged-in.woocommerce-account .account-dashboard-grid a:hover { background: #fff; border-color: #b0903d; }
}
@media (max-width: 1199px) {
  .logged-in.woocommerce-account .woocommerce-MyAccount-navigation ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .logged-in.woocommerce-account .woocommerce-MyAccount-navigation a { justify-content: center; text-align: center; }
}
@media (max-width: 600px) {
  .logged-in.woocommerce-account .woocommerce-MyAccount-navigation ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logged-in.woocommerce-account .woocommerce-MyAccount-content { padding: 20px 16px; }
  .logged-in.woocommerce-account .account-dashboard-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .logged-in.woocommerce-account .account-dashboard-grid a { min-height: 108px; padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .logged-in.woocommerce-account .woocommerce-MyAccount-navigation a,
  .logged-in.woocommerce-account .account-dashboard-grid a { transition: none; }
}

/* Section titles share case; mobile containers own their horizontal gutter. */
body :is(#home-catalog-title, #home-cacao-title, #home-composition-title,
  .theobroma-photo-showcase__intro h2, .catalog-page .catalog-title,
  .home-promo-card h2) { text-transform: uppercase; }
.site-header .shipping span { font-size: clamp(14px, 1.12vw, 20px); }
.site-header .shipping img { width: 24px; height: 24px; flex-basis: 24px; }
@media (max-width: 600px) {
  .home .home-section-heading { padding-inline: 0; }
  .home .theobroma-photo-showcase__intro { width: 100%; margin-inline: 0; }
  .site-header .shipping span { font-size: clamp(11px, 3.1vw, 13px); }
  .site-header .shipping img { width: 20px; height: 20px; flex-basis: 20px; }
}

/* Keep the headline, actions and proof points together instead of stretching them. */
body .home-hero__copy { justify-content: center; padding-top: 0; }
body .home-hero__trust { margin-top: clamp(24px, 3vw, 40px); padding-top: 0; }
body .home-hero__lead { margin-top: clamp(24px, 2.5vw, 36px); }
body .home-eyebrow { font-size: clamp(32px, 5vw, 80px); }
@media (min-width: 601px) and (max-width: 900px) {
  body .home-eyebrow { font-size: clamp(32px, 4.8vw, 44px); }
  body .home-eyebrow span:nth-child(2) { padding-left: 0; }
}
@media (max-width: 600px) {
  body .home-eyebrow { font-size: clamp(32px, 8.4vw, 48px); }
  body .home-eyebrow span:nth-child(2) { padding-left: 0; }
  body .home-hero__trust { margin-top: 24px; }
}
@media (min-width: 1200px) {
  body .home-hero__copy { justify-content: flex-start; padding-top: clamp(0px, calc(360px - 19vw), 88px); }
}
@media (min-width: 1200px) and (max-width: 1439px) {
  body .home-hero__video-trigger { width: 100%; aspect-ratio: auto; min-height: 0; }
}

/* Keep the hero as tall as its content, with the video filling the same row. */
@media (min-width: 601px) {
  body .home-hero, body .home-hero__shell { min-height: 0; }
  body .home-hero__shell { padding-top: clamp(64px, 5vw, 96px); }
  body .home-hero__copy { justify-content: flex-start; padding-top: 0; }
  body .home-hero__video-trigger {
    width: 100%; height: auto; min-height: 0; aspect-ratio: auto; align-self: stretch;
  }
  body .home-hero__video-trigger video {
    height: calc(111.111% + 2.5rem);
    width: auto;
  }
}

.home-hero__mobile-art { display: none; }
.home-hero__mobile-art img { display: block; width: 100%; height: auto; }

@media (max-width: 600px) {
  .home-hero__mobile-art {
    display: block;
    width: min(62vw, 15rem);
    height: auto;
    margin: .5rem auto -.25rem;
  }
}

/* The mobile pyramid rests on the lower edge of the hero. */
@media (max-width: 600px) {
  body .nav, body.nav-sticky .nav { grid-template-columns: 1fr auto 1fr; }
  body .nav .brand { grid-column: 2; grid-row: 1; justify-self: center; }
  body .nav .menu-toggle { grid-column: 3; grid-row: 1; justify-self: end; }
  body .home-hero__shell { padding-top: 28px; padding-bottom: 0; }
  body .home-hero__copy { text-align: center; }
  body .home-eyebrow { margin-inline: auto; text-align: center; }
  body .home-eyebrow span { padding-left: 0; }
  body .home-hero__lead { margin-top: 20px; }
  body .home-hero__lead > p { max-width: 320px; margin-inline: auto; font-size: 13px; }
  body .home-hero__actions { max-width: 370px; margin-inline: auto; }
  body .home-hero__trust { justify-content: center; margin-top: 24px; text-align: left; }
  body .home-hero__mobile-art { width: min(90vw, 21rem); margin: 16px auto 0; }
}

.home-gi { position: relative; }
.home-hero .home-eyebrow,.home-hero__trust strong { font-family:'Cormorant Hero',Georgia,serif; font-weight:400; font-synthesis:none; }
.home-gi__value { display: flex; align-items: center; gap: 8px; }
.home-gi__button {
  display: inline-grid; place-items: center; width: 24px; height: 24px; padding: 0;
  border: 1px solid var(--home-gold); border-radius: 50%; background: transparent;
  color: #8a6e27; font: 600 13px/1 'Montserrat',Arial,sans-serif; cursor: pointer;
}
.home-gi__button:hover, .home-gi__button[aria-expanded="true"] { color: #fff; background: var(--home-gold); }
body .home-gi__button:focus-visible { outline: 2px solid var(--home-gold) !important; outline-offset: 3px; }
.home-gi__tooltip {
  position: absolute; z-index: 130; bottom: calc(100% + 12px); left: 0;
  width: min(270px, calc(100vw - 36px)); padding: 16px; border: 1px solid var(--home-line);
  border-radius: 12px; background: var(--home-paper); color: var(--home-ink);
  box-shadow: 0 8px 24px rgba(82,57,39,.12); font: 400 13px/1.6 'Montserrat',Arial,sans-serif;
}
.home-gi__tooltip[hidden] { display: none; }
@media (max-width: 600px) {
  .home-gi__tooltip { left: -30px; width: min(270px, calc(100vw - 36px)); }
}
