/* FABE, tercera ronda. Se carga después de todas las hojas anteriores. */
body.fabe-site .elementor .header,body.fabe-site .elementor .header.is-scrolled{background:#fff!important;color:#152c42!important;position:fixed!important;border-bottom:1px solid #152c4218;box-shadow:0 4px 22px #152c4209}
body.fabe-site .elementor .header nav,body.fabe-site .elementor .header #search-open,body.fabe-site .elementor .header #menu-toggle{color:#152c42!important}
body.fabe-site .elementor .header .logo img{filter:none!important;object-fit:contain}
body.fabe-site .header #navigation{gap:4px!important}
body.fabe-site .header #navigation>a,body.fabe-site .header #navigation>.nav-products>a{padding-inline:10px 20px!important}
body.fabe-site .header #navigation>a.nav-blog{padding-inline:10px!important}
body.fabe-site .footer-logo{background:#fff;border-radius:14px;padding:18px;box-sizing:content-box;max-width:190px}
body.fabe-site .footer-logo img{filter:none!important;width:100%;height:auto}
body.fabe-site .quality-section .editorial-split{grid-template-columns:minmax(220px,.65fr) minmax(0,1.8fr);gap:40px;align-items:center}
body.fabe-site .credential-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
body.fabe-site .credential-grid .credential{width:auto;min-width:0;min-height:210px;margin:0;padding:24px 16px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:12px;background:#fff;border-radius:16px;color:#152c42;box-sizing:border-box}
body.fabe-site .credential-grid .credential img{width:48px;height:68px;object-fit:contain}
body.fabe-site #contenido .credential-grid .credential h3{font-size:clamp(17px,1.4vw,23px)!important;line-height:1.25;letter-spacing:-.025em}
body.fabe-site #contenido .credential-grid .credential p{font-size:14px!important;line-height:1.45}
body.fabe-site .credential-grid .credential-pending{background:transparent;border:1px solid #ffffff66;color:#fff;justify-content:space-between}
body.fabe-site .credential-status{display:inline-block;font-size:12px;letter-spacing:.06em;text-transform:uppercase;padding:7px 10px;border-radius:30px;background:#ffffff19;color:#fff}
body.fabe-site .catalog-section{overflow:visible;scroll-margin-top:var(--fabe-header-height,120px)}
body.fabe-site .compact-catalog .catalog-filters{position:sticky;top:var(--fabe-header-height,120px);z-index:70;background:#f3f6f8;box-shadow:0 6px 0 #f3f6f8,0 -6px 0 #f3f6f8;padding-block:12px;margin-bottom:24px;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin}
body.fabe-site .compact-catalog .catalog-filters button{white-space:nowrap;flex:0 0 auto;padding-inline:14px;font-size:14px}
body.fabe-site .promo-intro{max-width:1120px;margin:0 auto 36px;padding:clamp(24px,4vw,48px);border-top:3px solid #0066a9;background:#fff;border-radius:12px;text-align:center}
body.fabe-site .promo-intro p{margin:0 0 12px}
body.fabe-site .promo-intro p:last-child{margin:0}
body.fabe-site .promo-intro[hidden]{display:none!important}
body.fabe-site .catalog-card[data-group="Alimentos"] .catalog-photo img{max-height:72%;max-width:72%;object-fit:contain}
body.fabe-site .catalog-card[data-reference="producto-03"] .catalog-photo img{max-height:53%;max-width:55%}
body.fabe-site .catalog-card[data-reference="producto-04"] .catalog-photo img{max-height:98%;max-width:98%}
body.fabe-site .factory-second-life{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:28px}
body.fabe-site .factory-second-life figure{margin:0;overflow:hidden;border-radius:14px;background:#fff}
body.fabe-site .factory-second-life img{width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;display:block}
body.fabe-site .factory-second-life figcaption{font-size:14px;padding:12px 14px;line-height:1.4;color:#536370}
body.fabe-site .news-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;align-items:stretch}
body.fabe-site .news-photo{aspect-ratio:1/1;background:#f3f6f8}
body.fabe-site .news-photo img{object-fit:contain!important;width:100%;height:100%}
body.fabe-site .news-card-copy{display:flex;flex-direction:column;align-items:flex-start;flex:1}
body.fabe-site .news-card-copy .text-link{margin-top:auto}
body.fabe-site #contenido .news-card h2{font-size:24px!important;line-height:1.25;letter-spacing:-.035em;text-wrap:pretty}
body.fabe-site .news-card{display:flex;flex-direction:column}
body.fabe-site .news-article{max-width:1020px}
body.fabe-site #contenido .news-article>header h1{font-size:clamp(28px,3.6vw,48px)!important;line-height:1.14!important;letter-spacing:-.035em;text-wrap:balance}
body.fabe-site .news-featured{max-height:640px;width:100%;object-fit:contain;background:#f3f6f8;border-radius:16px}
body.fabe-site .news-content{max-width:780px;margin-inline:auto}
body.fabe-site #contenido .news-content h2{font-size:26px!important;line-height:1.3;letter-spacing:-.035em;margin:36px 0 14px;text-align:left}
body.fabe-site .news-social-source{margin:14px 0 38px;text-align:center}
body.fabe-site .news-social-source a{color:#0066a9;text-decoration:underline;text-underline-offset:4px}
body.fabe-site .detail-thumbnail img{object-fit:contain}
/* The restored company page has explicit legacy declarations. Override them locally. */
body.fabe-site.fabe-original-page #contenido .quality-section .editorial-split{grid-template-columns:minmax(220px,.75fr) minmax(0,1.8fr)!important;gap:40px!important}
body.fabe-site.fabe-original-page #contenido .quality-section .editorial-copy h2{font-size:clamp(34px,3.1vw,46px)!important}
body.fabe-site.fabe-original-page #contenido .credential-grid .credential{padding:24px 20px!important;gap:14px!important;align-items:flex-start!important;border-radius:16px!important;min-height:230px}
body.fabe-site.fabe-original-page #contenido .credential-grid .credential img{width:48px!important;height:68px!important}
body.fabe-site.fabe-original-page #contenido .credential-grid .credential h3{font-size:21px!important;margin:0!important;line-height:1.25!important}
body.fabe-site.fabe-original-page #contenido .credential-grid .credential p{font-size:14px!important;margin:8px 0 0!important}
body.fabe-site.fabe-original-page #contenido .credential-grid .credential-pending{background:transparent!important;color:#fff!important}
body.fabe-site.fabe-original-page #contenido .credential-grid .credential-pending h3{color:#fff!important}
@media(min-width:801px) and (max-width:1200px){body.fabe-site .elementor .header .button{display:none!important}body.fabe-site .elementor .header nav a{font-size:13px!important}}
@media(max-width:900px){body.fabe-site .quality-section .editorial-split{grid-template-columns:1fr}body.fabe-site .news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){body.fabe-site.fabe-original-page #contenido .quality-section .editorial-split{grid-template-columns:1fr!important}}
@media(max-width:800px){body.fabe-site .elementor .header #navigation{background:#fff!important;color:#152c42!important}body.fabe-site .compact-catalog .catalog-filters{margin-inline:calc(-1 * var(--catalog-gutter,0px));top:var(--fabe-header-height,90px)}body.fabe-site .compact-catalog .catalog-filters button{font-size:14px;padding:10px 13px}body.fabe-site .footer-logo{max-width:155px}body.fabe-site .promo-intro{padding:20px;margin-bottom:24px}}
@media(max-width:600px){body.fabe-site .credential-grid{grid-template-columns:1fr}body.fabe-site .credential-grid .credential{min-height:140px;padding:22px}body.fabe-site .credential-grid .credential:first-child{flex-direction:row;align-items:center;justify-content:flex-start;gap:20px}body.fabe-site .credential-grid .credential-pending{min-height:130px}body.fabe-site .news-grid{grid-template-columns:1fr}body.fabe-site #contenido .news-card h2{font-size:23px!important}body.fabe-site .factory-second-life{gap:12px}body.fabe-site .factory-second-life figcaption{font-size:12px;padding:10px}body.fabe-site #contenido .news-content h2{font-size:23px!important}}
@media(max-width:600px){body.fabe-site.fabe-original-page #contenido .credential-grid .credential{min-height:140px}body.fabe-site.fabe-original-page #contenido .credential-grid .credential-pending{min-height:130px}}
/* 17-11-2026: menú con la fuente global, dos píxeles menos y separación de flecha. */
body.fabe-site .elementor .header #navigation,body.fabe-site .elementor .header #navigation a,body.fabe-site .elementor .header #navigation button{font-family:var(--font)!important}
body.fabe-site .elementor .header #navigation a{font-size:13px!important}
body.fabe-site .header #navigation>.nav-products>a{padding-right:34px!important}
@media(min-width:801px) and (max-width:1200px){body.fabe-site .elementor .header #navigation a{font-size:11px!important}}
@media(max-width:800px){body.fabe-site .elementor .header #navigation a{font-size:16px!important}}
/* 17-11-2026: pie gris claro, marca sin placa y crédito discreto. */
body.fabe-site .elementor footer{background:#edf0f2!important;color:#405364!important;--footer-text:#405364;--footer-rule:#cbd3d9;--fabe-color-accent:#0066a9}
body.fabe-site .elementor footer .footer-logo{background:transparent!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important}
body.fabe-site .elementor footer .footer-top h3{color:#152c42!important;font-family:var(--font)!important;font-size:16px!important;font-weight:700!important;letter-spacing:0!important}
body.fabe-site .elementor footer .footer-top a:not(.logo),body.fabe-site .elementor footer .footer-top p,body.fabe-site .elementor footer .footer-top address{color:#405364!important;font-family:var(--font)!important;font-size:15px!important;font-weight:500!important}
body.fabe-site .elementor footer .footer-top a:not(.logo):hover,body.fabe-site .elementor footer .footer-top a:not(.logo):focus-visible{color:#0066a9!important}
body.fabe-site .elementor footer .footer-bottom{border-color:#cbd3d9!important;color:#405364!important;font-size:12px!important}
body.fabe-site .elementor footer .footer-credit,body.fabe-site .elementor footer .footer-credit a,body.fabe-site .elementor footer .footer-credit span{font-family:var(--font)!important;font-size:10px!important;line-height:1.5!important;color:#405364!important}
body.fabe-site .elementor footer .footer-credit a{color:#0066a9!important;font-weight:700!important}
/* Introducción de la categoría Promocionales. */
body.fabe-site #contenido .elementor .promo-intro p{max-width:76ch;margin-inline:auto;font-size:clamp(17px,1.4vw,21px)!important;line-height:1.55;color:#19384d;text-align:center}
body.fabe-site #contenido .elementor .promo-intro p:first-child{font-weight:600}
/* 17-11-2026: mantener la navegación del catálogo en las fichas de producto. */
body.fabe-site .product-category-nav{position:fixed;top:var(--fabe-header-height,120px);left:0;right:0;z-index:900;background:#f3f6f8;border-bottom:1px solid #d4d9db;box-shadow:0 4px 14px #152c4208}
body.fabe-site .product-category-track{display:flex;gap:10px;align-items:center;overflow-x:auto;scrollbar-width:thin;padding-block:12px}
body.fabe-site .product-category-track a{flex:0 0 auto;display:inline-flex;align-items:center;min-height:44px;padding:10px 14px;border-radius:12px;background:#fff;color:#152c42;font-family:var(--font);font-size:14px;font-weight:700;line-height:1.4;white-space:nowrap}
body.fabe-site .product-category-track a:hover,body.fabe-site .product-category-track a:focus-visible{background:#e3edf4;color:#0066a9}
body.fabe-site .product-category-track a[aria-current="true"]{background:#0066a9;color:#fff}
body.fabe-site .product-nav-band{height:calc(var(--fabe-header-height,120px) + var(--fabe-product-categories-height,69px))}
@media(max-width:800px){body.fabe-site .product-category-nav{top:var(--fabe-header-height,90px)}body.fabe-site .product-category-track{gap:8px;padding-block:10px}body.fabe-site .product-category-track a{padding-inline:13px}body.fabe-site .product-nav-band{height:calc(var(--fabe-header-height,90px) + var(--fabe-product-categories-height,65px))}}
/* 17-11-2026: título de la noticia en el hero y lectura editorial justificada. */
body.fabe-site #contenido .news-post-heading .compact-hero{height:auto!important;min-height:320px;padding-top:calc(var(--fabe-header-height,120px) + 48px)!important;padding-bottom:48px!important}
body.fabe-site #contenido .news-post-heading .compact-hero h1{max-width:1140px;font-size:clamp(28px,3.5vw,50px)!important;line-height:1.16!important;letter-spacing:-.035em;text-align:center;margin-inline:auto!important;text-wrap:balance;opacity:1!important;translate:none!important;transform:none!important;animation:none!important}
body.fabe-site .news-article,body.fabe-site .news-content{text-align:left}
body.fabe-site .news-article .news-lead,body.fabe-site .news-content p{text-align:justify;text-align-last:left;hyphens:auto;overflow-wrap:break-word}
body.fabe-site .news-content :is(h2,h3,h4,h5,h6),body.fabe-site .news-content :is(ul,ol){text-align:left}
@media(max-width:800px){body.fabe-site #contenido .news-post-heading .compact-hero{min-height:280px;padding-top:calc(var(--fabe-header-height,90px) + 32px)!important;padding-bottom:32px!important}}

/* Keep the fixed site navigation clear of the WordPress toolbar. */
body.fabe-site.admin-bar {
    --fabe-toolbar-offset: var(--wp-admin--admin-bar--height, 32px);
}
body.fabe-site.admin-bar .elementor .header,
body.fabe-site.admin-bar .elementor .header.is-scrolled {
    top: var(--fabe-toolbar-offset) !important;
}
body.fabe-site.admin-bar .product-category-nav,
body.fabe-site.admin-bar .compact-catalog .catalog-filters {
    top: calc(var(--fabe-header-height, 120px) + var(--fabe-toolbar-offset));
}
body.fabe-site.admin-bar .catalog-section {
    scroll-margin-top: calc(var(--fabe-header-height, 120px) + var(--fabe-toolbar-offset));
}
@media screen and (max-width: 600px) {
    body.fabe-site.admin-bar #wpadminbar {
        position: fixed;
    }
}
