/* =====================================================
 * Balanzas PC — components.css (5/7 · components)
 * Sin complicaciones · banda 4+4 · características 6 ·
 * sobremesa 8 · colgantes 8 · asesoramiento 2 · pie ·
 * reveal on-scroll · modal legal.
 * Secciones: 1. Sin complicaciones · 2. Banda ·
 * 3. Características · 4. Productos · 5. Asesoramiento ·
 * 6. Pie · 7. Ficha producto · 8. Reveal · 9. Modal legal
 * ===================================================== */

/* ---------- 1. Sin complicaciones (viva sondada 2026-11-27: h2 Montserrat 36/36/600/ls1,
   lead Lato 22/26.4/500/ls1, texto Lato 14/23.8/500, icono 32px, filas 80% máx 1080 + 2%) ---------- */

#sin-complicaciones {
  background-color: #ffffff;
  padding-top: 35px;
  padding-bottom: 43px;
  font-weight: 500;
  line-height: 1.7;
}

/* Viva: .et_pb_row ancho 80%, máx 1080px, padding vertical 2% */

#sin-complicaciones .container {
  width: 80%;
  max-width: 1080px;
  padding-top: 0;
  padding-bottom: 0;
}

#sin-complicaciones .container > .row {
  padding-top: 2vw;
  padding-bottom: 2vw;
}

/* Viva: .et_pb_blurb separation 21.98px (última fila sin margen) */

#sin-complicaciones .blurb-item {
  margin-bottom: 22px;
}

#sin-complicaciones .blurb-item:nth-last-child(-n + 2) {
  margin-bottom: 0;
}

#sin-complicaciones .container > .row:nth-of-type(2) {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

#sin-complicaciones h2 {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 36px;
  line-height: 1;
  letter-spacing: 1px;
  text-align: center;
  color: #333333;
  margin-bottom: 0;
  padding-bottom: 10px;
}

/* Viva: .et_pb_text_1 h3 (las dos líneas de entradilla) */

.sin-lead {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: 1px;
  text-align: center;
  color: #333333;
  margin-bottom: 0;
  padding-bottom: 10px;
}

.blurb-check {
  width: 32px;
  height: 32px;
  flex: none;
  color: var(--brand);
  margin-top: 0;
}

.blurb-text {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  font-weight: 500;
}

/* ---------- 1b. Móvil (medido viva a 390, ronda 22: h2 versalitas 36px;
   leads 18/21.6; hueco lead->lista 60px; items mb 30px) ---------- */

/* Viva: .et_pb_text h2 con font-variant-caps small-caps */

@media (max-width: 767.98px) {
  #sin-complicaciones h2 {
    font-variant-caps: small-caps;
  }
}

@media (max-width: 767.98px) {
  .sin-lead {
    font-size: 18px;
  }
}

/* 16px actuales + 44px = 60px viva entre lead2 y primer item */

@media (max-width: 767.98px) {
  .sin-lead + .sin-lead {
    margin-bottom: 44px;
  }
}

@media (max-width: 767.98px) {
  #sin-complicaciones .blurb-item {
    margin-bottom: 30px;
  }
}

@media (max-width: 767.98px) {
  #sin-complicaciones .blurb-item:nth-last-child(-n + 2) {
    margin-bottom: 30px;
  }
}

@media (max-width: 767.98px) {
  #sin-complicaciones .blurb-item:last-child {
    margin-bottom: 0;
  }
}

/* ---------- 2. Banda (viva sondada 2026-11-27: sección blanca 4vw; fila
   full-bleed #9b9393 con 5vw; dark #4F7997 solape -64px y pads 64/38.4;
   h4 Encode Sans Condensed 18/18/500 ls2 dark-mayusc / ls1 gray;
   NMI 122px + mb30, truck 32px, iconos 32px) ---------- */

#banda {
  background-color: #ffffff;
  padding-top: 4vw;
  padding-bottom: 4vw;
  font-weight: 500;
  line-height: 1.7;
}

