/* ==========================================================================
   Impor Prime 502 — Prototipo visual de la página de inicio
   Tokens basados en el manual de marca. Este archivo servirá de base para
   los estilos del tema hijo de WordPress.
   ========================================================================== */

@font-face { font-family: "Poppins"; font-weight: 400; font-display: swap; src: url("../fonts/Poppins-Regular.ttf") format("truetype"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url("../fonts/Poppins-Medium.ttf") format("truetype"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url("../fonts/Poppins-SemiBold.ttf") format("truetype"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-display: swap; src: url("../fonts/Poppins-Bold.ttf") format("truetype"); }
@font-face { font-family: "Poppins"; font-weight: 800; font-display: swap; src: url("../fonts/Poppins-ExtraBold.ttf") format("truetype"); }

:root {
  /* Marca (manual oficial) */
  --ip-orange: #FF3F01;
  --ip-red: #FC1906;
  --ip-black: #000000;
  --ip-white: #FFFFFF;
  --ip-gradient: linear-gradient(100deg, var(--ip-orange) 0%, var(--ip-red) 100%);
  --ip-wa: #25D366; /* Solo para identificar WhatsApp */

  /* Neutros de interfaz (derivados del negro y blanco) */
  --ip-ink: #0B0B0C;
  --ip-ink-2: #141416;
  --ip-ink-3: #1E1E21;
  --ip-text: #121214;
  --ip-muted: #5F6168;
  --ip-line: #E6E6EA;
  --ip-surface: #F5F5F7;
  --ip-surface-2: #EDEDF0;

  --ip-radius-sm: 10px;
  --ip-radius: 16px;
  --ip-radius-lg: 24px;
  --ip-shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.06);
  --ip-shadow-lg: 0 20px 50px rgba(0,0,0,.12);
  --ip-container: 1280px;
  --ip-gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ip-text);
  background: var(--ip-white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ip-orange); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--ip-container); margin: 0 auto; padding: 0 var(--ip-gutter); }
