/* =========================================================
   KUAK — Estilos
   Colores de marca en :root. Cambia aquí y se actualiza todo el sitio.
   ========================================================= */
:root {
  --brand: #0e5a43;
  --brand-dark: #093d2e;
  --brand-soft: #e6f2ed;
  --accent: #ffc629;
  --accent-dark: #e6ab00;
  --sale: #d7263d;
  --ink: #1b2226;
  --muted: #5f6b73;
  --line: #e2e5e8;
  --bg: #f3f4f6;
  --card: #ffffff;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(16, 24, 32, .06), 0 4px 14px rgba(16, 24, 32, .05);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.45; font-size: 16px; }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .4em; }
h1 { font-size: 28px; }
button, input, select, textarea { font: inherit; color: inherit; }
.container { max-width: 1320px; margin: 0 auto; padding: 0 16px; }
main.container { padding-top: 16px; padding-bottom: 48px; min-height: 60vh; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: 8px; padding: 10px 16px; font-weight: 700; font-size: 15px; cursor: pointer; transition: background .15s, transform .05s; text-align: center; line-height: 1.2; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: var(--accent-dark); }
.btn-ghost { background: transparent; color: var(--brand); border: 2px solid var(--brand); }
.btn-disabled { background: #d5d9dc; color: #6b747a; cursor: not-allowed; }
.btn-lg { padding: 14px 22px; font-size: 17px; }
.btn-block { display: flex; width: 100%; margin-top: 10px; }
.link-btn { background: none; border: 0; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; gap: 4px; font-size: 14px; padding: 4px; }
.link-btn:hover { color: var(--sale); }
.icon-btn { background: none; border: 0; color: inherit; cursor: pointer; padding: 6px; display: grid; place-items: center; border-radius: 8px; }

/* ---------- Encabezado ---------- */
.topbar { background: var(--brand-dark); color: #fff; font-size: 13px; text-align: center; padding: 6px 16px; }
.topbar .sep { opacity: .5; margin: 0 6px; }
.header { position: sticky; top: 0; z-index: 50; background: var(--brand); box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.header-row { display: flex; align-items: center; gap: 20px; height: 76px; }
.logo img { height: 40px; width: auto; }
.menu-btn { display: none; color: #fff; }
.search { flex: 1; position: relative; display: flex; max-width: 860px; }
.search input { flex: 1; min-width: 0; height: 48px; border: 0; border-radius: 10px 0 0 10px; padding: 0 18px; font-size: 16px; background: #fff; outline: none; }
.search input:focus { box-shadow: inset 0 0 0 3px var(--accent); }
.search button { width: 60px; border: 0; background: var(--accent); border-radius: 0 10px 10px 0; cursor: pointer; color: var(--ink); display: grid; place-items: center; }
.search button:hover { background: var(--accent-dark); }
.suggest { position: absolute; top: 54px; left: 0; right: 0; background: #fff; border-radius: 10px; box-shadow: 0 12px 32px rgba(0,0,0,.18); overflow: hidden; z-index: 60; }
.suggest a { display: flex; align-items: center; gap: 12px; padding: 8px 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
.suggest a:hover { background: var(--brand-soft); }
.sg-img { width: 44px; height: 44px; object-fit: contain; flex: none; }
.sg-name { flex: 1; min-width: 0; }
.sg-name small { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; }
.sg-all { justify-content: center; font-weight: 700; color: var(--brand); }
.sg-empty { padding: 14px; color: var(--muted); font-size: 14px; }
.cart-btn { position: relative; display: flex; align-items: center; gap: 16px; color: #fff; padding: 8px 10px; border-radius: 10px; flex: none; }
.cart-btn:hover { background: rgba(255,255,255,.1); }
.cart-text { display: flex; flex-direction: column; line-height: 1.1; }
.cart-text small { font-size: 12px; opacity: .85; }
.cart-count { position: absolute; top: 2px; left: 28px; background: var(--accent); color: var(--ink); font-weight: 800; font-size: 12px; min-width: 21px; height: 21px; border-radius: 999px; display: grid; place-items: center; padding: 0 5px; }
.cart-count[hidden] { display: none; }
.cart-btn.bump { animation: bump .4s ease; }
@keyframes bump { 30% { transform: scale(1.15); } 100% { transform: scale(1); } }
.catbar { background: #fff; border-bottom: 1px solid var(--line); }
.catbar-row { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.catbar-row::-webkit-scrollbar { display: none; }
.catbar a { white-space: nowrap; padding: 11px 12px; font-size: 14px; font-weight: 600; border-bottom: 3px solid transparent; }
.catbar a:hover { color: var(--brand); border-bottom-color: var(--brand); }
.catbar a.hot { color: var(--sale); }

/* ---------- Menú lateral móvil ---------- */
.drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer-bg { position: absolute; inset: 0; background: rgba(0,0,0,.45); opacity: 0; transition: opacity .2s; }
.drawer.open .drawer-bg { opacity: 1; }
.drawer-panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(320px, 86vw); background: #fff; overflow-y: auto; transform: translateX(-100%); transition: transform .22s ease; padding-bottom: 24px; }
.drawer.open .drawer-panel { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; background: var(--brand); padding: 12px 12px 12px 16px; color: #fff; }
.drawer-head img { height: 32px; width: auto; }
.drawer-panel > a { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-bottom: 1px solid var(--line); font-weight: 600; }
.drawer-panel > a span { width: 26px; text-align: center; font-size: 20px; }
.drawer-panel > a small { margin-left: auto; color: var(--muted); font-weight: 400; }
.drawer-panel > a.hot { color: var(--sale); }
.drawer-title { padding: 16px 16px 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }

/* ---------- Portada ---------- */
.hero { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; margin-bottom: 8px; }
.hero-main { border-radius: var(--radius); padding: 40px; color: #fff; min-height: 300px; display: flex; align-items: center;
  background: radial-gradient(circle at 85% 30%, rgba(255,198,41,.35), transparent 40%), linear-gradient(120deg, var(--brand-dark), var(--brand) 60%, #16805f); }
.hero-main h1 { font-size: 40px; max-width: 560px; }
.hero-main p { font-size: 18px; opacity: .92; max-width: 480px; margin: 0 0 20px; }
.eyebrow { display: inline-block; background: var(--accent); color: var(--ink); font-weight: 800; font-size: 12px; padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .05em; }
.hero-side { display: grid; gap: 16px; }
.promo { border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; justify-content: center; gap: 4px; box-shadow: var(--shadow); }
.promo b { font-size: 19px; }
.promo-a { background: var(--accent); }
.promo-b { background: #fff; border: 1px solid var(--line); }
.block { margin-top: 32px; }
.block-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; gap: 12px; }
.block-head h2 { font-size: 23px; margin: 0; }
.block-head a { color: var(--brand); font-weight: 700; white-space: nowrap; }
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
.cat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 10px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-weight: 600; font-size: 14px; transition: border-color .15s, transform .15s; }
.cat:hover { border-color: var(--brand); transform: translateY(-2px); }
.cat-ico { width: 60px; height: 60px; border-radius: 50%; background: var(--brand-soft); display: grid; place-items: center; font-size: 30px; }

/* ---------- Tarjetas de producto ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 240px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 12px; -webkit-overflow-scrolling: touch; }
.rail > * { scroll-snap-align: start; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; overflow: hidden; transition: box-shadow .15s; }
.card:hover { box-shadow: var(--shadow); }
.card.is-out { opacity: .72; }
.card-img { position: relative; display: block; aspect-ratio: 1 / 1; padding: 14px; background: #fff; }
.card-img img { width: 100%; height: 100%; object-fit: contain; }
.badge { position: absolute; top: 10px; left: 10px; background: var(--sale); color: #fff; font-weight: 800; font-size: 12px; padding: 4px 8px; border-radius: 6px; }
.card-body { padding: 4px 14px 14px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.card-brand { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.card-title { font-weight: 600; font-size: 15px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.card-title:hover { color: var(--brand); text-decoration: underline; }
.card-pres { font-size: 13px; color: var(--muted); }
.price-wrap { margin-top: 6px; }
.price { font-size: 25px; font-weight: 800; letter-spacing: -.01em; }
.price.sale { color: var(--sale); }
.price-old { font-size: 13px; color: var(--muted); text-decoration: line-through; }
.save { display: inline-block; font-size: 12px; font-weight: 800; color: var(--sale); background: #fde8ea; padding: 2px 6px; border-radius: 4px; margin-top: 2px; }
.price-wrap.big .price { font-size: 38px; }
.price-wrap.big .price-old { font-size: 16px; }
.price-wrap.big .save { font-size: 14px; }
.stock { font-size: 13px; font-weight: 700; margin-top: 4px; }
.stock.ok { color: #16804f; }
.stock.low { color: #c05a00; }
.stock.out { color: var(--sale); }
.card-actions { margin-top: auto; padding-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.card-actions .btn { padding: 11px 8px; font-size: 14px; }
.card-actions .qty { width: 100%; }
.card-actions .qty input { flex: 1; }
.card-actions .qty button { width: 42px; }
.qty { display: inline-flex; border: 1px solid #c9cfd4; border-radius: 8px; overflow: hidden; background: #fff; flex: none; height: 40px; }
.qty button { width: 34px; border: 0; background: #f1f3f5; font-size: 20px; cursor: pointer; line-height: 1; }
.qty button:hover { background: var(--brand-soft); }
.qty input { width: 42px; border: 0; text-align: center; font-weight: 700; -moz-appearance: textfield; appearance: textfield; outline: none; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ---------- Listado ---------- */
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.crumbs a:hover { color: var(--brand); text-decoration: underline; }
.listing { display: grid; grid-template-columns: 250px 1fr; gap: 24px; align-items: start; }
.filters { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 16px 16px; position: sticky; top: 140px; }
.filters summary { font-weight: 800; padding: 10px 0; cursor: pointer; list-style: none; }
.filters summary::-webkit-details-marker { display: none; }
.f-group { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 8px; }
.f-group h4 { font-size: 14px; margin-bottom: 6px; }
.f-scroll { max-height: 260px; overflow-y: auto; }
.f-link { display: flex; justify-content: space-between; padding: 6px 8px; border-radius: 6px; font-size: 14px; }
.f-link:hover { background: var(--bg); }
.f-link.on { background: var(--brand-soft); color: var(--brand); font-weight: 700; }
.f-link small { color: var(--muted); }
.results-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.results-head h1 { margin: 0; font-size: 26px; }
.results-head p { margin: 2px 0 0; }
.sort { font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.sort select { padding: 8px 10px; border-radius: 8px; border: 1px solid #c9cfd4; background: #fff; color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 600; }
.chip:hover { border-color: var(--sale); color: var(--sale); }
.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 28px; }
.pager a, .pager b, .pager span { min-width: 40px; height: 40px; padding: 0 12px; display: grid; place-items: center; border-radius: 8px; background: #fff; border: 1px solid var(--line); font-weight: 600; }
.pager b { background: var(--brand); color: #fff; border-color: var(--brand); }
.pager span { border: 0; background: none; }
.empty, .done { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 48px 20px; text-align: center; max-width: 640px; margin: 20px auto; }
.empty-ico { font-size: 52px; margin-bottom: 8px; }
.done .btn { margin: 6px 4px; }
.bank { background: var(--brand-soft); border-radius: 10px; padding: 16px; text-align: left; margin: 18px auto; max-width: 420px; }

/* ---------- Producto ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.pdp-gallery { position: relative; aspect-ratio: 1 / 1; display: grid; place-items: center; }
.pdp-gallery img { width: 100%; height: 100%; object-fit: contain; }
.pdp-brand { color: var(--brand); font-weight: 700; text-transform: uppercase; font-size: 14px; letter-spacing: .04em; }
.pdp-brand:hover { text-decoration: underline; }
.pdp-info h1 { font-size: 30px; margin: 4px 0 8px; }
.pdp-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.pdp-buy { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; margin: 20px 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pdp-buy label { grid-column: 1 / -1; font-size: 14px; margin-bottom: -6px; }
.pdp-buy .qty { height: 50px; }
.pdp-buy .qty button { width: 44px; }
.pdp-buy .qty input { width: 54px; font-size: 18px; }
.pdp-buy .btn-accent { grid-column: 1 / -1; }
.perks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14px; }
.pdp-desc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; }
.pdp-desc p { max-width: 820px; }
.specs { border-collapse: collapse; margin-top: 16px; font-size: 14px; min-width: 300px; }
.specs th, .specs td { text-align: left; padding: 8px 14px 8px 0; border-bottom: 1px solid var(--line); }
.specs th { color: var(--muted); font-weight: 600; width: 140px; }

/* ---------- Carrito ---------- */
.page-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.page-head h1 { margin: 0; }
.cart-layout, .checkout-layout { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; }
.lines { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.line { display: grid; grid-template-columns: 100px 1fr auto 120px; gap: 16px; align-items: center; padding: 16px; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: 0; }
.line-img img { width: 100px; height: 100px; object-fit: contain; }
.line-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.line-info small { color: var(--muted); text-transform: uppercase; font-size: 12px; font-weight: 600; }
.line-info a { font-weight: 600; }
.line-info a:hover { color: var(--brand); text-decoration: underline; }
.line-qty { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.line-total { font-weight: 800; font-size: 19px; text-align: right; }
.summary { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: sticky; top: 140px; }
aside .summary + .summary { margin-top: 12px; position: static; }
.summary h3 { font-size: 19px; }
.summary .row { display: flex; justify-content: space-between; padding: 7px 0; font-size: 15px; }
.summary .row.save { color: var(--sale); font-weight: 700; }
.summary .row.total { border-top: 2px solid var(--ink); margin-top: 8px; padding-top: 12px; font-size: 22px; font-weight: 800; }
.free { color: #16804f; }
.freebar { height: 8px; background: var(--bg); border-radius: 99px; overflow: hidden; margin-top: 6px; }
.freebar div { height: 100%; background: var(--accent); }
.sticky-bar { display: none; }

/* ---------- Checkout ---------- */
.checkout-layout aside .summary:first-child { position: static; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.field { display: flex; flex-direction: column; gap: 4px; font-size: 14px; font-weight: 600; }
.field.full { grid-column: 1 / -1; }
.field input, .field textarea { border: 1px solid #c9cfd4; border-radius: 8px; padding: 11px 12px; font-size: 16px; font-weight: 400; background: #fff; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.field .invalid, .invalid { border-color: var(--sale) !important; background: #fff6f7 !important; }
.pays { display: grid; gap: 10px; }
.pay { display: flex; gap: 12px; align-items: flex-start; border: 2px solid var(--line); border-radius: 10px; padding: 14px; cursor: pointer; }
.pay:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.pay input { margin-top: 4px; accent-color: var(--brand); width: 18px; height: 18px; }
.pay span { display: flex; flex-direction: column; gap: 2px; }
.pay small { color: var(--muted); }
.pay em { font-style: normal; font-size: 11px; background: var(--bg); color: var(--muted); padding: 2px 6px; border-radius: 4px; margin-left: 4px; }
.pay.off { opacity: .6; cursor: not-allowed; }
.minis { display: grid; gap: 10px; max-height: 320px; overflow-y: auto; }
.mini { display: grid; grid-template-columns: 48px 1fr auto; gap: 10px; align-items: center; font-size: 14px; }
.mini img { width: 48px; height: 48px; object-fit: contain; }
.mini small { display: block; color: var(--muted); }

/* ---------- Consultar precio, avisos y galería ---------- */
.price.consult { font-size: 20px; color: var(--brand); }
.price-wrap.big .price.consult { font-size: 28px; }
.card-actions a.btn { text-align: center; }
.notice { background: #fff4d6; border-left: 4px solid var(--accent); border-radius: 6px; padding: 8px 10px; color: var(--ink); margin: 8px 0; }
.notice:empty { display: none; }
.pdp-desc, .pdp-info, .card-title, .line-info { overflow-wrap: anywhere; }
.thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.thumb { width: 64px; height: 64px; border: 2px solid var(--line); border-radius: 8px; background: #fff; padding: 4px; cursor: pointer; }
.thumb.on { border-color: var(--brand); }
.thumb img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- Pie de página ---------- */
.footer { background: #14201b; color: #cfd8d4; padding-top: 40px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; }
.footer img { height: 36px; width: auto; margin-bottom: 10px; }
.footer h4 { color: #fff; font-size: 15px; }
.footer a { display: block; padding: 3px 0; }
.footer a:hover { color: var(--accent); }
.legal { border-top: 1px solid rgba(255,255,255,.1); margin-top: 28px; padding-top: 16px; padding-bottom: 28px; font-size: 12px; color: #93a39c; }
.legal p { margin: 4px 0; }

/* ---------- Aviso flotante ---------- */
#toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 120px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.25); z-index: 200; font-size: 14px; max-width: calc(100vw - 32px); transition: transform .25s ease; }
#toast.show { transform: translate(-50%, 0); }
#toast a { color: var(--accent); font-weight: 700; margin-left: 8px; text-decoration: underline; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; }
  .hero-side { grid-template-columns: 1fr 1fr; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .listing { grid-template-columns: 1fr; gap: 12px; }
  .filters { position: static; }
  .pdp { grid-template-columns: 1fr; padding: 16px; gap: 16px; }
  .pdp-gallery { max-height: 420px; }
}
@media (max-width: 760px) {
  .hide-sm { display: none; }
  .topbar .sep { display: none; }
  .header-row { flex-wrap: wrap; height: auto; padding-top: 8px; padding-bottom: 10px; gap: 8px 10px; }
  .menu-btn { display: grid; }
  .logo { margin-right: auto; }
  .logo img { height: 34px; }
  .search { order: 3; flex-basis: 100%; }
  .search input { height: 44px; }
  .cart-text { display: none; }
  .catbar a { padding: 9px 10px; font-size: 13px; }
  h1 { font-size: 24px; }
  .hero-main { padding: 26px 20px; min-height: 0; }
  .hero-main h1 { font-size: 28px; }
  .hero-main p { font-size: 16px; }
  .hero-side { grid-template-columns: 1fr; gap: 10px; }
  .promo { padding: 16px; }
  .block { margin-top: 24px; }
  .block-head h2 { font-size: 19px; }
  .cats { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 96px; overflow-x: auto; padding-bottom: 6px; }
  .cat { padding: 10px 6px; font-size: 12px; }
  .cat-ico { width: 50px; height: 50px; font-size: 26px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .rail { grid-auto-columns: 46%; gap: 10px; }
  .card-img { padding: 8px; }
  .card-body { padding: 2px 10px 10px; }
  .card-title { font-size: 14px; }
  .price { font-size: 21px; }
  .results-head h1 { font-size: 21px; }
  .pdp-info h1 { font-size: 23px; }
  .price-wrap.big .price { font-size: 32px; }
  .pdp-desc { padding: 18px; }
  .line { grid-template-columns: 76px 1fr; gap: 10px 12px; }
  .line-img img { width: 76px; height: 76px; }
  .line-qty { grid-column: 2; flex-direction: row; justify-content: space-between; }
  .line-total { grid-column: 2; text-align: left; font-size: 17px; }
  .sticky-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); justify-content: space-between; align-items: center; box-shadow: 0 -4px 16px rgba(0,0,0,.08); }
  .sticky-bar small { display: block; color: var(--muted); font-size: 12px; }
  .sticky-bar b { font-size: 20px; }
  body[data-page="carrito"] main { padding-bottom: 96px; }
  .fields { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 18px; }
  #toast { bottom: 84px; }
}
