.catalog-toolbar { display:flex; flex-direction:column; gap:20px; margin-bottom:20px; }
.search-field { display:block; font-size:13px; color:#5f5565; max-width:480px; }
.search-field>span { display:block; margin-bottom:8px; }
.search-field input { display:block; width:100%; border:1px solid #2d3f7526; border-radius:12px; padding:13px 15px; background:#fff; font-size:15px; }
.filter-chips { display:flex; flex-wrap:wrap; gap:8px; }
.filter-chips button { border:1px solid var(--border); background:#fff; padding:9px 14px; border-radius:30px; font-size:13px; color:#5b5162; transition:background .2s,color .2s; }
.filter-chips button[aria-pressed=true] { background:var(--blue); color:#fff; border-color:var(--blue); }
.catalog-count { font-size:13px; color:#6b6073; margin:20px 0; }
.catalog-empty { font-size:14px; line-height:1.6; padding:20px 0; color:#66596e; }
.catalog-empty button { background:none; border:0; text-decoration:underline; color:var(--red); }
.product-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
.product-card[hidden],[hidden] { display:none!important; }
.product-copy { padding:22px; }
.product-copy h3 { font-size:26px; }
.product-detail-button { display:flex; align-items:center; justify-content:space-between; width:100%; margin-top:0; padding:18px 0 0; background:none; border:0; border-top:1px solid var(--border); color:var(--red); font-size:14px; font-weight:700; text-align:left; }
.product-detail-button>span { font-size:22px; }
.product-object,.product-image img { max-width:215px; height:215px; }
.dialog-open { overflow:hidden; }
#product-dialog { width:min(930px,calc(100% - 40px)); max-height:calc(100svh - 40px); padding:0; border:1px solid var(--border); border-radius:24px; color:var(--text); background:#fff; box-shadow:0 30px 100px #1b17254d; }
#product-dialog::backdrop { background:#211b2e66; backdrop-filter:blur(6px); }
.dialog-close { position:absolute; top:16px; right:16px; z-index:2; display:grid; place-items:center; width:40px; height:40px; border:1px solid var(--border); background:#fff; border-radius:50%; font-size:27px; }
.dialog-toolbar { position:sticky; top:0; z-index:3; height:0; }
#product-detail-content { display:grid; grid-template-columns:.9fr 1.1fr; }
.detail-image { display:grid; place-items:center; padding:60px 25px; background:#fff; }
.detail-image img { width:100%; max-width:300px; height:300px; object-fit:contain; }
.detail-copy { padding:55px 35px 35px; background:#faf9f6; }
.detail-copy h2 { font-size:36px; margin:20px 0; line-height:1.12; }
.detail-copy>p:not(.eyebrow) { font-size:15px; line-height:1.75; color:#63586b; }
.detail-copy dl { margin:25px 0; font-size:14px; }
.detail-copy dl>div { display:grid; grid-template-columns:90px 1fr; gap:14px; padding:13px 0; border-bottom:1px solid var(--border); }
.detail-copy dt { color:#82748b; }
.detail-copy dd { margin:0; color:#392d44; }
.detail-copy .detail-note { font-size:13px!important; }
.detail-actions { display:flex; flex-direction:column; gap:12px; margin:25px 0; }
.detail-actions .button { justify-content:space-between; font-size:13px; }
.detail-source { font-size:13px; color:var(--red); }
.color-studio { grid-template-columns:minmax(0,1.25fr) minmax(320px,1fr); align-items:stretch; }
.room-preview { height:auto; min-height:600px; }
.studio-scene { display:flex; flex-direction:column; min-width:0; }
.studio-scene .room-preview { flex:1; min-height:530px; }
.swatch-panel { padding:32px; min-width:0; }
.swatch-panel h3 { font-size:26px; line-height:1.25; margin:16px 0 20px; }
.swatch-panel .search-field>span { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
.swatch-panel .search-field { margin-bottom:15px; }
#color-filters { margin-bottom:18px; gap:7px; }
#color-filters button { font-size:12px; padding:7px 11px; }
.official-swatches { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px 9px; max-height:230px; overflow-y:auto; padding:3px 5px 8px 3px; scrollbar-width:thin; }
.official-swatch { display:flex; flex-direction:column; align-items:stretch; min-width:0; border:0; border-radius:10px; background:none; padding:3px; text-align:left; }
.official-pigment { display:grid; place-items:center; position:relative; width:100%; aspect-ratio:1.65; background:var(--pigment); border:1px solid #00000012; border-radius:9px; color:#23242d; font-size:19px; }
.official-pigment i { position:absolute; right:5px; top:4px; font-size:10px; font-style:normal; }
.official-swatch>span:nth-child(2) { font-size:11px; line-height:1.3; font-weight:700; margin-top:7px; overflow-wrap:anywhere; }
.official-swatch small { font-size:10px; color:#76687f; margin-top:3px; }
.official-swatch[aria-pressed=true] { box-shadow:0 0 0 2px var(--red); }
.official-swatch:focus-visible { outline-offset:0; }
.selected-color { margin:20px 0 13px; gap:12px; }
.selected-color span:last-child { white-space:nowrap; }
.save-color { padding:10px 14px; border:1px solid #a9313c30; border-radius:30px; background:#fff; color:var(--red); font-size:13px; }
.save-color[aria-pressed=true] { background:#a9313c0c; }
.swatch-disclaimer { margin:16px 0; font-size:12px; }
.swatch-panel .text-link { font-size:12px; }
.room-label { pointer-events:none; }
.room-label p { font-size:13px; }
.room-label>span:last-child { display:none; }
.calc-product { display:block; font-size:14px; color:#635469; margin-top:25px; }
.calc-product select { display:block; width:100%; margin-top:9px; }
#coverage-note { margin:0 0 20px; font-size:12px; }
.form-error { color:var(--red); font-size:13px; line-height:1.7; }
.pack-result { padding:20px 0; margin:20px 0; border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.pack-result .eyebrow { font-size:10px; letter-spacing:1.2px; }
.pack-result strong { display:block; margin:12px 0; font-size:25px; letter-spacing:-.04em; }
.pack-result p:last-child { font-size:13px; line-height:1.7; color:#73647e; margin-bottom:0; }
#consult-plan { width:100%; justify-content:space-between; font-size:13px; gap:12px; }
#consult-plan[aria-disabled=true] { pointer-events:none; opacity:.5; }
@media(min-width:761px) and (max-width:1200px) {
  .product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .color-studio { grid-template-columns:1.05fr 1fr; }
  .swatch-panel { padding:26px; }
  .official-swatches { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media(max-width:760px) {
  .product-grid,.color-studio { grid-template-columns:1fr; }
  .product-copy { padding:24px; }
  .product-copy h3 { font-size:29px; }
  .room-preview { height:350px; min-height:350px; }
  .studio-scene .room-preview { height:350px; min-height:350px; flex:none; }
  .swatch-panel { padding:26px; }
  .official-swatches { grid-template-columns:repeat(4,minmax(0,1fr)); max-height:290px; }
  #product-dialog { width:calc(100% - 24px); max-height:calc(100svh - 24px); border-radius:18px; }
  #product-detail-content { grid-template-columns:1fr; }
  .detail-image { padding:55px 20px 15px; }
  .detail-image img { width:200px; height:200px; }
  .detail-copy { padding:28px 24px; }
  .detail-copy h2 { font-size:30px; }
  .room-label { right:15px; }
  .room-label p { font-size:12px; }
}
@media(max-width:370px) {
  .official-swatches { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .swatch-panel { padding:22px; }
  .filter-chips button { font-size:12px; }
  .detail-copy dl>div { grid-template-columns:1fr; gap:5px; }
  #consult-plan { font-size:12px; padding:15px 16px; }
}
@media(prefers-reduced-motion:reduce) { .filter-chips button { transition:none; } }
