/* Merchandising */
.dw-promo { background: #173f36; color: #fff; border-radius: 16px; overflow: hidden; margin-block: 20px 0; }
.dw-promo-inner { display: grid; grid-template-columns: 46% 54%; align-items: stretch; }
.dw-promo-copy { padding: clamp(24px,3.2vw,46px); align-self: center; min-width: 0; }
.dw-promo-copy h1 { margin: 0; max-width: 18ch; font: 500 clamp(2rem,3.2vw,3.1rem)/1.04 Georgia,serif; letter-spacing: -.04em; color: #fffdf2; }
.dw-promo-copy p { margin: .75rem 0 1.05rem; line-height: 1.45; max-width: 43ch; color: #e1ebe4; overflow-wrap: anywhere; }
.dw-promo-copy .button { color: #173c33; border-color: #eaf3dc; background: #eaf3dc; }
.dw-promo-copy .button.outline { color: white; background: transparent; border-color: #8ca69b; }
.dw-promo-image { width: 100%; height: 100%; min-height: 205px; max-height: 340px; object-fit: cover; }
.dw-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(min(100%,220px),1fr)); gap: clamp(12px,1.6vw,22px); }
.dw-item { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--border); border-radius: 13px; overflow: hidden; background: #fff; }
.dw-item-media { position: relative; text-decoration: none; display: block; background: #f3f2ee; }
.dw-item-media > img, .dw-item-media > .photo-empty { aspect-ratio: 1.2; width: 100%; height: auto; object-fit: contain; }
.dw-item-content { padding: clamp(11px,1.4vw,18px); display: flex; flex: 1; flex-direction: column; gap: .5rem; }
.dw-item-content h3 { font: 650 clamp(.94rem,1.15vw,1.1rem)/1.38 system-ui,sans-serif; margin: 0; letter-spacing: -.018em; }
.dw-item-content h3 a { color: var(--ink); text-decoration: none; }
.dw-item-content h3 a:hover { text-decoration: underline; }
.dw-item-content .card-category { margin: 0; }
.dw-item-content .price { font-size: 1.1rem; margin: auto 0 .1rem; padding-top: .2rem; }
.dw-item-content .price span { font-size: .8rem; }
.dw-item-content form { margin: 0; }
.dw-item-media .availability { z-index: 1; }
.filter-panel .filters { gap: .75rem; }
.dw-product-columns { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); gap: clamp(22px,4vw,56px); align-items: start; }
.dw-product-columns > *, .dw-buy, .dw-selectors { min-width: 0; }
.dw-gallery, .dw-photo-placeholder { max-width: 580px; margin-inline: auto; }
.dw-stage, .dw-photo-placeholder { position: relative; display: grid; place-items: center; overflow: hidden; width: 100%; aspect-ratio: 1.16; border-radius: 15px; background: #f1f1ed; border: 1px solid var(--border); }
.dw-stage { cursor: zoom-in; }
.dw-stage img { width: 100%; height: 100%; object-fit: contain; min-height: 0; }
.dw-enlarge { position: absolute; right: .75rem; bottom: .75rem; border: 1px solid #c5d2c9; background: #fff; color: #244e41; padding: .4rem .8rem; border-radius: 1.5rem; font-weight: 650; font-size: .8rem; }
.dw-thumbs { display: flex; gap: .55rem; flex-wrap: wrap; margin-top: .75rem; }
.dw-thumbs a { display: block; width: 60px; height: 60px; border: 2px solid transparent; border-radius: 9px; overflow: hidden; }
.dw-thumbs a[aria-current] { border-color: var(--teal); }
.dw-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.dw-product-info h1 { font-size: clamp(1.55rem,2.5vw,2.5rem); margin: .25rem 0 .8rem; max-width: 28ch; }
.dw-price { font-size: clamp(1.5rem,2.3vw,2rem); font-weight: 720; color: var(--ink); letter-spacing: -.035em; margin-bottom: 1.1rem; }
.dw-selectors { display: grid; grid-template-columns: minmax(0,1fr) 6.5rem; gap: .75rem; }
.dw-buy-buttons { display: flex; flex-wrap: wrap; gap: .55rem; margin-block: 1rem; }
.dw-buy-buttons .button { flex: 1 1 10rem; }
.dw-buy .dw-freight { border-top: 1px solid var(--border); padding: .85rem 0 0; }
.dw-freight legend { float: left; width: 100%; font-size: 1.05rem; }
.dw-freight .inline { clear: both; }
.dw-quote-results { margin-top: .75rem; background: #edf4ef; border-radius: .65rem; padding: .65rem .85rem; }
.dw-quote-results p { margin: 0; font-size: .87rem; }
.dw-quote-results p + p { margin-top: .55rem; }
.dw-product-info form + form { margin-top: .85rem; }
.dw-description { margin-top: clamp(1.5rem,3vw,2.5rem); border-top: 1px solid var(--border); padding-block: 1.4rem; }
.dw-description p { max-width: 76ch; white-space: normal; overflow-wrap: anywhere; }
.dw-lightbox { border: 0; width: min(850px,94vw); max-width: 100vw; max-height: 94vh; max-height: 94dvh; background: white; color: var(--ink); padding: .85rem; border-radius: .9rem; }
.dw-lightbox::backdrop { background: rgb(11 29 24 / .82); }
body:has(.dw-lightbox[open]) { overflow: hidden; }
.dw-lightbox-top, .dw-lightbox-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dw-lightbox-top h2 { margin: 0; font: 650 1.1rem/1.3 system-ui,sans-serif; }
.dw-lightbox button { border: 1px solid var(--border); background: white; border-radius: .6rem; min-width: 44px; min-height: 44px; padding-inline: .8rem; color: var(--ink); font-weight: 650; }
.dw-lightbox-stage { margin-block: .55rem; border-radius: .5rem; background: #f3f3f0; }
.dw-lightbox-stage img { width: 100%; height: min(62vh,580px); object-fit: contain; }
.dw-lightbox-controls { justify-content: center; font-variant-numeric: tabular-nums; }
@media (min-width: 850px) {
    .dw-home-compact { width: min(calc(100% - 3rem),1180px); margin: 1.4rem auto 3rem; display: grid; grid-template-columns: minmax(0,1fr) minmax(235px,29%); gap: 1.5rem; align-items: start; }
    .dw-home-compact .dw-promo { grid-column: 1; grid-row: 1; width: 100%; margin: 0; }
    .dw-home-compact .dw-promo-inner { grid-template-columns: minmax(0,1fr); }
    .dw-home-compact .dw-promo-image { height: clamp(160px,15vw,210px); min-height: 0; }
    .dw-home-compact .dw-promo-copy { padding: 1.6rem 2rem; }
    .dw-home-compact .dw-promo-copy h1 { max-width: 23ch; }
    .dw-home-compact .home-content { display: contents; }
    .dw-home-compact .shelf { margin: 0; min-width: 0; }
    .dw-home-compact .shelf:has(.dw-grid) { grid-column: 2; grid-row: 1 / span 2; }
    .dw-home-compact .shelf:has(.category-grid) { grid-column: 1; grid-row: 2; }
    .dw-home-compact .section-head h2 { font-size: 1.4rem; }
    .dw-home-compact .section-head .section-link { font-size: .8rem; }
}
@media (max-width: 680px) {
    .dw-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .65rem; }
    .dw-grid:has(> :only-child) { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .dw-promo-inner { display: flex; flex-direction: column-reverse; }
    .dw-promo-image { height: clamp(104px,28vw,162px); min-height: 0; }
    .dw-promo-copy { padding: 1.1rem 1.3rem 1.25rem; width: 100%; }
    .dw-promo-copy h1 { max-width: 23ch; font-size: clamp(1.65rem,7vw,2.3rem); }
    .dw-promo-copy p { margin-block: .48rem .7rem; font-size: .92rem; }
    .dw-item-content .button { padding-inline: .4rem; font-size: .84rem; }
    .dw-product-columns { grid-template-columns: 1fr; gap: 1.2rem; }
    .dw-stage { aspect-ratio: 1.16; }
}
@media (max-width: 340px) { .dw-grid, .dw-grid:has(> :only-child) { grid-template-columns: 1fr; } }
.dw-buy-buttons .button:disabled { background: #eef0ed; border-color: #dce1dc; color: #56635e; cursor: not-allowed; }