/* Viva: .et_pb_row_5 fullwidth (1280, sin container) */

#banda .container {
  width: 100%;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 0 !important;
}

#banda .row {
  background-color: var(--band-row);
  margin-top: 5vw;
  margin-bottom: 5vw;
  margin-left: 0;
  margin-right: 0;
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
  /*viva: columnas sin margen superior (g-3 mete 16px);*/
  align-items: center;
}

/* Viva: blurbs 8/12 fondo #4F7997 (no --band-dark), solape -64px.
   Sombra propia: las oscuras flotan sobre la tira gris.
   ÚNICO fix de altura: height:auto (el 100% heredado recortaba el texto
   en viewports anchos donde la fila la marca la tira gris) */

#banda .band-card--dark {
  background-color: var(--brand);
  margin-top: -64px;
  margin-bottom: -64px;
  padding: 64px 38.4px;
  position: relative;
  z-index: 1;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Igualación pedida por el responsable: mínimo por encima de la
     tarjeta más alta para que las dos midan lo mismo */

@media (min-width: 992px) {
  #banda .band-card--dark {
    min-height: 420px;
  }
}

/* Viva: blurbs grises transparentes (asoma la fila), pads por bloque */

#banda .band-card--gray {
  background-color: transparent;
  padding-top: 0;
  padding-bottom: 0;
  padding-left: 38.4px;
  padding-right: 38.4px;
}

/* Apilado (<lg): sin solape (ronda 23: en 1-2 columnas la tarjeta oscura
   con z-index tapaba la primera fila gris; el solape -64px solo vale en
   fila de 4, donde muerde sección blanca) */

@media (max-width: 991.98px) {
  #banda .band-card--dark {
    margin-top: 0;
    margin-bottom: 0;
  }
}

/* Aire pedido por el usuario (ronda 23): el gris respira arriba y abajo
     de los azules; abajo del azul recortado 64->32 para no desconectar */

@media (max-width: 991.98px) {
  #banda .band-card--dark {
    padding-bottom: 32px;
  }
}

@media (max-width: 991.98px) {
  #banda .band-card--gray {
    padding-top: 24px;
    padding-bottom: 28px;
  }
}

/* Móvil (<md): aire extra pedido (ronda 24): el gris respira 10%
   arriba y abajo de los azules; solo móvil, escritorio intacto */

@media (max-width: 767.98px) {
  #banda .band-card--gray {
    padding-top: 10%;
    padding-bottom: 10%;
  }
}

/* Cada fila icono+texto = un blurb viva: misma clase, misma estética.
   Ritmo común aquí (no en d-flex/mb sueltos): 20px arriba/abajo por fila */

#banda .band-fila {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 20px;
  padding-bottom: 20px;
  margin-bottom: 0;
}

#banda .band-fila:last-child {
  padding-bottom: 0;
}

#banda .band-fila:first-child {
  padding-top: 0;
}

#banda .band-fila h3 {
  padding-bottom: 0;
}

#banda .band-ico {
  width: 32px;
  height: 32px;
  flex: none;
  color: #ffffff;
}

.band-card {
  color: #ffffff;
  padding: 1.75rem 1.5rem;
  height: 100%;
}

.band-card--dark {
  background-color: var(--brand);
}

.band-card--gray {
  background-color: transparent;
}

/* Viva: h4 Encode Sans Condensed 18/18/500 blanco pb10; mayúsculas+ls2
   solo en tarjetas oscuras, grises en caja normal con ls1 */

.band-card h3 {
  font-family: "Encode Sans Condensed", var(--font-body);
  font-weight: 500;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 1px;
  text-transform: none;
  text-align: left;
  color: #ffffff;
  padding-bottom: 10px;
  margin-bottom: 0;
}

.band-card--dark h3 {
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 2px;
}

/* Viva: p Lato 14/23.8/500 blanco centrado */

