/* buyshea — main stylesheet. Tokens live in tokens.css. Mobile-first. */

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: var(--leading);
  font-synthesis: none;
}
img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: var(--leading-tight);
  margin: 0 0 var(--space-4);
  text-wrap: balance;
}
h1 {
  font-size: var(--step-4);
  font-weight: 700;
  letter-spacing: -0.01em;
}
h2 {
  font-size: var(--step-3);
}
h3 {
  font-size: var(--step-1);
  font-weight: 500;
  line-height: 1.3;
}
p,
ul,
ol,
dl {
  margin: 0 0 var(--space-4);
}
/* Links: brown text, primary-green underline — passes on paper, cream and cream-soft. */
a {
  color: var(--link);
  text-decoration-color: var(--link-underline);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}
a:hover {
  text-decoration-thickness: 3px;
}
/* Focus: 3px orange ring outside the element. Cream surfaces switch --focus to brown (orange is
   2.71:1 on cream, under the 3:1 non-text minimum). */
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 2px;
}
.on-cream,
.product-card,
.agent-banner,
.notice,
.trust,
.basket-summary,
.values,
.draft-note,
.gate-panel,
.hint {
  --focus: var(--brown);
  --price: var(--green-text-on-cream);
  --button-outline: var(--green-text-on-cream);
  --button-outline-text: var(--green-text-on-cream);
}
h1,
h2,
h3 {
  color: var(--brown);
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -4rem;
  background: var(--brown);
  color: var(--white);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-s);
  z-index: 10;
}
.skip-link:focus {
  top: var(--space-2);
}
[hidden] {
  display: none !important;
}

/* ---------- layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.prose {
  max-width: var(--measure);
}
.prose h2 {
  font-size: var(--step-2);
  margin-top: var(--space-6);
}
.prose h3 {
  margin-top: var(--space-5);
}
.prose li + li {
  margin-top: var(--space-2);
}
main {
  display: block;
  padding-bottom: var(--space-8);
}
.section {
  padding-block: var(--space-7);
}
.section + .section {
  border-top: 1px solid var(--line);
}
.lede {
  font-size: var(--step-1);
  color: var(--brown-soft);
  max-width: 40ch;
}
.muted {
  color: var(--brown-soft);
}
.small {
  font-size: var(--step--1);
}

/* ---------- header ---------- */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  min-height: 4.5rem;
  flex-wrap: wrap;
}
.wordmark {
  color: var(--brown);
  text-decoration: none;
  margin-right: auto;
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  padding-top: 0.45rem; /* room for the leaf above the S */
  font-size: 1.75rem;
}

