.account-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-inline-start:auto}.account-actions .button{white-space:nowrap;min-height:40px;padding-inline:12px;font-size:13px}@media(max-width:599px){.header-top{flex-wrap:wrap}.account-actions{flex:1 0 100%;justify-content:center;margin-block:8px}.account-actions .button{flex:1;padding-inline:8px;font-size:12px}}

@media(min-width:960px){.header-inner{grid-template-columns:minmax(160px,1fr) minmax(300px,650px) max-content}.account-actions{flex-wrap:nowrap;grid-column:3;grid-row:1}.main-navigation .collaboration-link{margin-inline-start:auto;border:1px solid #ffffff50;border-radius:10px;padding:8px 14px}}.mobile-navigation{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr)}
.product-menu-tree{list-style:none;margin:0;padding:0;min-width:0}.product-menu-panel>.product-menu-tree{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.product-menu-tree .product-menu-tree{margin:4px 10px 10px 0;padding-inline-start:12px;border-inline-start:1px solid #ded8c6}.product-menu-tree>.product-menu-category{font-weight:600}.product-menu-tree .product-menu-tree .product-menu-category{font-size:13px;padding-block:8px}@media(max-width:599px){.product-menu-panel>.product-menu-tree{grid-template-columns:1fr}}
@media(min-width:960px){.site-header .site-search{transform:translateX(24px)}}
@media(min-width:960px){.header-inner{grid-template-columns:minmax(160px,1fr) minmax(300px,650px) minmax(160px,1fr)}}
/* Mobile navigation and content proportions. Desktop layout stays in its own breakpoint. */
.products-panel-heading,.products-backdrop{display:none}
.products-backdrop[hidden],.products-mobile-panel[hidden]{display:none!important}
@media(max-width:959px){
 body.products-open{overflow:hidden}
 .products-backdrop:not([hidden]){display:block;position:fixed;inset:0;border:0;background:#17231670;z-index:1090;backdrop-filter:blur(3px);cursor:pointer}
 .product-menu-panel.products-mobile-panel{position:fixed;inset:auto 12px calc(78px + env(safe-area-inset-bottom));width:auto;max-width:560px;max-height:70vh;max-height:70dvh;margin-inline:auto;overflow:auto;overscroll-behavior:contain;z-index:1100;padding:18px;border:1px solid #d9ddcb;border-radius:20px;background:#fffdf5;color:#293c25;box-shadow:0 16px 48px #10200b40;display:block}
 .products-mobile-panel .products-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;border-bottom:1px solid #e4e5d7;padding-bottom:12px}
 .products-panel-heading h2{font:inherit;font-weight:700;font-size:17px;margin:0}
 .products-panel-heading button{border:0;background:#eaf0dd;color:#354a35;border-radius:12px;width:42px;height:42px;font-size:28px;line-height:1;cursor:pointer}
 .products-mobile-panel>.product-menu-tree{display:block}
 .products-mobile-panel .product-menu-category{display:flex;align-items:center;justify-content:space-between;min-height:46px;padding:10px 12px;border-radius:10px;color:#293c25;text-decoration:none;gap:12px;font-size:15px;white-space:normal;overflow-wrap:anywhere}
 .products-mobile-panel .product-menu-category:hover,.products-mobile-panel .product-menu-category:focus-visible{background:#edf2e3}
 .products-mobile-panel .product-menu-tree .product-menu-tree{margin-inline:12px 0;padding-inline-start:12px;border-inline-start:2px solid #dce5c9}
 .products-mobile-panel .product-menu-tree .product-menu-tree a{font-size:14px}
 .mobile-navigation{padding-bottom:calc(8px + env(safe-area-inset-bottom));min-height:68px}
}
@media(max-width:599px){
 .header-inner{row-gap:12px;padding-block:16px}
 .account-actions{gap:8px;margin-block:0}
 .account-actions .button{min-height:40px;border-radius:12px}
 .site-search{margin-block:0}
 .search-field{min-height:46px}
 .hero-inner{min-height:0!important;padding-block:24px 30px;gap:20px}
 .hero-art{width:min(64vw,250px);max-width:100%;margin-inline:auto}
 .hero-art img{display:block;width:100%;height:auto;max-height:235px;object-fit:contain}
 .hero-copy{min-width:0}
 .hero-copy h1,.hero-copy h2{font-size:clamp(24px,6.6vw,32px);line-height:1.5;text-wrap:balance;margin-block:0 12px}
 .hero-copy p{font-size:14px;line-height:1.9;margin-block:0 18px}
 .hero-copy .button{width:100%;min-height:46px}
 .photo-slider{min-height:150px;height:auto;margin-block:16px}
 .photo-slide{min-height:150px}
 .page-intro h1{font-size:28px;line-height:1.5;overflow-wrap:anywhere}
 .product-layout,.product-overview,.product-gallery,.product-grid>*,.account-layout>*{min-width:0}
 .product-image,.product-hero-image{max-width:100%;height:auto}
 .product-card h3{font-size:18px;line-height:1.6;overflow-wrap:anywhere}
 .product-link p{font-size:12px;line-height:1.8;overflow-wrap:anywhere}
 .product-tabs{display:flex;overflow-x:auto;gap:8px;white-space:nowrap}
 .form-control,.a-input,input[type=search]{max-width:100%;font-size:16px}
 .summary-list dd,.summary-list dt{overflow-wrap:anywhere}
 .profile-layout,.account-layout,.checkout-layout,.cart-layout{grid-template-columns:minmax(0,1fr)}
 .related-shelf-heading,.section-heading{flex-wrap:wrap;gap:12px}
}
@media(max-width:599px){.product-hero-image{height:min(72vw,260px);min-height:0;overflow:hidden}.product-hero-image img{height:100%;max-height:260px;object-fit:contain}.product-thumbnails{display:flex;gap:8px;overflow-x:auto;padding-block:8px}.product-thumbnails button{flex:0 0 64px;width:64px;height:64px;padding:4px;border-radius:12px}.product-thumbnails img{display:block;width:100%;height:100%;object-fit:contain}}
.field-validation-valid,.validation-summary-valid{display:none}
/* Mobile-first cards: shared rows, equal actions, and text that stays inside its box. */
.product-grid,.catalog-grid,.related-shelf-grid{display:grid;grid-template-columns:minmax(0,1fr);grid-auto-rows:1fr;align-items:stretch;gap:16px}
.article-grid{display:grid;grid-template-columns:minmax(0,1fr);grid-auto-rows:1fr;align-items:stretch;gap:20px}
.product-card,.article-card{min-width:0;height:100%}
.product-link,.article-card>a{display:flex;flex-direction:column;min-width:0;height:100%;white-space:normal}
.product-link h3,.article-card h3{min-height:3.2em;line-height:1.6;overflow-wrap:anywhere;margin-block:8px}
.product-link .product-category{min-height:1.8em;line-height:1.8;overflow-wrap:anywhere}
.product-link>p:not(.product-category){min-height:3.6em;line-height:1.8;overflow-wrap:anywhere}
.product-link .product-action{display:flex;align-items:center;justify-content:center;min-height:44px;margin-block-start:auto;line-height:1.6;text-align:center;white-space:normal;overflow-wrap:anywhere}
.button,.filter-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;max-width:100%;line-height:1.6;text-align:center;white-space:normal;overflow-wrap:anywhere}
.product-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(88px,1fr));grid-auto-rows:1fr;gap:8px;width:100%}
.product-filters .filter-button{width:100%;height:100%;padding:8px 12px}
.form-control,select,textarea{box-sizing:border-box;min-width:0;max-width:100%}
.record-card{min-width:0}.record-card h3{line-height:1.6;overflow-wrap:anywhere}
.record-card form{display:flex;flex-wrap:wrap;align-items:end;gap:10px}.record-card form>label{flex:1;min-width:110px}.record-card select{width:100%;min-height:44px}
.summary-list>div{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;min-width:0}.summary-list dt,.summary-list dd{flex:1;min-width:0;overflow-wrap:anywhere}.summary-list dd{margin:0;text-align:end}
.two-column{display:grid;grid-template-columns:minmax(0,1fr);gap:24px}
.checkout-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:1fr;gap:8px}.checkout-steps>a{display:flex;align-items:center;justify-content:center;min-height:48px;text-align:center;white-space:normal;line-height:1.6;overflow-wrap:anywhere}
@media(min-width:360px){.product-grid,.catalog-grid,.related-shelf-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:600px){.product-grid,.catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.article-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-filters{display:flex;flex-wrap:wrap}.product-filters .filter-button{width:auto;flex:0 1 auto}}
@media(min-width:960px){.product-grid,.catalog-grid,.related-shelf-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.article-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.two-column{grid-template-columns:minmax(0,2fr) minmax(260px,1fr)}}
.product-link h3{min-height:0;margin-block:6px 4px;line-height:1.6}.product-link>p:not(.product-category){min-height:0;margin-block:0 10px;line-height:1.7}.product-link .product-category{min-height:0;margin-block:6px 0}
#product-name{margin-bottom:4px;line-height:1.5}#product-name+.product-price{margin-block:6px 10px;font-size:clamp(26px,6.5vw,36px);line-height:1.4}
.article-card .text-link{margin-block-start:auto;min-height:44px;display:inline-flex;align-items:center}.photo-slide{position:relative;overflow:hidden}.photo-slide>a{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:inherit;text-decoration:none}.photo-slide img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover}
