:root { --radius-sm: 5px; --card-w: 142px; --card-h: 138px; --card-gap: 7px; } * { margin: 0; padding: 0; box-sizing: border-box; font-family: var(--font, "Sora", sans-serif); user-select: none; } html, body { width: 100%; height: 100%; overflow: hidden; background: transparent; } #scale { position: absolute; width: 1920px; height: 1080px; top: 0; left: 0; display: none; transform-origin: top left; overflow: hidden; } #scale.open { display: block; } #stage { position: absolute; width: 1920px; height: 1080px; top: 0; left: 0; color: var(--white, #fff); } /* ---- Vignette ---- */ .vignette { position: absolute; left: 0; right: 0; bottom: 0; height: 58%; pointer-events: none; z-index: 0; background: linear-gradient(to top, #101010 0%, rgba(16, 16, 16, 0) 100%); } /* ---- Close cluster ---- */ .close-cluster { position: absolute; top: 46px; right: 68px; display: flex; align-items: center; gap: 10px; z-index: 20; } .close-label { font-size: 12px; font-weight: 600; color: #dfdfdf; letter-spacing: 0.02em; } .btn-close-x { width: 30px; height: 30px; border-radius: 3px; border: 0.5px solid rgba(223, 223, 223, 0.5); background: rgba(255, 255, 255, 0.15); color: #fff; font-size: 16px; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.15s; } .btn-close-x:hover { background: rgba(255, 255, 255, 0.28); } .btn-eye { width: 30px; height: 30px; padding: 0; border: none; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; } .btn-eye img { width: 30px; height: 30px; display: block; } .btn-eye:hover { opacity: 0.85; } /* ---- Action block ---- */ .action-block { position: absolute; left: 69px; top: 656px; z-index: 10; display: flex; flex-direction: column; align-items: flex-start; } .action-label { font-size: 15px; font-weight: 400; color: var(--accent, #ff0040); line-height: 1; } .action-dash { margin-top: 8px; width: 19px; height: 2px; border-radius: 5px; background: var(--accent, #ff0040); box-shadow: 0 0 4px 1px rgba(255, 0, 64, 0.7); } .action-price { margin-top: 12px; font-size: 25px; font-weight: 600; color: #fff; line-height: 1; } .btn-install { margin-top: 24px; width: 249px; height: 49px; border: none; border-radius: 5px; background: var(--accent, #ff0040); box-shadow: 0 0 4px 2px rgba(255, 0, 64, 0.5); color: #fff; font-size: 15px; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; transition: opacity 0.15s, filter 0.15s; } .btn-install img { width: 13px; height: 11px; display: block; } .btn-install:hover:not(.is-disabled) { filter: brightness(1.08); } .btn-install.is-disabled { opacity: 0.4; cursor: not-allowed; box-shadow: none; } /* ---- Carousel ---- */ .carousel { position: absolute; left: 24px; top: 823px; width: 1872px; height: 160px; z-index: 10; display: flex; align-items: flex-start; gap: 8px; } .carousel:not(.show) { visibility: hidden; pointer-events: none; } .car-arrow { flex: 0 0 40px; width: 40px; height: 40px; margin-top: 49px; border: none; padding: 0; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; } .car-arrow img { width: 40px; height: 40px; display: block; } .car-arrow.hide { visibility: hidden; pointer-events: none; } .car-scroll { flex: 1 1 auto; min-width: 0; height: 160px; padding-bottom: 22px; box-sizing: border-box; display: flex; align-items: flex-start; justify-content: flex-start; gap: var(--card-gap); overflow-x: auto; overflow-y: hidden; scroll-behavior: smooth; scrollbar-width: none; } .car-scroll::-webkit-scrollbar { display: none; } /* Cards — Figma 778:1493 */ .card { position: relative; flex: 0 0 var(--card-w); width: var(--card-w); height: var(--card-h); border-radius: 5px; background: rgba(16, 16, 16, 0.35); border: 1px solid rgba(255, 255, 255, 0.1); cursor: pointer; overflow: visible; transition: border-color 0.15s, background 0.15s; } .card:hover:not(.is-disabled):not(.active) { border-color: rgba(255, 255, 255, 0.15); } .card.is-focus:not(.active) { border-color: rgba(255, 255, 255, 0.35); } .card.has-applied { z-index: 4; } .card.active { border-color: var(--accent, #ff0040); z-index: 5; } .card.is-disabled { opacity: 0.55; cursor: default; } .card-title { position: absolute; top: 10px; left: 10px; right: 10px; font-size: 12px; font-weight: 600; letter-spacing: 0.6px; color: #909090; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-transform: uppercase; line-height: 1.2; text-align: center; } .card.active .card-title { color: #fff; } .card-body { position: absolute; left: 0; right: 0; top: 36px; bottom: 36px; display: flex; align-items: center; justify-content: center; } .card-swatch { width: 65px; height: 65px; border-radius: 5px; border: 1px solid rgba(255, 255, 255, 0.15); } .card-x { font-size: 35px; font-weight: 400; color: #fff; line-height: 1; } .card-msg { padding: 0 12px; text-align: center; font-size: 12px; font-weight: 600; color: #909090; letter-spacing: 0.4px; } .card-badge { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); min-width: 87px; height: 21px; padding: 0 10px; border-radius: 3px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; letter-spacing: 0.55px; white-space: nowrap; } .card-badge.is-applied { bottom: -11px; min-width: 92px; height: 22px; padding: 0 14px; border-radius: 4px; background: var(--accent, #ff0040); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 0.02em; line-height: 1; transform: translateX(-50%) skewX(-14deg); box-shadow: 0 0 10px 2px rgba(255, 0, 64, 0.75); z-index: 6; } .card-badge.is-applied span { display: flex; align-items: center; justify-content: center; height: 100%; transform: skewX(14deg); } .card-badge.is-price { background: rgba(255, 255, 255, 0.12); color: #909090; } /* ---- Tab bar ---- */ .tab-bar { position: absolute; left: 0; top: 993px; width: 1920px; height: 87px; z-index: 12; display: flex; align-items: flex-start; padding-left: 68px; } .tab-bar-line { position: absolute; left: 0; top: 0; width: 1920px; height: 2px; border-radius: 5px; background: rgba(255, 255, 255, 0.15); } .tab-item { position: relative; width: 194px; height: 60px; margin-right: 31px; border: none; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; padding-top: 18px; } .tab-item::after { content: ""; position: absolute; right: -16px; top: 36px; width: 1px; height: 17px; background: rgba(255, 255, 255, 0.15); border-radius: 5px; } .tab-item:last-child::after { display: none; } .tab-underline { position: absolute; left: 0; top: 0; width: 194px; height: 2px; border-radius: 5px; background: transparent; } .tab-glow { position: absolute; left: 0; top: 1px; width: 194px; height: 75px; background: transparent; pointer-events: none; } .tab-item.active .tab-underline { background: var(--accent, #ff0040); box-shadow: 0 0 4px 2px rgba(255, 0, 64, 0.25); } .tab-item.active .tab-glow { background: linear-gradient(to bottom, rgba(255, 0, 64, 0.25), rgba(16, 16, 16, 0)); } .tab-icon { width: 20px; height: 20px; object-fit: contain; opacity: 0.55; flex-shrink: 0; } .tab-item.active .tab-icon { opacity: 1; } .tab-text { font-size: 15px; font-weight: 600; color: #909090; letter-spacing: 0.02em; } .tab-item.active .tab-text { color: #dfdfdf; } /* ---- Hints ---- */ .hints { position: absolute; right: 70px; top: 1018px; z-index: 14; display: flex; align-items: center; gap: 28px; pointer-events: none; } .hint-select, .hint-back { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; color: #dfdfdf; } .hint-box { display: inline-flex; align-items: center; justify-content: center; height: 25px; min-width: 40px; padding: 0 8px; border-radius: 3px; border: 0.5px solid rgba(223, 223, 223, 0.5); background: rgba(255, 255, 255, 0.05); font-size: 12px; font-weight: 600; color: #dfdfdf; } .hint-box.wide { min-width: 88px; } .hint-box--icon { width: 29px; min-width: 29px; padding: 0; } .hint-box--icon img { width: 17px; height: 17px; display: block; } /* ---- Paint panel (Figma 778:1836) ---- */ .paint-panel { position: absolute; left: 1471px; top: 111px; width: 381px; height: 497px; z-index: 30; border-radius: 10px; background: var(--panel-9); box-shadow: 0 0 0 1px var(--white-5); padding: 15px 13px 16px; display: flex; flex-direction: column; box-sizing: border-box; } .paint-panel[hidden] { display: none !important; } .paint-title-row { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; flex-shrink: 0; } .paint-title-bar { width: 2px; height: 15px; border-radius: 5px; background: var(--accent); box-shadow: 0 0 4px 2px var(--accent); flex-shrink: 0; } .paint-title { margin: 0; font-size: 12px; font-weight: 600; color: var(--text-1); text-transform: uppercase; letter-spacing: 0; line-height: normal; } .paint-types { display: flex; gap: 5px; margin-bottom: 10px; flex-shrink: 0; } .paint-type { flex: 0 0 85px; width: 85px; height: 35px; border-radius: 3px; border: none; outline: none; background: var(--white-3); box-shadow: 0 0 0 1px var(--white-3); color: var(--text-3); font-size: 10px; font-weight: 700; letter-spacing: 0.02em; cursor: pointer; text-transform: uppercase; font-family: inherit; padding: 0; } .paint-type.active { background: var(--accent); box-shadow: 0 0 0 1px var(--white-5); color: var(--text-1); } .paint-divider { height: 2px; width: 100%; max-width: 355px; border-radius: 5px; background: var(--white-3); margin: 0 0 10px; flex-shrink: 0; } .paint-picker-row { display: flex; gap: 10px; align-items: flex-start; height: 175px; margin-bottom: 10px; flex-shrink: 0; } .paint-sv { position: relative; width: 220px; height: 175px; border-radius: 5px; cursor: crosshair; flex-shrink: 0; touch-action: none; user-select: none; background: linear-gradient(to top, var(--black), transparent), linear-gradient(to right, var(--white), var(--hue-color, var(--accent))); } .paint-hue { position: relative; width: 30px; height: 175px; border-radius: 5px; cursor: crosshair; flex-shrink: 0; touch-action: none; user-select: none; background: linear-gradient( to bottom, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100% ); } .paint-sv .knob, .paint-hue .knob { position: absolute; width: 12px; height: 12px; border-radius: 50%; box-shadow: 0 0 0 2px var(--white), 0 0 3px var(--black-8); transform: translate(-50%, -50%); pointer-events: none; } .paint-inputs { display: flex; flex-direction: column; gap: 5px; width: 88px; padding-top: 20px; flex-shrink: 0; } .paint-input { position: relative; display: flex; height: 30px; border-radius: 5px; background: var(--white-3); box-shadow: 0 0 0 1px var(--white-3); overflow: hidden; } .paint-input-tag { width: 26px; height: 30px; display: flex; align-items: center; justify-content: center; background: var(--accent); box-shadow: 1px 0 0 0 var(--white-3); font-size: 11px; font-weight: 700; color: var(--text-1); flex-shrink: 0; } .paint-input input { flex: 1; width: 0; border: none; outline: none; background: transparent; color: var(--text-1); font-size: 11px; font-weight: 400; text-align: center; font-family: inherit; } .paint-input input::-webkit-outer-spin-button, .paint-input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; } .paint-input input[type="number"] { -moz-appearance: textfield; appearance: textfield; } .paint-section-label { font-size: 10px; font-weight: 600; color: var(--text-1); margin-bottom: 8px; text-transform: uppercase; flex-shrink: 0; } .paint-presets { display: grid; grid-template-columns: repeat(9, 35px); gap: 5px; margin-bottom: 10px; flex-shrink: 0; } .paint-swatch { width: 35px; height: 35px; border-radius: 5px; border: none; outline: none; cursor: pointer; padding: 0; } .paint-swatch:hover { box-shadow: 0 0 0 1px var(--white-7); } .paint-recent { display: flex; gap: 5px; flex-shrink: 0; } .paint-recent-slot { width: 35px; height: 35px; border-radius: 5px; border: none; outline: none; background: transparent; cursor: pointer; padding: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; } .paint-recent-slot img { width: 35px; height: 35px; display: block; pointer-events: none; } .paint-recent-slot.has-color { box-shadow: none; } .paint-recent-slot.is-empty { cursor: default; }