/* Focused storefront polish. Existing brand palette and typefaces are retained. */
.site-header { overflow:visible; z-index:40; }
.site-header .desktop-nav { flex:1 1 auto; justify-content:center; gap:clamp(12px,1.05vw,22px)!important; }
.site-header .desktop-nav a,.site-header .desktop-nav summary { font-size:.9rem; white-space:nowrap; }
.site-header .collection-menu { position:relative; margin:0; padding:0; border:0; }
.site-header .collection-menu > summary { display:flex; align-items:center; justify-content:space-between; gap:10px; min-height:44px; padding:10px 0; cursor:pointer; list-style:none; color:inherit; line-height:1.4; }
.site-header .collection-menu > summary::after,.site-header .collection-menu > summary::before { content:none!important; display:none!important; }
.site-header .collection-menu > summary::-webkit-details-marker { display:none; }
.site-header .collection-toggle-icon { display:block; width:12px; height:12px; flex:0 0 12px; overflow:visible; }
.site-header .collection-menu[open] .collection-toggle-vertical { display:none; }
.site-header .desktop-nav .collection-menu > div { position:absolute; top:calc(100% + 6px); left:-18px; display:grid; width:258px; padding:12px; background:var(--paper,#F2ECE2); border:1px solid #d8cbbd; box-shadow:0 12px 28px #2e292614; z-index:50; }
.site-header .desktop-nav .collection-menu:not([open]) > div { display:none; }
.site-header .desktop-nav .collection-menu > div a { display:block; white-space:normal; padding:10px 12px; min-height:42px; line-height:1.4; border:0; }
.site-header .desktop-nav .collection-menu > div a:hover,.site-header .desktop-nav .collection-menu > div a:focus-visible { background:#E5DACE; }
.site-header a:focus-visible,.site-header summary:focus-visible { outline:2px solid var(--wine,#421d2e); outline-offset:3px; }
.site-header .mobile-menu nav .collection-menu > summary { justify-content:space-between; font-size:14px!important; }
.site-header .mobile-menu nav .collection-menu > div { width:auto; }
.site-header .mobile-menu nav .collection-menu:not([open]) > div { display:none; }
.site-header .mobile-menu nav .collection-menu > summary .collection-toggle-icon { width:12px; height:12px; }
@media(min-width:1280px) { .site-header .desktop-nav { display:flex; } .site-header .mobile-menu { display:none; } }
@media(max-width:1279px) { .site-header .desktop-nav { display:none; } }

/* Color is shown once, with one selection ring and a separate keyboard focus. */
.le-swatches { display:flex; flex-wrap:wrap; gap:8px; margin:16px 0 24px; align-items:center; }
.le-swatches a { display:grid; place-items:center; flex:0 0 44px; width:44px; height:44px; min-width:44px; padding:0; margin:0; border:1px solid transparent; border-radius:50%; background:transparent; outline:none; outline-offset:0; box-shadow:none; text-decoration:none; }
.le-swatches a::before { content:""; display:block; width:28px; height:28px; border-radius:50%; background:var(--shade); box-shadow:inset 0 0 0 1px #00000015; }
.le-swatches a[aria-current=page] { outline:none; border-color:var(--wine,#421d2e); }
.le-swatches a:focus-visible { outline:2px solid var(--wine,#421d2e); outline-offset:2px; }
.le-options label { display:flex; align-items:center; gap:10px; min-height:48px; }
.le-options input { flex:0 0 auto; width:18px; height:18px; margin:0; accent-color:var(--wine,#421d2e); }
.le-gallery,.qc-detail figure,.product-gallery,.ee-gallery { min-width:0; }
.le-gallery > img,#qc-image,.gallery-stage > img,#ee-image { display:block; width:100%; aspect-ratio:1; height:auto; max-height:760px; object-fit:contain; background:transparent!important; border:0; border-radius:6px; opacity:1!important; }
.le-gallery > img { aspect-ratio:4/3; }
.le-gallery,.gallery-stage,.qc-detail figure { background:transparent!important; }
.le-views,#qc-gallery,.gallery-controls,.ee-views { display:flex; flex-wrap:wrap; align-items:flex-start; justify-content:flex-start; gap:10px; margin:16px 0 10px; }
.le-views button,#qc-gallery button,.gallery-controls button,.ee-views button { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:5px; flex:0 0 auto; width:auto; min-width:44px; min-height:44px; max-width:120px; padding:8px 10px; border:1px solid #c7baa8; border-radius:4px; font:inherit; font-size:.8rem; line-height:1.4; background:transparent; color:var(--ink,#2e2926); cursor:pointer; }
.le-views button[aria-pressed=true],#qc-gallery button[aria-pressed=true],.gallery-controls button[aria-pressed=true],.ee-views button[aria-pressed=true] { border-color:var(--wine,#421d2e); background:#E5DACE; color:var(--wine,#421d2e); }
.le-views button:focus-visible,#qc-gallery button:focus-visible,.gallery-controls button:focus-visible { outline:2px solid var(--wine,#421d2e); outline-offset:3px; }
.le-views button img,#qc-gallery button img,.gallery-controls button img { width:64px; height:52px; object-fit:contain; background:transparent; border-radius:2px; }
.gallery-reference { display:block; font-size:.85rem; line-height:1.6; margin-top:10px; }
.gallery-loading { opacity:.7; }
.gallery-empty { display:grid; place-items:center; min-height:260px; padding:24px; border:1px solid #d8cbbd; }
.gallery-empty[hidden],.le-views[hidden],#qc-gallery[hidden],.gallery-controls[hidden],.ee-views[hidden] { display:none; }
.le-card img { background:transparent; aspect-ratio:4/3; object-fit:cover; border-radius:6px; }
.le-card p { max-width:35ch; }
.le-tier-card { background:transparent; border:0; border-top:1px solid #d8cbbd; padding:24px 0 0; }
.le-intro { padding-block:clamp(24px,4vw,48px); }
.le-family { margin-top:32px; }
.le-room-card img,.art-photo img,.gift-art img,.product-photo img { border-radius:6px; }
.le-gallery figcaption,#qc-caption,[data-gallery-caption-live],#ee-caption { min-height:2.8em; margin-top:10px; }
.qc-options { display:flex; flex-wrap:wrap; gap:10px; }
.qc-options label { margin:0; min-height:44px; }
.product-page,.qc-detail,.le-detail { column-gap:clamp(28px,4vw,64px); }

/* One compact, consistent signup; no decorative image or duplicated card. */
.footer-signup { display:grid; grid-template-columns:minmax(0,1fr) minmax(320px,1fr); gap:clamp(24px,6vw,90px); padding-bottom:32px; margin-bottom:32px; border-bottom:1px solid #a4885f66; align-items:start; }
.footer-signup h2 { font-size:clamp(28px,2.2vw,40px); line-height:1.15; margin:0 0 10px; color:inherit; }
.footer-signup p { font-size:.875rem; max-width:42ch; line-height:1.6; }
.footer-signup form { margin:0; width:100%; max-width:560px; }
.footer-signup label { display:block; font-size:.875rem; margin:0 0 8px; color:inherit; }
.signup-row { display:flex; gap:8px; align-items:stretch; }
.footer-signup input[type=email] { width:100%; flex:1 1 190px; min-width:0; min-height:48px; border:1px solid #c7baa8; border-radius:3px; padding:12px; background:#F2ECE2; color:#421d2e; font:inherit; font-size:1rem; }
.footer-signup button { flex:0 0 auto; min-height:48px; border:1px solid #F2ECE2; border-radius:3px; background:#F2ECE2; color:#421d2e; padding:12px 18px; font:inherit; font-size:.875rem; cursor:pointer; }
.footer-signup .newsletter-note { max-width:none; margin:10px 0 0; font-size:.75rem; }
.footer-signup .newsletter-feedback { max-width:none; margin:12px 0 0; font-size:.875rem; color:inherit; }
.footer-signup .newsletter-feedback[hidden] { display:none; }
.footer-signup a { color:inherit; text-decoration:underline; text-underline-offset:3px; }
.footer-signup .honeypot { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.footer-signup input:focus-visible,.footer-signup button:focus-visible { outline:2px solid #F2ECE2; outline-offset:3px; }
@media(max-width:760px) { .footer-signup { grid-template-columns:minmax(0,1fr); gap:20px; } .le-swatches { gap:8px; max-width:360px; } .le-gallery > img,#qc-image,.gallery-stage > img,#ee-image { max-height:560px; } }
@media(max-width:380px) { .signup-row { flex-direction:column; } .footer-signup input[type=email] { flex-basis:auto; } }

.le-gallery>img[hidden],#qc-image[hidden],.ee-gallery>img[hidden],.product-gallery>img[hidden]{display:none!important}

/* A soft edge joins the approved room photography to the existing page color. */
.le-gallery > img { aspect-ratio:1; border-radius:0; -webkit-mask-image:linear-gradient(to right,transparent,#000 4%,#000 96%,transparent),linear-gradient(to bottom,transparent,#000 3%,#000 94%,transparent); -webkit-mask-composite:source-in; mask-image:linear-gradient(to right,transparent,#000 4%,#000 96%,transparent),linear-gradient(to bottom,transparent,#000 3%,#000 94%,transparent); mask-composite:intersect; }

.qc-detail { align-items:start; }
.product-gallery,.product-gallery .gallery-stage { background:transparent!important; }
#qc-image[data-presentation=room],#ee-image[data-presentation=room],.gallery-stage>img[data-presentation=room] { border-radius:0; -webkit-mask-image:linear-gradient(to right,transparent,#000 4%,#000 96%,transparent),linear-gradient(to bottom,transparent,#000 3%,#000 94%,transparent); -webkit-mask-composite:source-in; mask-image:linear-gradient(to right,transparent,#000 4%,#000 96%,transparent),linear-gradient(to bottom,transparent,#000 3%,#000 94%,transparent); mask-composite:intersect; }
#qc-image[data-presentation=room],#ee-image[data-presentation=room],.gallery-stage>img[data-presentation=room] { aspect-ratio:auto; }

/* Exact supplier product views retain their full edges and backing. */
.le-gallery > img[data-presentation="product"] { -webkit-mask-image:none; mask-image:none; }

/* November 3 phone review: regular swatch grid and integrated choice rows. */
nav.le-swatches { display:grid; grid-template-columns:repeat(6,44px); grid-auto-rows:44px; justify-content:start; align-items:center; gap:10px; width:100%; max-width:none; order:0; }
nav.le-swatches a { box-sizing:border-box; position:relative; display:flex; align-items:center; justify-content:center; width:44px; height:44px; min-width:44px; margin:0; padding:0; transform:none; }
nav.le-swatches a::before { flex:0 0 28px; margin:0; }
nav.le-swatches a::after { content:none; }
.le-options,.qc-options,.size-picker { display:grid; grid-template-columns:minmax(0,1fr); gap:0; width:100%; min-width:0; margin:24px 0; padding:0; border:0; background:transparent; box-shadow:none; }
.le-options legend,.qc-options legend,.size-picker legend { font:600 .9rem/1.5 'DM Sans',sans-serif; margin-bottom:10px; padding:0; }
.le-options label,.qc-options label,.size-picker .size-option { box-sizing:border-box; width:100%; min-width:0; display:flex; align-items:center; gap:12px; min-height:48px; margin:0; padding:13px 4px; border:0; border-bottom:1px solid #c7baa880; border-radius:0; background:transparent; box-shadow:none; font-size:.9rem; line-height:1.5; }
.le-options label:has(input:checked),.qc-options label:has(input:checked),.size-picker .size-option:has(input:checked) { background:transparent; color:var(--wine,#421d2e); border-color:var(--wine,#421d2e); box-shadow:none; }
.le-options input,.qc-options input,.size-picker input { width:18px; height:18px; flex:0 0 18px; margin:0; accent-color:var(--wine,#421d2e); }
.le-options label:focus-within,.qc-options label:focus-within,.size-picker label:focus-within { outline:2px solid var(--wine,#421d2e); outline-offset:3px; }
@media(max-width:359px) { nav.le-swatches { grid-template-columns:repeat(5,44px); gap:4px; } }

/* Keep the navigation panel inside short landscape viewports. */
@media(max-width:1279px){.site-header .mobile-menu nav{max-height:min(70dvh,calc(100dvh - 160px));overflow-y:auto;overscroll-behavior:contain;}}

/* Keep comparable collection cards on common image, title, and action lines. */
.art-collections .art-mosaic {
  width: min(100%, 1200px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(2rem, 4vw, 3.5rem) clamp(1.25rem, 3vw, 2.5rem);
}
.art-mosaic .art-story, .art-mosaic .art-story:nth-child(even) {
  display: flex;
  flex-direction: column;
  padding-top: 0;
  margin: 0;
}
.art-mosaic .art-story .art-scene { aspect-ratio: 4/3; overflow: hidden; }
.art-mosaic .art-story .art-scene img {
  width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover;
}
.art-mosaic .art-story .art-story-copy {
  display: flex; flex: 1; flex-direction: column; align-items: flex-start;
  padding: 1rem 0 0;
}
.art-mosaic .art-story-copy > a:last-child,
:is(.qc-grid,.ee-grid,.animation-grid,.cs-grid) > article > a:last-child { margin-top: auto; }
:is(.qc-grid,.ee-grid,.animation-grid,.cs-grid,.products,.le-colors) {
  max-width: 1200px; margin-inline: auto; align-items: stretch;
}
:is(.qc-grid,.ee-grid,.animation-grid,.cs-grid) > article {
  display: flex; flex-direction: column; min-width: 0;
}
:is(.qc-grid,.ee-grid,.animation-grid,.cs-grid) > article > a:first-child img {
  width: 100%; height: auto; aspect-ratio: 4/3; object-fit: contain;
}
.store-choices { display: grid; gap: .85rem; margin-block: 1.2rem; }
.store-choices label { display: grid; gap: .35rem; }
.store-choices select { width: 100%; font: inherit; padding: .75rem; border: 1px solid #97867e; border-radius: 5px; background: #fffaf4; color: #382c2c; }
@media (max-width: 700px) {
  .art-collections .art-mosaic { grid-template-columns: minmax(0,1fr); gap: 2rem; }
}

/* Keep material controls within narrow product columns and readable on iOS. */
.product-page > *, .product-page .store-choices, .product-page .store-choices label { min-width: 0; }
.store-choices select { box-sizing: border-box; max-width: 100%; min-height: 44px; }
@media(max-width:760px) { .store-choices select { font-size:16px; } .product-page .purchase a.button { white-space:normal; overflow-wrap:anywhere; } }
@media(max-width:1279px) { .site-header .mobile-menu > nav { overflow-y:auto; overscroll-behavior:contain; } }

/* Compact product choices and consistent editorial spacing. */
.qc-detail,.animation-detail.product-page,.product-page{align-items:start;gap:clamp(24px,4vw,64px)}
.qc-detail>div,.product-page>div,.qc-detail figure{min-width:0}
.qc-detail h1,.product-page h1{font-size:clamp(32px,3.7vw,52px);line-height:1.1;margin:12px 0 18px;overflow-wrap:break-word}
.qc-detail h2{font-size:clamp(23px,2.2vw,30px);line-height:1.25;margin:12px 0}
.qc-detail .lead,.product-page .lead{font-size:16px;line-height:1.65;margin:12px 0 20px}
.product-page .animation-coming{padding:18px 0;margin:20px 0}
.product-page .animation-coming h2{font-size:27px;line-height:1.2;margin:10px 0 18px}
.qc-options.qc-selects,.store-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0}
.qc-selects label,.store-choices label{display:flex;flex-direction:column;align-items:stretch;gap:7px;min-width:0;font-size:14px;line-height:1.4;padding:0;border:0}
.qc-selects select,.store-choices select{width:100%;min-width:0;min-height:48px;border-radius:8px;background:#faf6f0;border:1px solid #baa995;padding:10px;font-size:16px}
.qc-selects>small,.store-choices>small{grid-column:1/-1;font-size:12px;line-height:1.5}
.product-page .purchase{margin:18px 0;padding:0}
.product-page .purchase .button,.qc-status .button{width:100%;justify-content:center;text-align:center;min-height:48px}
.qc-status{border-radius:12px;padding:16px;margin:18px 0;background:#eee5d9}
.product-page .everyday-size-note,.qc-detail .everyday-size-note,.product-page .color-note,.qc-detail .color-note{font-size:13px;line-height:1.5;margin:10px 0}
.gallery-stage,.qc-detail figure>img,.product-gallery>img{border-radius:16px;background:#eee5d9;overflow:hidden}
.gallery-controls{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.gallery-controls button{flex:0 1 auto;min-height:44px;padding:8px 12px;border-radius:8px;font-size:13px}
.mobile-menu>summary:focus-visible,.collection-menu>summary:focus-visible{outline:3px solid #8f5a66;outline-offset:4px}
@media(max-width:1279px){
.site-header .mobile-menu>nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:min(400px,calc(100vw - 32px));max-width:calc(100vw - 32px);left:auto;right:0;padding:12px;gap:0 12px;max-height:min(70dvh,560px);border-radius:14px;background:#f8f2e8;box-shadow:0 16px 42px #30282b26}
.site-header .mobile-menu:not([open])>nav{display:none}
.site-header .mobile-menu>nav>a{font-size:14px;line-height:1.35;padding:11px 6px;min-height:44px;display:flex;align-items:center}
.site-header .mobile-menu>nav>.collection-menu{grid-column:1/-1}
.site-header .mobile-menu nav .collection-menu>summary{padding:12px 6px;font-size:14px}
.site-header .mobile-menu nav .collection-menu>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 8px;padding:4px;background:#eee5d9;border-radius:10px}
.site-header .mobile-menu nav .collection-menu:not([open])>div{display:none}
.site-header .mobile-menu nav .collection-menu>div a{white-space:normal;padding:10px 8px!important;font-size:13px;line-height:1.4}
}
@media(max-width:760px){.qc-detail,.animation-detail.product-page{padding-top:24px;gap:24px}.qc-detail h1,.product-page h1{margin-top:10px}.art-mosaic{gap:32px}.art-story-copy{padding-top:18px}.section{padding-block:38px}.gallery-controls button{flex:1 1 28%}.product-page .animation-coming h2{font-size:24px}}
@media(max-width:359px){.qc-options.qc-selects,.store-choices{grid-template-columns:1fr}}
@media(orientation:landscape) and (max-height:600px){.site-header .mobile-menu>nav{max-height:calc(100dvh - 96px)}}

@media (max-width: 760px) {
  .site-header .mobile-menu[open] > nav {
    display: block;
    width: min(360px, calc(100vw - 32px));
    box-sizing: border-box;
    max-height: min(72dvh, 650px);
    overflow-y: auto;
  }
  .site-header .mobile-menu nav .collection-menu[open] > div {
    display: block;
    position: static;
    width: 100%;
    box-sizing: border-box;
  }
  .site-header .mobile-menu nav a,
  .site-header .mobile-menu nav .collection-menu {
    display: block;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
  }
}
