/* Paint final icons before enhancement scripts load. Keep native label text. */
.contact-dock .dock-whatsapp>:is(svg,img){display:none!important}
.contact-dock .dock-whatsapp::before{content:"";display:block;width:27px;height:27px;flex:0 0 27px;background:url("assets/brand/whatsapp-official-green.svg") center/contain no-repeat}
body :is(.standard-image-zoom,.bucket-image-zoom,.cs-product-enlarge,.wm-enlarge){display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;font-size:15px!important;font-weight:650!important;line-height:1.4!important;padding:9px 14px!important;min-height:44px!important}
body :is(.standard-image-zoom,.bucket-image-zoom,.cs-product-enlarge,.wm-enlarge)>svg{display:none!important}
body :is(.standard-image-zoom,.bucket-image-zoom,.cs-product-enlarge,.wm-enlarge)>span{display:inline!important;font:inherit!important}
body :is(.standard-image-zoom,.bucket-image-zoom,.cs-product-enlarge,.wm-enlarge)::after{content:none!important}
body :is(.standard-image-zoom,.bucket-image-zoom,.cs-product-enlarge,.wm-enlarge)::before{content:"";display:block;width:20px;height:20px;flex:0 0 20px;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2325352f' stroke-width='1.8'%3E%3Cpath d='M8 3H3v5M16 3h5v5M21 16v5h-5M8 21H3v-5'/%3E%3C/svg%3E")}
/* Added products use the established orchard-mulcher section navigation. */
body:is(.cs-added-page,.cs-machine-page) #main#main>.bucket-detail-nav{box-sizing:border-box!important;width:100%!important;max-width:100%!important;left:auto!important;right:auto!important;margin-inline:0!important;background:#e9eeec!important;border:1px solid #dce3df!important;padding:4px!important;border-radius:10px!important;gap:0!important;justify-content:flex-start!important;overflow-x:auto!important;flex-wrap:nowrap!important;align-items:center!important}
body:is(.cs-added-page,.cs-machine-page) #main#main>.bucket-detail-nav a{border-radius:7px!important;background:transparent!important;color:#46515a!important;justify-content:normal!important;flex:0 0 auto!important;padding:17px 20px!important;min-height:50px!important;font-size:16px!important;font-weight:700!important;white-space:nowrap!important}
body:is(.cs-added-page,.cs-machine-page) #main#main>.bucket-detail-nav a::after{content:none!important}
body.cs-machine-page #main#main>.bucket-detail-nav a:is(.active,[aria-current="location"]){background:#f8bb18!important;color:#262019!important;box-shadow:none!important}
body.cs-added-page.agriculture #main#main>.bucket-detail-nav a:is(.active,[aria-current="location"]){background:#176347!important;color:#fff!important;box-shadow:none!important}
body:is(.cs-added-page,.cs-machine-page) #overview.cs-integrated-hero{border:0!important;background:transparent!important;box-shadow:none!important;border-radius:0!important;padding-inline:0!important}
/* Work application controls: neutral directory link, parallel family interactions. */
.wa-overview-hero .wa-text-link{display:inline-flex;align-items:center;gap:8px;width:fit-content;padding:12px 18px;border:1px solid #9faea5;border-radius:8px;text-decoration:none;color:#26332b;background:#fff;font-weight:650;box-shadow:0 2px 5px #182b2110;transition:background .2s,border-color .2s,box-shadow .2s,transform .2s}
.wa-overview-hero a.wa-text-link:hover{background:#edf1ee!important;border-color:#657b6d!important;color:#26332b!important;box-shadow:0 4px 10px #182b211a;transform:translateY(-1px)!important}
.wa-filters button[data-filter]{transition:background .2s,border-color .2s,color .2s}
.wa-filters button[data-filter]:not(:hover):not([aria-pressed="true"]){background:#fff!important;border-color:#cbd4ce!important;color:#1c3828!important}
.wa-filters button[data-filter="excavator"]:is(:hover,[aria-pressed="true"]){background:#f8bb18!important;color:#262019!important;border-color:#f8bb18!important}
.wa-filters button[data-filter="agricultural"]:is(:hover,[aria-pressed="true"]){background:#176347!important;color:#fff!important;border-color:#176347!important}
.wa-dual-photo{align-items:stretch}
.wa-dual-photo figure{display:flex;flex-direction:column}
.wa-page .wa-dual-photo figure:nth-child(2){margin-top:0!important}
.wa-dual-photo figure>img{height:350px!important;min-height:0!important;object-fit:cover!important;width:100%}
.wa-dual-photo figure:first-child>img{object-position:center bottom!important}
@media(max-width:600px){.wa-dual-photo figure>img{height:200px!important}}
@media(max-width:600px){body :is(.standard-image-zoom,.bucket-image-zoom,.cs-product-enlarge,.wm-enlarge){font-size:14px!important}}
/* Match the established product overview spacing and surrounding surface. */
body:is(.cs-added-page,.cs-machine-page) #overview.cs-integrated-hero{padding:0!important}
body.cs-machine-page #main.cs-machine-product{background:transparent!important}
.wa-overview-hero .wa-dual-photo figure:nth-child(2){margin-top:0!important}

/* Match the existing agricultural introduction and back-link top alignment. */
body.cs-added-page.agriculture #overview.cs-integrated-hero>.bucket-detail-intro{padding-top:0!important;padding-bottom:0!important;align-self:start!important}
@media(prefers-reduced-motion:reduce){.wa-overview-hero a.wa-text-link:hover{transform:none!important}}
/* Give the remote tracked loader actions clear separation from section navigation. */
body.cs-remote-tracked-skid-steer #main#main.cs-machine-product>.bucket-detail-nav{margin-top:28px!important}
/* Preserve the original small enlargement-glyph feedback after first-paint replacement. */
body :is(.standard-image-zoom,.bucket-image-zoom,.cs-product-enlarge,.wm-enlarge)::before{transition:transform .2s ease;transform-origin:center}
@media(hover:hover) and (pointer:fine){body :is(.standard-image-zoom,.bucket-image-zoom,.cs-product-enlarge,.wm-enlarge):hover::before{transform:scale(1.12)}}
@media(prefers-reduced-motion:reduce){body :is(.standard-image-zoom,.bucket-image-zoom,.cs-product-enlarge,.wm-enlarge)::before{transition:none}}
/* Product gallery navigation, distinct from the existing close control. */
body dialog .cs-product-gallery-arrow{position:absolute!important;top:50%!important;bottom:auto!important;width:44px!important;height:44px!important;padding:10px!important;margin:0!important;border:1px solid #d5ddd8!important;border-radius:50%!important;background:rgba(255,255,255,.95)!important;color:#25352f!important;display:grid!important;place-items:center!important;transform:translateY(-50%)!important;box-shadow:0 2px 8px #15261e20!important;cursor:pointer;z-index:10;transition:background .18s,border-color .18s}
body dialog .cs-product-gallery-prev{left:12px!important;right:auto!important}
body dialog .cs-product-gallery-next{right:12px!important;left:auto!important}
body dialog .cs-product-gallery-arrow::before,body dialog .cs-product-gallery-arrow::after{content:none!important}
body dialog .cs-product-gallery-arrow>svg{display:block!important;width:22px!important;height:22px!important;fill:none!important;stroke:currentColor!important;stroke-width:2!important;stroke-linecap:round;stroke-linejoin:round}
body dialog .cs-product-gallery-arrow:hover{background:#f8bb18!important;border-color:#f8bb18!important}
body dialog .cs-product-gallery-arrow:focus-visible{outline:2px solid #a36a00;outline-offset:3px}
@media(max-width:600px){body dialog .cs-product-gallery-prev{left:4px!important}body dialog .cs-product-gallery-next{right:4px!important}}
/* Category task filters: preserve native filtering and default typography. */
body{--cs-task-active:#f8bb18;--cs-task-ink:#262019}
body.agriculture{--cs-task-active:#176347;--cs-task-ink:#fff}
body .bucket-filter-buttons button,body label.cs-filter-option>span{border-radius:8px!important;background:#fff!important;border:1px solid #cbd4ce!important;box-shadow:none!important;transition:background .18s,border-color .18s,color .18s}
body .bucket-filter-buttons button:is(:hover,[aria-pressed="true"]),body label.cs-filter-option:hover>span,body label.cs-filter-option>input:checked+span{background:var(--cs-task-active)!important;border-color:var(--cs-task-active)!important;color:var(--cs-task-ink)!important}
body label.cs-filter-option:is(:hover,:has(input:checked))>span small{color:inherit!important}
body .bucket-filter-buttons button:focus-visible,body label.cs-filter-option>input:focus-visible+span{outline:2px solid var(--cs-task-active)!important;outline-offset:3px}
@media(prefers-reduced-motion:reduce){body .bucket-filter-buttons button,body label.cs-filter-option>span{transition:none}}
/* Bucket filters have a legacy ID-scoped important rule; override only that control. */
html body #main#main .bucket-filter-buttons button{background:#fff!important;border-color:#cbd4ce!important;border-radius:8px!important}
html body #main#main .bucket-filter-buttons button:is(:hover,[aria-pressed="true"]){background:#f8bb18!important;border-color:#f8bb18!important;color:#262019!important}
/* Company galleries: ignore the legacy text node when centering the painted X. */
body #cs-real-viewer button.cs-real-close{position:relative!important;line-height:0!important}
body #cs-real-viewer button.cs-real-close::before{position:absolute!important;left:50%!important;top:50%!important;right:auto!important;bottom:auto!important;margin:0!important;transform:translate(-50%,-50%)!important;width:20px!important;height:20px!important}
/* Hero quote typography follows the existing mini-excavator quote button. */
html body #main#main :is(.bucket-detail-hero,.wm-product-hero) :is(a.button-primary,a[data-model-quote]){font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;font-size:16px!important;font-weight:750!important;line-height:1.35!important;letter-spacing:normal!important;text-transform:none!important}

/* Shared main-photo arrows, restricted to recognised multi-photo stages. */
.cs-shared-photo-stage{position:relative}
.cs-shared-stage-arrow{position:absolute!important;top:50%!important;transform:translateY(-50%)!important;width:44px!important;height:44px!important;padding:0!important;border:1px solid #d5ddd8!important;border-radius:50%!important;background:rgba(255,255,255,.95)!important;color:#25352f!important;display:grid!important;place-items:center;z-index:4;cursor:pointer}
.cs-shared-stage-prev{left:12px!important}.cs-shared-stage-next{right:12px!important}
.cs-shared-stage-arrow svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.cs-shared-stage-arrow:hover{background:#ffbf16!important}
.cs-shared-stage-arrow:focus-visible{outline:2px solid #a76b00;outline-offset:3px}
.cs-shared-photo-stage,.cs-shared-photo-stage *,dialog.cs-new-image-dialog,dialog.cs-new-image-dialog *,dialog.wm-lightbox,dialog.wm-lightbox *{user-select:none;-webkit-user-select:none}
