/* ==========================================================
   Bodega Ahorro Más — estilos
   ========================================================== */
:root {
  --red: #d71f26;
  --red-600: #b5171d;
  --red-50: #fdf1f0;
  --yellow: #ffd43b;
  --navy: #0e2350;
  --navy-800: #0a1a3d;
  --blue: #1f56d6;
  --wa: #1fae5b;
  --wa-600: #168c48;
  --ink: #16181d;
  --text: #3b3f49;
  --muted: #5f6471;
  --bg: #fbf9f5;
  --surface: #ffffff;
  --soft: #f5f1ea;
  --line: #ebe5da;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(16, 20, 35, .05);
  --shadow: 0 1px 2px rgba(16, 20, 35, .04), 0 12px 32px -12px rgba(16, 20, 35, .14);
  --shadow-lg: 0 30px 60px -20px rgba(14, 35, 80, .28);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 76px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
body.drawer-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.15; }
p { margin: 0; }
[hidden] { display: none !important; }
.container { width: 100%; max-width: 1260px; margin: 0 auto; padding: 0 24px; }
.ico { width: 20px; height: 20px; flex: none; }
.ico.lg { width: 44px; height: 44px; stroke-width: 1.4; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 6px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .01em;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 20px -8px rgba(215, 31, 38, .6); }
.btn-primary:hover { background: var(--red-600); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--yellow); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-600); }
.btn-block { width: 100%; }
.link-btn {
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
  padding: 8px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.link-btn:hover { color: var(--red); }
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  color: var(--ink);
  transition: .2s;
}
.icon-btn:hover { border-color: var(--ink); }
.icon-btn.sm { width: 34px; height: 34px; border: 0; color: var(--muted); }
.icon-btn.sm .ico { width: 17px; height: 17px; }
.icon-btn.sm:hover { color: var(--red); background: var(--red-50); }

/* ---------- Encabezado ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 249, 245, .82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(255, 255, 255, .9); }
.header-in { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a {
  position: relative;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  border-radius: 999px;
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--ink); background: var(--soft); }
.nav a.active { color: var(--red); }
.nav a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  transform: translateX(-50%);
}
.header-actions { display: flex; align-items: center; gap: 10px; }
.btn-list {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 18px 0 16px;
  border-radius: 999px;
  border: 0;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: background .2s;
}
.btn-list:hover { background: var(--navy-800); }
.badge {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  font-size: 12px;
  display: inline-grid;
  place-items: center;
  transition: .25s;
}
.badge.show { background: var(--yellow); color: var(--navy); }
.menu-btn {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  place-items: center;
}

/* ---------- Secciones ---------- */
.section { padding: 110px 0; }
.section-sm { padding: 80px 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: currentColor; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 26px; height: 1.5px; background: currentColor; }
.section-head h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 4.2vw, 48px); letter-spacing: -.02em; margin: 16px 0 16px; }
.section-head p { font-size: 18px; color: var(--muted); }
.serif-accent { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--red); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 100px; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(80px); z-index: -1; opacity: .55; }
.hero::before { width: 520px; height: 520px; background: #ffe7a3; top: -160px; right: -120px; }
.hero::after { width: 420px; height: 420px; background: #ffd9d6; bottom: -200px; left: -160px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(42px, 6vw, 76px);
  letter-spacing: -.035em;
  line-height: 1.02;
  margin: 22px 0 24px;
}
.hero h1 em { font-style: italic; font-weight: 400; color: var(--red); }
.hero-lead { font-size: 19px; max-width: 520px; color: var(--muted); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-copy ul.hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-points li { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--ink); }
.hero-points .ico { width: 18px; height: 18px; color: var(--red); }
ul.clean { list-style: none; padding: 0; margin: 0; }
.hero-visual { position: relative; padding: 0 0 48px 48px; }
.hero-photo { margin: 0; border-radius: 32px; overflow: hidden; aspect-ratio: 11 / 13; box-shadow: var(--shadow-lg); background: var(--soft); }
.hero-photo img, .hero-photo-sm img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-sm {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42%;
  aspect-ratio: 1;
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  border: 6px solid var(--bg);
  box-shadow: var(--shadow-lg);
  background: var(--soft);
}
.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 12px 18px 12px 12px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  color: var(--ink);
}
.float-chip b { display: block; font-size: 14px; line-height: 1.25; }
.float-chip small { display: block; font-size: 12px; color: var(--muted); }
.float-chip .dot { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.float-chip .dot .ico { width: 19px; height: 19px; }
.chip-a { top: 36px; right: -22px; }
.chip-a .dot { background: var(--yellow); color: var(--navy); }
.chip-b { bottom: 92px; right: 24px; }
.chip-b .dot { background: var(--wa); color: #fff; }

/* ---------- Marcas ---------- */
.brands { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); padding: 30px 0; overflow: hidden; }
.brands-in { display: flex; align-items: center; gap: 40px; }
.brands-label {
  flex: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  max-width: 170px;
  line-height: 1.4;
}
.marquee {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; gap: 18px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--serif); font-size: 26px; font-weight: 500; color: #9ea2ad; white-space: nowrap; letter-spacing: -.01em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Categorías (inicio) ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.cat-media { display: grid; place-items: center; aspect-ratio: 16 / 10; overflow: hidden; }
.cat-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.cat-card:hover .cat-media img { transform: scale(1.05); }
.cat-info { display: flex; align-items: center; gap: 16px; padding: 20px 22px 22px; }
.cat-info > span:first-child { flex: 1; }
.cat-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.cat-card p { font-size: 14px; color: var(--muted); }
.cat-card .go {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--ink);
  transition: .25s;
  flex: none;
}
.cat-card .go .ico { width: 18px; height: 18px; }
.cat-card:hover .go { background: var(--red); border-color: var(--red); color: #fff; }
.cat-count-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.split-head { max-width: none; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; }
.split-head h2 { margin-bottom: 0; }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 700; color: var(--red); }
.text-link .ico { width: 18px; height: 18px; transition: transform .25s; }
.text-link:hover .ico { transform: translateX(4px); }

