/* ============================================================
   LA ESQUINA BURGER — styles.css  v5
   Mobile-first, sin overflow horizontal
   ============================================================ */

:root {
  --black:      #0E0E0E;
  --dark:       #1A1A1A;
  --dark2:      #242424;
  --dark3:      #2E2E2E;
  --dark4:      #383838;
  --amber:      #F5B400;
  --amber-dim:  #C89200;
  --red:        #D62828;
  --cream:      #F8F4E8;
  --gray:       #9E9E9E;
  --gray-light: #CFCFCF;
  --green:      #22C55E;
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --font-d: 'Barlow Condensed', sans-serif;
  --font-b: 'Barlow', sans-serif;
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--cream);
  font-family: var(--font-b);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;          /* prevent horizontal scroll */
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
select, input, textarea {
  font-family: var(--font-b);
  font-size: 15px;
  background: var(--dark3);
  color: var(--cream);
  border: 1px solid #444;
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  width: 100%;
  transition: border-color .2s;
}
select:focus, input:focus, textarea:focus { outline: none; border-color: var(--amber); }
select option { background: var(--dark2); }
textarea { resize: vertical; }
.hidden { display: none !important; }

/* ── CONTAINER ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--font-d); font-weight: 700; font-size: 15px;
  letter-spacing: .04em; text-transform: uppercase;
  transition: all .2s; white-space: nowrap;
}
.btn-primary { background: var(--amber); color: var(--black); }
.btn-primary:hover { background: var(--amber-dim); }
.btn-hero-primary { background: var(--amber); color: var(--black); padding: 14px 28px; font-size: 16px; }
.btn-hero-primary:hover { background: var(--amber-dim); transform: translateY(-1px); }
.btn-hero-secondary { background: transparent; color: var(--cream); border: 2px solid rgba(248,244,232,.5); padding: 14px 28px; font-size: 16px; }
.btn-hero-secondary:hover { border-color: var(--cream); background: rgba(248,244,232,.08); }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-featured { background: var(--dark3); color: var(--amber); border: 1px solid var(--dark3); }
.btn-whatsapp {
  width: 100%; background: #25D366; color: #fff;
  font-family: var(--font-d); font-size: 17px; font-weight: 800;
  letter-spacing: .05em; text-transform: uppercase;
  padding: 16px 20px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: background .2s, transform .2s; margin-top: 8px;
}
.btn-whatsapp:hover { background: #1da851; transform: translateY(-1px); }
.btn-modal-add {
  width: 100%; background: var(--amber); color: var(--black);
  font-family: var(--font-d); font-size: 17px; font-weight: 800;
  letter-spacing: .04em; text-transform: uppercase;
  padding: 16px; border-radius: var(--radius-sm);
  transition: background .2s, transform .2s;
}
.btn-modal-add:hover { background: var(--amber-dim); transform: translateY(-1px); }
.btn-modal-add:disabled { background: var(--dark3); color: var(--gray); cursor: not-allowed; transform: none; }

/* ── HEADER ── */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(14,14,14,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--dark3);
  width: 100%;
}
.header-inner {
  display: flex; align-items: center; gap: 12px;
  padding-top: 10px; padding-bottom: 10px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo-img { width: 40px; height: 40px; object-fit: contain; border-radius: 50%; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-d); font-weight: 900; font-size: 20px; color: var(--cream); }
