/* =========================================================
   Sanitarios Chajarí (marca ficticia) — demo Plan Catálogo
   Tereré Estudio · 2026
   Concepto: muestrario de showroom. Placas con junta de pastina,
   piedra oscura, azul cobalto y verde hoja.
   ========================================================= */

/* ---------- Fuente local ---------- */
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* Marca */
  --azul: #1F4C8F;          /* acción principal (Agregar, Armá tu pedido) */
  --azul-900: #163868;
  --azul-050: #EAF0F8;
  --verde: #5A9A3E;         /* acentos, contador, sellos */
  --verde-txt: #3A6A26;     /* verde para texto sobre claro (AA) */
  --verde-050: #EDF4E8;
  --gris-logo: #A0A0A0;
  /* Materiales */
  --pizarra: #1D2826;       /* piedra oscura */
  --pizarra-2: #263431;
  --pizarra-linea: #3A4A46;
  --piedra: #F4F2ED;        /* fondo general, hormigón claro */
  --piedra-2: #EAE6DE;
  --junta: #D8D2C6;         /* pastina */
  --blanco: #FFFFFF;
  --texto: #1A1F29;
  --texto-2: #4B5262;
  --texto-claro: #EEF0EC;
  --texto-claro-2: #B9C4BF;
  /* Roles exclusivos */
  --wa: #0E6B57;            /* solo WhatsApp */
  --wa-900: #0A5444;
  --aviso: #FFF4C2;
  /* Forma */
  --r-s: 4px;
  --r-m: 8px;
  --r-l: 14px;
  --sombra: 0 1px 2px rgba(26, 31, 41, .06), 0 6px 18px rgba(26, 31, 41, .06);
  --sombra-alta: 0 10px 40px rgba(26, 31, 41, .18);
  /* Espaciado (escala de 4/8 px) */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --gutter: 16px;
  --max: 1240px;
  --header: 64px;
  /* Tipografía fluida */
  --f-h1: clamp(2.05rem, 1.35rem + 3.1vw, 3.5rem);
  --f-h2: clamp(1.6rem, 1.2rem + 1.6vw, 2.35rem);
  --f-h3: 1.05rem;
  --f-base: 1rem;
  --f-chico: .875rem;
  --f-micro: .75rem;
}
@media (min-width: 768px) { :root { --gutter: 24px; --header: 76px; } }

/* ---------- Reset base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 12px); }
body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: var(--f-base);
  line-height: 1.55;
  color: var(--texto);
  background: var(--piedra);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.con-barra { padding-bottom: 76px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--verde); outline-offset: 3px; border-radius: 2px; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.saltar { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--azul); color: #fff; padding: 10px 14px; border-radius: var(--r-m); text-decoration: none; font-weight: 600; }
.saltar:focus { top: 12px; }

.ic { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic--lleno { fill: currentColor; stroke: none; }

.contenedor { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.seccion { padding-block: var(--s8); }
@media (min-width: 960px) { .seccion { padding-block: var(--s9); } }

.etiqueta {
  display: inline-flex; align-items: center; gap: var(--s2);
  font-size: var(--f-micro); font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--verde-txt);
}
.etiqueta::before { content: ""; width: 18px; height: 2px; background: currentColor; }
.titulo { font-size: var(--f-h2); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; margin-top: var(--s2); text-wrap: balance; }
.bajada { color: var(--texto-2); margin-top: var(--s3); max-width: 60ch; }
.marcador { background: var(--aviso); color: #5A4500; padding: 0 4px; border-radius: 3px; font-weight: 600; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 48px; padding: 12px 20px; border: 2px solid transparent; border-radius: var(--r-m);
  font-weight: 700; font-size: .95rem; letter-spacing: .01em; text-decoration: none; line-height: 1.2;
  transition: background-color .2s, border-color .2s, color .2s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn--azul { background: var(--azul); color: #fff; }
.btn--azul:hover { background: var(--azul-900); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-900); }
.btn--borde { border-color: currentColor; background: transparent; }
.btn--claro { background: #fff; color: var(--azul); }
.btn--claro:hover { background: var(--azul-050); }
.btn--chico { min-height: 40px; padding: 8px 14px; font-size: .875rem; }
.btn--ancho { width: 100%; }
.btn .ic { width: 20px; height: 20px; }
.botones { display: flex; gap: var(--s3); flex-wrap: wrap; }
.botones > .btn { flex: 1 1 0; min-width: 0; }
@media (max-width: 399px) { .botones > .btn { padding-inline: 12px; } .botones > .btn > .ic:not(.ic--lleno) { display: none; } }
@media (min-width: 560px) { .botones > .btn { flex: 0 0 auto; } }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 40; height: var(--header);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  transition: box-shadow .25s;
}
.header.con-sombra { box-shadow: 0 1px 0 var(--piedra-2), 0 6px 20px rgba(26, 31, 41, .06); }
.header__fila { height: 100%; display: flex; align-items: center; gap: var(--s4); }
.header__logo { display: block; flex: none; text-decoration: none; color: var(--texto); }
.logotipo { display: inline-flex; flex-direction: column; line-height: 1; }
.logotipo__a { font-size: .62rem; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; color: var(--verde-txt); margin-left: 2px; }
.logotipo__b { font-size: 1.6rem; font-weight: 800; letter-spacing: -.035em; color: var(--azul); margin-top: 3px; }
@media (min-width: 768px) { .logotipo__a { font-size: .7rem; } .logotipo__b { font-size: 1.9rem; } }
.nav { margin-left: auto; display: none; }
.nav ul { list-style: none; display: flex; gap: var(--s1); }
.nav a { display: block; padding: 10px 12px; border-radius: var(--r-m); text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--texto-2); }
.nav a:hover { color: var(--azul); background: var(--azul-050); }
.header__acciones { margin-left: auto; display: flex; align-items: center; gap: var(--s2); }
@media (min-width: 1024px) {
  .nav { display: block; }
  .header__acciones { margin-left: var(--s3); }
  .menu-btn { display: none !important; }
}
.pedido-btn { position: relative; padding-inline: 14px; }
.pedido-btn .contador {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px;
  background: var(--verde); color: #fff; font-size: .75rem; font-weight: 800;
  display: inline-grid; place-items: center; line-height: 1;
}
.pedido-btn .contador.late { animation: late .45s ease; }
@keyframes late { 40% { transform: scale(1.35); } }
.menu-btn { width: 48px; height: 48px; display: grid; place-items: center; border: 0; background: transparent; border-radius: var(--r-m); color: var(--texto); }
.menu-btn .ic { width: 26px; height: 26px; }
.menu-movil { position: absolute; top: var(--header); left: 0; right: 0; background: #fff; box-shadow: var(--sombra-alta); padding: var(--s2) var(--gutter) var(--s4); }
.menu-movil ul { list-style: none; }
.menu-movil a { display: block; padding: 14px 4px; text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--piedra-2); }
@media (max-width: 380px) { .pedido-btn .txt { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(180deg, #fff 0, rgba(255, 255, 255, 0) 180px),
    linear-gradient(var(--piedra-2) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, var(--piedra-2) 1px, transparent 1px) 0 0 / 56px 56px,
    var(--piedra);
  margin-top: calc(var(--header) * -1);
  padding-top: calc(var(--header) + var(--s6));
  padding-bottom: var(--s7);
  overflow: hidden;
}
.hero__grid { display: grid; gap: var(--s6); align-items: center; }
@media (min-width: 960px) {
  .hero { padding-top: calc(var(--header) + var(--s8)); padding-bottom: var(--s8); }
  .hero__grid { grid-template-columns: 1.05fr .95fr; gap: var(--s8); }
}
.hero h1 { font-size: var(--f-h1); font-weight: 800; line-height: 1.04; letter-spacing: -.03em; margin-top: var(--s3); }
.hero h1 span { display: block; }
.hero h1 .acento { color: var(--azul); }
.hero__bajada { margin-top: var(--s4); font-size: 1.06rem; color: var(--texto-2); max-width: 46ch; }
.hero .botones { margin-top: var(--s5); }
.confianza { list-style: none; margin-top: var(--s5); display: grid; gap: 6px; font-size: var(--f-chico); color: var(--texto-2); }
.confianza li { display: flex; align-items: center; gap: var(--s2); }
.confianza .ic { color: var(--verde-txt); }

/* Mosaico: muestras con junta de pastina */
.mosaico {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
  padding: 6px; background: var(--junta); border-radius: var(--r-m);
  box-shadow: var(--sombra);
}
.mosaico a { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 2px; background: var(--piedra-2); }
.mosaico a:nth-child(n+9) { display: none; }
.mosaico img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .9s ease, transform 1.2s ease; }
.mosaico img.entra { opacity: 0; transform: scale(1.06); }
.mosaico a:hover img { transform: scale(1.04); }
.mosaico__pie { margin-top: var(--s2); font-size: var(--f-micro); color: var(--texto-2); text-align: right; }
@media (min-width: 960px) {
  .mosaico { grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 8px; transform: rotate(-1.2deg); }
  .mosaico a:nth-child(n+9) { display: block; }
  .mosaico a:nth-child(n+10) { display: none; }
}

