:root {
  --teal: #00a99d;
  --teal-2: #009b90;
  --navy: #1c2b4a;
  --navy-2: #0b1a33;
  --blue: #395797;
  --ink: #1c2b4a;
  --muted: #5c6570;
  --line: #e0e0e0;
  --paper: #fff;
  --soft: #f4f6f8;
  --red: #d9534f;
  --title: #c45c32;
  --f: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--f); color: var(--ink); background: var(--paper); line-height: 1.45; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.hidden { display: none !important; }
html { --cab-h: 200px; --cab-vis: var(--cab-h); }
html.cab-oculta { --cab-vis: 0px; }
body { padding-top: var(--cab-h); }

.topbar {
  background: var(--teal); color: #fff; font-size: 13px; padding: 8px 0;
}
.topbar .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; }
.topbar a:hover { opacity: .85; }
.top-izq, .top-der { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.top-izq span, .top-izq a { display: inline-flex; align-items: center; gap: 6px; }
.ico { width: 14px; height: 14px; display: inline-block; }
.carrito-btn { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; }
.carrito-lbl { font-weight: 800; }
.cta-ingresar {
  display: inline-flex; align-items: center; padding: 8px 14px;
  border: 1px solid var(--line); font-weight: 800; color: var(--navy); white-space: nowrap;
}
.cta-ingresar.oscuro { color: var(--navy); }
.badge {
  background: var(--red); color: #fff; min-width: 18px; height: 18px; border-radius: 50%;
  font-size: 11px; font-weight: 700; display: inline-grid; place-items: center; padding: 0 4px;
}
.busca-ico, .soc {
  background: transparent; border: 0; color: #fff; cursor: pointer; padding: 4px; font-size: 16px;
}

.brandbar { background: #fff; border-bottom: 1px solid var(--line); }
.brandbar .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img, .brand .ep-mark { width: 58px; height: 58px; }
.ep-mark {
  border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center;
  font-weight: 800; letter-spacing: .04em; border: 2px solid var(--teal); font-size: 16px;
}
.ep-txt b { display: block; font-size: 22px; letter-spacing: .08em; }
.ep-txt small { display: block; color: var(--muted); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }

.brand-der { display: flex; align-items: center; gap: 14px; flex-shrink: 1; flex: 1; justify-content: flex-end; }
.carrito-btn.oscuro, .busca-ico.oscuro, .soc.oscuro, .cta-ingresar.oscuro { color: var(--navy); }

.pg-busca {
  position: relative; display: flex; align-items: stretch; flex: 1; min-width: 280px;
  border: 1px solid var(--line); background: #fff;
}
.pg-busca input { border: 0; flex: 1; min-width: 120px; padding: 10px 12px; }
.pg-busca-lista {
  display: flex; align-items: center; padding: 0 10px; font-size: 12px; font-weight: 700;
  color: var(--navy); white-space: nowrap; border-left: 1px solid var(--line);
}
.pg-busca .cta { border-radius: 0; }
.busca-sug {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 40;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 28px rgba(12,24,48,.12);
  max-height: min(70vh, 420px); overflow: auto;
}
.aviso-busca { margin: 0 0 12px; padding: 10px 12px; background: var(--soft); border-radius: 8px; }
.busca-sug a { display: grid; padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--navy); }
.busca-sug a span { font-size: 12px; color: var(--muted); }
.busca-sug a:hover { background: var(--soft); }
.busca-sug .sug-todos { font-weight: 700; color: var(--teal); }
.dd-wrap { position: relative; }
.dd-wrap .dd-panel {
  display: none; position: absolute; right: 0; top: 100%; z-index: 40;
  background: #fff; border: 1px solid var(--line); min-width: 240px;
  box-shadow: 0 12px 28px rgba(12,24,48,.14); padding: 10px;
}
.dd-wrap:hover .dd-panel, .dd-wrap:focus-within .dd-panel { display: grid; gap: 6px; }
.dd-panel a, .dd-panel button {
  display: block; width: 100%; text-align: left; background: none; border: 0;
  padding: 8px 6px; cursor: pointer; color: var(--navy); font: inherit;
}
.dd-panel a:hover, .dd-panel button:hover { background: var(--soft); }
.mini-item { display: grid !important; }
.mini-tot { font-weight: 800; padding: 8px 6px; }
.cta-experto {
  background: var(--navy); color: #fff; font-size: 13px; padding: .55em .9em; white-space: nowrap;
}
.solo-movil { display: none; }

.navazul { background: var(--navy); color: #fff; }
.navazul .wrap {
  display: flex; justify-content: space-between; gap: 16px 24px;
  min-height: 44px; align-items: center; width: min(1440px, calc(100% - 40px));
}
.nav-sitio { display: flex; gap: 4px 22px; align-items: center; flex-wrap: wrap; flex: 1; }
.nav-sitio a {
  color: #fff; font-size: 14px; font-weight: 500; padding: 12px 0; white-space: nowrap;
}
.nav-sitio a:hover { color: #c9d0d8; }
.nav-sitio a.on { font-weight: 700; }
.aviso-envio {
  display: inline-flex; align-items: center; gap: 8px; margin: 6px 0; padding: 7px 12px;
  border: 1px dashed #e87722; color: #fff; font-size: 13px; line-height: 1.25;
  max-width: 340px; flex-shrink: 0;
}
.aviso-envio i {
  display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%;
  background: #e87722; color: #fff; font-style: normal; font-size: 11px; font-weight: 800;
  flex-shrink: 0;
}

#cabecera {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: #fff;
  transform: translate3d(0, 0, 0);
  transition: transform .32s cubic-bezier(.22, .61, .36, 1);
}
html.cab-oculta #cabecera { transform: translate3d(0, -100%, 0); }
.cab-hotspot {
  position: fixed; top: 0; left: 0; right: 0; height: 22px; z-index: 1001;
  pointer-events: none;
}
html.cab-oculta .cab-hotspot { pointer-events: auto; }
@media (prefers-reduced-motion: reduce) {
  #cabecera, .cat-tabs { transition: none; }
}
.cat-mega { position: relative; }
.catbar { background: #fff; border-bottom: 1px solid var(--line); }
.catbar .wrap {
  display: flex; gap: 8px 22px; justify-content: flex-start; flex-wrap: nowrap;
  overflow-x: auto; padding: 10px 0; font-size: 13px; font-weight: 600; color: #222;
  width: min(1440px, calc(100% - 40px));
}
.catbar a, .catbar-item {
  background: none; border: 0; cursor: pointer; font: inherit; font-weight: 600;
  color: #222; padding: 6px 0; white-space: nowrap; flex-shrink: 0;
}
.catbar button:hover, .catbar a:hover, .catbar-item:hover { color: var(--teal); }
.catbar button.on, .catbar a.on, .catbar-item.on { color: #e87722; }

.mega-capa {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; z-index: 990;
  box-shadow: 0 22px 40px rgba(12, 24, 48, .16);
  border-top: 1px solid var(--line);
  max-height: 60vh; overflow: auto;
}
.mega-capa:before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -10px;
  height: 10px;
}
.mega-box { width: min(1180px, calc(100% - 32px)); margin: 0 auto; position: relative; padding: 18px 0 28px; display: grid; grid-template-columns: 220px 1fr; gap: 8px 28px; }
.mega-cat-tit { grid-column: 1 / -1; margin: 0 0 4px; }
.mega-cat-tit a { font-weight: 700; color: var(--teal); }
.mega-cerrar {
  position: absolute; right: 0; top: 8px; width: 36px; height: 36px;
  border: 0; background: transparent; cursor: pointer; font-size: 22px; color: var(--muted);
}
.mega-lat { display: flex; flex-direction: column; gap: 2px; padding-top: 8px; }
.mega-lat button {
  text-align: left; border: 0; background: transparent; padding: 10px 14px; cursor: pointer;
  font: inherit; font-weight: 600; color: var(--navy); display: flex; justify-content: space-between; align-items: center;
  border-radius: 0 24px 24px 0;
}
.mega-lat button:hover { background: #f3f4f6; }
.mega-lat button.on { background: #eceff3; }
.mega-lat button:after { content: "›"; color: var(--muted); font-size: 18px; }
.mega-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 20px; padding: 8px 28px 0 0; }
.mega-grid h3 { color: var(--blue); font-size: 15px; margin-bottom: 8px; }
.mega-grid a { display: block; font-size: 13px; padding: 3px 0; color: #333; }
.mega-grid a:hover { color: #e87722; }
.mega-pie { grid-column: 1 / -1; margin-top: 8px; }
.mega-fondo {
  position: fixed; left: 0; right: 0; bottom: 0; top: var(--cab-h);
  background: rgba(3, 3, 38, .32); z-index: 980;
}

.busca-capa {
  position: fixed; inset: 0; background: rgba(11, 26, 51, .55); z-index: 80;
  display: grid; place-items: start center; padding-top: 120px;
}
.busca-capa form {
  background: #fff; width: min(560px, calc(100% - 32px)); padding: 18px; display: flex; gap: 8px;
}
.busca-capa input { flex: 1; border: 1px solid var(--line); padding: 10px 12px; }

.hero {
  position: relative; color: #fff; min-height: min(72vh, 620px);
  display: grid; place-items: center; text-align: center; padding: 88px 16px 72px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(11,26,51,.55), rgba(11,26,51,.72)),
    repeating-linear-gradient(135deg, #1c2b4a 0 14px, #152238 14px 28px);
  background-size: cover; background-position: center;
}
.hero.con-foto { background-image: linear-gradient(180deg, rgba(11,26,51,.5), rgba(11,26,51,.7)), var(--foto); }
.hero.con-video { background: #0b1a33; }
.hero-vid, .hero-yt {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  pointer-events: none; z-index: 0;
}
.hero-yt { border: 0; transform: scale(1.35); }
.hero-yt-wrap {
  position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none;
}
.hero-yt-wrap iframe {
  position: absolute; left: 50%; top: 50%;
  width: 177.78vh; height: 100vh;
  min-width: 100%; min-height: 56.25vw;
  transform: translate(-50%, -50%);
  border: 0;
}
.hero.con-video .wrap, .hero.con-video .hero-slide, .hero.con-video .hero-ctrl { position: relative; z-index: 1; }
.hero.con-video::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: rgba(8, 12, 20, .22);
  pointer-events: none;
}
.hero.con-video .hueco-hero, .hero.con-foto .hueco-hero { display: none; }
.vid-marca { max-width: 920px; margin: 0 auto; }
.vid-marca iframe { width: 100%; aspect-ratio: 16/9; border: 0; }
.tema-form h3 { margin-top: 8px; }
.tema-id, .tema-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.tema-colores { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.tema-foto {
  position: relative;
  border: 1px dashed var(--line);
  padding: 10px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  min-width: 0;
  overflow: hidden;
  cursor: pointer;
}
.tema-foto-tit { display: block; font-size: 13px; line-height: 1.3; color: var(--navy); }
.tema-foto-vista {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #e8ecf1;
  overflow: hidden;
  border-radius: 4px;
}
.tema-foto-vista img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #e8ecf1;
}
.tema-foto-logo .tema-foto-vista img { object-fit: contain; background: #fff; }
.tema-foto-vacio {
  display: grid;
  place-items: center;
  height: 100%;
  min-height: 100%;
  color: #8a94a6;
  font-weight: 600;
  font-size: 12px;
}
.tema-foto-file {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.tema-foto-btn {
  display: block;
  text-align: center;
  border: 1px solid var(--line);
  background: var(--soft);
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  border-radius: 4px;
}
.tema-foto:hover .tema-foto-btn { border-color: var(--teal); color: var(--teal); }
.tema-foto-nom {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #5c6b80;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tema-foto-nom:empty { display: none; }
.tema-foto-ancha { max-width: 360px; }
.tema-slides { display: grid; gap: 12px; }
.tema-slide { border: 1px solid var(--line); padding: 12px; display: grid; gap: 8px; }
.hero .hueco-hero {
  position: absolute; right: 18px; bottom: 14px; font-size: 12px; color: #c9d0d8;
  border: 1px dashed rgba(255,255,255,.35); padding: 6px 10px;
}
.hero.con-foto .hueco-hero { display: none; }
.hero h1 { font-size: clamp(32px, 6.4vw, 82px); font-weight: 500; letter-spacing: .02em; max-width: 16ch; margin: 0 auto; line-height: 1.08; text-shadow: 0 2px 18px rgba(0,0,0,.4); }
.hero .hero-slide > p { margin-top: 16px; max-width: 28ch; margin-left: auto; margin-right: auto; color: #fff; font-size: clamp(16px, 2.2vw, 28px); font-weight: 500; line-height: 1.3; text-shadow: 0 2px 14px rgba(0,0,0,.4); }
.hero-cta { margin-top: 22px; }

.promo {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; background: #fff;
}
.promo-txt { padding: 48px 40px; }
.promo-txt h2 { color: var(--blue); font-size: 32px; margin-bottom: 8px; }
.caja-oscura {
  background: var(--navy); color: #fff; padding: 36px; min-height: 220px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.caja-oscura h3 { font-size: 22px; }
.caja-video { position: relative; padding: 0; min-height: 280px; overflow: hidden; justify-content: flex-end; }
.caja-video video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.caja-video-txt {
  position: relative; z-index: 1; padding: 28px 32px;
  background: linear-gradient(180deg, transparent, rgba(11,26,51,.78));
}

.marcas { display: flex; flex-wrap: wrap; }
.marcas-carrusel {
  overflow: hidden; background: #fff; padding: 28px 0 36px;
  border-bottom: 1px solid var(--line);
}
.marcas-pista {
  display: flex; align-items: center; gap: 64px; width: max-content;
  animation: marcas-run 32s linear infinite; padding: 0 32px;
}
.marcas-pista img { height: 72px; width: auto; object-fit: contain; display: block; }
@keyframes marcas-run {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marcas-pista { animation: none; }
}
.marca-logo {
  display: grid; place-items: center; min-height: 120px; padding: 16px;
  background: #fff; border: 1px solid var(--line);
}
.marca-logo img { max-height: 72px; width: auto; object-fit: contain; }
.marca-tile {
  flex: 1 1 140px; min-height: 88px; display: grid; place-items: center;
  color: #fff; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: 14px;
}

.lineas {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  width: min(1180px, calc(100% - 32px)); margin: 28px auto 12px;
}
.linea {
  min-height: 430px; color: #fff; padding: 28px 24px;
  display: flex; flex-direction: column; justify-content: flex-end;
  background-color: #1c2b4a;
  background-image: linear-gradient(180deg, rgba(11,26,51,.12), rgba(11,26,51,.78)), var(--foto, none);
  background-size: cover;
  background-position: center;
  text-align: left;
}
.linea b { font-size: 28px; font-weight: 600; display: block; }
.linea p { font-size: 14px; color: #e8eef6; margin-top: 8px; max-width: 28ch; }
.linea .cta {
  margin-top: 16px; align-self: flex-start; background: var(--blue);
  padding: .55em 1.3em; font-size: 14px;
}
.linea:hover .cta { background: var(--teal); }

.bloque { padding: 56px 0; }
.bloque.suave { background: var(--soft); }
.kicker { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
h2 { font-size: clamp(26px, 3vw, 36px); margin: 6px 0 10px; }
.intro { color: var(--muted); max-width: 62ch; }

.cta {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--navy); color: #fff; font-weight: 700;
  padding: .75em 1.2em; border: 0; cursor: pointer; border-radius: 2px;
}
.cta:hover { background: var(--blue); }
.cta-teal { background: var(--teal); }
.cta-teal:hover { background: var(--teal-2); }
.cta-line { background: transparent; color: var(--navy); border: 1px solid var(--navy); }
.cta-line:hover { background: var(--navy); color: #fff; }
.cta-wa { background: #25d366; color: #fff; }
.cta-wa:hover { background: #1ebe5a; color: #fff; }

.grid-prod { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.prod-home { border: 0; text-align: left; }
.prod-home .ph { height: 200px; background-color: #fff; }
.prod-home .prod-tit {
  font-size: 14px; font-weight: 500; color: #c45c32; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.prod-home .precio-txt { color: #888; font-size: 13px; margin-top: 6px; }
.prod-home .acciones-prod { grid-template-columns: 1fr; gap: 6px; }
.prod-home .cta-line { border-color: var(--line); color: var(--muted); font-weight: 600; }
.home-prods { text-align: center; background: #fff; }
.home-prods h2 { font-weight: 500; color: #5c6570; }
.home-prods .grid-prod { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; text-align: left; }
.prod { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.prod .sku-ban {
  background: linear-gradient(90deg, #1c2b4a 0%, #395797 48%, #00a99d 100%);
  color: #fff; text-align: center; font-size: 13px; font-weight: 700;
  letter-spacing: .03em; padding: 10px 8px;
}
.prod .ph {
  display: block;
  height: 160px; background: linear-gradient(145deg, #1c2b4a, #395797 55%, #00a99d);
  background-size: contain; background-repeat: no-repeat; background-position: center;
  background-color: #fff; position: relative;
}
.prod .ph .hueco {
  position: absolute; inset: 10px; border: 1px dashed rgba(255,255,255,.35);
  display: grid; place-items: center; font-size: 11px; color: #d5dbe3; text-align: center; padding: 6px;
}
.prod .ph.con-foto .hueco { display: none; }
.prod > div { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.prod small { color: var(--muted); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.prod .prod-det { color: var(--ink); font-size: 13px; line-height: 1.4; }
.prod .ed-stock { color: var(--teal); font-weight: 700; font-size: 12px; }
.prod .precio-txt { color: #888; font-weight: 700; }
.prod .cargar-img { display: none; }
.prod .ph { cursor: pointer; }
.prod .ed {
  width: 100%; border: 1px dashed #c45c32; background: #fffaf6;
  padding: 6px 8px; color: inherit;
}
.prod .ed-nom { font-weight: 700; font-size: 15px; }
.prod .ed-det { min-height: 48px; resize: vertical; }
.prod input.ed-stock, .prod input.ed-precio { font-weight: 700; }

.admin-bar {
  background: #c45c32; color: #fff; text-align: center;
  padding: 8px 16px; font-size: 13px; font-weight: 600;
  display: flex; flex-wrap: wrap; gap: 8px 14px; justify-content: center; align-items: center;
}
.admin-bar a { color: #fff; text-decoration: underline; font-weight: 800; }
.admin-salir {
  background: #fff; color: #c45c32; border: 0; font-weight: 800;
  padding: 6px 12px; cursor: pointer; font-size: 13px;
}
body.admin-on .prod .cargar-img,
body.admin-on .cat-hero-foto .cargar-img {
  display: block; position: absolute; left: 8px; right: 8px; bottom: 8px;
  background: rgba(11,26,51,.82); color: #fff; text-align: center;
  font-size: 11px; padding: 6px 8px; cursor: pointer; z-index: 2;
}
body.admin-on .prod.fila-prod { align-items: start; }
body.admin-on .prod.fila-prod .ed,
body.admin-on .fam-edit .ed {
  border: 2px dashed #c45c32; background: #fff7f2;
}

.admin-cuenta {
  margin-top: 36px; padding: 22px; border: 1px solid var(--line);
  background: var(--soft); display: grid; gap: 12px;
  scroll-margin-top: calc(var(--cab-vis) + 12px);
}
.admin-lista-prod { display: grid; gap: 12px; }
.admin-lista-prod .prod { background: #fff; }
.admin-cuenta .ad-acciones { display: flex; gap: 10px; flex-wrap: wrap; align-items: end; }
.admin-cuenta .ad-acciones label { flex: 1; min-width: 180px; }
.wrap-panel { width: min(1440px, calc(100% - 24px)); }
.panel-admin {
  display: grid; grid-template-columns: 230px 1fr; gap: 0; margin: 8px 0 36px;
  border: 1px solid var(--line); background: #fff; min-height: 70vh;
}
.panel-nav { background: var(--navy); color: #fff; padding: 18px 0 24px; }
.panel-nav-kicker { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #9aa7b8; padding: 0 18px 4px; }
.panel-nav h2 { font-size: 18px; padding: 0 18px 16px; }
.panel-nav a {
  display: block; color: #c9d0d8; padding: 11px 18px; font-weight: 600; font-size: 14px;
}
.panel-nav a:hover, .panel-nav a.on { background: #12203a; color: #fff; }
.panel-salir {
  margin: 18px; width: calc(100% - 36px);
  background: #fff !important; color: var(--navy) !important; border-color: #fff !important;
  font-weight: 800;
}
.panel-main { padding: 22px 26px 36px; display: grid; gap: 8px; align-content: start; }
.panel-sec { display: grid; gap: 14px; }
.panel-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kpi { background: var(--soft); border: 1px solid var(--line); padding: 14px 16px; }
.kpi b { display: block; font-size: 26px; color: var(--navy); line-height: 1.15; }
.kpi span { color: var(--muted); font-size: 13px; }
.panel-tabla { width: 100%; border-collapse: collapse; }
.panel-tabla th, .panel-tabla td { border-bottom: 1px solid var(--line); padding: 8px 10px; text-align: left; font-size: 14px; }
.cli-admin { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.cli-admin article {
  border: 1px solid var(--line); padding: 12px; background: var(--soft);
  display: grid; gap: 8px; justify-items: center; text-align: center;
}
.cli-admin img { max-height: 52px; max-width: 100%; object-fit: contain; }
.ad-acciones { display: flex; gap: 10px; flex-wrap: wrap; align-items: end; }
.ad-acciones label { flex: 1; min-width: 180px; }
.ad-msg { padding: 10px 12px; display: none; }
.ad-msg.show { display: block; }
.ad-msg.ok { background: #e8f3e4; color: #1f5a28; }
.ad-msg.err { background: #fdecea; color: #8a1f11; }
.acciones-prod { display: grid; gap: 8px; margin-top: auto; }
.acciones-prod .cta { width: 100%; padding: .65em .8em; font-size: 13px; }

.pasos-masivo {
  background: var(--soft); border: 1px solid var(--line); padding: 18px 20px 8px;
}
.pasos-masivo h3 { margin: 0 0 10px; font-size: 16px; }
.pasos-masivo ol { margin: 0 0 12px; padding-left: 22px; display: grid; gap: 8px; }
.pasos-masivo li { color: var(--ink); line-height: 1.45; }
.pasos-masivo ul { margin: 8px 0 0; padding-left: 18px; display: grid; gap: 4px; }
.masivo-carga { margin-top: 8px; }
.masivo-modo {
  border: 1px solid var(--line); padding: 12px 14px; display: grid; gap: 8px; background: var(--soft);
}
.masivo-modo legend { font-weight: 700; padding: 0 6px; }
.masivo-modo label { font-weight: 600; display: flex; gap: 8px; align-items: center; }
.masivo-modo input { width: auto; }
.masivo-tabla-wrap { overflow-x: auto; }
.masivo-tabla select { min-width: 180px; }
.masivo-mini { width: 48px; height: 48px; object-fit: contain; background: #fff; border: 1px solid var(--line); }

.soporte-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 28px; }
.soporte-grid article { background: transparent; border: 0; padding: 8px 10px; text-align: center; }
.soporte-grid h3 { font-size: 18px; margin: 10px 0 8px; color: var(--navy); }
.soporte-grid p { color: var(--muted); font-size: 14px; }
.soporte-ico {
  display: inline-grid; place-items: center; width: 52px; height: 52px;
  color: var(--teal);
}
.soporte-ico svg { width: 36px; height: 36px; }
.home-porqe { text-align: center; }
.home-porqe h2 { color: var(--blue); font-size: clamp(28px, 3.4vw, 40px); }
.home-porqe .intro { margin: 0 auto 8px; max-width: 46ch; font-size: 18px; color: var(--navy); }
.home-porqe-acc { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.cta-navy { background: var(--blue); }

.banda-foto {
  color: #fff; text-align: center; padding: 88px 16px;
  background: linear-gradient(180deg, rgba(11,26,51,.55), rgba(11,26,51,.72)), #1c2b4a;
  background-size: cover; background-position: center;
}
.banda-foto h2 { color: #fff; font-size: clamp(28px, 3.5vw, 42px); font-weight: 500; }
.banda-foto .kicker { letter-spacing: .16em; font-size: 13px; color: #fff; }

.grid-cat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.cat {
  border: 1px solid var(--line); padding: 20px; min-height: 140px; display: flex; flex-direction: column; gap: 8px;
  background: #fff;
}
.cat:hover { border-color: var(--teal); }
.cat b { font-size: 16px; }
.cat p { color: var(--muted); font-size: 14px; flex: 1; }
.cat span.ver { font-size: 13px; font-weight: 700; color: var(--teal); }

.pasos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); margin-top: 22px; border: 1px solid var(--line); }
.paso { background: #fff; padding: 20px; }
.paso h3 { margin: 6px 0; font-size: 16px; }
.paso small { color: var(--teal); font-weight: 700; }

.row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin: 16px 0; }
.filtros { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.filtros button {
  border: 1px solid var(--line); background: #fff; padding: 8px 12px; cursor: pointer; font-weight: 700; color: var(--navy);
}
.filtros button.on { background: var(--navy); color: #fff; border-color: var(--navy); }

.dos { display: grid; grid-template-columns: 1.05fr .95fr; gap: 36px; align-items: start; }
form.ficha { background: #fff; border: 1px solid var(--line); padding: 22px; display: grid; gap: 12px; }
label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; }
input, select, textarea { border: 1px solid var(--line); padding: 10px 12px; background: #fff; color: var(--ink); }
.ok { background: #e8f3e4; color: #1f5a28; padding: 12px; display: none; }
.ok.show { display: block; }
.dato p { margin: 8px 0; }
.tabla { width: 100%; border-collapse: collapse; background: #fff; }
.tabla th, .tabla td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); font-size: 14px; }
.testi { background: #fff; border: 1px solid var(--line); padding: 18px; }
.testi cite { display: block; margin-top: 10px; font-style: normal; font-weight: 700; font-size: 13px; }
.grid-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.lista { margin: 16px 0 0 18px; color: var(--muted); }
.lista li { margin: 8px 0; }

footer { background: var(--navy-2); color: #9aa3ae; padding: 40px 0 18px; font-size: 14px; }
footer .pie-4 { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 24px; }
footer b { color: #fff; }
footer a:hover { color: #fff; }
.news { display: grid; gap: 8px; margin-top: 8px; }
.copy { border-top: 1px solid #2c333d; margin-top: 24px; padding-top: 14px; font-size: 12px; }

.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 50;
  display: flex; align-items: center; gap: 8px;
}
.wa-float .globo {
  background: #fff; border-radius: 8px; padding: 8px 12px; font-size: 13px;
  box-shadow: 0 6px 18px rgba(0,0,0,.15);
}
.wa-float .btn-wa {
  width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 22px;
  box-shadow: 0 6px 16px rgba(37, 211, 102, .45);
}

.bolt {
  position: fixed; right: 18px; bottom: 86px; z-index: 52;
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
}
.bolt-btn {
  width: 56px; height: 56px; border: 0; border-radius: 50%;
  background: #0b4ea2; color: #fff; cursor: pointer;
  box-shadow: 0 6px 16px rgba(11, 78, 162, .4);
  display: grid; place-items: center; line-height: 1;
  animation: bolt-pulse 2.6s ease-in-out infinite;
}
.bolt-btn.on { animation: none; }
.bolt-btn .bolt-ico { font-size: 22px; }
.bolt-btn .bolt-nom { display: none; }
.bolt-panel {
  width: min(360px, calc(100vw - 32px)); height: min(460px, 70vh);
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 16px 40px rgba(12, 24, 48, .22);
  display: flex; flex-direction: column; border: 1px solid var(--line);
}
.bolt-head {
  display: grid; grid-template-columns: 36px 1fr auto; gap: 10px; align-items: center;
  background: #0b1a33; color: #fff; padding: 12px 12px 12px 14px;
}
.bolt-head b { display: block; font-size: 15px; }
.bolt-head small { display: block; opacity: .75; font-size: 11px; }
.bolt-avatar {
  width: 36px; height: 36px; border-radius: 50%; background: #f5a524;
  display: grid; place-items: center; font-size: 18px;
}
.bolt-abierto .bolt-avatar { animation: bolt-wiggle 1.6s ease-in-out infinite; }
.bolt-prod {
  margin-top: 8px; padding: 8px; border: 1px solid var(--line); background: var(--soft);
  display: grid; gap: 4px;
}
.bolt-prod b { font-size: 13px; }
.bolt-prod span { color: var(--muted); font-size: 12px; }
.bolt-typing { display: flex; gap: 4px; align-items: center; min-height: 16px; }
.bolt-typing span {
  width: 6px; height: 6px; border-radius: 50%; background: #0b4ea2; opacity: .35;
  animation: bolt-dot 1s ease-in-out infinite;
}
.bolt-typing span:nth-child(2) { animation-delay: .15s; }
.bolt-typing span:nth-child(3) { animation-delay: .3s; }
.bolt-subnav { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 8px; }
.bolt-subnav button {
  border: 1px solid var(--line); background: #fff; padding: 8px 14px; cursor: pointer;
  font-weight: 700; color: var(--navy);
}
.bolt-subnav button.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.bolt-bloque {
  border: 1px solid var(--line); background: #fff; padding: 18px 20px 20px;
  display: grid; gap: 12px;
}
.bolt-bloque .filtros { margin: 0; }
.guia-lista { margin: 0; padding-left: 18px; display: grid; gap: 8px; }
.guia-lista li { line-height: 1.45; }
.guia-bloque a { color: var(--teal); font-weight: 700; text-decoration: underline; }
.guia-bloque code { font-size: 13px; background: var(--soft); padding: 1px 6px; }
.bolt-consulta {
  border: 1px solid var(--line); padding: 14px; background: #fff; display: grid; gap: 8px;
}
.bolt-consulta.ok { background: var(--soft); }
@keyframes bolt-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}
@keyframes bolt-wiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-8deg); }
  75% { transform: rotate(8deg); }
}
@keyframes bolt-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
@keyframes bolt-dot {
  0%, 80%, 100% { transform: translateY(0); opacity: .35; }
  40% { transform: translateY(-4px); opacity: 1; }
}
.bolt-cerrar {
  background: transparent; border: 0; color: #fff; font-size: 26px;
  line-height: 1; cursor: pointer; padding: 0 4px;
}
.bolt-msgs {
  flex: 1; overflow: auto; padding: 12px; display: flex; flex-direction: column; gap: 8px;
  background: #f4f7fb;
}
.bolt-msg { max-width: 92%; padding: 8px 10px; border-radius: 10px; font-size: 13px; animation: bolt-in .22s ease; }
.bolt-msg p { margin: 0 0 6px; }
.bolt-msg p:last-child { margin-bottom: 0; }
.bolt-msg .cta { display: inline-flex; margin-top: 6px; font-size: 12px; padding: .45em .8em; }
.bolt-msg.bot { background: #fff; border: 1px solid var(--line); align-self: flex-start; }
.bolt-msg.user { background: #0b4ea2; color: #fff; align-self: flex-end; }
.bolt-chips {
  display: flex; gap: 6px; flex-wrap: wrap; padding: 0 10px 8px; background: #f4f7fb;
}
.bolt-chips button {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 5px 10px; font-size: 11px; cursor: pointer; color: var(--navy);
}
.bolt-chips button:hover { border-color: var(--teal); color: var(--teal); }
.bolt-form {
  display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 10px;
  border-top: 1px solid var(--line); background: #fff;
}
.bolt-form input { width: 100%; }
.bolt-form .cta { padding: .55em .9em; }
#adminBolt { scroll-margin-top: calc(var(--cab-vis) + 12px); }
.bolt-admin-lista { display: grid; gap: 10px; }
.bolt-admin-item {
  background: #fff; border: 1px solid var(--line); padding: 12px 14px;
}
.bolt-admin-item b { display: block; margin-bottom: 4px; }
.bolt-admin-item .cta { margin-right: 6px; }

.menu-btn { display: none; background: transparent; border: 0; color: #fff; font-weight: 700; padding: 12px; }

.migas { font-size: 13px; color: var(--muted); margin-bottom: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.migas a { color: var(--blue); }
.migas a:hover { color: var(--teal); }
.migas .sep { color: #bbb; }
.miga-dd { position: relative; display: inline-block; }
.miga-dd > button { background: none; border: 0; color: var(--navy); font-weight: 700; cursor: pointer; padding: 0; }
.miga-panel {
  display: none; position: absolute; left: 0; top: 120%; z-index: 20;
  background: #fff; border: 1px solid var(--line); min-width: 240px;
  box-shadow: 0 10px 24px rgba(12,24,48,.12); padding: 8px 0;
}
.miga-dd.abierto .miga-panel { display: block; }
.miga-panel a { display: block; padding: 8px 14px; color: var(--navy); }
.miga-panel a:hover { background: var(--soft); color: var(--teal); }

.cat-hero {
  display: grid; grid-template-columns: 1fr minmax(260px, 40%);
  gap: 36px 48px; align-items: center;
  padding: 8px 0 28px; margin-bottom: 0;
}
.cat-hero.sin-foto { grid-template-columns: 1fr; }
.cat-hero-txt { display: grid; align-content: start; gap: 14px; }
.cat-hero h2, .cat-hero .prod-tit-h {
  color: #002060; font-size: clamp(30px, 3.6vw, 46px); font-weight: 700; line-height: 1.15;
}
.cat-hero .intro { color: #5c6570; font-size: 16px; line-height: 1.55; max-width: 54ch; }
.marca-caja {
  background: #0b1a33; color: #fff; border: 0;
  padding: 20px 22px 16px; margin-top: 10px;
  display: inline-grid; gap: 12px; justify-items: center;
  min-width: 210px; max-width: 260px;
}
.marca-caja-nom {
  font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  font-size: 22px; color: #fff;
}
.tia-btn {
  background: var(--teal); color: #fff; border-radius: 22px;
  padding: 8px 16px 8px 12px; font-weight: 700; font-size: 13px;
  display: inline-flex; align-items: center; gap: 8px;
}
.tia-btn:hover { background: var(--teal-2); }
.tia-play { width: 14px; height: 14px; flex-shrink: 0; }
.cat-hero-foto {
  min-height: 280px; height: 100%; max-height: 360px; border: 0;
  background-size: contain; background-repeat: no-repeat; background-position: center; background-color: #fff;
}
.cat-hero-foto.con-foto .hueco { display: none; }
.cat-hero-foto .cargar-img { display: none; }
.ficha-hero { border: 0; background: transparent; display: block; }
.ficha-hero > div { padding: 0; }

.cat-tabs {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px;
  background: #fff; border-bottom: 0; margin: 0 0 22px;
  position: sticky; top: var(--cab-vis); z-index: 40;
  transition: top .32s cubic-bezier(.22, .61, .36, 1);
}
.cat-hero, .cat-tabs, .bloque-fam { scroll-margin-top: calc(var(--cab-vis) + 8px); }
.cat-tabs a {
  margin: 0; padding: 16px 10px; text-align: center;
  font-weight: 700; font-size: 14px; line-height: 1.2;
  color: #fff; background: #050b1c;
}
.cat-tabs a:hover { background: #12203a; color: #fff; }
.cat-tabs a.on { background: #e87722; color: #fff; }
.cat-tabs a.on:hover { background: #f08a38; color: #fff; }
.cat-sub { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 0 10px; }
.cat-sub a {
  padding: 8px 14px; border: 1px solid var(--line); font-weight: 600; font-size: 13px; color: var(--navy);
}
.cat-sub a.on { background: var(--navy); color: #fff; border-color: var(--navy); }

.cat-layout { margin-top: 8px; }

.busca-cat { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin: 12px 0 18px; }
.ficha-fam { background: var(--soft); padding: 22px; margin: 12px 0; }
.ficha-fam h3 { margin-bottom: 8px; }
.vacio-fam { color: var(--muted); margin: 12px 0 28px; }

.lista-prod { display: grid; gap: 0; }
.bloque-fam { margin: 8px 0 28px; }
.bloque-fam > h3 { color: #1e4b8c; font-size: 20px; margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.prod.fila-prod {
  display: grid; grid-template-columns: 120px 1fr 200px; gap: 18px;
  border: 0; border-bottom: 1px solid var(--line); background: transparent;
  padding: 18px 0; align-items: center;
}
body.admin-on .prod.fila-prod { align-items: start; }
.ed-tit-h { font-size: 28px; font-weight: 800; }
.prod.fila-prod > div { padding: 0; }
.fila-prod .sku-ban { display: none; }
.fila-prod .ph { height: 100px; display: block; border: 1px solid var(--line); }
.fila-txt { display: grid; gap: 6px; align-content: start; }
.prod-tit { color: #1e4b8c; font-weight: 700; font-size: 16px; line-height: 1.3; }
.prod-tit:hover { color: var(--teal); text-decoration: underline; }
.fila-links { display: flex; gap: 14px; align-items: center; font-size: 13px; }
.fila-links a { color: #1e4b8c; font-weight: 700; }
.fila-links a:hover { color: var(--teal); }
.vista-rapida {
  background: #fff; border: 1px solid var(--navy); color: var(--navy);
  padding: 4px 10px; font-size: 12px; font-weight: 700; cursor: pointer;
}
.vista-rapida:hover { background: var(--navy); color: #fff; }
.fila-acc { display: grid; gap: 8px; align-content: start; justify-items: start; }
.fila-acc .precio-txt { font-size: 18px; color: var(--navy); font-weight: 800; }
.fila-acc .cta { width: 100%; }
.qty-lab { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; }
.qty-lab input { width: 72px; padding: 8px; }
.ed-stock.stock-ok { color: #1a7f3c; }
.ed-stock.stock-off { color: #c45c32; }

.pg-extra { margin: 36px 0 24px; }
.pg-extra h2, .pg-faqs h2, .rel-tit { color: #1e4b8c; font-size: 26px; margin: 8px 0 12px; }
.pg-extra h3 { color: var(--navy); margin: 22px 0 10px; }
.pg-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 18px 0 28px; }
.pg-3 article { background: var(--soft); padding: 18px; }
.pg-3 h3 { margin: 0 0 8px; font-size: 16px; }
.tabla.specs th { width: 38%; color: var(--navy); background: var(--soft); }
.pg-faqs details { border-bottom: 1px solid var(--line); padding: 10px 0; }
.pg-faqs summary { cursor: pointer; font-weight: 700; color: var(--navy); }
.pg-faqs details p { margin: 8px 0 6px; color: var(--muted); }
.pg-videos { display: grid; gap: 16px; }
.pg-videos .vid iframe { width: 100%; aspect-ratio: 16/9; border: 0; }
.pg-videos figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }

.qv-capa {
  position: fixed; inset: 0; z-index: 1100; background: rgba(11,26,51,.55);
  display: grid; place-items: center; padding: 24px;
}
.ph { overflow: hidden; }
.ph.con-lupa { cursor: crosshair; }
.lupa-ico {
  position: absolute; right: 8px; top: 8px; z-index: 3;
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(11, 26, 51, .72); color: #fff;
  display: grid; place-items: center; pointer-events: none;
}
.lupa-ico svg { width: 15px; height: 15px; }
.lupa-pane {
  position: fixed; z-index: 1150; background: #fff center / contain no-repeat;
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(11,26,51,.22);
  pointer-events: none;
}
@media (hover: none) {
  .lupa-pane { display: none !important; }
}
.qv-box {
  background: #fff; width: min(820px, 100%); max-height: 90vh; overflow: auto;
  display: grid; grid-template-columns: 280px 1fr; gap: 20px; padding: 24px; position: relative;
}
.prod.qv-box { display: grid; border: 0; }
.qv-box .mega-cerrar {
  position: absolute; top: 8px; right: 12px; background: none; border: 0;
  font-size: 28px; cursor: pointer; color: var(--navy); line-height: 1;
}
.qv-box .ph { height: 220px; }

.ficha-sku {
  display: grid; grid-template-columns: 1fr; gap: 16px; align-items: start;
  border: 0; background: transparent; margin-bottom: 28px;
}
.ficha-sku-compra {
  border: 1px solid var(--line); padding: 18px 20px; max-width: 520px;
}
.prod.ficha-sku > div { padding: 0; }
.ficha-sku .ph { height: 280px; border: 1px solid var(--line); }
.ficha-sku-txt { display: grid; gap: 8px; align-content: start; }
.prod-tit-h { color: #002060; font-size: clamp(24px, 3vw, 34px); line-height: 1.2; }
.ficha-sku .acciones-prod { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.ficha-sku .cta-wa { grid-column: 1 / -1; }
.rel-tit { margin-top: 28px; }

.mega-grid h3 a { color: var(--blue); }
.mega-grid h3 a:hover { color: var(--teal); }
label.ph { display: block; }

.hero-slides { position: relative; z-index: 1; }
.hero-ctrl {
  display: flex; gap: 8px; justify-content: center; align-items: center; margin-top: 22px;
}
.hero-ctrl button {
  width: 12px; height: 12px; border-radius: 50%; border: 0; background: rgba(255,255,255,.45); cursor: pointer; padding: 0; color: transparent;
}
.hero-ctrl button.on { background: #e87722; }
.hero-ctrl button[data-h="-1"], .hero-ctrl button[data-h="+1"] {
  width: 36px; height: 36px; border-radius: 50%; background: rgba(0,0,0,.35); color: #fff; font-size: 22px;
}
.carrusel { display: flex; align-items: center; gap: 8px; }
.carr-pista { display: flex; gap: 14px; overflow-x: auto; scroll-behavior: smooth; flex: 1; padding: 4px 0; }
.carr-pista .testi { min-width: min(340px, 80vw); flex: 0 0 auto; }
.carr-btn {
  width: 40px; height: 40px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 22px; flex-shrink: 0;
}
.clientes-banda { background: var(--soft); }
.clientes-logos {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px; margin-top: 22px;
}
.cliente-logo {
  background: #fff; border: 1px solid var(--line); min-height: 112px;
  display: grid; place-items: center; padding: 18px;
}
.cliente-logo img { max-height: 72px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(0); }
.certs { display: grid; gap: 18px; margin-top: 22px; }
.cert-card {
  display: grid; grid-template-columns: 160px 1fr; gap: 18px; align-items: center;
  background: #fff; border: 1px solid var(--line); padding: 16px;
}
.cert-logo { display: grid; place-items: center; min-height: 90px; }
.cert-logo img { max-width: 100%; max-height: 88px; object-fit: contain; }
.cert-card h3 { font-size: 17px; margin-bottom: 8px; }
.mapa-pie { width: 100%; height: 140px; border: 0; margin-top: 12px; }
.mapa-grande { width: 100%; height: 320px; border: 0; margin-top: 18px; }

button.carrito-btn {
  cursor: pointer; border: 0; background: transparent; font: inherit;
}
.tn-cart {
  position: fixed; inset: 0; z-index: 1200;
  pointer-events: none; visibility: hidden;
}
.tn-cart.abierto { pointer-events: auto; visibility: visible; }
.tn-cart-fondo {
  position: absolute; inset: 0; background: rgba(0,0,0,.5);
  opacity: 0; transition: opacity .25s ease;
}
.tn-cart.abierto .tn-cart-fondo { opacity: 1; }
.tn-cart-panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(420px, 100%);
  background: #fff;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .28s ease;
  box-shadow: -12px 0 40px rgba(11,26,51,.22);
}
.tn-cart.abierto .tn-cart-panel { transform: none; }
.tn-cart-cab {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); flex-shrink: 0;
}
.tn-cart-cab h2 { font-size: 18px; margin: 0; color: var(--navy); }
.tn-cart-x {
  width: 40px; height: 40px; border: 0; background: none; cursor: pointer;
  font-size: 28px; line-height: 1; color: var(--navy);
}
.tn-cart-cuerpo {
  flex: 1; min-height: 0; display: flex; flex-direction: column; overflow: hidden;
}
.tn-cart-lista { flex: 1; overflow: auto; padding: 4px 18px 12px; }
.tn-cart-item {
  display: grid; grid-template-columns: 72px 1fr auto;
  gap: 12px; align-items: start; padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.tn-cart-foto {
  width: 72px; height: 72px; background: var(--soft);
  display: grid; place-items: center; overflow: hidden;
}
.tn-cart-foto img { width: 100%; height: 100%; object-fit: contain; }
.tn-cart-dato a { font-weight: 700; color: var(--navy); display: block; }
.tn-cart-dato small { color: var(--muted); }
.tn-cart-dato p { font-size: 13px; margin: 4px 0 0; }
.tn-cart-dato .cart-qty { margin-top: 8px; }
.tn-cart-der { text-align: right; }
.tn-cart-vacio {
  flex: 1; display: grid; place-content: center; place-items: center;
  gap: 16px; text-align: center; padding: 48px 24px; color: var(--muted);
}
.tn-cart-pie {
  flex-shrink: 0; padding: 16px 18px 20px; border-top: 1px solid var(--line);
  background: #fff; display: grid; gap: 10px;
}
.tn-cart-subtotal {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 16px; margin: 0; color: var(--navy);
}
.tn-cart-iniciar { width: 100%; display: flex; }
.tn-cart-seguir {
  border: 0; background: none; color: var(--navy); cursor: pointer;
  text-decoration: underline; padding: 4px; font: inherit;
}
body.tn-cart-on { overflow: hidden; }
.compra { display: grid; gap: 24px; }
.cart-linea {
  display: grid; grid-template-columns: 72px 1fr auto auto auto;
  gap: 12px; align-items: center; padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.cart-foto, .cart-hueco {
  width: 72px; height: 56px; background: var(--soft); display: grid; place-items: center;
  overflow: hidden; font-size: 10px; color: #8a94a6;
}
.cart-foto img { width: 100%; height: 100%; object-fit: cover; }
.cart-dato b { display: block; color: var(--navy); }
.cart-dato small { color: var(--muted); }
.cart-qty { display: flex; align-items: center; gap: 4px; }
.cart-qty button {
  width: 32px; height: 32px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-weight: 800;
}
.cart-qty input { width: 56px; text-align: center; padding: 8px 4px; }
.cart-sub { font-weight: 800; color: var(--navy); margin: 0; }
.cart-del { border: 0; background: none; color: var(--title); font-weight: 700; cursor: pointer; }
.cart-tot { font-size: 18px; margin: 16px 0 8px; }
.form-pedido { margin: 0; }
.cart-entrega { border: 1px solid var(--line); padding: 12px; display: grid; gap: 8px; }
.cart-entrega label { font-weight: 600; display: flex; gap: 8px; align-items: center; }
.cart-cuenta { background: #fff; border: 1px solid var(--line); padding: 14px 16px; }
.cart-cuenta summary { cursor: pointer; font-weight: 700; color: var(--navy); }
.cart-staff { font-size: 12px; color: var(--muted); }
.cart-staff a { text-decoration: underline; }
.compra-ok { background: #fff; border: 1px solid var(--line); padding: 28px; max-width: 640px; }
.compra-acc { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.cart-check { display: flex; gap: 8px; align-items: center; font-weight: 700; }
.pago-box { margin: 18px 0; padding: 16px; border: 1px solid var(--line); background: var(--soft); display: grid; gap: 10px; }
.pago-dato p { margin: 4px 0; }
.cuenta-cli { display: grid; gap: 16px; max-width: 720px; }
.cuenta-cli h3 { margin-top: 8px; }

@media (min-width: 900px) {
  .compra { grid-template-columns: 1.1fr .9fr; align-items: start; }
  .cart-cuenta, .cart-staff { grid-column: 1 / -1; }
}

@media (max-width: 1100px) {
  .home-prods .grid-prod { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .promo, .lineas, .soporte-grid, .grid-cat, .pasos, .dos, .pie-4, .row3, .grid-cards, .mega-box, .mega-grid, .cat-hero, .busca-cat, .fila-prod, .prod.fila-prod, .cat-layout, .pg-3, .qv-box, .ficha-sku, .cert-card, .cart-linea, .compra { grid-template-columns: 1fr; }
  .home-prods .grid-prod { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-tabs { grid-template-columns: repeat(3, 1fr); }
  .menu-btn { display: block; }
  .navazul .wrap { flex-wrap: wrap; }
  .nav-sitio { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: 0; }
  .nav-sitio.abierto { display: flex; }
  .nav-sitio a { padding: 10px 0; }
  .panel-admin { grid-template-columns: 1fr; }
  .panel-kpis { grid-template-columns: 1fr 1fr; }
  .masivo-tabla { min-width: 520px; }
  .panel-nav { display: flex; flex-wrap: wrap; align-items: center; padding: 10px 8px 12px; gap: 4px; }
  .panel-nav-kicker, .panel-nav h2 { width: 100%; padding: 0 10px; }
  .panel-nav h2 { padding-bottom: 8px; }
  .panel-nav a { padding: 8px 12px; }
  .panel-salir { margin: 8px; width: auto; }
  .aviso-envio { max-width: none; }
  .pg-busca, .cta-experto { display: none; }
  .solo-movil { display: inline-flex; }
}

@media (max-width: 640px) {
  .home-prods .grid-prod { grid-template-columns: 1fr; }
  .linea { min-height: 320px; }
  .bolt { right: 12px; bottom: 80px; }
  body.bolt-abierto .wa-float { visibility: hidden; pointer-events: none; }
  .bolt-panel { width: calc(100vw - 24px); height: min(68vh, 480px); }
}
