.scv{--radius:28px;--border:#ececec;--text:#181818;--muted:#777;font-family:inherit;color:var(--text)}
.scv-head{margin:0 0 24px}.scv-head h1{font-size:clamp(32px,5vw,64px);line-height:1;margin:0 0 10px}.scv-head p{color:var(--muted);font-size:18px;margin:0}
.scv-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);gap:24px;align-items:start}.scv-preview,.scv-panel{background:#fff;border:1px solid var(--border);border-radius:var(--radius);box-shadow:0 20px 60px rgba(0,0,0,.06)}.scv-preview{padding:16px}.scv-panel{padding:18px;position:sticky;top:20px}.scv-room{position:relative;aspect-ratio:16/10;overflow:hidden;border-radius:22px;background:#f4f1ea}.scv-room img,.scv-wall{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.scv-base{z-index:1}.scv-wall{z-index:2;background:var(--scv-color);-webkit-mask-image:var(--scv-mask);mask-image:var(--scv-mask);-webkit-mask-size:cover;mask-size:cover;-webkit-mask-position:center;mask-position:center;mix-blend-mode:multiply;opacity:.92}.scv-overlay{z-index:3;pointer-events:none}.scv-empty{padding:50px;text-align:center;border:1px dashed #ddd;border-radius:22px;color:#777}.scv-current{display:flex;align-items:center;gap:10px;margin-top:14px}.scv-chip{width:28px;height:28px;border-radius:50%;border:1px solid #ddd;background:#fff}.scv-current-base{color:#777}.scv-search,.scv-room-select{width:100%;height:48px;border:1px solid #ddd;border-radius:16px;padding:0 16px;margin-bottom:12px}.scv-palettes,.scv-product-palettes{display:flex;gap:8px;overflow:auto;margin:0 0 14px}.scv-palettes button,.scv-product-palettes button{border:1px solid #ddd;background:#fff;border-radius:999px;padding:9px 14px;cursor:pointer;white-space:nowrap}.scv-palettes button.active,.scv-product-palettes button.active{background:#111;color:#fff;border-color:#111}.scv-colors{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-height:620px;overflow:auto;padding-right:4px}.scv-color,.scv-product-color{border:1px solid #e7e7e7;background:#fff;border-radius:16px;padding:10px;text-align:left;cursor:pointer;display:grid;grid-template-columns:34px 1fr;gap:8px;align-items:center}.scv-color span,.scv-product-color span{width:34px;height:34px;border-radius:11px;border:1px solid rgba(0,0,0,.12);grid-row:span 2}.scv-color b,.scv-product-color b{font-size:13px}.scv-color small,.scv-product-color small{font-size:11px;color:#777;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.scv-color.active,.scv-product-color.active{outline:2px solid #111}.scv-product-picker{border:1px solid #eee;border-radius:22px;padding:16px;margin:18px 0;background:#fff}.scv-product-picker h3{margin:0 0 6px}.scv-product-picker p{margin:0 0 12px;color:#777}.scv-product-search{width:100%;height:44px;border:1px solid #ddd;border-radius:14px;padding:0 14px;margin-bottom:10px}.scv-product-colors{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-height:260px;overflow:auto}.scv-product-selected{margin-top:12px;padding:10px 12px;background:#f7f7f7;border-radius:14px;display:flex!important;align-items:center;gap:8px}.scv-product-selected[style*="none"]{display:none!important}.scv-product-selected span{width:24px;height:24px;border-radius:8px;border:1px solid #ddd}
@media(max-width:900px){.scv-layout{grid-template-columns:1fr}.scv-panel{position:static}.scv-colors{grid-template-columns:1fr;max-height:480px}.scv-product-colors{grid-template-columns:repeat(2,minmax(0,1fr))}}
.scv-count{font-size:13px;color:#777;margin:0 0 10px}.scv-load-more{width:100%;height:46px;border:1px solid #ddd;background:#111;color:#fff;border-radius:16px;margin-top:12px;cursor:pointer;font-weight:700}.scv-loading .scv-load-more{opacity:.55;pointer-events:none}.scv-loading .scv-colors{opacity:.72}.scv-colors:empty{min-height:120px;border:1px dashed #e8e8e8;border-radius:16px;background:#fafafa}


/* Красивый выбор комнат на странице /kolerovka */
.scv-room-picker-wrap{margin:0 0 16px}
.scv-room-picker-title{font-size:14px;font-weight:800;margin:0 0 10px;color:#222}
.scv-room-picker{display:flex;gap:12px;overflow-x:auto;padding:2px 2px 10px;margin:0 -2px;scrollbar-width:thin;scroll-snap-type:x proximity}
.scv-room-card{flex:0 0 144px;border:1px solid #e6e6e6;background:#fff;border-radius:18px;padding:8px;cursor:pointer;text-align:left;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease;scroll-snap-align:start;position:relative}
.scv-room-card:hover{transform:translateY(-2px);border-color:#cfcfcf;box-shadow:0 12px 28px rgba(0,0,0,.08)}
.scv-room-card.is-active{border-color:#111;box-shadow:0 0 0 2px #111 inset,0 14px 32px rgba(0,0,0,.10)}
.scv-room-card.is-active:after{content:'✓';position:absolute;top:10px;right:10px;width:24px;height:24px;border-radius:999px;background:#111;color:#fff;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:800;box-shadow:0 6px 18px rgba(0,0,0,.18)}
.scv-room-card-img{display:block;width:100%;height:88px;border-radius:13px;overflow:hidden;background:linear-gradient(135deg,#f5f5f5,#ececec);margin:0 0 8px}
.scv-room-card-img img{width:100%;height:100%;object-fit:cover;display:block}
.scv-room-card-name{display:block;font-size:13px;font-weight:800;color:#222;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:900px){.scv-room-card{flex-basis:126px}.scv-room-card-img{height:78px}}
