/* Infert brand layer.
   The identity kit's own grammar, applied across every page:
   - the leaf corner: the tagline bar rounds two opposite corners and squares the other two;
   - lime marks growth, so it marks what is active, new or moving;
   - weight contrast instead of a second typeface.
   Loaded last by source/presentation.cjs and scoped to html[data-brand]. */

:root {
  --brand-green: #116f38;
  --brand-lime: #8ac148;
  --brand-deep: #0c3a20;
  --brand-ink: #0e2216;
  --brand-wash: #f3f7ef;
  --brand-line: #dce6d6;
  --leaf-s: .7rem;
  --leaf-m: 1.35rem;
  --leaf-l: 2.25rem;
  --brand-ease: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- the leaf corner ---------- */
[data-brand] .btn {
  border-radius: 0;
  border-start-end-radius: 1.6em;
  border-end-start-radius: 1.6em;
  transition: background-color .25s ease, color .25s ease, border-radius .5s var(--brand-ease), transform .25s ease;
}
[data-brand] .btn:hover,
[data-brand] .btn:focus-visible {
  border-start-end-radius: 0;
  border-end-start-radius: 0;
  border-start-start-radius: 1.6em;
  border-end-end-radius: 1.6em;
  transform: none;
}
[data-brand] .btn .arrow,
[data-brand] .text-link .arrow { display: inline-block; transition: transform .35s var(--brand-ease); }
[data-brand] .btn:hover .arrow,
[data-brand] .text-link:hover .arrow { transform: translate(.18em, -.18em); }
[dir="rtl"][data-brand] .btn:hover .arrow,
[dir="rtl"][data-brand] .text-link:hover .arrow { transform: translate(-.18em, -.18em); }

[data-brand] :is(input[type="search"], input[type="text"], input[type="email"], select, textarea):not(.network-country) {
  border-radius: 0;
  border-start-end-radius: var(--leaf-s);
  border-end-start-radius: var(--leaf-s);
}

[data-brand] .crop-choice {
  border-radius: 0;
  border-start-end-radius: 1.2em;
  border-end-start-radius: 1.2em;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
[data-brand] .crop-choice[aria-selected="true"] { background: var(--brand-deep); border-color: var(--brand-deep); color: #fff; }
[data-brand] .crop-choice:hover:not([aria-selected="true"]) { border-color: var(--brand-lime); }

[data-brand] .passport-sheet { border-radius: 0; border-start-end-radius: var(--leaf-l); border-end-start-radius: var(--leaf-l); }
[data-brand] .contact-location { border-radius: 0; border-start-end-radius: var(--leaf-l); border-end-start-radius: var(--leaf-l); }
[data-brand] .contact-location figcaption a { color: var(--brand-lime); border-bottom-color: currentColor; }

[data-brand] .article-card-image,
[data-brand] .review-image { border-radius: 0; border-start-end-radius: var(--leaf-l); border-end-start-radius: var(--leaf-l); overflow: hidden; }

/* ---------- lime marks what matters ---------- */
/* The headline's key word sits in the tagline's lime bar, painted in as it arrives. */
[data-brand] :is(h1, h2) em {
  font-family: inherit;
  font-style: normal;
  font-weight: inherit;
  color: var(--brand-deep);
  padding: 0 .14em .03em;
  margin-inline: -.03em;
  border-radius: 0 .34em;
  background: linear-gradient(var(--brand-lime), var(--brand-lime)) no-repeat left center / var(--lit, 100%) 100%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition: background-size 1s var(--brand-ease) .12s;
}
[dir="rtl"][data-brand] :is(h1, h2) em { background-position: right center; border-radius: .34em 0; }
[data-brand] :is(h1, h2) em.brand-unlit { --lit: 0%; }

[data-brand] .eyebrow { display: inline-flex; align-items: center; gap: .55em; }
[data-brand] .eyebrow::before {
  content: "";
  flex: none;
  width: 1.45em;
  height: 1em;
  background: url("/brand/leaf-pair-lime.svg") no-repeat center / contain;
}

[data-brand] .text-link {
  background: linear-gradient(var(--brand-lime), var(--brand-lime)) no-repeat left 100% / 0 2px;
  transition: background-size .45s var(--brand-ease), color .2s ease;
}
[dir="rtl"][data-brand] .text-link { background-position: right 100%; }
[data-brand] .text-link:hover { background-size: 100% 2px; }

[data-brand] ::selection { background: var(--brand-lime); color: var(--brand-deep); }
[data-brand] :focus-visible { outline: 3px solid var(--brand-lime); outline-offset: 3px; }

/* ---------- Ratio Mark ---------- */
.ratio-mark { display: block; overflow: visible; }
.ratio-mark .rm-leaf,
.ratio-mark .rm-seed { transform-origin: 0 0; transform-box: view-box; }
.ratio-mark .rm-leaf path { transform-origin: 0 0; transform-box: view-box; transition: transform .7s var(--brand-ease); transition-delay: calc(var(--i) * 90ms); }
.ratio-mark .rm-seed circle { transform-box: fill-box; transform-origin: center; transition: transform .6s var(--brand-ease); transition-delay: calc(var(--i) * 90ms); }
.ratio-mark .rm-core { transition: r .5s var(--brand-ease); }
.ratio-mark .rm-label { font: 500 15px/1 "Jost", system-ui, sans-serif; fill: var(--brand-ink); letter-spacing: .02em; }
.ratio-mark .rm-symbol { font-family: "Outfit", "Jost", system-ui, sans-serif; font-weight: 600; fill: #fff; }
.brand-asleep .ratio-mark .rm-leaf path,
.brand-asleep .ratio-mark .rm-seed circle { transform: scale(0); }

.ratio-chip { display: inline-flex; align-items: center; gap: .6rem; }
.ratio-chip .ratio-mark { width: 2.6rem; height: 2.6rem; flex: none; }

/* Catalogue and range cards */
[data-brand] .product-card-body { position: relative; }
[data-brand] .product-card .ratio-mark.card-mark {
  position: absolute;
  inset-block-start: -3.6rem;
  inset-inline-end: .2rem;
  width: 3.1rem;
  height: 3.1rem;
  padding: .32rem;
  background: #fff;
  border-radius: 0 1rem;
  box-shadow: 0 0 0 1px var(--brand-line);
  transition: transform .5s var(--brand-ease), box-shadow .3s ease;
}
[data-brand] .product-card:hover .ratio-mark.card-mark { transform: translateY(-4px) scale(1.12); box-shadow: 0 0 0 1px var(--brand-lime), 0 10px 22px -14px rgba(12, 58, 32, .45); }
[data-brand] .product-card:hover .ratio-mark .rm-leaf path { transform: scale(1.06); }

/* Product hero: the mark beside the grade, with its numbers */
.ratio-feature { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 1.6rem); margin: .4rem 0 1.4rem; }
.ratio-feature .ratio-mark { width: clamp(5.8rem, 9vw, 7.6rem); height: auto; flex: none; }
.ratio-feature dl { display: grid; grid-template-columns: repeat(3, auto); gap: .2rem 1.4rem; margin: 0; }
.ratio-feature dl > div { display: grid; gap: .05rem; }
.ratio-feature dt { font-size: .8rem; letter-spacing: .04em; color: #5f7064; display: flex; align-items: center; gap: .4em; }
.ratio-feature dt i { width: .62em; height: .62em; border-radius: 0 .3em; display: inline-block; }
.ratio-feature dd { margin: 0; font: 600 clamp(1.35rem, 2.2vw, 1.75rem)/1 "Outfit", "Jost", sans-serif; color: var(--brand-ink); font-variant-numeric: tabular-nums; }
[lang="ar"] .ratio-feature dt { letter-spacing: normal; text-transform: none; }
.ratio-feature-note { font-size: .82rem; color: #5f7064; margin: -.6rem 0 1.2rem; max-width: 34ch; }

.passport-identity .ratio-mark { width: 3.6rem; height: 3.6rem; margin-inline-start: auto; flex: none; }

@media (prefers-reduced-motion: reduce) {
  [data-brand] :is(h1, h2) em,
  [data-brand] .btn,
  .ratio-mark .rm-leaf path,
  .ratio-mark .rm-seed circle { transition: none; }
  [data-brand] :is(h1, h2) em.brand-unlit { --lit: 100%; }
  .brand-asleep .ratio-mark .rm-leaf path,
  .brand-asleep .ratio-mark .rm-seed circle { transform: none; }
}

/* ---------- Living band: the pattern grows in once, then holds still ---------- */
.living-band { position: relative; height: clamp(64px, 7vw, 100px); background: #fff url("/brand/botanical-pattern.svg") repeat-x center 46% / 480px auto; overflow: hidden; }
[data-brand] .footer-pattern { position: relative; overflow: hidden; }
.lb-cell { position: absolute; top: -1px; bottom: -1px; background: #fff; transform-origin: 50% 0; transition: transform .75s var(--brand-ease); transition-delay: var(--d, 0ms); }
.lb-grown .lb-cell { transform: scaleY(0); }
@media (max-width: 699px) { .living-band { background-size: 350px auto; } }

/* ---------- Quality & origin: the page's deep-green chapter ---------- */
[data-brand] .certification-garden { background: var(--brand-deep); color: #cfe0c6; border: 0; padding: clamp(5rem, 9vw, 8.5rem) 0 clamp(4.5rem, 8vw, 7.5rem); }
[data-brand] .certification-garden h2 { color: #fff; }
[data-brand] .certification-garden .eyebrow { color: var(--brand-lime); }
[data-brand] .certificate-wall { gap: clamp(.8rem, 1.6vw, 1.4rem); }
[data-brand] .certificate-card {
  position: relative; display: grid; align-content: start; gap: .35rem;
  padding: clamp(1.3rem, 2vw, 1.8rem); border: 1px solid rgba(138, 193, 72, .28);
  border-radius: 0 var(--leaf-l); background: rgba(255, 255, 255, .025);
  transition: background-color .35s ease, border-color .35s ease;
}
[dir="rtl"][data-brand] .certificate-card { border-radius: var(--leaf-l) 0; }
[data-brand] .certificate-card:hover { background: rgba(138, 193, 72, .08); border-color: var(--brand-lime); }
[data-brand] .certificate-card .certificate-open { position: static; display: block; margin-bottom: 1.1rem; }
[data-brand] .certificate-card .certificate-open::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
[data-brand] .certificate-card .certificate-open:focus-visible { outline: none; }
[data-brand] .certificate-card:has(.certificate-open:focus-visible) { outline: 3px solid var(--brand-lime); outline-offset: 3px; }
.seal-mark {
  display: grid; place-content: center; justify-items: center; gap: .1rem; width: clamp(5rem, 7vw, 6.1rem); aspect-ratio: 1; border-radius: 50%;
  border: 1.5px solid var(--brand-lime); box-shadow: inset 0 0 0 6px var(--brand-deep), inset 0 0 0 7px rgba(138, 193, 72, .45);
  color: #fff; transition: background-color .4s ease, color .4s ease, transform .6s var(--brand-ease);
}
.seal-std { font: 500 .68rem/1 "Jost", sans-serif; letter-spacing: .24em; color: var(--brand-lime); padding-inline-start: .24em; transition: color .4s ease; }
.seal-num { font: 600 clamp(1.25rem, 1.8vw, 1.55rem)/1 "Outfit", sans-serif; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.seal-mark:not(:has(.seal-num)) .seal-std { font: 700 clamp(1.5rem, 2.2vw, 1.9rem)/1 "Outfit", sans-serif; letter-spacing: .02em; padding: 0; }
[data-brand] .certificate-card:hover .seal-mark { background: var(--brand-lime); color: var(--brand-deep); transform: rotate(-8deg); box-shadow: inset 0 0 0 6px var(--brand-lime), inset 0 0 0 7px rgba(12, 58, 32, .35); }
[data-brand] .certificate-card:hover .seal-std { color: var(--brand-deep); }
[data-brand] .certificate-card h3 { color: #fff; margin: 0; font-size: clamp(1.15rem, 1.5vw, 1.4rem); }
[data-brand] .certificate-card > .seal-desc { color: #a9c39f; margin: 0; font-size: .95rem; line-height: 1.5; }
.seal-cta { margin-top: .9rem; font-size: .85rem; color: var(--brand-lime); display: inline-flex; gap: .45em; align-items: center; }
.seal-cta span { transition: transform .35s var(--brand-ease); }
[data-brand] .certificate-card:hover .seal-cta span { transform: translate(.18em, -.18em); }
[dir="rtl"][data-brand] .certificate-card:hover .seal-cta span { transform: translate(-.18em, -.18em); }
[data-brand] .certificate-origin { margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 0; align-items: end; }
[data-brand] .certificate-origin > p { font: 600 clamp(2rem, 4.4vw, 3.6rem)/1.05 "Outfit", "Jost", sans-serif; letter-spacing: -.03em; color: #fff; margin: 0; }
[data-brand] .certificate-origin > p > span { display: block; color: var(--brand-lime); margin: .2em 0 0; font-weight: 300; }
[data-brand] .certification-garden .text-link { color: #fff; border-color: rgba(255, 255, 255, .4); }
[data-brand] .certification-garden .garden-layer { display: none; }

/* ---------- Catalogue: the whole range in fewer screens ---------- */
@media (min-width: 1100px) {
  [data-brand] .catalogue .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3rem 1.6rem; }
}

/* ---------- Garden spacing: branches frame the words, never sit on them ---------- */
@media (min-width: 901px) and (max-width: 1100px) {
  [data-brand] .garden-flow .garden-hero .edge-branch.hero-canopy { --branch-size: 29vw; }
}
@media (min-width: 700px) and (max-width: 1100px) {
  /* The closing line sits in a narrow column beside the pomegranate; size it to that column. */
  [data-brand] .invitation-copy h2 { font-size: 6.2vw; max-width: none; }
}

/* Product hero: the pack stands on one baseline and the material is shown close up in a lens
   beside it, so neither covers the other's label whatever shape the pictures are.
   brand.js trims the pack's transparent margins (settlePack); without script the defaults
   below still read well. */
html[data-brand] .story-pack-stage { position:relative; aspect-ratio:1.04; }
html[data-brand] .story-pack-stage::before { content:''; position:absolute; left:11%; width:52%; bottom:4%; height:6%; border-radius:50%; background:radial-gradient(closest-side, rgb(14 34 22 / .2), rgb(14 34 22 / 0)); pointer-events:none; }
html[data-brand] .story-pack-stage .story-bag { inset:auto auto 7% 6%; margin:0; width:62%; height:84%; object-fit:contain; object-position:center bottom; transform-origin:50% 100%; }
html[data-brand] .story-lens { position:absolute; right:3%; bottom:12%; width:35%; aspect-ratio:1; border-radius:50%; overflow:hidden; z-index:3; background:radial-gradient(circle at 35% 30%, #fff, #eef3e8); box-shadow:0 0 0 6px #fff, 0 0 0 7px rgb(14 34 22 / .08), 0 18px 34px -16px rgb(14 34 22 / .45); }
html[data-brand] .story-lens .story-material { position:absolute; inset:auto; left:-35%; top:-35%; width:170%; height:170%; max-width:none; margin:0; object-fit:cover; object-position:50% 68%; }
@media (max-width:760px) {
  html[data-brand] .story-pack-stage { block-size:auto; aspect-ratio:1.04; }
  html[data-brand] .story-lens { width:34%; right:2%; }
}

/* ---------- Page changes: the pack travels from its card into the product page ----------
   Cards and product heroes share view-transition names (pack-<id>, material-<id>), written by
   source/product-visuals.cjs and the Worker; the opt-in itself is inline in every page head
   (source/presentation.cjs). Browsers without cross-page transitions, and visitors who ask for
   less motion, simply load the next page. */
[data-brand] .header { view-transition-name: site-header; }
::view-transition-old(root),
::view-transition-new(root) { animation-duration: .32s; }
::view-transition-group(*) { animation-duration: .6s; animation-timing-function: cubic-bezier(.2, .8, .2, 1); }
::view-transition-group(site-header) { animation-duration: 0s; }

/* ---------- Phones: the product leads, the catalogue fits two to a row ---------- */
@media (max-width: 699px) {
  /* The pack comes first on a product page, so it lands where the card was tapped. */
  html[data-brand] .garden-flow .story-visual { grid-row: 1; }
  html[data-brand] .garden-flow .story-hero-copy { grid-row: 2; }
  html[data-brand] .garden-flow .story-pack-stage { max-width: 21rem; margin-inline: auto; }
  html[data-brand] .garden-flow .story-intro .story-crumbs { margin-bottom: .5rem; }
  html[data-brand] .garden-flow .story-visual figcaption { margin-top: 0; }

  html[data-brand] .catalogue .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem .75rem; }
  html[data-brand] .catalogue .product-bag-stage { height: clamp(176px, 50vw, 230px); padding: .75rem .35rem 1.4rem; }
  html[data-brand] .catalogue .product-card { --card-pack-w: 74%; --card-material-w: 44%; }
  html[data-brand] .catalogue .product-card .product-bag { transform: none; }
  html[data-brand] .catalogue .product-card-body { padding-top: .6rem; padding-inline-end: 0; }
  html[data-brand] .catalogue .product-card h3 { font-size: 1.02rem; line-height: 1.2; }
  html[data-brand] .catalogue .product-card .card-grade { font-size: .9rem; }
  html[data-brand] .catalogue .product-card-arrow,
  html[data-brand] .catalogue .pack-grade-art { display: none; }
  html[data-brand] .catalogue .product-card .ratio-mark.card-mark { width: 2.4rem; height: 2.4rem; inset-block-start: -2.9rem; }

  /* Family chips stay in reach under the header while the catalogue scrolls. */
  html[data-brand] .catalogue .filter-list {
    position: sticky; top: 73px; z-index: 6;
    display: flex; flex-wrap: nowrap; gap: .45rem; overflow-x: auto; scrollbar-width: none;
    margin-inline: calc(-1 * var(--space)); padding: .55rem var(--space);
    background: rgb(255 255 255 / .94); backdrop-filter: blur(8px);
    box-shadow: 0 1px 0 var(--brand-line);
  }
  html[data-brand] .catalogue .filter-list::-webkit-scrollbar { display: none; }
  html[data-brand] .catalogue .filter-pill { flex: none; min-block-size: 40px; white-space: nowrap; }
}

/* ---------- Catalogue compare: a toggle on each card, a tray, a side-by-side sheet ---------- */
.compare-toggle {
  position: absolute; inset-block-start: .6rem; inset-inline-start: .6rem; z-index: 3;
  display: grid; place-items: center; inline-size: 2.4rem; block-size: 2.4rem; padding: 0;
  border: 1px solid var(--brand-line); border-radius: 0; border-start-end-radius: .9rem; border-end-start-radius: .9rem;
  background: rgb(255 255 255 / .92); color: var(--brand-deep); cursor: pointer;
  transition: background-color .25s ease, border-color .25s ease, transform .3s var(--brand-ease);
}
.compare-toggle svg { inline-size: 1.05rem; block-size: 1.05rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.compare-toggle .compare-tick, .compare-toggle[aria-pressed="true"] .compare-plus { display: none; }
.compare-toggle[aria-pressed="true"] .compare-tick { display: block; }
.compare-toggle:hover { border-color: var(--brand-lime); transform: scale(1.06); }
.compare-toggle[aria-pressed="true"] { background: var(--brand-lime); border-color: var(--brand-lime); }
[data-brand] .product-card { position: relative; }
[data-brand] .product-card.is-compared .product-bag-stage { box-shadow: inset 0 0 0 2px var(--brand-lime); }
@media (hover: hover) {
  .product-card:not(.is-compared) .compare-toggle { opacity: 0; }
  .product-card:hover .compare-toggle, .compare-toggle:focus-visible, .has-compare .compare-toggle { opacity: 1; }
}

.compare-tray {
  position: fixed; inset-inline: 50% auto; inset-block-end: 1rem; z-index: 60; translate: -50% 0;
  display: flex; align-items: center; gap: 1rem; max-inline-size: calc(100% - 1.5rem); inline-size: max-content;
  padding: .6rem .6rem .6rem 1rem; background: var(--brand-deep); color: #fff;
  border-radius: 0; border-start-end-radius: 1.6rem; border-end-start-radius: 1.6rem;
  box-shadow: 0 18px 40px -18px rgb(5 30 18 / .6);
  animation: compare-rise .45s var(--brand-ease) both;
}
[dir="rtl"] .compare-tray { translate: 50% 0; }
.compare-tray[hidden] { display: none; }
@keyframes compare-rise { from { opacity: 0; transform: translateY(1rem); } }
.compare-slots { display: flex; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.compare-slot { display: flex; align-items: center; gap: .45rem; padding: .3rem .6rem .3rem .3rem; border: 0; border-radius: .9rem; background: rgb(255 255 255 / .08); color: inherit; text-align: start; cursor: pointer; }
.compare-slot:hover { background: rgb(255 255 255 / .16); }
.compare-slot .compare-mark { inline-size: 2rem; block-size: 2rem; padding: .15rem; background: #fff; border-radius: 50%; flex: none; }
.compare-slot span { display: grid; line-height: 1.15; }
.compare-slot strong { font-size: .8rem; font-weight: 500; max-inline-size: 9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.compare-slot small { font-size: .72rem; color: var(--brand-lime); }
.compare-status { margin: 0; font-size: .8rem; color: #cfe0d3; max-inline-size: 14ch; }
.compare-status:empty { display: none; }
.compare-actions { display: flex; align-items: center; gap: .35rem; }
.compare-clear { padding: .5rem .6rem; border: 0; background: none; color: #cfe0d3; font: inherit; font-size: .82rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
[data-brand] .compare-tray .compare-open { min-height: 2.6rem; padding: .55rem 1.1rem; background: var(--brand-lime); color: var(--brand-deep); }
.compare-tray .compare-open:disabled { opacity: .45; cursor: default; transform: none; }
.has-compare .footer { padding-bottom: 6rem; }

.compare-dialog {
  inline-size: min(64rem, calc(100% - 2rem)); max-block-size: calc(100% - 2rem); padding: 0; border: 0;
  border-radius: 0; border-start-end-radius: var(--leaf-l); border-end-start-radius: var(--leaf-l);
  color: var(--brand-ink); background: #fff; box-shadow: 0 30px 80px -30px rgb(5 30 18 / .55);
}
.compare-dialog::backdrop { background: rgb(8 32 20 / .55); backdrop-filter: blur(3px); }
.compare-dialog[open] { animation: compare-open .45s var(--brand-ease) both; }
@keyframes compare-open { from { opacity: 0; transform: translateY(1.5rem) scale(.98); } }
.compare-sheet { --cols: var(--compare-count, 3); padding: clamp(1.1rem, 3vw, 2.2rem); }
.compare-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }
.compare-head h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.compare-close { inline-size: 2.6rem; block-size: 2.6rem; border: 1px solid var(--brand-line); border-radius: 50%; background: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.compare-products, .compare-row { display: grid; grid-template-columns: minmax(6.5rem, .8fr) repeat(var(--cols), minmax(0, 1fr)); gap: .5rem 1rem; align-items: end; }
.compare-product { display: grid; justify-items: center; gap: .3rem; padding: .8rem .4rem 1rem; text-align: center; background: var(--brand-wash); border-radius: 0; border-start-end-radius: 1.2rem; border-end-start-radius: 1.2rem; }
.compare-product img { block-size: clamp(5rem, 14vw, 9rem); inline-size: auto; object-fit: contain; }
.compare-product .compare-mark { inline-size: 2.6rem; block-size: 2.6rem; margin-block-start: -1.6rem; padding: .2rem; background: #fff; border-radius: 50%; box-shadow: 0 0 0 1px var(--brand-line); }
.compare-product strong { font: 600 clamp(.9rem, 1.6vw, 1.1rem)/1.2 "Outfit", "Jost", sans-serif; }
.compare-product small { color: var(--brand-green); font-weight: 500; }
.compare-view { font-size: .78rem; color: #5f7064; text-decoration: underline; text-underline-offset: 3px; }
.compare-row { align-items: center; padding-block: .7rem; border-bottom: 1px solid var(--brand-line); }
.compare-label { margin: 0; font-size: .85rem; color: #5f7064; }
.compare-cell { display: grid; gap: .3rem; }
.compare-bar { display: block; block-size: .55rem; inline-size: var(--w); min-inline-size: 0; background: var(--brand-green); border-radius: 0 .5rem; transform-origin: left; animation: compare-grow .8s var(--brand-ease) both; }
[dir="rtl"] .compare-bar { transform-origin: right; border-radius: .5rem 0; }
.compare-row:nth-child(odd) .compare-bar { background: var(--brand-lime); }
@keyframes compare-grow { from { transform: scaleX(0); } }
.compare-value { font: 600 1rem/1 "Outfit", "Jost", sans-serif; font-variant-numeric: tabular-nums; }
.compare-note { margin-top: 1rem; font-size: .8rem; color: #5f7064; }
@media (max-width: 699px) {
  .compare-toggle { inline-size: 2.2rem; block-size: 2.2rem; inset-block-start: .4rem; inset-inline-start: .4rem; }
  .compare-tray { inset-inline: .75rem; inline-size: auto; translate: none; gap: .5rem; padding: .5rem; justify-content: space-between; }
  [dir="rtl"] .compare-tray { translate: none; }
  .compare-slot { padding: .2rem; }
  .compare-slot span, .compare-status { display: none; }
  .compare-clear { padding-inline: .3rem; }
  .compare-dialog { inline-size: 100%; max-inline-size: 100%; max-block-size: 92dvh; margin: auto auto 0; border-end-start-radius: 0; }
  .compare-products, .compare-row { grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); }
  .compare-products > .compare-label { display: none; }
  .compare-row > .compare-label { grid-column: 1 / -1; font-weight: 500; color: var(--brand-ink); }
  .compare-product .compare-view { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .compare-tray, .compare-dialog[open], .compare-bar { animation: none; }
}
