:root {
  --bg: #f7f9f8;
  --bg-deep: #06525c;
  --surface: #ebf0ee;
  --ink: #06525c;
  --muted: #2f737d;
  --accent: #06525c;
  --accent-ink: #f7f9f8;
  --field-1: #06525c;
  --field-1-ink: #f7f9f8;

  --font-display: "Nunito", "Noto Sans", system-ui, sans-serif;
  --font-text: "Nunito", "Noto Sans", system-ui, sans-serif;

  --step-small: clamp(0.875rem, 0.84rem + 0.15vw, 0.9375rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(2.6rem, 1rem + 6.5vw, 6.25rem);

  --margin: clamp(1rem, 2.2vw, 2rem);
  --gutter: clamp(1rem, 2vw, 2rem);
  --section: clamp(5rem, 12vw, 13rem);
  --header: 4.25rem;
  --promo: 2.4rem;
  --radius: 999px;
  --max: 92rem;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t: 180ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--step-body);
  font-weight: 400;
  line-height: 1.5;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  text-wrap: balance;
  hyphens: none;
}
ul[class], ol[class] { padding: 0; list-style: none; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; background: var(--surface); }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.wrap { padding-inline: var(--margin); }
.wrap-wide { padding-inline: var(--margin); max-width: var(--max); margin-inline: auto; }

.check a,
.pay-box a,
.crumbs a,
.prose-page a {
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35em;
  min-height: 3.15rem;
  padding: 0 1.6rem;
  background: var(--accent);
  color: var(--accent-ink);
  border: 0;
  border-radius: var(--radius);
  font-size: var(--step-small);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  font-family: var(--font-text);
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease;
}
.btn:hover { background: var(--ink); color: var(--accent-ink); }
.btn:active { transform: scale(0.97); }
.btn-outline {
  background: var(--bg);
  color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--accent-ink); }
.hero .btn-outline { background: var(--bg); color: var(--ink); }
.hero .btn-outline:hover { background: var(--ink); color: var(--accent-ink); }
.btn-full { width: 100%; }
.btn-accent { background: var(--bg); color: var(--ink); }
.btn-accent:hover { background: var(--surface); color: var(--ink); }

