.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}}

/* Product modal palette view, matching the colorizer page */
.scv-product-picker>.scv-product-palettes-legacy,
.scv-product-picker>.scv-product-colors{display:none!important}
.scv-product-search-wrap{position:relative;margin:0 0 14px}.scv-product-search-wrap>i{position:absolute;right:16px;top:14px;width:15px;height:15px;border:1.5px solid #59616d;border-radius:50%;pointer-events:none}.scv-product-search-wrap>i:after{content:'';position:absolute;width:6px;height:1.5px;background:#59616d;right:-5px;bottom:-2px;transform:rotate(45deg)}
.scv-product-search{height:46px!important;margin:0!important;padding:0 44px 0 14px!important;border-color:#dfe3e8!important;border-radius:14px!important}
.scv-product-palette-block{min-height:0;overflow:hidden}.scv-product-filter-title{font-size:13px;font-weight:800;margin:0 0 8px;color:#20252b}.scv-product-palettes{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important;overflow:visible!important;margin:0!important;padding:0!important}
.scv-product-palettes button{position:relative;display:flex!important;flex-direction:column;align-items:stretch;justify-content:flex-start;width:auto!important;height:auto!important;min-height:68px!important;padding:9px!important;border:1px solid #e5eaf0!important;border-radius:13px!important;background:#fff!important;color:#20252b!important;line-height:1.15!important;text-align:left;box-shadow:none;transition:border-color .18s ease,box-shadow .18s ease}
.scv-product-palettes button:hover{border-color:#cfd7e2!important}.scv-product-palettes button.active{border-color:#e5eaf0!important;background:#fff!important;color:#20252b!important;box-shadow:none!important}
.scv-product-palettes .scv-palette-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:4px}.scv-product-palettes .scv-palette-card-head>b{font-size:12px;font-weight:800;color:#20252b}.scv-product-palettes .scv-palette-card-head>i{display:none}.scv-product-palettes button>small{display:block!important;margin-bottom:8px;font-size:10px;line-height:1.2;color:#7b8490;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.scv-product-palettes .scv-palette-strip{display:grid;grid-template-columns:repeat(14,minmax(0,1fr));height:10px;margin-top:auto;overflow:hidden;border-radius:6px;background:#edf1f5}.scv-product-palettes .scv-palette-strip>em{display:block;min-width:0}
.scv-product-palette-detail{display:none;animation:scvPaletteIn .28s ease both}.scv-product-palette-open .scv-product-filter-title,.scv-product-palette-open .scv-product-palettes{display:none!important}.scv-product-palette-open .scv-product-palette-detail{display:block}.scv-product-searching .scv-product-search-wrap{display:block!important}
.scv-product-palette-detail-head{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px;margin:0 0 12px}.scv-product-palette-back{height:28px;border:0;background:transparent;color:#7b8490;display:inline-flex;align-items:center;gap:6px;padding:0;font-size:11px;font-weight:700;cursor:pointer;white-space:nowrap}.scv-product-palette-back:first-letter{font-size:20px;line-height:1}
.scv-product-palette-detail-title{display:flex;align-items:baseline;justify-content:center;gap:6px;min-width:0}.scv-product-palette-detail-title>b{font-size:15px;font-weight:900;color:#20252b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.scv-product-palette-detail-title>small{font-size:10px;font-weight:700;color:#8a93a0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.scv-product-palette-detail-strip{display:grid;grid-template-columns:repeat(14,minmax(0,1fr));height:28px;margin:0 0 14px;overflow:hidden;border-radius:7px;background:#edf1f5}.scv-product-palette-detail-strip>em{display:block}.scv-product-colors-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:10px}.scv-product-colors-head>b{font-size:14px}.scv-product-count{font-size:11px;color:#777}
.scv-product-palette-block .scv-product-colors{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px 10px;max-height:348px;overflow:auto;padding:0 4px 0 0;scrollbar-width:thin;scrollbar-color:#cbd0d6 transparent}.scv-product-palette-block .scv-product-colors::-webkit-scrollbar{width:6px}.scv-product-palette-block .scv-product-colors::-webkit-scrollbar-thumb{background:#cbd0d6;border-radius:10px}
.scv-product-palette-block .scv-product-color{position:relative;display:flex;flex-direction:column;align-items:stretch;gap:0;padding:0;border:0;border-radius:7px;background:transparent;min-width:0;overflow:visible}.scv-product-palette-block .scv-product-color>span{width:100%;height:auto;aspect-ratio:1/1;border:0;border-radius:7px;margin:0;box-shadow:inset 0 0 0 1px rgba(255,255,255,.12);grid-row:auto}.scv-product-palette-block .scv-product-color>b,.scv-product-palette-block .scv-product-color>small{display:none}.scv-product-palette-block .scv-product-color.active{outline:0!important;border:0!important;box-shadow:none!important}.scv-product-palette-block .scv-product-color.active:after{content:"✓";position:absolute;top:6px;right:6px;z-index:3;width:18px;height:18px;display:flex;align-items:center;justify-content:center;border:2px solid rgba(255,255,255,.95);border-radius:50%;background:#ff4658;color:#fff;font-size:11px;font-weight:900;line-height:1;box-shadow:0 6px 14px rgba(20,28,40,.2)}
@media(max-width:560px){.scv-product-palettes{grid-template-columns:1fr}.scv-product-palette-block .scv-product-colors{grid-template-columns:repeat(4,minmax(0,1fr));max-height:300px}}

/* Visualizer page */
.scv.scv-ajax{--scv-accent:#ff4658;display:grid;grid-template-columns:250px minmax(0,1fr);gap:24px;align-items:start;max-width:1600px;margin:0 auto;padding:12px 0 40px}
.scv.scv-ajax .scv-head{margin:32px 0 0;padding:10px 4px;position:sticky;top:120px}
.scv.scv-ajax .scv-head h1{font-size:52px;line-height:1.06;letter-spacing:0;margin:0 0 24px;max-width:240px}
.scv.scv-ajax .scv-head>p{font-size:16px;line-height:1.55;color:#73777e;max-width:220px;margin:0 0 16px}
.scv-head-mark{display:block;width:38px;height:8px;margin:0 0 22px;background:radial-gradient(circle at 4px 4px,transparent 3px,var(--scv-accent) 3.5px 4px,transparent 4.5px) 0 0/13px 8px repeat-x}
.scv-benefits{overflow:hidden;border-radius:16px;background:#fff;box-shadow:0 12px 34px rgba(20,28,40,.07)}
.scv-benefits>div{display:grid;grid-template-columns:28px 1fr;column-gap:10px;padding:15px 16px}
.scv-benefits>div+div{border-top:1px solid #edf0f3}.scv-benefits>div>span{grid-row:1/3;font-size:20px;color:#5c6570}.scv-benefits b{font-size:13px;line-height:1.2}.scv-benefits small{font-size:11px;line-height:1.35;color:#8a919c;margin-top:3px}
.scv.scv-ajax .scv-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(350px,.82fr);gap:22px;align-items:start}
.scv.scv-ajax .scv-left{gap:20px}.scv.scv-ajax .scv-preview{position:relative;padding:0;border:0;border-radius:28px;box-shadow:0 16px 44px rgba(20,28,40,.08);overflow:hidden}
.scv.scv-ajax .scv-room{aspect-ratio:1.43/1;border-radius:28px}.scv.scv-ajax .scv-current{position:absolute;z-index:6;left:20px;bottom:18px;min-width:320px;max-width:calc(100% - 40px);display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:12px;align-items:center;margin:0;padding:10px 12px;border:1px solid rgba(255,255,255,.22);border-radius:18px;background:rgba(20,23,27,.84);color:#fff;box-shadow:0 14px 34px rgba(0,0,0,.2);backdrop-filter:blur(14px)}
.scv.scv-ajax .scv-chip{width:48px;height:48px;border:2px solid rgba(255,255,255,.85)}.scv-current-copy{display:flex;flex-direction:column;min-width:0}.scv-current-code{font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.scv.scv-ajax .scv-current-base{font-size:12px;color:#cdd1d5;margin-top:3px}
.scv-save-color{height:38px;padding:0 12px;border:1px solid rgba(255,255,255,.25);border-radius:999px;background:transparent;color:#fff;display:inline-flex;align-items:center;gap:8px;cursor:pointer}.scv-save-color:disabled{opacity:.45;cursor:default}.scv-save-color i{width:14px;height:17px;border:1.5px solid currentColor;border-radius:2px}.scv-save-color.is-active{color:#ff6877;border-color:#ff6877}.scv-save-color.is-loading{pointer-events:none;opacity:.6}
.scv.scv-ajax .scv-panel{position:sticky;top:112px;padding:18px;border:0;border-radius:24px;box-shadow:0 14px 42px rgba(20,28,40,.07)}
.scv.scv-ajax .scv-room-picker-wrap{margin-bottom:16px}.scv.scv-ajax .scv-room-picker-title{font-size:15px}.scv.scv-ajax .scv-room-picker{gap:9px;padding-bottom:4px;scrollbar-width:none}.scv.scv-ajax .scv-room-picker::-webkit-scrollbar{display:none}.scv.scv-ajax .scv-room-card{flex-basis:122px;padding:5px;border-radius:14px}.scv.scv-ajax .scv-room-card-img{height:76px;margin-bottom:5px;border-radius:11px}.scv.scv-ajax .scv-room-card-name{text-align:center;font-size:12px}.scv.scv-ajax .scv-room-card.is-active{border-color:var(--scv-accent);box-shadow:0 0 0 1px var(--scv-accent)}.scv.scv-ajax .scv-room-card.is-active:after{top:7px;right:7px;width:20px;height:20px;background:var(--scv-accent)}
.scv-search-wrap{display:block;position:relative;margin-bottom:14px}.scv.scv-ajax .scv-search{height:46px;margin:0;padding:0 44px 0 14px;border-color:#dfe3e8;border-radius:14px}.scv-search-wrap>i{position:absolute;right:16px;top:14px;width:15px;height:15px;border:1.5px solid #59616d;border-radius:50%}.scv-search-wrap>i:after{content:'';position:absolute;width:6px;height:1.5px;background:#59616d;right:-5px;bottom:-2px;transform:rotate(45deg)}
.scv-filter-title{font-size:13px;font-weight:800;margin-bottom:8px}.scv.scv-ajax .scv-palettes{gap:7px;margin-bottom:18px;scrollbar-width:none}.scv.scv-ajax .scv-palettes::-webkit-scrollbar{display:none}.scv.scv-ajax .scv-palettes button{padding:8px 13px;font-size:12px}.scv.scv-ajax .scv-palettes button.active{background:var(--scv-accent);border-color:var(--scv-accent)}
.scv-colors-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:10px}.scv-colors-head>b{font-size:14px}.scv.scv-ajax .scv-count{margin:0;font-size:11px}.scv.scv-ajax .scv-colors{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;max-height:none;overflow:visible;padding:0}.scv.scv-ajax .scv-color{display:flex;flex-direction:column;align-items:stretch;gap:6px;padding:6px;border-radius:12px;min-width:0}.scv.scv-ajax .scv-color>span{width:100%;height:auto;aspect-ratio:1.25/1;border-radius:8px;grid-row:auto}.scv.scv-ajax .scv-color>b{font-size:10px;line-height:1.1;overflow:hidden;text-overflow:ellipsis}.scv.scv-ajax .scv-color>small{display:none}.scv.scv-ajax .scv-color.active{outline:0;border-color:var(--scv-accent);box-shadow:0 0 0 1px var(--scv-accent)}.scv.scv-ajax .scv-load-more{height:42px;background:#fff;color:#252a31;font-size:13px;border-radius:13px}
.scv.scv-ajax .scv-tint-products{border:0;border-radius:24px;padding:18px}.scv.scv-ajax .scv-tint-products-list{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:1240px){.scv.scv-ajax{display:block}.scv.scv-ajax .scv-head{position:static;display:grid;grid-template-columns:1fr 1fr;gap:8px 24px;margin:0 0 20px}.scv.scv-ajax .scv-head h1{grid-row:1/4}.scv-benefits{display:none}.scv.scv-ajax .scv-layout{grid-template-columns:minmax(0,1fr) 370px}}
@media(max-width:900px){.scv.scv-ajax{padding-top:0}.scv.scv-ajax .scv-head{display:block}.scv.scv-ajax .scv-head h1{font-size:40px;max-width:none}.scv.scv-ajax .scv-layout{grid-template-columns:1fr}.scv.scv-ajax .scv-panel{position:static;grid-row:1}.scv.scv-ajax .scv-colors{grid-template-columns:repeat(4,minmax(0,1fr))}.scv.scv-ajax .scv-current{min-width:0}.scv.scv-ajax .scv-tint-products-list{grid-template-columns:1fr}}
@media(max-width:560px){.scv.scv-ajax .scv-head h1{font-size:34px}.scv.scv-ajax .scv-head>p{font-size:15px}.scv.scv-ajax .scv-panel{padding:14px;border-radius:18px}.scv.scv-ajax .scv-colors{grid-template-columns:repeat(3,minmax(0,1fr))}.scv.scv-ajax .scv-current{left:10px;bottom:10px;max-width:calc(100% - 20px);grid-template-columns:38px minmax(0,1fr) 38px}.scv.scv-ajax .scv-chip{width:38px;height:38px}.scv-save-color{width:38px;padding:0;justify-content:center}.scv-save-color span{display:none}.scv.scv-ajax .scv-room{border-radius:20px}.scv.scv-ajax .scv-preview{border-radius:20px}}

/* Compact horizontal intro and balanced workspace */
.scv.scv-ajax{display:block;max-width:1480px;padding-top:8px}
.scv.scv-ajax .scv-head{position:static;display:grid;grid-template-columns:minmax(230px,.85fr) minmax(260px,1fr) minmax(430px,1.45fr);align-items:center;gap:24px;margin:0 0 22px;padding:18px 22px;border-radius:22px;background:#fff;box-shadow:0 12px 36px rgba(20,28,40,.06)}
.scv.scv-ajax .scv-head h1{grid-column:1;grid-row:1;font-size:34px;line-height:1.05;max-width:none;margin:0}
.scv.scv-ajax .scv-head>p{grid-column:2;grid-row:1;font-size:15px;line-height:1.45;max-width:330px;margin:0}
.scv.scv-ajax .scv-head-mark{display:none}
.scv.scv-ajax .scv-benefits{grid-column:3;grid-row:1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));box-shadow:none;border:1px solid #edf0f3}
.scv.scv-ajax .scv-benefits>div{padding:12px 14px}.scv.scv-ajax .scv-benefits>div+div{border-top:0;border-left:1px solid #edf0f3}
.scv.scv-ajax .scv-layout{grid-template-columns:minmax(0,1fr) minmax(410px,450px);align-items:stretch;gap:20px}
.scv.scv-ajax .scv-left{height:100%;gap:18px}.scv.scv-ajax .scv-preview{flex:0 0 auto}.scv.scv-ajax .scv-room{aspect-ratio:1.48/1}
.scv.scv-ajax .scv-panel{position:static;align-self:stretch;height:100%;max-height:920px;display:flex;flex-direction:column;min-height:0;padding:18px 16px}
.scv.scv-ajax .scv-room-picker,.scv.scv-ajax .scv-palettes,.scv.scv-ajax .scv-tint-products-tabs,.scv.scv-ajax .scv-tint-products-list{scroll-snap-type:x mandatory;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch;cursor:grab}
.scv.scv-ajax .scv-room-picker:active,.scv.scv-ajax .scv-palettes:active,.scv.scv-ajax .scv-tint-products-tabs:active,.scv.scv-ajax .scv-tint-products-list:active{cursor:grabbing}
.scv.scv-ajax .scv-room-card,.scv.scv-ajax .scv-palettes button,.scv.scv-ajax .scv-tint-products-tabs button,.scv.scv-ajax .scv-tint-product{scroll-snap-align:start}
.scv.scv-ajax .scv-room-picker{overflow-x:auto}.scv.scv-ajax .scv-room-card{flex-basis:132px}.scv.scv-ajax .scv-room-card-img{height:82px}
.scv.scv-ajax .scv-palettes{flex:0 0 auto;overflow-x:auto;padding-bottom:3px}.scv.scv-ajax .scv-palettes button{flex:0 0 auto}
.scv.scv-ajax .scv-colors-head{flex:0 0 auto}.scv.scv-ajax .scv-colors{flex:1 1 360px;min-height:260px;max-height:530px;overflow-y:auto;overscroll-behavior:contain;padding:2px 7px 2px 2px;scrollbar-width:thin;scrollbar-color:#cbd0d6 transparent}
.scv.scv-ajax .scv-colors::-webkit-scrollbar{width:6px}.scv.scv-ajax .scv-colors::-webkit-scrollbar-track{background:transparent}.scv.scv-ajax .scv-colors::-webkit-scrollbar-thumb{background:#cbd0d6;border-radius:10px}
.scv.scv-ajax .scv-color>span{aspect-ratio:1.38/1}.scv.scv-ajax .scv-load-more{flex:0 0 auto;margin-top:10px}
.scv.scv-ajax .scv-tint-products{flex:1 1 auto;min-height:248px;overflow:hidden;display:flex;flex-direction:column}.scv.scv-ajax .scv-tint-products-head{flex:0 0 auto}.scv.scv-ajax .scv-tint-products-tabs{flex:0 0 auto;overflow-x:auto;scrollbar-width:none}.scv.scv-ajax .scv-tint-products-tabs::-webkit-scrollbar{display:none}
.scv.scv-ajax .scv-tint-products-list{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(225px,1fr);gap:10px;overflow-x:auto;overflow-y:hidden;padding:2px 2px 8px;scrollbar-width:thin;scrollbar-color:#cbd0d6 transparent}
.scv.scv-ajax .scv-tint-products-list::-webkit-scrollbar{height:5px}.scv.scv-ajax .scv-tint-products-list::-webkit-scrollbar-thumb{background:#cbd0d6;border-radius:10px}
.scv.scv-ajax .scv-tint-product{position:relative;display:grid;grid-template-columns:72px minmax(0,1fr);grid-template-rows:1fr auto;gap:8px 10px;align-items:center;min-height:132px;padding:10px;color:#20252b}
.scv.scv-ajax .scv-tint-product:hover{color:#20252b}.scv.scv-ajax .scv-tint-product-img{grid-column:1;grid-row:1/3;width:72px;height:92px}.scv.scv-ajax .scv-tint-product-info{grid-column:2;grid-row:1;align-self:start}.scv-tint-product-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#20252b;text-decoration:none;font-size:12px;font-weight:800;line-height:1.25;margin-bottom:4px}.scv.scv-ajax .scv-tint-product-info small{font-size:10px;margin-bottom:5px}.scv-tint-product-base{display:flex;align-items:center;gap:5px;font-size:10px;color:#6f7782}.scv-tint-product-base i{width:17px;height:17px;border-radius:50%;border:1px solid rgba(0,0,0,.16);background:#f3f3ee;box-shadow:inset 0 0 0 2px rgba(255,255,255,.7)}.scv-tint-product-base i.is-base-c{background:#303238}.scv.scv-ajax .scv-tint-product-info em{font-size:16px;margin-top:6px}.scv-tint-product-cart{grid-column:2;grid-row:2;justify-self:stretch;display:flex;align-items:center;justify-content:center;height:32px;border-radius:10px;background:#080b0f;color:#fff!important;text-decoration:none;font-size:11px;font-weight:800}
@media(max-width:1180px){.scv.scv-ajax .scv-head{grid-template-columns:1fr 1.2fr}.scv.scv-ajax .scv-benefits{grid-column:1/3;grid-row:2}.scv.scv-ajax .scv-layout{grid-template-columns:minmax(0,1fr) 390px}.scv.scv-ajax .scv-colors{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.scv.scv-ajax .scv-head{display:grid;grid-template-columns:1fr;padding:16px}.scv.scv-ajax .scv-head h1,.scv.scv-ajax .scv-head>p,.scv.scv-ajax .scv-benefits{grid-column:1;grid-row:auto}.scv.scv-ajax .scv-benefits{grid-template-columns:1fr 1fr}.scv.scv-ajax .scv-layout{grid-template-columns:1fr}.scv.scv-ajax .scv-panel{max-height:760px}.scv.scv-ajax .scv-colors{grid-template-columns:repeat(4,minmax(0,1fr));max-height:420px}.scv.scv-ajax .scv-tint-products-list{grid-auto-columns:minmax(230px,72%)}}
@media(max-width:560px){.scv.scv-ajax .scv-head{gap:12px}.scv.scv-ajax .scv-benefits{grid-template-columns:1fr}.scv.scv-ajax .scv-benefits>div+div{border-left:0;border-top:1px solid #edf0f3}.scv.scv-ajax .scv-panel{max-height:700px}.scv.scv-ajax .scv-colors{grid-template-columns:repeat(3,minmax(0,1fr));max-height:390px}.scv.scv-ajax .scv-room-card{flex-basis:118px}.scv.scv-ajax .scv-tint-products-list{grid-auto-columns:86%}}

/* Swiper structure with native overflow fallback */
.scv-room-swiper,.scv-palettes-swiper{width:100%;overflow:hidden}.scv.scv-ajax .scv-room-picker,.scv.scv-ajax .scv-palettes{overflow:visible;margin-left:0;margin-right:0}.scv.scv-ajax .scv-room-card{height:auto}.scv.scv-ajax .scv-palettes button{width:auto;height:auto}
.scv.scv-ajax .scv-tint-products-base{display:inline-flex;align-items:center;gap:7px;padding:6px 9px;background:#fff;color:#20252b;border-color:#dfe3e8}.scv.scv-ajax .scv-tint-products-base i{width:17px;height:17px;border-radius:50%;border:1px solid rgba(0,0,0,.16);background:#f3f3ee;box-shadow:inset 0 0 0 2px rgba(255,255,255,.7)}.scv.scv-ajax .scv-tint-products-base i.is-base-c{background:#303238}
.scv.scv-ajax .scv-tint-products-list.swiper{display:block;overflow:hidden;padding:2px}.scv.scv-ajax .scv-tint-products-list.swiper .swiper-wrapper{align-items:stretch}.scv.scv-ajax .scv-tint-product.swiper-slide{width:238px;height:auto;flex-shrink:0}
@media(max-width:560px){.scv.scv-ajax .scv-tint-product.swiper-slide{width:84%}}
.scv-tint-product-cart{border:0;font-family:inherit;cursor:pointer}.scv-tint-product-cart.is-loading{opacity:.65;pointer-events:none}.scv-tint-product-cart.is-added{background:#167847}

/* Slider controls and compact product cards */
.scv-slider-arrow{position:absolute;z-index:8;width:30px;height:30px;padding:0;border:1px solid #dfe3e8;border-radius:50%;background:#fff;color:#252a31;box-shadow:0 6px 18px rgba(20,28,40,.12);display:flex;align-items:center;justify-content:center;font:400 24px/1 Arial,sans-serif;cursor:pointer;transition:opacity .18s,transform .18s}.scv-slider-arrow:hover{transform:scale(1.06)}.scv-slider-arrow:disabled,.scv-slider-arrow.swiper-button-disabled{opacity:.3;pointer-events:none}
.scv-room-swiper,.scv-palettes-swiper,.scv-tint-products-slider{position:relative}.scv-room-prev,.scv-products-prev{left:6px;top:50%;transform:translateY(-50%)}.scv-room-next,.scv-products-next{right:6px;top:50%;transform:translateY(-50%)}.scv-room-prev:hover,.scv-room-next:hover,.scv-products-prev:hover,.scv-products-next:hover{transform:translateY(-50%) scale(1.06)}
.scv-palette-prev{left:2px;top:3px}.scv-palette-next{right:2px;top:3px}.scv.scv-ajax .scv-palettes-swiper{padding:0 34px}.scv.scv-ajax .scv-palettes{margin-bottom:14px}.scv.scv-ajax .scv-palettes button{height:36px!important;min-height:36px!important;padding:0 14px!important;border-radius:18px;font-size:12px;line-height:34px;display:block;flex:0 0 auto!important;width:auto!important}
.scv.scv-ajax .scv-room-swiper,.scv.scv-ajax .scv-palettes-swiper{overflow-x:auto;scrollbar-width:none}.scv.scv-ajax .scv-room-swiper::-webkit-scrollbar,.scv.scv-ajax .scv-palettes-swiper::-webkit-scrollbar{display:none}.scv.scv-ajax .scv-room-swiper.swiper-initialized,.scv.scv-ajax .scv-palettes-swiper.swiper-initialized{overflow:hidden}
.scv.scv-ajax .scv-layout{align-items:stretch}.scv.scv-ajax .scv-panel{height:auto;max-height:none}.scv.scv-ajax .scv-colors{max-height:520px}
.scv.scv-ajax .scv-tint-products{min-height:198px;padding:14px 16px}.scv.scv-ajax .scv-tint-products-head{margin-bottom:8px}.scv.scv-ajax .scv-tint-products-head h3{font-size:18px}.scv.scv-ajax .scv-tint-products-head p{font-size:12px}.scv.scv-ajax .scv-tint-products-tabs{margin-bottom:7px}.scv.scv-ajax .scv-tint-products-tabs button{padding:7px 11px;font-size:12px}
.scv.scv-ajax .scv-tint-products-slider{min-height:112px;padding:0 34px}.scv.scv-ajax .scv-tint-products-list.swiper{overflow-x:auto;scrollbar-width:none}.scv.scv-ajax .scv-tint-products-list.swiper::-webkit-scrollbar{display:none}.scv.scv-ajax .scv-tint-products-list.swiper.swiper-initialized{overflow:hidden}.scv.scv-ajax .scv-tint-products-list.swiper .swiper-wrapper{align-items:flex-start}
.scv.scv-ajax .scv-tint-product.swiper-slide{width:248px!important;height:112px!important;min-height:112px;padding:8px;grid-template-columns:64px minmax(0,1fr);gap:5px 9px;border-radius:14px}.scv.scv-ajax .scv-tint-product-img{width:64px;height:78px;border-radius:10px}.scv-tint-product-title{font-size:11px;line-height:1.18;margin-bottom:3px}.scv.scv-ajax .scv-tint-product-info small{font-size:9px;margin-bottom:3px}.scv-tint-product-base{font-size:9px}.scv-tint-product-base i{width:14px;height:14px}.scv.scv-ajax .scv-tint-product-info em,.scv.scv-ajax .scv-tint-product-info em .amount,.scv.scv-ajax .scv-tint-product-info em bdi{display:block;font-size:14px!important;line-height:1.1!important;white-space:nowrap!important;letter-spacing:0}.scv-tint-product-cart{height:28px;font-size:10px;border-radius:8px}
@media(max-width:560px){.scv-slider-arrow{width:28px;height:28px}.scv.scv-ajax .scv-tint-products-slider{padding:0 26px}.scv.scv-ajax .scv-tint-product.swiper-slide{width:230px!important}.scv.scv-ajax .scv-colors{max-height:390px}}
.scv-room-swiper,.scv-palettes-swiper,.scv-tint-products-slider{-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.scv-room-swiper img,.scv-palettes-swiper img,.scv-tint-products-slider img{-webkit-user-select:none;user-select:none;-webkit-user-drag:none;user-drag:none;pointer-events:none}.scv-room-swiper button,.scv-palettes-swiper button,.scv-tint-products-slider a,.scv-tint-products-slider button{-webkit-user-select:none;user-select:none}
.scv-slider-arrow{opacity:0;pointer-events:none}.scv-slider-arrow.is-available{opacity:1;pointer-events:auto}.scv.scv-ajax .scv-tint-product-info em{display:flex;align-items:baseline;gap:3px;white-space:nowrap}.scv.scv-ajax .scv-tint-product-info em>strong{font-size:14px;line-height:1}.scv.scv-ajax .scv-tint-product-info em>small{display:inline!important;margin:0!important;font-size:9px!important;line-height:1!important;color:#20252b!important;font-weight:700}

/* Temporary UI polish for palette, rooms, and color swatches */
.scv.scv-ajax .scv-palettes-swiper{padding:0!important}
.scv-palette-prev{left:0}.scv-palette-next{right:0}
.scv.scv-ajax .scv-room-swiper,.scv.scv-ajax .scv-palettes-swiper{overflow:hidden!important}
.scv.scv-ajax .scv-palettes{overflow-x:auto!important;overflow-y:hidden!important;margin-left:0!important;margin-right:0!important;padding:0 44px 3px 0;scrollbar-width:none}
.scv.scv-ajax .scv-palettes::-webkit-scrollbar{display:none}
.scv.scv-ajax .scv-room-swiper{padding:0 3px 2px;margin:0 -3px;width:calc(100% + 6px)}
.scv.scv-ajax .scv-room-picker{overflow-x:auto!important;overflow-y:hidden!important;padding:2px 44px 6px 2px;scrollbar-width:none}
.scv.scv-ajax .scv-room-picker::-webkit-scrollbar{display:none}
.scv.scv-ajax .scv-room-swiper.swiper-initialized .scv-room-picker,.scv.scv-ajax .scv-palettes-swiper.swiper-initialized .scv-palettes{overflow:visible!important;padding-right:0!important}
.scv.scv-ajax .scv-room-swiper.swiper-initialized .scv-room-picker{padding-bottom:6px}
.scv.scv-ajax .scv-room-swiper.swiper-grabbing,.scv.scv-ajax .scv-palettes-swiper.swiper-grabbing{cursor:grabbing}
.scv.scv-ajax .scv-room-card{box-sizing:border-box}
.scv.scv-ajax .scv-colors{gap:8px 10px}
.scv.scv-ajax .scv-color{padding:0;border:0;border-radius:18px;gap:0;background:transparent;overflow:visible}
.scv.scv-ajax .scv-color>span{aspect-ratio:1/1!important;border:0;border-radius:14px;display:flex;align-items:center;justify-content:center;width:88%;min-height:0;margin:0 auto}
.scv.scv-ajax .scv-color>span>i{font-style:normal;font-size:11px;font-weight:800;line-height:1;text-align:center;letter-spacing:0;text-shadow:0 1px 10px rgba(0,0,0,.16)}
.scv.scv-ajax .scv-color>b,.scv.scv-ajax .scv-color>small{display:none}
.scv.scv-ajax .scv-color.active{border:0!important;box-shadow:none!important;outline:0!important}
.scv.scv-ajax .scv-color.active>span{box-shadow:0 0 0 2px var(--scv-accent)}

/* Palette hero */
.scv.scv-ajax .scv-head{grid-template-columns:minmax(240px,.78fr) minmax(300px,1fr) minmax(260px,.85fr);gap:28px;padding:20px 24px}
.scv.scv-ajax .scv-head h1{font-size:20px;font-weight:300;line-height:1.25;letter-spacing:0;color:#202124}
.scv-head-save{display:flex;align-items:center;gap:12px;min-width:0}
.scv-head-save>span{width:38px;height:38px;border-radius:9px;background:#cfd0d2;color:#fff;display:flex;align-items:center;justify-content:center;font-size:17px;line-height:1;box-shadow:0 10px 20px rgba(20,28,40,.08)}
.scv.scv-ajax .scv-head-save>p{margin:0;max-width:310px;font-size:13px;line-height:1.45;color:#20252b}
.scv-head-colors{display:flex;align-items:center;justify-content:flex-end;min-width:0;transform-style:preserve-3d;transform:perspective(1000px)}
.scv-head-swatch{position:relative;flex:0 0 auto;width:32px;height:40px;border:0;outline:0;background:transparent;cursor:pointer;transition:500ms cubic-bezier(.175,.885,.32,1.1)}
.scv-head-swatch:after{content:"";position:absolute;inset:0;width:40px;height:40px;background:var(--color);border-radius:8px;transform:scale(1.2);pointer-events:none;box-shadow:0 8px 18px rgba(20,28,40,.16);transition:500ms cubic-bezier(.175,.885,.32,1.1)}
.scv-head-swatch:before{content:attr(data-color-label);position:absolute;left:65%;bottom:52px;z-index:3;transform:translateX(-50%);padding:2px 6px;border-radius:6px;background:#fff;color:#20252b;font-size:8px;line-height:12px;white-space:nowrap;box-shadow:0 8px 20px rgba(20,28,40,.12);opacity:0;visibility:hidden;pointer-events:none;transition:500ms cubic-bezier(.175,.885,.32,1.1)}
.scv-head-swatch:hover{transform:scale(1.5);z-index:30}
.scv-head-swatch:hover:before{opacity:1;visibility:visible}
.scv-head-swatch:active:after{transform:scale(1.1)}
.scv-head-swatch.active:after{box-shadow:0 0 0 2px var(--scv-accent),0 8px 18px rgba(20,28,40,.16)}
.scv-head-swatch:hover+*{transform:scale(1.3);z-index:20}
.scv-head-swatch:hover+*+*{transform:scale(1.15);z-index:10}
.scv-head-swatch:has(+ *:hover){transform:scale(1.3);z-index:20}
.scv-head-swatch:has(+ * + *:hover){transform:scale(1.15);z-index:10}
@media(max-width:900px){.scv.scv-ajax .scv-head{grid-template-columns:1fr;gap:16px}.scv-head-colors{justify-content:flex-start;flex-wrap:wrap}}

/* Palette cards and compact shade chips */
.scv.scv-ajax .scv-palettes-wrap{margin:0 0 16px}
.scv.scv-ajax .scv-palettes{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important;overflow:visible!important;margin:0!important;padding:0!important;cursor:default!important;scroll-snap-type:none!important}
.scv.scv-ajax .scv-palettes button{position:relative;display:flex!important;flex-direction:column;align-items:stretch;justify-content:flex-start;width:auto!important;height:auto!important;min-height:68px!important;padding:9px!important;border:1px solid #e5eaf0!important;border-radius:13px!important;background:#fff!important;color:#20252b!important;line-height:1.15!important;text-align:left;box-shadow:none;scroll-snap-align:none;transition:border-color .18s ease,box-shadow .18s ease}
.scv.scv-ajax .scv-palettes button:hover{border-color:#cfd7e2!important}
.scv.scv-ajax .scv-palettes button.active{border-color:var(--scv-accent)!important;box-shadow:0 0 0 1px var(--scv-accent)!important}
.scv-palette-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:4px}
.scv-palette-card-head>b{font-size:12px;font-weight:800;color:#20252b}
.scv-palette-card-head>i{display:none}
.scv.scv-ajax .scv-palettes button[data-palette="favorites"] .scv-palette-card-head>i{border:0}
.scv.scv-ajax .scv-palettes button[data-palette="favorites"] .scv-palette-card-head>i:before{content:"♡";font-size:15px}
.scv.scv-ajax .scv-palettes button.active .scv-palette-card-head>i{border-color:var(--scv-accent);background:var(--scv-accent);color:#fff}
.scv.scv-ajax .scv-palettes button.active .scv-palette-card-head>i:before{content:"✓";font-weight:900}
.scv.scv-ajax .scv-palettes button>small{display:block!important;margin-bottom:8px;font-size:10px;line-height:1.2;color:#7b8490;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.scv-palette-strip{display:grid;grid-template-columns:repeat(14,minmax(0,1fr));height:10px;margin-top:auto;overflow:hidden;border-radius:6px;background:#edf1f5}
.scv-palette-strip>em{display:block;min-width:0}
.scv.scv-ajax .scv-colors{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:9px 10px;padding-top:8px!important}
.scv.scv-ajax .scv-color{position:relative;border-radius:7px}
.scv.scv-ajax .scv-color:before{display:none}
.scv.scv-ajax .scv-color>span{width:100%;height:auto;aspect-ratio:1/1!important;border-radius:7px;margin:0;box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)}
.scv.scv-ajax .scv-color>span>i{display:block;font-size:9px;font-weight:900;line-height:1.1;text-align:center;text-shadow:0 1px 9px rgba(0,0,0,.14)}
.scv.scv-ajax .scv-color.active>span{box-shadow:none!important}
.scv.scv-ajax .scv-color.active:after{content:"✓";position:absolute;top:6px;right:6px;z-index:3;width:18px;height:18px;display:flex;align-items:center;justify-content:center;border:2px solid rgba(255,255,255,.95);border-radius:50%;background:var(--scv-accent);color:#fff;font-size:11px;font-weight:900;line-height:1;box-shadow:0 6px 14px rgba(20,28,40,.2)}
@media(max-width:1180px){.scv.scv-ajax .scv-colors{grid-template-columns:repeat(5,minmax(0,1fr))!important}}
@media(max-width:560px){.scv.scv-ajax .scv-palettes{grid-template-columns:1fr}.scv.scv-ajax .scv-colors{grid-template-columns:repeat(4,minmax(0,1fr))!important}}

/* Room picker cards */
.scv.scv-ajax .scv-room-picker-wrap{margin-bottom:18px}
.scv.scv-ajax .scv-room-picker-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 10px}
.scv.scv-ajax .scv-room-picker-title>span{font-size:14px;font-weight:900;color:#20252b}
.scv.scv-ajax .scv-room-picker-title>a{font-size:10px;font-weight:700;color:#9aa3af;text-decoration:none;white-space:nowrap}
.scv.scv-ajax .scv-room-swiper{padding:0 2px 8px;margin:0 -2px;width:calc(100% + 4px)}
.scv.scv-ajax .scv-room-picker{gap:10px!important;padding:2px 44px 8px 2px}
.scv.scv-ajax .scv-room-swiper.swiper-initialized .scv-room-picker{padding-bottom:8px}
.scv.scv-ajax .scv-room-card{position:relative;flex-basis:142px!important;padding:5px!important;border:1px solid #e6ebf1!important;border-radius:14px!important;background:#fff!important;overflow:hidden;box-shadow:0 8px 22px rgba(20,28,40,.06);transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}
.scv.scv-ajax .scv-room-card:hover{transform:translateY(-1px);box-shadow:0 12px 28px rgba(20,28,40,.1)}
.scv.scv-ajax .scv-room-card.is-active{border-color:var(--scv-accent)!important;box-shadow:0 12px 30px rgba(255,70,88,.22)!important}
.scv.scv-ajax .scv-room-card.is-active:after{content:"✓";top:8px;right:8px;width:22px;height:22px;border:2px solid #fff;background:var(--scv-accent);color:#fff;font-size:13px;box-shadow:0 8px 18px rgba(255,70,88,.28)}
.scv.scv-ajax .scv-room-card-img{height:92px!important;margin:0!important;border-radius:10px!important;background:#edf1f5}
.scv.scv-ajax .scv-room-card-img img{width:100%;height:100%;object-fit:cover}
.scv.scv-ajax .scv-room-card-name{position:absolute;left:50%;bottom:10px;transform:translateX(-50%);max-width:calc(100% - 26px);padding:4px 13px;border-radius:999px;background:#fff;color:#20252b;text-align:center;font-size:10px!important;font-weight:900;line-height:1;box-shadow:0 5px 14px rgba(20,28,40,.16)}

/* Separate room and palette blocks with drill-down palette view */
.scv.scv-ajax .scv-panel{background:transparent!important;box-shadow:none!important;border-radius:0!important;padding:0!important;gap:14px}
.scv.scv-ajax .scv-room-picker-wrap,.scv-palette-block{background:#fff;border-radius:18px;padding:14px;border:1px solid #edf1f5;box-shadow:0 14px 38px rgba(20,28,40,.06)}
.scv.scv-ajax .scv-room-picker-wrap{margin-bottom:0}
.scv-palette-block{min-height:0;overflow:hidden}
.scv-palette-detail{display:none;animation:scvPaletteIn .28s ease both}
.scv-palette-open .scv-palettes-wrap,.scv-palette-open .scv-filter-title,.scv-palette-open .scv-search-wrap{display:none!important}
.scv-palette-open .scv-palette-detail{display:block}
.scv-searching .scv-search-wrap{display:block!important}
.scv-searching .scv-filter-title,.scv-searching .scv-palettes-wrap,.scv-searching .scv-palette-detail-head,.scv-searching .scv-palette-detail-strip{display:none!important}
.scv-palette-detail-head{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;margin:0 0 12px}
.scv-palette-back{height:28px;border:0;background:transparent;color:#7b8490;display:inline-flex;align-items:center;gap:6px;padding:0;font-size:11px;font-weight:700;cursor:pointer;white-space:nowrap}
.scv-palette-back:first-letter{font-size:20px;line-height:1}
.scv-palette-detail-title{display:flex;align-items:baseline;justify-content:center;gap:0;min-width:0}
.scv-palette-title-gap .scv-palette-detail-title{gap:6px}
.scv-palette-detail-title>b{font-size:15px;font-weight:900;color:#20252b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.scv-palette-detail-title>small{font-size:10px;font-weight:700;color:#8a93a0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.scv-palette-fav{width:28px;height:28px;border:0;background:transparent;color:#1f2933;font-size:22px;line-height:1;cursor:pointer}
.scv-palette-detail-strip{display:grid;grid-template-columns:repeat(14,minmax(0,1fr));height:28px;margin:0 0 14px;overflow:hidden;border-radius:7px;background:#edf1f5}
.scv-palette-detail-strip>em{display:block}
.scv-palette-open .scv-colors-head{margin-top:0}
.scv-palette-open .scv-colors{animation:scvPaletteColorsIn .24s ease both}
@keyframes scvPaletteIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@keyframes scvPaletteColorsIn{from{opacity:0}to{opacity:1}}
.scv.scv-ajax .scv-palettes button.active{border-color:#e5eaf0!important;box-shadow:none!important}
.scv.scv-ajax .scv-palettes button.active .scv-palette-card-head>i{border-color:#d8dee7;background:transparent;color:#a6afba}
.scv.scv-ajax .scv-palettes button.active .scv-palette-card-head>i:before{content:""}

/* Paged shade gallery */
.scv-colors-shell{position:relative;padding-right:40px}
.scv-colors-viewport{position:relative;height:348px;overflow:hidden;border-radius:14px}
.scv.scv-ajax .scv-colors{max-height:none!important;overflow:visible!important;padding:0!important;transition:transform .38s cubic-bezier(.22,1,.36,1);will-change:transform}
.scv.scv-ajax .scv-color{border-radius:13px}
.scv.scv-ajax .scv-color>span{border-radius:13px}
.scv-colors-nav{position:absolute;right:12px;top:50%;z-index:8;display:grid;gap:7px;transform:translateY(-50%);padding:5px;border:1px solid #e4e9ef;border-radius:999px;background:#fff;box-shadow:0 10px 24px rgba(20,28,40,.12)}
.scv-colors-nav button{width:28px;height:28px;position:relative;display:flex;align-items:center;justify-content:center;border:0;border-radius:50%;background:#f5f7f9;color:transparent;font-size:0!important;font-weight:900;line-height:1;cursor:pointer;transition:background .16s ease,opacity .16s ease,transform .16s ease}
.scv-colors-nav button:before{display:block;color:#000;font-size:14px;line-height:1}
.scv-colors-page-prev:before{content:"⌃";transform:translateY(2px)}
.scv-colors-page-next:before{content:"⌄";transform:translateY(-4px)}
.scv-colors-nav button:hover:not(:disabled){background:#eef2f6;transform:translateY(-1px)}
.scv-colors-nav button:disabled{opacity:.35;cursor:default}
.scv-colors-overlay{position:absolute;inset:0;z-index:6;display:flex;align-items:center;justify-content:center;border-radius:14px;background:rgba(255,255,255,.72);color:#20252b;font-size:13px;font-weight:800;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .18s ease,visibility .18s ease;backdrop-filter:blur(2px)}
.scv-colors-waiting .scv-colors-overlay{opacity:1;visibility:visible}
.scv-palette-open .scv-load-more{display:none!important}
@media(max-width:560px){.scv-colors-shell{padding-right:36px}.scv-colors-viewport{height:244px}.scv-colors-nav button{width:26px;height:26px}}

/* Paged shade gallery in the regular palette panel */
.scv.scv-ajax .scv-palette-block .scv-colors-shell{padding-right:0}
.scv.scv-ajax .scv-palette-block .scv-colors{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:8px 10px}
.scv.scv-ajax .scv-palette-block .scv-color>span{width:100%!important;margin:0!important}
.scv.scv-ajax .scv-palette-block .scv-colors-nav{right:12px;top:50%;transform:translateY(-50%)}
.scv.scv-ajax .scv-palette-block .scv-colors:empty{background:transparent!important;border-color:transparent!important}

/* Immersive palette preview mode */
.scv-preview-enter{grid-column:3;justify-self:end;align-self:end;display:inline-flex;align-items:center;gap:9px;height:38px;padding:0 14px;border:1px solid #e3e8ef;border-radius:999px;background:#fff;color:#20252b;font-size:12px;font-weight:800;line-height:1;cursor:pointer;box-shadow:0 10px 24px rgba(20,28,40,.08);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.scv-preview-enter:hover{transform:translateY(-1px);border-color:#cfd7e2;box-shadow:0 14px 30px rgba(20,28,40,.12)}
.scv-preview-enter i{position:relative;width:15px;height:15px;display:block}
.scv-preview-enter i:before,.scv-preview-enter i:after{content:"";position:absolute;inset:0;border:2px solid currentColor;border-radius:4px}
.scv-preview-enter i:before{clip-path:polygon(0 0,58% 0,58% 20%,20% 20%,20% 58%,0 58%)}
.scv-preview-enter i:after{clip-path:polygon(42% 80%,80% 80%,80% 42%,100% 42%,100% 100%,42% 100%)}
body.palette-preview-active{overflow:hidden}
body.palette-preview-active :is(#wpadminbar,header,.header,.site-header,#masthead,.elementor-location-header,footer,.footer,.site-footer,#colophon,.elementor-location-footer,.breadcrumbs,.woocommerce-breadcrumb,.rank-math-breadcrumb,.palette-intro){opacity:0!important;visibility:hidden!important;pointer-events:none!important;transition:opacity .28s ease,visibility .28s ease}
.k30-palette-preview-mode{position:fixed;inset:0;z-index:2147483000;width:100vw;height:100dvh;overflow:hidden;background:#f3f4f5;opacity:0;transform:scale(.985);transition:opacity .35s ease,transform .35s ease}
.k30-palette-preview-mode.is-visible{opacity:1;transform:scale(1)}
.k30-preview-scene{position:absolute;inset:0;z-index:1;background:#edf0f3}
.k30-preview-scene .scv-room{width:100%!important;height:100%!important;aspect-ratio:auto!important;border-radius:0!important}
.k30-preview-scene .scv-base,.k30-preview-scene .scv-overlay,.k30-preview-scene .scv-wall{width:100%;height:100%;object-fit:cover}
.k30-preview-panel{position:absolute;right:48px;top:120px;z-index:6;width:460px;max-height:calc(100dvh - 160px);overflow:auto;background:rgba(255,255,255,.78);border:1px solid rgba(255,255,255,.42);border-radius:28px;box-shadow:0 24px 80px rgba(0,0,0,.18);backdrop-filter:blur(18px);transform:translateX(24px);opacity:0;transition:opacity .35s ease,transform .35s ease}
.k30-palette-preview-mode.is-visible .k30-preview-panel{transform:translateX(0);opacity:1}
.k30-preview-panel-head{position:sticky;top:0;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 14px 12px;border-bottom:0;background:rgba(255,255,255,0);border-radius:28px 28px 0 0;backdrop-filter:none}
.k30-preview-logo{font-size:15px;font-weight:900;color:#20252b;white-space:nowrap}
.k30-preview-exit{height:34px;padding:0 12px;border:1px solid #e1e7ee;border-radius:999px;background:#fff;color:#20252b;font-size:11px;font-weight:800;cursor:pointer;white-space:nowrap;transition:background .18s ease,border-color .18s ease,transform .18s ease}
.k30-preview-exit:hover{background:#f6f8fa;border-color:#cfd7e2;transform:translateY(-1px)}
.k30-preview-panel .scv-palette-block{border:0;border-radius:0 0 28px 28px;box-shadow:none;background:transparent;padding:14px;overflow:visible}
.k30-preview-panel .scv-palette-detail{min-height:0}
.k30-preview-panel .scv-colors-head{position:relative;padding-right:0}
.k30-preview-panel .scv-colors-shell{padding-right:0}
.k30-preview-panel .scv-colors-nav{top:50%;right:12px;display:grid;gap:7px;padding:5px;transform:translateY(-50%)}
.k30-preview-panel .scv-colors-nav button{width:30px;height:30px;font-size:0!important}
.k30-preview-panel .scv-colors-viewport{height:auto;min-height:0}
.k30-preview-panel .scv.scv-ajax .scv-colors,.k30-preview-panel .scv-colors{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:8px 10px}
.k30-preview-panel .scv-color>span{width:100%!important;margin:0!important}
.k30-preview-panel .scv-colors:empty{background:transparent!important;border-color:transparent!important}
.k30-preview-room-switcher{display:none}
.k30-palette-preview-mode.is-visible .k30-preview-room-switcher{transform:translateY(0);opacity:1}
.k30-preview-room-switcher:empty{display:none}
.k30-preview-room-switcher .scv-room-picker-wrap{margin:0!important;padding:0!important;border:0;box-shadow:none;background:transparent}
.k30-preview-room-switcher .scv-room-picker-title{margin:0 0 8px}
.k30-preview-room-switcher .scv-room-picker-title>span{font-size:12px}
.k30-preview-room-switcher .scv-room-picker-title>a{display:none}
.k30-preview-room-switcher .scv-room-card{flex-basis:118px!important;border-radius:13px!important;box-shadow:none!important}
.k30-preview-room-switcher .scv-room-card-img{height:68px!important;border-radius:9px!important}
.k30-preview-room-switcher .scv-room-card-name{bottom:8px;font-size:9px!important}
.k30-preview-room-switcher .scv-room-swiper{padding-bottom:0}
.k30-preview-room-switcher .scv-room-picker{padding-bottom:2px!important}
.k30-preview-current-color{position:absolute;left:48px;bottom:48px;z-index:7;max-width:min(420px,calc(100vw - 600px));transform:translateY(18px);opacity:0;transition:opacity .35s ease,transform .35s ease}
.k30-palette-preview-mode.is-visible .k30-preview-current-color{transform:translateY(0);opacity:1}
.k30-preview-current-color .scv-current{position:static!important;margin:0!important;max-width:100%!important}
.scv-preview-active>.scv-head,.scv-preview-active .scv-tint-products-separate{opacity:0;visibility:hidden;pointer-events:none}
@media(max-width:900px){
  .scv-preview-enter{grid-column:1;justify-self:start}
  .k30-palette-preview-mode{overflow:auto}
  .k30-preview-scene{position:relative;height:48vh;min-height:320px}
  .k30-preview-panel,.k30-preview-room-switcher,.k30-preview-current-color{position:relative;left:auto;right:auto;top:auto;bottom:auto;width:auto;max-width:none;margin:10px;max-height:none}
  .k30-preview-panel .scv-colors-viewport{height:360px!important;min-height:0}
}
