/* Dział Kolory — style ograniczone do nowych widoków i ich podglądu. */
/* Clip nie tworzy kontenera przewijania blokującego podgląd sticky. */
html:has(main.vv-colors), body:has(main.vv-colors) { overflow-x: clip; }
.vv-colors { --vv-gold: #e5c982; --vv-muted: #b5b8bb; padding-bottom: 60px; }
.vv-colors [hidden] { display: none !important; }
.vv-colors button, .vv-colors input { font: inherit; }
.vv-colors button { cursor: pointer; }
.vv-colors a:focus-visible, .vv-colors button:focus-visible, .vv-colors input:focus-visible { outline: 3px solid var(--vv-gold); outline-offset: 5px; }
.vv-colors .vv-wrap { width: min(1180px, 88%); margin-inline: auto; }
.vv-colors .vv-intro { padding-top: 48px; padding-bottom: 30px; }
.vv-crumbs { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; font-size: 12px; text-transform: none; font-weight: 500; color: #aeb1b4; margin-bottom: 26px; }
.vv-crumbs a:hover { color: var(--vv-gold, #e5c982); }
.vv-crumbs span[aria-hidden] { color: #62666b; }
.vv-colors .vv-intro h1 { font: 600 clamp(32px, 4.5vw, 56px)/1.14 'Sora', Arial, sans-serif; text-transform: none; letter-spacing: -.045em; max-width: 890px; margin: 10px 0 18px; }
.vv-colors .vv-intro h1 span { color: var(--vv-gold); }
.vv-colors .vv-intro .lead { max-width: 750px; font-size: 16px; line-height: 1.75; color: #bfc2c5; margin: 0; }
.vv-category-nav { display: flex; gap: 10px; margin-top: 24px; }
.vv-category-nav a { padding: 10px 18px; font-size: 13px; border: 1px solid #34373a; border-radius: 99px; color: #c4c7c9; }
.vv-category-nav a[aria-current] { background: #e5c982; color: #191713; border-color: #e5c982; font-weight: 700; }
.vv-category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; margin-top: 10px; }
.vv-category-card { border: 1px solid #34373a; border-radius: 20px; overflow: hidden; background: #0e1012; transition: border-color .2s, transform .2s; }
.vv-category-card:hover, .vv-profile-card:hover { border-color: #b89551; transform: translateY(-3px); }
.vv-category-image { background: #fff; height: 290px; position: relative; overflow: hidden; }
.vv-category-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vv-category-image.vv-window-image img { inset: 20px; width: calc(100% - 40px); height: calc(100% - 40px); object-fit: contain; }
.vv-category-copy { padding: 28px; }
.vv-category-copy h2 { font: 600 28px/1.2 'Sora', sans-serif; text-transform: none; margin: 0 0 12px; letter-spacing: -.03em; }
.vv-category-copy p { font-size: 14px; color: #b6b9bc; line-height: 1.7; margin-bottom: 22px; }
.vv-link-arrow { color: #e5c982; font-weight: 600; font-size: 14px; display: flex; justify-content: space-between; gap: 20px; }
.vv-profile-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 6px; }
.vv-profile-card { display: block; border: 1px solid #333639; border-radius: 18px; overflow: hidden; background: #0d0f11; transition: transform .2s, border-color .2s; }
.vv-profile-photo { height: 265px; background: #fff; position: relative; overflow: hidden; }
.vv-profile-photo > img { display: block; position: absolute; inset: 22px; width: calc(100% - 44px); height: calc(100% - 44px); object-fit: contain; }
.vv-profile-copy { padding: 23px; }
.vv-profile-logo { background: #fff; border-radius: 6px; padding: 6px 10px; width: 106px; height: 36px; object-fit: contain; margin-bottom: 17px; }
.vv-profile-copy h2 { font: 600 25px/1.25 'Sora', sans-serif; margin: 0 0 8px; text-transform: none; letter-spacing: -.035em; }
.vv-profile-copy p { color: #aeb2b5; font-size: 13px; line-height: 1.65; margin: 0 0 23px; }
.vv-profile-copy .vv-link-arrow { border-top: 1px solid #292d30; padding-top: 18px; }
.vv-configurator { margin-top: 3px; }
.vv-preview { display: grid; grid-template-columns: minmax(0, 1fr) 310px; border: 1px solid #343638; border-radius: 18px; overflow: hidden; min-height: 425px; background: #0e1012; position: sticky; top: var(--vv-sticky-top, 106px); z-index: 3; box-shadow: 0 14px 28px #0004; }
.vv-photo-stage { display: grid; place-items: center; padding: 24px; background: #fff; position: relative; min-width: 0; }
.vv-photo-stage canvas, .vv-photo-stage > img { display: block; max-width: 100%; width: auto; height: 370px; object-fit: contain; }
.vv-photo-caption { position: absolute; bottom: 11px; left: 15px; margin: 0; color: #767879; font-size: 9px; letter-spacing: .03em; }
.vv-selection { display: flex; flex-direction: column; padding: 34px 28px; justify-content: center; }
.vv-selection .eyebrow { font-size: 10px; letter-spacing: .15em; color: #ad9360; margin-top: 0; }
.vv-selected-color { width: 46px; height: 46px; border-radius: 9px; border: 1px solid #ffffff25; background: #f7f7f4; background-size: cover; margin: 0 0 16px; }
.vv-selection h2 { font: 600 25px/1.3 'Sora', sans-serif; letter-spacing: -.04em; text-transform: none; margin: 0 0 8px; overflow-wrap: anywhere; }
.vv-selected-group { color: #a6a9ac; font-size: 12px; line-height: 1.5; margin: 0; }
.vv-preview-mode { display: block; font-size: 11px; font-weight: 500; margin-top: 18px; color: #e5c982; min-height: 16px; }
.vv-reset { background: transparent; border: 1px solid #3d4043; color: #dce0e3; border-radius: 8px; padding: 11px 14px; font-size: 12px !important; text-align: left; margin-top: 25px; }
.vv-reset:hover { border-color: #e5c982; color: #e5c982; }
.vv-help { color: #a8adb1; font-size: 12px; line-height: 1.7; margin: 16px 0 27px; }
.vv-palette-head { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin: 0 0 20px; }
.vv-palette-head h2 { font: 600 22px/1.3 'Sora', sans-serif; text-transform: none; letter-spacing: -.035em; margin: 0; }
.vv-palette-head h2 small { display: inline-block; font: 500 11px/1.2 'Inter', sans-serif; background: #24272a; color: #bec2c5; padding: 6px 9px; border-radius: 20px; margin-left: 8px; vertical-align: middle; }
.vv-search { width: min(260px, 100%); background: #101214; color: #e7e9eb; border: 1px solid #373b3f; padding: 12px 14px; border-radius: 8px; font-size: 12px !important; }
.vv-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.vv-filters button { background: #111315; color: #b4b9bd; border: 1px solid #303439; border-radius: 20px; padding: 8px 12px; font-size: 11px; line-height: 1.4; }
.vv-filters button[aria-pressed="true"] { border-color: #c9a35a; color: #eedcb3; background: #c9a35a16; }
.vv-palette { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 12px 14px; }
.vv-swatch { border: 1px solid transparent; border-radius: 9px; color: #bfc4c8; background: transparent; padding: 7px; text-align: center; display: flex; align-items: center; flex-direction: column; gap: 8px; position: relative; min-width: 0; }
.vv-swatch-sample { width: 52px; height: 52px; background: var(--swatch); border: 1px solid #ffffff25; border-radius: 8px; display: block; overflow: hidden; position: relative; box-shadow: inset 0 0 0 1px #00000010; }
.vv-swatch-sample img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vv-swatch[aria-pressed="true"] { background: #d0b4760d; border-color: #c9a35a; color: #f5e7c8; }
.vv-swatch[aria-pressed="true"] .vv-swatch-sample::after { content: '✓'; position: absolute; bottom: 3px; right: 3px; font-size: 11px; font-weight: 800; background: #111a; color: #fff; width: 17px; height: 17px; border-radius: 50%; line-height: 17px; }
.vv-swatch:hover { background: #ffffff07; border-color: #6b7074; }
.vv-swatch.is-preview { border-color: #a88b58; }
.vv-swatch-name { font-size: 10px; line-height: 1.4; overflow-wrap: anywhere; }
.vv-empty { color: #b7bcc0; font-size: 13px; padding: 22px 0; }
.vv-note { margin-top: 32px; border-top: 1px solid #2b2f32; padding-top: 20px; color: #8e969c; font-size: 11px; line-height: 1.8; }
.vv-note a { color: #c1aa7d; text-decoration: underline; text-underline-offset: 3px; }
.vv-next { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; border: 1px solid #393530; background: #11100d; border-radius: 14px; padding: 24px 28px; margin-top: 34px; }
.vv-next h2 { font: 600 18px/1.4 'Sora', sans-serif; text-transform: none; margin: 0 0 7px; }
.vv-next p { font-size: 12px; line-height: 1.6; color: #aeb1b4; margin: 0; }
.vv-next a { border: 1px solid #ad8f53; padding: 12px 18px; border-radius: 8px; color: #e5c982; font-size: 12px; font-weight: 600; }
.vv-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.vv-home-links { display: flex; gap: 12px; flex-wrap: wrap; }
.vv-home-links a { background: #111315; border: 1px solid #857046; border-radius: 10px; padding: 16px 22px; color: #e5c982; font-size: 14px; font-weight: 700; }
@media (min-width: 951px) { .vv-colors.page { padding-top: 116px; } }
@media (max-width: 900px) {
 .vv-colors .vv-wrap { width: 90%; }
 .vv-colors .vv-intro { padding-top: 26px; padding-bottom: 26px; }
 .vv-crumbs { margin-bottom: 22px; gap: 8px; font-size: 11px; }
 .vv-profile-grid { gap: 14px; }
 .vv-profile-copy { padding: 17px; }
 .vv-profile-copy h2 { font-size: 21px; }
 .vv-profile-photo { height: 230px; }
 .vv-profile-photo > img { inset: 15px; width: calc(100% - 30px); height: calc(100% - 30px); }
 .vv-preview { grid-template-columns: minmax(0, 1fr) 245px; min-height: 350px; }
 .vv-photo-stage canvas, .vv-photo-stage > img { height: 320px; }
 .vv-selection { padding: 25px 20px; }
 .vv-selection h2 { font-size: 21px; }
}
@media (max-width: 620px) {
 .vv-category-grid, .vv-profile-grid { grid-template-columns: 1fr; }
 .vv-category-image { height: 225px; }
 .vv-profile-card { display: grid; grid-template-columns: 37% minmax(0, 1fr); }
 .vv-profile-photo { height: 230px; }
 .vv-profile-copy { display: flex; flex-direction: column; justify-content: center; }
 .vv-profile-logo { margin-bottom: 12px; width: 91px; height: 31px; }
 .vv-profile-copy h2 { font-size: 20px; }
 .vv-profile-copy p { margin-bottom: 14px; font-size: 11px; }
 .vv-profile-copy .vv-link-arrow { padding-top: 12px; font-size: 11px; }
 .vv-colors .vv-intro h1 { font-size: 32px; }
 .vv-colors .vv-intro .lead { font-size: 14px; line-height: 1.7; }
 .vv-preview { grid-template-columns: 1fr; }
 .vv-photo-stage { padding: 18px 14px 26px; }
 .vv-photo-stage canvas, .vv-photo-stage > img { height: 275px; }
 .vv-selection { padding: 17px; display: grid; grid-template-columns: 38px 1fr auto; gap: 0 12px; align-items: center; }
 .vv-selection .eyebrow { display: none; }
 .vv-selected-color { width: 38px; height: 38px; margin: 0; grid-row: 1 / 4; }
 .vv-selection h2 { font-size: 16px; grid-column: 2; margin: 0 0 3px; }
 .vv-selected-group { font-size: 10px; grid-column: 2; }
 .vv-preview-mode { font-size: 9px; min-height: 12px; margin-top: 3px; grid-column: 2; }
 .vv-reset { grid-column: 3; grid-row: 1 / 4; margin: 0; padding: 9px; font-size: 10px !important; max-width: 70px; }
 .vv-help { font-size: 11px; margin: 12px 0 24px; }
 .vv-palette-head { align-items: stretch; flex-direction: column; gap: 14px; }
 .vv-palette-head h2 { font-size: 20px; }
 .vv-search { width: 100%; }
 .vv-palette { grid-template-columns: repeat(auto-fill, minmax(66px, 1fr)); gap: 9px 5px; }
 .vv-swatch { padding: 5px 2px; }
 .vv-swatch-sample { width: 46px; height: 46px; }
 .vv-swatch-name { font-size: 9px; }
 .vv-next { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
 .vv-category-card, .vv-profile-card { transition: none; }
 .vv-category-card:hover, .vv-profile-card:hover { transform: none; }
}
@media (max-height: 650px) { .vv-preview { position: relative; top: auto; } }
@media (max-width: 620px) and (min-height: 651px) and (max-height: 780px) {
 .vv-photo-stage canvas, .vv-photo-stage > img { height: 210px; }
}

/* Wspólny, stale widoczny podgląd okien i bram. Bez zagnieżdżonych pasków przewijania. */
.vv-configurator.vv-live-preview { --vv-available-height: calc(100dvh - 110px); }
.vv-configurator.vv-live-preview .vv-palette-panel { min-width: 0; }
.vv-configurator.vv-live-preview .vv-preview {
 position: sticky; top: var(--vv-sticky-top, 106px); align-self: start;
 min-height: 0; grid-template-columns: minmax(0, 1fr) minmax(0, 350px);
}
.vv-configurator.vv-live-preview .vv-photo-stage { padding: 12px 14px 28px; min-height: 0; }
.vv-configurator.vv-live-preview .vv-photo-stage > img {
 width: 100%; height: clamp(80px, calc(var(--vv-available-height) * .35), 300px);
 max-height: none; aspect-ratio: auto; object-fit: contain;
}
.vv-configurator.vv-live-preview .vv-selection {
 padding: 14px; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto;
 gap: 4px 10px; align-content: center; align-items: center;
}
.vv-configurator.vv-live-preview .vv-selection .eyebrow { display: none; }
.vv-configurator.vv-live-preview .vv-selected-color { width: 34px; height: 34px; grid-row: 1 / 4; margin: 0; }
.vv-configurator.vv-live-preview .vv-selection h2 { font-size: 16px; grid-column: 2; margin: 0; }
.vv-configurator.vv-live-preview .vv-selected-group { font-size: 10px; grid-column: 2; }
.vv-configurator.vv-live-preview .vv-preview-mode { font-size: 10px; grid-column: 2; margin: 0; min-height: 0; }
.vv-configurator.vv-live-preview .vv-reset { grid-column: 3; grid-row: 1 / 4; margin: 0; padding: 10px; max-width: 74px; min-height: 44px; font-size: 11px !important; }
.vv-configurator.vv-live-preview .vv-palette-panel :is(button, input) {
 scroll-margin-top: calc(var(--vv-sticky-top, 106px) + var(--vv-preview-height, 300px) + 16px);
 scroll-margin-bottom: 16px;
}
.vv-configurator.vv-live-preview .vv-search { font-size: 16px !important; }
@media (min-width: 1000px) {
 .vv-configurator.vv-live-preview { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 28px; align-items: start; }
 .vv-configurator.vv-live-preview .vv-preview { grid-template-columns: minmax(0, 1fr); }
 .vv-configurator.vv-live-preview .vv-photo-stage > img { height: clamp(90px, calc(var(--vv-available-height) * .5), 420px); }
 .vv-configurator.vv-live-preview .vv-palette-panel :is(button, input) { scroll-margin-top: calc(var(--vv-sticky-top, 106px) + 16px); }
 .vv-configurator.vv-live-preview .vv-help { margin-top: 0; }
 .vv-configurator.vv-live-preview .vv-palette-head { flex-wrap: wrap; }
}
@media (max-width: 620px) {
 .vv-configurator.vv-live-preview .vv-preview { grid-template-columns: minmax(0, 1fr); }
 .vv-configurator.vv-live-preview .vv-photo-stage > img { height: clamp(70px, calc(var(--vv-available-height) * .23), 190px); }
 .vv-configurator.vv-live-preview .vv-selection { padding: 10px 12px; }
 .vv-configurator.vv-live-preview .vv-selection h2 { font-size: 14px; }
 .vv-configurator.vv-live-preview .vv-photo-caption { font-size: 8px; }
}
/* Telefon poziomo / bardzo niski ekran: paleta obok produktu zostawia miejsce na próbki. */
@media (min-width: 500px) and (max-height: 450px) {
 .vv-configurator.vv-live-preview { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 16px; align-items: start; }
 .vv-configurator.vv-live-preview .vv-preview { grid-template-columns: minmax(0, 1fr); }
 .vv-configurator.vv-live-preview .vv-photo-stage { padding: 8px 8px 22px; }
 .vv-configurator.vv-live-preview .vv-photo-stage > img { height: clamp(65px, calc(var(--vv-available-height) * .4), 120px); }
 .vv-configurator.vv-live-preview .vv-photo-caption { font-size: 8px; bottom: 7px; left: 8px; }
 .vv-configurator.vv-live-preview .vv-selection { padding: 8px; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
 .vv-configurator.vv-live-preview .vv-selection h2 { grid-column: 1; font-size: 12px; line-height: 1.3; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
 .vv-configurator.vv-live-preview :is(.vv-selected-color, .vv-selected-group, .vv-preview-mode) { display: none; }
 .vv-configurator.vv-live-preview .vv-preview[aria-busy="true"] .vv-preview-mode,
 .vv-configurator.vv-live-preview[data-preview-state="error"] .vv-preview-mode {
  display: -webkit-box; grid-column: 1 / -1; grid-row: 2; line-height: 1.25;
  -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
 }
 .vv-configurator.vv-live-preview .vv-reset { grid-column: 2; grid-row: 1; max-width: 60px; padding: 6px; }
 .vv-configurator.vv-live-preview .vv-palette-panel :is(button, input) { scroll-margin-top: calc(var(--vv-sticky-top, 106px) + 16px); }
 .vv-configurator.vv-live-preview .vv-help { margin-top: 0; }
 .vv-configurator.vv-live-preview .vv-palette-head { flex-wrap: wrap; }
}

/* Focus scrolling must not race an earlier native smooth-scroll on color pages. */
html:has(.vv-configurator.vv-live-preview){scroll-behavior:auto}
