/* Desktop concept: three base colours and 16/24/40 px. Product pages excluded by PHP. */
@media (min-width:960px){
body.buto-desktop-preview{--bd-paper:#fff;--bd-ink:#252b28;--bd-accent:#497329;--bd-line:color-mix(in srgb,var(--bd-ink) 18%,var(--bd-paper));background:var(--bd-paper)!important;color:var(--bd-ink)!important;font:400 16px/1.5 Arial,sans-serif!important}
body.buto-desktop-preview :where(p,a,span,small,strong,em,div,section,article,nav,aside,li,dt,dd,label,input,select,textarea,button,td,th,summary,legend,time){font-size:16px!important;line-height:1.5;letter-spacing:normal;text-transform:none}
body.buto-desktop-preview :where(h1,h1 *){font-size:40px!important;line-height:1.15!important;letter-spacing:-.02em!important;font-weight:600}
body.buto-desktop-preview :where(h2,h2 *,h3,h3 *,h4,h4 *,h5,h5 *,h6,h6 *, .prod_price,.prod_price *, .product_price,.product_price *, .home-price,.home-price *){font-size:24px!important;line-height:1.3!important;font-weight:600}
body.buto-desktop-preview :where(a,.uk-link){color:var(--bd-ink)}
body.buto-desktop-preview :where(a:hover,.uk-link:hover){color:var(--bd-accent)}
body.buto-desktop-preview :where(.uk-text-muted,.uk-text-meta,.jshop_code_prod,.uk-breadcrumb>*>*){color:var(--bd-ink)!important;opacity:.75}
body.buto-desktop-preview :where(.uk-container,.store-width){max-width:1280px}
body.buto-desktop-preview .store-header{background:var(--bd-paper);border:0;border-bottom:1px solid var(--bd-line);box-shadow:none}
body.buto-desktop-preview .store-topbar{padding-block:12px}
body.buto-desktop-preview .store-brand{padding-block:24px;gap:24px}
body.buto-desktop-preview :where(.store-navigation,.store-compact-sticky,.store-compact-bar){background:var(--bd-ink)!important;color:var(--bd-paper)!important}
body.buto-desktop-preview :where(.store-navigation a,.store-navigation summary,.store-navigation button,.store-compact-bar a,.store-compact-bar button){color:var(--bd-paper)!important}
body.buto-desktop-preview :where(.store-contact-dropdown,.store-search-results,.uk-dropdown){background:var(--bd-paper)!important;color:var(--bd-ink)!important;border:1px solid var(--bd-line);border-radius:6px;box-shadow:0 12px 36px color-mix(in srgb,var(--bd-ink) 12%,transparent)}
body.buto-desktop-preview :where(.store-contact-dropdown a,.store-search-results a,.uk-dropdown a){color:var(--bd-ink)!important}
body.buto-desktop-preview :where(.uk-button,.btn,input,select,textarea){border-radius:4px;min-height:44px}
body.buto-desktop-preview :where(.uk-button-primary,.uk-button-secondary,.btn-primary,.store-search button,.button_buy,.product .buttons a.button_buy){background:var(--bd-accent)!important;border-color:var(--bd-accent)!important;color:var(--bd-paper)!important}
body.buto-desktop-preview :where(.uk-button-primary *,.uk-button-secondary *,.btn-primary *,.store-search button *,.button_buy *){color:inherit!important}
body.buto-desktop-preview :where(.uk-button-default,.btn-default,input,select,textarea){background:var(--bd-paper)!important;color:var(--bd-ink)!important;border:1px solid var(--bd-line)!important}
body.buto-desktop-preview :where(a,button,input,select,summary):focus-visible{outline:2px solid var(--bd-accent)!important;outline-offset:3px}
body.buto-desktop-preview .store-mower-hero{background:var(--bd-paper)!important;color:var(--bd-ink)!important;border:1px solid var(--bd-line);border-radius:8px;padding:40px;gap:40px;margin-block:16px 40px;box-shadow:none}
body.buto-desktop-preview .store-mower-copy{padding:0!important}
body.buto-desktop-preview :where(.store-mower-model,.store-mower-heading span,.store-mower-hero h1 span){color:var(--bd-accent)!important}
body.buto-desktop-preview .store-mower-intro{max-width:540px;margin-block:24px}
body.buto-desktop-preview .store-mower-media{border-radius:6px;overflow:hidden}
body.buto-desktop-preview :where(.store-mower-video-label,.store-mower-play-icon){background:var(--bd-ink)!important;color:var(--bd-paper)!important}
body.buto-desktop-preview :where(.tm-main,.uk-section){padding-top:32px;padding-bottom:32px}
body.buto-desktop-preview :where(.balouhome section,.balouhome-section){margin-top:40px}
body.buto-desktop-preview :where(.jshop_list_product .product,.balouhome .uk-card,.store-article-card){border:1px solid var(--bd-line);border-radius:6px;box-shadow:none;overflow:hidden}
body.buto-desktop-preview .jshop_list_product .product{background:var(--bd-paper)!important;padding:20px!important;display:flex;flex-direction:column;gap:12px}
body.buto-desktop-preview .product .name{min-height:72px}
body.buto-desktop-preview .product .name a{font-weight:600;color:var(--bd-ink)!important}
body.buto-desktop-preview .product :where(.image,.image_block){height:210px;display:grid;place-items:center}
body.buto-desktop-preview .product img.jshop_img{max-height:200px;object-fit:contain}
body.buto-desktop-preview :where(.product .buttons,.product .buttons_block){margin-top:auto}
body.buto-desktop-preview :where(.prod_price,.product_price,.home-price,.uk-text-success,.uk-text-danger){color:var(--bd-accent)!important}
body.buto-desktop-preview :where(.product .old_price,.product .old_price *){color:var(--bd-ink)!important;opacity:.7}
body.buto-desktop-preview :where(.balou-landing-tags .uk-button,.balou-landing-cloud a){border-radius:4px}
body.buto-desktop-preview #sort_count{background:var(--bd-paper)!important;border:1px solid var(--bd-line);border-radius:6px;padding:24px;margin-block:24px}
body.buto-desktop-preview .store-facet-grid{gap:20px;grid-template-columns:repeat(3,minmax(0,1fr))}
body.buto-desktop-preview #sort_count :where(label,.control-label){margin-bottom:8px;font-weight:600}
body.buto-desktop-preview #sort_count select{max-width:100%;min-width:0}
body.buto-desktop-preview :where(.store-article-copy,.store-article-card--dark,.uk-card-secondary){background:var(--bd-ink)!important;color:var(--bd-paper)!important}
body.buto-desktop-preview :where(.store-article-copy a,.store-article-copy h2,.store-article-copy h3,.uk-card-secondary a,.uk-card-secondary h2,.uk-card-secondary h3){color:var(--bd-paper)!important}
body.buto-desktop-preview :where(.store-footer,footer){background:var(--bd-paper)!important;color:var(--bd-ink)!important;border-top:1px solid var(--bd-line)}
body.buto-desktop-preview :where(.balou-store-dock,.uk-modal-dialog){background:var(--bd-paper)!important;color:var(--bd-ink)!important;border-color:var(--bd-line)}
body.buto-desktop-preview .balou-store-dock a{color:var(--bd-ink)!important}
body.buto-desktop-preview :where(.uk-badge,.uk-label,.balou-dock-count){background:var(--bd-accent)!important;color:var(--bd-paper)!important}
/* Strong scope also overrides historical ID-based font rules without touching their source. */
body.buto-desktop-preview :is(#buto-font-scale,*){font-size:16px!important;letter-spacing:normal!important;text-transform:none!important}
body.buto-desktop-preview :is(#buto-font-scale,h1,h1 *){font-size:40px!important;line-height:1.15!important}
body.buto-desktop-preview :is(#buto-font-scale,h2,h2 *,h3,h3 *,h4,h4 *,h5,h5 *,h6,h6 *,.prod_price,.prod_price *,.product_price,.product_price *,.home-price,.home-price *){font-size:24px!important;line-height:1.3!important}
body.buto-desktop-preview .store-mower-hero .store-mower-copy :is(h1,p,li,li span){color:var(--bd-ink)!important}
body.buto-desktop-preview .store-mower-hero .store-mower-copy :is(.store-mower-model,h1 span){color:var(--bd-accent)!important}
body.buto-desktop-preview #sort_count :is(select,input:not([type=hidden]):not([type=range]),button){height:44px!important;min-height:44px!important;box-sizing:border-box;padding:8px 12px!important;line-height:24px!important}
body.buto-desktop-preview .jshop:has(>#sort_count){display:grid;grid-template-columns:260px minmax(0,1fr);gap:24px;align-items:start}
body.buto-desktop-preview .jshop:has(>#sort_count)>h1{grid-column:1/-1;margin-bottom:0}
body.buto-desktop-preview .jshop:has(>#sort_count)>#sort_count{grid-column:1;grid-row:2/5;margin:0;padding:20px;min-width:0}
body.buto-desktop-preview .jshop:has(>#sort_count)>.jshop_list_product{grid-column:2;grid-row:2;min-width:0}
body.buto-desktop-preview .jshop:has(>#sort_count)>.jshop_list_category{grid-column:2;grid-row:3}
body.buto-desktop-preview .jshop:has(>#sort_count)>.category_description{grid-column:2;grid-row:4}
body.buto-desktop-preview #sort_count :is(.form_sort_count,.block_sorting_count_to_page,.store-facet-grid){display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:16px;width:100%!important;margin:0}
body.buto-desktop-preview #sort_count :is(.control-group,.box_products_sorting,.control-label,.controls){max-width:100%;min-width:0;width:auto!important}
body.buto-desktop-preview #sort_count .control-group{display:flex;flex-direction:column;align-items:stretch}
body.buto-desktop-preview #sort_count .control-label{padding:0;text-align:left}
body.buto-desktop-preview #sort_count .controls{margin:0;display:flex;gap:8px;align-items:center}
body.buto-desktop-preview #sort_count .controls select{width:100%}
body.buto-desktop-preview #comjshop_list_product>.row-fluid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:0}
body.buto-desktop-preview #comjshop_list_product>.row-fluid>[class^=sblock]{width:100%!important;margin:0;padding:0;min-width:0}
html[data-catalog-view=list] body.buto-desktop-preview #comjshop_list_product>.row-fluid{grid-template-columns:1fr}
body.buto-desktop-preview.buto-desktop-preview #sort_count :is(.filter_price,.box_price_from_to,.box_manufacrurer){display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;grid-column:auto!important;width:100%!important}
body.buto-desktop-preview.buto-desktop-preview #sort_count .input-append{flex:1;min-width:0}
body.buto-desktop-preview.buto-desktop-preview #sort_count .input-append input{width:100%!important;min-width:0}
body.buto-desktop-preview.buto-desktop-preview #sort_count input[type=range]{height:24px!important;min-height:24px!important;padding:0!important}
/* Inherit the three-colour UI palette; photographs and brand assets keep their originals. */
body.buto-desktop-preview :is(#buto-palette,*){color:inherit!important}
body.buto-desktop-preview :is(#buto-palette,.store-navigation,.store-compact-bar,.store-mower-video-label,.uk-card-secondary,.store-article-copy,.store-article-card--dark,.uk-button-primary,.uk-button-secondary,.btn-primary,.button_buy,.uk-label,.uk-badge,.balou-dock-count,.store-search button){color:var(--bd-paper)!important}
body.buto-desktop-preview :is(#buto-palette,.uk-dropdown,.store-contact-dropdown,.store-search-results,.uk-button-default){color:var(--bd-ink)!important}
body.buto-desktop-preview :is(#buto-palette,.store-mower-model,.store-mower-copy h1 span,.product .jshop_price,.product .product_price,.product .prod_price,.home-price,.uk-text-success,.uk-text-danger){color:var(--bd-accent)!important}
body.buto-desktop-preview :is(#buto-palette,.balou-catalog-views button[aria-pressed=true]){background:var(--bd-accent)!important;color:var(--bd-paper)!important}
body.buto-desktop-preview :is(#buto-font-scale,.jshop_price,.jshop_price *){font-size:24px!important;line-height:1.3!important}
@media(max-width:1199px){body.buto-desktop-preview .jshop:has(>#sort_count){grid-template-columns:240px minmax(0,1fr)}body.buto-desktop-preview #comjshop_list_product>.row-fluid{grid-template-columns:repeat(2,minmax(0,1fr))}}
}
