/* Juguetikids · propuesta de rediseño
   Concepto: "Arma tu caja". El pedido es una caja de cartón que se llena,
   se cierra con cinta al llegar al mínimo y recibe el sello de Mega Mayoreo. */

:root {
  --paper: #FFF8EC;
  --paper-2: #FDF0DA;
  --card: #FFFFFF;
  --ink: #1B1D3F;
  --ink-2: #4A4C6E;
  --ink-3: #7D7F9C;
  --line: #EADFCB;
  --line-2: #DCCDB2;

  --blue: #1F5FD0;
  --blue-d: #17489F;
  --sun: #FFD43B;
  --sun-d: #F2B705;
  --kraft: #CC9A5E;
  --kraft-d: #A97640;
  --kraft-dd: #7E552A;
  --kraft-l: #E6C595;
  --tape: rgba(240, 222, 178, .92);

  --k-mag: #C8409A;
  --k-grn: #4FA52B;
  --k-org: #F2961C;
  --k-red: #E5483B;

  --wa: #1DA851;
  --wa-d: #158741;
  --ok: #1F8F4E;
  --warn: #C2410C;

  --r-s: 10px;
  --r: 16px;
  --r-l: 26px;
  --shadow-s: 0 1px 2px rgba(27, 29, 63, .06), 0 2px 8px rgba(27, 29, 63, .05);
  --shadow: 0 2px 4px rgba(27, 29, 63, .05), 0 12px 32px rgba(27, 29, 63, .10);
  --shadow-l: 0 24px 60px rgba(27, 29, 63, .22);

  --f-display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
  --gut: 24px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.55 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.04; letter-spacing: -.02em; margin: 0; font-weight: 800; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.muted { color: var(--ink-3); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* distintivo de propuesta */
.propuesta {
  position: fixed; left: 14px; bottom: 14px; z-index: 60;
  display: flex; align-items: center; gap: 8px;
  background: var(--ink); color: #fff;
  font: 600 12px/1 var(--f-body); letter-spacing: .01em;
  padding: 9px 13px; border-radius: 999px; box-shadow: var(--shadow);
  pointer-events: none;
}
.propuesta-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 3px rgba(255, 212, 59, .25); }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 0 var(--blue-d); }
.btn-primary:hover { background: #2569E0; }
.btn-primary:active { box-shadow: 0 3px 0 var(--blue-d); transform: translateY(3px); }
.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-d); }
.btn-wa::before {
  content: ""; width: 20px; height: 20px; flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2Zm0 18.2a8.2 8.2 0 0 1-4.2-1.2l-.3-.2-3 .8.8-2.9-.2-.3A8.2 8.2 0 1 1 12 20.2Zm4.5-6.1c-.2-.1-1.5-.7-1.7-.8-.2-.1-.4-.1-.6.1l-.8 1c-.1.2-.3.2-.5.1a6.7 6.7 0 0 1-3.3-2.9c-.3-.4.3-.4.7-1.4.1-.2 0-.3 0-.4l-.8-1.8c-.2-.5-.4-.4-.6-.4h-.5a1 1 0 0 0-.7.3 3 3 0 0 0-.9 2.2 5.2 5.2 0 0 0 1.1 2.7 11.8 11.8 0 0 0 4.5 4c1.7.7 2.3.8 3.2.6.5-.1 1.5-.6 1.7-1.2.2-.6.2-1.1.2-1.2l-.5-.3Z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2Zm0 18.2a8.2 8.2 0 0 1-4.2-1.2l-.3-.2-3 .8.8-2.9-.2-.3A8.2 8.2 0 1 1 12 20.2Zm4.5-6.1c-.2-.1-1.5-.7-1.7-.8-.2-.1-.4-.1-.6.1l-.8 1c-.1.2-.3.2-.5.1a6.7 6.7 0 0 1-3.3-2.9c-.3-.4.3-.4.7-1.4.1-.2 0-.3 0-.4l-.8-1.8c-.2-.5-.4-.4-.6-.4h-.5a1 1 0 0 0-.7.3 3 3 0 0 0-.9 2.2 5.2 5.2 0 0 0 1.1 2.7 11.8 11.8 0 0 0 4.5 4c1.7.7 2.3.8 3.2.6.5-.1 1.5-.6 1.7-1.2.2-.6.2-1.1.2-1.2l-.5-.3Z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; transform: none; }

/* ---------- barra superior y header ---------- */
.topbar { background: var(--ink); color: #E9E8F6; font-size: 13.5px; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar p { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.tb-item { display: inline-flex; align-items: center; gap: 8px; }
.tb-item::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--sun); transform: rotate(45deg); }
.tb-wa { color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; }
.tb-wa:hover { color: var(--sun); }

.header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 248, 236, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-in { display: flex; align-items: center; gap: 22px; height: var(--header-h); }
.logo img { width: 56px; height: 56px; object-fit: contain; }
.nav { display: flex; gap: 4px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15.5px; padding: 8px 12px; border-radius: 999px; color: var(--ink-2); }
.nav a:hover { background: var(--paper-2); color: var(--ink); }

.search {
  flex: 1; display: flex; align-items: center; gap: 10px; min-width: 0;
  background: #fff; border: 1.5px solid var(--line-2); border-radius: 999px;
  padding: 0 16px; height: 46px; transition: border-color .15s, box-shadow .15s;
}
.search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31, 95, 208, .12); }
.search svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--ink-3); stroke-width: 2.2; stroke-linecap: round; }
.search input { border: 0; outline: 0; background: transparent; width: 100%; min-width: 0; font-size: 15.5px; }
.search input::placeholder { color: var(--ink-3); }
.search-lg { height: 54px; flex: 1 1 360px; }