.icon { width: 22px; height: 22px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* --------------------------------------------------------------------------
   Aviso de prototipo
   -------------------------------------------------------------------------- */
.proto-note {
  background: #FFF4EF;
  color: #7A2200;
  font-size: 12.5px;
  text-align: center;
  padding: 7px var(--ip-gutter);
  border-bottom: 1px solid #FFD9CA;
}

/* --------------------------------------------------------------------------
   Barra superior
   -------------------------------------------------------------------------- */
.topbar { background: var(--ip-black); color: rgba(255,255,255,.82); font-size: 12.5px; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar__items { display: flex; gap: 28px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.topbar__item .icon { width: 16px; height: 16px; color: var(--ip-orange); }
.topbar__links { display: flex; gap: 20px; }
.topbar__links a:hover { color: var(--ip-white); }

/* --------------------------------------------------------------------------
   Cabecera
   -------------------------------------------------------------------------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--ip-line); transition: box-shadow .2s; }
.header.is-scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.07); }
.header__main { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; padding-top: 14px; padding-bottom: 14px; }
.header__logo img { width: 156px; }
.header__menu-btn { display: none; }

.search { display: flex; align-items: stretch; height: 50px; border: 2px solid var(--ip-black); border-radius: 999px; overflow: hidden; background: var(--ip-white); max-width: 720px; width: 100%; justify-self: center; transition: border-color .15s, box-shadow .15s; }
.search:focus-within { border-color: var(--ip-orange); box-shadow: 0 0 0 4px rgba(255,63,1,.14); }
.search select { border: 0; background: var(--ip-surface); padding: 0 34px 0 20px; font-size: 13.5px; font-weight: 500; appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; border-right: 1px solid var(--ip-line); }
.search select:focus-visible, .search input:focus-visible { outline: none; }
.search input { flex: 1; min-width: 0; border: 0; padding: 0 18px; font-size: 14.5px; background: transparent; }
.search input::placeholder { color: #8A8C93; }
.search button { border: 0; margin: 4px; padding: 0 22px; border-radius: 999px; background: var(--ip-gradient); color: var(--ip-white); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; transition: filter .15s; }
.search button:hover { filter: brightness(1.06); }
.search button .icon { width: 19px; height: 19px; stroke-width: 2.2; }

.header__actions { display: flex; align-items: center; gap: 6px; }
.action { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; font-size: 13px; line-height: 1.25; transition: background .15s; background: none; border: 0; cursor: pointer; }
.action:hover { background: var(--ip-surface); }
.action small { display: block; color: var(--ip-muted); font-size: 11.5px; }
.action strong { font-weight: 600; }
.action .icon { width: 26px; height: 26px; stroke-width: 1.6; }
.action__count { position: absolute; top: 2px; left: 28px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--ip-orange); color: var(--ip-white); font-size: 11px; font-weight: 700; display: grid; place-items: center; border: 2px solid var(--ip-white); }

/* Navegación */
.nav { border-top: 1px solid var(--ip-line); }
.nav .container { display: flex; align-items: center; gap: 8px; min-height: 52px; }
.nav__all { display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 18px; border-radius: 999px; background: var(--ip-black); color: var(--ip-white); font-weight: 600; font-size: 13.5px; border: 0; cursor: pointer; margin-right: 10px; white-space: nowrap; flex: none; }
.nav__all .icon { width: 18px; height: 18px; }
.nav__links { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.nav__links::-webkit-scrollbar { display: none; }
.nav__links a { display: block; padding: 8px 11px; border-radius: 999px; font-size: 13.5px; font-weight: 500; white-space: nowrap; transition: background .15s, color .15s; }
.nav__links a:hover { background: var(--ip-surface); }
.nav__links a.is-accent { color: var(--ip-red); font-weight: 600; }
.nav__help { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; color: var(--ip-muted); white-space: nowrap; }
.nav__help .icon { width: 18px; height: 18px; color: var(--ip-orange); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 600; font-size: 15px; border: 0; cursor: pointer; transition: transform .15s, filter .15s, background .15s, border-color .15s; white-space: nowrap; }
.btn .icon { width: 18px; height: 18px; stroke-width: 2.2; transition: transform .15s; }
.btn:hover .icon { transform: translateX(3px); }
.btn--primary { background: var(--ip-gradient); color: var(--ip-white); box-shadow: 0 10px 30px rgba(255,63,1,.35); }
.btn--primary:hover { filter: brightness(1.07); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ip-white); border: 1.5px solid rgba(255,255,255,.28); }
.btn--ghost:hover { border-color: var(--ip-white); background: rgba(255,255,255,.06); }
.btn--dark { background: var(--ip-black); color: var(--ip-white); }
.btn--dark:hover { background: var(--ip-ink-3); }
.btn--light { background: var(--ip-white); color: var(--ip-black); }
.btn--light:hover { transform: translateY(-1px); }
.btn--wa { background: rgba(255,255,255,.04); color: var(--ip-white); border: 1.5px solid rgba(255,255,255,.22); }
.btn--wa .icon { width: 20px; height: 20px; color: var(--ip-wa); stroke-width: 1.9; }
.btn--wa:hover { border-color: var(--ip-wa); background: rgba(37,211,102,.08); }
.btn--wa:hover .icon { transform: none; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Hero: estructura comercial (mensaje + mosaico) con acabados premium.
   Completamente estático: el impacto viene de la luz, la profundidad y la composición. */
.hero { position: relative; overflow: hidden; isolation: isolate; color: var(--ip-white); background: #030303; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(38% 55% at 66% 78%, rgba(255,63,1,.30) 0%, rgba(252,25,6,.10) 45%, transparent 75%),
    radial-gradient(30% 45% at 4% 100%, rgba(255,63,1,.16) 0%, transparent 70%),
    radial-gradient(60% 45% at 50% -10%, rgba(255,255,255,.06) 0%, transparent 70%),
    linear-gradient(180deg, #0B0B0C 0%, #040404 70%, #000 100%); }
/* Haz de luz detrás del mosaico */
.hero::after { content: ""; position: absolute; z-index: -1; left: 62%; top: -10%; width: 560px; height: 95%; transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(255,63,1,0) 0%, rgba(255,63,1,.09) 55%, rgba(255,63,1,0) 100%);
  clip-path: polygon(40% 0, 60% 0, 100% 100%, 0 100%); filter: blur(22px); pointer-events: none; }

.hero__grid { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.18fr); gap: 20px; padding-top: 32px; padding-bottom: 32px; }

/* Columna del mensaje */
.hero__main { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 48px 48px 36px; border-radius: var(--ip-radius-lg);
  background: linear-gradient(165deg, rgba(30,30,33,.92) 0%, rgba(14,14,16,.92) 60%, rgba(10,10,11,.92) 100%);
  border: 1px solid rgba(255,255,255,.08); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 40px 80px rgba(0,0,0,.45); }
.hero__main::before { content: ""; position: absolute; right: -140px; top: -140px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,63,1,.26), transparent); }
.hero__main::after { content: ""; position: absolute; left: 48px; right: 48px; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,63,1,.7), transparent); }
.hero__main > * { position: relative; }
.hero__kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.hero__kicker::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--ip-gradient); }
.hero h1 { margin: 20px 0 18px; font-size: clamp(36px, 3.55vw, 52px); line-height: 1.06; letter-spacing: -.03em; font-weight: 800; }
.hero h1 .l { display: block; white-space: nowrap; }
.hero h1 .hl { background: var(--ip-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { margin: 0 0 30px; max-width: 460px; font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.7); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* Mosaico de categorías */
.hero__tiles { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 20px; min-height: 500px; }
.tile { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; padding: 26px; border-radius: var(--ip-radius-lg);
  background: linear-gradient(180deg, #17171A 0%, #0C0C0E 100%); border: 1px solid rgba(255,255,255,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 30px 60px rgba(0,0,0,.4); transition: border-color .2s; }
.tile:hover { border-color: rgba(255,63,1,.55); }
.tile::before { content: ""; position: absolute; z-index: -1; right: -25%; bottom: -45%; width: 85%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,63,1,.30), transparent); }
.tile--big { grid-row: span 2; }
.tile--big::before { left: -5%; right: -5%; bottom: -12%; width: auto; aspect-ratio: 1.7; background: radial-gradient(closest-side, rgba(255,63,1,.45), rgba(252,25,6,.12) 55%, transparent); }
.tile__tag { align-self: flex-start; padding: 5px 12px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.82); border: 1px solid rgba(255,255,255,.22); }
.tile__tag--solid { background: var(--ip-gradient); border-color: transparent; color: var(--ip-white); }
.tile h2 { margin: 14px 0 4px; font-size: 24px; line-height: 1.12; letter-spacing: -.02em; }
.tile--big h2 { font-size: 34px; }
.tile p { margin: 0; font-size: 13.5px; color: rgba(255,255,255,.6); }
.tile__copy { position: relative; z-index: 2; }
.tile__media { position: relative; flex: 1; display: flex; align-items: flex-end; justify-content: center; min-height: 120px; }
.tile__media img { position: relative; z-index: 1; height: auto; filter: drop-shadow(0 28px 30px rgba(0,0,0,.7));
  -webkit-box-reflect: below 1px linear-gradient(transparent 76%, rgba(255,255,255,.14)); }
.tile__floor { position: absolute; left: 6%; right: 6%; bottom: 0; height: 1px; z-index: 2; background: linear-gradient(90deg, transparent, rgba(255,63,1,.75), transparent); box-shadow: 0 0 24px 3px rgba(255,63,1,.35); }
.tile--big .tile__media { margin: 10px -14px 26px; }
.tile--big .tile__media img { width: 100%; }
.tile--side .tile__media { position: absolute; right: 26px; bottom: 84px; width: 38%; min-height: 0; z-index: 0; }
.tile--side .tile__media img { width: 100%; }
.tile--side .tile__copy { max-width: 72%; }
.tile--pair .tile__media { margin-bottom: 26px; gap: 4%; }
.tile--pair .tile__media img:nth-of-type(1) { width: 54%; }
.tile--pair .tile__media img:nth-of-type(2) { width: 40%; }
.tile__foot { position: relative; z-index: 2; display: flex; justify-content: flex-end; }
.tile__go { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.tile__go .icon { width: 36px; height: 36px; padding: 9px; border-radius: 50%; background: var(--ip-white); color: var(--ip-black); stroke-width: 2.2; transition: background .2s, color .2s; }
.tile:hover .tile__go .icon { background: var(--ip-orange); color: var(--ip-white); }

/* Barra de beneficios integrada al hero */
.hero__bar { border-top: 1px solid rgba(255,255,255,.08); background: rgba(0,0,0,.55); }
.hero__bar .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.hero__benefit { display: flex; align-items: center; gap: 14px; padding: 24px 22px; font-size: 14px; font-weight: 600; line-height: 1.35; }
.hero__benefit + .hero__benefit { border-left: 1px solid rgba(255,255,255,.08); }
.hero__benefit .icon { width: 42px; height: 42px; padding: 10px; border-radius: 12px; color: var(--ip-orange); background: rgba(255,63,1,.12); border: 1px solid rgba(255,63,1,.22); stroke-width: 1.9; }

/* WhatsApp: botón fijo (no se anima) */
.wa-fab { position: fixed; right: 20px; bottom: 20px; z-index: 80; display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 20px 0 8px; border-radius: 999px;
  background: var(--ip-black); color: var(--ip-white); font-weight: 600; font-size: 14px; box-shadow: 0 12px 30px rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.12); }
.wa-fab .icon { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--ip-wa); color: var(--ip-white); stroke-width: 1.9; }
.wa-fab:hover { background: var(--ip-ink-3); }