/* ---------- logo: temporary HTML wordmark (TODO-OWNER; real SVGs replace it, see _data/logo.js) ---------- */
.logo {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  white-space: nowrap;
}
.logo__buy {
  color: var(--green);
}
.logo__shea {
  color: var(--brown);
  position: relative;
}
.logo__leaf {
  position: absolute;
  width: 0.62em;
  height: 0.62em;
  left: 0.12em;
  top: -0.52em;
}
.logo__leaf-fill {
  fill: var(--green-accent);
}
.logo__leaf-vein {
  stroke: var(--paper);
}
/* the orange underline swoosh: a shallow curved stroke under "Shea" */
.logo__shea::after {
  content: '';
  position: absolute;
  left: -0.1em;
  right: -0.05em;
  bottom: -0.2em;
  height: 0.22em;
  border-bottom: 0.08em solid var(--orange);
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
}
.logo--reverse .logo__buy {
  color: var(--cream);
}
.logo--reverse .logo__shea {
  color: var(--paper);
}
.logo--reverse .logo__leaf-vein {
  stroke: var(--brown);
}
.logo--mono .logo__buy,
.logo--mono .logo__shea {
  color: var(--brown);
}
.logo--mono .logo__leaf-fill {
  fill: var(--brown);
}
.logo--mono .logo__leaf-vein {
  stroke: var(--cream);
}
.logo--mono .logo__shea::after {
  border-color: var(--brown);
}
.logo-svg {
  height: 2.6rem;
  width: auto;
}
.site-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: var(--space-1) var(--space-5);
  flex-wrap: wrap;
}
.site-nav a,
.basket-link {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--brown);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  padding-inline: var(--space-1);
}
.site-nav a:hover,
.site-nav a[aria-current='page'] {
  text-decoration: underline;
  text-decoration-color: var(--green);
  text-decoration-thickness: 3px;
  text-underline-offset: 0.45em;
}
.site-nav a:hover:not([aria-current='page']) {
  text-decoration-color: var(--green-accent);
}
.basket-link {
  gap: var(--space-2);
}
.badge {
  display: inline-grid;
  place-items: center;
  min-width: 1.6rem;
  height: 1.6rem;
  padding-inline: 0.4rem;
  border-radius: var(--radius-pill);
  background: var(--green);
  color: var(--white);
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.badge[data-empty] {
  background: transparent;
  color: var(--brown-soft);
  box-shadow: inset 0 0 0 1px var(--brown-soft);
}
@media (max-width: 39.99em) {
  .site-nav {
    order: 3;
    width: 100%;
    border-top: 1px solid var(--line);
  }
  .site-nav ul {
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: var(--space-2);
  }
  .site-nav a {
    padding-inline: 0;
    font-size: 0.9rem;
    white-space: nowrap;
  }
  .wordmark {
    font-size: 1.5rem;
  }
}

/* ---------- agent banner + notice ---------- */
.agent-banner {
  background: var(--cream);
  color: var(--brown);
  font-size: var(--text-small);
  border-bottom: 3px solid var(--green-accent);
}
.agent-banner .wrap {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  flex-wrap: wrap;
  min-height: 2.75rem;
}
.agent-banner strong {
  font-weight: 600;
}
.link-button {
  background: none;
  border: 0;
  padding: var(--space-2) var(--space-1);
  font: inherit;
  font-weight: 500;
  color: var(--link);
  text-decoration: underline;
  text-decoration-color: var(--link-underline);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
  cursor: pointer;
  min-height: var(--tap);
}
.notice {
  background: var(--cream);
  color: var(--brown);
  border-left: 6px solid var(--orange);
  border-radius: var(--radius-m);
  padding: var(--space-5);
  margin-block: var(--space-5);
  max-width: 40rem;
}
.notice p {
  margin-bottom: var(--space-3);
}
.notice .actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.draft-note {
  background: var(--cream-soft);
  border: 1px dashed var(--brown-soft);
  border-radius: var(--radius-s);
  padding: var(--space-3) var(--space-4);
  margin-block: var(--space-4) var(--space-6);
  max-width: var(--measure);
}

/* ---------- buttons + inputs ---------- */
/* Primary: filled primary green, white text (5.32:1). .button--go adds the brand's arrow after
   the label; the arrow is CSS with empty alt text, so it is not part of the accessible name. */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: var(--tap);
  padding: var(--button-pad);
  border-radius: var(--button-radius);
  border: var(--button-border) solid var(--button-fill);
  background: var(--button-fill);
  color: var(--button-text);
  font-family: var(--font-display);
  font-size: var(--text-body);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}
.button:hover {
  background: var(--button-fill-hover);
  border-color: var(--button-fill-hover);
}
.button--go::after {
  content: '→';
  content: '→' / '';
  font-family: var(--font-body);
  font-weight: 600;
}
.button[disabled],
.button[aria-disabled='true'] {
  background: var(--cream-soft);
  border-color: var(--line);
  color: var(--brown-soft);
  cursor: not-allowed;
}
/* Secondary: 2px primary-green outline, green text, transparent. On cream surfaces the green
   is --green-text-on-cream (set by the .on-cream group above). */
.button.secondary {
  background: transparent;
  color: var(--button-outline-text);
  border-color: var(--button-outline);
}
.button.secondary:hover {
  background: var(--button-outline);
  color: var(--white);
}
.button.wide {
  width: 100%;
}
.actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
label,
legend {
  font-weight: 600;
}
input[type='number'],
input[type='text'],
input[type='email'],
input[type='search'],
textarea,
select {
  font: inherit;
  color: var(--brown);
  background: var(--white);
  border: 1px solid var(--brown-soft);
  border-radius: var(--radius-s);
  min-height: var(--tap);
  padding: 0.4rem 0.6rem;
}
input[type='number']:hover,
input[type='text']:hover,
input[type='email']:hover,
input[type='search']:hover,
textarea:hover,
select:hover {
  border-color: var(--brown);
}

