/*
Theme Name: MATTITAN TOOLS AI v9.0
Theme URI: https://mt-tool.com/
Author: MATTITAN TOOLS
Description: Structured WordPress theme for MATTITAN TOOLS. Header, footer, pages, social icon placeholders and product navigation adapted from the organized MATTITAN corporate site structure, with tool-only content.
Version: 9.1.0
Text Domain: mattitan-tools
*/
:root{--mt-blue:#075b9e;--mt-blue-dark:#063a66;--mt-ink:#142536;--mt-green:#21ad55;--mt-light:#f5f8fb;--mt-line:#d9e2ea;--mt-muted:#66788a;--mt-white:#fff;--mt-max:1540px}
*{box-sizing:border-box}html,body{margin:0;padding:0;overflow-x:hidden}body{font-family:Arial,Helvetica,sans-serif;color:var(--mt-ink);background:#fff}.mt-container{width:min(calc(100% - 48px),var(--mt-max));margin:0 auto}a{text-decoration:none;color:inherit}.mt-topbar{background:#f3f6f9;border-bottom:1px solid var(--mt-line);font-size:13px}.mt-topbar .mt-container{height:36px;display:flex;align-items:center;justify-content:space-between;gap:24px}.mt-topbar-left,.mt-topbar-right{display:flex;align-items:center;gap:20px}.mt-divider{width:1px;height:16px;background:#c9d4de}.mt-lang{border:0;background:transparent;font-weight:700;cursor:pointer;padding:7px 4px}.mt-header-main{background:#fff}.mt-header-main .mt-container{min-height:118px;display:grid;grid-template-columns:390px minmax(320px,1fr) auto;align-items:center;gap:34px}.mt-brand{display:flex;align-items:center;gap:22px;min-width:0}.mt-brand img{width:115px;height:88px;object-fit:contain;display:block;background:transparent}.mt-brand-copy{border-left:1px solid var(--mt-line);padding-left:22px}.mt-brand-copy strong{display:block;font-size:24px;line-height:1.08;color:#163f20;letter-spacing:.2px}.mt-brand-copy span{display:block;margin-top:6px;font-size:15px;color:var(--mt-muted)}.mt-search{display:flex;height:52px;border:1px solid #cbd8e3;border-radius:7px;overflow:hidden;background:#fff}.mt-search input{flex:1;min-width:0;border:0;padding:0 18px;font-size:16px;outline:0}.mt-search button{width:64px;border:0;background:var(--mt-blue);color:#fff;font-size:20px;cursor:pointer}.mt-header-actions{display:flex;align-items:stretch}.mt-action{min-width:92px;padding:10px 13px;text-align:center;border-left:1px solid var(--mt-line);font-weight:700;font-size:13px}.mt-action b{display:block;font-size:22px;margin-bottom:7px;font-weight:400}.mt-nav{background:var(--mt-blue);color:#fff}.mt-nav .mt-container{height:66px;display:flex;align-items:stretch}.mt-categories{min-width:285px;background:var(--mt-blue-dark);display:flex;align-items:center;gap:12px;padding:0 26px;font-weight:800}.mt-navlinks{display:flex;align-items:center;justify-content:center;gap:0;flex:1}.mt-navlinks a{height:66px;padding:0 22px;display:flex;align-items:center;font-weight:800;font-size:14px;color:#fff}.mt-navlinks a:hover{background:rgba(255,255,255,.09)}.mt-quote{margin:10px 0 10px 12px;padding:0 26px;border-radius:6px;background:var(--mt-green);display:flex;align-items:center;font-weight:800;white-space:nowrap}.mt-mobile-menu{display:none}.mt-hero{background:linear-gradient(110deg,#052942,#073b64);color:#fff;padding:74px 0}.mt-hero .mt-container{display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:60px}.mt-eyebrow{text-transform:uppercase;letter-spacing:3px;font-size:13px}.mt-hero h1{font-size:64px;line-height:.98;margin:18px 0 20px;max-width:740px}.mt-hero p{font-size:20px;line-height:1.55;color:#d9e5ef;max-width:700px}.mt-hero-card{background:#fff;color:var(--mt-ink);border-radius:18px;padding:30px;box-shadow:0 20px 55px rgba(0,0,0,.2)}.mt-hero-card h3{margin-top:0}.mt-btns{display:flex;gap:12px;margin-top:28px}.mt-btn{padding:14px 20px;border-radius:5px;font-weight:800;display:inline-flex}.mt-btn.primary{background:var(--mt-green);color:#fff}.mt-btn.secondary{border:1px solid #fff;color:#fff}.mt-section{padding:68px 0}.mt-section.alt{background:var(--mt-light)}.mt-section-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:30px}.mt-section h2{font-size:38px;margin:0}.mt-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.mt-card{background:#fff;border:1px solid var(--mt-line);border-radius:8px;padding:24px;min-height:190px}.mt-card h3{margin:0 0 10px}.mt-placeholder{height:94px;border-radius:6px;background:linear-gradient(135deg,#edf3f8,#f8fbfd);display:flex;align-items:center;justify-content:center;color:#9badbd;font-weight:800;margin-bottom:18px}.mt-footer-social{display:none}.mt-social-row{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}.mt-social-slot{position:relative;width:38px;height:38px;background:#fff;border-radius:9px;display:flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.18);box-shadow:0 3px 10px rgba(0,0,0,.18);overflow:visible;transition:transform .18s ease,box-shadow .18s ease}.mt-social-slot img{width:27px;height:27px;object-fit:contain;display:block}.mt-social-slot:hover{transform:translateY(-4px) scale(1.08);box-shadow:0 7px 16px rgba(0,0,0,.28);z-index:5}.mt-social-slot:after{content:attr(data-label);position:absolute;left:50%;bottom:calc(100% + 8px);transform:translateX(-50%) translateY(4px);background:#061a2b;color:#fff;font-size:11px;font-weight:700;line-height:1;padding:7px 9px;border-radius:5px;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .16s ease,transform .16s ease;box-shadow:0 4px 12px rgba(0,0,0,.22)}.mt-social-slot:hover:after{opacity:1;transform:translateX(-50%) translateY(0)}.mt-footer{background:#101a23;color:#dce5ec}.mt-footer-main{padding:48px 0 38px}.mt-footer-grid{display:grid;grid-template-columns:1.35fr .85fr 1fr 1fr 1.1fr;gap:46px}.mt-footer-logo img{width:145px;height:110px;object-fit:contain;background:transparent}.mt-footer h3{color:#fff;margin:0 0 18px;font-size:16px}.mt-footer p,.mt-footer li,.mt-footer a{color:#b9c8d3;line-height:1.75;font-size:14px}.mt-footer ul{list-style:none;padding:0;margin:0}.mt-footer-bottom{border-top:1px solid #2b3946;padding:14px 0 16px}.mt-footer-bottom-inner{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;font-size:13px;color:#9fb0be}.mt-footer-social-wrap{margin-left:auto;display:flex;align-items:flex-end;gap:12px}.mt-footer-follow{font-size:12px;font-weight:700;color:#dce5ec;white-space:nowrap;margin-bottom:11px}.mt-social-row-footer{max-width:300px}.mt-chat-placeholder{position:fixed;right:24px;bottom:24px;width:64px;height:64px;border-radius:50%;background:var(--mt-green);color:#fff;display:flex;align-items:center;justify-content:center;font-size:28px;box-shadow:0 10px 26px rgba(0,0,0,.25);z-index:100}.mt-pagehero{background:linear-gradient(110deg,#0a4c83,#082f51);color:#fff;padding:60px 0}.mt-pagehero h1{font-size:48px;margin:0 0 12px}.mt-page{padding:52px 0;min-height:420px}.mt-page-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.mt-page-box{border:1px solid var(--mt-line);border-radius:8px;padding:24px;background:#fff}.mt-legal{max-width:920px}.mt-legal h2{margin-top:32px}.mt-search-results{display:grid;gap:16px}.mt-search-result{border-bottom:1px solid var(--mt-line);padding:18px 0}.mt-404{text-align:center;padding:100px 0}.mt-404 h1{font-size:88px;margin:0;color:var(--mt-blue)}
@media(max-width:1180px){.mt-header-main .mt-container{grid-template-columns:330px 1fr}.mt-header-actions{display:none}.mt-navlinks{display:none}.mt-mobile-menu{display:flex;align-items:center;margin-left:auto;padding:0 20px;font-weight:800}.mt-categories{min-width:260px}.mt-footer-grid{grid-template-columns:1.3fr 1fr 1fr}.mt-footer-grid>div:nth-child(4),.mt-footer-grid>div:nth-child(5){margin-top:6px}.mt-cards{grid-template-columns:repeat(2,1fr)}}
@media(max-width:820px){.mt-container{width:min(calc(100% - 28px),var(--mt-max))}.mt-topbar .mt-container{height:auto;min-height:38px;flex-wrap:wrap;padding:6px 0}.mt-topbar-left{display:none}.mt-header-main .mt-container{grid-template-columns:1fr;gap:16px;padding:18px 0}.mt-brand{justify-content:center}.mt-brand-copy strong{font-size:20px}.mt-brand-copy span{font-size:13px}.mt-search{width:100%}.mt-nav .mt-container{height:60px}.mt-categories{min-width:0;flex:1}.mt-mobile-menu{font-size:0}.mt-mobile-menu:after{content:'MENU';font-size:14px}.mt-quote{display:none}.mt-hero{padding:50px 0}.mt-hero .mt-container{grid-template-columns:1fr}.mt-hero h1{font-size:46px}.mt-cards{grid-template-columns:1fr}.mt-footer-social .mt-container{align-items:flex-start;flex-direction:column}.mt-social-row{justify-content:flex-start}.mt-footer-grid{grid-template-columns:1fr 1fr;gap:28px}.mt-footer-bottom .mt-container{flex-direction:column}.mt-page-grid{grid-template-columns:1fr}.mt-pagehero h1{font-size:38px}}
@media(max-width:520px){.mt-brand{justify-content:flex-start}.mt-brand img{width:88px;height:70px}.mt-brand-copy{padding-left:14px}.mt-brand-copy strong{font-size:17px}.mt-brand-copy span{display:none}.mt-footer-grid{grid-template-columns:1fr}.mt-social-slot{width:46px;height:46px}.mt-social-slot img{width:34px;height:34px}.mt-hero h1{font-size:38px}}

/* v8.1 footer social placement */
@media(max-width:820px){.mt-footer-bottom-inner{align-items:flex-start;flex-direction:column}.mt-footer-social-wrap{margin-left:0;width:100%;align-items:flex-start;flex-direction:column;gap:7px}.mt-social-row-footer{justify-content:flex-start;max-width:280px}.mt-footer-follow{margin-bottom:0}.mt-social-slot{width:34px;height:34px;border-radius:8px}.mt-social-slot img{width:24px;height:24px}}
@media(max-width:520px){.mt-social-row-footer{max-width:245px;gap:6px}.mt-social-slot{width:32px;height:32px}.mt-social-slot img{width:22px;height:22px}}

/* v8.2 approved MT logo, navigation pages and social placement */
.mt-header-main .mt-container{grid-template-columns:210px 250px minmax(320px,1fr) auto;gap:24px;min-height:108px}
.mt-brand{display:flex;align-items:center;justify-content:flex-start;min-width:0}
.mt-brand img{width:198px;height:92px;object-fit:contain;background:transparent;display:block}
.mt-brand-slogan{border-left:1px solid var(--mt-line);padding-left:22px;font-size:15px;line-height:1.22;color:#1d3448;white-space:nowrap}
.mt-navlinks a{padding:0 15px;font-size:13px;white-space:nowrap}
.mt-categories{min-width:260px}
.mt-quote{padding:0 21px}

.mt-footer-connect{background:linear-gradient(90deg,#07538f,#0d83d4);padding:22px 0;color:#fff}
.mt-connect-inner{display:flex;align-items:center;justify-content:space-between;gap:32px}
.mt-connect-copy{display:flex;flex-direction:column;gap:5px}
.mt-connect-copy>span{font-size:11px;font-weight:800;letter-spacing:2px}
.mt-connect-copy>strong{font-size:24px;line-height:1.1}
.mt-connect-copy>small{font-size:13px;color:#e6f2fb}
.mt-social-row-connect{flex-wrap:nowrap;justify-content:flex-end;gap:9px}
.mt-social-row-connect .mt-social-slot{width:42px;height:42px;border-radius:9px;border:1px solid rgba(255,255,255,.5);box-shadow:0 4px 12px rgba(0,0,0,.2)}
.mt-social-row-connect .mt-social-slot img{width:30px;height:30px}
.mt-social-row-connect .mt-social-slot:hover{transform:translateY(-5px) scale(1.09)}
.mt-social-row-connect .mt-social-slot:after{bottom:auto;top:calc(100% + 8px);background:#071b2a}
.mt-social-row-connect .mt-social-slot:hover:after{transform:translateX(-50%) translateY(0)}

.mt-footer-main{padding:42px 0 34px}
.mt-footer-grid{grid-template-columns:1.35fr .85fr 1fr 1fr 1.1fr;gap:52px;align-items:start}
.mt-footer-logo img{width:190px;height:88px;object-fit:contain;object-position:left center;display:block;background:transparent;margin-bottom:14px}
.mt-footer-logo h3{font-size:18px;margin-bottom:11px}
.mt-footer-bottom{padding:13px 0}
.mt-footer-bottom-inner{display:flex;align-items:center;justify-content:space-between;gap:20px}
.mt-legal-links{display:flex;gap:12px;align-items:center;white-space:nowrap}
.mt-legal-links a{font-size:12px;color:#9fb0be}
.mt-chat-placeholder{right:20px;bottom:20px;width:58px;height:58px;font-size:25px}

@media(max-width:1320px){
 .mt-header-main .mt-container{grid-template-columns:190px 220px minmax(280px,1fr) auto;gap:18px}
 .mt-brand img{width:180px}
 .mt-brand-slogan{font-size:13px;padding-left:16px}
 .mt-action{min-width:80px;padding:10px 9px}
 .mt-navlinks a{padding:0 11px;font-size:12px}
 .mt-categories{min-width:235px;padding:0 20px}
}
@media(max-width:1180px){
 .mt-header-main .mt-container{grid-template-columns:190px 1fr;grid-template-areas:'brand search' 'slogan search';min-height:120px}
 .mt-brand{grid-area:brand}
 .mt-brand-slogan{grid-area:slogan;border-left:0;padding-left:0;font-size:12px}
 .mt-search{grid-area:search}
 .mt-header-actions{display:none}
 .mt-navlinks{display:none}
 .mt-mobile-menu{display:flex;align-items:center;margin-left:auto;padding:0 20px;font-weight:800}
 .mt-footer-grid{grid-template-columns:1.25fr 1fr 1fr;gap:34px}
 .mt-footer-grid>div:nth-child(4),.mt-footer-grid>div:nth-child(5){margin-top:0}
 .mt-connect-inner{align-items:flex-start}
 .mt-social-row-connect{flex-wrap:wrap;max-width:520px}
}
@media(max-width:820px){
 .mt-header-main .mt-container{grid-template-columns:1fr;grid-template-areas:'brand' 'slogan' 'search';gap:10px;padding:14px 0}
 .mt-brand{justify-content:center}
 .mt-brand img{width:175px;height:80px}
 .mt-brand-slogan{text-align:center;white-space:normal}
 .mt-connect-inner{flex-direction:column;align-items:flex-start}
 .mt-social-row-connect{justify-content:flex-start;max-width:100%}
 .mt-social-row-connect .mt-social-slot{width:38px;height:38px}
 .mt-social-row-connect .mt-social-slot img{width:27px;height:27px}
 .mt-footer-grid{grid-template-columns:1fr 1fr;gap:28px}
 .mt-footer-logo img{width:170px}
 .mt-footer-bottom-inner{align-items:flex-start;flex-direction:column}
 .mt-legal-links{flex-wrap:wrap}
}
@media(max-width:520px){
 .mt-brand{justify-content:center}
 .mt-brand img{width:160px;height:72px}
 .mt-brand-slogan{font-size:11px}
 .mt-connect-copy>strong{font-size:20px}
 .mt-social-row-connect{gap:6px}
 .mt-social-row-connect .mt-social-slot{width:34px;height:34px;border-radius:7px}
 .mt-social-row-connect .mt-social-slot img{width:24px;height:24px}
 .mt-footer-grid{grid-template-columns:1fr}
 .mt-footer-logo img{width:160px}
}

/* v8.3 official MATTITAN identity + approved home layout */
:root{--mt-blue:#07579a;--mt-blue-dark:#063967;--mt-green:#29ad50}
.mt-header-main .mt-container{grid-template-columns:180px 230px minmax(320px,1fr) auto;gap:24px;min-height:106px}
.mt-brand img{width:150px;height:88px;object-fit:contain;display:block}
.mt-brand-slogan{font-size:14px;color:#23364b}
.mt-home-hero{display:grid;grid-template-columns:37% 63%;min-height:615px;background:#fff;overflow:hidden}
.mt-home-hero-copy{padding:52px 4vw 48px max(3.2vw,28px);display:flex;flex-direction:column;justify-content:center;background:linear-gradient(90deg,#fff 0%,#fff 86%,rgba(255,255,255,.9) 100%);z-index:2}
.mt-eyebrow.dark{color:#34485b;letter-spacing:4px;font-size:14px}
.mt-home-hero h1{font-size:70px;line-height:.92;margin:20px 0 24px;letter-spacing:-2px;color:#0b1723}.mt-home-hero h1 span{color:#0c5fae}
.mt-hero-accent{width:96px;height:5px;background:linear-gradient(90deg,var(--mt-green) 0 50%,#e6edf3 50%);margin-bottom:22px}
.mt-home-hero-copy p{font-size:17px;line-height:1.45;letter-spacing:1.4px;color:#1e2d3b;margin:0}
.mt-home-hero-visual{min-width:0;height:615px;background:#e9eef2;overflow:hidden}.mt-home-hero-visual img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.mt-btn.hero-primary{background:#075dac;color:#fff;border-radius:4px}.mt-btn.hero-secondary{color:#0b2d50;border:1px solid #0b5ca7;border-radius:4px}
.mt-usp-strip{background:#fff;border-top:1px solid #dfe7ee;border-bottom:1px solid #dfe7ee}.mt-usp-grid{display:grid;grid-template-columns:repeat(4,1fr)}.mt-usp{display:flex;align-items:center;gap:16px;padding:22px 28px;border-right:1px solid #dfe7ee}.mt-usp:last-child{border-right:0}.mt-usp b{font-size:34px;color:#0b5ea6}.mt-usp strong,.mt-usp span{display:block}.mt-usp strong{font-size:13px;color:#18314b}.mt-usp span{font-size:12px;color:#74879a;margin-top:5px}
.mt-home-categories{padding:52px 0 68px;background:#f7f9fb}.mt-home-category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.mt-home-category{background:#fff;border:1px solid #dce5ec;border-radius:7px;padding:26px;min-height:170px;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.mt-home-category:hover{transform:translateY(-4px);box-shadow:0 12px 30px rgba(7,44,75,.12);border-color:#a9c7df}.mt-cat-symbol{font-size:42px;color:#075da7;display:block;margin-bottom:20px}.mt-home-category strong,.mt-home-category small{display:block}.mt-home-category strong{font-size:16px;color:#15304b}.mt-home-category small{font-size:13px;color:#6e8194;line-height:1.5;margin-top:8px}
.mt-footer-logo-card{display:inline-flex;background:#fff;border-radius:8px;padding:7px 9px;margin-bottom:14px}.mt-footer-logo-card img{width:145px;height:98px;object-fit:contain;margin:0;background:transparent}.mt-footer-logo>img{display:none}.mt-footer-logo h3{font-size:16px}
.mt-social-row-connect{gap:7px}.mt-social-row-connect .mt-social-slot{width:34px;height:34px;border-radius:8px;animation:mtSocialFloat 3.4s ease-in-out infinite}.mt-social-row-connect .mt-social-slot:nth-child(2n){animation-delay:.35s}.mt-social-row-connect .mt-social-slot:nth-child(3n){animation-delay:.7s}.mt-social-row-connect .mt-social-slot img{width:23px;height:23px}.mt-social-row-connect .mt-social-slot:hover{animation:none;transform:translateY(-6px) scale(1.13);box-shadow:0 9px 18px rgba(0,0,0,.3)}
@keyframes mtSocialFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-2px)}}
@media(max-width:1180px){.mt-home-hero{grid-template-columns:45% 55%}.mt-home-hero h1{font-size:54px}.mt-home-hero,.mt-home-hero-visual{min-height:540px;height:540px}.mt-usp-grid{grid-template-columns:repeat(2,1fr)}.mt-home-category-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:820px){.mt-home-hero{grid-template-columns:1fr}.mt-home-hero-copy{padding:44px 28px}.mt-home-hero-visual{height:400px}.mt-home-hero h1{font-size:48px}.mt-usp-grid{grid-template-columns:1fr 1fr}.mt-home-category-grid{grid-template-columns:1fr 1fr}.mt-social-row-connect .mt-social-slot{width:32px;height:32px}.mt-social-row-connect .mt-social-slot img{width:22px;height:22px}}
@media(max-width:520px){.mt-home-hero h1{font-size:39px}.mt-home-hero-visual{height:300px}.mt-usp-grid,.mt-home-category-grid{grid-template-columns:1fr}.mt-usp{border-right:0;border-bottom:1px solid #dfe7ee}.mt-social-row-connect{gap:5px}.mt-social-row-connect .mt-social-slot{width:30px;height:30px}.mt-social-row-connect .mt-social-slot img{width:20px;height:20px}}

/* v8.4 navigation, pneumatic product drawer and account experience */
.mt-nav .mt-container{height:72px;align-items:stretch}
.mt-categories{min-width:220px;max-width:220px;padding:0 20px;gap:10px;font-size:14px;letter-spacing:.1px}
.mt-categories strong{font-size:14px;white-space:nowrap}
.mt-navlinks{justify-content:center;gap:2px}
.mt-navlinks>a,.mt-nav-item>a{height:72px;padding:0 26px;font-size:15px;font-weight:800;display:flex;align-items:center;color:#fff;white-space:nowrap}
.mt-nav-item{position:relative;display:flex;align-items:stretch}
.mt-nav-item>a:hover,.mt-navlinks>a:hover{background:rgba(255,255,255,.10)}
.mt-nav-products span{font-size:12px;margin-left:7px;opacity:.9}
.mt-nav-dropdown{position:absolute;top:72px;left:0;z-index:500;width:310px;background:#fff;color:var(--mt-ink);padding:12px;box-shadow:0 18px 48px rgba(3,26,47,.24);border-radius:0 0 10px 10px;opacity:0;visibility:hidden;transform:translateY(8px);transition:.18s ease;display:grid;grid-template-columns:1fr 1fr;gap:2px}
.mt-has-dropdown:hover .mt-nav-dropdown,.mt-has-dropdown:focus-within .mt-nav-dropdown{opacity:1;visibility:visible;transform:translateY(0)}
.mt-nav-dropdown a{height:auto!important;min-height:42px!important;padding:10px 11px!important;color:#18324a!important;font-size:13px!important;font-weight:700!important;border-radius:5px;display:flex!important;align-items:center!important}
.mt-nav-dropdown a:hover{background:#eef5fa!important;color:var(--mt-blue)!important}
.mt-nav-dropdown .mt-nav-dropdown-all{grid-column:1/-1;background:#f0f6fb;color:var(--mt-blue)!important;margin-top:5px}
.mt-quote{margin:10px 0 10px 16px;padding:0 30px;font-size:15px}

.mt-product-rail{position:fixed;left:0;top:48%;transform:translateY(-50%);z-index:850;display:flex;align-items:center;pointer-events:none}
.mt-product-rail-tab{pointer-events:auto;width:58px;height:250px;border:0;border-radius:0 9px 9px 0;background:#ef111c;color:#fff;font-size:17px;font-weight:900;letter-spacing:1.5px;writing-mode:vertical-rl;text-orientation:mixed;cursor:pointer;box-shadow:0 8px 25px rgba(0,0,0,.22);transition:width .18s ease,background .18s ease}
.mt-product-rail-tab:hover{background:#c90d16;width:62px}
.mt-product-rail-panel{pointer-events:auto;width:330px;max-height:72vh;overflow:auto;background:#08131c;color:#fff;box-shadow:14px 12px 45px rgba(0,0,0,.33);transform:translateX(-390px);transition:transform .24s ease;padding:16px 14px 18px;position:absolute;left:0;top:50%;margin-top:-235px;border-right:3px solid #ef111c}
.mt-product-rail.is-open .mt-product-rail-panel,.mt-product-rail:hover .mt-product-rail-panel{transform:translateX(0)}
.mt-product-rail.is-open .mt-product-rail-tab,.mt-product-rail:hover .mt-product-rail-tab{transform:translateX(330px)}
.mt-product-rail-head{display:flex;align-items:center;justify-content:space-between;padding:8px 8px 14px;border-bottom:1px solid rgba(255,255,255,.13);font-size:12px;font-weight:900;letter-spacing:2px;color:#9ec3df}
.mt-product-rail-close{border:0;background:transparent;color:#fff;font-size:26px;cursor:pointer;line-height:1}
.mt-product-rail-panel>a{display:block;padding:11px 10px;border-bottom:1px solid rgba(255,255,255,.08);font-size:14px;font-weight:700;color:#e5edf3;transition:.15s ease}
.mt-product-rail-panel>a:hover{padding-left:16px;color:#fff;background:rgba(239,17,28,.13)}
.mt-product-rail-panel .mt-product-rail-all{margin-top:10px;border:0;background:#ef111c;color:#fff;border-radius:5px;text-align:center;padding:13px 10px}

.mt-products-hero{padding:52px 0}
.mt-products-page{background:#f5f8fb}
.mt-product-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin-bottom:28px}
.mt-product-intro h2{font-size:36px;margin:8px 0 0}
.mt-product-guide-btn{background:var(--mt-green);color:#fff;white-space:nowrap}
.mt-pneumatic-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.mt-pneumatic-card{min-height:220px;background:#fff;border:1px solid var(--mt-line);border-radius:10px;padding:24px;display:flex;flex-direction:column;transition:.18s ease;box-shadow:0 3px 10px rgba(10,44,73,.04)}
.mt-pneumatic-card:hover{transform:translateY(-4px);box-shadow:0 12px 28px rgba(10,44,73,.12);border-color:#b9d1e4}
.mt-pneumatic-icon{width:52px;height:52px;border-radius:10px;background:#eaf3fa;color:var(--mt-blue);display:flex;align-items:center;justify-content:center;font-size:28px;margin-bottom:22px}
.mt-pneumatic-card strong{font-size:18px;color:#112d47;margin-bottom:9px}
.mt-pneumatic-card small{font-size:14px;line-height:1.55;color:var(--mt-muted);flex:1}
.mt-pneumatic-card b{margin-top:20px;font-size:12px;letter-spacing:.3px;color:var(--mt-blue)}

.mt-account-hero{background:linear-gradient(110deg,#0a4c83,#082f51);color:#fff;padding:42px 0 38px}
.mt-account-hero h1{font-size:44px;margin:8px 0 8px}
.mt-account-hero p{margin:0;color:#d6e5f1;font-size:16px}
.mt-account-page{padding:44px 0 70px;background:#f5f8fb;min-height:520px}
.mt-account-welcome{display:grid;grid-template-columns:1.2fr .8fr;gap:24px;background:#fff;border:1px solid var(--mt-line);border-radius:12px;padding:30px;margin-bottom:24px}
.mt-account-welcome h2{font-size:28px;margin:8px 0 10px}
.mt-account-welcome p{margin:0;color:var(--mt-muted);line-height:1.6}
.mt-account-benefits{display:flex;flex-direction:column;gap:12px;justify-content:center;background:#eef6fb;border-radius:9px;padding:20px;color:#174a72;font-weight:700}
.mt-account-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:24px}
.mt-account-actions a{background:#fff;border:1px solid var(--mt-line);border-radius:10px;padding:22px;display:flex;flex-direction:column;min-height:150px;transition:.18s ease}
.mt-account-actions a:hover{transform:translateY(-3px);border-color:#aac8df;box-shadow:0 10px 24px rgba(5,60,105,.09)}
.mt-account-actions span{font-size:12px;font-weight:900;color:var(--mt-green);letter-spacing:1px}
.mt-account-actions strong{font-size:18px;margin:14px 0 7px;color:#14324b}
.mt-account-actions small{color:var(--mt-muted);line-height:1.5}
.mt-account-woo{background:#fff;border:1px solid var(--mt-line);border-radius:12px;padding:30px;box-shadow:0 5px 20px rgba(10,44,73,.04)}
.mt-account-woo .woocommerce{display:block}
.mt-account-woo .woocommerce-form-login,.mt-account-woo .woocommerce-form-register{border:0!important;padding:0!important;margin:0!important}
.mt-account-woo .woocommerce-form-row{margin-bottom:16px!important}
.mt-account-woo input.input-text{height:50px!important;border:1px solid #cbd8e3!important;border-radius:6px!important;padding:0 14px!important;background:#fff!important}
.mt-account-woo .woocommerce-button{min-height:46px!important;border:0!important;border-radius:6px!important;padding:0 24px!important;background:var(--mt-blue)!important;color:#fff!important;font-weight:800!important}
.mt-account-woo .woocommerce-button:hover{background:var(--mt-blue-dark)!important}
.mt-account-woo .woocommerce-MyAccount-navigation{width:240px!important}
.mt-account-woo .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0;border:1px solid var(--mt-line);border-radius:8px;overflow:hidden}
.mt-account-woo .woocommerce-MyAccount-navigation li a{display:block;padding:13px 16px;border-bottom:1px solid var(--mt-line);font-weight:700;color:#27445e;background:#fff}
.mt-account-woo .woocommerce-MyAccount-navigation li.is-active a,.mt-account-woo .woocommerce-MyAccount-navigation li a:hover{background:#eef6fb;color:var(--mt-blue)}
.mt-account-woo .woocommerce-MyAccount-content{width:calc(100% - 270px)!important;padding-left:28px}

@media(max-width:1320px){
 .mt-navlinks>a,.mt-nav-item>a{padding:0 18px;font-size:14px}
 .mt-categories{min-width:205px;max-width:205px}
 .mt-quote{padding:0 22px}
 .mt-pneumatic-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:1180px){
 .mt-product-rail{display:none}
 .mt-navlinks{display:none}
 .mt-categories{min-width:210px;max-width:none}
 .mt-account-actions{grid-template-columns:repeat(2,1fr)}
 .mt-pneumatic-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:820px){
 .mt-nav .mt-container{height:62px}
 .mt-categories{height:62px;font-size:13px;min-width:0;max-width:none;padding:0 16px}
 .mt-categories strong{font-size:13px}
 .mt-product-intro{align-items:flex-start;flex-direction:column}
 .mt-pneumatic-grid{grid-template-columns:1fr}
 .mt-account-welcome{grid-template-columns:1fr}
 .mt-account-actions{grid-template-columns:1fr 1fr}
 .mt-account-woo{padding:20px}
 .mt-account-woo .woocommerce-MyAccount-navigation,.mt-account-woo .woocommerce-MyAccount-content{width:100%!important;padding-left:0}
 .mt-account-woo .woocommerce-MyAccount-navigation{margin-bottom:22px}
}
@media(max-width:520px){.mt-account-actions{grid-template-columns:1fr}.mt-account-hero h1{font-size:36px}.mt-product-intro h2{font-size:28px}}

/* v8.5 compact products rail + visual product strip */
.mt-product-rail-tab{width:42px;height:138px;font-size:12px;letter-spacing:1px;border-radius:0 7px 7px 0;box-shadow:0 6px 18px rgba(0,0,0,.18)}
.mt-product-rail-tab:hover{width:45px}
.mt-product-rail-panel{width:300px;transform:translateX(-348px);margin-top:-205px;max-height:66vh}
.mt-product-rail.is-open .mt-product-rail-tab,.mt-product-rail:hover .mt-product-rail-tab{transform:translateX(300px)}
.mt-home-categories{padding:44px 0 52px;background:#f5f8fb}
.mt-home-product-strip{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
.mt-home-product-card{background:#fff;border:1px solid var(--mt-line);border-radius:8px;overflow:hidden;min-width:0;transition:.18s ease;box-shadow:0 3px 10px rgba(10,44,73,.04)}
.mt-home-product-card:hover{transform:translateY(-4px);box-shadow:0 12px 28px rgba(10,44,73,.12);border-color:#b7cfe1}
.mt-home-product-card img{width:100%;height:150px;object-fit:cover;display:block;background:#eef3f7}
.mt-home-product-card span{min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 15px;color:#15324d}
.mt-home-product-card strong{font-size:13px;line-height:1.2}.mt-home-product-card b{color:var(--mt-blue);font-size:18px}
@media(max-width:1180px){.mt-home-product-strip{grid-template-columns:repeat(3,1fr)}.mt-product-rail{display:flex}.mt-product-rail-tab{width:38px;height:120px;font-size:11px}.mt-product-rail-panel{width:280px;transform:translateX(-322px)}.mt-product-rail.is-open .mt-product-rail-tab,.mt-product-rail:hover .mt-product-rail-tab{transform:translateX(280px)}}
@media(max-width:820px){.mt-home-product-strip{grid-template-columns:repeat(2,1fr)}.mt-home-product-card img{height:135px}.mt-product-rail{top:62%;}.mt-product-rail-tab{width:34px;height:108px;font-size:10px;letter-spacing:.6px}.mt-product-rail-panel{width:260px;transform:translateX(-294px);margin-top:-180px}.mt-product-rail.is-open .mt-product-rail-tab,.mt-product-rail:hover .mt-product-rail-tab{transform:translateX(260px)}.mt-account-hero h1{font-size:32px}.mt-account-hero p{font-size:14px;line-height:1.45}}
@media(max-width:520px){.mt-home-product-strip{grid-template-columns:1fr 1fr;gap:10px}.mt-home-product-card img{height:110px}.mt-home-product-card span{padding:11px;min-height:52px}.mt-home-product-card strong{font-size:11px}.mt-product-rail-tab{width:30px;height:92px;font-size:9px}.mt-product-rail-panel{width:235px;transform:translateX(-268px)}.mt-product-rail.is-open .mt-product-rail-tab,.mt-product-rail:hover .mt-product-rail-tab{transform:translateX(235px)}}

/* v8.6 stable compact product rail + guaranteed homepage visuals */
.mt-product-rail{position:fixed;left:0;top:54%;transform:translateY(-50%);z-index:850;display:block;width:30px;height:88px;pointer-events:auto}
.mt-product-rail-tab{position:relative;z-index:2;width:30px!important;height:88px!important;border:0;border-radius:0 5px 5px 0;background:#ef111c;color:#fff;font-size:9px!important;font-weight:900;letter-spacing:.7px!important;writing-mode:vertical-rl;text-orientation:mixed;cursor:pointer;box-shadow:0 4px 12px rgba(0,0,0,.16);transition:background .14s ease,box-shadow .14s ease!important;transform:none!important}
.mt-product-rail-tab:hover{width:30px!important;background:#d80f18;box-shadow:0 5px 14px rgba(0,0,0,.2)}
.mt-product-rail-panel{position:absolute;left:30px;top:50%;margin-top:-185px;width:285px;max-height:62vh;overflow:auto;background:#08131c;color:#fff;box-shadow:14px 12px 45px rgba(0,0,0,.28);border-right:3px solid #ef111c;padding:14px 12px 16px;opacity:0;visibility:hidden;transform:translateX(-12px)!important;transition:opacity .16s ease,transform .16s ease,visibility .16s ease!important;pointer-events:auto}
.mt-product-rail:hover .mt-product-rail-panel,.mt-product-rail:focus-within .mt-product-rail-panel,.mt-product-rail.is-open .mt-product-rail-panel{opacity:1;visibility:visible;transform:translateX(0)!important}
.mt-product-rail:hover .mt-product-rail-tab,.mt-product-rail.is-open .mt-product-rail-tab{transform:none!important}
.mt-home-categories{display:block!important;visibility:visible!important;opacity:1!important;padding:34px 0 48px!important;background:#f5f8fb}
.mt-home-product-strip{display:grid!important;visibility:visible!important;opacity:1!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.mt-home-product-card{display:block!important;visibility:visible!important;opacity:1!important}
.mt-home-product-card img{display:block!important;width:100%!important;height:150px!important;object-fit:cover!important;opacity:1!important;visibility:visible!important;background:#eef3f7}
@media(max-width:1180px){.mt-product-rail{display:block;width:28px;height:82px}.mt-product-rail-tab{width:28px!important;height:82px!important;font-size:8px!important}.mt-product-rail-panel{left:28px;width:270px;margin-top:-175px}.mt-home-product-strip{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:820px){.mt-product-rail{top:58%;width:26px;height:76px}.mt-product-rail-tab{width:26px!important;height:76px!important;font-size:7px!important}.mt-product-rail-panel{left:26px;width:250px;margin-top:-165px}.mt-home-product-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.mt-home-product-card img{height:130px!important}}
@media(max-width:520px){.mt-product-rail{width:24px;height:68px}.mt-product-rail-tab{width:24px!important;height:68px!important;font-size:7px!important}.mt-product-rail-panel{left:24px;width:230px;margin-top:-150px}.mt-home-product-strip{grid-template-columns:1fr 1fr;gap:10px}.mt-home-product-card img{height:105px!important}}

/* v8.7 menu, live social, camera search, MT AI and contact drawer */
.mt-header-main .mt-container{grid-template-columns:250px 260px minmax(360px,1fr) auto;gap:24px}.mt-brand-slogan{font-size:17px;line-height:1.15;border-left:1px solid var(--mt-line);padding-left:22px;white-space:nowrap}.mt-search{position:relative}.mt-search .mt-camera-search{width:50px;background:#fff;color:var(--mt-blue);border-left:1px solid #d4dee7;font-size:19px}.mt-search .mt-camera-search:hover{background:#edf6fc}.mt-search .mt-text-search{width:58px;background:var(--mt-blue);color:#fff;border:0;font-size:21px}.mt-nav .mt-container{height:72px}.mt-categories{min-width:255px}.mt-navlinks>a,.mt-nav-item>a{height:72px;padding:0 18px;font-size:15px}.mt-quote{margin:10px 0 10px 12px;padding:0 24px}.mt-nav-item{position:relative;display:flex;align-items:stretch}.mt-has-dropdown>.mt-nav-dropdown{display:grid;grid-template-columns:1fr;gap:0;position:absolute;left:0;top:100%;min-width:255px;background:#fff;color:#18354f;border:1px solid #d7e1e9;border-radius:0 0 10px 10px;box-shadow:0 18px 35px rgba(4,42,74,.16);padding:12px;opacity:0;visibility:hidden;transform:translateY(6px);transition:opacity .14s ease,transform .14s ease,visibility .14s ease;z-index:1000}.mt-has-dropdown.is-open>.mt-nav-dropdown,.mt-has-dropdown:hover>.mt-nav-dropdown{opacity:1;visibility:visible;transform:translateY(0)}.mt-nav-dropdown a{height:auto!important;min-height:42px!important;padding:10px 12px!important;color:#19364f!important;border-radius:6px;font-size:13px!important}.mt-nav-dropdown a:hover{background:#eef6fb!important;color:var(--mt-blue)!important}.mt-nav-products-grid{grid-template-columns:repeat(2,minmax(180px,1fr))!important;min-width:520px!important}.mt-nav-dropdown-all{grid-column:1/-1;background:#eef6fb!important;font-weight:900!important}
.mt-social-row-connect{gap:9px}.mt-social-slot{width:34px;height:34px;border-radius:8px;animation:none}.mt-social-slot img{width:23px;height:23px}.mt-social-slot:hover{transform:translateY(-5px) scale(1.12) rotate(-2deg);box-shadow:0 9px 20px rgba(0,0,0,.3)}.mt-social-slot:hover:before{content:"";position:absolute;inset:-5px;border:2px solid rgba(255,255,255,.65);border-radius:12px;animation:mtPulse .8s ease-out infinite}.mt-social-map img{width:19px;height:19px}.mt-social-map{width:34px;height:34px}@keyframes mtPulse{0%{transform:scale(.88);opacity:.85}100%{transform:scale(1.18);opacity:0}}
.mt-contact-drawer{position:fixed;right:0;top:51%;transform:translateY(-50%);z-index:1600}.mt-contact-tab{position:absolute;right:0;top:50%;transform:translateY(-50%);width:48px;height:158px;border:0;border-radius:18px 0 0 18px;background:#159bd3;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;box-shadow:0 10px 26px rgba(0,0,0,.22);cursor:pointer}.mt-contact-tab strong{writing-mode:vertical-rl;transform:rotate(180deg);font-size:13px;letter-spacing:1px}.mt-contact-panel{position:absolute;right:48px;top:50%;transform:translate(14px,-50%);width:230px;padding:14px;border-radius:22px 0 0 22px;background:linear-gradient(180deg,rgba(14,62,45,.97),rgba(122,26,19,.97));box-shadow:0 18px 40px rgba(0,0,0,.35);opacity:0;visibility:hidden;transition:.18s ease}.mt-contact-drawer.is-open .mt-contact-panel{opacity:1;visibility:visible;transform:translate(0,-50%)}.mt-contact-head{display:flex;align-items:center;justify-content:space-between;color:#fff;padding:0 0 10px;border-bottom:1px solid rgba(255,255,255,.15)}.mt-contact-close{border:0;background:rgba(255,255,255,.14);color:#fff;width:30px;height:30px;border-radius:50%;font-size:22px}.mt-contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px 8px;margin-top:12px}.mt-contact-item{display:flex;flex-direction:column;align-items:center;gap:5px;color:#fff;font-weight:700;font-size:10px}.mt-contact-item img,.mt-contact-fallback{width:48px;height:48px;border-radius:50%;object-fit:contain;background:#fff;padding:7px;box-shadow:0 4px 14px rgba(0,0,0,.25);transition:.18s ease}.mt-contact-fallback{display:flex;align-items:center;justify-content:center;background:#ff5148;color:#fff;font-size:25px}.mt-contact-item:hover img,.mt-contact-item:hover .mt-contact-fallback{transform:translateY(-3px) scale(1.08)}
.mt-ai-widget{position:fixed;right:72px;bottom:24px;z-index:1700}.mt-ai-launch{height:54px;border:0;border-radius:27px;background:#0a5c9f;color:#fff;display:flex;align-items:center;gap:8px;padding:5px 16px 5px 6px;box-shadow:0 10px 28px rgba(0,0,0,.24);font-weight:900}.mt-ai-launch img{width:42px;height:42px;border-radius:50%;object-fit:contain;background:#fff}.mt-ai-panel{position:absolute;right:0;bottom:64px;width:340px;background:#fff;border:1px solid #d6e1ea;border-radius:16px;box-shadow:0 20px 50px rgba(0,0,0,.28);overflow:hidden;opacity:0;visibility:hidden;transform:translateY(8px);transition:.18s ease}.mt-ai-widget.is-open .mt-ai-panel{opacity:1;visibility:visible;transform:none}.mt-ai-head{display:flex;align-items:center;gap:10px;background:#073f70;color:#fff;padding:12px}.mt-ai-head img{width:38px;height:38px;background:#fff;border-radius:50%;object-fit:contain}.mt-ai-head div{flex:1}.mt-ai-head small{display:block;color:#cfe2f1;margin-top:2px}.mt-ai-close{border:0;background:transparent;color:#fff;font-size:22px}.mt-ai-messages{height:280px;overflow:auto;padding:14px;background:#f6f9fb;display:flex;flex-direction:column;gap:10px}.mt-ai-msg{max-width:86%;padding:10px 12px;border-radius:12px;font-size:13px;line-height:1.45}.mt-ai-msg.bot{background:#fff;border:1px solid #dce6ee;align-self:flex-start}.mt-ai-msg.user{background:#0a5c9f;color:#fff;align-self:flex-end}.mt-ai-msg a{display:block;margin-top:6px;color:#0864aa;font-weight:800}.mt-ai-form{display:flex;border-top:1px solid #dce6ee}.mt-ai-form input{flex:1;border:0;padding:12px 14px;outline:0}.mt-ai-form button{border:0;background:#21ad55;color:#fff;padding:0 18px;font-weight:800}
.mt-image-search-modal[hidden]{display:none!important}.mt-image-search-modal{position:fixed;inset:0;background:rgba(3,22,37,.7);z-index:2000;display:flex;align-items:center;justify-content:center;padding:20px}.mt-image-search-dialog{position:relative;width:min(760px,96vw);max-height:90vh;overflow:auto;background:#fff;border-radius:16px;padding:24px}.mt-image-search-close{position:absolute;right:14px;top:12px;border:0;background:#edf2f6;width:34px;height:34px;border-radius:50%;font-size:20px}.mt-image-preview img{max-width:220px;max-height:180px;object-fit:contain;border:1px solid #d9e3eb;border-radius:8px}.mt-image-results{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:16px}.mt-image-result{border:1px solid #dbe4ec;border-radius:8px;padding:8px}.mt-image-result img{width:100%;height:110px;object-fit:contain;background:#f5f7f9}.mt-image-result span{display:block;font-size:12px;font-weight:800;margin-top:7px}
@media(max-width:1400px){.mt-header-main .mt-container{grid-template-columns:210px 220px minmax(300px,1fr) auto}.mt-brand-slogan{font-size:14px}.mt-header-actions .mt-action{min-width:78px;padding:8px 9px}.mt-navlinks>a,.mt-nav-item>a{padding:0 13px;font-size:13px}.mt-categories{min-width:220px}.mt-quote{padding:0 18px;font-size:13px}}
@media(max-width:1120px){.mt-brand-slogan{display:none}.mt-header-main .mt-container{grid-template-columns:190px minmax(260px,1fr) auto}.mt-navlinks{display:none}.mt-contact-drawer{top:60%}.mt-ai-widget{right:18px}.mt-image-results{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.mt-contact-tab{width:42px;height:132px}.mt-contact-panel{right:42px;width:210px}.mt-ai-launch span{display:none}.mt-ai-launch{width:54px;padding:6px}.mt-ai-panel{width:min(330px,calc(100vw - 28px))}.mt-image-results{grid-template-columns:1fr 1fr}}

/* v8.8 responsive layout, full-width navigation, compact contact drawer */
html,body{width:100%;max-width:100%;overflow-x:hidden}
img,video,iframe{max-width:100%;height:auto}
.mt-nav .mt-container{width:100%;max-width:none;margin:0;padding:0;height:76px;position:relative}
.mt-categories{min-width:305px;padding:0 30px;margin:0;border-radius:0;justify-content:flex-start}
.mt-navlinks{justify-content:space-evenly;min-width:0;padding:0 10px}
.mt-navlinks>a,.mt-nav-item>a{height:76px;padding:0 15px;white-space:nowrap}
.mt-quote{margin:9px 18px 9px 10px;min-width:230px;justify-content:center}
.mt-contact-tab{width:42px;height:128px;border-radius:15px 0 0 15px}
.mt-contact-tab strong{font-size:12px}
.mt-contact-panel{right:42px;width:198px;max-height:72vh;overflow:auto;padding:11px;border-radius:18px 0 0 18px}
.mt-contact-head{padding-bottom:8px}.mt-contact-head strong{font-size:15px}
.mt-contact-close{width:27px;height:27px;font-size:18px}
.mt-contact-grid{gap:8px 6px;margin-top:9px}
.mt-contact-item{font-size:9px;gap:4px}
.mt-contact-item img,.mt-contact-fallback{width:40px;height:40px;padding:6px}
.mt-contact-fallback{font-size:20px}
.mt-social-row-connect{gap:7px}.mt-social-slot,.mt-social-map{width:31px;height:31px;border-radius:7px}.mt-social-slot img{width:20px;height:20px}.mt-social-map img{width:17px;height:17px}

@media (max-width:1450px){
  .mt-container{width:min(calc(100% - 32px),var(--mt-max))}
  .mt-header-main .mt-container{grid-template-columns:200px 205px minmax(300px,1fr) auto;gap:18px}
  .mt-brand img{width:100px;height:78px}.mt-brand-slogan{font-size:13px;padding-left:16px}
  .mt-action{min-width:76px;padding:8px 8px;font-size:12px}.mt-action b{font-size:20px}
  .mt-categories{min-width:270px;padding:0 24px}.mt-navlinks>a,.mt-nav-item>a{padding:0 11px;font-size:13px}.mt-quote{min-width:205px;padding:0 16px;margin-right:12px;font-size:13px}
}

@media (max-width:1180px){
  .mt-topbar .mt-container{height:auto;min-height:34px;flex-wrap:wrap;padding:5px 0}.mt-topbar-left{display:none}.mt-topbar-right{margin-left:auto;gap:10px;font-size:12px}
  .mt-header-main .mt-container{min-height:102px;grid-template-columns:160px minmax(260px,1fr) auto;gap:14px}
  .mt-brand-slogan{display:none}.mt-brand img{width:92px;height:72px}
  .mt-header-actions .mt-action{min-width:68px;padding:7px 6px;font-size:11px}.mt-header-actions .mt-action b{font-size:18px;margin-bottom:4px}
  .mt-nav .mt-container{height:64px}.mt-categories{min-width:220px;height:64px}.mt-mobile-menu{display:flex;align-items:center;justify-content:center;padding:0 24px;font-weight:800;cursor:pointer;height:64px}.mt-quote{height:46px;margin:9px 12px 9px auto;min-width:190px}
  .mt-navlinks{display:none;position:absolute;top:64px;left:0;right:0;background:#075b9e;z-index:1500;padding:8px 0 14px;box-shadow:0 18px 30px rgba(0,0,0,.18);flex-direction:column;align-items:stretch}
  .mt-nav.is-mobile-open .mt-navlinks{display:flex}
  .mt-navlinks>a,.mt-nav-item>a{height:48px!important;min-height:48px!important;padding:0 22px!important;justify-content:space-between;font-size:14px}
  .mt-nav-item{display:block}.mt-has-dropdown>.mt-nav-dropdown{position:static;display:none!important;min-width:0!important;width:100%!important;grid-template-columns:1fr!important;box-shadow:none;border:0;border-radius:0;padding:0 14px 8px;background:#0b4f87;opacity:1;visibility:visible;transform:none}
  .mt-has-dropdown.is-open>.mt-nav-dropdown{display:grid!important}
  .mt-nav-dropdown a{color:#fff!important;background:transparent!important;border-bottom:1px solid rgba(255,255,255,.08)}
  .mt-nav-dropdown a:hover{background:rgba(255,255,255,.08)!important;color:#fff!important}
  .mt-contact-drawer{top:58%}.mt-contact-panel{max-height:65vh}
}

@media (max-width:820px){
  .mt-container{width:calc(100% - 24px)}
  .mt-topbar{display:none}
  .mt-header-main .mt-container{min-height:0;padding:12px 0;display:grid;grid-template-columns:120px 1fr;grid-template-areas:'brand actions' 'search search';gap:10px 12px}
  .mt-brand{grid-area:brand}.mt-brand img{width:96px;height:72px}
  .mt-search{grid-area:search;height:46px;width:100%}.mt-search input{font-size:14px;padding:0 12px}.mt-search .mt-camera-search{width:44px}.mt-search .mt-text-search{width:48px}
  .mt-header-actions{grid-area:actions;justify-content:flex-end;min-width:0}.mt-header-actions .mt-action{flex:1;min-width:0;max-width:78px;padding:5px 3px;font-size:9px;border-left:1px solid var(--mt-line)}.mt-header-actions .mt-action b{font-size:16px;margin-bottom:2px}
  .mt-nav .mt-container{height:auto;min-height:58px;display:grid;grid-template-columns:1fr 1fr;align-items:stretch}
  .mt-categories{min-width:0;width:100%;height:58px;padding:0 16px;justify-content:flex-start;font-size:13px}.mt-categories strong{font-size:13px}.mt-mobile-menu{height:58px;padding:0 10px;font-size:13px}.mt-quote{grid-column:1/-1;margin:0;height:48px;min-width:0;border-radius:0;justify-content:center}
  .mt-navlinks{top:106px}
  .mt-contact-drawer{top:62%}.mt-contact-tab{width:36px;height:112px}.mt-contact-panel{right:36px;width:188px;max-height:62vh}.mt-contact-item img,.mt-contact-fallback{width:36px;height:36px}
  .mt-ai-widget{right:12px;bottom:14px}.mt-ai-launch{height:48px;width:48px;padding:4px}.mt-ai-launch img{width:40px;height:40px}.mt-ai-panel{width:min(320px,calc(100vw - 24px))}
  .mt-hero .mt-container{grid-template-columns:1fr;gap:24px}.mt-hero h1{font-size:clamp(38px,10vw,56px)}.mt-hero{padding:44px 0}
  .mt-cards{grid-template-columns:repeat(2,1fr)}
}

@media (max-width:520px){
  .mt-container{width:calc(100% - 16px)}
  .mt-header-main .mt-container{grid-template-columns:92px 1fr;padding:8px 0;gap:8px}.mt-brand img{width:82px;height:62px}
  .mt-header-actions .mt-action{max-width:58px;font-size:8px}.mt-header-actions .mt-action:nth-child(2),.mt-header-actions .mt-action:nth-child(3){display:none}
  .mt-search{height:44px}.mt-search input{font-size:13px}.mt-search .mt-camera-search{width:42px}.mt-search .mt-text-search{width:44px}
  .mt-nav .mt-container{grid-template-columns:1fr 1fr}.mt-categories{height:54px;padding:0 12px}.mt-mobile-menu{height:54px}.mt-quote{height:44px;font-size:12px}.mt-navlinks{top:98px}
  .mt-contact-tab{width:32px;height:100px}.mt-contact-panel{right:32px;width:min(176px,calc(100vw - 44px));max-height:58vh;padding:9px}.mt-contact-grid{gap:7px 5px}.mt-contact-item{font-size:8px}.mt-contact-item img,.mt-contact-fallback{width:34px;height:34px;padding:5px}
  .mt-product-rail{display:none}
  .mt-hero p{font-size:16px}.mt-btns{flex-wrap:wrap}.mt-btn{width:100%;justify-content:center}
  .mt-cards{grid-template-columns:1fr}.mt-section{padding:42px 0}.mt-section h2{font-size:30px}
  .mt-home-product-strip{grid-template-columns:1fr 1fr!important;gap:8px!important}.mt-home-product-card img{height:96px!important}
  .mt-footer-grid{grid-template-columns:1fr!important}.mt-social-row-connect{justify-content:flex-start}
}


/* v9.0 MT AI Assistant */
.mt-search input.mt-search-empty{animation:mtSearchNudge .35s ease 2;background:#fff7f7}
@keyframes mtSearchNudge{0%,100%{transform:translateX(0)}35%{transform:translateX(-4px)}70%{transform:translateX(4px)}}
.mt-ai-widget{right:24px;bottom:22px;z-index:1750}
.mt-ai-launch{height:58px;border-radius:29px;padding:5px 17px 5px 5px;background:linear-gradient(135deg,#073f70,#0873be);gap:9px;border:1px solid rgba(255,255,255,.26)}
.mt-ai-launch img{width:48px;height:48px;border:2px solid #fff;box-shadow:0 4px 14px rgba(0,0,0,.18)}
.mt-ai-launch span{font-size:15px;letter-spacing:.2px}.mt-ai-launch i{width:8px;height:8px;border-radius:50%;background:#20c76a;box-shadow:0 0 0 4px rgba(32,199,106,.18)}
.mt-ai-panel{width:min(430px,calc(100vw - 32px));bottom:68px;border-radius:20px;border:1px solid #cdddea;box-shadow:0 24px 65px rgba(0,31,53,.32)}
.mt-ai-head{padding:13px 14px;background:linear-gradient(135deg,#073f70,#0a5f9e);gap:10px}
.mt-ai-head img{width:46px;height:46px;border:2px solid rgba(255,255,255,.9)}
.mt-ai-head strong{font-size:17px}.mt-ai-head small{font-size:11px}.mt-ai-online{font-size:10px;color:#d8f5e4;white-space:nowrap}.mt-ai-close{font-size:26px;padding:2px 5px;cursor:pointer}
.mt-ai-intro{padding:13px 15px 10px;background:#f4f9fd;border-bottom:1px solid #e0eaf2;display:flex;flex-direction:column;gap:4px}.mt-ai-intro strong{font-size:13px;color:#073f70}.mt-ai-intro span{font-size:11px;line-height:1.5;color:#5c7082}
.mt-ai-quick{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:10px 12px;background:#fff;border-bottom:1px solid #e2ebf2}.mt-ai-quick button{border:1px solid #d7e4ee;background:#fff;border-radius:9px;padding:8px 9px;text-align:left;color:#17334b;font-size:10.5px;font-weight:700;cursor:pointer;transition:.16s ease}.mt-ai-quick button:hover{border-color:#0b67aa;background:#f1f8fd;color:#075b9e;transform:translateY(-1px)}
.mt-ai-messages{height:245px;padding:12px;background:#f6f9fb;gap:9px}.mt-ai-msg{font-size:12px;line-height:1.55;border-radius:13px;padding:9px 11px}.mt-ai-msg.bot{border:1px solid #dce7ef}.mt-ai-msg.user{background:#0a5c9f}.mt-ai-msg.loading{opacity:.72;font-style:italic}.mt-ai-msg a{margin-top:7px;padding-top:6px;border-top:1px dashed #d5e2eb;color:#075b9e;font-size:11px}
.mt-ai-form{min-height:50px}.mt-ai-form input{font-size:13px}.mt-ai-form button{min-width:72px;font-size:12px;cursor:pointer}.mt-ai-foot{padding:7px 12px;background:#eef5fa;color:#6a7f90;font-size:9px;text-align:center;border-top:1px solid #dce6ee}
@media(max-width:760px){.mt-ai-widget{right:10px;bottom:12px}.mt-ai-launch{width:50px;height:50px;padding:3px;border-radius:50%}.mt-ai-launch img{width:44px;height:44px}.mt-ai-launch span,.mt-ai-launch i{display:none}.mt-ai-panel{width:min(390px,calc(100vw - 18px));bottom:58px}.mt-ai-quick{grid-template-columns:1fr 1fr}.mt-ai-messages{height:220px}}
@media(max-width:430px){.mt-ai-panel{width:calc(100vw - 12px);right:-4px}.mt-ai-head{padding:10px}.mt-ai-head img{width:40px;height:40px}.mt-ai-head strong{font-size:15px}.mt-ai-online{display:none}.mt-ai-intro{padding:10px 12px}.mt-ai-quick{grid-template-columns:1fr 1fr;padding:8px;gap:6px}.mt-ai-quick button{font-size:9.5px;padding:7px}.mt-ai-messages{height:210px;padding:9px}.mt-ai-msg{font-size:11.5px}}

/* v9.1 official uploaded MT AI logo */
.mt-ai-launch img,.mt-ai-head img{object-fit:contain;background:#fff}


/* v9.2 compact AI assistant */
.mt-ai-panel{width:min(360px,calc(100vw - 28px));bottom:64px;border-radius:16px}
.mt-ai-head{padding:10px 11px;gap:8px}.mt-ai-head img{width:38px;height:38px}.mt-ai-head strong{font-size:15px}.mt-ai-head small{font-size:10px}.mt-ai-online{font-size:9px}
.mt-ai-intro{padding:9px 11px 8px}.mt-ai-intro strong{font-size:12px}.mt-ai-intro span{font-size:10px;line-height:1.4}
.mt-ai-quick{padding:8px 9px;gap:6px}.mt-ai-quick button{padding:7px 8px;font-size:9.5px;border-radius:8px}
.mt-ai-messages{height:170px;padding:9px;gap:7px}.mt-ai-msg{font-size:11px;line-height:1.4;padding:8px 9px;border-radius:10px}
.mt-ai-form{min-height:44px}.mt-ai-form input{font-size:12px;padding:9px 10px}.mt-ai-form button{min-width:64px;font-size:11px;padding:0 12px}.mt-ai-foot{padding:5px 9px;font-size:8px}
@media(max-width:760px){.mt-ai-panel{width:min(340px,calc(100vw - 18px));bottom:56px}.mt-ai-messages{height:155px}.mt-ai-quick button{font-size:9px}}
@media(max-width:430px){.mt-ai-panel{width:calc(100vw - 10px);right:-5px}.mt-ai-messages{height:145px}.mt-ai-quick{grid-template-columns:1fr 1fr}.mt-ai-quick button{font-size:8.8px;padding:6px}}