/* --------------------------------------------------------------------------
   Secciones
   -------------------------------------------------------------------------- */
.section { padding: 88px 0 0; }
.section--last { padding-bottom: 96px; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ip-red); }
.kicker::before { content: ""; width: 18px; height: 3px; border-radius: 3px; background: var(--ip-gradient); }
.section__title { margin: 0; font-size: clamp(26px, 3vw, 36px); line-height: 1.12; letter-spacing: -.02em; font-weight: 700; }
.section__sub { margin: 10px 0 0; color: var(--ip-muted); max-width: 560px; }
.link-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; white-space: nowrap; padding: 10px 0; border-bottom: 2px solid var(--ip-black); }
.link-more .icon { width: 16px; height: 16px; stroke-width: 2.2; transition: transform .15s; }
.link-more:hover .icon { transform: translateX(3px); }

/* Categorías */
.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cat { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 230px; padding: 22px; border-radius: var(--ip-radius); background: var(--ip-surface); overflow: hidden; transition: transform .2s, box-shadow .2s, background .2s; }
.cat:hover { transform: translateY(-4px); box-shadow: var(--ip-shadow); background: var(--ip-surface-2); }
.cat__name { font-weight: 600; font-size: 16px; line-height: 1.25; }
.cat__meta { font-size: 12.5px; color: var(--ip-muted); }
.cat__img { height: 110px; display: grid; place-items: center; margin: 12px 0; }
.cat__img img { max-height: 110px; width: auto; object-fit: contain; transition: transform .3s; }
.cat:hover .cat__img img { transform: scale(1.06); }
.cat__go { position: absolute; right: 16px; bottom: 16px; width: 36px; height: 36px; border-radius: 50%; background: var(--ip-white); display: grid; place-items: center; transition: background .2s, color .2s; }
.cat__go .icon { width: 16px; height: 16px; stroke-width: 2.2; }
.cat:hover .cat__go { background: var(--ip-orange); color: var(--ip-white); }
.cat--feature { grid-column: span 2; grid-row: span 1; background: var(--ip-ink); color: var(--ip-white); }
.cat--feature:hover { background: var(--ip-ink-3); }
.cat--feature .cat__meta { color: rgba(255,255,255,.6); }
.cat--feature .cat__img { height: 140px; justify-items: end; }
.cat--feature .cat__img img { max-height: 150px; }
.cat--feature::before { content: ""; position: absolute; right: -60px; bottom: -80px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,63,1,.45), transparent); }
.cat--feature > * { position: relative; }
.cat--feature .cat__go { background: var(--ip-orange); color: var(--ip-white); }

