/* Catalogue-only finishing pass. Home-page layouts and manufacturer grids stay independent. */
.cm-mf.cm-mf-index .hero .hero-photo{background-image:url('/upload/cm-sections-261201/cross-forgings-261203.jpg');background-position:50% 54%}
.cm-catalog-flat .cm-directory-tiles{grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch}
.cm-catalog-flat .cm-directory-tile{min-width:0;justify-content:flex-start}
.cm-catalog-flat .cm-directory-media{display:flex;align-items:center;justify-content:center;flex:none}
.cm-catalog-flat .cm-directory-media--misc svg{display:block;width:66px;height:66px;max-width:92%;color:#666b70}
.cm-catalog-flat .cm-directory-media--misc img{object-fit:contain;filter:grayscale(1);transform:none;mix-blend-mode:multiply}
.cm-catalog-flat .cv-name{display:block;width:100%;overflow-wrap:anywhere;hyphens:auto;text-wrap:balance}
.cm-catalog-flat .cm-search-form button{background:#34373d!important;border-color:#34373d!important}
.cm-mf.cm-mf-detail .filter-open{width:48px;min-width:48px;flex:0 0 48px;padding:0;justify-content:center}
.cm-mf.cm-mf-detail .filter-open>span{display:none}
.cm-mf.cm-mf-detail .part-field>button[type=submit]{display:flex!important;align-items:center;justify-content:center;align-self:stretch;background:#34373d;color:#fff;border:0;border-radius:0 5px 5px 0;padding:0 15px;font:inherit;font-weight:700}

@media(min-width:768px){
 .cm-vehicle-landing main>.cm-vhero .cm-vhero-title,.cm-mf.cm-mf-index .hero h1,.cm-catalog-flat .cm-section-cover .front__title{font-size:clamp(36px,3.1vw,49px);line-height:1.12;letter-spacing:-.035em}
 .cm-vehicle-landing main>.cm-vhero .cm-vhero-desc,.cm-mf.cm-mf-index .hero p,.cm-catalog-flat .cm-section-cover .front__text{font-size:clamp(15px,1.15vw,19px);line-height:1.5}
}

@media(max-width:767.98px), (max-width:980px) and (max-height:520px) and (orientation:landscape) and (pointer:coarse){
 /* Full category names may wrap; pictures retain a common size above them. */
 .cm-catalog-flat .cm-section-directory{padding-top:16px;padding-bottom:30px}
 .cm-catalog-flat .cm-section-directory .cm-directory-tiles{display:grid;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:5px}
 .cm-catalog-flat .cm-section-directory .cm-directory-tile{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:9px;min-height:112px;height:auto;padding:9px 3px 10px;border-radius:5px}
 .cm-catalog-flat .cm-section-directory .cm-directory-tile .cm-directory-media{width:100%;height:40px;min-height:40px;flex:0 0 40px;overflow:hidden}
 .cm-catalog-flat .cm-section-directory .cm-directory-tile .cm-directory-media :is(img,svg){display:block;width:100%;height:100%;max-width:52px;max-height:40px;object-fit:contain;transform:none;mix-blend-mode:multiply}
 .cm-catalog-flat .cm-section-directory .cm-directory-tile .cv-name{font-size:clamp(10px,2.65vw,12px);line-height:1.22;font-weight:650;letter-spacing:-.02em;min-width:0;padding:0;white-space:normal;overflow:visible}
 .cm-catalog-flat .cm-search-form input{font-size:16px;min-height:52px}
 .cm-catalog-flat .cm-search-form button{min-height:52px;padding-inline:12px;font-size:13px}
 /* Vehicle searches: field + visible submit + icon-only filter, always one row. */
 .cv-vehicle.cm-dir-enhanced .cv-search.cm-dir-row{display:grid;grid-template-columns:minmax(0,1fr) 64px 52px;gap:0;align-items:stretch}
 .cv-vehicle.cm-dir-enhanced .cv-search.cm-dir-row>.cm-dir-field{border-radius:6px 0 0 6px;min-height:52px;padding-left:9px;column-gap:6px;grid-template-columns:17px minmax(0,1fr) auto}
 .cv-vehicle.cm-dir-enhanced .cv-search.cm-dir-row>button[type=submit]{display:flex!important;align-items:center;justify-content:center;min-width:0;min-height:52px;height:auto;padding:0 7px;border:1px solid #34373d;border-radius:0 6px 6px 0;background:#34373d;color:#fff;font:inherit;font-size:13px;font-weight:700}
 .cv-vehicle.cm-dir-enhanced .cv-search.cm-dir-row>.cm-dir-trigger{grid-column:auto;justify-self:end;position:relative;box-sizing:border-box;width:44px;min-width:44px;min-height:52px;margin:0;padding:0;gap:0;align-self:stretch}
 .cv-vehicle.cm-dir-enhanced .cv-search.cm-dir-row>.cm-dir-trigger>span:not(.cm-dir-glyph):not(.cm-dir-active){display:none}
 .cv-vehicle.cm-dir-enhanced .cv-search.cm-dir-row>.cm-dir-trigger .cm-dir-sliders{width:20px;height:20px}
 .cv-vehicle.cm-dir-enhanced .cm-dir-active{position:absolute;right:3px;top:3px;min-width:13px;height:13px;font-size:9px}
 .cv-vehicle.cm-dir-enhanced .cm-dir-row .cm-dir-clear{width:28px;min-width:28px}
 .cv-vehicle.cm-dir-enhanced .cm-dir-entry{padding-block:5px}
 .cv-vehicle.cm-dir-enhanced .cm-dir-caption{line-height:1.15;font-size:10px;white-space:normal}
 .cv-vehicle.cm-dir-enhanced .cm-dir-entry input[type=search]{font-size:16px!important}
 .cm-mf.cm-mf-detail .parts-tools{gap:8px;align-items:stretch}
 .cm-mf.cm-mf-detail .part-field{min-height:52px;height:auto;min-width:0;padding:0 0 0 10px;gap:5px}
 .cm-mf.cm-mf-detail .part-field>span{padding-block:5px;min-width:0}
 .cm-mf.cm-mf-detail .part-field>button[type=submit]{flex:0 0 64px;padding:0 7px;font-size:13px;min-height:50px}
 .cm-mf.cm-mf-detail .filter-open{flex:0 0 44px;width:44px;min-width:44px;min-height:52px;height:auto}
 .cm-mf.cm-mf-index .brand-form input{font-size:16px;height:52px}
 .cm-mf.cm-mf-index .brand-form button{font-size:13px;min-height:52px}
}

@media(max-width:767.98px){
 /* Approved compact cover: photo above the breadcrumb, title and short description. */
 body.cm-vehicle-landing>.header,body:has(.cm-catalog-flat)>.header{position:relative!important;inset:auto!important;margin:0!important;background:#33343c}
 body.cm-vehicle-landing>.header::after,body:has(.cm-catalog-flat)>.header::after{display:none}
 .cm-vehicle-landing main>.cm-vhero,.cm-catalog-flat .front.cm-section-cover{position:relative;display:flex;flex-direction:column;align-items:stretch;min-height:0!important;height:auto!important;padding:0!important;background:linear-gradient(#2b323c,#242630 58%,#211f29)}
 .cm-vehicle-landing main>.cm-vhero .cm-vhero-picture,.cm-catalog-flat .cm-section-cover .front__img-wrap{position:relative;inset:auto;z-index:0;width:100%;height:clamp(162px,52vw,340px);min-height:0;flex:none}
 .cm-vehicle-landing main>.cm-vhero .cm-vhero-picture img,.cm-catalog-flat .cm-section-cover .front__img-wrap img{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 50%;transform:none;opacity:1;filter:none;mask:none;-webkit-mask:none}
 .cm-vehicle-landing main>.cm-vhero .cm-vhero-picture::after,.cm-catalog-flat .cm-section-cover .front__img-wrap::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(37,43,52,.12),transparent 18%,transparent 67%,rgba(36,38,48,.39) 85%,#242630)}
 .cm-vehicle-landing main>.cm-vhero .cm-vhero-inner,.cm-catalog-flat .cm-section-cover>.container{position:static;inset:auto;transform:none;max-width:100%;width:100%;margin:0 auto;padding:2px 15px 17px}
 .cm-catalog-flat .cm-section-cover .front__content{position:static;transform:none;max-width:none;width:100%;padding:0;margin:0}
 .cm-vehicle-landing main>.cm-vhero .cm-vhero-trail,.cm-catalog-flat .cm-section-cover .breadcrumbs{display:flex!important;flex-wrap:wrap;gap:4px 6px;min-height:0;height:auto;margin:0 0 6px;padding:0;font-size:10px;line-height:1.5;color:#eceff3}
 .cm-catalog-flat .cm-section-cover .breadcrumbs__item{font-size:10px;line-height:1.5}
 .cm-vehicle-landing main>.cm-vhero .cm-vhero-title,.cm-catalog-flat .cm-section-cover .front__title,.cm-mf.cm-mf-index .hero h1{max-width:100%;margin:0;font-size:clamp(23px,6.35vw,31px);line-height:1.12;letter-spacing:-.035em;color:#fff;font-weight:700}
 .cm-vehicle-landing main>.cm-vhero .cm-vhero-desc,.cm-catalog-flat .cm-section-cover .front__text,.cm-mf.cm-mf-index .hero p{max-width:100%;margin:7px 0 0;font-size:13px;line-height:1.4;font-weight:500;color:#f3f4f5}
 .cm-vehicle-landing main>.cm-vhero .cm-vhero-links{margin:0 auto;padding:0 15px 12px;gap:0 14px;justify-content:flex-start}
 .cm-vehicle-landing main>.cm-vhero .cm-vhero-links a{font-size:11px;min-height:32px}
}

@media(max-width:359.98px){
.header>.container .header__logo{flex-basis:128px;width:128px;padding-inline:12px;margin-right:0}
.header>.container .header__logo img{width:104px;max-width:100%;height:auto}
.header>.container .header__content{min-width:0}
.header>.container .header__top{gap:0;justify-content:space-between}
.header>.container .js-menu-open{display:flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px}
.header>.container .header__icons-link{display:flex;align-items:center;gap:0;white-space:nowrap}
.header>.container .header__icons-link .link-icon{display:inline-flex!important;align-items:center;justify-content:center;width:44px;height:44px;margin:0!important}
}

.cm-mf.cm-mf-detail .part-field{margin:0!important}
.cm-mf.cm-mf-detail .part-field>button[type=submit]{text-decoration:none;line-height:1.2}
