/* FABE: segunda ronda visual, 10 de noviembre de 2026. */
/* Match the shared category shadow instead of suppressing it for crates. */
body.fabe-site #productos .product-image:has(img[src*="cajas-composicion-r2-v2"])::after{display:block;bottom:17%;left:17%;width:66%;height:10%}
body.fabe-site{font-size:clamp(17px,1.25vw,20px);--fabe-hero-title-size:clamp(2.625rem,calc(1.6875rem + 2.625vw),4.5rem);--fabe-heading-limit:clamp(2rem,calc(1.25rem + 2.6vw),4rem);--fabe-detail-title-size:clamp(2rem,calc(.625rem + 3.8vw),4rem)}
body.fabe-site p,body.fabe-site #contenido p,body.fabe-site #contenido .elementor p{font-size:16px!important;line-height:1.75}
/* Restored company styles must share the same type scale as the other pages. */
body.fabe-site.fabe-original-page #contenido .elementor p{font-size:16px!important;line-height:1.75!important}
body.fabe-site.fabe-original-page #contenido .elementor .faq details p,body.fabe-site.fabe-original-page #contenido #search-results p{font-size:16px!important}
body.fabe-site.fabe-original-page #contenido .elementor :is(h2,h3,h4,h5,h6){font-size:min(var(--fabe-heading-size,var(--fabe-heading-limit)),var(--fabe-heading-limit))!important}
body.fabe-site .hero-bottom{font-size:.8125rem}
body.fabe-site #contenido .location-links a,body.fabe-site.fabe-original-page #contenido .location-links a{font-size:1rem!important}
body.fabe-site .catalog-variants table{font-size:1rem}
body.fabe-site .news-date,body.fabe-site .news-card time{font-size:.9375rem}
body.fabe-site #contenido .contact-direct a{font-size:1.0625rem}
body.fabe-site #contenido .contact-direct small{font-size:.875rem}
body.fabe-site #contenido .contact-social a{font-size:1rem}
body.fabe-site.fabe-products-index #productos h3{--fabe-heading-size:1.5rem}
body.fabe-site.fabe-products-index #productos .product>.text-link{font-size:1rem}
body.fabe-site #contenido .elementor .hero p:not(.eyebrow){font-size:16px!important;max-width:58ch;line-height:1.7}
body.fabe-site #contenido .hero h1{max-width:950px}
body.fabe-site :is(h2,h3,h4){text-wrap:balance}
body.fabe-site.internal-page #contenido .compact-detail .detail-copy h1{font-size:calc(var(--fabe-detail-title-size) - 10px)!important;line-height:1.12!important;text-wrap:balance}
@media(min-width:1024px){body.fabe-site.internal-page #contenido .compact-detail .detail-copy h1{font-size:42px!important}}
@media(max-width:1199px){body.fabe-site #contenido .hero{height:auto;min-height:100svh;max-height:none}}
body.fabe-site h3{--fabe-heading-size:clamp(1.5rem,calc(1rem + 1.25vw),2.1rem)}body.fabe-site h4{--fabe-heading-size:clamp(1.125rem,calc(.5rem + 1.225vw),1.6rem)}body.fabe-site h5{--fabe-heading-size:clamp(1rem,calc(.75rem + .6vw),1.3rem)}body.fabe-site h6{--fabe-heading-size:1rem}
body.fabe-site #contenido .factory-solution h3{--fabe-heading-size:clamp(1.5rem,calc(1rem + 1.25vw),2rem)}body.fabe-site #contenido .factory-solution h4{--fabe-heading-size:clamp(1.0625rem,calc(.875rem + .5vw),1.35rem)}
body.fabe-site .elementor .header,body.fabe-site .elementor .header.is-scrolled{min-height:110px!important;height:auto;padding-block:22px!important;gap:24px}
body.fabe-site .elementor .header .logo,body.fabe-site .elementor .header.is-scrolled .logo{width:220px!important}
body.fabe-site .elementor .header nav,body.fabe-site .elementor .header nav a{font-size:15px!important}
body.fabe-site .elementor .header.is-scrolled nav a{padding-block:10px!important}
body.fabe-site .elementor .header .button,body.fabe-site .elementor .header.is-scrolled .button{font-size:15px;padding:16px 22px!important}
body.fabe-site .elementor .header.is-scrolled .icon-button{height:44px;padding:10px}
body.fabe-site .elementor .header.is-scrolled #search-open{color:#152c42!important}
body.fabe-site .button,body.fabe-site .text-link,body.fabe-site .compact-catalog .catalog-link{font-size:1rem}
body.fabe-site .compact-catalog .catalog-filters{gap:10px;flex-wrap:wrap}
body.fabe-site .compact-catalog .catalog-filters button{font-size:1rem;padding:12px 18px;min-height:46px}
body.fabe-site .compact-catalog .catalog-card h3{--fabe-heading-size:1.375rem}
body.fabe-site .compact-catalog .catalog-photo{height:250px}
body.fabe-site .compact-catalog .catalog-link{font-size:.9375rem;padding:12px 16px}
body.fabe-site .compact-detail .product-specs>div{font-size:1.0625rem;line-height:1.6}
body.fabe-site .product-breadcrumb{font-size:1rem;padding-block:24px}
body.fabe-site .product-nav-band{height:120px}
body.fabe-site .detail-thumbnail{padding:10px;min-width:130px;flex:1;max-width:200px}
body.fabe-site .detail-thumbnail img{height:90px;width:100%}
body.fabe-site .detail-thumbnail span{font-size:.9375rem;color:#152c42;line-height:1.4}
body.fabe-site .detail-thumbnail[aria-current=true]{box-shadow:0 0 0 1px #0066a9}
body.fabe-site #contenido .finish-note{font-size:16px!important;color:#536370;line-height:1.5;margin:18px 0 0}
body.fabe-site .footer-top{gap:30px}
body.fabe-site .footer-top h3{--fabe-heading-size:1rem}
body.fabe-site .footer-top a,body.fabe-site .footer-top p{font-size:1rem!important;overflow-wrap:anywhere}
body.fabe-site .footer-bottom,body.fabe-site .footer-credit,body.fabe-site .whatsapp-floating{font-size:.9375rem}
body.fabe-site .eyebrow{font-size:.875rem!important}
body.fabe-site p.eyebrow,body.fabe-site .footer-top p{font-size:16px!important}
body.fabe-site #contenido :is(label,input,textarea,select,summary){font-size:1.0625rem}
body.fabe-site .factory-solution-media.fabe-catalog-products{aspect-ratio:4/3}
body.fabe-site .factory-solution-media.fabe-catalog-products img{object-fit:contain;background:#fff}
@media(min-width:801px) and (max-width:1150px){body.fabe-site .elementor .header{gap:16px;padding-inline:28px}body.fabe-site .elementor .header .logo,body.fabe-site .elementor .header.is-scrolled .logo{width:180px!important}body.fabe-site .elementor .header nav{gap:16px}body.fabe-site .elementor .header nav a{font-size:13px!important}body.fabe-site .elementor .header .button{font-size:13px;padding-inline:15px!important}}
@media(max-width:800px){body.fabe-site .elementor .header,body.fabe-site .elementor .header.is-scrolled{min-height:90px!important;padding-block:18px!important;gap:12px}body.fabe-site .elementor .header .logo,body.fabe-site .elementor .header.is-scrolled .logo{width:180px!important}body.fabe-site .elementor .header nav a{font-size:18px!important}body.fabe-site .product-nav-band{height:100px}body.fabe-site .compact-detail .detail-copy h1{overflow-wrap:normal}body.fabe-site .footer-top{gap:30px 20px}}
@media(max-width:520px){body.fabe-site .elementor .header .logo,body.fabe-site .elementor .header.is-scrolled .logo{width:155px!important}body.fabe-site .elementor .header{padding-inline:20px!important}body.fabe-site .header-actions{gap:6px}body.fabe-site .compact-catalog .catalog-filters button{font-size:.9375rem;padding:10px 13px}body.fabe-site .compact-catalog .catalog-photo{height:210px}body.fabe-site .compact-catalog .catalog-card h3{--fabe-heading-size:1.25rem}body.fabe-site .compact-detail .product-specs>div{font-size:1rem;gap:14px}body.fabe-site .detail-thumbnail{min-width:110px}body.fabe-site .footer-top a{font-size:.9375rem!important}}
@media(max-width:600px){body.fabe-site .header-actions>.button{display:none!important}body.fabe-site .compact-catalog .catalog-grid{grid-template-columns:minmax(0,1fr)}body.fabe-site .compact-catalog .catalog-photo{height:260px}body.fabe-site .elementor .header nav{top:100%}}
@media(min-width:801px) and (max-width:1000px){body.fabe-site .header-actions>.button{display:none!important}body.fabe-site .elementor .header,body.fabe-site .elementor .header.is-scrolled{padding-inline:20px!important;gap:12px}body.fabe-site .elementor .header .logo,body.fabe-site .elementor .header.is-scrolled .logo{width:160px!important}body.fabe-site .elementor .header nav{gap:12px}body.fabe-site .header-actions{gap:8px}}
/* Keep the contact shortcut from covering whole lines of mobile copy. */
@media(max-width:1100px){body.fabe-site .whatsapp-floating{width:52px;height:52px;padding:0!important;right:16px;bottom:16px;border-radius:50%;display:grid;place-items:center}body.fabe-site .whatsapp-floating>span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}}
@media(min-width:601px) and (max-width:1100px){body.fabe-site .compact-catalog .catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Both finishes stay side by side, including narrow 320px phones. */
body.fabe-site #contenido .consult-dialog h2{--fabe-heading-size:clamp(1.5rem,calc(1rem + 2.5vw),2rem)}
@media(max-width:1000px){body.fabe-site #contenido .contact-layout{grid-template-columns:minmax(0,1fr)}body.fabe-site #contenido .contact-layout>*{min-width:0}}
@media(max-width:600px){body.fabe-site #contenido .compact-detail .detail-gallery{padding:16px}body.fabe-site #contenido .compact-detail .detail-gallery>img{height:auto;aspect-ratio:800/650}body.fabe-site #contenido .detail-thumbnails{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}body.fabe-site #contenido .detail-thumbnail{min-width:0;max-width:none;width:100%}body.fabe-site #contenido .detail-thumbnail img{height:80px}body.fabe-site #contenido .detail-thumbnail span{text-wrap:balance}}
