:root {
  --green: #1B7A3D;
  --green-dark: #145C2E;
  --bronze: #926414;
  --ink: #222222;
  --gray: #666666;
  --bg: #FAFAF7;
  --card: #FFFFFF;
  --line: #E8E8E8;
}
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: calc(var(--topbar-h, 150px) + 10px); }
* { box-sizing: border-box; }
/* The drawer uses display:flex, which would otherwise override the UA
   [hidden]{display:none} rule and leave it stuck on screen. */
[hidden] { display: none !important; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-tap-highlight-color: transparent;
  overflow-x: clip;
  /* Room for the FIXED top bar; --topbar-h is measured by app.js at runtime
     (150px fallback covers logo row + tab strip before JS runs). */
  padding-top: var(--topbar-h, 150px);
}

/* Top bar — FIXED (v111): position:sticky failed inside Eli's installed-app
   shell on Android Chrome (the header scrolled away despite sticky + fresh
   cache), so the bar is pinned with fixed positioning and body padding
   reserves its space. */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  background: var(--card);
  border-bottom: 1px solid var(--line);
}
.topbar-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
}
.brand-logo { width: 84px; height: 84px; object-fit: contain; }
.brand-text { flex: 0 1 auto; line-height: 1.2; }
/* Holiday message in the header's middle space (v123, Eli): desktop only —
   phones keep the approved two-line header untouched. */
