/* Productos individuales y controles de cantidad en la carta. */
.faq{max-width:none!important;margin:0!important}
.product-groups{align-items:start}
#tacos .product-groups{grid-template-columns:repeat(3,minmax(0,1fr))}
.product-group{padding:1rem}
.product-group h3{padding-bottom:.7rem;border-bottom:2px solid var(--ink);margin-bottom:.15rem}
.product-group h3 small{display:block;margin-top:.35rem;color:#ba1c1c;font:700 .78rem/1.1 Arial,Helvetica,sans-serif;letter-spacing:0;text-transform:none}
.product-list{display:grid;gap:0}
.product-divider{margin:.85rem 0 .1rem;padding:.35rem .45rem;background:#f4e76a;border-left:4px solid var(--red);font-size:.78rem;font-weight:900;line-height:1.2;text-transform:uppercase}
.product-divider:first-child{margin-top:.25rem}
.product-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:.65rem;align-items:center;padding:.62rem 0;border-bottom:1px solid #e1dbd2;font-size:.91rem}
.product-row:last-child{border-bottom:0}
.product-row>span{font-weight:700}
.product-row>strong{white-space:nowrap}
.product-row.is-selected{color:#0a6c31}
.menu-stepper{display:flex;align-items:center;border:2px solid var(--ink);border-radius:4px;overflow:hidden;background:#fff}
.menu-stepper button{border:0;background:var(--yellow);width:27px;height:27px;cursor:pointer;font-size:1.15rem;font-weight:900;line-height:1}
.menu-stepper button:hover{background:var(--red);color:#fff}
.menu-stepper b{display:grid;place-items:center;min-width:25px;font-size:.85rem;color:var(--ink)}
@media(max-width:850px){#tacos .product-groups{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){#tacos .product-groups{grid-template-columns:1fr}.product-row{grid-template-columns:1fr auto}.product-row>strong{grid-column:1}.menu-stepper{grid-column:2;grid-row:1 / span 2}.product-group{padding:.85rem}.product-row{font-size:.87rem}}

/* Hero: se da mayor protagonismo a la imagen principal de tacos en escritorio. */
@media(min-width:851px){
  .hero{grid-template-columns:.84fr 1.16fr}
  .hero-art>img:first-child{width:min(100%,740px);margin-left:auto}
}

/* Datos que acompañan el pedido de WhatsApp. */
.order-details{display:grid;gap:.65rem;margin:0 0 .9rem}
.order-details label{display:grid;gap:.25rem;font-weight:800;font-size:.85rem}
.order-details input[type="text"],.order-details textarea{width:100%;border:2px solid var(--ink);border-radius:4px;padding:.5rem;font:inherit;resize:vertical}
.order-details fieldset{border:0;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:.55rem .8rem}
.order-details legend{width:100%;font-weight:800;font-size:.85rem;margin-bottom:.1rem}
.order-details fieldset label{display:block;font-size:.84rem;font-weight:700}
.order-details small{font-weight:400}
.order-details > label{display:block}
.order-details > label>input,.order-details > label>textarea{display:block;margin-top:.25rem}

/* Categorías de menú siempre disponibles debajo del encabezado. */
.category-bar{position:sticky;top:88px;z-index:19;box-shadow:0 3px 0 rgba(0,0,0,.18)}
@media(max-width:850px){.category-bar{top:70px}}

@media(min-width:851px){.menu-section{scroll-margin-top:146px}}
@media(max-width:850px){.menu-section{scroll-margin-top:128px}}

/* Acceso a taquizas y eventos desde el inicio. */
.event-home-banner{display:flex;justify-content:center;padding:0 1rem;margin:4.5rem auto}
.event-home-banner>div{max-width:860px;padding:1.5rem 1.7rem;background:var(--yellow);border:3px solid var(--ink);box-shadow:var(--shadow);text-align:center}
.event-home-banner h2{font-size:clamp(2.2rem,4vw,4.1rem);margin-bottom:.7rem}
.event-home-banner h2 em{color:var(--red);font-style:normal;text-shadow:2px 2px 0 var(--ink)}
.event-home-banner p:not(.eyebrow){font-weight:800}
@media(max-width:700px){.event-home-banner{padding:0 1rem;margin:3.5rem auto}.event-home-banner>div{max-width:none;margin:0;padding:1.2rem}.event-home-banner h2{font-size:2.45rem}}

/* Galería de platillos dentro de La Taquería. */
.about-gallery{grid-column:1/-1;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:.65rem;margin-top:1.2rem}
.about-gallery img{display:block;width:100%;aspect-ratio:1/1.18;object-fit:cover;border:2px solid var(--ink);border-radius:4px;box-shadow:3px 3px 0 rgba(0,0,0,.26)}
@media(max-width:850px){.about-gallery{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:560px){.about-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}.about-gallery img{aspect-ratio:1/1.1}.about-mascot{max-width:150px;margin:auto}}

/* Flyers para mostrar promociones, platillos y servicios del restaurante. */
.flyer-gallery{padding:4.5rem max(1rem,calc((100vw - 1180px)/2));background:var(--yellow);border-block:3px solid var(--ink)}
.flyer-gallery>.eyebrow,.flyer-gallery>h2{text-align:center}
.flyer-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.85rem;margin-top:2rem}
.flyer-grid img{display:block;width:100%;height:auto;object-fit:contain;align-self:start;border:3px solid var(--ink);box-shadow:4px 4px 0 var(--ink);background:#fff}
@media(max-width:850px){.flyer-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:560px){.flyer-gallery{padding:3.5rem 1rem}.flyer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}}

/* Ubicación y reseñas. */
.location-map{display:block;width:100%;height:260px;margin:1rem 0;border:2px solid var(--ink);border-radius:4px}
footer .footer-review{margin-top:.35rem;background:var(--ink);color:#fff;font-size:.9rem}

/* Ajustes de secciones y ampliación de fotografías. */
#tacos{background:var(--cream)}
#gringas{background:var(--yellow)}
@media(min-width:851px){.hero{min-height:650px}}
@media(max-width:850px){.hero{min-height:610px}}
@media(min-width:851px){.contact{grid-template-columns:.65fr 1.35fr}.location-card{padding:1.8rem}}
footer .footer-review{display:inline-block;background:#fff;color:var(--ink);font-size:1rem}
.about-gallery img,.flyer-grid img,.event-gallery img{cursor:zoom-in}
.image-lightbox{position:fixed;z-index:80;inset:0;display:none;place-items:center;padding:1.2rem;background:rgba(0,0,0,.88)}
.image-lightbox.open{display:grid}
.image-lightbox img{display:block;max-width:min(1100px,92vw);max-height:88dvh;width:auto;height:auto;border:3px solid var(--yellow);box-shadow:7px 7px 0 #000}
.image-lightbox-close{position:fixed;top:1rem;right:1rem;width:2.8rem;height:2.8rem;border:2px solid var(--yellow);border-radius:50%;background:var(--ink);color:#fff;font-size:2rem;line-height:1;cursor:pointer}

/* Personalización de tortas y aviso de salsas. */
.food-modal{position:fixed;z-index:85;inset:0;display:grid;place-items:center;padding:1rem;background:rgba(0,0,0,.58)}
.food-modal[hidden]{display:none}
.food-modal-card{position:relative;width:min(100%,540px);overflow:hidden;background:#fff;border:3px solid var(--ink);box-shadow:10px 10px 0 rgba(0,0,0,.4)}
.food-modal-card>header{padding:1.45rem 1.7rem;background:var(--ink);color:#fff}
.food-modal-card>header h2{margin:0 0 .3rem;color:var(--yellow);font-size:2.1rem}
.food-modal-card>header p{margin:0;color:#cceeff;font-size:.9rem;font-weight:700}
.food-modal-close{position:absolute;right:.8rem;top:.55rem;border:0;background:transparent;color:#fff;font-size:2rem;font-weight:900;cursor:pointer}
.food-modal-body{padding:1.4rem 1.7rem}
.modal-product-name{font-weight:900;margin-bottom:1rem}
.food-modal-body h3{margin:0 0 .65rem;padding-top:1rem;border-top:1px solid #d9d9d9;font:900 .9rem Arial,Helvetica,sans-serif;text-transform:none}
.modal-option{display:grid;grid-template-columns:auto 1fr auto;gap:.7rem;align-items:center;padding:.8rem;border:1px solid #cfd5db;border-radius:5px;cursor:pointer}
.modal-option input{width:1rem;height:1rem;accent-color:var(--yellow)}
.modal-option b{color:var(--red)}
.food-modal-card>footer{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 1.7rem;background:#fff;border-top:1px solid #e2e2e2;color:var(--ink);text-align:left}
.modal-price{font:2rem/1 Georgia,serif}
.modal-confirm{border-radius:999px;background:var(--yellow);color:var(--ink);white-space:nowrap}
@media(max-width:560px){.food-modal-card>header,.food-modal-body,.food-modal-card>footer{padding-left:1rem;padding-right:1rem}.food-modal-card>footer{align-items:center}.modal-price{font-size:1.55rem}.modal-confirm{padding:.65rem .8rem;font-size:.85rem}}
