/* UX/UI specification update — July 2026. */
:root {
  --body-size: 18px;
  --body-leading: 1.58;
}

body { font-size: var(--body-size); line-height: var(--body-leading); }
p, li, dd, input, select, textarea { line-height: var(--body-leading); }
h1 { font-size: clamp(3.25rem, 6.2vw, 6.9rem); line-height: .96; }
h2 { font-size: clamp(2.15rem, 3.8vw, 4.35rem); line-height: 1; }
h3 { font-size: clamp(1.28rem, 1.75vw, 1.85rem); line-height: 1.08; }
.desktop-nav ul { gap: clamp(10px, 1.15vw, 24px); }
.desktop-nav .nav-link { white-space: nowrap; font-size: clamp(.72rem, .82vw, .88rem); }

.support-widget { position: fixed; right: 22px; bottom: 24px; z-index: 80; font-family: var(--ui); }
.support-widget summary { list-style: none; display: flex; align-items: center; gap: 9px; padding: 13px 17px; color: #fff; background: var(--green); border: 1px solid rgba(255,255,255,.28); border-radius: 999px; box-shadow: var(--shadow-md); cursor: pointer; font-weight: 700; }
.support-widget summary::-webkit-details-marker { display: none; }
.support-widget summary svg { width: 21px; height: 21px; }
.support-widget__panel { position: absolute; right: 0; bottom: calc(100% + 12px); width: min(310px, calc(100vw - 32px)); padding: 22px; background: var(--paper-light); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-md); }
.support-widget__panel strong { display: block; margin-bottom: 6px; font-family: var(--display); font-size: 1.45rem; }
.support-widget__panel p { margin-bottom: 14px; color: var(--muted); font-size: .94rem; }
.support-widget__panel a { display: block; padding: 10px 0; border-top: 1px solid var(--line); color: var(--green); font-weight: 700; }

