/* Approved CTA SVGs are embedded unchanged. */
.mes-graphic-cta{display:block!important;position:static!important;max-width:100%;width:100%;height:auto!important;min-height:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;text-decoration:none!important;line-height:0!important}
.mes-graphic-cta img{display:block;width:100%;height:auto;aspect-ratio:4/1;object-fit:contain}
.mes-graphic-cta:focus-visible{outline:3px solid #a17d00!important;outline-offset:3px}
.mes-hero-cta-row{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px!important;width:100%!important;max-width:none!important;align-items:center!important;flex-wrap:nowrap!important}
body>.hero .hero-inner>.mes-hero-cta-row{width:min(1200px,calc(100vw - 112px))!important}
.hero-product .hero-actions.mes-hero-cta-row{width:min(1200px,calc(100vw - 144px))!important;position:relative;z-index:2}
.hero-product .hero-copy{overflow:visible}
.mes-compact-cta{width:360px;max-width:100%}
.mes-product-contact .mes-phone-cta{width:340px;max-width:100%}
.mes-product-contact .mes-cta-phone-number{display:block;font-size:16px;color:#202020;font-weight:700;margin-top:4px}
.mes-about-content .mes-about-actions .mes-graphic-cta{width:380px;max-width:100%;flex:none}
.more-products .mes-related-tile,.mes-related-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:10px;background:#fff;color:#202020;border:1px solid #dedede;border-radius:10px;box-shadow:0 3px 12px rgba(0,0,0,.045);text-decoration:none;font-size:15px;font-weight:700;line-height:1.35;text-transform:none;letter-spacing:0;min-width:0;max-width:100%}
.more-products .mes-related-tile:after{content:none}.mes-related-tile:hover{border-color:#d3ab00}.mes-related-tile:focus-visible{outline:2px solid #a17d00;outline-offset:3px}
.mes-related-pictures{display:flex;justify-content:center;align-items:center;gap:4px;width:100%;min-width:0}
.mes-related-pictures img{width:100%;max-width:105px;height:auto;aspect-ratio:1;object-fit:contain;min-width:0}
.mes-related-pictures:has(img+img) img{width:calc(50% - 2px)}
.more-products .mes-related-tile span{color:#202020;font-size:15px}
.more-products:has(>.mes-related-tile){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.more-products:has(>.mes-related-tile)>h3{grid-column:1/-1;margin:0}
.more-products:has(>.mes-related-tile:only-of-type){grid-template-columns:1fr}
.mes-cart-complement{margin-top:22px}.mes-cart-complement h3{font-size:14px;letter-spacing:.05em;line-height:1.4}
.mes-complement-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#mesCartComplement[hidden],.continue-links[hidden]{display:none!important}
@media(max-width:900px){.mes-hero-cta-row{grid-template-columns:1fr;gap:8px!important}body>.hero .hero-inner>.mes-hero-cta-row,.hero-product .hero-actions.mes-hero-cta-row{width:100%!important;max-width:440px!important}.hero .hero-inner{max-width:100%}.hero-product .hero-actions.mes-hero-cta-row{margin-bottom:12px}.mes-compact-cta{width:360px}}

/* Keep the shop CTA row outside the photograph, without changing the image asset. */
@media(min-width:901px){body .hero .hero-inner>.mes-hero-cta-row{width:min(1200px,calc(100vw - 176px))!important}.hero-product{height:auto;grid-template-rows:minmax(460px,calc(100svh - 360px)) auto}.hero-product>.hero-actions.mes-hero-cta-row{grid-column:1/-1;width:100%!important;max-width:none!important;padding:10px clamp(34px,5vw,86px) 22px;box-sizing:border-box;margin:0}}
@media(max-width:900px){body .hero .hero-inner>.mes-hero-cta-row{width:100%!important}.hero-product{display:flex;flex-direction:column;height:auto}.hero-product>.hero-copy{order:1;min-height:0;padding-bottom:20px}.hero-product>.hero-actions.mes-hero-cta-row{order:2;width:100%!important;max-width:none!important;padding:0 24px 24px;box-sizing:border-box;margin:0}.hero-product>.hero-image-wrap{order:3;height:54svh;min-height:360px}}

.mes-compact-cta{width:min(360px,calc(100vw - 48px))!important}.product-head-right,.mount-head-right{min-width:0;max-width:100%}
@media(max-width:900px){.hero-product>.hero-actions.mes-hero-cta-row{justify-items:center}.hero-product>.hero-actions.mes-hero-cta-row>.mes-graphic-cta{max-width:440px}}
@media(max-width:360px){header.header .brand .logo{width:140px!important;max-width:140px!important}.mes-product-contact .mes-phone-cta{width:100%;max-width:100%}}

/* MES-INTEGRA-04: product-family navigation only; not configurator controls or cart. */
.more-products>a.mes-related-tile{background:#fff;color:#202020;transform:none;box-shadow:none;transition:none}
.more-products>a.mes-related-tile:hover,.more-products>a.mes-related-tile:focus-visible{background:#fff;color:#202020;border-color:#ffd400;transform:none;box-shadow:none}
.more-products>a.mes-related-tile:focus-visible{outline:2px solid #ffd400;outline-offset:3px}

/* MES-INTEGRA-04A: extra outline only for keyboard-visible focus. */
.more-products>a.mes-related-tile:focus:not(:focus-visible){outline:none}

/* MES-INTEGRA-04B: compact fan-family link on the two standard anemostat cards only. */
body:is([data-family="kwadrat"],[data-family="okragly"]) .more-products>a.mes-related-tile[href="/anemostat-bezramkowy/anemostat-z-wentylatorem/"]{width:270px;max-width:100%;justify-self:start;height:auto}

/* Cart recommendations only; links open existing configurators, never add items. */
#mesCartComplement{margin:20px 0}
#mesCartComplement h3{font-size:14px;line-height:1.4;margin:0 0 12px}
#mesCartComplement .mes-complement-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:1fr}
#mesCartComplement .mes-related-tile{background:#fff;color:#202020;transform:none;box-shadow:none;transition:none;text-align:center}
#mesCartComplement .mes-related-tile:hover{background:#fff;border-color:#ffd400;transform:none;box-shadow:none}
#mesCartComplement .mes-related-tile:focus-visible{outline:2px solid #ffd400;outline-offset:3px}
#mesCartComplement .mes-complement-label{min-height:4.05em;display:flex;align-items:center;justify-content:center}
#mesComplementFan[hidden]{display:none}
@media(min-width:1100px){#mesCartComplement .mes-complement-grid:has(>#mesComplementFan:not([hidden])){grid-template-columns:repeat(3,minmax(0,1fr))}}
