:root {
  --rojo: #c8202b;
  --rojo-osc: #a3161f;
  --crema: #f4ede3;
  --crema-2: #ebe1d3;
  --papel: #fbf7f1;
  --tinta: #221c19;
  --tinta-2: #5a4f48;
  --linea: #dccfbe;
  --radio: 6px;
  --sombra: 0 10px 30px -14px rgba(60, 30, 20, .35);
  --titulo: 'Zilla Slab', Georgia, serif;
  --cursiva: 'Lora', Georgia, serif;
  --texto: 'Source Sans 3', system-ui, sans-serif;
  --ancho: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; overflow-x: clip; }
body {
  margin: 0; font-family: var(--texto); color: var(--tinta); font-size: 17px; line-height: 1.5;
  background-color: var(--crema);
  background-image:
    radial-gradient(rgba(120, 80, 50, .05) 1px, transparent 1px),
    radial-gradient(rgba(120, 80, 50, .04) 1px, transparent 1px);
  background-size: 7px 7px, 11px 11px;
  background-position: 0 0, 3px 5px;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
.ic { width: 18px; height: 18px; flex: none; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .72em 1.3em; border-radius: 3px; border: 2px solid transparent;
  font-family: var(--titulo); font-weight: 600; text-transform: uppercase; letter-spacing: .04em;
  font-size: .95rem; text-decoration: none; transition: background .2s, color .2s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-rojo { background: var(--rojo); color: #fff; }
.btn-rojo:hover { background: var(--rojo-osc); }
.btn-borde { border-color: var(--tinta); color: var(--tinta); background: transparent; }
.btn-borde:hover { background: var(--tinta); color: #fff; }
.btn-blanco { border-color: #fff; color: #fff; background: rgba(0,0,0,.15); }
.btn-blanco:hover { background: #fff; color: var(--tinta); }
.flecha { font-size: 1.4em; line-height: 0; }

/* Barra superior */
.topbar {
  background: var(--rojo); color: #fff; font-size: .88rem; display: flex; justify-content: center;
  align-items: center; gap: .55rem; padding: .42rem 1rem; text-align: center; flex-wrap: wrap;
}
.topbar .sep { opacity: .6; }

/* Cabecera */
.cabecera { position: sticky; top: 0; z-index: 40; background: rgba(250, 245, 238, .96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--linea); }
.cab-in {
  max-width: var(--ancho); margin: 0 auto; padding: 0 1.5rem; height: 92px;
  display: grid; grid-template-columns: 1fr auto 1fr auto; align-items: center; gap: 1.5rem;
}
.nav { display: flex; gap: 2.2rem; }
.nav-izq { justify-content: center; }
.nav-der { justify-content: flex-start; }
.nav a {
  font-family: var(--titulo); font-weight: 600; text-transform: uppercase; letter-spacing: .04em;
  text-decoration: none; font-size: .98rem; position: relative; padding: .3rem 0;
}
.nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--rojo); transition: right .25s; }
.nav a:hover::after { right: 0; }
.logo img { height: 116px; width: auto; margin: 10px 0 -34px; filter: drop-shadow(0 6px 10px rgba(80, 20, 20, .25)); transition: transform .3s; }
.logo:hover img { transform: rotate(-4deg) scale(1.03); }
.acciones { display: flex; align-items: center; gap: .6rem; }
.ic-btn { background: none; border: 0; padding: .45rem; color: var(--tinta); position: relative; border-radius: 50%; }
.ic-btn:hover { background: var(--crema-2); }
.ic-btn svg { width: 24px; height: 24px; display: block; }
.burbuja {
  position: absolute; top: -1px; right: -3px; min-width: 19px; height: 19px; border-radius: 10px;
  background: var(--rojo); color: #fff; font-size: .72rem; font-weight: 700; display: grid; place-items: center; padding: 0 4px;
}
.burbuja.salto { animation: salto .45s; }
@keyframes salto { 40% { transform: scale(1.45); } }
.btn-compra { margin-left: .6rem; padding: .62em 1.1em; font-size: .88rem; }
.menu-btn { display: none; background: none; border: 0; width: 42px; height: 42px; padding: 9px; }
.menu-btn span { display: block; height: 3px; background: var(--tinta); margin: 5px 0; border-radius: 2px; transition: .25s; }

.buscador { border-top: 1px solid var(--linea); background: var(--papel); }
.buscador-in { max-width: 760px; margin: 0 auto; padding: .9rem 1.5rem; display: flex; gap: .5rem; }
.buscador input { flex: 1; font: inherit; padding: .7rem 1rem; border: 2px solid var(--linea); border-radius: 4px; background: #fff; }
.buscador input:focus { outline: none; border-color: var(--rojo); }

.cerrar { background: none; border: 0; font-size: 2rem; line-height: 1; color: var(--tinta-2); padding: 0 .4rem; }
.cerrar:hover { color: var(--rojo); }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1fr 1fr; min-height: 470px; max-width: 1600px; margin: 0 auto;
  border-bottom: 1px solid var(--linea);
}
.hero-txt { padding: 4.5rem 3rem 4rem max(1.5rem, calc((100vw - var(--ancho)) / 2 + 1.5rem)); align-self: center; }
.hero h1 {
  font-family: var(--titulo); font-weight: 700; text-transform: uppercase; font-size: clamp(2.4rem, 4.6vw, 4.1rem);
  line-height: 1.02; margin: 0; letter-spacing: .01em; color: #1d1714;
  text-shadow: 0 1px 0 rgba(255,255,255,.4);
}
.raya { display: block; width: 62%; height: 3px; background: var(--rojo); margin: 1.3rem 0 .9rem; }
.lema { font-family: var(--cursiva); font-style: italic; font-size: clamp(1.15rem, 1.6vw, 1.45rem); margin: 0 0 1.7rem; }
.hero-img { position: relative; overflow: hidden; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; animation: zoom 18s ease-in-out infinite alternate; }
.hero-img::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--crema) 0, rgba(244,237,227,0) 14%); pointer-events: none; }
@keyframes zoom { from { transform: scale(1); } to { transform: scale(1.07); } }

/* Ventajas */
.ventajas {
  list-style: none; margin: 0 auto; padding: 1.6rem 1.5rem; max-width: var(--ancho);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
.ventajas li { padding-left: 1rem; border-left: 3px solid var(--rojo); }
.ventajas strong { display: block; font-family: var(--titulo); text-transform: uppercase; letter-spacing: .03em; }
.ventajas span { font-size: .92rem; color: var(--tinta-2); }

/* Secciones */
.seccion { max-width: var(--ancho); margin: 0 auto; padding: 3rem 1.5rem 1.5rem; }
.titulo-linea { display: flex; align-items: center; gap: 1.6rem; margin: 0 0 1.8rem; font-family: var(--titulo); font-weight: 700; text-transform: uppercase; font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: .02em; text-align: center; }
.titulo-linea::before, .titulo-linea::after { content: ''; flex: 1; height: 2px; background: var(--rojo); max-width: 220px; }
.titulo-linea { justify-content: center; }
.intro { text-align: center; color: var(--tinta-2); max-width: 680px; margin: -0.8rem auto 1.6rem; }

/* Recetas */
.recetas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.receta {
  position: relative; border-radius: var(--radio); overflow: hidden; background: #2a1d17; color: #fff;
  aspect-ratio: 16 / 10.5; box-shadow: var(--sombra); cursor: pointer; border: 0; padding: 0; text-align: left;
}
.receta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.receta:hover img { transform: scale(1.06); }
.receta::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(20,10,5,.85) 100%); }
.receta-txt { position: absolute; left: 1.2rem; right: 1.2rem; bottom: 1.1rem; z-index: 1; }
.receta h3 { font-family: var(--cursiva); font-style: italic; font-weight: 600; font-size: 1.65rem; margin: 0; line-height: 1.1; }
.receta small { display: block; text-transform: uppercase; font-size: .78rem; letter-spacing: .06em; margin: .25rem 0 .8rem; }
.receta .btn { padding: .4em .9em; font-size: .78rem; }