.hero--tz .hero__grid { align-items: center; min-height: min(820px, calc(100svh - 130px)); }
.hero--tz .hero__copy { padding-block: 54px; }
.hero--tz .hero__copy > p { max-width: 680px; }
.hero-photo--paper { max-width: 520px; margin-inline: auto; padding: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 45% 48% 42% 50% / 47% 42% 50% 45%; box-shadow: var(--shadow-md); }
.hero-photo--paper img { aspect-ratio: 4 / 5; object-fit: cover; border-radius: inherit; }
.hero-note--documents { right: 0; bottom: 17%; display: flex; gap: 12px; align-items: center; padding: 14px 17px; background: rgba(251,247,240,.94); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.hero-note--documents svg { width: 28px; height: 28px; color: var(--green); }
.hero-caption--message { left: 0; right: auto; bottom: 4%; max-width: 390px; padding: 14px 18px; background: rgba(243,237,227,.9); border-left: 2px solid var(--green); }
.hero-caption--message p { margin: 0; font-size: 1.05rem; }

.finder-options--line-icons a { display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 10px; }
.finder-options--line-icons svg { width: 30px; height: 30px; stroke-width: 1.55; color: var(--green); }

.category-grid--tz .category-card { min-height: 330px; display: grid; grid-template-rows: auto 1fr; overflow: hidden; isolation: isolate; }
.category-grid--tz .category-card > div:first-child { position: relative; z-index: 3; width: 100%; padding: 28px 30px 8px; }
.category-grid--tz .category-card > div:first-child > span { font-family: var(--ui); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.category-grid--tz .category-card h3 { margin: 8px 0 0; max-width: 95%; font-size: clamp(2.05rem, 3.25vw, 4.5rem); }
.category-grid--tz .category-card p { max-width: 34rem; margin: 9px 0 0; }
.category-grid--tz .category-card--large { min-height: 690px; }
.category-card__art { position: relative; min-height: 180px; align-self: end; }
.category-card__art::before { content: ""; position: absolute; inset: 5% 5% -14% 24%; background: rgba(255,255,255,.28); border-radius: 50% 45% 0 0; }
.category-card__art > img { position: absolute; z-index: 1; right: -2%; bottom: -10%; width: min(70%, 430px); max-height: 105%; object-fit: contain; transition: transform var(--transition); }
.category-card--large .category-card__art > img { width: min(74%, 600px); right: -5%; bottom: -5%; }
.category-card__art .product-bottle { z-index: 2; right: 27%; bottom: 3%; transform: scale(.8); }
.category-grid--tz .category-card:hover .category-card__art > img { transform: translateY(-8px) rotate(-1deg); }

.manifesto-section--compact { padding-block: 78px; }
.manifesto-section--compact .manifesto-grid { align-items: center; min-height: min(720px, 82svh); }
.founder-shared-frame, .about-collage--shared { background: var(--paper); border: 1px solid var(--line); border-radius: 44% 49% 42% 48% / 47% 43% 50% 45%; overflow: hidden; box-shadow: var(--shadow-md); }
.founder-shared-frame img, .about-collage--shared > img { width: 100%; height: min(640px, 68svh); object-fit: cover; object-position: center 36%; }
.about-hero--tz { min-height: auto; padding-bottom: 70px; }
.about-hero--tz .about-hero__grid { min-height: min(760px, 85svh); align-items: center; }
.about-collage--shared { position: relative; padding: 16px; }
.about-collage--shared > img { border-radius: inherit; }
.about-collage--shared figcaption { position: absolute; left: 34px; bottom: 28px; padding: 8px 14px; background: rgba(251,247,240,.9); border-radius: 999px; font-family: var(--ui); font-size: .82rem; }
.about-scroll-cue { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--green); font-family: var(--ui); font-weight: 700; }
.about-scroll-cue svg { width: 20px; height: 20px; }
.founders-section--compact { padding-block: 80px; }
.founders-common-photo { display: grid; grid-template-columns: minmax(360px, .9fr) 1.1fr; gap: clamp(34px, 5vw, 80px); align-items: center; }
.founders-common-photo > img { width: 100%; max-height: 610px; object-fit: cover; border-radius: 43% 48% 45% 50% / 48% 44% 50% 45%; background: var(--paper-light); padding: 12px; border: 1px solid var(--line); }
.founder-copy-grid { display: grid; gap: 22px; }
.founder-copy-grid article { padding: 26px; background: rgba(251,247,240,.66); border: 1px solid var(--line); border-radius: var(--radius-md); }
.founder-copy-grid article > span { font-family: var(--ui); font-weight: 800; color: var(--green); text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; }

.farmers-preview__grid, .farmers-link-grid, .farmers-hero__grid { display: grid; grid-template-columns: 1fr minmax(360px, .85fr); gap: clamp(42px, 7vw, 110px); align-items: center; }
.farmers-preview figure, .farmers-hero figure { margin: 0; }
.farmers-preview figure img, .farmers-link-grid > img, .farmers-hero figure img { width: 100%; max-height: 690px; object-fit: cover; border-radius: 45% 48% 44% 50% / 48% 44% 50% 46%; background: rgba(255,255,255,.1); padding: 10px; }
.farmers-preview figcaption, .farmers-hero figcaption { margin-top: 10px; font-family: var(--ui); font-size: .82rem; opacity: .78; }
.farmers-hero { padding: 54px 0 90px; background: var(--paper-light); }
.farmers-hero__grid { min-height: 76svh; }
.quality-timeline--cards { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.quality-timeline--cards li { display: block; padding: 24px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius-md); }
.quality-timeline--cards li > span { display: block; margin-bottom: 26px; font-family: var(--ui); font-size: .78rem; }
.farmers-gallery__grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.farmers-gallery__grid > img { width: 100%; height: 520px; object-fit: cover; border-radius: var(--radius-md); background: var(--paper); }
.farmers-gallery__note { grid-column: 1 / -1; padding: 30px; display: flex; gap: 30px; align-items: center; justify-content: space-between; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); }
.documents-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.documents-cards article { padding: 28px; background: var(--paper-light); border: 1px solid var(--line); border-radius: var(--radius-md); }
.documents-cards svg { width: 38px; height: 38px; margin-bottom: 24px; color: var(--green); }

