.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-left{min-width:0;display:flex;flex-direction:column;gap:18px}.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-left{gap:14px}.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}}

/* Товары, которые можно заколеровать в выбранный цвет */
.scv-tint-products{margin-top:0;border:1px solid #ededed;border-radius:24px;background:#fff;padding:16px;box-shadow:0 16px 44px rgba(0,0,0,.05)}
.scv-tint-products-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;margin:0 0 12px}
.scv-tint-products-head h3{margin:0 0 4px;font-size:20px;line-height:1.15}
.scv-tint-products-head p{margin:0;color:#777;font-size:14px;line-height:1.35}
.scv-tint-products-base{flex:0 0 auto;border:1px solid #111;background:#111;color:#fff;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:800;white-space:nowrap}
.scv-tint-products-tabs{display:flex;gap:8px;overflow:auto;margin:0 0 12px;padding-bottom:4px;scrollbar-width:thin}
.scv-tint-products-tabs button{border:1px solid #ddd;background:#fff;border-radius:999px;padding:9px 12px;cursor:pointer;white-space:nowrap;font-weight:700;color:#222}
.scv-tint-products-tabs button.active{background:#111;color:#fff;border-color:#111}
.scv-tint-products-tabs button span{opacity:.65;margin-left:4px}
.scv-tint-products-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.scv-tint-product{display:grid;grid-template-columns:64px 1fr;gap:10px;align-items:center;text-decoration:none;color:#222;border:1px solid #ececec;border-radius:18px;padding:9px;background:#fff;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.scv-tint-product:hover{transform:translateY(-2px);border-color:#d0d0d0;box-shadow:0 12px 26px rgba(0,0,0,.07)}
.scv-tint-product-img{width:64px;height:64px;border-radius:14px;overflow:hidden;background:#f4f4f4;display:block}
.scv-tint-product-img img{width:100%;height:100%;object-fit:cover;display:block}
.scv-tint-product-info{min-width:0;display:block}
.scv-tint-product-info b{display:block;font-size:13px;line-height:1.2;margin-bottom:4px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.scv-tint-product-info small{display:block;color:#777;font-size:11px;margin-bottom:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.scv-tint-product-info em{font-style:normal;font-weight:800;font-size:13px;color:#111}
.scv-tint-products-loading,.scv-tint-products-none,.scv-tint-products-empty{border:1px dashed #e4e4e4;background:#fafafa;border-radius:16px;padding:14px;color:#777;font-size:14px}
@media(max-width:900px){.scv-tint-products-list{grid-template-columns:1fr}.scv-tint-products-head{display:block}.scv-tint-products-base{display:inline-flex;margin-top:10px}}

/* Product tinting selected colors */
.scv-product-picker-head h3{margin-bottom:6px}
.scv-product-picker-head p{margin:0 0 14px;color:#777;line-height:1.35}
.scv-product-selected-list{margin:14px 0 16px;padding:14px;border:1px solid #e8e8e8;border-radius:18px;background:#fff}
.scv-product-selected-title{font-size:15px;font-weight:800;margin-bottom:10px;color:#20252b}
.scv-product-selected-items{display:grid;gap:8px}
.scv-product-selected-row{display:grid;grid-template-columns:32px minmax(0,1fr) auto 32px;gap:10px;align-items:center;padding:10px;border:1px solid #ededed;border-radius:14px;background:#fafafa}
.scv-selected-chip{width:28px;height:28px;border-radius:50%;border:1px solid rgba(0,0,0,.14);box-shadow:inset 0 0 0 2px rgba(255,255,255,.45)}
.scv-selected-info{min-width:0;display:flex;flex-direction:column;gap:2px}.scv-selected-info b{font-size:14px;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.scv-selected-info small{font-size:12px;color:#777;line-height:1.2}
.scv-selected-qty{display:flex;align-items:center;height:34px;border:1px solid #ddd;border-radius:12px;background:#fff;overflow:hidden}.scv-selected-qty button{width:30px;height:34px;border:0;background:transparent;font-size:18px;cursor:pointer}.scv-selected-qty input{width:42px;height:34px;border:0;text-align:center;font-weight:700;background:#fff}.scv-selected-qty input::-webkit-outer-spin-button,.scv-selected-qty input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.scv-tint-remove{width:32px;height:32px;border:0;border-radius:50%;background:#fff;color:#555;font-size:21px;line-height:1;cursor:pointer}.scv-tint-remove:hover{background:#111;color:#fff}.scv-product-selected-note{margin-top:10px;font-size:12px;color:#777}.scv-product-selected-summary{margin-top:4px;font-size:13px;color:#444}.scv-product-selected-error{margin-top:8px;padding:9px 10px;border-radius:12px;background:#fff1f1;color:#b00020;font-size:13px;font-weight:700}.scv-product-color.disabled-by-base{opacity:.38;filter:grayscale(.35);cursor:not-allowed}.scv-product-color.active{border-color:#111;box-shadow:0 0 0 2px #111 inset}.scv-cart-tint-line{display:inline-flex;align-items:center;gap:7px;margin:2px 0}.scv-cart-tint-dot{display:inline-block;width:16px;height:16px;border-radius:50%;border:1px solid rgba(0,0,0,.16);vertical-align:middle;flex:0 0 16px}
@media (max-width:520px){.scv-product-selected-row{grid-template-columns:28px minmax(0,1fr) 1fr 28px}.scv-selected-qty{justify-self:end}.scv-selected-qty input{width:34px}}