/* Filtros */
.filtros { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: .8rem; }
.filtro {
  border: 2px solid var(--tinta); background: transparent; padding: .45rem 1.05rem; border-radius: 30px;
  font-family: var(--titulo); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; font-size: .9rem;
}
.filtro:hover { background: var(--crema-2); }
.filtro[aria-selected="true"] { background: var(--rojo); border-color: var(--rojo); color: #fff; }
.cat-desc { text-align: center; font-family: var(--cursiva); font-style: italic; color: var(--tinta-2); margin: .4rem 0 1.4rem; min-height: 1.5em; }
.subtitulo { font-family: var(--titulo); text-transform: uppercase; font-size: 1.25rem; margin: 2rem 0 1rem; padding-bottom: .4rem; border-bottom: 2px solid var(--linea); }
.subtitulo:first-child { margin-top: 0; }
.vacio { text-align: center; padding: 2rem; color: var(--tinta-2); }

/* Tarjetas de producto */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.2rem; }
.prod {
  background: var(--papel); border: 1px solid var(--linea); border-radius: var(--radio); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s;
}
.prod:hover { transform: translateY(-3px); box-shadow: var(--sombra); }
.prod-img { aspect-ratio: 4 / 3; position: relative; overflow: hidden; display: grid; place-items: center; }
.prod-img img { width: 100%; height: 100%; object-fit: cover; }
.prod-img .marca { width: 46%; height: auto; opacity: .16; }
.prod-img .etq { position: absolute; left: .7rem; bottom: .55rem; font-family: var(--titulo); text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; font-weight: 700; opacity: .75; }
.tono-ternera { background: linear-gradient(135deg, #b9343a, #7d1a22); color: #fff; }
.tono-cerdo { background: linear-gradient(135deg, #e7a99b, #c97767); color: #3b130e; }
.tono-pollo { background: linear-gradient(135deg, #f1cf8f, #d9a04f); color: #4a2a08; }
.tono-elaborados { background: linear-gradient(135deg, #b98457, #7e5232); color: #fff; }
.tono-embutidos { background: linear-gradient(135deg, #7a2430, #3f1118); color: #fff; }

.tono-ternera .marca, .tono-elaborados .marca, .tono-embutidos .marca { opacity: .3; }
.prod-cuerpo { padding: .9rem 1rem 1rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.prod h4 { margin: 0; font-family: var(--titulo); font-size: 1.15rem; line-height: 1.2; font-weight: 600; }
.prod .nota { font-size: .86rem; color: var(--tinta-2); margin: 0; }
.precio { font-family: var(--titulo); font-weight: 700; font-size: 1.35rem; color: var(--rojo); margin-top: auto; padding-top: .3rem; }
.precio small { font-size: .8rem; color: var(--tinta-2); font-weight: 500; }
.precio.consultar { font-size: 1rem; color: var(--tinta-2); font-style: italic; font-family: var(--cursiva); }
.comprar { display: flex; gap: .45rem; align-items: stretch; }
.comprar select {
  flex: 1; min-width: 0; font: inherit; font-size: .95rem; padding: .45rem .5rem; border: 1.5px solid var(--linea); border-radius: 3px; background: #fff;
}
.comprar .btn { padding: .5em .8em; font-size: .82rem; }
.cant { display: inline-flex; align-items: center; border: 1.5px solid var(--linea); border-radius: 3px; background: #fff; }
.cant button { background: none; border: 0; width: 30px; height: 100%; font-size: 1.1rem; font-weight: 700; color: var(--tinta); }
.cant button:hover { color: var(--rojo); }
.cant span { min-width: 2.6em; text-align: center; font-weight: 600; font-size: .92rem; }
.comprar .cant { flex: 1; justify-content: space-between; }

/* Packs */
.packs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.pack { background: var(--papel); border: 1px solid var(--linea); border-top: 5px solid var(--rojo); border-radius: var(--radio); padding: 1.3rem; display: flex; flex-direction: column; }
.pack h3 { font-family: var(--titulo); text-transform: uppercase; margin: 0 0 .3rem; font-size: 1.35rem; }
.pack > p { margin: 0 0 .8rem; color: var(--tinta-2); font-size: .95rem; }
.pack ul { list-style: none; margin: 0 0 1rem; padding: 0; font-size: .92rem; }
.pack li { display: flex; justify-content: space-between; gap: .5rem; padding: .3rem 0; border-bottom: 1px dashed var(--linea); }
.pack li span:last-child { color: var(--tinta-2); white-space: nowrap; }
.pack .total { margin-top: auto; display: flex; align-items: baseline; justify-content: space-between; margin-bottom: .8rem; }
.pack .total strong { font-family: var(--titulo); font-size: 1.6rem; color: var(--rojo); }

/* Contacto */
.contacto { background: #241a16; color: #f4ede3; margin-top: 3.5rem; }
.contacto-in { max-width: var(--ancho); margin: 0 auto; padding: 3.5rem 1.5rem; display: grid; grid-template-columns: 220px 1fr; gap: 3rem; align-items: center; }
.contacto h2 { font-family: var(--titulo); text-transform: uppercase; font-size: 2rem; margin: 0 0 .6rem; }
.contacto p { max-width: 620px; color: #d8cbbb; }
.datos { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: .3rem; }
.datos li strong { color: #fff; margin-right: .4rem; }
.contacto-btns { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.2rem; }
.contacto .btn-borde { border-color: #f4ede3; color: #f4ede3; }
.contacto .btn-borde:hover { background: #f4ede3; color: #241a16; }
.pie { background: #1a1310; color: #a8998a; text-align: center; padding: 1.4rem 1rem; font-size: .9rem; }
.pie p { margin: .2rem 0; }
.pie-links { display: flex; justify-content: center; gap: 1.2rem; }
.pie a { text-decoration: none; }
.pie a:hover { color: #fff; }

/* Carrito */
.velo { position: fixed; inset: 0; background: rgba(20, 10, 5, .45); z-index: 60; }
.carrito {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); background: var(--papel); z-index: 70;
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform .3s ease; box-shadow: -12px 0 40px rgba(0,0,0,.2);
}
.carrito.abierto { transform: none; }
.carrito-cab { display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 1.3rem; border-bottom: 1px solid var(--linea); }
.carrito-cab h3 { margin: 0; font-family: var(--titulo); text-transform: uppercase; font-size: 1.4rem; }
.carrito-cuerpo { flex: 1; overflow-y: auto; padding: .5rem 1.3rem; }
.linea { display: grid; grid-template-columns: 1fr auto; gap: .3rem .8rem; padding: .9rem 0; border-bottom: 1px solid var(--linea); }
.linea h5 { margin: 0; font-size: 1rem; font-family: var(--titulo); font-weight: 600; }
.linea .ud { font-size: .82rem; color: var(--tinta-2); }
.linea .imp { font-weight: 700; text-align: right; }
.linea .ctrl { display: flex; gap: .6rem; align-items: center; }
.linea .cant { height: 32px; }
.quitar { background: none; border: 0; color: var(--tinta-2); font-size: .82rem; text-decoration: underline; padding: 0; }
.quitar:hover { color: var(--rojo); }
.carrito-pie { border-top: 1px solid var(--linea); padding: 1rem 1.3rem 1.3rem; background: var(--crema); }
.barra-envio { font-size: .88rem; margin-bottom: .8rem; }
.barra-envio .barra { height: 7px; border-radius: 4px; background: var(--crema-2); overflow: hidden; margin-top: .35rem; }
.barra-envio .barra i { display: block; height: 100%; background: var(--rojo); transition: width .4s; }
.totales { display: grid; grid-template-columns: 1fr auto; gap: .2rem; margin-bottom: 1rem; }
.totales .grande { font-family: var(--titulo); font-weight: 700; font-size: 1.35rem; }
.carrito-pie .btn { width: 100%; }
.carrito-vacio { text-align: center; padding: 3rem 1rem; color: var(--tinta-2); }
.carrito-vacio .marca { width: 110px; margin: 0 auto 1rem; opacity: .15; }
.peq { font-size: .8rem; color: var(--tinta-2); margin: .6rem 0 0; }

/* Modales */
.modal { border: 0; border-radius: 8px; padding: 0; width: min(900px, calc(100vw - 1.5rem)); max-height: calc(100vh - 2rem); background: var(--papel); color: var(--tinta); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.modal::backdrop { background: rgba(20, 10, 5, .55); }
.modal-cab { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.4rem; border-bottom: 1px solid var(--linea); position: sticky; top: 0; background: var(--papel); z-index: 1; }
.modal-cab h3 { margin: 0; font-family: var(--titulo); text-transform: uppercase; font-size: 1.4rem; }
.receta-modal-img { aspect-ratio: 16 / 6; overflow: hidden; }
.receta-modal-img img { width: 100%; height: 100%; object-fit: cover; }
.receta-modal { display: grid; grid-template-columns: 1fr 1.4fr; gap: 2rem; padding: 1.4rem; }
.receta-modal h4 { font-family: var(--titulo); text-transform: uppercase; margin: 0 0 .6rem; color: var(--rojo); }
.receta-modal ul, .receta-modal ol { margin: 0; padding-left: 1.2rem; }
.receta-modal li { margin-bottom: .45rem; }
.meta { display: flex; gap: 1.2rem; padding: 0 1.4rem; margin-top: 1rem; font-family: var(--cursiva); font-style: italic; color: var(--tinta-2); }
.receta-compra { margin: 0 1.4rem 1.4rem; padding: 1rem 1.2rem; background: var(--crema); border-radius: 6px; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }

.form-pedido fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: .8rem; }
.form-pedido legend { font-family: var(--titulo); text-transform: uppercase; font-weight: 700; margin-bottom: .6rem; font-size: 1.1rem; }
.form-cols { display: grid; grid-template-columns: 1.25fr 1fr; gap: 1.8rem; padding: 1.3rem 1.4rem .5rem; }
.form-pedido label { display: grid; gap: .25rem; font-size: .9rem; font-weight: 600; }
.form-pedido input, .form-pedido textarea { font: inherit; font-weight: 400; padding: .6rem .75rem; border: 1.5px solid var(--linea); border-radius: 4px; background: #fff; }
.form-pedido input:focus, .form-pedido textarea:focus { outline: none; border-color: var(--rojo); }
.form-pedido .invalido { border-color: var(--rojo); background: #fff3f2; }
.fila2 { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
#camposEnvio { display: grid; gap: .8rem; }
.entrega { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.opcion { position: relative; }
.opcion input { position: absolute; opacity: 0; }
.opcion span { display: block; border: 2px solid var(--linea); border-radius: 6px; padding: .65rem .8rem; font-family: var(--titulo); font-size: 1rem; cursor: pointer; background: #fff; }
.opcion small { display: block; font-family: var(--texto); font-weight: 400; color: var(--tinta-2); font-size: .82rem; }
.opcion input:checked + span { border-color: var(--rojo); box-shadow: inset 0 0 0 1px var(--rojo); }
.opcion input:focus-visible + span { outline: 2px solid var(--tinta); outline-offset: 2px; }
.resumen { background: var(--crema); border-radius: 6px; padding: 1rem 1.1rem; align-self: start; font-size: .92rem; }
.resumen h4 { margin: 0 0 .6rem; font-family: var(--titulo); text-transform: uppercase; }
.resumen .r-linea { display: flex; justify-content: space-between; gap: .6rem; padding: .3rem 0; border-bottom: 1px dashed var(--linea); }
.resumen .r-tot { display: flex; justify-content: space-between; margin-top: .5rem; }
.resumen .r-tot.grande { font-family: var(--titulo); font-weight: 700; font-size: 1.25rem; }
.modal-pie { display: flex; gap: .8rem; padding: .6rem 1.4rem 0; flex-wrap: wrap; }
.aviso { padding: .5rem 1.4rem 1.3rem; margin: 0; font-size: .86rem; color: var(--tinta-2); }
.error { color: var(--rojo); font-weight: 600; padding: 0 1.4rem; margin: .3rem 0 0; min-height: 1.2em; }

.toast {
  position: fixed; left: 50%; bottom: 1.5rem; transform: translate(-50%, 150%); background: var(--tinta); color: #fff;
  padding: .75rem 1.2rem; border-radius: 4px; z-index: 90; transition: transform .3s; font-weight: 600; box-shadow: var(--sombra);
}
.toast:not(.ver) { visibility: hidden; transition: transform .3s, visibility 0s .3s; }
.toast.ver { transform: translate(-50%, 0); }

/* Responsive */
@media (max-width: 1080px) {
  .nav { gap: 1.3rem; }
  .btn-compra { display: none; }
  .packs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .cab-in { grid-template-columns: auto 1fr auto; height: 74px; gap: .5rem; }
  .menu-btn { display: block; }
  .logo { justify-self: center; }
  .logo img { height: 84px; margin: 8px 0 -22px; }
  .nav { display: none; }
  .cabecera.menu-abierto .nav {
    display: flex; flex-direction: column; gap: 0; position: absolute; left: 0; right: 0; background: var(--papel);
    padding: 0 1.5rem; border-bottom: 1px solid var(--linea);
  }
  .cabecera.menu-abierto .nav-izq { top: 74px; padding-top: 1.2rem; }
  .cabecera.menu-abierto .nav-der { top: calc(74px + 1.2rem + 3 * 3rem); padding-bottom: 1rem; }
  .cabecera.menu-abierto .nav a { line-height: 3rem; height: 3rem; padding: 0; border-bottom: 1px solid var(--linea); }
  .menu-abierto .menu-btn span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-abierto .menu-btn span:nth-child(2) { opacity: 0; }
  .menu-abierto .menu-btn span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .hero { grid-template-columns: 1fr; }
  .hero-img { order: -1; height: 300px; }
  .hero-img::before { background: linear-gradient(0deg, var(--crema) 0, rgba(244,237,227,0) 25%); }
  .hero-txt { padding: 1.5rem 1.5rem 2.5rem; }
  .ventajas { grid-template-columns: 1fr 1fr; }
  .recetas { grid-template-columns: 1fr; }
  .form-cols { grid-template-columns: 1fr; }
  .receta-modal { grid-template-columns: 1fr; }
  .contacto-in { grid-template-columns: 1fr; text-align: center; }
  .contacto-logo { width: 150px; margin: 0 auto; }
  .contacto p { margin-left: auto; margin-right: auto; }
  .contacto-btns { justify-content: center; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .topbar .sep { display: none; }
  .packs { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
  .prod-cuerpo { padding: .7rem; }
  .prod h4 { font-size: 1rem; }
  .comprar { flex-direction: column; }
  .titulo-linea::before, .titulo-linea::after { max-width: 40px; }
  .fila2, .entrega { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* Cantidad libre */
.comprar { flex-direction: column; gap: .5rem; }
.comprar > .btn { width: 100%; }
.qty { display: flex; align-items: stretch; border: 1.5px solid var(--linea); border-radius: 4px; background: #fff; height: 38px; }
.qty:focus-within { border-color: var(--rojo); }
.qty button { background: none; border: 0; width: 34px; flex: none; font-size: 1.15rem; font-weight: 700; color: var(--tinta); }
.qty button:hover { color: var(--rojo); background: var(--crema); }
.qty input { flex: 1; min-width: 0; border: 0; text-align: right; font: inherit; font-weight: 600; padding: 0 .3rem; background: transparent; }
.qty input:focus { outline: none; }
.qty input.invalido { color: var(--rojo); }
.qty select { border: 0; background: transparent; font: inherit; font-weight: 600; color: var(--tinta-2); padding: 0 .1rem; cursor: pointer; }
.qty .q-ud { align-self: center; color: var(--tinta-2); font-weight: 600; padding: 0 .4rem 0 .15rem; }
.comprar-fila { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.estim { font-size: .92rem; color: var(--tinta-2); font-weight: 600; }
.comprar-fila .btn { padding: .55em 1em; font-size: .82rem; }
.cant-in { width: 3.6em; border: 0; text-align: right; font: inherit; font-weight: 600; font-size: .92rem; background: transparent; padding: 0; }
.cant-in:focus { outline: 1px solid var(--rojo); }
.linea .cant em { font-style: normal; font-size: .85rem; color: var(--tinta-2); padding: 0 .3rem 0 .2rem; }
@media (max-width: 560px) {
  .comprar-fila { flex-direction: column; align-items: stretch; text-align: center; }
}
