/* Corvim Pinturería · tienda clara tipo Rex con la tinta negra y la barra arcoíris del logo. */
:root {
  --tinta: #1d1d1b;
  --tinta-2: #3a3a36;
  --gris: #6c6b66;
  --linea: #e6e4de;
  --fondo: #f5f4f0;
  --papel: #fff;
  --rojo: #e4472f;
  --ok: #23893a;
  --wa: #1faa59;
  --arco: linear-gradient(90deg, #d33015, #e58715 14%, #d2cd1f 28%, #7db72b 40%, #3da733 50%, #57c1bc 62%, #22a3bf 72%, #154f92 84%, #2d2d6f 92%, #6a2679);
  --r: 18px;
  --sombra: 0 1px 2px rgb(29 29 27 / 6%), 0 8px 24px -10px rgb(29 29 27 / 18%);
  --f: 'Archivo', system-ui, sans-serif;
  --barra: 64px;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--f); color: var(--tinta); background: var(--fondo); font-size: 16px; line-height: 1.4; padding-bottom: calc(var(--barra) + env(safe-area-inset-bottom)); overflow-x: clip; }
body.fijo { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-stretch: 112%; font-weight: 900; letter-spacing: -0.01em; line-height: 1.05; margin: 0; }
h1 { font-size: clamp(28px, 6vw, 40px); }
:focus-visible { outline: 3px solid #22a3bf; outline-offset: 2px; border-radius: 6px; }
s { color: var(--gris); font-weight: 500; }

/* cabecera */
.cab { position: sticky; top: 0; z-index: 30; background: var(--tinta); color: #fff; }
.cab-in { display: flex; align-items: center; gap: 12px; padding: 10px 16px; max-width: 1280px; margin: 0 auto; }
.cab-logo img { width: 92px; height: auto; }
.buscar { flex: 1; display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 0 14px; height: 42px; color: var(--tinta); min-width: 0; }
.buscar svg { width: 18px; height: 18px; fill: none; stroke: var(--gris); stroke-width: 2.2; stroke-linecap: round; flex: none; }
.buscar input { border: 0; outline: 0; font: inherit; font-size: 15px; width: 100%; background: none; min-width: 0; }
.cab-nav { display: none; }
.cab-bolsa { position: relative; width: 42px; height: 42px; display: grid; place-items: center; flex: none; }
.cab-bolsa svg, .barra svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linejoin: round; stroke-linecap: round; }
.cab-n, .barra-n { position: absolute; top: 2px; right: 0; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: var(--rojo); color: #fff; font-size: 11.5px; font-weight: 800; display: grid; place-items: center; }
.arco { height: 5px; background: var(--arco); background-size: 200% 100%; animation: arco 9s linear infinite; }
@keyframes arco { to { background-position: -200% 0; } }

.cinta { background: var(--papel); border-bottom: 1px solid var(--linea); overflow: hidden; }
.cinta-in { display: flex; gap: 28px; padding: 9px 16px; white-space: nowrap; font-size: 13px; color: var(--tinta-2); width: max-content; animation: cinta 26s linear infinite; }
.cinta-in span::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 8px; background: var(--c, #3da733); vertical-align: 1px; }
.cinta-in span:nth-child(2)::before { --c: #e58715; } .cinta-in span:nth-child(3)::before { --c: #22a3bf; } .cinta-in span:nth-child(4)::before { --c: #8e44ad; }
@keyframes cinta { from { transform: translateX(0); } to { transform: translateX(-35%); } }

main { max-width: 1280px; margin: 0 auto; outline: none; }
.sec { padding: 28px 16px 8px; }
.sec-cab { margin-bottom: 16px; }
.sec-cab h2 { font-size: clamp(24px, 5.5vw, 34px); }
.sec-cab p { margin: 6px 0 0; color: var(--gris); max-width: 60ch; }
.sec-cab.fila { display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.ver { background: none; border: 0; padding: 4px 0; font-weight: 700; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

/* botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--tinta); background: var(--tinta); color: #fff; font-weight: 800; font-size: 15px; text-decoration: none; white-space: nowrap; transition: transform .15s; }
.btn:active { transform: scale(.97); }
.btn-l { background: transparent; color: var(--tinta); }
.btn-wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.btn.grande { min-height: 54px; font-size: 17px; flex: 1; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px 4px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--linea); background: var(--papel); display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; text-decoration: none; }
.chip[aria-current="true"], .chip[aria-pressed="true"] { background: var(--tinta); border-color: var(--tinta); color: #fff; }
.chip[style*="--c"]::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--c); }

/* ofertas: tarjetas que asoman */
.ofertas { padding: 18px 0 4px; }
.ofertas-pista { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 16px; scrollbar-width: none; }
.ofertas-pista::-webkit-scrollbar { display: none; }
.of { flex: none; width: 86%; max-width: 440px; scroll-snap-align: center; position: relative; overflow: hidden; border-radius: 24px; background: var(--rojo); color: #fff; min-height: 300px; padding: 22px 20px; display: flex; isolation: isolate; }
.of::before { content: ''; position: absolute; inset: auto -20% -38% 32%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgb(255 255 255 / 30%), transparent 68%); z-index: -1; }
.of::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 7px; background: var(--arco); }
.of-txt { position: relative; z-index: 2; width: 62%; display: flex; flex-direction: column; align-items: flex-start; }
.of-chip { font-weight: 900; font-stretch: 118%; font-size: 15px; letter-spacing: .02em; text-transform: uppercase; background: #fff; color: var(--rojo); padding: 3px 10px; border-radius: 8px; transform: rotate(-3deg); }
.of h2 { font-size: 25px; margin-top: 12px; text-transform: uppercase; font-stretch: 105%; }
.of-x { font-size: 16px; font-weight: 600; opacity: .92; margin-top: 4px; }
.of-precio { margin: 12px 0 0 -6px; position: relative; }
.of-precio b { position: relative; display: inline-block; font-size: 38px; font-weight: 900; font-stretch: 110%; padding: 2px 14px 4px; color: var(--rojo); }
/* trazo de pincel blanco detrás del precio, como en sus placas */
.of-precio b::before { content: ''; position: absolute; inset: 0 -6px; background: #fff; z-index: -1; transform: skew(-8deg) rotate(-2deg); border-radius: 4px 18px 6px 22px / 12px 6px 18px 8px; clip-path: polygon(2% 12%, 98% 0, 100% 86%, 4% 100%); }
.of-esc { font-size: 13.5px; margin: 12px 0 0; }
.of-bts { display: flex; gap: 8px; margin-top: auto; padding-top: 14px; flex-wrap: wrap; }
.of .btn { background: #fff; color: var(--tinta); border-color: #fff; min-height: 40px; padding: 0 14px; font-size: 14px; }
.of .btn-l { background: transparent; color: #fff; border-color: rgb(255 255 255 / 70%); }
.of-img { position: absolute; right: -6%; bottom: 14px; width: 50%; max-height: 82%; object-fit: contain; transform: rotate(8deg); filter: drop-shadow(0 18px 18px rgb(0 0 0 / 28%)); z-index: 1; }
.of:nth-child(even) { background: var(--tinta); }
.of:nth-child(even) .of-chip { color: var(--tinta); }
.of:nth-child(even) .of-precio b { color: var(--tinta); }
.puntos { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 0 0; font-size: 12px; color: var(--gris); }
.puntos i { width: 7px; height: 7px; border-radius: 9px; background: var(--linea); transition: width .25s, background .25s; }
.puntos i.si { width: 22px; background: var(--tinta); }
.puntos span { margin-left: 8px; }

/* escalera de precios */
.esc-caja { background: var(--papel); border-radius: 24px; padding: 18px 14px; box-shadow: var(--sombra); display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.esc-prod { display: flex; align-items: center; gap: 12px; }
.esc-prod img { width: 56px; height: 56px; object-fit: contain; }
.esc-prod small { color: var(--gris); font-size: 12.5px; display: block; }
.esc-rango { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 10px 14px; }
.esc-rango label { font-weight: 800; }
.esc-rango input { grid-column: 1 / -1; }
.esc-paso { display: inline-flex; align-items: center; border: 2px solid var(--tinta); border-radius: 999px; height: 46px; justify-self: end; }
.esc-paso button { width: 46px; height: 100%; border: 0; background: none; font-size: 22px; font-weight: 700; }
.esc-paso output { min-width: 30px; text-align: center; font-weight: 900; font-size: 19px; font-variant-numeric: tabular-nums; }
.esc-paso.chico { height: 38px; }
.esc-paso.chico button { width: 36px; font-size: 19px; }
.esc-paso.chico output { font-size: 16px; min-width: 22px; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; margin: 0; height: 14px; border-radius: 99px; background: linear-gradient(90deg, transparent var(--v, 0%), var(--linea) var(--v, 0%)), var(--arco); outline-offset: 4px; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 3px solid var(--tinta); box-shadow: 0 2px 8px rgb(0 0 0 / 20%); }
input[type="range"]::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 3px solid var(--tinta); }
.esc-pelda { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; align-items: end; }
.pel { --cs: #d33015, #e58715, #3da733, #154f92; border-radius: 14px; padding: 10px 6px 8px; text-align: center; background: var(--fondo); display: grid; gap: 2px; min-height: calc(76px + var(--i) * 16px); align-content: end; transition: background .3s, color .3s, transform .3s; }
.pel span { font-size: 11.5px; color: var(--gris); font-weight: 600; }
.pel b { font-size: clamp(12.5px, 3.6vw, 15px); font-variant-numeric: tabular-nums; }
.pel em { font-style: normal; font-size: 12px; font-weight: 800; color: var(--ok); }
.pel:nth-child(1) { --pc: #e0461e; } .pel:nth-child(2) { --pc: #d9a400; } .pel:nth-child(3) { --pc: #3da733; } .pel:nth-child(4) { --pc: #22a3bf; }
.pel.pasada { background: color-mix(in srgb, var(--pc) 14%, #fff); }
.pel.act { background: var(--pc); color: #fff; transform: translateY(-4px); }
.pel.act span, .pel.act em { color: #fff; }
.esc-res { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.esc-res div { background: var(--fondo); border-radius: 14px; padding: 10px; }
.esc-res span { display: block; font-size: 12px; color: var(--gris); }
.esc-res b { font-size: clamp(15px, 4.4vw, 19px); font-variant-numeric: tabular-nums; font-stretch: 105%; }
.esc-res .ok b { color: var(--ok); }
.esc-res p { grid-column: 1 / -1; margin: 0; font-size: 14px; font-weight: 600; }
.esc-nota { margin: 0; font-size: 14px; color: var(--tinta-2); padding: 12px 14px; border-radius: 14px; border: 1.5px dashed var(--linea); }

/* categorías: círculos de color como sus destacadas */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 8px; }
.cat { display: grid; justify-items: center; gap: 8px; text-align: center; text-decoration: none; font-size: 12.5px; font-weight: 700; line-height: 1.15; }
.cat-o { width: min(76px, 19vw); aspect-ratio: 1; border-radius: 50%; background: var(--c); display: grid; place-items: center; box-shadow: 0 0 0 3px var(--fondo), 0 0 0 5px var(--c); transition: transform .2s; }
.cat-o img { width: 64%; height: 64%; object-fit: contain; filter: drop-shadow(0 4px 6px rgb(0 0 0 / 25%)); }
.cat:hover .cat-o { transform: rotate(-6deg) scale(1.05); }

/* productos */
.grilla { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.prod { position: relative; background: var(--papel); border-radius: var(--r); box-shadow: var(--sombra); overflow: hidden; display: flex; }
.prod-a { text-decoration: none; display: flex; flex-direction: column; width: 100%; }
.prod-img { position: relative; aspect-ratio: 1; background: linear-gradient(180deg, #fff 60%, color-mix(in srgb, var(--c) 12%, #fff)); }
.prod-img img { position: absolute; inset: 9%; width: 82%; height: 82%; object-fit: contain; transition: transform .3s; }
.prod:hover .prod-img img { transform: scale(1.05) rotate(-2deg); }
.sello { position: absolute; top: 10px; left: 10px; z-index: 1; background: var(--rojo); color: #fff; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; padding: 3px 8px; border-radius: 6px; transform: rotate(-4deg); }
.prod-txt { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.prod-txt small { font-size: 11.5px; color: var(--gris); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prod-txt h3 { font-size: 15px; font-stretch: 100%; font-weight: 800; letter-spacing: 0; line-height: 1.15; min-height: 2.3em; }
.prod-precio { display: flex; align-items: baseline; gap: 6px; margin-top: 4px; }
.prod-precio b { font-size: 20px; font-weight: 900; font-variant-numeric: tabular-nums; font-stretch: 105%; }
.prod-precio span { font-size: 12.5px; color: var(--gris); }
.prod-desde { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ok); font-weight: 600; padding-right: 40px; }
.prod-desde b { font-variant-numeric: tabular-nums; }
.esc-mini { display: inline-flex; align-items: end; gap: 2px; height: 14px; flex: none; }
.esc-mini i { width: 4px; height: var(--h); border-radius: 2px; }
.esc-mini i:nth-child(1) { background: #e0461e; } .esc-mini i:nth-child(2) { background: #d9a400; } .esc-mini i:nth-child(3) { background: #3da733; } .esc-mini i:nth-child(4) { background: #22a3bf; }
.prod-mas { position: absolute; right: 10px; bottom: 10px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--tinta); color: #fff; display: grid; place-items: center; transition: transform .15s; }
.prod-mas svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
.prod-mas:active { transform: scale(.9); }

/* packs */
.carril { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; margin: 0 -16px; padding: 2px 16px 10px; scrollbar-width: none; }
.carril::-webkit-scrollbar { display: none; }
.carril .pack { width: 78%; max-width: 340px; flex: none; scroll-snap-align: start; }
.pack { background: var(--papel); border-radius: 22px; box-shadow: var(--sombra); overflow: hidden; display: flex; flex-direction: column; }
.pack-fotos { position: relative; height: 150px; background: var(--c); overflow: hidden; }
.pack-fotos::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--arco); }
.pack-fotos img { position: absolute; bottom: 10px; height: 78%; width: auto; object-fit: contain; filter: drop-shadow(0 10px 10px rgb(0 0 0 / 25%)); left: calc(8% + var(--i) * 22%); transform: rotate(calc(-6deg + var(--i) * 5deg)); }
.pack-fotos img:nth-child(1) { height: 92%; z-index: 2; }
.pack-fotos img:nth-child(n+3) { height: 56%; }
.pack-txt { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pack-desc { align-self: flex-start; font-size: 12px; font-weight: 800; color: var(--ok); background: color-mix(in srgb, var(--ok) 12%, #fff); padding: 3px 8px; border-radius: 6px; }
.pack h3 { font-size: 20px; }
.pack p { margin: 0; font-size: 14px; color: var(--tinta-2); }
.pack-lleva { font-size: 12.5px !important; color: var(--gris) !important; }
.pack-it { list-style: none; padding: 0; margin: 4px 0; display: grid; gap: 4px; font-size: 14px; }
.pack-it span { color: var(--gris); }
.pack-pie { display: flex; align-items: end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 8px; }
.pack-pie s { display: block; font-size: 13px; }
.pack-pie b { font-size: 22px; font-weight: 900; font-variant-numeric: tabular-nums; font-stretch: 105%; }
.packs { display: grid; gap: 14px; }
.pack-g .pack-fotos { height: 190px; }

/* calculador: llamada */
.calc-cta { margin: 28px 16px 0; display: flex; align-items: center; gap: 14px; justify-content: space-between; padding: 22px 20px; border-radius: 24px; background: var(--tinta); color: #fff; text-decoration: none; position: relative; overflow: hidden; }
.calc-cta::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--arco); }
.calc-cta small { color: #d2cd1f; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: 12px; }
.calc-cta h2 { font-size: 26px; margin: 4px 0 6px; }
.calc-cta p { margin: 0; font-size: 14px; opacity: .85; max-width: 36ch; }
.calc-cta-n { display: flex; align-items: end; gap: 4px; flex: none; }
.calc-cta-n i { font-style: normal; font-size: 11px; font-weight: 800; display: grid; place-items: end center; padding-bottom: 6px; border-radius: 8px 8px 4px 4px; background: #fff; color: var(--tinta); width: 36px; }
.calc-cta-n i:nth-child(1) { height: 70px; background: #e58715; color: #fff; } .calc-cta-n i:nth-child(2) { height: 46px; background: #3da733; color: #fff; } .calc-cta-n i:nth-child(3) { height: 30px; background: #22a3bf; color: #fff; width: 26px; }

/* calculador */
.calc-caja { display: grid; gap: 16px; }
.calc-form { background: var(--papel); border-radius: 22px; box-shadow: var(--sombra); padding: 16px; display: grid; gap: 18px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font-weight: 800; font-size: 14px; margin-bottom: 8px; padding: 0; }
.calc-form .chips { flex-wrap: wrap; margin: 0; padding: 0; overflow: visible; }
.m2 { display: flex; align-items: center; gap: 8px; border: 2px solid var(--tinta); border-radius: 16px; padding: 0 16px; height: 60px; max-width: 220px; }
.m2 input { border: 0; outline: 0; font: inherit; font-size: 30px; font-weight: 900; width: 100%; background: none; font-variant-numeric: tabular-nums; }
.m2 span { font-weight: 800; color: var(--gris); }
.medidas { margin-top: 10px; }
.medidas summary { cursor: pointer; font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.med { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.med label { display: grid; gap: 4px; position: relative; }
.med span { font-size: 12px; color: var(--gris); }
.med input { width: 100%; height: 44px; border-radius: 12px; border: 1.5px solid var(--linea); padding: 0 26px 0 10px; font: inherit; font-weight: 700; }
.med i { position: absolute; right: 10px; bottom: 12px; font-style: normal; color: var(--gris); font-size: 13px; }
.med-nota, .rinde { font-size: 12.5px; color: var(--gris); margin: 6px 0 0; display: block; }
.calc-res { display: grid; gap: 12px; align-content: start; }
.calc-l { background: var(--tinta); color: #fff; border-radius: 22px; padding: 16px 18px; display: grid; position: relative; overflow: hidden; }
.calc-l::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--arco); }
.calc-l span { font-size: 13px; opacity: .8; }
.calc-l b { font-size: 40px; font-weight: 900; font-stretch: 112%; font-variant-numeric: tabular-nums; }
.calc-l small { font-size: 13px; opacity: .8; }
.combos { display: grid; gap: 10px; }
.combo { position: relative; background: var(--papel); border-radius: 20px; padding: 14px; box-shadow: var(--sombra); border: 2px solid transparent; display: grid; gap: 12px; animation: sube .35s both; }
.combo:nth-child(2) { animation-delay: .06s; } .combo:nth-child(3) { animation-delay: .12s; }
.combo.mejor { border-color: var(--ok); }
.combo-chip { position: absolute; top: -10px; left: 14px; background: var(--ok); color: #fff; font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 99px; }
.combo-envases { display: flex; align-items: end; flex-wrap: wrap; gap: 6px; padding-top: 4px; }
.env { display: grid; justify-items: center; gap: 4px; font-size: 13px; }
.env img { height: calc(64px * var(--s)); width: auto; object-fit: contain; }
.mas { font-style: normal; font-weight: 900; color: var(--gris); align-self: center; padding: 0 2px 18px; }
.combo-pie { display: flex; align-items: end; justify-content: space-between; gap: 10px; }
.combo-pie > div { display: grid; }
.combo-pie b { font-size: 24px; font-weight: 900; font-variant-numeric: tabular-nums; font-stretch: 105%; }
.combo-pie small { font-size: 12.5px; color: var(--gris); }
.combo-pie small.ok, .ok { color: var(--ok); }
.calc-vs { margin: 0; padding: 12px 14px; border-radius: 16px; background: color-mix(in srgb, var(--ok) 10%, #fff); font-size: 14px; }
.calc-herr { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.calc-herr > span { width: 100%; font-weight: 800; font-size: 14px; }
.mini { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px 4px 4px; border-radius: 99px; border: 1.5px solid var(--linea); background: var(--papel); font-size: 13px; }
.mini img { width: 30px; height: 30px; object-fit: contain; }
.calc-nota { font-size: 12.5px; color: var(--gris); margin: 0; }
@keyframes sube { from { opacity: 0; transform: translateY(10px); } }

/* pedido */
.ped-caja { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
#ped-lineas { min-width: 0; }
.grupo { background: var(--papel); border-radius: 18px; padding: 14px; margin-bottom: 10px; box-shadow: var(--sombra); }
.grupo-t { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; }
.grupo-t span { color: var(--gris); }
.grupo-barra { position: relative; height: 12px; border-radius: 99px; background: var(--fondo); margin: 12px 0 22px; }
.grupo-barra i { position: absolute; inset: 0 auto 0 0; border-radius: 99px; background: var(--arco); transition: width .4s; }
.grupo-barra em { position: absolute; top: 16px; transform: translateX(-50%); font-style: normal; font-size: 11px; font-weight: 800; color: var(--gris); }
.grupo-barra em::before { content: ''; position: absolute; left: 50%; top: -17px; width: 2px; height: 12px; background: #fff; }
.grupo-barra em.si { color: var(--tinta); }
.grupo p { margin: 0; font-size: 13.5px; }
.lineas { list-style: none; margin: 0; padding: 0; background: var(--papel); border-radius: 18px; box-shadow: var(--sombra); }
.linea { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 12px; border-bottom: 1px solid var(--linea); }
.linea:last-child { border-bottom: 0; }
.linea img { width: 56px; height: 56px; object-fit: contain; }
.linea-txt { display: grid; gap: 2px; min-width: 0; }
.linea-txt b { font-size: 14.5px; line-height: 1.2; }
.linea-txt small { color: var(--gris); font-size: 12.5px; }
.linea-u { display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; font-size: 13px; }
.linea-u em { font-style: normal; font-weight: 800; color: var(--ok); font-size: 12px; }
.linea-der { display: grid; justify-items: end; gap: 6px; }
.linea-der > b { font-variant-numeric: tabular-nums; }
.ped-fin { background: var(--papel); border-radius: 22px; box-shadow: var(--sombra); padding: 16px; display: grid; gap: 16px; align-content: start; }
.tot { display: grid; gap: 6px; font-size: 14.5px; }
.tot div { display: flex; justify-content: space-between; gap: 10px; }
.tot .t { font-size: 22px; font-weight: 900; border-top: 1px solid var(--linea); padding-top: 10px; margin-top: 4px; font-stretch: 105%; }
.falta-env { margin: 0; font-size: 13.5px; padding: 10px 12px; border-radius: 12px; background: var(--fondo); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--fondo); padding: 4px; border-radius: 14px; }
.seg button { min-height: 42px; border: 0; border-radius: 11px; background: none; font-weight: 700; font-size: 14px; }
.seg button[aria-pressed="true"] { background: var(--papel); box-shadow: var(--sombra); }
.zonas { display: grid; gap: 6px; margin-top: 10px; }
.zonas button { display: flex; justify-content: space-between; align-items: center; gap: 10px; text-align: left; border: 1.5px solid var(--linea); border-radius: 14px; background: var(--papel); padding: 10px 12px; }
.zonas button span { display: grid; font-weight: 700; font-size: 14px; }
.zonas small { font-weight: 400; color: var(--gris); font-size: 12.5px; }
.zonas button[aria-pressed="true"] { border-color: var(--tinta); box-shadow: inset 0 0 0 1px var(--tinta); }
.campo { display: grid; gap: 6px; margin-top: 10px; }
.campo span { font-size: 13px; font-weight: 700; }
.campo input { height: 46px; border-radius: 12px; border: 1.5px solid var(--linea); padding: 0 12px; font: inherit; }
.retiro { font-size: 13.5px; color: var(--tinta-2); margin: 10px 0 0; }
.ped-fin .chips { flex-wrap: wrap; margin: 0; padding: 0; }
.enviar { min-height: 54px; font-size: 16.5px; }
.enviar.apagado { background: var(--linea); border-color: var(--linea); color: var(--gris); }
.ped-nota { font-size: 12.5px; color: var(--gris); margin: -6px 0 0; text-align: center; }
.vacio { text-align: center; color: var(--gris); padding: 30px 0; }
.vacio.grande { padding: 60px 16px; background: var(--papel); border-radius: 22px; }
.vacio .btn { margin-top: 8px; }

/* local */
.local-caja { background: var(--papel); border-radius: 24px; overflow: hidden; box-shadow: var(--sombra); display: grid; }
.local-txt { padding: 20px 18px; display: grid; gap: 10px; align-content: start; }
.local-txt small { font-weight: 800; color: var(--rojo); text-transform: uppercase; letter-spacing: .06em; font-size: 12px; }
.local-txt h2 { font-size: 26px; }
.local-dir { margin: 0; font-size: 16px; }
.horas { margin: 0; display: grid; gap: 4px; font-size: 14px; }
.horas div { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dashed var(--linea); padding-bottom: 4px; }
.horas dt { color: var(--gris); } .horas dd { margin: 0; font-weight: 700; text-align: right; }
.local-bts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.mapa { min-height: 240px; background: var(--fondo); }
.mapa iframe { width: 100%; height: 100%; min-height: 240px; border: 0; display: block; filter: grayscale(.4) contrast(1.05); }
.asesor { margin-top: 18px; }
.asesor h3, .envios h3 { font-size: 20px; margin-bottom: 10px; }
.ig { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ig a { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 9 / 14; text-decoration: none; color: #fff; }
.ig img { width: 100%; height: 100%; object-fit: cover; }
.ig span { position: absolute; inset: auto 0 0; padding: 30px 8px 8px; font-size: 12px; font-weight: 700; background: linear-gradient(transparent, rgb(0 0 0 / 80%)); }
.envios { margin-top: 18px; background: var(--papel); border-radius: 22px; padding: 16px 18px; box-shadow: var(--sombra); }
.envios p { margin: 0 0 10px; font-size: 14.5px; }
.envios ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.envios li { display: flex; justify-content: space-between; gap: 10px; align-items: center; font-size: 14px; padding: 8px 0; border-top: 1px solid var(--linea); }
.envios li span { display: grid; font-weight: 700; }
.envios small { font-weight: 400; color: var(--gris); }

/* hoja de producto */
.hoja { position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-end; justify-content: center; }
.hoja-fondo { position: absolute; inset: 0; background: rgb(29 29 27 / 55%); opacity: 0; transition: opacity .25s; }
.hoja-caja { position: relative; width: 100%; max-height: 94dvh; background: var(--papel); border-radius: 26px 26px 0 0; overflow: auto; overscroll-behavior: contain; transform: translateY(100%); transition: transform .3s cubic-bezier(.2,.8,.2,1); display: flex; flex-direction: column; }
.hoja.abierta .hoja-fondo { opacity: 1; }
.hoja.abierta .hoja-caja { transform: none; }
.hoja-x { position: absolute; top: 12px; right: 12px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgb(255 255 255 / 92%); box-shadow: var(--sombra); font-size: 26px; line-height: 1; }
.ficha-img { background: linear-gradient(180deg, #fff 55%, color-mix(in srgb, var(--c) 16%, #fff)); padding: 22px 30px 14px; display: grid; place-items: center; position: relative; }
.ficha-img::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--arco); }
.ficha-img img { max-height: 34dvh; width: auto; object-fit: contain; filter: drop-shadow(0 14px 16px rgb(0 0 0 / 14%)); }
.ficha-txt { padding: 16px 16px 8px; display: grid; gap: 10px; }
.ficha-cat { color: var(--gris); font-size: 12.5px; font-weight: 600; }
.ficha-txt h2 { font-size: 26px; }
.ficha-txt > p { margin: 0; color: var(--tinta-2); font-size: 14.5px; }
.pres { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.pres button { flex: none; min-width: 84px; display: grid; gap: 1px; text-align: left; padding: 8px 12px; border-radius: 14px; border: 1.5px solid var(--linea); background: var(--papel); }
.pres button b { font-size: 15px; }
.pres button span { font-size: 13px; font-variant-numeric: tabular-nums; }
.pres button small { font-size: 11px; color: var(--gris); }
.pres button[aria-checked="true"] { border-color: var(--tinta); box-shadow: inset 0 0 0 1px var(--tinta); }
.pres-una { margin: 0; font-size: 14px; }
.ficha-precio { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.ficha-precio > div { display: flex; align-items: baseline; gap: 6px; }
.ficha-precio b { font-size: 32px; font-weight: 900; font-variant-numeric: tabular-nums; font-stretch: 108%; }
.ficha-precio em { font-style: normal; font-weight: 800; font-size: 13px; color: #fff; background: var(--ok); padding: 4px 10px; border-radius: 99px; }
.tabla-esc { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.tabla-esc li { border-radius: 12px; padding: 8px 6px; background: var(--fondo); display: grid; gap: 1px; text-align: center; transition: background .25s, color .25s; }
.tabla-esc li:nth-child(1) { --pc: #e0461e; } .tabla-esc li:nth-child(2) { --pc: #d9a400; } .tabla-esc li:nth-child(3) { --pc: #3da733; } .tabla-esc li:nth-child(4) { --pc: #22a3bf; }
.tabla-esc span { font-size: 11.5px; color: var(--gris); font-weight: 600; }
.tabla-esc b { font-size: clamp(12.5px, 3.6vw, 14.5px); font-variant-numeric: tabular-nums; }
.tabla-esc small { font-size: 11px; color: var(--gris); }
.tabla-esc li.pasada { background: color-mix(in srgb, var(--pc) 14%, #fff); }
.tabla-esc li.act { background: var(--pc); color: #fff; }
.tabla-esc li.act span, .tabla-esc li.act small { color: #fff; }
.ficha-nota { margin: 4px 0 0; font-size: 13.5px; }
.ficha-calc { font-size: 13.5px; color: var(--tinta-2); text-decoration: none; padding: 10px 12px; border-radius: 12px; background: var(--fondo); }
.ficha-pie { position: sticky; bottom: 0; margin-top: auto; display: flex; gap: 10px; align-items: center; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgb(255 255 255 / 94%); backdrop-filter: blur(8px); border-top: 1px solid var(--linea); }
.ficha-pie .esc-paso { height: 54px; }

/* barra inferior */
.barra { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; height: calc(var(--barra) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: rgb(255 255 255 / 95%); backdrop-filter: blur(10px); border-top: 1px solid var(--linea); display: grid; grid-template-columns: repeat(5, 1fr); }
.barra a { position: relative; display: grid; justify-items: center; align-content: center; gap: 3px; font-size: 11px; font-weight: 600; text-decoration: none; color: var(--gris); }
.barra a[aria-current="page"] { color: var(--tinta); }
.barra a[aria-current="page"]::before { content: ''; position: absolute; top: 0; left: 22%; right: 22%; height: 3px; border-radius: 0 0 3px 3px; background: var(--arco); }
.barra-n { top: 6px; right: calc(50% - 22px); }

.aviso { position: fixed; z-index: 60; left: 50%; bottom: calc(var(--barra) + 14px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); opacity: 0; background: var(--tinta); color: #fff; padding: 10px 16px; border-radius: 99px; font-size: 14px; font-weight: 600; pointer-events: none; transition: opacity .2s, transform .2s; max-width: calc(100% - 32px); text-align: center; }
.aviso.ve { opacity: 1; transform: translate(-50%, 0); }
.vuela { position: fixed; z-index: 70; object-fit: contain; pointer-events: none; }

.pie { margin-top: 40px; background: var(--tinta); color: #fff; padding: 28px 16px 30px; text-align: center; display: grid; justify-items: center; gap: 8px; position: relative; }
.pie::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--arco); }
.pie p { margin: 0; font-size: 13.5px; opacity: .85; }
.pie .pie-demo { font-size: 11.5px; opacity: .55; max-width: 60ch; }

/* iPad y escritorio */
@media (min-width: 700px) {
  .grilla { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .of { width: 46%; min-height: 330px; }
  .cats { grid-template-columns: repeat(8, 1fr); }
  .carril .pack { width: 44%; }
  .packs { grid-template-columns: repeat(2, 1fr); }
  .local-caja { grid-template-columns: 1fr 1fr; }
  .mapa iframe { min-height: 100%; }
  .hoja { align-items: center; padding: 24px; }
  .hoja-caja { max-width: 860px; border-radius: 26px; max-height: 90dvh; transform: translateY(30px) scale(.97); opacity: 0; transition: transform .25s, opacity .25s; }
  .hoja.abierta .hoja-caja { opacity: 1; }
  .ficha { display: grid; grid-template-columns: 1fr 1.15fr; }
  .ficha-img { padding: 40px 30px; }
  .ficha-img::after { top: 0; bottom: 0; left: auto; width: 4px; height: auto; background: var(--arco); }
  .ficha-img img { max-height: 380px; }
  .ficha-txt { padding: 28px 24px 12px; }
}
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .barra { display: none; }
  .aviso { bottom: 24px; }
  .cab-in { gap: 22px; padding: 12px 24px; }
  .cab-logo img { width: 116px; }
  .buscar { max-width: 420px; }
  .cab-nav { display: flex; gap: 4px; margin-left: auto; }
  .cab-nav a { text-decoration: none; font-weight: 700; font-size: 15px; padding: 8px 12px; border-radius: 99px; }
  .cab-nav a:hover { background: rgb(255 255 255 / 12%); }
  .cab-nav a[aria-current="page"] { background: #fff; color: var(--tinta); }
  .cinta-in { animation: none; width: auto; justify-content: center; }
  .sec { padding: 40px 24px 8px; }
  .ofertas { padding-top: 26px; }
  .ofertas-pista { padding: 0 24px; scroll-padding-inline: 24px; }
  .of { scroll-snap-align: start; }
  .of { width: 31.5%; min-height: 340px; }
  .grilla { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .escalera .esc-caja { grid-template-columns: 1fr 1.3fr; align-items: center; gap: 18px 32px; padding: 26px; }
  .esc-prod, .esc-rango, .esc-nota { grid-column: 1; }
  .esc-pelda { grid-column: 2; grid-row: 1 / span 2; }
  .esc-res { grid-column: 2; grid-row: 3 / span 1; }
  .esc-nota { grid-row: 3; }
  .carril { margin: 0 -24px; padding: 2px 24px 10px; }
  .carril .pack { width: 31%; }
  .calc-cta { margin: 40px 24px 0; padding: 30px 34px; }
  .calc-cta h2 { font-size: 34px; }
  .calc-cta-n i:nth-child(1) { height: 96px; width: 52px; } .calc-cta-n i:nth-child(2) { height: 62px; width: 46px; } .calc-cta-n i:nth-child(3) { height: 40px; width: 34px; }
  .calc-caja { grid-template-columns: 1fr 1.1fr; align-items: start; }
  .ped-caja { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; }
  .ped-fin { position: sticky; top: 96px; }
  .packs { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1200px) { .grilla { grid-template-columns: repeat(5, 1fr); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* calculador por paredes y pinturas */
.capas { display: grid; gap: 14px; align-content: start; }
.capa { background: var(--papel); border-radius: 22px; box-shadow: var(--sombra); padding: 16px; display: grid; gap: 12px; border-top: 6px solid var(--c); }
.capa-cab { display: flex; align-items: center; gap: 10px; }
.capa-n { width: 30px; height: 30px; border-radius: 50%; background: var(--c); color: #fff; font-weight: 900; display: grid; place-items: center; flex: none; }
.capa-cab h2 { font-size: 21px; flex: 1; }
.capa-x { border: 0; background: none; font-size: 13px; font-weight: 700; color: var(--gris); text-decoration: underline; }
.capa .chips { flex-wrap: wrap; margin: 0; padding: 0; overflow: visible; }
.capa .chips .chip { min-height: 34px; font-size: 13px; padding: 0 12px; }
.capa .chips.con .chip[aria-pressed="true"] { background: var(--c); border-color: var(--c); }
.capa-prod { margin: 0; font-size: 14px; color: var(--tinta-2); }
.panos { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.panos li { display: grid; grid-template-columns: 1fr auto auto; align-items: end; gap: 6px 10px; background: var(--fondo); border-radius: 14px; padding: 10px 12px; animation: sube .25s both; }
.pano-n { grid-column: 1 / -1; font-size: 12.5px; font-weight: 800; }
.pano-f { display: flex; align-items: end; gap: 6px; min-width: 0; }
.pano-f label { display: grid; gap: 2px; position: relative; min-width: 0; flex: 1; }
.pano-f span { font-size: 11.5px; color: var(--gris); }
.pano-f input { width: 100%; min-width: 0; height: 44px; border-radius: 10px; border: 1.5px solid var(--linea); background: #fff; padding: 0 22px 0 10px; font: inherit; font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; }
.pano-f input:focus { border-color: var(--tinta); outline: none; }
.pano-f em { position: absolute; right: 8px; bottom: 13px; font-style: normal; font-size: 12px; color: var(--gris); }
.pano-f > i { font-style: normal; font-weight: 800; color: var(--gris); padding-bottom: 12px; }
.pano-m2 { font-size: 15px; white-space: nowrap; padding-bottom: 12px; font-variant-numeric: tabular-nums; }
.pano-x { width: 30px; height: 30px; margin-bottom: 7px; border-radius: 50%; border: 0; background: #fff; font-size: 18px; line-height: 1; color: var(--gris); }
.pano-mas { justify-self: start; border: 1.5px dashed var(--tinta); background: none; border-radius: 99px; min-height: 40px; padding: 0 16px; font-weight: 800; font-size: 14px; }
.capa-ajustes { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.capa-ajustes > div { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; }
.capa-res { display: grid; gap: 10px; }
.capa-tot { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; border-top: 1px solid var(--linea); padding-top: 12px; }
.capa-tot span { font-size: 13.5px; color: var(--gris); }
.capa-tot b { font-size: 28px; font-weight: 900; font-stretch: 110%; }
.capa .combo { box-shadow: none; animation: none; margin-top: 8px; }
.otras summary { cursor: pointer; font-size: 13.5px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.otra { display: flex; justify-content: space-between; align-items: end; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--linea); }
.otra > div:last-child { display: grid; justify-items: end; gap: 6px; }
.otra .env img { height: calc(44px * var(--s)); }
.capa-mas { border: 2px dashed color-mix(in srgb, var(--tinta) 35%, transparent); background: transparent; border-radius: 22px; min-height: 76px; display: grid; justify-items: center; align-content: center; gap: 2px; font-weight: 800; font-size: 16px; }
.capa-mas b { font-size: 24px; line-height: 1; }
.capa-mas small { font-weight: 500; font-size: 12.5px; color: var(--gris); }
.resumen { background: var(--tinta); color: #fff; border-radius: 22px; padding: 18px; display: grid; gap: 12px; position: relative; overflow: hidden; }
.resumen::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--arco); }
.resumen > small { color: #d2cd1f; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: 12px; }
.resumen ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.resumen li { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; border-bottom: 1px solid rgb(255 255 255 / 14%); padding-bottom: 8px; }
.resumen li span { display: grid; }
.resumen li small { font-size: 12.5px; opacity: .75; }
.junto { margin: 0; font-size: 13.5px; color: #a6e3a1; }
.resumen-t { display: flex; justify-content: space-between; align-items: baseline; }
.resumen-t b { font-size: 32px; font-weight: 900; font-stretch: 110%; font-variant-numeric: tabular-nums; }
.resumen-bts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.resumen .btn { background: #fff; color: var(--tinta); border-color: #fff; padding: 0 10px; }
.resumen .btn-l { background: transparent; color: #fff; border-color: rgb(255 255 255 / 70%); }
.alcanza { background: #fff; color: var(--tinta); border-radius: 16px; padding: 14px; animation: sube .3s both; }
.alcanza > p { margin: 0 0 8px; font-weight: 900; font-size: 16px; }
.alcanza.si > p { color: var(--ok); }
.alcanza ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.alcanza li { display: grid; gap: 4px; padding-left: 26px; position: relative; font-size: 13.5px; border: 0; }
.alcanza li::before { position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; color: #fff; font-size: 12px; font-weight: 900; display: grid; place-items: center; }
.alcanza li.si::before { content: '✓'; background: var(--ok); }
.alcanza li.no::before { content: '!'; background: #e58715; }
.alcanza li span { display: block; color: var(--tinta-2); }
.alcanza .mini { justify-self: start; font-weight: 800; padding: 6px 14px; }
@media (min-width: 900px) { .calc-res { position: sticky; top: 96px; } }

/* promociones que pasan abajo */
.promos { position: fixed; z-index: 39; left: 0; right: 0; bottom: calc(var(--barra) + env(safe-area-inset-bottom)); height: 34px; background: var(--tinta); color: #fff; overflow: hidden; display: flex; align-items: center; }
.promos::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--arco); }
.promos-in { display: flex; gap: 0; width: max-content; animation: promos 40s linear infinite; }
.promos:hover .promos-in, .promos:focus-within .promos-in { animation-play-state: paused; }
.promos a { display: inline-flex; align-items: center; gap: 8px; padding: 4px 18px 0; font-size: 13px; text-decoration: none; white-space: nowrap; }
.promos a b { color: #ffd84a; font-weight: 900; }
.promos a i { width: 6px; height: 6px; border-radius: 50%; background: var(--c, #e4472f); flex: none; }
@keyframes promos { to { transform: translateX(-50%); } }
body { padding-bottom: calc(var(--barra) + 34px + env(safe-area-inset-bottom)); }
.aviso { bottom: calc(var(--barra) + 48px + env(safe-area-inset-bottom)); }
.ficha-pie { padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
@media (min-width: 900px) {
  .promos { bottom: 0; height: 38px; }
  .promos a { font-size: 14px; }
  body { padding-bottom: 38px; }
  .aviso { bottom: 54px; }
}
@media (prefers-reduced-motion: reduce) { .promos-in { animation: none !important; overflow-x: auto; } }

/* imágenes generadas */
.esc-baldes { width: 100%; height: auto; margin-bottom: -22px; position: relative; z-index: 1; pointer-events: none; mix-blend-mode: multiply; }
.esc-pelda { position: relative; z-index: 0; }
.pack-fotos[style*="background-image"] { background-size: cover; background-position: center; }
.pack-fotos[style*="background-image"]::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgb(0 0 0 / 35%)); }
.pack-fotos img { z-index: 1; }

/* barra flotante con el pedido al medio y la cinta de promos encima */
.barra { left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); height: var(--barra); padding: 0 4px; border: 0; border-radius: 26px; background: rgb(255 255 255 / 92%); box-shadow: 0 10px 30px -8px rgb(29 29 27 / 35%), 0 0 0 1px rgb(29 29 27 / 6%); }
.barra a[aria-current="page"]::before { left: 30%; right: 30%; }
.barra-ped { color: var(--tinta) !important; }
.barra-ped::before { display: none; }
.barra-bolsa { position: relative; width: 58px; height: 58px; margin-top: -30px; border-radius: 50%; background: var(--tinta); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 4px #fff, 0 0 0 7px transparent, 0 10px 20px -6px rgb(0 0 0 / 45%); }
.barra-bolsa::before { content: ''; position: absolute; inset: -7px; border-radius: 50%; background: conic-gradient(#d33015, #e58715, #d2cd1f, #3da733, #22a3bf, #154f92, #6a2679, #d33015); z-index: -1; animation: gira 6s linear infinite; }
.barra-bolsa::after { content: ''; position: absolute; inset: -3px; border-radius: 50%; background: #fff; z-index: -1; }
.barra-bolsa svg { width: 26px; height: 26px; }
.barra-ped[aria-current="page"] .barra-bolsa { background: var(--rojo); }
.barra .barra-n { top: -2px; right: -4px; box-shadow: 0 0 0 2px #fff; }
@keyframes gira { to { transform: rotate(360deg); } }
.promos { left: 22px; right: 22px; bottom: calc(10px + var(--barra) + 30px + env(safe-area-inset-bottom)); height: 30px; border-radius: 99px; box-shadow: 0 6px 16px -6px rgb(0 0 0 / 40%); }
.promos::before { display: none; }
.promos a { padding-top: 0; font-size: 12.5px; }
body { padding-bottom: calc(var(--barra) + 86px + env(safe-area-inset-bottom)); }
.aviso { bottom: calc(var(--barra) + 80px + env(safe-area-inset-bottom)); }
@media (min-width: 900px) {
  .promos { left: 50%; right: auto; width: min(760px, calc(100% - 48px)); transform: translateX(-50%); bottom: 16px; height: 38px; }
  body { padding-bottom: 70px; }
  .aviso { bottom: 66px; }
}
.pack-fotos.escena { height: 170px; }
.pack-g .pack-fotos.escena { height: 210px; }
.pack-fotos.escena img { left: auto; transform: none; bottom: 12px; }
.pack-fotos.escena img:nth-child(1) { right: 6%; height: 64%; transform: rotate(4deg); }
.pack-fotos.escena img:nth-child(2) { right: 34%; height: 36%; transform: rotate(-8deg); }
.pano-f label { max-width: 170px; }
@media (min-width: 700px) { .esc-baldes { max-width: 560px; justify-self: center; } }
@media (min-width: 900px) {
  .escalera .esc-caja { align-items: end; }
  .esc-prod { grid-column: 1; grid-row: 1; align-self: start; }
  .esc-rango { grid-column: 1; grid-row: 2; }
  .esc-nota { grid-column: 1; grid-row: 3; align-self: start; }
  .esc-baldes { grid-column: 2; grid-row: 1; max-width: 100%; }
  .esc-pelda { grid-column: 2; grid-row: 2; }
  .esc-res { grid-column: 2; grid-row: 3; }
}

/* cinta de promos arriba (pedido de Santiago): reemplaza la cinta fija de beneficios */
.promos { position: relative; left: auto; right: auto; bottom: auto; width: auto; transform: none; z-index: 1; height: 36px; border-radius: 0; box-shadow: none; background: var(--papel); color: var(--tinta); border-bottom: 1px solid var(--linea); }
.promos a { font-size: 13px; }
.promos a b { color: var(--rojo); }
body { padding-bottom: calc(var(--barra) + 24px + env(safe-area-inset-bottom)); }
.aviso { bottom: calc(var(--barra) + 24px + env(safe-area-inset-bottom)); }
.barra-ped { align-content: start; }
.barra-bolsa { margin-top: -18px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (min-width: 900px) {
  .promos { left: auto; bottom: auto; width: auto; transform: none; height: 38px; }
  body { padding-bottom: 0; }
  .aviso { bottom: 24px; }
  .esc-prod { grid-row: 1; align-self: start; }
  .esc-rango { grid-row: 1; align-self: end; }
  .esc-nota { grid-row: 2 / span 2; align-self: start; }
}

/* sugeridos en el pedido */
.sug { margin-top: 14px; background: var(--papel); border-radius: 22px; box-shadow: var(--sombra); padding: 16px 0 14px; overflow: hidden; position: relative; }
.sug::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--arco); }
.sug-cab { padding: 4px 16px 0; }
.sug-cab h2 { font-size: 21px; }
.sug-cab p { margin: 4px 0 0; font-size: 13.5px; color: var(--gris); }
.sug-esc { margin: 10px 16px 0; padding: 8px 12px; border-radius: 12px; background: color-mix(in srgb, var(--ok) 10%, #fff); font-size: 13.5px; }
.sug-esc .esc-mini { margin-right: 8px; vertical-align: -2px; }
.sug-esc b { color: var(--ok); }
.sug-carril { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; padding: 14px 16px 4px; scrollbar-width: none; }
.sug-carril::-webkit-scrollbar { display: none; }
.sug-it { flex: none; width: 150px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 3px; animation: sube .35s both; }
.sug-it:nth-child(2) { animation-delay: .05s; } .sug-it:nth-child(3) { animation-delay: .1s; } .sug-it:nth-child(4) { animation-delay: .15s; }
.sug-img { position: relative; aspect-ratio: 1; border-radius: 20px; background: radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--c) 30%, #fff) 0 46%, color-mix(in srgb, var(--c) 10%, #fff) 47%); margin-bottom: 6px; overflow: hidden; }
.sug-img img { position: absolute; inset: 12%; width: 76%; height: 76%; object-fit: contain; filter: drop-shadow(0 8px 8px rgb(0 0 0 / 18%)); transform: rotate(-6deg); transition: transform .3s; }
.sug-it:hover .sug-img img { transform: rotate(0) scale(1.06); }
.sug-it small { font-size: 11.5px; font-weight: 700; color: var(--c); filter: brightness(.8); }
.sug-it > b { font-size: 14px; line-height: 1.15; min-height: 2.3em; }
.sug-pie { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: auto; }
.sug-pie span { font-weight: 900; font-size: 16px; font-variant-numeric: tabular-nums; }
.sug-pie em { font-style: normal; font-weight: 500; font-size: 11.5px; color: var(--gris); }
.sug-pie button { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--tinta); color: #fff; display: grid; place-items: center; flex: none; transition: transform .15s; }
.sug-pie button:active { transform: scale(.88); }
.sug-pie svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
@media (min-width: 900px) { .sug-it { width: 170px; } }
