/* Inicio con estilo de app de pedidos (fondo crema, tarjetas, categorías en círculos). Solo se usa en index.html. */
:root{
  --negro:#000;--rojo:#EE2737;--rojo-oscuro:#B81D2B;--blanco:#fff;--crema:#FFF4EC;--crema-2:#FBE7DA;
  --texto-2:#5F5F5F;--sombra:0 6px 18px rgba(0,0,0,.08);--radio:20px
}
.ah{background:var(--crema);color:#000;font-family:'Nunito Sans',system-ui,sans-serif;overflow-x:clip;padding-bottom:24px}
.ah *{box-sizing:border-box}
.ah a:focus-visible,.ah button:focus-visible,.ah input:focus-visible,.ah [tabindex]:focus-visible{outline:3px solid #000;outline-offset:2px}
.ah-w{max-width:1100px;margin:0 auto;padding:0 16px}
.ah-sec{margin-top:28px}
.ah-h2{font-family:'Oswald',sans-serif;font-weight:600;font-size:22px;line-height:1.15;text-transform:uppercase;margin:0;color:#000}
.ah-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.ah-more{font-weight:700;font-size:15px;color:var(--rojo-oscuro);text-decoration:none;display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 4px}
.ah-more:hover{color:#000}

/* Saludo + accesos rápidos */
.ah-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:16px}
.ah-hola{margin:0;font-size:14px;color:var(--texto-2);font-weight:600}
.ah-marca{margin:2px 0 0;font-family:'Oswald',sans-serif;font-weight:700;font-size:26px;line-height:1;text-transform:uppercase;color:var(--rojo-oscuro)}
.ah-lema{margin:4px 0 0;font-size:14px;color:#000}
.ah-ibtns{display:flex;gap:10px}
.ah-ibtn{position:relative;width:48px;height:48px;border-radius:16px;background:#fff;border:0;box-shadow:var(--sombra);display:flex;align-items:center;justify-content:center;color:#000;cursor:pointer;text-decoration:none}
.ah-ibtn:hover{color:var(--rojo)}
.ah-count{position:absolute;top:-4px;right:-4px;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:var(--rojo);color:#fff;font-size:12px;font-weight:800;display:flex;align-items:center;justify-content:center}

/* Buscador */
.ah-search{margin-top:16px;display:flex;align-items:center;gap:10px;background:#fff;border-radius:999px;padding:0 8px 0 18px;min-height:52px;box-shadow:var(--sombra);color:var(--texto-2)}
.ah-search input{flex:1;min-width:0;border:0;outline:0;background:transparent;font:inherit;font-size:16px;color:#000;min-height:44px}
.ah-search input::placeholder{color:#6b6b6b}
.ah-x{width:44px;height:44px;border-radius:50%;border:0;background:var(--crema-2);color:#000;font-size:20px;cursor:pointer}

/* Hero (carrusel) */
.ah-hero{position:relative;margin-top:16px;border-radius:28px;overflow:hidden;background:linear-gradient(120deg,#000 50%,#5a0d14);color:#fff;display:grid;grid-template-columns:1.1fr 1fr;align-items:center;min-height:240px}
.ah-hero-txt{padding:22px 0 44px 20px;position:relative;z-index:2;display:flex;flex-direction:column;gap:10px;align-items:flex-start}
.ah-kick{font-family:'Oswald',sans-serif;font-size:12px;letter-spacing:.14em;text-transform:uppercase;background:rgba(255,255,255,.14);border-radius:999px;padding:4px 10px}
.ah-hero h1{font-family:'Oswald',sans-serif;font-weight:700;font-size:clamp(30px,8.6vw,46px);line-height:.95;text-transform:uppercase;margin:0;color:#fff}
.ah-hero-sub{margin:0;font-size:15px;line-height:1.4;color:#f1e9e4;max-width:30ch}
.ah-hero-img{position:relative;align-self:stretch;min-height:220px}
.ah-hero-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:opacity .6s ease;-webkit-mask-image:linear-gradient(to right,transparent 0,#000 28%);mask-image:linear-gradient(to right,transparent 0,#000 28%)}
.ah-hero-ctrl{position:absolute;left:0;right:0;bottom:8px;display:flex;align-items:center;justify-content:center;gap:2px;z-index:3}
.ah-dot{width:44px;height:44px;border:0;background:transparent;padding:0;cursor:pointer;display:flex;align-items:center;justify-content:center}
.ah-dot span{display:block;height:8px;border-radius:999px;background:rgba(255,255,255,.6);transition:width .3s}
.ah-dot[aria-current="true"] span{background:#fff}
.ah-arrow{width:44px;height:44px;border-radius:50%;border:0;background:rgba(255,255,255,.14);color:#fff;font-size:18px;cursor:pointer}
.ah-arrow:hover{background:var(--rojo)}

/* Botones */
.ah-btn{background:var(--rojo);color:#fff;border-radius:999px;padding:12px 20px;font-weight:700;font-size:16px;min-height:44px;display:inline-flex;align-items:center;gap:8px;text-decoration:none;border:0;cursor:pointer;font-family:inherit}
.ah-btn:hover{background:var(--rojo-oscuro);color:#fff}
.ah-btn-n{background:#000}
.ah-btn-n:hover{background:#333}
.ah-btn-w{background:#fff;color:#000}
.ah-btn-w:hover{background:var(--crema-2);color:#000}

/* Categorías en círculos */
.ah-cats{display:flex;gap:14px;overflow-x:auto;padding:4px 16px 8px;margin:0 -16px;scroll-snap-type:x mandatory;scroll-padding-inline:16px;scrollbar-width:none;list-style:none}
.ah-cats::-webkit-scrollbar{display:none}
.ah-cat{flex:0 0 auto;scroll-snap-align:start;text-align:center;font-size:13px;font-weight:700;color:#000;background:transparent;border:0;padding:2px;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:6px;width:76px;font-family:inherit}
.ah-cat img,.ah-cat .ah-todo{width:68px;height:68px;border-radius:50%;object-fit:cover;border:3px solid #fff;box-shadow:var(--sombra);display:block;background:#fff}
.ah-cat .ah-todo{display:flex;align-items:center;justify-content:center;font-family:'Oswald',sans-serif;font-size:15px;text-transform:uppercase;background:#000;color:#fff}
.ah-cat[aria-pressed="true"] img,.ah-cat[aria-pressed="true"] .ah-todo{border-color:var(--rojo)}
.ah-cat[aria-pressed="true"]{color:var(--rojo-oscuro)}

/* Tarjetas de platos */
.ah-cards{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(200px,46%);gap:12px;overflow-x:auto;padding:4px 16px 14px;margin:0 -16px;scroll-snap-type:x mandatory;scroll-padding-inline:16px;scrollbar-width:thin}
.ah-cards.ah-grid{grid-auto-flow:row;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));overflow:visible}
.ah-card{background:#fff;border-radius:var(--radio);box-shadow:var(--sombra);padding:10px;position:relative;display:flex;flex-direction:column;gap:8px;scroll-snap-align:start;min-width:0}
.ah-fotos{position:relative;border-radius:16px;overflow:hidden;background:var(--crema-2)}
.ah-strip{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;aspect-ratio:1/1}
.ah-strip::-webkit-scrollbar{display:none}
.ah-strip img{flex:0 0 100%;width:100%;height:100%;aspect-ratio:1/1;object-fit:cover;scroll-snap-align:center;display:block}
.ah-nofoto{aspect-ratio:1/1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:var(--texto-2);font-size:13px}
.ah-nofoto img{width:40px;height:auto;opacity:.35}
.ah-badge{position:absolute;top:8px;left:8px;background:var(--rojo);color:#fff;font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;padding:4px 8px;border-radius:8px;z-index:2}
.ah-nfotos{position:absolute;top:8px;right:8px;background:rgba(0,0,0,.65);color:#fff;font-size:12px;font-weight:700;padding:3px 8px;border-radius:999px;z-index:2;display:flex;align-items:center;gap:4px}
.ah-pdots{position:absolute;left:0;right:0;bottom:4px;display:flex;justify-content:center;gap:0;z-index:2}
.ah-pdot{width:24px;height:24px;border:0;background:transparent;padding:0;cursor:pointer;display:flex;align-items:center;justify-content:center}
.ah-pdot span{width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.7);box-shadow:0 0 2px rgba(0,0,0,.6)}
.ah-pdot[aria-current="true"] span{background:var(--rojo);width:16px;border-radius:999px}
.ah-card h3{font-family:'Nunito Sans',sans-serif;font-weight:800;font-size:16px;line-height:1.25;text-transform:none;margin:0;color:#000}
.ah-desc{margin:0;font-size:14px;line-height:1.35;color:var(--texto-2);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ah-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto}
.ah-price{font-weight:800;font-size:18px;color:#000}
.ah-add{width:44px;height:44px;border-radius:50%;background:var(--rojo);color:#fff;border:0;font-size:26px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.ah-add:hover{background:var(--rojo-oscuro)}
.ah-add[disabled]{background:#bdbdbd;cursor:not-allowed}
.ah-qty{display:flex;align-items:center;gap:2px;background:var(--crema-2);border-radius:999px}
.ah-qty button{width:40px;height:44px;border:0;background:transparent;font-size:22px;cursor:pointer;color:#000;font-weight:800}
.ah-qty span{min-width:18px;text-align:center;font-weight:800}
.ah-vacio{background:#fff;border-radius:var(--radio);padding:20px;color:var(--texto-2);margin:0}

/* Banner de oferta */
.ah-offer{display:grid;grid-template-columns:1.2fr 1fr;align-items:center;background:var(--crema-2);border-radius:24px;overflow:hidden;position:relative;min-height:170px}
.ah-offer-txt{padding:18px 0 18px 18px;display:flex;flex-direction:column;gap:8px;align-items:flex-start;position:relative;z-index:2}
.ah-offer-k{font-family:'Oswald',sans-serif;font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--rojo-oscuro);margin:0}
.ah-offer h3{font-family:'Oswald',sans-serif;font-weight:700;font-size:24px;line-height:1.05;text-transform:uppercase;margin:0;color:#000}
.ah-offer p{margin:0;font-size:14px;line-height:1.4;color:#000}
.ah-offer-img{position:relative;align-self:stretch;min-height:170px}
.ah-offer-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.ah-circle{position:absolute;right:10px;top:10px;width:76px;height:76px;border-radius:50%;background:var(--rojo);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;font-family:'Oswald',sans-serif;font-weight:700;font-size:20px;line-height:1;box-shadow:0 6px 16px rgba(238,39,55,.4);z-index:3;text-align:center}
.ah-circle small{font-size:11px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;margin-top:3px}
.ah-chips{display:flex;gap:10px;overflow-x:auto;margin:12px -16px 0;padding:0 16px 6px;scrollbar-width:none}
.ah-chip{flex:0 0 auto;background:#fff;border-radius:16px;padding:10px 14px;box-shadow:var(--sombra);font-size:14px;max-width:260px}
.ah-chip b{display:block;font-size:15px}
.ah-chip[aria-current="true"]{outline:2px solid var(--rojo)}

/* Bloques cortos */
.ah-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ah-tile{background:#fff;border-radius:var(--radio);box-shadow:var(--sombra);overflow:hidden;text-decoration:none;color:#000;display:flex;flex-direction:column}
.ah-tile img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;display:block}
.ah-tile span{padding:10px 12px 12px;display:flex;flex-direction:column;gap:2px}
.ah-tile b{font-family:'Oswald',sans-serif;font-weight:600;font-size:17px;text-transform:uppercase}
.ah-tile small{font-size:13px;color:var(--texto-2);line-height:1.35}
.ah-tile:hover b{color:var(--rojo-oscuro)}
.ah-res{background:#000;color:#fff;border-radius:24px;padding:20px;display:flex;flex-direction:column;gap:12px}
.ah-res h2{color:#fff}
.ah-res p{margin:0;color:#e6e4e4;font-size:15px;line-height:1.5}
.ah-res-btns{display:flex;flex-wrap:wrap;gap:10px}
.ah-wa{background:#1F8F4A}
.ah-wa:hover{background:#17703A}
.ah-hist{background:#fff;border-radius:24px;padding:20px;box-shadow:var(--sombra)}
.ah-hist p{margin:8px 0 0;font-size:16px;line-height:1.6}

/* Dónde estamos */
.ah-donde{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:16px}
.ah-card-b{background:#fff;border-radius:24px;padding:20px;box-shadow:var(--sombra)}
.ah-hor{display:grid;grid-template-columns:auto 1fr;gap:8px 16px;font-size:15px;margin-top:14px;border-top:1px solid #eee;padding-top:14px}
.ah-hor dt{font-weight:800;margin:0}
.ah-hor dd{margin:0}
.ah-mapa{border-radius:24px;overflow:hidden;min-height:340px;background:#fff;box-shadow:var(--sombra)}
.ah-mapa iframe{width:100%;height:100%;min-height:340px;border:0;display:block}
.ah-mapa-no{min-height:340px;display:flex;flex-direction:column;justify-content:center;gap:14px;padding:24px}
.ah-mapa-no p{margin:0;color:var(--texto-2)}

@media (min-width:700px){
  .ah-cards{grid-auto-columns:minmax(220px,31%)}
  .ah-tiles{grid-template-columns:repeat(4,minmax(0,1fr))}
  .ah-hero{min-height:340px}
  .ah-hero-txt{padding:40px 0 56px 40px;gap:14px}
  .ah-hero-sub{font-size:17px}
  .ah-offer{min-height:220px}
  .ah-offer-txt{padding:28px 0 28px 32px}
  .ah-offer h3{font-size:32px}
  .ah-circle{width:96px;height:96px;font-size:26px;right:20px;top:20px}
}
@media (min-width:900px){
  .ah-cards{grid-auto-columns:minmax(220px,23%)}
  .ah-h2{font-size:26px}
}
@media (prefers-reduced-motion:reduce){
  .ah-hero-img img,.ah-dot span{transition:none}
  .ah-strip,.ah-cards,.ah-cats{scroll-behavior:auto}
}
@media (max-width:699px){
  /* En móvil la foto va detrás del texto, a la derecha, para que el titular tenga todo el ancho */
  .ah-hero{grid-template-columns:1fr;min-height:300px}
  .ah-hero-txt{padding:20px 20px 68px}
  .ah-hero-img{position:absolute;top:0;right:0;bottom:0;width:62%;min-height:0}
  .ah-hero-img img{-webkit-mask-image:linear-gradient(to right,transparent 0,rgba(0,0,0,.55) 45%,#000 80%);mask-image:linear-gradient(to right,transparent 0,rgba(0,0,0,.55) 45%,#000 80%)}
  .ah-hero h1{text-shadow:0 2px 12px rgba(0,0,0,.6)}
  .ah-hero-sub{text-shadow:0 1px 8px rgba(0,0,0,.8);max-width:22ch}
  .ah-offer{grid-template-columns:1fr 0.8fr}
}
.ah-aviso{margin:0 0 12px;background:#000;color:#fff;border-radius:16px;padding:12px 16px;font-weight:700;font-size:15px}
