/* Mundoutlet Electro — colores del logo: azul profundo, celeste del globo y naranja "electro" */
:root {
  --azul: #1557a6;
  --azul-2: #0f4688;
  --noche: #0b2a55;
  --tinta: #0d1b2e;
  --celeste: #4aa3e8;
  --cielo: #dceefe;
  --naranja: #f29a1f;
  --naranja-2: #e07f00;
  --papel: #f4f7fb;
  --blanco: #ffffff;
  --gris: #5c6b80;
  --linea: rgb(13 27 46 / .12);
  --wa: #1fae5b;
  --r: 18px;
  --display: 'Archivo', 'Arial Narrow', system-ui, sans-serif;
  --sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gut: 16px;
  --nav-h: 64px;
}
@media (min-width: 640px) { :root { --gut: 24px; } }
@media (min-width: 1024px) { :root { --gut: 40px; --nav-h: 76px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
body { margin: 0; background: var(--papel); color: var(--tinta); font: 400 16px/1.55 var(--sans); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--naranja); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--azul); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 2 * var(--gut), 1320px); margin-inline: auto; }

/* ---------- Tipos ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: .6em; margin: 0 0 14px; font: 700 12px/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--azul); }
.eyebrow i { font-style: normal; color: var(--naranja); }
.eyebrow-light { color: var(--celeste); }
.h2 { margin: 0; font: 900 clamp(34px, 7.2vw, 76px)/.95 var(--display); font-stretch: 112%; letter-spacing: -.02em; text-transform: uppercase; text-wrap: balance; }
.h2-light { color: #fff; }
.hl { color: var(--azul); }
.hl-o { color: var(--naranja); }
.sec-sub { max-width: 52ch; margin: 18px 0 0; color: var(--gris); font-size: clamp(16px, 1.6vw, 18px); text-wrap: pretty; }
.sub-light { color: rgb(255 255 255 / .74); }
.sec { padding-block: clamp(72px, 11vw, 140px); }
.sec-head { margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head.row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 18px; }

/* ---------- Botones ---------- */
.ink-btn { --m: 40px; position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: 14px; min-height: 52px; padding: 6px 6px 6px 24px; border: 1.5px solid var(--tinta); border-radius: 999px; overflow: hidden; background: transparent; color: var(--tinta); font: 700 14px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; white-space: nowrap; transition: color .4s var(--ease), border-color .4s var(--ease); }
.ink-btn::before { content: ''; position: absolute; z-index: -1; top: 50%; right: calc(6px + var(--m) / 2); width: var(--m); height: var(--m); margin: calc(var(--m) / -2) calc(var(--m) / -2) 0 0; border-radius: 50%; background: var(--azul); transform: scale(0); transition: transform .65s var(--ease); }
.ink-mark { position: relative; display: grid; place-items: center; width: var(--m); height: var(--m); border-radius: 50%; background: var(--naranja); color: #fff; overflow: hidden; flex: none; }
.ink-mark svg { position: absolute; width: 46%; height: 46%; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease); }
.ink-mark svg + svg { transform: translateX(-170%); }
.ink-light { border-color: rgb(255 255 255 / .5); color: #fff; }
.ink-light::before { background: #fff; }
@media (hover: hover) {
  .ink-btn:hover { color: #fff; border-color: var(--azul); }
  .ink-light:hover { color: var(--noche); border-color: #fff; }
  .ink-btn:hover::before { transform: scale(16); }
  .ink-btn:hover .ink-mark svg:first-child { transform: translateX(170%); }
  .ink-btn:hover .ink-mark svg + svg { transform: none; }
}
.ghost-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 999px; background: rgb(255 255 255 / .16); border: 1.5px solid rgb(255 255 255 / .45); color: #fff; font: 700 14px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; transition: background .3s; }
.ghost-btn:hover { background: rgb(255 255 255 / .28); }
.ghost-btn.dark { background: transparent; border-color: var(--linea); color: var(--tinta); }
.ghost-btn.dark:hover { background: var(--cielo); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border: 0; border-radius: 14px; font-weight: 700; text-decoration: none; }
.btn-wa { background: var(--wa); color: #fff; }
.btn.wide { width: 100%; }
.round { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--linea); background: #fff; color: var(--tinta); transition: background .3s, color .3s; }
.round svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.round:hover { background: var(--azul); color: #fff; border-color: var(--azul); }
.link-arrow { font-weight: 700; color: var(--azul); text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }

/* ---------- Intro ---------- */
.splash { position: fixed; inset: 0; z-index: 400; display: none; flex-direction: column; justify-content: center; align-items: center; background: radial-gradient(120% 90% at 50% 40%, #1a64b8 0%, var(--noche) 70%); color: #fff; cursor: pointer; }
html.js .splash { display: flex; }
.splash-roles { position: absolute; top: 22px; left: var(--gut); margin: 0; font: 600 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: rgb(255 255 255 / .7); }
.splash-roles i { font-style: normal; color: var(--naranja); }
.splash-name { width: min(92vw, 1100px); overflow: visible; }
.sp-t1 { font: 900 168px var(--display); font-stretch: 112%; letter-spacing: -.01em; fill: #fff; }
.sp-t2 { font: 800 italic 64px var(--display); fill: var(--naranja); }
.sp-t1.fill { fill: #fff; }
.splash-skip { position: absolute; bottom: 26px; margin: 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgb(255 255 255 / .55); }
@media (prefers-reduced-motion: reduce) { html.js .splash { display: none; } }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h); transition: background .4s, box-shadow .4s, color .4s; color: #fff; }
.nav.solid { background: rgb(255 255 255 / .96); color: var(--tinta); box-shadow: 0 1px 0 var(--linea); }
.nav-in { height: 100%; display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand img { width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 0 0 2px rgb(255 255 255 / .6); }
.brand-t { position: relative; font: 900 22px/1 var(--display); font-stretch: 115%; text-transform: uppercase; letter-spacing: -.01em; }
.brand-t small { position: absolute; right: 0; top: 100%; margin-top: 1px; font: 700 italic 11px/1 var(--display); color: var(--naranja); text-transform: lowercase; letter-spacing: .04em; }
.globe-o { display: inline-block; width: .78em; height: .78em; margin: 0 .03em; border-radius: 50%; vertical-align: -.03em; background: radial-gradient(circle at 34% 30%, #8fd0ff 0 12%, var(--celeste) 30%, var(--azul) 72%); box-shadow: inset -2px -3px 0 rgb(0 0 0 / .18); }
.menu { display: none; gap: clamp(18px, 2.2vw, 34px); }
.menu a { text-decoration: none; font: 600 14px/1 var(--sans); letter-spacing: .05em; text-transform: uppercase; }
.roll { position: relative; display: inline-block; overflow: hidden; line-height: 1.3; }
.roll > span { display: block; transition: transform .5s var(--ease); }
.roll > span + span { position: absolute; inset: 0; transform: translateY(100%); color: var(--naranja); }
@media (hover: hover) { .menu a:hover .roll > span:first-child { transform: translateY(-100%); } .menu a:hover .roll > span + span { transform: none; } }
.status { display: none; align-items: center; gap: 8px; margin: 0; font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; opacity: .85; white-space: nowrap; }
.dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--naranja); }
.status.open .dot { background: #2fd27a; }
.dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: breathe 2.4s var(--ease) infinite; }
@keyframes breathe { 0% { opacity: .6; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(3); } }
.cart-btn { position: relative; display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1.5px solid currentColor; border-radius: 999px; background: transparent; font-weight: 700; font-size: 14px; }
.cart-btn svg { width: 22px; height: 22px; }
.cart-l { display: none; }
.cart-n { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: var(--naranja); color: #fff; font-size: 12px; }
.cart-n.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.45); } }
.burger { display: grid; place-content: center; gap: 6px; width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; }
.burger span { display: block; width: 22px; height: 2px; background: currentColor; transition: transform .4s var(--ease); }
.burger[aria-expanded='true'] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded='true'] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.sheet { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; justify-content: center; gap: 28px; padding: calc(var(--nav-h) + 20px) var(--gut) 32px; background: var(--noche); color: #fff; }
.sheet[hidden] { display: none; }
.sheet nav { display: grid; gap: 6px; }
.sheet nav a { font: 900 clamp(34px, 10vw, 54px)/1.05 var(--display); font-stretch: 110%; text-transform: uppercase; text-decoration: none; }
.sheet-addr { margin: 0; color: rgb(255 255 255 / .65); font-size: 14px; }
body.menu-open .nav { color: #fff; background: transparent; box-shadow: none; }
@media (min-width: 640px) { .cart-l { display: inline; } }
@media (min-width: 1024px) {
  .menu { display: flex; }
  .burger { display: none; }
  .brand { margin-right: 0; }
  .menu { margin-inline: auto; }
}
@media (min-width: 1280px) { .status { display: inline-flex; } }

/* ---------- Portada ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: clip; background: var(--noche); }
.hero-media { position: absolute; inset: 0; }
.hero-video { width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(11 42 85 / .55) 0%, rgb(11 42 85 / .15) 30%, rgb(11 42 85 / .55) 62%, rgb(8 30 62 / .94) 100%); }
.hero-in { position: relative; z-index: 2; padding: calc(var(--nav-h) + 28px) 0 34px; }
.hero-eyebrow { color: #fff; }
.pin { width: 9px; height: 9px; border-radius: 50%; background: var(--naranja); box-shadow: 0 0 0 4px rgb(242 154 31 / .3); }
.hero-name { margin: 0; font: 900 clamp(48px, 10.5vw, 200px)/.8 var(--display); font-stretch: 115%; letter-spacing: -.035em; text-transform: uppercase; }
.hn-line { display: block; }
.hn-1 { display: inline-block; white-space: nowrap; }
.hn-2 { margin-top: .08em; padding-right: .04em; text-align: right; font-size: .36em; font-style: italic; font-weight: 800; letter-spacing: .01em; text-transform: lowercase; color: var(--naranja); }
.hn-globe { display: inline-block; width: .74em; height: .74em; margin: 0 .02em; vertical-align: -.02em; }
.globe { display: block; width: 100%; height: 100%; border-radius: 50%; background:
  radial-gradient(circle at 32% 28%, rgb(255 255 255 / .55) 0 7%, transparent 22%),
  repeating-linear-gradient(90deg, transparent 0 18%, rgb(255 255 255 / .22) 18% 19.2%),
  radial-gradient(circle at 40% 40%, var(--celeste) 0%, var(--azul) 62%, var(--noche) 100%);
  background-size: 100% 100%, 200% 100%, 100% 100%;
  box-shadow: inset -.06em -.08em 0 rgb(0 0 0 / .25), 0 0 .3em rgb(74 163 232 / .5);
  animation: spin 9s linear infinite; }
@keyframes spin { to { background-position: 0 0, -200% 0, 0 0; } }
.hero-copy { display: grid; gap: 22px; margin-top: clamp(20px, 3vw, 34px); }
.hero-lead { max-width: 46ch; margin: 0; font-size: clamp(17px, 1.8vw, 21px); line-height: 1.45; color: rgb(255 255 255 / .88); }
.hero-lead strong { color: #fff; }
.hero-lead em { font-style: normal; color: var(--naranja); font-weight: 700; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .ink-btn { border-color: rgb(255 255 255 / .55); color: #fff; }
.hero .ink-btn::before { background: #fff; }
@media (hover: hover) { .hero .ink-btn:hover { color: var(--noche); border-color: #fff; } }
.hero-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; margin: 30px 0 0; padding: 22px 0 0; border-top: 1px solid rgb(255 255 255 / .2); list-style: none; }
.hero-stats li { display: grid; gap: 2px; }
.hero-stats b { font: 900 clamp(22px, 2.6vw, 30px)/1 var(--display); font-stretch: 110%; }
.hero-stats span { font-size: 13px; color: rgb(255 255 255 / .7); }
.hero-scroll { position: absolute; z-index: 2; right: var(--gut); bottom: 34px; display: none; width: 30px; height: 50px; border: 1.5px solid rgb(255 255 255 / .6); border-radius: 20px; }
.hero-scroll span { position: absolute; left: 50%; top: 9px; width: 4px; height: 9px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 60% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@media (min-width: 768px) {
  .hero-copy { grid-template-columns: 1fr auto; align-items: end; }
  .hero-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1024px) { .hero-scroll { display: block; } .hero-in { padding-bottom: 44px; } }

/* ---------- Ticker ---------- */
.ticker { overflow: hidden; background: var(--azul); color: #fff; padding: 16px 0; }
.ticker-track { display: flex; width: max-content; animation: tick 38s linear infinite; }
.ticker span { padding: 0 26px; font: 800 clamp(18px, 2.2vw, 26px)/1 var(--display); font-stretch: 105%; text-transform: uppercase; white-space: nowrap; opacity: .92; }
.ticker span::after { content: '✦'; margin-left: 52px; color: var(--naranja); font-size: .6em; vertical-align: .25em; }
.ticker .t-altior { color: var(--naranja); }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; flex-wrap: wrap; width: auto; } .ticker span[aria-hidden] { display: none; } }

/* ---------- Rubros ---------- */
.bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tile { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--cielo); text-decoration: none; color: #fff; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgb(11 42 85 / .88)); }
.tile-t { position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 14px; display: grid; gap: 2px; }
.tile-t b { font: 900 clamp(17px, 2vw, 26px)/1 var(--display); font-stretch: 108%; text-transform: uppercase; }
.tile-t small { font-size: 13px; color: rgb(255 255 255 / .8); }
.t-big { grid-column: span 2; aspect-ratio: 16 / 11; }
@media (hover: hover) { .tile:hover img { transform: scale(1.06); } }
@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr); gap: 16px; }
  .t-big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
}

/* ---------- Altior ---------- */
.altior { position: relative; background: var(--noche); color: #fff; padding-block: clamp(72px, 11vw, 120px); overflow: clip; }
.altior::before { content: 'ALTIOR'; position: absolute; left: -2vw; bottom: -4vw; font: 900 28vw/1 var(--display); font-stretch: 120%; color: rgb(255 255 255 / .035); pointer-events: none; }
.alt-in { position: relative; display: grid; gap: 28px; }
.alt-stage { display: none; }
.alt-steps { display: grid; gap: 18px; margin: 28px 0 0; padding: 0; list-style: none; }
.alt-step { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; padding: 18px; border-radius: var(--r); background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .1); }
.as-n { grid-row: span 2; font: 900 34px/1 var(--display); color: var(--naranja); }
.alt-step h3 { margin: 0; font: 800 22px/1.1 var(--display); font-stretch: 108%; text-transform: uppercase; }
.alt-step p { margin: 0; color: rgb(255 255 255 / .72); }
.as-m { grid-column: 1 / -1; margin: 10px 0 0; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; }
.as-m img { width: 100%; height: 100%; object-fit: cover; }
.alt-deal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; padding: 20px; border-radius: var(--r); background: linear-gradient(120deg, var(--azul), var(--azul-2)); }
.alt-deal p { display: grid; margin: 0; }
.alt-deal span { font-size: 14px; color: rgb(255 255 255 / .8); }
.alt-deal b { font: 900 clamp(32px, 4vw, 46px)/1 var(--display); color: #fff; }
@media (min-width: 1024px) {
  .alt-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
  .alt-stage { display: block; position: sticky; top: calc(var(--nav-h) + 24px); }
  .alt-frame { position: relative; aspect-ratio: 4 / 5; max-height: calc(100svh - var(--nav-h) - 60px); margin-inline: auto; border-radius: 26px; overflow: hidden; background: #071c3b; box-shadow: 0 40px 80px -30px rgb(0 0 0 / .6); }
  .alt-v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .8s var(--ease), transform 1.4s var(--ease); }
  .alt-v.is-on { opacity: 1; transform: none; }
  .alt-badge { position: absolute; left: 18px; top: 18px; padding: 8px 14px; border-radius: 99px; background: rgb(255 255 255 / .92); color: var(--azul); font: 900 15px/1 var(--display); font-stretch: 112%; }
  .alt-step-n { position: absolute; right: 18px; bottom: 16px; font: 700 13px/1 var(--sans); letter-spacing: .12em; color: rgb(255 255 255 / .8); }
  .alt-step-n b { font-size: 28px; color: #fff; font-family: var(--display); }
  .alt-steps { gap: 0; margin-top: 40px; }
  .alt-step { min-height: 42svh; align-content: center; background: none; border: 0; border-top: 1px solid rgb(255 255 255 / .14); border-radius: 0; padding: 26px 0; opacity: .35; transition: opacity .5s var(--ease); }
  .alt-step.is-on { opacity: 1; }
  .alt-step h3 { font-size: clamp(26px, 2.6vw, 38px); }
  .alt-step p { font-size: 18px; max-width: 40ch; }
  .as-m { display: none; }
}

/* ---------- Ofertas ---------- */
.of-in { display: grid; gap: 34px; align-items: center; }
.of-nav { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.of-count { font: 700 14px/1 var(--sans); letter-spacing: .1em; color: var(--gris); }
.of-count b { font: 900 26px var(--display); color: var(--tinta); }
.of-stage { position: relative; aspect-ratio: 4 / 5; max-width: 520px; width: 100%; margin-inline: auto; perspective: 1100px; }
.of-card { position: absolute; inset: 0; display: grid; grid-template-rows: 1fr auto; border-radius: 26px; overflow: hidden; background: #fff; box-shadow: 0 36px 70px -34px rgb(11 42 85 / .55); transform-style: preserve-3d; will-change: transform; }
.of-img { position: relative; overflow: hidden; }
.of-img img { width: 100%; height: 100%; object-fit: cover; }
.of-tag { position: absolute; left: 16px; top: 16px; padding: 8px 12px; border-radius: 99px; background: var(--naranja); color: #fff; font: 800 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.of-body { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px 20px; }
.of-body h3 { margin: 0; font: 800 19px/1.15 var(--display); font-stretch: 105%; text-transform: uppercase; }
.of-body p { margin: 4px 0 0; font: 900 30px/1 var(--display); color: var(--azul); }
.add-mini { flex: none; display: grid; place-items: center; width: 54px; height: 54px; border: 0; border-radius: 50%; background: var(--naranja); color: #fff; box-shadow: 0 10px 20px -8px rgb(242 154 31 / .8); transition: transform .3s var(--ease), background .3s; }
.add-mini svg { width: 24px; stroke: currentColor; stroke-width: 2.6; fill: none; stroke-linecap: round; }
.add-mini:hover { transform: scale(1.08); background: var(--naranja-2); }
@media (min-width: 900px) { .of-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* ---------- Catálogo ---------- */
.catalogo { background: #fff; }
.tools { position: sticky; top: var(--nav-h); z-index: 20; display: grid; gap: 12px; margin: 0 calc(var(--gut) * -1) 18px; padding: 12px var(--gut); background: rgb(255 255 255 / .97); border-bottom: 1px solid var(--linea); }
.search { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 16px; border-radius: 14px; background: var(--papel); border: 1.5px solid transparent; }
.search:focus-within { border-color: var(--azul); }
.search svg { width: 20px; flex: none; fill: none; stroke: var(--gris); stroke-width: 2.2; stroke-linecap: round; }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 16px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut); touch-action: pan-x pan-y; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 44px; padding: 0 16px; border-radius: 99px; border: 1.5px solid var(--linea); background: #fff; font-weight: 600; font-size: 14px; white-space: nowrap; transition: background .25s, color .25s, border-color .25s; }
.chip[aria-selected='true'] { background: var(--azul); border-color: var(--azul); color: #fff; }
.chip small { margin-left: 6px; opacity: .6; font-size: 12px; }
.tools-row { display: flex; flex-wrap: wrap; gap: 8px; }
.sel { position: relative; display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border-radius: 12px; background: var(--papel); font-size: 13px; font-weight: 600; color: var(--gris); }
.sel select { min-height: 44px; border: 0; background: transparent; font-weight: 700; color: var(--tinta); font-size: 14px; outline: 0; }
.tog { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border-radius: 12px; background: var(--papel); font-size: 14px; font-weight: 600; cursor: pointer; }
.tog input { width: 18px; height: 18px; accent-color: var(--azul); }
.results { margin: 0 0 16px; color: var(--gris); font-size: 14px; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.card { display: flex; flex-direction: column; border-radius: var(--r); background: var(--papel); overflow: hidden; border: 1px solid var(--linea); transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.card-img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--cielo); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.badges { position: absolute; left: 8px; top: 8px; display: flex; flex-wrap: wrap; gap: 4px; }
.badge { padding: 5px 8px; border-radius: 99px; font: 800 10px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; background: #fff; color: var(--azul); }
.badge.altior { background: var(--azul); color: #fff; }
.badge.oferta { background: var(--naranja); color: #fff; }
.badge.nuevo { background: #fff; color: var(--naranja-2); }
.badge.mayorista { background: var(--noche); color: #fff; }
.card-b { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 12px; }
.card h3 { margin: 0; font: 700 15px/1.25 var(--sans); }
.card-d { margin: 0; font-size: 13px; color: var(--gris); line-height: 1.4; display: none; }
.vars { display: flex; flex-wrap: wrap; gap: 4px; }
.var { min-height: 34px; padding: 0 9px; border-radius: 8px; border: 1.5px solid var(--linea); background: #fff; font-size: 12px; font-weight: 700; }
.var[aria-pressed='true'] { border-color: var(--azul); background: var(--cielo); color: var(--azul); }
.card-f { margin-top: auto; display: flex; align-items: end; justify-content: space-between; gap: 8px; }
.price { display: grid; font: 900 21px/1 var(--display); font-stretch: 104%; color: var(--azul); }
.price small { font: 600 11px/1.3 var(--sans); color: var(--gris); letter-spacing: .02em; }
.price.ask { font: 700 13px/1.2 var(--sans); color: var(--naranja-2); }
.add { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--azul); color: #fff; transition: background .3s, transform .3s var(--ease); }
.add svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
.add:hover { background: var(--naranja); }
.add.ok { background: var(--wa); }
.empty { grid-column: 1 / -1; padding: 40px 0; text-align: center; color: var(--gris); }
@media (hover: hover) { .card:hover { box-shadow: 0 24px 40px -26px rgb(11 42 85 / .45); transform: translateY(-4px); } .card:hover .card-img img { transform: scale(1.05); } }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } .card-d { display: block; } .card h3 { font-size: 16px; } .card-b { padding: 14px 16px 16px; } }
@media (min-width: 1100px) {
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .tools { grid-template-columns: minmax(260px, 340px) 1fr; align-items: center; margin-inline: 0; padding-inline: 0; }
  .chips { margin: 0; padding: 0; flex-wrap: wrap; }
  .tools-row { grid-column: 1 / -1; }
}

/* ---------- Pedido listo (teléfono) ---------- */
.llega { background: linear-gradient(160deg, var(--azul) 0%, var(--noche) 75%); color: #fff; overflow: clip; }
.ll-in { display: grid; gap: 42px; align-items: center; }
.ll-list { display: grid; gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; font-size: 17px; color: rgb(255 255 255 / .86); }
.ll-list li { display: flex; gap: 14px; align-items: baseline; }
.ll-list b { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--naranja); color: #fff; font-family: var(--display); }
.phone { justify-self: center; width: min(100%, 360px); border-radius: 36px; padding: 12px; background: #06152c; box-shadow: 0 50px 90px -40px rgb(0 0 0 / .7), inset 0 0 0 2px rgb(255 255 255 / .1); }
.ph-top { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 26px 26px 0 0; background: #0f5c4c; }
.ph-top img { width: 32px; height: 32px; border-radius: 50%; }
.ph-top span { display: grid; line-height: 1.2; }
.ph-top small { font-size: 12px; opacity: .8; }
.ph-body { display: flex; flex-direction: column; gap: 10px; min-height: 340px; padding: 16px 12px 20px; border-radius: 0 0 26px 26px; background: #e9e1d6 repeating-linear-gradient(45deg, transparent 0 14px, rgb(0 0 0 / .02) 14px 15px); color: #10221c; }
.bubble { position: relative; max-width: 88%; padding: 10px 12px 18px; border-radius: 12px; font-size: 14px; line-height: 1.45; white-space: pre-wrap; box-shadow: 0 1px 1px rgb(0 0 0 / .1); }
.bubble.out { align-self: flex-end; background: #d9fdd3; border-top-right-radius: 4px; min-height: 40px; }
.bubble.in { align-self: flex-start; background: #fff; border-top-left-radius: 4px; padding-bottom: 10px; }
.ticks { position: absolute; right: 8px; bottom: 4px; font-size: 11px; font-style: normal; color: #8796a0; }
.ticks.read { color: #34b7f1; }
.caret { display: inline-block; width: 2px; height: 1em; margin-left: 1px; vertical-align: -.15em; background: #10221c; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (min-width: 900px) { .ll-in { grid-template-columns: minmax(0, 1fr) auto; } }

/* ---------- Reels ---------- */
.reels { padding-bottom: clamp(60px, 9vw, 110px); }
.reel-rail { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gut) 18px; scrollbar-width: none; touch-action: pan-x pan-y; }
.reel-rail::-webkit-scrollbar { display: none; }
.reel { position: relative; flex: none; width: min(62vw, 270px); aspect-ratio: 9 / 16; margin: 0; border-radius: 22px; overflow: hidden; background: var(--noche); scroll-snap-align: center; }
.reel video { width: 100%; height: 100%; object-fit: cover; }
.reel figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 8px 12px; border-radius: 12px; background: rgb(11 42 85 / .82); color: #fff; font-size: 13px; font-weight: 700; }
@media (min-width: 1320px) { .reel-rail { padding-inline: calc((100vw - 1320px) / 2); } }

/* ---------- Mayoristas ---------- */
.mayor { background: var(--cielo); }
.ma-in { display: grid; gap: 34px; }
.ma-copy .ink-btn { margin-top: 28px; }
.ma-copy .h2, .ubi-copy .h2, .of-copy .h2, .ll-copy .h2 { font-size: clamp(32px, 6vw, 62px); }
.ma-cards { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.ma-cards li { display: grid; gap: 6px; padding: 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--linea); }
.ma-cards b { font: 800 20px/1.1 var(--display); font-stretch: 106%; text-transform: uppercase; color: var(--azul); }
.ma-cards span { color: var(--gris); }
@media (min-width: 900px) { .ma-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; } .ma-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Muro ---------- */
.muro { overflow: hidden; padding: 26px 0; background: var(--noche); }
.muro-track { display: flex; gap: 14px; width: max-content; animation: tick 60s linear infinite; }
.muro img { width: 168px; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 14px; }
@media (min-width: 900px) { .muro img { width: 220px; } }
@media (prefers-reduced-motion: reduce) { .muro-track { animation: none; overflow-x: auto; width: auto; } }

/* ---------- Ubicación ---------- */
.ubi-in { display: grid; gap: 40px; }
.rating { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; margin-top: 30px; padding: 20px; border-radius: var(--r); background: #fff; border: 1px solid var(--linea); }
.r-big { display: grid; gap: 4px; }
.r-big b { font: 900 46px/1 var(--display); color: var(--azul); }
.r-big small { color: var(--gris); font-size: 13px; }
.stars { position: relative; width: 110px; height: 20px; background: linear-gradient(90deg, #d6dde7 0 100%); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 110 20'%3E%3Cg fill='%23000'%3E%3Cpath id='s' d='M10 1l2.7 5.6 6.1.9-4.4 4.3 1 6.1L10 15l-5.4 2.9 1-6.1L1.2 7.5l6.1-.9z'/%3E%3Cuse href='%23s' x='22'/%3E%3Cuse href='%23s' x='44'/%3E%3Cuse href='%23s' x='66'/%3E%3Cuse href='%23s' x='88'/%3E%3C/g%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 110 20'%3E%3Cg fill='%23000'%3E%3Cpath id='s' d='M10 1l2.7 5.6 6.1.9-4.4 4.3 1 6.1L10 15l-5.4 2.9 1-6.1L1.2 7.5l6.1-.9z'/%3E%3Cuse href='%23s' x='22'/%3E%3Cuse href='%23s' x='44'/%3E%3Cuse href='%23s' x='66'/%3E%3Cuse href='%23s' x='88'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; }
.stars i { position: absolute; inset: 0 auto 0 0; width: var(--f); background: var(--naranja); }
.r-tags { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 15px; color: var(--gris); }
.r-tags b { font-family: var(--display); color: var(--tinta); font-size: 18px; margin-right: 4px; }
.r-tags em { font-style: normal; color: var(--azul); font-weight: 700; }
.hours { width: 100%; margin-top: 22px; border-collapse: collapse; font-size: 15px; }
.hours th, .hours td { padding: 11px 0; border-bottom: 1px solid var(--linea); text-align: left; font-weight: 500; }
.hours td { text-align: right; color: var(--gris); }
.hours tr.today th, .hours tr.today td { color: var(--azul); font-weight: 800; }
.hours tr.today th::after { content: ' · hoy'; color: var(--naranja); font-weight: 700; }
.ubi-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.ubi-media { display: grid; gap: 14px; }
.ubi-photo { margin: 0; aspect-ratio: 1; border-radius: 22px; overflow: hidden; }
.ubi-photo img { width: 100%; height: 100%; object-fit: cover; }
.map { position: relative; aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden; background: linear-gradient(135deg, var(--cielo), #fff); border: 1px solid var(--linea); }
.map iframe { width: 100%; height: 100%; border: 0; }
.map-btn { position: absolute; inset: 0; display: grid; place-items: center; border: 0; background: repeating-linear-gradient(0deg, transparent 0 38px, rgb(21 87 166 / .07) 38px 39px), repeating-linear-gradient(90deg, transparent 0 38px, rgb(21 87 166 / .07) 38px 39px); }
.map-btn span { padding: 14px 22px; border-radius: 99px; background: var(--azul); color: #fff; font-weight: 700; }
@media (min-width: 1000px) { .ubi-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } .ubi-media { grid-template-columns: 1fr; position: sticky; top: calc(var(--nav-h) + 24px); } .map { aspect-ratio: 16 / 9; } .ubi-photo { aspect-ratio: 16 / 10; } }

/* ---------- Footer ---------- */
.foot { padding: 56px 0 120px; background: var(--tinta); color: rgb(255 255 255 / .75); font-size: 14px; }
.foot-in { display: grid; gap: 28px; }
.foot-brand { display: flex; gap: 16px; align-items: center; }
.foot-brand img { width: 64px; height: 64px; border-radius: 50%; }
.foot-brand p { margin: 0; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot-nav a { color: #fff; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.foot-note { margin: 0; font-size: 12px; color: rgb(255 255 255 / .5); max-width: 70ch; }
@media (min-width: 900px) { .foot { padding-bottom: 56px; } .foot-in { grid-template-columns: 1fr auto; align-items: center; } .foot-note { grid-column: 1 / -1; } }

/* ---------- Flotantes ---------- */
.fab { position: fixed; z-index: 80; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: flex; gap: 10px; justify-content: flex-end; pointer-events: none; }
.fab > * { pointer-events: auto; }
.fab-cart { display: none; align-items: center; gap: 10px; flex: 1; min-height: 56px; padding: 0 18px; border: 0; border-radius: 16px; background: var(--azul); color: #fff; font-weight: 700; box-shadow: 0 16px 30px -14px rgb(11 42 85 / .7); }
.fab-cart.show { display: flex; }
.fab-cart b { display: grid; place-items: center; min-width: 26px; height: 26px; border-radius: 99px; background: var(--naranja); font-size: 13px; }
.fab-cart em { margin-left: auto; font-style: normal; font-family: var(--display); font-size: 18px; }
.fab-wa { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 16px 30px -14px rgb(0 0 0 / .5); }
.fab-wa svg { width: 30px; }
@media (min-width: 1024px) { .fab-cart { display: none !important; } .fab { left: auto; right: 24px; bottom: 24px; } }

/* ---------- Pedido ---------- */
.drawer { position: fixed; inset: 0; z-index: 200; }
.drawer[hidden] { display: none; }
.dr-back { position: absolute; inset: 0; background: rgb(6 21 44 / .55); }
.dr-panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(100%, 460px); display: flex; flex-direction: column; background: #fff; box-shadow: -30px 0 60px -30px rgb(0 0 0 / .5); }
.dr-head { display: flex; align-items: center; justify-content: space-between; padding: 16px var(--gut); border-bottom: 1px solid var(--linea); }
.dr-head h2 { margin: 0; font: 900 26px/1 var(--display); font-stretch: 110%; text-transform: uppercase; }
.dr-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 16px var(--gut); }
.dr-list { display: grid; gap: 10px; margin: 0 0 18px; padding: 0; list-style: none; }
.dr-item { display: grid; grid-template-columns: 60px 1fr auto; gap: 12px; align-items: center; padding: 8px; border-radius: 14px; background: var(--papel); }
.dr-item img { width: 60px; height: 75px; object-fit: cover; border-radius: 10px; }
.dr-item h3 { margin: 0; font-size: 14px; line-height: 1.25; }
.dr-item small { display: block; color: var(--gris); font-size: 12px; margin-top: 2px; }
.dr-item .p { font-weight: 800; color: var(--azul); font-size: 14px; }
.qty { display: flex; align-items: center; gap: 2px; border-radius: 10px; background: #fff; border: 1px solid var(--linea); }
.qty button { width: 36px; height: 40px; border: 0; background: none; font-size: 18px; font-weight: 700; }
.qty span { min-width: 18px; text-align: center; font-weight: 700; }
.dr-empty { margin: 0 0 18px; padding: 18px; border-radius: 14px; background: var(--cielo); color: var(--azul-2); font-size: 14px; }
.dr-form { display: grid; gap: 14px; }
.fld { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--gris); }
.fld[hidden] { display: none; }
.fld input, .fld select, .fld textarea { min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--linea); background: #fff; font-size: 16px; font-weight: 500; color: var(--tinta); }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: 0; border-color: var(--azul); }
.fld input.bad { border-color: #d64545; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; padding: 0; border: 0; }
.seg legend { margin-bottom: 6px; font-size: 13px; font-weight: 700; color: var(--gris); }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: grid; place-items: center; min-height: 48px; padding: 6px; border-radius: 12px; border: 1.5px solid var(--linea); font-size: 14px; font-weight: 700; text-align: center; }
.seg input:checked + span { border-color: var(--azul); background: var(--cielo); color: var(--azul); }
.seg input:focus-visible + span { outline: 3px solid var(--naranja); }
.dr-foot { padding: 14px var(--gut) calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--linea); }
.dr-total { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 4px; }
.dr-total b { font: 900 26px/1 var(--display); color: var(--azul); }
.dr-hint { margin: 0 0 10px; font-size: 12px; color: var(--gris); min-height: 1em; }

/* ---------- Toast y cursor ---------- */
.toast { position: fixed; z-index: 250; left: 50%; bottom: calc(86px + env(safe-area-inset-bottom)); padding: 12px 18px; border-radius: 99px; background: var(--tinta); color: #fff; font-size: 14px; font-weight: 600; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: transform .45s var(--ease), opacity .45s var(--ease); white-space: nowrap; max-width: calc(100vw - 32px); overflow: hidden; text-overflow: ellipsis; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
@media (min-width: 1024px) { .toast { bottom: 32px; } }
.cursor { position: fixed; left: 0; top: 0; z-index: 500; display: none; place-items: center; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--naranja); box-shadow: 0 0 0 2px #fff; pointer-events: none; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease); }
.cursor span { font: 800 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #fff; opacity: 0; transition: opacity .2s; }
.cursor.big { width: 74px; height: 74px; margin: -37px 0 0 -37px; }
.cursor.big span { opacity: 1; }
@media (hover: hover) and (pointer: fine) { html.has-cursor .cursor { display: grid; } }
@media (prefers-reduced-motion: reduce) { html.has-cursor .cursor { display: none; } }

/* Estado inicial de las animaciones (solo con JS y movimiento permitido) */
html.motion [data-reveal], html.motion [data-reveal-item] { opacity: 0; }

/* ---------- Ajustes de celular ---------- */
.brand-t { white-space: nowrap; font-size: clamp(17px, 4.8vw, 22px); }
@media (max-width: 1099px) {
  .tools { position: static; margin-inline: 0; padding: 0 0 12px; background: none; }
  .tools-row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut); }
  .tools-row::-webkit-scrollbar { display: none; }
  .tools-row > * { flex: none; }
}
@media (max-width: 359px) { .brand-t small { display: none; } .cart-btn { padding: 0 10px; } }
.var { min-height: 40px; padding: 0 10px; }
.qty button { width: 44px; height: 44px; }
.burger { width: 46px; height: 46px; }
.sheet nav a { padding-block: 4px; }
.burger { flex: none; }

/* Rendimiento: el globo gira con transform (sin repintar) y las cintas se pausan fuera de pantalla */
.globe { position: relative; overflow: hidden; animation: none; background: radial-gradient(circle at 32% 28%, rgb(255 255 255 / .55) 0 7%, transparent 22%), radial-gradient(circle at 40% 40%, var(--celeste) 0%, var(--azul) 62%, var(--noche) 100%); }
.globe::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 200%; background: repeating-linear-gradient(90deg, transparent 0 9%, rgb(255 255 255 / .24) 9% 9.6%); animation: meridian 9s linear infinite; will-change: transform; }
@keyframes meridian { to { transform: translateX(-50%); } }
.paused, .paused * { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) { .globe::before { animation: none; } }
@media (pointer: coarse) {
  .card, .ma-cards li { content-visibility: auto; contain-intrinsic-block-size: auto 420px; }
  .of-card, .phone { box-shadow: 0 20px 40px -24px rgb(11 42 85 / .5); }
}
@media (max-width: 639px) {
  .vars { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -12px; padding-inline: 12px; touch-action: pan-x pan-y; }
  .vars::-webkit-scrollbar { display: none; }
  .var { flex: none; font-size: 11.5px; padding: 0 8px; }
}
