@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@600;700&family=Lilita+One&family=Nunito:wght@400;600;700;800;900&display=swap');

:root {
  --ink: #071820;
  --bg: #0b1f2a;
  --bg-2: #0e2a38;
  --surface: #123344;
  --surface-2: #173e50;
  --text: #f7f3e8;
  --muted: #c8d5d8;
  --orange: #ff8a1f;
  --red: #e8461e;
  --gold: #f2b544;
  --green: #3fa535;
  --sea: #2f8fe0;
  --line: rgba(242, 181, 68, .38);
  --shadow: 0 18px 54px rgba(0, 0, 0, .3);
  --radius: 24px;
  --radius-sm: 15px;
  --header-h: 72px;
  --grad: linear-gradient(110deg, var(--orange), var(--red));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 138px; -webkit-text-size-adjust: 100%; }
body { margin: 0; min-width: 320px; color: var(--text); background: var(--bg); font-family: "Nunito", system-ui, sans-serif; line-height: 1.55; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(circle at 100% 0, rgba(47,143,224,.12), transparent 36%), radial-gradient(circle at 0 52%, rgba(63,165,53,.08), transparent 30%); }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Lilita One", Impact, sans-serif; font-weight: 400; line-height: 1.02; letter-spacing: .012em; }
.container { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
.eyebrow { margin: 0 0 8px; color: var(--gold); font-size: .75rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.section { padding: 68px 0; position: relative; }
.section-alt { background: rgba(14,42,56,.72); border-block: 1px solid rgba(242,181,68,.12); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.section-title { margin: 0; font-size: clamp(2rem, 7vw, 3.8rem); }
.section-lead { max-width: 620px; margin: 10px 0 0; color: var(--muted); }
.text-link { color: var(--gold); font-weight: 900; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 200; padding: 10px 14px; transform: translateY(-160%); border-radius: 10px; background: var(--gold); color: var(--ink); font-weight: 900; }
.skip-link:focus { transform: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 60; min-height: var(--header-h); background: rgba(7,24,32,.92); border-bottom: 1px solid rgba(242,181,68,.22); }
.header-inner { min-height: var(--header-h); display: flex; align-items: center; gap: 8px; }
.brand { flex: 0 0 auto; display: inline-flex; align-items: center; text-decoration: none; }
.brand img { width: 72px; height: 54px; object-fit: contain; }
.main-nav { flex: 1; display: flex; align-items: center; justify-content: space-around; gap: 0; overflow-x: auto; scrollbar-width: none; }
.main-nav::-webkit-scrollbar { display: none; }
.main-nav a { flex: 0 0 auto; padding: 8px 5px; color: var(--muted); border-radius: 999px; font-size: .7rem; font-weight: 900; text-decoration: none; }
.main-nav a[aria-current="page"], .main-nav a:hover { color: var(--text); background: rgba(255,255,255,.07); }
.nav-cart { flex: 0 0 auto; position: relative; display: inline-grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--grad); color: #241109; cursor: pointer; }
.nav-cart svg { width: 22px; height: 22px; }
.cart-badge { display: none; position: absolute; top: -4px; right: -5px; min-width: 20px; height: 20px; padding: 0 5px; place-items: center; border-radius: 999px; border: 2px solid var(--ink); background: var(--green); color: #fff; font-size: .68rem; font-weight: 900; }
.cart-badge.show { display: grid; }

/* Buttons */
.btn { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border: 1px solid transparent; border-radius: 999px; font-weight: 900; line-height: 1.15; text-align: center; text-decoration: none; cursor: pointer; transition: transform .2s ease, filter .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn-primary { background: var(--grad); color: #25130b; box-shadow: 0 10px 24px rgba(232,70,30,.24); }
.btn-secondary { border-color: var(--gold); background: rgba(11,31,42,.76); color: var(--gold); }
.btn-whatsapp { border-color: rgba(63,165,53,.8); background: var(--green); color: #fff; }
.btn-small { min-height: 40px; padding: 9px 14px; font-size: .82rem; }

/* Hero */
.hero { min-height: calc(100svh - var(--header-h)); position: relative; overflow: hidden; display: grid; align-items: center; }
.hero-media, .hero-media picture, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: center; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,24,32,.94) 0%, rgba(7,24,32,.78) 52%, rgba(7,24,32,.58) 100%); pointer-events: none; }
.hero-content { position: relative; z-index: 2; padding-block: 56px; }
.hero-logo { width: min(420px, 76vw); max-height: 260px; margin: 0 0 8px; object-fit: contain; object-position: left center; filter: drop-shadow(0 12px 22px rgba(0,0,0,.34)); }
.tagline { margin: 0 0 12px; color: var(--gold); font-family: "Dancing Script", cursive; font-size: clamp(1.9rem, 9vw, 3.7rem); font-weight: 700; }
.hero-title { max-width: 730px; margin: 0 0 14px; font-size: clamp(2.45rem, 11vw, 5.8rem); text-wrap: balance; }
.hero-copy { max-width: 590px; margin: 0 0 26px; color: #e4edef; font-size: clamp(1rem, 3vw, 1.18rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
#sorteo-banner { min-height: 0; }

/* Home navigation */
.quick-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.quick-card {
  min-height: 170px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 20px;
  border: 1px solid rgba(242,181,68,.4);
  border-radius: 22px;
  background-image: linear-gradient(90deg, rgba(7,24,32,.9) 0%, rgba(7,24,32,.62) 56%, rgba(7,24,32,.18) 100%), var(--quick-image);
  background-position: center;
  background-size: cover;
  color: #fff;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform .22s ease, border-color .22s ease;
}
.quick-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0,0,0,.25), transparent 55%); }
.quick-card:hover { transform: translateY(-2px); border-color: var(--gold); }
.quick-card__copy { position: relative; display: grid; gap: 5px; margin: 0; color: #fff; }
.quick-card strong { font-family: "Lilita One", sans-serif; font-size: clamp(1.8rem, 8vw, 2.7rem); line-height: 1; text-shadow: 0 3px 14px rgba(0,0,0,.6); }
.quick-card small { max-width: 280px; color: #f0f5f6; font-size: .82rem; font-weight: 800; line-height: 1.35; text-shadow: 0 2px 8px rgba(0,0,0,.75); }
.quick-card__arrow { position: relative; flex: 0 0 auto; display: grid; place-items: center; width: 44px; height: 44px; margin: 0; border-radius: 50%; background: linear-gradient(110deg, var(--orange), var(--red)); color: #fff; font-size: 1.5rem; font-weight: 900; box-shadow: 0 8px 20px rgba(0,0,0,.3); }

/* Product cards */
.product-grid, #favoritesGrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.product-card { min-width: 0; overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 19px; background: linear-gradient(160deg, rgba(23,62,80,.96), rgba(14,42,56,.98)); box-shadow: 0 12px 32px rgba(0,0,0,.18); }
.product-media { position: relative; aspect-ratio: 1; overflow: hidden; background-image: linear-gradient(145deg, rgba(255,138,31,.58), rgba(232,70,30,.44) 46%, rgba(14,42,56,.96)), url("../media/img/isotipo.webp"); background-position: center; background-repeat: no-repeat; background-size: cover, 46%; }
.product-media::after { content: "Sabor Tropical"; position: absolute; inset: auto 8px 10px; z-index: 0; color: rgba(255,255,255,.78); font-family: "Lilita One", sans-serif; font-size: .8rem; letter-spacing: .04em; text-align: center; }
.product-media img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.product-card:hover .product-media img { transform: scale(1.035); }
.product-media.image-missing img { display: none; }
.featured-pill { position: absolute; z-index: 2; top: 10px; left: 10px; padding: 5px 9px; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: .65rem; font-weight: 900; text-transform: uppercase; }
.product-body { flex: 1; display: flex; flex-direction: column; padding: 14px; }
.product-name { margin: 0; font-size: 1.18rem; line-height: 1.08; overflow-wrap: anywhere; }
.product-detail { display: -webkit-box; margin: 7px 0 0; overflow: hidden; color: var(--muted); font-size: .78rem; line-height: 1.42; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.product-bottom { margin-top: auto; padding-top: 14px; }
.product-price { display: block; margin-bottom: 10px; color: var(--gold); font-family: "Lilita One", sans-serif; font-size: 1.48rem; line-height: 1; }
.product-card .btn { width: 100%; padding-inline: 10px; }
.empty-state { grid-column: 1 / -1; padding: 48px 18px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); text-align: center; }

/* Story / feature blocks */
.feature-split { display: grid; gap: 22px; align-items: center; }
.feature-photo { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.feature-photo img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: center; }
.feature-copy { padding: 4px; }
.feature-copy h2 { margin-bottom: 12px; font-size: clamp(2.2rem, 8vw, 4.2rem); }
.feature-copy p { color: var(--muted); }
.note-list { display: grid; gap: 9px; margin: 18px 0 22px; padding: 0; list-style: none; }
.note-list li { padding: 11px 14px; border-left: 3px solid var(--gold); border-radius: 0 10px 10px 0; background: rgba(242,181,68,.09); }
.reviews-box { padding: 30px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(120deg, rgba(255,138,31,.18), rgba(14,42,56,.92)); text-align: center; }
.reviews-box h2 { margin-bottom: 10px; font-size: clamp(2rem, 8vw, 3.4rem); }
.reviews-box p { color: var(--muted); }
.reviews-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.location-grid { display: grid; gap: 22px; }
.map-wrap { min-height: 320px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.map-wrap iframe { display: block; width: 100%; height: 100%; min-height: 320px; border: 0; }
.contact-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.contact-card h2, .contact-card h1 { font-size: clamp(2.2rem, 8vw, 3.6rem); }
.contact-list { display: grid; gap: 12px; margin: 20px 0 0; padding: 0; list-style: none; }
.contact-list li { color: var(--muted); overflow-wrap: anywhere; }
.contact-list b { display: block; margin-bottom: 2px; color: var(--text); }
.contact-list a { color: var(--gold); font-weight: 800; }

/* Inner pages */
.page-hero { position: relative; overflow: hidden; padding: 72px 0 58px; border-bottom: 1px solid rgba(242,181,68,.18); background: linear-gradient(120deg, rgba(255,138,31,.15), rgba(14,42,56,.78)); }
.page-hero::after { content: ""; position: absolute; top: -90px; right: -70px; width: 250px; height: 250px; border: 42px solid rgba(63,165,53,.07); border-radius: 70% 30% 60% 40%; transform: rotate(20deg); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 820px; margin: 0 0 12px; font-size: clamp(2.8rem, 12vw, 6rem); }
.page-hero p { max-width: 680px; margin: 0; color: var(--muted); font-size: 1.05rem; }
.menu-tools { position: sticky; top: var(--header-h); z-index: 40; padding: 12px 0; border-bottom: 1px solid rgba(242,181,68,.18); background: rgba(11,31,42,.96); }
.group-pills { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 10px; scrollbar-width: thin; }
.group-pill { flex: 0 0 auto; padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text); font-weight: 900; text-decoration: none; }
.group-pill:hover, .group-pill.active { border-color: transparent; background: var(--grad); color: #25130b; }
.search-wrap { position: relative; }
.search-wrap svg { position: absolute; top: 50%; left: 14px; width: 19px; transform: translateY(-50%); color: var(--muted); }
.search-wrap input { width: 100%; min-height: 46px; padding: 10px 14px 10px 43px; border: 1px solid rgba(242,181,68,.28); border-radius: 999px; outline: none; background: #071820; color: var(--text); }
.search-wrap input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(242,181,68,.12); }
.menu-content { padding: 46px 0 80px; }
.menu-group { margin-bottom: 74px; scroll-margin-top: 160px; }
.menu-group > h2 { margin: 0 0 24px; padding-bottom: 13px; border-bottom: 2px solid var(--gold); font-size: clamp(2.35rem, 9vw, 4.8rem); }
.category-section { margin-bottom: 42px; scroll-margin-top: 160px; }
.category-title { margin: 0 0 16px; color: var(--orange); font-size: clamp(1.7rem, 6vw, 2.6rem); }
.menu-note { margin: 0 0 22px; padding: 13px 16px; border: 1px solid rgba(242,181,68,.42); border-radius: 13px; background: rgba(242,181,68,.09); color: #fff3cf; font-weight: 800; }
.menu-no-results { padding: 50px 0; color: var(--muted); text-align: center; }

/* Forms */
.form-layout { display: grid; gap: 24px; align-items: start; }
.reservation-form { display: grid; gap: 17px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.form-grid { display: grid; gap: 16px; }
.form-field { display: grid; gap: 6px; }
.form-field label { color: var(--text); font-size: .84rem; font-weight: 900; }
.form-field input, .form-field textarea, .form-field select { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid rgba(242,181,68,.29); border-radius: 12px; outline: 0; background: #09202b; color: var(--text); }
.form-field textarea { min-height: 108px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(242,181,68,.12); }
.form-help { margin: 0; color: var(--muted); font-size: .84rem; }
.info-panel { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(63,165,53,.13), rgba(14,42,56,.98)); }
.info-panel h2 { font-size: 2rem; }
.info-panel p { color: var(--muted); }

/* Footer */
.site-footer { padding: 46px 0 96px; border-top: 1px solid rgba(242,181,68,.2); background: #071820; }
.footer-grid { display: grid; gap: 28px; }
.footer-logo { width: 138px; max-height: 94px; object-fit: contain; object-position: left; }
.footer-tagline { margin: 4px 0 0; color: var(--gold); font-family: "Dancing Script", cursive; font-size: 1.45rem; }
.footer-col h2 { margin-bottom: 12px; font-size: 1.3rem; }
.footer-col p, .footer-col a { color: var(--muted); }
.footer-links { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 9px; margin-top: 34px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); color: #8fa4aa; font-size: .75rem; }
.craft-credit { opacity: .8; text-decoration: none; }

/* Cart drawer */
.cart-fab { position: fixed; right: 17px; bottom: 18px; z-index: 48; display: grid; place-items: center; width: 58px; height: 58px; padding: 0; border: 2px solid var(--gold); border-radius: 50%; background: var(--grad); color: #25130b; box-shadow: 0 12px 30px rgba(0,0,0,.42); cursor: pointer; }
.cart-fab svg { width: 25px; }
.cart-overlay { position: fixed; inset: 0; z-index: 80; visibility: hidden; background: rgba(0,0,0,.68); opacity: 0; transition: .25s ease; }
.cart-overlay.open { visibility: visible; opacity: 1; }
.cart-drawer { position: fixed; top: 0; right: 0; z-index: 81; width: min(430px, 100%); height: 100dvh; display: flex; flex-direction: column; transform: translateX(105%); border-left: 1px solid var(--line); background: #0b2430; box-shadow: -20px 0 60px rgba(0,0,0,.45); transition: transform .28s ease; }
.cart-drawer.open { transform: none; }
.cart-header { min-height: 72px; display: grid; grid-template-columns: 42px 1fr 42px; align-items: center; gap: 8px; padding: 12px 15px; border-bottom: 1px solid rgba(242,181,68,.18); }
.cart-header h2 { margin: 0; font-size: 1.7rem; text-align: center; }
.cart-close, .cart-back { width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.07); color: var(--text); cursor: pointer; }
.cart-back svg { width: 20px; }
.cart-items { flex: 1; overflow-y: auto; padding: 8px 16px; }
.cart-empty { min-height: 280px; display: grid; place-items: center; color: var(--muted); text-align: center; }
.cart-item { display: grid; grid-template-columns: 58px 1fr 34px; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.cart-item img { width: 58px; height: 58px; border-radius: 12px; object-fit: cover; background: var(--surface); }
.cart-item-info { min-width: 0; }
.cart-item-name { color: var(--text); font-weight: 900; line-height: 1.2; }
.cart-item-detail { margin-top: 3px; color: var(--muted); font-size: .76rem; }
.cart-item-remove { width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: rgba(232,70,30,.13); color: #ff9a80; cursor: pointer; }
.cart-footer { padding: 17px; border-top: 1px solid rgba(242,181,68,.18); background: #0a202b; }
.cart-total { display: flex; align-items: center; justify-content: space-between; }
.cart-total-label { font-weight: 800; }
.cart-total-value { color: var(--gold); font-family: "Lilita One", sans-serif; font-size: 1.8rem; }
.cart-total-items { margin: 2px 0 13px; color: var(--muted); font-size: .78rem; }
.btn-next, #btnConfirm { width: 100%; min-height: 50px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 16px; border: 0; border-radius: 999px; background: var(--grad); color: #25130b; font-weight: 900; cursor: pointer; }
.btn-next:disabled, #btnConfirm:disabled { opacity: .42; cursor: not-allowed; }
.cart-step2 { flex: 1; display: none; min-height: 0; }
.step2-body { flex: 1; overflow-y: auto; display: grid; align-content: start; gap: 16px; padding: 19px 17px; }
.delivery-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: #071820; }
.dtog-btn { min-height: 42px; padding: 8px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-weight: 900; cursor: pointer; }
.dtog-btn.active { background: var(--grad); color: #25130b; }
.step2-footer { padding: 17px; border-top: 1px solid rgba(242,181,68,.18); }

/* Product option modal */
.modal-overlay { position: fixed; inset: 0; z-index: 90; display: none; align-items: end; justify-content: center; padding: 0; background: rgba(0,0,0,.72); backdrop-filter: blur(5px); }
.modal-overlay.open { display: flex; }
.product-modal { width: min(560px, 100%); max-height: 92dvh; overflow-y: auto; position: relative; border: 1px solid var(--line); border-radius: 24px 24px 0 0; background: #0d2a38; box-shadow: var(--shadow); }
.modal-close { position: sticky; top: 12px; z-index: 5; float: right; width: 42px; height: 42px; margin: 12px 12px -54px 0; padding: 0; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: rgba(7,24,32,.86); color: #fff; cursor: pointer; }
.modal-media { aspect-ratio: 16 / 10; background-image: linear-gradient(145deg, rgba(255,138,31,.58), rgba(232,70,30,.44) 46%, rgba(14,42,56,.96)), url("../media/img/isotipo.webp"); background-position: center; background-repeat: no-repeat; background-size: cover, 38%; }
.modal-media img { width: 100%; height: 100%; object-fit: cover; }
.modal-media.image-missing img { display: none; }
.modal-content { padding: 22px; }
.modal-content h2 { margin-bottom: 8px; font-size: 2rem; }
.modal-description { color: var(--muted); }
.variant-group { min-width: 0; margin: 20px 0 0; padding: 0; border: 0; }
.variant-label { display: block; margin-bottom: 8px; color: var(--gold); font-weight: 900; }
.variant-options { display: flex; flex-wrap: wrap; gap: 8px; }
.variant-option { min-height: 42px; padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text); cursor: pointer; }
.variant-option.selected { border-color: transparent; background: var(--grad); color: #25130b; font-weight: 900; }
.modal-actions { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; margin-top: 24px; }
.quantity { display: grid; grid-template-columns: 38px 35px 38px; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.quantity button { width: 38px; height: 42px; padding: 0; border: 0; background: var(--surface); color: var(--gold); font-size: 1.3rem; cursor: pointer; }
.quantity output { text-align: center; font-weight: 900; }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 120; max-width: min(90vw, 420px); padding: 11px 18px; transform: translate(-50%, 24px); border: 1px solid var(--gold); border-radius: 999px; background: #071820; color: #fff; font-weight: 800; text-align: center; opacity: 0; pointer-events: none; transition: .22s ease; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

@media (max-width: 800px) {
  .container { width: min(100% - 24px, 1180px); }
  .section { padding: 52px 0; }
  .section-head { align-items: start; flex-direction: column; }
  .product-grid, #favoritesGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .product-body { padding: 11px; }
  .product-name { font-size: 1rem; }
  .product-detail { font-size: .72rem; -webkit-line-clamp: 2; }
  .product-price { font-size: 1.3rem; }
  .product-card .btn { min-height: 42px; padding: 8px 5px; font-size: .72rem; }
  .menu-group { margin-bottom: 58px; }
  .feature-photo img { aspect-ratio: 16 / 9; }
}

@media (min-width: 700px) {
  :root { --header-h: 84px; }
  .brand img { width: 124px; height: 68px; }
  .main-nav { justify-content: center; gap: 8px; }
  .main-nav a { padding: 10px 15px; font-size: .92rem; }
  .hero::after { background: linear-gradient(90deg, rgba(7,24,32,.96) 0%, rgba(7,24,32,.84) 38%, rgba(7,24,32,.32) 72%, rgba(7,24,32,.12) 100%); }
  .hero-content { padding-block: 78px; }
  .quick-card { min-height: 210px; padding: 30px; }
  .feature-split, .location-grid, .form-layout { grid-template-columns: 1.1fr .9fr; }
  .feature-split.reverse .feature-photo { order: 2; }
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-field.full { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .site-footer { padding-bottom: 46px; }
  .cart-fab { display: none; }
  .product-modal { border-radius: 24px; }
  .modal-overlay { align-items: center; padding: 20px; }
}

@media (min-width: 980px) {
  .menu-tools .container { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 18px; align-items: center; }
  .group-pills { padding-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}