/* ---------- Mayoreo ---------- */
.wholesale { background: var(--navy); color: #c9d2e6; padding: 110px 0; position: relative; overflow: hidden; }
.wholesale::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  right: -160px;
  top: -200px;
  background: radial-gradient(circle, rgba(255, 212, 59, .22), transparent 70%);
}
.wholesale-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .95fr 1.05fr; gap: 80px; align-items: center; }
.wholesale-photo { margin: 0; border-radius: 28px; overflow: hidden; aspect-ratio: 10 / 11; background: var(--navy-800); }
.wholesale-photo img { width: 100%; height: 100%; object-fit: cover; }
.wholesale h2 {
  color: #fff;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(32px, 4.2vw, 50px);
  letter-spacing: -.02em;
  margin: 16px 0 20px;
}
.wholesale .serif-accent { color: var(--yellow); }
.wholesale-copy > p { font-size: 18px; max-width: 520px; }
.eyebrow.light { color: var(--yellow); }
ul.check-list { display: grid; gap: 14px; margin: 30px 0 10px; }
.check-list li { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 600; }
.check-list .ico {
  width: 26px;
  height: 26px;
  padding: 5px;
  border-radius: 50%;
  background: rgba(255, 212, 59, .16);
  color: var(--yellow);
  stroke-width: 2.4;
}
.btn-ghost.on-dark { color: #fff; border-color: rgba(255, 255, 255, .3); }
.btn-ghost.on-dark:hover { border-color: #fff; }

/* ---------- Foto con leyenda ---------- */
.story-photo { position: relative; margin: 0; border-radius: 28px; overflow: hidden; aspect-ratio: 20 / 23; background: var(--soft); }
.story-photo img { width: 100%; height: 100%; object-fit: cover; }
.story-photo figcaption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  padding: 18px 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  color: var(--text);
  font-size: 15px;
}
.story-photo figcaption b { color: var(--ink); }

/* ---------- Preguntas frecuentes ---------- */
.faq-section { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { width: 22px; height: 22px; color: var(--red); transition: transform .3s; flex: none; }
.faq details[open] summary .ico { transform: rotate(45deg); }
.faq details p { padding: 0 40px 26px 0; color: var(--muted); font-size: 16px; }
.faq details a { color: var(--red); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 22px 0 18px;
  border-radius: 999px;
  background: var(--wa);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 14px 30px -10px rgba(22, 140, 72, .6);
  transition: transform .25s, background .25s;
}
.wa-float:hover { background: var(--wa-600); transform: translateY(-2px); }
.wa-float .ico { width: 22px; height: 22px; }
body.drawer-open .wa-float { opacity: 0; pointer-events: none; }
.img-fallback { display: grid; place-items: center; width: 100%; height: 100%; }
.cat-dot { display: grid; place-items: center; flex: none; }
.cat-todos { background: #eef0f5; color: var(--navy); }
.cat-granos { background: #f7ecd5; color: #946512; }
.cat-harinas { background: #f4e8dc; color: #8a5a2b; }
.cat-aceites { background: #fff3c7; color: #9a7400; }
.cat-lacteos { background: #e5edfb; color: #1f4fa8; }
.cat-carnes { background: #fbe4e2; color: #b3261e; }
.cat-snacks { background: #fcebd8; color: #b45a00; }
.cat-bebidas { background: #dff1ed; color: #1b7465; }
.cat-limpieza { background: #e9eafb; color: #4a4fb8; }
.cat-higiene { background: #f8e5ef; color: #a3346e; }

/* ---------- Pasos ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 36px 32px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 400;
  line-height: 1;
  color: var(--line);
  position: absolute;
  top: 24px;
  right: 28px;
}
.step .step-ico {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  margin-bottom: 26px;
}
.step:nth-child(2) .step-ico { background: var(--red); }
.step:nth-child(3) .step-ico { background: var(--wa); }
.step h3 { font-size: 20px; margin-bottom: 10px; }
.step p { color: var(--muted); }

/* ---------- Beneficios ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.feature-list { display: grid; gap: 28px; }
.feature { display: flex; gap: 20px; }
.feature .f-ico {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--red-50);
  color: var(--red);
  flex: none;
}
.feature h3 { font-size: 18px; margin-bottom: 6px; }
.feature p { color: var(--muted); }

/* ---------- Banda final ---------- */
.cta-band { padding: 0 0 110px; }
.cta-box {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: 72px 64px;
  background: var(--red);
  color: #fff;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}
.cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 300px at 100% 0%, rgba(255, 212, 59, .35), transparent 60%),
              radial-gradient(500px 300px at 0% 100%, rgba(14, 35, 80, .35), transparent 60%);
}
.cta-box > * { position: relative; }
.cta-box h2 { color: #fff; font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3.8vw, 46px); letter-spacing: -.02em; }
.cta-box p { margin-top: 14px; color: rgba(255, 255, 255, .85); font-size: 18px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.cta-box .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .45); }
.cta-box .btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

/* ---------- Encabezado de páginas internas ---------- */
.page-hero { padding: 64px 0 56px; position: relative; overflow: hidden; }
.page-hero::before {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  filter: blur(90px);
  background: #ffe7a3;
  opacity: .45;
  top: -260px;
  right: -80px;
  z-index: -1;
}
.page-hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(38px, 5vw, 60px); letter-spacing: -.03em; margin: 16px 0 14px; }
.page-hero p { font-size: 18px; color: var(--muted); max-width: 620px; }
.page-hero.has-photo {
  margin: 16px 24px 56px;
  padding: 110px 0 90px;
  border-radius: 32px;
  color: #fff;
  isolation: isolate;
  background: linear-gradient(100deg, rgba(10, 26, 61, .92) 0%, rgba(10, 26, 61, .72) 45%, rgba(10, 26, 61, .25) 100%), var(--hero-img) center / cover, var(--navy);
}
.page-hero.has-photo::before { display: none; }
.page-hero.has-photo h1 { color: #fff; }
.page-hero.has-photo p { color: rgba(255, 255, 255, .82); }
.page-hero.has-photo .eyebrow { color: var(--yellow); }
.page-hero.has-photo + .section-sm { padding-top: 20px; }
.shop > * { min-width: 0; }
.sidebar { position: sticky; top: calc(var(--header-h) + 20px); }
.sidebar h2 { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px 6px; }
.cats { display: grid; gap: 4px; }
.cat-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 8px 12px 8px 8px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: none;
  cursor: pointer;
  text-align: left;
  transition: .2s;
}
.cat-btn:hover { background: var(--surface); border-color: var(--line); }
.cat-btn.active { background: var(--surface); border-color: var(--line); box-shadow: var(--shadow-sm); }
.cat-btn .cat-dot { width: 38px; height: 38px; border-radius: 11px; }
.cat-btn .cat-dot .ico { width: 18px; height: 18px; }
.cat-btn.active .cat-name { color: var(--ink); font-weight: 700; }
.cat-count { font-size: 12px; font-weight: 700; color: var(--muted); background: var(--soft); border-radius: 999px; padding: 2px 9px; }
.cat-btn.active .cat-count { background: var(--red); color: #fff; }
.help-card { margin-top: 28px; padding: 24px; border-radius: var(--radius); background: var(--navy); color: #c9d2e6; }
.help-card h3 { color: #fff; font-size: 17px; margin-bottom: 8px; }
.help-card p { font-size: 14px; margin-bottom: 18px; }
.help-card .btn { height: 44px; font-size: 14px; width: 100%; }
.toolbar h2 { font-family: var(--serif); font-weight: 500; font-size: 30px; letter-spacing: -.02em; }
.toolbar small { display: block; color: var(--muted); font-size: 14px; margin-top: 4px; }
.search {
  position: relative;
  display: flex;
  align-items: center;
  width: min(100%, 380px);
  height: 52px;
  padding: 0 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color .2s, box-shadow .2s;
}
.search:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(14, 35, 80, .06); }
.search .ico { color: var(--muted); }
.search input { flex: 1; border: 0; outline: 0; background: none; padding: 0 12px; height: 100%; min-width: 0; }
.search button {
  border: 0;
  background: var(--soft);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.search button .ico { width: 15px; height: 15px; }
.product:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: transparent; }
.product:hover .product-media > img { transform: scale(1.05); }
.product-brand {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 54px;
  height: 38px;
  border-radius: 9px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 20, 35, .08), 0 4px 10px rgba(16, 20, 35, .08);
}
.product-brand img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.product-brand.cover img { object-fit: cover; padding: 0; }

/* Logos de marcas */
.brand-tile {
  flex: none;
  display: block;
  width: 150px;
  height: 92px;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}
.brand-tile img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.brand-tile.cover img { object-fit: cover; padding: 0; }
.brand-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.brand-grid .brand-tile { width: auto; height: auto; aspect-ratio: 16 / 10; }
.in-list .ico { width: 14px; height: 14px; stroke-width: 2.5; }

/* Si la tarjeta es angosta, el botón pasa debajo de la cantidad */
.product-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.btn-add .ico { width: 17px; height: 17px; }
.stepper {
  display: inline-flex;
  align-items: center;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  flex: none;
}
.stepper button {
  width: 34px;
  height: 100%;
  border: 0;
  background: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--ink);
  border-radius: 999px;
}
.stepper button:hover { color: var(--red); }
.stepper button .ico { width: 15px; height: 15px; }
.stepper input {
  width: 30px;
  border: 0;
  text-align: center;
  font-weight: 700;
  background: none;
  outline: 0;
  -moz-appearance: textfield;
  appearance: textfield;
  padding: 0;
}
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 70px 20px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.no-results > .ico { width: 36px; height: 36px; color: var(--muted); margin: 0 auto 14px; }
.no-results h4 { font-size: 20px; margin-bottom: 8px; }
.no-results p { color: var(--muted); max-width: 420px; margin: 0 auto 22px; }

/* ---------- Panel Mi lista ---------- */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 18, 40, .45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
  z-index: 90;
}
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 100%);
  background: var(--bg);
  z-index: 100;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
  box-shadow: -20px 0 60px rgba(10, 18, 40, .18);
}
body.drawer-open .drawer { transform: none; }
body.drawer-open .drawer-backdrop { opacity: 1; pointer-events: auto; }
.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 26px 24px 20px;
  border-bottom: 1px solid var(--line);
}
.drawer-head h3 { font-family: var(--serif); font-weight: 500; font-size: 28px; letter-spacing: -.02em; }
.drawer-head p { color: var(--muted); font-size: 14px; margin-top: 2px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.list-items { list-style: none; margin: 0; padding: 0; }
.list-item { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.list-item:last-child { border-bottom: 0; }
.li-ico { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; flex: none; overflow: hidden; }
.li-ico:has(img) { background: #fff; border: 1px solid var(--line); }
.li-ico img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.li-ico .ico { width: 24px; height: 24px; }
.li-main { flex: 1; min-width: 0; }
.li-top { display: flex; justify-content: space-between; gap: 8px; }
.li-top strong { display: block; color: var(--ink); font-size: 15px; line-height: 1.3; }
.li-top span { font-size: 13px; color: var(--muted); }
.li-controls { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.li-controls .stepper { height: 36px; }
.li-controls .stepper button { width: 30px; }
.seg { display: inline-flex; background: var(--soft); border-radius: 999px; padding: 3px; }
.seg button {
  border: 0;
  background: none;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
}
.seg button.on { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.drawer-foot { padding: 18px 24px 22px; border-top: 1px solid var(--line); background: var(--surface); display: grid; gap: 12px; }
.field { display: grid; gap: 6px; }
.field span { font-size: 13px; font-weight: 700; color: var(--ink); }
.field em { font-style: normal; font-weight: 500; color: var(--muted); }
.field input, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 14px;
  background: var(--bg);
  outline: 0;
  resize: vertical;
  transition: border-color .2s;
}
.field input:focus, .field textarea:focus { border-color: var(--ink); background: #fff; }
.drawer-foot .link-btn { justify-self: center; }
.empty { text-align: center; padding: 70px 10px; }
.empty-ico {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: var(--soft);
  margin: 0 auto 20px;
  color: var(--muted);
}
.empty-ico .ico { width: 30px; height: 30px; }
.empty h4 { font-family: var(--serif); font-weight: 500; font-size: 24px; margin-bottom: 8px; }
.empty p { color: var(--muted); margin-bottom: 26px; }
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  box-shadow: var(--shadow-lg);
  transition: .3s;
  max-width: calc(100% - 32px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast > .ico { color: #5ee08f; width: 18px; height: 18px; }
.toast span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.toast button {
  border: 0;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  border-radius: 999px;
  padding: 7px 14px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  flex: none;
}
.toast button:hover { background: var(--yellow); color: var(--navy); }

/* ---------- Quiénes somos ---------- */
.story { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.story-aside { position: sticky; top: calc(var(--header-h) + 30px); }
.story-aside h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 4vw, 46px); letter-spacing: -.02em; margin-top: 16px; }
.story-body p { font-size: 18px; line-height: 1.8; margin-bottom: 22px; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv-card { padding: 48px 44px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); }
.mv-card.dark { background: var(--navy); border-color: var(--navy); color: #c9d2e6; }
.mv-card.dark h3 { color: #fff; }
.mv-card .label { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.mv-card.dark .label { color: var(--yellow); }
.mv-card h3 { font-family: var(--serif); font-weight: 500; font-size: 30px; margin: 14px 0 16px; }
.mv-card p { font-size: 17px; line-height: 1.75; }
.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.value { background: var(--surface); padding: 30px 26px; }
.value b { font-family: var(--serif); font-weight: 500; font-size: 15px; color: var(--red); }
.value h3 { font-size: 18px; margin: 10px 0 8px; }
.value p { font-size: 14px; color: var(--muted); }
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.aud-card { display: flex; gap: 20px; padding: 32px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.aud-card h3 { font-size: 20px; margin-bottom: 8px; }
.aud-card p { color: var(--muted); }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: stretch; padding-bottom: 110px; }
.contact-cards { display: grid; gap: 16px; align-content: start; }
.c-card { display: flex; gap: 18px; padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.c-card .f-ico {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--soft);
  color: var(--navy);
  flex: none;
}
.c-card.wa { background: var(--navy); border-color: var(--navy); color: #c9d2e6; }
.c-card.wa h3 { color: #fff; }
.c-card.wa .f-ico { background: var(--wa); color: #fff; }
.c-card h3 { font-size: 17px; margin-bottom: 4px; }
.c-card p { font-size: 15px; }
.c-card .btn { margin-top: 16px; height: 44px; font-size: 14px; }
.hours { list-style: none; padding: 0; margin: 4px 0 0; }
.hours li { display: flex; justify-content: space-between; gap: 18px; font-size: 15px; padding: 3px 0; }
.hours li span:last-child { font-weight: 700; color: var(--ink); }
.map { border-radius: 28px; overflow: hidden; min-height: 460px; background: var(--soft); border: 1px solid var(--line); position: relative; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 30px;
  gap: 10px;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 40px 40px;
}
.map-placeholder .pin {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  margin: 0 auto 8px;
  box-shadow: 0 10px 30px -8px rgba(215, 31, 38, .6);
}
.map-placeholder .pin .ico { width: 28px; height: 28px; }
.map-placeholder h3 { font-size: 20px; }
.map-placeholder p { color: var(--muted); max-width: 320px; }

/* ---------- Pie de página ---------- */
.site-footer { background: var(--navy-800); color: #aeb8cf; padding: 80px 0 0; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1fr; gap: 48px; padding-bottom: 56px; }
.footer-brand img { height: 60px; width: auto; margin-bottom: 20px; }
.footer-brand p { max-width: 320px; }
.site-footer h4 { color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer li span { color: #fff; font-weight: 600; }
.site-footer a:hover { color: var(--yellow); }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); display: grid; place-items: center; }
.social a .ico { width: 18px; height: 18px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 13px;
}
.footer-bottom span:last-child { font-family: var(--serif); font-style: italic; color: var(--yellow); font-size: 15px; }

/* ---------- Animación al aparecer ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ==========================================================
   Pulido visual: barra superior, catálogo, vitrina y celular
   ========================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico.flip { transform: rotate(180deg); }

/* Barra superior */
.topbar { background: var(--navy-800); color: #b9c3da; font-size: 13px; }
.topbar-in { display: flex; align-items: center; gap: 28px; height: 38px; }
.tb-item { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.tb-item .ico { width: 15px; height: 15px; color: var(--yellow); }
.tb-wa { margin-left: auto; color: #fff; font-weight: 600; transition: color .2s; }
.tb-wa b { color: var(--yellow); font-weight: 700; }
.tb-wa:hover { color: var(--yellow); }

/* Contador de la lista: pequeño rebote al agregar */
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
.badge.bump { animation: bump .45s ease; }
.toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 18px; }
.filters { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.brand-chips { display: flex; gap: 8px; overflow-x: auto; flex: 1; min-width: 0; scrollbar-width: none; padding: 2px; }
.brand-chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
}
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip-logo { padding-left: 5px; }
.chip-img { width: 28px; height: 28px; border-radius: 50%; overflow: hidden; background: #fff; border: 1px solid var(--line); flex: none; }
.chip-img img { width: 100%; height: 100%; object-fit: contain; padding: 2px; }
.chip-img.cover img { object-fit: cover; padding: 0; }
.select { position: relative; flex: none; }
.select select {
  appearance: none;
  -webkit-appearance: none;
  height: 38px;
  padding: 0 36px 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316181d' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
.select select:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 16px; }
.product {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: box-shadow .25s, transform .25s, border-color .25s;
  border-radius: 18px;
}
.product.is-in-list { border-color: rgba(31, 174, 91, .45); }
.product-media { position: relative; display: grid; place-items: center; overflow: hidden; aspect-ratio: 1; background: #f5f3ee; border-bottom: 0; }
.product-media > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .6s cubic-bezier(.2, .8, .2, 1);
  padding: 13%;
  mix-blend-mode: multiply;
}
.in-list {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px 5px 8px;
  border-radius: 999px;
  background: #fff;
  color: var(--wa-600);
  font-size: 12px;
  box-shadow: var(--shadow-sm);
  top: auto;
  bottom: 10px;
  left: 10px;
}
.product-body { display: flex; flex-direction: column; flex: 1; padding: 14px 16px 16px; }
.product-marca { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.product h3 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  margin: 5px 0 8px;
  min-height: 2.6em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-pres {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  background: var(--soft);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.product-actions .stepper { flex: 1 0 auto; justify-content: space-between; height: 40px; }
.btn-add { padding: 0 16px; font-size: 14px; flex: 1 0 112px; gap: 6px; box-shadow: none; height: 40px; }
.btn-add.added { background: var(--wa); box-shadow: none; }

/* Vitrina de productos destacados (inicio) */
.section.featured-section { padding-top: 0; }
.featured-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.featured-nav .text-link { margin-top: 0; }
.arrows { display: flex; gap: 8px; }
.featured {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 5 * 16px) / 6);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 4px 2px 8px;
}
.featured::-webkit-scrollbar { display: none; }
.feat-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.feat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.feat-media { aspect-ratio: 1; background: #f5f3ee; display: grid; place-items: center; }
.feat-media img { width: 100%; height: 100%; object-fit: contain; padding: 14%; mix-blend-mode: multiply; transition: transform .5s; }
.feat-card:hover .feat-media img { transform: scale(1.06); }
.feat-body { display: grid; gap: 3px; padding: 14px 16px 16px; }
.feat-body small { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.feat-body strong {
  font-size: 14px;
  line-height: 1.3;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.feat-body em { font-style: normal; font-size: 12px; color: var(--muted); }

/* Barra inferior de la lista (solo celular) */
.list-bar { display: none; }

/* Nombres de categoría en una sola línea */
.shop { display: grid; align-items: start; padding-bottom: 110px; grid-template-columns: 272px 1fr; gap: 32px; }
.cat-name {
  flex: 1;
  font-weight: 600;
  color: var(--text);
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

@media (max-width: 1100px) {
  .featured { grid-auto-columns: calc((100% - 3 * 16px) / 4); }
}

@media (max-width: 1024px) {
  .hero-grid, .split, .story, .wholesale-grid, .faq-grid, .split-head { grid-template-columns: 1fr; gap: 56px; }
  .split-head { gap: 16px; }
  .hero-visual { max-width: 560px; width: 100%; margin: 0 auto; }
  .chip-a { right: -8px; }
  .wholesale-photo { aspect-ratio: 16 / 11; }
  .story-photo { max-width: 560px; }
  .story-aside { position: static; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: repeat(2, 1fr); }
  .brand-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-box { grid-template-columns: 1fr; padding: 56px 40px; }
  .cta-actions { justify-content: flex-start; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .menu-btn { display: grid; }
  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 2px;
    padding: 12px 16px 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .2);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: .25s;
  }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 14px 16px; font-size: 16px; }
  .nav a.active::after { left: 6px; top: 50%; bottom: auto; transform: translateY(-50%); }
  .header-actions { margin-left: auto; }
  .brand img { height: 40px; }
  .sidebar {
    position: sticky;
    top: var(--header-h);
    z-index: 30;
    margin: 0 -16px;
    padding: 10px 16px;
    background: rgba(251, 249, 245, .94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
  }
  .sidebar .cats { margin: 0 -16px; }
  .sidebar h2, .help-card { display: none; }
  .cats { display: flex; overflow-x: auto; gap: 8px; margin: 0 -16px; padding: 2px 16px 6px; scrollbar-width: none; }
  .cats::-webkit-scrollbar { display: none; }
  .cat-btn { width: auto; flex: none; padding: 6px 14px 6px 6px; background: var(--surface); border-color: var(--line); border-radius: 999px; }
  .cat-btn .cat-dot { width: 32px; height: 32px; border-radius: 50%; }
  .cat-btn .cat-dot .ico { width: 16px; height: 16px; }
  .cat-name { white-space: nowrap; font-size: 14px; }
  .cat-btn.active { background: var(--navy); border-color: var(--navy); }
  .cat-btn.active .cat-name { color: #fff; }
  .cat-btn.active .cat-count { background: var(--yellow); color: var(--navy); }
  #results { scroll-margin-top: calc(var(--header-h) + 76px); }
  .grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .contact-grid { grid-template-columns: 1fr; }
  .map { min-height: 360px; }
  .tb-hours { display: none; }
  .filters { flex-wrap: wrap; gap: 12px; }
  .brand-chips { flex: 1 1 100%; margin: 0 -16px; padding: 2px 16px; }
  .list-bar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 75;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 58px;
    padding: 0 18px 0 10px;
    border: 0;
    border-radius: 18px;
    background: var(--navy);
    color: #fff;
    font: inherit;
    font-size: 14px;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 16px 34px -12px rgba(14, 35, 80, .6);
    transform: translateY(140%);
    transition: transform .35s cubic-bezier(.2, .8, .2, 1);
  }
  .list-bar .lb-count {
    min-width: 38px;
    height: 38px;
    padding: 0 8px;
    border-radius: 12px;
    background: var(--yellow);
    color: var(--navy);
    font-weight: 800;
    display: grid;
    place-items: center;
  }
  .list-bar b { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--yellow); }
  .list-bar b .ico { width: 16px; height: 16px; }
  body.has-list .list-bar { transform: none; }
  body.has-list .wa-float { opacity: 0; pointer-events: none; }
  body.has-list .toast { bottom: 88px; }
  body.drawer-open .list-bar { transform: translateY(140%); }
  .shop { grid-template-columns: 1fr; gap: 16px; }
  body.has-list { padding-bottom: 84px; }
}

@media (max-width: 640px) {
  .page-hero.has-photo {
    margin: 8px 12px 28px;
    padding: 40px 0 36px;
    border-radius: 22px;
    background: linear-gradient(rgba(10, 26, 61, .86), rgba(10, 26, 61, .86)), var(--hero-img) center / cover, var(--navy);
  }
  .container { padding: 0 16px; }
  .section { padding: 76px 0; }
  .section-sm { padding: 56px 0; }
  .section-head { margin-bottom: 36px; }
  .hero { padding: 40px 0 72px; }
  .hero-lead { font-size: 17px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-visual { padding: 0 0 32px 24px; }
  .hero-photo { border-radius: 24px; aspect-ratio: 1; }
  .hero-photo-sm { width: 40%; border-width: 4px; border-radius: 18px; }
  .chip-a { top: 16px; right: 10px; }
  .chip-b { display: none; }
  .wholesale { padding: 76px 0; }
  .wholesale-grid { gap: 40px; }
  .faq summary { font-size: 16px; padding: 20px 0; }
  .faq details p { padding-right: 0; }
  .wa-float { right: 16px; bottom: 16px; width: 56px; padding: 0; justify-content: center; }
  .wa-float span { display: none; }
  .toast { bottom: 84px; }
  .story-photo figcaption { left: 12px; right: 12px; bottom: 12px; font-size: 14px; }
  .page-hero h1 { font-size: 34px; margin: 12px 0 10px; }
  .page-hero p { font-size: 15px; line-height: 1.55; }
  .shop { gap: 16px; padding-bottom: 80px; }
  .toolbar { margin-bottom: 18px; gap: 14px; }
  .seg button { padding: 8px 14px; font-size: 13px; }
  .li-controls .stepper { height: 40px; }
  .li-controls .stepper button { width: 36px; }
  .icon-btn.sm { width: 40px; height: 40px; }
  .drawer-head { padding: 20px 16px 16px; }
  .drawer-body { padding: 4px 16px; }
  .drawer-foot { padding: 14px 16px calc(16px + env(safe-area-inset-bottom)); gap: 10px; }
  .drawer-foot textarea { min-height: 46px; }
  .footer-bottom { flex-direction: column; text-align: center; align-items: center; }
  .site-footer { padding-top: 56px; }
  button.btn-list span { display: none; }
  a.btn-list { font-size: 14px; padding: 0 14px; gap: 8px; white-space: nowrap; }
  a.btn-list .ico { width: 18px; height: 18px; }
  .header-in { gap: 12px; }
  .btn-list { padding: 0 14px; }
  .brands-in { flex-direction: column; align-items: flex-start; gap: 16px; }
  .brands-label { max-width: none; }
  .marquee { width: 100%; }
  .brand-tile { width: 120px; height: 74px; border-radius: 14px; }
  .brand-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-brand { width: 46px; height: 32px; top: 8px; right: 8px; }
  .cat-grid, .steps, .mv-grid, .audience { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .mv-card { padding: 36px 28px; }
  .cta-band { padding-bottom: 76px; }
  .cta-box { padding: 44px 26px; border-radius: 26px; }
  .cta-actions .btn { flex: 1 1 100%; }
  .toolbar h2 { font-size: 26px; }
  .search { width: 100%; }
  .product-actions { flex-direction: column; }
  .product-actions .stepper { width: 100%; justify-content: space-between; }
  .btn-add { flex: none; width: 100%; }
  .ico.lg { width: 36px; height: 36px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .story-body p { font-size: 17px; }
  .page-hero { padding: 44px 0 36px; }
  .topbar { font-size: 12px; }
  .topbar-in { height: 34px; justify-content: center; }
  .topbar .tb-item:first-child { display: none; }
  .tb-wa { margin-left: 0; }
  .featured { grid-auto-columns: 46%; gap: 12px; margin: 0 -16px; padding: 4px 16px 8px; scroll-padding: 0 16px; }
  .arrows { display: none; }
  .select { flex: 1; }
  .select select { width: 100%; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-body { padding: 12px; }
  .product h3 { font-size: 14px; }
  .product-pres { font-size: 11px; margin-bottom: 12px; }
}

@media (max-width: 360px) {
  .brand img { height: 34px; }
  a.btn-list { padding: 0 12px; font-size: 13px; }
  .menu-btn { width: 42px; height: 42px; }
  .hero h1 { font-size: 38px; }
  .grid { gap: 10px; }
  .product-body { padding: 12px; }
  .stepper input { width: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Encabezado del catálogo: pared de productos hondureños */
.page-hero.has-wall { background: radial-gradient(700px 360px at 100% 0%, rgba(255, 212, 59, .18), transparent 60%), var(--navy); position: relative; overflow: hidden; }
.page-hero.has-wall .container { position: relative; z-index: 2; }
.page-hero.has-wall::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(100deg, var(--navy) 0%, var(--navy) 38%, rgba(14, 35, 80, .55) 62%, rgba(14, 35, 80, .1) 100%);
}
.hero-wall {
  position: absolute; z-index: 0; top: -60px; right: -40px; width: 64%; height: calc(100% + 120px);
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; align-content: center; transform: rotate(-6deg);
}
.hero-wall span { aspect-ratio: 1; background: #fff; border-radius: 14px; display: grid; place-items: center; overflow: hidden; }
.hero-wall img { width: 100%; height: 100%; object-fit: contain; padding: 12%; }
@media (max-width: 900px) {
  .hero-wall { width: 90%; right: -30%; grid-template-columns: repeat(4, 1fr); opacity: .55; }
}
@media (max-width: 640px) {
  .page-hero.has-wall { background: var(--navy); }
  .page-hero.has-wall::after { background: linear-gradient(rgba(14, 35, 80, .82), rgba(14, 35, 80, .82)); }
  .hero-wall { width: 130%; right: -15%; gap: 8px; opacity: 1; }
}

/* Vaciar lista */
.drawer-tools { display: flex; align-items: center; padding: 12px 24px; border-bottom: 1px solid var(--line); background: var(--surface); min-height: 62px; }
.btn-clear {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 999px;
  border: 1px solid rgba(215, 31, 38, .35); background: var(--red-50); color: var(--red-600); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.btn-clear .ico { width: 17px; height: 17px; }
.btn-clear:hover { background: var(--red); border-color: var(--red); color: #fff; }
.clear-confirm { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; width: 100%; font-size: 14px; font-weight: 600; color: var(--ink); }
.clear-confirm span { flex: 1 1 auto; }
.clear-confirm button { height: 36px; padding: 0 14px; border-radius: 999px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.cc-yes { border: 0; background: var(--red); color: #fff; }
.cc-yes:hover { background: var(--red-600); }
.cc-no { border: 1px solid var(--line); background: #fff; color: var(--ink); }
.cc-no:hover { border-color: var(--ink); }
@media (max-width: 640px) { .drawer-tools { padding: 10px 16px; } }

/* Foto principal del inicio en formato horizontal (foto real de estantes 4:3) */
.hero-photo { aspect-ratio: 4 / 3; }
.hero-visual { padding-bottom: 72px; }
.hero-photo-sm { width: 36%; }
@media (max-width: 640px) { .hero-photo { aspect-ratio: 4 / 3; } .hero-visual { padding-bottom: 48px; } }

/* Fotos reales: fachada y estantes (horizontales), bodega por mayor (vertical) */
.story-photo { aspect-ratio: 4 / 3; }
.story-photo img { object-position: 40% 35%; }
.wholesale-photo { aspect-ratio: 335 / 597; max-width: 400px; width: 100%; justify-self: center; }
@media (max-width: 1024px) {
  .wholesale-photo { aspect-ratio: 4 / 5; max-width: 480px; }
  .wholesale-photo img { object-position: center 45%; }
}

/* Nombre y nota plegables en el panel de la lista */
.extra-fields summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 4px 0;
  font-size: 14px; font-weight: 700; color: var(--ink);
}
.extra-fields summary::-webkit-details-marker { display: none; }
.extra-fields summary em { font-style: normal; font-weight: 500; color: var(--muted); }
.extra-fields summary .ico { width: 18px; height: 18px; color: var(--red); transition: transform .25s; }
.extra-fields[open] summary .ico { transform: rotate(45deg); }
.extra-fields .field { margin-top: 12px; }

/* Fondo de Contacto: foto local (ruta relativa a esta hoja de estilos) */
.page-hero.hero-contacto { --hero-img: url('../assets/img/contacto-equipo.webp'); }

/* Enlaces de la barra superior: área táctil de toda la altura de la barra */
.topbar a.tb-item { align-self: stretch; }

/* Página de error 404 */
.not-found { max-width: 640px; text-align: center; }
.nf-code { display: block; font-family: var(--serif); font-size: clamp(96px, 18vw, 160px); line-height: 1; color: var(--red); letter-spacing: -.04em; }
.not-found h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 4vw, 44px); margin: 12px 0 14px; }
.not-found p { color: var(--muted); font-size: 18px; }
.not-found .hero-cta { justify-content: center; }

/* ==========================================================
   Ajustes según la ficha de la empresa:
   colores claros y cálidos, letra más grande, sin animaciones
   ========================================================== */
:root { --warm: #fff6df; --warm-line: #f3e3b8; }
body { font-size: 17px; }

/* Sin animaciones al aparecer ni carrusel en movimiento */
.reveal, .reveal.in { opacity: 1; transform: none; transition: none; }
.marquee { mask-image: none; -webkit-mask-image: none; }
.marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; gap: 14px; }

/* Barra superior en rojo de la marca */
.topbar { background: var(--red); color: #fff; font-size: 14px; }
.tb-item .ico { color: var(--yellow); }
.tb-wa, .tb-call { color: #fff; font-weight: 600; }
.tb-wa { margin-left: auto; }
.tb-wa b, .tb-call b { color: var(--yellow); }
.tb-wa:hover, .tb-call:hover { color: var(--yellow); }

/* Menú: seis secciones */
.nav { gap: 2px; }
.nav a { padding: 10px 12px; font-size: 15px; }
.btn-list { background: var(--red); }
.btn-list:hover { background: var(--red-600); }

/* Portada: título de la ficha y botón principal de WhatsApp */
.hero h1 { font-size: clamp(38px, 5.2vw, 66px); }
.h1-brand {
  display: block; margin-bottom: 12px; font-family: var(--sans); font-size: .4em; font-weight: 800;
  letter-spacing: .02em; color: var(--red);
}
.hero-lead { color: var(--text); }
.btn-lg { height: 58px; padding: 0 28px; font-size: 16px; }
.btn-wa { box-shadow: 0 10px 22px -10px rgba(22, 140, 72, .6); }

/* Bloque "Visítanos": dirección con mapa, horario y contacto */
.visit { padding: 0 0 72px; }
.visit-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 20px; align-items: stretch; }
.visit-card {
  display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.visit-head { display: flex; gap: 14px; align-items: flex-start; }
.v-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--red-50); color: var(--red); flex: none; }
.visit-head h2 { font-size: 19px; font-weight: 800; margin-bottom: 2px; }
.visit-head p { color: var(--text); font-size: 15px; }
.mini-map { position: relative; flex: 1; min-height: 170px; border-radius: 14px; overflow: hidden; background: var(--soft); border: 1px solid var(--line); }
.mini-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.visit-card .btn { height: 48px; }
.visit-actions { display: grid; gap: 10px; margin-top: auto; }
.pay-note { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--text); }
.pay-note .ico { width: 18px; height: 18px; color: var(--red); }
.hours li { font-size: 16px; }

/* Mayoreo en fondo claro y cálido */
.wholesale { background: var(--warm); color: var(--text); border-top: 1px solid var(--warm-line); border-bottom: 1px solid var(--warm-line); }
.wholesale::after { background: radial-gradient(circle, rgba(215, 31, 38, .12), transparent 70%); }
.wholesale h2 { color: var(--ink); }
.wholesale .serif-accent { color: var(--red); }
.wholesale-copy > p { color: var(--text); }
.check-list li { color: var(--ink); }
.check-list .ico { background: rgba(215, 31, 38, .1); color: var(--red); }

/* Encabezados de páginas internas: claros, con la foto a la derecha */
.page-hero.has-photo {
  color: var(--ink);
  background:
    linear-gradient(90deg, var(--warm) 0%, rgba(255, 246, 223, .96) 42%, rgba(255, 246, 223, .55) 72%, rgba(255, 246, 223, .1) 100%),
    var(--hero-img) center / cover, var(--warm);
  border: 1px solid var(--warm-line);
}
.page-hero.has-photo h1 { color: var(--ink); }
.page-hero.has-photo p { color: var(--text); }
.page-hero.has-photo .eyebrow { color: var(--red); }
.page-hero.hero-galeria { --hero-img: url('../assets/img/bodega-fachada.jpg'); }
.page-hero.has-wall { background: var(--warm); }
.page-hero.has-wall::after {
  background: linear-gradient(100deg, var(--warm) 0%, var(--warm) 38%, rgba(255, 246, 223, .55) 64%, rgba(255, 246, 223, .05) 100%);
}
.hero-wall span { box-shadow: 0 4px 14px -6px rgba(16, 20, 35, .18); }

/* Otras zonas que eran oscuras */
.help-card { background: var(--warm); border: 1px solid var(--warm-line); color: var(--text); }
.help-card h3 { color: var(--ink); }
.c-card.wa { background: #ecf9f1; border-color: #c4ead3; color: var(--text); }
.c-card.wa h3 { color: var(--ink); }
.c-strong { color: var(--ink); font-weight: 800; font-size: 18px; margin-top: 4px; }
.mv-card.dark { background: var(--warm); border-color: var(--warm-line); color: var(--text); }
.mv-card.dark h3 { color: var(--ink); }
.mv-card.dark .label { color: var(--red); }
.step .step-ico { background: var(--red); }
.step:nth-child(2) .step-ico { background: var(--yellow); color: var(--ink); }
.chip.on { background: var(--red); border-color: var(--red); }
.site-footer { background: var(--warm); color: var(--text); border-top: 1px solid var(--warm-line); }
.site-footer h4 { color: var(--ink); }
.site-footer li span { color: var(--ink); }
.site-footer a:hover { color: var(--red); }
.social a { border-color: var(--warm-line); }
.footer-bottom { border-top-color: var(--warm-line); }
.footer-bottom span:last-child { color: var(--red); }

/* Letra más grande en textos pequeños */
.eyebrow { font-size: 14px; }
.product-marca { font-size: 12.5px; }
.product h3 { font-size: 16px; }
.product-pres { font-size: 13px; color: var(--text); }
.chip, .select select { font-size: 14px; }
.cat-name { font-size: 15px; }
.feat-body small { font-size: 12px; }
.feat-body strong { font-size: 15px; }
.feat-body em { font-size: 13px; color: var(--text); }
.brands-label { font-size: 14px; }
.toolbar small, .li-top span { font-size: 14px; }

/* Nota de pago en Mi lista */
.drawer-note { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text); line-height: 1.45; }
.drawer-note .ico { width: 18px; height: 18px; color: var(--red); margin-top: 1px; }

/* Galería */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.g-item {
  display: flex; flex-direction: column; padding: 0; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); overflow: hidden; cursor: zoom-in; text-align: left; font: inherit; color: var(--ink);
  transition: box-shadow .2s, transform .2s;
}
.g-item:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.g-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--soft); }
.g-item span { padding: 14px 16px; font-weight: 700; font-size: 16px; }
.g-soon {
  display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center; padding: 28px; min-height: 220px;
  border: 2px dashed var(--warm-line); border-radius: var(--radius); background: var(--warm); color: var(--text);
}
.g-soon .ico { width: 30px; height: 30px; color: var(--red); }
.g-soon b { color: var(--ink); font-size: 17px; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100%; height: 100%; }
.lightbox::backdrop { background: rgba(20, 16, 10, .86); }
.lightbox[open] { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 16px; }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 12px; }
.lightbox img { max-width: 100%; max-height: 80vh; border-radius: 14px; object-fit: contain; }
.lightbox figcaption { color: #fff; font-weight: 600; text-align: center; }
.lb-close { position: fixed; top: 16px; right: 16px; z-index: 2; }

/* Nosotros: equipo */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.team-card { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.t-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--red-50); color: var(--red); margin-bottom: 14px; }
.team-card h3 { font-size: 18px; margin-bottom: 6px; }
.team-card p { color: var(--text); font-size: 15px; }

/* Preguntas frecuentes (página) */
.faq-aside {
  display: grid; gap: 12px; align-content: start; padding: 26px; border-radius: var(--radius);
  background: var(--warm); border: 1px solid var(--warm-line); position: sticky; top: calc(var(--header-h) + 20px);
}
.faq-aside h2 { font-family: var(--serif); font-weight: 500; font-size: 26px; }
.faq-aside p { color: var(--text); }
.faq details p, .faq-hours { color: var(--text); font-size: 17px; }
.faq-hours { padding: 0 0 22px; max-width: 380px; }

@media (max-width: 1100px) {
  /* Con seis secciones, el menú pasa a botón desde 1100 px */
  .menu-btn { display: grid; }
  .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; gap: 2px; padding: 12px 16px 20px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .2);
    opacity: 0; transform: translateY(-8px); pointer-events: none; transition: .25s;
  }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 14px 16px; font-size: 17px; }
  .nav a.active::after { left: 6px; top: 50%; bottom: auto; transform: translateY(-50%); }
  .header-actions { margin-left: auto; }
  .visit-grid { grid-template-columns: 1fr 1fr; }
  .visit-map { grid-column: 1 / -1; }
  .team { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .tb-call { display: none; }
  .list-bar { background: var(--red); box-shadow: 0 16px 34px -12px rgba(215, 31, 38, .55); }
  .cat-btn.active { background: var(--red); border-color: var(--red); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .faq-aside { position: static; }
  .lightbox[open] { grid-template-columns: 1fr; }
  .lb-nav { position: fixed; bottom: 20px; }
  .lb-prev { left: calc(50% - 56px); }
  .lb-next { right: calc(50% - 56px); }
}

@media (max-width: 640px) {
  .topbar { font-size: 13px; }
  .page-hero.has-photo { background: linear-gradient(rgba(255, 246, 223, .9), rgba(255, 246, 223, .9)), var(--hero-img) center / cover, var(--warm); }
  .page-hero.has-wall::after { background: linear-gradient(rgba(255, 246, 223, .86), rgba(255, 246, 223, .86)); }
  .visit { padding-bottom: 56px; }
  .visit-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr 1fr; gap: 12px; }
  .team-card { padding: 18px; }
  .product h3 { font-size: 15px; }
  .product-pres { font-size: 12px; }
  .hero-cta .btn-lg { width: 100%; }
}

/* Horario sin cortes raros y enlaces visibles dentro de la banda roja */
.hours li span:last-child { white-space: nowrap; }
.visit .hours li { flex-direction: column; gap: 0; padding: 6px 0; border-bottom: 1px solid var(--line); }
.visit .hours li:last-child { border-bottom: 0; }
.cta-box p a { color: #fff; text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }

/* Evita que tarjetas con contenido largo se salgan en celulares pequeños */
.visit-grid > *, .contact-grid > *, .c-card > div, .visit-head > div { min-width: 0; }
.c-card .btn { white-space: normal; text-align: center; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.contact-cards > * { min-width: 0; }
.hours li { flex-wrap: wrap; column-gap: 12px; }
.visit-card .btn { white-space: normal; height: auto; min-height: 48px; padding: 10px 16px; text-align: center; }

/* ==========================================================
   Estilo inspirado en ED SportLine, con la paleta de la bodega
   (rojo, amarillo, crema y blanco; verde solo para WhatsApp)
   ========================================================== */
:root {
  --sans: "Red Hat Display", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Red Hat Display", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gold: linear-gradient(135deg, #ffd43b 0%, #f2b705 100%);
  --red-deep: #b5171d;
}

/* Títulos grandes en mayúsculas, como ED */
.section-head h2, .cta-box h2, .page-hero h1, .faq-aside h2, .toolbar h2, .empty h4, .drawer-head h3, .not-found h1 {
  font-family: var(--sans); font-weight: 900; text-transform: uppercase; letter-spacing: -.01em;
}
.section-head h2 { font-size: clamp(30px, 4vw, 50px); line-height: 1.05; }
.serif-accent { font-family: inherit; font-style: normal; font-weight: inherit; color: var(--red); }
.eyebrow { font-weight: 800; letter-spacing: .16em; }

/* Botones de píldora en mayúsculas */
.btn { font-family: var(--sans); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: 14px; }
.btn-lg { font-size: 15px; }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 10px 22px -10px rgba(242, 183, 5, .8); }
.btn-gold:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn-dark-pill { background: var(--red); color: #fff; }
.btn-dark-pill:hover { background: var(--red-deep); }

/* Menú con el logo al centro (computadora) */
.nav a { text-transform: uppercase; font-weight: 800; font-size: 14px; letter-spacing: .05em; }
.nav-logo { display: none; }
@media (min-width: 1101px) {
  .header-in { position: relative; justify-content: center; }
  .brand { display: none; }
  .nav { margin: 0; align-items: center; gap: 2px; }
  .nav-logo { display: block; margin: 0 20px; padding: 0 !important; }
  .nav-logo img { height: 52px; width: auto; }
  .nav-logo::after { display: none !important; }
  .header-actions { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); }
}

/* Portada a pantalla completa con eco */
.hero-ed {
  position: relative; overflow: hidden; display: flex; align-items: center;
  min-height: clamp(560px, calc(100vh - 114px), 760px); padding: 72px 0; color: #fff; isolation: isolate;
}
.hero-ed-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; z-index: -2; }
.hero-ed::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(181, 23, 29, .96) 0%, rgba(215, 31, 38, .9) 36%, rgba(215, 31, 38, .45) 60%, rgba(215, 31, 38, 0) 82%);
}
.hero-ed-in { position: relative; }
.hero-ed h1 { margin: 0; max-width: 680px; color: #fff; font-family: var(--sans); }
.he-kicker { display: block; font-size: 16px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); margin-bottom: 14px; }
.he-title, .he-echo > span {
  display: block; font-size: clamp(44px, 6.6vw, 92px); font-weight: 900; line-height: .95; letter-spacing: -.02em; text-transform: uppercase;
}
.he-echo { display: block; }
.he-echo > span { color: transparent; -webkit-text-stroke: 1.5px rgba(255, 212, 59, .55); }
.he-echo > span + span { -webkit-text-stroke-color: rgba(255, 212, 59, .25); }
.he-sub { display: block; margin-top: 14px; font-size: clamp(22px, 2.6vw, 34px); font-weight: 800; text-transform: uppercase; color: var(--yellow); letter-spacing: .01em; }
.he-lead { max-width: 560px; margin-top: 22px; font-size: 19px; color: rgba(255, 255, 255, .95); }
.hero-ed .hero-cta { margin-top: 32px; }
ul.he-points { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 30px; }
.he-points li { display: flex; align-items: center; gap: 8px; font-weight: 700; color: #fff; }
.he-points .ico { width: 18px; height: 18px; color: var(--yellow); stroke-width: 2.4; }
.visit { padding-top: 56px; }

/* Secciones divididas: foto | bloque de color */
.split-band { display: grid; grid-template-columns: 2fr 3fr; min-height: 520px; }
.split-band.reverse { grid-template-columns: 3fr 2fr; }
.split-band.reverse .sb-media { order: 2; }
.sb-media { margin: 0; position: relative; overflow: hidden; background: var(--soft); }
.sb-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sb-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 18px; padding: clamp(40px, 6vw, 96px); }
.sb-copy h2 { font-family: var(--sans); font-weight: 900; text-transform: uppercase; font-size: clamp(40px, 5.6vw, 82px); line-height: .95; letter-spacing: -.02em; margin: 0; }
.sb-copy p { font-size: 18px; max-width: 520px; }
.sb-kicker { font-size: 15px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.sb-red { background: linear-gradient(135deg, var(--red-deep), var(--red)); color: #fff; }
.sb-red h2 { color: #fff; }
.sb-red .sb-kicker { color: var(--yellow); }
.sb-yellow { background: var(--gold); color: var(--ink); }
.sb-yellow h2 { color: var(--ink); }
.sb-yellow .sb-kicker { color: var(--red-deep); }
.sb-yellow p { color: var(--ink); }
ul.sb-list { display: grid; gap: 10px; }
.sb-list li { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; }
.sb-list .ico { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: rgba(255, 255, 255, .6); color: var(--red-deep); }
.sb-yellow .btn-ghost { border-color: rgba(22, 24, 29, .35); }
.sb-yellow .btn-ghost:hover { border-color: var(--ink); background: rgba(255, 255, 255, .3); }
.sb-copy .hero-cta { margin-top: 6px; }

/* Franja de producto destacado (gris claro, como ED) */
.spot-band { background: #f6f6f6; border-bottom: 1px solid var(--line); }
.spot-in { display: flex; align-items: center; justify-content: center; gap: 28px; padding-top: 40px; padding-bottom: 40px; text-align: left; }
.spot-in img { width: 116px; height: 116px; object-fit: contain; background: #fff; border-radius: 20px; padding: 12px; box-shadow: var(--shadow-sm); }
.spot-kicker { font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.spot-in h3 { font-size: clamp(26px, 3vw, 36px); font-weight: 900; text-transform: uppercase; margin: 4px 0; }
.spot-in p { color: var(--text); }

/* Encabezados de páginas internas: foto con velo rojo */
.page-hero.has-photo {
  color: #fff; border: 0;
  background:
    linear-gradient(90deg, rgba(181, 23, 29, .96) 0%, rgba(215, 31, 38, .88) 42%, rgba(215, 31, 38, .35) 74%, rgba(215, 31, 38, .05) 100%),
    var(--hero-img) center / cover, var(--red);
}
.page-hero.has-photo h1 { color: #fff; font-size: clamp(38px, 5.4vw, 72px); line-height: 1; }
.page-hero.has-photo p { color: rgba(255, 255, 255, .92); }
.page-hero.has-photo .eyebrow { color: var(--yellow); }
.page-hero.hero-nosotros { --hero-img: url('../assets/img/bodega-fachada-nueva.webp'); }
.page-hero.hero-preguntas { --hero-img: url('../assets/img/bodega-fachada.jpg'); }
.page-hero.has-wall { background: var(--red); }
.page-hero.has-wall::after {
  background: linear-gradient(100deg, var(--red-deep) 0%, var(--red) 38%, rgba(215, 31, 38, .55) 64%, rgba(215, 31, 38, .05) 100%);
}

/* Barra flotante lateral (WhatsApp, llamar, mapa) y botón para volver arriba */
.side-bar {
  position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 72;
  display: flex; flex-direction: column; gap: 6px; padding: 10px 8px;
  background: var(--gold); border-radius: 18px 0 0 18px; box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .3);
}
.side-bar a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); background: rgba(255, 255, 255, .55); transition: background .2s, transform .2s; }
.side-bar a:hover { background: #fff; transform: scale(1.06); }
.side-bar .sb-wa { background: var(--wa); color: #fff; }
.side-bar .sb-wa:hover { background: var(--wa-600); }
.side-bar .ico { width: 20px; height: 20px; }
body.drawer-open .side-bar { opacity: 0; pointer-events: none; }
.to-top {
  position: fixed; right: 18px; bottom: 22px; z-index: 71; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; border: 2px solid #f2b705; background: #fff; color: var(--red); cursor: pointer;
  box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .25s, transform .25s;
}
.to-top .ico { transform: rotate(-90deg); width: 20px; height: 20px; }
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
body.drawer-open .to-top { opacity: 0; pointer-events: none; }

/* Pie de página: títulos en rojo y franja final roja */
.site-footer h4 { color: var(--red); font-weight: 900; }
.footer-bottom { max-width: none; margin: 0; padding: 18px 24px; background: var(--red); color: #fff; border-top: 0; }
.footer-bottom span:last-child { color: var(--yellow); font-style: normal; font-weight: 800; }

@media (max-width: 1024px) {
  .split-band, .split-band.reverse { grid-template-columns: 1fr; }
  .split-band.reverse .sb-media { order: 0; }
  .sb-media { aspect-ratio: 16 / 10; }
  .split-band:not(.reverse) .sb-media { aspect-ratio: 4 / 3; }
}

@media (max-width: 900px) {
  body.has-list .to-top { bottom: 90px; }
}

@media (max-width: 640px) {
  .hero-ed { min-height: 0; padding: 56px 0 64px; }
  .hero-ed::before { background: linear-gradient(rgba(181, 23, 29, .9), rgba(215, 31, 38, .82)); }
  .hero-ed-bg { object-position: 60% 30%; }
  .he-echo > span + span { display: none; }
  .he-lead { font-size: 17px; }
  .spot-in { flex-direction: column; text-align: center; gap: 16px; }
  .page-hero.has-photo { background: linear-gradient(rgba(181, 23, 29, .9), rgba(215, 31, 38, .84)), var(--hero-img) center / cover, var(--red); }
  .page-hero.has-wall::after { background: linear-gradient(rgba(181, 23, 29, .88), rgba(215, 31, 38, .84)); }
  .side-bar { padding: 8px 6px; gap: 5px; }
  .side-bar a { width: 36px; height: 36px; }
  .side-bar .ico { width: 17px; height: 17px; }
  .sb-copy { padding: 40px 20px; }
  .to-top { right: 14px; width: 42px; height: 42px; }
}

/* Portada: título y eco en una sola línea cada uno */
.hero-ed h1 { max-width: none; }
.he-title, .he-echo > span { font-size: clamp(34px, 5vw, 70px); white-space: nowrap; }
.he-echo > span { line-height: .92; }
.hero-ed { padding: 56px 0; }
@media (max-width: 640px) { .he-title, .he-echo > span { font-size: clamp(30px, 9.6vw, 44px); white-space: normal; } }
.story-aside h2, .mv-card h3 { font-family: var(--sans); font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; }

/* Celulares pequeños: botones en mayúsculas pueden partirse en dos líneas */
.split-band > *, .faq-grid > * { min-width: 0; }
@media (max-width: 400px) {
  .btn { white-space: normal; height: auto; min-height: 48px; padding: 10px 18px; text-align: center; line-height: 1.2; }
  .sb-copy h2 { font-size: 38px; }
}

/* Celular: la barra lateral baja a la esquina inferior para no tapar textos */
@media (max-width: 900px) {
  .side-bar { top: auto; bottom: 16px; transform: none; }
  .to-top { right: 64px; bottom: 16px; }
  body.has-list .side-bar { bottom: 86px; }
  body.has-list .to-top { bottom: 86px; }
}
@media (max-width: 640px) {
  .side-bar a:not(.sb-wa) { display: none; }
  .side-bar { padding: 6px; border-radius: 999px; right: 14px; }
  .side-bar a { width: 46px; height: 46px; }
  .to-top { right: 82px; }
}
@media (max-width: 640px) { #brand-track .brand-tile { width: calc((100vw - 32px - 28px) / 3); height: 64px; border-radius: 12px; } #brand-track .brand-tile img { padding: 8px; } }

/* Separación entre la sección amarilla y la banda roja final */
.split-band + .cta-band { padding-top: 88px; }
@media (max-width: 640px) { .split-band + .cta-band { padding-top: 56px; } }