/* Pestañas */
.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--ip-surface); }
.tabs button { border: 0; background: none; padding: 9px 18px; border-radius: 999px; font-size: 13.5px; font-weight: 500; cursor: pointer; color: var(--ip-muted); transition: background .15s, color .15s; }
.tabs button[aria-selected="true"] { background: var(--ip-white); color: var(--ip-text); font-weight: 600; box-shadow: 0 1px 4px rgba(0,0,0,.08); }

/* Tarjetas de producto */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* Promociones */
.promos { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; }
.promo { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 12px; min-height: 340px; padding: 44px; border-radius: var(--ip-radius-lg); isolation: isolate; }
.promo h3 { margin: 12px 0 12px; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.1; letter-spacing: -.02em; font-weight: 700; }
.promo p { margin: 0 0 26px; font-size: 14.5px; max-width: 320px; }
.promo__tag { display: inline-flex; padding: 5px 12px; border-radius: 999px; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.promo__img { position: relative; display: grid; place-items: center; }
.promo--dark { background: var(--ip-ink); color: var(--ip-white); }
.promo--dark::before { content: ""; position: absolute; z-index: -1; right: -10%; top: -20%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,63,1,.42), transparent); }
.promo--dark p { color: rgba(255,255,255,.7); }
.promo--dark .promo__tag { background: rgba(255,63,1,.16); color: #FF8A5C; }
.promo--dark .promo__img img { width: 118%; max-width: none; filter: drop-shadow(0 24px 30px rgba(0,0,0,.5)); }
.promo--orange { background: var(--ip-gradient); color: var(--ip-white); grid-template-columns: 1fr; align-content: space-between; }
.promo--orange .promo__tag { background: rgba(0,0,0,.18); }
.promo--orange p { color: rgba(255,255,255,.9); }
.promo--orange .promo__img { position: absolute; right: -6%; bottom: -4%; width: 62%; z-index: -1; }
.promo--orange .promo__img img { filter: drop-shadow(0 20px 26px rgba(0,0,0,.28)); }
.promo--orange .promo__copy { max-width: 62%; }
.promo__pattern { position: absolute; inset: 0; z-index: -2; opacity: .18; }

/* Mini productos (hogar conectado) */
.minis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 20px; }
.mini { position: relative; display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: var(--ip-radius); background: var(--ip-surface); transition: background .2s; }
.mini:hover { background: var(--ip-surface-2); }
.mini__img { width: 76px; height: 64px; flex: none; display: grid; place-items: center; }
.mini__img img { max-height: 64px; width: auto; object-fit: contain; }
.mini strong { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; }
.mini span { font-size: 12.5px; color: var(--ip-muted); }
.mini a::after { content: ""; position: absolute; inset: 0; }

