/* ===== cards.css ===== */
/* BMI v2 · Tarjetas de producto (loop Woo ul.products) para la ficha (relacionados) y los archivos/tienda · Forge v3 F2.1
   Ámbito: body.bmi-v2g .v2g-product | .v2g-archive. Foto íntegra sin ampliar (object-fit:scale-down), nombre, atributos opcionales (.v2g-attrs), «Ver ficha». */
body.bmi-v2g :is(.v2g-product,.v2g-archive) ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin:0!important;padding:0!important;list-style:none}
body.bmi-v2g :is(.v2g-product,.v2g-archive) ul.products::before,body.bmi-v2g :is(.v2g-product,.v2g-archive) ul.products::after{display:none!important}
body.bmi-v2g :is(.v2g-product,.v2g-archive) ul.products li.product{float:none!important;width:auto!important;margin:0!important;padding:0!important;display:flex;flex-direction:column;background:#fff;border:1px solid var(--bd);border-radius:5px;overflow:hidden;transition:box-shadow .2s;text-align:left}
body.bmi-v2g :is(.v2g-product,.v2g-archive) ul.products li.product:hover{box-shadow:0 10px 28px rgba(9,38,66,.10)}
body.bmi-v2g :is(.v2g-product,.v2g-archive) ul.products li.product a.woocommerce-loop-product__link{display:flex;flex-direction:column;flex:1;text-decoration:none;color:var(--navy)!important}
body.bmi-v2g :is(.v2g-product,.v2g-archive) ul.products li.product img{display:block;box-sizing:border-box;width:100%!important;max-width:100%!important;height:252px!important;max-height:none!important;object-fit:scale-down;padding:16px;margin:0!important;background:#fff;border-bottom:1px solid #EEF2F6}
body.bmi-v2g :is(.v2g-product,.v2g-archive) ul.products li.product :is(.woocommerce-loop-product__title,.woocommerce-loop-category__title,h2,h3){font-size:18px!important;line-height:1.3!important;font-weight:700!important;color:var(--navy)!important;margin:0!important;padding:18px 20px 4px!important}
body.bmi-v2g :is(.v2g-product,.v2g-archive) ul.products li.product :is(.price,.star-rating,.onsale,.added_to_cart,a.add_to_cart_button.ajax_add_to_cart){display:none!important}
body.bmi-v2g :is(.v2g-product,.v2g-archive) ul.products li.product .v2g-attrs{list-style:none;margin:6px 0 0;padding:0 20px;font-size:14px;color:var(--t2)}
body.bmi-v2g :is(.v2g-product,.v2g-archive) ul.products li.product .v2g-attrs li{display:flex;justify-content:space-between;gap:10px;padding:5px 0;border-bottom:1px solid #EDF2F6}
body.bmi-v2g :is(.v2g-product,.v2g-archive) ul.products li.product a.button{align-self:flex-start;margin:16px 20px 20px!important;min-height:44px!important;padding:10px 18px!important;background:#fff!important;color:var(--act)!important;border:1px solid var(--act)!important;font-size:15px!important}
body.bmi-v2g :is(.v2g-product,.v2g-archive) ul.products li.product a.button:hover{background:var(--tint)!important;color:var(--act-h)!important;border-color:var(--act-h)!important}
@media (max-width:1024px){body.bmi-v2g :is(.v2g-product,.v2g-archive) ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:800px){body.bmi-v2g :is(.v2g-product,.v2g-archive) ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}
@media (max-width:520px){body.bmi-v2g :is(.v2g-product,.v2g-archive) ul.products{grid-template-columns:minmax(0,1fr)}}
@media (prefers-reduced-motion:reduce){body.bmi-v2g :is(.v2g-product,.v2g-archive) *{transition:none!important}}

/* ===== product.css ===== */
/* BMI v2 · Ficha de producto (plantilla Theme Builder single-product, Hook H2.2) · Forge v3 F2.1
   Ámbito: body.bmi-v2g .v2g-product (clase CSS en el contenedor exterior de la plantilla).
   Clases que Hook pone en «CSS Classes» de cada elemento:
     .v2g-ptop     contenedor de cabecera (rejilla: galería | título + resumen; en móvil título → galería → resumen)
     .v2g-p-crumb  widget Breadcrumb Woo        .v2g-p-title  widget Título del producto (H1)
     .v2g-p-gallery widget Imágenes del producto .v2g-p-summary contenedor/widget del resumen (descripción corta + CTA)
     .v2g-p-body   widget Contenido/Descripción (o pestañas) y especificaciones
     .v2g-p-related widget Productos relacionados
   Vars de color: las de body.bmi-v2g (H2.0). Sin !important salvo donde H2.0 o Woo lo usan. */

body.bmi-v2g .v2g-product{font-size:17px;line-height:1.65;color:var(--navy)}
body.bmi-v2g .v2g-product :is(p,li){font-size:inherit}
body.bmi-v2g .v2g-product :is(h2,h3){color:var(--navy);font-weight:700;letter-spacing:normal;text-transform:none}
body.bmi-v2g .v2g-product h2{font-size:clamp(24px,2.4vw,32px);line-height:1.2;margin:0 0 16px}
body.bmi-v2g .v2g-product h3{font-size:20px;line-height:1.3;margin:24px 0 10px}

/* 1 · Breadcrumb «Inicio › Productos › categoría › modelo». El separador se pone con el filtro woocommerce_breadcrumb_defaults
      (delimiter = <span class="v2g-sep" aria-hidden="true">›</span>); el nivel «Productos» lo añade el MU de Hook. */
body.bmi-v2g .v2g-product .woocommerce-breadcrumb{display:flex;flex-wrap:wrap;align-items:center;column-gap:2px;margin:0 0 8px;padding:0;font-size:14px;line-height:1.4;color:var(--t2)}
body.bmi-v2g .v2g-product .woocommerce-breadcrumb a{display:inline-flex;align-items:center;min-height:44px;color:var(--act);text-decoration:none}
body.bmi-v2g .v2g-product .woocommerce-breadcrumb a:hover{color:var(--act-h);text-decoration:underline}
body.bmi-v2g .v2g-product .woocommerce-breadcrumb .v2g-sep{display:inline-block;margin:0 8px;color:var(--bd2)}

/* 2 · Cabecera: rejilla galería | título + resumen. Funciona con contenedor boxed (.e-con-inner) o full width. */
body.bmi-v2g .v2g-product .v2g-ptop:not(:has(> .e-con-inner)),
body.bmi-v2g .v2g-product .v2g-ptop > .e-con-inner{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);grid-template-areas:"gal title" "gal sum";column-gap:56px;row-gap:0;align-items:start}
body.bmi-v2g .v2g-product .v2g-p-title{grid-area:title;align-self:end}
body.bmi-v2g .v2g-product .v2g-p-gallery{grid-area:gal}
body.bmi-v2g .v2g-product .v2g-p-summary{grid-area:sum}
body.bmi-v2g .v2g-product .v2g-ptop > *,body.bmi-v2g .v2g-product .v2g-ptop > .e-con-inner > *{width:auto;max-width:100%;min-width:0;margin:0}
@media (max-width:900px){
  body.bmi-v2g .v2g-product .v2g-ptop:not(:has(> .e-con-inner)),
  body.bmi-v2g .v2g-product .v2g-ptop > .e-con-inner{grid-template-columns:minmax(0,1fr);grid-template-areas:"title" "gal" "sum";row-gap:20px}
}
/* H1 */
body.bmi-v2g .v2g-product :is(.product_title,.v2g-p-title .elementor-heading-title){font-size:clamp(30px,3.4vw,46px)!important;line-height:1.12!important;letter-spacing:-.6px!important;font-weight:700!important;color:var(--navy)!important;margin:0 0 16px!important}

/* 3 · Galería sin ampliar: sin lupa, sin zoom; la imagen nunca se escala por encima de su tamaño natural. */
body.bmi-v2g .v2g-product .woocommerce-product-gallery{float:none!important;width:100%!important;margin:0!important;opacity:1!important;position:relative}
body.bmi-v2g .v2g-product .woocommerce-product-gallery__trigger,body.bmi-v2g .v2g-product .zoomImg{display:none!important}
body.bmi-v2g .v2g-product .woocommerce-product-gallery__wrapper{margin:0;border:1px solid var(--bd);border-radius:5px;background:#fff}
body.bmi-v2g .v2g-product .woocommerce-product-gallery__image{display:flex;align-items:center;justify-content:center;padding:16px}
body.bmi-v2g .v2g-product .woocommerce-product-gallery__image a{pointer-events:none;cursor:default}
body.bmi-v2g .v2g-product .woocommerce-product-gallery__image img{width:auto!important;max-width:100%!important;height:auto!important;max-height:620px;object-fit:scale-down;margin:0 auto}
body.bmi-v2g .v2g-product .flex-control-thumbs{display:flex!important;flex-wrap:wrap;gap:8px;margin:12px 0 0!important;padding:0;list-style:none}
body.bmi-v2g .v2g-product .flex-control-thumbs li{width:72px!important;float:none!important;margin:0!important}
body.bmi-v2g .v2g-product .flex-control-thumbs img{display:block;width:72px;height:72px;object-fit:scale-down;border:1px solid var(--bd);border-radius:4px;background:#fff;opacity:.75;cursor:pointer}
body.bmi-v2g .v2g-product .flex-control-thumbs img.flex-active,body.bmi-v2g .v2g-product .flex-control-thumbs img:hover{opacity:1;border-color:var(--act)}

/* 4 · Resumen: sin precio, carrito, cantidad ni metadatos (la categoría ya está en el breadcrumb). Vídeo de la descripción corta 16:9. */
body.bmi-v2g .v2g-product :is(.price,form.cart,.quantity,.single_add_to_cart_button,.product_meta,.woocommerce-product-rating,.onsale,.stock){display:none!important}
body.bmi-v2g .v2g-product .summary{float:none!important;width:100%!important;margin:0!important}
body.bmi-v2g .v2g-product .woocommerce-product-details__short-description{color:var(--t2);font-size:18px;margin:0 0 20px}
body.bmi-v2g .v2g-product .woocommerce-product-details__short-description p:empty{display:none}
body.bmi-v2g .v2g-product :is(.woocommerce-product-details__short-description,.v2g-p-body,.entry-content) iframe[src*="youtu"]{display:block;width:100%!important;height:auto!important;aspect-ratio:16/9;border:0;border-radius:5px;background:#000}

/* 5 · Bloque CTA «Cotizar este modelo» (HTML en templates/snippets/product-cta.html, en un widget Shortcode para que corra [bmi_cotizar_url]) */
body.bmi-v2g .v2g-cta{background:var(--tint);border:1px solid var(--bd);border-left:4px solid var(--act);border-radius:5px;padding:22px 24px;margin:8px 0 0}
body.bmi-v2g .v2g-cta__t{font-size:22px!important;line-height:1.25!important;margin:0 0 6px!important;color:var(--navy)!important}
body.bmi-v2g .v2g-cta__p{margin:0 0 16px;color:var(--t2);font-size:16px;line-height:1.55}
body.bmi-v2g .v2g-cta__acts{display:flex;flex-wrap:wrap;gap:12px}
body.bmi-v2g .v2g-cta a.v2g-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:14px 24px;border-radius:3px;border:1px solid var(--act);background:var(--act);color:#fff!important;font-size:15px;font-weight:700;line-height:1.2;white-space:nowrap;text-decoration:none!important;transition:background .15s,border-color .15s}
body.bmi-v2g .v2g-cta a.v2g-btn:hover{background:var(--act-h);border-color:var(--act-h)}
body.bmi-v2g .v2g-cta a.v2g-btn--ghost{background:#fff;color:var(--act)!important}
body.bmi-v2g .v2g-cta a.v2g-btn--ghost:hover{background:var(--tint);color:var(--act-h)!important;border-color:var(--act-h)}
body.bmi-v2g .v2g-cta a.v2g-btn svg{width:18px;height:18px;flex:none}
@media (max-width:600px){body.bmi-v2g .v2g-cta{padding:20px}body.bmi-v2g .v2g-cta a.v2g-btn{flex:1 1 100%}}

/* 6 · Cuerpo / descripción. Si queda una sola pestaña («Descripción»), se oculta la barra de pestañas. */
body.bmi-v2g .v2g-product .v2g-p-body{max-width:860px}
body.bmi-v2g .v2g-product .woocommerce-tabs{margin:0;padding:0}
body.bmi-v2g .v2g-product .woocommerce-tabs ul.tabs:has(> li:only-child){display:none!important}
body.bmi-v2g .v2g-product .woocommerce-tabs ul.tabs{display:flex;flex-wrap:wrap;gap:4px;margin:0 0 20px!important;padding:0!important;border-bottom:1px solid var(--bd)}
body.bmi-v2g .v2g-product .woocommerce-tabs ul.tabs::before,body.bmi-v2g .v2g-product .woocommerce-tabs ul.tabs li::before,body.bmi-v2g .v2g-product .woocommerce-tabs ul.tabs li::after{display:none!important}
body.bmi-v2g .v2g-product .woocommerce-tabs ul.tabs li{margin:0!important;padding:0!important;border:0!important;background:none!important;border-radius:0!important}
body.bmi-v2g .v2g-product .woocommerce-tabs ul.tabs li a{display:inline-flex;align-items:center;min-height:44px;padding:0 16px!important;font-weight:700;color:var(--t2)!important;border-bottom:3px solid transparent}
body.bmi-v2g .v2g-product .woocommerce-tabs ul.tabs li.active a{color:var(--navy)!important;border-bottom-color:var(--act)}
body.bmi-v2g .v2g-product :is(.woocommerce-Tabs-panel,.v2g-p-body) ul:not([class]){margin:0 0 20px;padding:0;list-style:none}
body.bmi-v2g .v2g-product :is(.woocommerce-Tabs-panel,.v2g-p-body) ul:not([class]) > li{position:relative;padding:8px 0 8px 28px;border-bottom:1px solid #EDF2F6}
body.bmi-v2g .v2g-product :is(.woocommerce-Tabs-panel,.v2g-p-body) ul:not([class]) > li::before{content:"";position:absolute;left:4px;top:17px;width:10px;height:10px;border-radius:2px;background:var(--act-d)}

/* 7 · Especificaciones responsive
   a) tabla Woo «Información adicional» (atributos): 2 columnas; en ≤600 px cada fila se apila (rótulo arriba, valor abajo).
   b) tabla propia .v2g-specs (snippets/product-specs.html): varias columnas; en ≤600 px cada fila es una tarjeta con data-label. */
body.bmi-v2g .v2g-product table.woocommerce-product-attributes,body.bmi-v2g .v2g-specs{display:table!important;width:100%;max-width:860px;border-collapse:collapse;margin:0 0 24px;font-size:15px;line-height:1.5;border:1px solid var(--bd);border-radius:5px;overflow:hidden;background:#fff}
body.bmi-v2g .v2g-product table.woocommerce-product-attributes :is(th,td),body.bmi-v2g .v2g-specs :is(th,td){padding:12px 16px!important;border:0!important;border-bottom:1px solid var(--bd)!important;text-align:left;vertical-align:top;background:#fff;color:var(--navy);font-style:normal}
body.bmi-v2g .v2g-product table.woocommerce-product-attributes th{width:40%;font-weight:700;background:var(--tint)}
body.bmi-v2g .v2g-product table.woocommerce-product-attributes td p{margin:0}
body.bmi-v2g .v2g-specs thead th{background:var(--navy)!important;color:#fff!important;font-weight:700}
body.bmi-v2g .v2g-specs tbody th{font-weight:700;background:var(--tint)}
body.bmi-v2g .v2g-specs caption{caption-side:top;text-align:left;font-weight:700;padding:0 0 8px;color:var(--navy)}
@media (max-width:600px){
  body.bmi-v2g .v2g-product table.woocommerce-product-attributes,body.bmi-v2g .v2g-product table.woocommerce-product-attributes :is(tbody,tr,th,td){display:block!important;width:100%!important}
  body.bmi-v2g .v2g-product table.woocommerce-product-attributes th{border-bottom:0!important;padding-bottom:2px!important;background:#fff}
  body.bmi-v2g .v2g-specs,body.bmi-v2g .v2g-specs :is(tbody,tr,th,td){display:block!important;width:100%!important}
  body.bmi-v2g .v2g-specs{border:0;background:transparent}
  body.bmi-v2g .v2g-specs thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  body.bmi-v2g .v2g-specs tr{border:1px solid var(--bd);border-radius:5px;margin:0 0 12px;overflow:hidden;background:#fff}
  body.bmi-v2g .v2g-specs tbody th{border-bottom:1px solid var(--bd)!important}
  body.bmi-v2g .v2g-specs td{display:flex!important;justify-content:space-between;gap:12px}
  body.bmi-v2g .v2g-specs td::before{content:attr(data-label);color:var(--t2);font-weight:400;flex:0 0 45%}
  body.bmi-v2g .v2g-specs td{text-align:right}
  body.bmi-v2g .v2g-specs tr > :last-child{border-bottom:0!important}
}

/* 8 · Relacionados (las tarjetas están en cards.css, compartido con el archivo): tarjetas v2 (foto íntegra, nombre, «Ver ficha»); sin precio, carrito, estrellas ni «Leer más».
      «Ver ficha» = texto del botón del loop con el filtro woocommerce_product_add_to_cart_text (ver HANDOFF). */
body.bmi-v2g .v2g-product .related > h2,body.bmi-v2g .v2g-product .v2g-p-related h2{margin:0 0 20px}

/* ===== archive.css ===== */
/* BMI v2 · Archivo de categoría de producto y /tienda/ (plantilla product-archive, Hook H2.2) · Forge v3 F2.1
   Ámbito: body.bmi-v2g .v2g-archive (clase del contenedor exterior). Requiere cards.css (rejilla de tarjetas).
   Clases opcionales: .v2g-a-head (contenedor de cabecera: breadcrumb + H1 + intro).
   Textos: H1 = nombre de la categoría (sin «Categoría:»); en /tienda/ «Productos» (filtros en HANDOFF). */
body.bmi-v2g .v2g-archive{font-size:17px;line-height:1.65;color:var(--navy)}
body.bmi-v2g .v2g-archive .woocommerce-breadcrumb{display:flex;flex-wrap:wrap;align-items:center;column-gap:2px;margin:0 0 4px;padding:0;font-size:14px;line-height:1.4;color:var(--t2)}
body.bmi-v2g .v2g-archive .woocommerce-breadcrumb a{display:inline-flex;align-items:center;min-height:44px;color:var(--act);text-decoration:none}
body.bmi-v2g .v2g-archive .woocommerce-breadcrumb a:hover{color:var(--act-h);text-decoration:underline}
body.bmi-v2g .v2g-archive .woocommerce-breadcrumb .v2g-sep{display:inline-block;margin:0 8px;color:var(--bd2)}
/* H1 (widget Título del archivo o cabecera Woo) */
body.bmi-v2g .v2g-archive :is(.elementor-widget-theme-archive-title .elementor-heading-title,.woocommerce-products-header__title,.page-title,h1){font-size:clamp(32px,3.8vw,52px)!important;line-height:1.1!important;letter-spacing:-.8px!important;font-weight:700!important;color:var(--navy)!important;margin:0 0 12px!important}
/* Intro opcional (descripción de la categoría) */
body.bmi-v2g .v2g-archive :is(.term-description,.page-description,.elementor-widget-woocommerce-archive-description,.woocommerce-products-header .term-description){max-width:760px;font-size:18px;line-height:1.6;color:var(--t2);margin:0 0 32px}
body.bmi-v2g .v2g-archive :is(.term-description,.page-description) p{color:var(--t2);margin:0 0 10px}
body.bmi-v2g .v2g-archive .woocommerce-products-header{margin:0 0 8px;padding:0}
/* Sin «Ordenar por» ni recuento de resultados */
body.bmi-v2g .v2g-archive :is(.woocommerce-result-count,.woocommerce-ordering){display:none!important}
/* Subcategorías como tarjetas (si el loop las muestra): sin el recuento (n) */
body.bmi-v2g .v2g-archive ul.products li.product-category mark.count{display:none}
body.bmi-v2g .v2g-archive ul.products li.product-category a{display:flex;flex-direction:column;flex:1;text-decoration:none;color:var(--navy)!important}
body.bmi-v2g .v2g-archive ul.products li.product-category .woocommerce-loop-category__title{padding-bottom:20px!important}
/* Paginación (Woo o Elementor) */
body.bmi-v2g .v2g-archive :is(nav.woocommerce-pagination,.elementor-pagination){margin:40px 0 0;text-align:left}
body.bmi-v2g .v2g-archive nav.woocommerce-pagination ul.page-numbers{display:flex!important;flex-wrap:wrap;gap:8px;border:0!important;margin:0!important;padding:0;list-style:none}
body.bmi-v2g .v2g-archive nav.woocommerce-pagination ul.page-numbers li{border:0!important;float:none!important;margin:0!important}
body.bmi-v2g .v2g-archive :is(nav.woocommerce-pagination,.elementor-pagination) .page-numbers:is(a,span){display:inline-flex!important;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:0 12px!important;border:1px solid var(--bd)!important;border-radius:3px;background:#fff!important;color:var(--act)!important;font-size:15px!important;font-weight:700;line-height:1!important;text-decoration:none}
body.bmi-v2g .v2g-archive :is(nav.woocommerce-pagination,.elementor-pagination) .page-numbers.current{background:var(--act)!important;border-color:var(--act)!important;color:#fff!important}
body.bmi-v2g .v2g-archive :is(nav.woocommerce-pagination,.elementor-pagination) a.page-numbers:hover{border-color:var(--act)!important;background:var(--tint)!important}
/* Sin productos */
body.bmi-v2g .v2g-archive .woocommerce-info{border:1px solid var(--bd);border-left:4px solid var(--act);background:var(--tint);color:var(--navy);padding:16px 20px;border-radius:5px}
body.bmi-v2g .v2g-archive .woocommerce-info::before{display:none}

/* ===== blog.css ===== */
/* BMI v2 · Entrada (single-post, Hook H2.4) y archivo de blog / búsqueda (archive, H2.4) · Forge v3 F2.1
   Ámbito: body.bmi-v2g .v2g-post (entrada) y body.bmi-v2g .v2g-blog (archivo). Widgets de tema de Elementor Pro:
   Título (theme-post-title), Post info, Imagen destacada, Contenido (theme-post-content), Posts / Archive posts (skin Clásica o Tarjetas). */

/* — Entrada — columna de lectura */
body.bmi-v2g .v2g-post{color:var(--navy)}
body.bmi-v2g .v2g-post :is(.elementor-widget-theme-post-title,.elementor-widget-post-info,.elementor-widget-theme-post-featured-image,.elementor-widget-theme-post-content,.v2g-read){max-width:820px!important;margin-left:auto!important;margin-right:auto!important;width:100%}
body.bmi-v2g .v2g-post .v2g-kicker{display:block;font-size:13px;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:var(--act);margin:0 0 12px}
body.bmi-v2g .v2g-post .elementor-widget-theme-post-title .elementor-heading-title{font-size:clamp(30px,3.6vw,48px)!important;line-height:1.12!important;letter-spacing:-.6px!important;font-weight:700!important;color:var(--navy)!important;margin:0 0 14px!important}
/* meta / fecha (formato j \d\e F \d\e Y) */
body.bmi-v2g .v2g-post .elementor-post-info{display:flex;flex-wrap:wrap;gap:4px 18px;margin:0 0 24px!important;padding:0;list-style:none;font-size:15px;color:var(--t2)}
body.bmi-v2g .v2g-post .elementor-post-info__item,body.bmi-v2g .v2g-post .elementor-post-info a{color:var(--t2)!important;font-size:15px!important}
body.bmi-v2g .v2g-post .elementor-post-info a:hover{color:var(--act)!important}
body.bmi-v2g .v2g-post .elementor-post-info .elementor-icon-list-icon{color:var(--bd2)}
body.bmi-v2g .v2g-post .elementor-post-info .elementor-icon-list-item::after{display:none!important}
/* imagen destacada: sin ampliar */
body.bmi-v2g .v2g-post .elementor-widget-theme-post-featured-image img{display:block;width:auto!important;max-width:100%!important;height:auto!important;margin:0 auto 32px;border-radius:5px}
/* cuerpo */
body.bmi-v2g .v2g-post .elementor-widget-theme-post-content{font-size:18px;line-height:1.7}
body.bmi-v2g .v2g-post .elementor-widget-theme-post-content :is(p,li){font-size:18px;line-height:1.7;color:var(--navy)}
body.bmi-v2g .v2g-post .elementor-widget-theme-post-content p{margin:0 0 20px}
body.bmi-v2g .v2g-post .elementor-widget-theme-post-content h2{font-size:clamp(24px,2.4vw,30px);line-height:1.25;margin:44px 0 14px}
body.bmi-v2g .v2g-post .elementor-widget-theme-post-content h3{font-size:22px;line-height:1.3;margin:32px 0 10px}
body.bmi-v2g .v2g-post .elementor-widget-theme-post-content h4{font-size:19px;line-height:1.35;margin:24px 0 8px}
body.bmi-v2g .v2g-post .elementor-widget-theme-post-content :is(ul,ol){margin:0 0 22px;padding-left:24px}
body.bmi-v2g .v2g-post .elementor-widget-theme-post-content li{margin:0 0 8px}
body.bmi-v2g .v2g-post .elementor-widget-theme-post-content li::marker{color:var(--act-d)}
body.bmi-v2g .v2g-post .elementor-widget-theme-post-content a{text-decoration:underline;text-underline-offset:2px;overflow-wrap:anywhere}
body.bmi-v2g .v2g-post .elementor-widget-theme-post-content blockquote{margin:28px 0;padding:18px 24px;border-left:4px solid var(--act);background:var(--tint);border-radius:0 5px 5px 0;font-size:19px;font-style:normal}
body.bmi-v2g .v2g-post .elementor-widget-theme-post-content blockquote p:last-child{margin:0}
body.bmi-v2g .v2g-post .elementor-widget-theme-post-content :is(img,video){max-width:100%;height:auto}
body.bmi-v2g .v2g-post .elementor-widget-theme-post-content figure{margin:28px 0;max-width:100%}
body.bmi-v2g .v2g-post .elementor-widget-theme-post-content figcaption{font-size:14px;color:var(--t2);margin-top:8px}
body.bmi-v2g .v2g-post .elementor-widget-theme-post-content table{font-size:15px;line-height:1.5;margin:0 0 24px;border:1px solid var(--bd)}
body.bmi-v2g .v2g-post .elementor-widget-theme-post-content :is(th,td){padding:10px 14px;border:0;border-bottom:1px solid var(--bd);text-align:left;vertical-align:top}
body.bmi-v2g .v2g-post .elementor-widget-theme-post-content th{background:var(--tint);font-weight:700}
body.bmi-v2g .v2g-post .elementor-widget-theme-post-content :is(iframe[src*="youtu"],iframe[src*="vimeo"]),body.bmi-v2g .v2g-post .elementor-widget-theme-post-content .wp-block-embed__wrapper iframe{display:block;width:100%!important;height:auto!important;aspect-ratio:16/9;border:0;border-radius:5px}
body.bmi-v2g .v2g-post .elementor-widget-theme-post-content .wp-block-embed__wrapper::before{display:none}
body.bmi-v2g .v2g-post .elementor-widget-theme-post-content hr{border:0;border-top:1px solid var(--bd);margin:36px 0}

/* — Tarjetas de entrada: «Relacionadas» (en .v2g-post) y archivo (.v2g-blog) — widget Posts/Archive posts */
body.bmi-v2g :is(.v2g-post,.v2g-blog) .elementor-posts-container{gap:24px}
body.bmi-v2g :is(.v2g-post,.v2g-blog) .elementor-post{background:#fff;border:1px solid var(--bd);border-radius:5px;overflow:hidden;display:flex;flex-direction:column;transition:box-shadow .2s}
body.bmi-v2g :is(.v2g-post,.v2g-blog) .elementor-post:hover{box-shadow:0 10px 28px rgba(9,38,66,.10)}
body.bmi-v2g :is(.v2g-post,.v2g-blog) .elementor-post__card{border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;display:flex;flex-direction:column;flex:1}
body.bmi-v2g :is(.v2g-post,.v2g-blog) .elementor-post__thumbnail__link{margin:0!important;display:block}
body.bmi-v2g :is(.v2g-post,.v2g-blog) .elementor-post__thumbnail{background:var(--tint)}
body.bmi-v2g :is(.v2g-post,.v2g-blog) .elementor-post__thumbnail img{object-fit:cover}
body.bmi-v2g :is(.v2g-post,.v2g-blog) .elementor-post__text{padding:20px 22px 4px!important;margin:0!important;display:flex;flex-direction:column;flex:1}
body.bmi-v2g :is(.v2g-post,.v2g-blog) .elementor-post__badge{position:static!important;display:inline-block;align-self:flex-start;margin:0 0 10px!important;padding:4px 10px!important;border-radius:3px!important;background:var(--tint)!important;color:var(--act)!important;font-size:12px!important;font-weight:700!important;letter-spacing:1px;text-transform:uppercase!important;line-height:1.4!important}
body.bmi-v2g :is(.v2g-post,.v2g-blog) .elementor-post__card .elementor-post__badge{position:absolute!important;top:12px;left:12px;margin:0!important}
body.bmi-v2g :is(.v2g-post,.v2g-blog) .elementor-post__title{font-size:19px!important;line-height:1.3!important;font-weight:700!important;margin:0 0 8px!important}
body.bmi-v2g :is(.v2g-post,.v2g-blog) .elementor-post__title a{color:var(--navy)!important;text-decoration:none}
body.bmi-v2g :is(.v2g-post,.v2g-blog) .elementor-post__title a:hover{color:var(--act)!important}
body.bmi-v2g :is(.v2g-post,.v2g-blog) .elementor-post__meta-data,body.bmi-v2g :is(.v2g-post,.v2g-blog) .elementor-post__meta-data span{font-size:14px!important;color:var(--t2)!important;margin:0 0 8px!important}
body.bmi-v2g :is(.v2g-post,.v2g-blog) .elementor-post__card .elementor-post__meta-data{border-top:1px solid #EDF2F6!important;padding:12px 22px!important;margin:auto 0 0!important}
body.bmi-v2g :is(.v2g-post,.v2g-blog) .elementor-post__excerpt p{font-size:15px!important;line-height:1.55!important;color:var(--t2)!important;margin:0 0 12px!important}
body.bmi-v2g :is(.v2g-post,.v2g-blog) .elementor-post__read-more{display:inline-flex!important;align-items:center;min-height:44px;margin-top:auto;font-size:15px!important;font-weight:700!important;color:var(--act)!important;text-transform:none!important}
body.bmi-v2g :is(.v2g-post,.v2g-blog) .elementor-post__read-more:hover{color:var(--act-h)!important}
/* archivo: cabecera y paginación */
body.bmi-v2g .v2g-blog :is(.elementor-widget-theme-archive-title .elementor-heading-title,.page-title,h1){font-size:clamp(32px,3.8vw,52px)!important;line-height:1.1!important;letter-spacing:-.8px!important;font-weight:700!important;color:var(--navy)!important;margin:0 0 24px!important}
body.bmi-v2g .v2g-blog .elementor-pagination{display:flex;flex-wrap:wrap;gap:8px;margin:40px 0 0!important;justify-content:flex-start}
body.bmi-v2g .v2g-blog .elementor-pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:0 12px;margin:0!important;border:1px solid var(--bd);border-radius:3px;background:#fff;color:var(--act)!important;font-size:15px;font-weight:700;text-decoration:none}
body.bmi-v2g .v2g-blog .elementor-pagination .page-numbers.current{background:var(--act);border-color:var(--act);color:#fff!important}
body.bmi-v2g .v2g-blog .elementor-pagination a.page-numbers:hover{border-color:var(--act);background:var(--tint)}
body.bmi-v2g .v2g-blog .elementor-pagination .page-numbers.dots{border-color:transparent;background:transparent}
body.bmi-v2g .v2g-blog .e-load-more-anchor+.e-load-more-spinner{display:none}
body.bmi-v2g .v2g-post .elementor-widget-theme-post-content :is(p,li,blockquote,td,th,h2,h3,h4){text-align:left!important;hyphens:manual}
@media (max-width:600px){body.bmi-v2g .v2g-post .elementor-widget-theme-post-content :is(p,li){font-size:17px}}
@media (prefers-reduced-motion:reduce){body.bmi-v2g :is(.v2g-post,.v2g-blog) *{transition:none!important}}

/* ===== legal.css ===== */
/* BMI v2 · Legales (single-page para 10427, 8206, 8214; texto intacto, Hook H2.5) · Forge v3 F2.1 — opcional
   Ámbito: body.bmi-v2g .v2g-legal (contenedor exterior). Columna de lectura de 820 px; también ciñe secciones Elementor anidadas (8206). */
body.bmi-v2g .v2g-legal{color:var(--navy)}
body.bmi-v2g .v2g-legal :is(.elementor-widget-theme-post-title,.elementor-widget-theme-post-content,.elementor-widget-theme-page-title,.v2g-read){max-width:820px!important;margin-left:auto!important;margin-right:auto!important;width:100%}
body.bmi-v2g .v2g-legal :is(.elementor-widget-theme-post-title,.elementor-widget-theme-page-title) .elementor-heading-title{font-size:clamp(30px,3.4vw,44px)!important;line-height:1.15!important;letter-spacing:-.5px!important;font-weight:700!important;color:var(--navy)!important;margin:0 0 24px!important}
body.bmi-v2g .v2g-legal .elementor-widget-theme-post-content :is(.elementor-section .elementor-container,.e-con,.e-con-inner){max-width:100%!important}
body.bmi-v2g .v2g-legal .elementor-widget-theme-post-content{font-size:17px;line-height:1.7}
body.bmi-v2g .v2g-legal .elementor-widget-theme-post-content :is(p,li,td){font-size:17px!important;line-height:1.7!important;color:var(--navy)}
body.bmi-v2g .v2g-legal .elementor-widget-theme-post-content p{margin:0 0 16px}
body.bmi-v2g .v2g-legal .elementor-widget-theme-post-content :is(h2,.elementor-heading-title){font-size:24px!important;line-height:1.3!important;margin:36px 0 12px!important;color:var(--navy)!important}
body.bmi-v2g .v2g-legal .elementor-widget-theme-post-content h3{font-size:19px!important;line-height:1.35!important;margin:24px 0 8px!important}
body.bmi-v2g .v2g-legal .elementor-widget-theme-post-content :is(ul,ol){margin:0 0 18px;padding-left:24px}
body.bmi-v2g .v2g-legal .elementor-widget-theme-post-content li{margin:0 0 6px}
body.bmi-v2g .v2g-legal .elementor-widget-theme-post-content li::marker{color:var(--act-d)}
body.bmi-v2g .v2g-legal .elementor-widget-theme-post-content a{text-decoration:underline;text-underline-offset:2px;overflow-wrap:anywhere}
body.bmi-v2g .v2g-legal .elementor-widget-theme-post-content :is(strong,b){font-weight:700}
body.bmi-v2g .v2g-legal .elementor-widget-theme-post-content img{max-width:100%;height:auto}
body.bmi-v2g .v2g-legal .elementor-widget-theme-post-content :is(p,li,td,h2,h3){text-align:left!important;hyphens:manual}
@media (max-width:600px){body.bmi-v2g .v2g-legal .elementor-widget-theme-post-content :is(p,li,td){font-size:16px!important}}


/* q5 (Hook, 2026-10-04) · Migas fuera de ficha y archivo.
   a) Entradas (plantilla 13314, .v2g-post): el mismo widget woocommerce-breadcrumb y el mismo estilo que la ficha (13312).
   b) Resto del alcance (páginas con plantilla 8210: garantía, carrito, precios, calculadoras…): separador a 10 px, como en la ficha. Las reglas de ficha y archivo tienen más especificidad y no cambian. */
body.bmi-v2g .v2g-post .woocommerce-breadcrumb{display:flex;flex-wrap:wrap;align-items:center;column-gap:2px;margin:0 0 8px;padding:0;font-size:14px;line-height:1.4;color:var(--t2)}
body.bmi-v2g .v2g-post .woocommerce-breadcrumb a{display:inline-flex;align-items:center;min-height:44px;color:var(--act);text-decoration:none}
body.bmi-v2g .v2g-post .woocommerce-breadcrumb a:hover{color:var(--act-h);text-decoration:underline}
body.bmi-v2g .v2g-post .woocommerce-breadcrumb .v2g-sep{display:inline-block;margin:0 8px;color:var(--bd2)}
body.bmi-v2g .woocommerce-breadcrumb .v2g-sep{display:inline-block;margin:0 10px}

/* 1.4.0 (q10, 2026-10-04): migas de las páginas con la plantilla 8210 (garantía 8444, carrito 8868, precios de resina 8419) iguales a la ficha (bloque 1):
   14 px, peso normal, ítem actual en --t2 (#526578), separador en --bd2 (#9CB2C5) con 8 px + 2 px de gap, enlaces en --act.
   Pisa el estilo propio del widget woocommerce-breadcrumb 7b38c452 de 8210 (cian #00e5fe, peso 800) sin tocar la plantilla. */
body.bmi-v2g:is(.page-id-8444,.page-id-8868,.page-id-8419) .elementor-widget-woocommerce-breadcrumb .woocommerce-breadcrumb{display:flex;flex-wrap:wrap;align-items:center;column-gap:2px;margin:0 0 8px;padding:0;font-size:14px;line-height:1.4;font-weight:400;color:var(--t2)}
body.bmi-v2g:is(.page-id-8444,.page-id-8868,.page-id-8419) .elementor-widget-woocommerce-breadcrumb .woocommerce-breadcrumb a{display:inline-flex;align-items:center;min-height:44px;font-weight:400;color:var(--act);text-decoration:none}
body.bmi-v2g:is(.page-id-8444,.page-id-8868,.page-id-8419) .elementor-widget-woocommerce-breadcrumb .woocommerce-breadcrumb a:hover{color:var(--act-h);text-decoration:underline}
body.bmi-v2g:is(.page-id-8444,.page-id-8868,.page-id-8419) .elementor-widget-woocommerce-breadcrumb .woocommerce-breadcrumb .v2g-sep{display:inline-block;margin:0 8px;color:var(--bd2)}
