:root {
  --maiz: #f7bd1a;
  --naranja: #e9670a;
  --rojo: #a91717;
  --rojo-oscuro: #5a140f;
  --crema: #fff7dc;
  --crema-2: #f8edca;
  --cafe: #351811;
  --verde: #234c32;
  --verde-2: #38683e;
  --blanco: #fffdf7;
  --sombra: 0 18px 42px rgba(52, 22, 13, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--cafe); background: var(--crema); font-family: "DM Sans", sans-serif; }
img { max-width: 100%; }
a { color: inherit; }

/* PORTADA */
.hero {
  min-height: min(920px, 100svh);
  position: relative;
  overflow: hidden;
  padding: 18px 20px 34px;
  color: #fff7dc;
  background:
    radial-gradient(circle at 78% 18%, rgba(247,189,26,.22), transparent 26%),
    radial-gradient(circle at 18% 78%, rgba(233,103,10,.28), transparent 30%),
    linear-gradient(135deg, #31100c 0%, #55150f 48%, #8f210e 100%);
  isolation: isolate;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -90px -10%;
  height: 190px;
  background: var(--crema);
  border-radius: 50% 50% 0 0 / 45% 45% 0 0;
  z-index: -1;
}
.hero-noise { position:absolute; inset:0; opacity:.12; background-image: radial-gradient(rgba(255,255,255,.6) .7px, transparent .7px); background-size:10px 10px; mask-image:linear-gradient(to bottom, #000, transparent 80%); pointer-events:none; }
.hero-glow { position:absolute; border-radius:50%; filter:blur(2px); border:1px solid rgba(255,218,108,.16); z-index:-1; }
.hero-glow-one { width:620px; height:620px; right:-280px; top:-180px; box-shadow:0 0 0 60px rgba(255,210,73,.05),0 0 0 140px rgba(255,210,73,.035); }
.hero-glow-two { width:400px; height:400px; left:-250px; bottom:60px; box-shadow:0 0 0 55px rgba(255,210,73,.04); }
.hero-nav { max-width:1180px; margin:auto; display:flex; justify-content:space-between; align-items:center; gap:12px; font-size:11px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.nav-pill,.nav-location { padding:8px 11px; border:1px solid rgba(255,247,220,.2); border-radius:999px; background:rgba(0,0,0,.14); backdrop-filter:blur(8px); }
.hero-layout { max-width:1180px; margin:28px auto 0; display:grid; align-items:center; grid-template-columns:minmax(0, .9fr) minmax(360px, 1.1fr); gap:34px; }
.hero-copy { position:relative; z-index:2; max-width:590px; }
.hero-kicker { display:inline-block; margin-bottom:12px; color:var(--maiz); font-weight:800; font-size:12px; letter-spacing:.18em; }
.hero-logo { width:min(100%, 420px); margin:0 0 18px; filter:drop-shadow(0 12px 9px rgba(0,0,0,.24)); }
.hero h1 { margin:0; font-family:Fraunces,Georgia,serif; font-size:clamp(42px,7vw,72px); line-height:.93; letter-spacing:-.055em; }
.hero h1 em { color:var(--maiz); font-style:normal; }
.intro { max-width:540px; margin:20px 0 24px; font-size:16px; line-height:1.58; color:rgba(255,247,220,.82); }
.hero-actions { display:flex; flex-wrap:wrap; gap:10px; }
.button { display:inline-flex; align-items:center; justify-content:center; gap:12px; min-height:50px; padding:0 20px; border-radius:13px; text-decoration:none; font-size:14px; font-weight:800; transition:transform .18s ease, box-shadow .18s ease; }
.button:hover { transform:translateY(-2px); }
.button-primary { color:var(--cafe); background:var(--maiz); box-shadow:0 7px 0 #9c6d0a; }
.button-ghost { color:#fff7dc; border:1px solid rgba(255,247,220,.32); background:rgba(255,255,255,.07); }
.hero-trust { margin-top:20px; display:flex; flex-wrap:wrap; gap:9px; align-items:center; color:rgba(255,247,220,.7); font-size:11px; font-weight:700; }
.hero-collage { min-height:520px; position:relative; }
.hero-photo { position:absolute; overflow:hidden; border:7px solid rgba(255,247,220,.92); background:#f1dfb7; box-shadow:0 22px 45px rgba(0,0,0,.28); }
.hero-photo img { width:100%; height:100%; object-fit:contain; display:block; background:#f1dfb7; }
.hero-photo-main { width:74%; height:70%; right:2%; top:11%; transform:rotate(3deg); border-radius:28px; }
.hero-photo-top { width:38%; height:39%; left:2%; top:1%; transform:rotate(-7deg); border-radius:24px; }
.hero-photo-bottom { width:42%; height:39%; left:5%; bottom:1%; transform:rotate(6deg); border-radius:24px; }
.hero-price-badge { position:absolute; right:2%; bottom:3%; width:105px; height:105px; display:flex; flex-direction:column; align-items:center; justify-content:center; border-radius:50%; background:var(--maiz); color:var(--cafe); box-shadow:0 12px 28px rgba(0,0,0,.25); transform:rotate(-8deg); }
.hero-price-badge strong { font-family:Fraunces,Georgia,serif; font-size:30px; line-height:1; }
.hero-price-badge span { font-size:10px; font-weight:900; text-transform:uppercase; letter-spacing:.08em; }
.hero-scroll { position:absolute; left:50%; bottom:31px; transform:translateX(-50%); font-size:10px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:rgba(255,247,220,.55); white-space:nowrap; }
.hero-scroll span { display:inline-block; width:7px; height:7px; margin-right:7px; border-right:1px solid currentColor; border-bottom:1px solid currentColor; transform:rotate(45deg) translateY(-2px); }

/* ACCESO */
.quick-menu { padding:58px 20px 36px; background:var(--crema); }
.quick-head { max-width:1180px; margin:auto; display:flex; justify-content:space-between; gap:20px; align-items:end; }
.eyebrow { margin:0 0 9px; color:var(--rojo); font-size:11px; font-weight:900; letter-spacing:.14em; text-transform:uppercase; }
h2,h3 { font-family:Fraunces,Georgia,serif; }
h2 { margin:0; color:var(--rojo); font-size:clamp(32px,5vw,52px); line-height:1; letter-spacing:-.045em; }
.quick-note { color:#806a4c; font-size:12px; font-weight:700; }
.category-nav { display:flex; gap:8px; overflow-x:auto; scrollbar-width:none; }
.category-nav::-webkit-scrollbar { display:none; }
.category-nav a { flex:0 0 auto; text-decoration:none; font-size:12px; font-weight:800; border:1px solid rgba(53,24,17,.12); background:#fffdf6; border-radius:999px; padding:10px 13px; box-shadow:0 4px 12px rgba(53,24,17,.05); transition:.18s ease; }
.category-nav a:hover { background:var(--maiz); transform:translateY(-1px); }
.category-nav-large { max-width:1180px; margin:20px auto 0; padding-bottom:4px; }

/* MARCA */
.story-band { max-width:1180px; margin:0 auto; padding:34px 20px 52px; display:grid; grid-template-columns:.9fr 1.1fr; gap:34px; align-items:center; }
.story-copy > p:not(.eyebrow) { margin:17px 0 0; max-width:520px; color:#6b5844; font-size:15px; line-height:1.6; }
.principles { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.principles article { padding:17px 15px; min-height:130px; border:1px solid rgba(53,24,17,.08); border-radius:18px; background:#fffdf5; box-shadow:var(--sombra); }
.number { display:block; color:var(--naranja); font-size:11px; font-weight:900; }
.principles strong { display:block; margin-top:16px; color:var(--rojo); font-family:Fraunces,Georgia,serif; font-size:20px; }
.principles p { margin:7px 0 0; color:#735f4b; font-size:11px; line-height:1.4; }

/* MENÚ */
.menu { padding:62px 20px 150px; background:linear-gradient(180deg,#254e32 0%,#183b28 100%); color:#fff7dc; position:relative; }
.menu::before { content:""; position:absolute; inset:0; opacity:.08; background-image:radial-gradient(#fff 1px,transparent 1px); background-size:15px 15px; pointer-events:none; }
.menu > * { position:relative; }
.menu-heading { max-width:1180px; margin:0 auto 24px; }
.menu-heading .eyebrow { color:var(--maiz); }
.menu-heading h2 { color:#fff7dc; }
.menu-heading > p:last-child { margin:14px 0 0; color:rgba(255,247,220,.7); font-size:14px; }
.category-nav-sticky { position:sticky; top:0; z-index:9999; max-width:1180px; margin:0 auto 36px; padding:10px 0; background:#183b28; background:rgba(24,59,40,.98); backdrop-filter:blur(12px); box-shadow:0 8px 22px rgba(0,0,0,.18); isolation:isolate; }
.category-nav-sticky a { color:#fff7dc; border-color:rgba(255,247,220,.16); background:rgba(255,255,255,.07); }
.category-nav-sticky a:hover { color:var(--cafe); }
.menu-category { max-width:1180px; margin:0 auto; padding:42px 0 20px; scroll-margin-top:64px; }
.category-heading { display:flex; align-items:center; gap:13px; margin-bottom:22px; }
.category-heading .eyebrow { color:var(--maiz); margin-bottom:5px; }
.category-heading h2 { color:#fff7dc; }
.category-icon { width:48px; height:48px; display:grid; place-items:center; border-radius:15px; background:rgba(255,255,255,.09); font-size:24px; border:1px solid rgba(255,255,255,.12); }
.category-price { margin-left:auto; color:var(--maiz); font-family:Fraunces,Georgia,serif; font-size:26px; }
.product-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.product-card { overflow:hidden; border-radius:20px; color:var(--cafe); background:#fff7dc; box-shadow:0 14px 30px rgba(8,26,16,.22); }
.product-image-wrap { aspect-ratio:4 / 3; position:relative; overflow:hidden; background:#eadfbe; }
.product-image-wrap img { width:100%; height:100%; display:block; object-fit:contain; object-position:center; background:linear-gradient(135deg,#efe3c2,#f9f0d9); }
.hotdog-image img { object-fit:contain; }
.duero-image { background:#f6e6c4; }
.best-seller { position:absolute; top:12px; left:12px; background:var(--rojo); color:#fff5d4; padding:7px 10px; border-radius:30px; font-size:10px; font-weight:900; text-transform:uppercase; letter-spacing:.04em; box-shadow:0 5px 12px rgba(0,0,0,.16); }
.product-info { padding:19px 18px 18px; }
.product-title { display:flex; gap:12px; justify-content:space-between; align-items:baseline; }
.product-title h3 { margin:0; color:var(--rojo); font-size:25px; line-height:1.05; }
.product-title strong { color:var(--verde); font-size:20px; white-space:nowrap; }
.product-info > p, details p { margin:10px 0; font-size:13px; line-height:1.45; }
details { color:var(--rojo); font-size:11px; font-weight:800; }
details p { color:var(--cafe); font-weight:400; }
.add-button { width:100%; border:0; margin-top:9px; min-height:46px; border-radius:11px; background:var(--rojo); color:#fff6d5; font:800 13px "DM Sans",sans-serif; cursor:pointer; transition:.18s ease; }
.add-button:hover { filter:brightness(1.08); transform:translateY(-1px); }
.add-button span { font-size:18px; margin-left:7px; }
.product-options { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.product-options-three { grid-template-columns:repeat(3,1fr); }
.product-options-three .add-button { padding:0 4px; font-size:11px; }
.option-special { background:var(--naranja); }
.option-note { margin-top:.7rem !important; color:#775f49; font-size:11px !important; }

/* FRAPPÉS */
.frappe-category { margin-top:22px; padding:44px 18px 34px; border-radius:26px; background:linear-gradient(145deg,#3d1750,#21112e); box-shadow:0 18px 40px rgba(8,12,20,.22); }
.frappe-category .category-heading { padding:0 3px; }
.frappe-category .section-intro { margin:0 3px 18px; color:rgba(255,247,220,.74); font-size:13px; }
.frappe-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px; }
.frappe-card { overflow:hidden; padding:8px 8px 10px; border-radius:18px; background:#fff9e7; color:var(--cafe); box-shadow:0 10px 22px rgba(0,0,0,.18); }
.frappe-card img { width:100%; aspect-ratio:1 / 1; object-fit:cover; border-radius:12px; display:block; }
.frappe-card h3 { margin:10px 5px 7px; color:var(--rojo); font-size:19px; }
.frappe-card .add-button { margin-top:0; }

/* CARRITO */
.cart { position:fixed; z-index:50; left:10px; right:10px; bottom:10px; padding:10px 12px; min-height:65px; display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:9px; border-radius:16px; background:#32140f; color:#fff3cb; box-shadow:0 10px 30px rgba(31,14,10,.4); border:1px solid rgba(255,255,255,.08); }
.cart-icon { font-size:19px; }
.cart #cart-summary { font-size:11px; line-height:1.15; }
.cart #cart-total { font-size:17px; color:var(--maiz); }
#send-order { grid-column:1/-1; border:0; background:#f3b51b; color:#4b1e13; min-height:40px; border-radius:10px; font:800 13px "DM Sans",sans-serif; cursor:pointer; }
#send-order:disabled { display:none; }
footer { background:#2c110d; color:#f6d87f; text-align:center; padding:35px 20px 105px; }
footer img { width:130px; }
footer p { margin:8px 0 3px; font-size:12px; text-transform:uppercase; letter-spacing:.11em; font-weight:800; }
footer small { color:rgba(246,216,127,.62); font-size:10px; }

@media (max-width: 759px) {
  .hero { min-height:900px; }
  .hero-layout { grid-template-columns:1fr; gap:8px; }
  .hero-copy { text-align:center; margin:auto; }
  .hero-logo { width:min(100%,330px); margin:0 auto 16px; }
  .hero-actions { justify-content:center; }
  .hero-trust { justify-content:center; }
  .hero-collage { min-height:340px; width:min(100%,430px); margin:auto; transform:scale(.9); transform-origin:top center; }
  .hero-scroll { display:none; }
  .quick-head { align-items:start; flex-direction:column; gap:7px; }
  .story-band { grid-template-columns:1fr; }
  .principles { grid-template-columns:1fr; }
  .principles article { min-height:auto; }
  .product-grid { grid-template-columns:1fr; }
  .category-nav-sticky { margin-left:-20px; margin-right:-20px; padding-left:20px; padding-right:20px; }
  .menu-category { padding-top:34px; }
  .product-options-three { grid-template-columns:1fr; }
}

@media (min-width: 760px) {
  .hero { padding-left:30px; padding-right:30px; }
  .quick-menu, .story-band { padding-left:30px; padding-right:30px; }
  .menu { padding-left:30px; padding-right:30px; }
  .frappe-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .cart { max-width:620px; left:50%; right:auto; width:620px; transform:translateX(-50%); grid-template-columns:auto 1fr auto auto; }
  #send-order { grid-column:auto; padding:0 16px; }
}

@media (min-width: 1080px) {
  .hero { min-height:760px; }
  .hero-layout { margin-top:48px; }
  .hero-collage { min-height:560px; }
  .story-band { padding-top:48px; padding-bottom:64px; }
}

/* CHECKOUT / WHATSAPP */
body.modal-open { overflow: hidden; }
.checkout-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 18px; background: rgba(24, 10, 7, .72); backdrop-filter: blur(7px); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s ease, visibility .2s ease; }
.checkout-modal.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.checkout-dialog { position: relative; width: min(720px, 100%); max-height: min(92vh, 900px); overflow: auto; border-radius: 28px; padding: 28px; background: #fffaf3; box-shadow: 0 28px 80px rgba(0,0,0,.3); transform: translateY(18px) scale(.98); transition: transform .2s ease; }
.checkout-modal.is-open .checkout-dialog { transform: translateY(0) scale(1); }
.checkout-close { position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: #f1e5d7; color: #3b1510; font-size: 28px; line-height: 1; cursor: pointer; }
.checkout-head { padding-right: 44px; margin-bottom: 20px; }
.checkout-head h2 { margin: 0 0 8px; font-family: Fraunces, Georgia, serif; font-size: clamp(28px, 5vw, 42px); color: #3b1510; }
.checkout-head p:last-child { margin: 0; color: #6d5b53; }
#checkout-form { display: grid; gap: 15px; }
#checkout-form label { display: grid; gap: 7px; font-weight: 700; color: #3b1510; font-size: 14px; }
#checkout-form input, #checkout-form select, #checkout-form textarea { width: 100%; box-sizing: border-box; border: 1px solid #dcccbc; border-radius: 13px; padding: 12px 13px; font: inherit; color: #2c211d; background: #fff; outline: none; }
#checkout-form input:focus, #checkout-form select:focus, #checkout-form textarea:focus { border-color: #b94a28; box-shadow: 0 0 0 3px rgba(185,74,40,.12); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.location-box { display: grid; gap: 9px; padding: 16px; border-radius: 18px; background: #f4eadc; border: 1px solid #e4d4c2; }
.location-box strong { color: #3b1510; }
.location-box p { margin: 4px 0 0; color: #705e55; font-size: 13px; line-height: 1.4; }
.location-button { justify-self: start; border: 0; border-radius: 12px; padding: 11px 15px; background: #3b1510; color: #fff; font-weight: 800; cursor: pointer; }
.location-button:disabled { opacity: .65; cursor: wait; }
.location-status { min-height: 18px; font-size: 13px; color: #705e55; }
.location-status.success { color: #22753b; font-weight: 700; }
.location-status.error { color: #a33d28; }
.delivery-summary { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid #eadbca; color: #6d5b53; }
.delivery-summary strong { color: #3b1510; }
.checkout-totals { margin-top: 2px; padding: 15px 0; border-top: 1px solid #dfcdb9; border-bottom: 1px solid #dfcdb9; display: grid; gap: 7px; }
.checkout-totals > div { display: flex; justify-content: space-between; color: #6d5b53; }
.checkout-totals strong { color: #3b1510; }
.checkout-totals .checkout-grand-total { margin-top: 5px; font-size: 20px; font-weight: 800; color: #3b1510; }
.checkout-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 3px; }
.checkout-actions .button { border: 0; cursor: pointer; }
.checkout-submit { background: #178b49 !important; color: #fff !important; }
@media (max-width: 640px) { .checkout-dialog { padding: 22px 16px; border-radius: 22px; } .form-grid { grid-template-columns: 1fr; } .checkout-actions { flex-direction: column-reverse; } .checkout-actions .button { width: 100%; justify-content: center; } }

/* =========================================================
   REFINAMIENTO MOBILE-FIRST — Los Primos
   Diseñado para pantallas de 360–430 px como prioridad.
   ========================================================= */
html { overflow-x: hidden; }
body { overflow-x: hidden; -webkit-tap-highlight-color: transparent; }
button, a, input, select, textarea { touch-action: manipulation; }

@media (max-width: 759px) {
  .hero {
    min-height: auto;
    padding: 13px 14px 28px;
  }

  .hero-nav { font-size: 9px; gap: 7px; }
  .nav-pill, .nav-location { padding: 7px 9px; }
  .nav-location { max-width: 48vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

  .hero-layout { margin-top: 18px; gap: 4px; }
  .hero-copy { width: 100%; }
  .hero-kicker { margin-bottom: 8px; font-size: 10px; letter-spacing: .14em; }
  .hero-logo { width: min(78vw, 300px); margin-bottom: 13px; }
  .hero h1 { font-size: clamp(39px, 12vw, 54px); line-height: .94; letter-spacing: -.055em; }
  .intro { margin: 14px auto 18px; max-width: 350px; font-size: 14px; line-height: 1.48; }

  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: min(100%, 390px); margin: 0 auto; }
  .button { min-height: 50px; padding: 0 12px; border-radius: 12px; font-size: 13px; }
  .hero-trust { margin-top: 13px; gap: 6px; font-size: 9px; }

  .hero-collage {
    min-height: 286px;
    width: min(100%, 380px);
    margin: 10px auto 0;
    transform: none;
  }
  .hero-photo { border-width: 5px; }
  .hero-photo-main { width: 72%; height: 68%; right: 1%; top: 9%; border-radius: 20px; }
  .hero-photo-top { width: 39%; height: 38%; left: 1%; top: 0; border-radius: 17px; }
  .hero-photo-bottom { width: 42%; height: 38%; left: 3%; bottom: 0; border-radius: 17px; }
  .hero-price-badge { width: 82px; height: 82px; right: 0; bottom: 0; }
  .hero-price-badge strong { font-size: 24px; }
  .hero-price-badge span { font-size: 8px; }

  .quick-menu { padding: 34px 14px 24px; }
  .quick-head { gap: 5px; }
  .quick-head h2 { font-size: 31px; }
  .quick-note { font-size: 10px; }
  .category-nav-large { margin-top: 14px; padding-bottom: 2px; gap: 7px; }
  .category-nav a { padding: 9px 11px; font-size: 11px; }

  .story-band { padding: 22px 14px 30px; gap: 18px; }
  .story-copy h2 { font-size: 31px; }
  .story-copy > p:not(.eyebrow) { margin-top: 11px; font-size: 13px; line-height: 1.48; }
  .principles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  .principles article { padding: 12px 9px; min-height: 0; border-radius: 14px; box-shadow: 0 8px 18px rgba(52,22,13,.08); }
  .principles strong { margin-top: 8px; font-size: 16px; }
  .principles p { margin-top: 4px; font-size: 9px; line-height: 1.3; }

  .menu { padding: 40px 14px 138px; }
  .menu-heading { margin-bottom: 18px; }
  .menu-heading h2 { font-size: 34px; }
  .menu-heading > p:last-child { margin-top: 9px; font-size: 12px; line-height: 1.45; }
  .category-nav-sticky {
    top: 0;
    margin-left: -14px;
    margin-right: -14px;
    padding: 8px 14px;
    margin-bottom: 22px;
    background: rgba(24,59,40,.96);
    box-shadow: 0 7px 18px rgba(0,0,0,.12);
  }
  .category-nav-sticky a { padding: 8px 11px; font-size: 10px; }

  .menu-category { padding-top: 27px; scroll-margin-top: 52px; }
  .category-heading { gap: 10px; margin-bottom: 14px; }
  .category-icon { width: 42px; height: 42px; border-radius: 13px; font-size: 21px; }
  .category-heading h2 { font-size: 30px; }
  .category-heading .eyebrow { font-size: 9px; }

  .product-grid { grid-template-columns: 1fr; gap: 13px; }
  .product-card { border-radius: 17px; }
  .product-image-wrap { aspect-ratio: 4 / 3; }
  .product-info { padding: 15px 14px 14px; }
  .product-title { gap: 8px; align-items: flex-start; }
  .product-title h3 { font-size: 21px; line-height: 1.08; }
  .product-title strong { font-size: 18px; }
  .product-info > p, details p { margin: 8px 0; font-size: 12px; line-height: 1.42; }
  .best-seller { top: 9px; left: 9px; padding: 6px 8px; font-size: 9px; }
  .add-button { min-height: 50px; margin-top: 8px; border-radius: 11px; font-size: 13px; }
  .product-options { gap: 7px; }
  .product-options-three { grid-template-columns: 1fr; }
  .product-options-three .add-button { font-size: 12px; }

  .frappe-category { margin-top: 16px; padding: 28px 11px 18px; border-radius: 21px; }
  .frappe-category .section-intro { margin: 0 3px 14px; font-size: 12px; line-height: 1.4; }
  .frappe-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; }
  .frappe-card { padding: 6px 6px 8px; border-radius: 14px; }
  .frappe-card img { border-radius: 10px; }
  .frappe-card h3 { margin: 8px 4px 6px; font-size: 17px; }
  .frappe-card .add-button { min-height: 44px; font-size: 11px; }

  .cart {
    left: 8px;
    right: 8px;
    bottom: calc(8px + env(safe-area-inset-bottom));
    padding: 9px 10px;
    min-height: 0;
    border-radius: 15px;
    grid-template-columns: auto 1fr auto;
    gap: 7px;
  }
  .cart-icon { font-size: 17px; }
  .cart #cart-summary { font-size: 10px; }
  .cart #cart-total { font-size: 16px; }
  #send-order { min-height: 44px; border-radius: 10px; font-size: 12px; }

  footer { padding: 28px 14px calc(92px + env(safe-area-inset-bottom)); }
  footer img { width: 112px; }

  .checkout-modal { align-items: end; padding: 0; }
  .checkout-dialog {
    width: 100%;
    max-height: 94dvh;
    padding: 22px 15px calc(18px + env(safe-area-inset-bottom));
    border-radius: 24px 24px 0 0;
    -webkit-overflow-scrolling: touch;
  }
  .checkout-close { top: 11px; right: 11px; width: 40px; height: 40px; }
  .checkout-head { padding-right: 45px; margin-bottom: 16px; }
  .checkout-head h2 { font-size: 30px; line-height: 1; }
  .checkout-head p:last-child { font-size: 12px; line-height: 1.4; }
  #checkout-form { gap: 12px; }
  #checkout-form label { gap: 6px; font-size: 13px; }
  #checkout-form input, #checkout-form select, #checkout-form textarea { min-height: 48px; padding: 11px 12px; font-size: 16px; border-radius: 12px; }
  #checkout-form textarea { min-height: 88px; }
  .form-grid { grid-template-columns: 1fr; gap: 12px; }
  .location-box { padding: 13px; border-radius: 15px; }
  .location-button { width: 100%; min-height: 48px; }
  .delivery-summary { font-size: 12px; padding: 11px 12px; }
  .checkout-totals { padding: 13px 0; }
  .checkout-totals .checkout-grand-total { font-size: 21px; }
  .checkout-actions { gap: 8px; }
  .checkout-actions .button { width: 100%; min-height: 50px; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 37px; }
  .hero-collage { min-height: 260px; }
  .hero-actions .button { font-size: 12px; padding: 0 8px; }
  .principles strong { font-size: 14px; }
  .principles p { font-size: 8px; }
  .product-title h3 { font-size: 20px; }
  .product-title strong { font-size: 17px; }
  .frappe-card h3 { font-size: 15px; }
}

/* NAVEGACIÓN DE CATEGORÍAS: sticky, siempre visible sobre las tarjetas */
.category-nav-sticky-wrap { position:relative; min-height:48px; }
.category-nav-sticky { z-index:9999; }
@media (max-width:759px) {
  .category-nav-sticky-wrap { min-height:45px; }
  .category-nav-sticky {
    top:0;
    margin-left:-20px;
    margin-right:-20px;
    padding:8px 14px;
    z-index:9999;
    background:rgba(24,59,40,.98);
    box-shadow:0 8px 22px rgba(0,0,0,.22);
  }
  .category-nav-sticky .category-nav { gap:7px; }
  .category-nav-sticky a { padding:8px 11px; font-size:10px; position:relative; z-index:10000; }

  /* En móvil la portada se centra como una sola composición, no como dos columnas. */
  .hero-copy { display:flex; flex-direction:column; align-items:center; }
  .hero-logo { display:block; width:min(86vw,320px); margin:0 auto 13px; align-self:center; }
  .hero-kicker { text-align:center; }
  .hero h1, .hero .intro { text-align:center; }
}


/* Navegación móvil: barra realmente fija y siempre por encima del contenido */
@media (max-width: 759px) {
  .category-nav-sticky-wrap { min-height: 45px; position: relative; }
  .category-nav-sticky {
    position: sticky;
    top: 0;
    z-index: 99999 !important;
  }
  .category-nav-sticky.is-fixed {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100vw;
    max-width: none;
    margin: 0 !important;
    padding: 8px 20px !important;
    z-index: 2147483647 !important;
    background: rgba(24,59,40,.99);
    box-shadow: 0 7px 20px rgba(0,0,0,.28);
  }
  .category-nav-sticky.is-fixed .category-nav {
    max-width: 1180px;
    margin: 0 auto;
  }
}

/* FIX FINAL: navegación móvil por encima de todo el contenido */
@media (max-width: 759px) {
  .menu { position: relative; }
  .menu > * { position: relative; z-index: auto; }
  .category-nav-sticky.is-fixed {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    z-index: 2147483647 !important;
    background: rgba(24,59,40,.99) !important;
    box-shadow: 0 8px 24px rgba(0,0,0,.32) !important;
  }
  .category-nav-sticky.is-fixed .category-nav { width: 100%; }
}

/* HORARIO DE ATENCIÓN */
.business-status {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  padding: 11px 14px;
  border: 1px solid rgba(255,247,220,.18);
  border-radius: 16px;
  background: rgba(255,247,220,.07);
  color: #fff7dc;
}
.business-status-dot { width: 10px; height: 10px; border-radius: 50%; background: #d6b44c; flex: 0 0 auto; box-shadow: 0 0 0 4px rgba(214,180,76,.12); }
.business-status.is-open .business-status-dot { background: #39b96b; box-shadow: 0 0 0 4px rgba(57,185,107,.12); }
.business-status.is-closed .business-status-dot { background: #d45a45; box-shadow: 0 0 0 4px rgba(212,90,69,.12); }
.business-status div { display:flex; flex-direction:column; gap:2px; text-align:left; }
.business-status strong { font-size: 12px; line-height:1.2; }
.business-status span:not(.business-status-dot) { font-size: 11px; color: rgba(255,247,220,.7); line-height:1.3; }
.business-hours-card {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid rgba(255,247,220,.12);
  border-radius: 18px;
  background: rgba(0,0,0,.12);
  max-width: 720px;
}
.business-hours-head { display:flex; align-items:flex-start; gap:10px; margin-bottom:12px; color:#fff7dc; }
.business-hours-head > span { font-size: 19px; line-height:1; }
.business-hours-head div { display:flex; flex-direction:column; gap:3px; }
.business-hours-head strong { font-size:13px; }
.business-hours-head small { color:rgba(255,247,220,.62); font-size:10px; line-height:1.35; }
.business-hours-list { display:grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap:6px 16px; }
.hours-row { display:flex; justify-content:space-between; gap:12px; padding:7px 0; border-top:1px solid rgba(255,247,220,.08); font-size:11px; color:rgba(255,247,220,.68); }
.hours-row strong { color:#fff7dc; font-size:11px; white-space:nowrap; }
#send-order:disabled { opacity:.72; cursor:not-allowed; }

@media (max-width: 759px) {
  .business-status { display:flex; width:100%; margin-top:14px; padding:10px 12px; border-radius:14px; }
  .business-status strong { font-size:11px; }
  .business-status span:not(.business-status-dot) { font-size:10px; }
  .business-hours-card { margin-top:10px; padding:12px; border-radius:15px; }
  .business-hours-head { margin-bottom:8px; }
  .business-hours-list { grid-template-columns:1fr; gap:0; }
  .hours-row { padding:6px 0; font-size:10px; }
  .hours-row strong { font-size:10px; }
}
