/* Readability, keyboard navigation and a shorter path from the price list to checkout. */
:root{--muted:#566351;--rail:296px;--line:#cbd3c4}
html,body{font-size:15px;line-height:1.5}
button,input,select,textarea,a{-webkit-tap-highlight-color:transparent}
button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible{outline:3px solid #334e2e;outline-offset:3px}
button:disabled{cursor:not-allowed}
:where([tabindex='-1']):focus{outline:none}
.skip-link{position:fixed;top:8px;left:12px;z-index:100;padding:12px 16px;transform:translateY(-160%);background:#263c22;color:#fff;border:0;border-radius:5px;font-size:15px}
.skip-link:focus{transform:none}
.quiet{font-size:14px;min-height:44px;padding:10px 12px}
.header-actions{gap:6px}.header-actions #orderCount{font-size:12px;min-width:23px;display:inline-block}
.brand-text{font-size:13px;letter-spacing:1.2px}.brand-text small{font-size:10px;letter-spacing:1.3px}
.header-description{font-size:11px;letter-spacing:1px}.header-description>span{font-size:13px}
.app{grid-template-rows:minmax(0,1fr) auto}
.selector-scroll{padding:22px 18px}
.section-number,.section-number>span{font-size:12px;letter-spacing:.7px}
.select-label,.select-label[for=brandSelect]{font-size:13px;margin:17px 0 6px}
.select-wrap select{font-size:14px;min-height:46px;padding:11px 32px 11px 12px}
.select-wrap>span{top:8px}
.material-heading{margin:24px 0}.material-heading p{font-size:12px;letter-spacing:.6px;line-height:1.5}.material-heading h1{font-size:28px;line-height:1.16;overflow-wrap:anywhere}
.palette-heading>span{font-size:12px}.palette{gap:14px 9px}
.swatch-img img{height:90px}.swatch .swatch-code{font-size:12px;line-height:1.4}.swatch .swatch-name{font-size:12px;line-height:1.4;margin-top:3px}
.check{width:20px;height:20px;font-size:12px}
.specs{font-size:12px;line-height:1.5}.specs>div{grid-template-columns:76px 1fr}.selector-foot{font-size:11px}
.price-selection-link{font-size:14px;min-height:46px;padding:10px;line-height:1.5}
.texture-caption .small-label{font-size:10px;letter-spacing:.6px}.texture-caption>div,.texture-caption #texturePosition{font-size:12px}
.macro-indicator{font-size:12px;padding:10px;min-height:36px}
.scene-label{font-size:12px;letter-spacing:.3px;background:#fffef9;line-height:1.4;max-width:calc(100% - 132px)}
.scene-label small{font-size:11px;color:#4c5944}
.view-controls button{min-height:44px;min-width:44px;font-size:13px;background:#fffef9}.view-controls #sceneZoom{font-size:21px}
.scene-bottom #sceneSource{font-size:12px}.scene-buttons{flex-wrap:wrap;justify-content:flex-end}
.scene-buttons button{width:44px;height:44px;font-size:13px;background:#25301fe8}
.bottom-bar{padding:10px 20px;gap:14px;min-height:70px;font-size:12px;align-items:center}
.bottom-bar>div:first-child{white-space:normal;max-width:300px;flex:1}.bottom-bar>p{font-size:12px;line-height:1.5;max-width:490px;flex:1.6}
.material-nav{gap:8px}.material-nav button{width:44px;height:44px;font-size:20px}.material-nav span{font-size:12px;min-width:46px}
img:not([src]){visibility:hidden}
#aboutDialog>p:not(.small-label){font-size:15px;line-height:1.75;color:#4e5d47}.about-stats small{font-size:12px}.about-download{font-size:14px;min-height:44px}
.lightbox-top small{font-size:13px}.lightbox-top button,.lightbox-palette button{min-width:44px;min-height:44px}
.zoom-toolbar,.zoom-toolbar button{font-size:13px}.zoom-toolbar button,.zoom-buttons>button:first-child,.zoom-buttons>#zoomIn{min-width:44px;min-height:44px}
.zoom-source>span,.zoom-hint{font-size:12px;color:#4f5f49}.lightbox-palette{font-size:14px;min-height:62px}
#notification{font-size:14px;line-height:1.5;bottom:24px;max-width:min(90vw,600px)}

.order-section{padding:0 clamp(20px,4vw,70px) 64px;scroll-margin-top:0}
.order-jumpbar{position:sticky;top:0;z-index:12;display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:24px;max-width:1500px;margin:0 auto 30px;padding:12px 0;background:#f5f5eef7;backdrop-filter:blur(10px);border-bottom:1px solid #bdc9b1}
.order-back{justify-self:start;border:0;background:transparent;font-size:14px;min-height:44px;padding:10px 0;text-align:left;color:#344b2c;text-decoration:underline;text-underline-offset:4px}
.order-jump-total{text-align:right;font-variant-numeric:tabular-nums}.order-jump-total span{font-size:12px;color:#52634a;display:block}.order-jump-total strong{font-size:20px;font-weight:600;overflow-wrap:anywhere;display:block}
.order-jumpbar .order-primary{width:auto;min-width:124px;font-size:14px;padding:11px 18px}
.order-heading h2{font-size:clamp(34px,4vw,50px);scroll-margin-top:110px}.order-heading>p{font-size:16px;line-height:1.65;color:#4e5e46;max-width:480px}.order-heading .small-label{font-size:12px;letter-spacing:1px;color:#4d6144}
.order-layout{grid-template-columns:minmax(0,1.12fr) minmax(390px,.88fr);gap:28px}
.order-search-box{padding:22px}.order-search-box>label{font-size:16px;line-height:1.5}
.order-section input:not([type=checkbox]),.order-section select,.order-section textarea{font-size:16px!important;line-height:1.45;min-height:46px;padding:10px 12px;border-color:#9fac94;scroll-margin-block:120px}
.order-section input::placeholder,.order-section textarea::placeholder{color:#65725b;opacity:1}
.order-filters{grid-template-columns:1fr 1fr;gap:14px}.order-filters>label:last-child{grid-column:1/-1}
.order-filters label,.order-customer-fields label{font-size:14px;line-height:1.5;color:#3f5138}
.order-filters select{margin-top:6px}.order-search-meta{font-size:13px;gap:12px;flex-wrap:wrap}.order-search-meta button{font-size:13px;min-height:40px;border:0;text-decoration:underline;text-underline-offset:4px;color:#3e5735}
#orderSelectionFilter{font-size:13px;align-items:center}#orderSelectionFilter button{font-size:13px;min-height:40px}
.order-results{gap:14px}.order-product{grid-template-columns:68px minmax(0,1fr);padding:20px;gap:12px 16px}
.order-product-image{width:68px;height:84px}.order-product-heading>small{font-size:12px;letter-spacing:.15px;line-height:1.5;color:#52634a;display:block}
.order-product h4{font-size:23px;line-height:1.2;margin:7px 0}.order-product .order-finish{font-size:14px;line-height:1.5;color:#405536;overflow-wrap:anywhere}.order-product .order-original{font-size:12px;line-height:1.5;color:#58664f}
.order-product-bottom{display:grid;grid-template-columns:1fr;gap:16px;align-items:end;margin-top:5px}
.order-product-price small{font-size:14px;color:#465b3b;margin-bottom:3px}.order-product-price strong{font-size:23px;white-space:normal}.order-unit{font-size:14px;font-weight:400;white-space:nowrap}
.order-add-controls{margin-left:0;justify-content:space-between;gap:12px}.order-add-controls label{font-size:13px;color:#465c3c;flex:1}.order-add-controls input{width:100%!important;max-width:140px;padding:10px!important;margin-top:5px}
.order-add-controls button{font-size:15px;min-height:46px;min-width:130px;padding:10px 18px}
.order-product-note,.order-line-shade{font-size:14px;color:#415b35;line-height:1.5}
.order-product-feedback{grid-column:1/-1;margin:0;font-size:13px;line-height:1.5;color:#34522a}.order-product-feedback:empty{display:none}.order-product-feedback:not(:empty){padding-top:10px;border-top:1px solid #d8e0d0}.order-product-feedback.error{color:#943b26}
.order-source-note,.order-empty{font-size:14px;line-height:1.7;color:#53634a}
.order-secondary{font-size:14px;min-height:46px;padding:11px 14px;border-color:#91a080;background:#f8faf1}
.order-summary{position:static;padding:26px;scroll-margin-top:100px;border-color:#bdc9b1}
.order-summary h3{font-size:30px}.order-cart-heading>span{font-size:13px;color:#53664a}
.order-line-title h4{font-size:16px;line-height:1.5}.order-line-title button{min-height:44px;min-width:44px;font-size:25px;margin:-8px -8px 0 0;border-radius:4px}.order-line-title button:hover{background:#edf1e7}
.order-cart-line p{font-size:13px;color:#53664a;line-height:1.5;overflow-wrap:anywhere}
.order-line-math{grid-template-columns:108px minmax(0,1fr);gap:8px 12px;align-items:end}.order-line-math>label{grid-column:1;grid-row:1/3;font-size:13px;color:#455e39}.order-line-math input{padding:10px!important}.order-line-math>strong{grid-column:2;grid-row:1;font-size:20px;padding:0;text-align:right;white-space:normal;overflow-wrap:anywhere}.order-line-math>span{grid-column:2;grid-row:2;text-align:right;padding:0;font-size:13px;color:#4d6341}
.order-total>div{align-items:start;flex-wrap:wrap;gap:8px}.order-total span{font-size:14px;color:#435a38}.order-total strong{font-size:34px;white-space:normal;overflow-wrap:anywhere;line-height:1.2}.order-total>p{font-size:14px;color:#4d6440}
.order-action-hint,.order-form-help{font-size:14px;color:#4e6243;line-height:1.6;margin:0 0 18px}
.order-document-actions{flex-wrap:wrap;gap:10px}.order-document-actions>button{font-size:14px;padding:12px;flex:1 1 150px}
.order-summary form h3{font-size:27px;margin:26px 0 12px}.order-customer-fields{grid-template-columns:1fr;gap:18px}.order-field-wide{grid-column:1/-1}.order-customer-fields small{font-size:12px;color:#56684c;display:inline-block}.order-customer-fields input,.order-customer-fields textarea{margin-top:6px}.order-customer-fields #orderPhoneHelp{display:block;margin-top:6px}
.order-consent{font-size:14px;line-height:1.6;gap:12px;color:#415738;padding:6px 0}.order-consent input{width:22px;height:22px;margin-top:1px;outline-offset:5px}
.order-primary{font-size:16px;min-height:48px;padding:13px;line-height:1.5}.order-primary:hover:disabled{background:#52694b}
.order-secondary:disabled,.order-primary:disabled{opacity:1;color:#526047;background:#e6ebdf;border-color:#b7c3ab}
.order-status,.order-feedback,.order-receipt{font-size:14px;line-height:1.6;color:#4b6140}.order-receipt{font-variant-numeric:tabular-nums}.order-field-error{font-size:14px;color:#963c28;line-height:1.5;margin-top:7px;display:block}
.order-summary input[aria-invalid=true],.order-product input[aria-invalid=true]{border:2px solid #a1442b!important}.order-summary input[type=checkbox][aria-invalid=true]{outline:2px solid #a1442b}
#orderNew{width:100%;margin-top:18px}.order-feedback.error{color:#863621}
@media(min-width:1300px){.order-product-bottom{grid-template-columns:1fr auto}.order-add-controls{gap:10px}.order-add-controls input{width:100px!important}.order-add-controls button{min-width:110px;padding:10px 13px}.order-filters{grid-template-columns:1fr 1fr 1fr}.order-filters>label:last-child{grid-column:auto}}
@media(min-width:1500px){.order-customer-fields{grid-template-columns:1fr 1fr}}
@media(max-width:1100px){:root{--rail:266px}.header-description{display:none}.topbar{padding:0 20px}.brand{gap:12px}.order-section{padding-inline:22px}.order-layout{grid-template-columns:minmax(0,1fr) minmax(350px,1fr);gap:20px}.order-summary{padding:22px}.order-product{padding:18px}.bottom-bar>div:first-child{max-width:230px}}
@media(max-width:900px){.order-layout{grid-template-columns:1fr;gap:28px}.order-section{padding-inline:22px}.order-product-bottom{grid-template-columns:1fr auto}.order-add-controls input{width:110px!important}.order-add-controls button{min-width:120px}.order-customer-fields{grid-template-columns:1fr 1fr}.order-summary{scroll-margin-top:100px}.header-actions{gap:0}.brand-text{font-size:11px;letter-spacing:.6px}.quiet{font-size:13px;padding:9px}.bottom-bar>div:first-child{display:none}.bottom-bar>p{max-width:none}.scene-top{left:10px;right:10px}.scene-label{font-size:11px}.scene-label small{font-size:10px}}
@media(max-width:760px){
 .topbar{height:auto;min-height:72px;padding:10px 14px;gap:12px}.brand{gap:9px}.brand-mark{font-size:34px}.brand-text{font-size:10px;letter-spacing:.4px}.brand-text small{font-size:9px;letter-spacing:.5px}.header-actions #aboutButton{display:none}.header-actions #orderNav{font-size:14px;min-height:44px;padding:8px}.header-actions #exportButton{min-height:44px;min-width:44px;padding:8px}.header-actions #exportButton>span{font-size:24px}
 .selector-scroll{padding:18px 16px 14px;gap:7px 12px}.select-label,.select-label[for=brandSelect]{font-size:13px;margin:0}.select-wrap select,.brand-select select{font-size:16px;height:46px;min-height:46px;padding:10px 30px 10px 10px}
 .material-heading{margin:12px 0 4px;display:block}.material-heading p{font-size:12px;max-width:none;letter-spacing:.2px;line-height:1.5;margin:0 0 5px}.material-heading h1{font-size:28px;line-height:1.15}
 .palette-heading{margin:12px 0 4px}.palette-heading .section-number,.palette-heading .section-number span,.palette-heading>span{font-size:12px}
 .palette{gap:12px;padding:4px 3px 10px}.swatch{width:84px;flex-basis:84px}.swatch-img img{height:85px}.swatch .swatch-code,.swatch .swatch-name{font-size:12px;line-height:1.35}.swatch .swatch-name{min-height:32px}
 .specs{font-size:12px;padding-top:12px;gap:12px}.specs>div{min-width:100px}.specs dt{margin-bottom:4px}.price-selection-link{font-size:14px;margin:10px 0 0;min-height:46px}
 .viewer{height:clamp(430px,65dvh,660px);grid-template-columns:30% minmax(0,1fr);padding:0 8px 8px;gap:6px}
 .texture-caption{padding:12px 8px;left:5px;right:5px;bottom:7px}.texture-caption .small-label{font-size:9px;line-height:1.4;letter-spacing:.15px}.texture-caption h2{font-size:18px;line-height:1.15;margin:8px 0 10px}.texture-caption>div,.texture-caption #texturePosition{font-size:12px}
 .macro-indicator{font-size:11px;padding:8px 6px;top:8px;right:5px;min-height:34px}
 .scene-label{font-size:11px;line-height:1.4;max-width:none;padding:8px;flex:1}.scene-label small{font-size:10px;display:inline-block;line-height:1.35}.scene-top{left:7px;right:7px;top:8px;align-items:start;flex-wrap:wrap;gap:5px}.view-controls{width:100%;justify-content:flex-end}.view-controls button{font-size:12px;min-height:44px;padding:9px}.view-controls #sceneZoom{font-size:21px;min-width:44px}.scene-bottom{left:12px;right:12px;bottom:16px}.scene-bottom p{font-size:24px}.scene-bottom #sceneSource{font-size:12px}.scene-buttons{justify-content:start;gap:8px}.scene-buttons button{width:44px;height:44px;font-size:13px}
 .bottom-bar{padding:12px 16px;gap:10px}.bottom-bar>p{font-size:12px;line-height:1.6;grid-column:1/-1}.material-nav{grid-column:1/-1;justify-content:space-between;min-height:44px}.material-nav button{width:44px;height:44px}.material-nav span{font-size:13px}
 .zoom-toolbar{padding:10px;display:block}.zoom-buttons{gap:5px;flex-wrap:wrap}.zoom-buttons button{font-size:12px;padding:8px}.zoom-source{gap:8px;flex-wrap:wrap;margin-top:10px}.zoom-source>span,.zoom-source button{font-size:12px}.zoom-source button{min-height:44px}.zoom-hint{font-size:11px;line-height:1.5}.lightbox-top span{font-size:22px}.lightbox-top small{font-size:12px}.lightbox-palette{font-size:13px;gap:12px}
 .order-section{padding:0 16px 40px}.order-jumpbar{gap:10px;padding:10px 0;margin-bottom:26px;grid-template-columns:auto minmax(0,1fr) auto}.order-back{font-size:13px}.order-jump-total span{font-size:12px}.order-jump-total strong{font-size:17px}.order-jumpbar .order-primary{min-width:96px;padding:10px 12px;font-size:14px}
 .order-heading h2{font-size:36px;scroll-margin-top:105px}.order-heading>p{font-size:15px;margin-top:14px}.order-heading .small-label{font-size:11px}.order-layout{grid-template-columns:1fr;gap:28px}.order-search-box{padding:18px}.order-filters{grid-template-columns:1fr;gap:12px}.order-filters>label:last-child{grid-column:auto}
 .order-product{grid-template-columns:60px minmax(0,1fr);padding:18px;gap:12px}.order-product-image{width:60px;height:76px}.order-product h4{font-size:22px}.order-product-bottom{grid-template-columns:1fr;gap:14px}.order-product-price strong{font-size:24px}.order-add-controls{gap:12px}.order-add-controls label{font-size:14px}.order-add-controls input{width:100%!important;max-width:140px}.order-add-controls button{min-width:126px;font-size:15px;padding:10px 16px}
 .order-summary{padding:22px 18px;scroll-margin-top:105px}.order-summary h3{font-size:29px}.order-line-math{grid-template-columns:100px minmax(0,1fr)}.order-line-math>label{grid-column:1;grid-row:1/3}.order-line-math>strong{grid-column:2;grid-row:1;font-size:20px;padding:0}.order-line-math>span{grid-column:2;grid-row:2;font-size:13px;padding:0;text-align:right}.order-total strong{font-size:31px}.order-customer-fields{grid-template-columns:1fr}.order-document-actions>button{font-size:14px}.order-summary form h3{font-size:26px}
}
@media(max-width:360px){.brand-text small{font-size:8px}.brand-text{font-size:9px}.brand-mark{font-size:30px}.header-actions #orderNav{font-size:13px;padding:6px}.order-section{padding-inline:12px}.order-jumpbar{gap:8px}.order-back{font-size:12px}.order-jumpbar .order-primary{min-width:86px;padding-inline:8px;font-size:13px}.order-jump-total strong{font-size:15px}.order-summary{padding:20px 16px}.order-line-math{grid-template-columns:90px minmax(0,1fr)}.order-line-math>strong{font-size:18px}.texture-caption h2{font-size:17px}}
/* Keep palette images aligned even when colour names occupy several lines. */
.swatch{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start}
.swatch .swatch-name{hyphens:auto}.scene-bottom>div:first-child{background:#1c2819ed;padding:12px 14px;border-radius:4px;max-width:min(100%,430px)}
@media(min-width:1101px){:root{--rail:320px}}
@media(min-width:761px) and (max-width:1100px){.palette{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.swatch{width:96px;flex-basis:96px}.scene-bottom>div:first-child{padding:10px 12px}}
@media(min-width:390px) and (max-width:760px){.order-filters{grid-template-columns:1fr 1fr}.order-filters>label:last-child{grid-column:1/-1}}
.order-document-actions{flex-direction:row}
.order-results-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin:22px 0 12px;scroll-margin-top:100px}
.order-results-heading h3{font:400 24px/1.25 Georgia,serif;margin:0}.order-results-heading .order-back{font-size:13px}
.close-about{min-width:44px;min-height:44px}
.order-search-meta{color:#4e6143}
#aboutMobileButton{display:none}
@media(max-width:760px){#aboutMobileButton{display:block;grid-column:1/-1;font-size:13px;text-align:left;padding-left:0;text-decoration:underline;text-underline-offset:4px}}
/* Add the viewed shade without leaving the visualiser. */
.texture-caption .texture-order-actions{display:grid;gap:8px;margin-top:12px;pointer-events:auto}
.texture-order-actions button{min-height:44px;width:100%;font-family:inherit;font-size:13px;line-height:1.4;font-weight:500;border-radius:4px;overflow-wrap:anywhere;white-space:normal}
#selectedArticle{background:transparent;border:0;text-align:left;padding:0;color:#344e2c;text-decoration:underline;text-underline-offset:3px;min-height:32px;font-size:13px;line-height:1.4}
#selectedArticle:disabled{text-decoration:none;color:#566351}
#addSelectedMaterial{border:1px solid #344d2c;background:#344d2c;color:white;padding:10px 12px;font-size:14px;line-height:1.3}
#addSelectedMaterial:disabled{background:#e6ebdf;border-color:#b7c3ab;color:#526047}
#quickOrderDialog{width:min(520px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:28px;border:1px solid #bdc9b1;border-radius:10px;background:#faf9f2;color:#24301f;box-sizing:border-box;overflow:auto}
#quickOrderDialog::backdrop{background:#1723129c}
.quick-order-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.quick-order-head p{margin:0;font-size:11px;color:#52634a;letter-spacing:1px}.quick-order-head button{border:0;background:transparent;width:44px;height:44px;font-size:28px;margin:-12px -12px 0 0;color:#334e2e}
#quickOrderTitle{font:400 32px/1.15 Georgia,serif;margin:14px 0 10px;overflow-wrap:anywhere}
#quickOrderShade{font-size:15px;line-height:1.5;margin:0 0 24px;color:#4c6142;overflow-wrap:anywhere}
#quickOrderDialog label,#quickOrderDialog .quick-order-fields span{display:block;font-size:14px;color:#415738;margin-bottom:6px}
#quickOrderDialog select,#quickOrderDialog input:not([type=hidden]){box-sizing:border-box;display:block;width:100%;min-height:48px;padding:10px 12px;background:#fffef9;border:1px solid #9fac94;border-radius:4px;color:#24301f;font-family:inherit;font-size:16px;line-height:1.5}
#quickOrderArticle{font-size:14px;color:#4c6142;margin:12px 0 22px;overflow-wrap:anywhere}
.quick-order-fields{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:center}.quick-order-fields label{margin:0!important}.quick-order-fields input{margin-top:6px}.quick-order-fields strong{font-size:23px;font-weight:500}
.quick-order-total{display:flex;justify-content:space-between;gap:16px;align-items:center;margin:24px 0 18px;border-top:1px solid #cbd3c4;padding-top:18px}.quick-order-total span{font-size:14px;color:#415738}.quick-order-total strong{font-size:27px;font-weight:500;text-align:right}
#quickOrderAdd{width:100%;margin-top:12px}.quick-order-footer{display:flex;gap:10px;margin-top:14px}.quick-order-footer button{flex:1;padding:10px;line-height:1.4}.quick-order-note{font-size:12px;line-height:1.6;color:#52634a;margin:16px 0 0}
#quickOrderArea[aria-invalid=true]{border:2px solid #a1442b!important}
@media(max-width:760px){.texture-order-actions{gap:5px!important;margin-top:8px!important}#selectedArticle{font-size:11px}#addSelectedMaterial{font-size:12px;padding:9px 5px}.texture-caption h2{font-size:17px}}
@media(max-width:390px){#quickOrderDialog{padding:20px}#quickOrderTitle{font-size:28px}.quick-order-fields{gap:12px}.quick-order-fields strong{font-size:20px}.quick-order-total strong{font-size:24px}}