/* ---------- Cómo pedir ---------- */
.pasos-sec { background: #fff; padding-block: var(--s7); }
.pasos { list-style: none; display: grid; gap: var(--s3); margin-top: var(--s5); }
@media (min-width: 768px) { .pasos { grid-template-columns: repeat(3, 1fr); gap: var(--s4); } }
.paso {
  display: flex; gap: var(--s4); align-items: flex-start; padding: var(--s4);
  border: 1px solid var(--piedra-2); border-radius: var(--r-l); background: var(--piedra);
  transition: background-color .5s, border-color .5s, box-shadow .5s, transform .5s;
}
.paso__ic { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: var(--r-m); background: #fff; color: var(--azul); transition: background-color .5s, color .5s; }
.paso__ic .ic { width: 24px; height: 24px; }
.paso h3 { font-size: var(--f-h3); font-weight: 700; }
.paso p { font-size: var(--f-chico); color: var(--texto-2); margin-top: 2px; }
.paso.activo { background: #fff; border-color: var(--azul); box-shadow: var(--sombra); }
.paso.activo .paso__ic { background: var(--azul); color: #fff; }
.pasos-sec__cab { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s3); }

/* ---------- Catálogo ---------- */
.catalogo { padding-top: var(--s7); }
.catalogo__cab { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s3); }
.aviso-muestra { margin-top: var(--s4); padding: var(--s3) var(--s4); border-radius: var(--r-m); background: var(--aviso); color: #4A3900; font-size: var(--f-chico); }

.filtros {
  position: sticky; top: var(--header); z-index: 20;
  margin-top: var(--s4); margin-inline: calc(var(--gutter) * -1); padding: var(--s3) var(--gutter);
  background: rgba(244, 242, 237, .96); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--piedra-2);
}
@media (min-width: 960px) { .filtros { position: static; margin-inline: 0; padding: 0; background: none; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; } }
.filtros__fila { display: grid; grid-template-columns: 1fr auto; gap: var(--s2); }
@media (min-width: 960px) { .filtros__fila { grid-template-columns: minmax(0, 1fr) 240px; gap: var(--s3); } }
.campo-buscar { position: relative; }
.campo-buscar .ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--texto-2); pointer-events: none; }
.campo-buscar input {
  width: 100%; height: 48px; padding: 0 14px 0 44px; border: 1px solid var(--junta); border-radius: var(--r-m); background: #fff;
}
.campo-buscar input::placeholder { color: #767C88; }
.sel {
  height: 48px; padding: 0 36px 0 14px; border: 1px solid var(--junta); border-radius: var(--r-m); background: #fff;
  appearance: none; -webkit-appearance: none; max-width: 150px;
  background-image: linear-gradient(45deg, transparent 50%, var(--texto-2) 50%), linear-gradient(135deg, var(--texto-2) 50%, transparent 50%);
  background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px; background-size: 5px 5px; background-repeat: no-repeat;
}
@media (min-width: 960px) { .sel { max-width: none; width: 100%; } }
.chips { display: flex; gap: var(--s2); margin-top: var(--s3); overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
@media (min-width: 960px) { .chips { flex-wrap: wrap; overflow: visible; } }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px;
  border: 1px solid var(--junta); border-radius: 20px; background: #fff; font-size: .875rem; font-weight: 600; color: var(--texto-2);
  transition: background-color .2s, color .2s, border-color .2s;
}
.chip .ic { width: 18px; height: 18px; }
.chip:hover { border-color: var(--azul); color: var(--azul); }
.chip[aria-pressed="true"] { background: var(--azul); border-color: var(--azul); color: #fff; }
.resultado { margin-top: var(--s4); display: flex; justify-content: space-between; align-items: center; gap: var(--s3); font-size: var(--f-chico); color: var(--texto-2); }
.limpiar { border: 0; background: none; color: var(--azul); font-weight: 700; text-decoration: underline; padding: 6px 0; }

/* Banner de temporada */
.temporada {
  position: relative; margin-top: var(--s5); border-radius: var(--r-l); overflow: hidden; color: #fff;
  background: var(--pizarra); display: grid; min-height: 190px;
}
.temporada picture, .temporada > img { position: absolute; inset: 0; }
.temporada img { width: 100%; height: 100%; object-fit: cover; }
.temporada::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16, 26, 25, .92) 0%, rgba(16, 26, 25, .72) 55%, rgba(16, 26, 25, .25) 100%); }
.temporada__txt { position: relative; z-index: 1; padding: var(--s5); align-self: center; max-width: 560px; }
.temporada__txt .etiqueta { color: #9FD3A8; }
.temporada h3 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); font-weight: 800; margin-top: var(--s2); letter-spacing: -.01em; }
.temporada p { margin-top: var(--s2); color: var(--texto-claro); font-size: .95rem; }
.temporada .btn { margin-top: var(--s4); }