.selector-hero--overflow { overflow: visible; z-index: 2; }
.selector-hero-flower { width: min(38vw, 510px)!important; max-height: none!important; transform: translateY(17%); pointer-events: none; }
.selector-options--outline button > span { display: grid; place-items: center; width: 48px; height: 48px; color: var(--green); border: 1px solid var(--line); border-radius: 50%; background: var(--paper-light); }
.selector-options--outline button > span svg { width: 27px; height: 27px; stroke-width: 1.55; }
.selector-blend-recipe { margin-top: 30px; padding: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); }
.selector-blend-recipe ol { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; padding: 0; margin: 20px 0; list-style: none; }
.selector-blend-recipe li { padding: 16px; background: var(--paper-light); border-radius: var(--radius-sm); }
.selector-blend-recipe li strong, .selector-blend-recipe li span { display: block; }
.selector-blend-recipe li span { color: var(--muted); font-size: .9rem; }
.selector-blend-recipe > small { display: block; color: var(--muted); }

.review-toolbar--clear { justify-content: space-between; }
.review-toolbar--clear > span { font-family: var(--ui); font-size: .85rem; color: var(--muted); }
.review-editorial { display: grid; grid-template-columns: minmax(280px,.72fr) 1.28fr; gap: clamp(30px,5vw,70px); align-items: start; }
.review-editorial > img { width: 100%; max-height: 760px; object-fit: contain; position: sticky; top: 120px; }
.review-support-note { margin-top: 54px; padding: 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); }

