/* Keep the header and side menu in place while the catalogue scrolls. */
.catalogue-page{height:100vh;height:100dvh;overflow:hidden;display:grid;grid-template-rows:auto minmax(0,1fr)}
.catalogue-page>header{width:100%;max-width:none;margin:0;padding:16px 24px;z-index:60;background:var(--paper);box-shadow:0 2px 12px #193b3208}
.catalogue-page>main{width:100%;max-width:none;min-height:0;margin:0;padding:0;overflow:hidden}
.catalogue-page>footer{display:none}
.shop-experience{height:100%;display:grid;grid-template-columns:230px minmax(0,1fr);gap:0;min-height:0}
.menu-panel{min-width:0;min-height:0;padding:22px 14px 24px 20px;border-right:1px solid var(--line);overflow-y:auto;overscroll-behavior:contain}
.menu-panel h2{font-size:18px;margin:0 8px 18px}
.menu-links{display:block;font-size:14px}
.submenu-list{list-style:none;margin:0;padding:0}
.submenu-list .submenu-list{padding-left:10px;border-left:1px solid var(--line);margin:4px 0 4px 12px}
.menu-links a{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 10px;border-radius:6px;overflow-wrap:anywhere;text-decoration:none}
.menu-links a:hover,.menu-links a[aria-current=page]{background:var(--sage)}
.menu-links a[aria-current=page]{font-weight:700;box-shadow:inset 3px 0 var(--ink)}
.menu-links summary{display:grid;grid-template-columns:10px minmax(0,1fr) auto;gap:5px;align-items:center;cursor:pointer;padding:6px 4px;font-weight:600;list-style:none}
.menu-links summary::-webkit-details-marker{display:none}
.menu-links summary::before{content:'\25B8'}
.menu-links details[open]>summary::before{content:'\25BE'}
.menu-links summary a{display:block;padding:4px 6px;min-width:0}
.menu-links .muted{font-size:12px;white-space:nowrap}
.shop-catalog{min-width:0;min-height:0;padding:22px 24px 120px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.shop-catalog:focus-visible{outline:2px solid #517b62;outline-offset:-2px}
.product-back{margin-bottom:16px}
.shop-catalog .section-heading{margin:0 0 18px;gap:12px}
.shop-catalog .section-heading h1,.shop-catalog .section-heading h2{font-size:24px;font-family:inherit;letter-spacing:-.5px;line-height:1.3;margin:0;overflow-wrap:anywhere}
.shop-catalog .section-heading span{font-size:12px;white-space:nowrap}
.basket-notice{font-size:13px;margin:0 0 14px;overflow-wrap:anywhere}
.basket-notice:empty{margin:0}
.basket-notice.errors{padding:12px}
.shop-catalog .products{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,210px),260px));gap:16px;align-items:start}
.shop-catalog .products .product{aspect-ratio:1;min-width:0;display:grid;grid-template-rows:minmax(0,1fr) auto;border-radius:12px;box-shadow:0 2px 5px #193b3206;transition:box-shadow .15s,border-color .15s}
.shop-catalog .products .product:hover{border-color:#a5b8a8;box-shadow:0 4px 14px #193b3214}
.shop-catalog .products .product-image{height:auto;min-height:0;aspect-ratio:auto;padding:7px;background:#eeeee7}
.shop-catalog .products .product-image img{width:100%;height:100%;object-fit:contain}
.shop-catalog .products .placeholder{font-size:54px}
.shop-catalog .products .product-info{position:relative;padding:10px 12px 12px;min-width:0}
.shop-catalog .products .product-heading{display:flex;flex-wrap:nowrap;align-items:baseline;gap:8px}
.shop-catalog .products .product-heading h2{min-width:0;flex:1;font-size:14px;line-height:1.4;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.shop-catalog .products .product-heading a{text-decoration:none}
.shop-catalog .products .product-heading a:hover{text-decoration:underline}
.shop-catalog .products .product-heading strong{font-size:13px;white-space:nowrap}
.shop-catalog .products .product-sku{min-height:0;margin:3px 0 9px;font-size:11px;line-height:1.4;color:var(--muted)}
.shop-catalog .products .buy-row{display:flex;flex-wrap:nowrap;gap:6px;align-items:center}
.shop-catalog .products .buy-row input{width:44px;min-width:0;height:32px;padding:4px;font-size:12px}
.shop-catalog .products .add-button{flex:0 1 auto;min-width:0;height:auto;min-height:44px;padding:8px 12px;font-size:12px;white-space:normal}
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
/* Product details and gallery zoom. */
.product-detail.panel{max-width:900px}
.product-gallery{display:grid;grid-template-columns:58px minmax(0,1fr);gap:14px;align-items:start}
.gallery-thumbnails{display:flex;flex-direction:column;gap:8px;margin:0;max-height:480px;overflow-y:auto;overflow-x:hidden}
.gallery-thumbnails button{flex:0 0 auto;width:54px;height:58px;padding:2px;background:transparent;border:2px solid transparent;border-radius:5px}
.gallery-thumbnails button[aria-pressed=true]{border-color:var(--ink)}
.gallery-thumbnails img{width:100%;height:100%;object-fit:contain}
.gallery-preview{min-width:0}
.gallery-stage{display:block;width:100%;height:420px;padding:0;background:#f7f6f0;border-radius:8px;overflow:hidden;cursor:zoom-in}
.gallery-stage:hover{background:#f7f6f0}
.gallery-stage .gallery-main{display:block;width:100%;height:100%;object-fit:contain;transform-origin:var(--zoom-x,50%) var(--zoom-y,50%)}
.gallery-stage[aria-pressed=true]{cursor:zoom-out;touch-action:none}
.gallery-stage[aria-pressed=true] .gallery-main{transform:scale(2.5)}
.gallery-help{font-size:12px;color:var(--muted);line-height:1.5;margin:10px 0 0}
.product-description{white-space:pre-line}
.product-detail-price{font-weight:700;font-size:24px}
/* Floating basket. */
.shop-cart.panel{position:fixed;right:18px;bottom:18px;z-index:50;width:290px;max-width:calc(100vw - 32px);padding:14px 16px;margin:0;box-shadow:0 8px 32px #193b3230;border:1px solid #b7c5b9}
.cart-header{display:flex;align-items:center;justify-content:space-between;gap:12px}
.cart-header h2{margin:0;font-size:16px}
.cart-title-toggle{background:transparent;color:inherit;padding:0;min-height:32px;font:inherit;text-align:left}
.cart-title-toggle:hover{background:transparent;color:inherit}
.cart-toggle{padding:0;width:32px;height:32px;min-width:32px;line-height:1;font-size:22px}
#floating-cart-body{max-height:calc(75vh - 70px);overflow:auto;overscroll-behavior:contain;padding-top:10px}
#floating-cart-body[hidden]{display:none}
.shop-cart.is-minimized{width:220px}
.cart-items{list-style:none;padding:0;margin:0;max-height:35vh;overflow-y:auto}
.cart-items li{padding:12px 0;border-bottom:1px solid var(--line);font-size:13px;overflow-wrap:anywhere}
.cart-item-price{display:flex;justify-content:space-between;gap:10px;margin:5px 0;color:var(--muted)}
.cart-items .text-button{font-size:12px;padding:6px 0}
.cart-quantity{display:flex;align-items:center;gap:12px;margin:10px 0}
.cart-quantity button{padding:4px 10px;min-width:34px;min-height:34px;font-size:18px}
.cart-quantity span{min-width:20px;text-align:center}
.shop-cart .total{font-size:19px;margin-top:16px;padding-top:16px}
.checkout-button{width:100%;text-align:center}
button:disabled{opacity:.6;cursor:wait}
.checkbox-label{display:flex;align-items:center;gap:10px;margin:20px 0}
.checkbox-label input{width:auto}
.payment-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:24px}
@media(max-width:800px){.catalogue-page>header{padding:12px 16px;gap:10px}.catalogue-page>header nav{gap:12px}.shop-experience{grid-template-columns:180px minmax(0,1fr)}.menu-panel{padding:18px 8px 20px}.shop-catalog{padding:18px 16px 120px}.gallery-stage{height:320px}}
@media(max-width:540px){.catalogue-page>header .brand{font-size:15px}.catalogue-page>header nav{font-size:12px;gap:12px;flex-wrap:wrap}.shop-experience{grid-template-columns:118px minmax(0,1fr)}.menu-panel{padding:16px 4px}.menu-panel h2{font-size:16px;margin:0 6px 12px}.menu-links{font-size:12px}.menu-links a{padding:8px 6px;gap:4px}.menu-links summary{padding:4px 0;gap:2px;grid-template-columns:8px minmax(0,1fr) auto}.menu-links summary a{padding:4px}.submenu-list .submenu-list{margin-left:5px;padding-left:4px}.menu-links .muted{font-size:10px}.shop-catalog{padding:16px 10px 120px}.shop-catalog .section-heading{flex-wrap:wrap;gap:4px;margin-bottom:12px}.shop-catalog .section-heading h1,.shop-catalog .section-heading h2{font-size:19px}.shop-catalog .products{grid-template-columns:minmax(0,260px);gap:12px}.shop-catalog .products .product-info{padding:8px}.shop-catalog .products .product-heading{gap:4px}.shop-catalog .products .product-heading h2{font-size:12px}.shop-catalog .products .product-heading strong{font-size:12px}.shop-cart.panel{right:12px;bottom:12px}.product-gallery{grid-template-columns:38px minmax(0,1fr);gap:6px}.gallery-thumbnails button{width:36px;height:40px}.gallery-stage{height:220px}.product-detail.panel{padding:10px}}
/* Basket quantity and structured checkout sections. */
.header-basket{position:relative;display:inline-flex;align-items:center;gap:5px}
.basket-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#b44532;color:#fff;font-size:11px;font-weight:750;line-height:1;transform:translateY(-7px)}
.basket-count[hidden]{display:none}
.checkout-sections{min-width:0;display:grid;gap:20px}
.checkout-sections .panel{margin:0}
.checkout-sections h2{margin:0 0 16px;padding-bottom:12px;border-bottom:1px solid var(--line)}
.checkout-sections h3{font-size:15px;margin:18px 0 8px}
.address-locality{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.checkout-sections select{width:100%;padding:12px;border:1px solid #bcc9be;border-radius:6px;background:white;color:var(--ink);font:inherit}
.checkout-sections select:focus{outline:2px solid #517b62;outline-offset:2px}
.address-country{font-size:13px;color:var(--muted);margin:14px 0 0}
#delivery-address[hidden]{display:none}
@media(max-width:400px){.address-locality,.payment-fields{grid-template-columns:1fr}}
.payment-type-options{margin:16px 0;border:0;padding:0}.payment-type-options legend{font-size:13px;font-weight:650}.payment-type-option{display:flex;align-items:center;gap:10px;width:fit-content;padding:12px 16px;border:1px solid var(--line);border-radius:7px;cursor:pointer}.payment-type-option input{width:auto;margin:0;accent-color:var(--ink)}.payment-type-option:has(input:checked){background:var(--sage);border-color:var(--ink)}
.checkout-error-summary{padding:16px}.checkout-error-summary p{margin:0;font-weight:650}.checkout-error-summary ul{margin:8px 0 0;padding:0 0 0 20px}.checkout-field-error{display:block;color:#a53628;font-size:13px;margin-top:5px}.required-hint{font-size:12px;font-weight:400;color:var(--muted)}.checkout-sections [aria-invalid="true"]{border-color:#a53628}.checkout-sections input,.checkout-sections select{scroll-margin-top:30px}

.product-price{display:inline-flex;flex-wrap:wrap;align-items:baseline;gap:6px 10px}.product-price del{font-size:.8em;font-weight:600;color:var(--ink);text-decoration-thickness:1px}.product-price .sale-price{color:#9b3524;font-weight:700}.product-heading>.product-price,.product-heading>strong{white-space:normal}
.variant-options{border:0;padding:0;margin:24px 0 12px;min-width:0}
.variant-options legend{font-weight:700;margin-bottom:12px}
.variant-option-group{border:0;padding:0;margin:16px 0 24px;min-width:0}
.variant-option-group legend{font-size:15px}
[data-variant-selection]{font-weight:400}
.variant-choices{display:flex;flex-wrap:wrap;gap:10px}
.variant-choice{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:56px;min-height:46px;max-width:100%;padding:10px 16px;border:1px solid #91a49a;border-radius:8px;background:#fff;color:var(--ink);font:inherit;cursor:pointer;overflow-wrap:anywhere}
.variant-choice:hover:not(:disabled){border-color:var(--ink);background:#f2f6f0}
.variant-choice[aria-pressed="true"]{border-color:var(--ink);box-shadow:0 0 0 2px var(--ink);background:#edf3e9}
.variant-choice:focus-visible{outline:3px solid #517b62;outline-offset:4px}
.variant-image-choice{width:116px;padding:8px;justify-content:flex-start}
.variant-choice-image{display:flex;align-items:center;justify-content:center;width:100%;height:86px;background:#f7f7f2;border-radius:4px}
.variant-choice-image img{width:100%;height:100%;object-fit:contain}
.variant-choice-name{font-weight:600}
.variant-choice-price{font-size:13px}
.variant-choice-availability{font-size:11px;font-weight:400}
.variant-choice-availability:empty{display:none}
.variant-choice:disabled{opacity:1;border-style:dashed;border-color:#a5ada8;background:#f5f5f2;color:#69726d;cursor:not-allowed}
.variant-choice:disabled .variant-choice-name{text-decoration:line-through;text-decoration-thickness:2px}
.variant-option-group[data-variant-waiting="true"] .variant-choice:disabled .variant-choice-name{text-decoration:none}
.variant-choice:disabled img{opacity:.45;filter:grayscale(1)}
.variant-clear{font-size:13px}
.variant-clear[hidden]{display:none}
@media(max-width:540px){.variant-image-choice{width:calc((100% - 10px)/2);max-width:116px;min-width:0}}
.choose-options{display:block;text-align:center}.from-price{font-size:.8em;font-weight:500}[data-variant-status]{font-size:14px}.product-detail .add-button:disabled{cursor:not-allowed}
.stock-unavailable{display:block;color:#92372a;font-size:13px;font-weight:700;margin:6px 0}.product:has(.stock-unavailable){aspect-ratio:auto;min-height:260px}.add-button:disabled{cursor:not-allowed}

/* Make category navigation stand out from the product canvas. */
.menu-panel{background:var(--sage);border-right-color:#c1cfb9}
.menu-panel h2{font-weight:750;padding-bottom:12px;border-bottom:1px solid #c1cfb9}
.menu-links>.submenu-list>li+li{margin-top:10px}
.menu-links a{font-weight:650}
.menu-links .menu-category,.menu-links summary{min-height:44px;background:var(--paper);border:1px solid #c8d4c2;border-radius:9px;transition:background-color .15s,border-color .15s}
.menu-links summary{padding:8px 10px}
.menu-links summary a{background:transparent;border-radius:4px}
.menu-links .menu-category:hover,.menu-links summary:hover{background:#d3dfcb;border-color:#9db391}
.menu-links .muted{display:inline-flex;align-items:center;justify-content:center;min-width:22px;padding:1px 5px;border-radius:20px;background:#dfe7d9;color:#40583d;font-weight:700}
.menu-links .menu-category[aria-current=page],.menu-links summary:has(a[aria-current=page]){background:var(--ink);border-color:var(--ink);color:white;box-shadow:none}
.menu-links summary a[aria-current=page]{background:transparent;box-shadow:none;color:inherit}
.menu-links .menu-category[aria-current=page] .muted,.menu-links summary:has(a[aria-current=page]) .muted{background:#ffffff24;color:white}
.menu-links a:focus-visible,.menu-links summary:focus-visible{outline:3px solid #517b62;outline-offset:2px}
.menu-links .submenu-list .submenu-list{border-left:2px solid #b3c5a8}
@media(max-width:540px){.menu-links>.submenu-list>li+li{margin-top:8px}.menu-links summary{padding:7px 4px}.menu-links .muted{min-width:18px;padding:1px 4px}}
