/* Invbit 17-nov-2026: ajustes para que Alysum 9.4.1 se vea como la tienda en Alysum 7.4 */

/* contenido principal a todo el ancho (la 9.4.1 lo deja al 90 %; cabecera y pie ya coinciden) */
#main-content .page-width { width: 100%; }

/* ficha: precio en fila, alineado a la izquierda, con «Impuestos incluidos» al lado (como en la 7.4) */
#product .product-prices { flex-direction: row; justify-content: flex-start; align-items: baseline; gap: 12px; text-align: left; }

/* Invbit 18-nov-2026: miniatura como en 8.2.8 (precio y boton centrados, sin estrellas vacias: no hay valoraciones publicadas) */
.product-miniature .product-price-and-shipping { justify-content: center; text-align: center; }
.product-miniature .ib-atc-bajo { text-align: center; }
.product-miniature .hook-reviews { display: none; }

/* Invbit 18-nov-2026: bloque de productos de Creative Elements vacio ("No Products"): no se muestra, ni su titulo de encima (Outlet / Liquidacion). Vuelve solo cuando haya productos. pkproducts vacio */
.elementor-widget-pkproducts:has(.elementor-alert-info):not(:has(.product-miniature)),
.elementor-widget-heading:has(+ .elementor-widget-pkproducts .elementor-alert-info):not(:has(+ .elementor-widget-pkproducts .product-miniature)) { display: none; }

/* Invbit 18-nov-2026 (1): ficha. Miniaturas debajo de la imagen principal (la 9.4.1 solo las apila dentro de un widget de Creative Elements; en la ficha clasica quedaban al lado y la foto se encogia). El recorte del margen blanco va en linea desde product-cover-thumbnails.tpl */
#product .images-container.thumb-horizontal { flex-direction: column-reverse; gap: 10px; }
#product .images-container.thumb-horizontal > * { width: 100%; }

/* Invbit 18-nov-2026 (3): menu lateral «Categorias» de los listados. El cuerpo del bloque tomaba el ancho de su texto mas largo y se salia del recuadro (details en flex de columna centrado); ahora ocupa el recuadro, los nombres largos pasan a dos lineas y el «+» no se encoge */
#left-column nav.ps_categorytree > details { display: block; }
#left-column nav.ps_categorytree > details > summary .module-title { justify-content: center !important; gap: 10px; }
#left-column nav.ps_categorytree > details > .module-body { width: auto; min-width: 0; max-width: 100%; }
#left-column nav.ps_categorytree .category-tree summary,
#left-column nav.ps_categorytree .category-tree li > div { gap: 8px; min-width: 0; }
#left-column nav.ps_categorytree .category-tree summary > a,
#left-column nav.ps_categorytree .category-tree li > div > a { min-width: 0; flex: 0 1 auto; white-space: normal !important; overflow: visible !important; text-overflow: clip !important; overflow-wrap: break-word; }
#left-column nav.ps_categorytree .catmenu-trigger { flex: 0 0 auto; }
@media (min-width: 768px) and (max-width: 1199px) {
  #left-column nav.ps_categorytree { padding: 16px 12px; }
  #left-column nav.ps_categorytree .category-tree li { padding-left: 0; }
}

/* Invbit 18-nov-2026 (3b): boton flotante de WhatsApp por encima de la pestaña «Consentimiento de cookies» (las dos iban abajo a la izquierda y se pisaban). La pestaña mide 37 px; el boton queda 20 px por encima */
.pk-fixed-bottom.pk-fixed-bottom-left { bottom: 57px; }

/* Invbit 18-nov-2026 (3): hasta 800 px el CSS personalizado de la 7.4 deja la columna lateral en position:fixed (alli era un panel oculto); en la 9.4.1 quedaba flotando encima de los productos al hacer scroll. Vuelve al flujo normal, debajo del listado y a todo el ancho */
@media (max-width: 800px) {
  #wrapper .row:has(> #left-column) { display: flex; flex-direction: column; }
  #wrapper #left-column { position: relative; order: 2; width: 100%; }
  #wrapper .row:has(> #left-column) > .content-wrapper { order: 1; width: 100%; }
}

