
/* Search-first responsive layout · keep existing catalog card appearance */
.cd-brand-line{display:inline-flex!important;align-items:center;gap:8px;flex-wrap:wrap;margin:13px 0 5px!important;padding:8px 12px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16);border-radius:8px;color:#bfd0de!important;font-size:12px!important}
.cd-brand-line strong{color:#fff;text-transform:uppercase;letter-spacing:.07em;font-size:11px}
.cd-results-intro{font-size:12px;color:#5b7790;line-height:1.75;margin:13px 0 18px}
.featured-image-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:11px;min-height:154px;background:linear-gradient(145deg,#f4f7fa,#e8eff5);color:#91a6b8;font-size:35px}
.featured-image-placeholder span{font-size:11px;color:#7790a4}
.cd-search-page .cd-result-content .cd-kicker{overflow-wrap:anywhere;letter-spacing:.06em}
.cd-xref-number{text-decoration:none}
.cd-xref-number:hover{text-decoration:underline}
@media(max-width:720px){.cd-brand-line{max-width:100%;font-size:10px!important}.cd-result-content{padding:15px}.cd-result-content h2{font-size:clamp(23px,6vw,29px)}.cd-results-intro{font-size:11px}}
.site-header .mobile-toggle{display:none}
.search-hit.search-suggestion{display:flex;align-items:center;gap:12px}
.search-thumb{width:54px;height:54px;object-fit:contain;flex:0 0 54px;background:#f5f8fb;border-radius:5px}
.search-hit-copy{flex:1;min-width:0}
.search-hit-copy strong{display:block;font-size:13px;color:#0b2846;line-height:1.5}
.search-hit-copy small{display:block;font-size:11px;line-height:1.5;color:#526579}
.search-suggestion.selected,.search-suggestion:hover{background:#edf6fc}
.search-wrap .search-note{padding:15px 18px;line-height:1.6}
.cd-searched-banner{margin-top:16px;padding:12px 15px;border:1px solid #c7dcec;border-left:3px solid #0e79af;border-radius:8px;background:#f2f8fd}
.cd-searched-banner>span{display:block;color:#547b9a;font-size:9px;font-weight:900;letter-spacing:1px}
.cd-searched-banner>strong{display:block;color:#133f68;font-size:15px;margin-top:4px;overflow-wrap:anywhere}
.cd-searched-banner>small{display:block;color:#638097;font-size:10px;margin-top:4px}
.cd-search-panel{margin-top:0}
.cd-search-panel h2{font-size:21px}
.cd-search-panel .search-wrap{margin:10px 0}
.cd-result-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:18px}
.cd-result-card{display:flex;gap:0;border:1px solid #dfe7ee;background:#fff;border-radius:13px;overflow:hidden;box-shadow:0 8px 28px #0b2b430b}
.cd-result-image{display:grid;place-items:center;flex:0 0 41%;min-width:0;background:linear-gradient(145deg,#fff,#f4f7fa);padding:20px}
.cd-result-image img{width:100%;height:auto;max-height:235px;object-fit:contain}
.cd-result-image span{font-size:12px;color:#899bab}
.cd-result-content{flex:1;min-width:0;padding:22px 19px}
.cd-result-content h2{font-size:28px;margin:10px 0 4px}
.cd-result-content h2 a:hover{color:#0e7cae}
.cd-result-content p{font-size:12px;color:#718496}
.cd-result-reference{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 0;border-bottom:1px solid #edf1f4;font-size:11px}
.cd-result-reference span{color:#7890a4}
.cd-result-reference strong{color:#143c5b}
.cd-result-view{display:inline-flex;align-items:center;justify-content:center;background:#f26718;border-radius:6px;color:#fff;font-size:11px;font-weight:900;padding:12px 15px;margin-top:16px}
.cd-result-view:hover{background:#d85206}
.cd-no-results{grid-column:1/-1}
.cd-no-results p{font-size:12px;line-height:1.8;color:#60758a}
@media(max-width:980px){
.site-header .header-inner{min-height:0;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;padding-top:12px;padding-bottom:12px}
.site-header .logo{font-size:clamp(14px,3.7vw,21px);letter-spacing:-.7px;min-width:0}
.site-header .gear-logo{font-size:22px;vertical-align:-2px;margin-right:2px}
.site-header .mobile-toggle{display:inline-flex;align-items:center;justify-content:center;background:#fff;color:#163753;border:1px solid #cfdae3;padding:10px 12px;border-radius:6px;font-size:12px;font-weight:800;grid-column:3;grid-row:1;cursor:pointer}
.site-header .nav{display:none;order:unset;grid-column:1/-1;grid-row:2;flex-basis:auto;gap:0;flex-direction:column;align-items:stretch;justify-content:start;padding:9px 0 2px;border-top:1px solid #e9eef3}
.site-header .nav.nav-open{display:flex}
.site-header .nav a{padding:11px 8px;font-size:13px}
.site-header .header-inner>.btn{display:none}
}
@media(max-width:720px){
.container{padding-left:17px;padding-right:17px}
.hero-inner{max-width:100%;overflow:visible}
.hero-copy{max-width:100%}
.hero h1{font-size:clamp(38px,9vw,48px)}
.hero .eyebrow{font-size:9px;letter-spacing:1.5px}
.search-wrap{max-width:100%;min-width:0}
.search-form{min-width:0;width:100%;padding:4px}
.search-form input{font-size:12px;min-width:0;padding:12px 7px}
.search-form button{font-size:11px;white-space:nowrap;padding:13px 12px;flex:0 0 auto}
.search-hit{font-size:12px}
.trust-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.trust-grid div{min-width:0;padding:17px 10px;font-size:10px}
.trust-grid small{margin-left:0;font-size:9px}
.cards-six{grid-template-columns:repeat(2,minmax(0,1fr))}
.section h2{font-size:23px}
.steps{grid-template-columns:1fr}
.features{grid-template-columns:1fr}
.sectors{grid-template-columns:repeat(2,minmax(0,1fr))}
.sector-copy{grid-column:1/-1}
.cd-result-grid{grid-template-columns:1fr}
.cd-result-image{flex-basis:38%}
}
@media(max-width:390px){
.site-header .logo{font-size:14px}
.search-form button{padding:12px 8px;font-size:10px}
.hero-actions{gap:7px}
.hero-actions .btn{padding:11px;font-size:11px}
.cd-result-card{flex-direction:column}
.cd-result-image{max-height:190px}
.cd-result-image img{max-height:180px}
}

/* Finder panoramic hero v4: new image fills the entire banner; no hard split */
.hero {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background-color:#eaf2f8;
  background-image:url('https://agroheavypartsfinder.com/wp-content/uploads/2026/10/agroheavyfinder-hero-wide.png') !important;
  background-size:cover !important;
  background-position:center 54% !important;
  background-repeat:no-repeat !important;
  min-height:465px;
}
.hero::before,.hero::after{content:none !important;display:none !important}
.hero .hero-inner{position:relative;z-index:2;padding-top:49px;padding-bottom:45px}
.hero .hero-copy{background:transparent;max-width:575px}
@media(max-width:900px){
  .hero{background-position:67% center !important}
  .hero .hero-copy{background:rgba(239,246,251,.67);padding:14px;border-radius:9px}
}
@media(max-width:560px){
  .hero{min-height:500px;background-position:73% center !important}
  .hero .hero-inner{padding-top:26px;padding-bottom:28px}
  .hero .hero-copy{background:rgba(239,246,251,.83);padding:13px}
}

/* Click/tap to enlarge an OEM product photograph; modal scales to viewport. */
.catalog-detail .cd-product-image .cd-zoom-trigger{position:relative;display:flex;justify-content:center;align-items:center;width:100%;height:100%;cursor:zoom-in;text-decoration:none;color:inherit}
.catalog-detail .cd-zoom-trigger:focus-visible{outline:3px solid #1579c6;outline-offset:2px}
.catalog-detail .cd-zoom-hint{position:absolute;bottom:5px;right:5px;font-size:10px;font-weight:800;line-height:1.3;letter-spacing:.1px;color:#113d5c;background:rgba(255,255,255,.93);border:1px solid #d7e3eb;border-radius:6px;padding:5px 7px;pointer-events:none}
body.cd-lightbox-open{overflow:hidden}
.cd-lightbox{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;padding:60px 18px 24px;background:rgba(8,19,32,.89);cursor:zoom-out}
.cd-lightbox img{display:block;max-width:min(96vw,1350px);max-height:calc(100vh - 100px);max-height:calc(100dvh - 100px);width:auto;height:auto;object-fit:contain;background:#fff;border-radius:7px;box-shadow:0 12px 45px rgba(0,0,0,.35);cursor:default}
.cd-lightbox .cd-lightbox-close{position:fixed;right:clamp(12px,3vw,30px);top:clamp(10px,2vw,22px);display:grid;place-items:center;width:44px;height:44px;border:1px solid #b3c8d6;border-radius:50%;background:#fff;color:#143752;font-size:33px;line-height:1;cursor:pointer;z-index:1}
.cd-lightbox .cd-lightbox-close:hover,.cd-lightbox .cd-lightbox-close:focus-visible{background:#e5f2fb;outline:2px solid #2689cc;outline-offset:2px}
@media(max-width:650px){.cd-lightbox{padding:66px 9px 20px}.cd-lightbox img{max-width:98vw;max-height:calc(100dvh - 100px)}.catalog-detail .cd-zoom-hint{font-size:9px;padding:4px 5px}}

/* Search-engine readable multilingual navigation and Arabic RTL support */
.ahpf-language-bar{background:#fff;border-bottom:1px solid #e4eaf0;position:relative;z-index:5}
.ahpf-language-bar .container{display:flex;justify-content:flex-end;align-items:center;min-height:32px}
.ahpf-language-nav{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:5px;font-size:12px;font-weight:700;line-height:1.4;direction:ltr}
.ahpf-language-nav a{color:#125b91;text-decoration:underline;text-underline-offset:2px;padding:5px 1px;border-radius:3px}
.ahpf-language-nav a[aria-current="page"]{color:#143c5b;text-decoration:none;font-weight:900}
.ahpf-language-nav a:hover,.ahpf-language-nav a:focus-visible{color:#ea681d;outline-offset:2px}
.ahpf-language-nav>span{color:#91a6b9;user-select:none}
.ahpf-rtl main,.ahpf-rtl .site-footer{direction:rtl;text-align:right}
.ahpf-rtl .site-header .header-inner{direction:rtl}
.ahpf-rtl .catalog-detail .cd-xref-number,.ahpf-rtl .cd-big-number,.ahpf-rtl input[name="s"],.ahpf-rtl .featured-part .eyebrow{direction:ltr;unicode-bidi:isolate}
.ahpf-rtl .cd-headrow,.ahpf-rtl .cd-card-title-row,.ahpf-rtl .cd-xref-item,.ahpf-rtl .cd-topline-inner{direction:rtl}
.ahpf-rtl .cd-shop-button{direction:rtl}
.ahpf-rtl .cd-result-reference{direction:rtl}
.ahpf-rtl .site-footer .footer-grid{direction:rtl}
@media(max-width:680px){.ahpf-language-bar .container{justify-content:center}.ahpf-language-nav{justify-content:center;font-size:11px;gap:4px}.ahpf-language-nav a{padding:6px 2px}}