/* Envíos y pagos */
.ship { display: grid; grid-template-columns: 1fr 1.2fr; gap: 20px; }
.ship__intro { position: relative; overflow: hidden; padding: 44px; border-radius: var(--ip-radius-lg); background: var(--ip-ink); color: var(--ip-white); isolation: isolate; }
.ship__intro::after { content: ""; position: absolute; z-index: -1; left: -30%; bottom: -50%; width: 90%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,63,1,.35), transparent); }
.ship__intro h2 { margin: 0 0 14px; font-size: clamp(26px, 3vw, 36px); line-height: 1.12; letter-spacing: -.02em; }
.ship__intro p { margin: 0 0 28px; color: rgba(255,255,255,.72); }
.pay { display: grid; gap: 12px; }
.pay__item { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.pay__item .icon { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: var(--ip-gradient); color: var(--ip-white); stroke-width: 1.9; }
.pay__item strong { display: block; font-size: 14.5px; }
.pay__item span { font-size: 12.5px; color: rgba(255,255,255,.62); }

.ship-card { padding: 36px; border-radius: var(--ip-radius-lg); border: 1px solid var(--ip-line); background: var(--ip-white); }
.ship-card h3 { margin: 0 0 6px; font-size: 18px; }
.ship-card > p { margin: 0 0 22px; font-size: 13.5px; color: var(--ip-muted); }
.ship-card__note { margin: 18px 0 0; padding: 14px 16px; border-radius: 12px; background: #FFF4EF; color: #7A2200; font-size: 13px; display: flex; gap: 10px; }
.ship-card__note .icon { width: 18px; height: 18px; color: var(--ip-orange); margin-top: 1px; }

/* Marcas */
.brands { display: grid; grid-template-columns: repeat(8, 1fr); border: 1px solid var(--ip-line); border-radius: var(--ip-radius); overflow: hidden; }
.brand { display: grid; place-items: center; height: 92px; font-weight: 700; font-size: 19px; letter-spacing: -.01em; color: #6B6D74; transition: color .2s, background .2s; }
.brand + .brand { border-left: 1px solid var(--ip-line); }
.brand:hover { color: var(--ip-black); background: var(--ip-surface); }

/* Garantía / soporte */
.assure { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.assure__item { padding: 28px; border-radius: var(--ip-radius); background: var(--ip-surface); }
.assure__item .icon { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--ip-white); color: var(--ip-orange); margin-bottom: 18px; }
.assure__item h3 { margin: 0 0 8px; font-size: 16.5px; }
.assure__item p { margin: 0; font-size: 13.5px; color: var(--ip-muted); }

/* Boletín / CTA */
.cta { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 44px 48px; border-radius: var(--ip-radius-lg); background: var(--ip-gradient); color: var(--ip-white); isolation: isolate; }
.cta h2 { margin: 0 0 6px; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.02em; line-height: 1.15; }
.cta p { margin: 0; color: rgba(255,255,255,.9); }
.cta .promo__pattern { opacity: .16; }

/* --------------------------------------------------------------------------
   Pie de página
   -------------------------------------------------------------------------- */
.footer { background: var(--ip-black); color: rgba(255,255,255,.7); font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.footer__brand img { width: 170px; margin-bottom: 18px; }
.footer__brand p { margin: 0 0 20px; max-width: 300px; }
.footer h4 { margin: 0 0 16px; color: var(--ip-white); font-size: 14.5px; font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a:hover { color: var(--ip-white); }
.social { display: flex; gap: 10px; }
.social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); display: grid; place-items: center; transition: background .15s, border-color .15s; }
.social a:hover { background: var(--ip-orange); border-color: var(--ip-orange); }
.social .icon { width: 18px; height: 18px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer__bottom .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; font-size: 12.5px; }
.footer__pay { display: flex; gap: 8px; flex-wrap: wrap; }
.footer__pay span { padding: 5px 12px; border-radius: 8px; border: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.8); }

/* Panel móvil */
.drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.5); opacity: 0; transition: opacity .25s; }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__panel { position: absolute; top: 0; left: 0; bottom: 0; width: min(340px, 86vw); background: var(--ip-white); transform: translateX(-100%); transition: transform .3s cubic-bezier(.2,.8,.2,1); display: flex; flex-direction: column; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px; border-bottom: 1px solid var(--ip-line); }
.drawer__head img { width: 130px; }
.drawer__close { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--ip-surface); display: grid; place-items: center; cursor: pointer; }
.drawer nav ul { list-style: none; margin: 0; padding: 8px; }
.drawer nav a { display: flex; align-items: center; justify-content: space-between; padding: 14px 12px; border-radius: 10px; font-weight: 500; }
.drawer nav a:hover { background: var(--ip-surface); }
.drawer nav .icon { width: 16px; height: 16px; color: var(--ip-muted); }
.drawer__foot { margin-top: auto; padding: 16px; border-top: 1px solid var(--ip-line); font-size: 13px; color: var(--ip-muted); display: grid; gap: 10px; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1320px) { .nav__help { display: none; } }