.brand-sub { font-family: var(--font-d); font-weight: 600; font-size: 11px; color: var(--amber); letter-spacing: .12em; text-transform: uppercase; }
.header-status {
  margin-left: auto; font-size: 12px; font-weight: 600;
  padding: 4px 10px; border-radius: 20px; letter-spacing: .03em; white-space: nowrap;
}
.header-status.open { background: rgba(34,197,94,.15); color: var(--green); border: 1px solid rgba(34,197,94,.3); }
.header-status.closed { background: rgba(214,40,40,.12); color: #ef4444; border: 1px solid rgba(214,40,40,.25); }
.header-cta { margin-left: 8px; flex-shrink: 0; padding: 10px 16px; font-size: 13px; }
.header-account-btn { background: var(--dark3); color: var(--cream); padding: 9px 14px; font-size: 12px; min-width: 0; }
.header-account-btn:hover { background: var(--dark4); }
.account-btn-label { max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── CUENTA ── */
.account-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.account-tab-btn { flex: 1; padding: 10px; background: var(--dark3); border: 1px solid #444; border-radius: var(--radius-sm); color: var(--gray); font-size: 13px; font-weight: 700; transition: all .2s; }
.account-tab-btn.active { background: var(--amber); color: var(--black); border-color: var(--amber); }
.account-link-btn { background: none; color: var(--amber); font-size: 12px; font-weight: 600; text-align: center; width: 100%; padding: 6px; }
.account-link-btn:hover { color: var(--cream); }
.account-summary { background: var(--dark3); border-radius: var(--radius-sm); padding: 14px; display: flex; justify-content: space-between; align-items: center; }
.account-points { font-family: var(--font-d); font-weight: 900; font-size: 22px; color: var(--amber); }
.account-section-title { font-size: 11px; font-weight: 700; color: var(--gray); letter-spacing: .1em; text-transform: uppercase; margin: 4px 0; }
.account-history-item { background: var(--dark3); border-radius: var(--radius-sm); padding: 10px 12px; font-size: 12px; color: var(--gray-light); }
.account-history-item strong { color: var(--cream); }
.account-msg-ok { background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.3); border-radius: var(--radius-sm); padding: 10px 12px; font-size: 12px; color: #4ade80; }

/* ── HERO ── */
.hero {
  position: relative; min-height: 85vh;
  display: flex; align-items: center; overflow: hidden; width: 100%;
}
.hero-bg { position: absolute; inset: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(10,10,10,.88) 0%, rgba(10,10,10,.70) 45%, rgba(10,10,10,.25) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 580px; padding-top: 50px; padding-bottom: 70px; }
.hero-eyebrow { font-size: 12px; font-weight: 600; color: var(--amber); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.hero-title { font-family: var(--font-d); font-weight: 900; font-size: clamp(52px,10vw,90px); line-height: .92; color: var(--cream); margin-bottom: 18px; }
.hero-title em { font-style: italic; color: var(--amber); }
.hero-sub { font-size: 17px; color: rgba(248,244,232,.75); margin-bottom: 32px; line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── NOTICE ── */
.notice-bar { background: var(--dark2); border-bottom: 1px solid var(--dark3); padding: 16px 0; width: 100%; }
.notice-grid { display: flex; gap: 24px; flex-wrap: wrap; }
.notice-block { display: flex; align-items: flex-start; gap: 10px; flex: 1; min-width: 240px; }
.notice-icon { font-size: 18px; flex-shrink: 0; margin-top: 2px; }
.notice-block p { font-size: 13px; color: var(--gray-light); line-height: 1.5; }
.notice-block strong { color: var(--cream); }

/* ── SECTION HEADERS ── */
.section-eyebrow { display: block; font-size: 11px; font-weight: 700; color: var(--amber); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; }
.section-title { font-family: var(--font-d); font-weight: 900; font-size: clamp(26px,5vw,40px); color: var(--cream); line-height: 1; margin-bottom: 8px; }
.section-sub { color: var(--gray); font-size: 14px; }
.section-header { margin-bottom: 28px; }

/* ── FEATURED ── */
.featured-section { padding: 60px 0; background: var(--dark); width: 100%; }
.featured-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.featured-card {
  background: var(--dark2); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,.45);
  transition: transform .25s, box-shadow .25s;
  cursor: pointer;
}
.featured-card:hover { transform: translateY(-4px); box-shadow: 0 6px 28px rgba(0,0,0,.6); }
.featured-card:focus { outline: 2px solid var(--amber); outline-offset: 2px; }
.featured-img-wrap { position: relative; height: 190px; overflow: hidden; }
.featured-img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.featured-card:hover .featured-img { transform: scale(1.04); }
.featured-badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--amber); color: var(--black);
  font-family: var(--font-d); font-weight: 800; font-size: 11px;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 20px;
}
.featured-badge.badge-promo { background: var(--red); color: #fff; }
.featured-badge.badge-share { background: #7c3aed; color: #fff; }
.featured-body { padding: 16px; }
.featured-name { font-family: var(--font-d); font-weight: 800; font-size: 19px; color: var(--cream); margin-bottom: 5px; }
.featured-desc { font-size: 12px; color: var(--gray); line-height: 1.5; margin-bottom: 14px; }
.featured-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.featured-price { font-family: var(--font-d); font-weight: 900; font-size: 20px; color: var(--amber); }

/* ── MAIN LAYOUT ── */
/* Sin overflow-x acá: rompe position:sticky del cat-nav (crea un scroll
   container ancestro que reemplaza al viewport para el cálculo de sticky).
   body ya tiene overflow-x:hidden como red de seguridad. */
.main-layout { width: 100%; max-width: 100%; padding-top: 0; padding-bottom: 60px; }
.main-inner {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: start;
  padding-top: 24px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

/* ── CAT NAV ── */
.cat-nav {
  display: flex; gap: 8px; overflow-x: auto;
  padding-bottom: 4px; margin-bottom: 24px;
  position: sticky; top: 61px; z-index: 60;
  background: var(--black); padding-top: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--dark3);
  margin-left: -16px; margin-right: -16px;
  padding-left: 16px; padding-right: 16px;
  -ms-overflow-style: none; scrollbar-width: none;
}
.cat-nav::-webkit-scrollbar { display: none; }
.cat-btn {
  flex-shrink: 0; padding: 9px 16px;
  border-radius: var(--radius-sm);
  font-family: var(--font-d); font-weight: 700; font-size: 13px;
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--gray); background: var(--dark2); border: 1px solid var(--dark3);
  transition: all .2s;
}
.cat-btn:hover { color: var(--cream); border-color: var(--dark4); }
.cat-btn.active { background: var(--amber); color: var(--black); border-color: var(--amber); }

/* ── CAT SECTION HEADER ── */
.cat-section-header {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  height: 160px; margin-bottom: 20px;
  display: flex; align-items: flex-end;
}
.cat-section-img-wrap { position: absolute; inset: 0; }
.cat-section-img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.cat-section-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,.90) 0%, rgba(10,10,10,.50) 55%, rgba(10,10,10,.05) 100%);
}
.cat-section-text { position: relative; z-index: 2; padding: 18px 20px; }
.cat-eyebrow { display: block; font-size: 10px; font-weight: 700; color: var(--amber); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 3px; }
.cat-section-title { font-family: var(--font-d); font-weight: 900; font-size: 24px; color: var(--cream); line-height: 1; margin-bottom: 3px; }
.cat-section-sub { font-size: 12px; color: rgba(248,244,232,.65); }

