@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: light;
  --serif: "Fraunces", Georgia, serif;
  --whatsapp: #1d7a4b;
  --shadow: 0 1px 2px #20392d14, 0 8px 24px -12px #20392d33;
  --paper: #f7f5ec;
  --card: #fffdf6;
  --ink: #24372a;
  --muted: #536253;
  --line: #d4d8c9;
  --forest: #20392d;
  --lime: #e8edaa;
  --warm: #f1e7d4;
  --terracotta: #964524;
  --gutter: clamp(1rem, 4vw, 4.5rem);
  font-family: system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 1rem; line-height: 1.5; }
:where(h1, h2, h3, p, figure) { margin: 0; }
a { color: inherit; text-underline-offset: .23em; }
button, input, select, textarea { color: inherit; font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .5; cursor: default; }
:focus-visible { outline: 2px solid #9e4724; outline-offset: 3px; }
[hidden] { display: none !important; }
.frame { width: min(100% - 2 * var(--gutter), 85rem); margin-inline: auto; }
img { max-width: 100%; }
.skip-link { position: fixed; top: .5rem; left: .5rem; z-index: 4; padding: .6rem; background: var(--card); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
:where(section, [id]) { scroll-margin-top: 5.5rem; }

.header { position: sticky; top: 0; z-index: 3; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-row, .footer-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 4.5rem; }
.brand { display: inline-flex; align-items: baseline; gap: .55rem; text-decoration: none; font-weight: 780; letter-spacing: -.06em; font-size: 2.1rem; line-height: 1; }
.brand span { font-size: .82rem; letter-spacing: .035em; font-weight: 650; }
.header nav { display: flex; gap: clamp(1rem, 3vw, 2.5rem); }
.header nav a { text-decoration: none; font-weight: 650; font-size: .92rem; padding-block: .65rem; }
.header nav a:hover, .footer a:hover { text-decoration: underline; }
.button, .cart-toggle { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .7rem 1rem; border: 1px solid transparent; border-radius: .35rem; background: var(--forest); color: white; font-weight: 680; text-decoration: none; text-align: center; }
.button:not(.outline):hover { background: #2f513e; }
.button.whatsapp { background: var(--whatsapp); }
.button.whatsapp:hover { background: #17633d; }
.button { min-height: 2.75rem; transition: background-color .15s ease, border-color .15s ease; }
.cart-toggle { border-color: #a5b09f; color: var(--forest); background: transparent; font-size: .9rem; white-space: nowrap; }
.cart-toggle:hover, .cart-toggle span { background: #e9edde; }
.cart-toggle span { min-width: 1.6rem; padding: .06rem .28rem; border-radius: 100px; text-align: center; }
.button.outline { color: var(--forest); border-color: #a5b09f; background: transparent; }
.button.outline:hover { background: #ecf0df; }
.text-button { background: transparent; border: 0; padding: .45rem .12rem; font-weight: 680; text-decoration: underline; text-underline-offset: .2em; }
.eyebrow { color: var(--terracotta); font-size: .86rem; font-weight: 750; letter-spacing: .025em; }
.hero {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  min-height: 27rem;
  margin-top: clamp(1rem, 2vw, 2rem);
  background: #e9edde;
  color: var(--forest);
}
.hero-copy { align-self: center; padding: clamp(1.7rem, 3.1vw, 3.2rem) clamp(1.7rem, 4.65vw, 5.2rem); }
.hero h1 {
  margin-block: .75rem 1rem;
  font: 400 clamp(3.35rem, 5.9vw, 6.5rem)/.95 var(--serif);
  letter-spacing: -.045em;
}
.hero-copy > p:not(.eyebrow) { max-width: 40ch; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: .35rem 1.2rem; margin: 1.3rem 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .9rem; }
.hero-facts li { display: inline-flex; align-items: center; gap: .45rem; }
.hero-facts li::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: var(--terracotta); }
.hero-facts a { color: inherit; }
.hero { border-radius: .75rem; overflow: hidden; }

.steps { padding-top: clamp(2rem, 4vw, 3rem); }
.steps-title { margin-bottom: 1rem; font: 600 1.05rem/1.3 system-ui, sans-serif; letter-spacing: .02em; color: var(--terracotta); }
.steps-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; margin: 0; padding: 0; list-style: none; }
.steps-list li { display: flex; gap: .85rem; align-items: flex-start; padding: 1.1rem; border: 1px solid var(--line); border-radius: .6rem; background: var(--card); }
.steps-list strong { display: block; margin-bottom: .2rem; font: 600 1.2rem/1.2 var(--serif); }
.steps-list p { color: var(--muted); font-size: .94rem; }
.step-number { display: grid; flex: none; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--forest); color: white; font-weight: 750; }
.hero-picture { position: relative; background: #496045; min-width: 0; overflow: hidden; }
.hero-picture img { position: absolute; width: 100%; height: 100%; inset: 0; object-fit: cover; object-position: center; }
.hero-picture figcaption { position: absolute; right: .65rem; bottom: .65rem; background: #223428; color: white; font-size: .875rem; }
.hero-picture figcaption a { display: inline-flex; align-items: center; min-height: 2.75rem; padding-inline: .65rem; }

.catalogue, .guide, .supply-section { padding-block: clamp(2.75rem, 6vw, 5.3rem); }
.catalogue { padding-top: clamp(2.3rem, 4vw, 3.8rem); }
.garden-catalogue { padding-bottom: clamp(1.6rem, 4vw, 3rem); }
.fruit-catalogue { border-top: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 1.15rem 2rem; margin-bottom: 1.65rem; }
.section-heading h2, .dialog h2 { font: 500 clamp(2.5rem, 4.8vw, 4.5rem)/1 var(--serif); letter-spacing: -.04em; }
.section-heading .eyebrow { margin-bottom: .45rem; }
.section-heading > p { color: var(--muted); max-width: 34ch; }
.filters { display: grid; gap: .45rem; margin-bottom: 1.35rem; }
.search-field { width: min(100%, 29rem); }
.catalogue-filters summary { width: fit-content; padding-block: .35rem; cursor: pointer; font-weight: 680; }
.filter-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; padding: .85rem; background: #ebeede; }
.field { display: grid; align-content: start; gap: .32rem; font-size: .88rem; font-weight: 700; min-width: 0; }
.field :where(input, select, textarea) { min-width: 0; width: 100%; padding: .57rem .65rem; border: 1px solid #a9b3a3; border-radius: .28rem; background: var(--card); font-size: 1rem; font-weight: 400; }
.results-bar { display: flex; align-items: center; justify-content: space-between; gap: .75rem; color: var(--muted); font-size: .92rem; }
.results-bar.has-results-summary { margin-bottom: .7rem; }
.plant-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.15rem; }
.plant-card { position: relative; min-width: 0; border: 1px solid var(--line); border-radius: .6rem; overflow: hidden; background: var(--card); transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; }
.plant-card:hover { border-color: #899987; box-shadow: var(--shadow); transform: translateY(-2px); }
.plant-card:focus-within { outline: 2px solid var(--terracotta); outline-offset: 3px; }
.card-image { position: relative; background: #e5edda; overflow: hidden; }
.card-image img, .image-fallback { display: block; width: 100%; height: auto; aspect-ratio: 1.35; object-fit: cover; }
.plant-card[data-availability="out-of-stock"] { background: #f1f0ea; }
.plant-card[data-availability="out-of-stock"] .card-image img { filter: saturate(.55) brightness(.75); }
.image-fallback { display: grid; place-items: center; font-size: .88rem; color: var(--muted); }
.card-body { display: grid; gap: .45rem; padding: .95rem; }
.card-body > *, .dialog-inner > *, #plant-detail, #cart-content { min-width: 0; max-width: 100%; }
.card-body h3, .scientific, .selection-label, .cart-line strong, .rec-card strong { overflow-wrap: anywhere; }
.card-body h3 { font: 600 clamp(1.45rem, 2.25vw, 2.1rem)/1.08 var(--serif); letter-spacing: -.035em; }
.plant-card-link { min-height: 2.75rem; padding: 0; border: 0; background: transparent; text-align: start; letter-spacing: inherit; text-decoration: underline; text-decoration-thickness: .04em; text-underline-offset: .18em; }
.plant-card-link::after { position: absolute; inset: 0; content: ""; }
.plant-card-link:focus-visible { outline: none; }
.scientific { font-size: .88rem; color: var(--muted); }
.icon { display: inline-block; flex: none; width: 1.15em; height: 1.15em; vertical-align: -.2em; color: var(--terracotta); }
.card-note, .catalogue-note { color: var(--muted); }
.fruit-price { font-weight: 750; color: var(--forest); font-size: 1.08rem; }
.availability-label { display: inline-flex; align-items: center; gap: .4rem; width: fit-content; color: var(--muted); font-size: .875rem; line-height: 1.3; font-weight: 700; }
.availability-label::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: #9aa596; }
[data-availability="available"] .availability-label::before { background: #3f8a52; }
[data-availability="out-of-stock"] .availability-label::before { background: #b5502d; }
[data-availability="available"] .availability-label { color: var(--forest); }
.catalogue-note { margin-top: 1.25rem; font-size: .9rem; }
.more { display: flex; margin: 1.6rem auto 0; }
.empty-state { padding: 1.4rem; border: 1px solid var(--line); background: var(--card); }

.garden-search { display: flex; flex-wrap: wrap; align-items: end; gap: .15rem .85rem; margin-bottom: 1rem; }
.garden-count { margin-bottom: .65rem; color: var(--muted); }
.garden-count:empty { margin: 0; }
.garden-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: .75rem; }
.garden-group { min-width: 0; border: 1px solid var(--line); border-radius: .6rem; overflow: hidden; background: var(--card); }
.garden-group summary { position: relative; list-style: none; padding: 1rem 2.65rem 1rem 1rem; cursor: pointer; background: #edf0e6; }
.garden-group summary::-webkit-details-marker { display: none; }
.garden-group summary::after { position: absolute; inset: 1rem 1rem auto auto; content: "+"; color: var(--forest); font-size: 1.4rem; line-height: 1; }
.garden-group[open] summary::after { content: "−"; }
.garden-group summary:hover { background: #e5eadc; }
.garden-group-title { display: block; font: 600 clamp(1.2rem, 2.1vw, 1.6rem)/1.15 var(--serif); letter-spacing: -.015em; }
.garden-group-preview { display: block; margin-top: .35rem; color: var(--muted); font-size: .875rem; }
.garden-group[open] .garden-group-preview { display: none; }
.garden-list { list-style: none; margin: 0; padding: 0 1rem; }
.garden-list li { display: flex; justify-content: space-between; align-items: center; gap: .75rem; min-height: 2.75rem; }
.garden-list li + li { border-top: 1px solid var(--line); }
.garden-list span { min-width: 0; overflow-wrap: anywhere; padding-block: .45rem; }
.garden-detail-button { flex: none; min-height: 2.75rem; font-size: .9rem; }

.supply-section { background: var(--warm); }
.supply-details > summary { padding-block: .65rem; margin-bottom: .6rem; font-weight: 680; cursor: pointer; }
.chips { display: flex; gap: .55rem; flex-wrap: wrap; margin-bottom: 1rem; }
.chip { padding: .43rem .77rem; border: 1px solid #b9b9a5; border-radius: 100px; background: transparent; font-size: .9rem; font-weight: 660; }
.chip[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: white; }
.supply-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; }
.supply-card { border-radius: .6rem; display: flex; flex-direction: column; align-items: start; gap: .5rem; padding: 1.05rem; border: 1px solid #d8d6c4; background: var(--card); }
.supply-card > span:first-child { color: var(--terracotta); font-size: .9rem; font-weight: 700; }
.supply-card h3 { font-size: 1.08rem; line-height: 1.25; }
.supply-card p { color: var(--muted); }
.supply-detail-button { margin-top: auto; min-height: 2.75rem; font-size: .9rem; }
.guide-legend {
  display: grid;
  border-top: 1px solid var(--line);
}
.guide-group { border-bottom: 1px solid var(--line); }
.guide-group summary { padding: .9rem 0; cursor: pointer; font-weight: 700; }
.guide-group dl { margin: 0 0 .5rem; max-width: 46rem; }
.guide-item { position: relative; padding: .85rem 0 .85rem 3.35rem; }
.guide-item + .guide-item { border-top: 1px solid var(--line); }
.guide-symbol {
  position: absolute;
  inset: .85rem auto auto 0;
  display: grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 50%;
  background: #e9edde;
  color: var(--forest);
}
.guide-item .icon { width: 1.5rem; height: 1.5rem; color: inherit; }
.guide-item dt { font-weight: 720; line-height: 1.35; }
.guide-item dd { margin: .23rem 0 0; color: var(--muted); font-size: .94rem; line-height: 1.45; }
.contact-section { padding-block: clamp(2rem, 5vw, 4rem); background: #e9edde; }
.contact-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; gap: 1.5rem clamp(1.5rem, 4vw, 4rem); }
.contact-row h2 { margin-block: .4rem .7rem; font: 500 clamp(2rem, 5vw, 3.6rem)/1.05 var(--serif); letter-spacing: -.045em; }
.contact-row p:not(.eyebrow) { max-width: 50ch; color: var(--muted); }
.contact-actions { max-width: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: 1.2rem; }
.visit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; margin: 0; }
.visit-item { padding: 1rem; border: 1px solid #cfd6c2; border-radius: .6rem; background: var(--card); }
.visit-item dt { margin-bottom: .3rem; color: var(--terracotta); font-size: .82rem; font-weight: 750; letter-spacing: .03em; text-transform: uppercase; }
.visit-item dd { margin: 0; line-height: 1.45; overflow-wrap: anywhere; }
.visit-item a { font-weight: 650; }
.contact-actions a { overflow-wrap: anywhere; }
.footer { padding-block: clamp(1.6rem, 4vw, 2.6rem) 1.15rem; background: var(--forest); color: var(--paper); font-size: .91rem; }
.footer p { color: #edf0e5; }
.footer-row { align-items: flex-start; }
.footer-logo { display: flex; align-items: baseline; gap: .5rem; margin-bottom: .4rem; font-weight: 780; font-size: 1.7rem; letter-spacing: -.06em; }
.footer-logo span { font-size: .78rem; letter-spacing: .035em; font-weight: 650; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0 1.25rem; max-width: 34rem; }
.footer-links a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.footer .footer-credits { padding-top: .65rem; border-top: 1px solid #7c8a79; color: #dce3d6; }
.footer-credits a { display: inline-block; padding-block: .65rem; }

.dialog { width: min(45rem, 100% - 1.5rem); max-height: min(90dvh, 56rem); padding: 0; border: 1px solid var(--line); border-radius: .55rem; background: var(--card); color: var(--ink); }
.dialog::backdrop { background: #132019b3; }
.dialog-inner { display: grid; gap: .85rem; padding: clamp(1rem, 3vw, 1.8rem); }
.dialog-top { display: flex; justify-content: space-between; align-items: center; gap: .7rem; }
.close { min-width: 2.5rem; min-height: 2.5rem; padding: 0; border: 1px solid var(--line); border-radius: .3rem; background: transparent; font-size: 1.65rem; line-height: 1; }
.close:hover { background: #e9eddf; }
.dialog h2 { font-size: clamp(2.15rem, 5vw, 3.5rem); }
.photo-dialog { width: min(58rem, 100% - 1.5rem); }
.photo-viewer { display: grid; gap: .55rem; padding: .7rem; }
.photo-viewer h2 { margin-left: .2rem; font: 690 1rem/1.25 system-ui, sans-serif; letter-spacing: normal; }
.photo-viewer img { display: block; width: 100%; max-height: 74dvh; object-fit: contain; background: #e7ebdc; }
.plant-dialog { width: min(53rem, 100% - 1.5rem); }
.detail-header { padding-bottom: .9rem; }
.detail-header h2 { margin-bottom: .45rem; }
.detail-header-with-tree { display: grid; grid-template-columns: minmax(0, 1fr) clamp(6.25rem, 24vw, 10rem); align-items: start; gap: .7rem; }
.detail-header-with-tree .identification-photo { height: auto; }
.detail-header-with-tree .identification-image { height: clamp(3.9rem, 18vw, 6.25rem); }
.identification { margin-bottom: 1.1rem; }
.identification-heading { display: flex; align-items: baseline; justify-content: space-between; gap: .3rem .8rem; flex-wrap: wrap; margin-bottom: .45rem; }
.identification-heading h3 { font-size: 1.05rem; }
.identification-heading p { color: var(--muted); font-size: .86rem; }
.identification-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
.identification-photo { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); background: var(--card); }
.identification-image, .identification-missing { display: block; height: clamp(6rem, 31vw, 12rem); background: #e7ebdc; }
.identification-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.identification-image:hover { background: #dce4ce; }
.identification-missing { display: grid; place-items: center; padding: .5rem; text-align: center; color: var(--muted); font-size: .86rem; }
.identification-photo figcaption { padding: .45rem .55rem; font-size: .88rem; line-height: 1.3; }
.identification-photo figcaption span { display: block; margin-top: .14rem; color: var(--muted); font-size: .82rem; }
.source-note { color: var(--muted); font-size: .85rem; margin-top: .35rem; overflow-wrap: anywhere; }
.source-note:empty { margin: 0; }
.variety-picker { min-width: 0; margin: 0; padding: 0; border: 0; }
.variety-picker legend { margin-bottom: .45rem; padding: 0; font-size: 1.08rem; font-weight: 750; }
.variety-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.variety-choice { display: flex; align-items: start; gap: .5rem; min-width: 0; padding: .65rem; border: 1px solid #a9b3a3; border-radius: .27rem; cursor: pointer; }
.variety-choice:has(:checked) { background: #eef2da; border-color: var(--forest); box-shadow: inset 0 0 0 1px var(--forest); }
.variety-choice:has(:focus-visible) { outline: 2px solid #9e4724; outline-offset: 2px; }
.variety-with-photos { display: flex; flex-direction: column; min-width: 0; border: 1px solid #a9b3a3; border-radius: .27rem; }
.variety-with-photos:has(input:checked) { background: #eef2da; border-color: var(--forest); box-shadow: inset 0 0 0 1px var(--forest); }
.variety-with-photos:has(input:focus-visible) { outline: 2px solid #9e4724; outline-offset: 2px; }
.variety-with-photos .variety-choice { border: 0; border-radius: 0; background: transparent; box-shadow: none; outline: 0; }
.variety-choice[data-availability="out-of-stock"]:not(:has(:checked)),
.variety-with-photos[data-availability="out-of-stock"]:not(:has(:checked)) { background: #f1f0ea; }
.variety-photo-links { display: flex; flex-wrap: wrap; gap: .25rem .75rem; margin-top: auto; padding: .45rem .65rem .55rem; border-top: 1px solid var(--line); }
.variety-photo-links a { font-size: .875rem; font-weight: 670; }
.variety-choice input { flex: none; margin: .25rem 0 0; accent-color: var(--forest); }
.variety-choice strong, .variety-trait { display: block; }
.variety-choice .fruit-price { display: block; }
.variety-choice .availability-label { display: block; margin-block: .13rem; }
.variety-price-note { margin-bottom: .55rem; color: var(--muted); }
.variety-trait { color: var(--muted); font-size: .87rem; line-height: 1.32; }
.variety-info { margin-top: .85rem; }
.variety-info h3 { margin-bottom: .25rem; font-size: 1.05rem; }
.variety-info > p { color: var(--muted); font-size: .94rem; }
.variety-fruit-description { margin-bottom: .25rem; }
.growing-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; margin: .75rem 0 0; padding: 0; }
.growing-facts div { padding: .65rem; background: #f0efe5; border: 1px solid var(--line); }
.growing-facts dt { color: var(--muted); font-size: .87rem; font-weight: 670; margin-bottom: .25rem; }
.growing-facts dd { margin: 0; }
.growing-facts dd strong { display: block; font-size: .97rem; line-height: 1.28; }
.growing-facts dd small { display: block; margin-top: .25rem; font-size: .85rem; color: var(--muted); }
.selection-label { align-self: center; font-size: .88rem; color: var(--muted); }
.selection-label strong { display: block; color: var(--ink); font-size: 1rem; }
.care-details { margin-top: .65rem; padding-block: .55rem; border-bottom: 1px solid var(--line); }
.care-details summary { font-weight: 680; cursor: pointer; }
.plant-sources { margin-top: .8rem; }
.plant-sources summary { color: var(--muted); font-size: .9rem; text-decoration: underline; }
.plant-sources .scientific { margin-top: .45rem; }
.care-details .detail-facts { margin-top: .6rem; }
.detail-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; margin-bottom: 1rem; }
.fact { padding: .65rem; background: #edf0e3; font-size: .91rem; }
.fact strong { display: block; margin-bottom: .12rem; }
.product-facts { margin: 0 0 .85rem; }
.product-facts dt { font-weight: 700; margin-bottom: .18rem; }
.product-facts dd { margin: 0; }
.product-detail-note strong { display: block; }
.product-photo { margin-bottom: 1rem; }
.product-photo .identification-image { height: clamp(9rem, 38vw, 20rem); }
.product-photo .identification-photo { height: auto; }
.detail-note { margin-bottom: .5rem; }
.detail-quote { display: grid; grid-template-columns: minmax(0, 1fr) 5rem auto; align-items: end; gap: .55rem; padding-block: .8rem; margin-top: .7rem; border-block: 1px solid var(--line); }
.detail-quote .button { min-height: 2.65rem; }
.rec-list { display: grid; gap: .45rem; margin-top: .7rem; }
.recommendations { margin-top: 1.1rem; }
.rec-card { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .65rem .75rem; border: 1px solid var(--line); font-size: .89rem; }
.rec-card p { color: var(--muted); }
.rec-kind { color: var(--terracotta); font-weight: 700; font-size: .82rem; }
.cart-lines { display: grid; gap: .45rem; list-style: none; padding: 0; margin: 0 0 .85rem; }
.cart-line { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: .65rem; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.cart-line span { display: block; font-size: .87rem; color: var(--muted); }
.cart-price-summary { padding-block: .45rem .85rem; }
.stepper { display: flex; align-items: center; }
.stepper button { width: 2.15rem; height: 2.2rem; background: var(--paper); border: 1px solid var(--line); font-weight: 750; }
.stepper input { width: 3rem; height: 2.2rem; padding: .2rem; background: var(--card); border: 1px solid var(--line); text-align: center; appearance: textfield; }
.stepper input::-webkit-inner-spin-button { appearance: none; }
.cart-send { display: grid; gap: .65rem; margin-top: 1.1rem; border-top: 1px solid var(--line); padding-top: .85rem; }
.cart-send p { color: var(--muted); font-size: .91rem; }
.cart-buttons { display: flex; gap: .55rem; flex-wrap: wrap; }
.summary { width: 100%; min-height: 8rem; resize: vertical; padding: .65rem; border: 1px solid var(--line); background: #f1f2e9; }
.toast { position: fixed; z-index: 2; bottom: 1rem; right: var(--gutter); max-width: min(24rem, 100% - 2rem); padding: .62rem .85rem; background: var(--forest); color: white; box-shadow: 0 0 0 1px #899987; }
.toast:empty { display: none; }

.ask-whatsapp { margin-top: .4rem; font-size: .92rem; }
.ask-whatsapp a { color: var(--whatsapp); font-weight: 700; }
.whatsapp-float { position: fixed; z-index: 3; right: var(--gutter); bottom: 1rem; display: inline-flex; align-items: center; gap: .5rem; min-height: 3.25rem; padding: .7rem 1.1rem .7rem .9rem; border-radius: 100px; background: var(--whatsapp); color: white; font-weight: 720; text-decoration: none; box-shadow: 0 6px 20px -6px #0d3a2399; }
.whatsapp-float:hover { background: #17633d; }
.whatsapp-float svg { width: 1.5rem; height: 1.5rem; }
body:has(.whatsapp-float:not([hidden])) .toast { bottom: 5rem; }
body:has(dialog[open]) .whatsapp-float { display: none; }

@media (max-width: 70rem) {
  .plant-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 48rem) {
  .hero { grid-template-columns: 1fr 1fr; min-height: 23rem; }
  .hero h1 { font-size: clamp(2.6rem, 7.2vw, 4.1rem); }
  .plant-grid, .supply-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .header-row { flex-wrap: wrap; gap: .15rem .75rem; padding-top: .65rem; }
  .header nav { order: 3; width: 100%; flex-wrap: wrap; gap: .1rem 1rem; }
  .header nav a { padding-block: .45rem .67rem; }
  .section-heading { align-items: start; flex-direction: column; }
  .section-heading > p { max-width: 47ch; }
  .steps-list { grid-template-columns: 1fr; }
  .contact-row { grid-template-columns: 1fr; }
}
@media (max-width: 34rem) {
  .garden-groups { grid-template-columns: 1fr; }
  .hero { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(3.0rem, 11.5vw, 5rem); }
  .hero-picture { min-height: 12rem; }
  .filter-options { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; padding: .65rem; }
  .plant-grid { gap: .65rem; }
  .card-body { padding: .68rem; }
  .supply-grid { grid-template-columns: 1fr; }
  .detail-quote { grid-template-columns: minmax(0, 1fr) 4.5rem; }
  .detail-quote .button { grid-column: 1 / -1; }
  .product-facts { grid-template-columns: 1fr; }
  .growing-facts { grid-template-columns: 1fr; }
  .variety-choices { grid-template-columns: 1fr; }
  .cart-line { grid-template-columns: minmax(0, 1fr) auto; gap: .4rem .65rem; }
  .cart-line > .text-button { grid-column: 2; justify-self: end; }
  .detail-header-with-tree { grid-template-columns: minmax(0, 1fr) minmax(5rem, 30%); }
  .rec-card { align-items: flex-start; flex-wrap: wrap; }
  .cart-buttons > * { flex: 1 1 10rem; }
  .footer-row { align-items: start; flex-direction: column; gap: .7rem; }
  .footer-links { justify-content: flex-start; }
  .visit-grid { grid-template-columns: 1fr; }
  .hero { border-radius: .5rem; }
  .hero-actions .button { flex: 1 1 100%; }
  .whatsapp-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .whatsapp-float { padding: .8rem; }
  .steps-list { gap: .5rem; }
  .steps-list li { padding: .75rem .85rem; gap: .7rem; }
  .steps-list strong { font-size: 1.05rem; }
  .steps-list p { font-size: .9rem; }
  .step-number { width: 1.9rem; height: 1.9rem; font-size: .9rem; }
}
@media (max-width: 23rem) {
  .plant-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 1.35rem; }
  .hero h1 { font-size: clamp(2.35rem, 11vw, 3rem); }
  .filter-options { grid-template-columns: 1fr; }
}
.apple-size {
  margin-block: .9rem 1rem;
  border: 1px solid #c9c6b6;
  border-radius: .5rem;
  background: #f5efe2;
}
.apple-size > summary { padding: .8rem .9rem; font-weight: 750; cursor: pointer; }
.apple-size-content { display: grid; gap: .75rem; padding: 0 .9rem .9rem; }
.apple-size-options { min-width: 0; margin: 0; padding: 0; border: 0; }
.apple-size-options legend { margin-bottom: .35rem; padding: 0; font-size: .9rem; color: var(--muted); }
.apple-size-options > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .35rem; }
.apple-size-options label { position: relative; cursor: pointer; }
.apple-size-options input { position: absolute; opacity: 0; }
.apple-size-options span {
  display: grid;
  place-items: center;
  min-height: 2.75rem;
  padding: .3rem .25rem;
  border: 1px solid #a39d8a;
  border-radius: .35rem;
  background: var(--card);
  font-weight: 680;
  text-align: center;
}
.apple-size-options :checked + span { background: var(--forest); border-color: var(--forest); color: white; }
.apple-size-options :focus-visible + span { outline: 2px solid var(--terracotta); outline-offset: 2px; }
.apple-size-figure { min-width: 0; padding: .7rem; border: 1px solid #d9ccb3; border-radius: .4rem; background: #fff9ec; }
.apple-size-figure figcaption { display: grid; gap: .05rem; }
.apple-size-figure figcaption span, .apple-size-caption { color: var(--muted); font-size: .875rem; }
.apple-size-figure figcaption strong { font: 600 clamp(1.65rem, 7vw, 2.5rem)/1.1 var(--serif); }
.apple-size-plot {
  position: relative;
  height: clamp(8.5rem, 45vw, 13rem);
  margin-block: .2rem .35rem;
  border-bottom: 1px solid #a59a81;
  background: radial-gradient(ellipse at 60% 95%, #efe2c7 0%, transparent 68%);
}
.apple-size-plot canvas {
  position: absolute;
  bottom: -1px;
  width: auto;
  max-width: none;
  translate: -50%;
}
#apple-size-person { left: 18%; height: 31%; }
#apple-size-tree {
  left: 62%;
  height: 100%;
  transform: scale(var(--apple-scale, .5));
  transform-origin: center bottom;
  transition: transform .42s ease-out;
}
.apple-size-note { padding-top: .55rem; border-top: 1px solid #d9ccb3; font-weight: 650; }
.apple-size-source { color: var(--muted); font-size: .875rem; }
.apple-size-source summary { text-decoration: underline; cursor: pointer; }
.apple-size-source p { margin-top: .35rem; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .plant-card, .plant-card:hover { transition: none; transform: none; }
  #apple-size-tree { transition: none; }
}
.not-found { display: grid; gap: 1rem; max-width: 40rem; padding-block: clamp(3rem, 12vw, 8rem); }
.not-found h1 { font: 500 clamp(2.4rem, 6vw, 4rem)/1.05 var(--serif); letter-spacing: -.045em; }
.not-found p:not(.eyebrow) { color: var(--muted); }

/* ---------- Rediseño visual: portada, categorías y catálogo con fotos ---------- */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero { position: relative; grid-template-columns: 1fr 1fr; min-height: 32rem; background: #e7ecdc; }
.hero-mosaic { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr 1fr; gap: .5rem; padding: .5rem; min-height: 0; }
.hero-mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: .45rem; background: #d9e1cc; }
.hero-mosaic img:first-child { grid-row: span 2; }
.hero-mosaic img:nth-child(4) { display: none; }
.hero-credit { position: absolute; right: 1rem; bottom: 1rem; padding: .3rem .6rem; border-radius: 100px; background: #1f3328cc; color: white; font-size: .8rem; text-decoration: none; }
.hero-credit:hover { background: #1f3328; }
.hero-facts strong { color: var(--forest); }

.categories { padding-top: clamp(2.5rem, 5vw, 4.5rem); }
.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin: 0; padding: 0; list-style: none; }
.category-tile { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; padding: 0; overflow: hidden; border: 0; border-radius: .7rem; background: #cfd9c3; color: white; text-align: start; }
.category-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.category-tile::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, transparent 35%, #0f1d15d9 100%); }
.category-tile:hover img { transform: scale(1.05); }
.category-label { position: absolute; z-index: 1; left: 1rem; right: 1rem; bottom: .85rem; display: grid; gap: .1rem; }
.category-label strong { font: 600 clamp(1.25rem, 2.2vw, 1.7rem)/1.1 var(--serif); letter-spacing: -.02em; }
.category-label span { font-size: .85rem; opacity: .92; }

.shop-toolbar { position: sticky; top: 4.5rem; z-index: 2; display: grid; gap: .65rem; margin-bottom: 1.25rem; padding: .85rem; border: 1px solid var(--line); border-radius: .7rem; background: color-mix(in srgb, var(--card) 94%, transparent); backdrop-filter: blur(8px); }
.shop-toolbar .search-field { width: 100%; }
.shop-toolbar input[type="search"] { padding: .75rem .9rem; border-radius: .5rem; font-size: 1rem; }
.chip-row { display: flex; gap: .45rem; overflow-x: auto; padding-bottom: .15rem; scrollbar-width: thin; }
.chip { display: inline-flex; flex: none; align-items: center; gap: .4rem; min-height: 2.5rem; padding: .4rem .85rem; border: 1px solid #b9bfa9; border-radius: 100px; background: var(--card); font-size: .9rem; font-weight: 660; white-space: nowrap; }
.chip span { color: var(--muted); font-size: .78rem; font-weight: 600; }
.chip:hover { border-color: var(--forest); }
.chip[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: white; }
.chip[aria-pressed="true"] span { color: #d7e2d0; }
.filter-row { display: flex; flex-wrap: wrap; align-items: end; gap: .5rem 1rem; }
.field.compact { grid-auto-flow: column; align-items: center; gap: .45rem; font-size: .85rem; }
.field.compact select { width: auto; padding: .45rem .6rem; }
.shop-count { margin-left: auto; color: var(--muted); font-size: .9rem; }

.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem .9rem; }
.product-card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.product-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: .7rem; background: #e3e9d8; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.product-card:hover .product-media img { transform: scale(1.04); }
.product-fallback { display: grid; place-items: center; height: 100%; color: #8a9a83; }
.product-fallback .icon { width: 3rem; height: 3rem; color: inherit; }
.availability-label.badge { position: absolute; left: .55rem; top: .55rem; padding: .25rem .55rem; border-radius: 100px; background: #fffdf6ee; color: var(--forest); font-size: .78rem; }
.product-body { display: grid; gap: .3rem; padding: .7rem .15rem 0; }
.product-category { color: var(--terracotta); font-size: .76rem; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.product-body h3 { font: 600 1.18rem/1.2 var(--serif); letter-spacing: -.01em; }
.product-link { padding: 0; border: 0; background: none; text-align: start; }
.product-link::after { position: absolute; inset: 0; content: ""; }
.product-link:focus-visible { outline: none; }
.product-card:focus-within .product-media { outline: 2px solid var(--terracotta); outline-offset: 3px; }
.product-meta { display: flex; flex-wrap: wrap; gap: .2rem .7rem; color: var(--muted); font-size: .82rem; }
.product-meta span { display: inline-flex; align-items: center; gap: .25rem; }
.product-meta .icon { width: 1rem; height: 1rem; }
.product-summary { color: var(--muted); font-size: .85rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: .35rem; }
.product-price { font-weight: 750; color: var(--forest); }
.product-price small { font-weight: 600; color: var(--muted); }
.product-price.muted { color: var(--muted); font-weight: 600; font-size: .88rem; }
.add-button { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: .3rem; min-height: 2.5rem; padding: .4rem .8rem; border: 1px solid var(--forest); border-radius: 100px; background: transparent; color: var(--forest); font-size: .86rem; font-weight: 720; white-space: nowrap; }
.add-button:hover { background: var(--forest); color: white; }
.add-button.added { background: var(--forest); color: white; }
.product-card[data-availability="out-of-stock"] .product-media img { filter: saturate(.5) brightness(.85); }

.supply-section { background: var(--warm); }
.supply-section .chip-row { margin-bottom: 1rem; }
.supply-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.supply-card { position: relative; display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) auto; align-items: center; gap: .85rem; padding: .7rem; border-radius: .7rem; }
.supply-media { display: grid; place-items: center; width: 4.5rem; height: 4.5rem; overflow: hidden; border-radius: .5rem; background: #ece6d4; color: var(--terracotta); }
.supply-media img { width: 100%; height: 100%; object-fit: cover; }
.supply-media .icon { width: 1.8rem; height: 1.8rem; }
.supply-card[data-availability="out-of-stock"] .supply-media img { filter: saturate(.5) brightness(.85); }
.supply-card .availability-label { display: block; margin-top: .15rem; font-size: .82rem; }
.supply-body { display: grid; gap: .15rem; min-width: 0; }
.supply-body h3 { font-size: 1rem; line-height: 1.25; }
.supply-body p { color: var(--muted); font-size: .84rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

@media (max-width: 70rem) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .supply-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 48rem) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-mosaic { height: 18rem; order: -1; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem .7rem; }
  .shop-toolbar { top: 6.6rem; padding: .65rem; }
  .shop-count { margin-left: 0; }
}
@media (max-width: 34rem) {
  .hero-mosaic { height: 15rem; }
  .category-tile { aspect-ratio: 4 / 3; }
  .category-label { left: .7rem; bottom: .6rem; }
  .product-foot { flex-direction: column; align-items: stretch; }
  .add-button { justify-content: center; }
  .supply-grid { grid-template-columns: 1fr; }
  .shop-toolbar { position: static; }
}
@media (prefers-reduced-motion: reduce) {
  .category-tile img, .product-media img { transition: none; }
  .category-tile:hover img, .product-card:hover .product-media img { transform: none; }
}
.category-fallback { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, #6f8a62, #2b4635); color: #cfe0c3; }
.category-fallback .icon { width: 3.5rem; height: 3.5rem; color: inherit; margin-bottom: 2rem; }
@media (max-width: 48rem) {
  .hero-credit { top: calc(18rem - 2.4rem); bottom: auto; }
}
@media (max-width: 34rem) {
  .hero-credit { top: calc(15rem - 2.4rem); right: 1.4rem; }
  .category-label strong { font-size: 1.05rem; }
  .category-label span { font-size: .78rem; }
}
.product-fallback { gap: .4rem; align-content: center; }
.product-fallback small { font-size: .8rem; font-weight: 650; }
.steps { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
@media (max-width: 48rem) {
  .category-grid li:last-child:nth-child(odd) { grid-column: span 2; }
  .category-grid li:last-child:nth-child(odd) .category-tile { aspect-ratio: 16 / 7; }
}