/* ---------- home hero + jar lineup (the one bold moment) ---------- */
.hero {
  padding-block: var(--space-7) var(--space-6);
}
.hero h1 {
  max-width: 16ch;
}
.lineup {
  list-style: none;
  padding: 0;
  margin: var(--space-6) 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: var(--space-3);
  border-bottom: 3px solid var(--brown);
}
.lineup li {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lineup a {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  color: var(--brown);
  text-decoration: none;
  padding-top: var(--space-3);
}
.lineup picture,
.lineup .photo {
  display: block;
  width: 100%;
}
/* Jars scale with the cube root of volume (125 : 250 : 500 ml ≈ 1 : 1.26 : 1.59). */
.lineup li:nth-child(1) picture {
  max-width: 6rem;
}
.lineup li:nth-child(2) picture {
  max-width: 7.6rem;
}
.lineup li:nth-child(3) picture {
  max-width: 9.6rem;
}
.lineup-labels {
  list-style: none;
  padding: 0;
  margin: var(--space-3) 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  text-align: center;
}
.lineup-labels .size {
  font-family: var(--font-display);
  font-size: var(--step-2);
  display: block;
  line-height: 1.2;
}
.lineup-labels .price {
  display: block;
  font-variant-numeric: tabular-nums;
}
.lineup .photo {
  border-radius: var(--radius-s);
  transition: transform 0.15s ease;
}
.lineup a:hover .photo,
.lineup a:focus-visible .photo {
  transform: translateY(-3px);
}
@media (prefers-reduced-motion: reduce) {
  .lineup .photo {
    transition: none;
  }
}
@media (min-width: 48em) {
  .hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: var(--space-7);
    align-items: end;
  }
  .lineup {
    margin-top: 0;
  }
  .lineup li:nth-child(1) picture {
    max-width: 7.5rem;
  }
  .lineup li:nth-child(2) picture {
    max-width: 9.5rem;
  }
  .lineup li:nth-child(3) picture {
    max-width: 12rem;
  }
}

/* ---------- product lists ---------- */
.products {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-5);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
}
.product-card {
  position: relative;
  background: var(--cream);
  color: var(--brown);
  border-radius: var(--radius-m);
  padding: var(--space-4);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.product-card .art {
  border-radius: var(--radius-s);
  aspect-ratio: 1;
  overflow: hidden;
}
.product-card h3 {
  margin: var(--space-2) 0 0;
  font-weight: 600;
}
.product-card h3 a {
  color: var(--brown);
  text-decoration: none;
}
.product-card h3 a::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-m);
}
.product-card h3 a:focus-visible {
  outline: none;
}
.product-card:focus-within {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
.product-card:hover h3 a {
  text-decoration: underline;
  text-decoration-color: var(--green);
  text-decoration-thickness: 2px;
}
.price {
  font-variant-numeric: tabular-nums;
}
.price-line {
  margin: 0;
  margin-top: auto;
}
.price-line .price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-h3);
  color: var(--price);
}
.vat-note {
  color: var(--brown-soft);
  font-size: var(--text-small);
}
/* "per kg" on PRO: brown text (orange text fails on cream, 2.71:1) with an orange marker. */
.per-kg {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  color: var(--brown);
  font-size: var(--text-small);
  font-weight: 500;
}
.per-kg::before {
  content: '';
  width: 0.6em;
  height: 0.6em;
  border-radius: 50%;
  background: var(--orange);
}

/* PRO range as a table: salons compare price per kg */
.table-wrap {
  overflow-x: auto;
}
.pack-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
}
.pack-table thead th {
  font-family: var(--font-display);
  font-weight: 600;
  background: var(--cream);
  border-bottom: 2px solid var(--green-accent);
}
.pack-table td.price-cell {
  color: var(--green);
  font-weight: 600;
}
.pack-table caption {
  text-align: left;
  color: var(--brown-soft);
  padding-bottom: var(--space-2);
  caption-side: top;
}
.pack-table th,
.pack-table td {
  text-align: left;
  padding: var(--space-3);
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.pack-table td.num,
.pack-table th.num {
  text-align: right;
}
.pack-table tbody tr:last-child > * {
  border-bottom: 0;
}
.pack-table a {
  font-weight: 600;
}

/* ---------- how it's made ---------- */
.route {
  list-style: none;
  padding: 0;
  margin: var(--space-5) 0 0;
  display: grid;
  gap: var(--space-5);
  counter-reset: step;
}
.route li {
  counter-increment: step;
  position: relative;
  padding-left: 3.5rem;
}
.route li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 2px solid var(--orange);
  color: var(--brown);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-h3);
  background: var(--paper);
}
.route li:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 1.2rem;
  top: 2.75rem;
  bottom: calc(-1 * var(--space-5) + 0.25rem);
  border-left: 2px dashed var(--orange);
}
.route h3 {
  margin-bottom: var(--space-1);
}
.route p {
  margin: 0;
  color: var(--brown-soft);
}
@media (min-width: 48em) {
  .route {
    grid-template-columns: repeat(3, 1fr);
  }
  .route li {
    padding-left: 0;
    padding-top: 3.5rem;
  }
  .route li:not(:last-child)::after {
    left: 3rem;
    right: calc(-1 * var(--space-5) + 0.25rem);
    top: 1.2rem;
    bottom: auto;
    border-left: 0;
    border-top: 2px dashed var(--orange);
  }
}