/* Grilla de productos */
.grilla { list-style: none; display: grid; gap: var(--s3); margin-top: var(--s4); }
@media (min-width: 600px) { .grilla { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); } }
@media (min-width: 960px) { .grilla { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .grilla { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s3); } }
.grilla > li { display: flex; min-width: 0; }
.prod {
  position: relative; width: 100%; min-width: 0;
  display: grid; grid-template-columns: 96px minmax(0, 1fr); grid-template-areas: "foto cuerpo" "acc acc";
  gap: var(--s3) var(--s3); padding: var(--s3);
  background: #fff; border-radius: var(--r-l); border: 1px solid var(--piedra-2);
  transition: box-shadow .25s, border-color .25s;
}
.prod:hover { box-shadow: var(--sombra); }
.prod.destello { animation: destello 1.6s ease; }
@keyframes destello { 0%, 60% { border-color: var(--verde); box-shadow: 0 0 0 4px var(--verde-050); } }
.prod__foto {
  grid-area: foto; align-self: start; aspect-ratio: 1; padding: 4px; border-radius: var(--r-s);
  background: var(--junta);
}
.prod__foto img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; background: #fff; }
.prod__foto--vacia { display: grid; place-items: center; color: var(--texto-2); font-size: var(--f-micro); text-align: center;
  background: repeating-linear-gradient(45deg, var(--piedra), var(--piedra) 6px, var(--piedra-2) 6px, var(--piedra-2) 12px); }
