/* Shared layout rhythm and accessible, bounded navigation. */
:root{--os-header-height:156px;--os-layout-gap:clamp(18px,2.4vw,34px)}
html{scroll-padding-top:calc(var(--os-header-height) + 20px)}
main :is(h1,h2,h3){text-wrap:balance} main :is(p,li){overflow-wrap:break-word}
.os-page,.os-catalogue{padding-top:32px}
.os-page>p{max-width:760px;line-height:1.65}
.os-page>h1{max-width:1050px}
.os-brand-grid{grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch}
.os-brand-card{min-width:0;gap:14px;justify-content:space-between}
.os-brand-card strong{font-size:clamp(17px,1.7vw,22px);line-height:1.3;overflow-wrap:anywhere}
.os-brand-card span{font-size:13px}
.os-header-actions :is(a,button){min-height:44px}
.os-menu-toggle{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid #c8e7ce;border-radius:11px;background:#f3fbf4;color:#1f5229;padding:0;flex-shrink:0}
.os-menu-dialog{position:fixed;inset:0 0 0 auto;margin:0;width:min(440px,100vw);height:100dvh;max-height:100dvh;max-width:100vw;padding:0;border:0;border-left:1px solid #c4e6ca;border-radius:20px 0 0 20px;background:#f6fcf7;color:#1f2921;box-shadow:-18px 0 70px #24170c35;overflow:hidden}
.os-menu-dialog::backdrop{background:#241d17a3;backdrop-filter:blur(3px)}
.os-menu-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px;border-bottom:1px solid #c5e8cc;height:82px}
.os-menu-dialog-heading h2{font-size:21px;letter-spacing:-.03em}
.os-menu-close{height:44px;width:44px;flex-shrink:0;background:#fff;border:1px solid #b5debd;border-radius:50%;font-size:28px;line-height:1;color:#2b5934}
.os-menu-dialog-body{height:calc(100% - 82px);overflow:auto;overscroll-behavior:contain;padding:12px 18px calc(28px + env(safe-area-inset-bottom))}
.os-menu-is-open{overflow:hidden}
.os-menu-account{display:flex;min-height:48px;align-items:center;margin-top:16px;border-top:1px solid #c5e8cc;padding:16px 6px 0;font-size:15px;font-weight:600}
.os-hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px 20px;margin-top:16px}
.os-hero-actions .os-save-machine{margin:0;flex-shrink:0}
.os-category-hero .os-hero-actions .os-text-link{display:inline-flex;align-items:center;min-height:44px;line-height:1.4;white-space:normal;font-size:13px;text-decoration:underline;text-underline-offset:5px;border:0}
main .os-category-hero h1{margin:0;line-height:1.15}
.os-category-hero>div>.os-text-link{display:inline-flex;align-items:center;min-height:44px;margin-top:10px;line-height:1.45}
.os-category-hero:not(.os-model-hero)>div>a{font-size:13px}
.os-category-hero{margin-bottom:26px}
.os-collection-layout{gap:var(--os-layout-gap)}
.os-collection-sidebar{top:calc(var(--os-header-height) + 16px);max-height:calc(100dvh - var(--os-header-height) - 32px)}
.os-collection-filter-form label{line-height:1.45}
.os-subcollection-card>span{min-height:62px;align-items:center}
.os-subcollection-heading{align-items:baseline;flex-wrap:wrap;gap:8px 16px}
.os-subcollection-heading h2{margin:0;max-width:85%}
.os-subcollection-heading>span{font-size:12px}
.os-page .os-drawing-heading h2{margin:6px 0 0;line-height:1.18;font-size:clamp(23px,2.4vw,31px)}
.os-drawing-heading{align-items:center;flex-wrap:wrap;gap:18px}
.os-drawing-heading .os-eyebrow{margin-bottom:10px}
.os-drawing-explorer>p{margin:14px 0 0!important;line-height:1.6}
.os-page .os-drawing-parts h3{margin:0 0 12px}
.os-page .os-drawing-reference-note{margin:5px 10px 12px}
.os-page .os-drawing-part-list p{line-height:1.6}
.os-drawing-toolbar{flex-wrap:wrap;gap:12px;padding:12px 14px}
.os-drawing-toolbar a{display:inline-flex;align-items:center;min-height:36px;font-size:12px}
.os-drawing-toolbar input{min-height:32px}
.os-model-intro p{line-height:1.65;margin-bottom:18px}
.os-page .os-products-heading{margin:0 0 18px}
.os-finder-help .os-text-link{display:inline-flex;align-items:center;min-height:44px;margin:10px 0 0 16px}
.os-contact-card h2,.os-contact-grid>section>h2{margin-top:0}
.os-contact-card a{min-height:44px;display:flex;align-items:center;overflow-wrap:anywhere}
.os-discovery{max-height:min(560px,calc(100dvh - var(--os-header-height) - 36px));overscroll-behavior:contain}
.woocommerce ul.products li.product .button,.os-compare-pick{min-height:44px}
.woocommerce ul.products li.product .woocommerce-loop-product__title{overflow-wrap:anywhere}
.os-section-heading{flex-wrap:wrap;align-items:flex-end}
.os-section-heading>a{display:inline-flex;align-items:center;min-height:44px}
main.os-container>.os-your-machine.os-container{width:100%;margin-inline:0}
@media(min-width:1025px){.os-nav-inner{gap:clamp(16px,1.6vw,24px)}.os-nav-links{gap:clamp(12px,1.4vw,20px)}.os-mega summary{min-height:58px}.os-nav-contact{min-height:44px}.os-mega-panel{box-shadow:0 18px 40px #3e291f20}}
@media(min-width:761px) and (max-width:1100px){.os-brand-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1024px){
 .os-mobile-navigation .os-header-main{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:10px 14px;padding-block:12px;min-height:0}
 .os-mobile-navigation .os-header-main>.custom-logo-link{min-width:0}
 .os-mobile-navigation .custom-logo{width:clamp(140px,22vw,220px);max-width:100%;height:auto}
 .os-mobile-navigation .os-header-main>.os-search{grid-column:1/-1;order:4;min-height:48px;width:100%;margin:0}
 .os-mobile-navigation .os-header-actions{margin:0;gap:8px!important}
 .os-mobile-navigation .os-header-actions .os-my-machines-link{display:none}
 .os-mobile-navigation .os-header-actions a{min-width:44px;justify-content:center}
 .os-mobile-navigation .os-header-actions a>span:not(.os-basket-count){display:none}
 .os-menu-dialog .os-nav{border:0}
 .os-menu-dialog .os-nav-inner{display:flex;flex-direction:column;align-items:stretch;gap:4px;width:100%;padding:0;font-size:15px}
 .os-menu-dialog .os-nav-links{display:contents}
 .os-menu-dialog .os-nav-links>a,.os-menu-dialog .os-nav-links>a:first-child,.os-menu-dialog .os-nav-contact{display:flex;justify-content:space-between;text-align:left;align-items:center;min-height:52px;padding:14px 12px;margin:0;white-space:normal;font-size:15px;border-radius:10px}
 .os-menu-dialog .os-mega{min-width:0;border-bottom:1px solid #c9eacf}
 .os-menu-dialog .os-mega>summary,.os-menu-dialog .os-nav-links>.os-mega>summary,.os-menu-dialog .os-mega>summary.os-nav-new{display:flex;justify-content:space-between;text-align:left;min-height:52px;padding:14px 12px;margin:0;border:0;gap:10px;font-size:15px;white-space:normal;line-height:1.4}
 .os-menu-dialog .os-menu-lines{display:none}
 .os-menu-dialog .os-mega[open]>summary{background:#daf3df;border-radius:10px;color:#20672e}
 .os-menu-dialog .os-mega-panel,.os-menu-dialog .os-menu-enhanced .os-mega-panel{position:static;display:flex;flex-direction:column;padding:14px 4px 18px;max-height:none;overflow:visible;gap:16px;box-shadow:none;border:0;background:transparent}
 .os-menu-dialog .os-mega-title{font-size:15px;align-items:flex-start;gap:12px}
 .os-menu-dialog .os-mega-title>a{font-size:12px;line-height:1.5;text-align:right}
 .os-menu-dialog .os-menu-browser,.os-menu-dialog .os-menu-enhanced .os-menu-browser{display:flex;flex-direction:column;overflow:visible;gap:14px}
 .os-menu-dialog .os-menu-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;overflow:visible;padding:2px}
 .os-menu-dialog .os-menu-tabs button{display:flex;flex-direction:column;justify-content:center;text-align:center;gap:4px;min-height:78px;padding:8px 4px;font-size:11px;line-height:1.3}
 .os-menu-dialog .os-menu-tabs button img{width:32px;height:30px}
 .os-menu-dialog .os-menu-tabs button b{display:none}
 .os-menu-dialog .os-menu-panels{overflow:visible;padding:0;min-height:0}
 .os-menu-dialog .os-menu-pane-heading{align-items:flex-start;flex-direction:column;gap:6px;padding:8px 6px 12px;margin:0 0 8px}
 .os-menu-dialog .os-menu-pane-heading strong{font-size:20px}
 .os-menu-dialog .os-menu-pane-heading p{display:none}
 .os-menu-dialog .os-menu-pane-heading>a{font-size:12px;text-align:left;max-width:none;min-height:32px;white-space:normal}
 .os-menu-dialog .os-menu-category-links,.os-menu-dialog .os-mega-types .os-menu-category-links{grid-template-columns:1fr;gap:2px}
 .os-menu-dialog .os-menu-category-links a{font-size:14px;padding:12px 10px;min-height:46px}
 .os-menu-dialog .os-mega-help{padding:12px;gap:12px;flex-wrap:wrap}
 .os-menu-dialog .os-mega-help div{display:none}
 .os-menu-dialog .os-mega-help a{font-size:12px;white-space:normal;min-height:32px;display:flex;align-items:center}
 .os-menu-dialog .os-nav-contact{margin-top:12px;justify-content:center;gap:16px}
}
@media(max-width:760px){
 .os-container{width:calc(100% - 36px)}
 .os-page,.os-catalogue{padding-top:24px;padding-bottom:40px}
 .os-page>h1{font-size:clamp(30px,8vw,39px);margin-bottom:20px;line-height:1.13}
 .os-page>.os-eyebrow{margin-bottom:16px}
 .os-page>p{font-size:16px;margin-bottom:24px}
 .os-search input,.os-filter-input,.os-page input:not([type=checkbox]):not([type=radio]),.os-page select,.os-page textarea,.os-finder-controls select,.os-finder-controls input{font-size:16px}
 .os-search{gap:9px;padding-left:12px}
 .os-search>svg{width:18px}
 .os-search button{min-width:68px;padding:0 12px;font-size:14px}
 .os-search button span{display:none}
 .os-hero{padding:24px 20px 20px;gap:24px;margin-top:18px}
 .os-hero h1{font-size:clamp(40px,10vw,54px);line-height:1.06}
 .os-hero-copy>p{font-size:16px;line-height:1.6;margin:22px 0}
 .os-hero-copy{animation:none}
 .os-search-examples{gap:8px 12px}
 .os-search-examples a{display:inline-flex;align-items:center;min-height:32px}
 .os-section{padding-block:42px}
 .os-section-heading{gap:10px;margin-bottom:22px}
 .os-section-heading h2{font-size:30px;line-height:1.14}
 .os-category-hero>div{width:calc(100% - 100px);padding:20px 14px 20px 18px}
 main .os-category-hero h1{font-size:clamp(24px,6.1vw,30px);line-height:1.16}
 .os-category-hero>.os-real-art{width:100px}
 .os-category-hero .os-eyebrow{font-size:9px;line-height:1.5;margin-bottom:10px}
 .os-category-hero .os-hero-actions{align-items:flex-start;flex-direction:column;gap:10px;margin-top:16px}
 .os-category-hero .os-hero-actions .os-save-machine{font-size:12px;padding:10px 11px;max-width:100%;white-space:normal}
 .os-category-hero .os-hero-actions .os-text-link{font-size:12px;min-height:36px}
 .os-category-hero>div>.os-text-link{font-size:12px;line-height:1.5;margin-top:10px}
 .os-model-hero--text>div{width:100%}
 .os-collection-sidebar{position:static;max-height:none;overflow:visible}
 .os-subcollections{margin-bottom:24px}
 .os-subcollection-heading h2{font-size:21px;max-width:100%}
 .os-subcollection-heading>span{font-size:12px}
 .os-subcollection-card>span{padding:12px;min-height:60px;font-size:13px}
 .os-brand-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:24px}
 .os-brand-card{padding:18px 14px;gap:14px}
 .os-brand-card strong{font-size:17px;line-height:1.3}
 .os-drawing-explorer{padding:20px 16px;margin-block:22px;border-radius:18px}
 .os-drawing-heading{gap:16px}
 .os-drawing-heading .os-button{min-height:48px}
 .os-drawing-workspace{gap:18px}
 .os-page .os-drawing-parts h3{font-size:20px;line-height:1.3}
 .os-drawing-reference-note{font-size:13px}
 .os-drawing-part strong{font-size:13px}
 .os-drawing-part small,.os-drawing-part em{font-size:11px}
 .os-drawing-part-list{max-height:min(500px,62dvh);padding-bottom:8px}
 .os-page .os-products-heading{font-size:28px;line-height:1.15}
 .os-product-media .woocommerce-product-gallery__image>a>img,.os-product-media .os-external-gallery>a>img{height:min(330px,42dvh);max-height:330px;aspect-ratio:auto;padding:18px}
 .woocommerce div.product .os-product-layout>.summary{padding:22px 18px}
 .woocommerce div.product .os-product-layout .product_title{font-size:clamp(24px,6.3vw,29px);line-height:1.2;margin-bottom:18px}
 .woocommerce div.product .os-product-layout .summary>.price{font-size:28px}
 .woocommerce ul.products{gap:22px 12px}
 .woocommerce ul.products li.product .button{padding:11px 12px;font-size:12px}
 .woocommerce .woocommerce-ordering{width:100%;margin-bottom:20px}
 .woocommerce .woocommerce-ordering select{width:100%;min-height:46px;font-size:16px}
 .os-discovery{max-height:calc(100dvh - var(--os-header-height) - 90px)}
 .os-finder-help .os-text-link{margin:12px 0 0;display:flex;width:fit-content}
 .os-finder-help h2{font-size:27px}
 .os-contact-grid{gap:24px}
 .os-contact-card{padding:24px 20px}
 .os-page .os-contact-card h2,.os-page .os-contact-grid>section>h2{font-size:27px;margin-top:0}
 .os-contact-card a{font-size:17px}
}
@media(max-width:600px){.os-topline{display:none}.os-mobile-navigation .os-header-actions .os-account{display:none}.os-mobile-navigation .os-header-main{gap:10px 10px}.os-mobile-navigation .custom-logo{width:170px}.os-mobile-navigation .os-header-actions .os-basket{gap:5px}.os-header-main .os-search input{font-size:16px}.os-menu-dialog{border-radius:0}}
@media(prefers-reduced-motion:reduce){.os-menu-dialog,.os-menu-dialog::backdrop{scroll-behavior:auto;transition:none}}
@media(max-width:1024px){.os-menu-dialog .os-mega[open]>summary{position:sticky;top:0;z-index:3;box-shadow:0 5px 12px #f6fcf7}}
@media(max-width:760px){.os-footer-grid>div:not(:first-child)>a{display:flex;align-items:center;min-height:44px;margin:0;padding-block:6px}.os-filter-group label:has(input[type=checkbox]){min-height:36px;padding-block:6px}.os-collection-filter-form select{min-height:46px}.os-machine-dialog-head button{width:44px;height:44px;flex-shrink:0}}
/* Give checkout fields the same card, spacing and input language as product pages. */
.woocommerce-checkout main>h1,.woocommerce-cart main>h1{font-size:clamp(34px,4vw,52px);line-height:1.15;margin-bottom:24px}
.woocommerce-checkout #customer_details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-bottom:28px}
.woocommerce-checkout #customer_details::before,.woocommerce-checkout #customer_details::after{display:none}
.woocommerce-checkout #customer_details>.col-1,.woocommerce-checkout #customer_details>.col-2{float:none;width:auto;min-width:0;padding:24px;border:1px solid #c7e6cd;border-radius:18px;background:#f7fcf8}
.woocommerce-checkout #customer_details h3{font-size:25px;line-height:1.25;margin-top:0;margin-bottom:22px}
.woocommerce form .form-row textarea{border:1px solid #bbd8c1;border-radius:9px;min-height:112px;padding:12px;font:inherit}
.woocommerce-checkout #order_review_heading{margin-top:30px;margin-bottom:18px}
.woocommerce-checkout #order_review{margin-bottom:28px}
.woocommerce-checkout #payment{padding:8px;border:1px solid #c7e6cd}
.woocommerce-checkout .woocommerce-info,.woocommerce-cart .woocommerce-info{border-radius:10px;line-height:1.6}
@media(max-width:760px){.woocommerce-checkout #customer_details{grid-template-columns:minmax(0,1fr);gap:20px}.woocommerce-checkout #customer_details>.col-1,.woocommerce-checkout #customer_details>.col-2{padding:20px 14px}.woocommerce-checkout #customer_details h3{font-size:24px}.woocommerce-checkout form .form-row textarea{font-size:16px}}

/* Brand identity and comfortable collection/card spacing. */
@media(min-width:1101px){.os-collection-layout{grid-template-columns:320px minmax(0,1fr)}}
@media(min-width:761px) and (max-width:1100px){.os-collection-layout{grid-template-columns:280px minmax(0,1fr)}}
.os-filter-body{padding-inline:22px}.os-filter-drawer>summary{padding-inline:22px}
.os-filter-group>p{font-size:13px;line-height:1.6;margin:10px 0 0;color:#70665a}
.woocommerce ul.products li.product:not(.product-category){padding:16px;border:1px solid #d7ebdb;border-radius:17px;overflow:hidden}
.woocommerce ul.products li.product>a.woocommerce-loop-product__link{display:flex;flex-direction:column;flex:1;min-width:0}
.woocommerce ul.products li.product:not(.product-category) a img{margin:0 0 16px;border-radius:11px;width:100%}
.woocommerce ul.products li.product .woocommerce-loop-product__title{padding:0;margin:0 0 12px;min-height:2.9em;text-wrap:pretty;overflow-wrap:anywhere}
.woocommerce ul.products li.product .price{margin: auto 0 0;padding-top:6px;line-height:1.5}
.woocommerce ul.products li.product .os-card-stock{margin:9px 0 0}
.woocommerce ul.products li.product .button{margin:14px 0 0;max-width:100%;white-space:normal}
.woocommerce ul.products li.product .os-compare-pick{margin:10px 0 0;width:100%}
.os-brand-header{--os-brand-accent:#319b45;display:flex;align-items:center;justify-content:space-between;gap:30px;padding:30px 34px;margin:12px 0 28px;border:1px solid #d2e7d6;border-left:6px solid var(--os-brand-accent);border-radius:19px;background:#fafefb;box-shadow:0 9px 28px #35271606}
.os-brand-header h1{font-size:clamp(32px,3.6vw,48px);line-height:1.15;margin:0 0 10px}
.os-brand-header p{font-size:15px;line-height:1.6;margin:0;color:#6e6459;max-width:650px}
.os-brand-header .os-eyebrow{font-size:11px;letter-spacing:.13em;color:#75695c;margin-bottom:12px;display:block}
.os-brand-logo{display:grid;place-items:center;flex:0 0 240px;min-height:120px;padding:18px;background:#fff;border:1px solid #dceedf;border-radius:15px}
.os-brand-logo img{display:block;width:auto;height:auto;max-width:200px;max-height:105px;object-fit:contain}
@media(max-width:760px){
 .os-collection-layout{grid-template-columns:minmax(0,1fr)}
 .os-filter-body,.os-filter-drawer>summary{padding-inline:20px}
 .os-collection-filter-form :is(select,input[type=search],input[type=number]){font-size:16px}
 .woocommerce ul.products li.product:not(.product-category){padding:12px;border-radius:13px}
 .woocommerce ul.products li.product:not(.product-category) a img{margin-bottom:13px;padding:8px}
 .woocommerce ul.products li.product .woocommerce-loop-product__title{margin-bottom:10px;min-height:4.35em}
 .woocommerce ul.products li.product .os-card-stock{font-size:11px;padding:5px 7px;gap:5px}
 .woocommerce ul.products li.product .button{padding:10px;font-size:12px}
 .os-brand-header{align-items:flex-start;flex-direction:column-reverse;gap:20px;padding:23px 22px;margin:0 0 22px}
 .os-brand-header h1{font-size:32px}.os-brand-header p{font-size:14px}
 .os-brand-logo{flex-basis:auto;min-height:84px;padding:12px 18px;max-width:100%}
 .os-brand-logo img{max-width:170px;max-height:75px}
}
/* A grouped supplier label displays the relevant constituent brands together. */
.os-brand-header--group>div:first-child{min-width:0;flex:1}
.os-brand-header--group h1{font-size:clamp(25px,2.5vw,34px)}
.os-brand-logo--group{flex-basis:360px;grid-template-columns:repeat(var(--os-logo-columns,2),minmax(0,1fr));gap:18px;padding:20px}
.os-brand-logo--group img{max-width:100%;max-height:65px;min-width:0;width:100%;height:65px;object-fit:contain}
@media(max-width:760px){.os-brand-logo--group{flex-basis:auto;width:100%;max-width:360px;gap:14px;padding:16px}.os-brand-logo--group img{height:50px}.os-brand-header--group h1{font-size:25px}}
