/* Estiba · paleta borravino, verde irlandés y dorado (20/10/2026) */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Paleta Estiba (20/10/2026): borravino, verde irlandés, dorado opaco, blanco y negro */
  --fondo: #efefed;          /* piedra neutra, fondo de bloques */
  --fondo-2: #e4e4e1;
  --papel: #f7f7f5;          /* paneles */
  --blanco: #ffffff;
  --tinta: #000000;
  --tinta-2: #474747;
  --tinta-3: #5c5c5c;
  --linea: #d9d9d5;
  --linea-2: #c4c4bf;
  --verde: #1c4a37;          /* verde irlandés apenas agrisado (21/10): portada y acciones de compra */
  --verde-hondo: #12332a;
  --verde-claro: #dde7e2;
  --borravino: #6d1a2c;      /* marca, ofertas, pie */
  --borravino-hondo: #4e1220;
  --borravino-claro: #f4e4e7;
  --dorado: #b39250;         /* dorado opaco: medidas, La Reserva */
  --dorado-hondo: #7a5f22;
  --dorado-claro: #e6d7b2;
  --carton: #c8a46a;         /* las cajas de la estiba */
  --ambar: var(--dorado);
  --ambar-claro: var(--dorado-claro);
  --error: #a3332b;

  /* Nombres compartidos con panel.css */
  --chapa: var(--blanco);
  --negro: var(--tinta);
  --esmalte: var(--fondo);
  --oro: var(--ambar);
  --rojo: var(--verde);
  --rojo-hondo: var(--verde-hondo);
  --crema-letra: #f3f2ee;
  --f-letra: "Archivo", system-ui, sans-serif;
  --f-texto: "Archivo", system-ui, sans-serif;
  --f-serif: "Source Serif 4", Georgia, "Times New Roman", serif;   /* textos de lectura */

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --sombra-1: 0 1px 2px rgb(22 24 26 / 0.06), 0 2px 10px rgb(22 24 26 / 0.05);
  --sombra-2: 0 10px 30px rgb(22 24 26 / 0.10), 0 2px 6px rgb(22 24 26 / 0.06);
  --sombra-3: 0 30px 80px rgb(22 24 26 / 0.22), 0 6px 18px rgb(22 24 26 / 0.10);

  --r: 0px;
  --gutter: clamp(16px, 4vw, 48px);
  --ancho: 1360px;
  --alto-barra: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--alto-barra) + 72px); scrollbar-color: var(--linea-2) var(--fondo); }
body {
  margin: 0;
  background: var(--fondo);
  color: var(--tinta);
  font: 400 16px/1.55 var(--f-texto);
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: clip; /* clip, no hidden: hidden convierte al body en contenedor de scroll y rompe la barra fija */
}
body.bloqueado { overflow: hidden; }
::selection { background: var(--verde); color: #fff; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--verde); outline-offset: 3px; border-radius: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.num { font-variant-numeric: tabular-nums lining-nums; }
[hidden] { display: none !important; }
.contenedor { width: min(100% - 2 * var(--gutter), var(--ancho)); margin-inline: auto; }

/* Tipografía: una sola familia, ancho variable */
.letra, .titulo {
  font-family: var(--f-letra);
  font-stretch: 118%;
  font-weight: 750;
  letter-spacing: -0.012em;
  line-height: 1.02;
  color: var(--tinta);
}
.letra--crema { color: #f3f2ee; }
.letra--tinta { color: var(--tinta); }

/* ───────── Barra ───────── */
.barra {
  position: sticky; top: 0; z-index: 40;
  transition: background-color 260ms var(--ease-out), box-shadow 260ms var(--ease-out);
}
.barra--fija {
  background: rgb(238 238 235 / 0.86);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 var(--linea);
}
.barra__fila { height: var(--alto-barra); display: flex; align-items: center; gap: clamp(12px, 2.4vw, 32px); }
.marca { display: flex; align-items: baseline; gap: 12px; text-decoration: none; flex: none; }
.marca__nombre { font-stretch: 125%; font-weight: 800; font-size: 22px; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1; }
.marca__bajada { font-size: 13px; font-weight: 500; color: var(--tinta-2); }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a {
  padding: 8px 12px; border-radius: 0;
  text-decoration: none; font-weight: 550; font-size: 15px; color: var(--tinta-2);
  transition: color 160ms var(--ease-out), background-color 160ms var(--ease-out);
}
@media (hover: hover) { .nav a:hover { color: var(--tinta); background: rgb(22 24 26 / 0.05); } }
.menu-boton { display: none; }
.cabina {
  position: relative; flex: none;
  display: flex; align-items: center; gap: 10px;
  height: 44px; padding: 0 16px 0 12px;
  border: 0; border-radius: 0;
  background: var(--verde); color: #fff;
  font-weight: 650;
  box-shadow: var(--sombra-1);
  transition: transform 160ms var(--ease-out), background-color 160ms var(--ease-out);
}
@media (hover: hover) { .cabina:hover { background: var(--verde-hondo); } }
.cabina:active { transform: scale(0.97); }
.cabina__icono { display: grid; place-items: center; }
.cabina__texto { display: flex; gap: 8px; align-items: baseline; }
.cabina__titulo { font-size: 14px; font-weight: 550; opacity: 0.8; }
.cabina__total { font-size: 15px; font-weight: 700; }
.cabina__carga {
  position: absolute; top: -6px; left: -6px;
  min-width: 22px; height: 22px; padding: 0 6px;
  display: grid; place-items: center;
  border-radius: 0; background: var(--ambar-claro); color: var(--tinta);
  font-size: 12px; font-weight: 800; box-shadow: 0 0 0 2px var(--fondo);
}
.cabina.carga-golpe { animation: golpe 360ms var(--ease-out); }
@keyframes golpe { 30% { transform: scale(0.95); } 100% { transform: none; } }
.caja-vuela {
  position: fixed; z-index: 80; width: 54px; height: 68px;
  pointer-events: none; will-change: transform, opacity;
  background-size: contain; background-repeat: no-repeat; background-position: center bottom;
  filter: drop-shadow(0 6px 10px rgb(22 24 26 / 0.18));
}
.caja-vuela--sin { background: var(--verde); border-radius: 0; width: 28px; height: 28px; }

/* ───────── Introducción (estudio) ───────── */
.intro {
  position: relative;
  min-height: calc(100svh - var(--alto-barra));
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg, var(--fondo) 0%, var(--fondo) 58%, var(--fondo-2) 100%);
}
.intro::before {
  /* luz de estudio que recorre el fondo */
  content: ""; position: absolute; inset: -20% -10% 10%; z-index: -1;
  background: radial-gradient(42% 46% at 30% 34%, rgb(255 255 255 / 0.95), rgb(255 255 255 / 0) 70%);
  transform: translateX(26%);
  animation: luz 3.2s var(--ease-out) 200ms both;
}
@keyframes luz { from { transform: translateX(-14%); opacity: 0.4; } }
.intro__cuerpo {
  align-self: center;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 28px clamp(16px, 2.4vw, 32px);
  padding: clamp(24px, 4.5vh, 64px) 0 clamp(16px, 2vh, 28px);
}
.intro__presentacion { grid-column: 1 / -1; margin: -8px 0 0; font-size: 16px; font-weight: 550; color: var(--tinta-2); }
.intro__nombre {
  grid-column: 1 / -1; margin: -6px 0 0;
  font-stretch: 125%; font-weight: 800;
  font-size: clamp(72px, 12vw, 184px);
  line-height: 0.86; letter-spacing: -0.02em;
  text-transform: uppercase;
}
.intro__vision { grid-column: 1 / span 7; margin: 0; font-size: clamp(22px, 2.2vw, 31px); line-height: 1.28; font-weight: 450; letter-spacing: -0.01em; max-width: 30ch; text-wrap: balance; }
.intro__acciones { grid-column: 8 / -1; align-self: end; display: grid; gap: 14px; }
.intro__ideas { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); margin: clamp(4px, 1.5vh, 20px) 0 0; padding: 0; list-style: none; }
.intro__ideas li { padding-top: 16px; border-top: 1px solid var(--linea-2); }
.intro__ideas h2 { margin: 0 0 6px; font-size: 17px; font-weight: 700; font-stretch: 108%; }
.intro__ideas p { margin: 0; font-size: 15px; color: var(--tinta-2); max-width: 40ch; }