.band-card p {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  font-weight: 500;
  color: #ffffff;
  text-align: center;
  margin-bottom: 0;
}

.band-card img {
  max-width: 100%;
  height: auto;
}

/* Viva: logo-nmi 121.6px + imgwrap mb30 */

#banda .band-card .band-logo-nmi {
  width: 122px;
  max-width: 100%;
  margin-bottom: 30px;
}

/* Viva: balanza 121.6px + imgwrap mb30 (tarjeta fabricantes) */

#banda .band-card .band-ico-balanza {
  width: 122px;
  max-width: 100%;
  margin-bottom: 30px;
}

/* Viva: truck 32px */

.band-card .band-ico-vehiculo {
  width: 32px;
  max-width: 100%;
}

/* Viva: iconos grises 32px (font ETmodules; webp provisional 32px) */

#banda .band-card--gray img {
  width: 32px;
  height: auto;
  flex: none;
}

/* ---------- 3. Características (viva sondada 2026-11-27: sección
   rgba(234,241,255,.89) pads 27/97 + root 500/1.7; filas 1203 máx 1920 con
   pads 25.6/25.6 y -28/25.6/27; h2 Lato 26/26/600/ls2 #4F7997 a la izq pb10;
   iconos con su tamaño de fichero + mb30; h4 Lato 20/36/600 ls-2 #1f1f1f pb10;
   p Lato 14/22.4/500 #666) ---------- */

#caracteristicas {
  background-color: var(--features-bg);
  padding-top: 27px;
  padding-bottom: 97px;
  font-weight: 500;
  line-height: 1.7;
  position: relative;
}

/* Viva: divisores Divi exactos en data-URI (viewBox 0 0 1280 140, doble
   path blanco .5 + solido, 100px, sup/inf espejados) sobre pseudos, sin
   DOM nuevo. Los <svg> en linea del DOM quedan ocultos: la curva la
   mandan ::before/::after. Contenido por encima (z-index 1). */

#caracteristicas .onda {
  display: none;
}

#caracteristicas::before, #caracteristicas::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 100px;
  background-repeat: no-repeat;
  background-size: 100% 100px;
  z-index: 0;
  pointer-events: none;
}

#caracteristicas::before {
  top: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1280 140' preserveAspectRatio='none'><g fill='%23ffffff'><path d='M0 90.72l140-28.28 315.52 24.14L796.48 65.8 1140 104.89l140-14.17V0H0v90.72z' fill-opacity='.5'/><path d='M0 0v47.44L170 0l626.48 94.89L1110 87.11l170-39.67V0H0z'/></g></svg>");
}

#caracteristicas::after {
  bottom: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1280 140' preserveAspectRatio='none'><g fill='%23ffffff'><path d='M0 47.44L170 0l626.48 94.89L1110 87.11l170-39.67V140H0V47.44z' fill-opacity='.5'/><path d='M0 90.72l140-28.28 315.52 24.14L796.48 65.8 1140 104.89l140-14.17V140H0V90.72z'/></g></svg>");
}

#caracteristicas .container {
  position: relative;
  z-index: 1;
}

/* Viva: fila 1203 (se neutraliza el .py-5 del contenedor).
   h2 y tarjetas comparten fila de 1203: container 1227 − gutters */

#caracteristicas .container {
  max-width: 1227px;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Viva: divisores de onda Divi (100px, blancos sobre el fondo azulado).
   NOTA historica: patron anterior con .onda en linea y paths propios;
   la curva exacta la mandan ::before/::after de arriba (solo queda este
   bloque por fachada estable). */

#caracteristicas .onda {
  display: none;
  width: 100%;
  height: 100px;
}

/* Viva: .et_pb_row_6 con pads 25.6/25.6; el módulo de título trae
   mt36.09/mb-12.03 de la viva (compensación del diseñador) */

#caracteristicas .container > .row:first-child {
  padding-top: 25.6px;
  padding-bottom: 25.6px;
}

#caracteristicas .container > .row:first-child .col-12 {
  margin-top: 36px;
}