/* ── PRODUCT CARDS ── */
.product-card {
  background: var(--dark2); border-radius: var(--radius-md);
  border: 1px solid var(--dark3); padding: 16px;
  margin-bottom: 10px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  transition: border-color .2s;
  width: 100%; box-sizing: border-box; min-width: 0;
}
.product-card:hover { border-color: #444; }
.product-card--featured { background: linear-gradient(135deg, var(--dark2) 0%, #2a1f00 100%); border-color: rgba(245,180,0,.2); }
.product-info { flex: 1; min-width: 0; }
.product-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 6px; }
.tag { font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 20px; }
.tag-promo   { background: rgba(214,40,40,.18); color: #ef4444; border: 1px solid rgba(214,40,40,.3); }
.tag-fries   { background: rgba(245,180,0,.12); color: var(--amber); border: 1px solid rgba(245,180,0,.25); }
.tag-sauce   { background: rgba(14,165,233,.12); color: #38bdf8; border: 1px solid rgba(14,165,233,.25); }
.tag-share   { background: rgba(124,58,237,.15); color: #a78bfa; border: 1px solid rgba(124,58,237,.3); }
.tag-best    { background: rgba(245,180,0,.18); color: var(--amber); border: 1px solid rgba(245,180,0,.35); }
.tag-contundente { background: rgba(239,68,68,.10); color: #f87171; border: 1px solid rgba(239,68,68,.2); }
.tag-pax     { background: rgba(34,197,94,.12); color: #4ade80; border: 1px solid rgba(34,197,94,.25); }
.tag-extra   { background: rgba(249,115,22,.12); color: #fb923c; border: 1px solid rgba(249,115,22,.25); }
.product-name { font-family: var(--font-d); font-weight: 800; font-size: 17px; color: var(--cream); margin-bottom: 4px; line-height: 1.15; }
.product-desc { font-size: 12px; color: var(--gray); line-height: 1.5; margin-bottom: 7px; }
.product-price { font-family: var(--font-d); font-weight: 900; font-size: 19px; color: var(--amber); }

/* MODIFY / ADD BUTTON */
.modify-btn {
  flex-shrink: 0; padding: 11px 16px;
  background: var(--amber); color: var(--black);
  font-family: var(--font-d); font-weight: 800; font-size: 13px;
  letter-spacing: .05em; text-transform: uppercase;
  border-radius: var(--radius-sm); transition: background .2s, transform .2s;
  white-space: nowrap; min-width: 130px; text-align: center;
}
.modify-btn:hover { background: var(--amber-dim); transform: translateY(-1px); }

/* ── SALSAS GRID ── */
.sauces-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sauce-extra-card {
  background: var(--dark2); border: 1px solid var(--dark3);
  border-radius: var(--radius-sm); padding: 12px 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  transition: border-color .2s;
}
.sauce-extra-card.active-extra { border-color: var(--amber); }
.sauce-extra-info { flex: 1; min-width: 0; }
.sauce-extra-name { font-weight: 600; font-size: 13px; color: var(--cream); }
.sauce-extra-desc { font-size: 11px; color: var(--gray); margin-top: 2px; }
.sauce-extra-price { font-size: 12px; color: var(--amber); font-weight: 700; margin-top: 3px; }
.sauce-qty-control { display: flex; align-items: center; background: var(--dark3); border-radius: var(--radius-sm); overflow: hidden; border: 1px solid #444; flex-shrink: 0; }
.sauce-qty-btn { width: 32px; height: 32px; font-size: 16px; font-weight: 700; color: var(--cream); background: transparent; transition: background .15s; }
.sauce-qty-btn:hover { background: var(--dark); color: var(--amber); }
.sauce-qty-value { width: 28px; text-align: center; font-size: 14px; font-weight: 700; color: var(--cream); }

/* ── ORDER ASIDE ── */
.order-aside { position: sticky; top: 71px; display: flex; flex-direction: column; gap: 16px; }
.order-panel { background: var(--dark2); border: 1px solid var(--dark3); border-radius: var(--radius-lg); overflow: hidden; }
.order-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--dark3); background: var(--dark); }
.order-title { font-family: var(--font-d); font-weight: 800; font-size: 20px; color: var(--cream); }
.clear-btn { font-size: 12px; font-weight: 600; color: var(--gray); letter-spacing: .04em; text-transform: uppercase; padding: 4px 10px; border-radius: 20px; border: 1px solid var(--dark3); transition: all .2s; }
.clear-btn:hover { color: #ef4444; border-color: rgba(239,68,68,.4); background: rgba(239,68,68,.08); }
.order-empty { padding: 28px 18px; text-align: center; color: var(--gray); font-size: 14px; line-height: 1.7; }
.order-empty strong { color: var(--amber); }
.order-items { padding: 4px 0; }
.order-item { padding: 12px 18px; border-bottom: 1px solid rgba(255,255,255,.04); }
.order-item:last-child { border-bottom: none; }
.order-item-top { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 6px; }
.order-item-info { flex: 1; min-width: 0; }
.order-item-name { font-size: 13px; font-weight: 700; color: var(--cream); line-height: 1.3; margin-bottom: 3px; }
.order-item-details { font-size: 11px; color: var(--gray); line-height: 1.6; }
.order-item-details span { display: block; }
.order-item-subtotal { font-family: var(--font-d); font-weight: 800; font-size: 15px; color: var(--amber); white-space: nowrap; flex-shrink: 0; }
.order-item-actions { display: flex; gap: 8px; }
.order-item-remove, .order-item-edit { font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 4px 10px; border-radius: 20px; border: 1px solid var(--dark3); color: var(--gray); transition: all .2s; }
.order-item-remove:hover { color: #ef4444; border-color: rgba(239,68,68,.4); background: rgba(239,68,68,.08); }
.order-item-edit:hover { color: var(--amber); border-color: rgba(245,180,0,.4); background: rgba(245,180,0,.08); }
.order-total-block { padding: 14px 18px; background: var(--dark); border-top: 1px solid var(--dark3); }
.total-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; font-size: 14px; font-weight: 700; color: var(--gray-light); letter-spacing: .06em; text-transform: uppercase; }
.total-amount { font-family: var(--font-d); font-weight: 900; font-size: 28px; color: var(--amber); }
.total-note { font-size: 11px; color: var(--gray); line-height: 1.5; }

/* ── FORM PANEL ── */
.form-panel { background: var(--dark2); border: 1px solid var(--dark3); border-radius: var(--radius-lg); padding: 22px 18px; }
.form-title { font-family: var(--font-d); font-weight: 800; font-size: 22px; color: var(--cream); margin-bottom: 18px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 12px; font-weight: 600; color: var(--gray-light); letter-spacing: .05em; text-transform: uppercase; margin-bottom: 6px; }
.toggle-group { display: flex; gap: 8px; flex-wrap: wrap; }
.toggle-btn { flex: 1; min-width: 110px; padding: 11px 10px; background: var(--dark3); border: 1px solid #444; border-radius: var(--radius-sm); color: var(--gray); font-size: 13px; font-weight: 600; transition: all .2s; text-align: center; }
.toggle-btn:hover { border-color: var(--gray); color: var(--cream); }
.toggle-btn.selected { background: var(--amber); color: var(--black); border-color: var(--amber); font-weight: 700; }
.transfer-note { margin-top: 8px; background: rgba(245,180,0,.08); border: 1px solid rgba(245,180,0,.2); border-radius: var(--radius-sm); padding: 10px 12px; font-size: 12px; color: #fcd34d; line-height: 1.5; }
.form-errors { background: rgba(214,40,40,.1); border: 1px solid rgba(214,40,40,.3); border-radius: var(--radius-sm); padding: 12px 14px; font-size: 13px; color: #fca5a5; line-height: 1.7; margin-bottom: 12px; }
.pre-submit-note { font-size: 12px; color: var(--gray); text-align: center; margin-bottom: 10px; line-height: 1.5; }

/* ── KIOSKO ── */
.kiosko-section { background: var(--dark); border-top: 1px solid var(--dark3); border-bottom: 1px solid var(--dark3); padding: 60px 0; width: 100%; }
.kiosko-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.kiosko-title { font-family: var(--font-d); font-weight: 900; font-size: clamp(26px,4vw,40px); color: var(--cream); margin-bottom: 10px; line-height: 1; }
.kiosko-sub { font-size: 15px; color: var(--gray-light); line-height: 1.6; margin-bottom: 14px; }
.kiosko-cta-note { font-size: 13px; font-weight: 600; color: var(--amber); border-left: 3px solid var(--amber); padding-left: 10px; }
.kiosko-img-wrap { border-radius: var(--radius-lg); overflow: hidden; height: 300px; }
.kiosko-img { width: 100%; height: 100%; object-fit: cover; }

/* ── LOCATION ── */
.location-section { padding: 60px 0; background: var(--black); width: 100%; }
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.location-img-wrap { border-radius: var(--radius-lg); overflow: hidden; height: 340px; }
.location-img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.location-title { font-family: var(--font-d); font-weight: 900; font-size: clamp(26px,4vw,40px); color: var(--cream); margin-bottom: 20px; line-height: 1; }
.location-details { display: flex; flex-direction: column; gap: 14px; }
.location-details p { color: var(--gray-light); font-size: 14px; line-height: 1.6; }
.location-details strong { color: var(--cream); }
.location-link { color: var(--amber); font-weight: 600; }
.location-link:hover { color: var(--cream); }

/* ── CONTACT LINK ICONS (WhatsApp / Instagram) ── */
.contact-link { display: inline-flex; align-items: center; gap: 6px; }
.contact-icon { flex-shrink: 0; }

/* ── FOOTER ── */
.footer { background: var(--dark2); border-top: 1px solid var(--dark3); padding: 36px 0 24px; width: 100%; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.footer-logo { width: 44px; height: 44px; object-fit: contain; border-radius: 50%; }
.footer-col { display: flex; flex-direction: column; gap: 4px; }
.footer-brand { font-family: var(--font-d); font-weight: 800; font-size: 17px; color: var(--cream); }
.footer-info { font-size: 12px; color: var(--gray); }
.footer-link { font-size: 13px; color: var(--amber); font-weight: 600; transition: color .2s; }
.footer-link:hover { color: var(--cream); }
.footer-note { width: 100%; font-size: 11px; color: #555; padding-top: 14px; border-top: 1px solid var(--dark3); }

/* ── STICKY BAR ── */
.sticky-order-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  background: var(--amber); box-shadow: 0 -4px 20px rgba(0,0,0,.5);
  display: none;
}
.sticky-bar-inner { display: flex; align-items: center; gap: 12px; padding: 11px 16px; max-width: 1200px; margin: 0 auto; }
.sticky-label { font-family: var(--font-d); font-weight: 700; font-size: 14px; color: var(--black); text-transform: uppercase; letter-spacing: .04em; }
.sticky-amount { font-family: var(--font-d); font-weight: 900; font-size: 18px; color: var(--black); flex: 1; }
.sticky-btn { background: rgba(0,0,0,.15); color: var(--black); font-family: var(--font-d); font-weight: 700; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; padding: 8px 14px; border-radius: var(--radius-sm); transition: background .2s; }
.sticky-btn:hover { background: rgba(0,0,0,.25); }

/* ═══════════════════════════════════════
   MODAL / BOTTOM SHEET
═══════════════════════════════════════ */
.modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.75); z-index: 300; opacity: 0; pointer-events: none; transition: opacity .25s; }
.modal-backdrop.open { opacity: 1; pointer-events: all; }
.modal { position: fixed; z-index: 400; background: var(--dark2); border: 1px solid var(--dark3); display: flex; flex-direction: column; transition: transform .3s cubic-bezier(.32,0,.67,0), opacity .25s; opacity: 0; pointer-events: none; }

/* Desktop: centered */
@media (min-width: 641px) {
  .modal { top: 50%; left: 50%; width: min(560px, 94vw); max-height: 88vh; border-radius: var(--radius-lg); transform: translate(-50%, -48%); }
  .modal.open { opacity: 1; pointer-events: all; transform: translate(-50%, -50%); }
}
/* Mobile: bottom sheet */
@media (max-width: 640px) {
  .modal { bottom: 0; left: 0; right: 0; width: 100%; max-height: 93vh; border-radius: var(--radius-lg) var(--radius-lg) 0 0; transform: translateY(40px); }
  .modal.open { opacity: 1; pointer-events: all; transform: translateY(0); }
}

.modal-header { padding: 18px 18px 14px; border-bottom: 1px solid var(--dark3); display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-shrink: 0; }
.modal-eyebrow { font-size: 10px; font-weight: 700; color: var(--amber); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 4px; }
.modal-product-name { font-family: var(--font-d); font-weight: 900; font-size: 22px; color: var(--cream); line-height: 1.05; margin-bottom: 4px; }
.modal-product-desc { font-size: 12px; color: var(--gray); line-height: 1.5; }
.modal-close { width: 34px; height: 34px; border-radius: 50%; background: var(--dark3); color: var(--gray); font-size: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all .2s; }
.modal-close:hover { background: var(--dark4); color: var(--cream); }

.modal-body { overflow-y: auto; padding: 18px; flex: 1; display: flex; flex-direction: column; gap: 18px; }
.modal-section { display: flex; flex-direction: column; gap: 8px; }
.modal-section-title { font-size: 11px; font-weight: 700; color: var(--gray); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 2px; }

/* Radio options */
.option-group { display: flex; flex-direction: column; gap: 6px; }
.option-row { display: flex; align-items: center; gap: 12px; padding: 11px 14px; background: var(--dark3); border-radius: var(--radius-sm); border: 1px solid transparent; cursor: pointer; transition: border-color .15s, background .15s; }
.option-row:hover { border-color: #555; }
.option-row.selected { border-color: var(--amber); background: rgba(245,180,0,.06); }
.option-row input[type=radio] { accent-color: var(--amber); width: 16px; height: 16px; flex-shrink: 0; }
.option-row-label { flex: 1; font-size: 14px; color: var(--cream); line-height: 1.3; }
.option-row-price { font-size: 13px; font-weight: 700; color: var(--amber); white-space: nowrap; }
.option-row-price.free { color: var(--gray); }

/* Extras checkboxes */
.extras-group { display: flex; flex-direction: column; gap: 6px; }
.extra-row { display: flex; align-items: center; gap: 12px; padding: 11px 14px; background: var(--dark3); border-radius: var(--radius-sm); border: 1px solid transparent; cursor: pointer; transition: border-color .15s, background .15s; }
.extra-row:hover { border-color: #555; }
.extra-row.selected { border-color: var(--amber); background: rgba(245,180,0,.06); }
.extra-row input[type=checkbox] { accent-color: var(--amber); width: 16px; height: 16px; flex-shrink: 0; }
.extra-row-label { flex: 1; font-size: 14px; color: var(--cream); }
.extra-row-price { font-size: 13px; font-weight: 700; color: var(--amber); }

/* Medallón qty control inside modal */
.medallon-row { display: flex; align-items: center; gap: 12px; padding: 11px 14px; background: var(--dark3); border-radius: var(--radius-sm); border: 1px solid transparent; }
.medallon-row.has-qty { border-color: var(--amber); background: rgba(245,180,0,.06); }
.medallon-label { flex: 1; font-size: 14px; color: var(--cream); }
.medallon-price { font-size: 13px; font-weight: 700; color: var(--amber); }
.medallon-qty { display: flex; align-items: center; gap: 0; background: var(--dark2); border-radius: var(--radius-sm); overflow: hidden; border: 1px solid #555; flex-shrink: 0; }
.medallon-qty-btn { width: 34px; height: 34px; font-size: 17px; font-weight: 700; color: var(--cream); background: transparent; transition: background .15s; }
.medallon-qty-btn:hover { background: var(--dark); color: var(--amber); }
.medallon-qty-val { width: 30px; text-align: center; font-size: 15px; font-weight: 700; color: var(--cream); }

/* Sazón toggle */
.sazon-group { display: flex; gap: 8px; }
.sazon-btn { flex: 1; padding: 11px; background: var(--dark3); border: 1px solid #444; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; color: var(--gray); transition: all .2s; text-align: center; }
.sazon-btn:hover { border-color: var(--gray); color: var(--cream); }
.sazon-btn.active { background: var(--amber); color: var(--black); border-color: var(--amber); }

/* Qty for tequeños */
.qty-row { display: flex; align-items: center; gap: 14px; padding: 12px 14px; background: var(--dark3); border-radius: var(--radius-sm); }
.qty-row-label { flex: 1; font-size: 14px; color: var(--cream); }
.qty-row-price { font-size: 13px; color: var(--amber); font-weight: 700; }
.qty-ctrl { display: flex; align-items: center; background: var(--dark2); border-radius: var(--radius-sm); border: 1px solid #555; overflow: hidden; flex-shrink: 0; }
.qty-ctrl-btn { width: 36px; height: 36px; font-size: 18px; font-weight: 700; color: var(--cream); background: transparent; transition: background .15s; }
.qty-ctrl-btn:hover { background: var(--dark); color: var(--amber); }
.qty-ctrl-val { width: 32px; text-align: center; font-size: 15px; font-weight: 700; color: var(--cream); }

/* Modal footer */
.modal-footer { padding: 14px 18px; border-top: 1px solid var(--dark3); flex-shrink: 0; background: var(--dark); }
.modal-total-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.modal-total-label { font-size: 12px; color: var(--gray); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.modal-total-amount { font-family: var(--font-d); font-weight: 900; font-size: 28px; color: var(--amber); }

/* Subsection label inside modal */
.modal-subsection-label { font-family: var(--font-d); font-weight: 800; font-size: 16px; color: var(--amber); margin-bottom: 8px; padding: 0 2px; }
.modal-subsection-box { border: 1px solid var(--dark3); border-radius: var(--radius-md); padding: 14px; display: flex; flex-direction: column; gap: 12px; }


/* ── SAUCE OPTION WITH DESC ── */
.option-row-label { display: flex; flex-direction: column; gap: 2px; }
.sauce-option-desc { font-size: 11px; color: var(--gray); font-weight: 400; line-height: 1.3; }

/* ═══════════════════════════════════════
   RESPONSIVE — TABLET
═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .main-inner { grid-template-columns: 1fr; }
  .order-aside { position: static; }
  .featured-grid { grid-template-columns: 1fr 1fr; }
  .featured-grid .featured-card:last-child { grid-column: span 2; }
  .kiosko-grid, .location-grid { grid-template-columns: 1fr; }
  .kiosko-img-wrap, .location-img-wrap { height: 240px; }
}

/* ═══════════════════════════════════════
   RESPONSIVE — MOBILE
═══════════════════════════════════════ */
@media (max-width: 640px) {
  .hero { min-height: 72vh; }
  .hero-content { padding-top: 36px; padding-bottom: 80px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; justify-content: center; }

  .header-status { display: none; }
  .header-cta { padding: 9px 14px; font-size: 12px; }
  .header-account-btn { padding: 8px 10px; }
  .account-btn-label { max-width: 56px; }

  .featured-section { padding: 40px 0; }
  .featured-grid { grid-template-columns: 1fr; gap: 14px; }
  .featured-grid .featured-card:last-child { grid-column: span 1; }
  .featured-img-wrap { height: 170px; }

  .cat-nav { top: 61px; }
  .cat-section-header { height: 130px; }
  .cat-section-title { font-size: 18px; }

  .product-card { flex-direction: column; align-items: stretch; }
  .modify-btn { width: 100%; min-width: unset; margin-top: 4px; padding: 13px; font-size: 14px; }

  .sauces-grid { grid-template-columns: 1fr; }

  .kiosko-grid, .location-grid { gap: 20px; }
  .location-img-wrap { order: -1; }
  .kiosko-img-wrap, .location-img-wrap { height: 200px; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }

  .sticky-order-bar { display: block; }
  body { padding-bottom: 58px; }

  .toggle-group { flex-direction: column; }
  .toggle-btn { min-width: unset; }

  .order-aside { gap: 14px; padding: 0; }
  .order-panel, .form-panel { border-radius: var(--radius-md); }
}

/* ═══════════════════════════════════════
   DESKTOP — hide sticky bar
═══════════════════════════════════════ */
@media (min-width: 1025px) {
  .sticky-order-bar { display: none; }
}