@media (max-width: 1180px) {
  .cats { grid-template-columns: repeat(4, 1fr); }
  .cat--feature { grid-column: span 2; grid-row: span 2; justify-content: space-between; }
  .cat--feature .cat__img { height: auto; flex: 1; }
  .cat--feature .cat__img img { max-height: 220px; }
  .brands { grid-template-columns: repeat(4, 1fr); }
  .brand:nth-child(5) { border-left: 0; }
  .brand:nth-child(n+5) { border-top: 1px solid var(--ip-line); }
  .nav__help { display: none; }
}

@media (max-width: 1024px) {
  .header__main { gap: 20px; }
  .action__label { display: none; }
  .products { grid-template-columns: repeat(3, 1fr); }
  .promos, .ship { grid-template-columns: 1fr; }
  .minis { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  body { font-size: 14.5px; }
  .proto-note { font-size: 11.5px; }
  .topbar__links { display: none; }
  .topbar .container { justify-content: center; }
  .proto-note__more { display: none; }
  .topbar { font-size: 11.5px; }
  .topbar .container { min-height: 34px; }
  .topbar__items { gap: 14px; }
  .topbar__item { gap: 6px; }
  .topbar__item:nth-child(3) { display: none; }
  .header.is-scrolled .nav { display: none; }
  .header__main { grid-template-columns: auto 1fr auto; gap: 8px; padding-top: 10px; padding-bottom: 10px; }
  .header__menu-btn { display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 12px; background: var(--ip-surface); cursor: pointer; }
  .header__logo { justify-self: start; }
  .header__logo img { width: 118px; }
  .header__main .search { grid-column: 1 / -1; grid-row: 2; height: 46px; max-width: none; }
  .search select { display: none; }
  .search button { padding: 0 14px; }
  .search button span { display: none; }
  .action { padding: 8px; }
  .action--account { display: none; }
  .action__count { left: 22px; }
  .nav__all { display: none; }
  .nav .container { min-height: 48px; padding-right: 0; }
  .nav__links a { font-size: 13.5px; padding: 7px 12px; background: var(--ip-surface); }
  .nav__links { gap: 6px; padding-right: var(--ip-gutter); }



  .section { padding-top: 64px; }
  .section--last { padding-bottom: 72px; }
  .section__head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 22px; }
  .cats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cat { min-height: 186px; padding: 16px; }
  .cat__img { height: 84px; }
  .cat__img img { max-height: 84px; }
  .cat__name { font-size: 14.5px; }
  .cat--feature { grid-row: auto; min-height: 0; }
  .cat--feature .cat__img { height: 130px; flex: none; justify-items: center; }
  .cat--feature .cat__img img { max-height: 130px; }
  .cat__go { width: 32px; height: 32px; right: 12px; bottom: 12px; }
  .products { grid-template-columns: 1fr 1fr; gap: 12px; }
  .promo { grid-template-columns: 1fr; padding: 28px; min-height: 0; }
  .promo--dark .promo__img img { width: 100%; }
  .promo--orange { min-height: 320px; }
  .promo--orange .promo__copy { max-width: 70%; }
  .promo--orange .promo__img { width: 58%; }
  .minis { grid-template-columns: 1fr; }
  .ship__intro, .ship-card { padding: 26px 20px; }
  .brands { grid-template-columns: repeat(2, 1fr); }
  .brand { height: 72px; font-size: 16px; }
  .brand:nth-child(odd) { border-left: 0; }
  .brand:nth-child(n+3) { border-top: 1px solid var(--ip-line); }
  .assure { grid-template-columns: 1fr; gap: 12px; }
  .assure__item { padding: 22px; display: grid; grid-template-columns: auto 1fr; column-gap: 16px; }
  .assure__item .icon { grid-row: span 2; margin: 0; }
  .cta { flex-direction: column; align-items: flex-start; padding: 30px 24px; }
  .cta .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; padding-top: 48px; }
  .footer__bottom .container { flex-direction: column; justify-content: center; padding-top: 18px; padding-bottom: 18px; text-align: center; }
}

/* --------------------------------------------------------------------------
   Hero, WhatsApp y envío — responsive
   -------------------------------------------------------------------------- */
.action--wa .icon { color: #1DA851; }

@media (max-width: 1180px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__main { padding: 44px 40px; }
  .hero__lead { max-width: 560px; }
  .hero__tiles { min-height: 500px; }
  .hero__bar .container { grid-template-columns: repeat(2, 1fr); }
  .hero__benefit:nth-child(3) { border-left: 0; }
  .hero__benefit:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.08); }
}

