/* Vivero Raíz Viva (demo de infoweb.mx) — papel reciclado, verdes vivos, barro, crema y un toque de talavera. */
:root {
  --papel: #F4EDDD; --papel-2: #EADFC8; --papel-3: #FBF7EE;
  --tinta: #1E2B1F; --tinta-2: #4A5548; --gris: #5E6A5C;
  --hoja: #2F6B3A; --hoja-o: #24552E; --brote: #5FA83A; --brote-c: #DDEBC9;
  --barro: #A9502A; --barro-o: #8C3F1E; --sol: #F2B33D;
  --talavera: #1E4FA3; --wa: #0F7A6E; --wa-o: #0B6359;
  --linea: #D9CCB1;
  --cab: 120px;
  --r: 16px;
  --sombra: 0 1px 0 rgba(60, 40, 10, .06), 0 8px 24px -14px rgba(60, 40, 10, .35);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fondo-planta: #F7F1E3;
  --grano: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .33 0 0 0 0 .18 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  --talav: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14'%3E%3Crect width='28' height='14' fill='%23F7F2E6'/%3E%3Cpath d='M7 1l3 6-3 6-3-6z' fill='%231E4FA3'/%3E%3Ccircle cx='21' cy='7' r='3.2' fill='none' stroke='%231E4FA3' stroke-width='1.6'/%3E%3Ccircle cx='21' cy='7' r='1.2' fill='%23F2B33D'/%3E%3C/svg%3E");
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--cab) + .5rem); }
body {
  margin: 0; font-family: var(--sans); font-size: 1rem; line-height: 1.5; color: var(--tinta);
  background: var(--papel) var(--grano); background-attachment: fixed;
  padding-bottom: calc(110px + env(safe-area-inset-bottom));
}
body.pag-legal { padding-bottom: 0; }
img, svg { max-width: 100%; }
a { color: var(--hoja); }
a:hover { color: var(--hoja-o); }
h1, h2, h3 { font-family: var(--serif); font-variation-settings: "SOFT" 100, "WONK" 1; line-height: 1.12; margin: 0; letter-spacing: -.01em; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sol); outline-offset: 2px; border-radius: 6px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.saltar { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--tinta); color: #fff; padding: .5rem 1rem; }
.saltar:focus { left: 8px; top: 8px; }
.ayuda { color: var(--gris); font-size: .92rem; margin: .3rem 0 0; }
.centro { text-align: center; }
.ojo { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--barro-o); margin: 0 0 .35rem; }
.bot { font-family: var(--serif); font-style: italic; color: var(--gris); margin: 0; font-size: .86rem; }
.link { background: none; border: 0; padding: 0; color: var(--hoja); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.vacio { padding: 2rem 1rem; text-align: center; color: var(--gris); }

/* ---------- botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 46px; padding: .7rem 1.2rem; border-radius: 999px; border: 2px solid transparent; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; transition: transform .15s, background .2s, box-shadow .2s; }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn-pri { background: var(--hoja); color: #fff; box-shadow: 0 3px 0 var(--hoja-o); }
.btn-pri:hover { background: var(--hoja-o); color: #fff; }
.btn-sec { background: var(--papel-3); color: var(--hoja-o); border-color: var(--hoja); }
.btn-sec:hover { background: #fff; color: var(--hoja-o); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 3px 0 var(--wa-o); }
.btn-wa:hover { background: var(--wa-o); color: #fff; }
.btn-chico { min-height: 38px; padding: .4rem .9rem; font-size: .9rem; }
.btn-grande { min-height: 54px; font-size: 1.06rem; padding: .8rem 1.5rem; }
.btn-bloque { width: 100%; }
.ico-wa { width: 1.25em; height: 1.25em; flex: none; }
.btn-icono { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--linea); background: var(--papel-3); cursor: pointer; color: var(--hoja-o); }
.btn-icono svg { width: 20px; height: 20px; }
.btn-icono .ico-off { display: none; }
.btn-icono[aria-pressed="false"] .ico-on { display: none; }
.btn-icono[aria-pressed="false"] .ico-off { display: block; }
.btn-mas { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--hoja); color: #fff; font-size: 1.5rem; line-height: 1; font-weight: 700; cursor: pointer; box-shadow: 0 2px 0 var(--hoja-o); flex: none; }
.btn-mas:active { transform: scale(.9); }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip { border: 1.5px solid var(--linea); background: var(--papel-3); border-radius: 999px; padding: .42rem .85rem; font-size: .9rem; font-weight: 600; color: var(--tinta-2); cursor: pointer; min-height: 38px; }
.chip[aria-pressed="true"], .chip[aria-checked="true"] { background: var(--hoja); border-color: var(--hoja); color: #fff; }
.badge { display: inline-flex; align-items: center; gap: .25rem; font-size: .7rem; font-weight: 750; letter-spacing: .02em; text-transform: uppercase; padding: .2rem .5rem; border-radius: 6px; }
.badge-agotado { background: var(--tinta); color: #fff; }
.badge-temp { background: #F7D58A; color: #5A3A05; }
.badge-poco { background: #F4D3C2; color: #7A2E10; }
.badge-masc { background: var(--brote-c); color: var(--hoja-o); padding: .2rem .35rem; }
.badge-masc .ico { width: 14px; height: 14px; }
.ico { width: 18px; height: 18px; flex: none; }
.precio { font-family: var(--serif); font-weight: 700; font-size: 1.12rem; color: var(--tinta); font-variant-numeric: tabular-nums; }
.precio small { font-family: var(--sans); font-weight: 500; font-size: .74rem; color: var(--gris); }

/* ---------- cabecera ---------- */
.cab { position: sticky; top: 0; z-index: 40; background: rgba(244, 237, 221, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--linea); }
.demo-banner { background: #2b2620; color: #f2ece1; text-align: center; font-size: .82rem; line-height: 1.4; padding: .35rem .9rem; letter-spacing: .01em; }
@media (min-width: 640px) { .demo-banner { font-size: .9rem; } }
.cab-barra { display: flex; align-items: center; gap: .5rem; padding: .5rem 12px; max-width: 1180px; margin: 0 auto; }
.logo { display: flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--tinta); flex: none; }
.marca-ico { width: 40px; height: 40px; flex: none; }
.logo-txt { display: none; line-height: 1.1; }
.logo-txt strong { display: block; font-family: var(--serif); font-size: 1.12rem; font-variation-settings: "SOFT" 100, "WONK" 1; }
.logo-txt small { font-size: .74rem; color: var(--gris); }
.rol { display: flex; background: var(--papel-2); border-radius: 999px; padding: 3px; margin-left: auto; border: 1px solid var(--linea); }
.rol button { border: 0; background: none; border-radius: 999px; padding: .3rem .7rem; font-weight: 750; font-size: .86rem; line-height: 1.05; cursor: pointer; color: var(--tinta-2); min-height: 40px; text-align: center; }
.rol button small { display: block; font-size: .64rem; font-weight: 600; letter-spacing: .02em; opacity: .85; }
.rol button[aria-pressed="true"] { background: var(--hoja); color: #fff; box-shadow: 0 2px 6px -2px rgba(0, 0, 0, .35); }
body[data-rol="vivero"] .rol button[aria-pressed="true"] { background: var(--barro-o); }
.cab-acciones { display: flex; gap: .35rem; }
@media (min-width: 720px) {
  .logo-txt { display: block; }
  .rol button { padding: .45rem 1rem; font-size: .94rem; }
  .rol button small { display: inline; font-size: .94rem; font-weight: 750; letter-spacing: 0; opacity: 1; }
}
.pag-legal .cab-barra { justify-content: flex-start; }

/* ---------- portada ---------- */
.hero { max-width: 1180px; margin: 0 auto; padding: 1.4rem 16px 0; display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
body:not([data-vista="espacio"]) .hero { display: none; }
.hero-ojo { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--barro-o); margin: 0 0 .5rem; }
.hero-t { font-size: clamp(2rem, 8.4vw, 3.6rem); font-weight: 700; color: var(--hoja-o); }
.hero-l { font-size: 1.04rem; color: var(--tinta-2); margin: .8rem 0 1.1rem; max-width: 34rem; }
.hero-acc { display: flex; flex-wrap: wrap; gap: .6rem; }
.hero-aviso { font-size: .82rem; color: var(--gris); margin: .8rem 0 0; }
.hero-escena { border-radius: 22px; overflow: hidden; height: 210px; box-shadow: var(--sombra); background: #F6EEDC; }
.hero-escena svg { width: 100%; height: 100%; display: block; }
.fumarola { animation: humo 6s ease-in-out infinite; transform-origin: 262px -130px; }
@keyframes humo { 0%, 100% { transform: translate(0, 0); opacity: .9; } 50% { transform: translate(8px, -6px); opacity: .6; } }
@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; padding-top: 2.2rem; gap: 2.2rem; }
  .hero-escena { height: 360px; }
}

/* ---------- contenedor de la app ---------- */
.app { max-width: 1180px; margin: 0 auto; padding: 1rem 16px 1rem; outline: none; }
.bloque { margin: 2.2rem 0; }
.bloque h2 { font-size: 1.55rem; color: var(--hoja-o); }
.bloque-cab { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: .8rem; }

/* guía */
.guia { background: var(--papel-3); border: 1.5px dashed var(--barro); border-radius: var(--r); padding: 1rem 1.1rem; margin: .2rem 0 1.2rem; }
.guia-t { font-family: var(--serif); font-weight: 700; font-size: 1.1rem; margin: 0 0 .4rem; color: var(--barro-o); }
.guia-pasos { margin: 0 0 .8rem; padding-left: 1.3rem; display: grid; gap: .3rem; font-size: .95rem; }
.guia-acc { display: flex; align-items: center; gap: 1rem; }

/* ---------- ¿cómo es tu espacio? ---------- */
.quiz { background: var(--papel-3); border-radius: 22px; box-shadow: var(--sombra); overflow: hidden; position: relative; }
.quiz::before { content: ""; display: block; height: 14px; background: var(--talav) repeat-x; border-bottom: 1px solid #C9D3E6; }
.quiz-in { padding: 1rem 16px 1.2rem; }
.quiz-cab { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.quiz-pasos { display: flex; gap: .3rem; }
.quiz-pasos i { width: 26px; height: 6px; border-radius: 3px; background: var(--papel-2); }
.quiz-pasos i.on { background: var(--sol); }
.quiz-pasos i.hecho { background: var(--brote); }
.quiz-t { font-size: clamp(1.45rem, 6vw, 2rem); color: var(--hoja-o); margin: .1rem 0 .8rem; }
.q-dibujo { display: block; width: 100%; border: 0; padding: 0; background: none; border-radius: 18px; overflow: hidden; position: relative; cursor: pointer; box-shadow: inset 0 0 0 1.5px var(--linea); }
.q-dibujo svg { display: block; width: 100%; height: auto; }
.q-dibujo-t { cursor: default; }
.q-toca { position: absolute; left: 10px; top: 10px; background: rgba(30, 43, 31, .82); color: #fff; font-size: .78rem; font-weight: 700; padding: .25rem .6rem; border-radius: 999px; animation: late 2.4s ease-in-out infinite; }
@keyframes late { 50% { transform: scale(1.07); } }
.q-sol { transition: transform .9s cubic-bezier(.34, 1.4, .64, 1); }
.q-sombra { transition: opacity .7s; pointer-events: none; }
.q-haz, .q-edificio, .q-reja { transition: opacity .7s; }
.q-cielo { transition: fill .7s; }
.q-ops { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin: .8rem 0 .4rem; }
.q-op { text-align: left; border: 1.5px solid var(--linea); background: #fff; border-radius: 14px; padding: .6rem .75rem; cursor: pointer; display: grid; gap: .1rem; min-height: 64px; transition: border-color .2s, background .2s, transform .15s; }
.q-op b { font-size: .98rem; }
.q-op small { font-size: .78rem; color: var(--gris); line-height: 1.3; }
.q-op[aria-checked="true"] { border-color: var(--hoja); background: var(--brote-c); box-shadow: inset 0 0 0 1.5px var(--hoja); }
.q-op:active { transform: scale(.98); }
.q-rango { display: block; margin: .8rem 0 0; }
input[type="range"] { width: 100%; accent-color: var(--hoja); height: 32px; }
.q-ops-t .q-op { min-height: 58px; }
.quiz-acc { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1rem; }
/* la planta que se anima con tu tiempo */
.q-hoja { transition: transform .7s cubic-bezier(.34, 1.4, .64, 1); transform: rotate(var(--a)); }
.q-hoja-p { transition: fill .7s; fill: #4F9A3A; }
[data-t="1"] .q-hoja { transform: rotate(calc(var(--a) * 1.5)) scale(.86, .8); }
[data-t="1"] .q-hoja-p { fill: #A9A35A; }
[data-t="2"] .q-hoja { transform: rotate(calc(var(--a) * 1.22)) scale(.95); }
[data-t="2"] .q-hoja-p { fill: #78A24A; }
[data-t="4"] .q-hoja { transform: rotate(calc(var(--a) * .78)) scale(1.08); }
[data-t="4"] .q-hoja-p { fill: #3B9A3E; }
.q-gotas, .q-brillos { transition: opacity .6s; opacity: 0; }
[data-t="3"] .q-gotas, [data-t="4"] .q-gotas, [data-t="4"] .q-brillos { opacity: 1; }
.q-brillos { animation: late 1.6s ease-in-out infinite; transform-origin: 160px 110px; }
.q-masc { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: .8rem; }
.q-mc { border: 1.5px solid var(--linea); background: #fff; border-radius: 16px; padding: .7rem .5rem .6rem; cursor: pointer; display: grid; justify-items: center; gap: .3rem; transition: transform .2s, border-color .2s, background .2s; }
.q-mc svg { width: 100%; max-width: 120px; height: 80px; }
.q-mc[aria-checked="true"] { border-color: var(--hoja); background: var(--brote-c); box-shadow: inset 0 0 0 1.5px var(--hoja); transform: translateY(-2px); }
/* resultado */
.res-t { display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; }
.res-n { font-size: 2.6em; line-height: .8; color: var(--barro); font-weight: 800; }
.res-por { margin: 0 0 1rem; color: var(--tinta-2); font-size: .95rem; }
.recos { display: grid; gap: .7rem; }
.reco { display: grid; grid-template-columns: 112px 1fr; gap: .7rem; background: #fff; border-radius: 16px; padding: .6rem; border: 1px solid var(--linea); align-items: center; }
.recos.entra .reco { animation: brota .65s cubic-bezier(.34, 1.45, .64, 1) both; animation-delay: calc(var(--i) * 150ms + 200ms); }
@keyframes brota { from { opacity: 0; transform: translateY(26px) scale(.92); } to { opacity: 1; transform: none; } }
.reco-arte { display: block; background: var(--fondo-planta); border-radius: 12px; }
.reco-arte svg, .reco-arte img { display: block; width: 100%; height: auto; }
.reco-txt h3 { font-size: 1.2rem; }
.reco-txt h3 a { color: var(--tinta); text-decoration: none; }
.razones { list-style: none; margin: .4rem 0; padding: 0; display: grid; gap: .2rem; font-size: .84rem; color: var(--tinta-2); }
.razones li { display: flex; gap: .35rem; align-items: flex-start; line-height: 1.3; }
.razones .ico { width: 16px; height: 16px; margin-top: 1px; }
.rz-luz .ico { color: #C98A0E; } .rz-riego .ico { color: #2E78B5; } .rz-masc .ico, .rz-dif .ico { color: var(--hoja); }
.reco-pie { display: flex; justify-content: space-between; align-items: center; gap: .5rem; flex-wrap: wrap; }
.res-mas { text-align: center; margin: 1rem 0 0; }
@media (min-width: 760px) { .recos { grid-template-columns: 1fr 1fr; } .q-ops-4 { grid-template-columns: repeat(4, 1fr); } .q-masc { grid-template-columns: repeat(4, 1fr); } .quiz-in { padding: 1.4rem 1.6rem 1.6rem; } .q-dibujo svg { max-height: 360px; } }
@media (min-width: 1100px) { .recos { grid-template-columns: 1fr 1fr 1fr; } }

/* ---------- temporada ---------- */
.temp { background: #FFF7E6; border-radius: 22px; overflow: hidden; box-shadow: var(--sombra); display: grid; grid-template-columns: minmax(0, 1fr); }
.temp-escena { position: relative; height: 170px; }
.temp-escena svg { width: 100%; height: 100%; display: block; }
.temp-sello { position: absolute; left: 12px; top: 12px; background: var(--barro); color: #fff; font-weight: 800; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; padding: .35rem .7rem; border-radius: 6px; transform: rotate(-3deg); box-shadow: 0 3px 0 var(--barro-o); }
.temp-txt { padding: 1rem 16px 1.2rem; }
.temp-txt h2 { font-size: 1.55rem; color: var(--barro-o); }
.temp-txt > p { margin: .4rem 0 .8rem; color: var(--tinta-2); }
.cuenta { display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem; text-align: center; }
.cuenta div { background: var(--tinta); color: #fff; border-radius: 12px; padding: .45rem .2rem; }
.cuenta b { display: block; font-family: var(--serif); font-size: 1.7rem; line-height: 1.05; font-variant-numeric: tabular-nums; }
.cuenta small { font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: #E9DFC9; }
.cuenta p { grid-column: 1 / -1; margin: .1rem 0 0; font-size: .86rem; color: var(--gris); }
.temp-prods { display: grid; gap: .5rem; margin-top: 1rem; }
.mini-prod { display: grid; grid-template-columns: 56px 1fr auto; gap: .6rem; align-items: center; background: #fff; border-radius: 12px; padding: .35rem .5rem; border: 1px solid var(--linea); }
.mini-prod a { color: var(--tinta); text-decoration: none; }
.mini-prod span { display: block; font-size: .84rem; color: var(--gris); }
.mini-arte svg, .mini-arte img { display: block; width: 56px; height: 67px; object-fit: cover; }
@media (min-width: 900px) { .temp { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } .temp-escena { height: auto; min-height: 320px; } .temp-prods { grid-template-columns: 1fr 1fr; } }

/* destacados y entrega */
.carrusel { display: grid; grid-auto-flow: column; grid-auto-columns: 168px; gap: .7rem; overflow-x: auto; padding: .2rem 2px 1rem; scroll-snap-type: x mandatory; }
.carrusel .tarjeta { scroll-snap-align: start; }
.zonas { list-style: none; padding: 0; margin: .8rem 0 0; display: grid; gap: .45rem; }
.zonas li { display: grid; grid-template-columns: 1fr auto; background: var(--papel-3); border: 1px solid var(--linea); border-radius: 12px; padding: .55rem .8rem; }
.zonas small { grid-column: 1 / -1; color: var(--gris); font-size: .8rem; }
@media (min-width: 760px) { .zonas { grid-template-columns: 1fr 1fr; } }

/* ---------- catálogo ---------- */
.cat-cab h2 { font-size: 1.8rem; color: var(--hoja-o); }
.cat-barra { display: flex; gap: .5rem; margin: .9rem 0 .7rem; }
.buscar { flex: 1; display: flex; align-items: center; gap: .4rem; background: #fff; border: 1.5px solid var(--linea); border-radius: 999px; padding: 0 .9rem; min-height: 46px; min-width: 0; }
.buscar svg { width: 20px; height: 20px; color: var(--gris); flex: none; }
.buscar input { border: 0; outline: 0; background: none; font: inherit; flex: 1; min-width: 0; padding: .55rem 0; }
.buscar:focus-within { border-color: var(--hoja); }
.btn-filtros { min-height: 46px; padding: .5rem 1rem; }
.f-num:not(:empty) { background: var(--barro); color: #fff; border-radius: 999px; font-size: .74rem; min-width: 1.4em; height: 1.4em; display: inline-grid; place-items: center; padding: 0 .3em; }
.tipos { display: flex; gap: .45rem; overflow-x: auto; padding-bottom: .4rem; scrollbar-width: thin; }
.tipos .chip { flex: none; }
.filtros { background: var(--papel-3); border: 1px solid var(--linea); border-radius: var(--r); padding: .9rem; margin: .5rem 0; display: grid; gap: .9rem; }
.f-et { display: flex; align-items: center; gap: .35rem; font-weight: 700; font-size: .9rem; margin-bottom: .4rem; }
.f-fila { display: flex; flex-wrap: wrap; gap: .8rem 1.4rem; align-items: center; justify-content: space-between; }
.orden { display: flex; align-items: center; gap: .4rem; font-size: .9rem; }
.orden select { font: inherit; padding: .45rem .6rem; border-radius: 10px; border: 1.5px solid var(--linea); background: #fff; min-height: 40px; }
.interruptor { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .92rem; cursor: pointer; position: relative; }
.interruptor input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.int-pista { width: 44px; height: 26px; border-radius: 999px; background: #CDBE9F; position: relative; transition: background .2s; flex: none; }
.int-pista::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 2px rgba(0, 0, 0, .3); }
.interruptor input:checked + .int-pista { background: var(--hoja); }
.interruptor input:checked + .int-pista::after { transform: translateX(18px); }
.interruptor input:focus-visible + .int-pista { outline: 3px solid var(--sol); outline-offset: 2px; }
.cat-cuenta { font-size: .9rem; color: var(--gris); margin: .4rem 0 .6rem; }
.rejilla { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
@media (min-width: 640px) { .rejilla { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 980px) { .rejilla { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tarjeta { background: var(--papel-3); border-radius: var(--r); overflow: hidden; border: 1px solid var(--linea); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.tarjeta:hover { transform: translateY(-2px); box-shadow: var(--sombra); }
.tj-arte { position: relative; display: block; background: var(--fondo-planta) radial-gradient(circle at 50% 80%, #FFFBF2 0, transparent 65%); aspect-ratio: 5 / 6; }
.tj-arte svg, .tj-arte img { display: block; width: 100%; height: 100%; object-fit: cover; }
.badges { position: absolute; left: 8px; top: 8px; display: flex; flex-wrap: wrap; gap: .25rem; }
.tj-txt { padding: .6rem .7rem .7rem; display: flex; flex-direction: column; gap: .1rem; flex: 1; }
.tj-txt h3 { font-size: 1.05rem; }
.tj-txt h3 a { color: var(--tinta); text-decoration: none; }
.tj-cuid { margin: .2rem 0 0; font-size: .76rem; color: var(--gris); }
.tj-cuid span { display: inline-flex; gap: .25rem; align-items: center; }
.tj-cuid .ico { width: 14px; height: 14px; color: #C98A0E; }
.tj-pie { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: .4rem; }
.es-agotado .tj-arte { filter: grayscale(.85); opacity: .75; }
/* hojas que se mecen */
.pl { transform-box: view-box; }
.meciendo .pl, .carre-item .pl { animation: mece 2.6s ease-in-out infinite; }
.tarjeta:not(:hover) .tj-arte .meciendo .pl, .reco:not(:hover) .meciendo .pl { animation-iteration-count: 2; }
.arte-img { display: block; width: 100%; height: auto; }
.hero-escena .carre-item .pl, .pl-f { animation-duration: 3.1s; }
@keyframes mece { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(2.4deg); } 70% { transform: rotate(-2deg); } }

/* ---------- ficha ---------- */
.volver { display: inline-block; font-weight: 700; text-decoration: none; margin-bottom: .6rem; }
.ficha-top { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
.ficha-info, .fi-bloque { min-width: 0; }
.ficha-arte { background: var(--fondo-planta) radial-gradient(circle at 50% 75%, #FFFDF7 0, transparent 60%); border-radius: 22px; position: relative; aspect-ratio: 5 / 5.4; display: grid; place-items: end center; overflow: hidden; border: 1px solid var(--linea); }
.ficha-arte svg, .ficha-arte img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ficha-arte.bota svg { animation: bota .5s cubic-bezier(.34, 1.5, .64, 1); }
@keyframes bota { 0% { transform: scale(.94) translateY(6px); } 100% { transform: none; } }
.ficha-t { font-size: clamp(2rem, 8vw, 2.8rem); color: var(--hoja-o); }
.bot-g { font-size: 1.05rem; }
.ficha-desc { margin: .5rem 0 0; color: var(--tinta-2); }
.fi-bloque { margin-top: 1rem; }
.fi-t { font-family: var(--sans); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 800; color: var(--barro-o); margin-bottom: .45rem; }
.macetas { display: grid; grid-auto-flow: column; grid-auto-columns: 78px; gap: .45rem; overflow-x: auto; padding: 2px 2px .6rem; }
.mac { border: 1.5px solid var(--linea); background: #fff; border-radius: 12px; padding: .3rem .2rem .35rem; cursor: pointer; display: grid; justify-items: center; gap: .1rem; font-size: .68rem; line-height: 1.15; text-align: center; font-weight: 600; color: var(--tinta-2); }
.mac svg { width: 64px; height: 48px; }
.mac[aria-checked="true"] { border-color: var(--hoja); box-shadow: inset 0 0 0 1.5px var(--hoja); background: var(--brote-c); }
.mac:disabled { opacity: .4; cursor: not-allowed; }
.mac-precio { margin: .2rem 0 0; font-size: .88rem; color: var(--tinta-2); min-height: 2.6em; }
.tams { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: .45rem; }
.tam { border: 1.5px solid var(--linea); background: #fff; border-radius: 12px; padding: .5rem .5rem; cursor: pointer; display: grid; gap: .05rem; text-align: left; }
.tam b { font-size: .95rem; }
.tam small { font-size: .74rem; color: var(--gris); }
.tam span { font-family: var(--serif); font-weight: 700; font-size: 1.08rem; }
.tam .tam-st { color: var(--hoja); font-weight: 600; }
.tam[aria-checked="true"] { border-color: var(--hoja); box-shadow: inset 0 0 0 1.5px var(--hoja); background: var(--brote-c); }
.tam:disabled { opacity: .5; cursor: not-allowed; }
.tam:disabled .tam-st { color: var(--barro-o); }
.fi-compra { display: flex; gap: .6rem; align-items: center; margin-top: 1.1rem; flex-wrap: wrap; }
.fi-compra .btn { flex: 1; min-width: 220px; }
.cantidad { display: inline-flex; align-items: center; background: #fff; border: 1.5px solid var(--linea); border-radius: 999px; }
.cant-b { width: 44px; height: 44px; border: 0; background: none; font-size: 1.3rem; font-weight: 700; cursor: pointer; color: var(--hoja-o); border-radius: 50%; }
.cantidad output { min-width: 2ch; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.cantidad-chica .cant-b { width: 34px; height: 34px; font-size: 1.1rem; }
.agotado-aviso { background: var(--tinta); color: #fff; padding: .7rem 1rem; border-radius: 12px; margin: 0; }
.fi-cuidados, .fi-escala { margin-top: 1.6rem; background: var(--papel-3); border: 1px solid var(--linea); border-radius: 20px; padding: 1rem 16px; }
.fi-cuidados h3, .fi-escala h3 { font-size: 1.4rem; color: var(--hoja-o); }
.cuidados { list-style: none; padding: 0; margin: .8rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.cuidados li { background: #fff; border-radius: 12px; padding: .6rem .7rem; display: grid; grid-template-columns: auto 1fr; gap: 0 .5rem; align-items: center; border: 1px solid #EFE5D0; }
.cuidados li .ico { grid-row: span 2; width: 26px; height: 26px; color: var(--hoja); }
.cuidados li:nth-child(1) .ico { color: #C98A0E; } .cuidados li:nth-child(2) .ico { color: #2E78B5; }
.cuidados b { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--gris); }
.cuidados span { font-weight: 700; font-size: .92rem; line-height: 1.25; }
.cuidados .masc-no .ico { color: var(--barro); }
.luz-barras { grid-column: 2; display: flex; gap: 3px; margin-top: 4px; }
.luz-barras i { width: 18px; height: 5px; border-radius: 3px; background: #EFE5D0; }
.luz-barras i.on { background: var(--sol); }
.primer-mes { margin: .9rem 0 0; background: #FFF7E6; border-left: 4px solid var(--sol); padding: .7rem .8rem; border-radius: 0 12px 12px 0; font-size: .95rem; }
.escala-caja { margin-top: .7rem; border-radius: 14px; overflow: hidden; border: 1px solid var(--linea); }
.escala-caja svg { display: block; width: 100%; height: auto; }
.esc-planta g { transition: transform .25s; }
.anios { display: block; margin-top: .7rem; font-weight: 700; }
.escala-nota { margin: .2rem 0 0; font-size: .92rem; color: var(--tinta-2); }
.fi-nota { font-size: .8rem; color: var(--gris); margin-top: 1.2rem; }
@media (min-width: 900px) {
  .ficha-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
  .ficha-arte { position: sticky; top: calc(var(--cab) + 1rem); }
  .cuidados { grid-template-columns: repeat(5, 1fr); }
  .ficha .fi-cuidados, .ficha .fi-escala { max-width: none; }
}

/* ---------- carretilla ---------- */
.carro h2, .carro-vacio h2 { font-size: 1.8rem; color: var(--hoja-o); }
.carre-grande { background: linear-gradient(#FFF7E6, #F6EBD3); border-radius: 22px; margin: .8rem 0; padding: .4rem .4rem 0; border: 1px solid var(--linea); overflow: hidden; }
.carre-grande svg { display: block; width: 100%; height: auto; max-height: 340px; margin: 0 auto; }
.carre-item.cae { animation: cae .9s cubic-bezier(.3, 1.6, .5, 1) both; }
.carre-item.cae .pl { animation: sacude 1.2s ease-out .55s both; }
@keyframes cae { 0% { transform: translateY(-240px) rotate(-10deg); opacity: 0; } 25% { opacity: 1; } 70% { transform: translateY(6px) rotate(2deg); } 100% { transform: none; } }
@keyframes sacude { 0% { transform: rotate(0); } 20% { transform: rotate(7deg); } 40% { transform: rotate(-6deg); } 60% { transform: rotate(4deg); } 80% { transform: rotate(-2deg); } 100% { transform: rotate(0); } }
.carre-llanta ellipse { transition: all .5s cubic-bezier(.3, 1.6, .5, 1); }
.carre-cuerpo { transition: transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.lineas { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.linea { display: grid; grid-template-columns: 64px 1fr auto; gap: .6rem; background: var(--papel-3); border: 1px solid var(--linea); border-radius: 14px; padding: .45rem .5rem; align-items: center; }
.ln-arte { background: var(--fondo-planta); border-radius: 10px; overflow: hidden; }
.ln-arte svg, .ln-arte img { display: block; width: 64px; height: 77px; object-fit: cover; }
.ln-txt b a { color: var(--tinta); text-decoration: none; }
.ln-txt small { display: block; color: var(--gris); font-size: .8rem; line-height: 1.3; }
.ln-pie { display: flex; justify-content: space-between; align-items: center; margin-top: .3rem; gap: .5rem; }
.ln-quitar { align-self: start; border: 0; background: none; color: var(--gris); font-size: 1rem; width: 36px; height: 36px; cursor: pointer; border-radius: 50%; }
.entrega-f { margin-top: 1.4rem; }
.entrega-f h3 { font-size: 1.25rem; color: var(--hoja-o); margin: 1rem 0 .5rem; }
.zonas-sel { display: grid; gap: .45rem; }
.zona { display: grid; grid-template-columns: 1fr auto; text-align: left; border: 1.5px solid var(--linea); background: #fff; border-radius: 12px; padding: .55rem .8rem; cursor: pointer; }
.zona span { font-weight: 800; font-family: var(--serif); }
.zona small { grid-column: 1 / -1; color: var(--gris); font-size: .8rem; }
.zona[aria-checked="true"] { border-color: var(--hoja); background: var(--brote-c); box-shadow: inset 0 0 0 1.5px var(--hoja); }
.totales { background: var(--papel-3); border: 1px solid var(--linea); border-radius: 16px; padding: .8rem 1rem; margin: 1.2rem 0 1rem; display: grid; gap: .35rem; font-variant-numeric: tabular-nums; }
.totales div { display: flex; justify-content: space-between; gap: 1rem; }
.totales small { color: var(--gris); }
.totales .tot { border-top: 1.5px dashed var(--linea); padding-top: .5rem; margin-top: .2rem; font-size: 1.25rem; font-family: var(--serif); font-weight: 800; }
.falta { margin: 0; font-size: .86rem; color: var(--hoja-o); background: var(--brote-c); border-radius: 8px; padding: .35rem .6rem; }
.carro-acc { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; }
.carro-vacio { text-align: center; }
@media (min-width: 900px) { .carro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 0 2rem; align-items: start; } .carro-cab, .carre-grande { grid-column: 1; } .lineas { grid-column: 1; } .entrega-f, .totales, #armar, .carro > .ayuda.centro { grid-column: 2; } .entrega-f { grid-row: 1 / span 3; margin-top: 0; } }

/* carretilla dentro de la pestaña y CTA de infoweb como pestaña */
.tab-carre { justify-content: flex-end; padding-bottom: .3rem; }
.mini-carre { position: absolute; left: 50%; bottom: 23px; width: 96px; transform: translateX(-50%); pointer-events: none; }
.carre-chica .carre-item:not(.cae) .pl { animation: none; }
.tab .mini-carre svg { display: block; width: 100%; height: auto; }
.mini-carre.rebota { animation: rebota .6s cubic-bezier(.3, 1.8, .5, 1); }
@keyframes rebota { 30% { transform: translateX(-50%) scale(1.14) rotate(-3deg); } 60% { transform: translateX(-50%) scale(.96); } }
.tab-cta { background: var(--wa); color: #fff !important; flex: 1.15; }
.tab-cta .ico-wa { width: 24px; height: 24px; }
.tab-cta span { font-weight: 600; text-align: center; line-height: 1.1; }
.tab-cta:hover { background: var(--wa-o); }
.con-capa .tabs { visibility: hidden; }
.volando { will-change: transform; }

/* pestañas */
.tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; display: flex; background: rgba(30, 43, 31, .97); padding: 4px 6px calc(4px + env(safe-area-inset-bottom)); gap: 4px; }
.tab { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 1px; color: #D7DECF; text-decoration: none; font-size: .74rem; font-weight: 700; padding: .35rem .2rem; border-radius: 12px; position: relative; min-height: 52px; justify-content: center; }
.tab svg { width: 24px; height: 24px; }
.tab.on { color: #fff; background: rgba(255, 255, 255, .12); }
.tab.on::before { content: ""; position: absolute; top: 2px; width: 26px; height: 3px; border-radius: 2px; background: var(--sol); }
.tab:hover { color: #fff; }
.tab-num:not(:empty) { position: absolute; top: 4px; left: calc(50% + 22px); background: var(--sol); color: var(--tinta); font-style: normal; font-size: .7rem; font-weight: 800; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }
@media (min-width: 900px) { .tabs { left: 50%; right: auto; transform: translateX(-50%); bottom: 14px; border-radius: 999px; padding: 5px; width: 680px; } .tab-carre { padding-left: 5rem; } .tab-carre .mini-carre { left: 3.4rem; bottom: 2px; width: 86px; } .tab { flex-direction: row; gap: .4rem; font-size: .9rem; min-height: 46px; border-radius: 999px; } .tab.on::before { display: none; } }

/* ---------- pedido (WhatsApp) ---------- */
.ped-cab h2 { font-size: 1.8rem; color: var(--hoja-o); }
.wa-tel { margin: .8rem auto 0; max-width: 430px; border-radius: 26px; overflow: hidden; border: 6px solid #1B1F1C; box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .6); background: #ECE5DD; display: flex; flex-direction: column; }
.wa-barra { display: flex; align-items: center; gap: .55rem; background: #0F5C52; color: #fff; padding: .55rem .7rem; }
.wa-atras { font-size: 1.6rem; line-height: 1; }
.wa-avatar .marca-ico { width: 36px; height: 36px; display: block; }
.wa-quien b { display: block; font-size: 1rem; line-height: 1.1; }
.wa-quien small { font-size: .78rem; color: #CFE8E1; }
.wa-chat { height: clamp(360px, calc(100svh - var(--cab) - 300px), 540px); overflow-y: auto; padding: .7rem .7rem 1rem; background: #ECE5DD url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cg fill='none' stroke='%23D9CFC2' stroke-width='1.2'%3E%3Cpath d='M10 14c4-6 10-6 14 0M38 40c3 5 9 5 12 0M44 10l4 4-4 4M14 44a4 4 0 1 0 8 0 4 4 0 1 0-8 0'/%3E%3C/g%3E%3C/svg%3E"); scroll-behavior: auto; }
.wa-fecha { text-align: center; margin: 0 auto .6rem; background: #E1F2FB; color: #4A5A63; font-size: .74rem; padding: .2rem .7rem; border-radius: 8px; width: max-content; }
.wa-burbuja { margin-left: auto; max-width: 94%; background: #D9FDD3; border-radius: 12px 2px 12px 12px; padding: .5rem .65rem .35rem; box-shadow: 0 1px 1px rgba(0, 0, 0, .12); font-size: .95rem; line-height: 1.38; color: #111B21; }
.wa-burbuja-fija { margin: 0; max-width: none; }
.wl { margin: 0; overflow-wrap: anywhere; }
.wl.entra { animation: renglon .25s ease-out; }
@keyframes renglon { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.wl-prod.brilla { animation: brilla 1s ease-out; border-radius: 4px; }
.wl-total { font-size: 1.05rem; }
.wl-total.brilla { animation: brilla 1.2s ease-out; }
@keyframes brilla { 0% { background: #FFE58F; } 100% { background: transparent; } }
.wl-pie { color: #54656F; font-size: .82rem; }
.cursor { display: inline-block; width: 2px; height: 1em; background: #0F5C52; margin-left: 1px; vertical-align: -2px; animation: parpadeo .8s steps(2) infinite; }
@keyframes parpadeo { 50% { opacity: 0; } }
.wa-meta { display: block; text-align: right; font-size: .7rem; color: #667781; margin-top: .2rem; }
.wa-palomas { color: #8696A0; }
.wa-entrada { display: flex; gap: .45rem; padding: .45rem .5rem; background: #F0F2F5; align-items: center; }
.wa-caja { flex: 1; background: #fff; border-radius: 999px; padding: .5rem .9rem; font-size: .9rem; color: #8696A0; white-space: nowrap; overflow: hidden; text-overflow: clip; direction: ltr; }
.wa-caja.escribe { color: #111B21; }
.wa-enviar { width: 40px; height: 40px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; flex: none; }
.wa-enviar svg { width: 20px; height: 20px; }
.ped-demo { text-align: center; font-size: .86rem; color: var(--gris); max-width: 430px; margin: .7rem auto; }
.ped-acc { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; }
.ped-vivero { text-align: center; background: var(--papel-3); border: 1px dashed var(--barro); border-radius: 14px; padding: .7rem 1rem; max-width: 430px; margin: 1rem auto 0; font-size: .92rem; }

/* hoja de cuidados */
.hoja-cuidados { margin: 2rem auto 0; max-width: 760px; }
.hc-papel { background: #FBF7EE var(--grano); border-radius: 18px; padding: 1.1rem 16px; box-shadow: var(--sombra); border-top: 10px solid var(--hoja); }
.hc-cab { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; }
.hc-cab h2 { font-size: 1.8rem; font-style: italic; color: var(--tinta); }
.hc-cab .marca-ico { width: 52px; height: 52px; }
.hc-planta { display: grid; grid-template-columns: 84px 1fr; gap: .8rem; border-top: 1px dashed var(--linea); padding: 1rem 0; }
.hc-arte svg, .hc-arte img { width: 84px; height: 100px; display: block; object-fit: cover; }
.hc-txt h3 { font-size: 1.25rem; }
.hc-txt h3 small { font-weight: 400; font-style: italic; font-size: .8rem; color: var(--gris); }
.hc-datos { display: flex; flex-wrap: wrap; gap: .3rem .9rem; font-size: .84rem; margin: .3rem 0 .5rem; color: var(--tinta-2); }
.hc-datos span { display: inline-flex; gap: .25rem; align-items: center; }
.hc-datos .ico { width: 15px; height: 15px; color: var(--hoja); }
.hc-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; max-width: 360px; }
.hc-dia { background: #EFE7D6; border-radius: 6px; height: 34px; display: grid; place-items: center; position: relative; font-size: .7rem; color: var(--tinta-2); }
.hc-dia small { position: absolute; top: 1px; left: 4px; font-size: .62rem; }
.hc-dia.riego { background: #CFE6F5; }
.hc-dia.riego .ico { width: 15px; height: 15px; color: #2E78B5; margin-top: 6px; }
.hc-dia.llega { box-shadow: inset 0 0 0 2px var(--barro); }
.hc-mes { margin: .5rem 0 0; font-size: .88rem; }
.hc-pie { font-size: .8rem; color: var(--gris); margin: .4rem 0 0; }
.hc-acc { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: .9rem; }

/* ---------- vista del vivero ---------- */
.viv-cab h2 { font-size: 1.8rem; color: var(--barro-o); }
.viv-res { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin: 1rem 0 .4rem; }
.res-c { background: var(--tinta); color: #fff; border-radius: 14px; padding: .6rem .7rem; text-decoration: none; display: grid; }
.res-c b { font-family: var(--serif); font-size: 1.7rem; line-height: 1; }
.res-c span { font-size: .78rem; color: #DCE3D3; }
a.res-c:hover { color: #fff; background: var(--hoja-o); }
.admin-rejilla { display: grid; gap: .8rem; margin-top: .6rem; }
@media (min-width: 760px) { .admin-rejilla { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .admin-rejilla { grid-template-columns: 1fr 1fr 1fr; } }
.adm { background: var(--papel-3); border: 1px solid var(--linea); border-radius: 20px; display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: .6rem; padding: .7rem .6rem; transition: background .3s; }
.adm-cuerpo { min-width: 0; }
.adm-agot { background: #EFE6D6; }
.adm-agot .adm-arte svg, .adm-agot .adm-arte img { filter: grayscale(.8); opacity: .7; }
.adm-arte { display: grid; gap: .35rem; align-content: start; }
.adm-arte > svg, .adm-arte > img { width: 84px; height: 101px; display: block; background: var(--fondo-planta); border-radius: 12px; object-fit: cover; }
.adm-foto { position: relative; display: block; text-align: center; font-size: .78rem; font-weight: 700; color: var(--hoja-o); border: 1.5px dashed var(--hoja); border-radius: 999px; padding: .3rem .4rem; cursor: pointer; }
.adm-foto input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.adm-foto:focus-within { outline: 3px solid var(--sol); }
.adm-quitar-foto { border: 0; background: none; font-size: .74rem; color: var(--gris); text-decoration: underline; cursor: pointer; }
.adm-tit { display: flex; justify-content: space-between; align-items: flex-start; gap: .5rem; }
.adm-tit h3 { font-size: 1.15rem; }
.adm-tams { width: 100%; border-collapse: collapse; margin: .5rem 0; font-size: .86rem; }
.adm-tams th { text-align: left; font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--gris); font-weight: 700; padding: 0 .2rem .2rem; }
.adm-tams td { padding: .2rem; border-top: 1px solid #EDE2CC; vertical-align: middle; }
.adm-precio { border: 1.5px solid var(--linea); background: #fff; border-radius: 10px; padding: .35rem .4rem; font-family: var(--serif); font-weight: 800; font-size: .95rem; cursor: pointer; min-height: 40px; min-width: 62px; font-variant-numeric: tabular-nums; }
.adm-tams .cantidad-chica .cant-b { width: 30px; height: 36px; }
.adm-tams td:first-child { font-size: .8rem; line-height: 1.2; }
@media (min-width: 420px) { .adm { grid-template-columns: 104px minmax(0, 1fr); gap: .8rem; } .adm-arte > svg, .adm-arte > img { width: 104px; height: 125px; } }
.adm-precio:hover { border-color: var(--hoja); }
.adm-precio.recien { animation: brilla 1.2s ease-out; }
.adm-editar { display: flex; align-items: center; gap: .2rem; }
.adm-editar input { width: 76px; font: inherit; font-weight: 700; padding: .4rem .4rem; border-radius: 10px; border: 2px solid var(--hoja); min-height: 40px; }
.btn-ok { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--hoja); color: #fff; font-weight: 800; cursor: pointer; flex: none; }
.cantidad output.cero { color: var(--barro); }
.cantidad output.poco { color: #B26A00; }
.interruptor-chico { font-size: .84rem; }
/* letrerito de madera */
.letrero { position: relative; width: 92px; height: 38px; border: 0; padding: 0; background: none; cursor: pointer; perspective: 400px; flex: none; margin-top: 6px; }
.let-cara { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 6px; font-family: var(--serif); font-weight: 800; font-size: .92rem; color: #FDF6E8; backface-visibility: hidden; transition: transform .6s cubic-bezier(.34, 1.4, .64, 1); box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .18), 0 3px 0 #5A3A1E; background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .07) 0 3px, transparent 3px 9px); }
.let-hay { background-color: #6E8E3A; }
.let-agot { background-color: #9C4A26; transform: rotateX(180deg); }
.letrero.volteado .let-hay { transform: rotateX(-180deg); }
.letrero.volteado .let-agot { transform: rotateX(0); }
.let-clavo { position: absolute; top: -7px; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: #5A4A3A; box-shadow: 0 0 0 2px #C9B89A; }
.let-clavo::before, .let-clavo::after { content: ""; position: absolute; top: 4px; width: 1.5px; height: 12px; background: #7A6A55; }
.let-clavo::before { left: -6px; transform: rotate(-40deg); } .let-clavo::after { left: 12px; transform: rotate(40deg); }
/* pedidos */
.estados { display: flex; gap: .4rem; overflow-x: auto; margin: 1rem 0 .7rem; padding-bottom: .3rem; }
.est { flex: none; border: 1.5px solid var(--linea); background: var(--papel-3); border-radius: 999px; padding: .45rem .9rem; font-weight: 700; font-size: .9rem; cursor: pointer; min-height: 40px; }
.est b { background: var(--papel-2); border-radius: 999px; padding: 0 .45rem; margin-left: .2rem; }
.est[aria-selected="true"] { background: var(--tinta); color: #fff; border-color: var(--tinta); }
.est[aria-selected="true"] b { background: var(--sol); color: var(--tinta); }
.ped-lista { display: grid; gap: .7rem; }
@media (min-width: 760px) { .ped-lista { grid-template-columns: 1fr 1fr; } }
.ped { background: var(--papel-3); border: 1px solid var(--linea); border-radius: 18px; padding: .8rem .9rem; }
.ped-recien { border: 2px solid var(--sol); animation: brota .6s cubic-bezier(.34, 1.45, .64, 1); }
.ped-top { display: flex; align-items: center; gap: .5rem; }
.ped-top small { margin-left: auto; color: var(--gris); font-size: .8rem; }
.pill { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: .18rem .55rem; border-radius: 999px; }
.pill-nuevo { background: #F7D58A; color: #5A3A05; } .pill-apartado { background: #D6E4F7; color: #1C3F78; } .pill-en_reparto { background: #F4D3C2; color: #7A2E10; } .pill-entregado { background: var(--brote-c); color: var(--hoja-o); }
.ped-cliente { margin: .3rem 0; font-weight: 700; }
.ped-items { list-style: none; padding: 0; margin: 0; display: grid; gap: .2rem; font-size: .88rem; }
.ped-items li { display: flex; align-items: center; gap: .4rem; }
.ped-items small { color: var(--gris); }
.ped-mini svg, .ped-mini img { width: 26px; height: 31px; display: block; object-fit: cover; }
.ped-datos { font-size: .84rem; color: var(--tinta-2); margin: .5rem 0; }
.ped-pie { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; border-top: 1px dashed var(--linea); padding-top: .55rem; }
.ped-pie .precio { margin-right: auto; }
.hecho { color: var(--hoja); font-weight: 700; font-size: .9rem; }

/* ---------- capa ---------- */
.capa { position: fixed; inset: 0; z-index: 70; display: flex; align-items: flex-end; justify-content: center; }
.capa-fondo { position: absolute; inset: 0; background: rgba(20, 28, 20, .55); }
.hoja { position: relative; background: var(--papel); width: 100%; max-width: 560px; max-height: 88vh; overflow-y: auto; border-radius: 22px 22px 0 0; padding: .9rem 16px 1.4rem; outline: none; animation: sube .3s ease-out; }
@keyframes sube { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.hoja-cab { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .7rem; }
.hoja-t { font-size: 1.3rem; }
@media (min-width: 640px) { .capa { align-items: center; } .hoja { border-radius: 22px; } }

/* aviso */
.aviso-toast { position: fixed; left: 16px; right: 16px; margin: 0 auto; width: fit-content; max-width: 420px; top: calc(var(--cab) + 10px); z-index: 90; background: var(--tinta); color: #fff; padding: .65rem 1rem; border-radius: 14px; font-size: .92rem; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5); opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .25s, transform .25s; }
.aviso-toast.on { opacity: 1; transform: none; }

/* ---------- pie de la app, CTA y footer ---------- */
.app-pie { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.restaurar-pie { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; font-size: .88rem; color: var(--gris); margin: 1.4rem 0; }
.cta { background: var(--hoja-o); color: #F4EDDD; border-radius: 24px; overflow: hidden; position: relative; margin: 1rem 0 0; }
.cta::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 12px; background: var(--talav) repeat-x; opacity: .9; }
.cta-in { padding: 1.6rem 18px 2rem; max-width: 760px; }
.cta-ojo { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: #F7D58A; margin: 0 0 .4rem; }
.cta h2 { font-size: clamp(1.5rem, 6vw, 2.1rem); color: #fff; }
.cta p { color: #E1E8D8; }
.cta-botones { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; margin-top: 1rem; }
.cta-tel { color: #F4EDDD; }
.cta-tel:hover { color: #fff; }
.pie { max-width: 1180px; margin: 0 auto; padding: 1.6rem 16px 1rem; font-size: .84rem; color: var(--tinta-2); text-align: center; }
.pie p { margin: 0 0 .4rem; }
.pie .credito { margin-top: .8rem; color: var(--tinta-2); }
.pie a { color: var(--hoja-o); }
.pie-imagenes { font-style: italic; }

/* legal */
.legal { max-width: 760px; margin: 0 auto; padding: 1.4rem 16px 2rem; line-height: 1.65; }
.legal h1 { font-size: 2rem; color: var(--hoja-o); margin: .6rem 0 .3rem; }
.legal h2 { font-size: 1.25rem; margin: 1.6rem 0 .4rem; }
.legal-meta { color: var(--gris); font-size: .9rem; }
.sin-js { background: #fff; padding: 1rem; border-radius: 12px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media print {
  body { background: #fff; padding: 0; }
  body * { visibility: hidden; }
  .hoja-cuidados, .hoja-cuidados * { visibility: visible; }
  .hoja-cuidados { position: absolute; left: 0; top: 0; width: 100%; margin: 0; }
  .hc-acc, .tabs, .flota, .cab { display: none !important; }
  .hc-papel { box-shadow: none; }
}

/* crítica B (accesibilidad) */
.let-hay { background-color: #4F6E25; }
.cantidad output.poco { color: #9A5C00; }
.wa-meta, .wa-palomas { color: #5F6B73; }
.wa-caja { color: #667781; }
.cant-b, .ln-quitar { min-width: 44px; min-height: 44px; }
.adm-tams .cantidad-chica .cant-b { width: 36px; min-width: 36px; min-height: 40px; }
.link { padding-block: .55rem; }
.chip, .btn-chico { min-height: 40px; }
.buscar:focus-within { outline: 3px solid var(--sol); outline-offset: 2px; }
.pie a { display: inline-block; padding: .35rem 0; }

/* crítica A (diseño) */
.tab-carre > span:not(.mini-carre) { position: relative; z-index: 1; }
.mini-carre { bottom: 28px; width: 86px; }
.tabs { background: #1E2B1F; }
.aviso-toast { top: auto; bottom: calc(140px + env(safe-area-inset-bottom)); transform: translateY(8px); }
.armar-fijo { position: fixed; left: 10px; right: 10px; bottom: calc(80px + env(safe-area-inset-bottom)); z-index: 34; display: flex; align-items: center; justify-content: space-between; gap: .8rem; background: var(--papel-3); border: 1.5px solid var(--linea); border-radius: 999px; padding: .35rem .4rem .35rem 1rem; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .5); }
.armar-fijo b { font-family: var(--serif); font-size: 1.15rem; }
.con-capa .armar-fijo { display: none; }
@media (min-width: 900px) {
  .tab-carre .tab-num { left: auto; right: 10px; top: 2px; }
  .macetas { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, 78px); overflow: visible; }
  .armar-fijo { display: none; }
  .aviso-toast { bottom: 90px; }
}
