/* ==========================================================================
   Vikings Vault — Coastal & Chill · mobile-first · vistas por pestaña
   ========================================================================== */
:root {
  --sand: #FAF7F2;
  --cream: #F2ECE1;
  --white: #FFFFFF;
  --stone: #E5DFD5;
  --ink: #1A1A1A;
  --ink-2: #4A4640;
  --muted: #6E675D;
  --ocean: #1E3A5F;
  --amber: #D97724;
  --amber-d: #B9601A;
  --sun: #F2B33D;
  --wa: #1FA855;
  --wa-d: #178A45;
  --r: 18px;
  --r-sm: 12px;
  --wrap: 1180px;
  --shadow: 0 1px 2px rgba(26,26,26,.05), 0 8px 24px rgba(26,26,26,.06);
  --f-display: "Fredoka", "Nunito", system-ui, sans-serif;
  --f-body: "Plus Jakarta Sans", "DM Sans", system-ui, sans-serif;
  --legal-h: 30px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--sand); color: var(--ink);
  font-family: var(--f-body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  min-height: 100vh; display: flex; flex-direction: column;
}
body.locked { overflow: hidden; }
main { flex: 1; outline: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, .h2, .h3 { font-family: var(--f-display); font-weight: 600; line-height: 1.1; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 999; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 6px; }

/* Illustrations: blend white paper into the sand background */
.hero-ilu img, .head-ilu, .story-step img, .delivery-card img, .contact-ilu,
.empty-filter img, .cart-empty img, .merch-ilu { mix-blend-mode: multiply; }

/* ---------- Legal bar ---------- */
.legal-bar {
  position: sticky; top: 0; z-index: 60; height: var(--legal-h);
  display: flex; align-items: center; justify-content: center;
  background: var(--ink); color: #fff; text-align: center;
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; padding: 0 10px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: var(--legal-h); z-index: 50;
  background: rgba(250,247,242,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--stone);
}
.header-inner { display: flex; align-items: center; gap: 10px; height: 64px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; margin-right: auto; }
.brand-iso { height: 38px; width: auto; }
.brand-text { height: 17px; width: auto; }
.main-nav { display: none; }
.cart-btn {
  display: inline-flex; align-items: center; gap: 6px; position: relative;
  border: 1.5px solid var(--ink); background: var(--white); border-radius: 999px;
  padding: 7px 11px; cursor: pointer; font-weight: 600; font-size: .9rem;
}
.cart-label { display: none; }
.cart-count {
  min-width: 22px; height: 22px; border-radius: 999px; background: var(--stone); color: var(--ink);
  font-size: .75rem; display: inline-grid; place-items: center; padding: 0 6px; font-weight: 700;
}
.cart-count.has { background: var(--amber); color: #fff; }
.cart-btn.bump { animation: bump .45s ease; }
@keyframes bump { 30% { transform: scale(1.12); } 60% { transform: scale(.96); } }
.menu-btn { width: 42px; height: 42px; border: 0; background: transparent; display: grid; place-content: center; gap: 5px; cursor: pointer; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-btn.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn.is-open span:nth-child(2) { opacity: 0; }
.menu-btn.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { display: flex; flex-direction: column; padding: 6px 20px 16px; border-top: 1px solid var(--stone); background: var(--sand); }
.mobile-nav a { text-decoration: none; font-family: var(--f-display); font-size: 1.25rem; font-weight: 500; padding: 10px 0; border-bottom: 1px dashed var(--stone); }
.mobile-nav a.is-active { color: var(--amber-d); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: .98rem; text-decoration: none; cursor: pointer; line-height: 1.15;
  transition: transform .15s ease, background-color .15s, box-shadow .15s, color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--amber); color: #fff; box-shadow: 0 6px 16px rgba(217,119,36,.28); }
.btn-primary:hover { background: var(--amber-d); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 6px 16px rgba(31,168,85,.25); }
.btn-wa:hover { background: var(--wa-d); }
.btn-ig { background: linear-gradient(45deg, #F58529, #DD2A7B 50%, #8134AF); color: #fff; box-shadow: 0 6px 16px rgba(221,42,123,.22); }
.btn-outline { background: var(--white); color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-small { min-height: 40px; padding: 8px 14px; font-size: .86rem; }
.btn-block { width: 100%; }
.btn-big { min-height: 56px; font-size: 1.05rem; }
.link-btn { background: none; border: 0; padding: 4px; color: var(--ocean); text-decoration: underline; cursor: pointer; font-weight: 600; font-size: .88rem; }

/* ---------- Views ---------- */
.view { animation: viewIn .35s ease; }
@keyframes viewIn { from { opacity: 0; transform: translateY(8px); } }
.section { padding: 40px 0 64px; }
.eyebrow { font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--amber-d); margin-bottom: 10px; }
.h2 { font-size: clamp(2rem, 7vw, 3.1rem); }
.h3 { font-size: 1.3rem; }
.section-sub { color: var(--ink-2); margin-top: 12px; max-width: 58ch; font-size: 1.02rem; }
.section-head { margin-bottom: 28px; }
.section-head.center { text-align: center; }
.section-head.center .section-sub { margin-left: auto; margin-right: auto; }
.with-ilu { display: grid; gap: 12px; align-items: end; }
.head-ilu { width: 190px; justify-self: end; margin-top: -10px; }
.center-cta { text-align: center; margin-top: 32px; }

/* ---------- Hero (Inicio) ---------- */
.hero { padding: 26px 0 48px; }
.hero-grid { display: grid; gap: 22px; }
.hero h1 { font-size: clamp(2.35rem, 10vw, 4.4rem); font-weight: 700; }
.hl { color: var(--ocean); position: relative; white-space: nowrap; }
.hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: .04em; height: .22em; background: rgba(217,119,36,.35); border-radius: 4px; z-index: -1; }
.lead { margin-top: 16px; font-size: 1.06rem; color: var(--ink-2); max-width: 52ch; }
.hero-ctas { display: grid; gap: 10px; margin-top: 22px; }
.hero-points { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-points li { background: var(--white); border: 1px solid var(--stone); border-radius: 999px; padding: 6px 12px; font-size: .82rem; font-weight: 600; }
.hero-visual { display: grid; gap: 0; }
.hero-ilu { margin: 0 auto; width: 100%; max-width: 460px; }
.hero-ilu img { width: 100%; height: auto; object-fit: contain; }
.hero-bottles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: -18px; position: relative; z-index: 1; }
.hb { text-decoration: none; display: grid; gap: 6px; justify-items: center; background: var(--white); border: 1px solid var(--stone); border-radius: 14px; padding: 6px 6px 8px; box-shadow: var(--shadow); transition: transform .2s; }
.hb:nth-child(odd) { transform: rotate(-2deg); }
.hb:nth-child(even) { transform: rotate(2deg) translateY(-6px); }
.hb:hover { transform: translateY(-4px) rotate(0); }
.hb-img { width: 100%; aspect-ratio: 1 / 1; border-radius: 10px; overflow: hidden; background: #fff; display: block; }
.hb-img.dark { background: #000; }
.hb-img img { width: 100%; height: 100%; object-fit: contain; }
.hb-img.logo { padding: 4%; }
.hero-bottles .hb > span:last-child { display: none; } /* el logo ya muestra el nombre */
@media (max-width: 639px) {
  .hero-bottles { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: -10px; padding: 0 6px; }
  .hb { padding: 8px; border-radius: 16px; }
}
.hb > span:last-child { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--ocean); text-align: center; line-height: 1.2; }

/* ---------- Filters ---------- */
.filters { background: var(--white); border: 1px solid var(--stone); border-radius: var(--r); padding: 14px; margin-bottom: 22px; box-shadow: var(--shadow); }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 0 4px 2px; margin: 0 -4px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; border: 1.5px solid var(--stone); background: var(--sand); border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: .88rem; cursor: pointer; min-height: 40px; }
.chip.is-active { background: var(--ocean); border-color: var(--ocean); color: #fff; }
.selects { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.selects label { display: grid; gap: 4px; font-size: .76rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.selects label:first-child { grid-column: 1 / -1; }
select, input[type=text], input[type=number], textarea {
  width: 100%; min-height: 44px; border: 1.5px solid var(--stone); border-radius: var(--r-sm);
  background: var(--sand); padding: 8px 12px; font-size: 16px; text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--ink);
}
select:focus, input:focus, textarea:focus { border-color: var(--ocean); outline: none; box-shadow: 0 0 0 3px rgba(30,58,95,.15); }
.filter-count { margin-top: 10px; font-size: .85rem; color: var(--muted); font-weight: 600; }

/* ---------- Beer cards ---------- */
.grid-beers { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.beer-card { background: var(--white); border: 1px solid var(--stone); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.beer-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.beer-media { position: relative; aspect-ratio: 1 / 1; background: var(--white); display: grid; place-items: center; border-bottom: 1px solid var(--stone); }
.beer-media.is-dark, .pm-media.is-dark, .ci-media.is-dark { background: #000; }
.beer-img { width: 100%; height: 100%; object-fit: contain; }
.status { position: absolute; top: 8px; left: 8px; font-size: .66rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; background: #E6F2EA; color: #1C6B3B; border: 1px solid #BFDCC9; }
.status.inline { position: static; display: inline-block; margin-top: 10px; }
.st-limited { background: #FCEBDD; color: #9A4C10; border-color: #F2C9A6; }
.st-pack { background: #E3EAF3; color: var(--ocean); border-color: #C3D1E3; }
.beer-info { padding: 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.beer-brand { font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ocean); }
.beer-name { font-size: 1.12rem; font-weight: 600; }
.beer-style { font-size: .82rem; color: var(--muted); }
.beer-specs { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.beer-specs li { font-size: .74rem; background: var(--cream); border-radius: 8px; padding: 3px 7px; }
.beer-specs b { font-weight: 800; }
.beer-specs.big li { font-size: .9rem; padding: 6px 10px; }
.beer-price { margin: 8px 0 0; font-family: "Fredoka", sans-serif; font-weight: 600; font-size: 1.25rem; color: var(--navy, #1E3A5F); line-height: 1; }
.beer-price span { font-family: "Plus Jakarta Sans", sans-serif; font-size: .72rem; font-weight: 600; color: var(--muted); }
.beer-price.big { font-size: 1.7rem; margin: 12px 0 4px; }
.beer-price.big span { font-size: .8rem; }
.ci-price { font-size: .8rem; color: var(--muted); margin: 2px 0 0; }
.ci-price strong { color: #1A1A1A; }
.cart-total .ct-sum { display: block; font-size: 1.15rem; }
.cart-total .ct-meta { display: block; font-weight: 500; font-size: .8rem; color: var(--muted); }
.beer-actions { display: grid; gap: 6px; margin-top: auto; padding-top: 10px; }
.legal-mini { font-size: .6rem; font-weight: 800; letter-spacing: .03em; color: var(--ink); text-align: center; margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--stone); }
.legal-mini.strong { font-size: .72rem; }
.bottle-ph { width: 100%; height: 100%; display: grid; place-items: center; align-content: center; gap: 6px; background: repeating-linear-gradient(-45deg, var(--sand) 0 10px, var(--cream) 10px 20px); }
.bottle-ph svg { width: 34%; max-width: 70px; }
.bottle-ph span { font-size: .7rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.empty-filter { text-align: center; padding: 20px 0; }
.empty-filter img { width: 220px; margin: 0 auto 8px; }
.noscript { padding: 20px; background: var(--white); border-radius: var(--r); }

/* ---------- Story (El Vault) ---------- */
.story { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.story-step { display: grid; gap: 10px; background: var(--white); border: 1px solid var(--stone); border-radius: var(--r); padding: 16px 18px 20px; }
.story-step img { width: 100%; height: auto; aspect-ratio: 5 / 3; object-fit: contain; border-radius: 10px; }
.step-n { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--amber-d); }
.story-step .h3 { margin: 4px 0 6px; }
.story-step p { font-size: .95rem; color: var(--ink-2); }

/* ---------- Merch (Próximamente) ---------- */
.merch-inner { max-width: 640px; text-align: center; display: grid; justify-items: center; gap: 14px; }
.merch-seal { width: 92px; height: auto; }
.badge-soon { display: inline-block; background: var(--amber); color: #fff; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; font-size: .74rem; padding: 7px 14px; border-radius: 999px; }
.slogans { display: grid; min-height: 4.4em; width: 100%; }
.slogan { grid-area: 1 / 1; font-family: var(--f-display); font-weight: 500; font-size: clamp(1.15rem, 4.5vw, 1.45rem); color: var(--ocean); line-height: 1.3; opacity: 0; transform: translateY(8px); transition: opacity .6s ease, transform .6s ease; align-self: center; }
.slogan.is-active { opacity: 1; transform: none; }
.merch-ilu { width: min(100%, 420px); height: auto; margin: 4px 0; }
.notify-form { width: 100%; background: var(--white); border: 1px solid var(--stone); border-radius: var(--r); padding: 18px; text-align: left; box-shadow: var(--shadow); }
.notify-form label { font-weight: 700; display: block; margin-bottom: 10px; font-size: .95rem; }
.notify-row { display: grid; gap: 8px; }
.form-msg { margin-top: 8px; font-size: .9rem; min-height: 1.4em; }
.form-msg.ok { color: #1C6B3B; }
.form-msg.err { color: #B3471A; }

/* ---------- Entregas ---------- */
.route-box { background: var(--ocean); color: #fff; border-radius: 22px; padding: 22px 18px; margin-bottom: 22px; }
.route { list-style: none; padding: 0; margin: 0 auto; max-width: 440px; position: relative; }
.route::before { content: ""; position: absolute; left: 10px; top: 16px; bottom: 16px; border-left: 3px dashed rgba(255,255,255,.45); }
.stop { position: relative; display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 12px; padding: 9px 0; }
.stop .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--ocean); border: 3px solid #fff; z-index: 1; }
.stop.same-day .dot { background: var(--amber); }
.stop.summer .dot { background: var(--sun); }
.stop strong { font-family: var(--f-display); font-size: 1.22rem; font-weight: 600; }
.stop small { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; background: rgba(255,255,255,.14); padding: 4px 8px; border-radius: 999px; white-space: nowrap; }
.stop.same-day small { background: var(--amber); }
.stop.summer small { background: var(--sun); color: var(--ink); }
.route-legend { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: center; font-size: .78rem; color: #CFDBEA; align-items: center; }
.lg { display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; margin-right: -8px; vertical-align: middle; }
.lg.same { background: var(--amber); } .lg.sum { background: var(--sun); } .lg.cour { background: var(--ocean); }
.delivery-cards { display: grid; gap: 14px; }
.delivery-card { position: relative; background: var(--white); border: 1px solid var(--stone); border-radius: var(--r); padding: 18px; display: grid; gap: 8px; align-content: start; }
.delivery-card img { width: 130px; height: 110px; object-fit: contain; }
.delivery-card p { color: var(--ink-2); font-size: .95rem; }
.delivery-card.summer { background: #FFF6E3; border: 2px solid var(--sun); }
.delivery-card.accent { border: 2px solid var(--amber); }
.delivery-card .btn { justify-self: start; margin-top: 4px; }
.tag-summer { position: absolute; top: 14px; right: 14px; background: var(--sun); color: var(--ink); font-weight: 800; font-size: .72rem; padding: 4px 10px; border-radius: 999px; letter-spacing: .04em; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; gap: 28px; }
.contact-actions { display: grid; gap: 10px; margin-top: 22px; }
.contact-ilu { width: 240px; margin-top: 18px; }
.ig-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; text-decoration: none; border-radius: var(--r); overflow: hidden; }
.ig-grid img { aspect-ratio: 1 / 1; object-fit: cover; background: #fff; transition: transform .3s; }
.ig-grid:hover img { transform: scale(1.04); }
.ig-overlay { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: .85rem; white-space: nowrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--cream); border-top: 1.5px solid var(--ink); padding: 32px 0 110px; }
.footer-inner { display: grid; gap: 18px; justify-items: center; text-align: center; }
.footer-logo img { width: 150px; height: auto; mix-blend-mode: multiply; }
.footer-info { display: grid; gap: 10px; justify-items: center; }
.footer-tag { font-weight: 600; color: var(--ink-2); }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; }
.footer-nav a { text-decoration: none; font-weight: 600; }
.footer-ig { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; color: var(--ocean); }
.legal-footer { width: 100%; background: var(--ink); color: #fff; font-weight: 800; letter-spacing: .05em; text-align: center; padding: 14px; border-radius: var(--r-sm); font-size: .95rem; }

/* ---------- Floating buttons ---------- */
.floaters { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40; display: grid; gap: 12px; justify-items: center; }
.fab { width: 56px; height: 56px; border-radius: 50%; color: #fff; display: grid; place-items: center; transition: transform .2s; text-decoration: none; }
.fab:hover { transform: scale(1.07); }
.fab-wa { background: var(--wa); box-shadow: 0 10px 24px rgba(31,168,85,.4); }
.fab-ig { width: 50px; height: 50px; background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); box-shadow: 0 10px 24px rgba(214,36,159,.32); }

/* ---------- Modals / drawer ---------- */
.modal, .drawer { position: fixed; inset: 0; z-index: 80; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(26,26,26,.55); animation: fade .2s ease; }
@keyframes fade { from { opacity: 0; } }
.modal-panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: 92vh; overflow-y: auto; background: var(--sand); border-radius: 22px 22px 0 0; animation: up .25s ease; overscroll-behavior: contain; }
@keyframes up { from { transform: translateY(30px); opacity: 0; } }
.modal-close { position: sticky; top: 10px; display: block; margin: 10px 10px -50px auto; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--white); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.pm-media { aspect-ratio: 1 / 1; max-height: 42vh; width: 100%; background: var(--white); display: grid; place-items: center; border-bottom: 1px solid var(--stone); }
.pm-img { width: 100%; height: 100%; object-fit: contain; max-height: 42vh; }
.pm-info { padding: 18px 20px 26px; }
.pm-info h2 { font-size: 2rem; margin-top: 4px; }
.sensory { margin: 16px 0; display: grid; gap: 10px; }
.sens-row { background: var(--white); border: 1px solid var(--stone); border-radius: var(--r-sm); padding: 10px 12px; }
.sens-row dt { font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ocean); }
.sens-row dd { margin: 2px 0 0; font-size: .95rem; }
.qty-row { display: flex; align-items: center; justify-content: space-between; margin: 6px 0 14px; font-weight: 700; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--white); overflow: hidden; }
.qty button { width: 44px; height: 44px; border: 0; background: none; font-size: 1.3rem; cursor: pointer; }
.qty input { width: 48px; min-height: 44px; border: 0; background: none; text-align: center; font-weight: 700; padding: 0; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty.small button { width: 36px; height: 36px; font-size: 1.15rem; }
.qty.small span { min-width: 22px; text-align: center; font-weight: 700; }
.pm-actions { display: grid; gap: 10px; }

.drawer-panel { position: absolute; right: 0; top: 0; bottom: 0; width: 100%; max-width: 440px; background: var(--sand); display: flex; flex-direction: column; animation: slide .25s ease; }
@keyframes slide { from { transform: translateX(40px); opacity: 0; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--stone); }
.drawer-head h2 { font-size: 1.5rem; }
.drawer-head .modal-close { position: static; margin: 0; }
.drawer-content { flex: 1; overflow-y: auto; padding: 14px 16px; overscroll-behavior: contain; }
.cart-empty { text-align: center; padding: 20px 0; display: grid; gap: 14px; justify-items: center; }
.cart-empty img { width: 220px; }
.cart-items { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.cart-item { display: grid; grid-template-columns: 58px 1fr auto; gap: 10px; align-items: center; background: var(--white); border: 1px solid var(--stone); border-radius: var(--r-sm); padding: 8px; }
.ci-media { width: 58px; height: 58px; border-radius: 10px; overflow: hidden; background: #fff; }
.ci-img { width: 100%; height: 100%; object-fit: contain; }
.ci-media .bottle-ph span { display: none; }
.ci-name { font-weight: 700; line-height: 1.2; }
.ci-remove { background: none; border: 0; padding: 2px 0; margin-top: 2px; color: #B3471A; font-size: .78rem; font-weight: 700; text-decoration: underline; cursor: pointer; }
.cart-form { display: grid; gap: 10px; margin-top: 16px; }
.cart-form label { display: grid; gap: 4px; font-size: .8rem; font-weight: 700; color: var(--muted); }
.drawer-foot { padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--stone); background: var(--white); display: grid; gap: 8px; }
.cart-total { text-align: center; font-weight: 700; font-size: .92rem; }
.cart-hint { font-size: .78rem; color: var(--muted); text-align: center; }
.cart-secondary { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.soon-tag { font-size: .62rem; background: var(--stone); color: var(--ink); padding: 2px 7px; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; text-decoration: none; display: inline-block; }

/* ---------- Age gate ---------- */
.age-gate { position: fixed; inset: 0; z-index: 100; background: rgba(250,247,242,.97); display: grid; place-items: center; padding: 20px; backdrop-filter: blur(6px); }
.age-card { background: var(--white); border: 1.5px solid var(--ink); border-radius: 24px; padding: 26px 22px; max-width: 420px; width: 100%; text-align: center; display: grid; gap: 14px; justify-items: center; box-shadow: 0 24px 60px rgba(26,26,26,.15); }
.age-iso { width: 120px; height: auto; }
.age-card h2 { font-size: 1.8rem; }
.age-card p { color: var(--ink-2); }
.age-actions { display: grid; gap: 10px; width: 100%; }
.age-denied { font-weight: 600; color: var(--amber-d) !important; }
.legal-gate { background: var(--ink); color: #fff !important; font-weight: 800; letter-spacing: .04em; font-size: .82rem; padding: 10px 12px; border-radius: 10px; width: 100%; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 150px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; z-index: 120; background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: .9rem; transition: all .25s; max-width: calc(100% - 40px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ==========================================================================
   Tablet ≥ 640
   ========================================================================== */
@media (min-width: 640px) {
  .wrap { padding: 0 28px; }
  .brand-iso { height: 44px; }
  .brand-text { height: 20px; }
  .hero-ctas { display: flex; flex-wrap: wrap; }
  .hero-bottles { gap: 12px; }
  .grid-beers { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .beer-actions { grid-template-columns: 1fr 1fr; }
  .selects { grid-template-columns: repeat(3, 1fr); }
  .selects label:first-child { grid-column: auto; }
  .with-ilu { grid-template-columns: 1fr auto; }
  .head-ilu { width: 230px; }
  .story { grid-template-columns: 1fr 1fr; }
  .notify-row { grid-template-columns: 1fr auto; }
  .delivery-cards { grid-template-columns: 1fr 1fr; }
  .contact-actions { display: flex; flex-wrap: wrap; }
  .modal-panel { left: 50%; top: 50%; bottom: auto; right: auto; transform: translate(-50%, -50%); width: min(920px, 94vw); max-height: 90vh; border-radius: 24px; animation: fade .2s ease; }
  .pm-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
  .pm-media { aspect-ratio: auto; max-height: none; height: 100%; border-bottom: 0; border-right: 1px solid var(--stone); position: sticky; top: 0; }
  .pm-img { max-height: 70vh; }
  .age-actions { grid-template-columns: 1fr 1fr; }
  .cart-label { display: inline; }
  .legal-bar { font-size: .78rem; }
}

/* ==========================================================================
   Desktop ≥ 1000
   ========================================================================== */
@media (min-width: 1000px) {
  .section { padding: 64px 0 96px; }
  .main-nav { display: flex; gap: 22px; margin-right: 16px; }
  .main-nav a { text-decoration: none; font-weight: 600; font-size: .95rem; position: relative; padding: 4px 0; }
  .main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px; background: var(--amber); transition: right .2s; }
  .main-nav a:hover::after, .main-nav a.is-active::after { right: 0; }
  .main-nav a.is-active { color: var(--amber-d); }
  .menu-btn, .mobile-nav { display: none !important; }
  .header-inner { height: 76px; }
  .brand-iso { height: 52px; }
  .brand-text { height: 23px; }
  .hero { padding: 48px 0 80px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 48px; }
  .hero-ilu { max-width: 520px; }
  .hero-bottles { max-width: 520px; margin: -24px auto 0; width: 100%; }
  .grid-beers { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .filters { padding: 16px 18px; }
  .chips { flex-wrap: wrap; }
  .selects { grid-template-columns: repeat(3, minmax(0, 240px)); }
  .story { grid-template-columns: 1fr 1fr; gap: 22px; }
  .story-step { padding: 20px 24px 26px; }
  .story-step .h3 { font-size: 1.5rem; }
  .story-step p { font-size: 1.02rem; }
  .route-box { padding: 34px 28px 26px; }
  .route { display: grid; grid-template-columns: repeat(7, 1fr); max-width: none; }
  .route::before { left: 7%; right: 7%; top: 21px; bottom: auto; border-left: 0; border-top: 3px dashed rgba(255,255,255,.45); }
  .stop { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 8px; }
  .stop .dot { width: 26px; height: 26px; margin-top: 8px; }
  .stop strong { font-size: 1.12rem; }
  .delivery-cards { grid-template-columns: repeat(4, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; }
  .footer-inner { grid-template-columns: auto 1fr; justify-items: start; text-align: left; align-items: center; column-gap: 32px; }
  .footer-info { justify-items: start; }
  .footer-nav { justify-content: flex-start; }
  .legal-footer, .footer-inner > .small { grid-column: 1 / -1; }
  .footer-inner > .small { justify-self: center; }
  .site-footer { padding-bottom: 40px; }
}

/* Movimiento intrusivo desactivado si el sistema lo pide; lo demás se mantiene. */
@media (prefers-reduced-motion: reduce) {
  .view { animation: none; }
}
