
/* EMIRMAK 2026 final visual polish: strongest conflict-free layer */
:root{--ep-yellow:#efd000;--ep-ink:#17191d;--ep-gray:#59616c;--ep-line:#e2e6eb;--ep-soft:#f5f6f8;--ep-shadow:0 12px 32px rgba(18,22,28,.10)}

/* HEADER: user's original logo, NEVER CROP */
html body.em2026 .header{height:auto!important;min-height:205px!important;background:#fff!important;padding:10px 20px!important;overflow:visible!important;display:flex!important;align-items:center!important;justify-content:center!important}
html body.em2026 .header>img{display:block!important;width:250px!important;height:auto!important;max-width:82vw!important;max-height:none!important;object-fit:contain!important;object-position:center!important;clip-path:none!important;transform:none!important;margin:0 auto!important;border:0!important;border-radius:0!important;background:transparent!important}

/* NAV + DROPDOWNS: force readable white dropdowns */
html body.em2026 .menu{overflow:visible!important;background:#fff!important;z-index:2000!important}
html body.em2026 .menu>ul{overflow:visible!important}
html body.em2026 .menu li{position:relative!important}
html body.em2026 .menu li>ul{background:#fff!important;border:1px solid #dde2e7!important;border-radius:12px!important;box-shadow:0 15px 34px rgba(0,0,0,.16)!important;padding:8px!important;min-width:245px!important;z-index:3000!important;overflow:visible!important}
html body.em2026 .menu li>ul>li{display:block!important;width:100%!important;background:#fff!important;margin:0!important;padding:0!important}
html body.em2026 .menu li>ul>li>a{display:flex!important;align-items:center!important;width:100%!important;color:#17191d!important;background:#fff!important;padding:12px 14px!important;border-radius:8px!important;line-height:1.3!important;opacity:1!important;text-shadow:none!important;white-space:normal!important}
html body.em2026 .menu li>ul>li>a:hover{color:#111!important;background:#fff5ba!important}
html body.em2026 .menu li>ul img{width:28px!important;height:auto!important;margin-right:8px!important}

/* WHY CHOOSE US: icon gets its own row, cannot overlap copy */
html body.page-index .why_us_container{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:24px!important;align-items:stretch!important}
html body.page-index .why_us_container>.box{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;text-align:center!important;gap:0!important;height:100%!important;padding:28px 26px!important;overflow:hidden!important;background:#fff!important;border:1px solid var(--ep-line)!important;border-radius:20px!important;box-shadow:var(--ep-shadow)!important}
html body.page-index .why_us_container>.box>.img-box{position:static!important;float:none!important;display:flex!important;align-items:center!important;justify-content:center!important;width:82px!important;height:82px!important;min-width:82px!important;min-height:82px!important;max-width:82px!important;margin:0 auto 20px!important;padding:14px!important;background:#fff6c5!important;border-radius:20px!important;overflow:hidden!important;transform:none!important}
html body.page-index .why_us_container>.box>.img-box>img{display:block!important;position:static!important;float:none!important;width:54px!important;height:54px!important;max-width:54px!important;max-height:54px!important;object-fit:contain!important;margin:0!important;transform:none!important}
html body.page-index .why_us_container>.box>.detail-box{display:block!important;position:static!important;float:none!important;width:100%!important;min-width:0!important;margin:0!important;padding:0!important;transform:none!important}
html body.page-index .why_us_container>.box>.detail-box h5{margin:0 0 12px!important;padding:0!important;font-size:20px!important;line-height:1.25!important;color:var(--ep-ink)!important;font-weight:800!important}
html body.page-index .why_us_container>.box>.detail-box p{margin:0!important;padding:0!important;color:#46505c!important;font-size:16px!important;line-height:1.72!important}

/* PRODUCTS HUB: ignore old Bootstrap widths/floats completely */
html body.page-products .service_section>.container>.col-md-12{display:block!important;float:none!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0!important}
html body.page-products .service_section .row{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:24px!important;align-items:stretch!important;width:100%!important;margin:0!important}
html body.page-products .service_section .row::before,html body.page-products .service_section .row::after{display:none!important;content:none!important}
html body.page-products .service_section .row>.proparagraph{grid-column:1/-1!important;float:none!important;width:100%!important;max-width:980px!important;margin:0 auto 4px!important;padding:24px 28px!important}
html body.page-products .service_section .row>.col-md-4{display:block!important;float:none!important;width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;padding:0!important}
html body.page-products .machine-model-card{display:flex!important;flex-direction:column!important;width:100%!important;height:100%!important;min-height:420px!important;margin:0!important;padding:0!important;overflow:hidden!important;border-radius:20px!important;background:#fff!important;border:1px solid var(--ep-line)!important;box-shadow:var(--ep-shadow)!important}
html body.page-products .machine-model-media{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:300px!important;margin:0!important;padding:22px!important;background:#f6f7f9!important;overflow:hidden!important}
html body.page-products .machine-model-media img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important;margin:0!important;padding:0!important;transform:none!important}
html body.page-products .machine-model-card h2{display:block!important;width:100%!important;margin:0!important;padding:18px 16px 10px!important;text-align:center!important;color:var(--ep-ink)!important;font-size:21px!important;line-height:1.25!important}
html body.page-products .machine-model-action{display:inline-flex!important;align-items:center!important;justify-content:center!important;align-self:center!important;margin:auto auto 20px!important;padding:10px 16px!important;min-width:130px!important}

/* CATEGORY PRODUCT LISTS: first row is a true grid */
html body.page-category:not(.page-products) .service_section>.container>.col-md-12{display:block!important;width:100%!important;max-width:100%!important;float:none!important;padding:0!important}
html body.page-category:not(.page-products) .service_section>.container>.col-md-12>.row:first-of-type{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:24px!important;width:100%!important;margin:0 0 38px!important;align-items:stretch!important}
html body.page-category:not(.page-products) .service_section>.container>.col-md-12>.row:first-of-type::before,html body.page-category:not(.page-products) .service_section>.container>.col-md-12>.row:first-of-type::after{display:none!important;content:none!important}
html body.page-category:not(.page-products) .service_section>.container>.col-md-12>.row:first-of-type>.proparagraph{grid-column:1/-1!important;width:100%!important;max-width:980px!important;margin:0 auto 2px!important;float:none!important}
html body.page-category:not(.page-products) .service_section>.container>.col-md-12>.row:first-of-type>.col-md-4{display:block!important;float:none!important;width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;padding:0!important}
html body.page-category:not(.page-products) .service_section>.container>.col-md-12>.row:first-of-type .machine-model-card{height:100%!important;min-height:410px!important}
html body.page-category:not(.page-products) .service_section>.container>.col-md-12>.row:first-of-type .machine-model-media{height:285px!important}

/* PRODUCT DETAILS: prevent legacy float/grid collisions */
html body.page-product-detail .service_section>.container>.col-md-12{display:block!important;width:100%!important;max-width:100%!important;float:none!important;padding:0!important}
html body.page-product-detail .service_section>.container>.col-md-12>.row{display:flex!important;flex-wrap:wrap!important;width:100%!important;margin:0 -12px 28px!important;align-items:flex-start!important}
html body.page-product-detail .service_section>.container>.col-md-12>.row::before,html body.page-product-detail .service_section>.container>.col-md-12>.row::after{display:none!important;content:none!important}
html body.page-product-detail .service_section .col-md-8{display:block!important;float:none!important;width:66.666%!important;max-width:66.666%!important;flex:0 0 66.666%!important;padding:0 12px!important;min-width:0!important}
html body.page-product-detail .service_section .col-md-4{display:block!important;float:none!important;width:33.333%!important;max-width:33.333%!important;flex:0 0 33.333%!important;padding:0 12px!important;min-width:0!important}
html body.page-product-detail .proimg{width:100%!important;overflow:hidden!important}
html body.page-product-detail .proimg img{width:100%!important;height:auto!important;max-height:610px!important;object-fit:contain!important}
html body.page-product-detail iframe{display:block!important;width:100%!important;max-width:100%!important;aspect-ratio:16/9!important;height:auto!important;min-height:320px!important}
html body.page-product-detail .prophead{width:100%!important;max-width:100%!important;clear:both!important}

/* Replace the old broken one-piece certification artwork */
.em-certifications{display:flex!important;flex-wrap:wrap!important;gap:14px!important;align-items:center!important;justify-content:flex-start!important;width:100%!important;margin:24px 0!important;padding:18px!important;background:#f7f8fa!important;border:1px solid var(--ep-line)!important;border-radius:16px!important}
.em-cert{display:flex!important;align-items:center!important;justify-content:center!important;flex-direction:column!important;min-height:82px!important;padding:10px 18px!important;background:#fff!important;border:1px solid #dfe3e8!important;border-radius:14px!important;line-height:1!important;text-align:center!important}
.em-cert-made{color:#d71920!important;min-width:150px!important}.em-cert-made .em-cert-small{font-size:14px!important;font-weight:800!important}.em-cert-made strong{font-size:28px!important;margin-top:4px!important}
.em-cert-patent{color:#c92525!important;border:3px solid #c92525!important;min-width:150px!important}.em-cert-patent strong,.em-cert-patent span{font-size:18px!important;font-weight:900!important;letter-spacing:.04em!important}
.em-cert-ce{min-width:92px!important;border:3px solid #1c355e!important}.em-cert-ce strong{font-size:42px!important;letter-spacing:-.08em!important;color:#1c355e!important;font-family:Arial,sans-serif!important}

@media(max-width:991px){
 html body.em2026 .header{min-height:175px!important;padding:8px 16px!important}html body.em2026 .header>img{width:210px!important;max-width:78vw!important}
 html body.page-index .why_us_container{grid-template-columns:1fr!important}
 html body.page-products .service_section .row,html body.page-category:not(.page-products) .service_section>.container>.col-md-12>.row:first-of-type{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 html body.page-product-detail .service_section .col-md-8,html body.page-product-detail .service_section .col-md-4{width:100%!important;max-width:100%!important;flex:0 0 100%!important;margin-bottom:22px!important}
}
@media(max-width:600px){
 html body.em2026 .header{min-height:145px!important;padding:6px 12px!important}html body.em2026 .header>img{width:175px!important;max-width:76vw!important}
 html body.page-products .service_section .row,html body.page-category:not(.page-products) .service_section>.container>.col-md-12>.row:first-of-type{grid-template-columns:1fr!important}
 html body.page-products .machine-model-media,html body.page-category .machine-model-media{height:255px!important}
 html body.page-index .why_us_container>.box{padding:24px 20px!important}
 html body.page-index .why_us_container>.box>.img-box{width:74px!important;height:74px!important;min-width:74px!important;min-height:74px!important;margin-bottom:16px!important}
 html body.page-index .why_us_container>.box>.img-box>img{width:48px!important;height:48px!important;max-width:48px!important;max-height:48px!important}
 .em-certifications{justify-content:center!important}.em-cert{flex:1 1 130px!important}
}