.holiday-msg { flex: 1; text-align: center; text-decoration: none; padding: 0 12px; line-height: 1.25; }
.holiday-msg strong { display: block; color: #A52028; font-size: 17px; letter-spacing: .3px; }
.holiday-msg span { display: block; color: var(--green); font-size: 12.5px; margin-top: 2px; }
.brand-text strong { color: var(--green); letter-spacing: 1px; font-size: 28px; }
.brand-text span { display: block; font-size: 14px; color: var(--gray); }
.cart-btn {
  position: relative;
  font-size: 24px; background: none; border: 1px solid var(--line);
  border-radius: 10px; padding: 8px 12px; cursor: pointer;
}
.cart-wrap { display: flex; align-items: center; gap: 8px; }
.share-btn {
  background: none; border: 1px solid var(--line);
  border-radius: 10px; padding: 6px 10px; cursor: pointer;
}
.share-btn img { height: 34px; width: auto; display: block; }
.cart-total { font-size: 11px; font-weight: 700; color: var(--green); white-space: nowrap; }
.cart-count {
  position: absolute; top: -8px; right: -8px;
  background: var(--green); color: #fff; font-size: 11px; font-weight: 700;
  min-width: 20px; height: 20px; line-height: 20px; border-radius: 10px;
  text-align: center; padding: 0 4px;
}

/* Hero */
.hero {
  text-align: center; padding: 28px 18px 22px;
  background: linear-gradient(180deg, #EAF5EC 0%, var(--bg) 100%);
}
.hero h1 { color: var(--green); margin: 0 0 8px; font-size: 24px; }
.hero p { color: var(--gray); margin: 0 0 12px; font-size: 14px; line-height: 1.5; }
.hero-100 {
  font-family: "Playfair Display", Georgia, serif; font-weight: 700;
  font-size: 26px; color: var(--bronze); letter-spacing: 1px; margin: 0 0 14px;
}
.pwa-note { font-size: 12.5px; color: var(--gray); margin-top: 14px; }
.install-btn { display: inline-block; background: var(--green); color: #fff; border: none; border-radius: 12px; padding: 13px 26px; font-size: 16px; font-weight: 700; margin-top: 14px; cursor: pointer; box-shadow: 0 2px 8px rgba(27,122,61,.25); }
.install-btn:active { background: var(--green-dark); }
.saved-note { font-size: 12.5px; color: var(--green-dark); background: #EAF5EC;
  border-radius: 8px; padding: 8px 12px; margin: 4px 0 10px; }
.saved-note .link-btn { font-size: 12.5px; }
.hero-badges span {
  display: inline-block; margin: 2px 6px; font-size: 14px; color: var(--green-dark);
  background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 5px 14px;
}

/* Filters */
.filters {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-start;
  padding: 12px; position: sticky; top: 138px; z-index: 15; background: var(--bg);
  max-width: 1100px; margin: 0 auto;
}
.chip {
  border: 1.5px solid var(--green); background: #fff; color: var(--green);
  border-radius: 20px; padding: 8px 18px; font-size: 14px; font-weight: 600; cursor: pointer;
}
.chip.active { background: var(--green); color: #fff; }

/* Grand Opening banner (v62 — hidden until public launch) */
.grand-opening {
  background: linear-gradient(90deg, #926414, #b8860b, #926414);
  color: #fff; text-align: center; font-size: 16px; font-weight: 600;
  padding: 12px 16px; line-height: 1.4;
}
.preview-banner {
  background: #2e7d52; color: #fff; text-align: center;
  font-size: 15px; font-weight: 500;
  padding: 12px 16px; line-height: 1.45;
}
.vive20-banner { display: block; }
.vive20-banner img { width: 100%; height: auto; display: block; }
.preview-notice {
  background: #f4ecd8; border: 1.5px solid #926414; border-radius: 10px;
  padding: 12px 14px; margin: 10px 0; font-size: 14px; line-height: 1.45;
}
.preview-notice p { margin: 0 0 10px; }
.preview-notice .wa-contact { display: block; text-align: center; text-decoration: none; }
.header-search {
  display: flex; align-items: center; gap: 4px;
  flex: 1 1 140px; max-width: 280px; min-width: 0;
}
.header-search input[type="text"] {
  flex: 1; min-width: 0; padding: 10px 14px; font-size: 15px;
  border: 1.5px solid var(--green); border-radius: 20px; outline: none;
  background: #fff;
}
.header-search input[type="text"]:focus { box-shadow: 0 0 0 2px rgba(0, 128, 0, 0.15); }
.search-clear {
  border: 1.5px solid var(--green); background: #fff; color: var(--green);
  border-radius: 50%; width: 32px; height: 32px; font-size: 13px; cursor: pointer; flex-shrink: 0;
}
.no-results {
  grid-column: 1 / -1; text-align: center; color: var(--muted, #666);
  font-size: 15px; padding: 24px 12px;
}

/* Grid */
.grid {
  display: grid; gap: 12px; padding: 6px 12px 24px;
  grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
  max-width: 1100px; margin: 0 auto;
}
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; display: flex; flex-direction: column;
}
.card-img { position: relative; aspect-ratio: 1; background: #f2f2f2; }
.card-img img { width: 100%; height: 100%; object-fit: contain; }
.status {
  position: absolute; top: 8px; left: 8px;
  font-size: 11px; font-weight: 700; border-radius: 12px; padding: 3px 10px;
}
.status.ok { background: var(--green); color: #fff; }
.status.out { background: #999; color: #fff; }
.status.soon { background: var(--bronze); color: #fff; }
.soon-intro {
  text-align: center; color: var(--gray); font-size: 14.5px; line-height: 1.55;
  max-width: 640px; margin: 0 auto 6px; padding: 0 16px;
}
.test-flag {
  font-size: 10.5px; color: var(--bronze); font-weight: 700;
  background: #FBF3E2; border-radius: 6px; padding: 3px 8px; margin: 8px 10px 0;
  text-align: center;
}
.card-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.card-body h3 { margin: 0; font-size: 14px; line-height: 1.3; }
.en-name { font-size: 11px; color: var(--gray); margin: 1px 0 0; line-height: 1.3; }
.card-content { font-size: 12px; color: var(--gray); margin: 0; }
.soon-date { font-size: 12.5px; font-weight: 700; color: #926414; margin: 0; }
.card-benefit { font-size: 12px; color: var(--gray); margin: 0; line-height: 1.4; }
.prices { margin-top: auto; padding-top: 6px; }
.price-retail { font-size: 19px; font-weight: 800; color: var(--green); }
.price-line { font-size: 12px; color: var(--gray); }
.price-line b { color: var(--ink); }
.per-unit { font-size: 11.5px; color: var(--gray); }
.dual-note { font-size: 11.5px; color: var(--bronze); font-weight: 600; }
.qty-row { display: flex; gap: 8px; margin-top: 8px; }
.promo-only-note {
  font-size: 12px; color: var(--bronze); font-weight: 700;
  background: #FBF3E2; border-radius: 6px; padding: 8px 10px;
  text-align: center; width: 100%;
}
.price-retail.promo { font-size: 15px; color: var(--bronze); }
.qty-row input {
  width: 52px; text-align: center; font-size: 15px;
  border: 1px solid var(--line); border-radius: 8px; padding: 8px 4px;
}
.add-btn {
  flex: 1; background: var(--green); color: #fff; border: none; border-radius: 8px;
  font-size: 14px; font-weight: 700; padding: 10px; cursor: pointer;
}
.add-btn:active { background: var(--green-dark); }
.add-btn:disabled { background: #bbb; cursor: default; }

/* Back-in-stock notify (2026-10-01): replaces the disabled Agregar on Agotado cards */
.notify-row { margin-top: 8px; flex: 1; }
.notify-btn {
  width: 100%; background: #fff; color: var(--green); border: 2px solid var(--green);
  border-radius: 8px; font-size: 14px; font-weight: 700; padding: 9px; cursor: pointer;
}
.notify-btn:active { background: #eef7ee; }
.notify-btn:disabled { border-color: #bbb; color: #888; cursor: default; }
.notify-form { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.notify-form[hidden] { display: none; }
.notify-form input {
  border: 1px solid #ccc; border-radius: 8px; padding: 9px 10px;
  font-size: 14px; width: 100%; box-sizing: border-box;
}
.notify-send {
  background: var(--green); color: #fff; border: none; border-radius: 8px;
  font-size: 14px; font-weight: 700; padding: 10px; cursor: pointer;
}
.notify-send:active { background: var(--green-dark); }
.load-error { text-align: center; color: var(--gray); padding: 24px; }

/* Info */
.info {
  max-width: 700px; margin: 0 auto; padding: 10px 20px 30px;
}
.info h2 { color: var(--green); }
.info h2, .about h2, .auth h2, .products-head h2, .contact h2 { font-size: 28px; }
#como-comprar h2 { font-size: 32px; }
.info ol { padding-left: 20px; line-height: 1.7; }
.info a { color: var(--green); font-weight: 700; }
.info-line { color: var(--gray); font-size: 14px; line-height: 1.6; }

/* FAQ (2026-10-23, Eli): acordeón nativo, corto y escaneable */
.faq details {
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; margin: 10px 0;
}
.faq summary {
  font-weight: 700; color: var(--green-dark); font-size: 15.5px; cursor: pointer;
}
.faq details p { margin: 8px 0 2px; font-size: 14.5px; line-height: 1.55; color: var(--ink); }
.pay-line { font-size: 16px; font-weight: 600; color: var(--green-dark); line-height: 1.6; }
.pay-line .bhd-logo { height: 72px; width: auto; vertical-align: middle; margin-right: 8px; border-radius: 6px; }

.promos .promo-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 18px; margin: 14px 0;
}
.promos .promo-card h3 { margin: 0 0 8px; color: var(--green); font-size: 18px; }
.promos .promo-card p, .promos .promo-card li { font-size: 14px; line-height: 1.65; color: var(--ink); }
.promos .promo-card ul { padding-left: 20px; margin: 8px 0; }

/* Nuestras marcas */
.marcas .marca { margin: 20px 0 28px; }
.marcas .marca + .marca { border-top: 1px solid var(--line); padding-top: 24px; }
.marcas .brand-logo { display: block; height: 46px; width: auto; margin: 0 auto 8px; }
.marcas h3 { color: var(--green); font-size: 20px; text-align: center; margin: 0 0 8px; }
.marcas p, .marcas li { font-size: 14.5px; line-height: 1.65; color: var(--ink); }
.marcas ul { padding-left: 20px; margin: 8px 0; }

footer {
  text-align: center; color: var(--gray); font-size: 13px;
  padding: 18px; border-top: 1px solid var(--line); background: var(--card);
}
footer .copyright { margin-top: 6px; }

/* Cart drawer */
.overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 30;
}
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 31;
  width: min(400px, 94vw); background: #fff;
  display: flex; flex-direction: column;
  box-shadow: -4px 0 24px rgba(0,0,0,.15);
}
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-bottom: 1px solid var(--line);
}
.drawer-head h2 { margin: 0; font-size: 18px; color: var(--green); }
.icon-btn { background: none; border: none; font-size: 20px; cursor: pointer; padding: 10px 12px; margin: -6px -8px -6px 0; }
.cart-items { flex: 1; overflow-y: auto; padding: 10px 16px; }
.cart-empty { color: var(--gray); text-align: center; padding: 30px 0; }
.cart-line {
  display: flex; gap: 10px; align-items: center;
  padding: 10px 0; border-bottom: 1px solid var(--line);
}
.cart-line img { width: 52px; height: 52px; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; }
.cart-line .cl-info { flex: 1; }
.cart-line .cl-name { font-size: 13px; font-weight: 600; line-height: 1.3; }
.cart-line .cl-price { font-size: 12px; color: var(--gray); }
.cart-line .cl-total { font-size: 13px; font-weight: 700; margin-top: 2px; }
.cl-qty { display: flex; align-items: center; gap: 6px; }
.cl-qty button {
  width: 28px; height: 28px; border-radius: 6px; border: 1px solid var(--line);
  background: #fff; font-size: 16px; cursor: pointer;
}
.cl-qty span { min-width: 22px; text-align: center; font-weight: 700; }
.cl-remove { background: none; border: none; color: #B3402A; font-size: 16px; cursor: pointer; }
.drawer-foot { padding: 14px 16px 18px; border-top: 1px solid var(--line); overflow-y: auto; min-height: 0; }
.order-summary { margin-bottom: 10px; font-size: 13px; }
.order-summary .os-line { display: flex; justify-content: space-between; padding: 3px 0; border-bottom: 1px dotted var(--line); }
.order-summary .os-line span:first-child { flex: 1; padding-right: 8px; }
.order-summary .os-qty { display: inline-flex; gap: 4px; margin: 0 8px; }
.order-summary .os-qty button { width: 22px; height: 22px; border: 1px solid var(--line); border-radius: 6px; background: #fff; font-size: 14px; line-height: 1; cursor: pointer; }
.promo-note { background: #f0f7e6; border: 1px solid #c5e1a5; border-radius: 8px; padding: 8px 12px; font-size: 13px; margin-bottom: 10px; color: #33691e; }
.min-order-note { font-size: 12px; color: #888; margin-bottom: 10px; }
.checkout-btns { display: flex; gap: 10px; margin-top: 12px; }
.checkout-btns .wa-btn { flex: 1; }
.email-btn { flex: 1; background: #fff; color: #926414; border: 2px solid #926414; border-radius: 10px; padding: 12px; font-size: 15px; font-weight: 700; cursor: pointer; }
.email-btn:hover { background: #faf6ed; }
.email-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.total-row { display: flex; justify-content: space-between; font-size: 17px; margin-bottom: 4px; }
.usd-ref { text-align: right; font-size: 13px; color: #6b7280; margin-bottom: 8px; min-height: 0; }
.wholesale-note { font-size: 11.5px; color: var(--gray); margin: 0 0 10px; }
.field { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.field-note { font-size: 12px; color: var(--gray); font-weight: 400; margin: 4px 0 0; line-height: 1.4; }
.field input {
  display: block; width: 100%; margin-top: 4px; padding: 10px;
  border: 1px solid var(--line); border-radius: 8px; font-size: 14px;
}
.field select {
  display: block; width: 100%; margin-top: 4px; padding: 10px;
  border: 1px solid var(--line); border-radius: 8px; font-size: 14px;
  background: #fff;
}
.field textarea {
  display: block; width: 100%; margin-top: 4px; padding: 10px;
  border: 1px solid var(--line); border-radius: 8px; font-size: 14px;
  font-family: inherit; resize: vertical;
}
.delivery { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.delivery label {
  flex: 1; display: flex; align-items: center; gap: 6px;
  font-weight: 400; font-size: 14px; border: 1px solid var(--line);
  border-radius: 8px; padding: 10px; cursor: pointer;
}
.delivery input { accent-color: #1F7A4D; }
.wa-btn {
  width: 100%; background: #25D366; color: #fff; border: none; border-radius: 10px;
  font-size: 16px; font-weight: 800; padding: 14px; cursor: pointer; margin-top: 6px;
}
.wa-btn:disabled { background: #bbb; }
.link-btn {
  display: block; margin: 10px auto 0; background: none; border: none;
  color: var(--gray); font-size: 13px; text-decoration: underline; cursor: pointer;
}

/* Section nav — classic tab strip inside the fixed header */
.topbar .sitenav {
  display: flex; gap: 0; overflow-x: auto;
  border-top: 1px solid var(--line);
  padding: 0 8px; background: var(--card);
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.topbar .sitenav::-webkit-scrollbar { display: none; }
.topbar .sitenav a {
  white-space: nowrap; color: var(--green); font-weight: 600; font-size: 13px;
  text-decoration: none; padding: 10px 13px 8px;
  border-bottom: 3px solid transparent;
}
.topbar .sitenav a:hover { border-bottom-color: #bcd8c2; background: #f4faf5; }
.topbar .sitenav a:active { background: #e9f4eb; }

/* About */
.about { max-width: 700px; margin: 0 auto; padding: 26px 20px 10px; }
.about h2 { color: var(--green); }
.about > p { line-height: 1.7; font-size: 15px; }
.mv { display: grid; gap: 12px; margin-top: 12px; }
.mv div {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; padding: 14px 16px;
}
.mv h3 { margin: 0 0 6px; color: var(--green-dark); font-size: 15px; }
.mv p { margin: 0; font-size: 14px; color: var(--gray); line-height: 1.6; }

/* Authenticity */
.auth { max-width: 700px; margin: 0 auto; padding: 10px 20px 10px; }
.auth h2 { color: var(--green); }
.auth > p { line-height: 1.7; font-size: 15px; }
.auth-list { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 10px; }
.auth-list li {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 14px;
  font-size: 14px; color: var(--gray); line-height: 1.6;
}
.auth-list li strong { color: var(--green-dark); }
.guarantee {
  background: #F7F3E8; border: 1px solid var(--bronze);
  border-radius: 12px; padding: 14px 16px;
  font-size: 14px; line-height: 1.6; color: var(--ink);
}

/* Products */
.products-head { max-width: 1100px; margin: 0 auto; padding: 20px 12px 0; }
.products-head h2 { color: var(--green); margin: 0; }

/* Divider between the trust content and the store */
.divider {
  max-width: 1100px; margin: 26px auto 0; padding: 0 12px;
  display: flex; align-items: center; gap: 10px;
  color: var(--bronze); opacity: .55;
}
.divider::before, .divider::after {
  content: ""; height: 1px; flex: 1; background: var(--bronze);
}
.divider span { font-size: 12px; }

/* Contact */
.contact { max-width: 700px; margin: 0 auto; padding: 10px 20px 30px; }
.contact h2 { color: var(--green); }
.contact a { color: var(--green); font-weight: 700; }
.contact-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 2px 10px rgba(20, 92, 46, 0.06);
}
.c-row { display: flex; gap: 14px; padding: 16px; }
.c-row + .c-row { border-top: 1px solid var(--line); }
.c-ico {
  flex: none; width: 46px; height: 46px; border-radius: 13px;
  background: #F7F3E8; display: flex; align-items: center;
  justify-content: center; font-size: 22px;
}
.c-body strong { display: block; color: var(--green-dark); font-size: 15px; margin-bottom: 2px; }
.c-body p { margin: 0; font-size: 14px; color: var(--gray); line-height: 1.6; }
.c-link { display: inline-block; margin-top: 6px; font-size: 14px; }

@media (min-width: 700px) {
  .grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .hero h1 { font-size: 30px; }
}

/* ---- Photo lightbox: click-to-zoom (Amazon-style label inspection) ---- */
.card-img img { cursor: zoom-in; }
.zoom-hint {
  position: absolute; right: 8px; bottom: 8px;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(0,0,0,.55); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; opacity: 0; transition: opacity .2s; pointer-events: none;
}
.card:hover .zoom-hint { opacity: 1; }
@media (hover: none) { .zoom-hint { opacity: .9; } }
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(8,8,8,.93);
  display: none; align-items: center; justify-content: center; flex-direction: column;
}
.lightbox.open { display: flex; }
.lb-stage {
  position: relative; overflow: hidden;
  max-width: 94vw; max-height: 80vh;
  touch-action: none; background: #fff; border-radius: 8px;
}
.lb-stage img {
  display: block; max-width: 94vw; max-height: 80vh;
  cursor: grab; user-select: none; -webkit-user-select: none; -webkit-user-drag: none;
  transform-origin: center center;
}
.lb-stage img.dragging { cursor: grabbing; }
.lb-close {
  position: absolute; top: 12px; right: 14px; z-index: 2;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.35);
  font-size: 20px; cursor: pointer;
}
.lb-cap { color: #fff; margin-top: 12px; font-size: 15px; text-align: center; padding: 0 18px; }
.lb-tools { display: flex; gap: 10px; margin-top: 12px; }
.lb-tools button {
  width: 46px; height: 46px; border-radius: 50%; font-size: 22px;
  background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.35);
  cursor: pointer;
}
.lb-hint { color: #bbb; font-size: 12.5px; margin-top: 8px; text-align: center; padding: 0 18px; }

/* Jolly gallery — 4 botellas individuales más grandes (2026-10-02) */
.card-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 8px 0; }
.card-gallery figure { margin: 0; text-align: center; }
.card-gallery img { width: 100%; height: auto; border-radius: 8px; cursor: zoom-in; }
.card-gallery figcaption { font-size: 12px; color: #666; margin-top: 4px; }

/* Mapa de delivery (2026-10-02, placeholder) */
.delivery-map { margin: 16px 0; text-align: center; }
.delivery-map img { max-width: 100%; height: auto; border-radius: 12px; }
.delivery-map figcaption { font-size: 13px; color: #666; margin-top: 8px; }

/* copy friction (2026-10-06, Eli): discourage long-press image save on mobile */
img {
  -webkit-touch-callout: none;
  user-select: none;
  -webkit-user-select: none;
}

.catalog-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.catalog-btns .btn-catalog {
  flex: 1; min-width: 220px; text-align: center; background: #1F7A4D; color: #fff;
  border-radius: 10px; font-size: 16px; font-weight: 800; padding: 14px 18px;
  text-decoration: none;
}
.catalog-btns .btn-catalog:visited { color: #fff; }

/* Promo picker (gift / free shipping) in cart drawer */
#promoPicker { margin-bottom: 10px; }
#promoPicker:empty { display: none; }
.gift-picker { background: #fdf6e3; border: 1px solid #e8c547; border-radius: 8px; padding: 10px 12px; font-size: 13px; }
.gift-picker p { margin: 0 0 8px; }
.gift-picker label { display: block; padding: 6px 0; cursor: pointer; }
.gift-picker input[type="radio"] { margin-right: 8px; }
.freeship-note { background: #e8f5e9; border: 1px solid #a5d6a7; border-radius: 8px; padding: 8px 12px; font-size: 13px; color: #2e7d32; }

.compare-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }

/* Registro VIVE20 (v97) */
.registro-form { max-width: 480px; margin: 12px auto; text-align: left; }
.registro-form label { display: block; margin-bottom: 10px; font-size: 14px; }
.registro-form input { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 8px; font-size: 16px; margin-top: 4px; box-sizing: border-box; }
.registro-btn { width: 100%; background: #926414; color: #fff; border: none; padding: 13px; border-radius: 8px; font-size: 16px; font-weight: bold; cursor: pointer; }
.registro-app { max-width: 480px; margin: 14px auto 0; text-align: left; font-size: 14px; border: 1px dashed #926414; border-radius: 8px; padding: 10px 12px; }
.registro-estado { margin-top: 12px; background: #e8f5e9; border: 1px solid #a5d6a7; border-radius: 8px; padding: 10px 12px; font-size: 14px; color: #2e7d32; }

/* Header layout on phones/tablets (v112): the top ROW never scrolled sideways
   (only the tab strip does), so on narrow screens the search + share + cart
   overflowed off the right edge and were unreachable. Fix: logo + name on the
   first line; search / share / cart / total move to their own full-width
   second line where everything fits. fitTopbar() measures the new height. */
@media (max-width: 900px) {
  .holiday-msg { display: none; }
  .topbar-row { flex-wrap: wrap; gap: 8px 10px; padding: 8px 12px; }
  .brand-logo { width: 64px; height: 64px; }
  .brand-text { flex: 1 1 auto; min-width: 0; }
  .brand-text strong { font-size: 24px; }
  .brand-text span { font-size: 12px; }
  .cart-wrap { order: 3; flex: 1 1 100%; min-width: 0; }
  .header-search { flex: 1 1 auto; max-width: none; min-width: 0; order: 4; }
  .share-btn, .cart-btn { flex: none; }
  .share-btn { order: 1; }
  .cart-btn { order: 2; }
  .cart-total { flex: none; order: 3; }
}

/* Collapsible info sections (v114): intro content stays closed until tapped */
section[data-collapsible] > h2 { cursor: pointer; }
section[data-collapsible] > h2::after { content: "▸"; float: right; color: #926414; font-weight: bold; }
section[data-collapsible].open > h2::after { content: "▾"; }
section[data-collapsible] .collapsible-body { display: none; }
section[data-collapsible].open .collapsible-body { display: block; }

/* Asistente de respuestas rápidas (v115) */
.chat-btn { position: fixed; right: 14px; bottom: 14px; z-index: 25; background: #926414; color: #fff; border: none; border-radius: 999px; padding: 12px 18px; font-size: 16px; font-weight: bold; box-shadow: 0 4px 14px rgba(0,0,0,.3); cursor: pointer; }
.chat-panel { position: fixed; right: 10px; bottom: 10px; z-index: 26; width: min(360px, calc(100vw - 20px)); max-height: min(560px, calc(100dvh - 90px)); background: #fff; border-radius: 16px; box-shadow: 0 10px 34px rgba(0,0,0,.35); display: flex; flex-direction: column; overflow: hidden; }
.chat-panel[hidden] { display: none; }
.chat-head { background: #926414; color: #fff; padding: 12px 14px; display: flex; justify-content: space-between; align-items: center; font-size: 16px; }
.chat-x { background: none; border: none; color: #fff; font-size: 18px; cursor: pointer; padding: 2px 6px; }
.chat-body { padding: 12px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; }
.chat-msg { padding: 9px 12px; border-radius: 14px; font-size: 14.5px; line-height: 1.45; max-width: 92%; }
.chat-msg.bot { background: #f3ead8; align-self: flex-start; }
.chat-msg.user { background: #926414; color: #fff; align-self: flex-end; }
.chat-msg a { color: #926414; font-weight: bold; }
.chat-topics { display: flex; flex-wrap: wrap; gap: 6px; }
.chat-topics button { background: #fff; border: 1.5px solid #926414; color: #926414; border-radius: 999px; padding: 7px 12px; font-size: 13.5px; font-weight: bold; cursor: pointer; }
.chat-form { display: flex; gap: 6px; padding: 8px 10px; border-top: 1px solid #e5ddcb; }
.chat-form input { flex: 1; border: 1px solid #cbbd97; border-radius: 999px; padding: 9px 12px; font-size: 14.5px; min-width: 0; }
.chat-form button { background: #926414; color: #fff; border: none; border-radius: 999px; padding: 9px 14px; font-weight: bold; cursor: pointer; }
.chat-wa { display: block; text-align: center; background: #1faa55; color: #fff; font-weight: bold; padding: 11px; text-decoration: none; font-size: 15px; }