@media (max-width: 760px) {
  .hero::after { left: 50%; width: 320px; top: 30%; height: 70%; }
  .hero__grid { padding-top: 16px; padding-bottom: 16px; gap: 12px; }
  .hero__main { padding: 30px 22px 26px; }
  .hero__main::after { left: 22px; right: 22px; }
  .hero__kicker { font-size: 11px; letter-spacing: .14em; }
  .hero h1 { font-size: clamp(30px, 8.6vw, 36px); margin: 16px 0 14px; }
  .hero__lead { font-size: 15px; margin-bottom: 24px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__tiles { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 12px; min-height: 0; }
  .tile { padding: 18px; min-height: 210px; }
  .tile--big { grid-column: 1 / -1; grid-row: auto; min-height: 320px; }
  .tile h2 { font-size: 18px; }
  .tile--big h2 { font-size: 26px; }
  .tile p { font-size: 12.5px; }
  .tile--side .tile__copy { max-width: none; }
  .tile--side .tile__media { position: relative; right: auto; bottom: auto; width: 78%; margin: 10px auto 22px; }
  .tile--pair .tile__media { margin-bottom: 22px; }
  .tile__go { font-size: 0; gap: 0; }
  .tile__go .icon { width: 34px; height: 34px; }
  .hero__bar .container { padding: 0; }
  .hero__benefit { flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px var(--ip-gutter); font-size: 13px; }
  .hero__benefit .icon { width: 38px; height: 38px; padding: 9px; }

  .wa-fab { right: 14px; bottom: 14px; width: 54px; height: 54px; }
  .wa-fab__text { display: none; }
  .action--wa { display: none; }
}

/* Pasos de compra */
.steps { list-style: none; margin: 0; padding: 0; display: grid; }
.steps li { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid var(--ip-line); }
.steps__n { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ip-black); color: var(--ip-white); font-weight: 700; font-size: 14px; }
.steps strong { display: block; font-size: 15px; font-weight: 600; }
.steps span:not(.steps__n) { font-size: 13px; color: var(--ip-muted); }
.icon--wa, .nav__help .icon { color: var(--ip-wa); }
.drawer__foot .btn { height: 48px; margin-top: 6px; color: var(--ip-white); }

/* --------------------------------------------------------------------------
   Refinamiento final (v3)
   -------------------------------------------------------------------------- */
/* Hero: tarjeta del mensaje con bloque de marcas al pie */
.hero__brands { padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); }
.hero__brands-label { display: block; margin-bottom: 12px; font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.hero__brands ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 26px; }
.hero__brands li { font-size: 16px; font-weight: 700; letter-spacing: -.01em; color: rgba(255,255,255,.6); }

/* Hero: dos laptops en profundidad dentro de la tarjeta principal */
.tile--big .tile__media--duo { justify-content: flex-end; margin-top: 18px; }
.tile--big .tile__media .tile__back { position: absolute; left: 0; bottom: 44%; width: 74%; z-index: 0;
  filter: brightness(.58) saturate(.9) drop-shadow(0 24px 28px rgba(0,0,0,.65)); -webkit-box-reflect: unset; }
.tile--big .tile__media--duo img:not(.tile__back) { width: 88%; margin-right: -3%; }

