/* Materials page only: preserve the original sample sheets and their colors. */
#wm-home .wm-finish-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:26px 22px;}
#wm-home .wm-swatch{min-width:0;}
#wm-home .wm-swatch-link{display:block;}
#wm-home .wm-swatch-image{display:block;overflow:hidden;border:1px solid #d5cebf;background:#faf8f3;}
#wm-home .wm-swatch-image img{display:block;width:100%;height:auto;object-fit:contain;}
#wm-home .wm-swatch h3{display:flex;justify-content:space-between;gap:8px;font:400 18px/1.5 Arial,sans-serif;margin-top:12px;}
#wm-home .wm-swatch h3 span{color:#854b34;flex-shrink:0;}
#wm-home .wm-swatch-link:hover h3{text-decoration:underline;text-underline-offset:4px;}
#wm-home .wm-species-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;}
#wm-home .wm-swatch-species{padding:24px;background:#faf8f3;border:1px solid #d5cebf;}
#wm-home .wm-swatch-species .wm-swatch-image{width:126px;max-width:100%;border:0;border-radius:50%;margin-bottom:20px;}
#wm-home .wm-swatch-species h3{font:28px/1.25 Georgia,serif;margin-top:0;margin-bottom:16px;}
#wm-home .wm-swatch-species>p{font-size:18px;line-height:1.7;color:#65685e;}
#wm-home .wm-fabric-tools{display:flex;flex-wrap:wrap;align-items:flex-end;gap:18px 24px;padding:22px;background:#f5f0e5;border:1px solid #d5cebf;margin-bottom:28px;scroll-margin-top:48px;}
#wm-home .wm-fabric-tools label{font-size:16px;display:block;max-width:400px;flex:1 1 260px;}
#wm-home .wm-fabric-tools input{display:block;width:100%;min-width:0;min-height:48px;padding:10px 12px;margin-top:8px;border:1px solid #b5ac9b;background:#faf8f3;color:#312c23;font:18px Arial,sans-serif;border-radius:0;}
#wm-home .wm-fabric-tools button{min-height:48px;padding:10px 16px;border:1px solid #b5ac9b;background:#faf8f3;color:#312c23;font-size:16px;cursor:pointer;}
#wm-home .wm-fabric-tools [role=status]{font-size:16px;line-height:1.5;align-self:center;margin-left:auto;}
#wm-home .wm-fabric-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:26px 18px;}
#wm-home .wm-fabric-grid .wm-swatch h3{font-size:18px;gap:4px;}
#wm-home .wm-fabric-empty{padding:28px;border:1px solid #b5ac9b;background:#f5f0e5;font-size:18px;line-height:1.7;}
#wm-home .wm-fabric-more{display:flex;margin:30px auto 0;cursor:pointer;}
#wm-home .wm-material-species{background:#e9e2d5;}
@media(max-width:1299px){#wm-home .wm-fabric-grid{grid-template-columns:repeat(6,minmax(0,1fr));}}
@media(max-width:1000px){#wm-home .wm-finish-grid{grid-template-columns:repeat(4,minmax(0,1fr));}#wm-home .wm-fabric-grid{grid-template-columns:repeat(4,minmax(0,1fr));}#wm-home .wm-species-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:600px){#wm-home .wm-finish-grid,#wm-home .wm-fabric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 16px;}#wm-home .wm-species-grid{grid-template-columns:1fr;}#wm-home .wm-swatch-species{padding:22px;}#wm-home .wm-fabric-tools{padding:20px;gap:14px;}#wm-home .wm-fabric-tools label{max-width:none;flex-basis:100%;}#wm-home .wm-fabric-tools [role=status]{margin-left:0;}#wm-home .wm-fabric-grid .wm-swatch h3{font-size:18px;}}
#wm-home.wm-materials .wm-mat-jump{grid-template-columns:repeat(5,minmax(0,1fr));}
#wm-home.wm-materials .wm-mat-jump a:first-child{padding-left:20px;}
@media(max-width:1100px){#wm-home.wm-materials .wm-mat-jump{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:760px){#wm-home.wm-materials .wm-mat-jump{grid-template-columns:1fr 1fr;}}
@media(max-width:480px){#wm-home.wm-materials .wm-mat-jump{grid-template-columns:1fr;}}
#wm-home .wm-storage-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;}
#wm-home .wm-storage-card{min-width:0;display:flex;flex-direction:column;border-bottom:1px solid #b9ae99;padding-bottom:24px;}
#wm-home .wm-storage-card .wm-storage-photo>a{height:270px;display:flex;align-items:center;justify-content:center;padding:12px;background:#fff;}
#wm-home .wm-storage-card .wm-storage-photo img{width:100%;height:100%;max-height:100%;object-fit:contain;}
#wm-home .wm-storage-card .wm-storage-photo figcaption{padding:14px 0 18px;}
#wm-home .wm-storage-info{display:flex;flex-direction:column;flex:1;}
#wm-home .wm-storage-info h3{font:28px/1.25 Georgia,serif;min-height:2.5em;margin-bottom:14px;}
#wm-home .wm-storage-info>p{font-size:18px;line-height:1.75;color:#65685e;}
#wm-home .wm-storage-info .wm-storage-price{margin-top:auto;padding-top:22px;color:#312c23;}
#wm-home .wm-storage-price span{display:block;font-size:15px;color:#65685e;margin-bottom:3px;}
#wm-home .wm-storage-price strong{font-size:23px;line-height:1.45;font-weight:600;}
@media(max-width:760px){#wm-home .wm-storage-grid{grid-template-columns:1fr;gap:32px;}#wm-home .wm-storage-info h3{min-height:0;}#wm-home .wm-storage-card .wm-storage-photo>a{height:280px;}}
#wm-home.wm-materials{--mat-line:#d5cebf;}
#wm-home .wm-mat-breadcrumbs{display:flex;flex-wrap:wrap;gap:12px;padding:20px 5.2%;font-size:15px;color:#65685e;}
#wm-home .wm-mat-breadcrumbs a{text-decoration:underline;text-underline-offset:4px;}
#wm-home .wm-mat-hero{display:grid;grid-template-columns:1.35fr 1fr;background:#27362c;color:#eee8d9;}
#wm-home .wm-mat-hero-copy{padding:58px 8%;}
#wm-home .wm-mat-hero h1{font:400 clamp(48px,5.3vw,76px)/1.05 Georgia,serif;letter-spacing:-2px;margin:24px 0;max-width:650px;}
#wm-home .wm-mat-hero-copy>p{font-size:19px;line-height:1.75;color:#d3d7c9;max-width:600px;margin-bottom:30px;}
#wm-home .wm-mat-hero-note{margin:38px 12% 38px 0;padding:32px;border:1px solid #687768;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;}
#wm-home .wm-mat-note-number{font:38px Georgia,serif;color:#d6c49e;}
#wm-home .wm-mat-hero-note h2{font-size:36px;line-height:1.2;margin:22px 0;}
#wm-home .wm-mat-hero-note p{font-size:18px;line-height:1.75;color:#d3d7c9;margin-bottom:24px;}
#wm-home .wm-mat-jump{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-bottom:1px solid var(--mat-line);scroll-margin-top:40px;}
#wm-home .wm-mat-jump a{padding:26px 20px;display:flex;align-items:center;gap:15px;font-size:18px;line-height:1.4;border-right:1px solid var(--mat-line);}
#wm-home .wm-mat-jump a:first-child{padding-left:20%;}
#wm-home .wm-mat-jump a:last-child{border-right:0;}
#wm-home .wm-mat-jump a:hover{background:#e9e2d5;}
#wm-home .wm-mat-jump span{font-size:14px;color:#854b34;}
#wm-home .wm-mat-jump b{font-weight:400;margin-left:auto;color:#854b34;}
#wm-home .wm-mat-color-note{display:flex;gap:20px;padding:28px 5.2%;background:#e9e2d5;font-size:17px;line-height:1.7;}
#wm-home .wm-mat-color-note>span{font:36px Georgia,serif;color:#854b34;}
#wm-home .wm-mat-color-note p{max-width:1040px;}
#wm-home .wm-material-section{scroll-margin-top:45px;border-bottom:1px solid var(--mat-line);}
#wm-home .wm-mat-lead{max-width:460px;font-size:18px;line-height:1.75;color:#65685e;}
#wm-home .wm-sample-sheet{margin:0;min-width:0;}
#wm-home .wm-sample-sheet>a{display:block;background:#fff;border:1px solid var(--mat-line);padding:16px;cursor:zoom-in;}
#wm-home .wm-sample-sheet img{width:100%;height:auto;object-fit:contain;max-width:100%;filter:none;}
#wm-home .wm-sample-sheet figcaption{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:18px 0 4px;font-size:16px;line-height:1.7;}
#wm-home .wm-sample-sheet figcaption p{max-width:760px;color:#65685e;}
#wm-home .wm-sample-sheet figcaption .text-link{white-space:nowrap;flex-shrink:0;font-size:16px;}
#wm-home .wm-mat-tip{display:grid;grid-template-columns:250px 1fr;gap:24px;padding:22px 26px;margin-top:25px;background:#e9e2d5;font-size:17px;line-height:1.7;}
#wm-home .wm-mat-tip strong{font-weight:600;}
#wm-home .wm-wood-details{margin-top:26px;}
#wm-home .wm-wood-details>p{margin-bottom:24px;}
#wm-home .wm-mat-fabric{background:#ede6d9;}
#wm-home .wm-mat-fabric .wm-mat-tip{background:#f5f0e5;}
#wm-home .wm-mat-split{display:grid;grid-template-columns:1fr minmax(0,500px);gap:7%;align-items:start;}
#wm-home .wm-mat-side h2{margin:18px 0 26px;}
#wm-home .wm-mat-side>p{font-size:18px;line-height:1.8;margin-bottom:24px;max-width:490px;}
#wm-home .wm-mat-checklist{padding-left:24px;font-size:18px;line-height:1.8;}
#wm-home .wm-mat-checklist li{padding-left:6px;margin:10px 0;}
#wm-home .wm-mat-muted{color:#65685e;}
#wm-home .wm-mat-handles-photo{max-width:500px;}
#wm-home .wm-mat-handles-photo .wm-sample-sheet>a{padding:12px;}
#wm-home .wm-mat-handles-photo figcaption{display:block;}
#wm-home .wm-mat-handles-photo figcaption p{margin-bottom:12px;}
#wm-home .wm-mat-storage{background:#ede6d9;}
#wm-home .wm-mat-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin-top:30px;}
#wm-home .wm-mat-options article{padding-top:22px;border-top:1px solid #b9ae99;}
#wm-home .wm-mat-options h3{font:28px/1.25 Georgia,serif;margin-bottom:16px;}
#wm-home .wm-mat-options p{font-size:18px;line-height:1.75;color:#65685e;}
#wm-home .wm-mat-how{background:#27362c;color:#eee8d9;scroll-margin-top:40px;}
#wm-home .wm-mat-how>h2{margin:16px 0 35px;}
#wm-home .wm-mat-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;}
#wm-home .wm-mat-steps article{border-top:1px solid #687768;padding-top:22px;}
#wm-home .wm-mat-steps span{font:32px Georgia,serif;color:#d6c49e;}
#wm-home .wm-mat-steps h3{font:28px/1.25 Georgia,serif;margin:18px 0;}
#wm-home .wm-mat-steps p{font-size:18px;line-height:1.75;color:#d3d7c9;margin-bottom:20px;}
#wm-home .wm-mat-faq>h2{margin:16px 0 30px;}
#wm-home .wm-sample-dialog{width:calc(100vw - 40px);max-width:1500px;height:calc(100dvh - 40px);max-height:calc(100dvh - 40px);padding:24px;border:0;background:#f5f0e5;color:#312c23;overflow:hidden;}
#wm-home .wm-sample-dialog[open]{display:flex;flex-direction:column;}
#wm-home .wm-sample-dialog::backdrop{background:rgba(20,28,23,.82);}
#wm-home .wm-sample-toolbar{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;}
#wm-home .wm-sample-toolbar h2{font-size:28px;margin-top:6px;letter-spacing:0;}
#wm-home .wm-sample-close{border:0;background:none;font-size:26px;min-width:44px;min-height:44px;cursor:pointer;}
#wm-home .wm-sample-controls{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:18px 0 12px;}
#wm-home .wm-sample-controls button{font-size:16px;min-height:44px;min-width:44px;padding:8px 13px;background:#faf8f3;color:#312c23;border:1px solid #b5ac9b;cursor:pointer;}
#wm-home .wm-sample-controls button[aria-pressed=true]{background:#27362c;color:#eee8d9;}
#wm-home .wm-sample-controls .text-link{margin-left:auto;font-size:16px;}
#wm-home .wm-sample-scale{font-size:15px;min-width:48px;}
#wm-home .wm-sample-instruction{font-size:15px;line-height:1.5;color:#65685e;margin-bottom:12px;}
#wm-home .wm-sample-stage{flex:1;min-height:0;min-width:0;overflow:auto;overscroll-behavior:contain;background:#fff;border:1px solid var(--mat-line);}
#wm-home .wm-sample-stage img{display:block;height:auto;width:auto;max-width:none;object-fit:contain;margin:0 auto;}
#wm-home .wm-sample-stage.is-fit img{max-width:100%;max-height:100%;height:auto;width:auto;}
#wm-home .wm-sample-status{font-size:15px;line-height:1.5;margin-top:8px;}
#wm-home .wm-sample-dialog button:focus-visible,#wm-home .wm-sample-dialog a:focus-visible{outline:2px solid #854b34;outline-offset:3px;}
@media(max-width:1000px){#wm-home .wm-mat-hero{grid-template-columns:1.2fr 1fr;}#wm-home .wm-mat-hero-note{padding:24px;margin-right:8%;}#wm-home .wm-mat-hero-note h2{font-size:30px;}#wm-home .wm-mat-jump{grid-template-columns:1fr 1fr;}#wm-home .wm-mat-jump a{padding:22px 10.4%!important;border-bottom:1px solid var(--mat-line);}#wm-home .wm-mat-split{gap:30px;grid-template-columns:1fr 1fr;}}
@media(max-width:760px){#wm-home .wm-mat-hero{grid-template-columns:1fr;}#wm-home .wm-mat-hero-copy{padding:36px 5.2%;}#wm-home .wm-mat-hero h1{font-size:52px;}#wm-home .wm-mat-hero-note{margin:0 5.2% 32px;}#wm-home .wm-mat-hero-note h2 br{display:none;}#wm-home .wm-mat-split{grid-template-columns:1fr;}#wm-home .wm-mat-handles-photo{margin:0 auto;}#wm-home .wm-mat-tip{grid-template-columns:1fr;gap:10px;}#wm-home .wm-mat-options,#wm-home .wm-mat-steps{grid-template-columns:1fr;gap:28px;}#wm-home .wm-sample-sheet figcaption{flex-direction:column;gap:12px;}#wm-home .wm-sample-sheet>a{padding:8px;}#wm-home .wm-mat-lead{max-width:none;}}
@media(max-width:480px){#wm-home .wm-mat-hero h1{font-size:46px;letter-spacing:-1.3px;}#wm-home .wm-mat-hero-copy>p{font-size:18px;}#wm-home .wm-mat-jump{grid-template-columns:1fr;}#wm-home .wm-mat-jump a{padding:18px 5.2%!important;border-right:0;}#wm-home .wm-mat-color-note{gap:12px;padding-top:24px;padding-bottom:24px;}#wm-home .wm-mat-color-note>span{font-size:26px;}#wm-home .wm-mat-tip{padding:20px;}#wm-home .wm-sample-dialog{width:calc(100vw - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);padding:14px;}#wm-home .wm-sample-toolbar h2{font-size:23px;}#wm-home .wm-sample-controls{gap:8px;}#wm-home .wm-sample-controls button{padding:8px 10px;}#wm-home .wm-sample-controls .text-link{margin-left:0;}#wm-home .wm-sample-instruction{font-size:14px;}#wm-home .wm-mat-breadcrumbs{font-size:14px;}}