/* Viva: .et_pb_row_7 con solape -28px y pads 25.6/27.
   Gutter 36.09px solo >=lg (viva: 6 x 170.44 + 5 x 36.09 = 1203):
   con container 1227 la fila clava 1227, calles exactas 36.09 y
   contenido 168.4 vs 170.44 (delta 2px, invisible centrado). En <lg
   sigue el gutter base (3+3 / apilado sin medida viva). */

#caracteristicas .container > .row:last-child {
  margin-top: -28px;
  padding-top: 25.6px;
  padding-bottom: 27px;
}

@media (min-width: 992px) {
  #caracteristicas .container > .row:last-child {
    --bs-gutter-x: 36.09px;
  }
}

/* Viva: h2 Lato 26/26/600/ls2 #4F7997 a la izquierda con pb10 */

#caracteristicas h2 {
  font-family: var(--font-body);
  font-size: 26px;
  line-height: 1;
  color: var(--brand);
  font-weight: 600;
  letter-spacing: 2px;
  text-align: left;
  margin-bottom: -12px;
  padding-bottom: 10px;
}

/* Cada tarjeta = un blurb viva: misma clase, mismo ritmo (icono + mb30,
   título y texto con las medidas de la viva).
   NOTA gap: la viva pone mb30 en el WRAP del modulo imagen (img mb0);
   aqui el render es identico via img (hijo unico). La paridad de
   selector pide wrapper = BLOQUEADO-DOM. */

.feature-card {
  text-align: center;
  padding: 0;
  height: 100%;
}

.feature-card img {
  margin-bottom: 30px;
}

/* Viva: h4 Lato 20/36/600 ls-2 #1f1f1f centrado pb10.
   Render identico ya; el cambio de etiqueta h3->h4 es BLOQUEADO-DOM
   (index.html solo-lectura). El selector h4 queda listo para ese dia. */

.feature-card h3, .feature-card h4 {
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 36px;
  font-weight: 600;
  letter-spacing: -2px;
  color: #1f1f1f;
  text-align: center;
  padding-bottom: 10px;
  margin-bottom: 0;
}

/* Viva: p Lato 14/22.4/500 #666 centrado */

.feature-card p {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 22.4px;
  font-weight: 500;
  color: var(--text);
  text-align: center;
  margin-bottom: 0;
}

/* ---------- 4. Productos (viva sondada: filas 1024; cabecera h4 Open Sans
   23/23/600/ls1/#4F7997 + triángulo + borde-b 2px marca; foto sin marco mb9;
   icono 140 + mb9; título Open Sans 12/15.6/700/ls1 sobre franja gris;
   precio Open Sans 16/26/700 centrado marca; tarjeta mb42) ---------- */

#productos-sobremesa, #productos-colgantes {
  background-color: #ffffff;
  font-weight: 500;
  line-height: 1.7;
}

#productos-sobremesa .container, #productos-colgantes .container {
  width: 80%;
  max-width: 1080px;
  padding-top: 0 !important;
  /*viva: filas a 25.6, no py-5;*/
  padding-bottom: 0 !important;
}

#productos-sobremesa .container > .row, #productos-colgantes .container > .row {
  padding-top: 25.6px;
  padding-bottom: 25.6px;
}

.shop-head-wrap {
  border-bottom: 2px solid var(--brand);
}

.shop-head {
  font-family: "Open Sans", var(--font-body);
  font-size: 23px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--brand);
  text-align: left;
  margin-bottom: 0;
  padding-bottom: 10px;
}

.shop-tri {
  width: 12px;
  height: 12px;
  margin-right: 8px;
  vertical-align: baseline;
}

.product-card {
  text-align: left;
  padding: 0;
  height: 100%;
  margin-bottom: 42px;
}

.product-card > a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.product-card > a:hover .product-title, .product-card > a:focus .product-title {
  color: var(--brand);
}

