/* Las Flautas · tienda con el diseño v5 de Carlos (nov 2026)
   Va después de v3.css y pedidos.css: sólo cambia la piel, no el funcionamiento.
   Papel crema, títulos rojos con sombra amarilla escalonada, verde de marca en botones y pie, esquinas de 3px. */

:root { --verde: #00553b; --oscuro: #00553b; --amarillo: #e8a618; --crema: #f6eee3; --esquina: 3px; }

/* Fondo de papel */
.pagina-tienda { background: #f5efe8 url(../img/papel-crema-movil.webp) center top / 100% auto repeat-y; }
@media (min-width: 900px) { .pagina-tienda { background-image: url(../img/papel-crema.webp); } }

/* Cabecera: como la del inicio */
.cabecera nav a.boton-ordenar { border-radius: var(--esquina); background: var(--crema); }

/* Encabezado de la tienda: titular en bloque, como la apertura del inicio */
.tienda-cabeza { padding: 0; background: #f5efe8 url(../img/papel-crema-movil.webp) center / cover no-repeat; background-blend-mode: normal; color: var(--rojo); }
@media (min-width: 900px) { .tienda-cabeza { background-image: url(../img/papel-crema.webp); } }
.tienda-titulo { display: grid; justify-items: center; padding: 48px 16px 40px; text-align: center; }
.tienda-cabeza h1 { width: auto; line-height: 1; font-size: clamp(38px, 9vw, 72px); color: var(--rojo);
  --hueco: #f5efe8;
  text-shadow: .018em .018em 0 var(--hueco), .036em .036em 0 var(--hueco), .05em .05em 0 var(--amarillo), .062em .062em 0 var(--amarillo), .074em .074em 0 var(--amarillo); }
.tienda-titulo .linea { border: 0; height: 2px; width: min(420px, 80%); margin: 22px auto 18px; background: var(--rojo); }
.tienda-titulo .mayus { font-family: 'Futura', 'Futura PT', 'Jost', sans-serif; font-weight: 700; font-size: clamp(13px, 3.6vw, 17px); letter-spacing: .06em; text-transform: uppercase; }

/* Los tres pasos: franja verde con papel, como «El sabor de la casa» */
.tienda-pasos { width: 100%; margin: 0; background: var(--verde) url(../img/papel-crema-movil.webp) center / cover; background-blend-mode: multiply; }
@media (min-width: 900px) { .tienda-pasos { background-image: url(../img/papel-crema.webp); } }
.tienda-pasos li { color: #fff; --hueco: var(--verde); text-shadow: 1px 1px 0 var(--hueco), 2px 2px 0 var(--amarillo); }
.tienda-pasos li + li { box-shadow: inset 1px 0 0 rgba(255, 255, 255, .28); }

/* Avisos */
.aviso-tienda { border-radius: 0; }
.aviso-prueba { background: #0a3a2a; }

/* Barra de categorías */
.st-barra { background: transparent; box-shadow: none; }
@media (max-width: 899px) { .st-barra { background: #f5efe8; box-shadow: 0 1px 0 rgba(200, 16, 46, .2); } }
.st-cats a { border-radius: var(--esquina); background: var(--blanco, #fffdf9); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tinta) 14%, transparent); font-weight: 800; }
.st-cats a.on { background: var(--verde); }

/* Títulos de sección: rojo, versalitas, sombra amarilla y raya roja */
.st-seccion h2 { color: var(--rojo); letter-spacing: .035em; --hueco: #f5efe8;
  text-shadow: 1px 1px 0 var(--hueco), 2px 2px 0 var(--hueco), 3px 3px 0 var(--amarillo), 4px 4px 0 var(--amarillo); }
.st-seccion h2::after { background: var(--rojo) !important; opacity: 1 !important; height: 2px !important; }

/* Tarjetas de producto: superficie de papel blanco, esquinas apenas suaves */
.st-p { background: transparent; }
@media (min-width: 900px) {
  .st-p, .st-promo { border-radius: 4px !important; background: var(--blanco, #fffdf9) !important; box-shadow: 0 0 0 1px color-mix(in srgb, var(--tinta) 10%, transparent), 0 10px 26px -12px rgba(59, 24, 4, .25) !important; }
  .st-p:hover, .st-promo:hover { box-shadow: 0 0 0 1px color-mix(in srgb, var(--tinta) 16%, transparent), 0 16px 32px -12px rgba(59, 24, 4, .32) !important; }
  .st-p .ft, .st-promo .ft { border-radius: 2px !important; }
  .st-p .comprar { border-radius: var(--esquina); background: var(--verde); color: #fff; box-shadow: none; letter-spacing: .08em; }
  .st-p:hover .comprar, .st-p .comprar.ok { background: #0a3a2a; }
}
.st-p .ft { border-radius: 4px; }
.st-p b { text-transform: uppercase; letter-spacing: .03em; }
.st-p .precio { color: var(--rojo); }
.st-promo-acc button { border-radius: var(--esquina) !important; background: var(--verde) !important; box-shadow: none !important; letter-spacing: .08em; }
.st-promo-acc button:hover { background: #0a3a2a !important; }

/* Ficha del producto */
.st-hoja .caja { background: #f5efe8 url(../img/papel-crema-movil.webp) center / cover; }
@media (min-width: 900px) { .st-hoja .caja { border-radius: 6px; background-image: url(../img/papel-crema.webp); } }
.st-hc h3 { color: var(--rojo); --hueco: #f5efe8; text-shadow: 1px 1px 0 var(--hueco), 2px 2px 0 var(--hueco), 3px 3px 0 var(--amarillo), 4px 4px 0 var(--amarillo); }
.st-hc .chips button { border-radius: var(--esquina); background: var(--blanco, #fffdf9); }
.st-hc .chips button[aria-pressed="true"] { background: var(--verde); }
.ficha-cant { border-radius: var(--esquina); background: #ebe0cf; }
.ficha-cant button { border-radius: 2px; }

/* Botones: rectos, como «Ver más» del inicio */
.pedido-enviar { border-radius: var(--esquina); box-shadow: none; }
.pedido-enviar:hover:not(:disabled) { background: #a50d26; }
.cupon-campo button { border-radius: var(--esquina); }
.carrito-barra { border-radius: var(--esquina); box-shadow: 0 12px 26px rgba(60, 0, 8, .3); }

/* Comanda: el ticket se queda, con el título en rojo de la marca */
.comanda-cabeza h2 { color: var(--rojo); }
.paso-titulo i { background: var(--verde); }
.sug { border-radius: 4px; }
.sug-ft { border-radius: 2px; }

/* Seguimiento y cupón: el mismo papel */
.seguimiento, .cupon-pagina { background: #f5efe8 url(../img/papel-crema-movil.webp) center top / 100% auto repeat-y; }
@media (min-width: 900px) { .seguimiento, .cupon-pagina { background-image: url(../img/papel-crema.webp); } }
.seg-cabeza h1, .cupon-hoja h1 { --hueco: #f5efe8; text-shadow: .018em .018em 0 var(--hueco), .036em .036em 0 var(--hueco), .05em .05em 0 var(--amarillo), .062em .062em 0 var(--amarillo); }
.seg-tarjeta, .cupon-hoja { border-radius: 4px; }

/* Pie: verde, centrado, como el del inicio */
.pie { background: var(--verde); }
.pie .envoltura { justify-items: center; text-align: center; }
.pie .pie-enlaces { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin: 0; }
.pie .pie-enlaces a { text-decoration: none; font-weight: 700; font-size: 14px; }
.pie .pie-dir { max-width: 36ch; }
.pie .firma { font-size: 13px; opacity: .85; }
@media (min-width: 900px) { .pie .envoltura { grid-template-columns: 1fr; } }

:focus-visible { outline: 2px solid var(--verde); outline-offset: 4px; }

/* Promos con el arte vertical de los videos (464×832): se ve completo, sin recortar */
.st-promo > img { aspect-ratio: 464 / 832; object-fit: cover; }
@media (min-width: 900px) { .st-promos-rej { max-width: 640px; } }
