:root {
  --bg: #fdf7f2;
  --paper: #fffdf9;
  --ink: #26331a;
  --ink-2: #55603f;
  --muted: #8a8a72;
  --green: #3b5221;
  --green-2: #2c3f17;
  --leaf: #6f9139;
  --leaf-soft: #eaf0dc;
  --line: #e9e0d2;
  --wa: #1fa855;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(38, 51, 26, .06), 0 8px 24px rgba(38, 51, 26, .06);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 130px; -webkit-text-size-adjust: 100%; overscroll-behavior-y: none; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { -webkit-tap-highlight-color: transparent; }
button, a, .card, .tile { touch-action: manipulation; }
html.lock, html.lock body { overflow: hidden; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.5 var(--sans); }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--green); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---- header ---- */
.top { position: sticky; top: 0; z-index: 30; height: 65px; background: var(--bg); border-bottom: 1px solid var(--line); transform: translateZ(0); }
.top .wrap { display: flex; align-items: center; gap: 12px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand img { width: 42px; height: 42px; border-radius: 50%; }
.brand b { font: 600 21px/1 var(--serif); letter-spacing: -.01em; white-space: nowrap; }
.brand small { display: block; font: 700 10px/1 var(--sans); letter-spacing: .32em; color: var(--leaf); margin-top: 4px; }
.top .spacer { flex: 1; }
.cart-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--green); color: #fff; font-weight: 700; }
.cart-btn svg { width: 20px; height: 20px; }
.cart-btn .n { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #fff; color: var(--green); font-size: 13px; display: inline-grid; place-items: center; }
.cart-btn.bump { animation: bump .4s; }
@keyframes bump { 40% { transform: scale(1.12); } }

/* ---- hero ---- */
.hero { padding: 28px 0 8px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 24px; align-items: center; }
.hero h1 { font: 600 clamp(34px, 6vw, 58px)/1.04 var(--serif); letter-spacing: -.02em; margin: 0 0 14px; color: var(--green-2); }
.hero h1 em { font-style: italic; color: var(--leaf); }
.hero p { font-size: 18px; color: var(--ink-2); margin: 0 0 22px; max-width: 34em; }
.hero .logo { width: min(100%, 400px); height: auto; justify-self: center; }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px solid var(--green); background: var(--green); color: #fff; font-weight: 700; text-decoration: none; }
.btn.ghost { background: transparent; color: var(--green); }
.btn.wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.btn.block { width: 100%; }
.btn svg { width: 20px; height: 20px; }
.btn:disabled { opacity: .55; cursor: wait; }
.perks { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; color: var(--ink-2); font-size: 14px; }
.perks span { display: inline-flex; align-items: center; gap: 6px; }
.perks svg { width: 18px; height: 18px; color: var(--leaf); }

/* ---- nav de categorías ---- */
.catnav { position: sticky; top: 64px; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); transform: translateZ(0); }
.catnav .wrap { display: flex; gap: 10px; align-items: center; padding-top: 10px; padding-bottom: 10px; }
.search { position: relative; flex: 0 0 240px; }
.search input { width: 100%; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); padding: 0 14px 0 38px; outline: none; }
.search input:focus { border-color: var(--leaf); box-shadow: 0 0 0 3px var(--leaf-soft); }
.search svg { position: absolute; left: 12px; top: 10px; width: 20px; height: 20px; color: var(--muted); }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink-2); font-size: 14px; font-weight: 600; white-space: nowrap; }
.chip.on { background: var(--green); border-color: var(--green); color: #fff; }

/* ---- catálogo ---- */
main { padding-bottom: 40px; }
.cat { padding-top: 34px; }
.cat-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.cat-head h2 { font: 600 clamp(24px, 3.6vw, 32px)/1.1 var(--serif); margin: 0; color: var(--green-2); }
.cat-head p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.cat-head .count { color: var(--muted); font-size: 14px; white-space: nowrap; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.card { content-visibility: auto; contain-intrinsic-size: auto 300px; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-align: left; padding: 0; transition: transform .15s, box-shadow .15s; }
@media (hover: hover) { .card:hover { transform: translateY(-2px); box-shadow: var(--shadow); } }
.card .ph { aspect-ratio: 1; background: #f4efe6; display: grid; place-items: center; overflow: hidden; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; }
.card .ph.none { color: var(--muted); font-size: 13px; }
.card .ph.none svg { width: 44px; height: 44px; color: #c9c0ae; }
.card .bd { padding: 12px 12px 14px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.card h3 { margin: 0; font: 600 16px/1.25 var(--sans); }
.card .sci { font-style: italic; color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card .row { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 8px; gap: 8px; }
.price { font-weight: 800; color: var(--green-2); font-size: 17px; }
.price small { font-weight: 600; color: var(--muted); font-size: 12px; margin-right: 2px; }
.add { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--leaf-soft); color: var(--green); display: grid; place-items: center; flex: none; }
@media (hover: hover) { .add:hover { background: var(--green); color: #fff; } }
.add svg { width: 20px; height: 20px; }
.badge { display: inline-block; font-size: 11px; font-weight: 700; color: var(--leaf); letter-spacing: .04em; text-transform: uppercase; }
.empty { text-align: center; color: var(--muted); padding: 60px 0; }

/* ---- contacto / footer ---- */
.contact { margin-top: 50px; background: var(--green-2); color: #f3efe2; border-radius: 26px; padding: 34px 24px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: center; }
.contact h2 { font: 600 30px/1.1 var(--serif); margin: 0 0 8px; color: #fff; }
.contact p { margin: 0; color: #cdd5bd; }
.contact ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.contact li a { color: #fff; text-decoration: none; display: flex; align-items: center; gap: 10px; font-weight: 600; word-break: break-all; }
.contact li svg { width: 22px; height: 22px; flex: none; color: #b7cc8a; }
footer { text-align: center; color: var(--muted); font-size: 13px; padding: 26px 16px 110px; }
footer a { color: var(--muted); }

/* ---- botón flotante del carrito (móvil) ---- */
.fab { position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 25; display: none; transform: translateZ(0); }
.fab.show { display: block; }
.fab .btn { width: 100%; box-shadow: 0 10px 30px rgba(38, 51, 26, .3); justify-content: space-between; }

/* ---- modales ---- */
.overlay { position: fixed; inset: 0; z-index: 50; background: rgba(28, 36, 18, .55); display: none; }
.overlay.show { display: block; animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.sheet { position: fixed; z-index: 60; background: var(--paper); display: none; flex-direction: column; overflow: hidden; }
.sheet.show { display: flex; }
.modal { left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(920px, calc(100% - 32px)); max-height: calc(100% - 40px); border-radius: 24px; animation: pop .22s; }
@keyframes pop { from { opacity: 0; transform: translate(-50%, -46%); } }
.drawer { right: 0; top: 0; bottom: 0; width: min(440px, 100%); animation: slide .25s; }
@keyframes slide { from { transform: translateX(100%); } }
.x { position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 253, 249, .92); box-shadow: var(--shadow); display: grid; place-items: center; }
.x svg { width: 20px; height: 20px; }

.pd { overscroll-behavior: contain; display: grid; grid-template-columns: 1fr 1fr; align-items: start; overflow: auto; min-height: 0; }
.pd .media { background: #f4efe6; position: relative; min-height: 320px; align-self: stretch; display: flex; align-items: center; justify-content: center; }
.pd .media img { width: 100%; height: auto; object-fit: contain; max-height: 70vh; cursor: zoom-in; }
.pd .zoom { position: absolute; left: 12px; bottom: 12px; display: inline-flex; gap: 6px; align-items: center; background: rgba(255, 253, 249, .92); border: 0; border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 700; color: var(--green); }
.pd .zoom svg { width: 16px; height: 16px; }
.pd .info { padding: 26px 24px 24px; display: flex; flex-direction: column; gap: 12px; }
.pd .cat-l { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--leaf); }
.pd h2 { font: 600 30px/1.1 var(--serif); margin: 0; color: var(--green-2); padding-right: 30px; }
.pd .sci { font-style: italic; color: var(--muted); margin-top: -6px; }
.pd .desc { color: var(--ink-2); margin: 0; }
.care { display: flex; flex-wrap: wrap; gap: 8px; }
.care span { display: inline-flex; align-items: center; gap: 6px; background: var(--leaf-soft); color: var(--green); padding: 6px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.care svg { width: 18px; height: 18px; }
.lbl { font-size: 13px; font-weight: 800; color: var(--ink-2); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { border: 1.5px solid var(--line); background: var(--paper); border-radius: 14px; padding: 8px 14px; text-align: left; line-height: 1.2; }
.opt b { display: block; font-size: 14px; }
.opt span { font-size: 13px; color: var(--muted); }
.opt.on { border-color: var(--green); background: var(--leaf-soft); }
.buy { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 4px; }
.buy .big { font: 800 26px/1 var(--sans); color: var(--green-2); margin-right: auto; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; height: 44px; }
.qty button { width: 40px; height: 100%; border: 0; background: none; font-size: 20px; color: var(--green); }
.qty span { min-width: 28px; text-align: center; font-weight: 800; }
.stack { display: grid; gap: 8px; }
.hint { font-size: 13px; color: var(--muted); text-align: center; margin: 0; }

/* ---- carrito ---- */
.drawer h2 { font: 600 26px/1 var(--serif); margin: 0; padding: 22px 20px 16px; border-bottom: 1px solid var(--line); color: var(--green-2); }
.drawer .body { flex: 1; overflow: auto; overscroll-behavior: contain; padding: 8px 20px 20px; }
.drawer .foot { border-top: 1px solid var(--line); padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); display: grid; gap: 10px; background: var(--paper); }
.ci { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: center; }
.ci img, .ci .noimg { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; background: #f4efe6; }
.ci b { display: block; font-size: 15px; line-height: 1.25; }
.ci small { color: var(--muted); }
.ci .qty { height: 34px; margin-top: 6px; }
.ci .qty button { width: 32px; font-size: 18px; }
.ci .r { text-align: right; display: grid; gap: 6px; justify-items: end; }
.ci .rm { border: 0; background: none; color: var(--muted); font-size: 13px; text-decoration: underline; padding: 0; }
.tot { display: flex; justify-content: space-between; align-items: baseline; font-weight: 800; font-size: 20px; }
.form { display: grid; gap: 10px; margin-top: 16px; }
.form label { display: grid; gap: 4px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.form input, .form textarea { border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; background: #fff; outline: none; font-weight: 400; color: var(--ink); }
.form input:focus, .form textarea:focus { border-color: var(--leaf); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg button { height: 42px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; color: var(--ink-2); }
.seg button.on { border-color: var(--green); background: var(--leaf-soft); color: var(--green); }
.err { color: #b3261e; font-size: 14px; margin: 0; }
.done { text-align: center; padding: 40px 10px; display: grid; gap: 14px; justify-items: center; }
.done .ok { width: 72px; height: 72px; border-radius: 50%; background: var(--leaf-soft); color: var(--green); display: grid; place-items: center; }
.done .ok svg { width: 36px; height: 36px; }
.done h3 { font: 600 26px/1.1 var(--serif); margin: 0; color: var(--green-2); }
.done p { margin: 0; color: var(--ink-2); }

/* ---- visor de foto (tamaño original) ---- */
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(15, 20, 10, .92); display: none; overflow: auto; overscroll-behavior: contain; }
.lightbox.show { display: grid; place-items: center; }
.lightbox img { max-width: none; width: auto; height: auto; margin: 56px 16px 24px; border-radius: 6px; box-shadow: 0 10px 40px rgba(0, 0, 0, .5); }
.lightbox img.fit { max-width: calc(100vw - 32px); max-height: calc(100vh - 100px); }
.lightbox .x { position: fixed; }
.lightbox .cap { position: fixed; left: 16px; top: 18px; color: #e8e4d8; font-size: 14px; right: 70px; }
.lightbox .cap b { color: #fff; }

@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero .logo { order: -1; width: min(70%, 300px); }
  .hero { text-align: center; }
  .hero p { margin-left: auto; margin-right: auto; }
  .ctas, .perks { justify-content: center; }
  .catnav .wrap { flex-wrap: wrap; }
  .search { flex: 1 1 100%; }
  .pd { display: block; }
  .pd .media { min-height: 0; }
  .pd .media img { max-height: 46vh; }
  .modal { left: 0; right: 0; top: auto; bottom: 0; transform: none; width: 100%; max-height: 92%; border-radius: 24px 24px 0 0; animation: up .25s; }
  @keyframes up { from { transform: translateY(40%); opacity: 0; } }
  .contact { grid-template-columns: 1fr; }
  .top .cart-btn .t { display: none; }
}
@media (max-width: 480px) {
  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card .bd { padding: 10px 10px 12px; }
  .card h3 { font-size: 15px; }
  .price { font-size: 16px; }
  .brand b { font-size: 19px; }
  html { scroll-padding-top: 170px; }
}

/* ---- categorías en cuadrados ---- */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.tile { position: relative; aspect-ratio: 1; border-radius: 22px; overflow: hidden; background: var(--green-2); text-decoration: none; color: #fff; box-shadow: var(--shadow); isolation: isolate; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; z-index: -2; }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 30, 10, 0) 38%, rgba(20, 30, 10, .78) 100%); }
@media (hover: hover) { .tile:hover img { transform: scale(1.06); } }
.tile .t { position: absolute; left: 14px; right: 14px; bottom: 13px; }
.tile b { display: block; font: 600 21px/1.1 var(--serif); letter-spacing: -.01em; text-shadow: 0 1px 8px rgba(0, 0, 0, .3); }
.tile small { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 12.5px; font-weight: 700; background: rgba(20, 30, 10, .45); padding: 3px 10px; border-radius: 999px; }

/* ---- página de una categoría ---- */
.back { display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; color: var(--green); font-weight: 800; font-size: 15px; padding: 6px 0; }
.back svg { width: 20px; height: 20px; }
.back.bottom { margin-top: 26px; }
.cat-hero { display: flex; align-items: center; gap: 18px; margin: 10px 0 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.cat-hero img { width: 92px; height: 92px; border-radius: 20px; object-fit: cover; flex: none; box-shadow: var(--shadow); }
.cat-hero h2 { font: 600 clamp(28px, 4.4vw, 40px)/1.05 var(--serif); margin: 0; color: var(--green-2); }
.cat-hero p { margin: 4px 0 6px; color: var(--ink-2); }
.cat-hero .count { color: var(--muted); font-size: 14px; font-weight: 700; }
.chip svg { width: 16px; height: 16px; vertical-align: -3px; margin-left: -4px; }
@media (max-width: 480px) {
  .tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tile { border-radius: 18px; }
  .tile b { font-size: 17px; }
  .tile .t { left: 11px; right: 11px; bottom: 10px; }
  .cat-hero img { width: 72px; height: 72px; border-radius: 16px; }
}

/* ---- asistente (chat) ---- */
.chat-fab { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: inline-flex; align-items: center; gap: 8px; height: 54px; padding: 0 20px 0 16px; border: 0; border-radius: 999px; background: var(--leaf); color: #fff; font-weight: 800; font-size: 15px; box-shadow: 0 10px 28px rgba(38, 51, 26, .32); transition: transform .15s; transform: translateZ(0); will-change: transform; }
@media (hover: hover) { .chat-fab:hover { transform: translateY(-2px); } }
.chat-fab svg { width: 24px; height: 24px; }
.chat-fab.hide { display: none; }
.chat-fab { bottom: calc(18px + env(safe-area-inset-bottom)); }
body.has-fab .chat-fab { bottom: calc(84px + env(safe-area-inset-bottom)); }
.chat { position: fixed; right: 18px; bottom: 18px; z-index: 45; width: min(400px, calc(100vw - 36px)); height: min(620px, calc(100vh - 110px)); background: var(--paper); border-radius: 24px; box-shadow: 0 20px 60px rgba(28, 36, 18, .35); display: flex; flex-direction: column; overflow: hidden; animation: pop2 .22s; }
.chat[hidden] { display: none !important; }
@keyframes pop2 { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.chat-h { display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 14px; background: var(--green-2); color: #fff; }
.chat-h img { width: 40px; height: 40px; border-radius: 50%; background: var(--bg); }
.chat-h div { flex: 1; line-height: 1.2; }
.chat-h b { font: 600 17px/1.2 var(--serif); display: block; }
.chat-h small { color: #c9d4b4; font-size: 12.5px; }
.chat-x { width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; }
.chat-x svg { width: 20px; height: 20px; }
.chat-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); }
.msg { max-width: 88%; padding: 10px 13px; border-radius: 18px; font-size: 15px; line-height: 1.45; white-space: pre-line; word-wrap: break-word; }
.msg.bot { align-self: flex-start; background: var(--paper); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.msg.me { align-self: flex-end; background: var(--green); color: #fff; border-bottom-right-radius: 6px; }
.msg.typing { color: var(--muted); }
.msg.typing i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--leaf); margin: 0 2px; animation: dot 1s infinite; }
.msg.typing i:nth-child(2) { animation-delay: .15s; } .msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 50% { opacity: .25; transform: translateY(-3px); } }
.sugs { display: flex; flex-wrap: wrap; gap: 6px; }
.sug { border: 1.5px solid var(--leaf-soft); background: var(--paper); color: var(--green); border-radius: 999px; padding: 7px 12px; font-size: 13.5px; font-weight: 700; text-align: left; }
@media (hover: hover) { .sug:hover { border-color: var(--leaf); } }
.pcards { display: grid; gap: 6px; align-self: stretch; }
.pc { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 6px 8px 6px 6px; text-align: left; }
.pc img, .pc .noimg { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; background: #f4efe6; }
.pc b { display: block; font-size: 14px; line-height: 1.25; }
.pc span { font-size: 13px; color: var(--green-2); font-weight: 800; }
.pc .add { width: 34px; height: 34px; }
.pc .add svg { width: 18px; height: 18px; }
.chat-in { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); background: var(--paper); padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
.chat-in input { flex: 1; min-width: 0; height: 46px; border: 1.5px solid var(--line); border-radius: 999px; padding: 0 16px; outline: none; background: #fff; font-size: 16px; }
.chat-in input:focus { border-color: var(--leaf); }
.chat-in button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--green); color: #fff; display: grid; place-items: center; flex: none; }
.chat-in button:disabled { opacity: .5; }
.chat-in svg { width: 22px; height: 22px; }
@media (max-width: 600px) {
  .chat { right: 0; bottom: 0; width: 100%; height: 100%; height: 100dvh; border-radius: 0; }
  .chat-fab span { display: none; }
  .chat-fab { width: 56px; height: 56px; padding: 0; justify-content: center; right: 16px; }
}

/* ---- celular: barras fijas más livianas ---- */
@media (max-width: 820px) {
  .catnav.home .chips { display: none; }
  .catnav .wrap { padding-top: 8px; padding-bottom: 8px; gap: 8px; }
  .chips { scroll-snap-type: x proximity; overscroll-behavior-x: contain; }
  .chip { scroll-snap-align: start; }
  .top .wrap { height: 64px; }
}