.buscador { position: relative; }
.buscador__campo {
  width: 100%; height: 58px; padding: 0 132px 0 52px;
  border: 1px solid var(--linea-2); border-radius: 0;
  background: var(--blanco); color: var(--tinta);
  font-size: 17px;
  box-shadow: var(--sombra-1);
  transition: border-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
  -webkit-appearance: none; appearance: none;
}
.buscador__campo::placeholder { color: var(--tinta-3); }
.buscador__campo:focus { outline: none; border-color: var(--verde); box-shadow: 0 0 0 4px rgb(30 74 58 / 0.14), var(--sombra-1); }
.buscador__lupa { position: absolute; left: 18px; top: 50%; translate: 0 -50%; color: var(--tinta-2); }
.buscador__accion {
  position: absolute; right: 7px; top: 50%; translate: 0 -50%;
  height: 44px; padding: 0 18px; border: 0; border-radius: 0;
  background: var(--verde); color: #fff; font-weight: 650;
  transition: transform 160ms var(--ease-out), background-color 160ms var(--ease-out);
}
@media (hover: hover) { .buscador__accion:hover { background: var(--verde-hondo); } }
.buscador__accion:active { transform: scale(0.97); }
.intro__pie-acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: 14px; color: var(--tinta-2); }
.intro__pie-acciones .boton-borde svg { transition: translate 200ms var(--ease-out); }
@media (hover: hover) { .intro__pie-acciones .boton-borde:hover svg { translate: 0 3px; } }
.intro__enlace { justify-self: start; display: inline-flex; align-items: center; gap: 8px; font-weight: 650; text-decoration: none; color: var(--verde); }
.intro__enlace svg { transition: translate 200ms var(--ease-out); }
@media (hover: hover) { .intro__enlace:hover svg { translate: 0 3px; } }

/* Botellas que asoman al pie de la introducción y suben con el scroll */
.intro__botellas {
  position: relative;
  display: flex; justify-content: center; align-items: flex-end;
  gap: clamp(2px, 1.2vw, 20px);
  height: clamp(150px, 26vh, 290px);
  pointer-events: none;
  overflow: hidden;
}
.intro__botellas img {
  width: clamp(72px, 9.4vw, 168px); height: auto; flex: none;
  translate: 0 calc((1 - var(--sube, 0)) * 26%);
  filter: drop-shadow(0 18px 14px rgb(22 24 26 / 0.12));
}
.intro__botellas img:nth-child(even) { translate: 0 calc((1 - var(--sube, 0)) * 38%); }

/* ───────── Secciones ───────── */
.seccion { padding: clamp(56px, 8vw, 112px) 0; }
.seccion__cabeza { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(24px, 3vw, 40px); }
.seccion__cabeza h2 { margin: 0; font-size: clamp(32px, 4vw, 56px); }
.seccion__cabeza p { margin: 10px 0 0; color: var(--tinta-2); max-width: 52ch; }
.estante { background: linear-gradient(180deg, var(--fondo-2), var(--fondo) 30%); }
.estante__mover { display: flex; gap: 8px; }
.boton-redondo {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid var(--linea-2); border-radius: 0; background: var(--blanco); color: var(--tinta);
  transition: transform 160ms var(--ease-out), border-color 160ms var(--ease-out);
}
@media (hover: hover) { .boton-redondo:hover { border-color: var(--tinta); } }
.boton-redondo:active { transform: scale(0.94); }
.chapas {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: calc((100% - 4 * 20px) / 5);
  gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px 2px 18px; margin: 0 -2px;
  scrollbar-width: thin; overscroll-behavior-x: contain;
  contain: paint;
}
.chapa { scroll-snap-align: start; display: grid; gap: 8px; align-content: start; }
.chapa .producto__foto { border-radius: 0; }
.chapa__nombre { margin: 6px 0 0; font-weight: 650; font-size: 16px; line-height: 1.25; }
.chapa__precio { font-weight: 750; font-size: 22px; line-height: 1.1; }
.chapa__precio small, .fila__precio small { font-size: 13px; font-weight: 550; color: var(--tinta-2); }
.chapa__caja { font-size: 13.5px; color: var(--tinta-2); margin-bottom: 4px; }