.product-card .product-photo {
  display: block;
  width: 100%;
  aspect-ratio: 225 / 191;
  object-fit: contain;
  background-color: #ffffff;
  max-width: 100%;
  height: auto;
  margin-bottom: 9px;
}

.product-card .product-ico {
  display: block;
  width: 140px;
  max-width: 100%;
  height: auto;
  margin: 0 auto 9px;
}

.product-card .product-title {
  font-family: "Open Sans", var(--font-body);
  font-size: 12px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: left;
  color: rgba(61, 61, 61, 0.81);
  background-color: rgba(221, 221, 221, 0.52);
  padding: 10px;
  margin-bottom: 0;
}

.product-card .product-price {
  font-family: "Open Sans", var(--font-body);
  font-size: 16px;
  line-height: 1.625;
  font-weight: 700;
  text-align: center;
  color: var(--brand);
  padding-top: 10px;
  padding-bottom: 10px;
  margin-bottom: 0;
}

/* ---------- 5. Asesoramiento (viva sondada rondas 14+16: sección 1280x676
   pads 0/64 bg #fff root 500/1.7; filas 80% viewport tope 1920: 1024 a
   1280, 1152 a 1440, 1536 a 1920; pads título 25.6/25.6 +
   módulo mb20 + divider 50x5 línea #fc703d; columnas 1_3 320.8 + 2_3
   672.4 pads 30 gutter 3%; iconos img 38x32 módulo mb24; h2 48/57.6/
   700/ls-2/#333 pb10; h4 22/35.2/900; p 16/32/500, 1.º pb16 resto pb0;
   h2/h4/p ya exactos: no se tocan) ---------- */

#asesoramiento {
  padding-top: 0;
  padding-bottom: 64px;
  background-color: #ffffff;
  font-weight: 500;
  line-height: 1.7;
}

#asesoramiento .container {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Fila viva 80% del viewport con tope 1920 a TODO ancho (Divi medido
   rondas 16+21: 312 a 390, 1024 a 1280, 1152 a 1440, 1536 a 1920);
   el container Bootstrap trae 12px laterales que la viva no tiene */

#asesoramiento .container {
  width: 80%;
  max-width: 1920px;
  margin-inline: auto;
  padding-left: 0;
  padding-right: 0;
}

/* Fila del título: ancho Divi 80% (=1024 a 1280) con sus pads 25.6 */

#asesoramiento .container > .row:first-child {
  --bs-gutter-x: 0;
  padding-top: 25.6px;
  padding-bottom: 25.6px;
}

/* Línea naranja bajo el h2: replica el módulo mb20 + divider Divi
   (::before 50px border-top 5px #fc703d) sin añadir DOM */

#asesoramiento .container > .row:first-child .col-12::after {
  content: "";
  display: block;
  width: 50px;
  margin: 20px auto 0;
  border-top: 5px solid #fc703d;
}

/* Fila de tarjetas: gutter Bootstrap a 0 + hueco Divi 3% */

#asesoramiento .container > .row.g-3 {
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
  column-gap: 3%;
}

/* Columnas asimétricas viva 1_3/2_3 (320.8/672.4 de 1024) */

@media (min-width: 768px) {
  #asesoramiento .container > .row.g-3 > .col-md-6:first-child {
    flex: 0 0 31.33%;
    max-width: 31.33%;
  }
}

@media (min-width: 768px) {
  #asesoramiento .container > .row.g-3 > .col-md-6:last-child {
    flex: 0 0 65.67%;
    max-width: 65.67%;
  }
}

#asesoramiento h2 {
  font-weight: 700;
  font-size: 48px;
  line-height: 1.2;
  letter-spacing: -2px;
  color: #333333;
  margin-bottom: 0;
  padding-bottom: 10px;
}

.asesor-card {
  padding: 30px;
  height: 100%;
  color: #ffffff;
}

.asesor-ico {
  display: block;
  width: 38px;
  height: 32px;
  color: #ffffff;
  margin-bottom: 24px;
}

