/* Bombini Suplementos: rojo, negro y blanco (la estética de la marca). */
:root {
  --rojo: #d3262d;
  --rojo-osc: #a91d23;
  --negro: #000;
  --blanco: #fff;
  --papel: #f2f1ef;
  --gris: #5c5c5c;
  --linea: #dfddd9;
  --verde-wa: #1f9d55;
  --ancho: 1180px;
  --radio: 6px;
  --f: "Archivo", "Arial Narrow", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  font-family: var(--f);
  font-size: 17px;
  line-height: 1.5;
  color: var(--negro);
  background: var(--papel);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--rojo); outline-offset: 2px; }
.portada :focus-visible, .pie :focus-visible { outline-color: var(--blanco); }
[hidden] { display: none !important; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.saltar { position: absolute; left: -999px; top: 8px; background: var(--negro); color: var(--blanco); padding: 8px 14px; z-index: 100; }
.saltar:focus { left: 8px; }

.contenedor { max-width: var(--ancho); margin: 0 auto; padding: 0 24px; }

/* Tipografía de títulos: Archivo expandido, como el logo. */
.titulo-seccion, .portada h1, .destacado h2, .precio, .tarjeta__titulo, .pedido__cabeza h2, .pasos__lista b, .pie__marca {
  font-stretch: 125%;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.05;
}
.titulo-seccion { font-size: clamp(30px, 4vw, 44px); margin: 0; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border: 2px solid transparent; border-radius: var(--radio);
  font-weight: 700; font-size: 16px; text-decoration: none;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn svg { width: 22px; height: 22px; }
.btn--rojo { background: var(--rojo); color: var(--blanco); }
.btn--rojo:hover { background: var(--rojo-osc); }
.btn--borde { border-color: currentColor; color: var(--blanco); }
.btn--borde:hover { background: var(--blanco); color: var(--negro); border-color: var(--blanco); }
.btn--blanco { background: var(--blanco); color: var(--negro); }
.btn--blanco:hover { background: var(--negro); color: var(--blanco); }
.btn--wa { background: var(--verde-wa); color: var(--blanco); width: 100%; font-size: 17px; min-height: 54px; }
.btn--wa:hover { background: #17824a; }

/* El bloque de precio rojo es la firma de la marca (igual que en la lista de precios). */
.precio {
  display: inline-block;
  background: var(--rojo); color: var(--blanco);
  padding: 7px 12px 6px; border-radius: var(--radio);
  font-size: 24px; white-space: nowrap;
}
.precio--xl { font-size: clamp(34px, 5vw, 52px); padding: 10px 18px 8px; }

/* Cabecera */
.cabecera { position: sticky; top: 0; z-index: 30; background: var(--blanco); border-bottom: 4px solid var(--rojo); }
.cabecera__in { max-width: var(--ancho); margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; gap: 28px; }
.cabecera__logo img { width: 168px; }
.cabecera__nav { display: flex; gap: 24px; margin-left: auto; }
.cabecera__nav a { position: relative; text-decoration: none; font-weight: 600; font-size: 16px; padding: 6px 0; }
.cabecera__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--rojo);
  transform: scaleX(0); transform-origin: right; transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.cabecera__nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.btn-pedido {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--negro); color: var(--blanco); border: 0; border-radius: var(--radio);
  min-height: 44px; padding: 0 16px; font-weight: 700; font-size: 16px;
}
.btn-pedido svg { width: 22px; height: 22px; }
.btn-pedido:hover { background: var(--rojo); }
.btn-pedido__n {
  min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px;
  background: var(--rojo); color: var(--blanco); font-size: 14px; line-height: 24px; text-align: center;
}
.btn-pedido:hover .btn-pedido__n { background: var(--blanco); color: var(--rojo); }
.btn-pedido__n.salta { animation: salta .35s ease-out; }
@keyframes salta { 40% { transform: scale(1.35); } }

/* Portada */
.portada { background: var(--negro); color: var(--blanco); overflow: hidden; }
.portada__in {
  max-width: var(--ancho); margin: 0 auto; padding: 64px 24px 72px;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center;
}
/* Slogan de la marca: lo más grande de la portada. Debajo, el título (para Google) más chico. */
.portada .portada__slogan {
  margin: 0 0 20px; color: var(--blanco); max-width: none; font-stretch: 125%; font-weight: 900; line-height: .96; letter-spacing: -.02em;
  font-size: clamp(30px, 3.1vw, 43px); white-space: nowrap;
}
.portada__grito { display: block; color: var(--rojo); font-size: 1.82em; line-height: .92; }
.portada h1 { font-size: clamp(22px, 2.3vw, 30px); margin: 0 0 14px; max-width: 24ch; }
.portada__texto p { font-size: 19px; max-width: 42ch; margin: 0 0 30px; color: #d9d9d9; }
.portada__acciones { display: flex; flex-wrap: wrap; gap: 12px; }

.destacado { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; }
.portada__texto { min-width: 0; }
.destacado__etiqueta {
  position: absolute; top: 14px; left: 14px; z-index: 1; margin: 0;
  background: var(--negro); color: var(--blanco); font-weight: 700; font-size: 14px;
  padding: 4px 10px; border-radius: var(--radio);
}
.destacado__foto { background: var(--blanco); border-radius: var(--radio); aspect-ratio: 5 / 4; display: grid; place-items: center; padding: 24px; }
.destacado__foto { min-width: 0; overflow: hidden; }
.destacado__foto img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; min-height: 0; }
.destacado__info { padding: 22px 0 0; }
.destacado h2 { font-size: clamp(26px, 3vw, 34px); margin: 0 0 4px; }
.destacado__info > p { margin: 0 0 18px; color: #bdbdbd; }
.destacado__compra { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

/* Catálogo */
.catalogo { padding: 64px 0 56px; }
.catalogo__cabeza { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 32px; margin-bottom: 28px; }
.filtros { display: flex; flex-wrap: wrap; gap: 8px; }
.filtro {
  border: 2px solid var(--negro); background: transparent; border-radius: 999px;
  padding: 6px 14px; font-weight: 600; font-size: 15px;
}
.filtro:hover { background: var(--blanco); }
.filtro[aria-pressed="true"] { background: var(--negro); color: var(--blanco); }
.filtro small { font-weight: 500; opacity: .65; margin-left: 4px; font-size: 13px; }
.aviso-carga { color: var(--gris); }

.grilla { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.tarjeta {
  display: flex; flex-direction: column;
  background: var(--blanco); border: 1px solid var(--linea); border-radius: var(--radio);
  padding: 16px 18px 18px; position: relative;
}
.tarjeta--combo { border: 2px solid var(--rojo); }
.tarjeta__marca {
  position: absolute; top: 12px; left: 12px; z-index: 1; margin: 0;
  background: var(--negro); color: var(--blanco); font-weight: 700; font-size: 13px; padding: 3px 9px; border-radius: var(--radio);
}
.tarjeta__foto { aspect-ratio: 1; display: grid; place-items: center; margin: 0 -4px 14px; }
.tarjeta__foto img { max-height: 100%; width: auto; object-fit: contain; }
.tarjeta__foto--varias { display: flex; align-items: center; justify-content: center; gap: 6px; }
.tarjeta__foto--varias img { width: calc(50% - 3px); max-height: 100%; }
.tarjeta__foto--sin {
  background: var(--papel); border-radius: var(--radio);
  font-stretch: 125%; font-weight: 800; font-size: 22px; color: var(--gris); text-align: center; padding: 20px;
}
.tarjeta__titulo { font-size: 21px; margin: 0 0 4px; }
.tarjeta__detalle { margin: 0 0 12px; color: var(--gris); font-size: 15px; }
.tarjeta__detalle b { color: var(--negro); font-weight: 600; }
.sabores { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; padding: 0; border: 0; }
.sabores legend { font-size: 13px; color: var(--gris); padding: 0; margin-bottom: 6px; float: left; width: 100%; }
.sabor {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1.5px solid var(--linea); background: var(--blanco); border-radius: var(--radio);
  padding: 5px 10px; font-size: 14px; font-weight: 600;
}
.sabor:hover { border-color: var(--negro); }
.sabor[aria-pressed="true"] { background: var(--negro); color: var(--blanco); border-color: var(--negro); }
.punto { display: inline-block; width: 9px; height: 9px; border-radius: 50%; flex: none; }
.punto--si { background: var(--rojo); }
.punto--pedido { border: 2px solid var(--gris); }
.sabor[aria-pressed="true"] .punto--pedido { border-color: var(--blanco); }
.tarjeta__stock { display: flex; align-items: center; gap: 7px; font-size: 14px; margin: 0 0 14px; }
.en-stock { display: inline-flex; align-items: center; gap: 7px; color: var(--gris); }
.en-stock::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #1f9d55; }
.ultimas {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--rojo); color: var(--blanco); font-weight: 700; font-size: 13px; line-height: 1;
  padding: 5px 9px; border-radius: var(--radio); white-space: nowrap;
}
.destacado .ultimas { vertical-align: 1px; margin-left: 4px; }
.tarjeta__ahorro { font-size: 14px; font-weight: 700; color: var(--rojo); margin: -6px 0 12px; }
.tarjeta__compra { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.btn-agregar {
  border: 0; background: var(--negro); color: var(--blanco); border-radius: var(--radio);
  min-height: 44px; padding: 0 16px; font-weight: 700; font-size: 15px;
}
.btn-agregar:hover { background: var(--rojo); }
.btn-agregar.ok { background: var(--rojo); }

/* Tarjeta al final de la grilla: pedir la lista por encargo */
.tarjeta--mas {
  background: var(--negro); color: var(--blanco); border-color: var(--negro);
  justify-content: center; gap: 10px; padding: 26px 22px; min-height: 280px;
}
.tarjeta--mas__n { margin: 0; font-stretch: 125%; font-weight: 900; font-size: 56px; line-height: 1; color: var(--rojo); }
.tarjeta--mas .tarjeta__titulo { color: var(--blanco); }
.tarjeta--mas p:not(.tarjeta--mas__n) { margin: 0 0 8px; color: #cfcfcf; font-size: 15px; }
.tarjeta--mas .btn { align-self: flex-start; }
.tarjeta--mas::after { background: var(--blanco); }

/* "¿Querés ver más productos?" */
.mas { background: var(--rojo); color: var(--blanco); padding: 64px 0; position: relative; overflow: hidden; }
.mas__in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.mas h2 { font-stretch: 125%; font-weight: 800; font-size: clamp(30px, 4.4vw, 50px); line-height: 1.04; margin: 0 0 16px; }
.mas__texto p { margin: 0 0 12px; font-size: 18px; max-width: 46ch; }
.mas__como { font-weight: 700; margin-bottom: 26px !important; }
.btn--grande { min-height: 56px; padding: 0 26px; font-size: 17px; }
.btn--grande svg { color: var(--verde-wa); }
.mas__rotulo { margin: 0 0 12px; font-weight: 700; font-size: 14px; opacity: .85; }
.mas__marcas ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.mas__marcas li {
  border: 2px solid rgba(255, 255, 255, .85); border-radius: var(--radio); padding: 9px 14px;
  font-stretch: 112%; font-weight: 800; font-size: 17px; line-height: 1;
}
.mas__marcas li:nth-child(3n+1) { background: var(--blanco); color: var(--rojo); border-color: var(--blanco); }
.cantidad button[disabled] { opacity: .3; cursor: not-allowed; }
.catalogo__bajada { margin: 10px 0 0; color: var(--gris); max-width: 52ch; }

/* Cómo comprar */
.pasos { padding: 64px 0 72px; }
.pasos__lista { list-style: none; counter-reset: paso; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.pasos__lista li { counter-increment: paso; display: grid; gap: 8px; align-content: start; border-top: 4px solid var(--negro); padding-top: 18px; }
.pasos__lista li::before {
  content: counter(paso);
  font-stretch: 125%; font-weight: 900; font-size: 44px; line-height: 1; color: var(--rojo);
}
.pasos__lista b { font-size: 21px; }
.pasos__lista span { color: var(--gris); max-width: 34ch; }

/* Pie */
.pie { background: var(--negro); color: var(--blanco); padding: 40px 0; border-top: 6px solid var(--rojo); }
.pie__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.pie__marca { font-size: 24px; margin: 0 0 6px; }
.pie__nota { margin: 0; color: #a8a8a8; font-size: 14px; }

/* Pedido (panel lateral) */
.velo { position: fixed; inset: 0; background: rgba(0, 0, 0, .55); z-index: 40; }
.pedido {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 50;
  width: min(440px, 100%); background: var(--blanco);
  display: flex; flex-direction: column;
  animation: entra .22s ease-out;
}
@keyframes entra { from { transform: translateX(40px); opacity: 0; } }
.pedido__cabeza { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 4px solid var(--rojo); }
.pedido__cabeza h2 { margin: 0; font-size: 26px; }
.pedido__cerrar { border: 0; background: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--radio); }
.pedido__cerrar:hover { background: var(--papel); }
.pedido__cerrar svg { width: 22px; height: 22px; }
.pedido__cuerpo { flex: 1; overflow-y: auto; padding: 8px 22px 18px; }
.pedido__vacio { color: var(--gris); margin: 24px 0; }
.pedido__items { list-style: none; margin: 0; padding: 0; }
.item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--linea); }
.item img, .item__sinfoto { width: 56px; height: 56px; object-fit: contain; }
.item__sinfoto { background: var(--papel); border-radius: var(--radio); }
.item__nombre { margin: 0; font-weight: 700; font-size: 15px; line-height: 1.25; }
.item__sub { margin: 2px 0 0; font-size: 13px; color: var(--gris); }
.item__der { display: grid; justify-items: end; gap: 6px; }
.item__precio { font-weight: 700; font-size: 15px; }
.cantidad { display: inline-flex; align-items: center; border: 1.5px solid var(--linea); border-radius: var(--radio); }
.cantidad button { border: 0; background: none; width: 32px; height: 32px; font-size: 18px; font-weight: 700; }
.cantidad button:hover { background: var(--papel); }
.cantidad span { min-width: 24px; text-align: center; font-weight: 700; font-size: 15px; }
.pedido__datos { display: grid; gap: 12px; margin-top: 20px; }
.pedido__datos label { display: flex; flex-wrap: wrap; gap: 4px 6px; font-size: 14px; font-weight: 600; }
.pedido__datos input { flex: 1 0 100%; }
.pedido__datos label span { font-weight: 400; color: var(--gris); }
.pedido__datos input { font: inherit; font-size: 16px; padding: 10px 12px; border: 1.5px solid var(--linea); border-radius: var(--radio); }
.pedido__datos input:focus { border-color: var(--negro); outline: none; }
.pedido__pie { padding: 16px 22px 20px; border-top: 1px solid var(--linea); display: grid; gap: 10px; }
.pedido__total { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 4px; font-size: 18px; }
.pedido__total b { font-stretch: 125%; font-weight: 800; font-size: 28px; }
.pedido__vaciar { border: 0; background: none; color: var(--gris); font-size: 14px; text-decoration: underline; justify-self: center; padding: 6px; }

/* Aviso al agregar */
.aviso {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 35;
  display: flex; align-items: center; gap: 16px;
  background: var(--negro); color: var(--blanco); border-radius: var(--radio);
  padding: 10px 10px 10px 18px; font-size: 15px; box-shadow: 0 8px 30px rgba(0, 0, 0, .3);
  animation: sube .2s ease-out; max-width: calc(100% - 32px);
}
@keyframes sube { from { transform: translate(-50%, 12px); opacity: 0; } }
.aviso button { border: 0; background: var(--rojo); color: var(--blanco); border-radius: var(--radio); padding: 8px 12px; font-weight: 700; font-size: 14px; white-space: nowrap; }

/* ===================== Ficha de producto ===================== */
.tarjeta__titulo-btn, .destacado__titulo-btn {
  background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; text-align: left; cursor: pointer;
}
.tarjeta__titulo-btn:hover, .destacado__titulo-btn:hover { text-decoration: underline; text-decoration-color: var(--rojo); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.tarjeta__foto[data-ver], .destacado__foto--ver { cursor: zoom-in; }
.tarjeta__ver {
  align-self: flex-start; background: none; border: 0; padding: 2px 0; margin: -4px 0 12px;
  color: var(--rojo); font: inherit; font-weight: 700; font-size: 14px; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
}
.tarjeta__ver:hover { color: var(--negro); }

.ficha-velo { position: fixed; inset: 0; background: rgba(0, 0, 0, .62); z-index: 44; }
.ficha {
  position: fixed; z-index: 45; top: 4vh; left: 0; right: 0; margin: 0 auto;
  width: min(1120px, 94vw); max-height: 92vh; overflow-y: auto; overscroll-behavior: contain;
  background: var(--blanco); border-radius: 10px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6);
  animation: fichaEntra .28s cubic-bezier(.2,.8,.2,1);
}
@keyframes fichaEntra { from { opacity: 0; transform: translateY(24px) scale(.985); } }
.ficha__cuerpo { padding: 30px 38px 36px; }
.ficha__top { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 42px; align-items: start; }
.ficha__miniaturas { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.ficha__mini {
  flex: none; width: 72px; height: 72px; padding: 4px; cursor: pointer;
  border: 2px solid var(--linea); border-radius: var(--radio); background: var(--blanco);
}
.ficha__mini img { width: 100%; height: 100%; object-fit: contain; }
.ficha__mini:hover { border-color: #b9b6b1; }
.ficha__mini[aria-pressed="true"] { border-color: var(--negro); }
.ficha__datos { padding-top: 26px; }
.ficha__cat { margin: 0 0 6px; color: var(--rojo); font-weight: 700; font-size: 14px; }
.ficha__datos h2 { font-stretch: 125%; font-weight: 800; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.04; margin: 0 0 6px; padding-right: 40px; }
.ficha__datos .tarjeta__detalle { font-size: 16px; margin-bottom: 18px; }
.ficha__compra { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 4px 0 24px; }
.btn-agregar.ficha__agregar { min-height: 54px; padding: 0 26px; font-size: 16px; background: var(--rojo); }
.btn-agregar.ficha__agregar:hover { background: var(--negro); }
.ficha__claves { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; }
.ficha__claves div { background: var(--papel); border-radius: var(--radio); padding: 11px 13px; }
.ficha__claves dt { font-size: 13px; color: var(--gris); }
.ficha__claves dd { margin: 3px 0 0; font-stretch: 112%; font-weight: 800; font-size: 18px; line-height: 1.15; }
.ficha__info {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 44px;
  margin-top: 40px; padding-top: 30px; border-top: 4px solid var(--negro);
}
.ficha__bloque h3 { font-stretch: 125%; font-weight: 800; font-size: 22px; line-height: 1.1; margin: 0 0 14px; }
.ficha__bloque + .ficha__bloque { margin-top: 30px; }
.ficha__texto { font-size: 16px; line-height: 1.6; color: #222; max-width: 68ch; }
.ficha__texto h4 { font-size: 16px; font-weight: 800; margin: 20px 0 6px; }
.ficha__texto h4:first-child { margin-top: 0; }
.ficha__texto p { margin: 0 0 10px; }
.ficha__texto ul, .ficha__lista { margin: 0 0 10px; padding-left: 20px; }
.ficha__texto li, .ficha__lista li { margin-bottom: 7px; line-height: 1.5; }
.ficha__lista li::marker, .ficha__texto li::marker { color: var(--rojo); }
.ficha__tabla { width: 100%; border-collapse: collapse; font-size: 15px; }
.ficha__tabla th { text-align: left; font-weight: 500; color: var(--gris); padding: 9px 14px 9px 0; border-bottom: 1px solid var(--linea); width: 52%; vertical-align: top; }
.ficha__tabla td { padding: 9px 0; border-bottom: 1px solid var(--linea); font-weight: 700; }
.ficha__bloque--tablas { margin-top: 38px; }
.ficha__tablas { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; align-items: start; }
.ficha__tablas a { display: block; border: 1px solid var(--linea); border-radius: var(--radio); overflow: hidden; background: var(--blanco); cursor: zoom-in; }
.ficha__tablas img { width: 100%; height: auto; }
.ficha__fuente { margin: 28px 0 0; font-size: 13px; color: var(--gris); max-width: 80ch; }
.ficha__sin-info { margin: 30px 0 0; }
.ficha__sin-info a { color: var(--rojo); font-weight: 700; }
.aviso { z-index: 47; }

/* ===================== Efectos ===================== */

/* Cabecera que se achica + progreso de lectura */
.cabecera { transition: box-shadow .3s; }
.cabecera__in, .cabecera__logo img { transition: padding .3s, width .3s; }
.cabecera--chica { box-shadow: 0 6px 24px -10px rgba(0, 0, 0, .35); }
.cabecera--chica .cabecera__in { padding-top: 6px; padding-bottom: 6px; }
.cabecera--chica .cabecera__logo img { width: 138px; }
.progreso {
  position: absolute; left: 0; right: 0; bottom: -4px; height: 4px;
  background: var(--negro); transform: scaleX(0); transform-origin: left;
}

/* Portada: palabra gigante de fondo, bloque rojo detrás del producto */
.portada { position: relative; isolation: isolate; }
.portada__fondo {
  position: absolute; z-index: -1; left: -1vw; bottom: -.2em;
  font-stretch: 125%; font-weight: 900; font-size: clamp(140px, 24vw, 380px); line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .09);
  white-space: nowrap; pointer-events: none; user-select: none; will-change: transform;
}
.destacado { --rx: 0deg; --ry: 0deg; perspective: 1000px; }
.destacado::before {
  content: ""; position: absolute; z-index: 0; top: -18px; left: -18px; width: 62%; height: 58%;
  background: var(--rojo); border-radius: var(--radio);
}
.destacado__foto {
  position: relative; z-index: 1;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
  transform-style: preserve-3d;
}
.destacado__etiqueta { z-index: 2; }
.destacado__info { position: relative; z-index: 1; }

.anim .portada__slogan .pal { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.anim .portada__slogan .pal > span {
  display: inline-block; transform: translateY(105%);
  animation: palabra .9s cubic-bezier(.2,.8,.2,1) forwards;
  animation-delay: calc(var(--i) * 65ms + 120ms);
}
@keyframes palabra { to { transform: none; } }
.anim .portada h1, .anim .portada__texto p:not(.portada__slogan) { animation: aparece .8s .7s cubic-bezier(.2,.8,.2,1) backwards; }
.anim .portada__acciones { animation: aparece .8s .85s cubic-bezier(.2,.8,.2,1) backwards; }
.anim .destacado { animation: entraProducto 1.1s .35s cubic-bezier(.2,.8,.2,1) backwards; }
.anim .destacado::before { animation: bloque .9s .6s cubic-bezier(.7,0,.2,1) backwards; transform-origin: left top; }
.anim .destacado__foto img { animation: flota 5.5s 1.4s ease-in-out infinite; }
.anim .destacado .precio { animation: sello .55s 1.15s cubic-bezier(.3,1.7,.5,1) backwards; }
@keyframes entraProducto { from { opacity: 0; transform: translateY(46px) rotate(2.5deg); } }
@keyframes bloque { from { transform: scale(0, 1); } }
@keyframes flota { 50% { transform: translateY(-10px) rotate(-1deg); } }
@keyframes sello { from { opacity: 0; transform: scale(1.7) rotate(-8deg); } }

/* Cinta roja en movimiento */
.cinta { background: var(--rojo); color: var(--blanco); overflow: hidden; border-bottom: 4px solid var(--negro); }
.cinta__pista { display: flex; width: max-content; animation: cinta 32s linear infinite; }
.cinta:hover .cinta__pista { animation-play-state: paused; }
.cinta span {
  display: inline-flex; align-items: center; gap: 28px; padding: 14px 0 14px 28px;
  font-stretch: 125%; font-weight: 800; font-size: 20px; white-space: nowrap;
}
.cinta span::after { content: ""; width: 10px; height: 10px; background: var(--negro); transform: rotate(45deg); }
@keyframes cinta { to { transform: translateX(-50%); } }

/* Aparición al bajar (solo con movimiento activado) */
.anim .revelar { opacity: 0; }
.anim .revelar.visto { opacity: 1; animation: aparece .75s cubic-bezier(.2,.8,.2,1) backwards; animation-delay: calc(var(--i, 0) * 80ms); }
.anim .tarjeta.reentra { animation: reentra .5s cubic-bezier(.2,.8,.2,1) backwards; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes aparece { from { opacity: 0; transform: translateY(28px); } }
@keyframes reentra { from { opacity: 0; transform: translateY(14px) scale(.97); } }

/* Barra roja bajo los títulos de sección */
.titulo-seccion::after { content: ""; display: block; width: 64px; height: 6px; margin-top: 14px; background: var(--rojo); transform-origin: left; }
.anim .titulo-seccion.visto::after { animation: bloque .8s .35s cubic-bezier(.7,0,.2,1) backwards; }

/* Tarjetas: se levantan, la foto se acerca y aparece una línea roja */
.tarjeta { transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .35s; overflow: hidden; }
.tarjeta::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--rojo);
  transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.2,.8,.2,1);
}
.tarjeta__foto img { transition: transform .6s cubic-bezier(.2,.8,.2,1), opacity .16s; }
.tarjeta__foto img.cambiando { opacity: 0; transform: scale(.94); }
@media (hover: hover) {
  .tarjeta:hover { transform: translateY(-6px); box-shadow: 0 22px 40px -22px rgba(0, 0, 0, .45); border-color: #c9c6c1; }
  .tarjeta--combo:hover { border-color: var(--rojo); }
  .tarjeta:hover::after { transform: scaleX(1); }
  .tarjeta:hover .tarjeta__foto img { transform: scale(1.06); }
  .tarjeta--mas:hover { border-color: var(--negro); }
}
.btn, .btn-agregar, .btn-pedido, .filtro, .sabor { transition: background-color .2s, color .2s, border-color .2s, transform .15s; }
.btn:active, .btn-agregar:active, .filtro:active, .sabor:active { transform: scale(.96); }

/* Foto que vuela al pedido */
.volando { position: fixed; z-index: 60; object-fit: contain; pointer-events: none; background: var(--blanco); border-radius: var(--radio); box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.golpe { animation: golpe .4s ease-out; }
@keyframes golpe { 35% { transform: scale(1.12); } }

/* Pasos: el número grande entra desde abajo */
.anim .pasos__lista li.visto::before { animation: aparece .7s cubic-bezier(.2,.8,.2,1) backwards; animation-delay: calc(var(--i, 0) * 80ms + 150ms); }

/* Botón flotante de WhatsApp con pulso */
.wa-flotante {
  position: fixed; right: 22px; bottom: 22px; z-index: 26;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--verde-wa); color: var(--blanco);
  box-shadow: 0 10px 26px -8px rgba(0, 0, 0, .5);
  transition: transform .25s cubic-bezier(.2,.8,.2,1);
}
.wa-flotante svg { width: 30px; height: 30px; }
.wa-flotante:hover { transform: scale(1.08); }
.anim .wa-flotante { animation: aparece .6s 1.6s backwards; }
.anim .wa-flotante::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--verde-wa);
  animation: pulso 2.4s 2.2s ease-out infinite;
}
@keyframes pulso { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }
.barra-movil { display: none; }
.sin-js { background: var(--rojo); color: var(--blanco); padding: 16px 24px; margin: 0; text-align: center; }

@media (max-width: 760px) {
  .ficha { top: 0; bottom: 0; width: 100%; max-height: none; border-radius: 0; animation-name: fichaSube; }
  .ficha__cuerpo { padding: 12px 16px 32px; }
  .ficha__top, .ficha__info { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .ficha__datos { padding-top: 0; }
  .ficha__mini { width: 58px; height: 58px; }
  .ficha__compra .precio--xl { font-size: 32px; }
  .btn-agregar.ficha__agregar { flex: 1; }
  .ficha__info { margin-top: 28px; padding-top: 22px; }
  .ficha__tablas { grid-template-columns: minmax(0, 1fr); }
}
@keyframes fichaSube { from { transform: translateY(40px); opacity: 0; } }
@media (max-width: 900px) {
  .portada__in { grid-template-columns: minmax(0, 1fr); padding: 44px 20px 52px; gap: 40px; }
  .pasos__lista { grid-template-columns: 1fr; gap: 24px; }
  .mas__in { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .cabecera__nav { display: none; }
  .btn-pedido { margin-left: auto; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .contenedor { padding: 0 16px; }
  .cabecera__in { padding: 10px 16px; }
  .cabecera__logo img { width: 132px; }
  .btn-pedido span { display: none; }
  .catalogo, .pasos, .mas { padding: 44px 0; }
  .mas__texto p { font-size: 16px; }
  .mas__marcas li { font-size: 15px; padding: 8px 11px; }
  .btn--grande { width: 100%; }
  .tarjeta--mas { padding: 16px 14px; min-height: 0; }
  .tarjeta--mas__n { font-size: 40px; }
  .tarjeta--mas p:not(.tarjeta--mas__n) { font-size: 13px; }
  .tarjeta--mas .btn { align-self: stretch; min-height: 42px; padding: 0 10px; font-size: 14px; }
  .grilla { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tarjeta { padding: 10px 10px 12px; }
  .tarjeta__titulo { font-size: 17px; }
  .tarjeta__detalle { font-size: 13px; }
  .tarjeta__compra { flex-direction: column; align-items: stretch; }
  .tarjeta .precio { font-size: 20px; text-align: center; }
  .sabor { font-size: 13px; padding: 4px 8px; }
  .barra-movil {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--blanco); border-top: 1px solid var(--linea);
  }
  .barra-movil button {
    width: 100%; min-height: 50px; border: 0; border-radius: var(--radio);
    background: var(--rojo); color: var(--blanco); font-weight: 700; font-size: 16px;
    display: flex; align-items: center; justify-content: space-between; padding: 0 18px;
  }
  body.con-barra { padding-bottom: 76px; }
  body.con-barra .wa-flotante { display: none; }
  .wa-flotante { right: 14px; bottom: 14px; width: 52px; height: 52px; }
  .cinta span { font-size: 16px; padding: 11px 0 11px 22px; gap: 22px; }
  .destacado::before { top: -12px; left: -12px; }
  body.con-barra .aviso { bottom: 88px; }
}

/* =====================================================================
   v5 (27/11/2026): tarjetas más limpias, ficha cómoda en el celular,
   portada compacta, aviso y carrito más claros.
   ===================================================================== */

/* ---- Tarjetas ---- */
.tarjeta { padding: 0; }
.tarjeta.tarjeta--mas { padding: 26px 22px; }
.tarjeta__media { position: relative; }
.tarjeta__foto { margin: 0; padding: 18px 18px 6px; }
.tarjeta__aviso {
  position: absolute; left: 12px; bottom: 8px; z-index: 1;
  background: var(--rojo); color: var(--blanco); font-weight: 700; font-size: 13px; line-height: 1;
  padding: 6px 9px; border-radius: var(--radio); white-space: nowrap;
}
.tarjeta__cuerpo { display: flex; flex-direction: column; flex: 1; padding: 10px 18px 18px; min-width: 0; }
.tarjeta__cat { margin: 0 0 4px; color: var(--rojo); font-weight: 700; font-size: 13px; }
.tarjeta__titulo { margin: 0 0 4px; }
.tarjeta__detalle { margin: 0 0 10px; }
.tarjeta__sabor { margin: 0 0 12px; font-size: 14px; color: var(--gris); }
.tarjeta__sabor b { color: var(--negro); font-weight: 700; }
.tarjeta__compra { margin-top: auto; padding-top: 4px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tarjeta__precio {
  font-stretch: 125%; font-weight: 800; font-size: 26px; line-height: 1; letter-spacing: -.01em;
  color: var(--rojo); white-space: nowrap;
}
.btn-agregar { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn-agregar svg { width: 20px; height: 20px; flex: none; }
.tarjeta__ver {
  align-self: flex-start; margin: 12px 0 0; padding: 4px 0;
  color: var(--gris); font-weight: 600; font-size: 14px; text-decoration: underline; text-underline-offset: 3px;
}
.tarjeta__ver:hover { color: var(--rojo); }

/* ---- Ficha: barra de arriba, fotos deslizables, compra ---- */
.ficha__barra {
  position: sticky; top: 0; z-index: 4;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 8px 12px; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--linea);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.ficha__volver, .ficha__compartir {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px;
  border: 0; border-radius: var(--radio); background: none; font-weight: 700; font-size: 15px;
}
.ficha__volver { padding-left: 6px; }
.ficha__volver svg, .ficha__compartir svg { width: 22px; height: 22px; }
.ficha__volver:hover, .ficha__compartir:hover { background: var(--papel); }
.ficha__cuerpo { padding-top: 24px; }
.ficha__galeria { position: relative; min-width: 0; }
.ficha__tira {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-width: none; aspect-ratio: 1;
  border: 1px solid var(--linea); border-radius: var(--radio); background: var(--blanco);
}
.ficha__tira::-webkit-scrollbar { display: none; }
.ficha__foto { flex: 0 0 100%; height: 100%; min-width: 0; scroll-snap-align: center; display: grid; place-items: center; padding: 18px; }
.ficha__foto img { max-width: 100%; max-height: 100%; width: auto; object-fit: contain; }
.ficha__contador {
  position: absolute; top: 10px; right: 10px; pointer-events: none;
  background: rgba(0, 0, 0, .72); color: var(--blanco); font-size: 13px; font-weight: 700; line-height: 1;
  padding: 6px 10px; border-radius: 999px;
}
.ficha__accion { display: none; }
.ficha__texto.plegado {
  max-height: 300px; overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 62%, transparent); mask-image: linear-gradient(#000 62%, transparent);
}
.ficha__leer {
  margin-top: 6px; border: 2px solid var(--negro); background: none; border-radius: var(--radio);
  padding: 10px 16px; font-weight: 700; font-size: 15px;
}
.ficha__leer:hover { background: var(--negro); color: var(--blanco); }
@media (min-width: 761px) {
  .ficha__contador { display: none; }
}

/* ---- Carrito ---- */
.pedido__vacio p { margin: 0 0 16px; }
.pedido__nota { margin: -2px 0 0; font-size: 13px; color: var(--gris); text-align: center; }

/* ---- Pie ---- */
.pie__links { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---- Botón de WhatsApp: se corre al bajar (celular) ---- */
.wa-flotante { transition: transform .3s cubic-bezier(.2,.8,.2,1), opacity .3s; }
.wa-flotante--oculto { transform: translateY(96px); opacity: 0; pointer-events: none; }

@media (max-width: 760px) {
  .ficha__cuerpo { padding: 12px 16px 24px; }
  .ficha__tira { margin: -12px -16px 0; width: calc(100% + 32px); max-width: none; border: 0; border-radius: 0; aspect-ratio: 1 / .9; }
  .ficha__contador { top: 0; right: 0; }
  .ficha__miniaturas { display: none; }
  .ficha__datos h2 { font-size: 28px; padding-right: 0; }
  .ficha__compra { display: none; }
  .ficha__accion {
    display: flex; align-items: center; gap: 12px; position: sticky; bottom: 0; z-index: 4;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: var(--blanco); border-top: 1px solid var(--linea); box-shadow: 0 -10px 24px -18px rgba(0, 0, 0, .45);
  }
  .ficha__accion-precio { display: grid; min-width: 0; }
  .ficha__accion-precio small { font-size: 12px; color: var(--gris); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ficha__accion-precio b { font-stretch: 125%; font-weight: 800; font-size: 24px; line-height: 1.1; color: var(--rojo); }
  .ficha__accion .ficha__agregar { flex: none; width: auto; margin-left: auto; min-height: 50px; padding: 0 20px; }
  .ficha__accion-precio { flex: 1; }
  .ficha__texto.plegado { max-height: 240px; }
}

@media (max-width: 640px) {
  /* Portada compacta: el producto destacado entra en la primera pantalla */
  .portada__in { padding: 26px 16px 32px; gap: 24px; }
  /* El tamaño sigue al ancho de la pantalla: "BOMBEAS!" ocupa justo el ancho disponible. */
  .portada .portada__slogan { font-size: calc((100vw - 32px) / 13.1); margin-bottom: 14px; }
  .portada h1 { font-size: 20px; margin-bottom: 10px; max-width: none; }
  .portada__texto p { font-size: 16px; margin-bottom: 20px; }
  .portada__acciones .btn--rojo { width: 100%; }
  .portada__acciones .btn--borde { display: none; }
  .portada__fondo { font-size: 120px; }
  .destacado {
    grid-template-columns: 42% minmax(0, 1fr); background: var(--blanco); color: var(--negro);
    border-radius: var(--radio); overflow: hidden;
  }
  .destacado::before { display: none; }
  .destacado__foto { aspect-ratio: auto; height: 100%; padding: 12px; border-radius: 0; }
  .destacado__etiqueta { top: 8px; left: 8px; font-size: 12px; padding: 3px 8px; }
  .destacado__info { padding: 14px 14px 14px 6px; display: flex; flex-direction: column; justify-content: center; }
  .destacado h2 { font-size: 20px; }
  .destacado__info > p { color: var(--gris); font-size: 13px; margin-bottom: 10px; }
  .destacado__compra { flex-direction: column; align-items: stretch; gap: 8px; }
  .destacado .precio--xl { font-size: 24px; padding: 6px 10px 5px; text-align: center; }
  .destacado .btn { min-height: 42px; padding: 0 10px; font-size: 14px; background: var(--negro); color: var(--blanco); }

  /* Tarjetas en dos columnas */
  .tarjeta { padding: 0; }
  .tarjeta__foto { padding: 10px 10px 4px; }
  .tarjeta__aviso { left: 8px; bottom: 4px; font-size: 12px; padding: 5px 7px; }
  .tarjeta__cuerpo { padding: 8px 10px 12px; }
  .tarjeta__cat { font-size: 12px; margin-bottom: 2px; }
  .tarjeta__titulo { font-size: 16px; }
  .tarjeta__detalle { font-size: 13px; margin-bottom: 8px; }
  .tarjeta__sabor { font-size: 13px; margin-bottom: 10px; }
  .tarjeta__compra { flex-direction: column; align-items: stretch; gap: 8px; }
  .tarjeta__precio { font-size: 22px; }
  .btn-agregar { min-height: 46px; width: 100%; font-size: 15px; }
  .tarjeta__ver { align-self: center; font-size: 13px; margin-top: 8px; }
  .tarjeta.tarjeta--mas { padding: 16px 14px; }

  /* Aviso al agregar: a lo ancho */
  .aviso { left: 12px; right: 12px; bottom: 14px; transform: none; max-width: none; justify-content: space-between; animation-name: subeCel; }
  body.con-barra .aviso { bottom: 84px; }

  /* Carrito: botones de cantidad más cómodos */
  .cantidad button { width: 40px; height: 38px; }

  /* Pasos: número a la izquierda */
  .pasos__lista li { grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; row-gap: 4px; padding-top: 16px; }
  .pasos__lista li::before { grid-row: span 2; font-size: 36px; }
  .pasos__lista b { font-size: 19px; }

  .pie__links, .pie__links .btn { width: 100%; }
  .wa-flotante { width: 50px; height: 50px; }
  .wa-flotante svg { width: 27px; height: 27px; }
}
@keyframes subeCel { from { transform: translateY(12px); opacity: 0; } }
.pie__slogan { margin: 0 0 8px; font-stretch: 125%; font-weight: 800; font-size: 17px; }
.pie__slogan b { color: var(--rojo); font-weight: 900; }
