:root {
  --navy-950: #03101d;
  --navy-900: #06172a;
  --navy-800: #08233e;
  --navy-700: #0b3153;
  --cyan: #00d9f4;
  --cyan-soft: #8debf5;
  --gold: #ffb800;
  --gold-soft: #ffd76a;
  --paper: #f7fbff;
  --ink: #071b2d;
  --muted: #5d6f80;
  --line: #dce8f1;
  --white: #ffffff;
  --green: #20b858;
  --shadow: 0 20px 50px rgba(3, 26, 46, 0.12);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
.eyebrow {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(3, 16, 29, 0.98) 0%, rgba(3, 16, 29, 0.82) 42%, rgba(3, 16, 29, 0.12) 82%),
    linear-gradient(0deg, rgba(3, 16, 29, 0.78) 0%, transparent 45%),
    url("./assets/hero.webp") center/cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(0, 217, 244, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 217, 244, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to right, black, transparent 70%);
}
.topbar {
  position: relative;
  z-index: 3;
  width: min(1180px, calc(100% - 40px));
  height: 110px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.brand { display: inline-flex; align-items: center; height: 92px; overflow: hidden; }
.brand img { width: 162px; height: 112px; object-fit: cover; filter: drop-shadow(0 0 18px rgba(0, 217, 244, 0.2)); }
.cart-trigger {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 12px 0 17px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(3, 16, 29, 0.52);
  backdrop-filter: blur(12px);
  font-weight: 700;
}
.cart-trigger strong {
  display: grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  padding: 0 6px;
  border-radius: 999px;
  color: var(--navy-950);
  background: var(--gold);
  font-size: 0.78rem;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin: 120px auto 0;
}
.hero-content h1, .menu-heading h2, .cart-header h2 {
  margin: 0;
  font-family: "Barlow Condensed", Impact, sans-serif;
  text-transform: uppercase;
  letter-spacing: -0.035em;
}
.hero-content h1 { max-width: 670px; font-size: clamp(4.2rem, 9vw, 7.7rem); line-height: 0.79; }
.hero-content h1 em { color: var(--cyan); font-style: normal; text-shadow: 0 0 28px rgba(0, 217, 244, 0.28); }
.hero-content > p:not(.eyebrow) { max-width: 510px; margin: 28px 0 30px; color: #cee0ee; font-size: 1.05rem; line-height: 1.65; }
.primary-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 54px;
  padding: 0 24px;
  color: var(--navy-950);
  background: var(--gold);
  border-radius: 10px;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(255, 184, 0, 0.22);
}
.primary-link span { font-size: 1.25rem; }
.hero-note {
  position: absolute;
  z-index: 2;
  right: max(20px, calc((100vw - 1180px) / 2));
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #d8e7f2;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.hero-note span { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }

main { position: relative; }
.menu-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 86px 0 110px; }
.menu-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 28px; }
.menu-heading h2 { font-size: clamp(3.6rem, 7vw, 5.8rem); line-height: 0.9; color: var(--navy-900); }
.menu-heading #resultCount { margin: 0 0 5px; color: var(--muted); font-size: 0.88rem; font-weight: 600; }
.search-box {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(620px, 100%);
  min-height: 58px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(7, 27, 45, 0.06);
}
.search-box:focus-within { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(0, 217, 244, 0.1); }
.search-box svg { width: 21px; fill: none; stroke: var(--navy-700); stroke-width: 2; stroke-linecap: round; }
.search-box input { flex: 1; min-width: 0; border: 0; outline: 0; color: var(--ink); background: transparent; }
.search-box input::placeholder { color: #8292a1; }
.search-box button { width: 34px; height: 34px; border: 0; border-radius: 50%; color: var(--muted); background: #edf4f8; font-size: 1.35rem; }
.category-scroll { display: flex; gap: 9px; overflow-x: auto; padding: 18px 0 22px; scrollbar-width: none; }
.category-scroll::-webkit-scrollbar { display: none; }
.filter-button {
  flex: 0 0 auto;
  min-height: 43px;
  padding: 0 18px;
  color: var(--navy-700);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-weight: 700;
}
.filter-button.active { color: var(--white); border-color: var(--navy-900); background: var(--navy-900); box-shadow: 0 8px 22px rgba(6, 23, 42, 0.18); }
.featured-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 8px 0 40px; }
.featured-card {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  display: flex;
  align-items: end;
  padding: 24px;
  border-radius: 20px;
  color: var(--white);
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
}
.featured-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3, 16, 29, 0.96), rgba(3, 16, 29, 0.06) 80%); }
.featured-card > div { position: relative; z-index: 1; }
.featured-card small { color: var(--gold-soft); font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; }
.featured-card h3 { margin: 6px 0 2px; font-family: "Barlow Condensed", sans-serif; font-size: 1.9rem; line-height: 1; text-transform: uppercase; }
.featured-card p { margin: 0; color: #d7e4ee; font-size: 0.86rem; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.category-title { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; margin: 30px 0 2px; }
.category-title:first-child { margin-top: 0; }
.category-title h3 { margin: 0; font-family: "Barlow Condensed", sans-serif; color: var(--navy-900); font-size: 2rem; text-transform: uppercase; }
.category-title span { flex: 1; height: 1px; background: var(--line); }
.category-title small { color: var(--muted); font-size: 0.75rem; font-weight: 700; }
.product-card {
  position: relative;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.product-photo { width: 100%; height: 150px; object-fit: cover; border-radius: 10px; margin-bottom: 12px; }
.product-card:hover { transform: translateY(-3px); border-color: #bddbe9; box-shadow: var(--shadow); }
.product-card .tag { width: max-content; margin-bottom: 13px; padding: 5px 9px; border-radius: 6px; color: #915f00; background: #fff4d5; font-size: 0.67rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.product-card h4 { margin: 0; padding-right: 72px; color: var(--navy-900); font-size: 1.02rem; line-height: 1.25; }
.product-card p { margin: 8px 0 20px; color: var(--muted); font-size: 0.82rem; line-height: 1.5; }
.product-bottom { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product-price { color: var(--navy-900); font-family: "Barlow Condensed", sans-serif; font-size: 1.55rem; font-weight: 800; }
.add-button {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  color: var(--navy-950);
  background: var(--gold);
  font-size: 1.45rem;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease;
}
.add-button:hover { transform: scale(1.08); background: var(--gold-soft); }
.add-button.add-marmita { width:auto; min-width:125px; border-radius:9px; padding:0 12px; font-size:.85rem; }
.meat-dialog { width:min(92vw,430px); border:0; border-radius:16px; padding:22px; background:#fff; color:var(--navy-950); box-shadow:0 24px 80px #001b3280; }
.meat-dialog::backdrop { background:#05182acc; }
.meat-dialog-head { display:flex; align-items:start; justify-content:space-between; gap:12px; }
.meat-dialog h2 { font-size:1.4rem; margin:0; }
.meat-dialog p { color:var(--muted); margin:10px 0 18px; }
.meat-dialog-head button { border:0; background:transparent; font-size:1.6rem; cursor:pointer; }
.meat-options { display:grid; gap:9px; }
.meat-options button { min-height:46px; border:1px solid #d9e2e8; border-radius:9px; background:#f7fbfe; color:var(--navy-950); font-size:.95rem; font-weight:700; text-align:left; padding:10px 14px; cursor:pointer; }
.meat-options button:hover { border-color:var(--gold); background:#fff9e8; }
.empty-state { padding: 70px 20px; text-align: center; }
.empty-state > span { font-size: 2rem; }
.empty-state h3 { margin: 12px 0 6px; }
.empty-state p { margin: 0 0 22px; color: var(--muted); }
.empty-state button { min-height: 42px; padding: 0 18px; color: var(--white); border: 0; border-radius: 9px; background: var(--navy-900); font-weight: 700; }

footer {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 36px max(20px, calc((100vw - 1180px) / 2));
  color: var(--white);
  background: var(--navy-950);
}
footer img { width: 100px; height: 66px; object-fit: cover; }
footer strong { font-family: "Barlow Condensed", sans-serif; font-size: 1.5rem; text-transform: uppercase; }
footer p { margin: 3px 0 0; color: #8fa9bc; font-size: 0.82rem; }
footer a { margin-left: auto; color: var(--cyan-soft); text-decoration: none; font-size: 0.82rem; font-weight: 700; }

.scrim { position: fixed; z-index: 20; inset: 0; background: rgba(1, 9, 16, 0.68); backdrop-filter: blur(3px); }
.cart-drawer {
  position: fixed;
  z-index: 21;
  top: 0;
  right: 0;
  width: min(440px, 100%);
  height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 26px;
  background: var(--white);
  box-shadow: -25px 0 70px rgba(0, 0, 0, 0.22);
  transform: translateX(105%);
  transition: transform 250ms ease;
}
.cart-drawer.open { transform: translateX(0); }
.cart-header { display: flex; justify-content: space-between; align-items: start; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.cart-header h2 { color: var(--navy-900); font-size: 2.5rem; line-height: 0.9; }
.icon-button { width: 42px; height: 42px; border: 0; border-radius: 50%; color: var(--navy-900); background: #eef5f9; font-size: 1.6rem; }
.cart-items { min-height: 90px; overflow-y: auto; padding: 12px 2px; }
.cart-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.cart-row h4 { margin: 0 0 5px; font-size: 0.9rem; }
.cart-row p { margin: 0; color: var(--muted); font-size: 0.78rem; }
.quantity-control { display: flex; align-items: center; gap: 9px; }
.quantity-control button { width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 50%; color: var(--navy-900); background: var(--white); font-weight: 700; }
.quantity-control span { min-width: 15px; text-align: center; font-weight: 700; font-size: 0.84rem; }
.cart-empty { margin: auto; padding: 40px 15px; text-align: center; }
.cart-empty > span { font-size: 2.3rem; }
.cart-empty h3 { margin: 13px 0 6px; }
.cart-empty p { margin: 0; color: var(--muted); font-size: 0.88rem; }
.cart-footer { min-height: 0; overflow-y: auto; margin-top: auto; padding-top: 15px; border-top: 1px solid var(--line); }
.cart-footer label { display: block; margin-bottom: 7px; color: var(--navy-900); font-size: 0.78rem; font-weight: 700; }
.checkout-section { display: grid; gap: 8px; margin-bottom: 14px; }
.checkout-label { color: var(--navy-900); font-size: 0.78rem; font-weight: 800; }
.choice-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 5px; }
.choice-row label { display: flex; align-items: center; gap: 7px; min-height: 43px; margin: 0; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; background: #f7fbff; }
.checkout-input { width: 100%; min-height: 44px; padding: 0 11px; border: 1px solid var(--line); border-radius: 10px; outline: 0; }
.checkout-input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0,217,244,.1); }
.location-button { width: 100%; min-height: 44px; border: 1px solid #b8dce8; border-radius: 10px; color: var(--navy-900); background: #eafaff; font-weight: 700; }
.location-status,.pickup-address { margin: 2px 0 8px; color: var(--muted); font-size: .72rem; line-height: 1.45; }
.cart-footer textarea { width: 100%; resize: vertical; padding: 11px; border: 1px solid var(--line); border-radius: 10px; outline: 0; font-size: 0.82rem; }
.cart-footer textarea:focus { border-color: var(--cyan); }
.cart-total { display: flex; justify-content: space-between; align-items: end; margin: 17px 0; }
.cart-total span { color: var(--muted); font-size: 0.85rem; }
.cart-total strong { color: var(--navy-900); font-family: "Barlow Condensed", sans-serif; font-size: 2rem; }
.whatsapp-button { width: 100%; min-height: 54px; border: 0; border-radius: 11px; color: var(--white); background: var(--green); font-weight: 800; box-shadow: 0 12px 28px rgba(32, 184, 88, 0.22); }
.whatsapp-button:disabled { opacity: .65; cursor: wait; }
.cart-footer small { display: block; margin-top: 9px; color: var(--muted); text-align: center; font-size: 0.67rem; line-height: 1.4; }
.toast { position: fixed; z-index: 30; left: 50%; bottom: 24px; max-width: calc(100% - 32px); padding: 12px 18px; color: var(--white); border-radius: 999px; background: var(--navy-900); box-shadow: var(--shadow); opacity: 0; transform: translate(-50%, 14px); pointer-events: none; transition: 180ms ease; font-size: 0.8rem; font-weight: 700; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
body.no-scroll { overflow: hidden; }

@media (max-width: 900px) {
  .hero { min-height: 680px; background-position: 58% center; }
  .hero-content { margin-top: 110px; }
  .featured-strip { grid-template-columns: 1fr 1fr; }
  .featured-card:first-child { grid-column: 1 / -1; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .hero { min-height: 660px; background-position: 62% center; }
  .hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3, 16, 29, 0.94), rgba(3, 16, 29, 0.25)); }
  .topbar, .hero-content, .menu-shell { width: calc(100% - 28px); }
  .topbar { height: 84px; }
  .brand { height: 72px; }
  .brand img { width: 118px; height: 82px; }
  .cart-trigger { min-height: 44px; padding-left: 13px; }
  .cart-trigger > span:nth-child(2) { display: none; }
  .hero-content { margin-top: 105px; }
  .hero-content h1 { font-size: clamp(3.8rem, 20vw, 5.4rem); }
  .hero-content > p:not(.eyebrow) { max-width: 350px; font-size: 0.95rem; }
  .hero-note { left: 14px; right: auto; }
  .menu-shell { padding: 64px 0 86px; }
  .menu-heading { align-items: start; }
  .menu-heading h2 { font-size: 4rem; }
  .menu-heading #resultCount { margin-top: 12px; white-space: nowrap; font-size: 0.75rem; }
  .search-box { min-height: 54px; }
  .category-scroll { margin-right: -14px; padding-right: 14px; }
  .featured-strip { grid-template-columns: 1fr; }
  .featured-card:first-child { grid-column: auto; }
  .featured-card { min-height: 190px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 166px; padding: 19px; }
  .category-title { margin-top: 26px; }
  footer { flex-wrap: wrap; padding-top: 30px; padding-bottom: 30px; }
  footer img { width: 82px; height: 56px; }
  footer a { width: 100%; margin: 12px 0 0; }
  .cart-drawer { padding: 22px 18px max(18px, env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition-duration: 0.001ms !important; }
}
.xis-launch{display:grid;grid-template-columns:40% 1fr;overflow:hidden;margin:24px 0 28px;background:#071d34;border-radius:20px;color:#fff;box-shadow:0 16px 36px rgba(7,29,52,.18)}
.xis-launch img{width:100%;height:100%;min-height:220px;object-fit:cover}
.xis-launch>div{padding:24px 30px;align-self:center}
.xis-launch small{color:#ffd074;font-weight:800;letter-spacing:.12em}
.xis-launch h3{font-family:"Barlow Condensed",sans-serif;font-size:2.5rem;line-height:1;margin:8px 0;text-transform:uppercase}
.xis-launch p{color:#e4eff8;line-height:1.5;margin:0 0 15px}
.xis-launch button{border:0;border-radius:8px;background:#07bdf0;color:#071d34;font-weight:800;padding:10px 17px;cursor:pointer}
.photo-disclaimer{display:block;color:#64748b;font-size:.72rem;line-height:1.3;margin:-5px 0 12px}
.product-card .availability-note{color:#0879bd;font-weight:750;margin:-10px 0 14px}
.product-card .add-button:disabled{opacity:.4;cursor:not-allowed}
@media(max-width:620px){.xis-launch{grid-template-columns:1fr}.xis-launch img{height:190px;min-height:0}.xis-launch>div{padding:19px 20px}.xis-launch h3{font-size:2rem}}