/* ───────── Foto de producto (mini estudio) ───────── */
.producto__foto {
  position: relative; display: block; width: 100%;
  aspect-ratio: 4 / 5;
  border: 0; padding: 0; border-radius: 0; overflow: hidden;
  background:
    radial-gradient(70% 55% at 50% 30%, #ffffff 0%, rgb(255 255 255 / 0) 70%),
    linear-gradient(180deg, #f3f3f0 0%, #f3f3f0 70%, #e7e7e2 100%);
  cursor: pointer;
  perspective: 800px;
  transition: box-shadow 200ms var(--ease-out);
}
.producto__foto img, .producto__foto .silueta {
  position: absolute; left: 8%; top: 6%; width: 84%; height: 89%;
  object-fit: contain; object-position: center bottom;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-origin: 50% 92%;
  transition: transform 520ms var(--ease-out), filter 420ms var(--ease-out);
  filter: drop-shadow(0 14px 12px rgb(22 24 26 / 0.12));
}
.producto__foto--fondo img { top: 8%; height: 84%; object-position: center; filter: none; mix-blend-mode: multiply; }
.producto__foto--fondo::before { opacity: 0; }
.producto__foto::before {
  /* sombra de piso */
  content: ""; position: absolute; left: 24%; right: 24%; bottom: 3.5%; height: 4%;
  border-radius: 50%; background: radial-gradient(closest-side, rgb(22 24 26 / 0.18), transparent);
  transition: transform 420ms var(--ease-out), opacity 420ms var(--ease-out);
}
.producto__foto::after {
  /* brillo que sigue al puntero */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(36% 28% at var(--mx, 50%) var(--my, 30%), rgb(255 255 255 / 0.75), transparent 70%);
  mix-blend-mode: soft-light; opacity: 0;
  transition: opacity 300ms var(--ease-out);
}
@media (hover: hover) {
  .producto__foto:hover img, .producto__foto:hover .silueta { filter: drop-shadow(0 22px 16px rgb(22 24 26 / 0.18)); }
  .producto__foto:hover::before { transform: scaleX(1.14); opacity: 0.8; }
  .producto__foto:hover::after { opacity: 1; }
  .producto__foto.inclinando img, .producto__foto.inclinando .silueta { transition-duration: 140ms, 420ms; }
}
.silueta { color: #dcdcd6; }
.producto__sinfoto { position: absolute; left: 0; right: 0; bottom: 9%; text-align: center; font-size: 11.5px; font-weight: 650; letter-spacing: 0.05em; text-transform: uppercase; color: var(--tinta-3); }
.etiqueta {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px; border-radius: 0;
  font-size: 12px; font-weight: 650; line-height: 18px;
  background: var(--blanco); color: var(--tinta-2);
}
.etiqueta--top { position: absolute; top: 10px; left: 10px; z-index: 1; background: var(--ambar-claro); color: #59400f; }

/* ───────── Catálogo ───────── */
.catalogo { padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 104px); }
.catalogo__grilla > * { min-width: 0; }
.catalogo__grilla { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); align-items: start; }
.rubros { position: sticky; top: calc(var(--alto-barra) + 20px); }
.rubros h2 { margin: 0 0 16px; font-size: 30px; }
.rubros ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.rubro {
  width: 100%; display: grid; grid-template-columns: 8px 1fr auto; align-items: center; gap: 10px;
  padding: 9px 12px; border: 0; border-radius: 0; background: transparent; text-align: left;
  font-size: 15px; font-weight: 550; color: var(--tinta-2);
  transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
}
.rubro__n { font-size: 13px; color: var(--tinta-3); }
@media (hover: hover) { .rubro:hover { background: rgb(22 24 26 / 0.05); color: var(--tinta); } }
.rubro[aria-current="true"] { background: var(--blanco); color: var(--tinta); box-shadow: var(--sombra-1); }
/* Un solo color fuerte: las marcas de categoría van en grafito; verde solo la categoría actual. */
.rombo { width: 8px; height: 8px; border-radius: 50%; background: var(--linea-2); flex: none; transition: background-color 160ms var(--ease-out); }
.rubro[aria-current="true"] .rombo { background: var(--verde); }
.seccion-rubro__cabeza .rombo { background: var(--tinta); }
.rubros-movil, .rubro--top { display: none; }

.herramientas {
  position: sticky; top: var(--alto-barra); z-index: 20;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  padding: 12px 0;
  background: rgb(238 238 235 / 0.92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.herramientas__buscar { position: relative; flex: 1 1 280px; }
.herramientas__buscar input {
  width: 100%; height: 46px; padding: 0 40px 0 42px;
  border: 1px solid var(--linea-2); border-radius: 0; background: var(--blanco); font-size: 16px;
  transition: border-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
}
.herramientas__buscar input:placeholder-shown { padding-right: 12px; }
.herramientas__buscar input:focus { outline: none; border-color: var(--verde); box-shadow: 0 0 0 4px rgb(30 74 58 / 0.14); }
.herramientas__buscar > svg { position: absolute; left: 14px; top: 50%; translate: 0 -50%; color: var(--tinta-2); }
.limpiar { position: absolute; right: 6px; top: 50%; translate: 0 -50%; width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 0; background: transparent; color: var(--tinta-2); }
.herramientas__filtros { display: flex; align-items: center; gap: 10px; }
.selector {
  height: 46px; padding: 0 36px 0 14px; border: 1px solid var(--linea-2); border-radius: 0;
  background: var(--blanco) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2316181a' stroke-width='1.8'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center;
  font-weight: 550; font-size: 15px; -webkit-appearance: none; appearance: none;
}
.interruptor { display: inline-flex; align-items: center; gap: 8px; font-weight: 550; font-size: 15px; cursor: pointer; user-select: none; }
.interruptor input { width: 18px; height: 18px; accent-color: var(--verde); }
.vistas { display: inline-flex; padding: 3px; border-radius: 0; background: var(--fondo-2); }
.vistas button { width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 0; background: transparent; color: var(--tinta-2); transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out); }
.vistas button[aria-pressed="true"] { background: var(--blanco); color: var(--tinta); box-shadow: var(--sombra-1); }
.herramientas__cuenta { margin-left: auto; font-size: 14px; color: var(--tinta-2); }

.seccion-rubro { padding-top: 40px; }
.seccion-rubro__cabeza { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--linea); }
.seccion-rubro__cabeza h3 { margin: 0; font-stretch: 118%; font-weight: 750; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.05; letter-spacing: -0.01em; }
.seccion-rubro__cabeza .rombo { width: 10px; height: 10px; align-self: center; }
.seccion-rubro__cabeza span { font-size: 14px; color: var(--tinta-3); }

/* Grilla modular: cada producto ocupa el mismo módulo */
.lista { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 30px 20px; }
.fila { display: grid; grid-template-rows: auto 1fr auto; gap: 10px; min-width: 0; }
.fila__info { display: grid; gap: 6px; align-content: start; }
.fila__nombre { margin: 0; font-weight: 600; font-size: 15.5px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.fila__nombre button { all: unset; cursor: pointer; }
@media (hover: hover) { .fila__nombre button:hover { text-decoration: underline; text-underline-offset: 3px; } }
.fila__nombre button:focus-visible { outline: 2px solid var(--verde); outline-offset: 2px; border-radius: 4px; }
.fila__precio { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 8px; line-height: 1.2; }
.fila__precio > b { font-size: 20px; font-weight: 750; letter-spacing: -0.01em; }
.fila__precio > span { font-size: 13px; color: var(--tinta-2); }
.fila__minimo { flex-basis: 100%; font-size: 13px; color: var(--tinta-2); margin-top: 2px; }
.fila__minimo b { font-weight: 650; color: var(--tinta); }
.fila__accion { display: flex; }
.fila__accion > * { width: 100%; }
.fila.en-pedido .producto__foto { box-shadow: inset 0 0 0 2px var(--verde); }
.ver-mas {
  display: inline-flex; align-items: center; gap: 8px;
  height: 46px; padding: 0 18px; border: 1px solid var(--linea-2); border-radius: 0;
  background: var(--blanco); color: var(--tinta); font-weight: 650; font-size: 15px;
  transition: border-color 160ms var(--ease-out), transform 160ms var(--ease-out);
}
@media (hover: hover) { .ver-mas:hover { border-color: var(--tinta); } }
.ver-mas:active { transform: scale(0.98); }
.lista > li.lista__mas { grid-column: 1 / -1; }

/* Vista lista: renglones compactos */
.vista-lista .lista { grid-template-columns: 1fr; gap: 0; background: var(--blanco); border-radius: var(--r); box-shadow: var(--sombra-1); }
.vista-lista .fila { grid-template-columns: 52px minmax(0, 1fr) 140px 170px; grid-template-rows: auto; align-items: center; gap: 16px; padding: 10px 16px; }
.vista-lista .fila > :first-child { grid-row: 1; }
.vista-lista .fila + .fila { border-top: 1px solid var(--linea); }
.vista-lista .fila .producto__foto { border-radius: 0; }
.vista-lista .producto__sinfoto, .vista-lista .etiqueta--top { display: none; }
.vista-lista .fila__nombre { min-height: 0; -webkit-line-clamp: 1; }
.vista-lista .lista > li.lista__mas { padding: 12px 16px; border-top: 1px solid var(--linea); }

.vacio { padding: 56px 16px; text-align: center; color: var(--tinta-2); }
.vacio h3 { margin: 0 0 8px; font-stretch: 118%; font-weight: 750; font-size: 28px; color: var(--tinta); }
mark { background: var(--ambar-claro); color: inherit; border-radius: 3px; padding: 0 1px; }

/* Botón agregar y contador */
.agregar {
  height: 44px; padding: 0 16px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid var(--tinta); border-radius: 0;
  background: transparent; color: var(--tinta);
  font-weight: 650; font-size: 15px; white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 160ms var(--ease-out), color 160ms var(--ease-out);
}
@media (hover: hover) { .agregar:hover { background: var(--tinta); color: #fff; } }
.agregar:active { transform: scale(0.97); }
.contador {
  height: 44px; display: inline-grid; grid-template-columns: 44px minmax(64px, 1fr) 44px; align-items: center;
  border-radius: 0; background: var(--verde); color: #fff; overflow: hidden;
}
.contador, .agregar { transition: transform 160ms var(--ease-out), background-color 160ms var(--ease-out), color 160ms var(--ease-out), opacity 160ms var(--ease-out), scale 160ms var(--ease-out); }
@starting-style { [data-control] > .contador, [data-control] > .agregar { opacity: 0; scale: 0.97; } }
.fila.llega { animation: llega 260ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 35ms); }
@keyframes llega { from { opacity: 0; translate: 0 8px; } }
.remito.imprime { animation: imprime 520ms var(--ease-out) 220ms both; }
@keyframes imprime { from { clip-path: inset(0 0 100% 0 round 18px); } to { clip-path: inset(0 0 0 0 round 18px); } }
.contador button { height: 100%; display: grid; place-items: center; border: 0; background: transparent; color: #fff; transition: background-color 120ms var(--ease-out); }
.contador button:active { background: rgb(255 255 255 / 0.14); }
@media (hover: hover) { .contador button:hover { background: rgb(255 255 255 / 0.08); } }
.contador output { text-align: center; line-height: 1.05; padding: 0 4px; }
.contador output b { display: block; font-size: 15px; font-weight: 700; }
.contador output span { font-size: 11px; opacity: 0.78; }
.chapa .agregar, .chapa .contador { width: 100%; }

/* ───────── Vista ampliada de producto ───────── */
.ficha-producto {
  width: min(1040px, calc(100% - 32px)); max-height: calc(100svh - 48px);
  padding: 0; border: 0; border-radius: 0;
  background: var(--papel); color: var(--tinta);
  box-shadow: var(--sombra-3);
  overflow: auto;
}
.ficha-producto[open] { animation: ficha-entra 320ms var(--ease-out); }
.ficha-producto::backdrop { background: rgb(22 24 26 / 0.42); animation: velo-entra 260ms var(--ease-out); }
@keyframes ficha-entra { from { opacity: 0; transform: translateY(14px) scale(0.98); } }
@keyframes velo-entra { from { opacity: 0; } }
.ficha-producto__grilla { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.ficha-producto__estudio { position: relative; min-height: 540px; background: radial-gradient(60% 50% at 50% 32%, #fff, rgb(255 255 255 / 0) 70%), linear-gradient(180deg, #f1f1ee 0%, #f1f1ee 72%, #e4e4df 100%); }
.ficha-producto__estudio .producto__foto { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; background: none; cursor: default; }
.ficha-producto__estudio .producto__foto img, .ficha-producto__estudio .producto__foto .silueta { left: 24%; top: 9%; width: 52%; height: 84%; }
.anotaciones { position: absolute; inset: 0; pointer-events: none; }
.anotaciones svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.anotaciones line { stroke: var(--tinta-2); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 400; stroke-dashoffset: 400; animation: trazo 800ms var(--ease-out) forwards; animation-delay: calc(260ms + var(--i, 0) * 100ms); }
.anotaciones circle { fill: var(--tinta); opacity: 0; animation: aparecer 300ms var(--ease-out) forwards; animation-delay: calc(260ms + var(--i, 0) * 100ms); }
.nota-foto { position: absolute; display: grid; gap: 1px; padding: 7px 11px; border-radius: 0; background: rgb(255 255 255 / 0.92); box-shadow: var(--sombra-1); font-size: 12px; line-height: 1.25; color: var(--tinta-2); opacity: 0; translate: 0 4px; animation: aparecer 380ms var(--ease-out) forwards; animation-delay: calc(420ms + var(--i, 0) * 100ms); white-space: nowrap; }
.nota-foto b { font-size: 14px; color: var(--tinta); font-weight: 700; }
@keyframes trazo { to { stroke-dashoffset: 0; } }
@keyframes aparecer { to { opacity: 1; translate: 0 0; } }
.ficha-producto__datos { padding: clamp(24px, 3.4vw, 44px); display: grid; gap: 18px; align-content: start; }
.ficha-producto__rubro { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--tinta-2); }
.ficha-producto__datos h2 { margin: 0; font-size: clamp(28px, 3vw, 40px); text-wrap: balance; }
.ficha-producto__precio { display: flex; align-items: baseline; gap: 10px; }
.ficha-producto__precio b { font-size: 40px; font-weight: 750; letter-spacing: -0.02em; line-height: 1; }
.ficha-producto__precio span { color: var(--tinta-2); }
.ficha-producto__tabla { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin: 0; padding: 16px 0; border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); font-size: 15px; }
.ficha-producto__tabla dt { color: var(--tinta-2); }
.ficha-producto__tabla dd { margin: 0; font-weight: 650; text-align: right; }
.ficha-producto__accion .agregar, .ficha-producto__accion .contador { width: 100%; height: 52px; }
.ficha-producto__accion .agregar { background: var(--verde); border-color: var(--verde); color: #fff; }
@media (hover: hover) { .ficha-producto__accion .agregar:hover { background: var(--verde-hondo); } }
.ficha-producto__cerrar { position: absolute; top: 14px; right: 14px; z-index: 2; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 0; background: rgb(255 255 255 / 0.92); box-shadow: var(--sombra-1); }
.ficha-producto__extra { display: flex; flex-wrap: wrap; gap: 14px 22px; font-size: 14.5px; }
.ficha-producto__extra a, .ficha-producto__extra button { border: 0; background: none; padding: 0; color: var(--verde); font-weight: 650; text-decoration: none; }
.ficha-producto__aviso { font-size: 13px; color: var(--tinta-3); margin: 0; }

/* ───────── Servicio ───────── */
.servicio { background: var(--verde); color: #eef2ef; }
.servicio .seccion__cabeza h2, .servicio h3 { color: #fff; }
.servicio .seccion__cabeza p { color: #c4d4cb; }
.ruta { list-style: none; margin: 0 0 clamp(48px, 6vw, 80px); padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ruta li { position: relative; padding-top: 28px; border-top: 1px solid rgb(255 255 255 / 0.28); display: grid; gap: 8px; align-content: start; }
.ruta li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--ambar-claro); }
.ruta h3 { margin: 0; font-stretch: 112%; font-weight: 700; font-size: 20px; }
.ruta p { margin: 0; color: #c4d4cb; font-size: 15px; max-width: 32ch; }
.condiciones__grilla { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); }
.titulo-col { margin: 0 0 8px; font-stretch: 112%; font-weight: 700; font-size: 22px; color: #fff; }
.opciones { list-style: none; margin: 0; padding: 0; display: grid; }
.opciones li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgb(255 255 255 / 0.16); }
.opciones__icono { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 0; background: rgb(255 255 255 / 0.08); color: var(--ambar-claro); }
.opciones h4 { margin: 0 0 2px; font-size: 16px; font-weight: 650; color: #fff; }
.opciones p { margin: 0; color: #c4d4cb; font-size: 15px; max-width: 52ch; }

/* ───────── Atención ───────── */
.atencion__grilla { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.atencion h2 { margin: 0 0 16px; font-size: clamp(32px, 4vw, 56px); }
.atencion p { margin: 0 0 24px; color: var(--tinta-2); max-width: 46ch; font-size: 17px; }
.boton-wa {
  display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 22px 0 18px;
  border-radius: 0; background: var(--verde); color: #fff; font-weight: 650; font-size: 17px; text-decoration: none;
  box-shadow: var(--sombra-1); transition: transform 160ms var(--ease-out), background-color 160ms var(--ease-out);
}
@media (hover: hover) { .boton-wa:hover { background: var(--verde-hondo); } }
.boton-wa:active { transform: scale(0.97); }
.atencion__datos { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--tinta-2); font-weight: 550; }
.atencion__datos li { display: flex; gap: 10px; align-items: center; }
.atencion__datos svg { color: var(--verde); flex: none; }
.seguir { display: grid; gap: 10px; margin-bottom: 28px; }
.seguir label { font-weight: 650; font-size: 17px; }
.seguir__fila { display: flex; gap: 8px; }
.seguir input {
  flex: 1; min-width: 0; height: 52px; padding: 0 16px;
  border: 1px solid var(--linea-2); border-radius: 0; background: var(--blanco); color: var(--tinta);
  font-size: 17px; font-weight: 550; letter-spacing: 0.03em; text-transform: uppercase;
}
.seguir input::placeholder { text-transform: none; letter-spacing: 0; color: var(--tinta-3); font-weight: 450; }
.seguir input:focus { outline: none; border-color: var(--verde); box-shadow: 0 0 0 4px rgb(30 74 58 / 0.14); }
.boton-negro {
  height: 52px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 0; background: var(--tinta); color: #fff;
  font-weight: 650; font-size: 16px; white-space: nowrap; text-decoration: none;
  transition: transform 160ms var(--ease-out);
}
.boton-negro:active { transform: scale(0.97); }
.preguntas { display: grid; border-top: 1px solid var(--linea-2); interpolate-size: allow-keywords; }
.preguntas details::details-content { height: 0; overflow: clip; transition: height 240ms var(--ease-out), content-visibility 240ms allow-discrete; }
.preguntas details[open]::details-content { height: auto; }
.preguntas details { border-bottom: 1px solid var(--linea-2); }
.preguntas summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 2px; font-weight: 600; font-size: 16px; cursor: pointer; }
.preguntas summary::-webkit-details-marker { display: none; }
.preguntas summary svg { transition: rotate 220ms var(--ease-out); color: var(--tinta-2); flex: none; }
.preguntas details[open] summary svg { rotate: 45deg; }
.preguntas details p { margin: 0; padding: 0 2px 18px; color: var(--tinta-2); font-size: 15.5px; max-width: 62ch; }

/* ───────── Pie ───────── */
.pie { background: var(--tinta); color: #a9adaa; padding: 48px 0 36px; font-size: 14px; }
.pie__fila { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: end; }
.pie .marca__nombre { font-size: 40px; color: #f3f2ee; }
.pie p { margin: 8px 0 0; }
.pie a { color: #f3f2ee; }

/* Revelado al entrar: un solo gesto, una vez, solo en títulos de sección */
.revelar { opacity: 0; translate: 0 18px; transition: opacity 700ms var(--ease-out), translate 700ms var(--ease-out); }
.revelar.visible { opacity: 1; translate: 0 0; }

/* ───────── Hoja del pedido ───────── */
.velo { position: fixed; inset: 0; z-index: 60; background: rgb(22 24 26 / 0.4); opacity: 0; transition: opacity 260ms var(--ease-out); }
.velo.abierto { opacity: 1; }
.hoja {
  position: fixed; z-index: 61; top: 0; right: 0; bottom: 0; width: min(460px, 100%);
  display: grid; grid-template-rows: auto 1fr auto;
  background: var(--papel); box-shadow: var(--sombra-3);
  translate: 100% 0; transition: translate 360ms var(--ease-drawer);
}
.hoja.abierta { translate: 0 0; }
.hoja__cabeza { padding: 20px 22px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--linea); }
.hoja__cabeza h2 { margin: 0; font-size: 28px; }
.cerrar { width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 0; background: var(--fondo); color: var(--tinta); }
.hoja__cuerpo { overflow-y: auto; padding: 4px 22px; overscroll-behavior: contain; }
.linea-pedido { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 6px 14px; padding: 14px 0; border-bottom: 1px solid var(--linea); align-items: start; }
.linea-pedido > .producto__foto { grid-row: span 3; border-radius: 0; cursor: default; }
.linea-pedido__nombre { margin: 0; font-weight: 600; line-height: 1.3; }
.linea-pedido__detalle { font-size: 13px; color: var(--tinta-2); }
.linea-pedido__total { font-weight: 700; text-align: right; }
.linea-pedido > [data-control] { grid-column: 2; }
.linea-pedido .contador { height: 38px; grid-template-columns: 38px minmax(60px, auto) 38px; }
.linea-pedido__quitar { grid-column: 3; justify-self: end; align-self: center; border: 0; background: none; padding: 4px 0; font-size: 13px; font-weight: 600; color: var(--tinta-2); text-decoration: underline; text-underline-offset: 3px; }
.hoja__pie { padding: 16px 22px 22px; background: var(--blanco); box-shadow: 0 -1px 0 var(--linea); display: grid; gap: 12px; }
.totales { display: grid; gap: 4px; }
.totales div { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; color: var(--tinta-2); }
.totales .total { font-size: 22px; font-weight: 750; color: var(--tinta); }
.boton-primario {
  height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 22px;
  border: 0; border-radius: 0; background: var(--verde); color: #fff;
  font-weight: 650; font-size: 16.5px; text-decoration: none;
  box-shadow: var(--sombra-1);
  transition: transform 160ms var(--ease-out), background-color 160ms var(--ease-out);
}
@media (hover: hover) { .boton-primario:hover { background: var(--verde-hondo); } }
.boton-primario:active { transform: scale(0.98); }
.boton-primario[disabled] { background: #9aa39e; cursor: progress; }
.nota { font-size: 13px; color: var(--tinta-2); margin: 0; }
.hoja-vacia { padding: 48px 8px; text-align: center; color: var(--tinta-2); }
.hoja-vacia h3 { margin: 14px 0 6px; font-stretch: 118%; font-weight: 750; font-size: 24px; color: var(--tinta); }

/* ───────── Vistas: pedido, seguimiento ───────── */
.vista { padding: clamp(28px, 4vw, 56px) 0 clamp(56px, 7vw, 96px); }
.vista__titulo { margin: 0 0 8px; font-stretch: 118%; font-weight: 750; font-size: clamp(36px, 4.4vw, 60px); line-height: 1.02; letter-spacing: -0.015em; }
.vista__bajada { margin: 0 0 32px; color: var(--tinta-2); font-size: 17px; max-width: 62ch; }
.volver { display: flex; width: max-content; align-items: center; gap: 6px; margin-bottom: 20px; font-weight: 600; text-decoration: none; color: var(--tinta-2); }
@media (hover: hover) { .volver:hover { color: var(--tinta); } }
.pedido__grilla { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: clamp(24px, 4vw, 56px); align-items: start; }
.bloque-form { padding: 26px clamp(18px, 3vw, 32px) 30px; background: var(--blanco); border-radius: 0; box-shadow: var(--sombra-1); }
.bloque-form + .bloque-form { margin-top: 18px; }
.bloque-form h2 { margin: 0 0 20px; font-stretch: 112%; font-weight: 700; font-size: 24px; display: flex; align-items: center; gap: 12px; }
.bloque-form h2 svg { color: var(--verde); }
.campos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.campo { display: grid; gap: 6px; align-content: start; }
.campo--ancho { grid-column: 1 / -1; }
.campo label, .campo legend { font-weight: 600; font-size: 15px; }
.campo .opcional { font-weight: 450; color: var(--tinta-2); }
.campo input, .campo textarea, .campo select {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1px solid var(--linea-2); border-radius: 0; background: var(--papel); font-size: 16px;
  transition: border-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out), background-color 160ms var(--ease-out);
}
.campo textarea { min-height: 96px; resize: vertical; }
.campo input:focus, .campo textarea:focus { outline: none; border-color: var(--verde); background: var(--blanco); box-shadow: 0 0 0 4px rgb(30 74 58 / 0.14); }
.campo [aria-invalid="true"] { border-color: var(--error); background: #fdf5f4; }
.campo__error { font-size: 13.5px; font-weight: 600; color: var(--error); }
.campo__ayuda { font-size: 13.5px; color: var(--tinta-2); }
.eleccion { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; border: 0; padding: 0; margin: 0; }
.eleccion label {
  position: relative; display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: center;
  padding: 14px; border: 1px solid var(--linea-2); border-radius: 0; background: var(--papel); cursor: pointer;
  transition: border-color 160ms var(--ease-out), background-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
}
.eleccion input { position: absolute; opacity: 0; pointer-events: none; }
.eleccion__icono { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 0; background: var(--fondo); color: var(--tinta-2); transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out); }
.eleccion b { display: block; font-size: 15.5px; font-weight: 650; }
.eleccion small { display: block; font-size: 13px; color: var(--tinta-2); line-height: 1.35; margin-top: 2px; }
.eleccion label:has(input:checked) { border-color: var(--verde); background: var(--blanco); box-shadow: inset 0 0 0 1px var(--verde); }
.eleccion label:has(input:checked) .eleccion__icono { background: var(--verde); color: #fff; }
.eleccion label:has(input:focus-visible) { outline: 2px solid var(--verde); outline-offset: 3px; }
.recordar { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-weight: 550; }
.recordar input { width: 18px; height: 18px; accent-color: var(--verde); }

.remito { position: sticky; top: calc(var(--alto-barra) + 20px); background: var(--blanco); border-radius: 0; box-shadow: var(--sombra-2); overflow: hidden; }
.remito__cabeza { padding: 20px 22px 14px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-bottom: 1px solid var(--linea); }
.remito__cabeza h2 { margin: 0; font-size: 24px; }
.remito__cabeza span { font-size: 13px; color: var(--tinta-2); }
.remito__lineas { list-style: none; margin: 0; padding: 4px 22px; max-height: 42vh; overflow-y: auto; }
.remito__lineas li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 11px 0; border-bottom: 1px solid var(--linea); font-size: 14.5px; }
.remito__lineas li span { color: var(--tinta-2); font-size: 13px; }
.remito__lineas li b { text-align: right; font-weight: 650; }
.remito__pie { padding: 16px 22px 22px; display: grid; gap: 14px; }

.seg__grilla { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.seg__codigo { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 0; background: var(--blanco); box-shadow: var(--sombra-1); font-weight: 700; letter-spacing: 0.05em; font-size: 15px; margin-bottom: 16px; }
.seg__codigo svg { color: var(--verde); }
.etapas { list-style: none; margin: 0; padding: 0; position: relative; }
.etapa { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding-bottom: 30px; }
.etapa:last-child { padding-bottom: 0; }
.etapa::before { content: ""; position: absolute; left: 27px; top: 56px; bottom: -2px; width: 0; border-left: 2px dashed var(--linea-2); }
.etapa:last-child::before { display: none; }
.etapa.hecha::before { border-left-style: solid; border-left-color: var(--verde); }
.etapa__sello { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--blanco); color: var(--tinta-3); box-shadow: inset 0 0 0 1px var(--linea-2); position: relative; z-index: 1; }
.etapa__sello svg { width: 24px; height: 24px; }
.etapa.hecha .etapa__sello { background: var(--verde); color: #fff; box-shadow: none; animation: sello 460ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 110ms); }
.etapa.actual .etapa__sello { box-shadow: 0 0 0 7px rgb(30 74 58 / 0.14); }
@keyframes sello { from { transform: scale(0.8); opacity: 0; } to { transform: none; opacity: 1; } }
.etapa__texto { padding-top: 6px; }
.etapa h3 { margin: 0 0 2px; font-stretch: 112%; font-weight: 700; font-size: 20px; color: var(--tinta-3); }
.etapa.hecha h3 { color: var(--tinta); }
.etapa time, .etapa .pendiente { font-size: 14px; font-weight: 600; color: var(--verde); }
.etapa .pendiente { color: var(--tinta-3); }
.etapa p { margin: 6px 0 0; color: var(--tinta-2); font-size: 15px; max-width: 46ch; }
.aviso { display: grid; grid-template-columns: 26px 1fr; gap: 12px; padding: 16px 18px; border-radius: 0; background: var(--blanco); box-shadow: inset 0 0 0 1px var(--linea); font-size: 15px; color: var(--tinta-2); }
.aviso svg { color: var(--ambar); }
.aviso p { margin: 0; }
.aviso b { color: var(--tinta); }
.pago-datos { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 10px 0 0; font-size: 15px; }
.pago-datos dt { color: var(--tinta-2); }
.pago-datos dd { margin: 0; font-weight: 700; color: var(--tinta); }
.acciones { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.boton-borde {
  height: 48px; padding: 0 16px; display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--linea-2); border-radius: 0; background: var(--blanco); color: var(--tinta);
  font-weight: 600; font-size: 15px; text-decoration: none;
  transition: border-color 160ms var(--ease-out), transform 160ms var(--ease-out);
}
@media (hover: hover) { .boton-borde:hover { border-color: var(--tinta); } }
.boton-borde:active { transform: scale(0.97); }
/* .mis-pedidos: ver estiba-caja.css */
.estado-pastilla { display: inline-flex; padding: 4px 11px; border-radius: 0; background: var(--verde-claro); color: var(--verde-hondo); font-size: 13px; font-weight: 650; white-space: nowrap; }

.tostada {
  position: fixed; z-index: 90; left: 50%; bottom: 24px; translate: -50% 0;
  display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 0;
  background: var(--tinta); color: #f3f2ee; box-shadow: var(--sombra-3); font-weight: 550; font-size: 15px;
  transition: opacity 220ms var(--ease-out), translate 220ms var(--ease-out);
}
.tostada.oculta { opacity: 0; translate: -50% 12px; pointer-events: none; }
.tostada svg { color: var(--ambar-claro); }
/* ───────── Estiba en casa: reloj de entrega ───────── */
.casa {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(32px, 6vh, 80px) 0 clamp(48px, 7vh, 96px);
  background: linear-gradient(180deg, var(--fondo) 0%, var(--fondo) 60%, var(--fondo-2) 100%);
}
.casa::before {
  content: ""; position: absolute; inset: -20% -10% 10%; z-index: -1;
  background: radial-gradient(40% 44% at 70% 30%, rgb(255 255 255 / 0.95), rgb(255 255 255 / 0) 70%);
}
.casa__titulo { margin: 0; font-stretch: 125%; font-weight: 800; font-size: clamp(48px, 7.2vw, 96px); line-height: 0.92; letter-spacing: -0.02em; }
.casa__bajada { margin: 18px 0 0; max-width: 52ch; text-wrap: pretty; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.45; color: var(--tinta-2); }
.reloj { margin-top: clamp(28px, 4vh, 44px); padding: clamp(20px, 2.6vw, 32px); border-radius: 0; background: var(--blanco); box-shadow: var(--sombra-2); }
.reloj__pregunta { margin: 0 0 16px; font-stretch: 112%; font-weight: 700; font-size: 22px; }
.reloj__opciones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.reloj__opciones button, .reloj__fila button {
  border: 1px solid var(--linea-2); background: var(--papel); color: var(--tinta);
  transition: border-color 160ms var(--ease-out), background-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out), transform 160ms var(--ease-out);
}
.reloj__opciones button { display: grid; gap: 2px; padding: 16px 18px; border-radius: 0; text-align: left; }
.reloj__opciones b { font-size: 17px; font-weight: 650; }
.reloj__opciones small { font-size: 14px; color: var(--tinta-2); }
.reloj__opciones button:active, .reloj__fila button:active { transform: scale(0.98); }
@media (hover: hover) { .reloj__opciones button:hover, .reloj__fila button:hover { border-color: var(--tinta-3); } }
.reloj__opciones [aria-checked="true"] { border-color: var(--verde); background: var(--blanco); box-shadow: inset 0 0 0 1px var(--verde); }
.reloj__opciones [aria-checked="true"] small { color: var(--verde); font-weight: 600; }
.reloj__regla { position: relative; height: 82px; margin: 28px 6px 0; }
.reloj__regla::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 46px; border-radius: 0; background: var(--fondo); box-shadow: inset 0 0 0 1px var(--linea); }
.reloj__marcas span::before { content: ""; position: absolute; left: 50%; top: -56px; height: 46px; border-left: 1px solid var(--linea-2); }
.reloj__marcas span:first-child::before, .reloj__marcas span:last-child::before { display: none; }
.reloj__noche { position: absolute; top: 0; right: 0; height: 46px; border-radius: 0; background: linear-gradient(90deg, rgb(22 24 26 / 0), rgb(22 24 26 / 0.07) 30%); }
.reloj__noche span { position: absolute; right: 10px; top: 50%; translate: 0 -50%; font-size: 11.5px; font-weight: 650; letter-spacing: 0.04em; color: var(--tinta-3); }
.reloj__pasado { position: absolute; top: 0; left: 0; height: 46px; border-radius: 0; background: rgb(22 24 26 / 0.045); transition: width 400ms var(--ease-out); }
.reloj__fila { position: relative; }
.aviso-precios { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 10px 14px; border-radius: 0; background: var(--blanco); box-shadow: inset 0 0 0 1px var(--linea); color: var(--tinta-2); font-size: 14px; }
.aviso-precios svg { flex: none; color: var(--tinta-3); }
.reloj__marcas span { position: absolute; top: 56px; translate: -50% 0; font-size: 12.5px; font-weight: 600; color: var(--tinta-3); font-variant-numeric: tabular-nums; }
.reloj__luz {
  position: absolute; top: 0; height: 46px; display: grid; place-items: center;
  border-radius: 0; opacity: 0;
  background: var(--dorado-claro);
  box-shadow: inset 0 0 0 2px var(--dorado);
  font-size: 14px; font-weight: 700; color: var(--tinta); white-space: nowrap;
  transition: left 560ms var(--ease-out), width 560ms var(--ease-out), opacity 300ms var(--ease-out);
}
.reloj__luz.encendida { opacity: 1; }
.reloj__ahora { position: absolute; top: -8px; height: 62px; width: 2px; translate: -1px 0; background: var(--tinta); border-radius: 2px; }
.reloj__ahora span { position: absolute; top: -18px; left: 50%; translate: -50% 0; font-size: 11.5px; font-weight: 700; color: var(--tinta); }
.reloj__programar { display: grid; gap: 10px; margin-top: 18px; }
.reloj__fila { display: flex; flex-wrap: wrap; gap: 8px; }
.reloj__fila button { height: 40px; padding: 0 14px; border-radius: 0; font-size: 14.5px; font-weight: 550; }
.reloj__fila [aria-checked="true"] { background: var(--tinta); border-color: var(--tinta); color: #fff; }
.reloj__estado { margin: 18px 0 0; font-size: 15px; color: var(--tinta-2); }
.reloj__estado b { color: var(--tinta); }
.casa__acciones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.aviso--franja a { color: var(--verde); font-weight: 650; }

/* Combos por ocasión */
.combos__grilla { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.combo { display: grid; grid-template-rows: auto 1fr; border-radius: 0; overflow: hidden; background: var(--blanco); box-shadow: var(--sombra-1); }
.combo__estudio {
  aspect-ratio: 16 / 11; display: flex; justify-content: center; align-items: flex-end; padding: 14px 0 10px;
  background: radial-gradient(70% 60% at 50% 30%, #fff, rgb(255 255 255 / 0) 70%), linear-gradient(180deg, #f3f3f0 0%, #f3f3f0 70%, #e7e7e2 100%);
}
.combo__estudio img, .combo__estudio .silueta { height: 92%; width: auto; max-width: 40%; object-fit: contain; filter: drop-shadow(0 12px 10px rgb(22 24 26 / 0.14)); transition: translate 320ms var(--ease-out); }
.combo__estudio .silueta { color: #dcdcd6; }
.combo__estudio > * + * { margin-left: -6%; }
@media (hover: hover) { .combo:hover .combo__estudio > * { translate: 0 -4px; transition-delay: calc(var(--i, 0) * 50ms); } }
.combo__datos { display: grid; gap: 8px; align-content: start; padding: 18px 20px 20px; }
.combo__datos h3 { margin: 0; font-stretch: 112%; font-weight: 700; font-size: 21px; }
.combo__datos > p { margin: 0; font-size: 14.5px; color: var(--tinta-2); }
.combo__items { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 3px; font-size: 14px; }
.combo__items span { color: var(--tinta-3); }
.combo__pie { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.combo__pie b { font-size: 22px; font-weight: 750; letter-spacing: -0.01em; }

/* Mayoría de edad */
.edad { width: min(440px, calc(100% - 32px)); padding: 32px; border: 0; border-radius: 0; background: var(--papel); color: var(--tinta); box-shadow: var(--sombra-3); }
.edad[open] { animation: ficha-entra 320ms var(--ease-out); }
.edad::backdrop { background: rgb(22 24 26 / 0.62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.edad h2 { margin: 0 0 10px; font-stretch: 118%; font-weight: 750; font-size: 28px; line-height: 1.1; }
.edad p { margin: 0; color: var(--tinta-2); }
.edad__acciones { display: flex; gap: 10px; margin-top: 24px; }
.edad__acciones .boton-primario { flex: 1; }
.pie__legal { color: #d5d8d5; font-weight: 600; }

/* ───────── Resumen del pedido: siempre a la vista ───────── */
.resumen {
  position: fixed; z-index: 45; right: 24px; bottom: 24px;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px;
  width: min(520px, calc(100% - 48px));
  padding: 12px 12px 12px 14px; border-radius: 0;
  background: rgb(255 255 255 / 0.9);
  -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: var(--sombra-3), inset 0 0 0 1px rgb(22 24 26 / 0.06);
  transition: translate 340ms var(--ease-out), opacity 260ms var(--ease-out);
}
.resumen.oculta { translate: 0 calc(100% + 32px); opacity: 0; pointer-events: none; }
.resumen__fotos { display: flex; align-items: flex-end; }
.resumen__fotos .producto__foto { width: 38px; aspect-ratio: 4 / 5; border-radius: 0; flex: none; cursor: default; box-shadow: 0 0 0 2px var(--blanco); transition: translate 220ms var(--ease-out), opacity 220ms var(--ease-out); }
@starting-style { .resumen__fotos .producto__foto:first-child { translate: 0 8px; opacity: 0; } }
.resumen__fotos .producto__foto + .producto__foto { margin-left: -12px; }
.resumen__fotos .producto__foto::before { display: none; }
.resumen__mas { margin-left: 6px; font-size: 13px; font-weight: 650; color: var(--tinta-2); align-self: center; }
.resumen__datos { display: grid; line-height: 1.15; min-width: 0; }
.resumen__titulo { font-size: 12.5px; font-weight: 600; color: var(--tinta-2); }
.resumen__total { display: inline-grid; overflow: hidden; font-size: 22px; font-weight: 750; letter-spacing: -0.01em; height: 1.2em; }
.resumen__total > span { grid-area: 1 / 1; }
.resumen__bultos { font-size: 13px; color: var(--tinta-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.resumen__acciones { display: flex; gap: 8px; }
.resumen__acciones .agregar, .resumen__acciones .boton-primario { height: 44px; padding: 0 16px; font-size: 15px; border-radius: 0; }
.entra-abajo { animation: entra-abajo 200ms var(--ease-out) both; }
.entra-arriba { animation: entra-arriba 200ms var(--ease-out) both; }
.sale-arriba { animation: sale-arriba 200ms var(--ease-out) both; }
.sale-abajo { animation: sale-abajo 200ms var(--ease-out) both; }
@keyframes entra-abajo { from { translate: 0 60%; opacity: 0; } }
@keyframes entra-arriba { from { translate: 0 -60%; opacity: 0; } }
@keyframes sale-arriba { to { translate: 0 -60%; opacity: 0; } }
@keyframes sale-abajo { to { translate: 0 60%; opacity: 0; } }
body.con-pedido .pie { padding-bottom: 120px; }
body.con-pedido .tostada { bottom: 112px; }

/* ───────── Responsive ───────── */
@media (max-width: 1080px) {
  .combos__grilla { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pedido__grilla { grid-template-columns: minmax(0, 1fr) 360px; }
  .intro__vision { grid-column: 1 / -1; }
  .intro__acciones { grid-column: 1 / span 8; }
  .chapas { grid-auto-columns: calc((100% - 3 * 20px) / 4); }
}
@media (max-width: 900px) {
  .nav {
    display: none; position: absolute; top: calc(100% + 6px); right: var(--gutter);
    flex-direction: column; gap: 2px; min-width: 220px; padding: 8px; border-radius: 0;
    background: var(--blanco); box-shadow: var(--sombra-3);
  }
  .nav.abierta { display: flex; }
  .nav a { padding: 12px 14px; border-radius: 0; font-size: 16px; color: var(--tinta); }
  .barra__fila { position: relative; }
  .menu-boton { display: grid; place-items: center; order: 3; width: 44px; height: 44px; flex: none; border: 0; border-radius: 0; background: rgb(22 24 26 / 0.06); color: var(--tinta); }
  .cabina { margin-left: auto; }
  .catalogo__grilla { grid-template-columns: 1fr; }
  .rubros { display: none; }
  .rubros-movil { display: flex; gap: 8px; overflow-x: auto; padding: 10px var(--gutter) 6px; margin: 0 calc(-1 * var(--gutter)); scrollbar-width: none; flex: 0 0 calc(100% + 2 * var(--gutter)); }
  .rubros-movil::-webkit-scrollbar { display: none; }
  .rubros-movil .rubro { width: auto; grid-template-columns: 8px auto auto; white-space: nowrap; padding: 8px 12px; background: var(--blanco); box-shadow: inset 0 0 0 1px var(--linea); }
  .rubros-movil .rubro[aria-current="true"] { background: var(--tinta); color: #fff; box-shadow: none; }
  .rubros-movil .rubro[aria-current="true"] .rubro__n { color: #c9ccc9; }
  .rubros-movil .rubro--top { display: grid; grid-template-columns: auto auto; gap: 6px; }
  .rubros-movil .rubro--top[aria-pressed="true"] { background: var(--ambar-claro); color: var(--tinta); }
  .herramientas { gap: 8px; padding: 0 0 10px; }
  .herramientas__buscar { flex: 1 1 0; min-width: 0; }
  .herramientas__filtros .selector { width: 124px; font-size: 14px; }
  .herramientas__filtros .interruptor, .herramientas__cuenta { display: none; }
  .chapas { grid-auto-columns: minmax(200px, 40%); }
  .ruta { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .condiciones__grilla, .atencion__grilla, .pedido__grilla, .seg__grilla { grid-template-columns: 1fr; }
  .remito { position: static; }
  .ficha-producto__grilla { grid-template-columns: 1fr; }
  .ficha-producto__estudio { min-height: 400px; }
}
@media (max-width: 640px) {
  :root { --alto-barra: 58px; }
  .marca__bajada, .cabina__titulo { display: none; }
  body.con-pedido .cabina__total { display: none; }
  .reloj__noche span { display: none; }
  body.con-pedido .cabina { padding: 0 12px; }
  .reloj__opciones { grid-template-columns: 1fr; }
  .reloj__opciones button { padding: 10px 14px; }
  .reloj__opciones { gap: 8px; }
  .reloj__fila { flex-wrap: nowrap; overflow-x: auto; margin: 0 -20px; padding: 0 20px 2px; scrollbar-width: none; scroll-snap-type: x proximity; }
  .reloj__fila::-webkit-scrollbar { display: none; }
  .reloj__fila button { flex: none; scroll-snap-align: start; }
  .reloj__regla { margin-top: 30px; }
  .reloj__marcas span:nth-child(even) { visibility: hidden; }
  .combos__grilla { grid-template-columns: 1fr; }
  .edad__acciones { flex-direction: column; }
  .herramientas__filtros .selector { display: none; }
  .intro__cuerpo { gap: 18px; padding-top: 24px; }
  .intro__nombre { font-size: clamp(52px, 17.5vw, 88px); }
  .intro__presentacion { margin-top: -4px; font-size: 15px; }
  .intro__ideas { gap: 6px; }
  .intro__ideas li { padding-top: 8px; }
  .intro__ideas h2 { margin: 0; font-size: 15px; }
  .intro__ideas p { display: none; }
  .intro__botellas { height: 150px; }
  .intro__vision { font-size: 20px; }
  .intro__acciones { grid-column: 1 / -1; }
  .intro__ideas { grid-template-columns: 1fr; gap: 12px; }
  .intro__ideas li { padding-top: 12px; }
  .intro__ideas p { font-size: 14.5px; }
  .buscador__campo { height: 54px; padding-right: 16px; font-size: 16px; }
  .buscador__accion { display: none; }
  .estante__mover { display: none; }
  .chapas { grid-auto-columns: 60%; gap: 14px; }
  .lista { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .fila__nombre { font-size: 14.5px; }
  .fila__precio > b { font-size: 18px; }
  .agregar { padding: 0 10px; font-size: 14px; }
  .contador { grid-template-columns: 38px minmax(0, 1fr) 38px; }
  .vista-lista .fila { grid-template-columns: 48px minmax(0, 1fr) auto; gap: 4px 12px; padding: 10px 12px; }
  .vista-lista .fila > .producto__foto { grid-row: 1 / span 2; }
  .vista-lista .fila__info, .vista-lista .fila__precio { grid-column: 2; }
  .vista-lista .fila__accion { grid-column: 3; grid-row: 1 / span 2; }
  .vista-lista .fila__accion > * { width: auto; }
  .ruta { grid-template-columns: 1fr; }
  .campos { grid-template-columns: 1fr; }
  .seguir__fila { flex-direction: column; }
  .etapa { grid-template-columns: 48px 1fr; gap: 14px; }
  .etapa__sello { width: 48px; height: 48px; }
  .etapa::before { left: 23px; top: 48px; }
  .hoja { width: 100%; top: auto; height: min(88vh, 100%); border-radius: 0; translate: 0 100%; }
  .hoja.abierta { translate: 0 0; }
  .ficha-producto { width: 100%; max-width: 100%; max-height: 92svh; margin: auto 0 0; border-radius: 0; }
  .ficha-producto__estudio { min-height: 330px; }
  .ficha-producto__precio b { font-size: 32px; }
  .resumen {
    left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); width: auto;
    grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 10px 10px 10px 16px;
    background: var(--tinta); color: #f3f2ee;
  }
  .resumen__fotos, .resumen__confirmar, .resumen__titulo { display: none; }
  .resumen__total { font-size: 18px; }
  .resumen__bultos { color: #b5b9b6; }
  .resumen .agregar { background: var(--blanco); border-color: var(--blanco); color: var(--tinta); }
  body.con-pedido .pie { padding-bottom: 104px; }
  .tostada { bottom: 96px; width: max-content; max-width: calc(100% - 32px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
  .revelar { opacity: 1; translate: none; }
  .intro__botellas img { translate: 0 0 !important; }
  .anotaciones line { stroke-dashoffset: 0; }
  .nota-foto, .anotaciones circle { opacity: 1; translate: none; }
}
@media print {
  .barra, .pie, .resumen, .acciones, .volver, .tostada { display: none !important; }
  body { background: #fff; }
  .remito, .bloque-form { box-shadow: none; }
}

/* ───────── Derechos del consumidor (franja sobre la barra, primera pantalla) ───────── */
.derechos { background: var(--fondo); font-size: 12.5px; color: var(--tinta-2); }
.derechos .contenedor { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 2px 18px; padding-block: 7px 0; }
.derechos a { color: inherit; text-underline-offset: 3px; text-decoration-color: var(--linea-2); }
@media (hover: hover) { .derechos a:hover { color: var(--tinta); text-decoration-color: currentColor; } }
.pie__derechos { display: flex; flex-wrap: wrap; gap: 4px 18px; }

/* ───────── Legales ───────── */
.legal-barra { display: flex; gap: 2px; margin-left: auto; }
.legal-barra a { padding: 8px 12px; border-radius: 0; text-decoration: none; font-weight: 550; font-size: 15px; color: var(--tinta-2); }
@media (hover: hover) { .legal-barra a:hover { color: var(--tinta); background: rgb(22 24 26 / 0.05); } }
.legal { padding: clamp(32px, 5vw, 72px) 0 clamp(56px, 8vw, 112px); }
.legal__titulo { margin: 0; font-family: var(--f-letra); font-stretch: 118%; font-weight: 750; font-size: clamp(36px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -0.015em; text-wrap: balance; }
.legal__bajada { margin: 14px 0 0; max-width: 60ch; font-size: 17px; color: var(--tinta-2); text-wrap: pretty; }
.legal__grilla { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); margin-top: clamp(32px, 4vw, 56px); align-items: start; }
.legal__indice { position: sticky; top: calc(var(--alto-barra) + 24px); display: grid; gap: 2px; }
.legal__indice a { padding: 9px 12px; border-radius: 0; text-decoration: none; font-weight: 550; font-size: 15px; color: var(--tinta-2); transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out); }
@media (hover: hover) { .legal__indice a:hover { color: var(--tinta); background: rgb(22 24 26 / 0.05); } }
.legal__indice a[aria-current="true"] { color: var(--tinta); background: var(--blanco); box-shadow: var(--sombra-1); }
.legal__texto { max-width: 70ch; }
.legal__texto section { padding-bottom: clamp(40px, 5vw, 64px); scroll-margin-top: calc(var(--alto-barra) + 24px); }
.legal__texto section + section { padding-top: clamp(40px, 5vw, 64px); }
.legal__texto h2 { margin: 0 0 18px; font-family: var(--f-letra); font-stretch: 118%; font-weight: 750; font-size: clamp(28px, 3vw, 40px); line-height: 1.05; letter-spacing: -0.012em; }
.legal__texto h3 { margin: 28px 0 8px; font-size: 17px; font-weight: 700; }
.legal__texto p, .legal__texto li { color: var(--tinta-2); text-wrap: pretty; }
.legal__texto p { margin: 0 0 12px; }
.legal__texto b { color: var(--tinta); font-weight: 650; }
.legal__texto ul, .legal__texto ol { margin: 0 0 12px; padding-left: 1.25em; display: grid; gap: 6px; }
.legal__texto a { color: var(--verde); text-underline-offset: 3px; }
.legal__destacado { padding: 12px 16px; border-radius: 0; background: var(--blanco); box-shadow: inset 0 0 0 1px var(--linea); font-weight: 600; color: var(--tinta) !important; }
.legal__norma { font-size: 14px; padding-left: 14px; border-left: 2px solid var(--linea); }
.legal__tabla { overflow-x: auto; margin: 4px 0 16px; border-radius: 0; background: var(--blanco); box-shadow: inset 0 0 0 1px var(--linea); }
.legal__tabla table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14.5px; }
.legal__tabla th { text-align: left; font-weight: 650; padding: 12px 14px; border-bottom: 1px solid var(--linea); }
.legal__tabla td { padding: 11px 14px; color: var(--tinta-2); vertical-align: top; border-bottom: 1px solid var(--linea); }
.legal__tabla tr:last-child td { border-bottom: 0; }
.legal__tabla td:first-child { color: var(--tinta); font-weight: 550; }
.legal__borrar { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin: 20px 0 8px; padding: 18px 20px; border-radius: 0; background: var(--blanco); box-shadow: var(--sombra-1); }
.legal__borrar h3 { margin: 0 0 4px; }
.legal__borrar p { margin: 0; font-size: 14.5px; max-width: 48ch; }
.legal__form { display: grid; gap: 16px; margin-top: 20px; padding: 24px clamp(18px, 3vw, 28px); border-radius: 0; background: var(--blanco); box-shadow: var(--sombra-1); }
.legal__form .boton-primario { justify-self: start; }
.legal__form .nota { margin: 0; }
@media (max-width: 900px) {
  .legal__grilla { grid-template-columns: minmax(0, 1fr); }
  .legal__indice { position: static; display: flex; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); }
  .legal__indice a { white-space: nowrap; flex: none; }
}
@media (max-width: 640px) {
  .legal-barra a { padding: 8px; font-size: 14px; }
  .derechos { font-size: 11.5px; line-height: 1.4; }
  .derechos .contenedor { justify-content: flex-start; gap: 2px 12px; padding-top: 6px; }
  .legal__form .boton-primario { justify-self: stretch; }
  /* La tabla de almacenamiento pasa a tarjetas apiladas */
  .legal__tabla table { min-width: 0; }
  .legal__tabla thead { display: none; }
  .legal__tabla tr { display: grid; gap: 2px; padding: 12px 14px; border-bottom: 1px solid var(--linea); }
  .legal__tabla tr:last-child { border-bottom: 0; }
  .legal__tabla td { padding: 0; border: 0; }
  .legal__tabla td:last-child { font-size: 13px; color: var(--tinta-3); }
}

/* ───────── Checkout: tipo de persona y "Revisá tu pedido" (nota de pedido) ───────── */
.tipo-persona { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
.tipo-persona legend { float: left; width: 100%; margin-bottom: 6px; }
.tipo-persona label { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15px; }
.tipo-persona input { width: 18px; height: 18px; accent-color: var(--verde); }
.revision {
  width: min(920px, calc(100% - 32px)); max-height: calc(100svh - 48px);
  padding: 0; border: 0; border-radius: 0;
  background: var(--papel); color: var(--tinta); box-shadow: var(--sombra-3); overflow: auto;
}
.revision[open] { animation: ficha-entra 320ms var(--ease-out); }
.revision::backdrop { background: rgb(22 24 26 / 0.42); animation: velo-entra 260ms var(--ease-out); }
.nota-pedido { padding: clamp(20px, 3.4vw, 36px); display: grid; gap: 20px; }
.nota-pedido__cabeza { display: flex; justify-content: space-between; align-items: end; gap: 16px 32px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 2px solid var(--tinta); }
.nota-pedido__marca { margin: 0 0 4px; font-family: var(--f-letra); font-stretch: 125%; font-weight: 800; font-size: 15px; letter-spacing: 0.02em; color: var(--verde); }
.nota-pedido__cabeza h2 { margin: 0; font-family: var(--f-letra); font-stretch: 118%; font-weight: 750; font-size: clamp(28px, 3.4vw, 40px); line-height: 1; }
.nota-pedido dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 14.5px; }
.nota-pedido dt { color: var(--tinta-2); }
.nota-pedido dd { margin: 0; font-weight: 600; }
.nota-pedido dd small { display: block; font-weight: 450; color: var(--tinta-2); }
.nota-pedido__cabeza dl { text-align: right; }
.nota-pedido__cabeza dd { text-align: right; }
.nota-pedido__datos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 32px; }
.nota-pedido__tabla { overflow-x: auto; border-radius: 0; background: var(--blanco); box-shadow: inset 0 0 0 1px var(--linea); }
.nota-pedido__tabla table { width: 100%; border-collapse: collapse; font-size: 14px; }
.nota-pedido__tabla th { text-align: left; font-weight: 650; font-size: 12.5px; color: var(--tinta-2); padding: 11px 12px; border-bottom: 1px solid var(--linea); white-space: nowrap; }
.nota-pedido__tabla td { padding: 10px 12px; border-bottom: 1px solid var(--linea); vertical-align: top; }
.nota-pedido__tabla tbody tr:last-child td { border-bottom: 0; }
.nota-pedido__tabla tfoot td { border-top: 2px solid var(--tinta); border-bottom: 0; font-weight: 700; padding-block: 12px; }
.nota-pedido__tabla .der { text-align: right; white-space: nowrap; }
.nota-pedido__notas { margin: 0; font-size: 14.5px; color: var(--tinta-2); }
.nota-pedido__acciones { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
@media (max-width: 640px) {
  .nota-pedido__datos { grid-template-columns: 1fr; }
  .nota-pedido__cabeza dl, .nota-pedido__cabeza dd { text-align: left; }
  /* La tabla pasa a renglones apilados */
  .nota-pedido__tabla thead { display: none; }
  .nota-pedido__tabla tbody tr { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 12px; padding: 12px 14px; border-bottom: 1px solid var(--linea); }
  .nota-pedido__tabla tbody td { padding: 0; border: 0; text-align: left; font-size: 13.5px; }
  .nota-pedido__tabla tbody td:first-child { grid-column: 1 / -1; font-weight: 600; font-size: 14.5px; margin-bottom: 4px; }
  .nota-pedido__tabla tbody td[data-titulo]::before { content: attr(data-titulo) ": "; color: var(--tinta-2); }
  .nota-pedido__tabla tbody td:last-child { font-weight: 700; }
  .nota-pedido__tabla tfoot tr { display: flex; justify-content: space-between; padding: 0 14px; }
  .nota-pedido__tabla tfoot td:not(:first-child):not(:last-child) { display: none; }
  .nota-pedido__acciones { flex-direction: column-reverse; }
  .nota-pedido__acciones > * { width: 100%; }
}
