/* Color discovery page. */
.st-color-page { padding-bottom: 75px; }
.sc-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.sc-breadcrumb span[aria-hidden="true"] { opacity: 0.55; }
.sc-eyebrow { font: 600 .6875rem/1.5 var(--font-primary); letter-spacing: .12em; text-transform: uppercase; }
.sc-fan { width: 240px; height: 200px; position: relative; margin: 0; flex-shrink: 0; }
.sc-fan span { position: absolute; left: 80px; bottom: 5px; width: 88px; height: 190px; border-bottom: 34px solid #fff; border-radius: 7px; box-shadow: 0 8px 25px #0c264e14; transform-origin: center 85%; }
.sc-fan span:nth-child(1) { background: #dcba91; transform: rotate(-40deg); }
.sc-fan span:nth-child(2) { background: #8ba995; transform: rotate(-20deg); }
.sc-fan span:nth-child(3) { background: #e1b149; transform: rotate(0); }
.sc-fan span:nth-child(4) { background: #c88973; transform: rotate(20deg); }
.sc-fan span:nth-child(5) { background: #1c466b; transform: rotate(40deg); }
.sc-filter-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-top: 4px;
    padding-bottom: 6px;
}
.sc-filter-heading h2, .sc-results-bar h2 { font-size: 1.25rem; font-weight: 600; margin: 0; line-height: 1.4; }
.sc-search { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border: 1px solid #dce3ed; border-radius: 999px; min-width: 330px; }
.sc-search input { border: 0; outline: 0; width: 100%; font: 400 .875rem/1.5 var(--font-primary); color: #193c61; background: transparent; }
.sc-search:focus-within { outline: 2px solid #e8bd00; outline-offset: 2px; }
.sc-families { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 38px; }
.sc-family { display: flex; align-items: center; gap: 9px; padding: 10px 15px; border: 1px solid #e2e7ef; border-radius: 999px; background: #fff; color: #5b708a; font: 400 .875rem/1.5 var(--font-primary); cursor: pointer; transition: border-color .18s, background .18s, color .18s, box-shadow .18s; }
.sc-family:hover { background: #f6f8fb; border-color: #b8c6d7; }
.sc-family.is-active { background: #041428; border-color: #041428; color: #fff; box-shadow: 0 6px 18px rgb(4 20 40 / 0.18); }
.sc-family > span { width: 20px; height: 20px; border: 1px solid #00000012; border-radius: 50%; background: var(--color); flex-shrink: 0; }
.sc-family > .sc-family-all { background: conic-gradient(#ca7765,#e6ba53,#90a482,#3d7398,#b996b0,#ca7765); }
.sc-results-bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 24px; }
.sc-results-bar > span { font-size: .875rem; color: #76879c; }
.sc-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 22px; }
.sc-swatch { padding: 0; text-align: left; border: 1px solid #e6ebf0; border-radius: 10px; overflow: hidden; background: #fff; color: #183653; font-family: var(--font-primary); cursor: pointer; transition: box-shadow .2s, transform .2s; }
.sc-swatch:hover { box-shadow: 0 12px 25px #173d6715; transform: translateY(-3px); }
.sc-swatch-color { display: grid; place-items: center; height: 165px; background: var(--color); }
.sc-swatch-color > i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #ffffffb3; color: #193956; opacity: 0; transition: opacity .18s; }
.sc-swatch:hover .sc-swatch-color > i, .sc-swatch:focus-visible .sc-swatch-color > i { opacity: 1; }
.sc-swatch-info { display: block; padding: 16px 17px; }
.sc-swatch-info strong { font-size: .9375rem; font-weight: 500; display: block; line-height: 1.5; }
.sc-swatch-info small { display: block; color: #8290a0; font-size: .8125rem; margin-top: 5px; }
.sc-disclaimer { display: flex; align-items: flex-start; gap: 10px; font-size: .8125rem; color: #74849a; line-height: 1.8; margin: 30px 0 0; max-width: 950px; }
.sc-disclaimer i { font-size: 17px; }
.sc-empty { padding: 60px 20px; text-align: center; background: #f5f7fb; border-radius: 12px; }
.sc-empty > i { font-size: 32px; }
.sc-empty h3 { margin: 15px 0 10px; }
.sc-empty p { color: #718298; }
.sc-compare-tray { position: sticky; bottom: 18px; z-index: 32; background: #fff; box-shadow: 0 6px 35px #0b254f24; border: 1px solid #e1e7f0; border-radius: 16px; margin-top: 35px; padding: 18px 22px; display: flex; align-items: center; gap: 22px; }
.sc-compare-tray > div:first-child { margin-right: auto; }
.sc-compare-tray strong { display: block; font-size: .9375rem; font-weight: 500; }
.sc-compare-tray > div:first-child > span { display: block; font-size: .8125rem; color: #7a8ba1; margin-top: 3px; }
#sc-tray-colors { display: flex; gap: 8px; }
.sc-mini-color { width: 42px; height: 42px; border: 1px solid #d5dce5; border-radius: 9px; position: relative; cursor: pointer; }
.sc-mini-color span { position: absolute; right: -4px; top: -6px; background: #fff; border: 1px solid #d8e0ea; border-radius: 50%; width: 18px; height: 18px; font: 14px/16px sans-serif; }
.sc-clear { border: 0; background: none; color: #61768e; font-size: .8125rem; cursor: pointer; }
#sc-compare-open { padding: 12px 20px; font-size: .875rem; font-weight: 500; }
#sc-compare-open:disabled { opacity: .55; cursor: default; }
.sc-dialog { width: min(1000px,calc(100% - 40px)); max-height: calc(100dvh - 50px); padding: 0; border: 0; border-radius: 18px; color: #143354; background: #fff; box-shadow: 0 35px 90px #081d4640; }
.sc-dialog::backdrop { background: #06183088; backdrop-filter: blur(4px); }
.sc-dialog[open] { animation: sc-dialog-in .2s ease-out; }
.sc-dialog-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border: 1px solid #e3e9f0; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #1c3a5d; z-index: 3; cursor: pointer; }
.sc-detail-grid { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 520px; }
.sc-room { position: relative; background: var(--room-color,#a8b8a4); min-height: 500px; overflow: hidden; isolation: isolate; }
.sc-room:before { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg,#ffffff50,transparent 60%,#0001); z-index: -1; }
.sc-room:after { content: ''; position: absolute; width: 15%; right: 0; top: 0; bottom: 100px; background: #0000000d; border-left: 1px solid #ffffff18; z-index: -1; }
.sc-window { position: absolute; left: 25px; top: 0; width: 180px; height: 330px; background: linear-gradient(135deg,#ffffff55,transparent); clip-path: polygon(0 0,70% 0,100% 100%,0 80%); }
.sc-frame { position: absolute; width: 95px; height: 125px; right: 100px; top: 65px; border: 7px solid #e9dfcf; background: #eeeadb; box-shadow: 2px 5px 9px #0001; }
.sc-frame:after { content: ''; position: absolute; width: 55px; height: 55px; border-radius: 50% 50% 0 0; bottom: 15px; left: 12px; background: #bc977b; }
.sc-room-floor { position: absolute; height: 100px; bottom: 0; width: 100%; background: repeating-linear-gradient(93deg,#c6b6a0 0 70px,#c0ae96 70px 72px); border-top: 7px solid #e9e4dc; }
.sc-sofa { position: absolute; bottom: 91px; left: 8%; right: 18%; height: 128px; border-radius: 23px 23px 8px 8px; background: linear-gradient(90deg,#d4c9b9,#e6ddcf 60%,#cfc2b0); box-shadow: 5px 15px 15px #0002; }
.sc-sofa:before { content: ''; position: absolute; bottom: 32px; height: 60px; left: -12px; right: -12px; border-radius: 15px; background: #dfd5c5; border-top: 1px solid #f7f3e8; }
.sc-sofa:after { content: ''; position: absolute; height: 30px; left: 12px; right: 12px; bottom: -18px; border-left: 8px solid #796c60; border-right: 8px solid #796c60; z-index: -1; }
.sc-sofa span { position: absolute; top: 15px; width: 65px; height: 65px; border-radius: 7px; background: #f4ecdf; transform: rotate(-9deg); left: 25px; box-shadow: 0 4px 8px #0001; }
.sc-sofa span + span { left: auto; right: 30px; transform: rotate(12deg); background: #b6a18a; }
.sc-table { position: absolute; bottom: 51px; width: 138px; height: 28px; border-radius: 50%; background: #8b7660; left: 45%; box-shadow: 0 4px 0 #74624f; }
.sc-table:after { content: ''; position: absolute; top: 16px; left: 25%; right: 25%; height: 38px; border-left: 5px solid #8b7660; border-right: 5px solid #8b7660; z-index: -1; }
.sc-room-caption { position: absolute; left: 25px; right: 25px; bottom: 13px; font-size: .75rem; color: #fff; text-shadow: 0 1px 3px #0008; line-height: 1.5; }
.sc-detail-copy { padding: 52px 35px 35px; }
.sc-detail-copy h2 { margin: 10px 0; font-size: 2rem; line-height: 1.25; font-weight: 600; }
.sc-detail-code { font-size: .8125rem; color: #7b8ca0; margin: 0 0 20px; }
.sc-detail-sample { display: block; width: 56px; height: 56px; border-radius: 10px; border: 1px solid #0001; }
.sc-detail-copy > p:not(.sc-detail-code) { font-size: .875rem; line-height: 1.8; color: #6a7f97; margin: 22px 0; }
.sc-detail-copy .st-btn { font-weight: 500; font-size: .875rem; width: 100%; padding: 15px; }
.sc-add-compare { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 0; border: 0; background: transparent; color: #234e7a; font: 500 .875rem/1.5 var(--font-primary); cursor: pointer; }
.sc-detail-copy > small { display: block; font-size: .75rem; color: #8391a2; line-height: 1.7; }
.sc-feedback { display: block; font-size: .8125rem; color: #4d7865; margin-bottom: 10px; }
.sc-compare-dialog { padding: 38px; }
.sc-compare-heading { padding-right: 30px; }
.sc-compare-heading h2 { font-size: 1.75rem; margin: 10px 0; }
.sc-compare-heading p { font-size: .875rem; color: #75879b; }
.sc-comparison { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0,1fr); gap: 18px; margin-top: 30px; }
.sc-comparison-sample { height: 240px; border-radius: 10px; border: 1px solid #0001; }
.sc-comparison h3 { font: 500 1rem/1.5 var(--font-primary); margin: 15px 0 5px; }
.sc-comparison p { font-size: .8125rem; color: #8391a2; margin: 0; }
@keyframes sc-dialog-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1100px) { .sc-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; } .sc-filter-heading { align-items: flex-start; } .sc-filter-heading h2 { max-width: 300px; } .sc-compare-tray { flex-wrap: wrap; } .sc-compare-tray > div:first-child { flex: 1 1 40%; } }
@media (max-width: 700px) {
 .st-color-page { padding-top: 18px; padding-bottom: 40px; }
 .sc-eyebrow { font-size: .75rem; letter-spacing: .05em; }
 .sc-filter-heading { flex-direction: column; align-items: stretch; gap: 20px; margin-top: 28px; }
 .sc-filter-heading h2 { max-width: none; font-size: 1.125rem; }
 .sc-search { min-width: 0; }
 .sc-families { flex-wrap: nowrap; overflow-x: auto; padding: 4px 2px 12px; margin: 20px -2px; }
 .sc-family { flex-shrink: 0; font-size: .8125rem; padding: 9px 13px; }
 .sc-results-bar h2 { font-size: 1.0625rem; }
 .sc-results-bar > span { font-size: .8125rem; white-space: nowrap; }
 .sc-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
 .sc-swatch-color { height: 140px; }
 .sc-swatch-info { padding: 13px; }
 .sc-swatch-info strong { font-size: .875rem; }
 .sc-swatch-info small { font-size: .75rem; }
 .sc-swatch-color > i { opacity: 1; width: 26px; height: 26px; font-size: 12px; }
 .sc-compare-tray { padding: 16px; gap: 15px; bottom: 10px; border-radius: 12px; }
 .sc-compare-tray > div:first-child { flex-basis: 100%; }
 .sc-compare-tray > div:first-child > span { font-size: .75rem; }
 #sc-compare-open { font-size: .75rem; padding: 12px 15px; margin-left: auto; }
 .sc-mini-color { width: 31px; height: 34px; }
 .sc-clear { padding: 0; }
 .sc-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); border-radius: 14px; }
 .sc-detail-grid { grid-template-columns: 1fr; }
 .sc-room { min-height: 310px; }
 .sc-frame { width: 70px; height: 90px; right: 70px; top: 30px; }
 .sc-frame:after { width: 40px; height: 40px; left: 8px; }
 .sc-room-floor { height: 70px; }
 .sc-sofa { bottom: 62px; height: 100px; }
 .sc-sofa span { width: 47px; height: 47px; left: 20px; }
 .sc-sofa span + span { right: 20px; }
 .sc-table { bottom: 37px; width: 110px; }
 .sc-room-caption { font-size: .6875rem; bottom: 7px; }
 .sc-detail-copy { padding: 27px 24px; }
 .sc-detail-copy h2 { font-size: 1.625rem; }
 .sc-compare-dialog { padding: 26px 18px; }
 .sc-compare-heading h2 { font-size: 1.5rem; }
 .sc-comparison { gap: 10px; }
 .sc-comparison-sample { height: 180px; }
 .sc-comparison h3 { font-size: .8125rem; }
 .sc-comparison p { font-size: .75rem; }
 .sc-comparison .sc-add-compare { font-size: .75rem; }
}
@media (prefers-reduced-motion: reduce) { .sc-dialog[open] { animation: none; } .sc-swatch, .sc-family, .st-find-color { transition: none; } .sc-swatch:hover, .st-find-color:active { transform: none; } }

.sc-quote-choice { display:flex; align-items:center; gap:18px; border:1px solid #dce5ef; border-radius:12px; background:#f6f8fc; padding:20px; margin:22px 0 30px; }
.sc-choice-sample { width:55px; height:55px; border-radius:9px; border:1px solid #0001; flex-shrink:0; }
.sc-quote-choice > div { flex:1; }
.sc-quote-choice small { display:block; font-size:.6875rem; letter-spacing:.06em; color:#7d8da1; }
.sc-quote-choice strong { display:block; font-size:1rem; font-weight:500; margin-top:5px; }
.sc-quote-choice strong span { font-size:.8125rem; color:#7d8da1; font-weight:400; }
.sc-quote-choice p { font-size:.8125rem; color:#6c8097; line-height:1.6; margin:6px 0 0; }
.sc-quote-choice > a { font-size:.8125rem; color:#1d4776; white-space:nowrap; }
.sc-quote-choice button { border:0; background:transparent; color:#7890a7; padding:8px; cursor:pointer; }
@media(max-width:700px){.sc-quote-choice{gap:12px;padding:16px;flex-wrap:wrap}.sc-quote-choice>div{flex-basis:calc(100% - 70px)}.sc-quote-choice>a{margin-left:67px}.sc-quote-choice strong{font-size:.9375rem}.sc-quote-choice strong span{display:block}.sc-quote-choice form{margin-left:auto}}

/* Real photograph preview: the canvas recolors only the mapped wall surface. */
.sc-room--photo { background: #d9d5ce; min-height: 560px; }
.sc-room--photo::before, .sc-room--photo::after { content: none; }
.sc-room--photo > img, .sc-room--photo > canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 61% center;
}
.sc-room--photo > canvas { z-index: 1; }
.sc-room--photo.is-original > canvas { visibility: hidden; }
.sc-room--photo .sc-room-caption { z-index: 2; left: 18px; right: 18px; bottom: 16px; width: fit-content; max-width: calc(100% - 36px); padding: 8px 12px; border-radius: 8px; background: #10243abf; color: #fff; font-size: .75rem; line-height: 1.6; text-shadow: none; }
.sc-room-original { position: absolute; left: 18px; top: 18px; z-index: 2; display: inline-flex; align-items: center; gap: 7px; border: 1px solid #fff8; border-radius: 999px; background: #fffffff0; color: #173d67; padding: 8px 12px; font: 400 .75rem/1.5 var(--font-primary); cursor: pointer; box-shadow: 0 3px 12px #10243a15; }
.sc-room-original:hover { background: #fff; }
@media(max-width:700px){
 .sc-room--photo { min-height: 330px; }
 .sc-room--photo > img, .sc-room--photo > canvas { object-position: 60% center; }
 .sc-room--photo .sc-room-caption { left: 12px; right: 12px; bottom: 12px; max-width: calc(100% - 24px); font-size: .6875rem; padding: 6px 9px; }
 .sc-room-original { left: 12px; top: 12px; font-size: .6875rem; padding: 7px 10px; }
}