.asesor-card h3 {
  font-family: var(--font-body);
  font-size: 22px;
  line-height: 1.6;
  font-weight: 900;
  letter-spacing: 0.1px;
  text-align: left;
  color: #ffffff;
  margin-bottom: 0;
  padding-bottom: 10px;
}

.asesor-card p {
  font-size: 16px;
  line-height: 2;
  font-weight: 500;
  text-align: left;
  color: #ffffff;
  padding-bottom: 16px;
  margin-bottom: 0;
}

/* La viva solo da pb16 al primer párrafo del blurb (resto pb0) */

.asesor-card p:last-child {
  padding-bottom: 0;
}

.asesor-card--gray {
  background-color: #b7b7b7;
}

.asesor-card--black {
  background-color: #1d1c1b;
}

/* Móvil apilado (medido viva a 390, ronda 21): blancos laterales ya
   cubiertos por el container 80%; 30px entre tarjetas; sección pb 19.5;
   fila título pads 30/30 en vez de 25.6 */

@media (max-width: 767.98px) {
  #asesoramiento {
    padding-bottom: 19.5px;
  }
}

/* Viva móvil: título 24/28.8/700 (medido a 390, ronda 22) */

@media (max-width: 767.98px) {
  #asesoramiento h2 {
    font-size: 24px;
  }
}

@media (max-width: 767.98px) {
  #asesoramiento .container > .row:first-child {
    padding-top: 30px;
    padding-bottom: 30px;
  }
}

@media (max-width: 767.98px) {
  #asesoramiento .container > .row.g-3 {
    row-gap: 30px;
  }
}

/* ---------- 7. Ficha producto (viva sondada 2026-11-27: banda #4f7997 h2 Alegreya
   26/26/700 ls1 + sub Lato 15/15/500 + icono 42; fila 1088 mt25 pt/pb 2vw;
   h1 Open Sans 23/23/600 ls1 + borde #4f7997; qty Convergence 26/44.2/700
   112px + Pedir Open Sans 20/34/700 gap 23; precio Lato 21/23.8/700 #69b326;
   terms rgba(61,61,61,.81) FA 28 + ul pb23 pl14 lh26; tab barra #f4f4f4 +
   a 14/23.8/600 + panel 24/30 + li lh26 + borde #d9d9d9) ---------- */

.page-producto #contenido {
  font-weight: 500;
  line-height: 1.7;
}

.ficha-cabecera {
  background-color: #ffffff;
  padding-top: 22px;
  padding-bottom: 51px;
}

@media (min-width: 1200px) {
  .ficha-marco {
    max-width: 1088px;
    padding-left: 0;
    padding-right: 0;
  }
}

.ficha-banda {
  background-color: var(--brand);
  margin-top: -10px;
  padding-top: 6px;
  padding-bottom: 20px;
  text-align: center;
  color: #ffffff;
}

.ficha-banda .ficha-icono {
  padding-top: 7px;
  margin-bottom: 0;
}

.ficha-banda .ficha-icono svg {
  display: block;
  width: 42px;
  height: 42px;
  margin: 0 auto 30px;
}

.ficha-banda h2 {
  font-family: "Alegreya Sans SC", var(--font-body);
  font-size: 26px;
  line-height: 26px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #ffffff;
  text-align: center;
  padding-bottom: 10px;
  margin-bottom: 0;
}

.ficha-banda .ficha-sub {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 15px;
  font-weight: 500;
  color: #ffffff;
  text-align: center;
  margin-bottom: 0;
}

.ficha-fila {
  --bs-gutter-x: 0;
  justify-content: space-between;
  margin-top: 25px;
  padding-top: 2vw;
  padding-bottom: 2vw;
  box-shadow: 0 12px 18px -6px rgba(0, 0, 0, 0.3);
}

@media (min-width: 992px) {
  .ficha-media {
    flex: 0 0 38.2%;
    max-width: 38.2%;
  }
}