/* Promo + header */
.promo {
  background: var(--field-1);
  color: var(--field-1-ink);
  text-align: center;
  font-size: var(--step-small);
  letter-spacing: 0;
  line-height: 1.3;
  min-height: var(--promo);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem var(--margin);
  position: relative;
  z-index: 41;
}
.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: var(--header);
  padding-inline: var(--margin);
  gap: 0.75rem;
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg);
  color: var(--ink);
}
.header-left,
.header-right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.header-right { justify-content: flex-end; }
.wordmark {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}
.wordmark strong {
  display: block;
  font-size: clamp(1.15rem, 0.95rem + 0.8vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.wordmark span {
  display: block;
  margin-top: 0.28rem;
  font-family: var(--font-text);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}
.icon-btn {
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  color: inherit;
  border-radius: 50%;
}
.icon-btn svg { width: 1.25rem; height: 1.25rem; }
.cart-link { position: relative; }
.cart-count {
  position: absolute;
  top: 0.05rem;
  right: 0;
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 0.22rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.8125rem;
  line-height: 1.1rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.cart-count:empty,
.cart-count[data-count="0"] { display: none; }

.nav-menu { position: relative; }
.nav-menu > summary {
  list-style: none;
  cursor: pointer;
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.nav-menu > summary::-webkit-details-marker { display: none; }
.nav-menu > summary svg { width: 1.35rem; height: 1.35rem; }
.nav-menu:not([open]) .nav-panel { display: none; }
.nav-panel {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: var(--bg);
  color: var(--ink);
  padding: 1.25rem var(--margin) 3rem;
  overflow: auto;
}
.nav-panel-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
}
.nav-panel nav {
  display: grid;
  gap: 1.1rem;
}
.nav-panel a {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
}
.nav-panel .nav-meta {
  margin-top: 2.5rem;
  display: grid;
  gap: 0.7rem;
  font-size: 1rem;
}

.search-menu { position: relative; }
.search-menu > summary {
  list-style: none;
  cursor: pointer;
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.search-menu > summary::-webkit-details-marker { display: none; }
.search-menu:not([open]) .search-panel { display: none; }
.search-panel {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  width: min(22rem, calc(100vw - 2rem));
  background: var(--bg);
  color: var(--ink);
  padding: 1.2rem 1.2rem 1.3rem;
  z-index: 45;
  border-radius: 1.6rem;
}
.search-panel p {
  font-size: var(--step-small);
  color: var(--muted);
  margin-bottom: 0.7rem;
}
.search-panel a {
  display: block;
  padding: 0.5rem 0;
}

/* Hero — giant cropped circle */
.hero {
  position: relative;
  min-height: calc(100svh - var(--promo) - var(--header));
  overflow: hidden;
  background: var(--bg);
  color: var(--ink);
  display: grid;
  align-items: end;
  padding: clamp(2rem, 6vw, 4.5rem) var(--margin);
}
.hero__orb {
  position: absolute;
  width: 105vmax;
  height: 105vmax;
  right: -40vmax;
  top: 50%;
  translate: 0 -42%;
  border-radius: 50%;
  overflow: hidden;
  background: var(--accent);
}
.hero__orb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--accent);
}
@media (prefers-reduced-motion: no-preference) {
  .hero__orb {
    animation: shutter 1.1s var(--ease-out) both;
  }
  .hero__orb img {
    animation: settle 1.1s var(--ease-out) both;
  }
}
@keyframes shutter {
  from { clip-path: circle(0% at 62% 48%); }
  to { clip-path: circle(72% at 50% 50%); }
}
@keyframes settle {
  from { transform: scale(1.12); }
  to { transform: scale(1); }
}
.hero__copy {
  position: relative;
  z-index: 1;
  max-width: min(32rem, 46vw);
}
.hero h1 {
  font-size: var(--step-display);
  max-width: none;
  margin-bottom: 0.85rem;
}
.hero__copy > p {
  font-size: var(--step-lead);
  line-height: 1.35;
  max-width: 28ch;
  margin-bottom: 1.4rem;
}
@media (max-width: 839px) {
  .hero {
    min-height: auto;
    padding-bottom: 2.4rem;
    display: flex;
    flex-direction: column;
  }
  .hero__copy {
    order: -1;
    max-width: 36rem;
    position: relative;
  }
  .hero__orb {
    position: relative;
    width: min(72vw, 22rem);
    height: min(72vw, 22rem);
    right: auto;
    top: auto;
    translate: none;
    margin: 1.4rem auto 0;
  }
}

/* Tabs + product grid */
.catalog {
  padding-block: 2.8rem 4rem;
}
.tabs { position: relative; }
.tabs > input { position: absolute; opacity: 0; pointer-events: none; }
.tabs__bar {
  display: flex;
  justify-content: center;
  gap: 1.4rem;
  margin-bottom: 2rem;
  font-size: var(--step-body);
  font-weight: 600;
}
.tabs__bar label {
  cursor: pointer;
  color: var(--muted);
  padding-bottom: 0.2rem;
}
.tabs:has(#tab-citricos:checked) label[for="tab-citricos"],
.tabs:has(#tab-huerta:checked) label[for="tab-huerta"],
.tabs:has(#cat-citricos:checked) label[for="cat-citricos"],
.tabs:has(#cat-huerta:checked) label[for="cat-huerta"],
.tabs:has(#cat-todas:checked) label[for="cat-todas"] {
  color: var(--ink);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem var(--gutter);
}
.tab-panel { display: none; }
.tabs:has(#tab-citricos:checked) .panel-citricos,
.tabs:has(#tab-huerta:checked) .panel-huerta,
.tabs:has(#cat-citricos:checked) .panel-citricos,
.tabs:has(#cat-huerta:checked) .panel-huerta,
.tabs:has(#cat-todas:checked) .panel-todas {
  display: grid;
}
@media (min-width: 860px) {
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.product-card { display: block; text-align: center; }
.product-card__media {
  position: relative;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--surface);
}
.product-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--surface);
}
.product-card__life { opacity: 0; transition: opacity 280ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .product-card:hover .product-card__life { opacity: 1; }
}
.product-card__meta { padding: 0.95rem 0.4rem 0.4rem; }
.product-card__col {
  font-size: var(--step-small);
  color: var(--muted);
  margin-bottom: 0.2rem;
}
.product-card h3 {
  font-family: var(--font-text);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-transform: none;
}
.product-card__price {
  margin-top: 0.25rem;
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
}
.product-card__sizes {
  margin-top: 0.1rem;
  font-size: var(--step-small);
  color: var(--muted);
}

/* About inset panel */
.about-panel {
  margin: 0 var(--margin) var(--section);
  background: var(--field-1);
  color: var(--field-1-ink);
  min-height: min(110svh, 52rem);
  overflow: hidden;
  padding: clamp(2rem, 5vw, 3.5rem);
  display: grid;
  gap: 2rem;
  align-items: start;
}
.about-panel h2 {
  font-size: clamp(2.2rem, 4.4vw, 4rem);
  max-width: 12ch;
  color: var(--field-1-ink);
}
.about-panel__copy {
  display: grid;
  gap: 1.6rem;
  max-width: 38rem;
}
.about-panel__copy h3 {
  font-size: 1.35rem;
  margin-bottom: 0.45rem;
  color: var(--field-1-ink);
}
.about-panel__copy p {
  max-width: 36ch;
  color: var(--field-1-ink);
}
.about-panel .btn { margin-top: 0.4rem; }
.about-panel__photo {
  width: min(38vw, 22rem);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  margin-top: auto;
  translate: 0 12%;
}
.about-panel__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--accent);
}
@media (min-width: 880px) {
  .about-panel {
    grid-template-columns: 1fr 0.9fr;
    grid-template-rows: auto 1fr;
  }
  .about-panel h2 { grid-column: 1; }
  .about-panel__copy { grid-column: 2; grid-row: 1 / span 2; justify-self: end; }
  .about-panel__photo { grid-column: 1; grid-row: 2; }
}
@media (max-width: 879px) {
  .about-panel__photo {
    width: 86vw;
    max-width: 22rem;
    margin-inline: auto;
    translate: 0 18%;
  }
}

/* Process — many circles into one */
.process {
  padding: 0 var(--margin) var(--section);
}
.process h2 {
  font-size: var(--step-head);
  max-width: 12ch;
  margin-bottom: 0.7rem;
}
.process > p {
  max-width: 42ch;
  margin-bottom: 2rem;
}
.process-diagram {
  width: 100%;
  height: auto;
  margin-bottom: 1.8rem;
  overflow: hidden;
  display: block;
  max-width: 100%;
}
.process-cols {
  display: grid;
  gap: 1.4rem;
}
@media (min-width: 800px) {
  .process-cols { grid-template-columns: repeat(3, 1fr); }
}
.process-cols h3 {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}
.process-cols p { max-width: 32ch; }

.mechanism {
  padding: 0 var(--margin) var(--section);
}
@media (max-width: 879px) {
  .mechanism { padding-top: 5.5rem; }
}
.mechanism h2 {
  font-size: var(--step-head);
  max-width: 18ch;
  margin-bottom: 0.85rem;
}
.mechanism > p {
  max-width: 58ch;
  margin-bottom: 0.95em;
}
.mechanism .process-cols { margin-top: 2.2rem; }

.bleed-photo {
  margin-inline: var(--margin);
  margin-bottom: var(--section);
}
.bleed-photo img {
  width: 100%;
  aspect-ratio: 1;
  max-height: min(72vh, 42rem);
  object-fit: cover;
  border-radius: 50%;
  margin-inline: auto;
  background: var(--surface);
}

.feature {
  display: grid;
  gap: 1.5rem;
  margin: 0 var(--margin) var(--section);
  align-items: center;
}
.feature img {
  width: min(100%, 28rem);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  background: var(--surface);
  margin-inline: auto;
}
.feature__copy h2 {
  font-size: var(--step-head);
  margin-bottom: 0.7rem;
  max-width: 10ch;
}
.feature__copy p { max-width: 36ch; margin-bottom: 1.2rem; }
@media (min-width: 860px) {
  .feature {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
  }
  .feature:nth-of-type(even) { grid-template-columns: 1.1fr 0.9fr; }
  .feature:nth-of-type(even) img { order: 2; }
}

.cta-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
  margin: 0 0 var(--section);
  padding-inline: 0;
}
.cta-tile {
  min-height: 12rem;
  display: grid;
  align-content: center;
  padding: 2rem var(--margin);
}
.cta-tile--photo {
  min-height: 8rem;
  overflow: hidden;
  background: var(--surface);
}
.cta-tile--photo img {
  width: 100%;
  height: 100%;
  min-height: 8rem;
  object-fit: cover;
  background: var(--surface);
}
.cta-tile--accent {
  background: var(--field-1);
  color: var(--field-1-ink);
  min-height: 18rem;
}
.cta-tile--accent h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 0.55rem;
  max-width: 14ch;
}
.cta-tile--accent p {
  max-width: 36ch;
  margin-bottom: 1.2rem;
}
.cta-tile--flat { background: var(--surface); min-height: 8rem; }
@media (min-width: 800px) {
  .cta-row {
    grid-template-columns: 1fr 3fr 1fr;
    gap: 0.7rem;
  }
  .cta-tile--photo,
  .cta-tile--flat { min-height: 22.5rem; }
  .cta-tile--accent {
    min-height: 22.5rem;
    padding-inline: 2.5rem;
  }
}

/* Footer */
.site-footer {
  background: var(--field-1);
  color: var(--field-1-ink);
  padding: 3rem var(--margin) 1.5rem;
  margin-top: 0;
}
.footer-mark {
  display: flex;
  align-items: flex-end;
  gap: 0.35rem;
  height: clamp(6rem, 22svh, 12rem);
  margin-bottom: 2.4rem;
}
.footer-mark span {
  display: block;
  background: var(--field-1-ink);
  border-radius: 50%;
  flex: 1;
  max-width: 7rem;
}
.footer-mark span:nth-child(1) { height: 72%; }
.footer-mark span:nth-child(2) { height: 100%; }
.footer-mark span:nth-child(3) { height: 64%; }
.footer-mark span:nth-child(4) { height: 88%; }
.footer-mark span:nth-child(5) { height: 56%; }
.footer-mark span:nth-child(6) { height: 94%; }
.footer-grid {
  display: grid;
  gap: 1.8rem;
}
@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 2rem;
    align-items: start;
  }
  .footer-col > summary { pointer-events: none; list-style: none; }
  .footer-col > summary::-webkit-details-marker { display: none; }
}
.site-footer .footer-brand {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--field-1-ink);
  margin-bottom: 0.6rem;
}
.footer-data {
  display: grid;
  gap: 0.2rem;
  margin-top: 0.9rem;
  font-style: normal;
  font-size: var(--step-small);
  max-width: 28ch;
}
.footer-data a,
.footer-bottom a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.footer-col p,
.footer-note,
.footer-brand-col > p:not(.footer-brand) {
  font-size: var(--step-small);
  max-width: 38ch;
  color: var(--field-1-ink);
}
.footer-col summary {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  cursor: pointer;
  margin-bottom: 0.5rem;
}
.footer-col nav { display: grid; gap: 0.4rem; }
.footer-col a:hover { text-decoration: underline; text-underline-offset: 0.18em; }
.footer-bottom {
  margin-top: 2.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.4rem;
  justify-content: space-between;
  font-size: var(--step-small);
}
.footer-note { margin-top: 1.4rem; max-width: 70ch; }

/* Page title */
.page-hero {
  padding: 3.2rem var(--margin) 1.6rem;
}
.page-hero h1 {
  font-size: var(--step-head);
  max-width: 14ch;
}
.page-hero p {
  margin: 0.8rem 0 0;
  max-width: 46ch;
}

/* PDP */
.pdp {
  display: grid;
  gap: 1.8rem;
  padding: 1rem var(--margin) 3rem;
}
@media (min-width: 900px) {
  .pdp {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    align-items: start;
  }
}
.pdp-gallery {
  display: grid;
  gap: 1.2rem;
  justify-items: center;
}
.pdp-gallery img {
  width: min(100%, 28rem);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  background: var(--surface);
}
.pdp-info { position: sticky; top: 5.2rem; }
.crumbs {
  font-size: var(--step-small);
  color: var(--muted);
  margin-bottom: 1rem;
}
.crumbs a:hover { text-decoration: underline; text-underline-offset: 0.15em; }
.pdp-info h1 {
  font-size: clamp(1.8rem, 1.2rem + 1.6vw, 2.6rem);
  max-width: 14ch;
}
.notes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.9rem 0 1.2rem;
}
.notes span {
  background: var(--surface);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius);
  font-size: var(--step-small);
}
.pdp-lead { max-width: 42ch; margin-bottom: 0.85rem; }
.pdp-mech { max-width: 48ch; margin-bottom: 1.3rem; font-size: 0.98rem; }