/* Invbit 18-nov-2026 (4): cabecera de los listados. Fuera el selector de columnas «AUTO 2 3 4 5 6» (no se entendia y la rejilla ya se adapta sola al ancho) y «Por pagina» entero, sin cortar */
#js-product-list-top .listing_view { display: none; }
#js-product-list-top .perpage-selector { width: auto; max-width: none; overflow: visible; text-overflow: clip; white-space: nowrap; padding-right: 32px; }
#js-product-list-top.products-selection { justify-content: flex-start; column-gap: 16px; }

/* Invbit 18-nov-2026 (4b): misma miniatura en categoria, busqueda, bloques de la portada, carruseles de la ficha y favoritos: imagen, titulo, precio debajo (centrado, como en 8.2.8) y boton. En los bloques de la portada el precio iba al lado del titulo y tocaba el borde */
.product-miniature .product-description { display: flex; flex-direction: column; align-items: stretch; gap: 8px; padding: 16px; }
.product-miniature .product-description .product-title { float: none; width: 100% !important; max-width: 100%; margin: 0; padding-right: 0 !important; }
.product-miniature .product-description .product-price-and-shipping { position: static !important; float: none; width: 100% !important; margin: 0; padding: 0; display: flex !important; flex-direction: row !important; flex-wrap: wrap; justify-content: center !important; align-items: baseline !important; column-gap: 8px; text-align: center; }
.product-miniature .product-description .ib-atc-bajo { width: 100%; margin: 0; }
.product-miniature .hook-reviews, .product-miniature .grade-stars-container { display: none !important; }

/* Invbit 18-nov-2026 (6): revision responsive. Carruseles de productos de la ficha: el margen negativo de slick (5 px) daba scroll lateral */
.product-footer .pk-extra-slick { overflow-x: clip; }
/* carrito en movil: la cantidad ocupaba 185 px y empujaba precio y papelera fuera de la pantalla */
@media (max-width: 767px) {
  .cart-item .product-line-grid { flex-wrap: wrap; row-gap: 8px; }
  .cart-item .product-line-grid-left { flex: 0 0 72px; margin-right: 12px; }
  .cart-item .product-line-grid-body { flex: 1 1 0; min-width: 0; }
  .cart-item .product-line-grid-right { flex: 1 1 100%; justify-content: flex-end; align-items: center; gap: 12px; }
  .cart-item .product-line-grid-right .qty { flex: 0 0 auto; width: auto; }
  .cart-item .js-cart-line-product-quantity { width: 72px !important; }
}
/* pedido: hasta 991 px el resumen va debajo de los pasos y no a su derecha (se salia 119 px a 390) */
@media (max-width: 991px) {
  .checkout-steps { flex-direction: column; align-items: stretch; }
  .checkout-steps > * { width: 100%; max-width: 100%; flex: 0 0 auto; }
}
/* 404: el mensaje grande se salia de la pantalla en movil */
.page-not-found .message-404 { font-size: clamp(28px, 9vw, 64px); line-height: 1.15; overflow-wrap: break-word; }
@media (max-width: 767px) {
  .cart-item .js-cart-line-product-quantity { min-height: 40px; }
  .cart-item .remove-from-cart { display: inline-flex; padding: 10px; margin: -10px; }
}