@media (min-width: 992px) {
  .ficha-info {
    flex: 0 0 58.8%;
    max-width: 58.8%;
  }
}

.ficha-media img {
  width: 100%;
  height: auto;
  display: block;
}

.ficha-info h1 {
  font-family: "Open Sans", var(--font-body);
  font-size: 23px;
  line-height: 23px;
  font-weight: 600;
  letter-spacing: 1px;
  color: rgba(0, 0, 0, 0.93);
  padding-bottom: 2px;
  margin-bottom: -1px;
  border-bottom: 1px solid var(--brand);
}

.ficha-info .ficha-ico {
  padding-top: 10px;
  margin-bottom: 16.31px;
}

.ficha-info .ficha-ico img {
  width: 170px;
  height: 32px;
}

.ficha-cart {
  display: flex;
  align-items: center;
  gap: 23px;
  margin-bottom: 7px;
}

@media (min-width: 992px) {
  .ficha-cart, .ficha-terms, .ficha-tabs {
    margin-right: 35px;
  }
}

.ficha-cart .quantity {
  display: inline-block;
}

.ficha-cart .qty {
  font-family: "Convergence", var(--font-body);
  font-size: 26px;
  line-height: 44.2px;
  font-weight: 700;
  color: #333333;
  text-align: center;
  background-color: #eeeeee;
  border: 6px solid #ffffff;
  padding: 16px;
  width: 112px;
  max-width: 111.8px;
  box-sizing: border-box;
}

.ficha-comprar {
  font-family: "Open Sans", var(--font-body);
  font-size: 20px;
  line-height: 34px;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  background-color: var(--cta-green);
  border: 0;
  border-radius: 0;
  padding: 6px 20px;
  display: inline-block;
  text-decoration: none;
}

.ficha-comprar:hover, .ficha-comprar:focus {
  background-color: var(--cta-green-hover);
  color: #ffffff;
}

.ficha-precio {
  font-family: var(--font-body);
  font-size: 21px;
  line-height: 23.8px;
  font-weight: 700;
  color: var(--cta-green);
  text-align: left;
  margin-bottom: 0;
}

.ficha-iva {
  margin-bottom: 16.31px;
}

.ficha-terms {
  display: flex;
  margin-top: -16px;
  margin-bottom: 16.31px;
  padding-bottom: 60px;
  text-align: center;
  color: rgba(61, 61, 61, 0.81);
}

.ficha-term {
  flex: 1 1 33%;
}

.ficha-term svg {
  width: 35px;
  height: 28px;
}

.ficha-term p {
  font-size: 14px;
  line-height: 26px;
  font-weight: 500;
  margin-bottom: 0;
  padding-bottom: 23px;
  padding-left: 14px;
}

.ficha-term strong {
  font-weight: 700;
}

.ficha-tabs {
  border: 1px solid #d9d9d9;
  margin-bottom: 16.31px;
}

.ficha-tabs-bar {
  list-style: none;
  display: block;
  background-color: #f4f4f4;
  padding-left: 0;
  margin-bottom: 0;
}

.ficha-tabs-bar li {
  display: table;
  background-color: #ffffff;
  max-width: 100%;
}

.ficha-tabs-bar a {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 23.8px;
  font-weight: 600;
  color: #333333;
  display: table-cell;
  padding: 4px 30px;
  text-decoration: none;
}

.ficha-tab {
  background-color: #ffffff;
  padding: 24px 30px;
}

.ficha-tab p {
  font-size: 14px;
  line-height: 23.8px;
  font-weight: 500;
  color: #666666;
  padding-bottom: 14px;
  margin-bottom: 0;
}

.ficha-tab p strong {
  font-weight: 700;
}

.ficha-tab ul {
  margin-bottom: 0;
  padding-left: 14px;
}

.ficha-tab li {
  font-size: 14px;
  line-height: 26px;
  font-weight: 500;
  color: #666666;
}