/* WhatsApp fijo: solo icono para no tapar contenido (el texto queda en aria-label y title) */
.wa-fab { width: 58px; height: 58px; padding: 0; justify-content: center; background: var(--ip-wa); border: 0; box-shadow: 0 10px 26px rgba(0,0,0,.25); }
.wa-fab .icon { width: 30px; height: 30px; padding: 0; background: none; }
.wa-fab:hover { background: #1DA851; }
.wa-fab__text { display: none; }

/* Tarjetas de producto */
.card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--ip-line); border-radius: var(--ip-radius); background: var(--ip-white); overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.card:hover { box-shadow: var(--ip-shadow-lg); border-color: #D9D9DF; }
/* Área de imagen fija (4:3) para todas las tarjetas; la foto se encaja sin recortes ni distorsión */
.card__media { position: relative; aspect-ratio: 4 / 3; background: radial-gradient(80% 70% at 50% 45%, #FFFFFF 0%, var(--ip-surface) 100%); border-bottom: 1px solid var(--ip-line); }
.card__media img { position: absolute; top: 26px; left: 24px; width: calc(100% - 48px); height: calc(100% - 52px); object-fit: contain; filter: drop-shadow(0 12px 14px rgba(0,0,0,.12)); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 18px 18px 18px; }
.card__brand { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ip-muted); }
.card__title { margin: 4px 0 0; font-size: 16px; font-weight: 600; line-height: 1.35; }
.card__title a { color: inherit; }
.card__title a:hover { color: var(--ip-red); }
.card__specs { margin: 6px 0 0; font-size: 13px; color: var(--ip-muted); }
.card__price { margin-top: auto; padding-top: 16px; display: flex; align-items: baseline; gap: 8px; }
.card__price strong { font-size: 16px; font-weight: 700; }
.card__actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 14px; }
.card__btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 600; white-space: nowrap; transition: background .15s, border-color .15s, color .15s; }
.card__btn--main { background: var(--ip-black); color: var(--ip-white); }
.card__btn--main:hover { background: var(--ip-ink-3); }
.card__btn--wa { width: 44px; padding: 0; border: 1.5px solid var(--ip-line); color: #1DA851; }
.card__btn--wa:hover { border-color: var(--ip-wa); background: rgba(37,211,102,.08); }
.card__btn--wa .icon { width: 21px; height: 21px; }
.card__btn-short { display: none; }

/* Promoción naranja: producto completo dentro de la tarjeta */
.promo--orange .promo__img { right: 4%; bottom: 8%; width: 46%; }

@media (max-width: 760px) {
  .hero__main { gap: 28px; }
  .hero__brands ul { gap: 6px 18px; }
  .hero__brands li { font-size: 14px; }
  .card__media img { top: 16px; left: 14px; width: calc(100% - 28px); height: calc(100% - 32px); }
  .card__body { padding: 14px 12px 14px; }
  .card__brand { font-size: 11px; }
  .card__title { font-size: 14px; }
  .card__price { padding-top: 12px; }
  .card__price strong { font-size: 14px; }
  .card__actions { gap: 6px; margin-top: 10px; }
  .card__btn { height: 40px; font-size: 13px; padding: 0 10px; }
  .card__btn--wa { width: 40px; padding: 0; }
  .card__btn-long { display: none; }
  .card__btn-short { display: inline; }
  .promo--orange .promo__img { width: 44%; right: 6%; bottom: 10%; }
}

/* Ajustes de tablet */
.tabs button { white-space: nowrap; }
.section__head { flex-wrap: wrap; }
@media (max-width: 1024px) {
  .topbar__links { display: none; }
  .search select { display: none; }
  .cat { padding: 18px; }
  .cat__name { font-size: 15px; }
}
@media (max-width: 900px) {
  .search button span { display: none; }
  .search button { padding: 0 16px; }
}
@media (max-width: 1180px) and (min-width: 901px) {
  .hero__main { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .hero__brands { flex: 0 0 250px; padding: 0 0 4px 28px; border-top: 0; border-left: 1px solid rgba(255,255,255,.08); }
  .hero__brands ul { gap: 10px 20px; }
}
@media (max-width: 1180px) and (min-width: 761px) {
  .nav__all { display: none; }
}
@media (max-width: 1180px) and (min-width: 901px) { .hero h1 { font-size: 46px; } }
@media (max-width: 760px) {
  .tile--big .tile__media--duo { margin-top: 34px; }
  .tile--big .tile__media .tile__back { display: none; }
  .tile--big .tile__media--duo { justify-content: center; }
  .tile--big .tile__media--duo img:not(.tile__back) { width: 92%; margin-right: 0; }
  .footer__bottom .container { padding-bottom: 84px; }
}

/* --------------------------------------------------------------------------
   v4: avisos, pie y tarjetas
   -------------------------------------------------------------------------- */
.footer__payinfo { color: rgba(255,255,255,.6); }

/* Aviso breve (sin animación: aparece y desaparece) */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 120; transform: translateX(-50%); display: none; align-items: center; gap: 12px; width: max-content; max-width: min(520px, calc(100vw - 32px));
  padding: 14px 10px 14px 16px; border-radius: 14px; background: var(--ip-black); color: var(--ip-white); font-size: 14px; line-height: 1.4; box-shadow: 0 16px 40px rgba(0,0,0,.3); }
.toast.is-visible { display: flex; }
.toast > .icon { width: 22px; height: 22px; flex: none; }
.toast--ok > .icon { color: var(--ip-wa); }
.toast--warn > .icon { color: var(--ip-orange); }
.toast button { flex: none; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255,255,255,.1); color: var(--ip-white); display: grid; place-items: center; cursor: pointer; }
.toast button .icon { width: 16px; height: 16px; }

/* Tarjetas: zona comercial con altura estable */
.card__specs { min-height: 0; }
.card__btn[disabled] { background: var(--ip-surface-2); color: var(--ip-muted); cursor: not-allowed; }
.card__btn.is-added[disabled] { background: #E9F7EF; color: #11643A; }

/* Ajustes finales (09/11/2026): en móvil el botón flotante de WhatsApp es más pequeño y el pie deja espacio
   para que no tape el último contenido. */
@media (max-width: 760px) {
  .wa-fab { right: 12px; width: 48px; height: 48px; padding: 0 4px; }
  .wa-fab .icon { width: 40px; height: 40px; padding: 9px; }
  .footer__bottom .container { padding-bottom: 84px; }
}