.sizes { display: grid; gap: 0.5rem; margin-bottom: 1rem; }
.sizes label {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem 1rem;
  background: var(--surface);
  cursor: pointer;
  border-radius: var(--radius);
}
.sizes input { accent-color: var(--accent); }
.sizes label:has(:checked) {
  background: var(--ink);
  color: var(--bg);
}
.size-meta {
  font-size: var(--step-small);
  color: var(--muted);
  margin-bottom: 1.2rem;
}
.pdp-form:has([value="pequena"]:checked) .meta-clasica,
.pdp-form:has([value="clasica"]:checked) .meta-pequena,
.pdp-form:has([value="pequena"]:checked) .price-clasica,
.pdp-form:has([value="clasica"]:checked) .price-pequena { display: none; }

.qty {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
}
.qty input {
  width: 4.4rem;
  height: 2.7rem;
  border: 0;
  background: var(--surface);
  text-align: center;
  padding: 0 0.4rem;
  border-radius: var(--radius);
}

.acc { margin-top: 1.8rem; }
.acc details { padding: 0.2rem 0; }
.acc summary {
  cursor: pointer;
  padding: 0.85rem 0;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  list-style: none;
  display: flex;
  justify-content: space-between;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 0.35rem;
}
.acc details[open] summary::after { background: var(--muted); }
.acc details p { padding: 0 0 1rem; max-width: 46ch; }