.cart-btn {
  position: relative; display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 12px; align-items: center;
  background: var(--ink); color: #fff; border: 0; border-radius: 18px; padding: 8px 18px 10px 12px; cursor: pointer;
  box-shadow: 0 5px 0 #0E0F26; transition: transform .15s, box-shadow .15s;
}
.cart-btn:hover { background: #262959; }
.cart-btn.bump { animation: bump .45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes bump { 40% { transform: scale(1.08) rotate(-2deg); } }
.cart-ico { grid-row: 1 / span 2; position: relative; width: 38px; height: 34px; display: grid; place-items: center; background: var(--kraft); border-radius: 9px; }
.cart-ico svg { width: 26px; height: 24px; fill: none; stroke: var(--kraft-dd); stroke-width: 2.2; stroke-linejoin: round; }
.cart-n { position: absolute; top: -7px; right: -8px; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 99px; background: var(--sun); color: var(--ink); font-size: 12px; font-weight: 800; display: grid; place-items: center; border: 2px solid var(--ink); }
.cart-txt { display: flex; flex-direction: column; text-align: left; line-height: 1.1; }
.cart-txt small { font-size: 11.5px; color: #B9B9D6; font-weight: 600; }
.cart-txt strong { font-size: 17px; font-variant-numeric: tabular-nums; }
.cart-meter { grid-column: 2; height: 4px; border-radius: 9px; background: rgba(255, 255, 255, .16); margin-top: 5px; overflow: hidden; min-width: 84px; }
.cart-meter i { display: block; height: 100%; width: 0; background: var(--sun); border-radius: inherit; transition: width .5s cubic-bezier(.2, .8, .2, 1); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 56px 0 80px; }
.hero::before {
  content: ""; position: absolute; inset: auto -10% -45% 35%; height: 120%;
  background: radial-gradient(closest-side, rgba(255, 212, 59, .55), rgba(255, 212, 59, 0));
  pointer-events: none;
}
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; color: var(--ink-2); background: #fff; border: 1px solid var(--line); padding: 7px 14px 7px 10px; border-radius: 99px; }
.kicker .dot { width: 10px; height: 10px; border-radius: 3px; background: var(--k-grn); transform: rotate(45deg); }
.hero h1 { font-size: clamp(44px, 5.6vw, 76px); margin: 22px 0 22px; }
.hero h1 .hl { display: block; color: var(--blue); }
.lead { font-size: clamp(17px, 1.5vw, 19.5px); color: var(--ink-2); max-width: 34em; }
.lead b { color: var(--ink); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 38px; }

.regla { max-width: 520px; }
.regla-bar { position: relative; height: 12px; border-radius: 99px; background: #fff; border: 1.5px solid var(--line-2); overflow: hidden; }
.regla-bar i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--kraft-l) 0 20%, var(--sun) 20% 100%); transform-origin: left; animation: regla 2.4s .4s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes regla { from { transform: scaleX(0); } }
.regla ol { list-style: none; margin: 0; padding: 0; position: relative; height: 54px; }
.regla li { position: absolute; left: var(--x); top: 10px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; text-align: center; white-space: nowrap; }
.regla li:first-child { transform: none; align-items: flex-start; text-align: left; }
.regla li:last-child { transform: translateX(-100%); align-items: flex-end; text-align: right; }
.regla li::before { content: ""; position: absolute; top: -18px; width: 2px; height: 14px; background: var(--ink); left: 50%; }
.regla li:first-child::before { left: 0; }
.regla li:last-child::before { left: auto; right: 0; }
.firma { margin-top: 30px; display: flex; align-items: end; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; max-width: 520px; padding: 16px 20px; background: #fff; border: 1.5px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-s); }
.firma-para { font-size: 14.5px; color: var(--ink-2); }
.firma-para b { color: var(--ink); }
.firma-por { display: flex; align-items: baseline; gap: 10px; }
.firma-por span:first-child { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.firma-nombre { font: 600 38px/1 "Caveat", cursive; color: var(--blue); transform: rotate(-4deg); display: inline-block; }
.regla b { font: 800 17px/1.2 var(--f-display); font-variant-numeric: tabular-nums; }
.regla span { font-size: 13px; color: var(--ink-3); font-weight: 600; }
.regla li:first-child span { display: none; }

/* caja grande del hero */
.hero-art { position: relative; min-height: 560px; display: grid; place-items: center; }
.bigbox { position: relative; width: min(440px, 88%); aspect-ratio: 1 / .78; margin-top: 70px; }
.bb-inner { position: absolute; inset: 0 0 34% 0; background: linear-gradient(#8C5F31, #6F4A24); border-radius: 6px 6px 0 0; }
.bb-flap { position: absolute; top: 0; width: 52%; height: 26%; background: linear-gradient(var(--kraft-l), var(--kraft)); border: 1px solid rgba(126, 85, 42, .25); }
.bb-flap-l { left: 0; transform-origin: left bottom; transform: translateY(-100%) rotate(-28deg) skewX(8deg); border-radius: 4px 4px 0 0; }
.bb-flap-r { right: 0; transform-origin: right bottom; transform: translateY(-100%) rotate(24deg) skewX(-8deg); border-radius: 4px 4px 0 0; }
.bb-items { position: absolute; left: 4%; right: 4%; bottom: 30%; height: 120%; }
.bb-items img {
  position: absolute; bottom: 0; width: 42%; aspect-ratio: 1; object-fit: contain;
  background: #fff; border-radius: 14px; padding: 8px; box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
  animation: asoma .9s cubic-bezier(.3, 1.4, .5, 1) both;
}
@keyframes asoma { from { transform: translateY(40%) rotate(var(--r, 0deg)); opacity: 0; } to { transform: translateY(0) rotate(var(--r, 0deg)); opacity: 1; } }
.bb-front {
  position: absolute; left: -3%; right: -3%; bottom: 0; height: 64%;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .06), transparent 18% 82%, rgba(0, 0, 0, .08)),
    repeating-linear-gradient(90deg, rgba(126, 85, 42, .05) 0 2px, transparent 2px 9px),
    linear-gradient(var(--kraft), var(--kraft-d));
  border-radius: 6px 6px 10px 10px; box-shadow: var(--shadow-l); z-index: 3;
  display: flex; flex-direction: column; justify-content: space-between; padding: 7% 7% 6%;
}
.bb-print { display: flex; align-items: center; gap: 14px; color: var(--kraft-dd); }
.bb-print img { width: 64px; height: 64px; filter: sepia(1) saturate(.6) brightness(.55) contrast(1.3); mix-blend-mode: multiply; opacity: .9; }
.bb-print b { display: block; font: 800 clamp(20px, 2.3vw, 28px)/1 var(--f-display); letter-spacing: .04em; }
.bb-print span { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.bb-arrows { display: flex; justify-content: space-between; align-items: end; color: var(--kraft-dd); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: 12px; }
.bb-arrows span:first-child { font-size: 22px; letter-spacing: -.1em; border: 2px solid currentColor; border-radius: 4px; padding: 0 6px; line-height: 1.2; }
.bb-tape { position: absolute; z-index: 4; left: 44%; width: 12%; bottom: 0; height: 64%; background: var(--tape); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4); }

.guia {
  position: absolute; z-index: 5; right: -8px; bottom: -36px; width: min(250px, 58%);
  background: #fff; border-radius: 12px; padding: 14px 16px 12px; box-shadow: var(--shadow);
  transform: rotate(3deg); font-size: 12.5px; border: 1px solid var(--line);
}
.guia-h { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 2px solid var(--ink); padding-bottom: 6px; margin-bottom: 8px; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; font-size: 11px; }
.guia-h b { letter-spacing: .04em; }
.guia dl { margin: 0; display: grid; gap: 6px; }
.guia dt { font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-3); font-weight: 700; }
.guia dd { margin: 0; font-weight: 700; line-height: 1.3; }
.guia-bars { margin-top: 10px; height: 30px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 12px); }

/* ---------- encabezados de sección ---------- */
section { position: relative; }
.sec-head { margin-bottom: 36px; }
.sec-head-row { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
h2 { font-size: clamp(32px, 4vw, 52px); max-width: 16em; }
.sec-aside { max-width: 30em; color: var(--ink-2); font-size: 15.5px; }

/* ---------- pasos ---------- */
.pasos { padding: 88px 0; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pasos-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: p; }
.paso { position: relative; background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r-l); padding: 26px 24px 24px; display: flex; flex-direction: column; gap: 10px; }
.paso-n { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font: 800 22px/1 var(--f-display); color: #fff; margin-bottom: 8px; transform: rotate(-4deg); }
.paso:nth-child(1) .paso-n { background: var(--k-mag); }
.paso:nth-child(2) .paso-n { background: var(--k-grn); }
.paso:nth-child(3) .paso-n { background: var(--k-org); }
.paso:nth-child(4) .paso-n { background: var(--k-red); }
.paso h3 { font-size: 24px; }
.paso p { color: var(--ink-2); font-size: 15.5px; }
.paso-nota { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line-2); font-size: 13.5px !important; color: var(--ink-3) !important; }
.paso-mega { background: var(--ink); border-color: var(--ink); color: #fff; }
.paso-mega p { color: #CFCFE6; }
.paso-mega .paso-nota { border-top-color: rgba(255, 255, 255, .2); color: #B9B9D6 !important; }
.hueco b { color: var(--sun); font-weight: 800; }

/* ---------- paquetes ---------- */
.paquetes { padding: 96px 0 72px; }
.paq-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 22px; margin: 0 -4px; scrollbar-width: thin; scrollbar-color: var(--kraft) transparent; }
.paq { scroll-snap-align: start; background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-l); overflow: hidden; display: flex; flex-direction: column; min-width: 0; transition: transform .2s, box-shadow .2s; }
.paq:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.paq-img { position: relative; aspect-ratio: 4 / 5; background: var(--paper-2); overflow: hidden; }
.paq-img > img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: top; }
@supports not (aspect-ratio: 1 / 1) {
  .card-img::before, .paq-img::before { content: ""; display: block; padding-top: 100%; }
  .paq-img::before { padding-top: 125%; }
}
.paq-body { padding: 18px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.paq-tag { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--k-mag); }
.paq h3 { font-size: 20px; line-height: 1.12; }
.paq-precio { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.paq-precio b { font: 800 28px/1 var(--f-display); font-variant-numeric: tabular-nums; }
.paq-precio span { font-size: 13.5px; color: var(--ink-3); font-weight: 600; }
.paq details { font-size: 14px; color: var(--ink-2); border-top: 1px dashed var(--line-2); padding-top: 10px; }
.paq summary { cursor: pointer; font-weight: 700; color: var(--blue); list-style: none; }
.paq summary::-webkit-details-marker { display: none; }
.paq summary::after { content: " +"; }
.paq details[open] summary::after { content: " –"; }
.paq ul { margin: 8px 0 0; padding-left: 18px; display: grid; gap: 3px; }
.paq-add { margin-top: auto; }

/* ---------- catálogo ---------- */
.catalogo { padding: 72px 0 96px; }
.filtros { position: sticky; top: var(--header-h); z-index: 20; background: rgba(255, 248, 236, .96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); padding: 14px 0 10px; margin: 0 calc(-1 * var(--gut)); padding-left: var(--gut); padding-right: var(--gut); border-bottom: 1px solid transparent; transition: border-color .2s; }
.filtros.pegado { border-bottom-color: var(--line); }
.filtros-top { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.selects { display: flex; gap: 10px; flex-wrap: wrap; }
.sel { position: relative; display: flex; flex-direction: column; background: #fff; border: 1.5px solid var(--line-2); border-radius: 14px; padding: 6px 34px 6px 14px; min-width: 150px; height: 54px; justify-content: center; }
.sel::after { content: ""; position: absolute; right: 14px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.sel span { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.sel select { -webkit-appearance: none; appearance: none; border: 0; background: transparent; font-weight: 700; font-size: 15px; padding: 0; outline: 0; cursor: pointer; width: 100%; }
.sel:focus-within { border-color: var(--blue); }

.chips { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0 2px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; font-weight: 700; font-size: 14.5px; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, color .15s; }
.chip small { font-weight: 700; font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.chip:hover { border-color: var(--ink-2); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip[aria-pressed="true"] small { color: var(--sun); }
.chip-dot { width: 10px; height: 10px; border-radius: 3px; transform: rotate(45deg); }
.chips-pers { padding-top: 6px; }
.chips-pers .chip { height: 34px; font-size: 13.5px; padding: 0 13px; background: transparent; }
.chips-pers .chip[aria-pressed="true"] { background: var(--sun); color: var(--ink); border-color: var(--sun-d); }
.chips-pers .chip[aria-pressed="true"] small { color: var(--ink-2); }
.chips-lbl { flex: none; align-self: center; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-right: 4px; }

.vivo { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--k-grn); margin-right: 8px; box-shadow: 0 0 0 0 rgba(79, 165, 43, .5); animation: vivo 2s infinite; vertical-align: 1px; }
@keyframes vivo { 70% { box-shadow: 0 0 0 8px rgba(79, 165, 43, 0); } 100% { box-shadow: 0 0 0 0 rgba(79, 165, 43, 0); } }
.resultado { margin: 22px 0 18px; color: var(--ink-2); font-weight: 600; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.resultado button { border: 0; background: none; color: var(--blue); font-weight: 700; cursor: pointer; text-decoration: underline; padding: 0; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 18px; }
.card { position: relative; background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-l); display: flex; flex-direction: column; overflow: hidden; transition: border-color .2s, box-shadow .2s, transform .2s; }
.card:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.card.en-caja { border-color: var(--kraft); box-shadow: 0 0 0 3px rgba(204, 154, 94, .25); }
.card-img { --pad: 16px; position: relative; aspect-ratio: 1 / 1; background: #fff; border-bottom: 1px solid var(--line); overflow: hidden; }
.card-img > img { position: absolute; top: var(--pad); left: var(--pad); width: calc(100% - 2 * var(--pad)); height: calc(100% - 2 * var(--pad)); max-width: none; object-fit: contain; transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.card:hover .card-img img { transform: scale(1.04); }
.card-img .sinfoto { position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; gap: 10px; font-size: 12.5px; color: var(--ink-3); font-weight: 700; text-align: center; }
.card-img .sinfoto img { width: 44%; height: auto; opacity: .35; filter: grayscale(1); }
.badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.badge { font-size: 11.5px; font-weight: 800; letter-spacing: .04em; padding: 4px 9px; border-radius: 8px; background: var(--ink); color: #fff; }
.badge-nuevo { background: var(--k-grn); }
.badge-poco { background: var(--warn); }
.badge-oferta { background: var(--k-red); }
.badge-caja { background: var(--kraft); color: var(--kraft-dd); }
.card-q { position: absolute; top: 12px; right: 12px; min-width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--kraft); color: #fff; font-weight: 800; font-size: 14px; padding: 0 8px; box-shadow: 0 3px 0 var(--kraft-d); }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-meta { display: flex; gap: 8px; align-items: center; font-size: 12px; font-weight: 700; color: var(--ink-3); letter-spacing: .02em; min-height: 18px; }
.card-meta .mk { color: var(--blue); text-transform: uppercase; letter-spacing: .08em; }
.card-meta .cod { font-variant-numeric: tabular-nums; }
.card h3 { font: 700 16px/1.28 var(--f-body); letter-spacing: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.precios { display: flex; align-items: end; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; }
.pA b { display: block; font: 800 26px/1 var(--f-display); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.pA s { font-size: 13px; color: var(--ink-3); margin-left: 4px; font-weight: 600; }
.pA small { font-size: 11.5px; color: var(--ink-3); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.pB { text-align: right; font-size: 11.5px; color: var(--ink-3); font-weight: 700; line-height: 1.25; letter-spacing: .04em; text-transform: uppercase; }
.pB b { display: block; font-size: 15px; color: var(--ink-2); letter-spacing: 0; }
.caja-linea { font-size: 13.5px; color: var(--kraft-dd); font-weight: 700; background: #FBF1E2; border-radius: 9px; padding: 6px 10px; }
.acciones { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.acciones.una { grid-template-columns: 1fr; }
.add { height: 44px; border-radius: 12px; border: 2px solid var(--ink); background: #fff; font-weight: 800; font-size: 14.5px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px; transition: background .15s, color .15s; }
.add:hover { background: var(--ink); color: #fff; }
.add-caja { background: var(--kraft); border-color: var(--kraft-d); color: #fff; text-shadow: 0 1px 0 var(--kraft-d); }
.add-caja:hover { background: var(--kraft-d); }
.stepper { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; height: 44px; border-radius: 12px; background: var(--ink); color: #fff; overflow: hidden; }
.stepper button { height: 100%; border: 0; background: transparent; color: #fff; font-size: 22px; font-weight: 700; cursor: pointer; }
.stepper button:hover { background: rgba(255, 255, 255, .12); }
.stepper output { text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; font-size: 15px; }
.stepper output small { display: block; font-size: 10.5px; font-weight: 700; color: #B9B9D6; letter-spacing: .06em; text-transform: uppercase; }

.sk { pointer-events: none; }
.sk .card-img, .sk .paq-img, .sk i { background: linear-gradient(100deg, #F6EEDF 40%, #FFF9EE 50%, #F6EEDF 60%) 0 0 / 300% 100%; animation: sk 1.4s linear infinite; }
.sk .card-img { aspect-ratio: 1; }
.sk i { display: block; height: 14px; border-radius: 6px; }
.sk i:nth-child(2) { width: 70%; }
.sk i.c { height: 44px; border-radius: 12px; margin-top: 18px; }
@keyframes sk { to { background-position: -150% 0; } }
.mas-wrap { display: flex; justify-content: center; margin-top: 36px; }
.vacio { grid-column: 1 / -1; text-align: center; padding: 56px 20px; border: 2px dashed var(--line-2); border-radius: var(--r-l); color: var(--ink-2); }
.vacio b { display: block; font: 800 24px/1.2 var(--f-display); color: var(--ink); margin-bottom: 6px; }

/* ---------- marcas ---------- */
.marcas { padding: 60px 0; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.marcas-t { font: 700 15px/1.3 var(--f-body); letter-spacing: .02em; text-align: center; color: var(--ink-3); max-width: none; margin-bottom: 26px; }
.marcas-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px 56px; }
.marcas-row img { height: 64px; width: auto; filter: grayscale(1) contrast(1.1); opacity: .7; transition: filter .2s, opacity .2s; }
.marcas-row li:hover img { filter: none; opacity: 1; }

/* ---------- envíos ---------- */
.envios { padding: 96px 0; }
.envios-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.lead-s { color: var(--ink-2); font-size: 17px; margin-top: 18px; max-width: 32em; }
.paqueterias { list-style: none; padding: 0; margin: 28px 0 8px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 460px; }
.paqueterias a { display: flex; align-items: center; justify-content: space-between; height: 54px; padding: 0 18px; border-radius: 14px; background: #fff; border: 1.5px solid var(--line-2); font-weight: 800; text-decoration: none; font-size: 16px; }
.paqueterias a::after { content: "→"; color: var(--ink-3); transition: transform .15s; }
.paqueterias a:hover { border-color: var(--ink); }
.paqueterias a:hover::after { transform: translateX(3px); color: var(--ink); }
.hint { font-size: 13.5px; color: var(--ink-3); }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 14px; counter-reset: t; }
.timeline::before { content: ""; position: absolute; left: 27px; top: 24px; bottom: 24px; border-left: 3px dashed var(--kraft); }
.timeline li { position: relative; background: #fff; border: 1.5px solid var(--line); border-radius: var(--r); padding: 18px 20px 18px 74px; display: flex; flex-direction: column; gap: 4px; counter-increment: t; }
.timeline li::before { content: counter(t); position: absolute; left: 10px; top: 16px; width: 36px; height: 36px; border-radius: 10px; background: var(--kraft); color: #fff; font: 800 18px/36px var(--f-display); text-align: center; box-shadow: 0 3px 0 var(--kraft-d); }
.timeline b { font-size: 17px; }
.timeline span { color: var(--ink-2); font-size: 15px; }

/* ---------- faq ---------- */
.faq { padding: 96px 0; background: var(--ink); color: #fff; }
.faq .eyebrow { color: var(--sun); }
.faq-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.faq h2 { margin-bottom: 28px; }
.faq-list { display: grid; gap: 10px; }
.faq details { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r); padding: 0 22px; transition: background .2s; }
.faq details[open] { background: rgba(255, 255, 255, .1); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; position: relative; font-weight: 700; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 10px; height: 10px; border-right: 2.5px solid var(--sun); border-bottom: 2.5px solid var(--sun); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: #D4D4EA; padding: 0 0 20px; font-size: 15.5px; max-width: 46em; }

/* ---------- visita ---------- */
.visita { padding: 96px 0; }
.visita-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px; align-items: stretch; }
.visita-card { background: var(--sun); border-radius: var(--r-l); padding: 40px; display: flex; flex-direction: column; gap: 18px; }
.visita-card .eyebrow { color: var(--ink); }
.visita-card address { font-style: normal; font-size: 19px; font-weight: 700; line-height: 1.4; }
.horario { margin: 0; display: grid; gap: 6px; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); padding: 14px 0; }
.horario div { display: flex; justify-content: space-between; gap: 16px; }
.horario dt { font-weight: 600; }
.horario dd { margin: 0; font-weight: 800; font-variant-numeric: tabular-nums; }
.visita-tel { display: flex; gap: 18px; flex-wrap: wrap; }
.visita-tel a { font: 800 22px/1 var(--f-display); text-decoration: none; }
.visita-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: auto; }
.mapa { border-radius: var(--r-l); overflow: hidden; min-height: 380px; background:
  linear-gradient(rgba(255, 248, 236, .55), rgba(255, 248, 236, .55)),
  repeating-linear-gradient(35deg, transparent 0 46px, #E7DCC6 46px 54px),
  repeating-linear-gradient(-55deg, transparent 0 80px, #E7DCC6 80px 86px),
  #F3EADA; border: 1.5px solid var(--line); position: relative; }
.mapa iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mapa-btn { position: absolute; inset: 0; border: 0; background: transparent; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.mapa-btn b { font: 800 22px/1 var(--f-display); background: #fff; padding: 12px 20px; border-radius: 999px; box-shadow: var(--shadow); }
.mapa-btn small { color: var(--ink-2); font-weight: 600; }
.mapa-pin { width: 44px; height: 44px; background: var(--k-red); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 8px 18px rgba(229, 72, 59, .35); position: relative; margin-bottom: 6px; }
.mapa-pin::after { content: ""; position: absolute; inset: 14px; border-radius: 50%; background: #fff; }

/* ---------- footer ---------- */
.footer { background: #12132D; color: #C9C9E0; padding: 64px 0 96px; font-size: 15px; }
.footer-in { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.f-brand { display: flex; flex-direction: column; gap: 14px; max-width: 320px; }
.f-brand img { width: 72px; height: 72px; }
.f-col { display: flex; flex-direction: column; gap: 9px; }
.f-col b { color: #fff; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; }
.f-col a { text-decoration: none; }
.f-col a:hover { color: var(--sun); }
.f-legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; color: #8E8FB0; }
.f-prop { color: var(--sun); font-weight: 700; }

/* ---------- barra de caja (móvil) ---------- */
.barra-caja { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, rgba(255, 248, 236, .9) 30%); display: none; }
.barra-caja button { width: 100%; display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; column-gap: 12px; align-items: center; background: var(--ink); color: #fff; border: 0; border-radius: 18px; padding: 10px 14px 12px 10px; cursor: pointer; box-shadow: var(--shadow-l); text-align: left; }
.bc-box { grid-row: 1 / span 2; width: 40px; height: 36px; border-radius: 10px; background: var(--kraft); display: grid; place-items: center; }
.bc-box svg { width: 26px; height: 24px; fill: none; stroke: var(--kraft-dd); stroke-width: 2.2; stroke-linejoin: round; }
.bc-txt { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.bc-txt strong { font-size: 17px; font-variant-numeric: tabular-nums; }
.bc-txt small { font-size: 12.5px; color: #C6C6E0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bc-meter { grid-column: 2; height: 4px; border-radius: 9px; background: rgba(255, 255, 255, .16); overflow: hidden; margin-top: 6px; }
.bc-meter i { display: block; height: 100%; width: 0; background: var(--sun); transition: width .5s; }
.bc-ver { grid-column: 3; grid-row: 1 / span 2; background: var(--sun); color: var(--ink); font-weight: 800; font-size: 14px; padding: 9px 14px; border-radius: 12px; }

/* ---------- caja (drawer) ---------- */
.caja-overlay { position: fixed; inset: 0; background: rgba(18, 19, 45, .45); z-index: 70; opacity: 0; transition: opacity .25s; }
.caja-overlay.on { opacity: 1; }
.caja { position: fixed; top: 0; right: 0; bottom: 0; z-index: 80; width: min(460px, 100%); background: var(--paper); box-shadow: var(--shadow-l); display: flex; flex-direction: column; transform: translateX(104%); transition: transform .35s cubic-bezier(.2, .8, .2, 1); visibility: hidden; }
.caja.on { transform: none; visibility: visible; }
.caja-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.caja-head h2 { font-size: 28px; }
.x { width: 42px; height: 42px; border-radius: 12px; border: 1.5px solid var(--line-2); background: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.caja-scroll { flex: 1; overflow-y: auto; padding: 22px 22px 8px; overscroll-behavior: contain; }

.minibox { position: relative; width: 210px; height: 136px; margin: 30px auto 4px; }
.mb-back { position: absolute; left: 6%; right: 6%; top: 0; bottom: 34%; background: linear-gradient(#8C5F31, #6F4A24); border-radius: 5px 5px 0 0; }
.mb-back::before, .mb-back::after { content: ""; position: absolute; top: 0; width: 50%; height: 34px; background: linear-gradient(var(--kraft-l), var(--kraft)); transition: transform .6s cubic-bezier(.3, 1.3, .5, 1); }
.mb-back::before { left: 0; transform-origin: left bottom; transform: translateY(-100%) rotate(-30deg); }
.mb-back::after { right: 0; transform-origin: right bottom; transform: translateY(-100%) rotate(30deg); }
.minibox.cerrada .mb-back::before, .minibox.cerrada .mb-back::after { transform: none; height: 100%; background: linear-gradient(#EED4A8, var(--kraft-l) 60%, var(--kraft)); }
.minibox.cerrada .mb-back::before { border-right: 1px solid rgba(126, 85, 42, .35); }
.mb-items { position: absolute; left: 10%; right: 10%; bottom: 30%; top: -40px; overflow: hidden; }
.mb-items img { position: absolute; width: 58px; height: 58px; object-fit: contain; background: #fff; border-radius: 10px; padding: 4px; box-shadow: 0 4px 10px rgba(0, 0, 0, .2); transition: bottom .6s cubic-bezier(.3, 1.3, .5, 1), opacity .3s; }
.mb-front { position: absolute; left: 0; right: 0; bottom: 0; height: 62%; background: linear-gradient(90deg, rgba(0, 0, 0, .06), transparent 20% 80%, rgba(0, 0, 0, .08)), linear-gradient(var(--kraft), var(--kraft-d)); border-radius: 5px 5px 9px 9px; box-shadow: 0 14px 30px rgba(126, 85, 42, .35); display: grid; place-items: center; }
.mb-print { font: 800 17px/1 var(--f-display); letter-spacing: .14em; color: var(--kraft-dd); opacity: .8; }
.mb-tape { position: absolute; left: -4%; right: -4%; top: 30%; height: 30px; z-index: 2; background: var(--tape); display: grid; place-items: center; transform: scaleX(0) rotate(-2deg); transform-origin: left; transition: transform .5s cubic-bezier(.2, .8, .2, 1); box-shadow: 0 2px 6px rgba(0, 0, 0, .1); }
.mb-tape span { font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--kraft-dd); }
.minibox.cerrada .mb-tape { transform: scaleX(1) rotate(-2deg); }
.mb-stamp { position: absolute; z-index: 3; right: -14px; bottom: -8px; width: 88px; height: 88px; border-radius: 50%; border: 4px solid var(--k-red); color: var(--k-red); display: grid; place-items: center; text-align: center; font: 800 14px/1 var(--f-display); text-transform: uppercase; letter-spacing: .04em; background: rgba(255, 248, 236, .3); transform: scale(2.2) rotate(-24deg); opacity: 0; transition: transform .35s cubic-bezier(.5, 1.8, .6, 1), opacity .2s; box-shadow: inset 0 0 0 3px rgba(255, 248, 236, .6), inset 0 0 0 5px var(--k-red); }
.minibox.mega .mb-stamp { transform: scale(1) rotate(-14deg); opacity: .95; }

.meter { margin: 18px 0 0; }
.meter-bar { position: relative; height: 12px; border-radius: 99px; background: #fff; border: 1.5px solid var(--line-2); }
.meter-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--kraft) 0, var(--sun)); transition: width .6s cubic-bezier(.2, .8, .2, 1); }
.m-mark { position: absolute; left: var(--x); top: -4px; bottom: -4px; width: 2px; background: var(--ink); }
.meter-lbl { position: relative; height: 20px; margin-top: 6px; font-size: 12px; font-weight: 700; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.meter-lbl span { position: absolute; }
.meter-lbl span:nth-child(1) { left: 0; }
.meter-lbl span:nth-child(2) { transform: translateX(-50%); }
.meter-lbl span:nth-child(3) { right: 0; }
.caja-msg { margin: 8px 0 16px; font-weight: 700; font-size: 15.5px; text-align: center; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1.5px solid var(--line); }
.caja-msg b { font-variant-numeric: tabular-nums; }
.caja-msg.ok { background: #E7F5EC; border-color: #BFE3CC; color: var(--ok); }
.caja-msg.mega { background: var(--ink); border-color: var(--ink); color: #fff; }
.caja-msg.mega b { color: var(--sun); }

.caja-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ci { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; background: #fff; border: 1.5px solid var(--line); border-radius: 16px; padding: 10px; }
.ci img, .ci .ci-ph { width: 64px; height: 64px; object-fit: contain; border-radius: 10px; background: #fff; }
.ci-ph { background: var(--paper-2) !important; }
.ci-n { font-weight: 700; font-size: 14.5px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ci-sub { font-size: 12.5px; color: var(--ink-3); font-weight: 600; margin-top: 2px; }
.ci-row { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; gap: 8px; }
.ci-row .stepper { height: 36px; grid-template-columns: 36px 52px 36px; border-radius: 10px; }
.ci-row .stepper output { font-size: 14px; }
.ci-tot { font: 800 17px/1 var(--f-display); font-variant-numeric: tabular-nums; }
.ci-sug { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 8px; background: #FBF1E2; border-radius: 10px; padding: 7px 10px; font-size: 13px; font-weight: 600; color: var(--kraft-dd); }
.ci-sug button { border: 0; background: var(--kraft); color: #fff; font-weight: 800; font-size: 12.5px; padding: 6px 10px; border-radius: 8px; cursor: pointer; white-space: nowrap; }
.ci-ok { grid-column: 1 / -1; font-size: 12.5px; font-weight: 700; color: var(--ok); }

.caja-vacia { text-align: center; display: grid; gap: 8px; justify-items: center; padding: 6px 0 24px; }
.caja-vacia p:first-child { font: 800 22px/1.2 var(--f-display); }
.caja-vacia .btn { margin-top: 10px; }
.caja-foot { border-top: 1px solid var(--line); padding: 16px 22px calc(16px + env(safe-area-inset-bottom)); background: #fff; }
.tot { margin: 0 0 12px; display: grid; gap: 3px; font-size: 14px; }
.tot div { display: flex; justify-content: space-between; gap: 12px; }
.tot dt { color: var(--ink-2); }
.tot dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.tot div:nth-child(2) dd { font: 800 22px/1 var(--f-display); }
.tot-b dd, .tot-env dd { color: var(--ink-3); font-weight: 600 !important; }
.tot-b dt { color: var(--k-red); font-weight: 700; }
.pedido-campos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 16px 0 8px; padding: 14px; border-radius: 16px; background: #fff; border: 1.5px dashed var(--line-2); }
.pedido-campos p { grid-column: 1 / -1; font-weight: 700; font-size: 14px; }
.pedido-campos label { display: flex; flex-direction: column; gap: 4px; }
.pedido-campos label span { font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.pedido-campos input { height: 44px; border-radius: 12px; border: 1.5px solid var(--line-2); padding: 0 12px; background: var(--paper); outline: 0; min-width: 0; width: 100%; font-size: 15px; }
.pedido-campos input:focus { border-color: var(--blue); background: #fff; }
.pedido-nota { font-size: 12.5px; color: var(--ink-3); text-align: center; margin-top: 8px; }
.vaciar { display: block; margin: 8px auto 0; border: 0; background: none; color: var(--ink-3); font-size: 13px; font-weight: 600; text-decoration: underline; cursor: pointer; }

/* vuelo a la caja */
.vuelo { position: fixed; z-index: 90; width: 72px; height: 72px; object-fit: contain; background: #fff; border-radius: 14px; padding: 6px; box-shadow: var(--shadow); pointer-events: none; }

.toast { position: fixed; left: 50%; bottom: 96px; z-index: 95; transform: translate(-50%, 20px); opacity: 0; background: var(--ink); color: #fff; font-weight: 700; font-size: 14.5px; padding: 12px 18px; border-radius: 14px; box-shadow: var(--shadow-l); transition: opacity .2s, transform .2s; pointer-events: none; max-width: calc(100% - 32px); text-align: center; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.toast b { color: var(--sun); }

/* ---------- responsivo ---------- */
@media (max-width: 1120px) {
  .nav { display: none; }
  .pasos-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  :root { --gut: 20px; --header-h: 68px; }
  .hero { padding: 36px 0 56px; }
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hero-art { min-height: 400px; }
  .envios-in, .faq-in, .visita-in { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .footer-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .f-brand { grid-column: 1 / -1; }
  .tb-hide { display: none; }
}
@media (max-width: 720px) {
  :root { --gut: 16px; }
  .header-in { gap: 10px; }
  .header .search { display: none; }
  .logo { margin-right: auto; }
  .logo img { width: 48px; height: 48px; }
  .cart-btn { padding: 7px 14px 9px 10px; }
  .cart-meter { min-width: 60px; }
  .topbar p .tb-item:nth-child(2) { display: none; }
  .hero h1 { font-size: clamp(40px, 11vw, 56px); margin: 18px 0; }
  .hero-cta .btn { flex: 1 1 auto; }
  .hero-art { min-height: 0; display: block; }
  .bigbox { width: 84%; margin: 84px auto 0; }
  .guia { position: relative; right: auto; bottom: auto; width: 82%; margin: -36px 4px 0 auto; transform: rotate(2.5deg); }
  .firma { padding: 14px 16px; }
  .firma-nombre { font-size: 34px; }
  .pasos, .paquetes, .envios, .faq, .visita { padding: 64px 0; }
  .catalogo { padding: 48px 0 72px; }
  .pasos-grid { grid-template-columns: minmax(0, 1fr); }
  .paq-row { grid-auto-columns: 78%; }
  .filtros { position: relative; top: auto; padding-top: 10px; }
  .search-lg { height: 48px; flex-basis: 100%; }
  .selects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; gap: 6px; }
  .sel { min-width: 0; height: 48px; padding: 4px 24px 4px 10px; border-radius: 12px; }
  .sel::after { right: 9px; width: 6px; height: 6px; }
  .sel select { font-size: 13.5px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card { border-radius: 18px; }
  .card-img { --pad: 10px; }
  .card-body { padding: 10px 11px 12px; gap: 5px; }
  .card h3 { font-size: 14px; }
  .card-meta { font-size: 10.5px; }
  .card-meta .cod { display: none; }
  .pA b { font-size: 21px; }
  .pB { display: none; }
  .caja-linea { font-size: 12px; padding: 5px 8px; }
  .acciones { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .add { height: 40px; font-size: 13.5px; }
  .stepper { height: 40px; grid-template-columns: 38px 1fr 38px; }
  .badge { font-size: 10px; padding: 3px 7px; }
  .badges { top: 8px; left: 8px; }
  .card-q { top: 8px; right: 8px; }
  .visita-card { padding: 28px 22px; }
  .marcas-row { gap: 18px 32px; }
  .marcas-row img { height: 48px; }
  .barra-caja.on { display: block; }
  .propuesta { bottom: auto; top: auto; left: 10px; bottom: 10px; font-size: 11px; padding: 7px 10px; }
  body.con-barra .propuesta { bottom: 88px; }
  .footer { padding-bottom: 120px; }
  .footer-in { grid-template-columns: minmax(0, 1fr); }
  .pedido-campos { grid-template-columns: minmax(0, 1fr); }
  .toast { bottom: 100px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