/* ---------- trust strip ---------- */
.trust {
  background: var(--cream);
  color: var(--brown);
}
.trust svg {
  color: var(--green);
}
.trust ul {
  list-style: none;
  margin: 0;
  padding: var(--space-5) 0;
  display: grid;
  gap: var(--space-4);
}
.trust li {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}
.trust svg {
  flex: none;
  width: 1.75rem;
  height: 1.75rem;
  margin-top: 0.15rem;
}
.trust strong {
  font-family: var(--font-display);
  font-weight: 600;
  display: block;
}
@media (min-width: 48em) {
  .trust ul {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- brand values strip (home, under the hero) ---------- */
.values {
  background: var(--cream);
  border-block: 1px solid var(--line);
}
.values ul {
  list-style: none;
  margin: 0;
  padding: var(--space-5) 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}
.values li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: 500;
  color: var(--brown);
  min-height: var(--tap);
}
.values .icon {
  flex: none;
  width: 2rem;
  height: 2rem;
  color: var(--green); /* icon on cream 4.22:1, above the 3:1 needed for graphics */
}
@media (min-width: 48em) {
  .values ul {
    grid-template-columns: repeat(4, 1fr);
    justify-items: center;
  }
}

/* Leaf bullets (product pages): the brand leaf icon as a CSS mask, primary green. */
.leaf-list {
  list-style: none;
  padding: 0;
}
.leaf-list li {
  position: relative;
  padding-left: 1.9rem;
}
.leaf-list li + li {
  margin-top: var(--space-2);
}
.leaf-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 1.25rem;
  height: 1.25rem;
  background: var(--green);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 19.5C4 11 9 5 19.5 4.5 20 14.5 14 19.5 4.5 19.5Z'/%3E%3Cpath d='M4.5 19.5 13.5 10.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 19.5C4 11 9 5 19.5 4.5 20 14.5 14 19.5 4.5 19.5Z'/%3E%3Cpath d='M4.5 19.5 13.5 10.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- product page ---------- */
.breadcrumbs {
  font-size: var(--step--1);
  padding-block: var(--space-4) 0;
}
.breadcrumbs ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.breadcrumbs li + li::before {
  content: '/';
  margin-right: var(--space-2);
  color: var(--brown-soft);
}
.product {
  display: grid;
  gap: var(--space-6);
  padding-top: var(--space-5);
}
.product .art {
  border-radius: var(--radius-m);
  aspect-ratio: 1;
  overflow: hidden;
  max-width: 32rem;
}
.product h1 {
  font-size: var(--step-3);
}
.buy-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--green-accent);
  border-radius: var(--radius-m);
  padding: var(--space-5);
  margin-block: var(--space-5);
}
.buy-box .price-line {
  margin-bottom: var(--space-4);
}
.buy-box .price-line .price {
  font-size: var(--text-h2);
}
.buy-row {
  display: flex;
  gap: var(--space-3);
  align-items: flex-end;
  flex-wrap: wrap;
}
.buy-row .field {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.buy-row input {
  width: 5.5rem;
}
.buy-row .button {
  flex: 1 1 12rem;
}
.status {
  min-height: 1.6em;
  margin: var(--space-3) 0 0;
}
.specs {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: var(--space-2) var(--space-4);
}
.specs dt {
  font-weight: 600;
}
.specs dd {
  margin: 0;
}
@media (min-width: 48em) {
  .product {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

/* ---------- basket ---------- */
.basket-lines {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-5);
  border-top: 1px solid var(--line);
}
.basket-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-2) var(--space-3);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.basket-line .line-item {
  display: flex;
  gap: var(--space-3);
  align-items: center;
}
.basket-line .thumb {
  width: 4rem;
  height: 4rem;
  border-radius: var(--radius-s);
  flex: none;
}
.basket-line .name {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--brown);
  text-decoration-thickness: 1px;
}
.basket-line .line-total {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.qty {
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--green);
  border-radius: var(--radius-pill);
  background: var(--white);
}
.qty button {
  width: var(--tap);
  height: var(--tap);
  border: 0;
  background: none;
  font: inherit;
  font-size: 1.3rem;
  color: var(--green);
  font-weight: 600;
  cursor: pointer;
  border-radius: var(--radius-pill);
}
.qty button:hover:not([disabled]) {
  background: var(--cream-soft);
}
.qty button[disabled] {
  color: var(--brown-soft);
  opacity: 0.45;
  cursor: not-allowed;
}
.qty output {
  min-width: 2ch;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.line-controls {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.basket-summary {
  background: var(--cream);
  border-radius: var(--radius-m);
  padding: var(--space-5);
}
.basket-summary dl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-2);
  font-variant-numeric: tabular-nums;
}
.basket-summary dd {
  margin: 0;
  text-align: right;
  font-weight: 600;
}
.basket-summary .total {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-h3);
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 var(--space-5);
}
legend {
  font-weight: 600;
  margin-bottom: var(--space-2);
}
.radio {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: var(--tap);
  font-weight: 400;
}
.radio input {
  width: 1.25rem;
  height: 1.25rem;
  accent-color: var(--green-text-on-cream);
}
.radio.is-disabled {
  color: var(--brown-soft);
}
.hint {
  background: var(--cream-soft);
  color: var(--brown);
  border-left: 4px solid var(--green-accent);
  border-radius: var(--radius-s);
  padding: var(--space-3) var(--space-4);
  font-size: var(--step--1);
}
.error {
  color: var(--danger);
  font-weight: 600;
}
/* One-handed on a phone: total + Checkout pinned to the bottom of the viewport. */
.checkout-bar {
  position: sticky;
  bottom: 0;
  background: var(--cream);
  border-top: 1px solid var(--line);
  margin-inline: calc(-1 * var(--space-5));
  margin-bottom: calc(-1 * var(--space-5));
  padding: var(--space-4) var(--space-5);
  border-radius: 0 0 var(--radius-m) var(--radius-m);
}
@media (min-width: 56em) {
  .basket-layout {
    display: grid;
    grid-template-columns: 1fr 22rem;
    gap: var(--space-7);
    align-items: start;
  }
  .basket-summary {
    position: sticky;
    top: var(--space-4);
  }
}