/* ---------- 6. Pie (viva: #353535) ---------- */

.site-footer {
  background-color: var(--footer-bg);
  color: rgba(255, 255, 255, 0.85);
}

.site-footer a {
  color: #ffffff;
  text-decoration: none;
}

.site-footer a:hover, .site-footer a:focus {
  text-decoration: underline;
}

/* Línea de pie a una altura (© izquierda, legal a la derecha) */

.site-footer .footer-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  font-size: 0.85rem;
}

.site-footer .footer-line p {
  margin-bottom: 0;
}

.site-footer .credito {
  color: rgba(255, 255, 255, 0.65);
}

.site-footer .footer-legal {
  margin-left: auto;
  text-align: right;
  white-space: nowrap;
  font-size: 0.75rem;
}

/* Enlaces legales apagados (ronda25: tipografía menor + muted). */

.site-footer .footer-legal a, .site-footer .footer-legal [data-cc="c-settings"] {
  color: rgba(255, 255, 255, 0.55);
}

.site-footer .footer-legal a:hover, .site-footer .footer-legal a:focus, .site-footer .footer-legal [data-cc="c-settings"]:hover, .site-footer .footer-legal [data-cc="c-settings"]:focus {
  color: #ffffff;
}

/* Crédito como enlace visible (ronda25: apunta a portalmainfo). */

.site-footer .credito a {
  color: #ffffff;
}

@media (max-width: 767.98px) {
  .site-footer .footer-line {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 767.98px) {
  .site-footer .footer-legal {
    margin-left: 0;
  }
}

/* Botón Configurar cookies del pie (mismo gesto que el enlace) */

.site-footer [data-cc="c-settings"] {
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  color: #ffffff;
  cursor: pointer;
}

.site-footer [data-cc="c-settings"]:hover, .site-footer [data-cc="c-settings"]:focus {
  text-decoration: underline;
}

/* ---------- 8. Reveal on-scroll (firma viva: translateY(10%) 1000ms
   cubic-bezier(.77,0,.175,1); venía de reveal.css, absorbido aquí para
   clavar el orden canónico de 7 hojas con cookieconsent de 7.ª) ----------
   Mejora progresiva: sin JS no hay .js y todo queda visible. */

/* 8.1 Oculto inicial: solo bajo html.js */

html.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 10%, 0);
}

/* 8.2 Visible */

html.js [data-reveal].es-visible {
  opacity: 1;
  transform: none;
  transition: opacity 1000ms cubic-bezier(0.77, 0, 0.175, 1), transform 1000ms cubic-bezier(0.77, 0, 0.175, 1);
}

/* 8.3 Movimiento reducido: todo visible */

@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ---------- 9. Modal legal (abre informacion-legal.html en modal sin
   salir de la página; del kit-simple, marca con fallback) ---------- */

.modal-informacion-legal .modal-dialog {
  width: calc(100% - 32px);
  max-width: 1140px;
  height: auto;
  max-height: 94vh;
  margin-right: auto;
  margin-left: auto;
}

.modal-informacion-legal .modal-content {
  max-height: 94vh;
  background: #fff;
}

.modal-informacion-legal .modal-header, .modal-informacion-legal .modal-footer {
  padding: .55rem 1.1rem;
}

.modal-informacion-legal .modal-title {
  font-size: 20px;
  font-weight: 600;
}

.modal-informacion-legal .modal-body {
  padding: .7rem 1.1rem;
  color: #555555;
  font-size: 12px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.modal-informacion-legal .modal-body a {
  color: var(--link-color, var(--brand,#4f7997));
}

.modal-informacion-legal .modal-body .table-responsive {
  overflow-x: auto;
}

.modal-informacion-legal .modal-body section + section {
  margin-top: 12px;
}

.modal-informacion-legal .modal-body h2 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
}

.modal-informacion-legal .modal-body p {
  margin: 0;
}

.modal-open:has(.modal-informacion-legal.show) #cc_div {
  visibility: hidden;
}

