.pieces { --st-tile: #f6f3ed; --rule: #c9c1b3; font-family: var(--display); font-size: 1rem; line-height: 1.45; }
.pieces main { padding-bottom: clamp(3rem, 6vw, 5rem); min-height: 65vh; }
.pieces h1 { font-size: clamp(2.45rem, 4vw, 3.25rem); font-weight: 300; letter-spacing: -.035em; overflow-wrap: anywhere; }
.pieces main a:not(.piece-card, .chip, .btn, .choice, .type-title) { text-decoration-color: var(--brass-line); text-underline-offset: .3em; }
.pieces main section { padding: 0; margin-top: clamp(2.4rem, 4.5vw, 4.5rem); }
.opening { padding-top: clamp(2.5rem, 5.5vw, 5rem); }
.opening .eyebrow { margin-bottom: 1.1rem; }
.opening .dowel { width: 3rem; }
.opening h1 { font-size: clamp(2.45rem, 5vw, 4.2rem); }
.intro { max-width: 63ch; font: 1.23rem/1.55 var(--text); margin: 1.25rem 0 .85rem; }
.section-head, .chips, .trail, .actions, .results { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1.2rem; }
.brand, .piece-info legend span { font-size: 0.75rem; line-height: 1.4; letter-spacing: .17em; text-transform: uppercase; }
.section-head a, .trail a, .sub-links a, .results a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.section-head { justify-content: space-between; padding-bottom: .6rem; border-bottom: 1px solid var(--rule); margin-bottom: 1rem; }
.section-head h2 { font-size: clamp(1.4rem, 2vw, 1.7rem); font-weight: 400; letter-spacing: -.025em; }
.section-head a { font-size: .95rem; }
.featured, .piece-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1.6rem clamp(.8rem, 1.55vw, 1.6rem); }
.piece-card, .type-title { text-decoration: none; min-width: 0; }
.piece-card { display: flex; flex-direction: column; align-items: stretch; }
.piece-card:hover .piece-name, .type-title:hover h3 { text-decoration: underline; text-decoration-color: var(--brass-line); text-underline-offset: .22em; }
.piece-photo { display: block; aspect-ratio: 1; position: relative; overflow: hidden; background: var(--st-tile); }
.piece-photo img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.piece-photo[data-brand="apparatus"], .piece-photo[data-brand="allied-maker"], .piece-photo[data-brand="lostine"] { background: var(--st-tile); }
.light-photo:not([data-brand="apparatus"],[data-brand="lostine"],[data-brand="allied-maker"]) img {
  width: 84%; height: 92%; margin-inline: auto; object-position: center top;
}
.light-photo[data-brand="apparatus"] { background: black; }
.brand-grid .light-photo:has(img[src$="/placements/vc-lorford-smoke-bell-lantern-chc2270.jpg"]) { background: white; }
.light-photo:is([data-brand="apparatus"],[data-brand="lostine"],[data-brand="allied-maker"]) img { mix-blend-mode: normal; }
.piece-photo[data-catalog-frame="measured"] { background: var(--frame-ground); }
.piece-photo[data-catalog-frame="measured"] img { position: absolute; left: var(--frame-x); top: var(--frame-y); width: var(--frame-w); height: var(--frame-h); max-width: none; filter: brightness(var(--frame-lift, 1)); object-fit: fill; }
.piece-photo[data-photo="photo"] img { mix-blend-mode: normal; }
.light-photo[data-brand="allied-maker"][data-photo="cut"] img { mix-blend-mode: multiply; }
.batch-review { max-width: 58rem; margin: 2rem auto; line-height: 1.55; }
.batch-review h2 { margin-top: 2.5rem; }
.batch-review details { margin-block: .7rem; }
.batch-review summary { cursor: pointer; }
.batch-review a, .gallery-slide figcaption a { text-decoration: underline; text-underline-offset: .15em; }
.list-picture { background: #f6f3ed; }
.list-picture img { display: block; width: 100%; height: 100%; object-fit: cover; }
.list-picture[data-ground="cream"] img { object-fit: cover; mix-blend-mode: normal; }
.list-picture[data-ground="vendor"] img { object-fit: cover; mix-blend-mode: normal; }
.brand { color: var(--label); margin: .85rem 0 .27rem; display: block; }
.piece-name { font-size: 1.04rem; line-height: 1.3; overflow-wrap: anywhere; }
.pieces small, .measure, .piece-detail figcaption { color: var(--muted); font-size: .88rem; font-weight: 400; }
.piece-card small { margin-top: .25rem; }
.featured > .piece-tile:first-child .piece-name { font-size: 1.45rem; font-weight: 300; }
.type-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 2rem 1.25rem; }
.type-title .piece-photo { aspect-ratio: 4 / 3; margin-bottom: .9rem; }
.type-title h3 { font-weight: 300; font-size: 1.5rem; }
.type-title small { margin-left: .35rem; }
.sub-links { margin-top: .55rem; }
.sub-links a { width: fit-content; display: flex; gap: .4em; font-size: .92rem; line-height: 1.25; text-decoration: none; }
.sub-links a span { text-decoration: underline; text-decoration-color: var(--brass-line); text-underline-offset: .22em; }
.sub-links a small { font-size: .8rem; color: var(--muted); }
.chips { gap: .5rem; }
.chip, .choice { border: 1px solid #aaa293; padding: .5rem .9rem; border-radius: 2rem; text-decoration: none; color: var(--ink); min-height: 2.75rem; align-items: center; justify-content: center; gap: .45rem; display: inline-flex; font: inherit; }
.chip:hover, .choice:hover { border-color: var(--ink); }
.chip[aria-current] { background: var(--navy); color: white; border-color: var(--navy); }
.chip[aria-current] small { color: #ddd9d0; }
.trail { padding: 1.2rem 0 .5rem; gap: .65rem; color: var(--muted); font-size: .93rem; }
.trail i { color: var(--brass); font-style: normal; }
.subtypes { margin: 1.15rem 0; }
.results { margin: 1rem 0; justify-content: space-between; min-height: 1.5rem; color: var(--muted); font-size: .88rem; }
.piece-detail { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.9fr); gap: clamp(1.5rem,4vw,4rem); align-items: start; }
.piece-detail figure { margin: 0; }
.piece-detail .piece-photo { aspect-ratio: 5 / 4; }
.piece-detail .light-photo { aspect-ratio: 1; }
.piece-detail figcaption { margin-top: .65rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .2rem 1rem; }
/* Share this piece sits with the photo, away from the button that leaves the site (Jeff, November 23, 2026). */
.piece-detail[aria-busy="true"] :is(.actions,.share) { opacity:.55; }
.piece-detail .share { display: inline-flex; align-items: center; gap: .6rem; }
.piece-detail .share [role=status]:empty { display: none; }
.actions .btn .out { margin-left: .5em; font-family: var(--text); letter-spacing: 0; }
.piece-info > .brand { margin: 0 0 .4rem; }
.piece-info .offer { color: var(--label); margin-top: .8rem; }
/* The offer on a piece's page (Jeff, November 23, 2026): the code in the same dashed box as the shopping list, with Copy code. */
.piece-info .offer p { margin: 0; }
.offer-line { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .6rem; font-size: 1.15rem; }
.piece-info .offer .offer-only { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .6rem; }
/* Keep the code and its button together when they fit. At enlarged text sizes either can take its own line. */
.offer-code { display: inline-flex; flex-wrap: wrap; max-width: 100%; align-items: center; gap: .6rem; }
@media (max-width: 30em) {
  /* A phone keeps "Or enter code", the code and Copy code on one line; at 320 wide the words go above the code. */
  .piece-info .offer :is(.offer-or,.offer-only) { column-gap: .45rem; }
  .offer-code { gap: .45rem; }
  .piece-info .offer-codebox { padding: .3rem .5rem; font-size: .86rem; letter-spacing: .04em; }
}
.room-jump-note { margin: .45rem 0 0; color: var(--muted); font-size: .88rem; }
.piece-info :is(.actions,.room-jump-note) + .piece-description { margin-top: 1.6rem; }
.piece-info .offer .offer-or { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .6rem; margin-top: .45rem; color: var(--muted); font-size: .95rem; }
.piece-info .offer .offer-note { margin-top: .35rem; color: var(--muted); font-size: .9rem; }
.offer-codebox { display: inline-block; padding: .3rem .65rem; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92rem; letter-spacing: .1em; color: var(--ink); border: 1px dashed var(--brass); border-radius: .2rem; user-select: all; overflow-wrap: anywhere; }
.offer-copy { min-height: 2.75rem; padding: 0; cursor: pointer; border: 0; background: transparent; font: inherit; font-size: .92rem; color: var(--ink); text-decoration: underline var(--brass-line); text-underline-offset: .3em; white-space: nowrap; }
.offer-copy:focus-visible:not(:where(.pointer-focus)) { outline: 2px solid var(--brass); outline-offset: 2px; }
.piece-detail .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.piece-info fieldset { padding: 0; margin: 1.6rem 0 0; border: 0; min-width: 0; }
.piece-info legend { padding: 0; margin: 0 0 .6rem; font-size: .95rem; }
.piece-info legend span { color: var(--muted); margin-right: .65rem; }
.piece-info fieldset div { display: flex; flex-wrap: wrap; gap: .4rem; }
.choice { min-height: 2.75rem; border-radius: .1rem; padding: .45rem .8rem; background: #f0ece4; font-size: .92rem; }
.finish-dot { width: 1.1rem; height: 1.1rem; flex: 0 0 1.1rem; border-radius: 50%; box-shadow: inset 0 0 0 1px #0003; }
.piece-info .finish-material { margin: .75rem 0 .4rem; font-size: 1rem; font-weight: 400; }
.choice[aria-current] { outline: 2px solid var(--navy); outline-offset: -2px; }
.choice:focus-visible:not(:where(.pointer-focus)) { outline: 2px solid var(--brass); outline-offset: 2px; }
.measure { margin: .7rem 0; }
.actions { margin-top: 2rem; }
.actions .btn { background: var(--ink); color: var(--paper); border-color: var(--ink); white-space: normal; text-align: center; }
.actions .btn:hover { background: var(--navy); }
.piece-detail [data-copy] { cursor: pointer; border: 0; background: transparent; font: inherit; color: inherit; text-decoration: underline var(--brass-line); text-underline-offset: .3em; min-height: 2.75rem; }
.type-intro,.outdoor-setting > p { max-width:62ch; color:var(--muted); }
.outdoor-setting { margin:2rem 0; }
.outdoor-setting h3 { margin:2rem 0 1rem; }
.choice[aria-disabled] { color:var(--muted); border-style:dashed; }
.piece-credit,.availability { margin:.6rem 0 1rem; }
.unavailable { padding: .8rem 1rem; margin: 1rem 0; border-left: 3px solid var(--brass); background: #f5f1e9; }
.disclosure { margin: 3rem 0 0; padding-top: 1.2rem; border-top: 1px solid var(--rule); color: var(--muted); font-size: .86rem; max-width: none; }
@media (max-width: 55em) {
  .type-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 44em) {
  .featured, .piece-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.2rem .8rem; }
  .featured > .piece-tile:first-child .piece-photo { aspect-ratio: 4 / 3; flex: none; }
  .type-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }
  .type-block { padding: 1rem 0; border-bottom: 1px solid var(--rule); }
  .type-title { display: flex; align-items: center; gap: 1rem; }
  .type-title .piece-photo { width: 4.75rem; aspect-ratio: 1; margin: 0; flex-shrink: 0; }
  .sub-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .2rem .8rem; }
  .sub-links a { width: 100%; }
  .piece-detail { display: block; }
  .piece-info { margin-top: 1.65rem; }
  .actions .btn { width: 100%; justify-content: center; }

}

/* The opening and its framed selections */
.opening { padding-top: clamp(2rem,4vw,4rem); }
.opening-copy { display:grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.opening-copy .intro { margin: .15em 0 0; max-width: 34ch; }
.opening-copy em, .home-pieces em { color: var(--brass); font-family: var(--text); font-weight: 300; }
.pieces .type-grid { margin-top: 2.5rem; }
.type-title .piece-photo { aspect-ratio: 3 / 2; }
.sub-links a { min-height: 1.9rem; }
.featured { grid-template-columns: minmax(0,2.08fr) repeat(4,minmax(0,1fr)); column-gap: .85rem; }
.featured > .piece-tile:first-child { grid-area: auto; }
.featured > .piece-tile:first-child .piece-photo { flex: none; aspect-ratio: 2.08; }
.featured > .piece-tile:first-child .piece-name { font-size: 1.04rem; font-weight: 400; }
.brand-grid { display:grid; grid-template-columns: repeat(auto-fit,minmax(min(8rem,100%),1fr)); gap: .8rem; }
.brand-grid a { text-decoration: none; }
.brand-grid strong, .brand-grid small { display:block; }
.brand-grid strong { margin-top: .5rem; font-weight: 400; }
.back-list { display: inline-flex; align-items: center; min-height: 2.75rem; margin-top: .6rem; }
button.back-list { background:transparent; border:0; padding:0; color:inherit; font:inherit; text-decoration:underline; cursor:pointer; }
.back-list::before { content:'‹'; margin-right:.45em; }

.query-field { display:flex; align-items:center; gap:.45rem; min-width:0; background:#f7f4ec; color:var(--ink); border:1px solid #aaa293; border-radius:2rem; padding:.42rem .85rem; }
.query-field svg, .row-search button svg { width:1.15rem; height:1.15rem; flex:none; fill:none; stroke:currentColor; stroke-width:1.5; }
.query-field input { min-width:0; width:100%; color:inherit; background:none; border:0; font:inherit; }
.query-field:focus-within { outline:2px solid var(--brass); }
.query-field input:focus { outline:none; }
.row-search { margin-left:auto; max-width:15rem; padding:.3rem 0; font:.9rem var(--display); }
.row-search button { display:none; }
/* By brand: a menu beside Search. Each brand goes straight to its pieces. */
.brand-menu { position:relative; flex:none; margin-left:auto; margin-right:.75rem; font:.92rem var(--display); }
.brand-menu + .row-search { margin-left:0; }
.brand-menu summary { display:inline-flex; align-items:center; gap:.4rem; min-height:2.75rem; cursor:pointer; list-style:none; text-underline-offset:.4em; }
.brand-menu summary::-webkit-details-marker { display:none; }
.brand-menu .chevron { width:.75rem; height:.75rem; fill:none; stroke:currentColor; stroke-width:1.5; transition:transform .2s; }
.brand-menu[open] .chevron { transform:rotate(180deg); }
.brand-menu summary:hover, .brand-menu.current summary, .brand-menu[open] summary { text-decoration:underline; text-decoration-color:var(--brass-line); }
.brand-menu summary:focus-visible:not(:where(.pointer-focus)) { outline:2px solid var(--brass); outline-offset:3px; }
.brand-menu ul { position:absolute; right:0; top:calc(100% + .3rem); z-index:30; min-width:14rem; margin:0; padding:.4rem 0; list-style:none; background:#f6f2ea; color:var(--ink); border:1px solid #d6cdbc; border-radius:.6rem; box-shadow:0 12px 32px rgb(24 24 27 / .14); }
.area-row .brand-menu li a { display:flex; box-sizing:border-box; width:100%; padding:0 1.1rem; font-size:1rem; }
.area-row .brand-menu li a:hover { background:#ece6da; text-decoration:none; }
@media (prefers-reduced-motion: reduce) { .brand-menu .chevron { transition:none; } }
.browse-form,.facet-fields,.sort-field .select-field,.filter-chips,.results nav,.compact-controls { display:flex; align-items:center; flex-wrap:wrap; gap:.45rem; }
.browse-form { margin-top:.9rem; border-block:1px solid var(--rule); padding:.7rem 0; }
.browse-form .query-field { max-width: 20rem; }
.sort-field { margin-left:auto; }
.select-field { display:grid; font-size:.9rem; gap:.35rem; }
.browse-form button,.browse-form select,.facet-menu summary,.compact-controls button { font:inherit; color:inherit; background:transparent; border:1px solid #aaa293; border-radius:.35rem; padding:.48rem .7rem; min-height:2.6rem; cursor:pointer; }
.browse-form select { max-width:100%; }
.browse-ready .facet-fields .select-field,.browse-ready .apply,.compact-controls,.open-filters { display:none; }
.facet-menu { position:relative; font-size:.94rem; }
.facet-menu summary { list-style:none; }
.facet-menu summary::after { content:'⌄'; margin-left:.6em; }
.facet-menu > div { position:absolute; z-index:5; top:100%; left:0; min-width:max-content; padding:.45rem; background:var(--paper); box-shadow:0 4px 15px #0002; }
.browse-sheet header button,.sheet-choices button { font:inherit; background:none; color:inherit; border:0; padding:.55rem; cursor:pointer; }
.facet-menu button,.sheet-choices button { display:block; width:100%; text-align:left; border:0; border-radius:.25rem; }
.facet-menu button:hover,.sheet-choices button:hover { background:#ece6da; }
/* The chosen option is ticked and in a medium weight, so it stays marked while another is pointed at (C-28). */
.facet-menu button,.sheet-choices button { position:relative; padding-left:2rem; }
.facet-menu [aria-pressed="true"],.sheet-choices [aria-pressed="true"] { font-weight:500; }
.facet-menu [aria-pressed="true"]::after,.sheet-choices [aria-pressed="true"]::after { content:''; position:absolute; left:.75rem; top:50%; width:.32rem; height:.62rem; margin-top:-.4rem; border:solid currentColor; border-width:0 .12rem .12rem 0; transform:rotate(45deg); }
.facet-menu button:focus-visible:not(:where(.pointer-focus)),.sheet-choices button:focus-visible:not(:where(.pointer-focus)) { outline:2px solid var(--brass); outline-offset:-2px; }
/* Sort is the same dropdown as the other filters (C-14); its list opens toward the page, from the right edge. */
.sort-field .facet-menu > div { left:auto; right:0; }
.browse-ready .sort-field .select-field { display:none; }
/* While a filter, sort or Back brings the next list, the old one stays put and reads as waiting. */
.pieces main[aria-busy="true"] :is(.piece-grid,.results,.load-more) { opacity:.55; transition:opacity .2s .15s; }
.price-note { margin:-.35rem 0 1rem; color:var(--muted); font-size:.9rem; max-width:62ch; }
.no-results a { text-decoration:underline; }
[data-tone]:not([data-tone=""])::before { content:''; display:inline-block; width:.9em; height:.9em; background:var(--swatch); border:1px solid #0003; border-radius:50%; vertical-align:middle; margin-right:.5em; }
[data-tone="light"] { --swatch:#e7ddc8; } [data-tone="mid"] { --swatch:#947555; } [data-tone="dark"] { --swatch:#40332b; }
.results { justify-content:flex-start; gap:1.5rem; }
.results nav a,.filter-chips a { min-height:2.25rem; padding:.2rem .6rem; display:inline-flex; align-items:center; text-decoration:none; }
.results [aria-current] { background:var(--ink); color:var(--paper); border-radius:.3rem; }
.filter-chips { margin:-.25rem 0 1rem; }
.filter-chips a { border:1px solid var(--rule); border-radius:1rem; font-size:.9rem; }
.load-more { text-align:center; margin-top:2rem; }
.load-more p { margin:0 auto .7rem; color:var(--muted); }
.load-more .btn,.sheet-done { background:var(--ink); color:var(--paper); }
.browse-sheet { padding:1rem; background:var(--paper); color:var(--ink); border:0; width:min(36rem,100%); max-width:100%; max-height:85dvh; margin:auto auto 0; }
.browse-sheet::backdrop { background:#15141466; }
.browse-sheet header { display:flex; align-items:center; justify-content:space-between; }
.browse-sheet h2 { font-size:1.65rem; }
.sheet-choices fieldset { border:0; border-top:1px solid var(--rule); margin:1rem 0; padding:.4rem 0; }
.sheet-choices legend { color:var(--label); font-size:.85rem; }
.sheet-done { width:100%; position:sticky; bottom:0; }
@media (max-width:44em) {
  .opening-copy { display:block; }
  .opening-copy .intro { margin-top:1rem; }
  .featured { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .featured > .piece-tile:first-child { grid-column:span 2; }
  .featured > .piece-tile:first-child .piece-photo { aspect-ratio:2.08; }
  .type-block { min-width:0; padding:0 0 .6rem; }
  .type-title { display:block; }
  .type-block .sub-links { display:none; }
  .type-title .piece-photo { width:100%; aspect-ratio:1; position:relative; }

  .sub-links { display:flex; flex-wrap:wrap; gap:0 .55rem; margin-top:.15rem; }
  .sub-links a { min-height:1.6rem; width:auto; font-size:.85rem; }
  .sub-links a:nth-child(n+4),.sub-links small { display:none; }
  .brand-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .row-search { max-width:45%; }
  .row-search.interactive:not(.expanded) .query-field { display:none; }
  .row-search.interactive button { display:inline-flex; padding:.6rem; }
  .row-search.expanded { display:flex; max-width:100%; width:100%; }
  .area-row .wrap:has(.expanded) :is(nav,.brand-menu) { display:none; }
  .area-row { position:relative; }
  .brand-menu { position:static; margin-right:0; }
  .brand-menu ul { left:0; right:0; top:100%; border-radius:0 0 .8rem .8rem; border-inline:0; padding:.3rem 0 .6rem; }
  .area-row .brand-menu li a { padding:0 var(--gutter); min-height:3rem; border-bottom:1px solid var(--rule); }
  .browse-form { align-items:stretch; }
  .browse-form .query-field { flex-basis:100%; max-width:none; }
  .browse-ready .facet-fields { display:none; }
  .browse-ready .open-filters,.browse-ready .sort-field { flex:1; display:grid; align-items:center; }
  .sort-field .select-field { justify-content:center; }
  .sort-field select { min-width:0; max-width:100%; }
  .browse-ready .subtypes { display:flex; flex-wrap:nowrap; overflow-x:auto; scrollbar-width:thin; gap:.45rem; margin:.65rem 0; }
  .subtypes .chip { white-space:nowrap; flex:none; }
  .subtypes .chip:focus-visible { outline-offset:-4px; }
  .subtypes .chip[aria-current]:focus-visible { outline-color:var(--on-navy); }
  .browse-ready > .top { position:relative; }
  .browse-ready main:has(> .browse-tools) > h1 { margin-bottom:.5rem; }
  .browse-ready .browse-tools { position:sticky; top:0; z-index:6; padding:.1rem 0; }
  .browse-ready .browse-tools.compact { background:var(--paper); }
  .browse-ready .compact .browse-form { display:none; }
  .browse-ready .compact .compact-controls { display:flex; padding-bottom:.25rem; border-bottom:1px solid var(--rule); font-size:.85rem; }
  .compact-controls span { margin-right:auto; }
  .compact-controls button { border:0; }
  .results { gap:.6rem; }
}

@media (max-width:44em) {
  .browse-ready { overflow-anchor:none; }
  .browse-ready .subtypes [aria-current] { order:-1; }
  .browse-ready .sort-field .select-field { display:flex; flex-wrap:nowrap; gap:.25rem; }
  .browse-ready .sort-field select { width:auto; flex:1; }
}

.open-sort, .browse-sheet[data-mode="sort"] .sheet-clear { display:none; }
.sheet-clear { display:inline-flex; align-items:center; margin-left:auto; margin-right:1rem; font-size:.9rem; }
.sheet-clear:focus-visible:not(:where(.pointer-focus)) { outline:none; text-decoration:underline .18em currentColor; text-underline-offset:.2em; }
@media (max-width:44em) {
  .browse-ready .open-sort { display:block; flex:1; }
  .browse-ready .sort-field { display:none; }
}

@media (max-width:40em) {
  .browse-sheet { overscroll-behavior:contain; }
  .browse-sheet :is(button,a), .browse-tools [data-sheet] { min-height:44px; }
  .browse-sheet header [data-close] { min-width:44px; }
}
/* Tablets: a shorter search field (an icon below 50em) leaves room for every category and By brand,
   so the row needs no fade hinting at hidden links. */
@media (min-width:44.001em) and (max-width:60em) { .pieces .row-search { max-width:11.5rem; } .pieces .area-row nav { mask-image:none; padding-right:0; } }
@media (min-width:44.001em) and (max-width:55em) {
  .pieces .row-search.interactive:not(.expanded) .query-field { display:none; }
  .pieces .row-search.interactive button { display:inline-flex; padding:.6rem; }
  .pieces .row-search.expanded { display:flex; max-width:100%; width:100%; }
  .pieces .area-row .wrap:has(.expanded) :is(nav,.brand-menu) { display:none; }
}
/* Keep every Browse destination visible beside the brand picker and search when space is tight. */
@media (width > 40em) {
  .pieces .top .area-row nav { min-width:0; flex-wrap:wrap; row-gap:0; overflow:visible; mask-image:none; padding-right:0; }
}
@media (40em < width <= 68em) {
  .pieces .top .area-row nav { column-gap:.6rem; }
}
@media (max-width:40em) {
  .top .nav .brand-menu { position:static; margin:0; }
  .top .nav .brand-menu summary { min-height:44px; font:1rem/1.3 var(--display); }
  .top .nav .brand-menu ul { position:static; min-width:0; padding:0 0 .3rem 1rem; border:0; border-radius:0; background:none; box-shadow:none; }
  .top .nav .area-row .brand-menu li a { padding:0; border:0; min-height:44px; }
}
/* QA of November 24, 2026. A search that matched a finish names it on the card. When the chosen finish is not the one
   photographed, the note sits right under the choices (item 4). */
.piece-card .found { color: var(--ink); }
.photo-note { margin: .7rem 0 0; padding: .55rem .8rem; border-left: 3px solid var(--brass); background: #f5f1e9; font-size: .9rem; max-width: 36rem; }
/* On a phone, a piece's page opens on its photo (item 5). The Browse row stays in the menu, and one line leads back:
   Back to the exact list someone came from, or the category path for someone who arrived by a shared link. */
@media (max-width:40em) {
  .piece-page .top > .area-row { display:none; }
  .piece-page .back-list:not(.from-list, .from-room) { display:none; }
  .piece-page .back-list:is(.from-list, .from-room) ~ .trail { display:none; }
  .piece-page .back-list { margin:.35rem 0 .45rem; }
  .piece-page .trail { padding:.45rem 0 .55rem; }
}

/* The seven types sit between the introduction and the featured room. */
.opening-copy { align-items:end; grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr); }
.opening-copy .intro { justify-self:end; }
.type-grid { grid-template-columns:repeat(7,minmax(0,1fr)); gap:clamp(.5rem,1.3vw,1.2rem); }
.type-title { display:block; }
.type-title .piece-photo { aspect-ratio:1; }
.type-title h2 { font-size:clamp(1rem,1.45vw,1.35rem); font-weight:400; letter-spacing:-.02em; }
.type-title:hover h2 { text-decoration:underline; text-underline-offset:.25em; }
.pieces main .room-band { position:relative; isolation:isolate; display:grid; grid-template-columns:minmax(0,1.65fr) minmax(0,.95fr); align-items:center; gap:clamp(1.5rem,4vw,4.5rem); padding:clamp(2rem,4vw,4rem) 0; background:var(--navy); color:var(--paper); }
.room-band::before { content:''; position:absolute; z-index:-1; inset:0; background:var(--navy); box-shadow:0 0 0 100vmax var(--navy); clip-path:inset(0 -100vmax); }
.room-band h2 { font-family:var(--text); font-size:clamp(1.8rem,3vw,3rem); font-weight:400; }
.room-band .eyebrow { font:0.75rem/1.4 var(--display); letter-spacing:.18em; color:#ded0af; margin:0 0 .8rem; }
.room-band .btn { color:var(--navy); background:var(--paper); }
.more-rooms { margin-left:1rem; }
.room-photo-link { position:absolute; inset:0; }
.room-band .opening-pin { pointer-events:auto; display:grid; place-items:center; width:var(--target,36px); height:var(--target,36px); border:0; background:transparent; box-shadow:none; touch-action:manipulation; }
.opening-pin::before { content:''; width:12px; height:12px; box-sizing:border-box; background:var(--ink); border:4px solid white; border-radius:50%; box-shadow:0 1px 6px #0006; }
.opening-pin:focus-visible:not(:where(.pointer-focus))::before { outline:3px solid var(--ink); outline-offset:2px; }
.room-samples { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:.65rem; margin-block:1.1rem 1.4rem; }
.room-samples a { display:block; font-size:.84rem; line-height:1.2; text-decoration:none; overflow-wrap:anywhere; }
.room-samples img { width:100%; aspect-ratio:1; object-fit:contain; background:var(--st-tile); margin-bottom:.45rem; }
.room-samples small { display:block; color:#e5d5b8; font-size:0.75rem; }
.brand-grid a { display:flex; flex-direction:column; gap:.35rem; background:var(--st-tile); padding:clamp(.75rem,1.3vw,1.25rem); }
.brand-grid strong { font:400 clamp(1.05rem,1.5vw,1.4rem)/1.25 var(--text); }
.brand-grid a > span { font-size:.8rem; margin-top:auto; padding-top:.8rem; text-decoration:underline; text-underline-offset:.22em; }
/* The last row of a list (C-22): every card keeps the same width in a plain grid and a short last row sits at the left
   (Jeff, November 27, 2026, option B). This replaces the November 25 rule that widened the last cards. */
@media(max-width:44em) {
  .opening-copy { display:block; }
  .pieces .type-grid { grid-template-columns:minmax(0,1fr); gap:0; margin-top:1.2rem; }
  .type-block { padding:.4rem 0; }
  .type-title { display:flex; justify-content:flex-start; gap:min(1rem,4vw); }
  .type-title .piece-photo { width:min(3.35rem,16vw); flex:none; margin:0; }
  .type-title::after { content:'›'; margin-left:auto; color:var(--muted); }
  .type-title h2 { min-width:0; overflow-wrap:anywhere; font-size:1.15rem; }
  .pieces main .room-band { grid-template-columns:1fr; }
  .room-samples { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .brand-grid { grid-template-columns:1fr; gap:0; }
  .brand-grid a { flex-direction:row; align-items:center; justify-content:space-between; gap:1rem; background:transparent; border-bottom:1px solid var(--rule); padding:.9rem 0; }
  .brand-grid strong { margin:0; }
  .brand-grid small { text-align:right; }
  .brand-grid a > span { display:none; }
  /* Phones: every Browse link shows, wrapping to a second line with By brand and search at its end. The row was a
     side-scrolling strip with no sign it scrolled, so Rugs, Lighting, Accents and By room sat off the screen and
     Rugs showed cut in half beside By brand (Jeff, November 25, 2026). */
  .pieces .top > .area-row .wrap:not(:has(.expanded)) { display:flex; align-items:center; gap:0 .875rem; flex-wrap:wrap; }
  .pieces .top > .area-row .wrap:not(:has(.expanded)) > nav { display:contents; }
  .pieces .top > .area-row nav a { flex:none; white-space:nowrap; }
  .pieces .top > .area-row .wrap:not(:has(.expanded)) > .brand-menu { margin-left:0; }
  .pieces .top > .area-row .wrap:not(:has(.expanded)) > .row-search { margin-left:auto; padding-block:0; }
}

.piece-gallery,.piece-info { min-width:0; }
.gallery-track { display:flex; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; }
.gallery-track::-webkit-scrollbar { display:none; }
.gallery-slide { flex:0 0 100%; min-width:0; scroll-snap-align:start; }
.gallery-photo { aspect-ratio:5/4; background:var(--st-tile); }
.gallery-photo:has(.list-picture) { aspect-ratio:1; }
.gallery-photo > img,.gallery-photo .piece-photo { display:block; width:100%; height:100%; object-fit:contain; }
.gallery-thumbs { display:flex; gap:.5rem; margin:.65rem 0; overflow:auto; align-items:center; padding:.15rem; }
.gallery-thumbs a { display:grid; place-items:center; flex:0 0 4.2rem; height:3.4rem; background:var(--st-tile); border:1px solid transparent; }
.gallery-thumbs img { width:100%; height:100%; min-height:0; object-fit:contain; }
.gallery-thumbs [aria-current] { border-color:var(--ink); }
.piece-description { margin:1rem 0; max-width:47ch; font:1.2rem/1.5 var(--text); }
.piece-facts { margin:1.3rem 0; }
.piece-facts > div { display:grid; grid-template-columns:minmax(5rem,.5fr) minmax(0,1fr); gap:1rem; padding:.6rem 0; border-block-start:1px solid var(--rule); font-size:.94rem; }
.piece-facts dt {color:var(--muted)} .piece-facts dd {margin:0;overflow-wrap:anywhere}
.spec-print { font:inherit; background:none; color:inherit; border:0; padding:.5rem 0; text-decoration:underline; text-underline-offset:.3em; cursor:pointer; }
.piece-description p { margin:.6em 0; }
.description-more summary { width:fit-content; cursor:pointer; text-decoration:underline; text-underline-offset:.15em; }
.description-more summary span:last-child,.description-more[open] summary span:first-child { display:none; }
.description-more[open] summary span:last-child { display:inline; }
.spec-sheet,.piece-pairings:empty { display:none; }
.piece-pairings { grid-column:1/-1; }
.paired-room .room-samples { grid-template-columns:repeat(4,minmax(0,1fr)); }
.paired-room .room-samples small { color:var(--muted); }
@media(max-width:44em) {
  .gallery-thumbs { justify-content:center; gap:0; flex-wrap:wrap; margin:.25rem 0; }
  .gallery-thumbs a { flex:0 0 1.75rem; height:1.75rem; background:transparent; border:0; }
  .gallery-thumbs a::before { content:''; display:block; width:.48rem; height:.48rem; border:1px solid var(--muted); border-radius:50%; }
  .gallery-thumbs [aria-current]::before { background:var(--ink); }
  .gallery-thumbs img { display:none; }
  .paired-room .room-samples { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media print {
  @page product-spec { size:auto; margin:15mm; }
  body.piece-page > .top, body.piece-page > footer { display:none!important; }
  body.product-detail-page { page:product-spec; background:white!important; color:black; overflow:visible; }
  body.product-detail-page > :not(main), .product-detail-page main > :not(.piece-detail), .piece-detail > :not(.spec-sheet) { display:none!important; }
  .product-detail-page main.wrap,.piece-detail { display:block; width:auto; max-width:none; padding:0; margin:0; min-height:0; }
  .spec-sheet { display:block; break-inside:avoid; font:11pt/1.3 Georgia,serif; }
  .spec-sheet h1 { font-size:25pt; margin:3mm 0; }
  .spec-sheet figure { margin:3mm 0; }
  .spec-sheet figcaption { display:block; margin:0; color:#333; font:10pt/1.25 Georgia,serif; }
  .spec-sheet figure img { display:block; width:100%; height:72mm; object-fit:contain; margin:4mm 0; }
  .spec-sheet:has(.spec-description) figure img { height:57mm; }
  .spec-description { margin:2.5mm 0; font:10pt/1.3 Georgia,serif; }
  .spec-sheet .piece-facts { margin:4mm 0; }
  .spec-sheet .piece-facts > div { padding:1.6mm 0; font-size:10pt; }
  .spec-sheet a { font:9pt/1.25 system-ui,sans-serif; overflow-wrap:anywhere; }
}

.brand-intro { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); column-gap:clamp(2rem,5vw,5rem); align-items:start; padding:clamp(1rem,2.5vw,2.5rem) 0 clamp(1.5rem,3vw,3rem); }
.brand-intro h1 { margin-top:-.12em; }
.brand-intro > div > p { margin:.75rem 0; font:1.15rem/1.5 var(--text); }
.brand-intro > div > p.brand-supply { margin-bottom:0; color:var(--muted); font-size:1.02rem; }
.brand-intro > div > p.brand-about { max-width:34rem; }
.brand-index { display:flex; flex-wrap:wrap; gap:.3rem 1.2rem; margin-top:1.25rem; }
.brand-index a { display:inline-flex; align-items:center; min-height:2.75rem; }
.brand-opening { margin:0; justify-self:start; max-width:100%; }
.brand-opening > a { display:block; }
.brand-opening img { display:block; width:min(var(--photo-w,30rem),100%,max(20rem,100vh - 15rem)*var(--photo-ar,1)); height:auto; }
.brand-opening figcaption { margin:.6rem 0 0; font-size:.9rem; }
.brand-collection { scroll-margin-top:var(--site-head,7rem); }
.brand-collection .section-head > span { color:var(--muted); font:.9rem var(--display); }
@media(max-width:44em) {
  .brand-intro { grid-template-columns:1fr; }
  .brand-index { margin-top:.35rem; }
  .brand-opening { justify-self:stretch; margin-top:1rem; }
  .brand-opening img { width:100%; }
}

/* Phone QA, November 25, 2026 (Jeff: the phone menus). The opened search fills the row, and its button turns into a
   close mark after the field. In the phone Menu the search is a plain field, not a lone icon to tap first, and a search
   left open in the bar does not hide the Browse links once they move into the Menu. */
.row-search.expanded .query-field { flex:1; max-width:none; }
.row-search.interactive.expanded { align-items:center; gap:.35rem; }
.row-search.interactive.expanded > button { order:2; position:relative; min-width:44px; min-height:44px; justify-content:center; }
.row-search.interactive.expanded > button svg { visibility:hidden; }
.row-search.interactive.expanded > button::before, .row-search.interactive.expanded > button::after { content:""; position:absolute; left:50%; top:50%; width:18px; height:1px; background:currentColor; }
.row-search.interactive.expanded > button::before { transform:translate(-50%,-50%) rotate(45deg); }
.row-search.interactive.expanded > button::after { transform:translate(-50%,-50%) rotate(-45deg); }
@media (max-width:40em) {
  .pieces .top .nav .area-row .wrap { grid-template-columns:minmax(0,1fr); }
  .pieces .top .nav .area-row .wrap > nav { display:grid; }
  .pieces .top .nav .area-row .wrap > .brand-menu { display:block; }
  .pieces .top .nav .row-search.interactive { display:block; width:100%; max-width:none; margin:.4rem 0 0; }
  .pieces .top .nav .row-search.interactive > button { display:none; }
  .pieces .top .nav .row-search.interactive .query-field { display:flex; width:100%; min-height:44px; box-sizing:border-box; }
}

/* Phones (Jeff, November 26, 2026): the Browse row stays in the Menu on every Shop the Style page, as it already did
   on a piece's page, so only the top bar is pinned. */
@media (max-width:40em) {
  .pieces .top > .area-row { display:none; }
}

.piece-info .actions:has(.room-jump) { display:flex; gap:.6rem; flex-wrap:wrap; }
.actions .room-jump { color:var(--ink); background:transparent; }
.actions .room-jump:hover { color:var(--paper); }
.see-room { border-top:1px solid var(--line); margin:2rem 0; padding-top:1.4rem; scroll-margin-top:7rem; }
.see-room h2 { margin:0 0 .8rem; }
.see-room h3 { margin:0; font-size:1.2rem; }
.see-room > div:not(.see-room-block) { padding:1.1rem; background:var(--st-tile); margin-top:.6rem; }
/* See it in a room (piece page brief of November 28, 2026, section 3): the room's picture, then two choices beside it (under
   it on a phone). On a Try picture, a caption names the piece the swap would replace. */
.see-room-block { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(0,1fr); gap:.8rem; align-items:start; margin-top:.6rem; }
.see-room-picture { position:relative; display:block; margin:0; line-height:0; background:var(--st-tile); }
.see-room-picture img { display:block; width:100%; height:auto; aspect-ratio:3/2; object-fit:cover; }
.see-room-picture figcaption { position:absolute; left:.6rem; bottom:.6rem; max-width:calc(100% - 1.2rem); padding:.3rem .65rem; line-height:1.35; font-size:.88rem; color:var(--ink); background:rgb(255 255 255 / .92); border-radius:.2rem; }
.see-room-choices { display:grid; gap:.6rem; }
.see-room-choices > div { padding:1.1rem; background:var(--st-tile); }
.see-room a.btn { text-decoration:none; margin-top:.4rem; }
@media (max-width:44em) { .see-room-block { grid-template-columns:minmax(0,1fr); } }
.see-room p { margin:.45rem 0; }
.see-room a { text-decoration:underline; text-underline-offset:.2em; }

.results h2 { font:inherit; font-weight:600; margin:0; scroll-margin-top:min(32vh, 16rem); }
@media (min-width:641px) and (max-width:740px) {
  .pieces .top > .area-row .wrap:not(:has(.expanded)) { flex-wrap:nowrap; column-gap:.4rem; }
  .pieces .top > .area-row .wrap:not(:has(.expanded)) > nav { display:flex; flex-wrap:wrap; white-space:nowrap; gap:0 .48rem; }
  .pieces .top > .area-row .wrap:not(:has(.expanded)) > .row-search { flex:none; }
  .pieces .top > .area-row .row-search.interactive:not(.expanded) .query-field { display:none; }
  .pieces .top > .area-row .row-search.interactive:not(.expanded) > button { display:inline-flex; }
  .pieces .top > .area-row nav a { flex:none; }
  .pieces .brand-menu { margin-right:0; }
}

/* Shopping controls use the same photo frame on the catalog, piece and Saved pages. */
.piece-tile,.piece-gallery {position:relative;min-width:0;}
#saved-page [hidden] {display:none;}
.piece-gallery > .save-piece {z-index:1;}
.card-price {font:400 1rem/1.45 var(--text);margin-top:.16rem;}
.card-price del {color:var(--muted);font-size:.85em;}
.piece-grid > .price-divider {grid-column:1/-1!important;margin:.5rem 0 0;padding-top:1rem;border-top:1px solid var(--rule);font:400 1.2rem var(--text);}
.price-exclusions {margin-block:.65rem 1rem;}
.pieces main #saved-page {margin-top:.5rem;}
.saved-tools,.saved-actions,.saved-card-actions {display:flex;align-items:center;gap:.5rem 1rem;flex-wrap:wrap;}
.saved-tools {justify-content:space-between;padding:.6rem 0 1rem;border-bottom:1px solid var(--rule);}
.saved-tools p {margin:0;}
.saved-actions .btn {min-height:44px;padding:.6rem 1.1rem;}
.piece-tile > small,.piece-tile > .card-price {display:block;}
[data-list-link]:not([hidden]) {display:flex;align-items:end;gap:.5rem 1rem;flex-wrap:wrap;}
[data-list-link] label {display:grid;gap:.25rem;font-size:.875rem;min-width:0;}
[data-list-link] input,.saved-sort select {border:1px solid var(--rule);border-radius:.35rem;padding:.35rem .65rem;color:var(--ink);background:var(--paper);}
[data-list-link] input {width:min(32rem,100%);}
[data-list-link] button {background:none;border:0;padding:0 .3rem;text-decoration:underline;text-underline-offset:.2em;cursor:pointer;color:var(--ink);}
@media(max-width:40em){.saved-actions{gap:.5rem;}.saved-actions .btn{font-size:.75rem;padding-inline:1rem;}}
.saved-sort {display:block;text-align:right;margin:.6rem 0;}
.saved-sort select,[data-list-link] input,[data-list-link] button {font:inherit;max-width:100%;min-height:44px;}
.saved-card-actions {gap:0 .9rem;}
.saved-card-actions a {display:inline-flex;align-items:center;min-height:44px;font-size:.9rem;}
.saved-grid {margin-top:1rem;}
.saved-availability {display:block;font-weight:500;}
[data-list-feedback]:empty {display:none;}
[data-list-feedback] textarea {width:100%;min-height:5rem;}
[data-list-link] {padding-block:1rem;}
@media(max-width:44em) {
  .saved-card-actions {display:grid;gap:0;}
}

/* The six brand cards at tablet widths: three by two, not five and one (C-34). */
@media (44em < width < 60em) {
  .brand-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
/* A brand's own Price and Sort, above its groups (C-10). On phones they stay two dropdowns in the row: there is no sheet. */
.brand-tools { margin-top:clamp(1.5rem,3vw,2.5rem); }
@media (max-width:44em) {
  .browse-ready .brand-tools .facet-fields { display:flex; }
  .browse-ready .brand-tools .sort-field { display:block; flex:none; margin-left:auto; }
}
@media (max-width:44em) { .browse-ready .brand-tools .sort-field .select-field { display:none; } }

/* A piece's page, usability fixes of November 27, 2026 (Batch 4). */
/* The price under the name (C-06): the chosen option's price and whose price it is. */
.piece-price { margin:.7rem 0 1rem; }
.piece-price p { margin:0; }
.piece-price .price-now { font:400 1.5rem/1.3 var(--text); }
.piece-price .price-source { margin-top:.2rem; color:var(--muted); font-size:.88rem; }
/* The room sections run under both columns (C-24); on wide screens their choices sit side by side. */
.piece-detail > .piece-rooms { grid-column:1/-1; min-width:0; }
@media (min-width:44.01em) {
  .piece-rooms .see-room { margin-top:0; }
  /* The gallery stays in view beside long details, and only beside them: its column ends with the details. */
  .piece-detail > .gallery-column { align-self:stretch; min-width:0; }
  .gallery-column > .piece-gallery { position:sticky; top:calc(var(--site-head,7rem) + 1rem); }
}
/* Its photo keeps the column's width and is no taller than leaves the thumbnails and Share in the window. */
@supports (height:1cqw) {
  @media (min-width:44.01em) {
    .gallery-column > .piece-gallery { container-type:inline-size; }
    .gallery-column .gallery-photo { --fit:max(14rem, 100svh - var(--site-head,7rem) - 11.5rem); aspect-ratio:auto; height:min(80cqw, var(--fit)); }
    .gallery-column .gallery-photo:has(.list-picture) { height:min(100cqw, var(--fit)); }
    .gallery-column .gallery-photo .list-picture img { object-fit:contain; }
  }
}
/* Zoom on the photographs (R7): the photo opens a large view inside the page. */
.gallery-photo { position:relative; }
.zoom-open { position:absolute; inset:0; width:100%; height:100%; padding:0; margin:0; border:0; background:transparent; cursor:zoom-in; }
.zoom-open:focus-visible:not(:where(.pointer-focus)) { outline:2px solid var(--brass); outline-offset:-4px; }
html.zoom-shown { overflow:hidden; }
.photo-zoom { position:fixed; inset:0; width:100%; height:100%; max-width:none; max-height:none; margin:0; padding:0; border:0; color:var(--ink); background:var(--paper); font-family:var(--display); overscroll-behavior:contain; }
.photo-zoom[open] { display:grid; grid-template-rows:auto minmax(0,1fr) auto; }
.photo-zoom::backdrop { background:rgb(24 24 27 / .6); }
.zoom-head, .zoom-tools { display:flex; align-items:center; gap:.5rem; padding:.5rem max(.75rem,env(safe-area-inset-left)) .5rem max(.75rem,env(safe-area-inset-right)); }
.zoom-head { justify-content:space-between; border-bottom:1px solid var(--rule); }
.zoom-head p { margin:0; min-width:0; color:var(--muted); font-size:.92rem; overflow-wrap:anywhere; }
.zoom-tools { justify-content:center; padding-bottom:max(.5rem,env(safe-area-inset-bottom)); border-top:1px solid var(--rule); }
.photo-zoom button { display:inline-grid; place-items:center; flex:none; width:2.75rem; height:2.75rem; padding:0; font:300 1.6rem/1 var(--display); color:var(--ink); background:transparent; border:1px solid #aaa293; border-radius:50%; cursor:pointer; }
.photo-zoom button:hover { border-color:var(--ink); }
.photo-zoom button:focus-visible:not(:where(.pointer-focus)) { outline:2px solid var(--brass); outline-offset:2px; }
.photo-zoom button[aria-disabled="true"] { opacity:.35; cursor:default; }
.photo-zoom button[aria-disabled="true"]:hover { border-color:#aaa293; }
.photo-zoom button[hidden] { display:none; }
.zoom-stage { position:relative; display:grid; place-items:center; overflow:hidden; touch-action:none; cursor:zoom-in; background:var(--st-tile); user-select:none; -webkit-user-select:none; }
.zoom-stage[data-zoomed] { cursor:grab; }
.zoom-stage[data-dragging] { cursor:grabbing; }
.zoom-stage img { position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:contain; transform-origin:center; will-change:transform; -webkit-user-drag:none; pointer-events:none; }

/* View at and the room button (C-05 labels, QA of pull request #326): one row where both labels fit on one line, as in the
   chosen pictures (pieces.js measures and sets .one-row); otherwise each full width, one under the other, at one height. */
.piece-info .actions:has(.room-jump) { display:grid; grid-template-columns:minmax(0,1fr); grid-auto-rows:1fr; align-items:stretch; gap:.6rem; }
.piece-info .actions:has(.room-jump) .btn { width:100%; min-height:3.25rem; margin:0; }
.piece-info .actions.one-row:has(.room-jump) { display:flex; flex-wrap:wrap; justify-content:start; }
.piece-info .actions.one-row:has(.room-jump) .btn { width:auto; white-space:nowrap; padding-inline:1.4rem; }

/* Piece page room choices and picture */
.piece-tools {display:flex;align-items:center;flex-wrap:wrap;gap:.25rem 1.4rem;margin:.6rem 0;}
.pieces .piece-tool,.pieces .piece-tools [data-copy] {display:inline-flex;align-items:center;gap:.5rem;min-height:44px;font:inherit;color:inherit;border:0;background:none;padding:.25rem 0;text-decoration:none;cursor:pointer;}
.pieces .piece-tool:hover,.pieces .piece-tools [data-copy]:hover {text-decoration:underline;text-underline-offset:.25em;}
.piece-tool svg {flex:none;width:1.25rem;height:1.25rem;}
.see-room {margin:2.6rem 0 2rem;padding-top:2rem;}
.see-room h2 {font-size:clamp(2rem,3.4vw,3.1rem);line-height:1.08;margin:.7rem 0 1.4rem;}
.see-room h2 em {display:block;color:var(--brass);font:italic 300 1em var(--text);}
.see-room-block {grid-template-columns:minmax(0,1.62fr) minmax(0,1fr);gap:0;background:var(--st-tile);align-items:center;}
.see-room-picture {width:100%;padding:0;border:0;}
button.see-room-picture {cursor:zoom-in;}
.room-image,.room-thumb {position:relative;display:block;}
.see-room .room-image img,.see-room-picture>img,.room-thumb img {display:block;width:100%;height:auto;aspect-ratio:auto;}
.sample-piece-dot {position:absolute;transform:translate(-50%,-50%);width:1.3rem;height:1.3rem;background:var(--ink);border:.36rem solid white;border-radius:50%;box-shadow:0 0 0 .16rem #0004;pointer-events:none;}
.see-room-picture figcaption {display:flex;align-items:center;gap:.7rem;background:var(--paper);padding:.5rem .8rem;bottom:.8rem;left:.8rem;color:var(--ink);}
.see-room-picture figcaption img {width:3rem;height:3rem;object-fit:contain;}
.see-room-picture figcaption b,.room-chooser small,.room-progress span {display:block;}
.see-room-choices {display:flex;flex-direction:column;padding:clamp(1.1rem,2.4vw,2.5rem);gap:.5rem;}
.see-room-choices h3 {font:400 1.55rem/1.12 var(--display);}
.see-room-choices>div {background:none;padding:0;}
.see-room-choices .btn {justify-content:center;width:100%;min-height:3.25rem;margin:0;}
.see-room-choices small {display:block;margin:.4rem 0 .85rem;color:var(--muted);}
.room-status:empty {display:none;}
.see-room-picture.making>img {filter:blur(2px);opacity:.65;}
.room-progress {position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background:var(--paper);color:var(--ink);padding:1rem;text-align:center;line-height:1.35;min-width:55%;}
.room-chooser,.room-large {color:var(--ink);background:var(--paper);border:1px solid var(--line);padding:1rem;max-height:96dvh;}
.product-detail-page main.wrap {position:relative;}
.room-chooser {position:absolute;inset:auto;z-index:5;box-sizing:border-box;margin:0;width:30rem;box-shadow:0 1rem 2rem #18181b33;}
.room-chooser h2 {font:400 1.25rem var(--display);min-height:44px;margin:0 3rem 0 0;}
.room-chooser [data-close],.room-large [data-close],.room-notice button {float:right;min-width:44px;min-height:44px;background:var(--paper);border:0;color:inherit;font-size:1.5rem;cursor:pointer;}
.room-chooser::backdrop {background:transparent;}
.room-chooser .room-row {width:100%;text-align:left;color:inherit;border:1px solid var(--line);padding:.65rem;display:flex;align-items:center;gap:.75rem;background:var(--paper);text-decoration:none;font:inherit;min-height:5.5rem;cursor:pointer;}
.room-chooser .room-row+.room-row {margin-top:.55rem;}
.room-row i:last-child {margin-left:auto;}
.room-thumb,.room-photo-symbol {flex:0 0 22%;height:auto;align-self:center;}
.room-photo-symbol {text-align:center;font-size:2.2rem;color:var(--brass);}
.room-thumb .sample-piece-dot {width:.7rem;height:.7rem;border-width:.16rem;}
.room-row small {color:var(--muted);}
.compact-choices .room-row small,.compact-choices .room-thumb,.compact-choices .room-photo-symbol {display:none;}
.room-large img {display:block;max-width:90vw;max-height:77dvh;object-fit:contain;}
.room-notice {position:fixed;z-index:90;bottom:1rem;right:1rem;max-width:calc(100% - 2rem);padding:.5rem .8rem;background:var(--paper);color:var(--ink);border:1px solid var(--line);box-shadow:0 .4rem 1.3rem #0002;display:flex;align-items:center;gap:.7rem;}
.room-notice a {display:inline-flex;align-items:center;min-height:44px;}
@media(max-width:44em){
 .see-room-block {grid-template-columns:1fr;}
 .room-chooser {position:fixed;inset:auto 0 0;width:100%;max-width:100%;padding-bottom:max(1rem,env(safe-area-inset-bottom));border-radius:1rem 1rem 0 0;}
 .room-chooser::backdrop {background:#18181b70;}
}
@media print {.piece-tools,.room-notice,dialog.room-chooser {display:none!important;}}

.brand-index {gap:.4rem;}
.brand-index .chip,.results nav a,.compact-controls button {display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;border:1px solid var(--brass-line);text-decoration:none;padding:.4rem .8rem;}
.brand-index .chip,.compact-controls button {border-radius:2rem;}
.results nav {gap:0;flex-wrap:wrap;}
.results nav a[aria-current] {background:var(--ink);color:var(--paper);}
.gallery-slide figcaption a,.description-more summary {display:inline-flex;align-items:center;min-height:44px;}
.saved-card-actions {display:flex;gap:.4rem;align-items:stretch;flex-wrap:wrap;}
.saved-card-actions .btn {flex:1 1 max-content;min-width:0;justify-content:center;font-size:.79rem;line-height:1.2;letter-spacing:.02em;padding:.5rem .6rem;min-height:44px;text-align:center;}
.saved-tools:has([data-empty-shop]:not([hidden])) {align-items:start;flex-direction:column;}
@media(min-width:44.01em){
 .piece-trail {display:flex;align-items:center;gap:1rem;flex-wrap:wrap;}
 .piece-trail .back-list,.piece-trail .trail {margin:.4rem 0;}
 .piece-trail:has(.back-list) .trail {border-left:1px solid var(--brass-line);padding-left:1rem;}
}
.room-figure button.piece-tool {border:0;min-height:44px;}

@media (max-width:30em) {
 .pieces .offer-copy.piece-tool {gap:.25rem;font-size:.84rem;}
 .offer-copy.piece-tool svg {width:1rem;}
 .piece-info .offer .offer-or {column-gap:.35rem;}
}

.compact-controls button {gap:.35rem;}
.room-chooser.compact-choices .room-row {min-height:44px;}

.see-room [hidden], .see-room[hidden] {display:none!important;}
.see-room-choices .btn-solid,.saved-card-actions .btn-solid,#saved-page [data-empty-shop] {background:var(--ink);border-color:var(--ink);color:var(--paper);}
.see-room-choices .btn-solid:hover,.saved-card-actions .btn-solid:hover,#saved-page [data-empty-shop]:hover {background:var(--navy);}
.room-photo-symbol svg {width:2rem;height:2rem;}

.see-room-block > * {min-width:0;}
@media(max-width:44em){.see-room-block {grid-template-columns:minmax(0,1fr);}.see-room-choices {overflow-wrap:anywhere;}.see-room-choices .btn {white-space:normal;}}

@media(max-width:25em){.saved-card-actions {display:grid;grid-auto-rows:1fr;}.saved-card-actions .btn {padding-inline:.25rem;}}