/* ---------- agent landing ---------- */
.qr-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: var(--space-4);
  max-width: 22rem;
}
.qr {
  width: 100%;
  max-width: 14rem;
  height: auto;
}
details summary {
  cursor: pointer;
  min-height: var(--tap);
  display: flex;
  align-items: center;
  font-weight: 600;
}

/* ---------- FAQ ---------- */
.faq details {
  border-bottom: 1px solid var(--line);
  padding-block: var(--space-2);
}
.faq details > div {
  padding-bottom: var(--space-3);
}

/* ---------- footer: brown band, cream text, reverse logo ---------- */
.site-footer {
  background: var(--brown);
  color: var(--cream);
  padding-block: var(--space-7);
  font-size: var(--text-small);
  border-top: 6px solid var(--green-accent);
}
.site-footer a {
  color: var(--cream);
  text-decoration-color: var(--orange);
}
.site-footer .cols {
  display: grid;
  gap: var(--space-5);
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer li a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
}
.footer-logo {
  font-size: 2.25rem;
  margin-bottom: var(--space-2);
  padding-top: 0.6rem;
}
.footer-tagline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-body);
  color: var(--cream);
}
.site-footer h2 {
  color: var(--cream);
  font-size: var(--text-h3);
  margin-bottom: var(--space-2);
}
@media (min-width: 48em) {
  .site-footer .cols {
    grid-template-columns: 2fr 1fr 1fr;
  }
  .site-footer li a {
    min-height: 2.25rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .added {
    animation: pop 0.35s ease-out;
  }
  @keyframes pop {
    50% {
      transform: scale(1.25);
    }
  }
}

@media print {
  .site-header nav,
  .site-footer,
  .agent-banner,
  .checkout-bar {
    display: none;
  }
}

/* small helpers */
.m0 {
  margin: 0;
}
.h3 {
  font-size: var(--step-1);
  line-height: 1.3;
  margin-top: var(--space-6);
}
.mt {
  margin-top: var(--space-6);
}
.break {
  overflow-wrap: anywhere;
}
.prose table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: var(--space-5);
  font-size: var(--step--1);
}
.prose th,
.prose td {
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  padding: var(--space-2) var(--space-3) var(--space-2) 0;
}
.prose blockquote {
  margin: 0 0 var(--space-5);
  padding: var(--space-4);
  background: var(--paper);
  border-left: 4px solid var(--line);
}
.prose code {
  font-size: 0.92em;
  background: var(--cream);
  padding: 0.05em 0.3em;
  border-radius: 3px;
}