.prod__cuerpo { grid-area: cuerpo; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.prod__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: var(--f-micro); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--verde-txt); }
.sello { display: inline-block; padding: 2px 7px; border-radius: 10px; background: var(--verde-050); color: var(--verde-txt); font-size: .68rem; letter-spacing: .04em; }
.sello--nuevo { background: var(--azul); color: #fff; }
.prod__nombre { font-size: var(--f-h3); font-weight: 700; line-height: 1.25; letter-spacing: -.005em; }
.prod__desc { font-size: var(--f-chico); color: var(--texto-2); line-height: 1.4; }
.prod__datos { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.dato { font-size: .75rem; font-weight: 600; padding: 3px 8px; border-radius: var(--r-s); background: var(--piedra); color: var(--texto-2); border: 1px solid var(--piedra-2); }
.prod__precio { font-size: var(--f-chico); font-weight: 700; margin-top: 4px; }
.prod__var { margin-top: 6px; }
.prod__var select { width: 100%; height: 40px; max-width: none; font-size: .875rem; }
.prod__acc { grid-area: acc; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s2); align-items: center; min-width: 0; }
.prod__acc .agregar { min-width: 0; padding-inline: 10px; }
@media (min-width: 1200px) {
  .prod__acc .cant button { width: 32px; }
  .prod__acc .cant input { width: 34px; }
  .prod__acc .cant .unidad { padding-right: 6px; min-width: 0; }
  .prod__acc .agregar { font-size: .875rem; }
}
.cant { display: inline-flex; align-items: center; border: 1px solid var(--junta); border-radius: var(--r-m); height: 44px; background: #fff; }
.cant button { width: 40px; height: 100%; border: 0; background: none; display: grid; place-items: center; color: var(--azul); }
.cant button .ic { width: 18px; height: 18px; }
.cant input { width: 46px; height: 100%; border: 0; text-align: center; font-weight: 700; -moz-appearance: textfield; appearance: textfield; background: none; }
.cant input::-webkit-outer-spin-button, .cant input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cant .unidad { font-size: .75rem; color: var(--texto-2); padding-right: 10px; min-width: 2.2em; }
.agregar { min-height: 44px; }
.agregar.ok { background: var(--verde-txt); }
.prod.oculto, .prod-li.oculto { display: none; }
.agotado .prod__foto, .agotado .prod__cuerpo { opacity: .55; }
.agotado__txt { grid-area: acc; font-size: var(--f-chico); font-weight: 700; color: var(--texto-2); }

@media (min-width: 600px) {
  .prod { grid-template-columns: 1fr; grid-template-areas: "foto" "cuerpo" "acc"; grid-template-rows: auto 1fr auto; padding: var(--s3); }
  .prod__foto { width: 100%; }
  .prod__cuerpo { padding-inline: 2px; }
}
.mas { display: flex; justify-content: center; margin-top: var(--s5); }
.vacio { margin-top: var(--s5); padding: var(--s6) var(--s4); border: 2px dashed var(--junta); border-radius: var(--r-l); text-align: center; background: #fff; }
.vacio p + p { margin-top: var(--s2); color: var(--texto-2); }
.vacio .botones { justify-content: center; margin-top: var(--s4); }

/* ---------- Marcas ---------- */
.marcas { padding-block: var(--s7); }
.marcas__lista { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: var(--s4); background: var(--junta); border: 1px solid var(--junta); border-radius: var(--r-l); overflow: hidden; }
@media (min-width: 600px) { .marcas__lista { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .marcas__lista { grid-template-columns: repeat(7, 1fr); } }
.marcas__lista li { display: flex; }
.marca-btn {
  width: 100%; min-height: 76px; border: 0; background: #fff; padding: var(--s3);
  font-weight: 800; font-size: 1rem; letter-spacing: .02em; text-transform: uppercase; color: var(--azul);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; transition: background-color .2s;
}
.marca-btn small { font-size: .7rem; font-weight: 600; letter-spacing: .04em; text-transform: none; color: var(--texto-2); }
.marca-btn:hover { background: var(--azul-050); }
.marcas__lista li:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (min-width: 600px) { .marcas__lista li:last-child:nth-child(odd) { grid-column: auto; } .marcas__lista li:last-child { grid-column: span 2; } }
@media (min-width: 1024px) { .marcas__lista li:last-child { grid-column: auto; } }
.marcas__extra { margin-top: var(--s3); font-size: var(--f-chico); color: var(--texto-2); }

/* ---------- Financiación ---------- */
.cuotas { background: var(--pizarra); color: var(--texto-claro); position: relative; overflow: hidden; }
.cuotas::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background:
    linear-gradient(var(--pizarra-linea) 1px, transparent 1px) 0 0 / 120px 120px,
    linear-gradient(90deg, var(--pizarra-linea) 1px, transparent 1px) 0 0 / 120px 120px;
}
.cuotas .contenedor { position: relative; }
.cuotas .etiqueta { color: #9FD3A8; }
.cuotas .bajada { color: var(--texto-claro-2); }
.cuotas__grid { display: grid; gap: var(--s6); margin-top: var(--s5); }
@media (min-width: 960px) { .cuotas__grid { grid-template-columns: .9fr 1.1fr; align-items: start; gap: var(--s7); } }
.calc label { display: block; font-weight: 700; font-size: .95rem; }
.calc__campo { position: relative; margin-top: var(--s2); }
.calc__campo span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-weight: 800; color: var(--texto-2); }
.calc__campo input { width: 100%; height: 56px; padding: 0 16px 0 36px; border-radius: var(--r-m); border: 2px solid transparent; background: #fff; color: var(--texto); font-size: 1.25rem; font-weight: 700; }
.calc__campo input:focus { border-color: var(--verde); outline: none; }
.calc__ayuda { margin-top: var(--s2); font-size: var(--f-chico); color: var(--texto-claro-2); }
.medios { list-style: none; display: grid; gap: var(--s2); margin-top: var(--s5); font-size: var(--f-chico); color: var(--texto-claro-2); }
.medios li { display: flex; gap: var(--s2); align-items: flex-start; }
.medios .ic { color: #9FD3A8; margin-top: 2px; }
.planes { background: var(--pizarra-2); border: 1px solid var(--pizarra-linea); border-radius: var(--r-l); overflow: hidden; }
.planes__tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--pizarra-linea); }
.planes__tab { min-height: 56px; padding: 10px 8px; border: 0; background: transparent; color: var(--texto-claro-2); font-weight: 700; font-size: .875rem; line-height: 1.2; border-bottom: 3px solid transparent; }
.planes__tab[aria-selected="true"] { color: #fff; border-bottom-color: var(--verde); background: rgba(255, 255, 255, .04); }
.planes__panel { padding: var(--s4); }
@media (min-width: 600px) { .planes__panel { padding: var(--s5); } }
.planes__detalle { font-size: var(--f-chico); color: var(--texto-claro-2); }
.filas { list-style: none; margin-top: var(--s3); }
.fila { display: grid; grid-template-columns: 64px 1fr; gap: var(--s3); align-items: center; padding: var(--s3) 0; border-top: 1px solid var(--pizarra-linea); }
.fila:first-child { border-top: 0; }
.fila__n { font-size: 2rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; color: #fff; }
.fila__n small { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--texto-claro-2); margin-top: 4px; }
.fila__cond { font-weight: 700; }
.fila__cond.menos { color: #9FD3A8; }
.fila__calc { font-size: var(--f-chico); color: var(--texto-claro-2); margin-top: 2px; }
.fila__calc strong { color: #fff; }
.cuotas__nota { margin-top: var(--s4); font-size: var(--f-micro); color: var(--texto-claro-2); }

/* ---------- Sucursales ---------- */
.sucursales__grid { display: grid; gap: var(--s5); margin-top: var(--s5); }
@media (min-width: 960px) { .sucursales__grid { grid-template-columns: 1.6fr 1fr; align-items: start; } }
.ciudad { min-width: 0; }
.ciudad h3 { font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--texto-2); padding-bottom: var(--s2); border-bottom: 2px solid var(--texto); }
.locales { list-style: none; }
.local { display: grid; gap: var(--s2); padding: var(--s4) 0; border-bottom: 1px solid var(--junta); }
@media (min-width: 600px) { .local { grid-template-columns: 1fr auto; align-items: center; gap: var(--s4); } }
.local__nombre { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); font-weight: 800; font-size: 1.05rem; }
.local__dir { display: inline-flex; align-items: center; gap: 6px; color: var(--azul); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; margin-top: 2px; }
.local__dir .ic { width: 18px; height: 18px; }
.local__hor { font-size: var(--f-chico); color: var(--texto-2); margin-top: 4px; }
.local__tel { display: inline-flex; align-items: center; gap: 6px; font-size: var(--f-chico); color: var(--azul); font-weight: 600; margin-top: 4px; }
.local__tel .ic { width: 16px; height: 16px; }
.estado { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 12px; background: var(--piedra-2); color: var(--texto-2); }
.estado::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.estado.abierto { background: var(--verde-050); color: var(--verde-txt); }
.local__acc { display: flex; gap: var(--s2); }
.local__acc .btn { flex: 1 1 0; }
@media (min-width: 600px) { .local__acc .btn { flex: 0 0 auto; } }
.envios { margin-top: var(--s5); padding: var(--s4); background: #fff; border-radius: var(--r-l); border: 1px solid var(--piedra-2); display: flex; gap: var(--s3); }
.envios .ic { color: var(--azul); width: 28px; height: 28px; }
.envios h4 { font-weight: 800; }
.envios p { font-size: var(--f-chico); color: var(--texto-2); margin-top: 2px; }

/* ---------- Nosotros ---------- */
.nosotros { background: var(--pizarra); color: var(--texto-claro); }
.nosotros .etiqueta { color: #9FD3A8; }
.nosotros__grid { display: grid; gap: var(--s6); align-items: center; }
@media (min-width: 960px) { .nosotros__grid { grid-template-columns: 1.1fr .9fr; gap: var(--s8); } }
.nosotros p.txt { color: var(--texto-claro-2); margin-top: var(--s3); max-width: 58ch; }
.cifras { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--pizarra-linea); border: 1px solid var(--pizarra-linea); border-radius: var(--r-l); overflow: hidden; }
.cifras li { background: var(--pizarra-2); padding: var(--s4) var(--s3); text-align: center; }
.cifras strong { display: block; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); font-weight: 800; color: #fff; line-height: 1.05; letter-spacing: -.02em; }
.cifras span { display: block; margin-top: 6px; font-size: .78rem; color: var(--texto-claro-2); line-height: 1.3; }

/* ---------- Preguntas ---------- */
.faq { list-style: none; margin-top: var(--s5); display: grid; gap: var(--s2); }
@media (min-width: 960px) { .faq { grid-template-columns: 1fr 1fr; gap: var(--s3); align-items: start; } }
.faq details { background: #fff; border: 1px solid var(--piedra-2); border-radius: var(--r-l); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s3); padding: var(--s4); font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform .25s; color: var(--azul); }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq details > div { padding: 0 var(--s4) var(--s4); color: var(--texto-2); font-size: .95rem; }
.faq details > div a { color: var(--azul); font-weight: 600; }

/* ---------- Footer ---------- */
.footer { background: #141C1A; color: var(--texto-claro-2); padding-block: var(--s7) var(--s5); font-size: var(--f-chico); }
.footer__grid { display: grid; gap: var(--s5); }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1.2fr 1fr 1fr; } }
.footer__logo { display: inline-block; background: #fff; border-radius: var(--r-m); padding: 10px 14px; }
.footer__logo { text-decoration: none; }
.footer h2 { font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: var(--s3); }
.footer ul { list-style: none; display: grid; gap: var(--s2); }
.footer a { color: var(--texto-claro); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(238, 240, 236, .35); }
.footer a:hover { text-decoration-color: currentColor; }
.aviso-demo { color: var(--texto-claro); }
.footer__pie { margin-top: var(--s6); padding-top: var(--s4); border-top: 1px solid #2A3532; display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s2); }

/* ---------- Firma Tereré Estudio (no modificar) ---------- */
.firma-te { background: #161415; padding: 14px 16px; text-align: center; }
.firma-te a { display: inline-flex; align-items: center; gap: 10px; color: #F3E9DA; text-decoration: none; font: 500 14px/1 system-ui, sans-serif; }
.firma-te img { height: 28px; width: auto; opacity: 0.9; }
.firma-te a:hover img, .firma-te a:focus-visible img { opacity: 1; }
.firma-te a:focus-visible { outline: 2px solid #9FBD2B; outline-offset: 4px; }
@media (max-width: 600px) { .firma-te img { height: 24px; } }

/* ---------- Barra de pedido (celular) ---------- */
.barra {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 35;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: var(--azul); color: #fff; box-shadow: 0 -6px 20px rgba(26, 31, 41, .2);
  transform: translateY(110%); transition: transform .3s ease;
}
.barra:not(.visible) { visibility: hidden; transition: transform .3s ease, visibility 0s .3s; }
.barra.visible { transform: none; }
.barra button { width: 100%; min-height: 48px; border: 0; background: transparent; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: var(--s3); font-weight: 700; }
.barra .ver { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--azul); padding: 10px 14px; border-radius: var(--r-m); }
@media (min-width: 1024px) { .barra { display: none; } body.con-barra { padding-bottom: 0; } }

/* ---------- WhatsApp flotante ---------- */
.wa-flot {
  position: fixed; right: 16px; bottom: 16px; z-index: 34; width: 58px; height: 58px; border-radius: 50%;
  border: 0; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: var(--sombra-alta);
  transition: transform .3s ease, opacity .3s ease, bottom .3s ease;
}
.wa-flot .ic { width: 30px; height: 30px; }
.wa-flot.escondido { opacity: 0; transform: scale(.6); pointer-events: none; }
body.con-barra .wa-flot { bottom: 88px; }
@media (min-width: 1024px) { body.con-barra .wa-flot { bottom: 16px; } }

/* ---------- Diálogos (pedido y elegir sucursal) ---------- */
dialog { padding: 0; border: 0; color: var(--texto); background: #fff; max-width: none; max-height: none; }
dialog::backdrop { background: rgba(16, 22, 30, .55); }
.hoja {
  position: fixed; inset: auto 0 0 0; margin: 0; width: 100%; max-height: 92dvh;
  border-radius: var(--r-l) var(--r-l) 0 0; display: flex; flex-direction: column; overflow: hidden;
}
.hoja:not([open]) { display: none; }
.hoja[open] { animation: subir .3s ease; }
@keyframes subir { from { transform: translateY(40px); opacity: 0; } }
@media (min-width: 768px) {
  .hoja--lateral { inset: 0 0 0 auto; width: 440px; max-height: none; height: 100dvh; border-radius: 0; }
  .hoja--lateral[open] { animation: deslizar .3s ease; }
  .hoja--centro { inset: 0; margin: auto; width: 480px; max-height: 86dvh; height: fit-content; border-radius: var(--r-l); }
}
@keyframes deslizar { from { transform: translateX(40px); opacity: 0; } }
.franja { height: 6px; flex: none; background: linear-gradient(90deg, var(--azul) 0 50%, var(--verde) 50% 80%, var(--gris-logo) 80%); }
.hoja__cab { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); padding: var(--s3) var(--s4); border-bottom: 1px solid var(--piedra-2); flex: none; }
.hoja__cab h2 { font-size: 1.2rem; font-weight: 800; }
.cerrar { width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--piedra); display: grid; place-items: center; }
.cerrar .ic { width: 24px; height: 24px; }
.hoja__cuerpo { overflow-y: auto; padding: var(--s4); flex: 1 1 auto; overscroll-behavior: contain; }
.items { list-style: none; display: grid; gap: var(--s2); }
.item { display: grid; grid-template-columns: 52px 1fr auto; gap: var(--s3); align-items: center; padding: var(--s2); border: 1px solid var(--piedra-2); border-radius: var(--r-m); }
.item img { width: 52px; height: 52px; object-fit: cover; border-radius: var(--r-s); background: var(--piedra); }
.item__nom { font-weight: 700; font-size: .9rem; line-height: 1.25; }
.item__var { font-size: .75rem; color: var(--texto-2); }
.item__ctrl { display: flex; align-items: center; gap: 4px; margin-top: 6px; }
.item__ctrl .cant { height: 36px; }
.item__ctrl .cant button { width: 32px; }
.item__ctrl .cant input { width: 40px; }
.quitar { width: 40px; height: 40px; border: 0; background: none; color: var(--texto-2); display: grid; place-items: center; border-radius: 50%; }
.quitar:hover { background: var(--piedra); color: #9B1C1C; }
.pedido-vacio { text-align: center; padding: var(--s6) var(--s3); color: var(--texto-2); }
.pedido-vacio .btn { margin-top: var(--s4); }
.form { margin-top: var(--s5); display: grid; gap: var(--s3); }
.form h3 { font-size: 1rem; font-weight: 800; }
.campo label, .campo legend { display: block; font-weight: 700; font-size: .875rem; margin-bottom: 6px; }
.campo input[type="text"], .campo select, .campo textarea {
  width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--junta); border-radius: var(--r-m); background: #fff;
}
.campo select { max-width: none; }
.campo textarea { min-height: 84px; resize: vertical; }
.campo [aria-invalid="true"] { border-color: #B42318; box-shadow: 0 0 0 3px #FDE7E5; }
fieldset.campo { border: 0; padding: 0; margin: 0; }
.opciones { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
.opcion { position: relative; }
.opcion input { position: absolute; opacity: 0; }
.opcion span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 48px; padding: 8px; border: 1px solid var(--junta); border-radius: var(--r-m); font-weight: 600; font-size: .875rem; }
.opcion input:checked + span { border-color: var(--azul); background: var(--azul-050); color: var(--azul); box-shadow: inset 0 0 0 1px var(--azul); }
.opcion input:focus-visible + span { outline: 3px solid var(--verde); outline-offset: 2px; }
.consent { display: flex; gap: var(--s2); align-items: flex-start; font-size: .85rem; color: var(--texto-2); }
.consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--azul); }
.consent a { color: var(--azul); font-weight: 600; }
.errores { padding: var(--s3); border-radius: var(--r-m); background: #FDECEA; color: #8A1C12; font-size: .875rem; font-weight: 600; }
.hoja__pie { flex: none; padding: var(--s3) var(--s4) calc(var(--s3) + env(safe-area-inset-bottom)); border-top: 1px solid var(--piedra-2); background: #fff; display: grid; gap: var(--s2); }
.hoja__pie .nota { font-size: .8rem; color: var(--texto-2); text-align: center; }
.hoja__pie .nota a, .hoja__pie .link { color: var(--azul); font-weight: 700; }
.hoja__pie .link { border: 0; background: none; text-decoration: underline; padding: 4px; justify-self: center; font-size: .85rem; }
.trampa { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.wa-lista { list-style: none; display: grid; gap: var(--s2); }
.wa-lista a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: var(--s3); padding: var(--s3) var(--s4); border: 1px solid var(--piedra-2); border-radius: var(--r-m); text-decoration: none; }
.wa-lista a:hover { border-color: var(--wa); background: #F1F8F6; }
.wa-lista strong { display: block; }
.wa-lista span { font-size: .85rem; color: var(--texto-2); }
.wa-lista .ic { color: var(--wa); width: 26px; height: 26px; }

/* ---------- Páginas internas (privacidad, 404) ---------- */
.legal { background: #fff; padding-block: var(--s7); }
.legal .contenedor { max-width: 820px; }
.legal h1 { font-size: var(--f-h2); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.legal h2 { font-size: 1.15rem; font-weight: 800; margin-top: var(--s6); }
.legal p, .legal li { margin-top: var(--s3); color: var(--texto-2); }
.legal ul { padding-left: 1.2em; }
.legal a { color: var(--azul); font-weight: 600; }
.error404 { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: var(--s8); }
.error404 h1 { font-size: var(--f-h1); font-weight: 800; letter-spacing: -.03em; }
.error404 p { color: var(--texto-2); margin-top: var(--s3); }
.error404 .botones { justify-content: center; margin-top: var(--s5); }


/* ---------- Nuevos ingresos (estilo de sus posteos) ---------- */
.nuevos { background: var(--pizarra); color: var(--texto-claro); }
.nuevos .etiqueta { color: #9FD3A8; }
.nuevos .bajada { color: var(--texto-claro-2); }
.nuevos__lista { list-style: none; display: grid; gap: var(--s4); margin-top: var(--s5); }
@media (min-width: 768px) { .nuevos__lista { grid-template-columns: repeat(3, 1fr); gap: var(--s5); } }
.nuevos__lista > li { display: flex; }
.nuevo { width: 100%; display: flex; flex-direction: column; background: var(--pizarra-2); border: 1px solid var(--pizarra-linea); border-radius: var(--r-l); overflow: hidden; }
.nuevo__foto { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; }
@media (min-width: 768px) { .nuevo__foto { aspect-ratio: 1; } }
.nuevo__foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.nuevo__foto:hover img { transform: scale(1.04); }
.nuevo__sello {
  position: absolute; left: 50%; bottom: var(--s4); transform: translateX(-50%);
  background: #fff; color: var(--texto); padding: 6px 14px; font-size: .78rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
}
.nuevo__txt { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: var(--s4); }
.nuevo__marca { font-size: var(--f-micro); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #9FD3A8; }
.nuevo h3 { font-size: 1.1rem; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .02em; line-height: 1.25; }
.nuevo p { font-size: var(--f-chico); color: var(--texto-claro-2); }
.nuevo__medida { font-weight: 700; color: #fff !important; }
.nuevo .btn { margin-top: auto; }
.nuevo__txt > p:last-of-type { margin-bottom: var(--s3); }
.nuevo .btn.ok { background: var(--verde-050); color: var(--verde-txt); }


/* ---------- Nuevos ingresos en PC: bacha a medida (1/3) + carrusel (2/3) ---------- */
.a-medida, .carrusel__flecha { display: none; }
@media (min-width: 960px) {
  .nuevos__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--s5); margin-top: var(--s5); align-items: stretch; }
  .nuevos__grid .nuevos__lista { margin-top: 0; }
  .a-medida { display: flex; flex-direction: column; border: 1px solid var(--pizarra-linea); border-radius: var(--r-l); background: var(--pizarra-2); overflow: hidden; }
  .a-medida__img { position: relative; flex: 1 1 auto; min-height: 340px; background: #000; overflow: hidden; }
  .a-medida__txt { padding: var(--s4); display: grid; gap: var(--s2); }
  .a-medida__txt .etiqueta { color: #9FD3A8; }
  .a-medida__txt h3 { font-size: 1.25rem; font-weight: 800; color: #fff; text-transform: uppercase; letter-spacing: .01em; line-height: 1.2; }
  .a-medida__txt > p { font-size: var(--f-chico); color: var(--texto-claro-2); }
  .a-medida__txt .btn { margin-top: var(--s2); }
  .a-medida__ig { justify-self: center; font-size: .8rem; color: var(--texto-claro-2); text-underline-offset: 3px; }
  .a-medida__ig:hover { color: #fff; }
  /* carrusel: 2 tarjetas a la vista, flechas a los costados */
  .carrusel { position: relative; min-width: 0; }
  .carrusel .nuevos__lista { display: flex; gap: var(--s4); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; height: 100%; }
  .carrusel .nuevos__lista::-webkit-scrollbar { display: none; }
  .carrusel .nuevos__lista > li { flex: 0 0 calc((100% - var(--s4)) / 2); scroll-snap-align: start; }
  .carrusel__flecha {
    display: grid; place-items: center; position: absolute; top: 38%; z-index: 2; width: 48px; height: 48px; border-radius: 50%;
    border: 0; background: #fff; color: var(--azul); box-shadow: var(--sombra-alta); transition: opacity .2s, transform .2s;
  }
  .carrusel__flecha .ic { width: 24px; height: 24px; }
  .carrusel__flecha--prev { left: -18px; }
  .carrusel__flecha--next { right: -18px; }
  .carrusel__flecha:hover { transform: scale(1.06); }
  .carrusel__flecha:disabled { opacity: 0; pointer-events: none; }
  .nuevos .nuevo__foto { aspect-ratio: 1; }
}
.a-medida__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }


/* ---------- Carruseles en celular (nuevos ingresos, cómo pedir, sucursales) ---------- */
.puntos { display: flex; justify-content: center; gap: 8px; margin-top: var(--s3); }
.puntos button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px; background: var(--junta); transition: width .25s, background-color .25s; }
.puntos button[aria-current="true"] { width: 22px; background: var(--azul); }
.nuevos .puntos button { background: var(--pizarra-linea); }
.nuevos .puntos button[aria-current="true"] { background: #9FD3A8; }
.puntos button::after { content: ""; display: block; margin: -18px -8px; height: 44px; } /* área táctil */
@media (max-width: 959px) {
  .nuevos__grid .a-medida {
    display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: var(--s4); align-items: center; margin-top: var(--s5);
    padding: var(--s3); border: 1px solid var(--pizarra-linea); border-radius: var(--r-l); background: var(--pizarra-2);
  }
  .nuevos__grid .a-medida__img { position: relative; width: 108px; aspect-ratio: 9 / 16; border-radius: var(--r-m); overflow: hidden; background: #000; }
  .nuevos__grid   .nuevos__grid .a-medida__txt { display: grid; gap: 6px; }
  .nuevos__grid .a-medida__txt .etiqueta { color: #9FD3A8; }
  .nuevos__grid .a-medida__txt h3 { font-size: 1.05rem; font-weight: 800; color: #fff; text-transform: uppercase; line-height: 1.2; }
  .nuevos__grid .a-medida__txt > p { font-size: .82rem; color: var(--texto-claro-2); }
  .nuevos__grid .a-medida__txt .btn { min-height: 44px; padding: 8px 12px; font-size: .875rem; white-space: nowrap; }
  .nuevos__grid .a-medida__txt .btn .ic { display: none; }
  .nuevos__grid .a-medida__ig { font-size: .78rem; color: var(--texto-claro-2); }
  .nuevos__lista[data-carrusel-m] {
    display: flex; gap: var(--s3); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  }
  .nuevos__lista[data-carrusel-m] > li { flex: 0 0 82%; scroll-snap-align: start; }
  .nuevos__lista[data-carrusel-m]::-webkit-scrollbar { display: none; }
}
@media (min-width: 600px) and (max-width: 959px) { .nuevos__lista[data-carrusel-m] > li { flex-basis: 46%; } }
@media (max-width: 767px) {
  .pasos[data-carrusel-m], .locales[data-carrusel-m] {
    display: flex; gap: var(--s3); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  }
  .pasos[data-carrusel-m]::-webkit-scrollbar, .locales[data-carrusel-m]::-webkit-scrollbar { display: none; }
  .pasos[data-carrusel-m] > li { flex: 0 0 80%; scroll-snap-align: start; }
  .locales[data-carrusel-m] { padding-top: var(--s3); padding-bottom: 2px; }
  .locales[data-carrusel-m] > .local {
    flex: 0 0 82%; scroll-snap-align: start; align-content: space-between;
    padding: var(--s4); background: #fff; border: 1px solid var(--piedra-2); border-radius: var(--r-l);
  }
}

/* ---------- Calculadora de m² ---------- */
.calc-btn {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 6px 0;
  border: 0; background: none; color: var(--azul); font-weight: 700; font-size: .85rem; text-decoration: underline; text-underline-offset: 3px;
}
.calc-btn .ic { width: 18px; height: 18px; }
.m2__prod { font-size: .85rem; color: var(--texto-2); margin-top: 2px; }
.m2 { display: grid; gap: var(--s4); }
.m2__ayuda { font-size: .9rem; color: var(--texto-2); }
.m2__medidas { display: grid; grid-template-columns: 1fr auto 1fr; gap: var(--s2); align-items: end; }
.m2__medidas input { width: 100%; min-height: 52px; padding: 10px 12px; border: 1px solid var(--junta); border-radius: var(--r-m); font-size: 1.15rem; font-weight: 700; }
.m2__medidas input[aria-invalid="true"] { border-color: #B42318; box-shadow: 0 0 0 3px #FDE7E5; }
.m2__por { font-size: 1.4rem; font-weight: 700; color: var(--texto-2); padding-bottom: 12px; }
.m2__res { padding: var(--s4); border-radius: var(--r-m); background: var(--piedra); border: 1px solid var(--piedra-2); text-align: center; }
.m2__sup, .m2__nota { font-size: .85rem; color: var(--texto-2); }
.m2__total { margin: 4px 0; font-size: 1.1rem; color: var(--azul); font-weight: 700; }
.m2__total strong { font-size: 2.4rem; letter-spacing: -.02em; }


/* ---------- Calculadora de obra ---------- */
.obra { background: #fff; }
.obra__grid { display: grid; gap: var(--s5); margin-top: var(--s5); align-items: start; }
@media (min-width: 960px) { .obra__grid { grid-template-columns: 1.15fr .85fr; gap: var(--s6); } }
.obra__panel { display: grid; gap: var(--s5); }
.obra__paso { border: 0; padding: 0; margin: 0; min-width: 0; }
.obra__paso > legend { display: flex; align-items: center; gap: var(--s2); font-weight: 800; font-size: 1.05rem; margin-bottom: var(--s3); padding: 0; }
.obra__n { width: 28px; height: 28px; border-radius: 50%; background: var(--azul); color: #fff; display: inline-grid; place-items: center; font-size: .85rem; }
.obra__tipos { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
@media (min-width: 600px) { .obra__tipos { grid-template-columns: repeat(4, 1fr); } }
.tipo { position: relative; }
.tipo input { position: absolute; opacity: 0; }
.tipo span {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center;
  min-height: 84px; padding: var(--s3) var(--s2); border: 1px solid var(--junta); border-radius: var(--r-m);
  background: var(--piedra); font-weight: 700; font-size: .9rem; line-height: 1.2; cursor: pointer; transition: border-color .2s, background-color .2s, color .2s;
}
.tipo span .ic { width: 26px; height: 26px; color: var(--azul); }
.tipo input:checked + span { background: var(--azul); border-color: var(--azul); color: #fff; }
.tipo input:checked + span .ic { color: #fff; }
.tipo input:focus-visible + span { outline: 3px solid var(--verde); outline-offset: 2px; }
.obra__campos { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
@media (min-width: 600px) { .obra__campos { grid-template-columns: repeat(3, 1fr); } }
.obra__campos input { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--junta); border-radius: var(--r-m); background: #fff; font-weight: 700; font-size: 1.05rem; }
.obra__campos input[aria-invalid="true"] { border-color: #B42318; box-shadow: 0 0 0 3px #FDE7E5; }
.obra__campos label { min-height: 2.5em; display: flex !important; align-items: flex-end; }
.obra__sup { display: grid; gap: 6px; margin-bottom: var(--s4); }
.obra__sup > label, .obra__formato label { font-weight: 700; font-size: .875rem; }
.obra__sup select { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--junta); border-radius: var(--r-m); background: #fff; }
.obra__formato { display: grid; gap: 6px; margin-top: 4px; padding-left: var(--s3); border-left: 3px solid var(--junta); }
.obra__art { border: 0; padding: 0; margin: 0 0 var(--s4); display: grid; gap: var(--s2); }
.obra__art legend { font-weight: 700; font-size: .875rem; margin-bottom: var(--s2); padding: 0; }
[data-para][hidden], .obra__formato[hidden] { display: none !important; }
.obra__res { background: var(--piedra); border: 1px solid var(--piedra-2); border-radius: var(--r-l); padding: var(--s4); }
@media (min-width: 960px) { .obra__res { position: sticky; top: calc(var(--header) + 16px); padding: var(--s5); } }
.obra__res h3 { font-size: 1.15rem; font-weight: 800; margin-top: var(--s4); }
.plano { width: 100%; height: auto; display: block; border-radius: var(--r-m); }
.plano__fondo { fill: #fff; }
.plano__amb { stroke: var(--texto); stroke-width: 2; transition: all .35s ease; }
.plano__placa { fill: #F2EEE7; stroke: var(--junta); stroke-width: 1; }
.plano__abertura { fill: #fff; stroke: var(--azul); stroke-width: 1.5; }
.plano__agua { fill: rgba(42, 120, 160, .12); }
.plano__cota { font: 700 12px "Montserrat", system-ui, sans-serif; fill: var(--texto-2); }
.obra__sup-txt { font-size: .85rem; color: var(--texto-2); margin-top: 4px; }
.obra__lista { list-style: none; margin-top: var(--s3); display: grid; gap: 1px; background: var(--junta); border: 1px solid var(--junta); border-radius: var(--r-m); overflow: hidden; }
.obra__lista:empty { display: none; }
.obra__lista li { display: grid; grid-template-columns: 84px 1fr; gap: var(--s3); align-items: center; padding: 10px 12px; background: #fff; font-size: .9rem; }
.obra__lista .cant-txt { font-weight: 800; color: var(--azul); font-size: 1rem; white-space: nowrap; }
.obra__lista small { display: block; color: var(--texto-2); font-size: .78rem; }
.obra__nota { margin-top: var(--s3); font-size: .78rem; color: var(--texto-2); }
.obra__envio { margin-top: var(--s4); display: grid; gap: var(--s3); }
.obra__envio select { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--junta); border-radius: var(--r-m); background: #fff; max-width: none; }
.link-obra { border: 0; background: none; padding: 6px; color: var(--azul); font-weight: 700; font-size: .85rem; text-decoration: underline; text-underline-offset: 3px; justify-self: center; }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  html { scroll-behavior: auto; }
}