.article-grid--equal, .journal-grid--equal { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.article-grid--equal .article-card, .journal-grid--equal .journal-card { min-height: 100%; }
.article-grid--equal .article-card > a { height: 100%; display: flex; flex-direction: column; }
.article-grid--equal img, .journal-grid--equal .journal-card__image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.article-grid--equal .article-card > a > div { flex: 1; padding: 22px; }
.journal-grid--equal .journal-card > div:last-child { padding: 22px; }
.recipe-showcase--fit { max-width: 1120px; margin-inline: auto; grid-template-columns: minmax(0,1.12fr) minmax(320px,.88fr); }
.recipe-showcase--fit .recipe-feature__image img { max-height: 310px; object-fit: cover; }
.recipe-showcase--fit .recipe-list a { min-height: 104px; padding-block: 14px; }

.product-detail--compact { align-items: start; }
.product-gallery--compact { max-width: 620px; }
.product-gallery--compact .gallery-main { padding: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); }
.product-gallery--compact .gallery-main img { width: 100%; max-height: 610px; object-fit: contain; }
.batch-document-link { display: flex; align-items: center; gap: 14px; margin: 24px 0; padding: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.batch-document-link svg { width: 30px; height: 30px; color: var(--green); }
.batch-document-link span, .batch-document-link strong, .batch-document-link small { display: block; }
.batch-document-link small { color: var(--muted); }
.product-specs--clear > div { padding: 22px 0; }
.product-documents--explained { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.product-documents--explained a { display: flex; gap: 16px; min-height: 150px; padding: 24px; background: var(--paper-light); border: 1px solid var(--line); border-radius: var(--radius-md); }
.product-documents--explained svg { flex: 0 0 auto; width: 36px; height: 36px; color: var(--green); }
.product-documents--explained span, .product-documents--explained strong, .product-documents--explained small, .product-documents--explained em { display: block; }
.product-documents--explained small { margin-top: 7px; color: var(--muted); }
.product-documents--explained em { margin-top: 18px; color: var(--green); font-family: var(--ui); font-style: normal; font-size: .82rem; font-weight: 700; }

.boutique-card { min-height: 460px; display: grid; grid-template-columns: minmax(0,1.15fr) minmax(260px,.85fr); align-items: center; gap: 20px; padding: clamp(34px,6vw,82px); background: var(--green); color: #fff; border-radius: var(--radius-lg); overflow: visible; position: relative; }
.boutique-card > div { position: relative; z-index: 2; max-width: 750px; }
.boutique-card > img { width: 100%; max-height: 520px; object-fit: contain; align-self: end; margin-bottom: -13%; }
.boutique-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.boutique-card .button--outline { color: #fff; border-color: rgba(255,255,255,.55); }

.support-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }
.contact-direct-card { padding: 34px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); }
.contact-direct-card .button + .button { margin-top: 12px; }
.review-reward__grid > img { max-height: 680px; object-fit: contain; }
.loyalty-note { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.cart-remove { padding: 10px 14px; color: #8c302a; background: transparent; border: 1px solid rgba(140,48,42,.28); border-radius: 999px; font-family: var(--ui); font-weight: 700; }
.cart-remove:hover { color: #fff; background: #8c302a; }

@media (max-width: 1180px) {
  .desktop-nav .nav-link { font-size: .73rem; }
  .desktop-nav ul { gap: 8px; }
  .header-main { gap: 14px; }
  .brand img { width: 170px; }
  .quality-timeline--cards { grid-template-columns: repeat(2,1fr); }
  .article-grid--equal, .journal-grid--equal { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 900px) {
  :root { --body-size: 17px; }
  .hero--tz .hero__grid, .about-hero--tz .about-hero__grid { min-height: auto; }
  .hero-note--documents, .hero-caption--message { position: relative; inset: auto; margin-top: 12px; max-width: none; }
  .category-grid--tz .category-card--large { min-height: 500px; }
  .founders-common-photo, .farmers-preview__grid, .farmers-link-grid, .farmers-hero__grid, .review-editorial, .boutique-card { grid-template-columns: 1fr; }
  .founder-shared-frame img, .about-collage--shared > img { height: min(600px, 65svh); }
  .founders-common-photo > img, .farmers-preview figure img, .farmers-link-grid > img, .farmers-hero figure img { max-height: 560px; }
  .review-editorial > img { position: static; max-height: 620px; }
  .documents-cards, .product-documents--explained { grid-template-columns: 1fr; }
  .selector-blend-recipe ol { grid-template-columns: repeat(2,1fr); }
  .recipe-showcase--fit { grid-template-columns: 1fr; }
  .boutique-card > img { max-height: 400px; margin-bottom: -18%; }
}

@media (max-width: 640px) {
  :root { --body-size: 16px; }
  h1 { font-size: clamp(2.65rem, 14vw, 4.3rem); }
  h2 { font-size: clamp(2rem, 10vw, 3.15rem); }
  .section { padding-block: 72px; }
  .support-widget { right: 12px; bottom: 82px; }
  .support-widget summary span { display: none; }
  .category-grid--tz .category-card, .category-grid--tz .category-card--large { min-height: 390px; }
  .category-grid--tz .category-card > div:first-child { padding: 22px 22px 4px; }
  .category-grid--tz .category-card h3 { font-size: 2.25rem; }
  .category-card__art > img, .category-card--large .category-card__art > img { width: 74%; }
  .quality-timeline--cards, .article-grid--equal, .journal-grid--equal, .farmers-gallery__grid { grid-template-columns: 1fr; }
  .farmers-gallery__note { grid-column: auto; display: block; }
  .selector-blend-recipe ol { grid-template-columns: 1fr; }
  .review-support-note, .loyalty-note { display: block; }
  .review-support-note .button, .loyalty-note .button { margin-top: 14px; }
  .product-gallery--compact .gallery-main img { max-height: 440px; }
  .boutique-card { padding: 32px 24px; min-height: 540px; }
  .boutique-card > img { max-height: 320px; margin-bottom: -25%; }
  .founder-shared-frame img, .about-collage--shared > img { height: 480px; }
}

/* Live storefront visual regression fix — July 26, 2026. */
.category-grid--tz .category-card__copy {
  position: relative;
  z-index: 5;
  width: 100%;
  padding: 28px 30px 8px;
}
.category-grid--tz .category-card__copy > span {
  font-family: var(--ui);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.category-grid--tz .category-card__art {
  position: relative;
  min-height: 205px;
  align-self: end;
  isolation: isolate;
}
.category-grid--tz .category-card__art::before {
  z-index: 0;
  inset: 7% 4% -16% 18%;
}
.category-grid--tz .category-card__art > .category-card__botanical {
  position: absolute;
  z-index: 1;
  right: -5%;
  bottom: -13%;
  width: min(72%, 430px);
  height: auto;
  max-height: 108%;
  object-fit: contain;
  opacity: .62;
  filter: saturate(.88);
}
.category-grid--tz .category-card__art > .category-card__product-photo {
  position: absolute;
  z-index: 3;
  right: 7%;
  bottom: 3%;
  width: min(43%, 250px);
  height: 76%;
  max-height: none;
  object-fit: cover;
  object-position: center;
  border: 7px solid rgba(251,247,240,.68);
  border-radius: 48% 48% 18% 18% / 36% 36% 16% 16%;
  box-shadow: 0 18px 34px rgba(38,58,30,.2);
  transform: rotate(1.5deg);
  transition: transform var(--transition), box-shadow var(--transition);
}
.category-grid--tz .category-card:hover .category-card__art > .category-card__botanical {
  transform: translateY(-7px) rotate(-1deg);
}
.category-grid--tz .category-card:hover .category-card__art > .category-card__product-photo {
  transform: translateY(-7px) rotate(0);
  box-shadow: 0 24px 42px rgba(38,58,30,.24);
}
.category-grid--tz .category-card--large .category-card__art {
  min-height: 390px;
}
.category-grid--tz .category-card--large .category-card__art > .category-card__botanical {
  right: -7%;
  bottom: -8%;
  width: min(76%, 610px);
}
.category-grid--tz .category-card--large .category-card__art > .category-card__product-photo {
  right: 9%;
  bottom: 2%;
  width: min(50%, 390px);
  height: 82%;
}
.founder-shared-frame > img,
.about-collage--shared > img,
.founders-common-photo > img,
.farmers-preview figure > img,
.farmers-link-grid > img,
.farmers-hero figure > img,
.farmers-gallery__grid > img,
.review-editorial > img,
.page-hero--reviews img,
.boutique-card > img {
  visibility: visible;
  opacity: 1;
}
.founder-shared-frame,
.about-collage--shared,
.founders-common-photo,
.farmers-preview figure,
.farmers-link-grid,
.farmers-hero figure,
.review-editorial,
.boutique-card {
  min-width: 0;
}

@media (max-width: 900px) {
  .category-grid--tz .category-card__art > .category-card__product-photo {
    right: 6%;
    width: min(46%, 260px);
  }
  .category-grid--tz .category-card--large .category-card__art {
    min-height: 320px;
  }
  .category-grid--tz .category-card--large .category-card__art > .category-card__product-photo {
    width: min(46%, 340px);
  }
}

@media (max-width: 640px) {
  .category-grid--tz .category-card__copy {
    padding: 22px 22px 6px;
  }
  .category-grid--tz .category-card__art {
    min-height: 235px;
  }
  .category-grid--tz .category-card--large .category-card__art {
    min-height: 260px;
  }
  .category-grid--tz .category-card__art > .category-card__botanical,
  .category-grid--tz .category-card--large .category-card__art > .category-card__botanical {
    width: 78%;
    right: -8%;
  }
  .category-grid--tz .category-card__art > .category-card__product-photo,
  .category-grid--tz .category-card--large .category-card__art > .category-card__product-photo {
    right: 7%;
    width: 48%;
    height: 74%;
    border-width: 5px;
  }
}