/* ---------- /find-your-agent/ (the gate) ---------- */
.gate-intro {
  max-width: 40rem;
  margin-bottom: var(--space-6);
}
.gate-grid {
  display: grid;
  gap: var(--space-5);
}
@media (min-width: 48rem) {
  .gate-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.gate-panel {
  background: var(--cream);
  color: var(--brown);
  border-radius: var(--radius-m);
  border-top: 6px solid var(--green-accent);
  padding: var(--space-5);
}
.gate-panel h2 {
  font-size: var(--text-h3);
  margin-top: 0;
}
.gate-panel--wide {
  grid-column: 1 / -1;
}
.gate-panel input,
.gate-panel select,
.gate-panel textarea {
  width: 100%;
}
.stack {
  display: grid;
  gap: var(--space-2);
  justify-items: start;
}
.stack input {
  max-width: 20rem;
}
.lead-form {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  max-width: 48rem;
}
.lead-form .field {
  display: grid;
  gap: var(--space-2);
  align-content: start;
}
.lead-form .field--wide {
  grid-column: 1 / -1;
}
.lead-form .error:empty {
  display: none;
}
.lead-done {
  background: var(--paper);
  border-left: 6px solid var(--green);
  border-radius: var(--radius-s);
  padding: var(--space-4);
  max-width: 40rem;
}
.agent-results h3 {
  font-size: var(--text-body);
  margin: var(--space-4) 0 var(--space-2);
}
.agent-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-2);
}
.agent-pick {
  width: 100%;
  justify-content: space-between;
  flex-wrap: wrap;
}
.agent-pick span {
  font-family: var(--font-body);
  font-weight: 400;
}
.gate-partner {
  margin-top: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}
.checks {
  border: 0;
  padding: 0;
  margin: 0;
}
.checks legend {
  padding: 0;
  margin-bottom: var(--space-2);
  font-weight: 600;
}
.checks label {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  min-height: var(--tap);
}
.checks input {
  width: 1.25rem;
  height: 1.25rem;
  accent-color: var(--green);
}
.stock-note {
  font-weight: 600;
  margin: 0 0 var(--space-3);
}
.stock-note::before {
  content: '';
  display: inline-block;
  width: 0.6em;
  height: 0.6em;
  border-radius: 50%;
  background: var(--orange);
  margin-right: 0.4em;
}
.stock-note.stock-out::before {
  background: var(--danger);
}
.buy-box button[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

/* ---------- product photos (npm run images) and the brand eyebrow ---------- */
.photo {
  display: block;
  width: 100%;
  height: auto;
  background-color: var(--cream-soft);
  background-size: cover;
}
.photo-missing {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  background: var(--cream-soft);
  color: var(--brown);
  font-family: var(--font-display);
}
.eyebrow {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-text-on-cream);
}
.product-card .eyebrow {
  margin-top: var(--space-2);
}
.product-card h3 {
  margin-top: 0;
}

/* Night 4: agent photo (verified + consented) or initials. */
.avatar { display: inline-flex; align-items: center; justify-content: center; flex: none; border-radius: 50%; overflow: hidden; background: var(--cream, #F2E5B8); color: var(--brown, #3E2219); font-weight: 600; vertical-align: middle; }
.avatar--40 { width: 40px; height: 40px; font-size: 0.9rem; }
.avatar--96 { width: 96px; height: 96px; font-size: 1.8rem; margin: 0 0 0.5rem; }
.avatar-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.agent-banner-who { display: flex; align-items: center; gap: 0.6rem; }
.agent-pick .avatar { margin-right: 0.5rem; }
.photo-preview { border-radius: 50%; object-fit: cover; margin-top: 0.5rem; }
/* Initials as generated content: decorative, so they never join the banner's text. */
.avatar-initials::before { content: attr(data-initials); }