.related { padding: 1rem var(--margin) 3rem; }
.related h2 {
  font-size: var(--step-head);
  margin-bottom: 1.4rem;
  max-width: 12ch;
}

/* Cart */
.cart-page, .checkout-page, .prose-page {
  padding: 2rem var(--margin) 4rem;
  max-width: 72rem;
  margin-inline: auto;
}
.cart-page h1, .checkout-page h1, .prose-page h1 {
  font-size: var(--step-head);
  margin-bottom: 1.5rem;
  max-width: 14ch;
}
.checkout-lead {
  margin-bottom: 1.6rem;
  max-width: 48ch;
}
.cart-empty { padding: 2rem 0 3rem; }
.cart-empty p { margin-bottom: 1.2rem; max-width: 40ch; }
.cart-list { display: grid; gap: 1rem; }
.cart-item {
  display: grid;
  grid-template-columns: 6.5rem 1fr auto;
  gap: 1rem;
  align-items: center;
  background: var(--surface);
  padding: 0.85rem 1.1rem 0.85rem 0.85rem;
  border-radius: 2.4rem;
}
.cart-item img {
  width: 6.5rem;
  height: 6.5rem;
  object-fit: cover;
  border-radius: 50%;
  background: var(--surface);
}
.cart-item h2 {
  font-family: var(--font-text);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-transform: none;
}
.cart-item p { font-size: var(--step-small); color: var(--muted); }
.cart-item .qty input { background: var(--bg); }
.cart-remove {
  font-size: var(--step-small);
  text-decoration: underline;
  text-underline-offset: 0.16em;
  margin-top: 0.4rem;
}
.cart-line { font-variant-numeric: tabular-nums; font-weight: 600; }
.cart-summary {
  margin-top: 2rem;
  max-width: 24rem;
  margin-left: auto;
  display: grid;
  gap: 0.55rem;
}
.cart-summary div {
  display: flex;
  justify-content: space-between;
}
.cart-summary .total {
  font-size: 1.15rem;
  margin-top: 0.4rem;
}

