/* Medidas pensadas para 1440 px de ancho. Cortes: 991 px (menú y ficha) y 767 px (celular). */
:root {
  --fondo: #faf7f6;
  --rojo: #d00013;
  --venta: #d63a2f;
  --verde: #22cd5b;
  --linea: #ccc;
  --lado: clamp(15px, 3.89vw, 56px);
  --curva: cubic-bezier(.33, 0, 0, 1);
  --titulos: Poppins, Arial, sans-serif;
}

*, ::before, ::after { box-sizing: border-box; margin: 0; }
html { color-scheme: light; -webkit-text-size-adjust: 100%; }
/* Con un cajón abierto la página no se mueve, y el hueco de la barra de desplazamiento queda igual de oscuro */
html { background: var(--fondo); transition: background .4s; }
html:has(dialog:modal) { overflow: hidden; scrollbar-gutter: stable; background: #323131; }
html:has(.modal:modal) { background: #646362; }
body { min-height: 100vh; overflow-x: clip; background: var(--fondo); color: #000; font: 400 14px/1.4 Montserrat, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--titulos); font-weight: 600; line-height: 1.2; letter-spacing: -.025em; text-wrap: balance; }
h3 { letter-spacing: 0; }
button, input, textarea, select { font: inherit; color: inherit; letter-spacing: inherit; }
button { padding: 0; border: 0; background: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
fieldset { min-width: 0; padding: 0; border: 0; }
legend { padding: 0; }
dialog { padding: 0; border: 0; color: inherit; background: var(--fondo); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #000; outline-offset: 2px; }
main:focus { outline: 0; }
.oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.ico { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
/* Las estrellas son una sola caja con máscara: admite medias, como 4.6 */
.estrellas { display: inline-block; flex: none; margin-left: calc(var(--t, 14px) * -.15); width: calc(var(--t, 14px) * 5.6); height: var(--t, 14px); background: linear-gradient(90deg, var(--venta) calc(var(--n) * 20%), #dcd6d4 0);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-1.4 0 26.8 24'%3E%3Cpath d='m12 1.200 3.300 7.100 7.700.9-5.700 5.300 1.500 7.700L12 18.400l-6.800 3.800 1.500-7.700L1 9.200l7.700-.9z'/%3E%3C/svg%3E") 0 0 / 20% 100%;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-1.4 0 26.8 24'%3E%3Cpath d='m12 1.200 3.300 7.100 7.700.9-5.700 5.300 1.500 7.700L12 18.400l-6.800 3.800 1.500-7.700L1 9.200l7.700-.9z'/%3E%3C/svg%3E") 0 0 / 20% 100%; }

.boton { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 62px; padding: 8px 24px; border-radius: 50px; background: #000; color: #fff; font: 600 16px/1.2 var(--titulos); text-align: center; transition: background .3s; }
.boton.rojo { background: var(--rojo); }
@media (hover: hover) {
  .boton.negro:hover { background: var(--rojo); }
  .boton.rojo:hover { background: #000; }
}
.boton.verde { background: var(--verde); }
.boton:disabled { background: #bab9b9; cursor: not-allowed; }

/* ---------- Aviso, cabecera y menú */
.anuncio { position: relative; z-index: 20; padding: 5px 15px; background: var(--fondo); text-align: center; text-transform: uppercase; }
.cabecera { position: relative; z-index: 20; display: flex; align-items: center; min-height: 100px; padding: 0 56px; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .07); }
.logo { flex: none; width: 140px; margin-right: 30px; }
.nav { flex: 1; margin-right: 53px; }
.nav > ul { display: flex; flex-wrap: wrap; justify-content: center; }
.nav > ul > li > a { display: flex; align-items: center; gap: 6px; padding: 25px 20px; font: 600 16px/19.2px var(--titulos); transition: color .2s; }
.nav .ico { width: 8px; height: 8px; stroke-width: 4; transition: transform .2s; }
.nav > ul > li:is(:hover, :focus-within):not(.cerrado) > a { color: #8c8c8c; }
.nav > ul > li:is(:hover, :focus-within):not(.cerrado) > a .ico { transform: scaleY(-1); }
.iconos { display: flex; align-self: stretch; }
.iconos > * { position: relative; display: grid; place-items: center; width: 71px; border-right: 1px solid #d9d9d9; transition: color .2s; }
.iconos > :hover { color: var(--rojo); }
.iconos b { position: absolute; top: calc(50% - 17px); left: calc(50% + 3px); display: grid; place-items: center; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--rojo); color: #fff; font-size: 10px; line-height: 1; }
.iconos b:empty { display: none; }
.hamburguesa { display: none; }

.mega { position: absolute; left: 0; right: 0; max-height: min(671px, 100vh - 110px); padding: 40px 56px 50px; overflow: auto; background: #fff; border-top: 1px solid rgba(0, 0, 0, .15); border-radius: 0 0 20px 20px; box-shadow: 0 10px 6px -5px rgba(0, 0, 0, .15); display: none; clip-path: inset(0 0 100%); transition: clip-path .2s var(--curva), display .2s allow-discrete; }
.mega li { transition: opacity .5s .2s; }
li:is(:hover, :focus-within):not(.cerrado) > .mega { z-index: 1; display: block; clip-path: inset(0 0 -20px); }
@starting-style {
  li:is(:hover, :focus-within):not(.cerrado) > .mega { clip-path: inset(0 0 100%); }
  .mega li { opacity: 0; }
}
.mega .mosaico { grid-template-columns: repeat(6, minmax(0, 200px)); justify-content: space-between; gap: 28px clamp(14px, 1.6vw, 34px); }
.mega .mosaico a { padding: 8px 10px; }
.mega .textos { display: flex; gap: 34px; padding: 4px 0 10px; }
.mega .textos a { display: block; width: 200px; padding: 0 16px; font: 600 16px/1.4 var(--titulos); text-align: center; transition: color .2s; }
.mega .textos a:hover { color: var(--rojo); }
.velo { position: fixed; inset: 0; z-index: 15; background: rgba(0, 0, 0, .8); opacity: 0; pointer-events: none; transition: opacity .3s; }
body:has(.nav > ul > li:is(:hover, :focus-within):not(.cerrado) > .mega) .velo { opacity: 1; }

.mosaico { display: grid; }
.mosaico a { display: block; font: 600 12px/15.6px var(--titulos); text-align: center; }
.cuadro { display: block; margin-bottom: 14px; overflow: hidden; isolation: isolate; aspect-ratio: 1; border-radius: 16px; background: #e9e7e5; }
.cuadro img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .6s var(--curva); }
.mosaico a:hover img { transform: scale(1.08); }

/* ---------- Catálogo */
#titulo, .ayuda h1 { padding: clamp(20px, 2.8vw, 40px) 15px clamp(36px, 3.5vw, 50px); font-size: clamp(55px, 6.6vw, 95px); text-align: center; overflow-wrap: anywhere; }
.barra { display: flex; align-items: center; justify-content: space-between; padding: 0 var(--lado) 30px; }
.abre-filtros { display: none; }
#filtrar, #formFiltros { display: contents; }
#filtrar .cajon-cab { display: none; }
.pildora { display: flex; align-items: center; gap: 20px; width: min(700px, 50vw); height: 76.8px; padding-left: 20px; border: 1px solid var(--linea); border-radius: 50px; background: #fff; }
.filtro { position: relative; }
.filtro > button { display: flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 50px; font: 600 16px/1.2 var(--titulos); transition: background .2s; }
.filtro > button:is(:hover, [aria-expanded=true]) { background: var(--fondo); }
.filtro > button .ico { width: 8px; height: 8px; stroke-width: 4; }
.filtro > button[aria-expanded=true] .ico { transform: scaleY(-1); }
.orden { display: flex; align-items: center; gap: 10px; }
.orden > button { padding: 0; font: inherit; }
.panel { position: absolute; z-index: 10; top: calc(100% + 20px); left: 0; display: none; width: 222px; padding: 20px; border: 1px solid var(--linea); border-radius: 10px; background: #fff; }
[aria-expanded=true] + .panel { display: block; animation: aparece .2s; }
@keyframes aparece { from { opacity: 0; transform: translateY(8px); } }
.panel h3 { margin-bottom: 10px; font-size: 18px; }
#f-stock h3 { display: none; }
.orden .panel, #ordenResenas { top: calc(100% + 10px); left: auto; right: 0; width: 266px; max-height: 300px; overflow: auto; }
.opcion { display: flex; align-items: center; gap: 10px; min-height: 34.6px; cursor: pointer; }
.opcion input { flex: none; width: 20px; height: 20px; margin: 0; border: 1px solid #000; border-radius: 50%; appearance: none; cursor: inherit; }
.opcion input:checked { background: radial-gradient(#000 52%, #fff 58%); }
.opcion:has(:disabled) { opacity: .4; cursor: default; }
.panel-precio { width: 268px; }
.rango { position: relative; height: 16px; margin: 6px 0 18px; }
.rango::before, .rango i { content: ""; position: absolute; top: 5.5px; bottom: 5.5px; left: 0; right: 0; background: #ddd; }
.rango i { background: #000; }
.rango input { position: absolute; inset: 0; width: 100%; height: 16px; margin: 0; appearance: none; background: none; pointer-events: none; }
.rango input::-webkit-slider-thumb { width: 16px; height: 16px; border: 2px solid #000; border-radius: 50%; appearance: none; background: #fff; cursor: grab; pointer-events: auto; }
.rango input::-moz-range-thumb { box-sizing: border-box; width: 16px; height: 16px; border: 2px solid #000; border-radius: 50%; background: #fff; cursor: grab; pointer-events: auto; }
.panel-precio label { display: inline-block; width: calc(50% - 10px); }
.panel-precio label + label { margin-left: 20px; }
.panel-precio label span { display: flex; align-items: center; gap: 5px; height: 50px; margin-top: 6px; padding: 0 18px; border: 1px solid #bab9b9; border-radius: 8px; }
.panel-precio label span:focus-within { border-color: #000; box-shadow: inset 0 0 0 1px #000; }
input[type=number] { appearance: textfield; -moz-appearance: textfield; }
input[type=number]::-webkit-inner-spin-button { appearance: none; margin: 0; }
.panel-precio input[type=number] { width: 100%; border: 0; outline: 0; background: none; }

.grilla { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding: 0 var(--lado); }
.nada { grid-column: 1 / -1; padding: 60px 0; text-align: center; font-size: 16px; }
.tarjeta { opacity: 0; transform: scale(.9); transition: opacity .5s calc(var(--i) * 80ms), transform .5s calc(var(--i) * 80ms) var(--curva); }
.tarjeta.visto { opacity: 1; transform: none; }
.tarjeta form { position: relative; display: grid; grid-template-columns: 100%; overflow: hidden; height: 100%; border-radius: 10px; background: #fff; }
.tarjeta form > * { grid-column: 1; }
.foto { position: relative; grid-row: 1; overflow: hidden; aspect-ratio: 5 / 6; }
.foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--curva); }
.ref { position: absolute; bottom: 10px; left: 50%; padding: 4px 10px; border-radius: 20px; background: #f0eceb; color: #5c5654; font-size: 11px; line-height: 1.2; white-space: nowrap; transform: translateX(-50%); }
.insignias { position: absolute; top: 15px; left: 15px; display: grid; justify-items: start; gap: 8px; pointer-events: none; }
.insignias span { padding: 8px 10px; border-radius: 4px; background: var(--venta); color: #fff; font-weight: 500; font-size: 12px; line-height: 12px; text-transform: uppercase; }
.insignias .agotado { background: #000; }
.detalle { position: relative; grid-row: 2; padding: 12px 20px; }
.detalle h2 { font: 400 14px/19.6px Montserrat, Arial, sans-serif; letter-spacing: 0; }
.detalle a::after { content: ""; position: absolute; inset: 0; }
.precios s { color: #3d3d3d; }
.detalle .precios { display: flex; flex-wrap: wrap; column-gap: 8px; margin-top: 4px; }
.detalle .precios span { font: 600 14px/19.6px var(--titulos); }
.rapido, .agregar { display: none; }

@media (hover: hover) {
  .tarjeta:is(:hover, :focus-within) .foto img { transform: scale(1.1); }
  .rapido { position: relative; z-index: 1; grid-row: 1; align-self: end; margin: 0 7px; padding: 25px 25px 5px; border-radius: 10px 10px 0 0; background: rgba(255, 255, 255, .95); transform: translateY(100%); clip-path: inset(0 0 100%); transition: transform .3s var(--curva), clip-path .3s var(--curva), display .3s allow-discrete; }
  .agregar { position: relative; z-index: 1; grid-row: 2; display: grid; place-self: center end; place-items: center; width: 42px; height: 42px; margin-right: 20px; border-radius: 50%; background: #000; color: #fff; opacity: 0; transform: translateX(62px); transition: transform .4s var(--curva), opacity .4s, background .3s; }
  .agregar:hover { background: var(--rojo); }
  .agregar:focus-visible { opacity: 1; transform: none; }
  .tarjeta:is(:hover, :focus-within) .rapido { display: block; transform: none; clip-path: inset(0); }
  @starting-style { .tarjeta:is(:hover, :focus-within) .rapido { transform: translateY(100%); clip-path: inset(0 0 100%); } }
  .tarjeta:is(:hover, :focus-within) .agregar { opacity: 1; transform: none; }
}

/* Color, talla y corte: iguales en la tarjeta y en la ficha, cambia el tamaño */
.op { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 15px; }
.op legend, .titulin { margin-bottom: 8px; font: 600 14px/1.4 var(--titulos); }
.op legend span { font-family: Montserrat, Arial, sans-serif; font-weight: 400; }
.op label { position: relative; cursor: pointer; }
.op input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.op label span { display: grid; place-items: center; min-width: var(--chip-w, 45px); height: var(--chip-h, 35px); padding: 0 4px; border: 1px solid #000; border-radius: 4px; background: #fff; font-size: 12px; transition: background .2s, color .2s; }
.op label:hover span { background: #eee; }
.op :checked + span, .op label:hover :checked + span { background: #000; color: #fff; }
.op label img { width: var(--punto, 26px); height: var(--punto, 26px); border: 1px solid transparent; border-radius: 50%; object-fit: cover; background: #fff; transition: padding .2s; }
.op :checked + img { padding: 4px; border-color: #000; }
.op :focus-visible + * { outline: 2px solid var(--rojo); outline-offset: 2px; }

.paginas { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 80px; padding: 40px 15px 20px; }
.paginas button { font-weight: 700; font-size: 12px; }
.paginas .num { width: 44px; height: 44px; border: 1px solid var(--linea); border-radius: 50%; font-weight: 400; font-size: 16px; transition: background .2s, color .2s; }
.paginas .num:is(:hover, [aria-current]) { border-color: #000; background: #000; color: #fff; }
.paginas button:disabled { opacity: .35; cursor: default; }

/* ---------- Ficha del producto */
.conteo { position: sticky; top: 0; z-index: 12; display: flex; align-items: center; justify-content: center; gap: 12px; height: 41px; background: #000; color: #fff; font-weight: 800; text-transform: uppercase; }
.conteo svg { width: 15px; height: 17px; fill: #ffb020; }
.conteo em { color: #ff3b30; font-style: normal; }
.conteo time { font-size: 18.9px; font-variant-numeric: tabular-nums; }
.conteo button { position: absolute; right: 9.2%; display: grid; place-items: center; width: 30px; height: 30px; }
.conteo button .ico { width: 7px; height: 7px; stroke-width: 3; }
.conteo :focus-visible { outline-color: #fff; }

.ficha { position: relative; display: grid; grid-template-columns: 100%; margin-top: 20px; }
.ficha > * { grid-area: 1 / 1; }
.galeria { display: flex; align-self: start; gap: 2px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.galeria::-webkit-scrollbar { display: none; }
.galeria::after { content: ""; flex: 0 0 62%; background: #fff; }
.galeria figure { position: relative; flex: 0 0 38%; overflow: hidden; aspect-ratio: 5 / 6; background: #fff; scroll-snap-align: start; }
.galeria img { width: 100%; height: 100%; object-fit: cover; }
.galeria .lupa img { transform: scale(2.1); transform-origin: 50% 42%; }
.galeria figure:first-child img { view-transition-name: prenda; }
.flechas { z-index: 1; display: flex; gap: 10px; align-self: start; justify-self: start; margin: calc(38vw * 1.2 - 76px) 0 0 56px; }
.flechas button { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 10px; background: #fff; transition: background .2s; }
.flechas button:hover { background: #f0eceb; }
.flechas .ico { stroke-width: 1.2; }
.flechas button + button .ico { transform: scaleX(-1); }
.compra { z-index: 2; justify-self: end; width: clamp(440px, 40vw, 620px); margin: 22px 56px 0 0; padding: 30px; border-radius: 14px; background: #fff; box-shadow: 0 0 12px rgba(0, 0, 0, .1); --chip-w: 60px; --chip-h: 48px; --punto: 32px; }
.compra h1 { font-size: clamp(30px, 3.13vw, 45px); }
.media { display: flex; align-items: center; gap: 7px; margin: 6px 0 24px; font-size: 16px; --t: 16px; }
.media:hover { text-decoration: underline; }
.compra .precios { margin-bottom: 7px; font-size: 25px; line-height: 35px; }
.compra .precios s { margin-left: 4px; font-size: 14px; vertical-align: 2px; }
.compra .op { margin-bottom: 24px; }
.cantidad { display: inline-flex; align-items: center; justify-content: space-between; border: 1px solid #000; border-radius: 50px; background: #fff; }
.cantidad button { display: grid; place-items: center; width: 50px; height: 50px; }
.cantidad .ico { width: 11px; height: 11px; stroke-width: 4; stroke-linecap: butt; }
.cantidad input { width: 40px; height: 50px; border: 0; background: none; text-align: center; }
.datos { margin: 22px 0 18px; }
.datos li { display: flex; align-items: center; gap: 10px; min-height: 32px; }
.datos .ico { width: 20px; height: 20px; stroke-width: 2; }
.caja-gris { display: flex; gap: 10px; margin-bottom: 25px; padding: 14px 18px; border-radius: 8px; background: #eee; }
.caja-gris .ico { margin-top: 2px; width: 16px; height: 16px; }
.caja-gris small { display: block; margin: 2px 0 8px; font-size: 12px; }
.caja-gris a, .enlace { font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.botones { display: flex; gap: 10px; }
.botones > * { flex: 1; }

.gustar { margin-top: 60px; }
.gustar-cab { display: flex; align-items: center; gap: 6px; padding: 0 12px 12px 20px; }
.gustar-cab h2 { flex: 1; font: 700 17px/1.4 Montserrat, Arial, sans-serif; letter-spacing: 0; }
.gustar-cab button { display: grid; place-items: center; width: 34px; height: 34px; }
.gustar-cab .ico { width: 11px; height: 11px; stroke-width: 3.5; transform: rotate(90deg); }
.gustar-cab button + button .ico { transform: rotate(-90deg); }
.carrusel { position: relative; display: flex; gap: 10px; padding: 0 2px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.carrusel::-webkit-scrollbar { display: none; }
.mini { display: flex; align-items: center; gap: 12px; flex: 0 0 352px; min-height: 90px; padding: 10px 14px 10px 20px; border: 1px solid #d8d4d3; border-radius: 8px; background: #fff; scroll-snap-align: start; }
.mini img { width: 57px; aspect-ratio: 5 / 6; object-fit: cover; }
.mini div { flex: 1; min-width: 0; }
.mini h3 { font: 400 14px/20px Montserrat, Arial, sans-serif; }
.mini .precios span { color: var(--venta); }
.mini .precios s, .mini select { color: #6f7689; }
.mini select, .juntos select { width: 100%; padding: 0 16px 0 0; border: 0; border-radius: 0; text-overflow: ellipsis; cursor: pointer; appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236f7689' stroke-width='3'%3E%3Cpath d='m3 7 9 9 9-9'/%3E%3C/svg%3E") right center / 11px no-repeat; }
.mini button { flex: none; display: flex; align-items: center; gap: 7px; height: 46px; padding: 0 14px; border-radius: 4px; background: #202223; color: #fff; transition: background .3s; }
.mini button:hover { background: var(--rojo); }
.mini button .ico { width: 9px; height: 9px; stroke-width: 3; }

.info { padding: 0 var(--lado); }
.franja { display: grid; grid-template-columns: 5fr 7fr; align-items: center; min-height: 400px; margin-top: 70px; overflow: hidden; border-radius: 14px; background: #fff; }
.franja-foto { position: relative; align-self: stretch; overflow: hidden; }
.franja-foto img { position: absolute; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--curva); }
.franja:hover .franja-foto img { transform: scale(1.06); }
.franja > div + div { padding: 40px; }
.franja h2 { margin-bottom: 14px; font-size: clamp(32px, 4.3vw, 62px); }
.franja p { max-width: 680px; font-size: 16px; line-height: 22.4px; }
.gigante { margin: 80px 0 34px; font-size: clamp(34px, 4.5vw, 65px); text-align: center; }
.gigante em { color: transparent; font-style: normal; -webkit-text-stroke: 1px var(--rojo); }
.dos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dos > * { min-height: 314px; overflow: hidden; border-radius: 14px; }
.tarjeta-gris { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px; background: #ededed; text-align: center; }
.tarjeta-gris h3 { margin-bottom: 10px; font-size: clamp(25px, 2.43vw, 35px); letter-spacing: -.025em; }
.tarjeta-gris p { max-width: 420px; text-wrap: balance; }
.acercado { position: relative; background: #111; }
.acercado img { position: absolute; top: 0; left: 50%; width: 100%; max-width: none; transform: translate(-50%, -19%) scale(1.5); transition: transform 1.2s var(--curva); }
.acercado:hover img { transform: translate(-50%, -19%) scale(1.75); }
.bajada { max-width: 1290px; margin: -18px auto 34px; font-size: 16px; line-height: 22.4px; text-align: center; text-wrap: balance; }

.cortes { container-type: inline-size; display: flex; gap: 20px; }
.corte { --mitad: calc((100cqw - 40px) / 4); position: relative; display: flex; flex: 1 1 0; min-width: 0; height: 419px; overflow: hidden; border-radius: 14px; background: #fff; transition: flex-grow .6s var(--curva); }
.corte.activo { flex-grow: 2; }
.corte-foto { flex: none; display: flex; flex-direction: column; width: var(--mitad); padding: 20px 10px 10px; background: #e3e3e3; text-align: center; }
.corte:nth-child(2) .corte-foto { background: #7b7b7b; color: #fff; }
.corte-foto h3 { font: 800 16px/1.2 Montserrat, Arial, sans-serif; text-transform: uppercase; }
.dibujo { position: relative; flex: 1; min-height: 0; margin: 14px auto 12px; aspect-ratio: 460 / 437; }
.dibujo img { width: 100%; height: 100%; }
.corte:nth-child(1) .dibujo img { scale: .88 1; }
.corte:nth-child(3) .dibujo img { scale: 1 .87; }
.dibujo::before, .dibujo::after { content: ""; position: absolute; z-index: 1; background: #fff; opacity: .8; }
.dibujo::before { top: 55%; left: 22%; right: 22%; height: 1px; }
.dibujo::after { top: 12%; bottom: 8%; left: 37%; width: 1px; }
.dibujo b { position: absolute; z-index: 1; color: #fff; font-size: 8px; line-height: 1; letter-spacing: .03em; }
.dibujo b:first-of-type { top: 58%; right: 26%; }
.dibujo b:last-of-type { bottom: 12%; left: 40%; }
.corte:nth-child(2) .dibujo::before, .corte:nth-child(2) .dibujo::after { background: #555; }
.corte:nth-child(2) .dibujo b { color: #555; }
.corte table { width: 100%; padding: 8px 6px; border-radius: 8px; background: #c8c8c8; font-size: 10.5px; line-height: 17.5px; }
.corte:nth-child(2) table { background: #111; }
.corte th { font-size: 9px; font-weight: 800; text-transform: uppercase; }
.corte-texto { flex: none; width: var(--mitad); padding: 70px 30px 20px; font-size: 16px; line-height: 22.4px; opacity: 0; transition: opacity .3s; }
.corte.activo .corte-texto { opacity: 1; transition: opacity .5s .25s; }
.corte-texto h3 { margin-bottom: 18px; font-size: 25px; }
.corte > b { position: absolute; right: 26px; bottom: 26px; color: transparent; font: 600 70px/1 var(--titulos); letter-spacing: -.03em; -webkit-text-stroke: 1px #cfcfcf; opacity: 0; transition: opacity .3s; pointer-events: none; }
.corte.activo > b { opacity: 1; transition: opacity .5s .25s; }

.ventajas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.ventajas li { display: flex; flex-direction: column; justify-content: flex-end; min-height: 314px; padding: 30px; border-radius: 14px; background: #f1f1f1; }
.ventajas i { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 40px; border: 1px solid #000; border-radius: 50%; transition: background .3s, color .3s; }
.ventajas li:hover i { background: #000; color: #fff; }
.ventajas .ico { width: 20px; height: 20px; }
.ventajas h3 { min-height: 60px; font-size: clamp(18px, 1.74vw, 25px); }

/* ---------- Reseñas */
.resenas { padding: 110px clamp(15px, 3.3vw, 47px) 20px; }
.resenas > h2 { max-width: 1250px; margin: 0 auto 80px; font: 400 clamp(34px, 5.2vw, 75px)/1.2 Montserrat, Arial, sans-serif; text-align: center; }
.resenas-cab { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; font-size: 16px; }
#resumen { flex: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; --t: 24px; }
.boton-linea { min-height: 40px; padding: 8px 12px; border: 1px solid #e6e1df; background: none; font-size: 16px; transition: border-color .2s; }
.boton-linea:hover { border-color: #000; }
.resenas .filtro > button { min-width: 38px; padding: 0 9px; border-radius: 0; }
.resenas .filtro > button .ico { width: 18px; height: 18px; stroke-width: 1.8; transform: none; }
#ordenResenas { width: 220px; }
.muro { display: flex; align-items: flex-start; gap: 14px; }
.muro > div { flex: 1; min-width: 0; }
.resena { display: block; width: 100%; margin-bottom: 14px; background: #fff; text-align: left; box-shadow: 0 0 3px rgba(0, 0, 0, .12); transition: box-shadow .3s; }
.resena:hover { box-shadow: 0 6px 22px rgba(0, 0, 0, .14); }
.resena > img { width: 100%; }
.resena-txt { display: block; padding: 16px; }
.resena-txt > * { display: block; }
.resena .quien, .modal-resena .quien { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; }
.verificada { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; }
.verificada .ico { width: 12px; height: 12px; }
.resena small { margin: 3px 0 10px; color: #6d6d6d; font-size: 11px; }
.resena .estrellas { margin-bottom: 8px; }
.resena .tipo { margin-top: 8px; font-size: 13px; }
.resena .tipo i { display: block; color: #757575; font-size: 11px; font-style: normal; }
.resena .cosa { display: flex; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #e3e3e3; font-size: 11px; }
.resena .cosa img { width: 56px; aspect-ratio: 1; object-fit: cover; }
.solo-tu { margin-bottom: 8px; color: #8a5300; font-size: 11px; }

.juntos { margin: 60px var(--lado) 0; padding: clamp(18px, 2.2vw, 32px); border-radius: 14px; background: #fff; }
.juntos h2 { margin-bottom: 18px; font-size: 25px; }
.juntos li { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; padding: 10px 18px; border: 1px solid #d8d4d3; border-radius: 8px; transition: opacity .2s; }
.juntos li:not(:has([type=checkbox]:checked)) { opacity: .5; }
.juntos [type=checkbox] { flex: none; width: 20px; height: 20px; margin: 0; accent-color: #000; }
.juntos img { width: 60px; aspect-ratio: 5 / 6; object-fit: cover; }
.juntos li div { flex: 1; min-width: 0; }
.juntos select { display: block; width: auto; max-width: 100%; margin-top: 4px; color: #6f7689; }
.juntos li > b { font: 600 16px/1.2 var(--titulos); white-space: nowrap; }
.juntos .boton { flex-wrap: wrap; gap: 0 8px; width: 100%; margin-top: 8px; border-radius: 8px; }
.juntos .boton > * { white-space: nowrap; }
.juntos s { opacity: .65; font-weight: 400; }

.ayuda { max-width: 900px; margin: auto; padding: 0 var(--lado); }
.ayuda details { border-top: 1px solid var(--linea); font-size: 16px; line-height: 1.6; }
.ayuda details:last-child { border-bottom: 1px solid var(--linea); }
.ayuda summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; font: 600 20px/1.3 var(--titulos); cursor: pointer; list-style: none; }
.ayuda summary::-webkit-details-marker, .bolsa-pie summary::-webkit-details-marker { display: none; }
.ayuda summary .ico { width: 14px; height: 14px; transition: transform .3s; }
.ayuda [open] summary .ico { transform: rotate(45deg); }
.ayuda details p { padding-bottom: 24px; }

/* ---------- Pie */
footer { margin-top: 80px; padding: 70px var(--lado) 80px; border-radius: 50px 50px 0 0; background: #030303; color: #a3a3a3; }
.pie { display: grid; grid-template-columns: 34.5% 1fr; row-gap: 50px; }
.pie-marca > img { width: 100px; filter: invert(1); }
.redes { display: flex; gap: 6px; margin-top: 25px; }
.redes a { display: grid; place-items: center; width: 54px; height: 54px; border: 1px solid #a3a3a3; border-radius: 50%; transition: background .3s, color .3s; }
.redes a:hover { background: #fff; color: #000; }
.redes .ico { width: 20px; height: 20px; }
.pie-menu { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 30px; }
.pie h3 { font-size: 20px; line-height: 24px; color: #fff; }
.pie-menu li { padding-top: 10px; }
.pie-menu li a, .pie-links a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s, color .35s; }
.pie-menu li a:hover, .pie-links a:hover { color: #fff; background-size: 100% 1px; }
.pie-menu li:has(.ico) { display: flex; align-items: center; gap: 8px; }
.pie-menu li .ico { width: 16px; height: 16px; }
.apunta { display: flex; align-items: center; margin-top: 14px; padding-bottom: 14px; border-bottom: 1px solid #333; }
.apunta:focus-within { border-color: #fff; }
.apunta input { flex: 1; min-width: 0; height: 34px; border: 0; outline: 0; background: none; color: #fff; }
.apunta input::placeholder { color: #8d8d8d; }
.apunta a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #ffc83a; color: #000; transition: transform .3s; }
.apunta a:hover { transform: translateX(4px); }
.apunta .ico { width: 14px; height: 14px; stroke-width: 2; }
.apunta + p { margin-top: 10px; font-size: 12px; }
.pie-links { display: flex; flex-wrap: wrap; gap: 6px 16px; grid-area: 2 / 2; justify-self: start; font-size: 12px; }
.pie-copia { grid-area: 2 / 2; justify-self: end; font-size: 12px; }
footer :focus-visible { outline-color: #fff; }

/* ---------- Cajones: buscar, bolsa, menú y filtros */
.cajon::backdrop, .modal::backdrop { background: rgba(0, 0, 0, 0); transition: background .4s, overlay .4s allow-discrete, display .4s allow-discrete; }
.cajon[open]::backdrop { background: rgba(0, 0, 0, .8); }
.modal[open]::backdrop { background: rgba(0, 0, 0, .6); }
#menu, #buscar, #bolsa { position: fixed; inset: 30px 30px 30px auto; width: min(600px, 100vw - 60px); max-width: none; height: auto; max-height: none; margin: 0; overflow: hidden; border-radius: 14px; transform: translateX(calc(100% + 30px)); transition: transform .5s var(--curva), overlay .5s allow-discrete, display .5s allow-discrete; }
:is(#menu, #buscar, #bolsa)[open] { display: flex; flex-direction: column; transform: none; }
@starting-style {
  :is(#menu, #buscar, #bolsa)[open] { transform: translateX(calc(100% + 30px)); }
  .cajon[open]::backdrop, .modal[open]::backdrop { background: rgba(0, 0, 0, 0); }
}
.cajon-cab { flex: none; display: flex; align-items: center; justify-content: space-between; padding: 25px 25px 20px 45px; }
.cajon-cab h2 { font-size: 35px; }
.cajon-cab small { margin-left: 4px; font-size: 18px; letter-spacing: 0; vertical-align: 3px; }
.cerrar { display: grid; place-items: center; width: 35px; height: 35px; margin-left: auto; border: 1px solid #000; border-radius: 50%; transition: background .3s, color .3s; }
.cerrar:hover { background: #000; color: #fff; }
.cerrar .ico { width: 12px; height: 12px; stroke-width: 2; }

.buscador { flex: none; position: relative; margin: 0 45px 24px; }
.buscador input { width: 100%; height: 66px; padding: 0 74px 0 30px; border: 1px solid #bab9b9; border-radius: 100px; outline: 0; background: none; font-size: 16px; appearance: none; }
.buscador input:focus { border-color: #000; }
.buscador input::-webkit-search-cancel-button { display: none; }
.buscador button { position: absolute; top: 9px; right: 9px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--rojo); color: #fff; }
.buscador .ico { width: 22px; height: 22px; }
.cajon-cuerpo { flex: 1; padding: 0 45px 30px; overflow-y: auto; }
.cajon h3 { margin-bottom: 10px; font-size: 20px; }
.cajon .mosaico { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 10px; }
.cajon .mosaico a { font-size: 16px; line-height: 19.2px; }
.cajon .cuadro { margin-bottom: 10px; border-radius: 14px; }
.mosaico small { display: block; font: 400 14px/1.4 Montserrat, Arial, sans-serif; }

.bolsa-cuerpo { flex: 1; display: flex; flex-direction: column; min-height: 0; padding: 0 45px 30px; }
.gratis { height: 5px; margin: 10px 0 25px; background: #eee; }
.gratis i { display: block; height: 100%; background: #000; transition: width .5s var(--curva); }
.lineas { flex: 1; min-height: 150px; margin-right: -12px; padding-right: 12px; overflow-y: auto; }
.lineas li { display: grid; grid-template-columns: 125px 1fr auto; gap: 0 15px; margin-bottom: 10px; padding: 10px 25px 10px 10px; border-radius: 10px; background: #fff; }
.lineas img { width: 125px; aspect-ratio: 1; border-radius: 10px; object-fit: cover; }
.lineas div { display: flex; flex-direction: column; align-items: flex-start; padding: 10px 0; font-size: 16px; }
.lineas div + div { align-items: flex-end; }
.lineas div > :last-child { margin-top: auto; }
.lineas h3 { margin: 0 0 5px; font-size: 16px; }
.lineas p { font-size: 12px; }
.lineas .cantidad button { width: 29px; height: 36px; }
.lineas .cantidad span { min-width: 28px; font-size: 14px; text-align: center; }
.tacho { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--fondo); transition: background .3s, color .3s; }
.tacho:hover { background: var(--rojo); color: #fff; }
.tacho .ico { width: 14px; height: 14px; }
.bolsa-pie { flex: none; padding-top: 14px; }
.extras { display: grid; grid-template-columns: auto 1fr; gap: 0 15px; padding-bottom: 18px; border-bottom: 1px dashed var(--linea); }
.extras button { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.extras button + button { padding-left: 15px; border-left: 1px solid var(--linea); }
.extras .ico { width: 16px; height: 16px; }
.extras > div { grid-column: 1 / -1; padding-top: 12px; }
.extras textarea { display: block; width: 100%; }
textarea, .datos-resena :is(input, select) { padding: 12px 15px; border: 1px solid #bab9b9; border-radius: 8px; background: #fff; font-size: 16px; resize: vertical; }
.suma { display: flex; justify-content: space-between; margin-top: 8px; }
.extras + .suma { margin-top: 18px; }
.suma.total { margin: 8px 0 14px; font: 600 25px/30px var(--titulos); }
.bolsa-pie .botones .negro { flex: 0 1 167px; padding: 8px 12px; }
.bolsa-pie > small { display: block; margin-top: 14px; font-size: 12px; }
.vacia { display: grid; justify-items: center; gap: 14px; padding: 10px 0 34px; text-align: center; }
.vacia .ico { width: 50px; height: 50px; }
.vacia h2 { font-size: 35px; }
.vacia .enlace { font-size: 16px; }

#menuLista { padding: 0 45px; }
#menuLista a, #menuLista button { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 50px; font: 600 26px/1.2 var(--titulos); text-align: left; }
#menuLista .ico { width: 14px; height: 14px; stroke-width: 3.5; transform: rotate(-90deg); }
#menuLista .boton { display: inline-flex; justify-content: center; width: auto; min-height: 48px; margin-top: 26px; font-size: 14px; }
.menu-raiz, .menu-sub { flex: 1; min-height: 0; padding-bottom: 30px; overflow-y: auto; animation: entra .35s var(--curva); }
.menu-sub { --x: 40px; }
@keyframes entra { from { opacity: 0; transform: translateX(var(--x, -40px)); } }
.volver { display: flex; align-items: center; gap: 10px; width: 100%; padding: 14px 16px; border-bottom: 1px solid var(--linea); }
.volver .ico { width: 10px; height: 10px; stroke-width: 3.5; transform: rotate(90deg); }
.menu-sub .mosaico { grid-template-columns: 1fr 1fr; padding: 24px 10px; }
.menu-sub .textos { padding: 10px 30px; }
.menu-sub .textos a { display: flex; align-items: center; min-height: 50px; font: 600 18px/1.3 var(--titulos); }

/* ---------- Ventanas de reseñas */
.modal { position: fixed; inset: 0; width: min(813px, 100vw - 30px); max-width: none; max-height: calc(100dvh - 40px); margin: auto; border-radius: 8px; background: #fff; opacity: 0; transform: translateY(20px); transition: opacity .3s, transform .3s var(--curva), overlay .3s allow-discrete, display .3s allow-discrete; }
.modal[open] { opacity: 1; transform: none; }
@starting-style { .modal[open] { opacity: 0; transform: translateY(20px); } }
.cerrar-modal { position: absolute; z-index: 1; top: 16px; left: 16px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 6px; }
.cerrar-modal .ico { width: 14px; height: 14px; stroke-width: 2.5; }
.modal-resena[open] { display: grid; grid-template-columns: 54% 1fr; height: min(584px, 100dvh - 40px); overflow: hidden; }
.modal-resena .cerrar-modal { background: rgba(60, 60, 60, .75); color: #fff; }
.modal-resena > img { width: 100%; height: 100%; min-height: 0; object-fit: cover; background: #f0eceb; }
.modal-resena > div { display: flex; flex-direction: column; min-height: 0; padding: 24px; font: 400 16px/24px var(--titulos); }
.modal-resena time { margin-left: auto; color: #6d6d6d; font-size: 12px; }
.modal-resena .estrellas { margin: 4px 0 12px; --t: 18px; }
.modal-resena p { flex: 1; overflow: auto; overflow-wrap: anywhere; white-space: pre-line; }
.modal-resena .prenda { display: grid; grid-template-columns: 46px 1fr; gap: 4px 12px; align-items: center; margin-top: 14px; padding-top: 16px; border-top: 1px solid #ddd; }
.modal-resena .prenda img { grid-row: span 2; width: 46px; aspect-ratio: 5 / 6; object-fit: cover; }
.modal-resena .prenda a { display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding: 6px 12px; border-radius: 4px; background: #f1f1f1; font-size: 13px; }
.modal-resena .prenda .ico { width: 13px; height: 13px; }

.modal-escribir { width: min(768px, 100vw - 30px); min-height: min(680px, 100dvh - 40px); overflow: auto; }
.modal-escribir[open] { display: grid; align-items: center; }
.modal-escribir form, .gracias { width: min(440px, 100% - 40px); margin: 60px auto 40px; }
.puntuar { font-family: var(--titulos); text-align: center; }
.puntuar legend { width: 100%; margin-bottom: 34px; font-size: 20px; }
#puntos { display: flex; justify-content: center; gap: 15px; }
#puntos label { position: relative; cursor: pointer; color: var(--venta); }
#puntos input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
#puntos .ico { display: block; width: 43px; height: 43px; transition: fill .15s, transform .15s; }
#puntos label:is(:hover, :has(~ label:hover)) .ico, #puntos:not(:hover) label:is(:has(:checked), :has(~ label :checked)) .ico { fill: currentColor; }
#puntos label:hover .ico { transform: scale(1.12); }
#puntos :focus-visible + .ico { outline: 2px solid #000; outline-offset: 4px; }
.puntuar p { display: flex; justify-content: space-between; width: 323px; max-width: 100%; margin: 14px auto 0; }
.datos-resena { display: none; gap: 16px; margin-top: 34px; }
form:has(#puntos :checked) .datos-resena { display: grid; animation: aparece .3s; }
.datos-resena label { display: grid; gap: 6px; font-weight: 600; }
.datos-resena :is(input, textarea, select) { width: 100%; font-weight: 400; }
.gracias { display: grid; justify-items: center; gap: 16px; text-align: center; font-size: 16px; line-height: 1.5; }
.gracias > .ico { width: 56px; height: 56px; color: var(--verde); }
.gracias h2 { font-size: 35px; }

/* ---------- Lo que flota: reseña, WhatsApp y volver arriba */
.flota { position: fixed; z-index: 25; left: 10px; bottom: 40px; width: 120px; background: #fff; box-shadow: 0 4px 24px rgba(0, 0, 0, .16); visibility: hidden; transform: translateX(-150%); transition: transform .6s var(--curva), visibility 0s .6s; }
.flota.dentro { visibility: visible; transform: none; transition: transform .6s var(--curva); }
.flota-abre { display: block; width: 100%; font: 400 12.5px/17px var(--titulos); text-align: left; }
.flota-abre > img { width: 120px; height: 160px; object-fit: cover; }
.flota-abre > span { display: block; padding: 9px 8px; overflow-wrap: anywhere; }
.flota-abre b { display: block; font-weight: 600; }
.flota .estrellas { margin: 3px 0 0; --t: 15.5px; }
.flota-abre .cosa { display: flex; align-items: center; gap: 8px; border-top: 1px solid #e3e3e3; color: #555; font-size: 10px; line-height: 13px; }
.cosa img { flex: none; width: 24px; aspect-ratio: 1; object-fit: cover; }
.flota-x { position: absolute; top: -5px; right: -6px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; color: #555; box-shadow: 0 1px 6px rgba(0, 0, 0, .25); }
.flota-x .ico { width: 10px; height: 10px; stroke-width: 2.5; }
.wsp { position: fixed; z-index: 30; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 6px; height: 38px; padding: 7px 14px 7px 11px; border-radius: 6px; background: var(--verde); color: #fff; font-weight: 700; transition: transform .3s; }
.wsp:hover { transform: translateY(-2px); }
.wsp .ico { width: 24px; height: 24px; }
.saludo { position: fixed; z-index: 29; right: 16px; bottom: 64px; border-radius: 5px; background: #fff; color: #374151; font-size: 16px; line-height: 22px; box-shadow: 0 0 5px rgb(211, 211, 211); animation: saluda .8s; }
@keyframes saluda { from { opacity: 0; transform: translateY(14px); } }
.saludo a { display: block; padding: 7px; }
.saludo button { position: absolute; top: -9px; right: -7px; display: grid; place-items: center; width: 17px; height: 17px; border: 1px solid #9aa1ab; border-radius: 50%; background: #fff; }
.saludo button::after { content: ""; position: absolute; inset: -10px; }
.saludo .ico { width: 8px; height: 8px; }
.subir { position: fixed; z-index: 11; right: 23px; bottom: 101px; display: grid; place-items: center; width: 44.5px; height: 44.5px; border: 1px solid #000; border-radius: 50%; background: #fff; visibility: hidden; opacity: 0; transform: translateY(16px); transition: .3s; }
.subir.visto { visibility: visible; opacity: 1; transform: none; }
.subir .ico { width: 11px; height: 11px; stroke-width: 3.5; transform: scaleY(-1); }

::view-transition-old(root), ::view-transition-new(root) { animation-duration: .25s; }
::view-transition-group(prenda) { animation-duration: .5s; animation-timing-function: var(--curva); }

/* ---------- Tableta: menú de hamburguesa y ficha en una columna */
@media (max-width: 991px) {
  .cabecera { display: grid; grid-template-columns: 1fr auto 1fr; min-height: 65px; padding: 0 15px; }
  .nav, .solo-grande { display: none; }
  .logo { width: 80px; margin: 0; }
  .iconos { gap: 16px; justify-self: end; padding-right: 8px; }
  .iconos > * { width: 24px; border: 0; }
  .iconos .ico { width: 24px; height: 24px; }
  .iconos b { top: calc(50% - 18px); left: calc(50% + 2px); }
  .hamburguesa { display: grid; align-items: center; width: 40px; height: 44px; }
  .hamburguesa i, .hamburguesa::before, .hamburguesa::after { content: ""; grid-area: 1 / 1; width: 26px; height: 1.6px; background: #000; }
  .hamburguesa::before { transform: translateY(-8px); }
  .hamburguesa::after { transform: translateY(8px); }
  .grilla { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .ficha { display: block; margin: 0; }
  .galeria { width: auto; }
  .galeria::after { display: none; }
  .galeria figure { flex-basis: min(83.4%, 480px); }
  .flechas { display: none; }
  .compra { justify-self: stretch; width: auto; margin: 0; padding: 26px var(--lado) 0; background: none; box-shadow: none; }
  .conteo button { right: 6px; }
  .franja { grid-template-columns: 1fr; }
  .franja-foto { min-height: 320px; }
  .cortes { display: grid; gap: 14px; }
  .corte { --mitad: 50%; height: auto; min-height: 400px; }
  .corte-texto { flex: 1; opacity: 1; }
  .corte > b { display: none; }
  .ventajas { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ventajas li { min-height: 200px; padding: 22px; }
  .ventajas i { margin-bottom: 24px; }
  .resenas { padding-top: 80px; }
  .resenas > h2 { margin-bottom: 40px; }
  .pie { grid-template-columns: 1fr; }
  .pie-links, .pie-copia { grid-area: auto; justify-self: start; }
}

/* ---------- Celular: dos columnas y cajones que suben desde abajo */
@media (max-width: 767px) {
  input, select, textarea { font-size: 16px; } /* con menos, el iPhone agranda la página al escribir */
  .grilla { grid-template-columns: 1fr 1fr; gap: 10px; }
  .insignias { top: 10px; left: 10px; gap: 5px; }
  .insignias span { padding: 4px 9px; font-size: 13px; }
  .detalle { padding: 11px 15px 10px; }
  .detalle .precios { display: block; margin-top: 2px; }
  .detalle .precios > * { display: block; line-height: 22px; }
  .barra { padding-bottom: 22px; }
  .abre-filtros { display: inline-flex; min-height: 48px; padding: 8px 20px; font-size: 14px; }
  .abre-filtros .ico { width: 20px; height: 20px; }
  #cuantos { font: 600 16px/1.2 var(--titulos); }

  #menu, #buscar, #bolsa, #filtrar { position: fixed; inset: auto 0 0; width: 100%; max-width: none; height: calc(100dvh - 127px); max-height: none; margin: 0; overflow: hidden; border-radius: 14px 14px 0 0; transform: translateY(100%); transition: transform .5s var(--curva), overlay .5s allow-discrete, display .5s allow-discrete; }
  #filtrar { display: none; height: calc(100dvh - 169px); }
  :is(#menu, #buscar, #bolsa, #filtrar)[open] { display: flex; flex-direction: column; transform: none; }
  @starting-style { :is(#menu, #buscar, #bolsa, #filtrar)[open] { transform: translateY(100%); } }
  .cajon-cab, #filtrar .cajon-cab { display: flex; padding: 18px 28px 14px 25px; }
  #filtrar .cajon-cab { padding-left: 30px; }
  .cajon-cab h2 { font-size: 27px; }
  .cerrar { width: 30px; height: 30px; }
  #menu .cajon-cab { padding-top: 25px; }
  #menuLista { padding: 0 28px 0 30px; }
  .buscador { margin: 0 20px 20px; }
  .cajon-cuerpo { padding: 0 20px 30px; }
  .cajon .mosaico a { font-size: 13px; line-height: 17px; }
  .mosaico small { font-size: 12px; }

  .bolsa-cuerpo { padding: 0 25px 20px; }
  .lineas li { grid-template-columns: 90px 1fr auto; gap: 0 12px; padding-right: 15px; }
  .lineas img { width: 90px; }
  .lineas div { gap: 10px; padding: 4px 0; }
  .suma.total { font-size: 20px; }
  .bolsa-pie .boton { min-height: 52px; font-size: 14px; }
  .bolsa-pie .botones .negro { flex-basis: 122px; }

  #formFiltros { display: flex; flex-direction: column; gap: 30px; padding: 26px 30px 40px; overflow-y: auto; }
  .pildora { display: contents; }
  #formFiltros .filtro { display: block; }
  #formFiltros .orden { order: -1; }
  #formFiltros .filtro > button, .orden-etiqueta { display: none; }
  #formFiltros .panel { position: static; display: block; width: auto; max-height: none; padding: 0; overflow: visible; border: 0; background: none; }
  #f-stock h3 { display: block; }
  .panel h3 { font-size: 16px; }

  .conteo { gap: 9px; padding-right: 20px; font-size: 13px; }
  .conteo time { font-size: 17px; }
  .conteo button { right: 2px; }
  .datos li { padding: 6px 0; }
  .compra { padding-top: 24px; }
  .compra .precios { font-size: 20px; }
  .media { margin-bottom: 18px; }
  .botones .boton { min-height: 50px; padding: 8px 14px; font-size: 14px; }
  .mini { flex-basis: calc(100% - 4px); }
  .franja { margin-top: 60px; }
  .franja > div + div { padding: 28px 22px 32px; }
  .gigante { margin: 64px 0 24px; }
  .dos { grid-template-columns: 1fr; gap: 10px; }
  .bajada { margin-top: -8px; font-size: 14px; }
  .corte { flex-direction: column; }
  .corte-foto { width: 100%; min-height: 400px; }
  .corte-texto { width: 100%; padding: 24px 22px 30px; }
  .ventajas li { min-height: 168px; padding: 16px; }
  .resenas-cab { flex-wrap: wrap; }
  #resumen { flex-basis: 100%; margin-bottom: 8px; }
  .muro { gap: 10px; }
  .resena { margin-bottom: 10px; }
  .resena-txt { padding: 12px; }
  .juntos li { gap: 10px; padding: 10px; }
  .juntos img { width: 48px; }
  .juntos li > b { font-size: 14px; }

  .modal-resena[open] { grid-template: minmax(0, 45%) minmax(0, 1fr) / 1fr; height: min(700px, 100dvh - 40px); }
  #puntos { gap: 10px; }
  #puntos .ico { width: 38px; height: 38px; }
  .puntuar p { width: 260px; }

  .pie-menu { grid-template-columns: 1fr 1fr; gap: 34px 20px; }
  .pie-menu > :has(form) { grid-column: 1 / -1; }
  footer { margin-top: 60px; padding: 50px 20px 90px; border-radius: 30px 30px 0 0; }
  .flota { bottom: 110px; }
  .saludo { font-size: 15px; }
}

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