/* GouBera Electronics — estilos. Pensado primero para el celular.
   Identidad del logo oficial (Karbe Diseño): turquesa #009AA3 y azul marino #062B5A. */
:root {
  --navy: #062B5A;
  --navy-2: #04234A;
  --teal: #009AA3;
  --teal-dark: #00737B;      /* turquesa para texto pequeño (contraste AA sobre blanco) */
  --teal-soft: #E3F4F5;
  --ink: #0F1B2A;
  --ink-2: #3D4A5C;
  --muted: #687385;
  --line: #E3E8EE;
  --bg: #FFFFFF;
  --soft: #F4F7F9;
  --wa: #25D366;
  --wa-dark: #128C7E;
  --ok: #0F7B45;
  --warn: #B45309;
  --radius: 16px;
  --shadow: 0 8px 30px rgba(6, 43, 90, .08);
  --max: 1240px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 140px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.5; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hidden { display: none !important; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }

/* ================= encabezado ================= */
.topbar { background: var(--navy); color: #fff; font-size: .78rem; text-align: center; padding: 6px 16px; }
.header { position: sticky; top: 0; z-index: 30; background: #fff; box-shadow: 0 1px 0 var(--line); }
.head-row { display: flex; align-items: center; gap: 10px; min-height: 58px; }
.logo { display: flex; align-items: center; flex: 0 0 auto; }
.logo img { height: 38px; width: auto; }
.head-actions { margin-left: auto; display: flex; gap: 4px; align-items: center; }
.icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; cursor: pointer; text-decoration: none; color: var(--navy); }
.icon-btn:hover { background: var(--soft); }
.icon-btn svg { width: 24px; height: 24px; }
.badge-count { position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--teal); color: #fff; font-size: .7rem; font-weight: 800; line-height: 19px; text-align: center; }

/* buscador con sugerencias */
.search-box { position: relative; padding: 0 0 10px; }
.search { display: flex; align-items: center; background: var(--soft); border: 1.5px solid transparent; border-radius: 12px; overflow: hidden; }
.search:focus-within { border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px var(--teal-soft); }
.search svg { flex: 0 0 20px; width: 20px; height: 20px; margin-left: 12px; color: var(--muted); }
.search input { flex: 1; min-width: 0; height: 46px; padding: 0 10px; border: 0; background: transparent; font-size: 1rem; outline: none; }
.search input::-webkit-search-cancel-button { display: none; }
.search button { flex: 0 0 auto; height: 46px; padding: 0 18px; border: 0; background: var(--navy); color: #fff; font-weight: 700; cursor: pointer; }
.suggest { position: absolute; left: 0; right: 0; top: 50px; z-index: 50; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 50px rgba(6, 43, 90, .18); overflow: hidden; max-height: 70vh; overflow-y: auto; }
.suggest a { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 8px 12px; text-decoration: none; border-bottom: 1px solid var(--soft); }
.suggest a:hover, .suggest a[aria-selected="true"] { background: var(--teal-soft); }
.suggest .s-img { width: 44px; height: 44px; border-radius: 8px; background: var(--soft); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.suggest .s-img img { width: 100%; height: 100%; object-fit: contain; }
.suggest .s-img svg { width: 20px; height: 20px; color: var(--muted); }
.suggest .s-name { font-size: .9rem; line-height: 1.25; overflow-wrap: anywhere; }
.suggest .s-name small { display: block; color: var(--muted); font-size: .75rem; }
.suggest .s-price { font-weight: 800; white-space: nowrap; }
.suggest a.s-all { display: block; padding: 12px; text-align: center; font-weight: 700; color: var(--teal-dark); }
.suggest .s-empty { padding: 14px; color: var(--muted); font-size: .9rem; }

/* fila de categorías */
.cat-strip { border-top: 1px solid var(--line); background: #fff; }
.cat-strip .wrap { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-top: 8px; padding-bottom: 8px; }
.cat-strip .wrap::-webkit-scrollbar { display: none; }
.cat-strip a { flex: 0 0 auto; padding: 7px 14px; border-radius: 999px; font-size: .85rem; font-weight: 600; text-decoration: none; color: var(--ink-2); background: var(--soft); white-space: nowrap; }
.cat-strip a:hover, .cat-strip a[aria-current="page"] { background: var(--navy); color: #fff; }

/* ================= botones ================= */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 700; text-decoration: none; cursor: pointer; font-size: 1rem; text-align: center; line-height: 1.2; }
.btn svg { width: 20px; height: 20px; flex: 0 0 auto; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-dark); }
.btn-line { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-line:hover { background: var(--navy); color: #fff; }
.btn-white { background: #fff; color: var(--navy); }
.btn-ghost-w { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost-w:hover { background: #fff; color: var(--navy); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.link { color: var(--teal-dark); font-weight: 700; text-decoration: none; white-space: nowrap; }
.link:hover { text-decoration: underline; }

/* ================= portada: mosaicos ================= */
.tiles { display: grid; gap: 12px; padding: 12px 0 0; }
.tile { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; border-radius: 22px; overflow: hidden; padding: 30px 20px 0; min-height: 440px; text-decoration: none; }
.tile-dark { background: radial-gradient(120% 80% at 50% 0%, #03627E 0%, var(--navy) 55%, #021F3B 100%); color: #fff; }
.tile-light { background: linear-gradient(180deg, #F4F7F9 0%, #E9F1F4 100%); color: var(--ink); }
.tile-teal { background: linear-gradient(180deg, #E3F4F5 0%, #CBEBED 100%); color: var(--ink); }
.tile .t-kicker { font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-dark); }
.tile-dark .t-kicker { color: #80CDD1; }
.tile h2 { margin: 6px 0 4px; font-size: clamp(1.7rem, 7vw, 2.8rem); line-height: 1.08; letter-spacing: -.02em; max-width: 16em; }
.tile .t-sub { margin: 0 0 4px; font-size: 1rem; opacity: .85; }
.tile .t-price { margin: 4px 0 16px; font-size: 1.05rem; font-weight: 700; }
.tile .t-cta { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 18px; }
.tile .t-cta .btn { min-height: 42px; padding: 0 20px; font-size: .95rem; }
.tile .t-img { margin-top: auto; width: 100%; max-width: 420px; height: 240px; display: flex; align-items: flex-end; justify-content: center; }
.tile .t-img img { max-height: 100%; width: auto; object-fit: contain; border-radius: 14px 14px 0 0; mix-blend-mode: multiply; }
.tile-dark .t-img img { mix-blend-mode: normal; background: #fff; border-radius: 16px 16px 0 0; padding: 14px 14px 0; }
.tile-skel { background: var(--soft); min-height: 440px; border-radius: 22px; }

/* insignias de confianza */
.trust { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 18px 0 6px; }
.trust div { display: flex; gap: 10px; align-items: center; padding: 12px; border-radius: 14px; background: var(--soft); font-size: .84rem; line-height: 1.25; color: var(--ink-2); min-width: 0; }
.trust svg { flex: 0 0 26px; width: 26px; height: 26px; color: var(--teal); }
.trust strong { display: block; color: var(--ink); font-size: .9rem; }

.section { padding: 34px 0; }
.section-soft { background: var(--soft); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.section-head h2 { margin: 0; font-size: clamp(1.35rem, 5.4vw, 2rem); letter-spacing: -.015em; color: var(--ink); }

/* círculos de categorías */
.cat-circles { display: grid; grid-auto-flow: column; grid-auto-columns: 92px; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; }
.cat-circle { scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; text-align: center; font-size: .8rem; font-weight: 600; line-height: 1.2; color: var(--ink-2); overflow-wrap: anywhere; }
.cat-circle span.c-img { width: 80px; height: 80px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; overflow: hidden; transition: border-color .15s; }
.section-soft .cat-circle span.c-img { border-color: transparent; }
.cat-circle img { width: 74%; height: 74%; object-fit: contain; }
.cat-circle svg { width: 32px; height: 32px; color: var(--navy); }
.cat-circle:hover span.c-img { border-color: var(--teal); }

/* rieles de productos (deslizables en el celular) */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }

/* marcas */
.brands { display: flex; flex-wrap: wrap; gap: 8px; }
.brand-chip { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; text-decoration: none; font-weight: 700; font-size: .86rem; color: var(--navy); letter-spacing: .02em; }
.brand-chip:hover { border-color: var(--navy); }

/* ================= tarjetas de producto ================= */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; min-width: 0; transition: box-shadow .15s, border-color .15s; }
.card:hover { box-shadow: var(--shadow); border-color: #cfd8e2; }
.card-img { position: relative; aspect-ratio: 1 / 1; background: #fff; display: flex; align-items: center; justify-content: center; padding: 12px; text-decoration: none; }
.card-img img { width: 100%; height: 100%; object-fit: contain; }
.card-tags { position: absolute; top: 8px; left: 8px; display: flex; flex-wrap: wrap; gap: 4px; z-index: 1; }
.tag { display: inline-block; padding: 3px 8px; border-radius: 6px; font-size: .68rem; font-weight: 800; letter-spacing: .02em; }
.tag-ok { background: var(--teal-soft); color: var(--teal-dark); }
.tag-used { background: #FFF4E0; color: #8A4B00; }
.noimg { width: 100%; height: 100%; display: flex; flex-direction: column; gap: 8px; align-items: center; justify-content: center; background: var(--soft); border-radius: 12px; color: var(--muted); font-size: .74rem; text-align: center; padding: 8px; }
.noimg img { width: 40%; height: auto; opacity: .3; filter: grayscale(1); }
.card-body { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px 12px; flex: 1; }
.card-brand { font-size: .7rem; font-weight: 800; color: var(--teal-dark); text-transform: uppercase; letter-spacing: .05em; overflow-wrap: anywhere; }
.card-name { font-size: .9rem; line-height: 1.3; font-weight: 500; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.card-name::after { content: ""; position: absolute; inset: 0; }   /* toda la tarjeta abre el producto */
.card-price { margin-top: auto; padding-top: 6px; font-size: 1.3rem; font-weight: 800; letter-spacing: -.01em; color: var(--ink); }
.card-price small { font-size: .68rem; font-weight: 700; color: var(--muted); margin-left: 3px; }
.stock { display: inline-flex; align-items: center; gap: 5px; font-size: .75rem; font-weight: 700; color: var(--ok); }
.stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.stock.low { color: var(--warn); }
.card-add { position: relative; z-index: 2; margin-top: 8px; min-height: 40px; padding: 0 12px; font-size: .88rem; }

/* ================= catálogo ================= */
.page-title { margin: 18px 0 2px; font-size: clamp(1.5rem, 6vw, 2.2rem); letter-spacing: -.015em; }
.cat-layout { display: grid; gap: 18px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 12px 0 10px; }
.toolbar .btn { min-height: 44px; padding: 0 16px; font-size: .92rem; }
.toolbar select, .filters select, .filters input { height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: .95rem; max-width: 100%; min-width: 0; }
.toolbar select { flex: 1 1 160px; }
.result-info { width: 100%; color: var(--muted); font-size: .88rem; }
.active-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--teal-soft); color: var(--navy); font-size: .82rem; font-weight: 700; border: 0; cursor: pointer; }
.chip::after { content: "×"; font-size: 1rem; line-height: 1; }
.filters { display: grid; gap: 16px; }
.filters h3 { margin: 0 0 6px; font-size: .95rem; }
.filters select { width: 100%; }
.price-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.price-row input { width: 100%; }
.sheet-bg { position: fixed; inset: 0; background: rgba(3, 25, 50, .45); z-index: 60; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 61; background: #fff; border-radius: 20px 20px 0 0; padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); max-height: 86vh; overflow-y: auto; box-shadow: 0 -10px 40px rgba(0,0,0,.18); }
.sheet-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.sheet-head h2 { margin: 0; font-size: 1.2rem; }
.side { display: none; }
.pager { display: flex; justify-content: center; align-items: center; gap: 10px; margin: 26px 0 10px; flex-wrap: wrap; }
.pager span { color: var(--muted); font-size: .9rem; }
.empty { text-align: center; padding: 48px 16px; color: var(--muted); }
.empty.full { grid-column: 1 / -1; }
.skeleton { background: linear-gradient(90deg, var(--soft) 0%, #eaeff3 50%, var(--soft) 100%); background-size: 200% 100%; animation: sk 1.2s infinite linear; border-radius: var(--radius); aspect-ratio: 3 / 5; }
@keyframes sk { to { background-position: -200% 0; } }

/* ================= ficha de producto ================= */
.crumbs { margin: 14px 0 8px; font-size: .84rem; color: var(--muted); overflow-wrap: anywhere; }
.crumbs a { color: var(--muted); }
.product { display: grid; gap: 20px; padding-bottom: 30px; }
.gallery { position: relative; min-width: 0; }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; aspect-ratio: 1 / 1; scroll-snap-align: center; display: flex; align-items: center; justify-content: center; padding: 18px; }
.slide img { width: 100%; height: 100%; object-fit: contain; }
.dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.dots span { width: 7px; height: 7px; border-radius: 50%; background: #c9d2dc; }
.dots span.on { background: var(--navy); width: 18px; border-radius: 4px; }
.thumbs { display: none; gap: 8px; margin-top: 10px; overflow-x: auto; }
.thumbs button { flex: 0 0 68px; width: 68px; height: 68px; border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 5px; cursor: pointer; }
.thumbs button[aria-current="true"] { border: 2px solid var(--navy); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.p-info { min-width: 0; }
.p-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 6px; }
.p-brand { font-size: .8rem; font-weight: 800; color: var(--teal-dark); text-transform: uppercase; letter-spacing: .06em; text-decoration: none; }
.p-name { margin: 4px 0 8px; font-size: clamp(1.45rem, 5.6vw, 2.1rem); line-height: 1.15; letter-spacing: -.015em; overflow-wrap: anywhere; }
.p-price { font-size: clamp(2.1rem, 9vw, 2.7rem); font-weight: 800; letter-spacing: -.02em; margin: 8px 0 0; line-height: 1.1; }
.p-price small { font-size: .9rem; color: var(--muted); font-weight: 700; margin-left: 4px; letter-spacing: 0; }
.p-price-note { color: var(--muted); font-size: .84rem; margin: 2px 0 12px; }
.p-meta { color: var(--muted); font-size: .84rem; margin: 2px 0 10px; overflow-wrap: anywhere; }
.opt { margin: 16px 0 4px; }
.opt h3 { margin: 0 0 8px; font-size: .92rem; }
.opt h3 span { font-weight: 500; color: var(--muted); }
.opt-list { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-list a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 12px; text-decoration: none; font-weight: 600; font-size: .9rem; background: #fff; }
.opt-list a:hover { border-color: var(--navy); }
.opt-list a[aria-current="true"] { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-soft); }
.opt-list a.off { opacity: .45; }
.swatch { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(0,0,0,.18); flex: 0 0 18px; }
.p-actions { display: grid; gap: 10px; margin: 20px 0 14px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; justify-self: start; }
.qty button { width: 44px; height: 44px; border: 0; background: #fff; font-size: 1.2rem; cursor: pointer; color: var(--navy); }
.qty output { min-width: 34px; text-align: center; font-weight: 800; }
/* cantidad que se puede escribir (Pedro: "al mayor escriben 20 o así") */
.qty .qty-in { width: 52px; height: 44px; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); text-align: center; font: inherit; font-weight: 800; font-size: 16px; color: var(--ink, #142033); background: #fff; padding: 0; }
.qty .qty-in:focus { outline: none; background: #EEF7F8; }
.line .qty .qty-in { width: 48px; height: 34px; }
/* detal: selector 1–10 */
.qty .qty-sel { width: 58px; text-align: center; text-align-last: center; -webkit-appearance: none; appearance: none; cursor: pointer; padding: 0 4px; }
.line .qty .qty-sel { width: 52px; }
/* mayorista: cantidad para escribir junto a "Agregar" en cada tarjeta */
.card-qty { display: flex; gap: 6px; align-items: stretch; }
.card-qty .card-q { width: 58px; flex: 0 0 58px; border: 1.5px solid var(--line, #D5DEE7); border-radius: 10px; text-align: center; font: inherit; font-weight: 800; font-size: 16px; padding: 0 4px; }
.card-qty .card-add { flex: 1 1 auto; }
.info-box { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin: 10px 0; }
.info-box div { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: .88rem; color: var(--ink-2); }
.info-box div:last-child { border-bottom: 0; }
.info-box svg { flex: 0 0 22px; width: 22px; height: 22px; color: var(--teal); }
.info-box strong { display: block; color: var(--ink); }
.p-h2 { font-size: 1.1rem; margin: 22px 0 6px; }
.p-desc { white-space: pre-line; color: var(--ink-2); overflow-wrap: anywhere; font-size: .95rem; }
.note { font-size: .8rem; color: var(--muted); }
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; background: #fff; border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: flex; gap: 10px; align-items: center; box-shadow: 0 -6px 20px rgba(0,0,0,.06); }
.buybar .bb-price { font-weight: 800; font-size: 1.1rem; white-space: nowrap; }
.buybar .btn { flex: 1; min-height: 46px; padding: 0 12px; font-size: .92rem; }
.buybar .btn-wa { flex: 0 0 46px; padding: 0; }
body.has-buybar .wa-float { display: none; }
body.has-buybar .footer { padding-bottom: calc(90px + env(safe-area-inset-bottom)); }

/* ================= pedido (carrito rápido) ================= */
.drawer-bg { position: fixed; inset: 0; background: rgba(3, 25, 50, .45); z-index: 60; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #fff; z-index: 61; display: flex; flex-direction: column; box-shadow: -10px 0 40px rgba(0,0,0,.15); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-size: 1.2rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 16px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); display: grid; gap: 10px; }
.line { display: grid; grid-template-columns: 60px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.line-img { width: 60px; height: 60px; border-radius: 10px; background: var(--soft); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.line-img img { width: 100%; height: 100%; object-fit: contain; }
.line-img svg { width: 24px; height: 24px; color: var(--muted); }
.line-name { font-size: .88rem; line-height: 1.3; overflow-wrap: anywhere; text-decoration: none; }
.line-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
.line .qty button { width: 34px; height: 34px; }
.line-del { border: 0; background: none; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: .8rem; padding: 6px 0; }
.total { display: flex; justify-content: space-between; font-weight: 800; font-size: 1.1rem; }

/* ================= contacto y pie ================= */
.contact { display: grid; gap: 12px; }
.contact-card { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; min-width: 0; }
.contact-card svg { flex: 0 0 24px; width: 24px; height: 24px; color: var(--teal); margin-top: 2px; }
.contact-card h3 { margin: 0 0 2px; font-size: .95rem; }
.contact-card p, .contact-card a { margin: 0; color: var(--ink-2); overflow-wrap: anywhere; }
.pending { display: inline-block; padding: 2px 8px; border-radius: 6px; background: #FEF3C7; color: #92400E; font-size: .76rem; font-weight: 800; }
.footer { background: var(--soft); color: var(--ink-2); padding: 34px 0 calc(96px + env(safe-area-inset-bottom)); font-size: .88rem; border-top: 1px solid var(--line); }
.footer .wrap { display: grid; gap: 22px; }
.footer .f-logo { height: 46px; width: auto; }
.footer p { margin: 0 0 6px; }
.footer a { color: var(--ink-2); text-decoration: none; }
.footer a:hover { color: var(--navy); text-decoration: underline; }
.f-h { color: var(--ink); font-weight: 800; }
.f-about { margin-top: 12px !important; max-width: 30em; }
.legal { border-top: 1px solid var(--line); padding-top: 14px; font-size: .76rem; color: var(--muted); }

/* botón flotante de WhatsApp */
.wa-float { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 58px; min-width: 58px; padding: 0 18px 0 16px; border-radius: 29px; background: var(--wa); color: #fff; font-weight: 800; text-decoration: none; box-shadow: 0 8px 24px rgba(18, 140, 126, .4); border: 0; cursor: pointer; }
.wa-float:hover { background: var(--wa-dark); }
.wa-float svg { width: 28px; height: 28px; }

.toast { position: fixed; left: 50%; top: calc(76px + env(safe-area-inset-top)); transform: translateX(-50%); z-index: 70; background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 12px; font-size: .92rem; box-shadow: var(--shadow); max-width: calc(100% - 32px); text-align: center; }

/* ================= pantallas más grandes ================= */
@media (min-width: 600px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .rail { grid-auto-columns: 31%; }
  .trust { grid-template-columns: repeat(4, 1fr); }
  .contact { grid-template-columns: repeat(2, 1fr); }
  .tiles { grid-template-columns: 1fr 1fr; }
  .tiles .tile:first-child { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .head-row { min-height: 70px; gap: 24px; }
  .logo img { height: 46px; }
  .head-row .search-box { flex: 1; max-width: 640px; padding: 0; }
  .search-mobile { display: none; }
  .tiles { gap: 14px; padding-top: 14px; }
  .tile { min-height: 520px; padding-top: 44px; }
  .tile .t-img { height: 300px; max-width: 520px; }
  .tiles .tile:first-child { min-height: 580px; }
  .tiles .tile:first-child .t-img { height: 340px; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .rail { grid-auto-flow: row; grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: visible; }
  .rail > :nth-child(n+6) { display: none; }
  .cat-circles { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); overflow: visible; }
  .cat-circle span.c-img { width: 96px; height: 96px; }
  .section { padding: 54px 0; }
  .contact { grid-template-columns: repeat(3, 1fr); }
  .cat-layout { grid-template-columns: 250px minmax(0, 1fr); align-items: start; }
  .side { display: block; position: sticky; top: 130px; }
  .filters-btn { display: none !important; }
  .product { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
  .gallery { position: sticky; top: 140px; }
  .thumbs { display: flex; }
  .dots { display: none; }
  .p-actions { grid-template-columns: auto 1fr; align-items: center; }
  .p-actions .btn-wa { grid-column: 1 / -1; }
  .buybar { display: none; }
  body.has-buybar .wa-float { display: inline-flex; }
  body.has-buybar .footer, .footer { padding-bottom: 40px; }
  .footer .wrap { grid-template-columns: 2fr 1fr 1fr 1.3fr; }
  .legal { grid-column: 1 / -1; }
}
@media (max-width: 899px) {
  .head-row .search-box { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ================= ASI Movistar, tiendas e Instagram ================= */
.asi { border-radius: 22px; padding: 28px 22px; color: #fff; background: radial-gradient(110% 120% at 100% 0%, #0A7F8A 0%, rgba(10,127,138,0) 55%), linear-gradient(135deg, var(--navy) 0%, #022A51 100%); }
.asi-kicker { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #80CDD1; }
.asi h2 { margin: 6px 0 6px; font-size: clamp(1.7rem, 7vw, 2.6rem); line-height: 1.1; letter-spacing: -.02em; }
.asi p { margin: 0 0 10px; opacity: .92; }
.asi-list { margin: 0 0 20px; padding: 0; list-style: none; display: grid; gap: 8px; }
.asi-list li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.asi-list li::before { content: ""; flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; background: #80CDD1; }
.asi-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.asi-mini { margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: var(--teal-soft); color: var(--ink-2); font-size: .92rem; }
.asi-mini .link { background: none; border: 0; padding: 0; cursor: pointer; font-size: inherit; }
.sub { margin: 4px 0 0; color: var(--muted); }
.cities { display: grid; gap: 22px; }
.city h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 1.1rem; color: var(--navy); }
.city h3 svg { width: 22px; height: 22px; color: var(--teal); }
.stores { display: grid; gap: 12px; }
.store { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; background: #fff; }
.store h4 { margin: 0 0 8px; font-size: 1rem; }
.store p { margin: 0 0 6px; font-size: .9rem; color: var(--ink-2); overflow-wrap: anywhere; }
.store .btn { margin-top: 8px; min-height: 42px; font-size: .9rem; }
.ig-band { display: grid; gap: 14px; justify-items: start; padding: 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.ig-band > svg { width: 40px; height: 40px; color: var(--teal); }
.ig-band h2 { margin: 0 0 4px; font-size: clamp(1.3rem, 5vw, 1.7rem); }
.ig-band p { margin: 0; color: var(--ink-2); }
@media (min-width: 600px) {
  .stores { grid-template-columns: 1fr 1fr; }
  .asi-list { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .asi { padding: 46px 48px; }
  .cities { grid-template-columns: 1fr 1fr; gap: 28px; }
  .ig-band { grid-template-columns: auto 1fr auto; align-items: center; padding: 26px 32px; }
}
.asi > div { max-width: 640px; }
.asi-icons li::before { display: none; }
.asi-icons li svg { flex: 0 0 22px; width: 22px; height: 22px; color: #80CDD1; }
.asi-note { font-size: .85rem; opacity: .85; margin: -6px 0 16px !important; }
.store-soon { background: var(--teal-soft); border-style: dashed; border-color: var(--teal); }
.soon { display: inline-block; margin-bottom: 6px; padding: 3px 10px; border-radius: 999px; background: var(--teal); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
@media (min-width: 900px) { .asi > div { max-width: 760px; } }

/* ASI Movistar compacto (sección secundaria: no compite con los productos) */
.section-tight { padding: 22px 0; }
.asi-compact { display: grid; gap: 12px; padding: 18px; border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: 14px; background: #fff; }
.asi-c-head h2 { margin: 0 0 2px; font-size: 1.1rem; color: var(--navy); }
.asi-c-head p { margin: 0; font-size: .88rem; color: var(--ink-2); }
.asi-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.asi-chips li { padding: 5px 10px; border-radius: 999px; background: var(--soft); font-size: .78rem; font-weight: 600; color: var(--ink-2); }
.asi-c-btn { justify-self: start; min-height: 40px; padding: 0 16px; font-size: .88rem; }
@media (min-width: 900px) { .asi-compact { grid-template-columns: minmax(0, 1fr) auto; align-items: center; } .asi-chips { grid-column: 1; } .asi-c-btn { grid-column: 2; grid-row: 1 / span 2; } }
/* Eslogan de la marca (Pedro: "Tecnología para todos es nuestro eslogan, es importante"). Solo colores de GouBera. */
.brand-band { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 18px 0 4px; padding: 18px 20px; border-radius: 16px; background: linear-gradient(120deg, var(--navy) 0%, #04234A 55%, var(--teal) 140%); color: #fff; text-align: left; }
.brand-band img { width: 56px; height: 56px; border-radius: 14px; background: #fff; padding: 4px; flex: 0 0 auto; }
.brand-band p { margin: 0; display: flex; flex-direction: column; line-height: 1.15; }
.brand-band strong { font-size: 1.35rem; font-weight: 800; letter-spacing: .01em; }
.brand-band span { font-size: 1.05rem; font-weight: 700; color: #80CDD1; letter-spacing: .04em; }
@media (min-width: 700px) { .brand-band p { flex-direction: row; align-items: baseline; gap: 12px; } .brand-band strong { font-size: 1.6rem; } .brand-band span { font-size: 1.3rem; } .brand-band span::before { content: "· "; color: rgba(255,255,255,.6); } }
.f-slogan { margin: 6px 0 0; font-weight: 800; color: var(--teal); letter-spacing: .03em; }
/* Digitel: Agente de Atención Integral. Colores oficiales del logo de Digitel (digitel.com.ve, 2026-11-24): rojo #E52037 y morado #4D2680 */
.dg-band { --dg-red: #E52037; --dg-purple: #4D2680; border: 0; border-left: 0; color: #fff; background: linear-gradient(120deg, var(--dg-purple) 0%, #3A1C63 60%, #2A1248 100%); position: relative; overflow: hidden; }
.dg-band::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; background: var(--dg-red); }
.dg-band .asi-c-head h2 { color: #fff; }
.dg-band .asi-c-head p { color: rgba(255,255,255,.85); }
.dg-kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #fff; }
.dg-word { padding: 3px 10px; border-radius: 999px; background: #fff; color: var(--dg-purple); font-size: .9rem; letter-spacing: .02em; text-transform: none; }
.dg-word::first-letter { color: var(--dg-red); }
.dg-band .asi-chips li { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.18); }
.dg-btn { background: var(--dg-red); color: #fff; border: 0; }
.dg-btn:hover { background: #C81A2F; }
.store .zona { display: flex; align-items: center; gap: 5px; color: var(--teal-dark); font-weight: 700; font-size: .85rem; }
.store .zona svg { width: 15px; height: 15px; }

/* ASI Movistar: novedades sincronizadas (banners, promociones) */
.asi-c-head h2 { display: flex; align-items: center; gap: 10px; }
.mv-logo { height: 26px; width: auto; flex: 0 0 auto; }
.mv-news { margin-top: 12px; display: grid; gap: 12px; }
.mv-banners { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; border-radius: 14px; }
.mv-banner { scroll-snap-align: start; display: block; position: relative; border-radius: 14px; overflow: hidden; background-color: #0b2a4a; background-size: cover; background-position: center; aspect-ratio: 1280 / 500; }
.mv-banner img { width: 100%; height: 100%; object-fit: contain; display: block; }
.mv-promos { padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.mv-promos h3 { margin: 0 0 6px; font-size: .95rem; color: var(--navy); }
.mv-promos ul { margin: 0 0 8px; padding-left: 18px; font-size: .88rem; color: var(--ink-2); }
.mv-promos li { margin: 2px 0; }
.mv-src { margin: 0; font-size: .72rem; color: var(--muted); }
@media (max-width: 600px) { .mv-banner { aspect-ratio: 415 / 500; } .mv-banners { grid-auto-columns: 86%; } }
@media (min-width: 900px) { .mv-news { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; } .mv-src { grid-column: 1 / -1; } }
.mv-promos .link, .asi-mini .link { white-space: normal; overflow-wrap: anywhere; }
.mv-promos { min-width: 0; }

/* Banner "Lo más vendido" (carrusel que pasa solo) */
.hero-wrap { position: relative; padding-top: 12px; }
.tiles.hero-carousel { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; grid-template-columns: none; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-top: 0; border-radius: 22px; }
.tiles.hero-carousel::-webkit-scrollbar { display: none; }
.hero-carousel .tile { scroll-snap-align: start; grid-column: auto !important; min-height: 470px !important; }
.hero-carousel .tile-skel { min-height: 470px; }
.tile .t-credit { display: block; font-size: .82rem; font-weight: 600; opacity: .85; margin-top: 2px; }
.car-dots { display: flex; justify-content: center; gap: 6px; padding: 10px 0 2px; }
.car-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px; background: #c9d2dc; cursor: pointer; transition: width .2s; }
.car-dots button.on { width: 22px; background: var(--navy); }
.tag-top { background: var(--navy); color: #fff; }
.mv-car { min-width: 0; }
@media (max-width: 600px) { .mv-banners { grid-auto-columns: 100% !important; } }
@media (min-width: 900px) {
  .hero-carousel .tile { flex-direction: row; text-align: left; align-items: center; justify-content: space-between; gap: 32px; padding: 40px 56px !important; min-height: 420px !important; }
  .hero-carousel .tile .t-text { flex: 1 1 50%; }
  .hero-carousel .tile .t-cta { justify-content: flex-start; }
  .hero-carousel .tile .t-img { flex: 0 0 44%; margin-top: 0; height: 340px !important; max-width: none; align-items: center; }
  .hero-carousel .tile .t-img img { border-radius: 16px; }
  .hero-carousel .tile-skel { min-height: 420px; }
}
.tag-new { background: var(--teal); color: #fff; }
.cat-strip a.strip-new { background: var(--teal); color: #fff; }
.cat-strip a.strip-new:hover, .cat-strip a.strip-new[aria-current="page"] { background: var(--teal-dark); }
.topbar { position: relative; min-height: 30px; display: flex; align-items: center; justify-content: center; }
.topbar span { display: none; }
.topbar span.on { display: inline; animation: tbIn .35s ease; }
@keyframes tbIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.tile .t-ship { margin: -8px 0 14px; font-size: .82rem; font-weight: 700; color: var(--teal-dark); }
.tile-dark .t-ship { color: #80CDD1; }
@media (min-width: 900px) { .topbar span { display: inline; } .topbar span + span::before { content: "·"; margin: 0 12px; opacity: .6; } .topbar span.on { animation: none; } }
@media (prefers-reduced-motion: reduce) { .topbar span { display: inline; } .topbar span + span::before { content: " · "; } }
.topbar { flex-wrap: wrap; gap: 2px 0; }

/* Diapositivas Cashea / Krece en el banner */
.tile-credit { background: radial-gradient(120% 90% at 100% 0%, #00A3AE 0%, var(--teal-dark) 45%, #014a55 100%); color: #fff; }
.tile-krece { background: radial-gradient(120% 90% at 100% 0%, #03627E 0%, var(--navy) 50%, #021F3B 100%); }
.tile-credit .t-kicker { color: #CFF5F7; }
.tile-credit .t-sub { opacity: .95; font-size: 1.05rem; max-width: 30em; }
.tile-credit .t-ship { color: #fff; opacity: .9; margin: 4px 0 16px; }
.credit-art { flex-direction: column; justify-content: center !important; align-items: center !important; gap: 8px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); border-radius: 18px 18px 0 0; padding: 18px; text-align: center; }
.ca-brand { font-size: clamp(2.4rem, 11vw, 4.2rem); font-weight: 900; letter-spacing: -.03em; line-height: 1; }
.ca-line { font-size: .95rem; font-weight: 700; opacity: .9; }
@media (min-width: 900px) { .credit-art { border-radius: 18px; } }

/* Colores de marca en las diapositivas de financiamiento (Pedro: "Cashea debe llevar sus colores, igual Krece") */
.tile-credit.tile-cashea { background: #FDFA3D; color: #1F1F1F; }
.tile-cashea .t-kicker, .tile-cashea .t-ship, .tile-cashea .t-sub { color: #1F1F1F; opacity: 1; }
.tile-cashea .btn-white { background: #1F1F1F; color: #FDFA3D; }
.tile-cashea .btn-white:hover { background: #000; }
.tile-cashea .btn-ghost-w { color: #1F1F1F; border-color: #1F1F1F; }
.tile-cashea .btn-ghost-w:hover { background: #1F1F1F; color: #FDFA3D; }
.tile-cashea .credit-art { background: #1F1F1F; color: #FDFA3D; border-color: #1F1F1F; }
.tile-credit.tile-krece { background: #0C1947; color: #fff; }
.tile-krece .t-kicker { color: #17C0D4; }
.tile-krece .t-ship { color: #fff; opacity: .9; }
.tile-krece .btn-white { background: #17C0D4; color: #0C1947; }
.tile-krece .btn-white:hover { background: #0AA9BD; }
.tile-krece .btn-ghost-w { color: #fff; border-color: #17C0D4; }
.tile-krece .btn-ghost-w:hover { background: #17C0D4; color: #0C1947; }
.tile-krece .credit-art { background: #17C0D4; color: #0C1947; border-color: #17C0D4; }

/* Banner más compacto (Pedro: "el banner de publicidad está un poco grande") */
.hero-carousel .tile { min-height: 0 !important; padding: 20px 16px 0; }
.hero-carousel .tile-skel { min-height: 330px; }
.hero-carousel .tile h2 { font-size: clamp(1.4rem, 6vw, 2.1rem); margin: 4px 0 2px; }
.hero-carousel .tile .t-sub { font-size: .9rem; margin-bottom: 2px; }
.hero-carousel .tile .t-price { margin: 2px 0 6px; font-size: 1rem; }
.hero-carousel .tile .t-ship { margin: 0 0 10px; font-size: .76rem; }
.hero-carousel .tile .t-cta { margin-bottom: 12px; gap: 8px; }
.hero-carousel .tile .t-cta .btn { min-height: 38px; padding: 0 16px; font-size: .88rem; }
.hero-carousel .tile .t-img { height: 150px !important; }
.hero-carousel .tile-credit .t-sub { font-size: .88rem; }
.hero-carousel .credit-art { padding: 10px; gap: 4px; }
.hero-carousel .ca-brand { font-size: clamp(1.8rem, 9vw, 2.8rem); }
.hero-carousel .ca-line { font-size: .8rem; }
@media (min-width: 900px) {
  .hero-carousel .tile { padding: 24px 48px !important; gap: 24px; }
  .hero-carousel .tile-skel { min-height: 280px; }
  .hero-carousel .tile h2 { font-size: 2.1rem; }
  .hero-carousel .tile .t-img { height: 230px !important; flex-basis: 38%; }
}

/* Red 4G / 5G (Pedro: fundamental, nunca mezclar) */
.net { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 5px; font-size: .68rem; font-weight: 900; letter-spacing: .03em; vertical-align: 1px; }
.net-4g { background: #E8EDF3; color: #33475B; }
.net-5g { background: #0F7B45; color: #fff; }
.p-net { display: flex; align-items: center; gap: 6px; margin: -2px 0 6px; font-size: .88rem; font-weight: 700; color: var(--ink-2); }
.p-net .net { margin-left: 0; font-size: .8rem; padding: 2px 8px; }

/* Temporada (Viernes Negro, Navidad…) */
.tile-season .t-kicker { font-size: .9rem; }
.tile-season .t-promos { margin: 0 0 10px; padding-left: 18px; text-align: left; font-size: .88rem; }
.season-art { flex-direction: column; justify-content: center !important; align-items: center !important; gap: 4px; border: 2px solid; border-radius: 18px 18px 0 0; padding: 10px; text-align: center; background: rgba(255,255,255,.04); }
.sa-name { font-size: clamp(1.9rem, 9vw, 3rem); font-weight: 900; letter-spacing: -.02em; line-height: 1; text-transform: uppercase; }
.sa-sub { font-size: .85rem; font-weight: 700; opacity: .85; }
.topbar .tb-season { font-weight: 800; color: #F5C400; }
@media (min-width: 900px) { .season-art { border-radius: 18px; } }

/* Logos de pago a crédito (Cashea y Krece) */
.pay-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 18px; padding: 12px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.pay-strip span { font-weight: 800; font-size: .95rem; color: var(--navy); }
.pay-strip img { height: 32px; width: auto; }
.pay-home { margin: 14px 0 0; box-shadow: var(--shadow); }
.pay-sm { justify-content: flex-start; padding: 8px 12px; margin: 0 0 12px; gap: 8px 14px; }
.pay-sm span { font-size: .82rem; }
.pay-sm img { height: 24px; }
.drawer-foot .pay-sm { margin: 0; justify-content: center; }
.pay-foot { justify-content: flex-start; padding: 8px 10px; }
.pay-foot span { display: none; }
.pay-foot img { height: 26px; }
.credit-art { background: #fff !important; border-color: #fff !important; }
.ca-logo { width: min(78%, 280px); height: auto; margin-bottom: 4px; }
.credit-art .ca-line { color: #1F1F1F; }
.tile-krece .credit-art .ca-line { color: #0C1947; }
@media (min-width: 900px) { .footer .wrap { grid-template-columns: 2fr 1fr 1fr 1.3fr 1.1fr; } }
@media (max-width: 599px) { .pay-strip span { flex-basis: 100%; text-align: center; } .pay-sm span { text-align: left; } .pay-strip img { height: 28px; } .pay-sm img { height: 24px; } }

/* AWEI: distribuidor oficial */
.tag-oficial { background: #E30613; color: #fff; }
.brand-chip.brand-oficial { background: var(--navy); color: #fff; border-color: var(--navy); }
.oficial-band { display: grid; gap: 4px; padding: 18px 20px; border-radius: 16px; text-decoration: none; color: #fff; background: linear-gradient(135deg, #111 0%, #2a2a2a 100%); border-left: 6px solid #E30613; }
.oficial-band .ob-kicker { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #ff6b6b; }
.oficial-band strong { font-size: clamp(1.05rem, 4.5vw, 1.35rem); line-height: 1.25; }
.oficial-band .ob-sub { font-size: .88rem; opacity: .85; }
.oficial-band:hover { filter: brightness(1.15); }
.p-oficial { margin: 0 0 8px; padding: 8px 12px; border-radius: 10px; background: #FFF1F1; border: 1px solid #FFD0D0; font-size: .86rem; color: var(--ink-2); }
.p-oficial a { color: #B0000F; font-weight: 700; white-space: nowrap; }

/* Promoción de temporada en el producto (p. ej. cargador de regalo) */
.tag-promo { background: #F5C400; color: #111; }
.p-promo { margin: 0 0 10px; padding: 10px 12px; border-radius: 10px; background: #111; color: #fff; font-size: .9rem; }
.p-promo strong { color: #F5C400; }

/* ===== Banner premium en el celular (Pedro: "el teléfono es pequeño, optimiza los espacios"; "que sea premium, lo mejor de lo mejor") =====
   Diapositivas horizontales: texto a la izquierda, equipo a la derecha. Sin espacio vacío. */
@media (max-width: 899px) {
  .tiles.hero-carousel { gap: 10px; border-radius: 20px; align-items: stretch; }
  .hero-carousel .tile { flex-direction: row !important; align-items: center !important; justify-content: space-between; text-align: left; gap: 10px;
    min-height: 232px !important; padding: 18px 12px 18px 18px !important; border-radius: 20px; }
  .hero-carousel .tile .t-text { flex: 1 1 58%; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
  .hero-carousel .tile .t-kicker { font-size: .62rem; letter-spacing: .14em; }
  .hero-carousel .tile h2 { font-size: 1.3rem; line-height: 1.1; margin: 5px 0 3px; letter-spacing: -.02em; max-width: none; }
  .hero-carousel .tile .t-sub { font-size: .76rem; margin: 0 0 6px; line-height: 1.3; }
  .hero-carousel .tile .t-price { font-size: 1.22rem; font-weight: 800; margin: 0 0 12px; line-height: 1.15; letter-spacing: -.01em; }
  .hero-carousel .tile .t-price .t-credit { font-size: .68rem; font-weight: 600; opacity: .75; margin-top: 3px; letter-spacing: 0; }
  .hero-carousel .tile .t-ship { display: none; }
  .hero-carousel .tile .t-cta { justify-content: flex-start; gap: 6px; margin: 0; flex-wrap: wrap; }
  .hero-carousel .tile .t-cta .btn { min-height: 34px; padding: 0 13px; font-size: .76rem; border-radius: 999px; }
  .hero-carousel .tile .t-img { flex: 0 0 40%; height: 188px !important; max-width: none; margin: 0 !important; align-items: center; justify-content: center; }
  .hero-carousel .tile .t-img img { max-height: 100%; max-width: 100%; border-radius: 12px; filter: drop-shadow(0 10px 16px rgba(6,43,90,.16)); }
  .hero-carousel .tile-dark .t-img img { padding: 8px; border-radius: 14px; filter: none; }
  .hero-carousel .tile-skel { min-height: 232px; }

  /* Cashea / Krece */
  .hero-carousel .tile-credit .t-sub { font-size: .76rem; }
  .hero-carousel .tile-credit .t-cta { flex-direction: column; align-items: stretch; width: 100%; }
  .hero-carousel .tile-credit .t-cta .btn { justify-content: center; }
  .hero-carousel .credit-art { flex: 0 0 36% !important; height: 140px !important; border-radius: 18px !important; padding: 10px !important; }
  .hero-carousel .credit-art .ca-line { font-size: .62rem; line-height: 1.25; }

  /* Viernes Negro y demás temporadas */
  .hero-carousel .tile-season { position: relative; isolation: isolate; overflow: hidden; display: block !important; padding: 22px 18px 20px !important; }
  .hero-carousel .tile-season::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: radial-gradient(90% 75% at 105% -10%, var(--acc-a, rgba(245,196,0,.38)) 0%, transparent 60%),
                radial-gradient(70% 60% at -10% 115%, var(--acc-b, rgba(245,196,0,.16)) 0%, transparent 65%); }
  .hero-carousel .tile-season::after { content: ""; position: absolute; left: 18px; right: 18px; top: 0; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--acc, #F5C400), transparent); }
  .hero-carousel .tile-season .season-art { display: none !important; }
  .hero-carousel .tile-season .t-kicker { display: inline-block; font-size: .6rem; letter-spacing: .24em; padding: 4px 10px; border: 1px solid currentColor; border-radius: 999px; }
  .hero-carousel .tile-season h2 { font-size: 1.55rem; font-weight: 900; line-height: 1.05; margin: 12px 0 2px; letter-spacing: -.025em; }
  .hero-carousel .tile-season .t-sub { display: none; }
  .hero-carousel .tile-season .t-promos { list-style: none; padding: 0; margin: 12px 0 16px; display: grid; gap: 7px; text-align: left; }
  .hero-carousel .tile-season .t-promos li { position: relative; padding-left: 21px; font-size: .78rem; line-height: 1.32; opacity: .94; }
  .hero-carousel .tile-season .t-promos li::before { content: ""; position: absolute; left: 0; top: .18em; width: 13px; height: 13px; border-radius: 50%;
    background: var(--acc, #F5C400) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.2l2 2 4-4.4' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
  .hero-carousel .tile-season .t-cta .btn-season { font-weight: 800; box-shadow: 0 6px 18px var(--acc-a, rgba(245,196,0,.38)); }
  .hero-carousel .tile-season .t-cta .btn-ghost-w { border-color: rgba(255,255,255,.35); }
}
/* Todas las diapositivas con la misma altura compacta (sin saltos ni huecos) */
@media (max-width: 899px) {
  .hero-carousel .tile { min-height: 248px !important; }
  .hero-carousel .tile-skel { min-height: 248px; }
  .hero-carousel .tile-season { padding: 18px !important; }
  .hero-carousel .tile-season h2 { font-size: 1.38rem; margin: 10px 0 0; }
  .hero-carousel .tile-season .t-promos { margin: 10px 0 14px; gap: 5px; }
  .hero-carousel .tile-season .t-promos li:nth-child(n+4) { display: none; }
  .hero-carousel .tile-season .t-promos li { font-size: .76rem; }
}

/* ===== Black Friday / temporadas en computadora (Pedro: "está muy feo") — mismo lenguaje premium que en el celular ===== */
@media (min-width: 900px) {
  .hero-carousel .tile-season { position: relative; isolation: isolate; overflow: hidden; }
  .hero-carousel .tile-season::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: radial-gradient(60% 90% at 85% 50%, var(--acc-a, rgba(245,196,0,.38)) 0%, transparent 60%),
                radial-gradient(50% 70% at 0% 110%, var(--acc-b, rgba(245,196,0,.16)) 0%, transparent 65%); }
  .hero-carousel .tile-season::after { content: ""; position: absolute; left: 48px; right: 48px; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--acc, #F5C400), transparent); }
  .hero-carousel .tile-season .t-kicker { display: inline-block; font-size: .7rem; letter-spacing: .26em; padding: 5px 12px; border: 1px solid currentColor; border-radius: 999px; }
  .hero-carousel .tile-season h2 { font-size: 2.3rem; font-weight: 900; letter-spacing: -.03em; margin: 12px 0 6px; }
  .hero-carousel .tile-season .t-sub { font-size: .95rem; opacity: .8; max-width: 34em; }
  .hero-carousel .tile-season .t-promos { list-style: none; padding: 0; margin: 12px 0 16px; display: grid; gap: 7px; }
  .hero-carousel .tile-season .t-promos li { position: relative; padding-left: 24px; font-size: .9rem; line-height: 1.35; }
  .hero-carousel .tile-season .t-promos li::before { content: ""; position: absolute; left: 0; top: .2em; width: 15px; height: 15px; border-radius: 50%;
    background: var(--acc, #F5C400) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.2l2 2 4-4.4' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
  .hero-carousel .tile-season .btn-season { font-weight: 800; box-shadow: 0 8px 22px var(--acc-a, rgba(245,196,0,.38)); }
  .hero-carousel .tile-season .btn-ghost-w { border-color: rgba(255,255,255,.35); }
  /* El recuadro con borde pasa a ser una gran tipografía dorada, sin caja */
  .hero-carousel .tile-season .season-art { border: 0 !important; background: none !important; gap: 10px; }
  .hero-carousel .tile-season .sa-name { font-size: clamp(3.4rem, 6vw, 5.4rem); line-height: .88; letter-spacing: -.04em; text-align: center;
    background: linear-gradient(180deg, #FFF1A8 0%, var(--acc, #F5C400) 45%, #A87A00 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 10px 30px var(--acc-a, rgba(245,196,0,.38))); }
  .hero-carousel .tile-season .sa-sub { font-size: .72rem; letter-spacing: .42em; text-transform: uppercase; opacity: .7; }
}

/* ===== Franja AWEI con los colores OFICIALES de la marca: amarillo #FFF100 y negro (logo de awei.hk) ===== */
.oficial-band { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 16px; padding: 18px 20px;
  border: 0; border-radius: 18px; color: #111; background: #FFF100; box-shadow: 0 12px 30px rgba(0, 0, 0, .12); }
.oficial-band::after { content: "awei"; position: absolute; right: -6px; bottom: -30px; font-size: 7rem; font-weight: 900; letter-spacing: -.04em; color: rgba(0,0,0,.07); pointer-events: none; line-height: 1; }
.oficial-band .ob-kicker { grid-column: 1; color: #111; opacity: .75; letter-spacing: .2em; }
.oficial-band strong { grid-column: 1; color: #000; }
.oficial-band .ob-sub { grid-column: 1; color: #111; opacity: .85; font-weight: 600; }
.oficial-band:hover { filter: brightness(.97); }
@media (min-width: 700px) { .oficial-band { padding: 22px 28px; } }
.tag-oficial { background: #FFF100; color: #000; }
.brand-chip.brand-oficial { background: #FFF100; color: #000; border-color: #E6D900; }

/* Barra para volver (catálogo y producto) */
.backbar { background: #fff; border-bottom: 1px solid var(--line, #E6ECF2); }
.backbar .wrap { display: flex; align-items: center; gap: 8px; padding-top: 8px; padding-bottom: 8px; }
.back-btn, .home-btn { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px; font-weight: 800; font-size: .88rem; cursor: pointer; text-decoration: none; }
.back-btn { border: 1.5px solid var(--navy, #062B5A); background: #fff; color: var(--navy, #062B5A); }
.back-btn span { font-size: 1.3rem; line-height: 1; margin-top: -2px; }
.home-btn { border: 0; background: var(--teal-soft, #E6F6F7); color: var(--teal-dark, #00737B); }
.home-btn svg { width: 18px; height: 18px; }
.back-btn:hover { background: #F2F6FA; } .home-btn:hover { filter: brightness(.96); }

.section-sub { margin: -6px 0 12px; color: var(--muted, #5B6B7D); font-size: .9rem; }

/* Marcas con logo, en el orden de lo que más vende GouBera */
.brands { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 600px) { .brands { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 900px) { .brands { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; } }
.brand-tile { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 8px 9px; background: #fff; border: 1px solid var(--line, #E3E9F0); border-radius: 16px; text-decoration: none; color: var(--ink, #142033); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.brand-tile:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(6,43,90,.10); border-color: #CFE3E6; }
.bt-logo { width: 100%; aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; border-radius: 10px; background: #fff; }
.bt-logo img { width: 100%; height: 100%; object-fit: contain; }
.bt-logo b { font-size: 1.05rem; font-weight: 900; letter-spacing: .02em; color: var(--navy, #062B5A); text-transform: lowercase; }
.bt-name { font-size: .74rem; font-weight: 700; color: var(--muted, #5B6B7D); text-align: center; line-height: 1.2; }
.bt-name em { display: block; font-style: normal; font-size: .64rem; font-weight: 800; color: #000; }
.brand-tile.brand-oficial { background: #FFF100; border-color: #E6D900; }
.brand-tile.brand-oficial .bt-logo { background: #FFF100; }
.brand-tile.brand-oficial .bt-logo b { color: #000; font-size: 1.5rem; }
.brand-tile.brand-oficial .bt-name { color: #000; }
/* Promociones vigentes de Cashea / Krece en el banner */
.tile-credit .t-promos { list-style: none; padding: 0; margin: 8px 0 8px; display: grid; gap: 4px; text-align: left; }
.tile-credit .t-promos li { position: relative; padding-left: 18px; font-size: .84rem; line-height: 1.3; }
.tile-credit .t-promos li::before { content: "✓"; position: absolute; left: 0; top: 0; font-weight: 900; }
.tile-credit .t-vig { margin: 2px 0 4px; font-size: .8rem; font-weight: 800; }
@media (max-width: 600px) {
  .hero-carousel .tile-credit .t-promos li { font-size: .74rem; }
  .hero-carousel .tile-credit .t-promos li:nth-child(n+3) { display: none; }
  .hero-carousel .tile-credit .t-vig { font-size: .72rem; }
}
/* Pedro: "hay que moverlo para que se vea la imagen". Safari (iPhone) no pinta las fotos con mix-blend-mode dentro
   de un carrusel deslizable hasta que se toca. Sin mezcla de color y con capa propia: la foto se ve siempre completa. */
.hero-carousel .tile .t-img img { mix-blend-mode: normal !important; background: #fff; -webkit-transform: translateZ(0); transform: translateZ(0); -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.hero-carousel .tile { -webkit-transform: translateZ(0); transform: translateZ(0); }
@media (max-width: 899px) {
  /* Cashea / Krece: en el celular solo lo esencial, para que la diapositiva no sea más alta que las demás */
  .hero-carousel .tile-credit .t-promos { display: none; }
  .hero-carousel .tile-credit .t-vig { font-size: .68rem; margin: 2px 0 8px; }
  .hero-carousel .tile-credit h2 { font-size: 1.15rem; }
  .hero-carousel .tile-credit .t-cond { display: none; }
  .hero-carousel .tile-credit .t-sub { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .hero-carousel .tile-credit .t-cta { gap: 5px; }
  .hero-carousel .tile-credit .t-cta .btn { min-height: 32px; }
}

/* Diapositivas de VIDEO en el banner (videos oficiales de las marcas, solo de productos disponibles) */
.tile-video { background: #070b14; color: #fff; }
.tile-video .t-kicker { color: #80CDD1; }
.tv-media { position: relative; overflow: hidden; background: #000; }
.tv-media .tv-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; }
/* el video se agranda y se recorta arriba y abajo: así no se ven el título ni el logo que YouTube pone encima (tapaban el texto) */
.tv-media iframe { position: absolute; top: -62px; left: 50%; height: calc(100% + 124px); width: auto; aspect-ratio: 16 / 9; min-width: 100%; transform: translateX(-50%); border: 0; pointer-events: none; }
.tv-badge { position: absolute; right: 8px; bottom: 8px; z-index: 2; font-size: .62rem; font-weight: 800; padding: 3px 8px; border-radius: 999px; background: rgba(0,0,0,.6); color: #fff; letter-spacing: .04em; }
@media (min-width: 900px) {
  .hero-carousel .tile-video .tv-media { flex: 0 0 auto; height: 230px; aspect-ratio: 16 / 9; border-radius: 16px; }
  .hero-carousel .tile-video .tv-media iframe { left: 50%; transform: translateX(-50%); }
}
@media (max-width: 899px) {
  .hero-carousel .tile-video { display: block !important; padding: 0 !important; overflow: hidden; }
  .hero-carousel .tile-video .tv-media { position: absolute; inset: 0; }
  .hero-carousel .tile-video .tv-media::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(90deg, rgba(4,8,16,.92) 0%, rgba(4,8,16,.72) 45%, rgba(4,8,16,.05) 80%); }
  .hero-carousel .tile-video .t-text { position: absolute; z-index: 2; left: 0; top: 0; bottom: 0; width: 64%; padding: 18px; justify-content: center; }
  .hero-carousel .tile-video .t-price .t-credit { opacity: .85; }
}
.tile-video .btn-ghost-w { border-color: rgba(255,255,255,.45); }
/* Video en grande dentro de la página */
.vmodal { position: fixed; inset: 0; z-index: 300; background: rgba(3,8,16,.92); display: grid; place-items: center; padding: 12px; }
.vm-box { width: min(960px, 100%); display: grid; gap: 10px; }
.vm-top { display: flex; justify-content: space-between; align-items: center; color: #fff; font-size: 1rem; gap: 10px; }
.vm-x { background: rgba(255,255,255,.14); color: #fff; border: 0; border-radius: 999px; width: 44px; height: 44px; font-size: 1.2rem; cursor: pointer; flex: 0 0 auto; }
.vm-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 14px; background: #000; }
.vm-frame iframe { position: absolute; top: -62px; left: 50%; height: calc(100% + 124px); width: auto; aspect-ratio: 16 / 9; min-width: 100%; transform: translateX(-50%); border: 0; pointer-events: none; }
.vm-acc { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.vm-acc .btn { flex: 1 1 140px; justify-content: center; min-height: 44px; }
.vm-acc .btn-ghost-w { color: #fff; border-color: rgba(255,255,255,.45); }
@media (orientation: landscape) and (max-height: 500px) { .vm-box { width: min(760px, 100%); } }

/* Modo mayorista: barra superior, etiqueta de precio y ventana de pedido */
.mayor-bar { background: #0B2A4A; color: #fff; font-size: .82rem; }
.mayor-bar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 14px; padding-top: 7px; padding-bottom: 7px; }
.mayor-bar b { color: #FFD54A; }
.mayor-bar .mb-acc { display: inline-flex; gap: 12px; align-items: center; }
.mayor-bar a, .mayor-bar button { color: #fff; font: inherit; font-weight: 800; text-decoration: underline; background: none; border: 0; padding: 0; cursor: pointer; }
.pm-tag { display: block; margin-top: 2px; font-size: .68rem; font-weight: 800; color: #0F6B3B; letter-spacing: .01em; }
.p-price .pm-tag { font-size: .8rem; }
.mo-bg { position: fixed; inset: 0; z-index: 200; background: rgba(5,15,30,.55); display: grid; place-items: center; padding: 16px; }
.mo-box { background: #fff; border-radius: 18px; padding: 22px 18px; width: min(420px, 100%); display: grid; gap: 10px; text-align: center; }
.mo-box h2 { margin: 0; font-size: 1.25rem; }
.mo-box p { margin: 0; }
.mo-msg { min-height: 1.2em; font-weight: 700; font-size: .85rem; color: #0F6B3B; }

/* Lo que el sistema oculta (atributo hidden) se oculta siempre, aunque otra regla le ponga display */
[hidden] { display: none !important; }

/* ===== Revisión en teléfonos (2026-11-24, Pedro: "que se vea perfecto en Android y Apple") =====
   Ningún texto por debajo de ~10,5 px y enlaces "Ver todo" con zona táctil cómoda (sin cambiar cómo se ven). */
.section-head .link { display: inline-block; padding: 10px 0 10px 12px; margin: -10px 0; }
@media (max-width: 899px) {
  .hero-carousel .tile .t-kicker, .hero-carousel .tile-season .t-kicker { font-size: .66rem !important; }
  .hero-carousel .credit-art .ca-line { font-size: .68rem !important; }
  .hero-carousel .tile .t-price .t-credit, .hero-carousel .tile-credit .t-vig { font-size: .7rem !important; }
  .tv-badge { font-size: .66rem; }
}

/* Acceso de mayoristas en el encabezado */
.head-mayor { display: inline-flex; align-items: center; gap: 4px; width: auto !important; padding: 0 8px; text-decoration: none; color: var(--navy, #062B5A); font-weight: 800; font-size: .78rem; }
.head-mayor svg { width: 22px; height: 22px; flex: 0 0 auto; }
@media (max-width: 420px) { .head-mayor { flex-direction: column; gap: 1px; padding: 0 2px; font-size: .64rem; line-height: 1; letter-spacing: -.01em; } .head-mayor svg { width: 20px; height: 20px; } }

/* Videos de Cashea / Krece (Instagram incrustado) */
.cv-grid { display: grid; grid-template-columns: 1fr; gap: 16px; justify-items: center; }
@media (min-width: 760px) { .cv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cv-item { margin: 0; width: 100%; max-width: 400px; display: flex; flex-direction: column; gap: 8px; }
.cv-item figcaption { display: flex; flex-direction: column; gap: 2px; font-size: .95rem; }
.cv-item figcaption span { font-size: .8rem; font-weight: 700; color: var(--muted, #5B6B7D); }
.cv-frame { border-radius: 16px; overflow: hidden; border: 1px solid var(--line, #E3E9F0); background: #fff; }
.cv-frame iframe { display: block; width: 100%; height: 640px; border: 0; }
.cv-cashea .cv-frame { border-color: #E6D900; }
.cv-btn { justify-content: center; }
.brands-more { display: flex; justify-content: center; margin-top: 14px; }
.btn-all-brands { font: inherit; font-weight: 800; font-size: .95rem; padding: 12px 22px; border-radius: 999px; border: 2px solid var(--navy, #062B5A); background: #fff; color: var(--navy, #062B5A); cursor: pointer; }
.btn-all-brands:hover { background: var(--navy, #062B5A); color: #fff; }
.btn-all-brands[hidden], .link-btn[hidden] { display: none; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }

/* Asistente dentro del buscador */
.suggest .s-ai { background: linear-gradient(90deg, rgba(0,154,163,.10), rgba(6,43,90,.06)); }
.suggest .s-ai .s-name { color: var(--navy, #062B5A); font-weight: 700; }
.suggest .s-ai .s-name small { font-weight: 500; }
.suggest .s-ai-ic { display: grid; place-items: center; background: linear-gradient(135deg, #009AA3, #062B5A); color: #fff; font-size: 1.1rem; border-radius: 10px; }
.p-oficial { background: #FFFBD1; border-color: #F2E200; }
.p-oficial a { color: #000; text-decoration: underline; }