.checkout-grid {
  display: grid;
  gap: 2.2rem;
}
@media (min-width: 880px) {
  .checkout-grid { grid-template-columns: 1.15fr 0.85fr; align-items: start; }
}
.form-grid { display: grid; gap: 0.85rem; }
@media (min-width: 640px) {
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
}
.field { display: grid; gap: 0.3rem; }
.field span { font-size: var(--step-small); }
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 0;
  background: var(--surface);
  min-height: 2.9rem;
  padding: 0.55rem 1rem;
  border-radius: var(--radius);
}
.field textarea {
  min-height: 6rem;
  resize: vertical;
  border-radius: 1.4rem;
}
.pay-box {
  background: var(--surface);
  padding: 1.1rem 1.2rem;
  margin: 0.4rem 0 0.8rem;
  border-radius: 1.6rem;
}
.pay-box strong { display: block; margin-bottom: 0.3rem; }
.check {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: var(--step-small);
  margin: 0.8rem 0 1.1rem;
}
.order-box {
  background: var(--surface);
  padding: 1.4rem;
  position: sticky;
  top: 5.2rem;
  border-radius: 2rem;
}
.order-box h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}
.order-line {
  display: grid;
  grid-template-columns: 3.4rem 1fr auto;
  gap: 0.7rem;
  align-items: center;
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
}
.order-line img {
  width: 3.4rem;
  height: 3.4rem;
  object-fit: cover;
  border-radius: 50%;
}
.thanks {
  text-align: center;
  padding: 4rem var(--margin) 5rem;
  max-width: 40rem;
  margin-inline: auto;
}
.thanks h1 {
  font-size: var(--step-head);
  margin-bottom: 0.8rem;
}
.thanks p { margin-inline: auto; max-width: 46ch; }
.thanks-hello {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.45rem;
  margin: 1.4rem auto 0.5rem;
}
.thanks-order {
  text-align: left;
  margin: 1.8rem auto 0;
  max-width: 28rem;
  background: var(--surface);
  padding: 1.3rem;
  border-radius: 1.8rem;
}
.thanks-order h2 {
  font-size: 1.35rem;
  margin-bottom: 0.8rem;
}
.thanks-steps {
  list-style: none;
  padding: 0;
  margin: 1.8rem auto 0;
  max-width: 36ch;
  text-align: left;
}
.thanks-steps li {
  margin: 0.5rem 0;
  padding-left: 1.3rem;
  position: relative;
}
.thanks-steps li::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  background: currentColor;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 0.5em;
}
.thanks-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
  margin-top: 1.8rem;
}
.thanks .btn { margin-top: 0; }

.prose-page h2 {
  font-size: clamp(1.5rem, 2vw, 1.9rem);
  margin: 1.8rem 0 0.6rem;
  max-width: 22ch;
}
.prose-page p + p { margin-top: 0.85em; }
.prose-page ul { padding-left: 1.1rem; margin: 0.6rem 0 1rem; }
.prose-page li { margin: 0.25rem 0; }
.figure-wide {
  margin: 1.6rem 0 2rem;
}
.figure-wide img {
  width: min(100%, 28rem);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  margin-inline: auto;
}

@media (max-width: 639px) {
  .cart-item { grid-template-columns: 5.2rem 1fr; border-radius: 1.8rem; }
  .cart-line { grid-column: 1 / -1; text-align: right; }
  .hero h1 { font-size: clamp(2.5rem, 12vw, 3.4rem); }
}
