/* Product detail and related-content presentation. Existing commerce owns forms and data. */
body.dml-product-layout.single-product .dm-page {--dmr-rule:#e6ded5;--dmr-ink:#30271f;--dmr-muted:#71675f;--dmr-brown:#59300f;--dmr-paper:#fff;}
body.dml-product-layout.single-product .dm-page .pd-detail.dmss-product-details {grid-template-columns:minmax(0,1.06fr) minmax(0,1fr)!important;gap:32px 48px!important;padding-block:48px!important;align-items:stretch;}
body.dml-product-layout.single-product .dm-page .pd-detail.dmss-product-details>.dmss-product-gallery-panel {display:flex;flex-direction:column;min-width:0;grid-column:1!important;grid-row:1!important;}
body.dml-product-layout.single-product .dm-page .pd-detail.dmss-product-details>.dmss-product-specifications-panel {min-width:0;align-self:start;grid-column:2!important;grid-row:1!important;}
body.dml-product-layout.single-product .dm-page :is(.pd-detail,.dml-lower-grid,.pd-faq) .pd-h3 {font-family:'Cormorant Garamond',serif!important;font-weight:500!important;font-size:clamp(25px,2.4vw,34px)!important;line-height:1.14!important;letter-spacing:-.02em;margin:0 0 22px!important;}
body.dml-product-layout.single-product .dm-page :is(.pd-detail,.dml-lower-grid,.pd-faq) .pd-h3 small {display:none!important;}
body.dml-product-layout.single-product .dm-page .dmss-product-gallery-panel>.pd-sq {position:relative;flex:1;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;margin:0!important;}
body.dml-product-layout.single-product .dm-page .dmss-product-gallery-panel>.pd-sq>figure {position:relative;width:100%!important;height:auto!important;max-height:none!important;aspect-ratio:1/1;margin:0!important;padding:0!important;border:0!important;border-radius:20px!important;background:#f5f4f1;overflow:hidden;}
body.dml-product-layout.single-product .dm-page .dmss-product-gallery-panel>.pd-sq.dmr-gallery-composite {display:block!important;min-height:420px;}
body.dml-product-layout.single-product .dm-page .dmss-product-gallery-panel>.pd-sq.dmr-gallery-composite>figure:first-child {position:absolute;inset:0;height:100%!important;min-height:0;max-height:none!important;aspect-ratio:auto;}
body.dml-product-layout.single-product .dm-page .dmss-product-gallery-panel>.pd-sq.dmr-gallery-composite>figure:nth-child(2) {position:absolute;right:18px;bottom:18px;width:31%!important;height:auto!important;aspect-ratio:1/1;border:6px solid #fff!important;border-radius:14px!important;}
body.dml-product-layout.single-product .dm-page .dmss-product-gallery-panel>.pd-sq>figure img {width:100%!important;height:100%!important;max-height:none!important;object-fit:cover!important;display:block;}
body.dml-product-layout.single-product:is(.dml-kind-hardware,.dml-kind-sample) .dm-page .dmss-product-gallery-panel>.pd-sq>figure img {object-fit:contain!important;}
body.dml-product-layout.single-product .dm-page .dmr-image-open {display:block;position:absolute;inset:0;z-index:1;border:0!important;padding:0!important;border-radius:inherit!important;background:transparent!important;cursor:zoom-in;}
body.dml-product-layout.single-product .dm-page .dmr-image-open>.ph {position:absolute;right:12px;bottom:12px;display:grid;place-items:center;width:34px;height:34px;background:#fff;color:#59300f;border-radius:50%;font-size:20px;}
body.dml-product-layout.single-product .dm-page .dmr-gallery-composite>figure:first-child .dmr-image-open>.ph {top:12px;bottom:auto;}
body.dml-product-layout.single-product .dm-page .dmss-product-specifications-panel .dm-table-scroll {overflow:visible!important;}
body.dml-product-layout.single-product .dm-page .dmss-product-specifications-panel .pd-tbl {display:table!important;width:100%!important;border:0!important;border-collapse:collapse!important;table-layout:fixed;}
body.dml-product-layout.single-product .dm-page .dmss-product-specifications-panel .pd-tbl tbody {display:table-row-group!important;}
body.dml-product-layout.single-product .dm-page .dmss-product-specifications-panel .pd-tbl tr {display:table-row!important;min-height:0;border:0;}
body.dml-product-layout.single-product .dm-page .dmss-product-specifications-panel .pd-tbl :is(th,td) {display:table-cell!important;width:auto;padding:10px 0!important;font-size:13px!important;line-height:1.45!important;vertical-align:top;background:transparent!important;border:0;border-bottom:1px solid var(--dmr-rule)!important;overflow-wrap:anywhere;}
body.dml-product-layout.single-product .dm-page .dmss-product-specifications-panel .pd-tbl th {width:37%!important;color:var(--dmr-muted);padding-right:18px!important;font-weight:400;}
body.dml-product-layout.single-product .dm-page .dmss-product-specifications-panel .pd-tbl td {color:var(--dmr-ink);}
body.dml-product-layout.single-product .dm-page .dmss-product-specifications-panel .pd-care-title {margin:20px 0 5px!important;font:500 11px/1.5 Inter,sans-serif!important;letter-spacing:.07em;text-transform:uppercase;color:var(--dmr-muted);}
body.dml-product-layout.single-product .dm-page .dmss-product-specifications-panel>.pd-care-title+p {margin:0!important;font-size:12px!important;line-height:1.65!important;color:var(--dmr-muted);}
body.dml-product-layout.single-product .dm-page .pd-detail.dmss-product-details>.dmss-product-overview {grid-column:1/-1!important;grid-row:auto!important;border-top:1px solid var(--dmr-rule);padding-top:30px;margin:0!important;}
body.dml-product-layout.single-product .dm-page .dmss-product-overview .dml-normalized-overview {display:block!important;margin:0!important;}
body.dml-product-layout.single-product .dm-page .dmss-product-overview .dml-overview-copy.dmr-overview-columns {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px 56px;}
body.dml-product-layout.single-product .dm-page .dmss-product-overview :is(p,li) {font-size:14px!important;line-height:1.75!important;max-width:70ch;}
body.dml-product-layout.single-product .dm-page .dmss-product-overview .dmr-duplicate-title {display:none!important;}
body.dml-product-layout.single-product .dm-page .dmss-product-overview h3 {font-family:Inter,sans-serif;font-size:14px!important;line-height:1.5;margin:0 0 12px!important;font-weight:600;}
body.dml-product-layout.single-product .dm-page .dmss-product-overview ul {margin:0 0 14px!important;padding-left:19px;}
body.dml-product-layout.single-product .dm-page .dmss-product-overview .dm-btn {min-height:44px!important;font:500 13px/1.4 Inter,sans-serif!important;padding:12px 18px!important;border-radius:8px!important;white-space:normal;}
body.dml-product-layout.single-product .dm-page .dmss-product-overview .dml-overview-media {margin-top:24px;}
/* Related products get a full row; workmanship and resources share the next row. */
body.dml-product-layout.single-product .dm-page .dml-lower-grid {display:grid!important;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)!important;gap:40px 36px!important;padding-block:40px!important;align-items:start;}
body.dml-product-layout.single-product .dm-page .dml-lower-grid>.dmr-related-panel {grid-column:1/-1!important;display:block!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;}
body.dml-product-layout.single-product .dm-page .dmr-related-panel>.pd-sub:first-of-type {display:none!important;}
body.dml-product-layout.single-product .dm-page .dmr-related-panel>.pd-sheers {display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px!important;}
body.dml-product-layout.single-product .dm-page .dmr-related-panel .pd-sheer {display:flex!important;flex-direction:column!important;gap:0!important;padding:0!important;border:1px solid var(--dmr-rule)!important;border-radius:20px!important;background:#fff!important;overflow:hidden;}
body.dml-product-layout.single-product .dm-page .dmr-related-panel .pd-sheer>a:first-child {display:block;width:100%!important;aspect-ratio:4/3;height:auto!important;overflow:hidden;}
body.dml-product-layout.single-product .dm-page .dmr-related-panel .pd-sheer :is(img,figure) {width:100%!important;height:100%!important;max-height:none!important;object-fit:cover!important;border-radius:0!important;}
body.dml-product-layout.single-product .dm-page .dmr-related-panel .pd-sheer>div {display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:8px!important;padding:20px!important;flex:1;min-width:0;}
body.dml-product-layout.single-product .dm-page .dmr-related-panel .pd-sheer>div>a:first-child {font:500 15px/1.5 Inter,sans-serif!important;color:var(--dmr-ink);}
body.dml-product-layout.single-product .dm-page .dmr-related-panel .pd-sheer strong {font-size:15px!important;line-height:1.45!important;}
body.dml-product-layout.single-product .dm-page .dmr-related-panel .pd-sheer>div>span {font:400 11px/1.6 'JetBrains Mono',monospace!important;color:var(--dmr-muted);}
body.dml-product-layout.single-product .dm-page .dmr-related-panel .pd-sheer p {font:500 18px/1.5 'JetBrains Mono',monospace!important;margin:2px 0 8px!important;color:var(--dmr-brown);}
body.dml-product-layout.single-product .dm-page .dmr-related-panel .pd-sheer .dm-btn {display:flex!important;align-items:center;justify-content:center;gap:8px;width:100%!important;height:auto!important;min-height:44px!important;padding:10px 16px!important;margin-top:auto!important;flex:0 0 auto!important;border-radius:8px!important;font:500 13px/1.5 Inter,sans-serif!important;white-space:normal;box-sizing:border-box;}
body.dml-product-layout.single-product .dm-page .dmr-related-panel .pd-sheer .dm-btn .ph {font-size:16px;}
body.dml-product-layout.single-product .dm-page .dmr-related-panel>.pd-sub {font-size:12px!important;font-weight:500;margin:24px 0 12px!important;}
body.dml-product-layout.single-product .dm-page .pd-accs {display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;padding:16px 0;border-block:1px solid var(--dmr-rule);}
body.dml-product-layout.single-product .dm-page .pd-acc {display:flex!important;flex-direction:row!important;align-items:center;gap:12px!important;text-align:left;}
body.dml-product-layout.single-product .dm-page .pd-acc .dm-bubble {width:36px!important;height:36px!important;flex:0 0 36px;background:#f2efea;color:var(--dmr-brown);}
body.dml-product-layout.single-product .dm-page .pd-acc>span:last-child {font-size:12px!important;line-height:1.5!important;}
body.dml-product-layout.single-product .dm-page .dml-lower-grid>.dmr-craft-panel {grid-column:1!important;display:grid!important;grid-template-columns:minmax(0,.9fr) minmax(0,1fr)!important;gap:20px 24px!important;margin:0!important;}
body.dml-product-layout.single-product .dm-page .dmr-craft-panel>.pd-h3 {grid-column:1/-1!important;margin:0!important;}
body.dml-product-layout.single-product .dm-page .dmr-craft-panel>.pd-craft-media {height:100%!important;min-height:300px!important;margin:0!important;border-radius:20px!important;overflow:hidden;}
body.dml-product-layout.single-product .dm-page .dmr-craft-panel .pd-craft-media :is(img,figure) {height:100%!important;width:100%!important;object-fit:cover!important;max-height:none!important;}
body.dml-product-layout.single-product .dm-page .pd-craft-list {display:flex;flex-direction:column;gap:22px!important;margin:0!important;}
body.dml-product-layout.single-product .dm-page .pd-craft-item {display:grid!important;grid-template-columns:32px minmax(0,1fr)!important;gap:12px!important;align-items:start;}
body.dml-product-layout.single-product .dm-page .pd-craft-item .dm-bubble {width:32px!important;height:32px!important;background:#f2efea!important;color:var(--dmr-brown)!important;}
body.dml-product-layout.single-product .dm-page .pd-craft-item strong {display:block;font-size:13px!important;line-height:1.45!important;font-weight:600;}
body.dml-product-layout.single-product .dm-page .pd-craft-item p {font-size:12px!important;line-height:1.7!important;margin:6px 0 0!important;color:var(--dmr-muted);}
body.dml-product-layout.single-product .dm-page .dml-lower-grid>.dml-download-stack {display:grid!important;grid-column:2!important;grid-template-columns:1fr!important;gap:16px!important;margin:0!important;}
body.dml-product-layout.single-product .dm-page .pd-dl-card {display:grid!important;grid-template-columns:minmax(0,1fr) 100px!important;align-items:center;gap:20px!important;padding:24px!important;margin:0!important;border:1px solid var(--dmr-rule)!important;border-radius:20px!important;background:#fff!important;}
body.dml-product-layout.single-product .dm-page .pd-dl-card h3 {font-size:26px!important;line-height:1.12!important;margin:0 0 8px!important;}
body.dml-product-layout.single-product .dm-page .pd-dl-card .sub {font-size:12px!important;line-height:1.5!important;margin:0 0 4px!important;}
body.dml-product-layout.single-product .dm-page .pd-dl-card .fmt {font-size:10px!important;line-height:1.5!important;margin:0 0 14px!important;color:var(--dmr-muted);}
body.dml-product-layout.single-product .dm-page .pd-dl-card :is(img,figure) {width:100px!important;height:124px!important;border-radius:10px!important;object-fit:cover!important;}
body.dml-product-layout.single-product .dm-page .pd-dl-card .dm-btn {display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px!important;padding:11px 16px!important;font:500 12px/1.5 Inter,sans-serif!important;border-radius:8px!important;white-space:normal;text-align:center;box-sizing:border-box;}
body.dml-product-layout.single-product .dm-page .pd-dl-card .dm-btn .ph {font-size:16px;}
body.dml-product-layout.single-product .dm-page .pd-faq {padding-block:36px!important;}
body.dml-product-layout.single-product .dm-page .pd-faq-grid {grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:24px!important;}
body.dml-product-layout.single-product .dm-page .pd-faq-item {padding-top:16px!important;}
body.dml-product-layout.single-product .dm-page .pd-faq-item h4 {font-size:17px!important;line-height:1.35!important;margin-bottom:10px!important;}
body.dml-product-layout.single-product .dm-page .pd-faq-item p {font-size:13px!important;line-height:1.75!important;}
.dmr-photo-dialog {width:min(94vw,1100px);max-width:1100px;height:min(90dvh,1000px);max-height:90dvh;padding:48px 16px 16px;border:0;border-radius:20px;background:#fff;box-sizing:border-box;}
.dmr-photo-dialog::backdrop {background:rgb(25 20 16 / .7);}
.dmr-photo-dialog img {display:block;width:100%;height:100%;object-fit:contain;}
.dmr-photo-dialog button {position:absolute;right:12px;top:10px;width:36px;height:36px;display:grid;place-items:center;padding:0;border:1px solid #e6ded5;border-radius:50%;background:#fff;color:#59300f;font-size:22px;cursor:pointer;}
.dmr-photo-dialog button:focus-visible,.dmr-image-open:focus-visible {outline:2px solid #59300f;outline-offset:3px;}
@media (max-width:1100px) and (min-width:801px) {
 body.dml-product-layout.single-product .dm-page .pd-detail.dmss-product-details {gap:28px!important;}
 body.dml-product-layout.single-product .dm-page .dml-lower-grid {grid-template-columns:1fr!important;}
 body.dml-product-layout.single-product .dm-page .dml-lower-grid>.dmr-craft-panel {grid-column:1!important;}
 body.dml-product-layout.single-product .dm-page .dml-lower-grid>.dml-download-stack {grid-column:1!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media (max-width:800px) {
 body.dml-product-layout.single-product .dm-page .pd-detail.dmss-product-details {grid-template-columns:minmax(0,1fr)!important;gap:32px!important;padding-block:32px!important;}
 body.dml-product-layout.single-product .dm-page .pd-detail.dmss-product-details>:is(.dmss-product-gallery-panel,.dmss-product-specifications-panel,.dmss-product-overview) {grid-column:1!important;grid-row:auto!important;}
 body.dml-product-layout.single-product .dm-page .dmss-product-gallery-panel>.pd-sq.dmr-gallery-composite {min-height:0;aspect-ratio:1/1;}
 body.dml-product-layout.single-product .dm-page .dmss-product-gallery-panel>.pd-sq.dmr-gallery-composite>figure:first-child {min-height:0;max-height:none!important;}
 body.dml-product-layout.single-product .dm-page .dmss-product-gallery-panel>.pd-sq.dmr-gallery-composite>figure:nth-child(2) {right:12px;bottom:12px;border-width:4px!important;}
 body.dml-product-layout.single-product .dm-page .dmss-product-overview .dml-overview-copy.dmr-overview-columns {grid-template-columns:1fr;gap:20px;}
 body.dml-product-layout.single-product .dm-page .dml-lower-grid {grid-template-columns:1fr!important;gap:32px!important;padding-block:32px!important;}
 body.dml-product-layout.single-product .dm-page .dml-lower-grid>:is(.dmr-related-panel,.dmr-craft-panel,.dml-download-stack) {grid-column:1!important;}
 body.dml-product-layout.single-product .dm-page .dmr-related-panel>.pd-sheers {grid-template-columns:1fr!important;gap:14px!important;}
 body.dml-product-layout.single-product .dm-page .dmr-related-panel .pd-sheer {display:grid!important;grid-template-columns:112px minmax(0,1fr)!important;min-height:168px;}
 body.dml-product-layout.single-product .dm-page .dmr-related-panel .pd-sheer>a:first-child {aspect-ratio:auto;height:100%!important;}
 body.dml-product-layout.single-product .dm-page .dmr-related-panel .pd-sheer>div {padding:14px!important;gap:5px!important;}
 body.dml-product-layout.single-product .dm-page .dmr-related-panel .pd-sheer strong {font-size:13px!important;}
 body.dml-product-layout.single-product .dm-page .dmr-related-panel .pd-sheer p {font-size:16px!important;margin:0 0 4px!important;}
 body.dml-product-layout.single-product .dm-page .pd-accs {grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px 12px!important;}
 body.dml-product-layout.single-product .dm-page .dml-lower-grid>.dmr-craft-panel {grid-template-columns:1fr!important;gap:20px!important;}
 body.dml-product-layout.single-product .dm-page .dmr-craft-panel>.pd-craft-media {height:auto!important;min-height:0!important;aspect-ratio:4/3;}
 body.dml-product-layout.single-product .dm-page .pd-craft-list {gap:18px!important;}
 body.dml-product-layout.single-product .dm-page .pd-craft-item strong {font-size:14px!important;}
 body.dml-product-layout.single-product .dm-page .pd-craft-item p {font-size:13px!important;}
 body.dml-product-layout.single-product .dm-page .pd-dl-card {grid-template-columns:minmax(0,1fr) 84px!important;padding:20px!important;gap:16px!important;}
 body.dml-product-layout.single-product .dm-page .pd-dl-card :is(img,figure) {width:84px!important;height:112px!important;}
 body.dml-product-layout.single-product .dm-page .pd-dl-card h3 {font-size:25px!important;}
 body.dml-product-layout.single-product .dm-page .pd-dl-card .dm-btn {padding-inline:12px!important;font-size:12px!important;}
 body.dml-product-layout.single-product .dm-page .pd-faq-grid {grid-template-columns:1fr!important;gap:20px!important;}
}
@media (max-width:360px) {
 body.dml-product-layout.single-product .dm-page .dmr-related-panel .pd-sheer {grid-template-columns:96px minmax(0,1fr)!important;}
 body.dml-product-layout.single-product .dm-page .dmr-related-panel .pd-sheer>div {padding:12px!important;}
 body.dml-product-layout.single-product .dm-page .dmr-related-panel .pd-sheer .dm-btn {padding-inline:12px!important;}
 body.dml-product-layout.single-product .dm-page .pd-dl-card {grid-template-columns:minmax(0,1fr) 64px!important;}
 body.dml-product-layout.single-product .dm-page .pd-dl-card :is(img,figure) {width:64px!important;height:96px!important;}
}
@media (prefers-reduced-motion:reduce) {.dmr-photo-dialog,.dmr-image-open {animation:none;transition:none;}}

/* Feedback: horizontal photo strip, readable section navigation and purchase controls. */
body.dml-product-layout.single-product .dm-page .pd-gallery {display:flex!important;flex-direction:column!important;gap:14px!important;min-width:0;}
body.dml-product-layout.single-product .dm-page .pd-gallery .pd-main {order:0;width:100%!important;margin:0!important;}
body.dml-product-layout.single-product .dm-page .dmr-thumb-strip {order:1;display:grid;grid-template-columns:36px minmax(0,1fr) 36px;gap:10px;width:100%;min-width:0;align-items:center;}
body.dml-product-layout.single-product .dm-page .dmr-thumb-strip .pd-thumbs {display:flex!important;flex-direction:row!important;gap:10px!important;width:100%!important;max-width:100%;max-height:none!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none;scroll-behavior:smooth;margin:0!important;padding:2px!important;}
body.dml-product-layout.single-product .dm-page .dmr-thumb-strip .pd-thumbs::-webkit-scrollbar {display:none;}
body.dml-product-layout.single-product .dm-page .dmr-thumb-strip .pd-thumb {width:64px!important;height:76px!important;min-width:64px!important;flex:0 0 64px!important;border-radius:8px!important;}
body.dml-product-layout.single-product .dm-page .dmr-thumb-arrow {display:grid;place-items:center;width:36px;height:44px;padding:0;background:#fff;border:1px solid #ded5ca;border-radius:8px;color:#59300f;font-size:20px;cursor:pointer;}
body.dml-product-layout.single-product .dm-page .dmr-thumb-arrow:disabled {opacity:.35;cursor:default;}
body.dml-product-layout.single-product .dm-page .dml-section-index {display:flex!important;align-items:center;gap:6px;box-sizing:border-box;width:var(--dm-site-content-width)!important;max-width:none!important;min-width:0;margin:0 auto 20px!important;padding:10px 0!important;overflow-x:auto;overflow-y:hidden;border-block:1px solid #e6ded5;scrollbar-width:none;}
body.dml-product-layout.single-product .dm-page .dml-section-index::-webkit-scrollbar {display:none;}
body.dml-product-layout.single-product .dm-page .dml-section-index a {display:flex;align-items:center;justify-content:center;flex:0 0 auto;min-height:44px;padding:10px 16px!important;font:500 14px/1.4 Inter,sans-serif!important;border-radius:8px;color:#59300f;text-decoration:none;white-space:nowrap;}
body.dml-product-layout.single-product .dm-page .dml-section-index a:is(:hover,:focus-visible) {background:#f3efea;color:#352a22;}
body.dml-product-layout.single-product .dm-page [id^=dml-section-] {scroll-margin-top:110px;}
body.dml-product-layout.single-product .dm-page .pd-info .optis-storefront {width:100%!important;max-width:none!important;min-width:0!important;flex-basis:100%!important;}
body.dml-product-layout.single-product .dm-page .pd-info .optis-quote {width:100%!important;box-sizing:border-box;display:flex!important;align-items:center;justify-content:space-between;gap:16px;}
body.dml-product-layout.single-product .dm-page .pd-info .optis-quote>strong {flex:0 0 auto;white-space:nowrap;}
body.dml-product-layout.single-product .dm-page .pd-info form.variations_form {display:block!important;width:100%!important;}
body.dml-product-layout.single-product .dm-page .pd-info form.variations_form :is(.single_variation_wrap,.woocommerce-variation-add-to-cart) {width:100%!important;min-width:0!important;}
body.dml-product-layout.single-product .dm-page .pd-info form.variations_form .woocommerce-variation-add-to-cart {display:flex!important;flex-wrap:wrap!important;gap:12px!important;align-items:stretch!important;}
body.dml-product-layout.single-product .dm-page .pd-info form.cart .quantity {flex:0 0 80px!important;width:80px!important;margin:0!important;}
body.dml-product-layout.single-product .dm-page .pd-info form.cart .quantity input.qty {width:100%!important;min-height:48px!important;height:48px!important;padding:10px 8px!important;text-align:center;border:1px solid #cdbdad!important;border-radius:8px!important;font-size:15px!important;box-sizing:border-box;}
body.dml-product-layout.single-product .dm-page .pd-info form.cart .single_add_to_cart_button {display:flex!important;align-items:center;justify-content:center;flex:1 1 180px!important;min-height:48px!important;height:auto!important;margin:0!important;padding:12px 20px!important;border:1px solid #59300f!important;border-radius:8px!important;background:#59300f!important;color:#fff!important;font:600 14px/1.5 Inter,sans-serif!important;text-align:center;white-space:normal;}
body.dml-product-layout.single-product .dm-page .pd-info form.cart .single_add_to_cart_button:hover {background:#3d210c!important;}
.dmr-cart-toast {position:fixed!important;top:20px!important;right:20px!important;bottom:auto!important;left:auto!important;z-index:100000!important;display:flex!important;align-items:center;flex-wrap:wrap;gap:8px 14px;box-sizing:border-box;width:min(420px,calc(100vw - 32px))!important;max-width:none!important;margin:0!important;padding:18px 50px 18px 20px!important;border:1px solid #d8dfd6!important;border-radius:14px!important;background:#fff!important;color:#30271f!important;box-shadow:0 8px 32px #352a2220!important;font:400 14px/1.6 Inter,sans-serif!important;}
.dmr-cart-toast>svg {display:none!important;}
.dmr-cart-toast a {color:#59300f!important;text-decoration:underline;font-weight:600;white-space:nowrap;}
.dmr-cart-toast .dmr-toast-close {position:absolute;right:8px;top:8px;display:grid;place-items:center;width:36px;height:36px;padding:0;border:0;border-radius:8px;background:transparent;color:#59300f;font-size:20px;cursor:pointer;}
/* Catalogue filters: one branded panel above the results, laid out as a deliberate form.
   Selectors are doubled on purpose: catalog-layout.css ships same-weight rules that push every
   field onto its own full-width row, so these have to out-rank it without editing that plugin. */
body.dml-product-layout.dml-product-layout .dm-page .dmc-catalog {display:flex!important;flex-direction:column!important;gap:22px!important;min-width:0;}
body.dml-product-layout.dml-product-layout .dm-page .dml-filter-panel {position:static!important;float:none!important;grid-column:1/-1!important;grid-row:auto!important;align-self:stretch!important;width:100%!important;max-width:none!important;min-width:0;max-height:none!important;overflow:visible!important;padding:0!important;margin:0!important;border:1px solid #e6ded5!important;border-radius:16px!important;background:#fff!important;box-shadow:0 1px 2px rgba(53,42,34,.05);}
body.dml-product-layout.dml-product-layout .dm-page .dml-filter-panel>summary {display:none!important;}
body.dml-product-layout.dml-product-layout .dm-page .dmc-filters {position:static!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px 20px!important;align-items:end!important;width:100%!important;max-width:none!important;min-width:0;box-sizing:border-box;padding:22px 24px!important;margin:0!important;border:0!important;background:#fff!important;border-radius:16px!important;box-shadow:none!important;}
body.dml-product-layout.dml-product-layout .dm-page .dmc-filters>label {display:flex!important;flex-direction:column!important;gap:7px!important;grid-column:auto!important;grid-row:auto!important;min-width:0;margin:0!important;font:600 11px/1.4 Inter,sans-serif!important;letter-spacing:.07em!important;text-transform:uppercase;color:#8a7a6a!important;}
/* Row one: what you are looking for. Row two: the limits and the submit action. */
body.dml-product-layout.dml-product-layout .dm-page .dmc-filters>label:has([name="dm_search"]) {grid-column:1/3!important;grid-row:1!important;}
body.dml-product-layout.dml-product-layout .dm-page .dmc-filters>label:has([name="dm_category"]) {grid-column:3/4!important;grid-row:1!important;}
body.dml-product-layout.dml-product-layout .dm-page .dmc-filters>label:has([name="dm_sort"]) {grid-column:4/5!important;grid-row:1!important;}
body.dml-product-layout.dml-product-layout .dm-page .dmc-filters>label:has([name="dm_min"]) {grid-column:1/2!important;grid-row:2!important;}
body.dml-product-layout.dml-product-layout .dm-page .dmc-filters>label:has([name="dm_max"]) {grid-column:2/3!important;grid-row:2!important;}
body.dml-product-layout.dml-product-layout .dm-page .dmc-filters>label:has([name="dm_per"]) {grid-column:3/4!important;grid-row:2!important;}
body.dml-product-layout.dml-product-layout .dm-page .dmc-filters :is(input,select) {width:100%!important;max-width:none!important;min-width:0;height:44px!important;min-height:44px!important;box-sizing:border-box;padding:0 14px!important;font:400 13.5px/1.4 Inter,sans-serif!important;color:#30271f!important;background-color:#fff!important;border:1px solid #ded5ca!important;border-radius:9px!important;box-shadow:none!important;}
body.dml-product-layout.dml-product-layout .dm-page .dmc-filters select {appearance:none!important;-webkit-appearance:none!important;padding-right:38px!important;background-image:url("data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' width=\'12\' height=\'8\' viewBox=\'0 0 12 8\'%3E%3Cpath fill=\'none\' stroke=\'%2359300f\' stroke-width=\'1.6\' stroke-linecap=\'round\' stroke-linejoin=\'round\' d=\'M1 1.5 6 6.5l5-5\'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 14px center!important;background-size:12px 8px!important;}
body.dml-product-layout.dml-product-layout .dm-page .dmc-filters :is(input,select):focus {border-color:#59300f!important;box-shadow:0 0 0 3px rgba(89,48,15,.12)!important;outline:0!important;}
body.dml-product-layout.dml-product-layout .dm-page .dmc-filters input::placeholder {color:#a89a8c;font-weight:400;}
body.dml-product-layout.dml-product-layout .dm-page .dmc-filters>button {grid-column:4/5!important;grid-row:2!important;display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:44px!important;min-height:44px!important;margin:0!important;padding:0 18px!important;border:1px solid #59300f!important;border-radius:9px!important;background:#59300f!important;color:#fff!important;font:600 12px/1 Inter,sans-serif!important;letter-spacing:.09em!important;text-transform:uppercase;cursor:pointer;box-shadow:none!important;}
body.dml-product-layout.dml-product-layout .dm-page .dmc-filters>button:is(:hover,:focus-visible) {background:#3d210c!important;border-color:#3d210c!important;}
body.dml-product-layout.dml-product-layout .dm-page .dmc-filters>a {grid-column:1/-1!important;grid-row:3!important;justify-self:start;margin:0!important;padding:0!important;font:400 12.5px/1.4 Inter,sans-serif!important;color:#8a7a6a!important;text-decoration:underline;text-underline-offset:3px;}
body.dml-product-layout.dml-product-layout .dm-page .dmc-filters>a:is(:hover,:focus-visible) {color:#59300f!important;}
body.dml-product-layout.dml-product-layout .dm-page .dmc-catalog :is(.dmc-catalog-bar,.dmc-product-grid,.dmc-pagination) {grid-column:1/-1!important;grid-row:auto!important;width:100%!important;min-width:0;}
body.dml-product-layout .dm-page--finished-curtain-plp .benefit-grid {display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:0!important;padding:0!important;background:#fff!important;border:1px solid #e6ded5!important;border-radius:16px!important;overflow:hidden;}
body.dml-product-layout .dm-page--finished-curtain-plp .benefit-cell {display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:8px!important;min-width:0;padding:22px!important;margin:0!important;background:#fff!important;border:0!important;border-right:1px solid #e6ded5!important;color:#30271f!important;}
body.dml-product-layout .dm-page--finished-curtain-plp .benefit-cell:last-child {border-right:0!important;}
body.dml-product-layout .dm-page--finished-curtain-plp .benefit-cell>.ph {font-size:24px!important;color:#59300f!important;margin:0 0 4px!important;}
body.dml-product-layout .dm-page--finished-curtain-plp .benefit-cell strong {font:600 14px/1.5 Inter,sans-serif!important;}
body.dml-product-layout .dm-page--finished-curtain-plp .benefit-cell span {font:400 12px/1.65 Inter,sans-serif!important;color:#71675f!important;}
@media(max-width:1000px){
 body.dml-product-layout .dm-page--finished-curtain-plp .benefit-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
 body.dml-product-layout .dm-page--finished-curtain-plp .benefit-cell:nth-child(2) {border-right:0!important;}
 body.dml-product-layout .dm-page--finished-curtain-plp .benefit-cell:nth-child(-n+2) {border-bottom:1px solid #e6ded5!important;}
}
@media(max-width:700px){
 body.dml-product-layout.single-product .dm-page .dml-section-index a {font-size:13px!important;padding-inline:12px!important;}
 body.dml-product-layout.single-product .dm-page .dmr-thumb-strip {gap:6px;grid-template-columns:32px minmax(0,1fr) 32px;}
 body.dml-product-layout.single-product .dm-page .dmr-thumb-arrow {width:32px;}
 .dmr-cart-toast {top:12px!important;right:16px!important;}
}
@media(max-width:420px){
 body.dml-product-layout .dm-page--finished-curtain-plp .benefit-cell {padding:16px!important;}
 body.dml-product-layout .dm-page--finished-curtain-plp .benefit-cell strong {font-size:13px!important;}
 body.dml-product-layout.single-product .dm-page .pd-info form.cart .single_add_to_cart_button {flex-basis:150px!important;padding-inline:12px!important;}
}
@media(prefers-reduced-motion:reduce){body.dml-product-layout.single-product .dm-page .dmr-thumb-strip .pd-thumbs {scroll-behavior:auto;}}

/* Thumbnail strip: pin arrows left/right and keep the scroller in the middle track. The global .pd-thumbs{order:1} rule must not leak into this grid. */

body.dml-product-layout.single-product .dm-page .dmr-thumb-strip>.pd-thumbs{order:0!important;grid-column:2!important;grid-row:1!important;width:100%!important;min-width:0}

body.dml-product-layout.single-product .dm-page .dmr-thumb-strip>.dmr-thumb-arrow:first-child{order:0!important;grid-column:1!important;grid-row:1!important}

body.dml-product-layout.single-product .dm-page .dmr-thumb-strip>.dmr-thumb-arrow:last-child{order:0!important;grid-column:3!important;grid-row:1!important}

body.dml-product-layout.single-product .dm-page .dmr-thumb-strip .pd-thumbs{padding:2px 4px!important;scroll-padding-inline:4px;scroll-snap-type:x proximity}

body.dml-product-layout.single-product .dm-page .dmr-thumb-strip .pd-thumb{scroll-snap-align:start}
/* Filters: tablet keeps two columns, mobile collapses into the summary toggle.
   The per-field :has() placement above out-ranks a bare ">label" reset, so every field is
   re-stated here with the same weight instead of relying on source order. */
@media(max-width:1100px) and (min-width:801px){
 body.dml-product-layout.dml-product-layout .dm-page .dmc-filters {grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px 18px!important;padding:20px!important;}
 body.dml-product-layout.dml-product-layout .dm-page .dmc-filters>label {grid-column:auto!important;grid-row:auto!important;}
 body.dml-product-layout.dml-product-layout .dm-page .dmc-filters>label:has([name="dm_search"]) {grid-column:1/-1!important;grid-row:1!important;}
 body.dml-product-layout.dml-product-layout .dm-page .dmc-filters>label:has([name="dm_category"]) {grid-column:1/2!important;grid-row:2!important;}
 body.dml-product-layout.dml-product-layout .dm-page .dmc-filters>label:has([name="dm_sort"]) {grid-column:2/3!important;grid-row:2!important;}
 body.dml-product-layout.dml-product-layout .dm-page .dmc-filters>label:has([name="dm_min"]) {grid-column:1/2!important;grid-row:3!important;}
 body.dml-product-layout.dml-product-layout .dm-page .dmc-filters>label:has([name="dm_max"]) {grid-column:2/3!important;grid-row:3!important;}
 body.dml-product-layout.dml-product-layout .dm-page .dmc-filters>label:has([name="dm_per"]) {grid-column:1/2!important;grid-row:4!important;}
 body.dml-product-layout.dml-product-layout .dm-page .dmc-filters>button {grid-column:2/3!important;grid-row:4!important;}
 body.dml-product-layout.dml-product-layout .dm-page .dmc-filters>a {grid-column:1/-1!important;grid-row:5!important;justify-self:start;}
}
@media(max-width:800px){
 body.dml-product-layout.dml-product-layout .dm-page .dml-filter-panel>summary {display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px;padding:16px 18px!important;background:#fff!important;color:#30271f!important;font:600 12px/1.2 Inter,sans-serif!important;letter-spacing:.08em!important;text-transform:uppercase;list-style:none;cursor:pointer;}
 body.dml-product-layout.dml-product-layout .dm-page .dml-filter-panel>summary::-webkit-details-marker {display:none;}
 body.dml-product-layout.dml-product-layout .dm-page .dml-filter-panel>summary::after {content:'+';font-size:17px;font-weight:400;color:#59300f;line-height:1;}
 body.dml-product-layout.dml-product-layout .dm-page .dml-filter-panel[open]>summary {border-bottom:1px solid #f0e8de;padding-bottom:15px!important;}
 body.dml-product-layout.dml-product-layout .dm-page .dml-filter-panel[open]>summary::after {content:'\2013';}
 body.dml-product-layout.dml-product-layout .dm-page .dmc-filters {grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;padding:16px 18px 18px!important;border-radius:0!important;}
 body.dml-product-layout.dml-product-layout .dm-page .dmc-filters>label {grid-column:auto!important;grid-row:auto!important;}
 body.dml-product-layout.dml-product-layout .dm-page .dmc-filters>label:has([name="dm_search"]),
 body.dml-product-layout.dml-product-layout .dm-page .dmc-filters>label:has([name="dm_category"]),
 body.dml-product-layout.dml-product-layout .dm-page .dmc-filters>button,
 body.dml-product-layout.dml-product-layout .dm-page .dmc-filters>a {grid-column:1/-1!important;grid-row:auto!important;}
 body.dml-product-layout.dml-product-layout .dm-page .dmc-filters>label:has([name="dm_min"]),
 body.dml-product-layout.dml-product-layout .dm-page .dmc-filters>label:has([name="dm_max"]),
 body.dml-product-layout.dml-product-layout .dm-page .dmc-filters>label:has([name="dm_sort"]),
 body.dml-product-layout.dml-product-layout .dm-page .dmc-filters>label:has([name="dm_per"]) {grid-column:auto!important;grid-row:auto!important;}
 body.dml-product-layout.dml-product-layout .dm-page .dmc-filters>a {justify-self:center;margin-top:2px!important;}
 body.dml-product-layout.dml-product-layout .dm-page .dmc-filters :is(input,select) {height:46px!important;min-height:46px!important;}
 body.dml-product-layout.dml-product-layout .dm-page .dmc-filters>button {height:46px!important;min-height:46px!important;}
}
@media(max-width:380px){
 body.dml-product-layout.dml-product-layout .dm-page .dmc-filters {grid-template-columns:1fr!important;}
}

/* The Samples / Trade / Offers rail is fixed to the right edge from 901px up; on a
   near full-bleed catalogue that puts 30-60px of it on top of the last column, which
   ate the per-page chevron and the Filter button edge. Reserve the rail instead. */
@media(min-width:901px){
 body.dml-product-layout .dm-page .dmc-catalog {padding-right:46px;}
}

/* The shop / category archive ships its own filter form (dmr-archive-filters) instead of the
   catalogue block, and left to itself it packs every field into one cramped row. Same card,
   same label rhythm and same control sizes as the catalogue panel, with auto flow so the
   field count can change without leaving holes. */
body.dml-product-layout .dmr-filter-panel {padding:0!important;border:1px solid #e6ded5!important;border-radius:16px!important;background:#fff!important;box-shadow:0 1px 2px rgba(53,42,34,.05);overflow:hidden;}
body.dml-product-layout .dmr-filter-panel form.dmr-archive-filters {display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-auto-flow:row!important;gap:18px 20px!important;align-items:end!important;margin:0!important;padding:22px 24px!important;border:0!important;background:transparent!important;box-shadow:none!important;width:auto!important;max-width:none!important;}
body.dml-product-layout .dmr-filter-panel form.dmr-archive-filters>label {display:flex!important;flex-direction:column!important;gap:7px!important;grid-column:auto!important;grid-row:auto!important;min-width:0;margin:0!important;font:600 11px/1.4 Inter,sans-serif!important;letter-spacing:.07em!important;text-transform:uppercase;color:#8a7a6a!important;width:auto!important;}
body.dml-product-layout .dmr-filter-panel form.dmr-archive-filters :is(input,select) {width:100%!important;max-width:none!important;min-width:0;height:44px!important;min-height:44px!important;box-sizing:border-box;padding:0 14px!important;font:400 13.5px/1.4 Inter,sans-serif!important;color:#30271f!important;background-color:#fff!important;border:1px solid #ded5ca!important;border-radius:9px!important;box-shadow:none!important;}
body.dml-product-layout .dmr-filter-panel form.dmr-archive-filters select {appearance:none!important;-webkit-appearance:none!important;padding-right:38px!important;background-image:url("data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' width=\'12\' height=\'8\' viewBox=\'0 0 12 8\'%3E%3Cpath fill=\'none\' stroke=\'%2359300f\' stroke-width=\'1.6\' stroke-linecap=\'round\' stroke-linejoin=\'round\' d=\'M1 1.5 6 6.5l5-5\'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 14px center!important;background-size:12px 8px!important;}
body.dml-product-layout .dmr-filter-panel form.dmr-archive-filters :is(input,select):focus {border-color:#59300f!important;box-shadow:0 0 0 3px rgba(89,48,15,.12)!important;outline:0!important;}
body.dml-product-layout .dmr-filter-panel form.dmr-archive-filters>button {width:100%!important;height:44px!important;min-height:44px!important;margin:0!important;padding:0 18px!important;border:1px solid #59300f!important;border-radius:9px!important;background:#59300f!important;color:#fff!important;font:600 12px/1 Inter,sans-serif!important;letter-spacing:.09em!important;text-transform:uppercase;cursor:pointer;box-shadow:none!important;}
body.dml-product-layout .dmr-filter-panel form.dmr-archive-filters>button:is(:hover,:focus-visible) {background:#3d210c!important;border-color:#3d210c!important;}
body.dml-product-layout .dmr-filter-panel form.dmr-archive-filters>a {grid-column:1/-1!important;justify-self:start;margin:0!important;padding:0!important;font:400 12.5px/1.4 Inter,sans-serif!important;color:#8a7a6a!important;text-decoration:underline;text-underline-offset:3px;}
body.dml-product-layout .dmr-filter-panel form.dmr-archive-filters>a:is(:hover,:focus-visible) {color:#59300f!important;}
@media(max-width:1100px){
 body.dml-product-layout .dmr-filter-panel form.dmr-archive-filters {grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px 18px!important;padding:20px!important;}
 body.dml-product-layout .dmr-filter-panel form.dmr-archive-filters>button {grid-column:1/-1!important;}
}
@media(max-width:560px){
 body.dml-product-layout .dmr-filter-panel form.dmr-archive-filters {grid-template-columns:minmax(0,1fr)!important;}
 body.dml-product-layout .dmr-filter-panel form.dmr-archive-filters :is(input,select),
 body.dml-product-layout .dmr-filter-panel form.dmr-archive-filters>button {height:46px!important;min-height:46px!important;}
}

/* Archive header row: the count line and the sort select share one nowrap flex row, which
   collides as soon as the copy wraps. Let it wrap and give the select the same control shape
   as the filter fields so the block reads as one unit. */
body.dml-product-layout .wp-block-group:has(>.wc-block-product-results-count) {flex-wrap:wrap!important;align-items:center!important;gap:10px 20px!important;}
body.dml-product-layout .wc-block-product-results-count {flex:1 1 auto;min-width:0;}
body.dml-product-layout .woocommerce-result-count {margin:0!important;font:400 13px/1.5 Inter,sans-serif!important;color:#6f6257!important;text-transform:none;letter-spacing:0;}
body.dml-product-layout .woocommerce-ordering {margin:0!important;float:none!important;flex:0 0 auto;}
body.dml-product-layout .woocommerce-ordering select {height:40px!important;min-height:40px!important;box-sizing:border-box;padding:0 36px 0 14px!important;font:400 13px/1 Inter,sans-serif!important;color:#30271f!important;background-color:#fff!important;border:1px solid #ded5ca!important;border-radius:9px!important;appearance:none!important;-webkit-appearance:none!important;background-image:url("data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' width=\'12\' height=\'8\' viewBox=\'0 0 12 8\'%3E%3Cpath fill=\'none\' stroke=\'%2359300f\' stroke-width=\'1.6\' stroke-linecap=\'round\' stroke-linejoin=\'round\' d=\'M1 1.5 6 6.5l5-5\'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 13px center!important;background-size:12px 8px!important;}
@media(max-width:560px){
 body.dml-product-layout .wc-block-catalog-sorting {flex:1 1 100%!important;width:100%!important;max-width:none!important;}
 body.dml-product-layout .wc-block-catalog-sorting .woocommerce-ordering {width:100%!important;max-width:none!important;}
 body.dml-product-layout .wc-block-catalog-sorting select {width:100%!important;max-width:none!important;height:44px!important;min-height:44px!important;}
}