/* Invbit 18-nov-2026 (6): pie en movil estrecho: los titulos de columna («CATEGORÍAS») no caben con 20 px y espaciado ancho y daban scroll lateral a 320 */
@media (max-width: 400px) { #footer .module-title { font-size: 16px; letter-spacing: 1px; } }
/* contacto: la fila del formulario se salia 2 px a 320 */
@media (max-width: 575px) { .row.contact-page { margin-left: 0; margin-right: 0; } }

/* Invbit 18-nov-2026 (6): el reCAPTCHA del formulario de cliente mide 304 px fijos y a 320 se salia; se reduce un poco en pantallas estrechas */
@media (max-width: 360px) { #captcha-box > div { transform: scale(.86); transform-origin: left top; } }
/* gris de migas, referencia e informacion de paginacion: #777 sobre blanco daba 4,48:1 (minimo 4,5:1) */
.breadcrumb li span, .product-reference-moved span, .pagination .pagination-info { color: #6b6b6b; }

/* Invbit 18-nov-2026 (4b, variante A elegida por Marcos): miniatura «tarjeta limpia». Foto en caja cuadrada sobre gris claro, titulo en minuscula de hasta 3 lineas, precio grande, boton a todo el ancho y favoritos siempre visible (sin depender del hover). Los avisos de recogida en tienda y de fitosanitarios salen de product-miniature-addtocart.tpl */
.product-miniature .thumbnail-container { padding-top: 0 !important; border-radius: 8px; overflow: hidden; }
.product-miniature .product-thumbnail > a { display: block; aspect-ratio: 1 / 1; background: #f4f4f4; padding: 12px; }
.product-miniature .product-thumbnail picture, .product-miniature .product-thumbnail img { width: 100% !important; height: 100% !important; object-fit: contain; mix-blend-mode: multiply; }
.product-miniature .pm-actions { visibility: visible !important; z-index: 9 !important; opacity: 1 !important; transform: none !important; top: 8px !important; right: 8px !important; left: auto !important; bottom: auto !important; }
.product-miniature .pm-actions .quick-view { display: none !important; }
.product-miniature .pm-actions > * { transform: none !important; opacity: 1 !important; }
.product-miniature .pm-actions .favorites-button { width: 36px; height: 36px; background: #fff; color: #333; border-radius: 50%; box-shadow: 0 1px 4px rgb(0 0 0 / .15); }
.product-miniature .product-description { padding: 14px 14px 16px !important; gap: 10px !important; }
.product-miniature .product-title, .product-miniature .product-title a { text-transform: lowercase; font-size: 15px !important; font-weight: 500; line-height: 1.35; color: #333; text-align: left !important; }
.product-miniature .product-title a { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(1.35em * 3); }
.product-miniature .product-title a::first-letter { text-transform: uppercase; }
.product-miniature .product-description .product-price-and-shipping { justify-content: flex-start !important; }
.product-miniature .product-price-and-shipping .price { font-size: 22px !important; font-weight: 700; color: #c9101a; }
.product-miniature .product-price-and-shipping .regular-price { font-size: 14px; color: #666; }
.product-miniature .ib-atc-bajo .product-add-to-cart-mini, .product-miniature .ib-atc-bajo .add { width: 100%; }
.product-miniature .ib-atc-bajo .add-to-cart { width: 100%; min-height: 44px; font-size: 14px !important; letter-spacing: .02em; border-radius: 6px; display: flex !important; align-items: center; justify-content: center; gap: 8px; }
.product-miniature .ib-atc-bajo > .btn, .product-miniature .ib-atc-bajo > a.btn { width: 100%; min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.product-miniature .product-flags { top: 10px; left: 10px; }
.product-miniature .product-flags .product-flag { border-radius: 4px; font-size: 12px; font-weight: 700; padding: 4px 8px; }
.product-miniature .product-flags .product-flag.discount, .product-miniature .product-flags .product-flag.on-sale { background: #c9101a; color: #fff; }

.product-miniature .ib-atc-bajo .ib-aviso-mini { margin: 0; padding: 11px 8px; border: 1px dashed #c9101a; border-radius: 6px; background: #fff5f5; color: #8a1020; font-size: 14px; font-weight: 600; line-height: 1.3; text-align: center; }

/* Invbit 18-nov-2026 (contraste): los botones de Creative Elements sin color propio («Ver productos», «Ver producto» de la portada) salian con el verde por defecto #61ce70 y texto blanco, 1,99:1. Verde oscuro de la misma familia: 5,1:1. Los botones con color propio en Creative Elements siguen mandando */
.elementor-widget-button a.elementor-button { background-color: #2e7d32; }
.elementor-widget-button a.elementor-button:hover, .elementor-widget-button a.elementor-button:focus-visible { background-color: #1b5e20; }

/* Invbit 18-nov-2026 (megamenu, variante 2 elegida por Marcos): mosaico de subcategorias montado en pk_menu (fila .ib-mega-2: cabecera .ib-mega-cab con titulo y «Ver todo», cuerpo .ib-mega-cuerpo con una ficha por subcategoria y su inicial). Solo escritorio; en movil queda la lista de siempre */
@media (min-width: 1025px) {
  #top-menu .pk-sub-menu:has(> .ib-mega-2) { width: 100%; max-width: none; padding: 22px max(24px, calc((100% - 1160px) / 2)) 26px; background: #fafafa; border-top: 3px solid #c9101a; box-shadow: 0 12px 24px rgb(0 0 0 / .12); max-height: 75vh; overflow-y: auto; text-align: left; }
  #top-menu .ib-mega-2 { display: block; margin: 0; }
  #top-menu .ib-mega-2 > .pk-menu-col { width: 100%; max-width: 100%; flex: none; float: none; padding: 0; margin: 0; }
  #top-menu .ib-mega-2 .ul-column { margin: 0; padding: 0; list-style: none; }
  #top-menu .ib-mega-2 .ib-mega-cab .ul-column { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
  #top-menu .ib-mega-2 .ib-mega-cab li { margin: 0; padding: 0; }
  #top-menu .ib-mega-2 .ib-mega-cab .item-header > a { font-size: 22px; font-weight: 700; line-height: 1.2; color: #222; text-transform: none; letter-spacing: 0; padding: 0; }
  #top-menu .ib-mega-2 .ib-mega-cab .item-line > a { display: inline-block; font-size: 15px; font-weight: 600; line-height: 1.3; color: #fff; background: #c9101a; border-radius: 6px; padding: 10px 16px; text-transform: none; letter-spacing: 0; }
  #top-menu .ib-mega-2 .ib-mega-cab .item-line > a:hover, #top-menu .ib-mega-2 .ib-mega-cab .item-line > a:focus-visible { background: #a00d15; color: #fff; }
  #top-menu .ib-mega-2 .ib-mega-cuerpo .ul-column { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 10px; }
  #top-menu .ib-mega-2 .ib-mega-cuerpo .item-header { position: relative; display: flex; align-items: center; gap: 12px; min-height: 56px; margin: 0; padding: 8px 12px; background: #fff; border: 1px solid #e6e6e6; border-radius: 8px; }
  #top-menu .ib-mega-2 .ib-mega-cuerpo .html-block { order: -1; flex: 0 0 36px; margin: 0; padding: 0; }
  #top-menu .ib-mega-2 .ib-mega-ini { width: 36px; height: 36px; border-radius: 50%; background: #fdecee; color: #c9101a; font-size: 16px; font-weight: 700; line-height: 1; display: flex; align-items: center; justify-content: center; }
  #top-menu .ib-mega-2 .ib-mega-cuerpo .item-header > a { position: static; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; padding: 0; font-size: 15px; font-weight: 600; line-height: 1.3; color: #222; text-transform: none; letter-spacing: 0; white-space: normal; }
  #top-menu .ib-mega-2 .ib-mega-cuerpo .item-header > a::after { content: ""; position: absolute; inset: 0; border-radius: 8px; }
  #top-menu .ib-mega-2 .ib-mega-cuerpo .item-header:hover, #top-menu .ib-mega-2 .ib-mega-cuerpo .item-header:focus-within { border-color: #c9101a; background: #fff7f7; }
  #top-menu .ib-mega-2 .ib-mega-cuerpo .item-header:hover > a, #top-menu .ib-mega-2 .ib-mega-cuerpo .item-header:focus-within > a { color: #c9101a; }
  #top-menu .ib-mega-2 .ib-mega-cuerpo .item-header > a:focus-visible { outline: none; }
  #top-menu .ib-mega-2 .ib-mega-cuerpo .item-header:focus-within { outline: 2px solid #c9101a; outline-offset: 2px; }
}
@media (max-width: 1024px) {
  .ib-mega-2 .html-block, .ib-mega-2 .ib-mega-ini, .ib-mega-2 .ib-mega-cab .item-header { display: none; }
}
/* Invbit 18-nov-2026 (megamenu, movil): con un desplegable abierto, el panel flotaba (col-xs-12) y las pestañas siguientes se colocaban a su derecha, con 143 px de scroll lateral. Cada pestaña empieza debajo de la anterior */
@media (max-width: 1024px) { #top-menu > li.level-1 { clear: both; } #top-menu .pk-sub-menu { float: none; width: 100%; } }

/* Invbit 18-nov-2026 (menu lateral «Categorías», variante 2 por niveles elegida por Marcos): «← padre» o «← Todas las secciones», titulo de donde estas y sus hijas como filas de 48 px; la actual con barra roja. En movil, las mismas hijas como fichas deslizables encima de los productos. Plantilla en modules/ps_categorytree del hijo */
#left-column nav.ib-ct-nav-2 { padding: 20px 16px; text-align: left; }
.ib-ct-2 .ib-ct-volver { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; margin: 0 0 4px; font-size: 15px; font-weight: 600; color: #c9101a; }
.ib-ct-2 .ib-ct-tit { margin: 0 0 12px; font-size: 20px; font-weight: 700; line-height: 1.25; color: #222; }
.ib-ct-2 .ib-ct-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ib-ct-2 .ib-ct-item { margin: 0 !important; padding: 0 !important; border: 0 !important; }
.ib-ct-2 .ib-ct-item > a { display: flex; flex-direction: column; justify-content: center; min-height: 48px; padding: 8px 12px; border: 1px solid #e6e6e6; border-radius: 8px; background: #fff; color: #333; font-size: 15px; font-weight: 600; line-height: 1.3; text-align: left; }
.ib-ct-2 .ib-ct-item > a small { font-size: 12.5px; font-weight: 400; color: #666; }
.ib-ct-2 .ib-ct-item > a:hover { border-color: #c9101a; color: #c9101a; }
.ib-ct-2 .ib-ct-actual > a { border-color: #c9101a; background: #fdecee; color: #8a1020; box-shadow: inset 3px 0 0 #c9101a; }
.ib-ct-2 a:focus-visible { outline: 2px solid #c9101a; outline-offset: 2px; }
.ib-ct-movil-nav { display: none; }
@media (max-width: 800px) {
  #left-column nav.ib-ct-nav-2 { display: none; }
  .ib-ct-movil-nav { display: block; margin: 0 0 16px; }
  .ib-ct-movil .ib-ct-tit { display: none; }
  .ib-ct-movil .ib-ct-volver { min-height: 44px; }
  .ib-ct-movil .ib-ct-lista { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; scroll-snap-type: x proximity; }
  .ib-ct-movil .ib-ct-item { flex: 0 0 auto; scroll-snap-align: start; }
  .ib-ct-movil .ib-ct-item > a { min-height: 44px; padding: 8px 14px; border-radius: 22px; white-space: nowrap; font-size: 14.5px; }
  .ib-ct-movil .ib-ct-item > a small { display: none; }
}

.ib-ct-2 button.ib-ct-volver { padding: 0; border: 0; background: none; font-family: inherit; cursor: pointer; }
.ib-ct-2 [hidden] { display: none !important; }
.ib-ct-2 .ib-ct-raiz { margin-top: 4px; }
.ib-ct-2 button.ib-ct-volver:focus-visible { outline: 2px solid #c9101a; outline-offset: 2px; }

/* Invbit 18-nov-2026 (ficha en tres zonas, variante 2 elegida por Marcos): en escritorio, miniaturas en columna, foto en el centro con alto acotado y caja de compra a la derecha que acompaña al hacer scroll; descripcion, politica y aviso de imagenes debajo de la foto. En movil, barra fija de compra (catalog/_partials/ib-ficha-barra.tpl) */
@media (min-width: 992px) {
  #main .product-container.ib-fv { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 420px); grid-template-areas: "galeria caja" "resto caja"; column-gap: 40px; row-gap: 24px; align-items: start; }
  #main .product-container.ib-fv::before, #main .product-container.ib-fv::after { content: none; }
  #main .product-container.ib-fv > .ib-fv-galeria { grid-area: galeria; }
  #main .product-container.ib-fv > .ib-fv-col { grid-area: caja; align-self: stretch; }
  #main .product-container.ib-fv > .ib-fv-resto { grid-area: resto; }
  #main .product-container.ib-fv > [class*="col-md-6"] { width: auto; max-width: none; float: none; padding: 0; }
  .ib-fv .ib-fv-caja { position: sticky; top: 16px; }
  .ib-fv .images-container.thumb-vertical { gap: 16px; align-items: flex-start; }
}
.ib-fv .product-cover { border: 0; background: #f6f6f6; border-radius: 8px; }
.ib-fv .product-cover .smooth500:not(.ib-recorte) img { max-height: min(72vh, 680px); width: auto !important; max-width: 100%; margin: 0 auto; object-fit: contain; }
.ib-fv .ib-fv-caja { padding: 22px; border-radius: 10px; background: #f6f6f6; }
.ib-fv .ib-fv-caja h1 { font-size: 24px; line-height: 1.25; margin: 0 0 6px; text-transform: none; }
.ib-fv .ib-fv-caja .product-reference-moved { font-size: 14px; color: #6b6b6b; margin: 0 0 12px; }
.ib-fv .ib-fv-caja .product-prices { margin: 0 0 16px; }
.ib-fv .ib-fv-caja .current-price .normal-price, .ib-fv .ib-fv-caja .current-price > span { font-size: 34px !important; font-weight: 700; color: #c9101a; line-height: 1; }
.ib-fv .ib-fv-caja .product-information { max-width: none; width: 100%; }
.ib-fv .ib-fv-caja .carrier-warning { margin: 0 0 16px; background: #fff; }
.ib-fv .ib-fv-caja .product-quantity { display: flex !important; gap: 10px; }
.ib-fv .ib-fv-caja .product-quantity .add, .ib-fv .ib-fv-caja .product-quantity .add .add-to-cart { flex: 1 1 auto; width: 100%; min-height: 50px; justify-content: center; font-size: 16px; }
.ib-fv .ib-fv-caja .product-quantity .qty input { height: 50px !important; }
.ib-fv .ib-fv-caja .social-sharing, .ib-fv .ib-fv-caja .social-sharing ul { justify-content: flex-start; text-align: left; margin-left: 0; }
.ib-fv .ib-fv-caja .favorites-button { min-height: 44px; }
.ib-fv .ib-fv-resto { display: grid; gap: 12px; }
.ib-fv .ib-fv-resto .short-desc { font-size: 16px; line-height: 1.6; }
.ib-fv-barra[hidden], .ib-fv-barra [hidden] { display: none !important; }
@media (min-width: 992px) { .ib-fv-barra { display: none !important; } }
@media (max-width: 991px) {
  .ib-fv .ib-fv-caja { padding: 16px; margin-top: 16px; }
  .ib-fv .ib-fv-resto { margin-top: 18px; }
  .ib-fv-barra { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -4px 16px rgb(0 0 0 / .12); transition: transform .2s ease-out; }
  .ib-fv-barra.ib-fv-barra-oculta { transform: translateY(110%); }
  .ib-fv-barra-precio { font-size: 22px; font-weight: 700; color: #c9101a; white-space: nowrap; }
  .ib-fv-barra .ib-fv-barra-btn { min-height: 48px; padding: 0 20px; font-size: 15px; border-radius: 8px; background: #c9101a; border-color: #c9101a; color: #fff; }
  .ib-fv-barra-aviso { font-size: 14px; font-weight: 600; color: #8a1020; text-align: right; }
  body.ib-fv-con-barra #cookiesplus-tab { bottom: 76px !important; }
  body.ib-fv-con-barra .pk-fixed-bottom.pk-fixed-bottom-left { bottom: 133px; }
}
@media (prefers-reduced-motion: reduce) { .ib-fv-barra { transition: none; } }
/* Invbit 18-nov-2026 (ficha en tres zonas): columna de miniaturas de 84 px y la foto ocupa el resto (sin esto la foto se encogia a lo que dejaban las miniaturas) */
.ib-fv .images-container.thumb-vertical { display: flex; flex-direction: row; align-items: flex-start; gap: 12px; }
.ib-fv .images-container.thumb-vertical > .vertical-thumbnails { flex: 0 0 84px; width: 84px; max-height: min(72vh, 680px); overflow: hidden; }
.ib-fv .images-container.thumb-vertical > .main-image-container { flex: 1 1 0; min-width: 0; }
@media (max-width: 575px) { .ib-fv .images-container.thumb-vertical > .vertical-thumbnails { flex-basis: 64px; width: 64px; } }
/* Invbit 18-nov-2026 (ficha en tres zonas): fondo blanco con borde fino tras la foto (las fotos vienen sobre blanco y en gris se veia el recuadro) */
.ib-fv .product-cover { background: #fff; border: 1px solid #ececec; }

/* Invbit 18-nov-2026 (ficha): la caja de compra fija queda bajo la cabecera fija; --ib-cab lo mide el script de product.tpl. Si la caja no cabe en la pantalla, no se fija */
@media (min-width: 992px) {
  .ib-fv .ib-fv-caja { top: calc(var(--ib-cab, 0px) + 16px); }
  body.ib-fv-sin-fijar .ib-fv .ib-fv-caja { position: static; }
}
/* Invbit 18-nov-2026 (ficha, pestaña de descripcion): medida de lectura de unos 72 caracteres, cuerpo oscuro (antes #777, 4,48:1) con interlineado 1,6, titulos con jerarquia, listas con sangria, menos hueco bajo las pestañas y separacion antes de los carruseles */
#product .tabs-container .tab-content { padding-top: 24px; margin-top: 0; }
#product .tabs-container .tab-pane { margin-top: 0; padding-top: 0; }
#product .product-description { max-width: 72ch; font-size: 17px; line-height: 1.6; color: #333; }
#product .product-description p, #product .product-description li { color: #333; line-height: 1.6; }
#product .product-description p { margin: 0 0 1em; }
#product .product-description h2, #product .product-description h3, #product .product-description h4 { color: #1f1f1f; font-weight: 700; line-height: 1.3; margin: 1.6em 0 .5em; text-transform: none; letter-spacing: 0; }
#product .product-description h2 { font-size: 22px; }
#product .product-description h3 { font-size: 19px; }
#product .product-description h4 { font-size: 17px; }
#product .product-description > :first-child { margin-top: 0; }
#product .product-description ul, #product .product-description ol { margin: 0 0 1em; padding-left: 1.4em; }
#product .product-description ul { list-style: disc; }
#product .product-description ol { list-style: decimal; }
#product .product-description li { margin: .25em 0; padding-left: .2em; }
#product .product-description strong, #product .product-description b { color: #1f1f1f; }
#product .ib-fv-resto .short-desc, #product .ib-fv-resto .short-desc p { color: #333; line-height: 1.6; }
#product .product-footer { margin-top: 56px; padding-top: 40px; border-top: 1px solid #ececec; }

/* Invbit 18-nov-2026 (ficha): pestañas dentro de la zona central (la caja de compra acompaña hasta el final de la descripcion) y medida de lectura afinada: 62ch de Poppins son unos 75 caracteres */
.ib-fv-resto .tabs-container { margin: 8px 0 0; }
.ib-fv-resto .tabs-container .tabs.page-width { width: 100%; max-width: none; padding: 0; margin: 0; }
.ib-fv-resto .tabs-container .nav-tabs { justify-content: flex-start; flex-wrap: wrap; gap: 4px 24px; }
#product .product-description { max-width: 62ch; }

/* Invbit 18-nov-2026 (ficha): sin pestañas; la descripcion y, si los hay, caracteristicas, adjuntos y contenido de modulos van como bloques abiertos con su titulo, a 62ch */
.ib-fv-bloque { margin: 32px 0 0; }
.ib-fv-resto > .ib-fv-bloque:first-child { margin-top: 8px; }
.ib-fv-bloque-tit { max-width: 62ch; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid #ececec; font-size: 22px; font-weight: 700; line-height: 1.3; color: #1f1f1f; text-transform: none; letter-spacing: 0; }
.ib-fv-caracteristicas .data-sheet { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; max-width: 62ch; margin: 0; font-size: 16px; color: #333; }
.ib-fv-caracteristicas .data-sheet dt { font-weight: 600; } .ib-fv-caracteristicas .data-sheet dd { margin: 0; }
.ib-fv-adjuntos .attachment { max-width: 62ch; margin: 0 0 10px; color: #333; }
.ib-fv-adjuntos .attachment a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: #c9101a; text-decoration: underline; }
.ib-fv-extra-contenido { max-width: 62ch; color: #333; line-height: 1.6; }
/* rotulos del ERP en negrita al principio de un parrafo y seguidos de salto («MÁQUINAS DE CAFÉ», «PLANCHAS»): aire por encima */
#product .product-description p > strong:first-child:has(+ br) { display: inline-block; margin-top: .9em; }
#product .product-description > p:first-child > strong:first-child:has(+ br) { margin-top: 0; }
/* Invbit 18-nov-2026 (ficha): los rotulos del ERP tambien vienen como <b> entre saltos de linea («<br><b>PLANCHAS</b><br>»); mismo aire por encima */
#product .product-description :is(p, div) > :is(strong, b):is(:first-child, br + *):has(+ br) { display: inline-block; margin-top: .9em; }
#product .product-description > :first-child > :is(strong, b):first-child:has(+ br) { margin-top: 0; }
