:root {
  --black: #060504;
  --black-soft: rgba(8, 7, 6, .78);
  --white: #ffffff;
  --red: #d71919;
  --red-soft: #c91616;
  --red-dark: #a80f0f;
  --cream: #f3eee7;
  --line: rgba(255, 255, 255, .16);
  --muted: rgba(255, 255, 255, .70);
  --muted-2: rgba(255, 255, 255, .50);
  --header-h: 132px;
  --ease: cubic-bezier(.2, .72, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: #0b0908;
  color: var(--white);
  font-family: Avenir, 'Avenir Next', Aptos, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
button,
a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
svg { display: block; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-150%);
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  font-weight: 600;
  transition: transform .22s ease;
}
.skip-link:focus { transform: translateY(0); }

.top-shell {
  width: min(100%, 1818px);
  margin: 0 auto;
  padding-inline: clamp(24px, 3.8vw, 86px);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  isolation: isolate;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  height: 116px;
  background:
    linear-gradient(180deg, rgba(0,0,0,.48) 0%, rgba(0,0,0,.23) 50%, rgba(0,0,0,.045) 78%, rgba(0,0,0,0) 100%),
    linear-gradient(90deg, rgba(0,0,0,.18), rgba(0,0,0,0) 48%, rgba(0,0,0,.07));
  pointer-events: none;
}
.contact-bar {
  height: 36px;
  background: rgba(0, 0, 0, .30);
  border-bottom: 1px solid rgba(255,255,255,.055);
  backdrop-filter: blur(10px);
}
.contact-bar .top-shell {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.contact-bar__left,
.utility-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.3vw, 38px);
}
.micro-link,
.utility-nav a,
.search-trigger {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.82);
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: .005em;
  text-transform: none;
  cursor: pointer;
  transition: color .22s var(--ease), opacity .22s var(--ease);
}
.utility-nav a,
.search-trigger { text-transform: uppercase; font-size: 12px; letter-spacing: .04em; font-weight: 400; }
.micro-link:hover,
.utility-nav a:hover,
.search-trigger:hover { color: var(--white); }
.micro-link svg,
.search-trigger svg,
.cart-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .9;
}
.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--white);
}
.cart-link span {
  position: absolute;
  top: -7px;
  right: -8px;
  display: grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding-inline: 5px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  box-shadow: 0 8px 16px rgba(0,0,0,.25);
}

.main-bar { height: 96px; }
.main-bar__inner {
  height: 100%;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 34px;
  padding-top: 10px;
}
.brand {
  position: relative;
  z-index: 4;
  flex: 0 0 auto;
  display: block;
  width: clamp(74px, 5.0vw, 104px);
  filter: drop-shadow(0 12px 24px rgba(0,0,0,.48));
}
.brand img {
  display: block;
  width: 100%;
  height: auto;
}
.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(24px, 2.45vw, 46px);
  padding-top: 30px;
  font-size: clamp(12px, .74vw, 14px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: .035em;
  text-transform: uppercase;
  white-space: nowrap;
}
.primary-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,.82);
  text-shadow: 0 2px 16px rgba(0,0,0,.55);
  transition: color .22s var(--ease), transform .22s var(--ease);
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -13px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s var(--ease);
  opacity: .95;
}
.primary-nav a:hover { color: #fff; transform: translateY(-1px); }
.primary-nav a:hover::after { transform: scaleX(1); }
.primary-nav svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.primary-nav .nav-hot { color: #e23535; font-weight: 500; }

.menu-toggle {
  display: none;
  position: relative;
  z-index: 7;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  cursor: pointer;
}
.menu-toggle span {
  position: absolute;
  left: 14px;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform .25s var(--ease), opacity .25s var(--ease), top .25s var(--ease);
}
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 23px; }
.menu-toggle span:nth-child(3) { top: 30px; }
body.menu-open .menu-toggle span:nth-child(1) { top: 23px; transform: rotate(45deg); }
body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .menu-toggle span:nth-child(3) { top: 23px; transform: rotate(-45deg); }

.hero {
  position: relative;
  min-height: 865px;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: #0b0908;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #0b0908;
}
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1);
  backface-visibility: hidden;
  transition:
    opacity 1450ms cubic-bezier(.2, .72, .2, 1),
    transform 11600ms cubic-bezier(.16, .84, .22, 1);
  will-change: opacity, transform;
  transform-origin: center center;
}
.hero__slide.is-active {
  opacity: 1;
  transform: scale(1.18);
}
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0,0,0,.46) 0%, rgba(0,0,0,.34) 16%, rgba(0,0,0,.15) 34%, rgba(0,0,0,.02) 58%, rgba(0,0,0,.09) 100%),
    linear-gradient(180deg, rgba(0,0,0,.20) 0%, rgba(0,0,0,.015) 38%, rgba(0,0,0,.01) 65%, rgba(0,0,0,.34) 100%);
  pointer-events: none;
}
.hero__bottom-mask {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 205px;
  z-index: 2;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(10,7,6,.24) 38%, rgba(8,6,5,.56));
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 5;
  min-height: 100%;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  padding-bottom: 154px;
}
.hero__copy {
  width: min(530px, 39vw);
  padding-top: 42px;
  color: #fff;
}
.hero__kicker {
  margin: 0 0 24px;
  color: rgba(255,255,255,.64);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .50em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0;
  font-size: clamp(42px, 3.02vw, 58px);
  line-height: 1.11;
  font-weight: 300;
  letter-spacing: -.012em;
  text-transform: uppercase;
  text-shadow: 0 14px 44px rgba(0,0,0,.40);
}
.hero h1 span {
  color: #df1919;
  font-weight: 300;
  text-shadow: 0 14px 44px rgba(0,0,0,.42);
}
.hero__lead {
  margin: 24px 0 0;
  color: rgba(255,255,255,.88);
  font-size: clamp(16px, .94vw, 18px);
  line-height: 1.43;
  letter-spacing: .005em;
  text-shadow: 0 10px 30px rgba(0,0,0,.5);
}
.hero__cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 32px;
  margin-top: 39px;
  min-height: 46px;
  padding: 0 27px 0 23px;
  background: linear-gradient(180deg, rgba(224,27,27,.96) 0%, rgba(177,15,15,.94) 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .075em;
  text-transform: uppercase;
  box-shadow: 0 16px 34px rgba(88,0,0,.20), inset 0 1px 0 rgba(255,255,255,.18), inset 0 0 0 1px rgba(255,255,255,.08);
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}
.hero__cta:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, rgba(235,42,42,.98) 0%, rgba(190,18,18,.96) 100%);
  box-shadow: 0 20px 42px rgba(88,0,0,.28), inset 0 1px 0 rgba(255,255,255,.22), inset 0 0 0 1px rgba(255,255,255,.12);
}
.hero__cta span { font-size: 18px; line-height: 1; transform: translateY(-1px); }
.hero__dots {
  position: absolute;
  z-index: 6;
  left: 50%;
  bottom: 148px;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateX(-50%);
}
.hero__dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.68);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,.35);
  opacity: .95;
  transition: width .25s var(--ease), background .25s var(--ease), opacity .25s var(--ease);
}
.hero__dots button.is-active {
  width: 20px;
  background: var(--red);
}
.trust-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 7;
  min-height: 104px;
  background: linear-gradient(180deg, rgba(20,14,11,.34), rgba(12,8,7,.48));
  border-top: 1px solid rgba(255,255,255,.075);
  backdrop-filter: blur(3px);
  box-shadow: 0 -18px 58px rgba(0,0,0,.18);
}
.trust-shell {
  width: min(100%, 1440px);
  min-height: 104px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.trust-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px clamp(24px, 2.8vw, 54px);
}
.trust-item + .trust-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  bottom: 24px;
  width: 1px;
  background: rgba(255,255,255,.18);
}
.trust-icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  color: rgba(255,255,255,.82);
  opacity: .9;
}
.trust-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.28;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.trust-item strong {
  display: block;
  margin-bottom: 5px;
  color: rgba(255,255,255,.88);
  font-size: clamp(12px, .82vw, 15px);
  font-weight: 400;
  line-height: 1.16;
  text-transform: uppercase;
  letter-spacing: .015em;
}
.trust-item small {
  display: block;
  color: rgba(255,255,255,.64);
  font-size: clamp(11px, .74vw, 13px);
  line-height: 1.18;
}

.below-fold {
  background: #0c0a09;
  padding: clamp(54px, 7vw, 104px) 0;
  border-top: 1px solid rgba(255,255,255,.08);
}
.content-shell {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
  color: #fff;
}
.section-kicker {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
}
.content-shell h2 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 1.02;
  font-weight: 300;
  letter-spacing: -.025em;
  text-transform: uppercase;
}
.content-shell p:last-child {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255,255,255,.72);
  font-size: 18px;
  line-height: 1.75;
}

.search-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
}
.search-modal.is-open { display: block; }
.search-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(10px);
}
.search-modal__panel {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(720px, calc(100% - 32px));
  transform: translate(-50%, -50%);
  padding: clamp(24px, 4vw, 46px);
  background: #111;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 40px 120px rgba(0,0,0,.5);
}
.search-modal__panel span {
  display: block;
  margin-bottom: 18px;
  color: rgba(255,255,255,.62);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
}
.search-modal input {
  width: 100%;
  min-height: 64px;
  padding: 0 18px;
  border: 0;
  outline: 0;
  border-bottom: 2px solid rgba(255,255,255,.3);
  background: transparent;
  color: #fff;
  font-size: clamp(22px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -.05em;
}
.search-modal input::placeholder { color: rgba(255,255,255,.38); }
.search-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 31px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 1420px) {
  .primary-nav { gap: 22px; font-size: 14px; }
  .brand { width: 96px; }
  .hero h1 { font-size: 50px; }
  .hero__copy { width: 500px; }
  .trust-item { padding-inline: 26px; }
}

@media (max-width: 1120px) {
  :root { --header-h: 122px; }
  .contact-bar { display: none; }
  .site-header::before { height: 108px; }
  .main-bar { height: 118px; }
  .main-bar__inner { align-items: center; padding-top: 0; }
  .brand { width: 88px; }
  .menu-toggle { display: inline-flex; }
  .primary-nav {
    position: fixed;
    top: 96px;
    left: 16px;
    right: 16px;
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(6,6,6,.94);
    box-shadow: 0 30px 90px rgba(0,0,0,.45);
    backdrop-filter: blur(16px);
    transform: translateY(-14px);
    opacity: 0;
    pointer-events: none;
    transition: transform .25s var(--ease), opacity .25s var(--ease);
  }
  body.menu-open .primary-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .primary-nav a {
    min-height: 52px;
    padding: 0 16px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    justify-content: space-between;
    font-size: 14px;
  }
  .primary-nav a:last-child { border-bottom: 0; }
  .primary-nav a::after { display: none; }
  .hero { min-height: 780px; }
  .hero__content { align-items: flex-end; padding-bottom: 210px; }
  .hero__copy { width: min(640px, 100%); padding-top: 0; }
  .trust-shell { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-bar { min-height: 176px; }
  .trust-shell { min-height: 176px; }
  .trust-item { padding: 18px 24px; }
  .trust-item:nth-child(3)::before { display: none; }
  .trust-item:nth-child(n + 3) { border-top: 1px solid rgba(255,255,255,.13); }
  .hero__dots { bottom: 194px; }
}

@media (max-width: 720px) {
  .top-shell { padding-inline: 18px; }
  .main-bar { height: 94px; }
  .site-header::before { height: 96px; }
  .brand { width: 82px; }
  .hero {
    min-height: 760px;
    height: 100svh;
  }
  .hero__slide {
    background-position: 57% center;
  }
  .hero__slide.is-active {
    transform: scale(1.055);
  }
  .hero__shade {
    background:
      linear-gradient(90deg, rgba(0,0,0,.88), rgba(0,0,0,.42) 55%, rgba(0,0,0,.28)),
      linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.08) 42%, rgba(0,0,0,.68));
  }
  .hero__content {
    padding-top: 112px;
    padding-bottom: 250px;
    align-items: center;
  }
  .hero__copy { padding-top: 90px; }
  .hero__kicker { font-size: 11px; letter-spacing: .28em; margin-bottom: 18px; }
  .hero h1 {
    font-size: clamp(34px, 9.2vw, 45px);
    line-height: 1.04;
    letter-spacing: -.025em;
    font-weight: 300;
  }
  .hero__lead {
    margin-top: 18px;
    font-size: 18px;
  }
  .hero__cta {
    min-height: 54px;
    margin-top: 28px;
    padding: 0 22px;
    gap: 18px;
    font-size: 13px;
  }
  .trust-bar { min-height: 218px; }
  .trust-shell {
    min-height: 218px;
    grid-template-columns: 1fr 1fr;
  }
  .trust-item {
    gap: 12px;
    padding: 14px 14px;
  }
  .trust-item + .trust-item::before { display: none; }
  .trust-item:nth-child(2n) { border-left: 1px solid rgba(255,255,255,.13); }
  .trust-icon { width: 34px; height: 34px; }
  .trust-item strong { font-size: 12px; line-height: 1.14; }
  .trust-item small { font-size: 11px; line-height: 1.22; }
  .hero__dots { bottom: 234px; gap: 8px; }
  .hero__dots button { width: 8px; height: 8px; }
  .hero__dots button.is-active { width: 24px; }
  .content-shell { width: min(100% - 36px, 1080px); }
  .content-shell p:last-child { font-size: 16px; }
}

@media (max-width: 420px) {
  .hero__copy { padding-top: 70px; }
  .hero h1 { font-size: 34px; }
  .hero__lead { font-size: 16px; }
  .trust-item { padding: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
  .hero__slide { transform: none !important; }
}

/* === WHITE PRODUCT AREA — premium catalogue style === */
.products-section {
  position: relative;
  z-index: 1;
  background: #fff;
  color: #171717;
  padding: clamp(76px, 7.2vw, 126px) 0 clamp(86px, 7.8vw, 132px);
  border-top: 1px solid rgba(17,17,17,.06);
}
.products-shell {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}
.products-head {
  text-align: center;
  margin: 0 auto clamp(38px, 5.6vw, 86px);
}
.products-head .section-kicker {
  margin: 0 0 18px;
  color: rgba(20,20,20,.42);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .38em;
  text-transform: uppercase;
}
.products-head h2 {
  margin: 0;
  color: #141414;
  font-size: clamp(42px, 3.85vw, 68px);
  line-height: 1.05;
  font-weight: 200;
  letter-spacing: .045em;
}
.category-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0 auto clamp(42px, 5vw, 72px);
}
.category-tab {
  position: relative;
  border: 0;
  background: transparent;
  padding: 11px 5px 13px;
  color: color-mix(in srgb, var(--cat-color, #4f4a45) 72%, transparent);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .25s var(--ease), transform .25s var(--ease);
}
.category-tab::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 4px;
  height: 1px;
  background: var(--cat-color, #181818);
  opacity: 0;
  transition: left .28s var(--ease), right .28s var(--ease), opacity .28s var(--ease);
}
.category-tab:hover,
.category-tab.is-active {
  color: var(--cat-color, #151515);
}
.category-tab.is-active::after {
  left: 5px;
  right: 5px;
  opacity: 1;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(0,0,0,.08);
  border-left: 1px solid rgba(0,0,0,.08);
}
.product-card {
  position: relative;
  min-height: 390px;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  align-items: end;
  padding: 0 clamp(22px, 3.2vw, 48px) 42px;
  border-right: 1px solid rgba(0,0,0,.08);
  border-bottom: 1px solid rgba(0,0,0,.08);
  background: #fff;
  opacity: 0;
  transform: translateY(22px) scale(.985);
  animation: productCardIn .62s var(--ease) forwards;
  transition: background .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.product-card:hover {
  z-index: 2;
  background: #fbfaf8;
  transform: translateY(-4px);
  box-shadow: 0 22px 68px rgba(16,12,9,.07);
}
.product-card.is-hidden {
  display: none;
}
.product-card__badge {
  align-self: start;
  justify-self: start;
  margin-top: 0;
  padding-top: 3px;
  color: rgba(20,20,20,.42);
  font-size: 9px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.product-card__ribbon {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 4;
  width: 112px;
  height: 112px;
  overflow: hidden;
  pointer-events: none;
  color: #fff;
  font-size: 9px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.product-card__ribbon::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  border-style: solid;
  border-width: 0 112px 112px 0;
  border-color: transparent #b30f12 transparent transparent;
  filter: drop-shadow(-8px 10px 16px rgba(141, 12, 16, .20));
}
.product-card__ribbon::after {
  content: "NOWOŚĆ";
  position: absolute;
  top: 23px;
  right: -26px;
  width: 118px;
  text-align: center;
  transform: rotate(45deg);
}
.product-card__image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 214px;
  margin: 12px 0 22px;
}
.product-card__image img {
  display: block;
  width: min(100%, 310px);
  height: auto;
  object-fit: contain;
  transform: translateY(6px);
  transition: transform .62s var(--ease), filter .62s var(--ease);
}
.product-card:hover .product-card__image img,
.product-card:focus-within .product-card__image img {
  transform: translateY(-8px) scale(1.105);
  filter: drop-shadow(0 24px 34px rgba(0,0,0,.105));
}
.product-card h3 {
  margin: 0;
  color: rgba(20,20,20,.70);
  text-align: center;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.product-card h3 a {
  color: inherit;
  text-decoration: none;
  transition: color .24s var(--ease), letter-spacing .24s var(--ease);
}
.product-card h3 a:hover,
.product-card h3 a:focus-visible {
  color: #b30f12;
  letter-spacing: .145em;
  outline: none;
}
.product-card p {
  margin: 9px 0 0;
  color: rgba(20,20,20,.58);
  text-align: center;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.product-card:nth-child(1) { animation-delay: .04s; }
.product-card:nth-child(2) { animation-delay: .10s; }
.product-card:nth-child(3) { animation-delay: .16s; }
.product-card:nth-child(4) { animation-delay: .22s; }
.product-card:nth-child(5) { animation-delay: .28s; }
.product-card:nth-child(6) { animation-delay: .34s; }
@keyframes productCardIn {
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.products-grid.is-changing .product-card:not(.is-hidden) {
  animation: productCardIn .62s var(--ease) forwards;
}

@media (max-width: 980px) {
  .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-card { min-height: 360px; }
}
@media (max-width: 620px) {
  .products-section { padding-top: 62px; }
  .products-shell { width: min(100% - 28px, 1280px); }
  .products-head { margin-bottom: 34px; }
  .products-head h2 { font-size: 42px; letter-spacing: .03em; }
  .category-tabs { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 8px; margin-bottom: 30px; }
  .category-tab { flex: 0 0 auto; }
  .products-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 338px; padding-bottom: 36px; }
  .product-card__image { min-height: 190px; }
}

/* FIX: real image layer instead of CSS variable background — prevents black HERO on hosting */
.hero__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  image-rendering: auto;
  transform: translateZ(0);
}

/* Final visual polish: lighter menu dimming and visible premium photos */
.site-header::before {
  height: 116px;
  background:
    linear-gradient(180deg, rgba(0,0,0,.48) 0%, rgba(0,0,0,.23) 50%, rgba(0,0,0,.045) 78%, rgba(0,0,0,0) 100%),
    linear-gradient(90deg, rgba(0,0,0,.18), rgba(0,0,0,0) 48%, rgba(0,0,0,.07));
}
.contact-bar { background: rgba(0,0,0,.26); }
.hero__shade {
  background:
    linear-gradient(90deg, rgba(0,0,0,.36) 0%, rgba(0,0,0,.25) 17%, rgba(0,0,0,.10) 36%, rgba(0,0,0,.01) 62%, rgba(0,0,0,.05) 100%),
    linear-gradient(180deg, rgba(0,0,0,.10) 0%, rgba(0,0,0,0) 42%, rgba(0,0,0,0) 67%, rgba(0,0,0,.24) 100%);
}
.hero__bottom-mask { background: linear-gradient(180deg, rgba(0,0,0,0), rgba(10,7,6,.14) 38%, rgba(8,6,5,.42)); }
.brand { width: clamp(74px, 5.0vw, 104px); }
.main-bar { height: 96px; }
.primary-nav { padding-top: 30px; }


/* === GABI premium logo / footer / limited edition polish === */
.brand {
  width: clamp(84px, 5.8vw, 128px);
  filter: drop-shadow(0 10px 22px rgba(0,0,0,.24));
}
.brand img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.product-card__ribbon {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 4;
  width: 128px;
  height: 128px;
  overflow: hidden;
  pointer-events: none;
  color: #fff;
}
.product-card__ribbon::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  border-style: solid;
  border-width: 0 128px 128px 0;
  border-color: transparent #b30f12 transparent transparent;
  filter: drop-shadow(-8px 10px 18px rgba(141, 12, 16, .18));
}
.product-card__ribbon::after { content: none; }
.product-card__ribbon em {
  position: absolute;
  top: 26px;
  right: -32px;
  z-index: 2;
  width: 138px;
  display: block;
  text-align: center;
  transform: rotate(45deg);
  font-style: normal;
  font-size: 8px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.product-card__ribbon--gold::before {
  border-color: transparent #b99855 transparent transparent;
  filter: drop-shadow(-10px 12px 20px rgba(166, 126, 48, .28));
}
.product-card__ribbon--gold em {
  color: #fffdf8;
  text-shadow: 0 1px 8px rgba(65, 44, 8, .18);
}
.product-card--limited {
  box-shadow: inset 0 0 0 1px rgba(185, 152, 81, .24);
  animation: productCardIn .62s var(--ease) forwards, limitedEditionPulse 2.8s ease-in-out infinite;
}
.product-card--limited:hover {
  box-shadow: 0 24px 76px rgba(166,126,48,.16), inset 0 0 0 1px rgba(185, 152, 81, .38);
}
@keyframes limitedEditionPulse {
  0%, 100% {
    box-shadow: inset 0 0 0 1px rgba(185, 152, 81, .18), 0 0 0 rgba(185, 152, 81, 0);
  }
  50% {
    box-shadow: inset 0 0 0 1px rgba(185, 152, 81, .44), 0 0 34px rgba(185, 152, 81, .18);
  }
}
.site-footer {
  background: #0b0908;
  border-top: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.64);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
}
.site-footer__inner {
  width: min(100% - 44px, 1380px);
  margin: 0 auto;
  padding: 18px 0;
}
.products-section + .site-footer {
  background: #fff;
  color: rgba(20,20,20,.46);
  border-top: 1px solid rgba(0,0,0,.08);
}
@media (max-width: 620px) {
  .brand { width: 94px; }
  .product-card__ribbon { width: 112px; height: 112px; }
  .product-card__ribbon::before { border-width: 0 112px 112px 0; }
  .product-card__ribbon em { top: 22px; right: -31px; width: 126px; font-size: 7px; }
  .site-footer__inner { width: min(100% - 28px, 1380px); padding: 16px 0; }
}

/* === PATCH: full logo, discover CTA and fixed limited ribbon === */
.brand {
  width: clamp(106px, 6.8vw, 146px);
  max-height: 78px;
  overflow: visible;
  display: flex;
  align-items: center;
}
.brand img {
  width: 100%;
  max-height: 76px;
  object-fit: contain;
  object-position: center;
}
.main-bar__inner,
.site-header,
.main-bar {
  overflow: visible;
}

.product-card__discover {
  position: absolute;
  right: clamp(22px, 3.1vw, 46px);
  bottom: 104px;
  z-index: 5;
  min-width: 148px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0 18px;
  border: 1px solid rgba(162, 16, 20, .28);
  background: rgba(255,255,255,.94);
  color: #a81014;
  text-decoration: none;
  font-size: 10px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  box-shadow: 0 16px 36px rgba(38, 28, 18, .08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .32s var(--ease), visibility .32s var(--ease), transform .32s var(--ease), border-color .32s var(--ease), background .32s var(--ease), color .32s var(--ease);
}
.product-card:hover .product-card__discover,
.product-card:focus-within .product-card__discover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.product-card__discover:hover,
.product-card__discover:focus-visible {
  background: #a81014;
  border-color: #a81014;
  color: #fff;
  outline: none;
}

.product-card__ribbon,
.product-card__ribbon--gold {
  width: 154px;
  height: 154px;
}
.product-card__ribbon::before,
.product-card__ribbon--gold::before {
  border-width: 0 154px 154px 0;
}
.product-card__ribbon em {
  top: 31px;
  right: -30px;
  width: 164px;
  font-size: 7.6px;
  letter-spacing: .09em;
  white-space: nowrap;
}
.product-card__ribbon--gold em {
  top: 32px;
  right: -31px;
  width: 168px;
  font-size: 7.2px;
  letter-spacing: .055em;
}

@media (max-width: 620px) {
  .brand { width: 112px; max-height: 68px; }
  .brand img { max-height: 66px; }
  .product-card__discover {
    right: 22px;
    bottom: 98px;
    min-width: 132px;
    height: 38px;
    font-size: 9px;
    letter-spacing: .15em;
  }
  .product-card__ribbon,
  .product-card__ribbon--gold { width: 132px; height: 132px; }
  .product-card__ribbon::before,
  .product-card__ribbon--gold::before { border-width: 0 132px 132px 0; }
  .product-card__ribbon em { top: 26px; right: -31px; width: 148px; font-size: 6.8px; }
  .product-card__ribbon--gold em { top: 27px; right: -33px; width: 156px; font-size: 6.2px; letter-spacing: .035em; }
}


/* === PATCH: czytelne napisy, rozwijane menu i wysuwana wyszukiwarka === */
.site-header::before {
  height: 132px;
  background:
    linear-gradient(180deg, rgba(0,0,0,.54) 0%, rgba(0,0,0,.31) 48%, rgba(0,0,0,.08) 78%, rgba(0,0,0,0) 100%),
    linear-gradient(90deg, rgba(0,0,0,.22), rgba(0,0,0,0) 48%, rgba(0,0,0,.10));
}

.primary-nav {
  align-items: center;
  gap: 3px;
  margin-top: 18px;
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,.135);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(32,25,20,.36), rgba(13,10,8,.22));
  box-shadow: 0 18px 54px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter: blur(14px) saturate(116%);
  -webkit-backdrop-filter: blur(14px) saturate(116%);
}

.primary-nav .nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.primary-nav .nav-item > a {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  color: rgba(255,255,255,.90);
  text-shadow: 0 3px 18px rgba(0,0,0,.74), 0 1px 2px rgba(0,0,0,.55);
}

.primary-nav .nav-item > a:hover,
.primary-nav .nav-item:focus-within > a {
  background: rgba(255,255,255,.075);
}

.primary-nav .nav-item > a::after {
  left: 13px;
  right: 13px;
  bottom: 6px;
  opacity: .72;
}

.primary-nav .nav-item.has-dropdown > a svg {
  transition: transform .25s var(--ease);
}

.primary-nav .nav-item.has-dropdown:hover > a svg,
.primary-nav .nav-item.has-dropdown:focus-within > a svg,
.primary-nav .nav-item.has-dropdown.is-open > a svg {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  z-index: 75;
  width: 282px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(28,23,19,.82), rgba(9,8,7,.68));
  box-shadow: 0 30px 86px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.07);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 10px) scale(.985);
  transition: opacity .25s var(--ease), visibility .25s var(--ease), transform .25s var(--ease);
}

.nav-dropdown::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -7px;
  width: 14px;
  height: 14px;
  transform: translateX(-50%) rotate(45deg);
  background: rgba(28,23,19,.78);
  border-left: 1px solid rgba(255,255,255,.12);
  border-top: 1px solid rgba(255,255,255,.12);
}

.nav-item.has-dropdown:hover .nav-dropdown,
.nav-item.has-dropdown:focus-within .nav-dropdown,
.nav-item.has-dropdown.is-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
}

.nav-dropdown__eyebrow {
  padding: 4px 10px 12px;
  color: rgba(255,255,255,.50);
  font-size: 10px;
  line-height: 1;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.primary-nav .nav-dropdown a {
  display: grid;
  gap: 4px;
  min-height: unset;
  padding: 12px 13px;
  border-radius: 16px;
  color: rgba(255,255,255,.86);
  text-shadow: none;
  text-transform: none;
  letter-spacing: .02em;
  transition: background .22s var(--ease), color .22s var(--ease), transform .22s var(--ease);
}

.primary-nav .nav-dropdown a::after { display: none; }

.primary-nav .nav-dropdown a:hover,
.primary-nav .nav-dropdown a:focus-visible {
  background: rgba(255,255,255,.085);
  color: #fff;
  transform: translateX(3px);
  outline: none;
}

.nav-dropdown strong {
  font-size: 13px;
  line-height: 1.18;
  font-weight: 400;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.nav-dropdown small {
  color: rgba(255,255,255,.52);
  font-size: 11px;
  line-height: 1.25;
}

.hero__shade {
  background:
    linear-gradient(90deg, rgba(0,0,0,.52) 0%, rgba(0,0,0,.38) 18%, rgba(0,0,0,.15) 38%, rgba(0,0,0,.015) 62%, rgba(0,0,0,.07) 100%),
    linear-gradient(180deg, rgba(0,0,0,.16) 0%, rgba(0,0,0,.015) 38%, rgba(0,0,0,.015) 65%, rgba(0,0,0,.30) 100%);
}

.hero__copy {
  position: relative;
  width: min(590px, 43vw);
  margin-left: -18px;
  padding: clamp(28px, 2.6vw, 42px) clamp(26px, 3.2vw, 48px) clamp(27px, 2.5vw, 38px);
  isolation: isolate;
}

.hero__copy::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-left: 1px solid rgba(255,255,255,.22);
  border-radius: 2px 34px 34px 2px;
  background:
    linear-gradient(90deg, rgba(0,0,0,.34), rgba(0,0,0,.18) 56%, rgba(0,0,0,.045));
  box-shadow: 0 22px 70px rgba(0,0,0,.18), inset 1px 0 0 rgba(255,255,255,.055);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.hero__kicker {
  color: rgba(255,255,255,.78);
  text-shadow: 0 6px 18px rgba(0,0,0,.76);
}

.hero h1 {
  text-shadow: 0 18px 50px rgba(0,0,0,.72), 0 2px 4px rgba(0,0,0,.38);
}

.hero h1 span {
  color: #ee1d1d;
  text-shadow: 0 18px 44px rgba(0,0,0,.74), 0 0 18px rgba(223,25,25,.16);
}

.hero__lead {
  color: rgba(255,255,255,.93);
  text-shadow: 0 12px 32px rgba(0,0,0,.72), 0 1px 2px rgba(0,0,0,.46);
}

.search-modal {
  display: block;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .24s var(--ease), visibility .24s var(--ease);
}

.search-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.search-modal__backdrop {
  background: rgba(5,4,3,.34);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.search-modal__panel {
  top: clamp(92px, 9vw, 128px);
  right: clamp(18px, 4vw, 78px);
  left: auto;
  width: min(640px, calc(100% - 36px));
  transform: translateY(-18px);
  padding: clamp(20px, 2.8vw, 32px);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(29,24,20,.72), rgba(9,8,7,.58));
  box-shadow: 0 34px 110px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  transition: transform .28s var(--ease), opacity .28s var(--ease);
}

.search-modal.is-open .search-modal__panel {
  transform: translateY(0);
}

.search-modal__panel span {
  margin-bottom: 14px;
  color: rgba(255,255,255,.64);
  font-weight: 400;
}

.search-modal__field {
  position: relative;
  display: block;
}

.search-modal__field svg {
  position: absolute;
  left: 18px;
  top: 50%;
  width: 22px;
  height: 22px;
  transform: translateY(-50%);
  fill: none;
  stroke: rgba(255,255,255,.58);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.search-modal input {
  min-height: 62px;
  padding: 0 18px 0 52px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: clamp(18px, 2.1vw, 28px);
  font-weight: 300;
  letter-spacing: -.02em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

.search-modal input:focus {
  border-color: rgba(255,255,255,.30);
  box-shadow: 0 0 0 4px rgba(255,255,255,.06), inset 0 1px 0 rgba(255,255,255,.08);
}

.search-modal__results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
  max-height: min(360px, 46vh);
  overflow: auto;
  padding-right: 3px;
}

.search-modal__results a {
  display: grid;
  gap: 4px;
  padding: 13px 14px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  background: rgba(255,255,255,.055);
  transition: background .22s var(--ease), transform .22s var(--ease), border-color .22s var(--ease);
}

.search-modal__results a:hover,
.search-modal__results a:focus-visible {
  background: rgba(255,255,255,.105);
  border-color: rgba(255,255,255,.18);
  transform: translateY(-1px);
  outline: none;
}

.search-modal__results strong {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.search-modal__results small {
  color: rgba(255,255,255,.54);
  font-size: 11px;
  letter-spacing: .04em;
}

.search-modal__empty {
  display: none;
  grid-column: 1 / -1;
  margin: 0;
  padding: 16px;
  border: 1px dashed rgba(255,255,255,.14);
  border-radius: 18px;
  color: rgba(255,255,255,.62);
  font-size: 13px;
  line-height: 1.4;
}

.search-modal__empty.is-visible { display: block; }

@media (max-width: 1120px) {
  .primary-nav {
    margin-top: 0;
    padding: 10px;
    border-radius: 26px;
    gap: 4px;
    background: rgba(6,6,6,.94);
  }
  .primary-nav .nav-item {
    display: block;
  }
  .primary-nav .nav-item > a {
    min-height: 52px;
    justify-content: space-between;
    padding: 0 16px;
    border-radius: 16px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    font-size: 14px;
  }
  .primary-nav .nav-item > a::after { display: none; }
  .nav-dropdown {
    position: static;
    width: auto;
    max-height: 0;
    margin: 0 4px;
    padding: 0 8px;
    border-radius: 18px;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    overflow: hidden;
    transform: none;
    border-color: rgba(255,255,255,.08);
    background: rgba(255,255,255,.045);
    box-shadow: none;
    transition: max-height .28s var(--ease), padding .28s var(--ease), margin .28s var(--ease);
  }
  .nav-dropdown::before { display: none; }
  .nav-item.has-dropdown.is-open .nav-dropdown {
    max-height: 520px;
    margin: 4px 4px 10px;
    padding: 8px;
    pointer-events: auto;
  }
  .nav-item.has-dropdown:hover .nav-dropdown,
  .nav-item.has-dropdown:focus-within .nav-dropdown {
    transform: none;
  }
  .nav-dropdown__eyebrow { display: none; }
  .primary-nav .nav-dropdown a {
    padding: 12px;
    border-radius: 14px;
  }
  .hero__copy {
    width: min(640px, 100%);
    margin-left: 0;
  }
}

@media (max-width: 720px) {
  .hero__copy {
    padding: 24px 22px;
  }
  .hero__copy::before {
    border-radius: 24px;
    border-left: 1px solid rgba(255,255,255,.14);
    background: linear-gradient(180deg, rgba(0,0,0,.40), rgba(0,0,0,.18));
  }
  .search-modal__panel {
    top: 88px;
    right: 14px;
    width: calc(100% - 28px);
    border-radius: 24px;
  }
  .search-modal__results {
    grid-template-columns: 1fr;
  }
}

/* PATCH 2026-04-29 — mniejsze okno tekstu, ikonowe dropdowny i panel szczegółów produktu */
@media (min-width: 1121px) {
  .hero__copy {
    width: min(465px, 34vw) !important;
    margin-left: 0 !important;
    padding: clamp(22px, 2vw, 32px) clamp(22px, 2.2vw, 34px) clamp(24px, 2.1vw, 34px) !important;
  }

  .hero__copy::before {
    inset: -6px -10px -6px -18px !important;
    border-radius: 2px 24px 24px 2px !important;
    background: linear-gradient(90deg, rgba(0,0,0,.30), rgba(0,0,0,.15) 58%, rgba(0,0,0,.035)) !important;
    backdrop-filter: blur(1px) !important;
    -webkit-backdrop-filter: blur(1px) !important;
    box-shadow: 0 16px 42px rgba(0,0,0,.16), inset 1px 0 0 rgba(255,255,255,.045) !important;
  }
}

.nav-dropdown a {
  grid-template-columns: auto 1fr;
  align-items: center;
}

.nav-dropdown__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  color: rgba(255,255,255,.86);
  background: rgba(255,255,255,.055);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.055);
}

.nav-dropdown__icon svg,
.detail-feature i svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-dropdown__text {
  display: grid;
  gap: 4px;
}

.products-grid.is-detail-open .product-card:not(.is-hidden) {
  min-height: 315px;
  transform: scale(.92);
  opacity: .52;
  filter: saturate(.88);
}

.products-grid.is-detail-open .product-card.is-active-detail {
  opacity: 1;
  transform: scale(.96);
  filter: saturate(1);
  box-shadow: 0 34px 78px rgba(0,0,0,.16), inset 0 0 0 1px rgba(178,15,18,.26);
}

.product-detail-panel[hidden] {
  display: none !important;
}

.product-detail-panel {
  position: relative;
  grid-column: 1 / -1;
  overflow: hidden;
  margin: 2px 0 18px;
  padding: clamp(26px, 3vw, 42px);
  border: 1px solid rgba(28,24,20,.10);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(249,247,243,.90)),
    radial-gradient(circle at 8% 0%, rgba(178,15,18,.10), transparent 36%);
  box-shadow: 0 34px 96px rgba(32,24,18,.13), inset 0 1px 0 rgba(255,255,255,.84);
  opacity: 0;
  transform: translateY(18px);
  animation: detailPanelIn .44s cubic-bezier(.2,.72,.2,1) forwards;
}

@keyframes detailPanelIn {
  to { opacity: 1; transform: translateY(0); }
}

.product-detail-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(178,15,18,.11), transparent 32%);
  opacity: .7;
}

.product-detail-panel__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(25,22,20,.10);
  border-radius: 999px;
  background: rgba(255,255,255,.74);
  color: #3b332e;
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 16px 30px rgba(0,0,0,.08);
  transition: transform .22s var(--ease), background .22s var(--ease);
}

.product-detail-panel__close:hover {
  transform: rotate(90deg);
  background: #fff;
}

.product-detail-panel__head,
.product-detail-panel__layout {
  position: relative;
  z-index: 1;
}

.product-detail-panel__head {
  margin-bottom: 26px;
  padding-right: 50px;
}

.product-detail-panel__head h3 {
  margin: 4px 0 8px;
  color: #211c18;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 300;
  line-height: .98;
  letter-spacing: -.035em;
  text-transform: uppercase;
}

.product-detail-panel__head > span {
  color: rgba(33,28,24,.58);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.product-detail-panel__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  gap: clamp(24px, 3vw, 42px);
  align-items: start;
}

.product-detail-panel__visuals {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.product-detail-panel__visuals figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(33,28,24,.08);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(0,0,0,.075);
}

.product-detail-panel__visuals img {
  display: block;
  width: 100%;
  max-height: 440px;
  object-fit: contain;
  background: #fff;
}

.product-detail-panel__visuals figcaption {
  padding: 11px 16px 13px;
  border-top: 1px solid rgba(33,28,24,.07);
  color: rgba(33,28,24,.55);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.product-detail-panel__content {
  display: grid;
  gap: 20px;
  align-content: start;
}

.product-detail-panel__notes {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-detail-panel__notes li {
  padding: 13px 15px;
  border-left: 2px solid rgba(178,15,18,.68);
  border-radius: 0 16px 16px 0;
  background: rgba(255,255,255,.68);
  color: #36302b;
  font-size: 14px;
  line-height: 1.42;
  box-shadow: 0 12px 24px rgba(0,0,0,.045);
}

.promo-fabrics,
.detail-features,
.product-detail-panel__placeholder {
  padding: 20px;
  border: 1px solid rgba(33,28,24,.08);
  border-radius: 24px;
  background: rgba(255,255,255,.70);
  box-shadow: 0 16px 36px rgba(0,0,0,.055);
}

.promo-fabrics h4,
.detail-features h4 {
  margin: 0 0 13px;
  color: #211c18;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.promo-fabrics p {
  margin: 0;
  padding: 10px 0;
  border-top: 1px solid rgba(33,28,24,.07);
  color: rgba(33,28,24,.68);
  font-size: 14px;
  line-height: 1.36;
}

.promo-fabrics p:first-of-type { border-top: 0; }
.promo-fabrics strong { color: #211c18; font-weight: 500; }

.detail-features > div {
  display: grid;
  gap: 10px;
}

.detail-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 10px 12px;
  border: 1px solid rgba(33,28,24,.07);
  border-radius: 18px;
  background: rgba(255,255,255,.58);
  color: #2d2722;
  font-size: 13px;
  line-height: 1.25;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.detail-feature i {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  background: rgba(178,15,18,.08);
  color: #b20f12;
}

.product-detail-panel__placeholder {
  margin: 0;
  color: rgba(33,28,24,.62);
  line-height: 1.5;
}

@media (max-width: 1120px) {
  .nav-dropdown a { grid-template-columns: auto 1fr; }
  .products-grid.is-detail-open .product-card:not(.is-hidden) {
    transform: none;
    opacity: .42;
  }
  .products-grid.is-detail-open .product-card.is-active-detail {
    opacity: 1;
  }
  .product-detail-panel__layout {
    grid-template-columns: 1fr;
  }
  .product-detail-panel__visuals {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .hero__copy {
    width: min(430px, calc(100vw - 34px)) !important;
    padding: 22px 20px !important;
  }
  .hero__copy::before {
    inset: -4px !important;
    border-radius: 22px !important;
  }
  .product-detail-panel {
    padding: 22px 16px;
    border-radius: 26px;
  }
  .product-detail-panel__head {
    padding-right: 42px;
  }
  .product-detail-panel__visuals {
    grid-template-columns: 1fr;
  }
  .product-detail-panel__visuals img {
    max-height: 320px;
  }
  .detail-feature {
    letter-spacing: .04em;
  }
}


/* PATCH v3 — dropdown z opóźnionym zamknięciem + bardziej kompaktowe szczegóły mebla */
@media (min-width: 1121px) {
  .nav-item.has-dropdown.is-open .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0) scale(1);
  }
}

.nav-dropdown__icon {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035));
}

.nav-dropdown__icon svg {
  width: 25px;
  height: 25px;
  stroke-width: 1.65;
}

.products-grid.is-detail-open .product-card:not(.is-hidden) {
  min-height: 282px;
  transform: scale(.94);
  opacity: .62;
}

.products-grid.is-detail-open .product-card.is-active-detail {
  transform: scale(.97);
  opacity: 1;
}

.product-detail-panel {
  width: min(1120px, 100%);
  justify-self: center;
  margin: 4px auto 24px;
  padding: clamp(18px, 2vw, 28px);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.955), rgba(246,243,238,.92)),
    radial-gradient(circle at 4% 0%, rgba(178,15,18,.07), transparent 34%);
  box-shadow: 0 24px 70px rgba(32,24,18,.105), inset 0 1px 0 rgba(255,255,255,.86);
}

.product-detail-panel::before {
  background: linear-gradient(90deg, rgba(178,15,18,.075), transparent 28%);
}

.product-detail-panel__close {
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  font-size: 22px;
}

.product-detail-panel__head {
  display: grid;
  gap: 3px;
  margin-bottom: 18px;
  padding-right: 48px;
}

.product-detail-panel__head .section-kicker {
  margin-bottom: 0;
  font-size: 10px;
}

.product-detail-panel__head h3 {
  margin: 0;
  font-size: clamp(26px, 2.7vw, 40px);
  line-height: 1.02;
  letter-spacing: -.028em;
}

.product-detail-panel__head > span {
  font-size: 10px;
  letter-spacing: .14em;
}

.product-detail-panel__layout {
  grid-template-columns: minmax(0, 1fr) minmax(330px, .82fr);
  gap: clamp(18px, 2.2vw, 30px);
}

.product-detail-panel__visuals {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.product-detail-panel__visuals figure {
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(0,0,0,.06);
}

.product-detail-panel__visuals img {
  max-height: 245px;
  padding: 10px;
  object-fit: contain;
}

.product-detail-panel__visuals figcaption {
  padding: 9px 12px 10px;
  font-size: 10px;
  letter-spacing: .14em;
}

.product-detail-panel__content {
  gap: 14px;
}

.product-detail-panel__notes {
  gap: 7px;
}

.product-detail-panel__notes li {
  padding: 10px 12px;
  border-radius: 0 13px 13px 0;
  font-size: 12px;
  line-height: 1.36;
}

.promo-fabrics,
.detail-features,
.product-detail-panel__placeholder {
  padding: 15px;
  border-radius: 20px;
  background: rgba(255,255,255,.66);
  box-shadow: 0 12px 28px rgba(0,0,0,.045);
}

.promo-fabrics h4,
.detail-features h4 {
  margin-bottom: 11px;
  font-size: 10px;
  letter-spacing: .15em;
}

.fabric-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fabric-swatch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 6px 10px 6px 7px;
  border: 1px solid rgba(33,28,24,.08);
  border-radius: 999px;
  background: rgba(255,255,255,.62);
  color: rgba(33,28,24,.78);
  font-size: 11px;
  line-height: 1;
  letter-spacing: .035em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72);
}

.fabric-swatch i {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,.38), transparent 34%),
    var(--swatch-color, #8a8178);
  border: 1px solid rgba(33,28,24,.12);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.17), 0 5px 12px rgba(0,0,0,.09);
}

.detail-features > div {
  grid-template-columns: 1fr;
  gap: 8px;
}

.detail-feature {
  min-height: 46px;
  padding: 8px 10px;
  border-radius: 15px;
  font-size: 11px;
  letter-spacing: .06em;
}

.detail-feature i {
  width: 32px;
  height: 32px;
  border-radius: 11px;
}

.detail-feature i svg {
  width: 21px;
  height: 21px;
  stroke-width: 1.7;
}

@media (max-width: 1120px) {
  .product-detail-panel {
    width: 100%;
  }
  .product-detail-panel__layout {
    grid-template-columns: 1fr;
  }
  .product-detail-panel__visuals {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .product-detail-panel {
    padding: 18px 14px;
  }
  .product-detail-panel__visuals {
    grid-template-columns: 1fr;
  }
  .product-detail-panel__visuals img {
    max-height: 250px;
  }
  .fabric-swatches {
    gap: 7px;
  }
}


/* PATCH 2026-04-29 v4 — bez podglądu produktu + dopracowany dropdown narożników */
.products-grid.is-detail-open .product-card,
.products-grid.is-detail-open .product-card:not(.is-hidden),
.products-grid.is-detail-open .product-card.is-active-detail {
  transform: none !important;
  opacity: 1 !important;
  filter: none !important;
}
.product-detail-panel { display: none !important; }

.nav-dropdown {
  width: 310px;
  padding: 10px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(30, 27, 23, .84), rgba(11, 10, 9, .76));
}

.primary-nav .nav-dropdown a {
  grid-template-columns: 48px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 64px;
  padding: 8px 10px;
  border-radius: 18px;
}

.primary-nav .nav-dropdown a:hover,
.primary-nav .nav-dropdown a:focus-visible {
  transform: translateX(2px);
  background: rgba(255,255,255,.075);
}

.nav-dropdown__icon {
  width: 44px;
  height: 44px;
  border-radius: 15px;
  border-color: rgba(255,255,255,.13);
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
  color: rgba(255,255,255,.88);
}

.nav-dropdown__icon svg {
  width: 25px;
  height: 25px;
  stroke-width: 1.55;
}

.nav-dropdown strong {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .055em;
}

.nav-dropdown small {
  max-width: 190px;
  overflow: hidden;
  color: rgba(255,255,255,.53);
  font-size: 10.5px;
  line-height: 1.25;
  white-space: nowrap;
  text-overflow: ellipsis;
}

@media (max-width: 1120px) {
  .nav-dropdown { width: auto; }
  .primary-nav .nav-dropdown a { grid-template-columns: 44px 1fr; min-height: 60px; }
}

/* PATCH 2026-04-29 v4 — podstrona produktu */
.product-page-body {
  min-height: 100vh;
  background: #f4f2ee;
  color: #211c18;
}

.product-topbar {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 4vw, 72px);
  background: rgba(18, 15, 13, .82);
  border-bottom: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
}

.product-topbar__brand img {
  width: 142px;
  height: auto;
  object-fit: contain;
}

.product-topbar__nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 999px;
  background: rgba(255,255,255,.055);
}

.product-topbar__nav a {
  padding: 10px 15px;
  border-radius: 999px;
  color: rgba(255,255,255,.82);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: background .22s var(--ease), color .22s var(--ease);
}

.product-topbar__nav a:hover,
.product-topbar__nav a:focus-visible {
  background: rgba(255,255,255,.09);
  color: #fff;
  outline: none;
}

.product-page {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(28px, 5vw, 70px) 0;
}

.product-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: rgba(33,28,24,.64);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.product-page__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, .92fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  margin-bottom: clamp(28px, 5vw, 62px);
}

.product-page__visual {
  overflow: hidden;
  border-radius: 38px;
  background: linear-gradient(135deg, #fff, #ebe7df);
  box-shadow: 0 36px 100px rgba(33,28,24,.13), inset 0 1px 0 rgba(255,255,255,.9);
}

.product-page__visual img {
  display: block;
  width: 100%;
  aspect-ratio: 1.18 / .78;
  object-fit: contain;
  padding: clamp(22px, 4vw, 48px);
}

.product-page__intro h1 {
  margin: 8px 0 14px;
  color: #211c18;
  font-size: clamp(48px, 8vw, 112px);
  font-weight: 300;
  line-height: .9;
  letter-spacing: -.06em;
  text-transform: uppercase;
}

.product-page__collection {
  margin: 0 0 18px;
  color: #b20f12;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.product-page__lead {
  max-width: 520px;
  margin: 0;
  color: rgba(33,28,24,.62);
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.6;
}

.product-page__details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.product-page__figure,
.product-page__box {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(33,28,24,.08);
  border-radius: 28px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 24px 70px rgba(33,28,24,.09), inset 0 1px 0 rgba(255,255,255,.85);
}

.product-page__figure img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  background: #fff;
}

.product-page__figure figcaption {
  padding: 13px 18px 15px;
  border-top: 1px solid rgba(33,28,24,.07);
  color: rgba(33,28,24,.55);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.product-page__info {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-page__box {
  padding: 22px;
}

.product-page__box h2,
.product-page__box h4,
.product-page__box .detail-features h4 {
  margin: 0 0 14px;
  color: #211c18;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.product-page__list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-page__list li {
  padding: 11px 13px;
  border-left: 2px solid rgba(178,15,18,.65);
  border-radius: 0 14px 14px 0;
  background: rgba(33,28,24,.035);
  color: rgba(33,28,24,.72);
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 960px) {
  .product-topbar { position: relative; align-items: flex-start; flex-direction: column; }
  .product-topbar__nav { width: 100%; overflow-x: auto; justify-content: flex-start; }
  .product-page__hero { grid-template-columns: 1fr; }
  .product-page__details { grid-template-columns: 1fr; }
  .product-page__info { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .product-page { width: min(100% - 28px, 1280px); }
  .product-page__visual { border-radius: 28px; }
  .product-page__intro h1 { font-size: clamp(42px, 15vw, 72px); }
  .product-page__figure,
  .product-page__box { border-radius: 22px; }
}


/* === FIX v7: natural HERO crossfade + Ken Burns ===
   Poprzedni slajd trzyma animację zoomu podczas wygaszania, więc zdjęcie nie wraca
   do pierwszego rozmiaru tuż przed zniknięciem. */
.hero__slide {
  --hero-zoom-start: 1.035;
  --hero-zoom-end: 1.18;
  transform: scale(var(--hero-zoom-start));
  transition: opacity 1650ms cubic-bezier(.22, .72, .18, 1);
}
.hero__slide.is-active {
  opacity: 1;
}
.hero__slide.is-animating {
  animation: heroKenBurnsZoom 7600ms cubic-bezier(.16, .84, .22, 1) forwards;
}
@keyframes heroKenBurnsZoom {
  from { transform: scale(var(--hero-zoom-start)); }
  to { transform: scale(var(--hero-zoom-end)); }
}
@media (max-width: 760px) {
  .hero__slide {
    --hero-zoom-start: 1.015;
    --hero-zoom-end: 1.06;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero__slide,
  .hero__slide.is-animating {
    animation: none !important;
    transform: none !important;
  }
}

/* PATCH v8 — tłumaczenia, flagi i SUPPORT */
.contact-bar .top-shell { position: relative; }
.language-switcher {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 90;
  transform: translate(-50%, -50%);
  color: #fff;
}
.language-switcher__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 28px;
  padding: 0 10px 0 8px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.065);
  color: rgba(255,255,255,.90);
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.055), 0 12px 30px rgba(0,0,0,.16);
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  transition: background .22s var(--ease), border-color .22s var(--ease), transform .22s var(--ease);
}
.language-switcher__toggle:hover,
.language-switcher.is-open .language-switcher__toggle {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.20);
}
.language-switcher__flag { font-size: 16px; line-height: 1; filter: drop-shadow(0 4px 8px rgba(0,0,0,.28)); }
.language-switcher__code {
  font-size: 11px;
  line-height: 1;
  letter-spacing: .08em;
  font-weight: 500;
}
.language-switcher__toggle svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .85;
  transition: transform .22s var(--ease);
}
.language-switcher.is-open .language-switcher__toggle svg { transform: rotate(180deg); }
.language-switcher__menu {
  position: absolute;
  top: calc(100% + 9px);
  left: 50%;
  width: 190px;
  padding: 8px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(28,23,19,.88), rgba(9,8,7,.78));
  box-shadow: 0 26px 70px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter: blur(18px) saturate(125%);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 8px) scale(.985);
  transition: opacity .22s var(--ease), visibility .22s var(--ease), transform .22s var(--ease);
}
.language-switcher.is-open .language-switcher__menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
}
.language-switcher__menu button {
  width: 100%;
  display: grid;
  grid-template-columns: 28px 34px 1fr;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 6px 8px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: rgba(255,255,255,.82);
  text-align: left;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.language-switcher__menu button:hover,
.language-switcher__menu button.is-active {
  background: rgba(255,255,255,.09);
  color: #fff;
  transform: translateX(2px);
}
.language-switcher__menu button > span { font-size: 17px; }
.language-switcher__menu strong { font-size: 11px; letter-spacing: .08em; }
.language-switcher__menu small { font-size: 11px; color: rgba(255,255,255,.58); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.primary-nav .nav-support,
.product-topbar__nav .nav-support {
  color: #ff8a2a !important;
  text-shadow: 0 3px 18px rgba(0,0,0,.72), 0 0 18px rgba(255,138,42,.16);
}
.primary-nav .nav-support:hover,
.product-topbar__nav .nav-support:hover {
  color: #ff9f45 !important;
  background: rgba(255,138,42,.10) !important;
}
.primary-nav .nav-item--support a::after { background: #ff8a2a; }

.product-topbar .language-switcher {
  position: static;
  transform: none;
  margin-inline: auto;
  flex: 0 0 auto;
}
.product-topbar .language-switcher__toggle { height: 34px; background: rgba(255,255,255,.075); }
.product-topbar .language-switcher__menu { z-index: 120; }

@media (max-width: 1120px) {
  .primary-nav .nav-item--support { display: block; }
  .primary-nav .nav-support { justify-content: flex-start; }
}

@media (max-width: 720px) {
  .contact-bar {
    display: block;
    height: 40px;
  }
  .contact-bar__left,
  .contact-bar .utility-nav {
    display: none;
  }
  .contact-bar .top-shell {
    justify-content: center;
  }
  .contact-bar .language-switcher {
    position: static;
    transform: none;
  }
  .language-switcher__menu {
    left: 50%;
    right: auto;
  }
  .product-topbar {
    align-items: stretch;
  }
  .product-topbar .language-switcher {
    order: 2;
    align-self: center;
    margin: 2px auto 0;
  }
  .product-topbar__nav { order: 3; }
}

/* PATCH v9 — poprawiony wybór języka: bez podwójnych kodów i z pełnym hoverem */
.contact-bar,
.contact-bar .top-shell,
.language-switcher {
  overflow: visible;
}
.contact-bar {
  position: relative;
  z-index: 140;
}
.contact-bar .top-shell {
  z-index: 141;
}
.language-switcher {
  z-index: 220;
  pointer-events: auto;
}
.language-switcher__toggle {
  gap: 8px;
  min-width: 50px;
  height: 30px;
  padding: 0 10px;
}
.language-switcher__code {
  display: none !important;
}
.language-switcher__flag {
  position: relative;
  display: inline-block !important;
  width: 24px;
  height: 16px;
  flex: 0 0 24px;
  border-radius: 3px;
  overflow: hidden;
  background: rgba(255,255,255,.18);
  box-shadow: 0 0 0 1px rgba(255,255,255,.20), 0 6px 14px rgba(0,0,0,.28);
  filter: none;
}
.language-switcher__flag--pl { background: linear-gradient(180deg, #ffffff 0 50%, #dc143c 50% 100%); }
.language-switcher__flag--de { background: linear-gradient(180deg, #000000 0 33.333%, #dd0000 33.333% 66.666%, #ffce00 66.666% 100%); }
.language-switcher__flag--uk { background: linear-gradient(180deg, #0057b7 0 50%, #ffd700 50% 100%); }
.language-switcher__flag--sk { background: linear-gradient(180deg, #ffffff 0 33.333%, #0b4ea2 33.333% 66.666%, #ee1c25 66.666% 100%); }
.language-switcher__flag--cs {
  background:
    linear-gradient(146deg, #11457e 0 38%, transparent 38% 100%),
    linear-gradient(180deg, #ffffff 0 50%, #d7141a 50% 100%);
}
.language-switcher__flag--en {
  background-color: #012169;
  background-image:
    linear-gradient(0deg, transparent 42%, #ffffff 42% 58%, transparent 58%),
    linear-gradient(90deg, transparent 42%, #ffffff 42% 58%, transparent 58%),
    linear-gradient(0deg, transparent 46%, #c8102e 46% 54%, transparent 54%),
    linear-gradient(90deg, transparent 46%, #c8102e 46% 54%, transparent 54%),
    linear-gradient(34deg, transparent 46%, #ffffff 46% 54%, transparent 54%),
    linear-gradient(-34deg, transparent 46%, #ffffff 46% 54%, transparent 54%),
    linear-gradient(34deg, transparent 48%, #c8102e 48% 52%, transparent 52%),
    linear-gradient(-34deg, transparent 48%, #c8102e 48% 52%, transparent 52%);
}
.language-switcher__flag--fr { background: linear-gradient(90deg, #0055a4 0 33.333%, #ffffff 33.333% 66.666%, #ef4135 66.666% 100%); }
.language-switcher__flag--ro { background: linear-gradient(90deg, #002b7f 0 33.333%, #fcd116 33.333% 66.666%, #ce1126 66.666% 100%); }
.language-switcher__flag--hu { background: linear-gradient(180deg, #ce2939 0 33.333%, #ffffff 33.333% 66.666%, #477050 66.666% 100%); }
.language-switcher__status {
  position: absolute;
  left: 50%;
  top: calc(100% + 8px);
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 132px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(18,15,13,.92);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 14px 32px rgba(0,0,0,.28);
  transform: translate(-50%, -4px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  z-index: 10000;
}
.language-switcher__status i {
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.28);
  border-top-color: #d3ad67;
  animation: gabiLangSpin .72s linear infinite;
}
.language-switcher.is-translating .language-switcher__status {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
@keyframes gabiLangSpin { to { transform: rotate(360deg); } }
.language-switcher__menu {
  z-index: 9999;
  width: 178px;
  padding: 9px;
  pointer-events: none;
}
.language-switcher.is-open .language-switcher__menu {
  pointer-events: auto;
}
.language-switcher__menu button {
  grid-template-columns: 30px 1fr;
  gap: 10px;
  min-height: 40px;
  padding: 7px 9px;
  position: relative;
  z-index: 1;
  pointer-events: auto;
}
.language-switcher__menu button strong {
  display: none !important;
}
.language-switcher__menu button:hover,
.language-switcher__menu button:focus-visible,
.language-switcher__menu button.is-active {
  background: rgba(255,255,255,.12);
  color: #fff;
  transform: translateX(2px);
  outline: none;
}
.language-switcher__menu small {
  font-size: 12px;
  color: rgba(255,255,255,.72);
}
.language-switcher__menu button:hover small,
.language-switcher__menu button:focus-visible small,
.language-switcher__menu button.is-active small {
  color: #fff;
}
.product-topbar .language-switcher__menu {
  z-index: 9999;
}


/* PATCH v10 — mobile menu bez rozwijanych strzałek + kliknięcie przewija do kategorii */
@media (max-width: 1120px) {
  .primary-nav .nav-item.has-dropdown > a svg {
    display: none !important;
  }

  .primary-nav .nav-item.has-dropdown > a {
    justify-content: flex-start !important;
    gap: 10px;
  }

  .primary-nav .nav-dropdown,
  .primary-nav .nav-item.has-dropdown.is-open .nav-dropdown,
  .primary-nav .nav-item.has-dropdown:hover .nav-dropdown,
  .primary-nav .nav-item.has-dropdown:focus-within .nav-dropdown {
    display: none !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}


/* Login/account icon */
.account-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 999px;
  color: rgba(255,255,255,.86);
  background: rgba(255,255,255,.05);
  transition: transform .22s var(--ease), background .22s var(--ease), color .22s var(--ease);
}
.account-link:hover { transform: translateY(-1px); background: rgba(255,255,255,.12); color: #fff; }
.account-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.product-page__description {
  margin: 22px 0 0;
  max-width: 620px;
  color: rgba(255,255,255,.72);
  line-height: 1.75;
  font-size: clamp(15px, 1vw, 17px);
}
.product-page__gallery {
  width: min(100% - 44px, 1380px);
  margin: clamp(24px, 5vw, 72px) auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 26px);
}
.product-page__gallery figure {
  margin: 0;
  min-height: 260px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 28px;
  background: rgba(255,255,255,.04);
  overflow: hidden;
}
.product-page__gallery img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  display: block;
  transition: transform .5s var(--ease);
}
.product-page__gallery figure:hover img { transform: scale(1.035); }
.product-page__text {
  color: rgba(255,255,255,.68);
  line-height: 1.7;
  margin: -4px 0 18px;
}
.detail-feature {
  align-items: flex-start;
}
.detail-feature i img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  display: block;
}
.detail-feature small {
  display: block;
  flex-basis: 100%;
  margin-left: 45px;
  margin-top: -10px;
  color: rgba(255,255,255,.54);
  line-height: 1.45;
  font-size: 12px;
}
.account-page {
  min-height: 100vh;
  padding: 120px 22px 60px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at top right, rgba(183,154,107,.22), transparent 36%),
    radial-gradient(circle at bottom left, rgba(180,23,22,.15), transparent 34%),
    #0b0908;
}
.account-card {
  width: min(460px, 100%);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 32px;
  background: rgba(255,255,255,.94);
  color: #17120f;
  padding: clamp(24px, 4vw, 42px);
  box-shadow: 0 30px 90px rgba(0,0,0,.35);
}
.account-card img { width: 148px; height: auto; object-fit: contain; margin-bottom: 22px; }
.account-card h1 { margin: 0 0 8px; font-weight: 300; font-size: 34px; }
.account-card p { color: #756b62; line-height: 1.6; }
.account-card label { display: grid; gap: 8px; margin: 14px 0; color: #5f554e; font-size: 13px; }
.account-card input {
  width: 100%;
  border: 1px solid #e6ded4;
  border-radius: 16px;
  padding: 13px 14px;
  font: inherit;
}
.account-card button,
.account-card .account-button {
  display: inline-flex;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  background: #b41716;
  color: #fff;
  cursor: pointer;
  margin-top: 8px;
}
.account-card .account-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.account-role {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: #f3eee7;
  color: #7a6242;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.account-prices {
  margin-top: 18px;
  padding: 16px;
  border-radius: 20px;
  background: #faf6ef;
  color: #5f554e;
  white-space: pre-wrap;
}
@media(max-width: 800px) {
  .product-page__gallery { grid-template-columns: 1fr; }
}

/* === FRONT 3.0: wstążki jak w panelu admina, bez stożków === */
.product-card__ribbon,
.product-card__ribbon--gold {
  position: absolute;
  top: 24px;
  right: -48px;
  z-index: 7;
  width: 186px;
  height: auto;
  min-height: 0;
  overflow: visible;
  transform: rotate(45deg);
  background: #c20f16;
  color: #fff;
  padding: 9px 12px;
  box-shadow: 0 14px 30px rgba(141,12,16,.18);
  pointer-events: none;
}
.product-card__ribbon::before,
.product-card__ribbon::after,
.product-card__ribbon--gold::before,
.product-card__ribbon--gold::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
}
.product-card__ribbon em,
.product-card__ribbon--gold em {
  position: static;
  display: block;
  width: auto;
  top: auto;
  right: auto;
  transform: none;
  text-align: center;
  white-space: nowrap;
  font-style: normal;
  font-size: 7.6px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: .08em;
  color: #fff;
  text-shadow: none;
}
.product-card__ribbon--gold {
  background: #b99a59;
  box-shadow: 0 14px 32px rgba(166,126,48,.25);
}
.product-card__ribbon--gold em {
  font-size: 7px;
  letter-spacing: .045em;
}
@media (max-width: 620px) {
  .product-card__ribbon,
  .product-card__ribbon--gold {
    top: 20px;
    right: -46px;
    width: 170px;
    padding: 8px 10px;
  }
  .product-card__ribbon em { font-size: 7px; }
  .product-card__ribbon--gold em { font-size: 6.4px; }
}

/* === FRONT V4: wstążki zamknięte w obrysie kafelka === */
.product-card {
  overflow: hidden;
}
.product-card__ribbon,
.product-card__ribbon--gold {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  z-index: 7 !important;
  width: 150px !important;
  height: 150px !important;
  min-height: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  transform: none !important;
  background: transparent !important;
  box-shadow: none !important;
  pointer-events: none !important;
}
.product-card__ribbon::before,
.product-card__ribbon::after,
.product-card__ribbon--gold::before,
.product-card__ribbon--gold::after {
  content: none !important;
  display: none !important;
}
.product-card__ribbon em,
.product-card__ribbon--gold em {
  position: absolute !important;
  top: 31px !important;
  right: -51px !important;
  width: 190px !important;
  display: block !important;
  padding: 9px 12px !important;
  transform: rotate(45deg) !important;
  background: #c20f16 !important;
  color: #fff !important;
  text-align: center !important;
  font-style: normal !important;
  font-size: 7.2px !important;
  line-height: 1.15 !important;
  font-weight: 800 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  text-shadow: none !important;
  box-shadow: 0 12px 30px rgba(141,12,16,.22) !important;
}
.product-card__ribbon--gold em {
  background: #b99a59 !important;
  font-size: 6.6px !important;
  letter-spacing: .045em !important;
  box-shadow: 0 12px 30px rgba(166,126,48,.28) !important;
}
@media (max-width: 620px) {
  .product-card__ribbon,
  .product-card__ribbon--gold { width: 132px !important; height: 132px !important; }
  .product-card__ribbon em,
  .product-card__ribbon--gold em { top: 27px !important; right: -54px !important; width: 178px !important; font-size: 6.4px !important; }
}


/* === FRONT V5 — real CMS save visibility + product page editorial / Wersal-inspired === */
.product-page-body {
  background: #f3f0eb;
  color: #211c18;
}
.product-page-body .site-header::before,
.product-site-header::before {
  height: 132px;
  background:
    linear-gradient(180deg, rgba(16,13,11,.88) 0%, rgba(16,13,11,.74) 54%, rgba(16,13,11,.28) 86%, rgba(16,13,11,0) 100%),
    linear-gradient(90deg, rgba(0,0,0,.16), rgba(0,0,0,0) 50%, rgba(0,0,0,.10));
}
.product-page-body .product-page {
  width: min(1280px, calc(100% - 44px));
  padding-top: calc(var(--header-h) + clamp(34px, 4vw, 62px));
  padding-bottom: clamp(54px, 8vw, 110px);
}
.product-page--editorial .product-back {
  margin-bottom: clamp(28px, 4vw, 54px);
}
.product-page--editorial .product-page__hero {
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, .94fr);
  gap: clamp(34px, 6vw, 86px);
  margin-bottom: clamp(46px, 7vw, 96px);
}
.product-page__visual--plain {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  overflow: visible;
}
.product-page__visual--plain img {
  padding: 0 !important;
  aspect-ratio: 1.18 / .72;
  filter: drop-shadow(0 34px 48px rgba(28,22,18,.13));
}
.product-page--editorial .section-kicker {
  margin: 0 0 14px;
  color: #c20f16;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .34em;
  text-transform: uppercase;
}
.product-page--editorial .product-page__intro h1 {
  margin: 0 0 14px;
  font-size: clamp(58px, 8.8vw, 124px);
  letter-spacing: -.07em;
  line-height: .86;
  font-weight: 200;
}
.product-page--editorial .product-page__collection {
  color: #c20f16;
  font-size: 11px;
  letter-spacing: .18em;
  font-weight: 500;
}
.product-page--editorial .product-page__lead,
.product-page--editorial .product-page__description {
  max-width: 620px;
  color: rgba(33,28,24,.62);
  font-size: clamp(15px, 1vw, 17px);
  line-height: 1.75;
}
.product-page--editorial .product-page__description {
  margin-top: 20px;
}
.product-page__dimensions-plain {
  width: min(100%, 920px);
  margin: clamp(20px, 4vw, 58px) auto clamp(42px, 7vw, 88px);
}
.product-page__dimensions-plain img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.product-page__section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.product-page__section-head h2,
.product-page__box--clean h2 {
  margin: 0;
  color: #211c18;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.product-page__photos {
  margin: clamp(28px, 5vw, 74px) 0 clamp(44px, 7vw, 92px);
}
.product-photo-arrows {
  display: inline-flex;
  gap: 8px;
}
.product-photo-arrows button {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(33,28,24,.14);
  border-radius: 50%;
  background: transparent;
  color: #211c18;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.product-photo-arrows button:hover { background: #211c18; color: #fff; transform: translateY(-1px); }
.product-photo-track {
  display: flex;
  gap: clamp(14px, 2vw, 28px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: thin;
}
.product-photo-track figure {
  flex: 0 0 min(720px, 76vw);
  margin: 0;
  scroll-snap-align: start;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.product-photo-track img {
  display: block;
  width: 100%;
  min-height: min(470px, 58vw);
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 28px 42px rgba(33,28,24,.10));
}
.product-page__soft-details {
  display: grid;
  grid-template-columns: 1.05fr .95fr 1fr;
  gap: clamp(24px, 4vw, 58px);
  align-items: start;
  border-top: 1px solid rgba(33,28,24,.10);
  padding-top: clamp(28px, 5vw, 58px);
}
.product-page__box--clean,
.product-page__box.product-page__box--clean {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}
.product-page__box--clean .product-page__text {
  color: rgba(33,28,24,.66);
  line-height: 1.75;
}
.product-page__box--clean .product-page__list {
  gap: 8px;
}
.product-page__box--clean .product-page__list li {
  padding: 9px 0 9px 14px;
  border-left: 1px solid rgba(194,15,22,.62);
  border-radius: 0;
  background: transparent;
  color: rgba(33,28,24,.64);
}
.fabric-swatches--clean,
.fabric-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.fabric-swatch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px 0 8px;
  border: 1px solid rgba(33,28,24,.10);
  border-radius: 999px;
  background: rgba(255,255,255,.34);
  color: rgba(33,28,24,.68);
  font-size: 11px;
}
.fabric-swatch i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--swatch-color, #8a8178);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.10);
}
.detail-features__grid {
  display: grid;
  gap: 10px;
}
.detail-feature--clean,
.detail-feature {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(33,28,24,.08);
  color: rgba(33,28,24,.70);
  background: transparent;
}
.detail-feature--clean i,
.detail-feature i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(194,15,22,.075);
  color: #c20f16;
}
.detail-feature--clean svg,
.detail-feature svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.detail-feature--clean i img,
.detail-feature i img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}
.detail-feature--clean small,
.detail-feature small {
  grid-column: 2;
  margin: -8px 0 0 !important;
  color: rgba(33,28,24,.52) !important;
}
@media (max-width: 980px) {
  .product-page--editorial .product-page__hero,
  .product-page__soft-details { grid-template-columns: 1fr; }
  .product-page-body .product-page { width: min(100% - 28px, 1280px); }
}
@media (max-width: 720px) {
  .product-page-body .product-page { padding-top: 168px; }
  .product-page--editorial .product-page__intro h1 { font-size: clamp(46px, 17vw, 74px); }
  .product-photo-track figure { flex-basis: 88vw; }
  .product-photo-track img { min-height: 260px; }
}


/* === FRONT V6 — podkategorie, produkt jak katalog premium i koszyk localStorage === */
.category-tabs { position: relative; }
.category-tab-wrap { position: relative; display: inline-flex; align-items: center; gap: 2px; }
.category-tab-wrap > .category-tab { padding-right: 9px; }
.category-subtoggle { width: 28px; height: 28px; border: 0; border-radius: 50%; background: transparent; color: #77706a; font-size: 16px; line-height: 1; cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease); }
.category-subtoggle:hover { background: rgba(178,15,18,.07); color: #b20f12; transform: translateY(-1px); }
.category-tab-wrap.is-open .category-subtoggle { transform: rotate(180deg); color: #b20f12; }
.category-submenu { position: absolute; top: calc(100% + 12px); left: 50%; transform: translate(-50%, 10px); z-index: 40; min-width: 190px; padding: 10px; border: 1px solid rgba(39,33,28,.10); border-radius: 18px; background: rgba(255,255,255,.94); box-shadow: 0 24px 70px rgba(39,33,28,.12); backdrop-filter: blur(16px); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s; }
.category-tab-wrap.is-open .category-submenu, .category-tab-wrap:hover .category-submenu { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.category-submenu::before { content: ''; position: absolute; top: -7px; left: 50%; width: 14px; height: 14px; transform: translateX(-50%) rotate(45deg); background: rgba(255,255,255,.94); border-left: 1px solid rgba(39,33,28,.10); border-top: 1px solid rgba(39,33,28,.10); }
.category-submenu .category-tab { display: block; width: 100%; text-align: left; padding: 12px 14px; border-radius: 12px; }
.category-submenu .category-tab::after { display: none; }
.category-submenu .category-tab:hover, .category-submenu .category-tab.is-active { background: rgba(178,15,18,.06); color: #b20f12; }
@media (max-width: 720px) { .category-tab-wrap { flex: 0 0 auto; } .category-submenu { left: 0; transform: translate(0,10px); } .category-tab-wrap.is-open .category-submenu, .category-tab-wrap:hover .category-submenu { transform: translate(0,0); } }

.product-page__photos--first { margin-top: clamp(20px, 5vw, 56px); }
.product-page__spec-row { grid-template-columns: minmax(220px, 1.15fr) minmax(190px, .9fr) minmax(210px, 1fr) minmax(210px, 1fr) !important; gap: clamp(22px, 3vw, 44px); align-items: start; }
.product-page__dimensions-plain--small { width: 100%; margin: 0 !important; align-self: start; }
.product-page__dimensions-plain--small img { max-height: 270px; width: 100%; object-fit: contain; object-position: left top; }
.product-page__box--clean h2 { margin-bottom: 18px; }
.product-page__buy { margin-top: clamp(42px, 7vw, 92px); padding: clamp(22px, 3vw, 34px) 0 0; border-top: 1px solid rgba(33,28,24,.12); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.product-page__buy span { display: block; color: rgba(33,28,24,.48); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; margin-bottom: 8px; }
.product-page__buy strong { color: #211c18; font-size: clamp(26px, 3vw, 42px); font-weight: 300; letter-spacing: -.04em; }
.product-page__cart-button { min-width: min(100%, 260px); height: 56px; border: 1px solid #211c18; border-radius: 999px; background: #211c18; color: #fff; text-transform: uppercase; letter-spacing: .18em; font-size: 11px; cursor: pointer; transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease); }
.product-page__cart-button:hover { transform: translateY(-2px); background: #b20f12; border-color: #b20f12; }
.product-page__cart-button.is-added { background: #2f6f45; border-color: #2f6f45; }
.cart-drawer { position: fixed; inset: 0; z-index: 220; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .24s var(--ease), visibility .24s; }
.cart-drawer.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.cart-drawer__backdrop { position: absolute; inset: 0; border: 0; background: rgba(22,18,15,.46); backdrop-filter: blur(8px); cursor: pointer; }
.cart-drawer__panel { position: absolute; top: 0; right: 0; width: min(440px, 92vw); height: 100%; padding: 38px 28px; background: #fbfaf7; box-shadow: -34px 0 90px rgba(18,14,12,.22); transform: translateX(22px); transition: transform .28s var(--ease); overflow-y: auto; }
.cart-drawer.is-open .cart-drawer__panel { transform: translateX(0); }
.cart-drawer__close { position: absolute; top: 18px; right: 18px; width: 38px; height: 38px; border: 1px solid rgba(33,28,24,.12); border-radius: 50%; background: transparent; font-size: 24px; cursor: pointer; }
.cart-drawer__panel h2 { margin: 6px 0 26px; font-size: 42px; font-weight: 240; letter-spacing: -.05em; }
.cart-drawer__items { display: grid; gap: 14px; }
.cart-drawer__item { display: grid; grid-template-columns: 86px 1fr 34px; gap: 14px; align-items: center; padding: 12px; border: 1px solid rgba(33,28,24,.08); border-radius: 18px; background: rgba(255,255,255,.72); }
.cart-drawer__item img { width: 86px; height: 62px; object-fit: contain; }
.cart-drawer__item strong { display: block; letter-spacing: .08em; text-transform: uppercase; font-size: 12px; }
.cart-drawer__item small, .cart-drawer__item span { display: block; color: rgba(33,28,24,.58); font-size: 12px; margin-top: 3px; }
.cart-drawer__item button { width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(178,15,18,.08); color: #b20f12; cursor: pointer; font-size: 18px; }
.cart-drawer__empty { display: none; color: rgba(33,28,24,.58); padding: 22px 0; }
.cart-drawer__empty.is-visible { display: block; }
.product-card { overflow: hidden !important; }
.product-card__ribbon, .product-card__ribbon--gold { top: 0 !important; right: 0 !important; width: 132px !important; height: 132px !important; overflow: hidden !important; filter: drop-shadow(0 18px 28px rgba(33,28,24,.10)); }
.product-card__ribbon::before, .product-card__ribbon--gold::before { border-width: 0 132px 132px 0 !important; }
.product-card__ribbon em, .product-card__ribbon--gold em { top: 26px !important; right: -47px !important; width: 170px !important; transform: rotate(45deg) !important; white-space: nowrap; }
@media (max-width: 1100px) { .product-page__spec-row { grid-template-columns: 1fr 1fr !important; } }
@media (max-width: 720px) { .product-page__spec-row { grid-template-columns: 1fr !important; } .product-page__buy { align-items: stretch; flex-direction: column; } .product-page__cart-button { width: 100%; } }
.admin-product-page-price { display: inline-flex; align-items: baseline; gap: 10px; margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(33,28,24,.12); }
.admin-product-page-price span { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: rgba(33,28,24,.48); }
.admin-product-page-price strong { font-size: 24px; font-weight: 300; color: #211c18; }
.category-row { grid-template-columns: 1fr 1.2fr 1fr auto; }


/* === V7 — podkategorie z MENU jako tekst pod kolekcjami + wstążki zamknięte w kafelku === */
.category-tabs--top { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: clamp(18px, 3vw, 40px); }
.category-subtabs { min-height: 34px; display: grid; place-items: center; margin: 12px 0 30px; }
.category-subtabs__group { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: clamp(14px, 2.2vw, 30px); animation: subcatsIn .28s var(--ease) both; }
.category-subtabs__group[hidden] { display: none !important; }
.category-tab--sub { border: 0 !important; background: transparent !important; padding: 0 0 6px !important; border-radius: 0 !important; color: rgba(33,28,24,.50) !important; font-size: 10px !important; letter-spacing: .24em !important; font-weight: 600 !important; text-transform: uppercase !important; box-shadow: none !important; }
.category-tab--sub::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: center; transition: transform .24s var(--ease); }
.category-tab--sub:hover, .category-tab--sub.is-active { color: #b20f12 !important; }
.category-tab--sub:hover::after, .category-tab--sub.is-active::after { transform: scaleX(1); }
@keyframes subcatsIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.category-tab-wrap, .category-subtoggle, .category-submenu { display: none !important; }

.product-card { position: relative !important; overflow: hidden !important; contain: paint; }
.product-card__ribbon, .product-card__ribbon--gold {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  width: 138px !important;
  height: 138px !important;
  overflow: hidden !important;
  filter: none !important;
  pointer-events: none !important;
  z-index: 5 !important;
}
.product-card__ribbon::before, .product-card__ribbon--gold::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  width: 190px !important;
  height: 32px !important;
  border: 0 !important;
  background: #c30f16 !important;
  transform: translate(50px, 23px) rotate(45deg) !important;
  transform-origin: center !important;
  box-shadow: 0 18px 34px rgba(33,28,24,.12) !important;
}
.product-card__ribbon--gold::before { background: #b99a58 !important; }
.product-card__ribbon::after, .product-card__ribbon--gold::after { display: none !important; }
.product-card__ribbon em, .product-card__ribbon--gold em {
  position: absolute !important;
  top: 29px !important;
  right: -38px !important;
  width: 148px !important;
  transform: rotate(45deg) !important;
  text-align: center !important;
  color: #fff !important;
  font-size: 6.7px !important;
  line-height: 1 !important;
  font-style: normal !important;
  font-weight: 800 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  z-index: 2 !important;
}
.product-card__ribbon--gold em { font-size: 5.9px !important; right: -42px !important; width: 158px !important; }
@media (max-width: 720px) { .category-subtabs { justify-content: flex-start; overflow-x: auto; place-items: start; } .category-subtabs__group { justify-content: flex-start; flex-wrap: nowrap; min-width: max-content; } }


/* === V9 — właściwości produktu jak ikony katalogowe, bez ramek === */
.product-page__box--clean.detail-features,
.product-page__box.detail-features { width: 100%; }
.detail-features__grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)) !important;
  gap: 30px 34px !important;
  align-items: start !important;
}
.detail-feature--clean,
.detail-feature {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 9px !important;
  padding: 0 !important;
  min-height: 96px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  text-align: center !important;
  box-shadow: none !important;
  color: #222 !important;
}
.detail-feature--clean i,
.detail-feature i {
  width: 54px !important;
  height: 54px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #222 !important;
}
.detail-feature--clean svg,
.detail-feature svg {
  width: 46px !important;
  height: 46px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.35 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}
.detail-feature--clean i img,
.detail-feature i img {
  width: 48px !important;
  height: 48px !important;
  object-fit: contain !important;
}
.detail-feature--clean > span,
.detail-feature > span {
  display: block !important;
  width: min(120px, 100%) !important;
  font-size: 11.5px !important;
  line-height: 1.35 !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  color: #111 !important;
  text-transform: none !important;
}
.detail-feature--clean small,
.detail-feature small { display: none !important; }
@media (min-width: 1101px) {
  .product-page__spec-row {
    grid-template-columns: minmax(170px, .72fr) minmax(190px, .92fr) minmax(220px, 1.05fr) minmax(260px, 1.28fr) !important;
  }
}

/* === V19 — INFERNO: opis produktowy, wybór tkaniny + strony do koszyka === */
.product-page__lead--long {
  max-width: 680px;
  color: rgba(33,28,24,.68);
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.85;
  letter-spacing: .01em;
}
.product-page__lead--long br { content: ''; display: block; margin: .55em 0; }
.popular-fabrics { min-width: 0; }
.popular-fabrics h2 {
  margin: 0 0 15px !important;
  color: #211c18;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
}
.popular-fabrics__family { display: grid; gap: 8px; margin-bottom: 18px; min-width: 0; }
.popular-fabrics__collection {
  margin: 0;
  color: #211c18;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.popular-fabrics__slider {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 22px;
  gap: 8px;
  align-items: center;
  min-width: 0;
}
.popular-fabrics__arrow {
  width: 22px;
  height: 54px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(33,28,24,.46);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: color .2s var(--ease), transform .2s var(--ease), opacity .2s var(--ease);
}
.popular-fabrics__arrow:hover { color: #b20f12; transform: translateY(-1px); }
.popular-fabrics__arrow:disabled { opacity: .24; cursor: default; transform: none; }
.popular-fabrics__rail {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 2px 0 8px;
  min-width: 0;
}
.popular-fabrics__rail::-webkit-scrollbar { display: none; }
.popular-fabric {
  position: relative;
  flex: 0 0 62px;
  width: 62px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #211c18;
  cursor: pointer;
  scroll-snap-align: start;
  text-align: center;
  appearance: none;
}
.popular-fabric__thumb {
  position: relative;
  display: block;
  width: 62px;
  height: 48px;
  border: 1px solid rgba(33,28,24,.10);
  background: #fff;
  overflow: hidden;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.popular-fabric__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.popular-fabric__caption {
  display: block;
  margin-top: 7px;
  color: rgba(33,28,24,.62);
  font-size: 8.5px;
  line-height: 1.1;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.popular-fabric__caption em {
  display: inline-flex;
  margin-left: 3px;
  padding: 1px 4px;
  border-radius: 999px;
  background: #d4141b;
  color: #fff;
  font-style: normal;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .05em;
  vertical-align: 1px;
}
.popular-fabric--hot::after {
  content: 'HOT';
  position: absolute;
  top: -4px;
  right: -4px;
  z-index: 2;
  padding: 3px 5px;
  border-radius: 999px;
  background: #d4141b;
  color: #fff;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .05em;
  box-shadow: 0 8px 18px rgba(212,20,27,.24);
}
.popular-fabric:hover .popular-fabric__thumb,
.popular-fabric:focus-visible .popular-fabric__thumb,
.popular-fabric.is-selected .popular-fabric__thumb {
  border-color: #b20f12;
  box-shadow: 0 0 0 2px rgba(178,15,18,.12), 0 12px 24px rgba(33,28,24,.10);
  transform: translateY(-1px);
}
.popular-fabric.is-selected .popular-fabric__caption { color: #b20f12; font-weight: 700; }
.product-side-choice {
  display: grid;
  gap: 10px;
  margin-top: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(33,28,24,.10);
}
.product-side-choice p {
  margin: 0;
  color: #211c18;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
}
.product-side-choice__buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.product-side-choice__buttons button {
  min-width: 76px;
  height: 34px;
  border: 1px solid rgba(33,28,24,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.42);
  color: rgba(33,28,24,.68);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.product-side-choice__buttons button:hover { transform: translateY(-1px); border-color: rgba(178,15,18,.38); color: #b20f12; }
.product-side-choice__buttons button.is-selected {
  background: #211c18;
  border-color: #211c18;
  color: #fff;
}
.product-selected-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 14px 0 0;
  color: rgba(33,28,24,.54);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.product-selected-summary strong { color: #211c18; font-weight: 700; }
.fabric-zoom-float {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9999;
  width: min(280px, calc(100vw - 36px));
  padding: 8px 8px 12px;
  border-radius: 18px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 26px 70px rgba(33,28,24,.22);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px) scale(.98);
  transition: opacity .15s var(--ease), transform .15s var(--ease), visibility .15s;
}
.fabric-zoom-float.is-visible { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.fabric-zoom-float img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}
.fabric-zoom-float strong {
  display: block;
  margin-top: 9px;
  color: #211c18;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  text-align: center;
  text-transform: uppercase;
}
@media (max-width: 1100px) {
  .popular-fabrics__slider { grid-template-columns: 24px minmax(0, 1fr) 24px; }
}
@media (max-width: 720px) {
  .popular-fabric { flex-basis: 68px; width: 68px; }
  .popular-fabric__thumb { width: 68px; height: 52px; }
  .fabric-zoom-float { width: min(250px, calc(100vw - 28px)); }
}

/* === V20 — INFERNO: minimalistyczna wymiarówka + slider zdjęcia/funkcji === */
.product-page__visual--carousel {
  position: relative;
  width: 100%;
  overflow: hidden !important;
  border-radius: 0 !important;
}
.product-hero-gallery__track {
  display: flex;
  width: 100%;
  transition: transform .42s cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}
.product-hero-gallery__slide {
  flex: 0 0 100%;
  width: 100%;
  margin: 0;
  display: grid;
  place-items: center;
}
.product-hero-gallery__slide img {
  display: block;
  width: 100%;
  aspect-ratio: 1.18 / .72;
  object-fit: contain;
  padding: 0 !important;
  filter: drop-shadow(0 34px 48px rgba(28,22,18,.13));
}
.product-hero-gallery__arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(33,28,24,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  color: #211c18;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 18px 46px rgba(33,28,24,.12);
  backdrop-filter: blur(10px);
  transform: translateY(-50%);
  transition: transform .2s cubic-bezier(.2,.8,.2,1), opacity .2s ease, background .2s ease;
}
.product-hero-gallery__arrow:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.04);
}
.product-hero-gallery__arrow:disabled {
  opacity: 0;
  pointer-events: none;
}
.product-hero-gallery__arrow--prev { left: 10px; }
.product-hero-gallery__arrow--next { right: 10px; }
.product-page__dimensions-plain--small img[src*="inferno-wymiary-techniczne"] {
  max-height: 240px;
  object-fit: contain;
  object-position: center;
}
@media (max-width: 720px) {
  .product-hero-gallery__arrow { width: 40px; height: 40px; font-size: 28px; }
  .product-hero-gallery__arrow--prev { left: 4px; }
  .product-hero-gallery__arrow--next { right: 4px; }
}

/* === V22 — INFERNO: techniczna wymiarówka większa + strzałka slidera bez cienia === */
.product-hero-gallery__arrow {
  width: 70px !important;
  height: 70px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  color: transparent !important;
  font-size: 0 !important;
  overflow: visible !important;
}
.product-hero-gallery__arrow::before,
.product-hero-gallery__arrow::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 22px;
  height: 22px;
  border-top: 7px solid #111;
  border-right: 7px solid #111;
  border-radius: 4px;
  transition: transform .2s cubic-bezier(.2,.8,.2,1), opacity .2s ease;
}
.product-hero-gallery__arrow--next::before { left: 16px; transform: translateY(-50%) rotate(45deg); }
.product-hero-gallery__arrow--next::after { left: 34px; transform: translateY(-50%) rotate(45deg); }
.product-hero-gallery__arrow--prev::before { right: 16px; transform: translateY(-50%) rotate(-135deg); }
.product-hero-gallery__arrow--prev::after { right: 34px; transform: translateY(-50%) rotate(-135deg); }
.product-hero-gallery__arrow:hover { background: transparent !important; box-shadow: none !important; }
.product-hero-gallery__arrow:hover::before,
.product-hero-gallery__arrow:hover::after { opacity: .72; }
.product-hero-gallery__arrow:disabled { opacity: 0 !important; pointer-events: none; }
.product-hero-gallery__slide img[src*="inferno-funkcja"] {
  filter: none !important;
}
.product-page__dimensions-plain--small {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  margin: 0 0 clamp(22px, 3vw, 42px) !important;
}
.product-page__dimensions-plain--small img[src*="inferno-wymiary-techniczne"] {
  display: block !important;
  width: min(100%, 1120px) !important;
  height: auto !important;
  max-height: none !important;
  margin: 0 auto !important;
  object-fit: contain !important;
  object-position: center !important;
  background: transparent !important;
}
@media (min-width: 1101px) {
  .product-page__spec-row {
    grid-template-columns: minmax(250px, 1fr) minmax(300px, 1.1fr) minmax(300px, 1.15fr) !important;
    row-gap: clamp(28px, 3vw, 52px) !important;
  }
}
@media (max-width: 720px) {
  .product-hero-gallery__arrow { width: 58px !important; height: 58px !important; }
  .product-hero-gallery__arrow::before,
  .product-hero-gallery__arrow::after { width: 17px; height: 17px; border-top-width: 5px; border-right-width: 5px; }
  .product-hero-gallery__arrow--next::before { left: 13px; }
  .product-hero-gallery__arrow--next::after { left: 27px; }
  .product-hero-gallery__arrow--prev::before { right: 13px; }
  .product-hero-gallery__arrow--prev::after { right: 27px; }
  .product-page__dimensions-plain--small img[src*="inferno-wymiary-techniczne"] { width: 100% !important; }
}


/* === V23 — INFERNO: właściwa wymiarówka z oryginalnego kształtu, bez tła i mniejsza === */
.product-page__dimensions-plain--small {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  margin: 0 0 clamp(18px, 2.6vw, 34px) !important;
}
.product-page__dimensions-plain--small img[src*="inferno-wymiary-techniczne"] {
  display: block !important;
  width: min(100%, 820px) !important;
  max-height: 430px !important;
  height: auto !important;
  margin: 0 auto !important;
  object-fit: contain !important;
  object-position: center !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  filter: none !important;
}
@media (min-width: 1101px) {
  .product-page__spec-row {
    row-gap: clamp(22px, 2.6vw, 40px) !important;
  }
}
@media (max-width: 720px) {
  .product-page__dimensions-plain--small img[src*="inferno-wymiary-techniczne"] {
    width: 100% !important;
    max-height: 320px !important;
  }
}

/* === V24 — INFERNO: wymiarówka jako 3. slajd + mniejszy tytuł produktu === */
.product-page--editorial .product-page__intro h1 {
  font-size: clamp(42px, 6.4vw, 86px) !important;
  line-height: .94 !important;
  letter-spacing: -.055em !important;
}
.product-hero-gallery__slide img[src*="inferno-wymiary-techniczne"] {
  width: min(84%, 620px) !important;
  max-height: 430px !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  filter: none !important;
  margin-inline: auto !important;
}
.product-hero-gallery__slide img[src*="inferno-funkcja"] {
  width: min(100%, 760px) !important;
  max-height: 520px !important;
  object-fit: contain !important;
  filter: none !important;
}
@media (max-width: 720px) {
  .product-page--editorial .product-page__intro h1 {
    font-size: clamp(40px, 13vw, 64px) !important;
  }
  .product-hero-gallery__slide img[src*="inferno-wymiary-techniczne"] {
    width: min(92%, 520px) !important;
    max-height: 320px !important;
  }
}

/* V25 — wybieralne warianty produktu i koszyk */
.product-side-choice__buttons button span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  margin-right: 7px;
  border-radius: 999px;
  border: 1px solid rgba(33,28,24,.18);
  color: transparent;
  font-size: 9px;
  line-height: 1;
  transform: translateY(-1px);
}
.product-side-choice__buttons button.is-selected span {
  border-color: rgba(255,255,255,.56);
  color: #fff;
}
.cart-drawer__item em {
  display: block;
  margin-top: 5px;
  color: rgba(178,15,18,.82);
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.popular-fabric.is-selected .popular-fabric__thumb::after {
  content: '✓';
  position: absolute;
  right: 5px;
  bottom: 5px;
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #211c18;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}


/* V33 — promocja produktu */
.product-card--promo .product-card__ribbon,
.product-card__ribbon--promo {
  top: 0 !important;
  right: 0 !important;
  width: 132px !important;
  height: 132px !important;
  overflow: hidden !important;
  filter: drop-shadow(0 16px 24px rgba(151, 22, 22, .16));
}
.product-card__ribbon--promo::before {
  border-width: 0 132px 132px 0 !important;
  border-color: transparent #c82020 transparent transparent !important;
  background: transparent !important;
}
.product-card__ribbon--promo::after { display: none !important; }
.product-card__ribbon--promo em {
  top: 27px !important;
  right: -42px !important;
  width: 158px !important;
  transform: rotate(45deg) !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #fff !important;
  font-weight: 800 !important;
  font-size: 7px !important;
  letter-spacing: .15em !important;
  text-transform: uppercase;
  white-space: nowrap;
}
.product-card__ribbon--promo b {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: rgba(255,255,255,.92);
  color: #c82020;
  font-size: 11px;
  letter-spacing: 0;
  line-height: 1;
}

.product-page__promo-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #c82020;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  box-shadow: 0 12px 28px rgba(200,32,32,.18);
}
.product-page__promo-badge b {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #fff;
  color: #c82020;
  display: inline-grid;
  place-items: center;
  font-size: 14px;
  letter-spacing: 0;
}

.product-page__buy {
  justify-content: flex-end;
}
.product-page__buy .product-page__cart-button {
  order: 1;
}
.product-page__buy .product-page__price-box {
  order: 2;
  min-width: 210px;
  text-align: right;
}
.product-page__buy--promo .product-page__price-box strong {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
}
.product-page__buy--promo .product-page__price-box del {
  color: rgba(33,28,24,.42);
  font-size: clamp(19px, 2vw, 28px);
  font-weight: 300;
  text-decoration-thickness: 1.5px;
}
.product-page__buy--promo .product-page__price-box em {
  color: #c82020;
  font-style: normal;
  font-size: clamp(27px, 3.2vw, 46px);
  font-weight: 500;
  letter-spacing: -.04em;
}

@media (max-width: 720px) {
  .product-page__buy { align-items: stretch; }
  .product-page__buy .product-page__price-box { text-align: left; min-width: 0; }
  .product-page__buy--promo .product-page__price-box strong { justify-content: flex-start; }
}

/* v34 — koszyk: cena + suma */
.cart-drawer__summary {
  margin-top: 18px;
  padding: 18px 0 4px;
  border-top: 1px solid rgba(33,28,24,.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.cart-drawer__summary[hidden] { display: none !important; }
.cart-drawer__summary span {
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(33,28,24,.56);
}
.cart-drawer__summary strong {
  font-size: 22px;
  letter-spacing: -.03em;
  color: #b20f12;
  text-align: right;
}
.cart-drawer__item .cart-drawer__line-total {
  margin-top: 5px;
  color: #b20f12;
  font-weight: 700;
}


/* v35 — rabaty stałego klienta w koszyku */
.product-page__client-price {
  display: grid !important;
  gap: 5px;
  justify-items: end;
  line-height: 1.15;
}
.product-page__client-price small {
  display: block;
  color: rgba(33,28,24,.58);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .04em;
  text-transform: none;
}
.product-page__client-price small.discount {
  color: #b20f12;
  font-weight: 700;
}
.product-page__client-price em {
  color: #b20f12;
  font-style: normal;
  font-size: clamp(24px, 2.8vw, 42px);
  font-weight: 500;
  letter-spacing: -.04em;
}
.cart-drawer__price-breakdown {
  display: grid;
  gap: 2px;
  margin-top: 4px;
}
.cart-drawer__price-breakdown small {
  margin: 0;
}
.cart-drawer__price-breakdown .discount {
  color: #b20f12;
  font-weight: 700;
}
.cart-drawer__price-breakdown .final {
  color: #211c18;
  font-weight: 800;
}
@media (max-width: 720px) {
  .product-page__client-price { justify-items: start; }
}


/* v36 — koszyk: wycentrowane X + rozbicie sumy regularnej/rabatów/finalnej */
.cart-drawer__close,
.cart-drawer__item button {
  display: inline-grid !important;
  place-items: center !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  padding: 0 !important;
  text-align: center !important;
}
.cart-drawer__item button {
  font-size: 18px !important;
  font-weight: 300;
}
.cart-drawer__close {
  font-size: 22px !important;
  font-weight: 300;
}
.cart-drawer__summary {
  display: block !important;
}
.cart-drawer__summary-rows {
  display: grid;
  gap: 8px;
  width: 100%;
}
.cart-drawer__summary-rows > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
}
.cart-drawer__summary-rows span {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(33,28,24,.48);
}
.cart-drawer__summary-rows strong {
  font-size: 15px;
  font-weight: 500;
  color: #211c18;
  text-align: right;
  white-space: nowrap;
}
.cart-drawer__summary-rows strong.discount {
  color: #b20f12;
}
.cart-drawer__summary-rows .final {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(33,28,24,.12);
}
.cart-drawer__summary-rows .final strong {
  font-size: 24px;
  color: #b20f12;
  letter-spacing: -.03em;
}
@media (max-width: 520px) {
  .cart-drawer__summary-rows > div { gap: 12px; }
  .cart-drawer__summary-rows span { font-size: 10px; letter-spacing: .14em; }
  .cart-drawer__summary-rows .final strong { font-size: 22px; }
}

/* v37 — logowanie z avatara + rabaty tylko dla zalogowanego klienta */
.account-link {
  border: 0;
  cursor: pointer;
  gap: 8px;
  padding: 0 10px;
  min-width: 34px;
  width: auto;
  font-family: inherit;
}
.account-link span {
  display: none;
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #fff;
  font-size: 11px;
  line-height: 1;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.account-link.is-logged {
  background: rgba(255,255,255,.16);
  color: #fff;
  border-color: rgba(255,255,255,.34);
}
.account-link.is-logged span { display: inline-block; }
.account-drawer {
  position: fixed;
  inset: 0;
  z-index: 230;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .24s var(--ease), visibility .24s;
}
.account-drawer.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.account-drawer__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(22,18,15,.34);
  backdrop-filter: blur(7px);
  cursor: pointer;
}
.account-drawer__panel {
  position: absolute;
  top: 74px;
  right: clamp(16px, 4vw, 70px);
  width: min(360px, calc(100vw - 32px));
  padding: 30px;
  border-radius: 30px;
  background: rgba(251,250,247,.96);
  border: 1px solid rgba(33,28,24,.10);
  box-shadow: 0 34px 90px rgba(18,14,12,.22);
  transform: translateY(-10px);
  transition: transform .28s var(--ease);
}
.account-drawer.is-open .account-drawer__panel { transform: translateY(0); }
.account-drawer__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(33,28,24,.12);
  border-radius: 50%;
  background: transparent;
  color: #211c18;
  font-size: 22px;
  line-height: 1;
  padding: 0;
  cursor: pointer;
}
.account-drawer__panel h2 {
  margin: 8px 0 24px;
  color: #211c18;
  font-size: 38px;
  font-weight: 240;
  letter-spacing: -.05em;
}
.account-drawer__form {
  display: grid;
  gap: 14px;
}
.account-drawer__form label {
  display: grid;
  gap: 8px;
}
.account-drawer__form label span,
.account-drawer__state span {
  color: rgba(33,28,24,.46);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.account-drawer__form input {
  width: 100%;
  height: 48px;
  border: 1px solid rgba(33,28,24,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  color: #211c18;
  padding: 0 18px;
  outline: none;
}
.account-drawer__form input:focus {
  border-color: rgba(178,15,18,.55);
  box-shadow: 0 0 0 4px rgba(178,15,18,.08);
}
.account-drawer__form button,
.account-drawer__logout {
  height: 48px;
  border: 1px solid #211c18;
  border-radius: 999px;
  background: #211c18;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 11px;
  cursor: pointer;
}
.account-drawer__form button:disabled { opacity: .55; cursor: progress; }
.account-drawer__message {
  min-height: 18px;
  margin: 0;
  color: #b20f12;
  font-size: 12px;
}
.account-drawer__state {
  display: grid;
  gap: 14px;
}
.account-drawer__state strong {
  color: #211c18;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.account-drawer__logout {
  background: transparent;
  color: #211c18;
}
@media (max-width: 720px) {
  .account-link.is-logged span { display: none; }
  .account-drawer__panel { top: 60px; right: 12px; }
}


/* v38 — panel użytkownika po zalogowaniu */
.account-drawer [hidden] {
  display: none !important;
}
.account-drawer__state--logged {
  padding-top: 4px;
}
.account-drawer__discount {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid rgba(33,28,24,.10);
  border-radius: 18px;
  background: rgba(255,255,255,.58);
  color: rgba(33,28,24,.58);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.account-drawer__discount b {
  display: block;
  margin-top: 5px;
  color: #b20f12;
  font-size: 18px;
  letter-spacing: .06em;
}
.account-drawer__admin-link {
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #b20f12;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 11px;
  box-shadow: 0 16px 35px rgba(178,15,18,.18);
}
.account-drawer__admin-link:hover {
  transform: translateY(-1px);
}
.account-drawer__state--logged + .account-drawer__form {
  display: none !important;
}

/* v40 — poprawka widoczności formularza logowania
   Formularz ma być ukryty dopiero wtedy, gdy faktycznie pokazuje się stan zalogowania. */
.account-drawer__state--logged[hidden] + .account-drawer__form {
  display: grid !important;
}
.account-drawer__state--logged:not([hidden]) + .account-drawer__form,
.account-drawer__state--logged:not([hidden]) + .account-drawer__form[hidden] {
  display: none !important;
}
.account-drawer__form.is-hidden-by-login {
  display: none !important;
}
.account-drawer__form.is-visible-before-login {
  display: grid !important;
}

/* v41 — premium mobile menu + klikalne obszary mebli na wizualizacjach hero */
.hero__slide {
  overflow: hidden;
}
.hero__slide:not(.is-active) .hero-hotspot {
  pointer-events: none;
  visibility: hidden;
}
.hero-hotspot {
  position: absolute;
  left: var(--hotspot-x, 0%);
  top: var(--hotspot-y, 0%);
  width: var(--hotspot-w, 18%);
  height: var(--hotspot-h, 12%);
  z-index: 5;
  display: block;
  border-radius: 24px;
  text-decoration: none;
  outline: none;
}
.hero-hotspot::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0);
  border-radius: inherit;
  background: rgba(255,255,255,0);
  transition: border-color .24s var(--ease), background .24s var(--ease), box-shadow .24s var(--ease);
}
.hero-hotspot__pulse {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 13px;
  height: 13px;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  background: #fff;
  box-shadow: 0 0 0 6px rgba(255,255,255,.18), 0 10px 26px rgba(0,0,0,.35);
  opacity: 0;
  transition: opacity .24s var(--ease), transform .24s var(--ease);
}
.hero-hotspot__pulse::after {
  content: '';
  position: absolute;
  inset: -10px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: inherit;
  animation: gabiHotspotPulse 1.8s ease-out infinite;
}
.hero-hotspot__card {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  min-width: 210px;
  max-width: min(280px, 72vw);
  padding: 13px 15px 14px;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(7,7,7,.88), rgba(20,16,14,.76));
  color: #fff;
  box-shadow: 0 24px 70px rgba(0,0,0,.44);
  backdrop-filter: blur(16px);
  transform: translate(-50%, 10px) scale(.96);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease);
}
.hero-hotspot__card::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 100%;
  width: 14px;
  height: 14px;
  transform: translate(-50%, -7px) rotate(45deg);
  background: rgba(13,11,10,.82);
  border-right: 1px solid rgba(255,255,255,.16);
  border-bottom: 1px solid rgba(255,255,255,.16);
}
.hero-hotspot__card strong,
.hero-hotspot__card small {
  display: block;
  position: relative;
  z-index: 1;
}
.hero-hotspot__card strong {
  font-size: 15px;
  line-height: 1.15;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero-hotspot__card small {
  margin-top: 7px;
  color: #ffb26a;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero-hotspot:hover::before,
.hero-hotspot:focus-visible::before {
  border-color: rgba(255,255,255,.50);
  background: rgba(255,255,255,.08);
  box-shadow: inset 0 0 38px rgba(255,255,255,.10), 0 18px 50px rgba(0,0,0,.28);
}
.hero-hotspot:hover .hero-hotspot__pulse,
.hero-hotspot:focus-visible .hero-hotspot__pulse {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.04);
}
.hero-hotspot:hover .hero-hotspot__card,
.hero-hotspot:focus-visible .hero-hotspot__card {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}
@keyframes gabiHotspotPulse {
  0% { opacity: .72; transform: scale(.72); }
  100% { opacity: 0; transform: scale(1.65); }
}
@media (max-width: 720px) {
  .hero-hotspot {
    border-radius: 18px;
  }
  .hero-hotspot__pulse {
    width: 11px;
    height: 11px;
  }
  .hero-hotspot__card {
    min-width: 176px;
    padding: 11px 12px 12px;
  }
  .hero-hotspot__card strong { font-size: 12px; }
  .hero-hotspot__card small { font-size: 9px; }
}

@media (max-width: 1120px) {
  body.menu-open {
    overflow: hidden;
  }
  body.menu-open::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(0,0,0,.42);
    backdrop-filter: blur(5px);
  }
  .site-header {
    z-index: 120;
  }
  .main-bar,
  .main-bar__inner,
  .brand,
  .menu-toggle,
  .language-switcher {
    position: relative;
    z-index: 150;
  }
  .brand {
    width: 104px;
    padding: 0;
    filter: drop-shadow(0 10px 22px rgba(0,0,0,.45));
  }
  .menu-toggle {
    width: 54px;
    height: 54px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    background: rgba(0,0,0,.34);
    box-shadow: 0 18px 45px rgba(0,0,0,.22);
    backdrop-filter: blur(12px);
  }
  .menu-toggle span {
    left: 15px;
    right: 15px;
    width: auto;
    height: 2px;
    background: #fff;
  }
  .menu-toggle span:nth-child(1) { top: 18px; }
  .menu-toggle span:nth-child(2) { top: 26px; }
  .menu-toggle span:nth-child(3) { top: 34px; }
  body.menu-open .menu-toggle span:nth-child(1),
  body.menu-open .menu-toggle span:nth-child(3) { top: 26px; }
  .primary-nav {
    position: fixed !important;
    top: 74px !important;
    left: 14px !important;
    right: 14px !important;
    width: auto !important;
    max-height: calc(100dvh - 92px);
    overflow-y: auto;
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 8px !important;
    padding: 82px 18px 20px !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    border-radius: 32px !important;
    background:
      radial-gradient(circle at 14% 0%, rgba(255,255,255,.10), rgba(255,255,255,0) 34%),
      linear-gradient(155deg, rgba(4,4,4,.96), rgba(14,12,11,.92) 56%, rgba(7,7,7,.97)) !important;
    box-shadow: 0 36px 100px rgba(0,0,0,.58), inset 0 1px 0 rgba(255,255,255,.08) !important;
    backdrop-filter: blur(22px) saturate(1.12);
    transform: translateY(-14px) scale(.985) !important;
    transform-origin: top center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 130 !important;
    transition: opacity .24s var(--ease), transform .24s var(--ease), visibility .24s var(--ease) !important;
  }
  body.menu-open .primary-nav {
    transform: translateY(0) scale(1) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
  .primary-nav::before {
    content: 'MENU';
    position: absolute;
    top: 28px;
    left: 132px;
    color: rgba(255,255,255,.48);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .34em;
  }
  .primary-nav .nav-item {
    display: block !important;
    width: 100%;
  }
  .primary-nav .nav-item > a,
  .primary-nav .nav-support {
    width: 100% !important;
    min-height: 58px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    padding: 0 18px !important;
    border: 1px solid rgba(255,255,255,.085) !important;
    border-radius: 18px !important;
    background: linear-gradient(135deg, rgba(255,255,255,.075), rgba(255,255,255,.025)) !important;
    color: rgba(255,255,255,.90) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: .11em !important;
    line-height: 1 !important;
    text-align: left !important;
    text-transform: uppercase !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.055);
  }
  .primary-nav .nav-item > a:hover,
  .primary-nav .nav-item > a:focus-visible,
  .primary-nav .nav-item > a:active {
    transform: none !important;
    background: linear-gradient(135deg, rgba(255,255,255,.13), rgba(255,255,255,.045)) !important;
    border-color: rgba(255,255,255,.18) !important;
    color: #fff !important;
  }
  .primary-nav .nav-item > a::after,
  .primary-nav .nav-dropdown {
    display: none !important;
  }
  .primary-nav .nav-item--support .nav-support {
    color: #ff9b41 !important;
    background: linear-gradient(135deg, rgba(255,138,42,.18), rgba(255,138,42,.055)) !important;
    border-color: rgba(255,138,42,.20) !important;
  }
}
@media (max-width: 720px) {
  .brand { width: 96px; }
  .primary-nav {
    top: 72px !important;
    left: 10px !important;
    right: 10px !important;
    max-height: calc(100dvh - 84px);
    padding: 74px 16px 18px !important;
    border-radius: 28px !important;
  }
  .primary-nav::before {
    left: 124px;
    top: 25px;
  }
  .primary-nav .nav-item > a,
  .primary-nav .nav-support {
    min-height: 56px !important;
    border-radius: 17px !important;
    font-size: 13px !important;
  }
}
.hero__shade,
.hero__bottom-mask {
  pointer-events: none;
}

/* v42 — FIX hotspotów hero: warstwy tekstu nie blokują hover/click + obsługa tap na telefonie */
.hero__content {
  pointer-events: none;
}
.hero__copy,
.hero__copy a,
.hero__cta,
.hero__dots,
.trust-bar,
.site-header {
  pointer-events: auto;
}
.hero__media,
.hero__slide {
  pointer-events: none;
}
.hero__slide.is-active .hero-hotspot {
  pointer-events: auto;
}
.hero-hotspot.is-touch-open::before {
  border-color: rgba(255,255,255,.50);
  background: rgba(255,255,255,.08);
  box-shadow: inset 0 0 38px rgba(255,255,255,.10), 0 18px 50px rgba(0,0,0,.28);
}
.hero-hotspot.is-touch-open .hero-hotspot__pulse {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.04);
}
.hero-hotspot.is-touch-open .hero-hotspot__card {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}
@media (max-width: 720px) {
  .hero-hotspot__card {
    bottom: auto;
    top: calc(100% + 10px);
  }
  .hero-hotspot__card::after {
    top: auto;
    bottom: 100%;
    transform: translate(-50%, 7px) rotate(45deg);
    border-right: 0;
    border-bottom: 0;
    border-left: 1px solid rgba(255,255,255,.16);
    border-top: 1px solid rgba(255,255,255,.16);
  }
}

/* v43 — hotspot bez ramki + wiśniowy punkt + lżejszy hero mobile */
:root {
  --gabi-cherry: #9b0f1f;
  --gabi-cherry-bright: #c0182c;
}

.hero-hotspot::before,
.hero-hotspot:hover::before,
.hero-hotspot:focus-visible::before,
.hero-hotspot.is-touch-open::before {
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
}

.hero-hotspot__pulse {
  opacity: .98 !important;
  background: radial-gradient(circle, var(--gabi-cherry-bright) 0 38%, var(--gabi-cherry) 39% 100%) !important;
  box-shadow:
    0 0 0 6px rgba(155, 15, 31, .18),
    0 0 24px rgba(192, 24, 44, .34),
    0 10px 26px rgba(0,0,0,.35) !important;
}

.hero-hotspot__pulse::after {
  border-color: rgba(192, 24, 44, .64) !important;
}

.hero-hotspot:hover .hero-hotspot__pulse,
.hero-hotspot:focus-visible .hero-hotspot__pulse,
.hero-hotspot.is-touch-open .hero-hotspot__pulse {
  opacity: 1 !important;
  transform: translate(-50%, -50%) scale(1.08) !important;
}

@media (max-width: 720px) {
  .hero {
    min-height: 690px !important;
    height: 100svh !important;
    max-height: 780px;
  }

  .hero__slide,
  .hero__slide.is-active,
  .hero__slide.is-animating {
    --hero-zoom-start: 1 !important;
    --hero-zoom-end: 1 !important;
    transform: scale(1) !important;
    animation: none !important;
  }

  .hero__slide img {
    object-fit: cover !important;
    object-position: center 58% !important;
  }

  .hero__shade {
    background:
      linear-gradient(90deg, rgba(0,0,0,.56), rgba(0,0,0,.24) 52%, rgba(0,0,0,.12)),
      linear-gradient(180deg, rgba(0,0,0,.32) 0%, rgba(0,0,0,.04) 44%, rgba(0,0,0,.42) 100%) !important;
  }

  .hero__content {
    align-items: flex-start !important;
    min-height: auto !important;
    padding-top: 166px !important;
    padding-bottom: 0 !important;
  }

  .hero__copy {
    width: min(350px, calc(100vw - 64px)) !important;
    margin-left: 12px !important;
    padding: 15px 17px 17px !important;
    color: #fff;
  }

  .hero__copy::before {
    inset: 0 !important;
    border-radius: 20px !important;
    border-left: 1px solid rgba(255,255,255,.10) !important;
    background: linear-gradient(135deg, rgba(0,0,0,.36), rgba(0,0,0,.16)) !important;
    box-shadow: 0 14px 36px rgba(0,0,0,.18), inset 1px 0 0 rgba(255,255,255,.035) !important;
    backdrop-filter: blur(1.5px) !important;
    -webkit-backdrop-filter: blur(1.5px) !important;
  }

  .hero__kicker {
    margin-bottom: 10px !important;
    font-size: 9px !important;
    letter-spacing: .30em !important;
  }

  .hero h1 {
    font-size: clamp(27px, 7.1vw, 35px) !important;
    line-height: 1.04 !important;
    letter-spacing: -.02em !important;
  }

  .hero__lead {
    max-width: 29ch !important;
    margin-top: 12px !important;
    font-size: 14px !important;
    line-height: 1.42 !important;
  }

  .hero__cta {
    min-height: 43px !important;
    margin-top: 17px !important;
    padding: 0 17px !important;
    gap: 14px !important;
    font-size: 10.5px !important;
    letter-spacing: .065em !important;
  }

  .hero__cta span:last-child {
    font-size: 15px !important;
  }

  .hero__dots {
    bottom: 226px !important;
  }
}

@media (max-width: 420px) {
  .hero {
    min-height: 665px !important;
  }

  .hero__content {
    padding-top: 154px !important;
  }

  .hero__copy {
    width: min(320px, calc(100vw - 52px)) !important;
    margin-left: 8px !important;
    padding: 14px 15px 16px !important;
  }

  .hero h1 {
    font-size: clamp(25px, 7.6vw, 31px) !important;
  }

  .hero__lead {
    font-size: 13.5px !important;
  }

  .hero__cta {
    min-height: 41px !important;
    margin-top: 15px !important;
  }
}

/* v44 — mobile hero jako pełna wizualizacja: obraz bez cropowania + tekst poza meblem */
@media (max-width: 720px) {
  .hero {
    --mobile-hero-offset: 104px;
    --mobile-hero-image-h: calc(100vw / var(--active-slide-ratio, 1.77778));
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    padding-top: var(--mobile-hero-offset) !important;
    overflow: hidden !important;
    background: radial-gradient(circle at 50% 0%, rgba(255,255,255,.07), rgba(255,255,255,0) 34%), #0b0908 !important;
  }

  .hero__media {
    position: relative !important;
    inset: auto !important;
    z-index: 1 !important;
    width: 100% !important;
    height: var(--mobile-hero-image-h) !important;
    min-height: 258px !important;
    max-height: 410px !important;
    aspect-ratio: var(--active-slide-ratio, 1.77778) !important;
    overflow: hidden !important;
    background: #0b0908 !important;
    box-shadow: 0 18px 48px rgba(0,0,0,.34) !important;
  }

  .hero__slide,
  .hero__slide.is-active,
  .hero__slide.is-animating {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    transform: none !important;
    animation: none !important;
    --hero-zoom-start: 1 !important;
    --hero-zoom-end: 1 !important;
  }

  .hero__slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    transform: none !important;
  }

  .hero__shade,
  .hero__bottom-mask {
    display: none !important;
  }

  .hero__content {
    position: relative !important;
    z-index: 4 !important;
    min-height: 0 !important;
    height: auto !important;
    display: block !important;
    padding: 16px 16px 18px !important;
    pointer-events: none !important;
  }

  .hero__copy {
    width: 100% !important;
    max-width: 460px !important;
    margin: 0 auto !important;
    padding: 16px 17px 17px !important;
    color: #fff !important;
    pointer-events: auto !important;
  }

  .hero__copy::before {
    inset: 0 !important;
    border-radius: 22px !important;
    border: 1px solid rgba(255,255,255,.10) !important;
    background: linear-gradient(145deg, rgba(10,8,7,.76), rgba(20,16,14,.50)) !important;
    box-shadow: 0 16px 40px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.05) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
  }

  .hero__kicker {
    margin: 0 0 8px !important;
    font-size: 8.5px !important;
    letter-spacing: .34em !important;
    color: rgba(255,255,255,.72) !important;
  }

  .hero h1 {
    font-size: clamp(24px, 6.6vw, 31px) !important;
    line-height: 1.02 !important;
    letter-spacing: -.025em !important;
    text-shadow: 0 10px 28px rgba(0,0,0,.55) !important;
  }

  .hero h1 br {
    display: none !important;
  }

  .hero__lead {
    max-width: none !important;
    margin-top: 10px !important;
    font-size: 13px !important;
    line-height: 1.38 !important;
    color: rgba(255,255,255,.82) !important;
  }

  .hero__cta {
    min-height: 40px !important;
    margin-top: 14px !important;
    padding: 0 16px !important;
    gap: 13px !important;
    font-size: 10px !important;
    letter-spacing: .075em !important;
  }

  .hero__cta span:last-child {
    font-size: 14px !important;
  }

  .hero__dots {
    z-index: 6 !important;
    top: calc(var(--mobile-hero-offset) + var(--mobile-hero-image-h) - 24px) !important;
    bottom: auto !important;
    gap: 7px !important;
  }

  .hero__dots button {
    width: 7px !important;
    height: 7px !important;
    background: rgba(255,255,255,.70) !important;
  }

  .hero__dots button.is-active {
    width: 25px !important;
    background: var(--gabi-cherry-bright, #c0182c) !important;
  }

  .hero-hotspot {
    z-index: 7 !important;
  }

  .hero-hotspot__pulse {
    width: 11px !important;
    height: 11px !important;
  }

  .hero-hotspot__card {
    min-width: 168px !important;
    max-width: min(220px, 74vw) !important;
    padding: 10px 11px 11px !important;
    border-radius: 15px !important;
  }

  .hero-hotspot__card strong {
    font-size: 11px !important;
    letter-spacing: .10em !important;
  }

  .hero-hotspot__card small {
    margin-top: 6px !important;
    font-size: 8px !important;
    letter-spacing: .13em !important;
  }

  .trust-bar {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    z-index: 3 !important;
    min-height: 0 !important;
    margin-top: 0 !important;
    background: linear-gradient(180deg, rgba(18,14,12,.80), rgba(9,7,6,.96)) !important;
    backdrop-filter: blur(8px) !important;
  }

  .trust-shell {
    min-height: 0 !important;
  }
}

@media (max-width: 420px) {
  .hero {
    --mobile-hero-offset: 98px;
  }

  .hero__media {
    min-height: 238px !important;
  }

  .hero__content {
    padding: 13px 12px 16px !important;
  }

  .hero__copy {
    padding: 14px 14px 15px !important;
  }

  .hero__lead {
    font-size: 12.5px !important;
  }
}

/* v45 — mobile: osobny czarny pasek dla logo/menu + tooltip hotspotu nad kropkami */
@media (max-width: 720px) {
  :root {
    --gabi-mobile-header-h: 138px;
  }

  .site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: var(--gabi-mobile-header-h) !important;
    z-index: 90 !important;
    background:
      radial-gradient(circle at 50% -30%, rgba(255,255,255,.075), rgba(255,255,255,0) 42%),
      linear-gradient(180deg, rgba(8,8,8,.98), rgba(5,5,5,.96)) !important;
    border-bottom: 1px solid rgba(255,255,255,.07) !important;
    box-shadow: 0 14px 34px rgba(0,0,0,.24) !important;
    overflow: visible !important;
  }

  .site-header::before {
    height: 100% !important;
    background: transparent !important;
  }

  .contact-bar {
    height: 42px !important;
    background: transparent !important;
    border-bottom: 1px solid rgba(255,255,255,.06) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .contact-bar .top-shell {
    width: 100% !important;
    height: 100% !important;
    padding-inline: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .contact-bar__left,
  .utility-nav {
    display: none !important;
  }

  .contact-bar .language-switcher {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    margin: 0 auto !important;
    z-index: 96 !important;
  }

  .main-bar {
    height: calc(var(--gabi-mobile-header-h) - 42px) !important;
    background: transparent !important;
  }

  .main-bar__inner {
    width: 100% !important;
    height: 100% !important;
    padding: 0 22px !important;
    align-items: center !important;
  }

  .brand {
    width: 112px !important;
    max-height: 64px !important;
    margin: 0 !important;
    align-self: center !important;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,.38)) !important;
  }

  .brand img {
    max-height: 64px !important;
    object-fit: contain !important;
  }

  .menu-toggle {
    width: 58px !important;
    height: 58px !important;
    align-self: center !important;
    margin: 0 !important;
    border-color: rgba(255,255,255,.20) !important;
    background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025)) !important;
    box-shadow: 0 16px 35px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.08) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
  }

  .menu-toggle span {
    left: 17px !important;
    right: 17px !important;
  }

  .menu-toggle span:nth-child(1) { top: 19px !important; }
  .menu-toggle span:nth-child(2) { top: 28px !important; }
  .menu-toggle span:nth-child(3) { top: 37px !important; }
  body.menu-open .menu-toggle span:nth-child(1),
  body.menu-open .menu-toggle span:nth-child(3) { top: 28px !important; }

  .primary-nav {
    top: calc(var(--gabi-mobile-header-h) + 10px) !important;
    z-index: 95 !important;
  }

  .hero {
    --mobile-hero-offset: var(--gabi-mobile-header-h) !important;
    padding-top: var(--mobile-hero-offset) !important;
  }

  .hero__media {
    z-index: 12 !important;
    overflow: visible !important;
    background: #050505 !important;
    box-shadow: 0 16px 42px rgba(0,0,0,.36) !important;
  }

  .hero__slide {
    overflow: visible !important;
  }

  .hero__slide img {
    object-fit: contain !important;
    object-position: center center !important;
    background: #050505 !important;
  }

  .hero__dots {
    top: calc(var(--mobile-hero-offset) + var(--mobile-hero-image-h) + 10px) !important;
    bottom: auto !important;
    z-index: 5 !important;
  }

  .hero__content {
    z-index: 4 !important;
    padding-top: 34px !important;
  }

  .hero-hotspot {
    z-index: 30 !important;
  }

  .hero-hotspot__pulse {
    z-index: 2 !important;
  }

  .hero-hotspot__card {
    top: 50% !important;
    bottom: auto !important;
    left: 50% !important;
    z-index: 60 !important;
    min-width: 178px !important;
    max-width: min(240px, 78vw) !important;
    padding: 11px 13px 12px !important;
    border-radius: 16px !important;
    transform: translate(-50%, calc(-100% - 20px)) scale(.96) !important;
  }

  .hero-hotspot:hover .hero-hotspot__card,
  .hero-hotspot:focus-visible .hero-hotspot__card,
  .hero-hotspot.is-touch-open .hero-hotspot__card {
    opacity: 1 !important;
    transform: translate(-50%, calc(-100% - 26px)) scale(1) !important;
  }

  .hero-hotspot__card::after {
    top: 100% !important;
    bottom: auto !important;
    transform: translate(-50%, -7px) rotate(45deg) !important;
    border-left: 0 !important;
    border-top: 0 !important;
    border-right: 1px solid rgba(255,255,255,.16) !important;
    border-bottom: 1px solid rgba(255,255,255,.16) !important;
  }
}

@media (max-width: 420px) {
  :root {
    --gabi-mobile-header-h: 132px;
  }

  .main-bar__inner {
    padding-inline: 20px !important;
  }

  .brand {
    width: 106px !important;
  }

  .menu-toggle {
    width: 56px !important;
    height: 56px !important;
  }
}

/* v46 — mobile: mniejszy topbar na wizualizacji + większy kadr hero + czytelne podkategorie kolekcji */
@media (max-width: 720px) {
  :root {
    --gabi-mobile-header-h: 92px;
  }

  .site-header {
    height: var(--gabi-mobile-header-h) !important;
    background:
      linear-gradient(180deg, rgba(5,5,5,.78) 0%, rgba(5,5,5,.42) 52%, rgba(5,5,5,0) 100%) !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
  }

  .contact-bar {
    height: 34px !important;
    border-bottom: 0 !important;
    background: transparent !important;
  }

  .contact-bar .top-shell {
    padding-inline: 10px !important;
  }

  .contact-bar .language-switcher {
    min-height: 30px !important;
    padding: 5px 10px !important;
    border-color: rgba(255,255,255,.16) !important;
    background: rgba(10,10,10,.46) !important;
    box-shadow: 0 8px 20px rgba(0,0,0,.22) !important;
    backdrop-filter: blur(10px) saturate(115%) !important;
    -webkit-backdrop-filter: blur(10px) saturate(115%) !important;
  }

  .main-bar {
    height: calc(var(--gabi-mobile-header-h) - 34px) !important;
  }

  .main-bar__inner {
    padding: 0 18px !important;
  }

  .brand {
    width: 94px !important;
    max-height: 48px !important;
    filter: drop-shadow(0 8px 18px rgba(0,0,0,.55)) !important;
  }

  .brand img {
    max-height: 48px !important;
  }

  .menu-toggle {
    width: 48px !important;
    height: 48px !important;
    border-color: rgba(255,255,255,.24) !important;
    background: rgba(10,10,10,.44) !important;
    box-shadow: 0 12px 26px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.10) !important;
    backdrop-filter: blur(10px) saturate(115%) !important;
    -webkit-backdrop-filter: blur(10px) saturate(115%) !important;
  }

  .menu-toggle span {
    left: 14px !important;
    right: 14px !important;
    height: 2px !important;
  }

  .menu-toggle span:nth-child(1) { top: 15px !important; }
  .menu-toggle span:nth-child(2) { top: 23px !important; }
  .menu-toggle span:nth-child(3) { top: 31px !important; }
  body.menu-open .menu-toggle span:nth-child(1),
  body.menu-open .menu-toggle span:nth-child(3) { top: 23px !important; }

  .primary-nav {
    top: calc(var(--gabi-mobile-header-h) + 8px) !important;
  }

  .hero {
    --mobile-hero-offset: 0px !important;
    --mobile-hero-image-h: clamp(315px, 73vw, 455px) !important;
    padding-top: 0 !important;
  }

  .hero__media {
    height: var(--mobile-hero-image-h) !important;
    min-height: 315px !important;
    max-height: 455px !important;
    aspect-ratio: auto !important;
    overflow: hidden !important;
    background: #080706 !important;
    box-shadow: 0 18px 44px rgba(0,0,0,.34) !important;
  }

  .hero__media::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background:
      linear-gradient(180deg, rgba(0,0,0,.30) 0%, rgba(0,0,0,.05) 38%, rgba(0,0,0,0) 100%),
      linear-gradient(90deg, rgba(0,0,0,.18), rgba(0,0,0,0) 26%, rgba(0,0,0,0) 74%, rgba(0,0,0,.18));
  }

  .hero__slide,
  .hero__slide.is-active,
  .hero__slide.is-animating {
    overflow: hidden !important;
  }

  .hero__slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    transform: scale(1.08) !important;
    transform-origin: center center !important;
    background: #080706 !important;
  }

  .hero__dots {
    top: calc(var(--mobile-hero-image-h) - 22px) !important;
    bottom: auto !important;
    z-index: 12 !important;
  }

  .hero__content {
    padding-top: 22px !important;
  }

  .hero__copy {
    padding: 18px 17px 18px !important;
  }

  .hero__kicker {
    margin-bottom: 12px !important;
  }

  .hero h1 {
    font-size: clamp(27px, 6.4vw, 34px) !important;
    line-height: 1.12 !important;
    letter-spacing: -.03em !important;
  }

  .hero h1 br {
    display: block !important;
  }

  .hero h1 span {
    display: block !important;
    margin-top: 7px !important;
  }

  .hero__lead {
    margin-top: 15px !important;
    line-height: 1.52 !important;
  }

  .hero__cta {
    margin-top: 18px !important;
  }

  .hero-hotspot {
    z-index: 20 !important;
  }

  .hero-hotspot__card {
    z-index: 40 !important;
    transform: translate(-50%, calc(-100% - 24px)) scale(.96) !important;
  }

  .hero-hotspot:hover .hero-hotspot__card,
  .hero-hotspot:focus-visible .hero-hotspot__card,
  .hero-hotspot.is-touch-open .hero-hotspot__card {
    transform: translate(-50%, calc(-100% - 32px)) scale(1) !important;
  }
}

@media (max-width: 420px) {
  :root {
    --gabi-mobile-header-h: 86px;
  }

  .contact-bar {
    height: 31px !important;
  }

  .main-bar {
    height: calc(var(--gabi-mobile-header-h) - 31px) !important;
  }

  .main-bar__inner {
    padding-inline: 16px !important;
  }

  .brand {
    width: 88px !important;
    max-height: 44px !important;
  }

  .brand img {
    max-height: 44px !important;
  }

  .menu-toggle {
    width: 46px !important;
    height: 46px !important;
  }

  .hero {
    --mobile-hero-image-h: clamp(300px, 76vw, 405px) !important;
  }

  .hero__media {
    min-height: 300px !important;
    max-height: 405px !important;
  }

  .hero__copy {
    padding: 17px 15px 17px !important;
  }

  .hero h1 {
    font-size: clamp(25px, 7.1vw, 31px) !important;
  }
}

.products-shell:has(.category-subtabs__group:not([hidden])) .category-tabs--top .category-tab {
  opacity: .34;
  filter: grayscale(.55);
  transform: scale(.98);
  transition: opacity .22s var(--ease), filter .22s var(--ease), transform .22s var(--ease), color .22s var(--ease), background .22s var(--ease);
}

.products-shell:has(.category-subtabs__group:not([hidden])) .category-tabs--top .category-tab.is-active {
  opacity: .56;
  filter: grayscale(.2);
}

.products-shell:has(.category-subtabs__group:not([hidden])) .category-tabs--top .category-tab:hover,
.products-shell:has(.category-subtabs__group:not([hidden])) .category-tabs--top .category-tab:focus-visible {
  opacity: 1;
  filter: none;
  transform: translateY(-1px) scale(1);
  color: #b20f12;
  background: rgba(178,15,18,.06);
}

.products-shell:has(.category-subtabs__group:not([hidden])) .category-subtabs {
  position: relative;
  z-index: 2;
}

.products-shell:has(.category-subtabs__group:not([hidden])) .category-subtabs__group {
  padding: 10px 14px 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.72));
  box-shadow: 0 16px 42px rgba(33,28,24,.08), inset 0 1px 0 rgba(255,255,255,.8);
}

.products-shell:has(.category-subtabs__group:not([hidden])) .category-tab--sub {
  opacity: 1 !important;
  filter: none !important;
  color: rgba(33,28,24,.88) !important;
  transform: none !important;
}

.products-shell:has(.category-subtabs__group:not([hidden])) .category-tab--sub:hover,
.products-shell:has(.category-subtabs__group:not([hidden])) .category-tab--sub.is-active {
  color: #b20f12 !important;
}

@media (max-width: 720px) {
  .products-shell:has(.category-subtabs__group:not([hidden])) .category-subtabs__group {
    border-radius: 18px;
    padding: 10px 12px;
  }
}

/* v47 — kolekcje: bez białej chmurki podkategorii i bez czerwonych kafelków na hover */
.products-shell:has(.category-subtabs__group:not([hidden])) .category-subtabs__group {
  padding: 4px 0 10px !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.products-shell:has(.category-subtabs__group:not([hidden])) .category-tab--sub,
.products-shell:has(.category-subtabs__group:not([hidden])) .category-tab--sub:hover,
.products-shell:has(.category-subtabs__group:not([hidden])) .category-tab--sub:focus-visible,
.products-shell:has(.category-subtabs__group:not([hidden])) .category-tab--sub.is-active {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.products-shell:has(.category-subtabs__group:not([hidden])) .category-tabs--top .category-tab,
.products-shell:has(.category-subtabs__group:not([hidden])) .category-tabs--top .category-tab:hover,
.products-shell:has(.category-subtabs__group:not([hidden])) .category-tabs--top .category-tab:focus-visible,
.products-shell:has(.category-subtabs__group:not([hidden])) .category-tabs--top .category-tab.is-active {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.products-shell:has(.category-subtabs__group:not([hidden])) .category-tabs--top:has(.category-tab:hover) .category-tab {
  opacity: .62 !important;
  filter: none !important;
  color: #171411 !important;
  transform: none !important;
}

.products-shell:has(.category-subtabs__group:not([hidden])) .category-tabs--top:has(.category-tab:hover) .category-tab::after {
  background: #171411 !important;
  opacity: 0 !important;
}

.products-shell:has(.category-subtabs__group:not([hidden])) .category-tabs--top:has(.category-tab:hover) .category-tab:hover,
.products-shell:has(.category-subtabs__group:not([hidden])) .category-tabs--top:has(.category-tab:hover) .category-tab:focus-visible {
  opacity: 1 !important;
  color: #070605 !important;
  transform: translateY(-1px) !important;
}

.products-shell:has(.category-subtabs__group:not([hidden])) .category-tabs--top:has(.category-tab:hover) .category-tab:hover::after,
.products-shell:has(.category-subtabs__group:not([hidden])) .category-tabs--top:has(.category-tab:hover) .category-tab:focus-visible::after {
  left: 5px !important;
  right: 5px !important;
  opacity: 1 !important;
}

@media (max-width: 720px) {
  .products-shell:has(.category-subtabs__group:not([hidden])) .category-subtabs__group {
    padding: 2px 0 8px !important;
  }
}

/* v49 — inteligentny topbar po dojściu do KOLEKCJI */
.site-header .brand,
.site-header .brand img,
.site-header .main-bar,
.site-header .primary-nav,
.site-header .primary-nav .nav-item,
.site-header .menu-toggle {
  transition: width .28s var(--ease), height .28s var(--ease), max-width .28s var(--ease), opacity .22s var(--ease), transform .28s var(--ease), padding .28s var(--ease), gap .28s var(--ease), background .28s var(--ease), box-shadow .28s var(--ease) !important;
}

@media (min-width: 1121px) {
  .site-header.is-collection-mode::before {
    height: 92px !important;
    background:
      linear-gradient(180deg, rgba(0,0,0,.46) 0%, rgba(0,0,0,.20) 58%, rgba(0,0,0,0) 100%),
      linear-gradient(90deg, rgba(0,0,0,.12), rgba(0,0,0,0) 55%) !important;
  }
  .site-header.is-collection-mode .contact-bar {
    height: 30px !important;
    background: rgba(0,0,0,.22) !important;
  }
  .site-header.is-collection-mode .main-bar {
    height: 66px !important;
  }
  .site-header.is-collection-mode .main-bar__inner {
    align-items: center !important;
    padding-top: 0 !important;
  }
  .site-header.is-collection-mode .brand {
    width: clamp(58px, 3.6vw, 78px) !important;
    transform: translateY(-1px) !important;
  }
  .site-header.is-collection-mode .primary-nav {
    padding-top: 0 !important;
    gap: clamp(12px, 1.15vw, 22px) !important;
  }
  .site-header .primary-nav .nav-item {
    max-width: 260px;
    overflow: visible;
  }
  .site-header.is-collection-mode .primary-nav .nav-item:not(.nav-item--about):not(.nav-item--support) {
    max-width: 0 !important;
    opacity: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
    transform: translateY(-7px) scale(.94) !important;
  }
  .site-header.is-collection-mode .primary-nav .nav-item--about,
  .site-header.is-collection-mode .primary-nav .nav-item--support {
    max-width: 170px !important;
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
  }
  .site-header.is-collection-mode .primary-nav .nav-item--about > a,
  .site-header.is-collection-mode .primary-nav .nav-item--support > a {
    color: rgba(255,255,255,.92) !important;
  }
}

@media (max-width: 1120px) {
  body.menu-open .site-header.is-collection-mode .primary-nav .nav-item:not(.nav-item--about):not(.nav-item--support) {
    display: none !important;
  }
  .site-header.is-collection-mode .brand {
    width: 82px !important;
    max-height: 44px !important;
  }
  .site-header.is-collection-mode .brand img {
    max-height: 44px !important;
  }
  .site-header.is-collection-mode .menu-toggle {
    width: 44px !important;
    height: 44px !important;
  }
  .site-header.is-collection-mode .menu-toggle span:nth-child(1) { top: 13px !important; }
  .site-header.is-collection-mode .menu-toggle span:nth-child(2) { top: 21px !important; }
  .site-header.is-collection-mode .menu-toggle span:nth-child(3) { top: 29px !important; }
  body.menu-open .site-header.is-collection-mode .menu-toggle span:nth-child(1),
  body.menu-open .site-header.is-collection-mode .menu-toggle span:nth-child(3) { top: 21px !important; }
}

@media (max-width: 720px) {
  .site-header.is-collection-mode {
    height: 78px !important;
    background: linear-gradient(180deg, rgba(5,5,5,.55) 0%, rgba(5,5,5,.18) 62%, rgba(5,5,5,0) 100%) !important;
  }
  .site-header.is-collection-mode .contact-bar {
    height: 30px !important;
  }
  .site-header.is-collection-mode .main-bar {
    height: 48px !important;
  }
  .site-header.is-collection-mode .main-bar__inner {
    padding-inline: 16px !important;
  }
  .site-header.is-collection-mode .brand {
    width: 78px !important;
    max-height: 40px !important;
  }
  .site-header.is-collection-mode .brand img {
    max-height: 40px !important;
  }
  .site-header.is-collection-mode .menu-toggle {
    width: 42px !important;
    height: 42px !important;
    background: rgba(10,10,10,.38) !important;
  }
  .site-header.is-collection-mode .menu-toggle span {
    left: 13px !important;
    right: 13px !important;
  }
  .site-header.is-collection-mode .menu-toggle span:nth-child(1) { top: 12px !important; }
  .site-header.is-collection-mode .menu-toggle span:nth-child(2) { top: 20px !important; }
  .site-header.is-collection-mode .menu-toggle span:nth-child(3) { top: 28px !important; }
  body.menu-open .site-header.is-collection-mode .menu-toggle span:nth-child(1),
  body.menu-open .site-header.is-collection-mode .menu-toggle span:nth-child(3) { top: 20px !important; }
  .site-header.is-collection-mode .primary-nav {
    top: 84px !important;
    padding-top: 48px !important;
  }
  .site-header.is-collection-mode .primary-nav::before {
    top: 22px !important;
    left: 24px !important;
    content: 'MENU SKRÓCONE' !important;
  }
}

/* v53 — panel użytkownika z danymi zamówienia i zgodami */
.account-drawer__admin-link--user {
  background: #b20f12;
}
.account-drawer__admin-link--admin {
  background: #211c18;
  box-shadow: 0 16px 35px rgba(33,28,24,.14);
}
.account-page--wide {
  place-items: start center;
  padding: 72px 18px 60px;
  background:
    radial-gradient(circle at 12% 8%, rgba(178,15,18,.16), transparent 30%),
    radial-gradient(circle at 82% 0%, rgba(201,176,132,.20), transparent 35%),
    linear-gradient(135deg, #100c0a, #211914 48%, #0b0908);
}
.account-card--panel {
  width: min(1080px, 100%);
  border-radius: 34px;
  padding: clamp(22px, 3vw, 38px);
  background: rgba(255,255,255,.965);
}
.account-panel-head {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  margin-bottom: 24px;
}
.account-panel-head img {
  width: 160px;
  margin: 0;
}
.account-panel-head h1 {
  margin-top: 10px;
  font-size: clamp(34px, 5vw, 58px);
  letter-spacing: -.06em;
}
.account-panel-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 24px;
}
.account-panel-summary article {
  padding: 17px 18px;
  border: 1px solid rgba(33,28,24,.09);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.82), rgba(247,244,238,.82));
}
.account-panel-summary article span {
  display: block;
  color: rgba(33,28,24,.45);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.account-panel-summary article strong {
  display: block;
  margin-top: 6px;
  color: #211c18;
  font-size: 20px;
  line-height: 1.35;
}
.account-panel-summary__wide { grid-column: 1 / -1; }
.account-alert {
  margin: 16px 0;
  padding: 14px 16px;
  border-radius: 18px;
  font-size: 14px;
}
.account-alert--success {
  background: rgba(43,126,84,.10);
  border: 1px solid rgba(43,126,84,.22);
  color: #236d49;
}
.account-alert--error {
  background: rgba(178,15,18,.08);
  border: 1px solid rgba(178,15,18,.20);
  color: #9d1114;
}
.checkout-profile-form {
  display: grid;
  gap: 18px;
}
.checkout-type-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 18px;
  border: 1px solid rgba(33,28,24,.08);
  border-radius: 24px;
  background: #fbfaf7;
}
.checkout-type-row label,
.consent-line {
  display: inline-flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  color: #211c18;
  font-size: 15px;
}
.checkout-type-row input,
.consent-line input {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  accent-color: #b20f12;
}
.checkout-required-note,
.checkout-phone-note {
  margin: 0 0 -4px;
  color: rgba(33,28,24,.72);
  font-size: 13px;
}
.invoice-warning {
  padding: 18px 20px;
  border: 1px solid #f0bc00;
  border-left-width: 5px;
  border-radius: 16px;
  background: rgba(255,248,220,.72);
}
.invoice-warning strong {
  display: block;
  color: #211c18;
  font-size: 15px;
}
.invoice-warning p {
  margin: 8px 0 0;
  color: #3b342e;
}
.checkout-grid {
  display: grid;
  grid-template-columns: 1.25fr .72fr .54fr;
  gap: 14px;
}
.checkout-grid .field {
  position: relative;
  display: grid;
  gap: 0;
  margin: 0;
}
.checkout-grid .field span {
  position: absolute;
  top: -7px;
  left: 14px;
  z-index: 1;
  padding: 0 5px;
  background: rgba(255,255,255,.96);
  color: rgba(33,28,24,.72);
  font-size: 10px;
}
.checkout-grid .field input,
.checkout-grid .field select,
.account-login-form-page input {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(33,28,24,.24);
  border-radius: 4px;
  background: #fff;
  padding: 13px 15px;
  color: #211c18;
  font: inherit;
}
.checkout-grid .field input:focus,
.checkout-grid .field select:focus,
.account-login-form-page input:focus {
  outline: none;
  border-color: #b20f12;
  box-shadow: 0 0 0 4px rgba(178,15,18,.08);
}
.checkout-grid .field--full { grid-column: 1 / span 2; }
.checkout-grid .field--street { grid-column: 1 / span 1; }
.checkout-grid .field--zip { grid-column: 1 / span 1; }
.checkout-grid .field--city { grid-column: 2 / span 1; }
.checkout-grid .field--prefix { grid-column: 1 / span 1; }
.checkout-grid .field--phone { grid-column: 2 / span 1; }
.consent-box {
  margin-top: 8px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(33,28,24,.12);
  border-radius: 22px;
  background: #fff;
}
.consent-box h2 {
  margin: 0 0 18px;
  color: #211c18;
  font-size: 20px;
  letter-spacing: -.02em;
}
.consent-box .consent-line {
  display: flex;
  margin: 14px 0;
  line-height: 1.45;
}
.consent-box .consent-line--all {
  font-weight: 700;
}
.consent-box p {
  margin: 18px 0 0;
  color: #2f2823;
  font-size: 14px;
  line-height: 1.7;
}
.consent-box small {
  display: block;
  margin-top: 12px;
  color: rgba(33,28,24,.64);
}
.account-actions--sticky {
  position: sticky;
  bottom: 14px;
  z-index: 3;
  justify-content: flex-end;
  padding: 12px;
  border: 1px solid rgba(33,28,24,.08);
  border-radius: 24px;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(12px);
}
.account-card .account-button--light {
  background: #f1ece5;
  color: #211c18;
}
.account-card .account-button--outline {
  background: transparent;
  border: 1px solid #211c18;
  color: #211c18;
}
.account-login-form-page {
  display: grid;
  gap: 14px;
  max-width: 440px;
}
.account-login-form-page label {
  display: grid;
  gap: 8px;
  margin: 0;
}
.account-login-form-page button {
  justify-self: start;
}
@media (max-width: 760px) {
  .account-page--wide { padding-top: 34px; }
  .account-panel-head { grid-template-columns: 1fr; gap: 16px; }
  .account-panel-head img { width: 136px; }
  .account-panel-summary { grid-template-columns: 1fr; }
  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-grid .field,
  .checkout-grid .field--full,
  .checkout-grid .field--street,
  .checkout-grid .field--zip,
  .checkout-grid .field--city,
  .checkout-grid .field--prefix,
  .checkout-grid .field--phone { grid-column: 1 / -1; }
  .checkout-type-row { gap: 12px; }
  .account-actions--sticky { position: static; justify-content: stretch; }
  .account-actions--sticky > * { flex: 1 1 100%; }
}

/* v54 — przywrócenie eleganckiego menu po scrollu do KOLEKCJI */
/* v50 — zwinięte menu przy KOLEKCJACH: logo + 2 pozycje w jednej eleganckiej belce */
@media (min-width: 1121px) {
  .site-header.is-collection-mode::before {
    height: 96px !important;
    background:
      linear-gradient(180deg, rgba(0,0,0,.36) 0%, rgba(0,0,0,.16) 62%, rgba(0,0,0,0) 100%) !important;
  }

  .site-header.is-collection-mode .contact-bar {
    height: 28px !important;
    background: transparent !important;
  }

  .site-header.is-collection-mode .main-bar {
    height: 66px !important;
  }

  .site-header.is-collection-mode .main-bar__inner {
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 0 !important;
    padding-top: 0 !important;
  }

  .site-header.is-collection-mode .brand {
    width: 118px !important;
    height: 54px !important;
    max-height: 54px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px 16px 8px 18px !important;
    margin: 18px -1px 0 0 !important;
    border: 1px solid rgba(255,255,255,.135) !important;
    border-right: 0 !important;
    border-radius: 999px 0 0 999px !important;
    background:
      linear-gradient(180deg, rgba(32,25,20,.38), rgba(13,10,8,.25)) !important;
    box-shadow: 0 18px 54px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.06) !important;
    backdrop-filter: blur(14px) saturate(116%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(116%) !important;
    transform: none !important;
  }

  .site-header.is-collection-mode .brand img {
    width: 100% !important;
    max-height: 38px !important;
    object-fit: contain !important;
  }

  .site-header.is-collection-mode .primary-nav {
    height: 54px !important;
    min-height: 54px !important;
    width: auto !important;
    max-width: none !important;
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 4px !important;
    margin: 18px 0 0 0 !important;
    padding: 8px 14px 8px 8px !important;
    border: 1px solid rgba(255,255,255,.135) !important;
    border-left: 0 !important;
    border-radius: 0 999px 999px 0 !important;
    background:
      linear-gradient(180deg, rgba(32,25,20,.38), rgba(13,10,8,.25)) !important;
    box-shadow: 0 18px 54px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.06) !important;
    backdrop-filter: blur(14px) saturate(116%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(116%) !important;
    overflow: visible !important;
    transform: none !important;
  }

  .site-header.is-collection-mode .primary-nav .nav-item:not(.nav-item--about):not(.nav-item--support) {
    display: none !important;
  }

  .site-header.is-collection-mode .primary-nav .nav-item--about,
  .site-header.is-collection-mode .primary-nav .nav-item--support {
    display: flex !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    overflow: visible !important;
    transform: none !important;
  }

  .site-header.is-collection-mode .primary-nav .nav-item--about > a,
  .site-header.is-collection-mode .primary-nav .nav-item--support > a,
  .site-header.is-collection-mode .primary-nav .nav-support {
    min-height: 36px !important;
    padding: 0 14px !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: rgba(255,255,255,.90) !important;
    text-shadow: 0 3px 18px rgba(0,0,0,.74), 0 1px 2px rgba(0,0,0,.55) !important;
    letter-spacing: .04em !important;
    transform: none !important;
  }

  .site-header.is-collection-mode .primary-nav .nav-item--about > a:hover,
  .site-header.is-collection-mode .primary-nav .nav-item--about:focus-within > a {
    background: rgba(255,255,255,.075) !important;
    color: #fff !important;
  }

  .site-header.is-collection-mode .primary-nav .nav-item--support > a:hover,
  .site-header.is-collection-mode .primary-nav .nav-item--support:focus-within > a,
  .site-header.is-collection-mode .primary-nav .nav-support:hover {
    background: rgba(255,138,42,.11) !important;
    color: #ff9f45 !important;
  }

  .site-header.is-collection-mode .primary-nav .nav-item > a::after,
  .site-header.is-collection-mode .primary-nav .nav-support::after {
    bottom: 6px !important;
  }
}

/* v51 — płynne dosuwanie menu po scrollu do KOLEKCJI */
@media (min-width: 1121px) {
  @keyframes gabiNavDockFromRight {
    0% {
      opacity: .58;
      transform: translateX(clamp(220px, 42vw, 680px)) scale(1.018);
      filter: blur(2px);
      box-shadow: 0 26px 70px rgba(0,0,0,.08), inset 0 1px 0 rgba(255,255,255,.03);
    }
    44% {
      opacity: .96;
      filter: blur(.4px);
    }
    72% {
      transform: translateX(-8px) scale(1);
    }
    100% {
      opacity: 1;
      transform: translateX(0) scale(1);
      filter: blur(0);
    }
  }

  @keyframes gabiLogoDockPulse {
    0% {
      opacity: .88;
      transform: translateX(clamp(18px, 2.8vw, 46px)) scale(.92);
      filter: drop-shadow(0 10px 20px rgba(0,0,0,.42));
    }
    56% {
      opacity: 1;
      transform: translateX(-6px) scale(1.035);
    }
    100% {
      transform: translateX(0) scale(1);
      filter: drop-shadow(0 14px 28px rgba(0,0,0,.45));
    }
  }

  @keyframes gabiDockItemsSoftIn {
    0% {
      opacity: 0;
      transform: translateX(16px);
    }
    58% { opacity: 0; }
    100% {
      opacity: 1;
      transform: translateX(0);
    }
  }

  .site-header.is-collection-mode .brand {
    animation: gabiLogoDockPulse .72s cubic-bezier(.16,1,.3,1) both !important;
    will-change: transform, opacity, filter !important;
  }

  .site-header.is-collection-mode .primary-nav {
    animation: gabiNavDockFromRight .82s cubic-bezier(.16,1,.3,1) both !important;
    will-change: transform, opacity, filter !important;
    transform-origin: left center !important;
  }

  .site-header.is-collection-mode .primary-nav .nav-item--about,
  .site-header.is-collection-mode .primary-nav .nav-item--support {
    animation: gabiDockItemsSoftIn .72s cubic-bezier(.16,1,.3,1) both !important;
  }

  .site-header.is-collection-mode .primary-nav .nav-item--support {
    animation-delay: .045s !important;
  }

  .site-header:not(.is-collection-mode) .brand,
  .site-header:not(.is-collection-mode) .primary-nav,
  .site-header:not(.is-collection-mode) .primary-nav .nav-item {
    animation: none !important;
  }

  @media (prefers-reduced-motion: reduce) {
    .site-header.is-collection-mode .brand,
    .site-header.is-collection-mode .primary-nav,
    .site-header.is-collection-mode .primary-nav .nav-item--about,
    .site-header.is-collection-mode .primary-nav .nav-item--support {
      animation: none !important;
    }
  }
}


/* === GABI Room Visualizer / favorites === */
.product-card{position:relative}
.product-favorite{position:absolute;top:14px;right:14px;z-index:6;width:42px;height:42px;border:1px solid rgba(255,255,255,.7);border-radius:999px;background:rgba(255,255,255,.84);backdrop-filter:blur(10px);color:#1d1914;font-size:23px;line-height:1;display:grid;place-items:center;cursor:pointer;box-shadow:0 14px 32px rgba(0,0,0,.12);transition:.2s ease}
.product-favorite:hover,.product-favorite.is-active{transform:translateY(-1px) scale(1.04);background:#1d1914;color:#d7b56d;border-color:#1d1914}
.favorites-bar{position:fixed;right:22px;bottom:22px;z-index:90;font-family:inherit}
.favorites-bar__toggle{border:0;border-radius:999px;background:#17120d;color:#d7b56d;box-shadow:0 24px 60px rgba(0,0,0,.28);height:58px;min-width:72px;padding:0 20px;font-size:21px;cursor:pointer}
.favorites-bar__toggle span{display:inline-grid;place-items:center;min-width:24px;height:24px;margin-left:5px;border-radius:999px;background:#d7b56d;color:#17120d;font-size:13px;font-weight:800}
.favorites-bar__panel{position:absolute;right:0;bottom:72px;width:min(360px,calc(100vw - 34px));background:#fff;border:1px solid rgba(34,28,21,.12);box-shadow:0 24px 70px rgba(0,0,0,.24);border-radius:22px;padding:18px;opacity:0;pointer-events:none;transform:translateY(10px);transition:.2s ease}
.favorites-bar.is-open .favorites-bar__panel{opacity:1;pointer-events:auto;transform:translateY(0)}
.favorites-bar__panel>strong{display:block;margin-bottom:12px;text-transform:uppercase;letter-spacing:.12em;font-size:12px;color:#7b6c5d}
.favorites-bar__item{display:grid;grid-template-columns:54px 1fr 28px;gap:12px;align-items:center;padding:9px 0;border-top:1px solid rgba(34,28,21,.08)}
.favorites-bar__item:first-of-type{border-top:0}
.favorites-bar__item img{width:54px;height:44px;object-fit:cover;border-radius:12px;background:#eee}
.favorites-bar__item b{display:block;font-size:14px;color:#1e1913}
.favorites-bar__item small{display:block;font-size:12px;color:#8a7d6f}.favorites-bar__item button{border:0;background:#f2eee8;border-radius:999px;width:26px;height:26px;cursor:pointer}
.favorites-bar__visualize{display:flex;align-items:center;justify-content:center;margin-top:14px;min-height:46px;border-radius:999px;background:#1d1914;color:#fff;text-decoration:none;font-weight:800;font-size:12px;letter-spacing:.12em;text-align:center;padding:0 16px}
.favorites-bar__visualize.is-disabled{background:#d8d2c9;color:#6f655b;pointer-events:none}
.product-page__main-actions{display:grid;gap:12px}.product-page__favorite,.product-page__room-button{border:1px solid rgba(29,25,20,.16);border-radius:999px;min-height:50px;display:flex;align-items:center;justify-content:center;text-decoration:none;font-weight:800;letter-spacing:.08em;background:#fff;color:#1d1914;padding:0 18px;cursor:pointer;text-align:center}.product-page__favorite.is-active,.product-page__room-button{background:#1d1914;color:#d7b56d;border-color:#1d1914}
.room-visualizer-page{background:#f6f3ed;color:#1e1916;min-height:100vh}.room-topbar{height:82px;padding:0 clamp(18px,3vw,42px);display:grid;grid-template-columns:auto 1fr auto;gap:18px;align-items:center;background:#fff;border-bottom:1px solid rgba(34,28,21,.1);position:sticky;top:0;z-index:20}.room-topbar__brand img{height:44px;width:auto}.room-topbar div strong{display:block;text-transform:uppercase;letter-spacing:.1em}.room-topbar div span{color:#8a7d6f;font-size:13px}.room-topbar>a:last-child{color:#1d1914;text-decoration:none;font-weight:800}.room-visualizer{display:grid;grid-template-columns:minmax(300px,390px) 1fr;gap:18px;padding:18px;min-height:calc(100vh - 82px)}.room-visualizer__steps{display:grid;gap:12px;align-content:start}.room-step{display:grid;grid-template-columns:42px 1fr;gap:14px;background:#fff;border:1px solid rgba(34,28,21,.1);border-radius:22px;padding:16px;box-shadow:0 16px 42px rgba(40,30,20,.06)}.room-step>b{width:42px;height:42px;border-radius:999px;background:#17120d;color:#d7b56d;display:grid;place-items:center}.room-step h2{margin:0 0 6px;font-size:17px}.room-step p{margin:0 0 12px;color:#766a5e;font-size:13px;line-height:1.45}.room-step label{display:grid;gap:7px;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.room-step input[type="number"]{height:42px;border:1px solid rgba(34,28,21,.14);border-radius:13px;padding:0 12px}.room-step input[type="range"]{width:100%}.room-upload{border:1px dashed #bda371;border-radius:16px;min-height:54px;display:grid!important;place-items:center;background:#faf8f4;cursor:pointer}.room-upload input{display:none}.room-actions{display:flex;gap:8px;flex-wrap:wrap}.room-actions button,.room-step button[data-room-screenshot]{border:0;border-radius:999px;background:#1d1914;color:#fff;min-height:42px;padding:0 15px;font-weight:800;cursor:pointer}.room-actions button:first-child{background:#eee7dc;color:#1d1914}.room-product-list{display:grid;gap:8px;max-height:230px;overflow:auto;padding-right:4px}.room-product{display:grid;grid-template-columns:58px 1fr;gap:10px;align-items:center;text-align:left;border:1px solid rgba(34,28,21,.1);border-radius:16px;background:#faf9f6;padding:8px;cursor:pointer}.room-product.is-active{border-color:#d7b56d;background:#fff7e7;box-shadow:inset 0 0 0 1px #d7b56d}.room-product img{width:58px;height:44px;object-fit:cover;border-radius:10px;background:#eee}.room-product b{display:block}.room-product small{color:#817569}.room-no-products{font-size:13px;color:#7d7064}.room-visualizer__workspace{display:grid;grid-template-rows:minmax(280px,38vh) 1fr;gap:18px;min-width:0}.room-photo-marker,.room-3d-panel{position:relative;background:#fff;border-radius:24px;border:1px solid rgba(34,28,21,.1);overflow:hidden;box-shadow:0 18px 50px rgba(40,30,20,.07)}.room-photo-marker canvas{display:block;width:100%;height:100%}.room-empty-state{position:absolute;inset:0;display:grid;place-content:center;text-align:center;padding:24px;color:#84786d}.room-empty-state strong{display:block;color:#1d1914;font-size:22px}.room-3d-panel{min-height:420px}.room-3d-toolbar{height:48px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 18px;border-bottom:1px solid rgba(34,28,21,.08);background:#fff}.room-3d-toolbar strong{text-transform:uppercase;letter-spacing:.1em;font-size:13px}.room-3d-toolbar span{font-size:13px;color:#7c7168}.room-3d-panel canvas{display:block;width:100%;height:calc(100% - 48px);min-height:372px}@media(max-width:980px){.room-topbar{grid-template-columns:1fr;gap:4px;height:auto;padding:14px 18px}.room-topbar__brand img{height:36px}.room-visualizer{grid-template-columns:1fr}.room-visualizer__workspace{grid-template-rows:320px 460px}.favorites-bar{right:14px;bottom:14px}}
.room-empty-state[hidden]{display:none!important}

/* Wizualizator pokoju — wybór osobnych ścian, kolory i edycja punktów */
.room-surface-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:10px 0 12px}.room-surface-picker button{border:1px solid rgba(34,28,21,.14);background:#f7f2e9;color:#1d1914;border-radius:999px;min-height:36px;padding:0 10px;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.06em;cursor:pointer}.room-surface-picker button.is-active{background:#1d1914;color:#d7b56d;border-color:#1d1914;box-shadow:0 8px 20px rgba(29,25,20,.18)}.room-surface-colors{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin:0 0 14px}.room-surface-colors label{gap:5px!important;font-size:9px!important;letter-spacing:.05em!important;text-align:center;color:#5f5348}.room-surface-colors input[type="color"]{width:100%;height:34px;border:1px solid rgba(34,28,21,.15);border-radius:10px;background:#fff;padding:3px;cursor:pointer}.room-photo-marker canvas{cursor:crosshair;touch-action:none}.room-photo-marker canvas:active{cursor:grabbing}@media(max-width:520px){.room-surface-picker{grid-template-columns:1fr}.room-surface-colors{grid-template-columns:repeat(2,minmax(0,1fr))}}

.room-feature-panel{margin-top:14px;padding:12px;border:1px solid rgba(34,28,21,.12);border-radius:16px;background:#fbf7ef}.room-feature-panel h3{margin:0 0 6px;font-size:14px;text-transform:uppercase;letter-spacing:.08em}.room-feature-panel p{font-size:12px!important;margin:0 0 10px!important}.room-feature-actions{margin-top:8px}.room-feature-list{display:grid;gap:7px;margin-top:10px}.room-feature-list>p{margin:0!important;color:#796e63;font-size:12px!important}.room-feature-draft{border:1px dashed #185da7;border-radius:12px;padding:8px;background:rgba(24,93,167,.06);color:#185da7!important}.room-feature-item{border:1px solid rgba(34,28,21,.12);border-radius:12px;background:#fff;padding:9px 10px;text-align:left;cursor:pointer;display:grid;gap:2px}.room-feature-item span{font-weight:900;color:#1d1914}.room-feature-item em{font-style:normal;font-size:11px;color:#7c7168}.room-feature-item.is-active{border-color:#185da7;box-shadow:inset 0 0 0 1px #185da7;background:#f2f7ff}

/* PATCH 9 — sterowanie występami/słupami w bryle 3D */
.room-feature-transform{margin-top:12px;padding:12px;border:1px solid rgba(34,28,21,.14);border-radius:14px;background:#fff;display:grid;gap:9px}.room-feature-transform h4{margin:0;font-size:12px;text-transform:uppercase;letter-spacing:.08em}.room-feature-transform p{margin:0!important;font-size:11px!important;color:#786f66!important}.room-feature-transform label{display:grid!important;gap:5px!important;font-size:11px!important;font-weight:800!important;text-transform:uppercase;letter-spacing:.08em;color:#1f1b17!important}.room-feature-transform input[type=range]{width:100%}.room-feature-transform button{border:1px solid rgba(34,28,21,.16);background:#f7f3ed;border-radius:999px;padding:9px 12px;font-weight:900;cursor:pointer}.room-feature-transform.is-disabled{opacity:.45}.room-feature-transform.is-disabled input,.room-feature-transform.is-disabled button{cursor:not-allowed}
.room-check{display:flex!important;align-items:center;gap:8px!important;margin-top:8px!important;font-size:11px!important;font-weight:800!important;text-transform:none!important;letter-spacing:.02em!important;color:#332c24!important}.room-check input[type=checkbox]{width:16px!important;height:16px!important;accent-color:#1d1914}.room-feature-panel .room-check{background:#fff;border:1px solid rgba(34,28,21,.1);border-radius:12px;padding:8px 10px}
.room-visualizer__workspace{align-content:start;grid-template-rows:minmax(280px,38vh) minmax(420px,58vh)}.room-3d-panel{height:min(680px,calc(100vh - 148px));min-height:420px}.room-3d-panel canvas{height:calc(100% - 48px);min-height:0}@media(max-width:980px){.room-visualizer__workspace{grid-template-rows:320px 520px}.room-3d-panel{height:520px;min-height:420px}}

/* Kompaktowy tryb roboczy wizualizatora 3D */
.room-visualizer-page{background:#f4f1ec}
.room-topbar{height:58px;padding:0 18px;grid-template-columns:auto minmax(0,1fr) auto;gap:12px}
.room-topbar__brand img{height:32px}
.room-topbar div strong{font-size:12px;letter-spacing:.08em}
.room-topbar div span{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.room-topbar>a:last-child{font-size:12px}
.room-visualizer{grid-template-columns:320px minmax(0,1fr);gap:10px;padding:10px;min-height:calc(100vh - 58px);height:calc(100vh - 58px);overflow:hidden}
.room-visualizer__steps{gap:8px;max-height:calc(100vh - 78px);overflow:auto;padding-right:2px}
.room-step{grid-template-columns:30px minmax(0,1fr);gap:10px;border-radius:12px;padding:10px;box-shadow:0 8px 22px rgba(40,30,20,.04)}
.room-step>b{width:30px;height:30px;font-size:12px}
.room-step h2{font-size:14px;margin-bottom:4px;line-height:1.2}
.room-step p{font-size:11px;line-height:1.35;margin-bottom:8px}
.room-step label{gap:5px;font-size:10px;letter-spacing:.045em}
.room-step input[type=number]{height:34px;border-radius:9px;font-size:12px;padding:0 10px}
.room-upload{min-height:42px;border-radius:11px;font-size:11px}
.room-surface-picker{gap:6px;margin:8px 0;grid-template-columns:repeat(2,minmax(0,1fr))}
.room-surface-picker button{min-height:31px;border-radius:10px;font-size:10px;padding:0 8px;letter-spacing:.04em}
.room-surface-colors{gap:5px;margin-bottom:9px}
.room-surface-colors label{font-size:8px!important}
.room-surface-colors input[type=color]{height:28px;border-radius:8px}
.room-check{font-size:10px!important;gap:6px!important;margin-top:6px!important;line-height:1.25}
.room-check input[type=checkbox]{width:14px!important;height:14px!important;flex:0 0 auto}
.room-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.room-actions button,.room-step button[data-room-screenshot]{min-height:34px;border-radius:10px;padding:0 10px;font-size:11px;letter-spacing:.02em}
.room-feature-panel{margin-top:9px;padding:9px;border-radius:11px;background:#f9f6f1}
.room-feature-panel h3{font-size:11px;margin-bottom:5px}
.room-feature-panel p{font-size:10px!important;line-height:1.35!important;margin-bottom:7px!important}
.room-feature-list{gap:5px;margin-top:8px}
.room-feature-list>p{font-size:10px!important}
.room-feature-item{border-radius:9px;padding:7px 8px}
.room-feature-item span{font-size:11px}
.room-feature-item em{font-size:10px}
.room-feature-transform{margin-top:8px;padding:9px;border-radius:10px;gap:6px}
.room-feature-transform h4{font-size:10px}
.room-feature-transform p{display:none}
.room-feature-transform label{font-size:10px!important;gap:4px!important}
.room-product-list{max-height:160px;gap:6px}
.room-product{grid-template-columns:44px 1fr;border-radius:10px;padding:6px;gap:8px}
.room-product img{width:44px;height:34px;border-radius:7px}
.room-product b{font-size:12px}
.room-product small{font-size:10px}
.room-visualizer__workspace{height:calc(100vh - 78px);grid-template-rows:minmax(190px,34vh) minmax(0,1fr);gap:10px;align-content:stretch}
.room-photo-marker,.room-3d-panel{border-radius:12px;box-shadow:0 10px 26px rgba(40,30,20,.045)}
.room-photo-marker{min-height:190px}
.room-3d-panel{height:auto;min-height:0;max-height:none}
.room-3d-toolbar{height:38px;padding:0 12px}
.room-3d-toolbar strong{font-size:11px;letter-spacing:.08em}
.room-3d-toolbar span{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.room-3d-panel canvas{height:calc(100% - 38px);min-height:0}
@media(max-width:1120px){.room-visualizer{grid-template-columns:292px minmax(0,1fr)}.room-actions{grid-template-columns:1fr}.room-step{padding:9px}}
@media(max-width:780px){.room-topbar{height:auto;padding:10px 12px;grid-template-columns:1fr}.room-topbar div span{white-space:normal}.room-visualizer{height:auto;min-height:0;overflow:visible;grid-template-columns:1fr;padding:8px}.room-visualizer__steps{max-height:none;overflow:visible}.room-visualizer__workspace{height:auto;grid-template-rows:260px 460px}.room-3d-panel{height:460px}.room-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Finalny widok: czysty pokój 3D + model przy ścianie + LIVE kamera */
.room-topbar{box-shadow:0 1px 0 rgba(24,20,17,.08);backdrop-filter:saturate(1.1) blur(10px)}
.room-visualizer{background:#f2eee8}
.room-step{border-color:rgba(31,26,20,.08);background:rgba(255,255,255,.92)}
.room-step.is-active{border-color:rgba(183,146,85,.35)}
.room-step input[type=range]{accent-color:#1d1914}
.room-surface-picker button,.room-wall-snap button{white-space:nowrap}
.room-wall-snap{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:8px 0}
.room-wall-snap button{border:1px solid rgba(34,28,21,.14);background:#f7f3ed;color:#1d1914;border-radius:10px;min-height:31px;padding:0 8px;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.04em;cursor:pointer}
.room-wall-snap button.is-active{background:#1d1914;color:#d7b56d;border-color:#1d1914;box-shadow:0 8px 18px rgba(29,25,20,.16)}
.room-visualizer__workspace{grid-template-rows:minmax(188px,30vh) minmax(0,1fr)}
.room-photo-marker{background:#f9f7f3}
.room-3d-panel{background:#f8f5ef}
.room-3d-toolbar{position:relative;z-index:3;background:rgba(255,255,255,.94)}
.room-camera-video{display:none;position:absolute;left:0;right:0;top:38px;bottom:0;width:100%;height:calc(100% - 38px);object-fit:cover;background:#111;z-index:0}
.room-3d-panel canvas{position:relative;z-index:1}
.room-visualizer.is-live-camera .room-3d-panel{background:#111}
.room-visualizer.is-live-camera .room-camera-video{display:block}
.room-visualizer.is-live-camera .room-3d-toolbar{background:rgba(17,17,17,.72);color:#fff;border-bottom-color:rgba(255,255,255,.16)}
.room-visualizer.is-live-camera .room-3d-toolbar span{color:rgba(255,255,255,.76)}
.room-actions button.is-active,[data-room-camera-toggle].is-active{background:#0d6b4f!important;color:#fff!important}
@media(max-width:780px){
  .room-topbar{position:relative}
  .room-visualizer{display:grid;grid-template-columns:1fr;gap:8px}
  .room-visualizer__workspace{order:1;grid-template-rows:minmax(180px,28vh) minmax(420px,62vh);gap:8px}
  .room-visualizer__steps{order:2}
  .room-step{grid-template-columns:26px minmax(0,1fr);border-radius:10px;padding:9px}
  .room-step>b{width:26px;height:26px}
  .room-photo-marker{min-height:180px}
  .room-3d-panel{height:min(62vh,540px);min-height:420px}
  .room-actions,.room-wall-snap{grid-template-columns:repeat(2,minmax(0,1fr))}
  .room-wall-snap button:first-child{grid-column:1 / -1}
  .room-product-list{max-height:140px}
}


/* === PATCH 2026-06 — Room Visualizer PRO UI + pewny zoom scrollem === */
html:has(body.room-visualizer-page),
body.room-visualizer-page{
  height:100%;
  overflow:hidden;
}
body.room-visualizer-page{
  margin:0;
  background:#eee9e1!important;
  color:#1e1914;
}
body.room-visualizer-page *{box-sizing:border-box}
.room-visualizer-page .room-topbar{
  height:62px!important;
  padding:0 20px!important;
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) auto!important;
  gap:14px!important;
  align-items:center!important;
  background:rgba(255,253,249,.94)!important;
  border-bottom:1px solid rgba(31,26,20,.09)!important;
  box-shadow:0 10px 28px rgba(40,30,20,.055)!important;
  backdrop-filter:blur(16px) saturate(120%)!important;
  -webkit-backdrop-filter:blur(16px) saturate(120%)!important;
}
.room-visualizer-page .room-topbar__brand{
  width:84px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:14px;
  background:#fff;
  border:1px solid rgba(31,26,20,.08);
  box-shadow:0 10px 22px rgba(40,30,20,.06);
}
.room-visualizer-page .room-topbar__brand img{
  max-width:68px!important;
  max-height:30px!important;
  height:auto!important;
  object-fit:contain;
}
.room-visualizer-page .room-topbar div{min-width:0}
.room-visualizer-page .room-topbar div strong{
  display:block;
  font-size:12px!important;
  line-height:1.05;
  letter-spacing:.12em!important;
  text-transform:uppercase;
  color:#16120f;
}
.room-visualizer-page .room-topbar div span{
  display:block;
  margin-top:4px;
  font-size:11px!important;
  color:#7e7468!important;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.room-visualizer-page .room-topbar>a:last-child{
  height:38px;
  padding:0 16px;
  display:inline-grid;
  place-items:center;
  border-radius:999px;
  background:#17120d;
  color:#d7b56d!important;
  text-decoration:none!important;
  font-size:11px!important;
  font-weight:900!important;
  letter-spacing:.06em;
  box-shadow:0 14px 28px rgba(23,18,13,.16);
}
.room-visualizer-page .room-visualizer{
  height:calc(100vh - 62px)!important;
  min-height:0!important;
  overflow:hidden!important;
  display:grid!important;
  grid-template-columns:336px minmax(0,1fr)!important;
  gap:14px!important;
  padding:14px!important;
  background:
    radial-gradient(circle at 12% 0%, rgba(215,181,109,.14), transparent 35%),
    linear-gradient(135deg,#f5f1ea 0%,#ebe5db 100%)!important;
}
.room-visualizer-page .room-visualizer__steps{
  min-height:0!important;
  max-height:none!important;
  height:100%!important;
  overflow:auto!important;
  display:grid!important;
  align-content:start!important;
  gap:10px!important;
  padding:2px 4px 18px 2px!important;
  scrollbar-width:thin;
  scrollbar-color:#c7b99f transparent;
}
.room-visualizer-page .room-visualizer__steps::-webkit-scrollbar{width:6px}
.room-visualizer-page .room-visualizer__steps::-webkit-scrollbar-thumb{background:#c7b99f;border-radius:999px}
.room-visualizer-page .room-step{
  grid-template-columns:30px minmax(0,1fr)!important;
  gap:10px!important;
  padding:12px!important;
  border-radius:18px!important;
  background:rgba(255,255,255,.82)!important;
  border:1px solid rgba(31,26,20,.09)!important;
  box-shadow:0 14px 34px rgba(40,30,20,.055)!important;
  backdrop-filter:blur(12px) saturate(116%);
}
.room-visualizer-page .room-step.is-active{
  border-color:rgba(215,181,109,.52)!important;
  box-shadow:0 18px 42px rgba(40,30,20,.075), inset 0 0 0 1px rgba(215,181,109,.22)!important;
}
.room-visualizer-page .room-step>b{
  width:30px!important;
  height:30px!important;
  font-size:12px!important;
  background:#17120d!important;
  color:#d7b56d!important;
  box-shadow:0 9px 18px rgba(23,18,13,.18);
}
.room-visualizer-page .room-step h2{
  margin:0 0 4px!important;
  font-size:14px!important;
  line-height:1.15!important;
  letter-spacing:-.01em;
  color:#17120d!important;
}
.room-visualizer-page .room-step p{
  margin:0 0 8px!important;
  font-size:11px!important;
  line-height:1.36!important;
  color:#7a7066!important;
}
.room-visualizer-page .room-step label{
  display:grid!important;
  gap:5px!important;
  margin:0 0 8px!important;
  font-size:10px!important;
  line-height:1.2!important;
  font-weight:900!important;
  letter-spacing:.055em!important;
  color:#2a241e!important;
  text-transform:uppercase!important;
}
.room-visualizer-page .room-step input[type="number"]{
  height:34px!important;
  border-radius:11px!important;
  padding:0 10px!important;
  background:#fff!important;
  border:1px solid rgba(31,26,20,.11)!important;
  box-shadow:inset 0 1px 0 rgba(0,0,0,.02);
  font-size:12px!important;
}
.room-visualizer-page .room-step input[type="range"]{
  width:100%!important;
  height:18px;
  accent-color:#17120d;
  cursor:pointer;
}
.room-visualizer-page .room-upload{
  min-height:40px!important;
  border-radius:13px!important;
  border:1px dashed rgba(151,118,64,.48)!important;
  background:linear-gradient(180deg,#fffaf1,#f5efe5)!important;
  color:#17120d!important;
  font-size:11px!important;
  font-weight:950!important;
  letter-spacing:.08em!important;
}
.room-visualizer-page .room-surface-picker{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:6px!important;
  margin:8px 0!important;
}
.room-visualizer-page .room-surface-picker button,
.room-visualizer-page .room-wall-snap button{
  min-height:30px!important;
  border-radius:11px!important;
  padding:0 8px!important;
  font-size:9px!important;
  letter-spacing:.055em!important;
  background:#f4efe7!important;
  border:1px solid rgba(31,26,20,.1)!important;
  color:#231d18!important;
}
.room-visualizer-page .room-surface-picker button.is-active,
.room-visualizer-page .room-wall-snap button.is-active{
  background:#17120d!important;
  color:#d7b56d!important;
  border-color:#17120d!important;
  box-shadow:0 9px 20px rgba(23,18,13,.16)!important;
}
.room-visualizer-page .room-surface-colors{
  gap:5px!important;
  margin:0 0 9px!important;
}
.room-visualizer-page .room-surface-colors label{
  font-size:8px!important;
  margin:0!important;
  gap:4px!important;
  color:#6f6458!important;
}
.room-visualizer-page .room-surface-colors input[type="color"]{
  height:25px!important;
  border-radius:9px!important;
}
.room-visualizer-page .room-actions{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:6px!important;
}
.room-visualizer-page .room-actions button,
.room-visualizer-page .room-step button[data-room-screenshot]{
  min-height:32px!important;
  border-radius:11px!important;
  padding:0 10px!important;
  font-size:10px!important;
  line-height:1.05!important;
  font-weight:950!important;
  letter-spacing:.035em!important;
  background:#17120d!important;
  color:#fff!important;
  box-shadow:0 10px 20px rgba(23,18,13,.11)!important;
}
.room-visualizer-page .room-actions button:first-child{
  background:#e9dfcf!important;
  color:#17120d!important;
  box-shadow:none!important;
}
.room-visualizer-page .room-check{
  padding:8px!important;
  border-radius:12px!important;
  background:#fff!important;
  border:1px solid rgba(31,26,20,.08)!important;
  font-size:10px!important;
  line-height:1.25!important;
  text-transform:none!important;
  letter-spacing:.01em!important;
}
.room-visualizer-page .room-product-list{
  max-height:150px!important;
  gap:6px!important;
  padding-right:2px!important;
}
.room-visualizer-page .room-product{
  grid-template-columns:42px minmax(0,1fr)!important;
  gap:8px!important;
  padding:6px!important;
  border-radius:12px!important;
  background:#fbfaf7!important;
  border:1px solid rgba(31,26,20,.09)!important;
}
.room-visualizer-page .room-product img{
  width:42px!important;
  height:34px!important;
  border-radius:9px!important;
}
.room-visualizer-page .room-product b{
  font-size:12px!important;
  line-height:1.15!important;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.room-visualizer-page .room-product small{font-size:10px!important;color:#7d7368!important}
.room-visualizer-page .room-visualizer__workspace{
  height:100%!important;
  min-height:0!important;
  display:grid!important;
  grid-template-rows:minmax(190px,30%) minmax(0,1fr)!important;
  gap:14px!important;
  align-content:stretch!important;
}
.room-visualizer-page .room-photo-marker,
.room-visualizer-page .room-3d-panel{
  border-radius:18px!important;
  border:1px solid rgba(31,26,20,.08)!important;
  background:rgba(255,255,255,.76)!important;
  box-shadow:0 18px 46px rgba(40,30,20,.07)!important;
  overflow:hidden!important;
}
.room-visualizer-page .room-photo-marker{
  min-height:0!important;
}
.room-visualizer-page .room-photo-marker canvas{
  display:block!important;
  width:100%!important;
  height:100%!important;
  cursor:crosshair!important;
  touch-action:none!important;
}
.room-visualizer-page .room-empty-state strong{
  font-size:18px!important;
}
.room-visualizer-page .room-empty-state span{
  font-size:12px!important;
  line-height:1.45!important;
  max-width:460px;
}
.room-visualizer-page .room-3d-panel{
  position:relative!important;
  height:100%!important;
  min-height:0!important;
  max-height:none!important;
  display:grid!important;
  grid-template-rows:42px minmax(0,1fr)!important;
}
.room-visualizer-page .room-3d-toolbar{
  grid-row:1!important;
  height:42px!important;
  padding:0 14px!important;
  border-bottom:1px solid rgba(31,26,20,.07)!important;
  background:rgba(255,255,255,.92)!important;
  position:relative!important;
  z-index:4!important;
}
.room-visualizer-page .room-3d-toolbar strong{
  font-size:11px!important;
  letter-spacing:.105em!important;
}
.room-visualizer-page .room-3d-toolbar span{
  font-size:11px!important;
  color:#756b61!important;
  max-width:58%;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.room-visualizer-page .room-3d-toolbar::after{
  content:"SCROLL = ZOOM  •  PRZECIĄGNIJ = OBRÓT";
  margin-left:auto;
  padding:5px 9px;
  border-radius:999px;
  background:#f0e7d8;
  color:#4d4135;
  font-size:9px;
  font-weight:950;
  letter-spacing:.07em;
  white-space:nowrap;
}
.room-visualizer-page .room-3d-panel canvas[data-room-3d-canvas]{
  grid-row:2!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  display:block!important;
  position:relative!important;
  z-index:1!important;
  cursor:grab!important;
  touch-action:none!important;
  overscroll-behavior:contain!important;
  outline:none!important;
}
.room-visualizer-page .room-3d-panel canvas[data-room-3d-canvas]:active{cursor:grabbing!important}
.room-visualizer-page .room-camera-video{
  top:42px!important;
  height:calc(100% - 42px)!important;
}
.room-visualizer-page .room-feature-panel{
  margin-top:9px!important;
  padding:10px!important;
  border-radius:14px!important;
  background:#fbf8f2!important;
}
.room-visualizer-page .room-feature-panel h3{
  font-size:11px!important;
}
.room-visualizer-page .room-feature-panel p,
.room-visualizer-page .room-feature-list>p{
  font-size:10px!important;
}
.room-visualizer-page .room-feature-transform{
  padding:9px!important;
  border-radius:12px!important;
  gap:6px!important;
}
@media (max-width:1180px){
  .room-visualizer-page .room-visualizer{grid-template-columns:308px minmax(0,1fr)!important;padding:10px!important;gap:10px!important}
  .room-visualizer-page .room-actions{grid-template-columns:1fr!important}
  .room-visualizer-page .room-3d-toolbar::after{display:none}
}
@media (max-width:820px){
  html:has(body.room-visualizer-page),body.room-visualizer-page{height:auto;overflow:auto}
  .room-visualizer-page .room-topbar{height:auto!important;padding:10px 12px!important;grid-template-columns:1fr!important}
  .room-visualizer-page .room-topbar>a:last-child{justify-self:start}
  .room-visualizer-page .room-visualizer{height:auto!important;min-height:0!important;overflow:visible!important;grid-template-columns:1fr!important;padding:8px!important}
  .room-visualizer-page .room-visualizer__workspace{order:1;height:auto!important;grid-template-rows:260px 520px!important}
  .room-visualizer-page .room-visualizer__steps{order:2;height:auto!important;overflow:visible!important}
  .room-visualizer-page .room-3d-panel{height:520px!important}
}


/* PATCH LIVE WALK — blokowanie modelu i spacer AR */
.room-visualizer-page .room-actions--live{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
}
.room-visualizer-page [data-room-live-lock].is-active,
.room-visualizer-page [data-room-ar-walk].is-active{
  background:#0d6b4f!important;
  color:#fff!important;
  box-shadow:0 10px 24px rgba(13,107,79,.22)!important;
}
.room-visualizer-page .room-visualizer.is-live-model-locked .room-step input[type="range"]:disabled,
.room-visualizer-page .room-visualizer.is-live-model-locked .room-wall-snap button:disabled{
  opacity:.48!important;
  cursor:not-allowed!important;
}
.room-visualizer-page .room-visualizer.is-live-model-locked .room-3d-toolbar::after{
  content:"MODEL ZABLOKOWANY  •  SPACER LIVE / AR";
  background:#dff2e9;
  color:#0d5c45;
}
.room-visualizer-page .room-visualizer.is-ar-walk .room-camera-video{
  display:none!important;
}
.room-visualizer-page .room-visualizer.is-ar-walk .room-3d-panel{
  background:#000!important;
}
.room-visualizer-page .room-visualizer.is-ar-walk .room-3d-toolbar{
  background:rgba(8,18,14,.78)!important;
  color:#fff!important;
}
.room-visualizer-page .room-visualizer.is-ar-walk .room-3d-toolbar span{
  color:rgba(255,255,255,.78)!important;
}
.room-visualizer-page .room-visualizer.is-ar-walk .room-3d-toolbar::after{
  content:"AR AKTYWNY  •  OBEJDŹ MODEL";
  background:#0d6b4f;
  color:#fff;
}
@media(max-width:820px){
  .room-visualizer-page .room-actions--live{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

/* PATCH SURFACE EDITOR — ikony bryły, stałe kolory, lepsze łapanie punktów */
.room-visualizer-page{
  --surface-back:#ef4444;
  --surface-left:#22c55e;
  --surface-right:#3b82f6;
  --surface-floor:#111827;
  --surface-ceiling:#ffffff;
}
.room-visualizer-page .sr-only{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}
.room-visualizer-page .room-surface-picker.room-surface-picker--icons{
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:6px!important;
  margin:8px 0 7px!important;
}
.room-visualizer-page .room-surface-picker.room-surface-picker--icons button{
  min-height:52px!important;
  height:52px!important;
  border-radius:13px!important;
  padding:5px!important;
  display:grid!important;
  place-items:center!important;
  background:#fbf8f2!important;
  border:1px solid rgba(31,26,20,.13)!important;
  box-shadow:none!important;
  cursor:pointer!important;
}
.room-visualizer-page .room-surface-picker.room-surface-picker--icons button:hover{
  transform:translateY(-1px);
  border-color:rgba(23,18,13,.34)!important;
  background:#fff!important;
}
.room-visualizer-page .room-surface-picker.room-surface-picker--icons button.is-active{
  background:#17120d!important;
  border-color:#17120d!important;
  box-shadow:0 10px 22px rgba(23,18,13,.18)!important;
}
.room-visualizer-page .room-surface-icon{
  width:58px!important;
  height:42px!important;
  display:block!important;
  overflow:visible!important;
}
.room-visualizer-page .room-surface-icon .surface-plane{
  fill:#e9e3d8;
  stroke:rgba(31,26,20,.36);
  stroke-width:1.4;
  vector-effect:non-scaling-stroke;
}
.room-visualizer-page .room-surface-picker button[data-room-surface="back"] .surface-plane--back{fill:var(--surface-back);stroke:#b91c1c;}
.room-visualizer-page .room-surface-picker button[data-room-surface="left"] .surface-plane--left{fill:var(--surface-left);stroke:#15803d;}
.room-visualizer-page .room-surface-picker button[data-room-surface="right"] .surface-plane--right{fill:var(--surface-right);stroke:#1d4ed8;}
.room-visualizer-page .room-surface-picker button[data-room-surface="floor"] .surface-plane--floor{fill:var(--surface-floor);stroke:#000;}
.room-visualizer-page .room-surface-picker button[data-room-surface="ceiling"] .surface-plane--ceiling{fill:var(--surface-ceiling);stroke:#94a3b8;}
.room-visualizer-page .room-surface-picker.room-surface-picker--icons button.is-active .surface-plane{
  stroke-width:1.8;
}
.room-visualizer-page .room-surface-picker.room-surface-picker--icons button.is-active .room-surface-icon .surface-plane:not([class*="--"]){
  opacity:.74;
}
.room-visualizer-page .room-surface-fixed-colors{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:5px!important;
  margin:0 0 10px!important;
}
.room-visualizer-page .room-surface-fixed-colors span{
  min-height:18px;
  border-radius:999px;
  display:grid;
  place-items:center;
  font-size:7.5px;
  font-weight:950;
  letter-spacing:.055em;
  border:1px solid rgba(31,26,20,.1);
  color:#fff;
  line-height:1;
}
.room-visualizer-page .room-surface-fixed-colors .is-back{background:var(--surface-back)}
.room-visualizer-page .room-surface-fixed-colors .is-left{background:var(--surface-left)}
.room-visualizer-page .room-surface-fixed-colors .is-right{background:var(--surface-right)}
.room-visualizer-page .room-surface-fixed-colors .is-floor{background:var(--surface-floor)}
.room-visualizer-page .room-surface-fixed-colors .is-ceiling{background:var(--surface-ceiling);color:#111827;border-color:#cbd5e1;}
.room-visualizer-page .room-surface-colors{display:none!important;}
@media(max-width:1180px){
  .room-visualizer-page .room-surface-picker.room-surface-picker--icons{grid-template-columns:repeat(5,minmax(0,1fr))!important;}
  .room-visualizer-page .room-surface-icon{width:48px!important;height:36px!important;}
  .room-visualizer-page .room-surface-picker.room-surface-picker--icons button{height:46px!important;min-height:46px!important;padding:4px!important;}
}
@media(max-width:420px){
  .room-visualizer-page .room-surface-picker.room-surface-picker--icons,
  .room-visualizer-page .room-surface-fixed-colors{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
}

/* PATCH — wybór powierzchni: czytelna bryła zamiast „pajęczyny” + brak kolorowania ścian 3D */
.room-visualizer-page .room-surface-picker.room-surface-picker--icons{
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:7px!important;
  margin:9px 0 7px!important;
}
.room-visualizer-page .room-surface-picker.room-surface-picker--icons button{
  min-height:68px!important;
  height:68px!important;
  padding:6px 4px 5px!important;
  border-radius:14px!important;
  background:#fffaf2!important;
  border:1px solid rgba(31,26,20,.12)!important;
  color:#2b241d!important;
  display:grid!important;
  grid-template-rows:42px 1fr!important;
  place-items:center!important;
  gap:3px!important;
  box-shadow:0 7px 16px rgba(31,26,20,.045)!important;
  transition:transform .16s ease, border-color .16s ease, box-shadow .16s ease, background .16s ease!important;
}
.room-visualizer-page .room-surface-picker.room-surface-picker--icons button:hover{
  transform:translateY(-1px)!important;
  background:#fff!important;
  border-color:rgba(31,26,20,.28)!important;
}
.room-visualizer-page .room-surface-picker.room-surface-picker--icons button.is-active{
  background:#fff!important;
  color:#17120d!important;
  border-color:#d7b56d!important;
  box-shadow:0 0 0 2px rgba(215,181,109,.28),0 10px 22px rgba(31,26,20,.11)!important;
}
.room-visualizer-page .room-surface-icon{
  width:62px!important;
  height:42px!important;
  display:block!important;
  overflow:visible!important;
  filter:drop-shadow(0 5px 8px rgba(31,26,20,.08));
}
.room-visualizer-page .room-surface-icon .surface-plane{
  fill:rgba(226,219,207,.38)!important;
  stroke:rgba(31,26,20,.20)!important;
  stroke-width:.85!important;
  opacity:.46!important;
  vector-effect:non-scaling-stroke!important;
}
.room-visualizer-page .room-surface-picker button[data-room-surface="back"] .surface-plane--back{
  fill:var(--surface-back)!important;stroke:#b91c1c!important;opacity:1!important;
}
.room-visualizer-page .room-surface-picker button[data-room-surface="left"] .surface-plane--left{
  fill:var(--surface-left)!important;stroke:#15803d!important;opacity:1!important;
}
.room-visualizer-page .room-surface-picker button[data-room-surface="right"] .surface-plane--right{
  fill:var(--surface-right)!important;stroke:#1d4ed8!important;opacity:1!important;
}
.room-visualizer-page .room-surface-picker button[data-room-surface="floor"] .surface-plane--floor{
  fill:var(--surface-floor)!important;stroke:#000!important;opacity:1!important;
}
.room-visualizer-page .room-surface-picker button[data-room-surface="ceiling"] .surface-plane--ceiling{
  fill:var(--surface-ceiling)!important;stroke:#64748b!important;opacity:1!important;
}
.room-visualizer-page .room-surface-picker.room-surface-picker--icons button.is-active .surface-plane{
  stroke-width:1!important;
}
.room-visualizer-page .room-surface-label{
  display:block!important;
  font-size:8.5px!important;
  line-height:1!important;
  font-weight:950!important;
  letter-spacing:.055em!important;
  text-transform:uppercase!important;
  color:#231d18!important;
  white-space:nowrap!important;
}
.room-visualizer-page .room-surface-picker.room-surface-picker--icons button.is-active .room-surface-label{
  color:#17120d!important;
}
.room-visualizer-page .room-surface-fixed-colors{
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:5px!important;
  margin:0 0 10px!important;
}
.room-visualizer-page .room-surface-fixed-colors span{
  min-height:19px!important;
  border-radius:8px!important;
  font-size:7.5px!important;
  letter-spacing:.045em!important;
}
@media(max-width:1180px){
  .room-visualizer-page .room-surface-picker.room-surface-picker--icons button{height:62px!important;min-height:62px!important;grid-template-rows:36px 1fr!important}
  .room-visualizer-page .room-surface-icon{width:52px!important;height:36px!important}
  .room-visualizer-page .room-surface-label{font-size:7.5px!important}
}
@media(max-width:420px){
  .room-visualizer-page .room-surface-picker.room-surface-picker--icons,
  .room-visualizer-page .room-surface-fixed-colors{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}

/* === PATCH: czysty design wizualizatora + czytelne kafle perspektywy === */
body.room-visualizer-page{
  --rv-bg:#f7f7f5;
  --rv-card:#ffffff;
  --rv-border:#e6e4df;
  --rv-text:#171717;
  --rv-muted:#6f6a63;
  --rv-soft:#faf9f7;
  --rv-accent:#111111;
  background:var(--rv-bg)!important;
  color:var(--rv-text)!important;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
}
.room-visualizer-page .room-topbar{
  height:64px!important;
  padding:0 22px!important;
  background:rgba(255,255,255,.94)!important;
  border-bottom:1px solid var(--rv-border)!important;
  box-shadow:0 1px 0 rgba(0,0,0,.035)!important;
  grid-template-columns:auto minmax(0,1fr) auto!important;
  gap:18px!important;
  backdrop-filter:blur(14px) saturate(1.2)!important;
}
.room-visualizer-page .room-topbar__brand{
  height:44px!important;
  min-width:132px!important;
  display:flex!important;
  align-items:center!important;
  padding-right:20px!important;
  border-right:1px solid var(--rv-border)!important;
}
.room-visualizer-page .room-topbar__brand img{height:34px!important;max-width:110px!important;object-fit:contain!important;}
.room-visualizer-page .room-topbar div strong{
  font-size:19px!important;
  line-height:1!important;
  letter-spacing:-.03em!important;
  text-transform:none!important;
  font-weight:850!important;
}
.room-visualizer-page .room-topbar div span{
  display:block!important;
  margin-top:5px!important;
  font-size:12px!important;
  color:var(--rv-muted)!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.room-visualizer-page .room-topbar>a:last-child{
  height:40px!important;
  min-width:128px!important;
  border:1px solid var(--rv-border)!important;
  border-radius:10px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:#111!important;
  background:#fff!important;
  font-size:13px!important;
  font-weight:750!important;
  box-shadow:0 1px 2px rgba(0,0,0,.03)!important;
}
.room-visualizer-page .room-visualizer{
  height:calc(100vh - 64px)!important;
  min-height:0!important;
  display:grid!important;
  grid-template-columns:360px minmax(0,1fr)!important;
  gap:14px!important;
  padding:14px!important;
  overflow:hidden!important;
  background:var(--rv-bg)!important;
}
.room-visualizer-page .room-visualizer__steps{
  height:100%!important;
  overflow:auto!important;
  gap:0!important;
  background:var(--rv-card)!important;
  border:1px solid var(--rv-border)!important;
  border-radius:14px!important;
  box-shadow:0 12px 30px rgba(17,17,17,.045)!important;
}
.room-visualizer-page .room-step{
  box-shadow:none!important;
  border:0!important;
  border-bottom:1px solid var(--rv-border)!important;
  border-radius:0!important;
  background:transparent!important;
  grid-template-columns:28px minmax(0,1fr)!important;
  gap:12px!important;
  padding:18px!important;
}
.room-visualizer-page .room-step:last-child{border-bottom:0!important;}
.room-visualizer-page .room-step>b{
  width:24px!important;
  height:24px!important;
  margin-top:1px!important;
  background:#fff!important;
  color:#111!important;
  border:1px solid #222!important;
  font-size:12px!important;
  font-weight:700!important;
}
.room-visualizer-page .room-step h2{
  font-size:15px!important;
  margin:0 0 6px!important;
  letter-spacing:-.02em!important;
  font-weight:820!important;
}
.room-visualizer-page .room-step p{
  font-size:12px!important;
  line-height:1.42!important;
  color:var(--rv-muted)!important;
  margin:0 0 14px!important;
}
.room-visualizer-page .room-step label{
  font-size:10px!important;
  line-height:1.2!important;
  letter-spacing:.055em!important;
  margin:8px 0!important;
  color:#1d1d1b!important;
}
.room-visualizer-page .room-step input[type="number"]{
  height:38px!important;
  border-radius:8px!important;
  border:1px solid #dedbd4!important;
  background:#fff!important;
  font-size:13px!important;
  font-weight:600!important;
}
.room-visualizer-page .room-upload{
  min-height:44px!important;
  border-radius:9px!important;
  border:1px solid #dedbd4!important;
  background:#fff!important;
  color:#111!important;
  font-size:12px!important;
  font-weight:800!important;
  letter-spacing:.035em!important;
}
.room-visualizer-page .room-surface-picker.room-surface-picker--icons{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px!important;
  margin:12px 0 14px!important;
}
.room-visualizer-page .room-surface-picker.room-surface-picker--icons button{
  height:108px!important;
  min-height:108px!important;
  border:1px solid var(--rv-border)!important;
  border-radius:10px!important;
  padding:10px 8px 8px!important;
  background:#fff!important;
  box-shadow:0 1px 2px rgba(0,0,0,.025)!important;
  display:grid!important;
  grid-template-rows:1fr auto auto!important;
  align-items:center!important;
  justify-items:center!important;
  gap:5px!important;
  transition:.16s ease!important;
}
.room-visualizer-page .room-surface-picker.room-surface-picker--icons button:hover{
  transform:translateY(-1px)!important;
  box-shadow:0 8px 22px rgba(0,0,0,.07)!important;
}
.room-visualizer-page .room-surface-picker.room-surface-picker--icons button.is-active{
  color:#111!important;
  background:#fff!important;
  border-color:#111!important;
  box-shadow:inset 0 0 0 1px #111,0 10px 24px rgba(0,0,0,.08)!important;
}
.room-visualizer-page .room-surface-icon{
  width:112px!important;
  height:66px!important;
  max-width:100%!important;
  filter:drop-shadow(0 8px 16px rgba(0,0,0,.08))!important;
}
.room-visualizer-page .room-surface-icon .surface-plane{
  stroke:#e4e2dd!important;
  stroke-width:1!important;
  opacity:.33!important;
  fill:#f7f7f5!important;
}
.room-visualizer-page .room-surface-picker button[data-room-surface="back"] .surface-plane--back{fill:#2563eb!important;opacity:.92!important;stroke:#2563eb!important;}
.room-visualizer-page .room-surface-picker button[data-room-surface="left"] .surface-plane--left{fill:#ef4444!important;opacity:.92!important;stroke:#ef4444!important;}
.room-visualizer-page .room-surface-picker button[data-room-surface="right"] .surface-plane--right{fill:#22c55e!important;opacity:.92!important;stroke:#22c55e!important;}
.room-visualizer-page .room-surface-picker button[data-room-surface="floor"] .surface-plane--floor{fill:#9ca3af!important;opacity:.95!important;stroke:#6b7280!important;}
.room-visualizer-page .room-surface-picker button[data-room-surface="ceiling"] .surface-plane--ceiling{fill:#111827!important;opacity:.92!important;stroke:#111827!important;}
.room-visualizer-page .room-surface-label{
  display:block!important;
  width:72px!important;
  padding-top:5px!important;
  border-top:3px solid #222!important;
  color:#111!important;
  font-size:10px!important;
  font-weight:850!important;
  line-height:1!important;
  letter-spacing:.04em!important;
  text-align:center!important;
}
.room-visualizer-page .room-surface-picker button[data-room-surface="left"] .room-surface-label{border-color:#ef4444!important;}
.room-visualizer-page .room-surface-picker button[data-room-surface="right"] .room-surface-label{border-color:#22c55e!important;}
.room-visualizer-page .room-surface-picker button[data-room-surface="back"] .room-surface-label{border-color:#2563eb!important;}
.room-visualizer-page .room-surface-picker button[data-room-surface="ceiling"] .room-surface-label{border-color:#111827!important;}
.room-visualizer-page .room-surface-picker button[data-room-surface="floor"] .room-surface-label{border-color:#9ca3af!important;}
.room-visualizer-page .room-surface-fixed-colors{display:none!important;}
.room-visualizer-page .room-actions{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:8px!important;
  margin-top:10px!important;
}
.room-visualizer-page .room-actions button,
.room-visualizer-page .room-step button[data-room-screenshot]{
  min-height:38px!important;
  border-radius:9px!important;
  padding:0 12px!important;
  font-size:12px!important;
  font-weight:780!important;
  letter-spacing:0!important;
  background:#111!important;
  color:#fff!important;
}
.room-visualizer-page .room-actions button:first-child{
  background:#fff!important;
  color:#111!important;
  border:1px solid var(--rv-border)!important;
}
.room-visualizer-page .room-check{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  font-size:12px!important;
  letter-spacing:0!important;
  text-transform:none!important;
  color:#333!important;
}
.room-visualizer-page .room-product-list{max-height:260px!important;gap:8px!important;}
.room-visualizer-page .room-product{
  border-radius:10px!important;
  border-color:var(--rv-border)!important;
  background:#fff!important;
  grid-template-columns:52px 1fr!important;
}
.room-visualizer-page .room-product.is-active{
  border-color:#111!important;
  background:#fbfaf7!important;
  box-shadow:inset 0 0 0 1px #111!important;
}
.room-visualizer-page .room-visualizer__workspace{
  height:100%!important;
  min-height:0!important;
  display:grid!important;
  grid-template-rows:minmax(240px,38%) minmax(360px,1fr)!important;
  gap:14px!important;
  overflow:hidden!important;
}
.room-visualizer-page .room-photo-marker,
.room-visualizer-page .room-3d-panel{
  border-radius:14px!important;
  border:1px solid var(--rv-border)!important;
  background:#fff!important;
  box-shadow:0 12px 30px rgba(17,17,17,.045)!important;
}
.room-visualizer-page .room-photo-marker{min-height:0!important;}
.room-visualizer-page .room-photo-marker::before{
  content:'1. Zdjęcie referencyjne';
  position:absolute;
  left:18px;
  top:16px;
  z-index:2;
  font-weight:850;
  font-size:14px;
  letter-spacing:-.015em;
  pointer-events:none;
}
.room-visualizer-page .room-photo-marker canvas{
  width:100%!important;
  height:100%!important;
  padding:44px 20px 24px!important;
  background:#fff!important;
}
.room-visualizer-page .room-empty-state strong{font-size:20px!important;letter-spacing:-.02em!important;}
.room-visualizer-page .room-3d-panel{height:auto!important;min-height:0!important;overflow:hidden!important;}
.room-visualizer-page .room-3d-toolbar{
  height:46px!important;
  padding:0 16px!important;
  background:#fff!important;
  border-bottom:1px solid var(--rv-border)!important;
}
.room-visualizer-page .room-3d-toolbar strong{
  font-size:14px!important;
  text-transform:none!important;
  letter-spacing:-.015em!important;
  font-weight:850!important;
}
.room-visualizer-page .room-3d-toolbar span{font-size:12px!important;color:var(--rv-muted)!important;}
.room-visualizer-page .room-3d-panel canvas[data-room-3d-canvas]{
  height:calc(100% - 46px)!important;
  min-height:0!important;
  background:#f8f7f4!important;
  cursor:grab!important;
}
@media(max-width:1180px){
  .room-visualizer-page .room-visualizer{grid-template-columns:330px minmax(0,1fr)!important;}
  .room-visualizer-page .room-surface-picker.room-surface-picker--icons button{height:98px!important;min-height:98px!important;}
  .room-visualizer-page .room-surface-icon{width:96px!important;height:58px!important;}
}
@media(max-width:860px){
  body.room-visualizer-page{overflow:auto!important;}
  .room-visualizer-page .room-topbar{height:auto!important;grid-template-columns:1fr!important;padding:12px!important;}
  .room-visualizer-page .room-visualizer{height:auto!important;overflow:visible!important;grid-template-columns:1fr!important;}
  .room-visualizer-page .room-visualizer__steps{height:auto!important;overflow:visible!important;}
  .room-visualizer-page .room-visualizer__workspace{height:900px!important;grid-template-rows:330px 560px!important;}
}

/* === GABINET VR 3D — clean app redesign / manual wall drawer === */
body.room-visualizer-page{
  --vr-bg:#f6f6f4;
  --vr-card:#fff;
  --vr-line:#e8e6e1;
  --vr-text:#111111;
  --vr-muted:#6f6b64;
  --vr-soft:#f8f7f4;
  --vr-black:#111111;
  --vr-red:#ff3b30;
  --vr-green:#34c759;
  --vr-blue:#0a84ff;
  --vr-shadow:0 12px 32px rgba(16,16,16,.055);
  background:var(--vr-bg)!important;
  color:var(--vr-text)!important;
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif!important;
}
.room-visualizer-page .room-topbar.room-topbar--pro{
  height:64px!important;
  padding:0 28px!important;
  display:grid!important;
  grid-template-columns:240px minmax(260px,1fr) auto!important;
  gap:24px!important;
  align-items:center!important;
  background:rgba(255,255,255,.94)!important;
  border-bottom:1px solid var(--vr-line)!important;
  box-shadow:none!important;
  position:sticky!important;
  top:0!important;
  z-index:50!important;
  backdrop-filter:blur(14px) saturate(1.2)!important;
}
.room-visualizer-page .room-topbar__brand--text{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  color:#111!important;
  text-decoration:none!important;
  font-weight:800!important;
  letter-spacing:.01em!important;
  font-size:18px!important;
  white-space:nowrap!important;
}
.room-visualizer-page .room-brand-mark{
  width:32px!important;height:32px!important;border:1px solid #d9d7d1!important;border-radius:10px!important;
  display:grid!important;place-items:center!important;background:#fff!important;
}
.room-visualizer-page .room-brand-mark svg{width:19px!important;height:19px!important;fill:#151515!important;display:block!important;}
.room-visualizer-page .room-topbar__title strong{
  display:block!important;text-transform:none!important;letter-spacing:0!important;font-size:20px!important;line-height:1.05!important;color:#111!important;
}
.room-visualizer-page .room-topbar__title span{
  margin-top:4px!important;display:block!important;color:#7c7a75!important;font-size:12px!important;letter-spacing:0!important;text-transform:none!important;
}
.room-visualizer-page .room-topbar__actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:12px!important;}
.room-visualizer-page .room-topbar__actions button,
.room-visualizer-page .room-topbar__actions a{
  height:38px!important;padding:0 18px!important;border-radius:9px!important;border:1px solid var(--vr-line)!important;background:#fff!important;color:#111!important;
  display:inline-flex!important;align-items:center!important;gap:8px!important;text-decoration:none!important;font-size:13px!important;font-weight:750!important;cursor:pointer!important;
  box-shadow:0 1px 0 rgba(0,0,0,.02)!important;
}
.room-visualizer-page .room-topbar__actions button:hover,
.room-visualizer-page .room-topbar__actions a:hover{background:#f7f7f5!important;border-color:#d8d6d0!important;}
.room-visualizer-page .room-visualizer{
  display:grid!important;
  grid-template-columns:392px minmax(0,1fr)!important;
  gap:14px!important;
  padding:14px!important;
  height:calc(100vh - 64px)!important;
  min-height:680px!important;
  background:var(--vr-bg)!important;
  overflow:hidden!important;
}
.room-visualizer-page .room-visualizer__steps{
  height:100%!important;max-height:none!important;overflow:auto!important;padding:0!important;border:1px solid var(--vr-line)!important;border-radius:14px!important;background:#fff!important;box-shadow:var(--vr-shadow)!important;
  display:block!important;
}
.room-visualizer-page .room-step{
  display:grid!important;grid-template-columns:30px minmax(0,1fr)!important;gap:12px!important;padding:18px 18px!important;border:0!important;border-bottom:1px solid var(--vr-line)!important;border-radius:0!important;background:#fff!important;box-shadow:none!important;
}
.room-visualizer-page .room-step:last-child{border-bottom:0!important;}
.room-visualizer-page .room-step>b{width:24px!important;height:24px!important;border:1px solid #cfcac2!important;background:#fff!important;color:#111!important;font-size:12px!important;font-weight:800!important;}
.room-visualizer-page .room-step h2{margin:0 0 6px!important;font-size:16px!important;font-weight:850!important;letter-spacing:-.01em!important;color:#111!important;line-height:1.2!important;}
.room-visualizer-page .room-step p{font-size:12px!important;line-height:1.45!important;color:#6f6b64!important;margin:0 0 14px!important;}
.room-visualizer-page .room-upload{height:44px!important;min-height:44px!important;border-radius:8px!important;border:1px solid var(--vr-line)!important;background:#fff!important;color:#111!important;font-size:12px!important;letter-spacing:.04em!important;text-transform:uppercase!important;font-weight:850!important;}
.room-visualizer-page .room-upload:hover{border-color:#111!important;background:#fafafa!important;}
.room-visualizer-page .room-mode-toggle{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;margin:8px 0 12px!important;}
.room-visualizer-page .room-mode-toggle button{
  min-height:44px!important;border-radius:10px!important;border:1px solid var(--vr-line)!important;background:#fff!important;color:#111!important;font-size:12px!important;font-weight:850!important;text-transform:uppercase!important;letter-spacing:.04em!important;cursor:pointer!important;
}
.room-visualizer-page .room-mode-toggle button.is-active{background:#111!important;color:#fff!important;border-color:#111!important;box-shadow:0 10px 24px rgba(0,0,0,.12)!important;}
.room-visualizer-page .room-auto-panel[hidden],
.room-visualizer-page .room-manual-panel[hidden]{display:none!important;}
.room-visualizer-page .room-auto-panel{display:grid!important;gap:10px!important;margin-bottom:12px!important;}
.room-visualizer-page .room-auto-card,
.room-visualizer-page .room-dimensions-card,
.room-visualizer-page .room-manual-head{
  border:1px solid var(--vr-line)!important;background:var(--vr-soft)!important;border-radius:12px!important;padding:12px!important;
}
.room-visualizer-page .room-auto-card strong,
.room-visualizer-page .room-dimensions-card>strong,
.room-visualizer-page .room-manual-head strong{display:block!important;font-size:12px!important;font-weight:850!important;color:#111!important;margin-bottom:4px!important;}
.room-visualizer-page .room-auto-card span,
.room-visualizer-page .room-manual-head span{display:block!important;font-size:11px!important;line-height:1.4!important;color:#716d66!important;}
.room-visualizer-page .room-primary-action,
.room-visualizer-page .room-actions button,
.room-visualizer-page .room-step button[data-room-screenshot]{height:38px!important;min-height:38px!important;border-radius:9px!important;background:#111!important;color:#fff!important;border:1px solid #111!important;padding:0 14px!important;font-size:12px!important;font-weight:850!important;letter-spacing:.02em!important;cursor:pointer!important;}
.room-visualizer-page .room-actions button:first-child{background:#fff!important;color:#111!important;border-color:var(--vr-line)!important;}
.room-visualizer-page .room-actions--manual{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin-top:12px!important;}
.room-visualizer-page .room-surface-picker.room-surface-picker--icons{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin:12px 0!important;
}
.room-visualizer-page .room-surface-picker.room-surface-picker--icons button{
  min-height:108px!important;height:108px!important;border-radius:12px!important;background:#fff!important;border:1px solid var(--vr-line)!important;color:#111!important;padding:10px 8px 8px!important;display:grid!important;grid-template-rows:1fr auto!important;place-items:center!important;gap:6px!important;box-shadow:none!important;cursor:pointer!important;
}
.room-visualizer-page .room-surface-picker.room-surface-picker--icons button:hover{border-color:#c9c6bd!important;background:#fcfcfb!important;}
.room-visualizer-page .room-surface-picker.room-surface-picker--icons button.is-active{border-color:#111!important;background:#fff!important;box-shadow:inset 0 0 0 1px #111!important;color:#111!important;}
.room-visualizer-page .room-surface-icon{width:104px!important;height:74px!important;filter:drop-shadow(0 8px 14px rgba(0,0,0,.08))!important;}
.room-visualizer-page .room-surface-icon .surface-plane{fill:rgba(244,244,242,.68)!important;stroke:rgba(190,187,180,.64)!important;stroke-width:.8!important;}
.room-visualizer-page .room-surface-picker button[data-room-surface="back"] .surface-plane--back{fill:rgba(10,132,255,.92)!important;stroke:#0a84ff!important;}
.room-visualizer-page .room-surface-picker button[data-room-surface="left"] .surface-plane--left{fill:rgba(255,59,48,.92)!important;stroke:#ff3b30!important;}
.room-visualizer-page .room-surface-picker button[data-room-surface="right"] .surface-plane--right{fill:rgba(52,199,89,.92)!important;stroke:#34c759!important;}
.room-visualizer-page .room-surface-picker button[data-room-surface="floor"] .surface-plane--floor{fill:rgba(112,112,112,.68)!important;stroke:#777!important;}
.room-visualizer-page .room-surface-picker button[data-room-surface="ceiling"] .surface-plane--ceiling{fill:rgba(17,17,17,.9)!important;stroke:#111!important;}
.room-visualizer-page .room-surface-label{font-size:11px!important;font-weight:900!important;letter-spacing:.04em!important;color:#111!important;line-height:1!important;}
.room-visualizer-page .room-dimensions-card{margin-top:12px!important;}
.room-visualizer-page .room-dimensions-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;margin-top:10px!important;}
.room-visualizer-page .room-step label{font-size:10px!important;color:#56534e!important;letter-spacing:.02em!important;text-transform:none!important;font-weight:750!important;gap:6px!important;}
.room-visualizer-page .room-step input[type="number"]{height:39px!important;border:1px solid var(--vr-line)!important;border-radius:8px!important;background:#fff!important;color:#111!important;font-size:13px!important;padding:0 10px!important;}
.room-visualizer-page .room-check{display:flex!important;align-items:center!important;gap:9px!important;margin-top:12px!important;text-transform:none!important;letter-spacing:0!important;font-size:12px!important;color:#111!important;}
.room-visualizer-page .room-check input{width:17px!important;height:17px!important;}
.room-visualizer-page .room-product-list{max-height:230px!important;gap:8px!important;}
.room-visualizer-page .room-product{border-radius:10px!important;background:#fff!important;border:1px solid var(--vr-line)!important;box-shadow:none!important;}
.room-visualizer-page .room-product.is-active{border-color:#111!important;background:#f8f8f6!important;box-shadow:inset 0 0 0 1px #111!important;}
.room-visualizer-page .room-visualizer__workspace{height:100%!important;display:grid!important;grid-template-rows:minmax(268px,37%) minmax(0,1fr)!important;gap:14px!important;overflow:hidden!important;}
.room-visualizer-page .room-work-card{background:#fff!important;border:1px solid var(--vr-line)!important;border-radius:14px!important;box-shadow:var(--vr-shadow)!important;overflow:hidden!important;min-width:0!important;display:grid!important;grid-template-rows:auto minmax(0,1fr)!important;}
.room-visualizer-page .room-card-title{height:52px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:0 20px!important;border-bottom:1px solid var(--vr-line)!important;background:#fff!important;}
.room-visualizer-page .room-card-title strong{font-size:15px!important;color:#111!important;}
.room-visualizer-page .room-card-title span{font-size:12px!important;color:#706c66!important;}
.room-visualizer-page .room-photo-marker{border:0!important;border-radius:0!important;background:#fbfaf8!important;box-shadow:none!important;min-height:0!important;height:100%!important;}
.room-visualizer-page .room-photo-marker canvas{height:100%!important;width:100%!important;}
.room-visualizer-page .room-empty-state strong{font-size:20px!important;color:#111!important;}
.room-visualizer-page .room-empty-state span{font-size:12px!important;color:#706c66!important;max-width:520px!important;margin:6px auto 0!important;}
.room-visualizer-page .room-3d-panel{height:100%!important;min-height:0!important;border:0!important;border-radius:0!important;background:#fbfaf8!important;box-shadow:none!important;}
.room-visualizer-page .room-3d-toolbar{height:42px!important;border-bottom:1px solid var(--vr-line)!important;background:#fff!important;padding:0 16px!important;}
.room-visualizer-page .room-3d-toolbar strong{font-size:12px!important;letter-spacing:.04em!important;text-transform:uppercase!important;}
.room-visualizer-page .room-3d-toolbar span{font-size:12px!important;color:#706c66!important;}
.room-visualizer-page .room-3d-panel canvas[data-room-3d-canvas]{height:calc(100% - 42px)!important;min-height:0!important;width:100%!important;cursor:grab!important;}
.room-visualizer-page .room-wall-snap{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;margin:8px 0!important;}
.room-visualizer-page .room-wall-snap button{height:34px!important;min-height:34px!important;border-radius:8px!important;border:1px solid var(--vr-line)!important;background:#fff!important;color:#111!important;font-size:11px!important;font-weight:800!important;}
.room-visualizer-page .room-wall-snap button.is-active{background:#111!important;color:#fff!important;border-color:#111!important;}
.room-visualizer-page .room-surface-fixed-colors{display:none!important;}
@media(max-width:1180px){
  .room-visualizer-page .room-topbar.room-topbar--pro{grid-template-columns:210px 1fr!important;padding:0 16px!important;}
  .room-visualizer-page .room-topbar__actions{grid-column:1/-1;justify-content:flex-start!important;padding-bottom:10px!important;}
  .room-visualizer-page .room-topbar.room-topbar--pro{height:auto!important;padding-top:10px!important;}
  .room-visualizer-page .room-visualizer{height:auto!important;min-height:0!important;overflow:visible!important;grid-template-columns:1fr!important;}
  .room-visualizer-page .room-visualizer__steps{height:auto!important;max-height:none!important;overflow:visible!important;order:2!important;}
  .room-visualizer-page .room-visualizer__workspace{order:1!important;height:780px!important;}
}
@media(max-width:720px){
  .room-visualizer-page .room-topbar.room-topbar--pro{grid-template-columns:1fr!important;gap:8px!important;}
  .room-visualizer-page .room-topbar__actions{display:grid!important;grid-template-columns:1fr!important;}
  .room-visualizer-page .room-dimensions-grid{grid-template-columns:1fr!important;}
  .room-visualizer-page .room-surface-picker.room-surface-picker--icons{grid-template-columns:1fr!important;}
  .room-visualizer-page .room-visualizer__workspace{height:720px!important;grid-template-rows:270px 1fr!important;}
}

/* PATCH — dokładny obrazek przycisku Virtualny Gabinet, większy + hover + licznik */
.favorites-bar{
  position:fixed!important;
  right:clamp(14px,2.2vw,34px)!important;
  bottom:clamp(14px,2.2vw,34px)!important;
  z-index:120!important;
  width:clamp(250px,22vw,420px)!important;
  max-width:94vw!important;
  font-family:inherit!important;
  overflow:visible!important;
}
.favorites-bar__toggle{display:none!important;}
.favorites-bar__image-link,
.favorites-bar__visualize{
  position:relative!important;
  display:block!important;
  width:100%!important;
  min-height:0!important;
  height:auto!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:999px!important;
  background:transparent!important;
  box-shadow:0 14px 34px rgba(25,18,10,.10)!important;
  text-decoration:none!important;
  cursor:pointer!important;
  line-height:0!important;
  overflow:visible!important;
  pointer-events:auto!important;
  transform:translateZ(0)!important;
  transition:transform .22s ease, filter .22s ease, box-shadow .22s ease!important;
}
.favorites-bar__image-link:hover,
.favorites-bar__visualize:hover{
  transform:translateY(-3px) scale(1.035)!important;
  filter:brightness(1.025) contrast(1.02)!important;
  box-shadow:0 24px 58px rgba(25,18,10,.20)!important;
}
.favorites-bar__image-link:active,
.favorites-bar__visualize:active{
  transform:translateY(-1px) scale(1.012)!important;
}
.favorites-bar__image-link img,
.favorites-bar__visualize img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  object-fit:contain!important;
  border:0!important;
  box-shadow:none!important;
  filter:none!important;
  opacity:1!important;
  transform:none!important;
}
.favorites-bar__count{
  position:absolute!important;
  right:clamp(8px,1vw,15px)!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:32px!important;
  height:32px!important;
  padding:0 9px!important;
  border-radius:999px!important;
  background:#d7b56d!important;
  color:#17120d!important;
  border:1px solid rgba(100,70,25,.18)!important;
  font-size:14px!important;
  font-weight:900!important;
  letter-spacing:.02em!important;
  line-height:1!important;
  box-shadow:0 8px 20px rgba(0,0,0,.16)!important;
  z-index:3!important;
}
.favorites-bar__visualize.is-disabled{
  pointer-events:none!important;
  opacity:.52!important;
  filter:grayscale(.25)!important;
}
.favorites-bar__panel{
  position:absolute!important;
  right:0!important;
  bottom:calc(100% + 12px)!important;
  width:min(360px,92vw)!important;
  background:#fff!important;
  border:1px solid rgba(34,28,21,.12)!important;
  border-radius:18px!important;
  padding:14px!important;
  box-shadow:0 24px 70px rgba(0,0,0,.22)!important;
  opacity:0!important;
  pointer-events:none!important;
  transform:translateY(8px)!important;
  transition:.2s ease!important;
}
.favorites-bar:hover .favorites-bar__panel,
.favorites-bar.is-open .favorites-bar__panel{
  opacity:1!important;
  pointer-events:auto!important;
  transform:translateY(0)!important;
}
@media(min-width:1280px){
  .favorites-bar{width:clamp(300px,24vw,460px)!important;}
}
@media(max-width:640px){
  .favorites-bar{
    width:clamp(230px,68vw,330px)!important;
    right:10px!important;
    bottom:10px!important;
  }
  .favorites-bar__count{
    right:7px!important;
    min-width:28px!important;
    height:28px!important;
    font-size:12px!important;
    padding:0 7px!important;
  }
}


/* PATCH 2026-06-09 — estetyka GABINET / licznik bez nawiasów / serduszka po lewej */
*, *::before, *::after { box-sizing: border-box; }

/* Serduszka w katalogu po lewej, żeby nie zasłaniały tagów promocyjnych po prawej */
.product-card .product-favorite,
.product-favorite{
  left:14px!important;
  right:auto!important;
  top:14px!important;
  width:40px!important;
  height:40px!important;
  z-index:12!important;
}
.product-card__ribbon,
.product-card__ribbon--gold,
.product-card__ribbon--promo,
.product-card__badge{
  z-index:10!important;
}

/* Button Virtualny Gabinet: obrazek bez białej podstawy, licznik bez nawiasów */
.favorites-bar{
  background:transparent!important;
  border:0!important;
  padding:0!important;
  box-shadow:none!important;
  isolation:isolate!important;
}
.favorites-bar::before,
.favorites-bar::after,
.favorites-bar__image-link::before,
.favorites-bar__image-link::after,
.favorites-bar__visualize::before,
.favorites-bar__visualize::after{
  content:none!important;
  display:none!important;
}
.favorites-bar__image-link,
.favorites-bar__visualize{
  background:transparent!important;
  box-shadow:0 16px 36px rgba(26,20,13,.11)!important;
}
.favorites-bar__image-link img,
.favorites-bar__visualize img{
  background:transparent!important;
  display:block!important;
}
.favorites-bar__count{
  min-width:31px!important;
  width:auto!important;
  height:31px!important;
  padding:0 10px!important;
  right:clamp(9px,1.05vw,16px)!important;
  font-size:14px!important;
  letter-spacing:0!important;
  font-variant-numeric:tabular-nums!important;
}

/* Panel wybranych modeli — bardziej kompaktowy, nie tworzy wrażenia białego podkładu pod buttonem */
.favorites-bar__panel{
  bottom:calc(100% + 10px)!important;
  border-radius:20px!important;
  padding:13px!important;
  max-height:min(360px,55vh)!important;
  overflow:auto!important;
}
.favorites-bar__item{
  grid-template-columns:50px minmax(0,1fr) 28px!important;
  gap:10px!important;
}
.favorites-bar__item span,
.favorites-bar__item b,
.favorites-bar__item small{
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}

/* Topbar wizualizatora — nasz GABINET, bez ciężkiej kostki */
.room-visualizer-page .room-topbar,
.room-visualizer-page .room-topbar.room-topbar--pro{
  height:58px!important;
  min-height:58px!important;
  padding:0 clamp(14px,2vw,26px)!important;
  grid-template-columns:minmax(160px,250px) 1fr auto!important;
  gap:16px!important;
  overflow:hidden!important;
}
.room-visualizer-page .room-topbar__brand,
.room-visualizer-page .room-topbar__brand--gabi{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  min-width:0!important;
  height:100%!important;
  text-decoration:none!important;
  color:#111!important;
  font-weight:900!important;
  letter-spacing:.02em!important;
  white-space:nowrap!important;
}
.room-visualizer-page .room-topbar__brand img,
.room-visualizer-page .room-topbar__brand--gabi img{
  height:34px!important;
  width:auto!important;
  max-width:92px!important;
  object-fit:contain!important;
  display:block!important;
}
.room-visualizer-page .room-topbar__brand span,
.room-visualizer-page .room-topbar__brand--gabi span{
  display:inline-block!important;
  font-size:18px!important;
  line-height:1!important;
}
.room-visualizer-page .room-brand-mark{display:none!important;}
.room-visualizer-page .room-topbar__title{
  min-width:0!important;
  overflow:hidden!important;
}
.room-visualizer-page .room-topbar__title strong{
  display:block!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  font-size:18px!important;
  line-height:1.15!important;
}
.room-visualizer-page .room-topbar__title span{
  display:block!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  font-size:11px!important;
  line-height:1.25!important;
}
.room-visualizer-page .room-topbar__actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  min-width:0!important;
}
.room-visualizer-page .room-topbar__actions button,
.room-visualizer-page .room-topbar__actions a{
  min-height:34px!important;
  height:34px!important;
  padding:0 14px!important;
  max-width:180px!important;
  border-radius:10px!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  font-size:12px!important;
  line-height:34px!important;
}

/* Lewy panel — przyciski i pola dopasowane do napisów, bez wychodzenia poza obrys */
.room-visualizer-page .room-visualizer__steps,
.room-visualizer-page .room-step,
.room-visualizer-page .room-step > div,
.room-visualizer-page .room-auto-panel,
.room-visualizer-page .room-manual-panel{
  min-width:0!important;
  max-width:100%!important;
  overflow-x:hidden!important;
}
.room-visualizer-page .room-step{
  padding:14px 14px!important;
  grid-template-columns:32px minmax(0,1fr)!important;
  gap:12px!important;
}
.room-visualizer-page .room-step>b{
  width:32px!important;
  height:32px!important;
  font-size:13px!important;
}
.room-visualizer-page .room-step h2{
  font-size:17px!important;
  line-height:1.18!important;
  margin-bottom:5px!important;
}
.room-visualizer-page .room-step p,
.room-visualizer-page .room-auto-card span,
.room-visualizer-page .room-manual-head span{
  font-size:12px!important;
  line-height:1.35!important;
}
.room-visualizer-page .room-upload,
.room-visualizer-page .room-mode-toggle button,
.room-visualizer-page .room-primary-action,
.room-visualizer-page .room-actions button,
.room-visualizer-page .room-product,
.room-visualizer-page .room-step input,
.room-visualizer-page .room-step select{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
}
.room-visualizer-page .room-mode-toggle{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:8px!important;
  width:100%!important;
}
.room-visualizer-page .room-mode-toggle button,
.room-visualizer-page .room-primary-action{
  min-height:42px!important;
  height:auto!important;
  padding:11px 12px!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  line-height:1.15!important;
  border-radius:12px!important;
  text-align:center!important;
}
.room-visualizer-page .room-auto-card{
  width:100%!important;
  padding:12px!important;
  border-radius:13px!important;
}
.room-visualizer-page .room-dimensions-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:8px!important;
  width:100%!important;
}
.room-visualizer-page .room-dimensions-grid label{
  min-width:0!important;
}
.room-visualizer-page .room-dimensions-grid input{
  height:40px!important;
  padding:0 10px!important;
}
.room-visualizer-page .room-checkbox-card,
.room-visualizer-page .room-transparent-toggle{
  width:100%!important;
  max-width:100%!important;
  padding:12px!important;
}

/* Kafelki ręcznego zaznaczania — małe i równe, bez pajęczyny/rozpychania panelu */
.room-visualizer-page .room-surface-picker.room-surface-picker--icons{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:6px!important;
  width:100%!important;
}
.room-visualizer-page .room-surface-picker.room-surface-picker--icons button{
  min-width:0!important;
  width:100%!important;
  padding:6px 3px!important;
  border-radius:10px!important;
  aspect-ratio:1 / 1.05!important;
  display:grid!important;
  place-items:center!important;
  gap:3px!important;
  overflow:hidden!important;
}
.room-visualizer-page .room-surface-icon{
  width:100%!important;
  max-width:42px!important;
  height:auto!important;
  display:block!important;
}
.room-visualizer-page .room-surface-label{
  font-size:9px!important;
  line-height:1!important;
  letter-spacing:.035em!important;
  white-space:nowrap!important;
}

@media(max-width:980px){
  .room-visualizer-page .room-topbar,
  .room-visualizer-page .room-topbar.room-topbar--pro{
    height:auto!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
    padding:10px 12px!important;
    overflow:visible!important;
  }
  .room-visualizer-page .room-topbar__actions{
    justify-content:stretch!important;
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
  .room-visualizer-page .room-topbar__actions button,
  .room-visualizer-page .room-topbar__actions a{
    max-width:none!important;
    width:100%!important;
    padding:0 8px!important;
  }
}
@media(max-width:520px){
  .room-visualizer-page .room-surface-picker.room-surface-picker--icons{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
  .room-visualizer-page .room-dimensions-grid{grid-template-columns:1fr!important;}
  .product-card .product-favorite,.product-favorite{left:10px!important;top:10px!important;width:36px!important;height:36px!important;}
}

/* === GABINET 1:1 — finalny styl wizualizatora pokoju === */
body.room-visualizer-page{
  --g1-bg:#f7f4ef;
  --g1-card:#fffdf9;
  --g1-line:#e6ded3;
  --g1-text:#15120f;
  --g1-muted:#8a8177;
  --g1-accent:#9c1f1f;
  --g1-black:#12100d;
  --g1-soft:#f3eee7;
  --g1-shadow:0 24px 70px rgba(52,38,24,.075);
  margin:0!important;
  background:
    radial-gradient(circle at 5% 0%, rgba(185,31,31,.045), transparent 28%),
    radial-gradient(circle at 95% 0%, rgba(176,143,96,.06), transparent 32%),
    var(--g1-bg)!important;
  color:var(--g1-text)!important;
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif!important;
  overflow:hidden!important;
}
body.room-visualizer-page *{box-sizing:border-box!important;}

.room-visualizer-page .room-topbar.room-topbar--pro{
  height:84px!important;
  min-height:84px!important;
  padding:0 34px!important;
  display:grid!important;
  grid-template-columns:220px minmax(260px,1fr) auto!important;
  gap:28px!important;
  align-items:center!important;
  background:rgba(255,253,249,.96)!important;
  border-bottom:1px solid var(--g1-line)!important;
  box-shadow:0 8px 40px rgba(52,38,24,.045)!important;
  position:sticky!important;
  top:0!important;
  z-index:80!important;
  backdrop-filter:blur(18px) saturate(120%)!important;
}
.room-visualizer-page .room-topbar__brand,
.room-visualizer-page .room-topbar__brand--gabi{
  height:60px!important;
  width:auto!important;
  min-width:0!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:13px!important;
  text-decoration:none!important;
  color:#15120f!important;
  font-size:22px!important;
  font-weight:900!important;
  letter-spacing:.055em!important;
}
.room-visualizer-page .room-topbar__brand img,
.room-visualizer-page .room-topbar__brand--gabi img{
  height:47px!important;
  max-width:92px!important;
  width:auto!important;
  object-fit:contain!important;
  display:block!important;
}
.room-visualizer-page .room-topbar__brand span,
.room-visualizer-page .room-topbar__brand--gabi span{
  font-size:23px!important;
  line-height:1!important;
  letter-spacing:.065em!important;
  text-transform:uppercase!important;
}
.room-visualizer-page .room-topbar__title{
  min-width:0!important;
}
.room-visualizer-page .room-topbar__title strong{
  display:block!important;
  font-size:24px!important;
  line-height:1.05!important;
  font-weight:900!important;
  letter-spacing:-.025em!important;
  text-transform:none!important;
  color:#17130f!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.room-visualizer-page .room-topbar__title span{
  display:block!important;
  margin-top:7px!important;
  font-size:13px!important;
  line-height:1.2!important;
  color:#8b8176!important;
  letter-spacing:.02em!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.room-visualizer-page .room-topbar__actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:10px!important;
  min-width:0!important;
}
.room-visualizer-page .room-topbar__actions button,
.room-visualizer-page .room-topbar__actions a{
  height:42px!important;
  min-height:42px!important;
  max-width:none!important;
  padding:0 22px!important;
  border-radius:13px!important;
  border:1px solid #dacfc2!important;
  background:#fffdf9!important;
  color:#17130f!important;
  box-shadow:0 8px 20px rgba(52,38,24,.045)!important;
  text-decoration:none!important;
  font-size:12px!important;
  font-weight:900!important;
  letter-spacing:.055em!important;
  text-transform:uppercase!important;
  line-height:42px!important;
  white-space:nowrap!important;
  cursor:pointer!important;
  transition:transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease!important;
}
.room-visualizer-page .room-topbar__actions button:hover,
.room-visualizer-page .room-topbar__actions a:hover{
  transform:translateY(-1px)!important;
  border-color:#bca98e!important;
  box-shadow:0 14px 30px rgba(52,38,24,.09)!important;
}
.room-visualizer-page .room-topbar__actions .room-topbar__new,
.room-visualizer-page .room-topbar__actions a:last-child{
  background:linear-gradient(180deg,#191511,#0f0d0b)!important;
  color:#fffdf9!important;
  border-color:#191511!important;
  box-shadow:0 14px 26px rgba(18,16,13,.18)!important;
}

.room-visualizer-page .room-visualizer{
  height:calc(100vh - 84px - 70px)!important;
  min-height:0!important;
  display:grid!important;
  grid-template-columns:360px minmax(0,1fr)!important;
  gap:18px!important;
  padding:18px 26px 12px!important;
  background:transparent!important;
  overflow:hidden!important;
}
.room-visualizer-page .room-visualizer__steps{
  height:100%!important;
  min-height:0!important;
  overflow:auto!important;
  padding:0!important;
  border-radius:18px!important;
  background:rgba(255,253,249,.92)!important;
  border:1px solid var(--g1-line)!important;
  box-shadow:var(--g1-shadow)!important;
  display:block!important;
  scrollbar-width:thin!important;
  scrollbar-color:#c9b69b transparent!important;
}
.room-visualizer-page .room-visualizer__steps::-webkit-scrollbar{width:5px!important;}
.room-visualizer-page .room-visualizer__steps::-webkit-scrollbar-thumb{background:#c9b69b!important;border-radius:999px!important;}
.room-visualizer-page .room-step{
  position:relative!important;
  display:grid!important;
  grid-template-columns:32px minmax(0,1fr)!important;
  gap:14px!important;
  padding:26px 26px 26px 20px!important;
  border:0!important;
  border-bottom:1px solid var(--g1-line)!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  min-width:0!important;
  overflow:visible!important;
}
.room-visualizer-page .room-step:first-child::before{
  content:""!important;
  position:absolute!important;
  left:0!important;
  top:0!important;
  bottom:0!important;
  width:3px!important;
  background:var(--g1-accent)!important;
  border-radius:0 2px 2px 0!important;
}
.room-visualizer-page .room-step:last-child{border-bottom:0!important;}
.room-visualizer-page .room-step>b{
  width:29px!important;
  height:29px!important;
  border-radius:999px!important;
  background:#fffdf9!important;
  color:#3b3027!important;
  border:1px solid #d8cfc3!important;
  box-shadow:0 10px 22px rgba(52,38,24,.08)!important;
  font-size:13px!important;
  font-weight:800!important;
  display:grid!important;
  place-items:center!important;
}
.room-visualizer-page .room-step h2{
  margin:1px 0 9px!important;
  font-size:14px!important;
  line-height:1.1!important;
  letter-spacing:.13em!important;
  text-transform:uppercase!important;
  font-weight:950!important;
  color:#7b6c60!important;
}
.room-visualizer-page .room-step p{
  margin:0 0 18px!important;
  font-size:13px!important;
  line-height:1.65!important;
  color:#8a8177!important;
}
.room-visualizer-page .room-upload{
  height:42px!important;
  min-height:42px!important;
  width:min(100%,178px)!important;
  border:1px solid #968878!important;
  border-radius:7px!important;
  background:#fffdf9!important;
  color:#2b241e!important;
  display:grid!important;
  place-items:center!important;
  font-size:11px!important;
  font-weight:950!important;
  text-transform:uppercase!important;
  letter-spacing:.08em!important;
  box-shadow:none!important;
}
.room-visualizer-page .room-upload:hover{background:#fbf7f1!important;border-color:#2b241e!important;}
.room-visualizer-page .room-mode-toggle{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:10px!important;
  margin:2px 0 13px!important;
  width:100%!important;
}
.room-visualizer-page .room-mode-toggle button,
.room-visualizer-page .room-primary-action{
  width:100%!important;
  min-height:42px!important;
  height:auto!important;
  border-radius:8px!important;
  border:1px solid #d7cfc4!important;
  background:#fffdf9!important;
  color:#17130f!important;
  font-size:12px!important;
  line-height:1.15!important;
  padding:12px 14px!important;
  font-weight:950!important;
  letter-spacing:.05em!important;
  text-transform:uppercase!important;
  text-align:center!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
.room-visualizer-page .room-mode-toggle button.is-active,
.room-visualizer-page .room-primary-action{
  background:linear-gradient(180deg,#211b16,#120f0c)!important;
  color:#fffdf9!important;
  border-color:#17130f!important;
  box-shadow:0 14px 26px rgba(18,16,13,.16)!important;
}
.room-visualizer-page .room-auto-card,
.room-visualizer-page .room-dimensions-card,
.room-visualizer-page .room-manual-head{
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  padding:0!important;
  box-shadow:none!important;
}
.room-visualizer-page .room-auto-card{
  padding:0 0 10px!important;
  border-bottom:1px solid var(--g1-line)!important;
}
.room-visualizer-page .room-auto-card strong,
.room-visualizer-page .room-dimensions-card>strong,
.room-visualizer-page .room-manual-head strong{
  display:block!important;
  margin:0 0 8px!important;
  font-size:13px!important;
  line-height:1.15!important;
  letter-spacing:.11em!important;
  text-transform:uppercase!important;
  color:#7b6c60!important;
  font-weight:950!important;
}
.room-visualizer-page .room-auto-card span,
.room-visualizer-page .room-manual-head span{
  display:block!important;
  font-size:12px!important;
  line-height:1.55!important;
  color:#8a8177!important;
}
.room-visualizer-page .room-dimensions-card{
  margin-top:22px!important;
  padding-top:20px!important;
  border-top:1px solid var(--g1-line)!important;
}
.room-visualizer-page .room-dimensions-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:12px!important;
  margin-top:16px!important;
  width:100%!important;
}
.room-visualizer-page .room-step label{
  display:grid!important;
  gap:8px!important;
  margin:0!important;
  min-width:0!important;
  font-size:9px!important;
  line-height:1.1!important;
  letter-spacing:.07em!important;
  text-transform:uppercase!important;
  color:#6d6258!important;
  font-weight:950!important;
}
.room-visualizer-page .room-step input[type="number"]{
  height:42px!important;
  width:100%!important;
  min-width:0!important;
  border-radius:7px!important;
  border:1px solid #d9d0c5!important;
  background:#fffdf9!important;
  color:#17130f!important;
  padding:0 12px!important;
  font-size:13px!important;
  font-weight:850!important;
}
.room-visualizer-page .room-check{
  display:flex!important;
  align-items:flex-start!important;
  gap:10px!important;
  padding:18px 0 0!important;
  margin:18px 0 0!important;
  border-top:1px solid var(--g1-line)!important;
  background:transparent!important;
  border-radius:0!important;
  font-size:11px!important;
  line-height:1.55!important;
  letter-spacing:.04em!important;
  text-transform:uppercase!important;
  color:#7b6c60!important;
  font-weight:850!important;
}
.room-visualizer-page .room-check input{width:18px!important;height:18px!important;margin:1px 0 0!important;accent-color:#111!important;}

.room-visualizer-page .room-manual-panel{margin-top:12px!important;}
.room-visualizer-page .room-surface-picker.room-surface-picker--icons{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:8px!important;
  width:100%!important;
  margin:12px 0 0!important;
}
.room-visualizer-page .room-surface-picker.room-surface-picker--icons button{
  min-width:0!important;
  width:100%!important;
  height:62px!important;
  min-height:62px!important;
  aspect-ratio:auto!important;
  padding:6px 4px!important;
  border-radius:9px!important;
  border:1px solid #e3dbd0!important;
  background:#fffdf9!important;
  display:grid!important;
  grid-template-rows:34px auto!important;
  place-items:center!important;
  gap:5px!important;
  box-shadow:0 6px 14px rgba(52,38,24,.035)!important;
  transition:.16s ease!important;
}
.room-visualizer-page .room-surface-picker.room-surface-picker--icons button.is-active{
  border-color:#231d17!important;
  box-shadow:inset 0 0 0 1px #231d17,0 12px 22px rgba(52,38,24,.08)!important;
}
.room-visualizer-page .room-surface-icon{
  width:52px!important;
  max-width:100%!important;
  height:34px!important;
  filter:drop-shadow(0 6px 9px rgba(52,38,24,.08))!important;
}
.room-visualizer-page .room-surface-icon .surface-plane{
  fill:rgba(246,243,239,.72)!important;
  stroke:rgba(210,202,191,.9)!important;
  stroke-width:.7!important;
  opacity:.48!important;
}
.room-visualizer-page .room-surface-picker button[data-room-surface="back"] .surface-plane--back{fill:#2f80ff!important;stroke:#2f80ff!important;opacity:.96!important;}
.room-visualizer-page .room-surface-picker button[data-room-surface="left"] .surface-plane--left{fill:#e7433a!important;stroke:#e7433a!important;opacity:.96!important;}
.room-visualizer-page .room-surface-picker button[data-room-surface="right"] .surface-plane--right{fill:#35b65a!important;stroke:#35b65a!important;opacity:.96!important;}
.room-visualizer-page .room-surface-picker button[data-room-surface="floor"] .surface-plane--floor{fill:#989898!important;stroke:#777!important;opacity:.92!important;}
.room-visualizer-page .room-surface-picker button[data-room-surface="ceiling"] .surface-plane--ceiling{fill:#151515!important;stroke:#151515!important;opacity:.92!important;}
.room-visualizer-page .room-surface-label{
  display:block!important;
  width:auto!important;
  padding:0!important;
  border:0!important;
  font-size:7.5px!important;
  line-height:1!important;
  color:#3b3027!important;
  font-weight:950!important;
  letter-spacing:.05em!important;
  white-space:nowrap!important;
}
.room-visualizer-page .room-actions--manual{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;}
.room-visualizer-page .room-actions button,
.room-visualizer-page .room-step button[data-room-screenshot]{
  min-height:38px!important;
  border-radius:8px!important;
  padding:0 12px!important;
  font-size:11px!important;
  font-weight:950!important;
  letter-spacing:.04em!important;
  text-transform:uppercase!important;
  white-space:normal!important;
}

.room-visualizer-page .room-product-list{
  max-height:230px!important;
  display:grid!important;
  gap:9px!important;
}
.room-visualizer-page .room-product{
  min-height:54px!important;
  border-radius:8px!important;
  border:1px solid #d9d0c5!important;
  background:#fffdf9!important;
  grid-template-columns:58px minmax(0,1fr)!important;
  gap:12px!important;
  padding:8px!important;
}
.room-visualizer-page .room-product img{width:58px!important;height:40px!important;border-radius:7px!important;object-fit:cover!important;}
.room-visualizer-page .room-product b{font-size:12px!important;text-transform:uppercase!important;letter-spacing:.08em!important;}
.room-visualizer-page .room-product small{font-size:11px!important;color:#8a8177!important;}

.room-visualizer-page .room-visualizer__workspace{
  height:100%!important;
  min-height:0!important;
  overflow:hidden!important;
  display:grid!important;
  grid-template-rows:minmax(250px,36%) minmax(0,1fr)!important;
  gap:18px!important;
}
.room-visualizer-page .room-work-card{
  background:rgba(255,253,249,.94)!important;
  border:1px solid var(--g1-line)!important;
  border-radius:18px!important;
  box-shadow:var(--g1-shadow)!important;
  overflow:hidden!important;
  display:grid!important;
  grid-template-rows:58px minmax(0,1fr)!important;
  min-width:0!important;
}
.room-visualizer-page .room-card-title{
  height:58px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:16px!important;
  padding:0 22px!important;
  border-bottom:1px solid var(--g1-line)!important;
  background:#fffdf9!important;
}
.room-visualizer-page .room-card-title strong{
  font-size:13px!important;
  font-weight:950!important;
  color:#7b6c60!important;
  letter-spacing:.14em!important;
  text-transform:uppercase!important;
  white-space:nowrap!important;
}
.room-visualizer-page .room-card-title span{
  font-size:12px!important;
  line-height:1.25!important;
  color:#9b9288!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.room-visualizer-page .room-photo-marker,
.room-visualizer-page .room-3d-panel{
  position:relative!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:#fffdf9!important;
  min-height:0!important;
  height:100%!important;
  overflow:hidden!important;
}
.room-visualizer-page .room-photo-marker canvas{
  display:block!important;
  width:100%!important;
  height:100%!important;
  padding:0!important;
  background:#fffdf9!important;
  cursor:crosshair!important;
}
.room-visualizer-page .room-empty-state{
  position:absolute!important;
  inset:0!important;
  display:grid!important;
  place-content:center!important;
  text-align:center!important;
  padding:26px!important;
  color:#8a8177!important;
}
.room-visualizer-page .room-empty-state::before{
  content:""!important;
  width:39px!important;
  height:39px!important;
  margin:0 auto 18px!important;
  display:block!important;
  border:2px dashed #cdbfae!important;
  border-radius:10px!important;
  background:
    radial-gradient(circle at 68% 38%, #cdbfae 0 3px, transparent 4px),
    linear-gradient(135deg, transparent 52%, #cdbfae 53% 58%, transparent 59%)!important;
}
.room-visualizer-page .room-empty-state strong{
  display:block!important;
  margin:0 0 8px!important;
  font-size:17px!important;
  font-weight:950!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
  color:#15120f!important;
}
.room-visualizer-page .room-empty-state span{
  display:block!important;
  max-width:560px!important;
  font-size:13px!important;
  line-height:1.45!important;
  color:#8a8177!important;
}
.room-visualizer-page .room-3d-panel{
  display:grid!important;
  grid-template-rows:46px minmax(0,1fr)!important;
  background:linear-gradient(180deg,#fffaf4 0%,#f3eee7 100%)!important;
}
.room-visualizer-page .room-3d-toolbar{
  grid-row:1!important;
  height:46px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:18px!important;
  padding:0 22px!important;
  background:#fffdf9!important;
  border-bottom:1px solid var(--g1-line)!important;
  z-index:5!important;
}
.room-visualizer-page .room-3d-toolbar strong{
  font-size:13px!important;
  font-weight:950!important;
  letter-spacing:.09em!important;
  text-transform:uppercase!important;
  color:#15120f!important;
  white-space:nowrap!important;
}
.room-visualizer-page .room-3d-toolbar span{
  font-size:12px!important;
  line-height:1.25!important;
  color:#8a8177!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.room-visualizer-page .room-3d-toolbar::after{
  content:"SCROLL · ZOOM  ·  PRZECIĄGNIJ · OBRÓĆ"!important;
  margin-left:auto!important;
  padding:7px 13px!important;
  border-radius:999px!important;
  background:#eee5d8!important;
  color:#65574a!important;
  font-size:9px!important;
  line-height:1!important;
  font-weight:950!important;
  letter-spacing:.1em!important;
  white-space:nowrap!important;
}
.room-visualizer-page .room-3d-panel canvas[data-room-3d-canvas]{
  grid-row:2!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  background:
    radial-gradient(circle at 50% 45%, rgba(255,255,255,.9), transparent 42%),
    linear-gradient(180deg,#fffaf4 0%,#f2ece2 100%)!important;
  cursor:grab!important;
  touch-action:none!important;
  overscroll-behavior:contain!important;
}
.room-visualizer-page .room-3d-panel canvas[data-room-3d-canvas]:active{cursor:grabbing!important;}

.room-gabinet-footer{
  position:fixed!important;
  left:0!important;
  right:0!important;
  bottom:0!important;
  height:70px!important;
  padding:0 34px!important;
  display:grid!important;
  grid-template-columns:1fr auto 1fr!important;
  align-items:center!important;
  gap:18px!important;
  background:rgba(247,244,239,.96)!important;
  border-top:1px solid rgba(230,222,211,.65)!important;
  z-index:70!important;
  backdrop-filter:blur(16px) saturate(116%)!important;
}
.room-gabinet-footer__copy{
  justify-self:start!important;
  font-size:11px!important;
  font-weight:850!important;
  color:#a0978d!important;
  letter-spacing:.04em!important;
}
.room-gabinet-footer__cta{
  min-width:320px!important;
  height:42px!important;
  padding:0 30px!important;
  border-radius:16px!important;
  border:1px solid #bda68f!important;
  background:#fffdf9!important;
  color:#15120f!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:38px!important;
  text-decoration:none!important;
  font-size:12px!important;
  font-weight:950!important;
  letter-spacing:.22em!important;
  text-transform:uppercase!important;
  box-shadow:0 14px 38px rgba(52,38,24,.08)!important;
  transition:.18s ease!important;
}
.room-gabinet-footer__cta:hover{transform:translateY(-2px)!important;box-shadow:0 20px 48px rgba(52,38,24,.14)!important;}
.room-gabinet-footer__cta span{font-size:25px!important;line-height:1!important;font-weight:400!important;letter-spacing:0!important;}
.room-gabinet-footer__help{
  justify-self:end!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:13px!important;
  background:transparent!important;
  border:0!important;
  color:#a0978d!important;
  font-size:12px!important;
  font-weight:800!important;
  cursor:pointer!important;
}
.room-gabinet-footer__help span{
  width:34px!important;height:34px!important;border:1px solid #d8cfc3!important;border-radius:999px!important;display:grid!important;place-items:center!important;background:#fffdf9!important;color:#8a8177!important;
}

@media(max-width:1260px){
  .room-visualizer-page .room-topbar.room-topbar--pro{grid-template-columns:200px 1fr auto!important;padding:0 22px!important;gap:18px!important;}
  .room-visualizer-page .room-topbar__actions button,.room-visualizer-page .room-topbar__actions a{padding:0 16px!important;}
  .room-visualizer-page .room-visualizer{grid-template-columns:330px minmax(0,1fr)!important;padding:14px!important;gap:14px!important;}
  .room-visualizer-page .room-step{padding:22px 20px 22px 17px!important;}
}
@media(max-width:980px){
  body.room-visualizer-page{overflow:auto!important;}
  .room-visualizer-page .room-topbar.room-topbar--pro{height:auto!important;min-height:0!important;grid-template-columns:1fr!important;padding:14px!important;gap:10px!important;position:relative!important;}
  .room-visualizer-page .room-topbar__actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;width:100%!important;}
  .room-visualizer-page .room-topbar__actions button,.room-visualizer-page .room-topbar__actions a{width:100%!important;max-width:none!important;padding:0 8px!important;font-size:10px!important;}
  .room-visualizer-page .room-visualizer{height:auto!important;min-height:0!important;overflow:visible!important;grid-template-columns:1fr!important;padding:12px!important;}
  .room-visualizer-page .room-visualizer__workspace{order:1;height:820px!important;grid-template-rows:320px 1fr!important;}
  .room-visualizer-page .room-visualizer__steps{order:2;height:auto!important;max-height:none!important;overflow:visible!important;}
  .room-gabinet-footer{position:relative!important;height:auto!important;padding:16px!important;grid-template-columns:1fr!important;justify-items:center!important;}
  .room-gabinet-footer__copy,.room-gabinet-footer__help{justify-self:center!important;}
}
@media(max-width:560px){
  .room-visualizer-page .room-dimensions-grid{grid-template-columns:1fr!important;}
  .room-visualizer-page .room-surface-picker.room-surface-picker--icons{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
  .room-gabinet-footer__cta{min-width:0!important;width:100%!important;gap:18px!important;padding:0 18px!important;font-size:10px!important;}
}

/* === PATCH 2026-06-09 — GABINET: dopracowanie stylu + upload w karcie Zdjęcie referencyjne === */
body.room-visualizer-page{
  --g1-bg:#f8f5ef;
  --g1-card:#fffdf8;
  --g1-line:#e8dfd3;
  --g1-line-strong:#d6c6b2;
  --g1-text:#1b1612;
  --g1-muted:#82776c;
  --g1-muted-2:#a1978d;
  --g1-accent:#9e2422;
  --g1-black:#16120f;
  --g1-warm:#f2ebe2;
  --g1-shadow:0 20px 58px rgba(48,34,20,.065);
  --g1-shadow-soft:0 10px 30px rgba(48,34,20,.045);
  -webkit-font-smoothing:antialiased!important;
  -moz-osx-font-smoothing:grayscale!important;
  text-rendering:geometricPrecision!important;
  font-family:"Segoe UI Variable","Aptos","Inter",ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  background:
    radial-gradient(circle at 12% -8%, rgba(158,36,34,.045), transparent 28%),
    radial-gradient(circle at 86% -12%, rgba(178,142,91,.075), transparent 32%),
    linear-gradient(180deg,#fbfaf7 0%,var(--g1-bg) 44%,#f2ede6 100%)!important;
}

.room-visualizer-page .room-topbar.room-topbar--pro{
  height:82px!important;
  min-height:82px!important;
  padding:0 clamp(24px,2.3vw,42px)!important;
  grid-template-columns:240px minmax(300px,1fr) auto!important;
  gap:30px!important;
  background:rgba(255,253,248,.86)!important;
  border-bottom:1px solid rgba(232,223,211,.72)!important;
  box-shadow:0 12px 40px rgba(49,37,26,.04)!important;
}
.room-visualizer-page .room-topbar__brand,
.room-visualizer-page .room-topbar__brand--gabi{
  gap:16px!important;
  font-size:21px!important;
  letter-spacing:.11em!important;
}
.room-visualizer-page .room-topbar__brand::after,
.room-visualizer-page .room-topbar__brand--gabi::after{
  content:"";
  width:1px;
  height:35px;
  background:var(--g1-line-strong);
  margin-left:2px;
  order:1;
}
.room-visualizer-page .room-topbar__brand img,
.room-visualizer-page .room-topbar__brand--gabi img{
  height:48px!important;
  max-width:102px!important;
}
.room-visualizer-page .room-topbar__brand span,
.room-visualizer-page .room-topbar__brand--gabi span{
  order:2;
  font-size:21px!important;
  font-weight:760!important;
  letter-spacing:.16em!important;
}
.room-visualizer-page .room-topbar__title strong{
  font-size:22px!important;
  font-weight:760!important;
  letter-spacing:-.012em!important;
  color:#17130f!important;
}
.room-visualizer-page .room-topbar__title span{
  margin-top:7px!important;
  font-size:13px!important;
  font-weight:420!important;
  letter-spacing:.01em!important;
  color:var(--g1-muted)!important;
}
.room-visualizer-page .room-topbar__actions button,
.room-visualizer-page .room-topbar__actions a{
  height:42px!important;
  min-height:42px!important;
  padding:0 22px!important;
  border-radius:12px!important;
  border-color:#d9cfc3!important;
  background:rgba(255,253,249,.88)!important;
  color:#1b1612!important;
  font-size:11px!important;
  font-weight:720!important;
  letter-spacing:.09em!important;
  box-shadow:0 8px 22px rgba(49,37,26,.045)!important;
}
.room-visualizer-page .room-topbar__actions .room-topbar__new,
.room-visualizer-page .room-topbar__actions a:last-child{
  background:#111!important;
  color:#fffdf8!important;
  border-color:#111!important;
  box-shadow:0 16px 32px rgba(17,17,17,.18)!important;
}

.room-visualizer-page .room-visualizer{
  grid-template-columns:350px minmax(0,1fr)!important;
  gap:20px!important;
  padding:20px clamp(22px,2.3vw,38px) 12px!important;
}
.room-visualizer-page .room-visualizer__steps{
  border-radius:18px!important;
  border-color:rgba(232,223,211,.78)!important;
  background:rgba(255,253,248,.82)!important;
  box-shadow:var(--g1-shadow-soft)!important;
}
.room-visualizer-page .room-step{
  padding:24px 26px 24px 20px!important;
  grid-template-columns:30px minmax(0,1fr)!important;
  gap:14px!important;
}
.room-visualizer-page .room-step:first-child::before{
  width:3px!important;
  background:#a32624!important;
}
.room-visualizer-page .room-step>b{
  width:28px!important;
  height:28px!important;
  color:#3b3027!important;
  border-color:#ded4c8!important;
  font-weight:650!important;
  box-shadow:0 8px 18px rgba(49,37,26,.055)!important;
}
.room-visualizer-page .room-step h2,
.room-visualizer-page .room-auto-card strong,
.room-visualizer-page .room-dimensions-card>strong,
.room-visualizer-page .room-manual-head strong{
  color:#786b5f!important;
  font-weight:740!important;
  letter-spacing:.13em!important;
}
.room-visualizer-page .room-step h2{font-size:13px!important;}
.room-visualizer-page .room-step p,
.room-visualizer-page .room-auto-card span,
.room-visualizer-page .room-manual-head span{
  color:var(--g1-muted)!important;
  font-size:12.5px!important;
  line-height:1.68!important;
  font-weight:390!important;
}
.room-visualizer-page .room-step p strong{
  color:#2b241e!important;
  font-weight:650!important;
}
.room-visualizer-page .room-step:first-child .room-upload{display:none!important;}
.room-visualizer-page .room-mode-toggle button,
.room-visualizer-page .room-primary-action{
  min-height:42px!important;
  border-radius:9px!important;
  font-size:11px!important;
  font-weight:720!important;
  letter-spacing:.07em!important;
  box-shadow:none!important;
}
.room-visualizer-page .room-mode-toggle button.is-active,
.room-visualizer-page .room-primary-action{
  background:linear-gradient(180deg,#2b211b,#15110e)!important;
  box-shadow:0 14px 28px rgba(37,27,20,.14)!important;
}
.room-visualizer-page .room-dimensions-grid{gap:10px!important;}
.room-visualizer-page .room-step label{font-weight:690!important;color:#75685e!important;letter-spacing:.055em!important;}
.room-visualizer-page .room-step input[type="number"]{
  height:40px!important;
  border-radius:9px!important;
  border-color:#ded3c6!important;
  font-weight:640!important;
}
.room-visualizer-page .room-check{
  color:#786b5f!important;
  font-weight:640!important;
  letter-spacing:.045em!important;
}

.room-visualizer-page .room-work-card{
  border-radius:18px!important;
  border-color:rgba(232,223,211,.82)!important;
  background:rgba(255,253,248,.9)!important;
  box-shadow:var(--g1-shadow)!important;
}
.room-visualizer-page .room-card-title{
  height:56px!important;
  padding:0 22px!important;
  background:rgba(255,253,248,.94)!important;
  border-bottom:1px solid rgba(232,223,211,.76)!important;
}
.room-visualizer-page .room-card-title strong{
  color:#716456!important;
  font-size:12px!important;
  font-weight:730!important;
  letter-spacing:.135em!important;
}
.room-visualizer-page .room-card-title span{
  color:#9d9287!important;
  font-size:12px!important;
  font-weight:410!important;
}

.room-visualizer-page .room-photo-marker{
  background:linear-gradient(180deg,#fffdf9 0%,#faf6ef 100%)!important;
}
.room-visualizer-page .room-photo-marker.is-drag-over{
  background:linear-gradient(180deg,#fffaf3 0%,#f5ebdf 100%)!important;
}
.room-visualizer-page .room-empty-state.room-empty-state--upload{
  inset:22px!important;
  border:1.5px dashed #d0c1af!important;
  border-radius:15px!important;
  background:rgba(255,253,249,.72)!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  cursor:pointer!important;
  transition:background .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease!important;
}
.room-visualizer-page .room-empty-state.room-empty-state--upload:hover,
.room-visualizer-page .room-photo-marker.is-drag-over .room-empty-state.room-empty-state--upload{
  border-color:#9e2422!important;
  background:rgba(255,250,244,.94)!important;
  box-shadow:inset 0 0 0 1px rgba(158,36,34,.08),0 20px 40px rgba(49,37,26,.045)!important;
}
.room-visualizer-page .room-empty-state.room-empty-state--upload input{display:none!important;}
.room-visualizer-page .room-empty-state::before{content:none!important;display:none!important;}
.room-visualizer-page .room-empty-state__icon{
  width:46px!important;
  height:46px!important;
  border:2px solid #a32624!important;
  border-radius:12px!important;
  display:block!important;
  position:relative!important;
  opacity:.9!important;
}
.room-visualizer-page .room-empty-state__icon::before{
  content:""!important;
  position:absolute!important;
  left:10px!important;
  right:10px!important;
  bottom:11px!important;
  height:16px!important;
  background:linear-gradient(135deg,transparent 0 42%,#a32624 43% 52%,transparent 53%),linear-gradient(45deg,transparent 0 45%,#a32624 46% 54%,transparent 55%)!important;
  opacity:.92!important;
}
.room-visualizer-page .room-empty-state__icon::after{
  content:"+"!important;
  position:absolute!important;
  right:-9px!important;
  bottom:-9px!important;
  width:22px!important;
  height:22px!important;
  border-radius:999px!important;
  border:2px solid #a32624!important;
  background:#fffdf8!important;
  color:#a32624!important;
  display:grid!important;
  place-items:center!important;
  font-size:18px!important;
  font-weight:650!important;
  line-height:1!important;
}
.room-visualizer-page .room-empty-state strong{
  margin:8px 0 2px!important;
  font-size:18px!important;
  font-weight:760!important;
  letter-spacing:.13em!important;
  color:#17130f!important;
}
.room-visualizer-page .room-empty-state span{
  max-width:560px!important;
  font-size:14px!important;
  line-height:1.45!important;
  color:#756b61!important;
  font-weight:390!important;
}
.room-visualizer-page .room-empty-state small{
  display:block!important;
  margin-top:3px!important;
  color:#a1978d!important;
  font-size:12px!important;
  font-weight:390!important;
  letter-spacing:.02em!important;
}
.room-visualizer-page .room-empty-state[hidden]{display:none!important;}
.room-visualizer-page .room-photo-marker canvas{
  background:#fffdf8!important;
}

.room-visualizer-page .room-3d-panel{
  background:linear-gradient(180deg,#fffdf9 0%,#f3ede5 100%)!important;
}
.room-visualizer-page .room-3d-toolbar{
  height:45px!important;
  padding:0 20px!important;
  background:rgba(255,253,249,.96)!important;
}
.room-visualizer-page .room-3d-toolbar strong{
  font-size:12px!important;
  font-weight:720!important;
  letter-spacing:.08em!important;
}
.room-visualizer-page .room-3d-toolbar span{font-weight:390!important;}
.room-visualizer-page .room-3d-toolbar::after{
  background:#eee6db!important;
  color:#6c5f53!important;
  font-weight:680!important;
  letter-spacing:.075em!important;
}
.room-visualizer-page .room-3d-panel canvas[data-room-3d-canvas]{
  background:
    radial-gradient(circle at 50% 42%, rgba(255,255,255,.94), transparent 45%),
    linear-gradient(180deg,#fffaf4 0%,#f1e9de 100%)!important;
}

.room-gabinet-footer{
  height:68px!important;
  background:rgba(248,245,239,.92)!important;
  border-top:1px solid rgba(232,223,211,.62)!important;
}
.room-gabinet-footer__cta{
  height:42px!important;
  border-radius:14px!important;
  border-color:#c6b59f!important;
  font-weight:760!important;
  letter-spacing:.18em!important;
  background:rgba(255,253,248,.9)!important;
}

@media(max-width:1260px){
  .room-visualizer-page .room-visualizer{grid-template-columns:330px minmax(0,1fr)!important;}
  .room-visualizer-page .room-topbar.room-topbar--pro{grid-template-columns:220px 1fr auto!important;gap:18px!important;}
}
@media(max-width:980px){
  .room-visualizer-page .room-topbar.room-topbar--pro{height:auto!important;min-height:0!important;grid-template-columns:1fr!important;padding:14px!important;}
  .room-visualizer-page .room-topbar__brand::after,.room-visualizer-page .room-topbar__brand--gabi::after{display:none!important;}
  .room-visualizer-page .room-visualizer{height:auto!important;grid-template-columns:1fr!important;overflow:visible!important;}
  .room-visualizer-page .room-visualizer__workspace{height:820px!important;grid-template-rows:320px 1fr!important;}
}
@media(max-width:560px){
  .room-visualizer-page .room-empty-state.room-empty-state--upload{inset:12px!important;padding:18px!important;}
  .room-visualizer-page .room-empty-state strong{font-size:14px!important;letter-spacing:.08em!important;}
  .room-visualizer-page .room-empty-state span{font-size:12px!important;}
  .room-visualizer-page .room-empty-state small{font-size:11px!important;}
}

/* === PATCH 2026-06-09 — finalne czyszczenie GABINET: upload, topbar, transparentne ściany standard === */
body.room-visualizer-page{
  -webkit-font-smoothing:antialiased!important;
  -moz-osx-font-smoothing:grayscale!important;
  text-rendering:optimizeLegibility!important;
}

.room-visualizer-page .room-topbar__title strong{
  font-family:"Segoe UI Variable","Aptos",Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important;
  font-weight:640!important;
  letter-spacing:-.025em!important;
  color:#1c1713!important;
}
.room-visualizer-page .room-topbar__title span{
  font-weight:390!important;
  letter-spacing:.005em!important;
  color:#82776d!important;
}

.room-visualizer-page .room-topbar__brand .room-brand-word,
.room-visualizer-page .room-topbar__brand--gabi .room-brand-word{
  display:inline-flex!important;
  align-items:baseline!important;
  gap:0!important;
  font-family:"Segoe UI Variable","Aptos",Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important;
  font-size:22px!important;
  line-height:1!important;
  font-weight:780!important;
  letter-spacing:.145em!important;
  text-transform:uppercase!important;
  order:2!important;
}
.room-visualizer-page .room-brand-gabi{color:#8f1718!important;}
.room-visualizer-page .room-brand-net{color:#15110f!important;}

/* Usunięcie zdublowanego napisu z pola uploadu — zostaje nagłówek karty. */
.room-visualizer-page .room-photo-marker::before{
  content:none!important;
  display:none!important;
}
.room-visualizer-page .room-work-card--photo .room-card-title{
  position:relative!important;
  z-index:4!important;
}
.room-visualizer-page .room-work-card--photo .room-photo-marker{
  position:relative!important;
  overflow:hidden!important;
}

/* Czysta ikona zdjęcia zamiast znaku X/+ */
.room-visualizer-page .room-empty-state__icon{
  width:48px!important;
  height:42px!important;
  border:2px solid #a32624!important;
  border-radius:11px!important;
  background:rgba(255,253,248,.82)!important;
  position:relative!important;
  display:block!important;
  opacity:.92!important;
}
.room-visualizer-page .room-empty-state__icon::before{
  content:""!important;
  position:absolute!important;
  width:7px!important;
  height:7px!important;
  right:10px!important;
  top:9px!important;
  border-radius:999px!important;
  background:#a32624!important;
  opacity:.95!important;
}
.room-visualizer-page .room-empty-state__icon::after{
  content:""!important;
  position:absolute!important;
  left:8px!important;
  right:8px!important;
  bottom:8px!important;
  height:16px!important;
  border-radius:2px!important;
  background:
    linear-gradient(135deg,transparent 0 29%,#a32624 30% 43%,transparent 44%),
    linear-gradient(45deg,transparent 0 39%,#a32624 40% 54%,transparent 55%)!important;
  opacity:.88!important;
}

/* Checkbox przezroczystości usunięty z HTML — gdyby był w cache, ukryj go. */
.room-visualizer-page .room-check:has([data-room-transparent-unseen]){
  display:none!important;
}

/* Łagodniejsze, bardziej premium fonty w całym panelu. */
.room-visualizer-page .room-step h2,
.room-visualizer-page .room-card-title strong,
.room-visualizer-page .room-mode-toggle button,
.room-visualizer-page .room-primary-action,
.room-visualizer-page .room-topbar__actions button,
.room-visualizer-page .room-topbar__actions a{
  font-family:"Segoe UI Variable","Aptos",Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important;
  font-weight:690!important;
}
.room-visualizer-page .room-empty-state strong{
  font-weight:700!important;
  letter-spacing:.12em!important;
}
.room-visualizer-page .room-empty-state span,
.room-visualizer-page .room-empty-state small,
.room-visualizer-page .room-step p{
  font-weight:380!important;
}

/* === PATCH 2026-06-09 — poprawka ikony uploadu, ukrycie przyklejenia do ściany, czysty button VG === */
.room-visualizer-page .room-empty-state__icon{
  width:54px!important;
  height:46px!important;
  border:0!important;
  background:transparent!important;
  border-radius:0!important;
  display:block!important;
  opacity:1!important;
  position:relative!important;
}
.room-visualizer-page .room-empty-state__icon::before,
.room-visualizer-page .room-empty-state__icon::after{
  content:none!important;
  display:none!important;
}
.room-visualizer-page .room-empty-state__icon svg{
  display:block!important;
  width:100%!important;
  height:100%!important;
  overflow:visible!important;
}
.room-visualizer-page .room-empty-state__icon svg rect,
.room-visualizer-page .room-empty-state__icon svg circle,
.room-visualizer-page .room-empty-state__icon svg path{
  fill:none!important;
  stroke:#9f2626!important;
  stroke-width:3!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.room-visualizer-page .room-empty-state__icon svg circle{
  fill:#9f2626!important;
  stroke:none!important;
}
.room-visualizer-page .room-wall-snap{
  display:none!important;
}

/* Button Virtualny Gabinet — bez białej półpodstawy/cienia pod grafiką */
.favorites-bar,
.favorites-bar__image-link,
.favorites-bar__visualize{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  filter:none!important;
}
.favorites-bar__image-link,
.favorites-bar__visualize{
  overflow:visible!important;
  border-radius:999px!important;
}
.favorites-bar__image-link img,
.favorites-bar__visualize img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  background:transparent!important;
  filter:drop-shadow(0 10px 20px rgba(34,24,16,.10))!important;
  margin:0!important;
}
.favorites-bar__image-link:hover img,
.favorites-bar__visualize:hover img{
  filter:drop-shadow(0 16px 32px rgba(34,24,16,.16))!important;
}


/* === PATCH 2026-06-09 — poprawka punktów, powiększenie zdjęcia, cieńszy nagłówek, bez downbaru === */
body.room-visualizer-page{
  padding-bottom:0!important;
}
.room-gabinet-footer{
  display:none!important;
}
.room-visualizer-page .room-topbar__title strong{
  font-family:"Aptos","Segoe UI Variable",Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important;
  font-weight:460!important;
  letter-spacing:-.035em!important;
  color:#3d3a36!important;
  text-transform:none!important;
}
.room-visualizer-page .room-topbar__title span{
  color:#706a63!important;
  font-weight:350!important;
}
.room-visualizer-page .room-card-title--photo{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:14px!important;
}
.room-photo-zoom-btn{
  appearance:none!important;
  border:1px solid rgba(96,78,61,.22)!important;
  background:rgba(255,253,249,.92)!important;
  color:#4d4640!important;
  height:34px!important;
  padding:0 16px!important;
  border-radius:999px!important;
  font-size:11px!important;
  font-weight:650!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
  cursor:pointer!important;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease!important;
}
.room-photo-zoom-btn:hover:not(:disabled){
  transform:translateY(-1px)!important;
  box-shadow:0 10px 24px rgba(42,32,22,.10)!important;
  border-color:rgba(152,34,31,.35)!important;
}
.room-photo-zoom-btn:disabled{
  opacity:.45!important;
  cursor:not-allowed!important;
}
.room-visualizer-page .room-photo-marker{
  overflow:hidden!important;
}
.room-visualizer-page .room-photo-marker canvas[data-room-photo-canvas]{
  position:relative!important;
  z-index:2!important;
  pointer-events:auto!important;
  cursor:grab!important;
}
.room-visualizer-page .room-photo-marker canvas[data-room-photo-canvas]:active{
  cursor:grabbing!important;
}
.room-visualizer-page .room-empty-state[hidden],
.room-visualizer-page .room-empty-state[style*="display: none"]{
  pointer-events:none!important;
}
.room-visualizer-page .room-empty-state.room-empty-state--upload{
  z-index:3!important;
}

body.room-photo-zoom-open{
  overflow:hidden!important;
}
.room-work-card--photo.is-photo-zoomed{
  position:fixed!important;
  inset:28px!important;
  z-index:9999!important;
  display:grid!important;
  grid-template-rows:auto minmax(0,1fr)!important;
  border-radius:24px!important;
  background:#fffdfa!important;
  box-shadow:0 34px 110px rgba(21,17,13,.32)!important;
  border:1px solid rgba(118,92,68,.22)!important;
}
.room-work-card--photo.is-photo-zoomed::before{
  content:""!important;
  position:fixed!important;
  inset:0!important;
  background:rgba(18,15,12,.42)!important;
  z-index:-1!important;
}
.room-work-card--photo.is-photo-zoomed .room-card-title{
  padding:18px 22px!important;
  border-bottom:1px solid rgba(232,222,210,.78)!important;
}
.room-work-card--photo.is-photo-zoomed .room-photo-marker{
  height:100%!important;
  min-height:0!important;
  border-radius:0 0 24px 24px!important;
}
.room-work-card--photo.is-photo-zoomed .room-photo-marker canvas[data-room-photo-canvas]{
  width:100%!important;
  height:100%!important;
}
.room-work-card--photo.is-photo-zoomed .room-photo-zoom-btn{
  background:#15110f!important;
  color:#fff!important;
  border-color:#15110f!important;
}

@media(max-width:720px){
  .room-work-card--photo.is-photo-zoomed{inset:10px!important;border-radius:18px!important;}
  .room-visualizer-page .room-card-title--photo{grid-template-columns:1fr!important;gap:8px!important;}
  .room-photo-zoom-btn{width:100%!important;}
}


/* === PATCH 2026-06-09 — wybór ściany w powiększeniu zdjęcia === */
.room-photo-zoom-surface-panel{
  display:none!important;
}
.room-work-card--photo.is-photo-zoomed{
  overflow:hidden!important;
}
.room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel{
  position:absolute!important;
  left:18px!important;
  top:78px!important;
  bottom:18px!important;
  width:158px!important;
  z-index:10020!important;
  display:flex!important;
  flex-direction:column!important;
  gap:8px!important;
  padding:14px!important;
  border-radius:20px!important;
  border:1px solid rgba(82,65,49,.14)!important;
  background:rgba(255,253,248,.88)!important;
  box-shadow:0 18px 48px rgba(24,18,12,.12)!important;
  backdrop-filter:blur(18px)!important;
  -webkit-backdrop-filter:blur(18px)!important;
}
.room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel strong{
  margin:0 0 6px!important;
  color:#6f6258!important;
  font-family:"Aptos","Segoe UI Variable",Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important;
  font-size:10px!important;
  line-height:1.2!important;
  font-weight:650!important;
  letter-spacing:.16em!important;
  text-transform:uppercase!important;
}
.room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel button{
  appearance:none!important;
  width:100%!important;
  min-height:42px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:10px!important;
  padding:0 13px!important;
  border-radius:14px!important;
  border:1px solid rgba(82,65,49,.13)!important;
  background:rgba(255,255,255,.74)!important;
  color:#302821!important;
  font-family:"Aptos","Segoe UI Variable",Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important;
  font-size:12px!important;
  font-weight:720!important;
  letter-spacing:.09em!important;
  text-transform:uppercase!important;
  cursor:pointer!important;
  box-shadow:0 8px 20px rgba(42,32,22,.04)!important;
  transition:background .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease,color .18s ease!important;
}
.room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel button span{
  width:10px!important;
  height:10px!important;
  border-radius:999px!important;
  flex:0 0 10px!important;
  background:#8f1718!important;
  box-shadow:0 0 0 3px rgba(143,23,24,.10)!important;
}
.room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel button[data-room-surface="left"] span{background:#1f9f55!important;box-shadow:0 0 0 3px rgba(31,159,85,.12)!important;}
.room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel button[data-room-surface="right"] span{background:#2e69e8!important;box-shadow:0 0 0 3px rgba(46,105,232,.12)!important;}
.room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel button[data-room-surface="ceiling"] span{background:#d9d5ce!important;box-shadow:0 0 0 3px rgba(90,80,70,.08)!important;}
.room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel button[data-room-surface="floor"] span{background:#17120f!important;box-shadow:0 0 0 3px rgba(23,18,15,.10)!important;}
.room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel button:hover{
  transform:translateY(-1px)!important;
  border-color:rgba(143,23,24,.22)!important;
  box-shadow:0 12px 28px rgba(42,32,22,.08)!important;
}
.room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel button.is-active{
  color:#fff!important;
  background:#17120f!important;
  border-color:#17120f!important;
  box-shadow:0 16px 34px rgba(23,18,15,.18)!important;
}
.room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel button.is-active span{
  box-shadow:0 0 0 4px rgba(255,255,255,.16)!important;
}
.room-work-card--photo.is-photo-zoomed .room-photo-marker{
  z-index:2!important;
}
.room-work-card--photo.is-photo-zoomed .room-photo-marker canvas[data-room-photo-canvas]{
  touch-action:none!important;
}
@media(max-width:760px){
  .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel{
    left:12px!important;
    right:12px!important;
    top:auto!important;
    bottom:12px!important;
    width:auto!important;
    height:auto!important;
    flex-direction:row!important;
    overflow-x:auto!important;
    padding:10px!important;
    border-radius:16px!important;
  }
  .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel strong{display:none!important;}
  .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel button{
    flex:0 0 auto!important;
    width:auto!important;
    min-height:38px!important;
    padding:0 12px!important;
  }
}

/* === PATCH 2026-06-09 — składane zdjęcie, łagodniejsze punkty, tekstowe ściany === */
.room-visualizer-page .room-card-title--photo{
  grid-template-columns:auto minmax(0,1fr) auto auto!important;
}
.room-photo-collapse-btn{
  appearance:none!important;
  border:1px solid rgba(96,78,61,.18)!important;
  background:rgba(255,253,249,.86)!important;
  color:#5e554c!important;
  height:34px!important;
  padding:0 14px!important;
  border-radius:999px!important;
  font-size:11px!important;
  font-weight:560!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
  cursor:pointer!important;
  white-space:nowrap!important;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease,background .2s ease!important;
}
.room-photo-collapse-btn:hover{
  transform:translateY(-1px)!important;
  background:#fff!important;
  border-color:rgba(143,23,24,.28)!important;
  box-shadow:0 10px 22px rgba(42,32,22,.08)!important;
}
.room-visualizer-page .room-visualizer.is-photo-collapsed .room-visualizer__workspace{
  grid-template-rows:54px minmax(0,1fr)!important;
}
.room-visualizer-page .room-work-card--photo.is-photo-collapsed{
  min-height:54px!important;
  overflow:hidden!important;
}
.room-visualizer-page .room-work-card--photo.is-photo-collapsed .room-photo-marker,
.room-visualizer-page .room-work-card--photo.is-photo-collapsed .room-photo-zoom-surface-panel{
  display:none!important;
}
.room-visualizer-page .room-work-card--photo.is-photo-collapsed .room-card-title{
  height:54px!important;
  border-bottom:0!important;
}
.room-visualizer-page .room-work-card--photo.is-photo-collapsed .room-photo-zoom-btn{
  display:none!important;
}
.room-visualizer-page .room-visualizer.is-photo-collapsed .room-3d-panel{
  height:calc(100vh - 168px)!important;
  min-height:620px!important;
}
.room-visualizer-page .room-visualizer.is-photo-collapsed .room-work-card--preview{
  min-height:0!important;
}

/* Lewy wybór ścian: tylko napisy, bez miniaturek/brył. */
.room-visualizer-page .room-surface-picker.room-surface-picker--text{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px!important;
  margin:10px 0 12px!important;
}
.room-visualizer-page .room-surface-picker.room-surface-picker--text button{
  appearance:none!important;
  min-height:38px!important;
  height:auto!important;
  padding:0 12px!important;
  border-radius:13px!important;
  border:1px solid rgba(70,55,43,.16)!important;
  background:#fffdf9!important;
  color:#342d27!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  font-family:"Aptos","Segoe UI Variable",Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important;
  font-size:11px!important;
  font-weight:650!important;
  letter-spacing:.10em!important;
  text-transform:uppercase!important;
  box-shadow:0 8px 18px rgba(42,32,22,.035)!important;
}
.room-visualizer-page .room-surface-picker.room-surface-picker--text button.is-active{
  color:#fff!important;
  background:#17120f!important;
  border-color:#17120f!important;
  box-shadow:0 14px 28px rgba(23,18,15,.16)!important;
}
.room-visualizer-page .room-surface-picker.room-surface-picker--text button:nth-child(5){
  grid-column:1 / -1!important;
}
.room-visualizer-page .room-surface-picker.room-surface-picker--text .room-surface-label{
  display:block!important;
}
.room-visualizer-page .room-surface-picker.room-surface-picker--text svg,
.room-visualizer-page .room-surface-picker.room-surface-picker--text .room-surface-icon{
  display:none!important;
}

/* Punkty na zdjęciu mają większy realny obszar chwytu w JS; wizualnie canvas też nie walczy ze scrollem. */
.room-visualizer-page .room-photo-marker canvas[data-room-photo-canvas]{
  cursor:crosshair!important;
  user-select:none!important;
  -webkit-user-select:none!important;
}
.room-visualizer-page .room-photo-marker canvas[data-room-photo-canvas]:active{
  cursor:grabbing!important;
}

@media(max-width:980px){
  .room-visualizer-page .room-visualizer.is-photo-collapsed .room-visualizer__workspace{
    grid-template-rows:54px 560px!important;
  }
  .room-visualizer-page .room-visualizer.is-photo-collapsed .room-3d-panel{
    height:560px!important;
    min-height:500px!important;
  }
}
@media(max-width:720px){
  .room-visualizer-page .room-card-title--photo{
    grid-template-columns:1fr!important;
  }
  .room-photo-collapse-btn,
  .room-photo-zoom-btn{
    width:100%!important;
  }
}

/* === PATCH 2026-06-09 — czytelny aktywny wybór ściany + pamięć modeli === */
.room-visualizer-page .room-surface-picker.room-surface-picker--text button.is-active,
.room-visualizer-page .room-surface-picker.room-surface-picker--text button.is-active .room-surface-label{
  color:#fff!important;
  opacity:1!important;
  text-shadow:none!important;
}
.room-visualizer-page .room-surface-picker.room-surface-picker--text button:not(.is-active) .room-surface-label{
  color:#342d27!important;
  opacity:1!important;
}
.room-visualizer-page .room-surface-picker.room-surface-picker--text button.is-active:hover{
  background:#17120f!important;
  color:#fff!important;
}

/* === PATCH 2026-06-09 — zdjęcie referencyjne w lewym pasku + pełny podgląd 3D === */
body.room-visualizer-page{
  overflow:hidden!important;
}
.room-visualizer-page .room-visualizer{
  height:calc(100vh - 82px)!important;
  min-height:0!important;
  grid-template-columns:360px minmax(0,1fr)!important;
  padding:18px clamp(22px,2.3vw,38px)!important;
  gap:20px!important;
  overflow:hidden!important;
}
.room-visualizer-page .room-visualizer__steps{
  height:100%!important;
  min-height:0!important;
  overflow:auto!important;
  display:block!important;
  padding:0!important;
}
.room-visualizer-page .room-visualizer__steps > .room-work-card--photo{
  display:grid!important;
  grid-template-rows:52px minmax(210px,240px)!important;
  min-height:292px!important;
  margin:0!important;
  border-radius:18px 18px 0 0!important;
  border:0!important;
  border-bottom:1px solid var(--g1-line)!important;
  box-shadow:none!important;
  background:transparent!important;
}
.room-visualizer-page .room-visualizer__steps > .room-work-card--photo .room-card-title--photo{
  height:52px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto auto!important;
  gap:8px!important;
  padding:0 18px!important;
  background:rgba(255,253,248,.94)!important;
  border-bottom:1px solid var(--g1-line)!important;
}
.room-visualizer-page .room-visualizer__steps > .room-work-card--photo .room-card-title--photo strong{
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  font-size:11px!important;
  letter-spacing:.105em!important;
}
.room-visualizer-page .room-visualizer__steps > .room-work-card--photo .room-card-title--photo span{
  display:none!important;
}
.room-visualizer-page .room-visualizer__steps > .room-work-card--photo .room-photo-collapse-btn,
.room-visualizer-page .room-visualizer__steps > .room-work-card--photo .room-photo-zoom-btn{
  height:30px!important;
  padding:0 10px!important;
  border-radius:999px!important;
  font-size:9px!important;
  letter-spacing:.055em!important;
  white-space:nowrap!important;
}
.room-visualizer-page .room-visualizer__steps > .room-work-card--photo .room-photo-marker{
  height:240px!important;
  min-height:210px!important;
  border:0!important;
  border-radius:0!important;
  background:linear-gradient(180deg,#fffdf9 0%,#faf6ef 100%)!important;
}
.room-visualizer-page .room-visualizer__steps > .room-work-card--photo .room-photo-marker canvas{
  width:100%!important;
  height:100%!important;
}
.room-visualizer-page .room-visualizer__steps > .room-work-card--photo .room-empty-state.room-empty-state--upload{
  inset:12px!important;
  padding:14px!important;
  border-radius:14px!important;
  gap:5px!important;
}
.room-visualizer-page .room-visualizer__steps > .room-work-card--photo .room-empty-state__icon{
  width:42px!important;
  height:36px!important;
}
.room-visualizer-page .room-visualizer__steps > .room-work-card--photo .room-empty-state strong{
  font-size:12px!important;
  line-height:1.2!important;
  letter-spacing:.075em!important;
  margin:4px 0 0!important;
}
.room-visualizer-page .room-visualizer__steps > .room-work-card--photo .room-empty-state span{
  font-size:11px!important;
  line-height:1.35!important;
  max-width:230px!important;
}
.room-visualizer-page .room-visualizer__steps > .room-work-card--photo .room-empty-state small{
  font-size:10px!important;
}
.room-visualizer-page .room-visualizer__steps > .room-work-card--photo.is-photo-collapsed{
  grid-template-rows:52px 0!important;
  min-height:52px!important;
}
.room-visualizer-page .room-visualizer__steps > .room-work-card--photo.is-photo-collapsed .room-photo-marker,
.room-visualizer-page .room-visualizer__steps > .room-work-card--photo.is-photo-collapsed .room-photo-zoom-surface-panel{
  display:none!important;
}
.room-visualizer-page .room-step--perspective::before{
  content:""!important;
  position:absolute!important;
  left:0!important;
  top:0!important;
  bottom:0!important;
  width:3px!important;
  background:#a32624!important;
  border-radius:0 2px 2px 0!important;
}
.room-visualizer-page .room-step--perspective{
  position:relative!important;
}
.room-visualizer-page .room-step--perspective .room-auto-panel,
.room-visualizer-page .room-step--perspective .room-auto-card,
.room-visualizer-page [data-room-auto-detect]{
  display:none!important;
}
.room-visualizer-page .room-step--perspective .room-mode-toggle{
  margin-top:0!important;
}
.room-visualizer-page .room-step h2 + p:empty,
.room-visualizer-page .room-step .room-product-list + p{
  display:none!important;
}
.room-visualizer-page .room-visualizer__workspace{
  height:100%!important;
  min-height:0!important;
  display:grid!important;
  grid-template-rows:minmax(0,1fr)!important;
  gap:0!important;
  overflow:hidden!important;
}
.room-visualizer-page .room-work-card--preview{
  height:100%!important;
  min-height:0!important;
  display:grid!important;
  grid-template-rows:56px minmax(0,1fr)!important;
}
.room-visualizer-page .room-work-card--preview .room-card-title--preview{
  height:56px!important;
}
.room-visualizer-page .room-3d-panel{
  height:100%!important;
  min-height:0!important;
  display:grid!important;
  grid-template-rows:45px minmax(0,1fr)!important;
}
.room-visualizer-page .room-3d-panel canvas[data-room-3d-canvas]{
  height:100%!important;
  min-height:0!important;
}
.room-visualizer-page .room-visualizer.is-photo-collapsed .room-visualizer__workspace{
  grid-template-rows:minmax(0,1fr)!important;
}
.room-visualizer-page .room-visualizer.is-photo-collapsed .room-3d-panel{
  height:100%!important;
  min-height:0!important;
}
.room-visualizer-page .room-step:nth-of-type(2) p,
.room-visualizer-page .room-step:nth-of-type(3) p{
  display:none!important;
}
@media(max-width:980px){
  .room-visualizer-page .room-visualizer{
    height:auto!important;
    grid-template-columns:1fr!important;
    overflow:visible!important;
  }
  .room-visualizer-page .room-visualizer__steps{
    order:1!important;
    height:auto!important;
    overflow:visible!important;
  }
  .room-visualizer-page .room-visualizer__workspace{
    order:2!important;
    height:620px!important;
  }
  .room-visualizer-page .room-visualizer__steps > .room-work-card--photo{
    grid-template-rows:52px 260px!important;
  }
}

/* === PATCH 2026-06-09 — wyśrodkowanie zdjęcia + lepsze powiększenie referencji === */
.room-visualizer-page .room-visualizer__steps > .room-work-card--photo .room-photo-marker{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
}
.room-visualizer-page .room-visualizer__steps > .room-work-card--photo .room-photo-marker canvas[data-room-photo-canvas]{
  display:block!important;
  flex:0 0 auto!important;
  margin:auto!important;
}
.room-visualizer-page .room-photo-zoom-btn{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
}
.room-visualizer-page .room-photo-zoom-btn::before{
  content:""!important;
  width:13px!important;
  height:13px!important;
  display:inline-block!important;
  flex:0 0 13px!important;
  background:currentColor!important;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10.8' cy='10.8' r='6.6'/%3E%3Cpath d='M16 16l5 5'/%3E%3C/svg%3E") center/contain no-repeat!important;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10.8' cy='10.8' r='6.6'/%3E%3Cpath d='M16 16l5 5'/%3E%3C/svg%3E") center/contain no-repeat!important;
}
.room-visualizer-page .room-photo-zoom-btn[data-zoom-open="true"]::before,
.room-visualizer-page .room-work-card--photo.is-photo-zoomed .room-photo-zoom-btn::before{
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") center/contain no-repeat!important;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") center/contain no-repeat!important;
}

/* Tryb powiększenia: ma być elegancki modal, nie rozciągnięty panel z miniaturą u góry. */
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed,
.room-visualizer-page .room-visualizer__steps > .room-work-card--photo.is-photo-zoomed{
  position:fixed!important;
  inset:18px!important;
  z-index:9999!important;
  width:auto!important;
  height:auto!important;
  min-height:0!important;
  margin:0!important;
  display:grid!important;
  grid-template-rows:58px minmax(0,1fr)!important;
  border-radius:22px!important;
  overflow:hidden!important;
  background:#fffdf9!important;
  border:1px solid rgba(102,82,64,.18)!important;
  box-shadow:0 38px 120px rgba(16,12,10,.36)!important;
}
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed::before,
.room-visualizer-page .room-visualizer__steps > .room-work-card--photo.is-photo-zoomed::before{
  content:""!important;
  position:fixed!important;
  inset:0!important;
  z-index:-1!important;
  background:rgba(17,14,12,.50)!important;
  backdrop-filter:blur(3px)!important;
  -webkit-backdrop-filter:blur(3px)!important;
}
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-card-title--photo,
.room-visualizer-page .room-visualizer__steps > .room-work-card--photo.is-photo-zoomed .room-card-title--photo{
  height:58px!important;
  min-height:58px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:12px!important;
  align-items:center!important;
  padding:0 18px!important;
  background:rgba(255,253,249,.96)!important;
  border-bottom:1px solid rgba(230,222,211,.72)!important;
}
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-card-title--photo strong,
.room-visualizer-page .room-visualizer__steps > .room-work-card--photo.is-photo-zoomed .room-card-title--photo strong{
  font-size:12px!important;
  letter-spacing:.12em!important;
  color:#4e4640!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-card-title--photo span,
.room-visualizer-page .room-visualizer__steps > .room-work-card--photo.is-photo-zoomed .room-card-title--photo span,
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-collapse-btn,
.room-visualizer-page .room-visualizer__steps > .room-work-card--photo.is-photo-zoomed .room-photo-collapse-btn{
  display:none!important;
}
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-btn,
.room-visualizer-page .room-visualizer__steps > .room-work-card--photo.is-photo-zoomed .room-photo-zoom-btn{
  width:auto!important;
  height:38px!important;
  min-width:168px!important;
  padding:0 18px!important;
  border-radius:999px!important;
  background:#15110f!important;
  border-color:#15110f!important;
  color:#fff!important;
  box-shadow:0 14px 32px rgba(21,17,15,.20)!important;
}
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-marker,
.room-visualizer-page .room-visualizer__steps > .room-work-card--photo.is-photo-zoomed .room-photo-marker{
  height:auto!important;
  min-height:0!important;
  width:100%!important;
  border:0!important;
  border-radius:0!important;
  background:radial-gradient(circle at 50% 38%,#fffdf9 0%,#f5f0e8 64%,#eee7dd 100%)!important;
  box-shadow:none!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:18px 18px 18px 152px!important;
}
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-marker canvas[data-room-photo-canvas],
.room-visualizer-page .room-visualizer__steps > .room-work-card--photo.is-photo-zoomed .room-photo-marker canvas[data-room-photo-canvas]{
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  margin:auto!important;
}
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel,
.room-visualizer-page .room-visualizer__steps > .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel{
  display:flex!important;
  position:absolute!important;
  left:18px!important;
  top:78px!important;
  bottom:auto!important;
  width:118px!important;
  height:auto!important;
  max-height:calc(100% - 96px)!important;
  z-index:10020!important;
  flex-direction:column!important;
  gap:7px!important;
  padding:10px!important;
  border-radius:18px!important;
  border:1px solid rgba(82,65,49,.12)!important;
  background:rgba(255,253,248,.90)!important;
  box-shadow:0 18px 46px rgba(24,18,12,.13)!important;
  backdrop-filter:blur(18px)!important;
  -webkit-backdrop-filter:blur(18px)!important;
}
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel strong,
.room-visualizer-page .room-visualizer__steps > .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel strong{
  display:none!important;
}
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel button,
.room-visualizer-page .room-visualizer__steps > .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel button{
  min-height:36px!important;
  height:36px!important;
  padding:0 10px!important;
  border-radius:13px!important;
  font-size:10px!important;
  line-height:1!important;
  letter-spacing:.08em!important;
  gap:8px!important;
}
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel button span,
.room-visualizer-page .room-visualizer__steps > .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel button span{
  width:8px!important;
  height:8px!important;
  flex-basis:8px!important;
}
@media(max-width:820px){
  body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed,
  .room-visualizer-page .room-visualizer__steps > .room-work-card--photo.is-photo-zoomed{
    inset:8px!important;
    border-radius:16px!important;
  }
  body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-card-title--photo,
  .room-visualizer-page .room-visualizer__steps > .room-work-card--photo.is-photo-zoomed .room-card-title--photo{
    grid-template-columns:1fr!important;
    height:auto!important;
    padding:10px!important;
  }
  body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-marker,
  .room-visualizer-page .room-visualizer__steps > .room-work-card--photo.is-photo-zoomed .room-photo-marker{
    padding:72px 8px 8px!important;
  }
  body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel,
  .room-visualizer-page .room-visualizer__steps > .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel{
    left:10px!important;
    right:10px!important;
    top:68px!important;
    width:auto!important;
    flex-direction:row!important;
    overflow:auto!important;
  }
  body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel button,
  .room-visualizer-page .room-visualizer__steps > .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel button{
    min-width:92px!important;
  }
}

/* === PATCH 2026-06 — stabilne łapanie punktów ścian === */
.room-visualizer-page .room-photo-marker{
  position:relative!important;
}
.room-visualizer-page .room-photo-marker canvas[data-room-photo-canvas]{
  position:relative!important;
  z-index:1!important;
  cursor:crosshair!important;
  touch-action:none!important;
  user-select:none!important;
  -webkit-user-select:none!important;
}
.room-point-hit-layer{
  position:absolute!important;
  inset:0!important;
  z-index:12!important;
  pointer-events:none!important;
}
.room-point-handle{
  position:absolute!important;
  width:54px!important;
  height:54px!important;
  padding:0!important;
  border:0!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.01)!important;
  transform:translate(-50%,-50%)!important;
  pointer-events:auto!important;
  cursor:grab!important;
  touch-action:none!important;
  user-select:none!important;
  -webkit-user-select:none!important;
  display:grid!important;
  place-items:center!important;
  z-index:15!important;
}
.room-point-handle::before{
  content:""!important;
  position:absolute!important;
  inset:7px!important;
  border-radius:999px!important;
  background:var(--point-color,#b71c24)!important;
  border:4px solid #fff!important;
  box-shadow:0 6px 18px rgba(0,0,0,.24),0 0 0 7px rgba(255,255,255,.24)!important;
}
.room-point-handle span{
  position:relative!important;
  z-index:2!important;
  color:#fff!important;
  font-size:14px!important;
  line-height:1!important;
  font-weight:850!important;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  pointer-events:none!important;
}
.room-point-handle:hover::before,
.room-point-handle:focus-visible::before{
  transform:scale(1.08)!important;
  box-shadow:0 10px 26px rgba(0,0,0,.28),0 0 0 10px rgba(255,255,255,.34)!important;
}
.room-point-handle:active{
  cursor:grabbing!important;
}
.room-point-handle:active::before{
  transform:scale(.98)!important;
}
body.room-photo-zoom-open .room-point-handle,
.room-work-card--photo.is-photo-zoomed .room-point-handle{
  width:72px!important;
  height:72px!important;
}
body.room-photo-zoom-open .room-point-handle::before,
.room-work-card--photo.is-photo-zoomed .room-point-handle::before{
  inset:11px!important;
  border-width:5px!important;
}
body.room-photo-zoom-open .room-point-handle span,
.room-work-card--photo.is-photo-zoomed .room-point-handle span{
  font-size:15px!important;
}

/* === PATCH 2026-06 — bez podwójnych punktów w powiększeniu === */
.room-visualizer-page .room-point-hit-layer{
  overflow:visible!important;
}
.room-visualizer-page .room-point-handle{
  width:46px!important;
  height:46px!important;
  background:rgba(255,255,255,.001)!important;
}
.room-visualizer-page .room-point-handle::before{
  inset:6px!important;
  border-width:4px!important;
  box-shadow:0 6px 18px rgba(0,0,0,.24),0 0 0 6px rgba(255,255,255,.34)!important;
}
.room-visualizer-page .room-point-handle span{
  font-size:13px!important;
  font-weight:850!important;
}
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-point-handle,
.room-visualizer-page .room-visualizer__steps > .room-work-card--photo.is-photo-zoomed .room-point-handle{
  width:50px!important;
  height:50px!important;
}
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-point-handle::before,
.room-visualizer-page .room-visualizer__steps > .room-work-card--photo.is-photo-zoomed .room-point-handle::before{
  inset:6px!important;
}

/* === PATCH 2026-06 — punkty rysowane na canvasie bez przesunięć === */
.room-visualizer-page .room-point-hit-layer,
.room-visualizer-page .room-point-handle{
  display:none!important;
}
.room-visualizer-page .room-photo-marker canvas[data-room-photo-canvas]{
  cursor:grab!important;
}
.room-visualizer-page .room-photo-marker canvas[data-room-photo-canvas]:active{
  cursor:grabbing!important;
}

/* === PATCH 2026-06-09 — mobile polish + lighter controls === */
html:has(body.room-visualizer-page),
body.room-visualizer-page{
  max-width:100vw!important;
  overflow-x:hidden!important;
  -webkit-text-size-adjust:100%;
}
.room-visualizer-page .room-topbar__title strong,
.room-visualizer-page .room-topbar div strong{
  font-weight:650!important;
  letter-spacing:-.02em!important;
  text-transform:none!important;
  color:#4a4641!important;
}
.room-visualizer-page .room-topbar__title span,
.room-visualizer-page .room-topbar div span{
  color:#82766c!important;
  font-weight:400!important;
}
.room-visualizer-page button,
.room-visualizer-page .room-topbar__actions a,
.room-visualizer-page .room-topbar__actions button{
  box-sizing:border-box!important;
  max-width:100%!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  line-height:1.15!important;
}
.room-visualizer-page .room-topbar__actions{
  min-width:0!important;
  display:flex!important;
  gap:8px!important;
  align-items:center!important;
  justify-content:flex-end!important;
}
.room-visualizer-page .room-topbar__actions button,
.room-visualizer-page .room-topbar__actions a{
  min-width:0!important;
  height:38px!important;
  padding:0 14px!important;
  font-size:11px!important;
  letter-spacing:.08em!important;
  text-align:center!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
}
.room-visualizer-page .room-mode-toggle button,
.room-visualizer-page .room-surface-picker button,
.room-visualizer-page .room-actions button,
.room-visualizer-page .room-actions--live button{
  min-width:0!important;
  width:100%!important;
  font-size:clamp(10px,2.5vw,12px)!important;
  letter-spacing:.055em!important;
  line-height:1.12!important;
  white-space:normal!important;
  text-align:center!important;
  padding-inline:10px!important;
}
.room-visualizer-page .room-actions,
.room-visualizer-page .room-actions--live{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px!important;
}
.room-visualizer-page .room-step,
.room-visualizer-page .room-work-card,
.room-visualizer-page .room-3d-panel{
  min-width:0!important;
}
.room-visualizer-page .room-photo-marker{
  max-width:100%!important;
}
.room-visualizer-page .room-photo-marker canvas[data-room-photo-canvas],
.room-visualizer-page .room-3d-panel canvas[data-room-3d-canvas]{
  max-width:100%!important;
}

@media(max-width:820px){
  body.room-visualizer-page{
    background:#f5f1ea!important;
    padding-bottom:18px!important;
  }
  .room-visualizer-page .room-topbar{
    position:relative!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
    padding:14px 14px 12px!important;
    height:auto!important;
  }
  .room-visualizer-page .room-topbar__brand{
    min-width:0!important;
    max-width:100%!important;
  }
  .room-visualizer-page .room-topbar__brand img{
    height:40px!important;
    max-width:120px!important;
    object-fit:contain!important;
  }
  .room-visualizer-page .room-brand-word{
    font-size:22px!important;
    letter-spacing:.16em!important;
    min-width:0!important;
  }
  .room-visualizer-page .room-topbar__title{
    min-width:0!important;
  }
  .room-visualizer-page .room-topbar__title strong,
  .room-visualizer-page .room-topbar div strong{
    font-size:24px!important;
    line-height:1.1!important;
    white-space:normal!important;
  }
  .room-visualizer-page .room-topbar__title span,
  .room-visualizer-page .room-topbar div span{
    font-size:14px!important;
    white-space:normal!important;
  }
  .room-visualizer-page .room-topbar__actions{
    width:100%!important;
    display:grid!important;
    grid-template-columns:1fr 1fr 1fr!important;
    gap:8px!important;
    justify-content:stretch!important;
    overflow:hidden!important;
  }
  .room-visualizer-page .room-topbar__actions button,
  .room-visualizer-page .room-topbar__actions a{
    width:100%!important;
    min-height:48px!important;
    height:auto!important;
    border-radius:15px!important;
    padding:9px 8px!important;
    font-size:clamp(10px,2.6vw,12px)!important;
    letter-spacing:.07em!important;
  }
  .room-visualizer-page .room-visualizer{
    padding:10px!important;
    gap:12px!important;
    overflow:visible!important;
  }
  .room-visualizer-page .room-visualizer__steps{
    width:100%!important;
    overflow:visible!important;
  }
  .room-visualizer-page .room-step,
  .room-visualizer-page .room-work-card{
    border-radius:22px!important;
    padding:16px!important;
  }
  .room-visualizer-page .room-card-title--photo{
    gap:8px!important;
    grid-template-columns:minmax(0,1fr) auto!important;
  }
  .room-visualizer-page .room-card-title--photo strong{
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    max-width:100%!important;
  }
  .room-visualizer-page .room-card-title--photo span{
    grid-column:1/-1!important;
    font-size:11px!important;
  }
  .room-visualizer-page .room-photo-collapse-btn,
  .room-visualizer-page .room-photo-zoom-btn{
    min-height:36px!important;
    height:auto!important;
    padding:8px 10px!important;
    font-size:10px!important;
    letter-spacing:.06em!important;
  }
  .room-visualizer-page .room-photo-marker{
    min-height:210px!important;
    height:auto!important;
  }
  .room-visualizer-page .room-photo-marker canvas[data-room-photo-canvas]{
    min-height:210px!important;
    height:auto!important;
  }
  .room-visualizer-page .room-mode-toggle{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
  }
  .room-visualizer-page .room-mode-toggle button{
    min-height:52px!important;
    border-radius:16px!important;
    font-size:12px!important;
    letter-spacing:.08em!important;
  }
  .room-visualizer-page .room-manual-head strong{
    font-size:18px!important;
    letter-spacing:.16em!important;
    line-height:1.1!important;
  }
  .room-visualizer-page .room-manual-head span{
    font-size:13px!important;
    line-height:1.35!important;
  }
  .room-visualizer-page .room-surface-picker{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:9px!important;
  }
  .room-visualizer-page .room-surface-picker button{
    min-height:48px!important;
    border-radius:15px!important;
  }
  .room-visualizer-page .room-dimensions-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:8px!important;
  }
  .room-visualizer-page .room-dimensions-grid label{
    min-width:0!important;
    font-size:9px!important;
  }
  .room-visualizer-page .room-dimensions-grid input{
    width:100%!important;
    min-width:0!important;
  }
  .room-visualizer-page .room-actions--live{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .room-visualizer-page .room-actions--live button{
    min-height:54px!important;
    border-radius:16px!important;
    padding:10px 8px!important;
  }
  .room-visualizer-page .room-visualizer__workspace{
    grid-template-rows:minmax(520px,70vh)!important;
    height:auto!important;
  }
  .room-visualizer-page .room-3d-panel{
    height:min(70vh,640px)!important;
    min-height:520px!important;
    border-radius:22px!important;
    overflow:hidden!important;
  }
  .room-visualizer-page .room-3d-toolbar{
    min-height:54px!important;
    height:auto!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:2px!important;
    align-items:start!important;
    padding:12px 14px!important;
  }
  .room-visualizer-page .room-3d-toolbar strong{
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  .room-visualizer-page .room-3d-toolbar span{
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    font-size:12px!important;
  }
  .room-visualizer-page .room-3d-toolbar::after{display:none!important;}
  .room-visualizer-page .room-3d-panel canvas[data-room-3d-canvas]{
    height:calc(100% - 78px)!important;
    min-height:0!important;
  }
}

@media(max-width:480px){
  .room-visualizer-page .room-topbar__actions{
    grid-template-columns:1fr!important;
  }
  .room-visualizer-page .room-topbar__actions button,
  .room-visualizer-page .room-topbar__actions a{
    min-height:44px!important;
  }
  .room-visualizer-page .room-dimensions-grid{
    grid-template-columns:1fr!important;
  }
  .room-visualizer-page .room-surface-picker{
    grid-template-columns:1fr 1fr!important;
  }
}

/* Mobilny modal zdjęcia: bez ogromnych pustych pól i bez ucinania przycisków */
@media(max-width:820px){
  body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed,
  .room-visualizer-page .room-visualizer__steps > .room-work-card--photo.is-photo-zoomed{
    inset:0!important;
    width:100vw!important;
    height:100dvh!important;
    border-radius:0!important;
    padding:0!important;
    overflow:hidden!important;
    background:#f7f3ec!important;
    display:grid!important;
    grid-template-rows:auto auto 1fr!important;
  }
  body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-card-title--photo,
  .room-visualizer-page .room-visualizer__steps > .room-work-card--photo.is-photo-zoomed .room-card-title--photo{
    position:relative!important;
    top:auto!important;
    left:auto!important;
    right:auto!important;
    z-index:5!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
    padding:12px!important;
    min-height:auto!important;
    height:auto!important;
    background:rgba(255,253,248,.96)!important;
    border-bottom:1px solid rgba(68,56,45,.12)!important;
  }
  body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-card-title--photo strong,
  .room-visualizer-page .room-visualizer__steps > .room-work-card--photo.is-photo-zoomed .room-card-title--photo strong{
    font-size:13px!important;
    letter-spacing:.12em!important;
    white-space:nowrap!important;
  }
  body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-collapse-btn,
  .room-visualizer-page .room-visualizer__steps > .room-work-card--photo.is-photo-zoomed .room-photo-collapse-btn{
    display:none!important;
  }
  body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-btn,
  .room-visualizer-page .room-visualizer__steps > .room-work-card--photo.is-photo-zoomed .room-photo-zoom-btn{
    width:100%!important;
    min-height:46px!important;
    background:#14110f!important;
    color:#fff!important;
    border-radius:999px!important;
  }
  body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel,
  .room-visualizer-page .room-visualizer__steps > .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel{
    position:relative!important;
    inset:auto!important;
    display:flex!important;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    max-height:none!important;
    padding:10px 12px!important;
    border-radius:0!important;
    border:0!important;
    border-bottom:1px solid rgba(68,56,45,.10)!important;
    box-shadow:none!important;
    background:rgba(255,253,248,.94)!important;
    overflow-x:auto!important;
    gap:8px!important;
  }
  body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel button,
  .room-visualizer-page .room-visualizer__steps > .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel button{
    flex:0 0 auto!important;
    min-width:96px!important;
    min-height:44px!important;
    height:44px!important;
    border-radius:16px!important;
    font-size:12px!important;
  }
  body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-marker,
  .room-visualizer-page .room-visualizer__steps > .room-work-card--photo.is-photo-zoomed .room-photo-marker{
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    padding:8px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    overflow:auto!important;
    background:#f7f3ec!important;
  }
  body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-marker canvas[data-room-photo-canvas],
  .room-visualizer-page .room-visualizer__steps > .room-work-card--photo.is-photo-zoomed .room-photo-marker canvas[data-room-photo-canvas]{
    width:100%!important;
    height:auto!important;
    max-height:100%!important;
    object-fit:contain!important;
    touch-action:none!important;
  }
}

/* GABINET polish + 3D room restore patch */
.room-visualizer-page .room-topbar.room-topbar--pro{
  min-height:74px!important;
  height:74px!important;
  grid-template-columns:minmax(250px,310px) minmax(0,1fr) auto!important;
  background:linear-gradient(180deg,#fff 0%,#fbfaf7 100%)!important;
  border-bottom:1px solid rgba(79,63,49,.12)!important;
}
.room-visualizer-page .room-topbar__brand--gabi{
  position:relative!important;
  gap:16px!important;
  min-width:0!important;
  overflow:hidden!important;
}
.room-visualizer-page .room-topbar__brand--gabi::after{
  content:"";
  position:absolute;
  right:8px;
  top:50%;
  width:58px;
  height:58px;
  transform:translateY(-50%) rotate(-18deg);
  opacity:.055;
  background:
    linear-gradient(135deg,transparent 0 34%,#111 34% 36%,transparent 36%),
    linear-gradient(45deg,transparent 0 34%,#111 34% 36%,transparent 36%),
    linear-gradient(90deg,#111 0 2px,transparent 2px 100%),
    linear-gradient(#111 0 2px,transparent 2px 100%);
  border:2px solid #111;
  border-radius:12px;
  pointer-events:none;
}
.room-visualizer-page .room-topbar__brand--gabi img{
  height:54px!important;
  max-width:132px!important;
  object-fit:contain!important;
  flex:0 0 auto!important;
}
.room-visualizer-page .room-brand-word{
  font-size:25px!important;
  letter-spacing:.20em!important;
  font-weight:850!important;
  opacity:.78!important;
  mix-blend-mode:multiply;
}
.room-visualizer-page .room-brand-gabi{color:#8f2530!important;}
.room-visualizer-page .room-brand-net{color:#2f2a25!important;}
.room-visualizer-page .room-topbar__title strong{
  font-size:19px!important;
  line-height:1.1!important;
  font-weight:650!important;
  letter-spacing:-.035em!important;
  color:#3e3b37!important;
  text-transform:none!important;
}
.room-visualizer-page .room-topbar__title span{
  font-size:12px!important;
  color:#8b8177!important;
  letter-spacing:.01em!important;
}
.room-visualizer-page .room-visualizer__steps{
  position:relative!important;
  padding-left:14px!important;
}
.room-visualizer-page .room-visualizer__steps::before{
  content:"";
  position:absolute;
  left:2px;
  top:0;
  bottom:0;
  width:3px;
  background:linear-gradient(180deg,#a01f2b 0%,#a01f2b 54%,rgba(160,31,43,.20) 100%);
  border-radius:999px;
  z-index:1;
}
.room-visualizer-page .room-step,
.room-visualizer-page .room-work-card{
  position:relative!important;
  z-index:2!important;
}
.room-visualizer-page .room-3d-panel{
  min-height:calc(100vh - 128px)!important;
}
.room-visualizer-page .room-3d-panel canvas{
  min-height:calc(100vh - 190px)!important;
}
@media(max-width:980px){
  .room-visualizer-page .room-topbar.room-topbar--pro{
    grid-template-columns:1fr!important;
    height:auto!important;
    min-height:0!important;
  }
  .room-visualizer-page .room-topbar__brand--gabi img{height:50px!important;max-width:126px!important;}
  .room-visualizer-page .room-brand-word{font-size:23px!important;}
  .room-visualizer-page .room-topbar__title strong{font-size:17px!important;}
  .room-visualizer-page .room-3d-panel{min-height:520px!important;}
  .room-visualizer-page .room-3d-panel canvas{min-height:458px!important;}
}
@media(max-width:560px){
  .room-visualizer-page .room-topbar__brand--gabi{gap:10px!important;}
  .room-visualizer-page .room-topbar__brand--gabi img{height:46px!important;max-width:118px!important;}
  .room-visualizer-page .room-brand-word{font-size:19px!important;letter-spacing:.17em!important;}
  .room-visualizer-page .room-topbar__title strong{font-size:16px!important;}
  .room-visualizer-page .room-topbar__title span{font-size:11px!important;}
}


/* === PATCH 2026-06-09 — jeden pasek, mocniejsze logo, emboss GABINET 3D i szybsze punkty === */
.room-visualizer-page .room-visualizer__steps::before{
  display:none!important;
  content:none!important;
}
.room-visualizer-page .room-visualizer__steps{
  border-left:3px solid #9f1f2b!important;
  padding-left:16px!important;
  box-shadow:none!important;
  background:transparent!important;
}
.room-visualizer-page .room-step,
.room-visualizer-page .room-work-card{
  border-left:0!important;
}
.room-visualizer-page .room-topbar.room-topbar--pro{
  min-height:86px!important;
  height:86px!important;
  grid-template-columns:minmax(390px,455px) minmax(0,1fr) auto!important;
  overflow:hidden!important;
}
.room-visualizer-page .room-topbar__brand--gabi{
  gap:18px!important;
  align-items:center!important;
  padding-right:18px!important;
}
.room-visualizer-page .room-topbar__brand--gabi img{
  height:70px!important;
  max-width:180px!important;
  width:auto!important;
  filter:drop-shadow(0 10px 16px rgba(34,25,18,.10));
}
.room-visualizer-page .room-brand-word{
  position:relative!important;
  display:inline-flex!important;
  align-items:baseline!important;
  gap:0!important;
  padding:8px 10px 8px 0!important;
  font-size:31px!important;
  line-height:1!important;
  letter-spacing:.20em!important;
  font-weight:760!important;
  opacity:.9!important;
  color:#302821!important;
  text-shadow:
    0 1px 0 rgba(255,255,255,.92),
    0 -1px 0 rgba(85,68,54,.16),
    2px 5px 12px rgba(44,32,20,.11),
    -1px -1px 0 rgba(255,255,255,.55)!important;
}
.room-visualizer-page .room-brand-word::before{
  content:"";
  position:absolute;
  inset:1px 0 -1px -10px;
  border-radius:18px;
  background:linear-gradient(145deg,rgba(255,255,255,.72),rgba(213,202,187,.16));
  box-shadow:inset 1px 1px 2px rgba(255,255,255,.85), inset -2px -2px 5px rgba(80,65,50,.08);
  z-index:-1;
  opacity:.42;
}
.room-visualizer-page .room-brand-word::after{
  content:"";
  position:absolute;
  right:-14px;
  top:50%;
  width:52px;
  height:52px;
  transform:translateY(-50%) rotate(-18deg);
  border-radius:13px;
  border:2px solid rgba(49,40,31,.10);
  background:
    linear-gradient(135deg,transparent 0 42%,rgba(49,40,31,.13) 42% 46%,transparent 46%),
    linear-gradient(45deg,transparent 0 42%,rgba(49,40,31,.10) 42% 46%,transparent 46%),
    linear-gradient(180deg,rgba(255,255,255,.22),rgba(49,40,31,.04));
  box-shadow:inset 2px 2px 5px rgba(255,255,255,.8), inset -3px -3px 8px rgba(49,40,31,.06);
  pointer-events:none;
  opacity:.55;
}
.room-visualizer-page .room-brand-gabi{color:#8d2630!important;}
.room-visualizer-page .room-brand-net{color:#2c2823!important;}
.room-visualizer-page .room-brand-3d{
  margin-left:8px!important;
  font-size:.62em!important;
  letter-spacing:.08em!important;
  color:#8d7d70!important;
  text-shadow:0 1px 0 #fff,0 -1px 0 rgba(80,65,50,.16),1px 2px 5px rgba(30,24,18,.12)!important;
}
.room-visualizer-page .room-topbar__brand--gabi::after{display:none!important;}
.room-visualizer-page .room-topbar__title strong{
  font-size:15px!important;
  line-height:1.08!important;
  font-weight:560!important;
  letter-spacing:-.02em!important;
  color:#4a4641!important;
}
.room-visualizer-page .room-topbar__title span{
  font-size:11px!important;
  color:#8d857c!important;
}
.room-visualizer-page .room-photo-marker canvas[data-room-photo-canvas]{
  will-change:transform;
  contain:layout paint;
}
@media(max-width:980px){
  .room-visualizer-page .room-topbar.room-topbar--pro{
    height:auto!important;
    min-height:0!important;
    grid-template-columns:1fr!important;
  }
  .room-visualizer-page .room-topbar__brand--gabi img{height:58px!important;max-width:150px!important;}
  .room-visualizer-page .room-brand-word{font-size:27px!important;}
  .room-visualizer-page .room-topbar__title strong{font-size:14px!important;}
  .room-visualizer-page .room-visualizer__steps{
    border-left:3px solid #9f1f2b!important;
    padding-left:12px!important;
  }
}
@media(max-width:560px){
  .room-visualizer-page .room-topbar__brand--gabi img{height:52px!important;max-width:138px!important;}
  .room-visualizer-page .room-brand-word{font-size:23px!important;letter-spacing:.16em!important;}
  .room-visualizer-page .room-brand-3d{margin-left:5px!important;}
  .room-visualizer-page .room-topbar__title strong{font-size:13px!important;}
}


/* === PATCH: lewy panel bez wewnętrznego paska, większe logo, nowy tekst i płynniejsze punkty === */
.room-visualizer-page .room-step--perspective::before,
.room-visualizer-page .room-step:first-child::before{
  display:none!important;
  content:none!important;
}
.room-visualizer-page .room-step--perspective{
  padding-left:0!important;
  margin-left:0!important;
  border-left:0!important;
}
.room-visualizer-page .room-step--perspective > b{
  margin-left:0!important;
}
.room-visualizer-page .room-step--perspective > div{
  padding-left:0!important;
  margin-left:0!important;
}
.room-visualizer-page .room-visualizer__steps{
  border-left:3px solid #9f1f2b!important;
  padding-left:14px!important;
}
.room-visualizer-page .room-topbar.room-topbar--pro{
  grid-template-columns:minmax(520px,620px) minmax(0,1fr) auto!important;
  min-height:92px!important;
  height:92px!important;
}
.room-visualizer-page .room-topbar__brand--gabi{
  min-width:0!important;
  overflow:visible!important;
  gap:22px!important;
}
.room-visualizer-page .room-topbar__brand--gabi img{
  height:86px!important;
  width:auto!important;
  max-width:245px!important;
  min-width:165px!important;
  object-fit:contain!important;
  transform:scale(1.08)!important;
  transform-origin:left center!important;
}
.room-visualizer-page .room-brand-word{
  font-size:34px!important;
  letter-spacing:.21em!important;
  font-weight:720!important;
  opacity:.86!important;
  text-shadow:
    1px 1px 0 rgba(255,255,255,.95),
    -1px -1px 1px rgba(76,59,44,.16),
    0 7px 16px rgba(65,48,35,.10)!important;
}
.room-visualizer-page .room-topbar__title strong{
  font-size:12px!important;
  line-height:1.25!important;
  font-weight:560!important;
  letter-spacing:.14em!important;
  text-transform:uppercase!important;
  color:#4a4641!important;
  max-width:360px!important;
}
.room-visualizer-page .room-topbar__title span{display:none!important;}
.room-visualizer-page .room-card-title--photo strong{
  font-size:14px!important;
  letter-spacing:.14em!important;
}
.room-visualizer-page .room-card-title--photo span{
  font-size:11px!important;
}
.room-visualizer-page .room-photo-marker canvas[data-room-photo-canvas]{
  image-rendering:auto!important;
}
@media(max-width:1200px){
  .room-visualizer-page .room-topbar.room-topbar--pro{
    grid-template-columns:minmax(380px,470px) minmax(0,1fr) auto!important;
  }
  .room-visualizer-page .room-topbar__brand--gabi img{height:72px!important;max-width:200px!important;min-width:140px!important;}
  .room-visualizer-page .room-brand-word{font-size:28px!important;}
}
@media(max-width:980px){
  .room-visualizer-page .room-topbar.room-topbar--pro{
    grid-template-columns:1fr!important;
    height:auto!important;
    min-height:0!important;
  }
  .room-visualizer-page .room-topbar__brand--gabi img{height:70px!important;max-width:195px!important;min-width:130px!important;}
  .room-visualizer-page .room-topbar__title strong{font-size:11px!important;max-width:none!important;}
  .room-visualizer-page .room-step--perspective{padding-left:0!important;}
}
@media(max-width:560px){
  .room-visualizer-page .room-topbar__brand--gabi img{height:60px!important;max-width:170px!important;min-width:120px!important;}
  .room-visualizer-page .room-brand-word{font-size:22px!important;letter-spacing:.16em!important;}
  .room-visualizer-page .room-topbar__title strong{font-size:10px!important;letter-spacing:.09em!important;}
  .room-visualizer-page .room-visualizer__steps{padding-left:10px!important;}
}


/* === PATCH 2026-06-09 — topbar: większe logo i pełny napis CTA === */
.room-visualizer-page .room-topbar.room-topbar--pro{
  overflow:visible!important;
  min-height:96px!important;
  height:96px!important;
  grid-template-columns:minmax(560px,680px) minmax(280px,1fr) auto!important;
  align-items:center!important;
}
.room-visualizer-page .room-topbar__brand,
.room-visualizer-page .room-topbar__brand--gabi{
  overflow:visible!important;
  min-width:0!important;
  position:relative!important;
  z-index:5!important;
}
.room-visualizer-page .room-topbar__brand--gabi img,
.room-visualizer-page .room-topbar__brand img{
  height:92px!important;
  width:260px!important;
  max-width:260px!important;
  min-width:260px!important;
  max-height:none!important;
  object-fit:contain!important;
  object-position:left center!important;
  transform:scale(1.22)!important;
  transform-origin:left center!important;
  margin-right:10px!important;
  flex:0 0 260px!important;
}
.room-visualizer-page .room-topbar__title{
  overflow:visible!important;
  min-width:0!important;
  max-width:none!important;
  display:flex!important;
  align-items:center!important;
}
.room-visualizer-page .room-topbar__title strong{
  display:block!important;
  width:auto!important;
  max-width:none!important;
  white-space:nowrap!important;
  overflow:visible!important;
  text-overflow:clip!important;
  font-size:10px!important;
  line-height:1.3!important;
  font-weight:560!important;
  letter-spacing:.115em!important;
  text-transform:uppercase!important;
  color:#4a4641!important;
}
@media(max-width:1400px){
  .room-visualizer-page .room-topbar.room-topbar--pro{
    grid-template-columns:minmax(470px,560px) minmax(250px,1fr) auto!important;
  }
  .room-visualizer-page .room-topbar__brand--gabi img,
  .room-visualizer-page .room-topbar__brand img{
    height:80px!important;
    width:220px!important;
    max-width:220px!important;
    min-width:220px!important;
    flex-basis:220px!important;
  }
  .room-visualizer-page .room-brand-word{font-size:28px!important;}
  .room-visualizer-page .room-topbar__title strong{font-size:9.5px!important;letter-spacing:.095em!important;}
}
@media(max-width:980px){
  .room-visualizer-page .room-topbar.room-topbar--pro{
    height:auto!important;
    min-height:0!important;
    grid-template-columns:1fr!important;
    overflow:hidden!important;
  }
  .room-visualizer-page .room-topbar__brand--gabi img,
  .room-visualizer-page .room-topbar__brand img{
    height:68px!important;
    width:190px!important;
    max-width:190px!important;
    min-width:190px!important;
    flex-basis:190px!important;
    transform:scale(1.08)!important;
  }
  .room-visualizer-page .room-topbar__title strong{
    white-space:normal!important;
    font-size:9.5px!important;
    letter-spacing:.08em!important;
  }
}
@media(max-width:560px){
  .room-visualizer-page .room-topbar__brand--gabi img,
  .room-visualizer-page .room-topbar__brand img{
    height:60px!important;
    width:164px!important;
    max-width:164px!important;
    min-width:164px!important;
    flex-basis:164px!important;
  }
  .room-visualizer-page .room-topbar__title strong{
    font-size:9px!important;
    line-height:1.25!important;
    letter-spacing:.055em!important;
  }
}

/* === PATCH FINAL — logo minimalnie większe + CTA wbite w tło === */
.room-visualizer-page .room-topbar.room-topbar--pro{
  min-height:78px!important;
  height:78px!important;
  grid-template-columns:minmax(390px,460px) minmax(360px,1fr) auto!important;
  gap:26px!important;
}
.room-visualizer-page .room-topbar__brand--gabi,
.room-visualizer-page .room-topbar__brand{
  overflow:visible!important;
  gap:18px!important;
}
.room-visualizer-page .room-topbar__brand--gabi img,
.room-visualizer-page .room-topbar__brand img{
  height:72px!important;
  width:170px!important;
  max-width:170px!important;
  min-width:170px!important;
  flex:0 0 170px!important;
  transform:none!important;
  object-fit:contain!important;
  object-position:left center!important;
  margin-right:4px!important;
}
.room-visualizer-page .room-brand-word{
  font-size:24px!important;
  letter-spacing:.18em!important;
  color:#6e625b!important;
  opacity:.62!important;
  text-shadow:1px 1px 0 rgba(255,255,255,.85), -1px -1px 0 rgba(70,48,38,.10)!important;
}
.room-visualizer-page .room-brand-gabi{color:#7f2029!important;}
.room-visualizer-page .room-brand-net{color:#3d3834!important;}
.room-visualizer-page .room-brand-3d{color:#9b9189!important;opacity:.46!important;}
.room-visualizer-page .room-topbar__title{
  justify-content:center!important;
  overflow:visible!important;
}
.room-visualizer-page .room-topbar__title strong{
  font-size:8.5px!important;
  line-height:1.2!important;
  letter-spacing:.11em!important;
  font-weight:500!important;
  color:#6e6861!important;
  opacity:.58!important;
  text-shadow:1px 1px 0 rgba(255,255,255,.9), -1px -1px 0 rgba(45,35,28,.08)!important;
  white-space:nowrap!important;
  text-transform:uppercase!important;
}
@media(max-width:1400px){
  .room-visualizer-page .room-topbar.room-topbar--pro{
    grid-template-columns:minmax(340px,405px) minmax(300px,1fr) auto!important;
  }
  .room-visualizer-page .room-topbar__brand--gabi img,
  .room-visualizer-page .room-topbar__brand img{
    height:64px!important;width:152px!important;max-width:152px!important;min-width:152px!important;flex-basis:152px!important;
  }
  .room-visualizer-page .room-brand-word{font-size:21px!important;}
  .room-visualizer-page .room-topbar__title strong{font-size:8px!important;letter-spacing:.085em!important;}
}
@media(max-width:980px){
  .room-visualizer-page .room-topbar.room-topbar--pro{
    height:auto!important;min-height:0!important;grid-template-columns:1fr!important;gap:10px!important;
  }
  .room-visualizer-page .room-topbar__brand--gabi img,
  .room-visualizer-page .room-topbar__brand img{
    height:58px!important;width:138px!important;max-width:138px!important;min-width:138px!important;flex-basis:138px!important;
  }
  .room-visualizer-page .room-brand-word{font-size:20px!important;}
  .room-visualizer-page .room-topbar__title{justify-content:flex-start!important;}
  .room-visualizer-page .room-topbar__title strong{white-space:normal!important;font-size:8px!important;}
}
@media(max-width:560px){
  .room-visualizer-page .room-topbar__brand--gabi img,
  .room-visualizer-page .room-topbar__brand img{
    height:52px!important;width:124px!important;max-width:124px!important;min-width:124px!important;flex-basis:124px!important;
  }
  .room-visualizer-page .room-brand-word{font-size:18px!important;letter-spacing:.14em!important;}
  .room-visualizer-page .room-topbar__title strong{font-size:7.5px!important;letter-spacing:.055em!important;}
}

/* === FINAL PATCH — mniejsze logo + lżejsze przeciąganie punktów === */
.room-visualizer-page .room-topbar.room-topbar--pro{
  min-height:66px!important;
  height:66px!important;
  grid-template-columns:minmax(290px,340px) minmax(280px,1fr) auto!important;
  gap:18px!important;
}
.room-visualizer-page .room-topbar__brand--gabi img,
.room-visualizer-page .room-topbar__brand img{
  height:54px!important;
  width:128px!important;
  max-width:128px!important;
  min-width:128px!important;
  flex:0 0 128px!important;
  object-fit:contain!important;
  object-position:left center!important;
  transform:none!important;
}
.room-visualizer-page .room-topbar__brand--gabi,
.room-visualizer-page .room-topbar__brand{
  gap:12px!important;
}
.room-visualizer-page .room-brand-word{
  font-size:20px!important;
  letter-spacing:.16em!important;
  opacity:.54!important;
}
.room-visualizer-page .room-topbar__title strong{
  font-size:7.8px!important;
  letter-spacing:.095em!important;
  opacity:.48!important;
  font-weight:500!important;
}
.room-visualizer-page .room-photo-marker canvas,
.room-visualizer-page [data-room-photo-canvas]{
  touch-action:none!important;
  cursor:crosshair;
}
.room-visualizer-page.is-dragging-room-point,
.room-visualizer-page.is-dragging-room-point *{
  user-select:none!important;
  -webkit-user-select:none!important;
}
@media(max-width:1400px){
  .room-visualizer-page .room-topbar.room-topbar--pro{
    grid-template-columns:minmax(260px,310px) minmax(240px,1fr) auto!important;
  }
  .room-visualizer-page .room-topbar__brand--gabi img,
  .room-visualizer-page .room-topbar__brand img{
    height:48px!important;
    width:116px!important;
    max-width:116px!important;
    min-width:116px!important;
    flex-basis:116px!important;
  }
  .room-visualizer-page .room-brand-word{font-size:18px!important;}
}
@media(max-width:980px){
  .room-visualizer-page .room-topbar.room-topbar--pro{
    height:auto!important;
    min-height:0!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
  }
  .room-visualizer-page .room-topbar__brand--gabi img,
  .room-visualizer-page .room-topbar__brand img{
    height:48px!important;
    width:116px!important;
    max-width:116px!important;
    min-width:116px!important;
    flex-basis:116px!important;
  }
  .room-visualizer-page .room-brand-word{font-size:18px!important;}
}
@media(max-width:560px){
  .room-visualizer-page .room-topbar__brand--gabi img,
  .room-visualizer-page .room-topbar__brand img{
    height:42px!important;
    width:102px!important;
    max-width:102px!important;
    min-width:102px!important;
    flex-basis:102px!important;
  }
  .room-visualizer-page .room-brand-word{font-size:16px!important;letter-spacing:.13em!important;}
  .room-visualizer-page .room-topbar__title strong{font-size:7.2px!important;}
}

/* === PATCH 2026-06-09 — ultra płynne przeciąganie punktów: SVG overlay bez przerysowania zdjęcia === */
.room-visualizer-page .room-visualizer.is-dragging-room-point .room-point-hit-layer{
  display:block!important;
  position:absolute!important;
  inset:0!important;
  z-index:14!important;
  overflow:visible!important;
  pointer-events:none!important;
}
.room-visualizer-page .room-drag-overlay-svg{
  position:absolute!important;
  display:block!important;
  overflow:visible!important;
  pointer-events:none!important;
  transform:translateZ(0)!important;
  will-change:contents!important;
}
.room-visualizer-page .room-photo-marker canvas[data-room-photo-canvas]{
  touch-action:none!important;
}
.room-visualizer-page .room-visualizer.is-dragging-room-point .room-photo-marker canvas[data-room-photo-canvas]{
  cursor:grabbing!important;
}

/* === PATCH 2026-06-10 — GABINET room visualizer polish, one transparent wall, responsive finish === */
.room-visualizer-page{
  --gabinet-bg:#f7f5f1;
  --gabinet-card:#fffdf9;
  --gabinet-soft:#f1ece5;
  --gabinet-line:rgba(55,45,36,.13);
  --gabinet-text:#24201c;
  --gabinet-muted:#81766d;
  --gabinet-red:#9f1f2b;
  --gabinet-shadow:0 18px 48px rgba(42,34,27,.08);
  background:var(--gabinet-bg)!important;
  color:var(--gabinet-text)!important;
}
.room-visualizer-page .room-visualizer{
  height:calc(100dvh - 66px)!important;
  grid-template-columns:minmax(300px,340px) minmax(0,1fr)!important;
  gap:18px!important;
  padding:18px clamp(18px,2vw,32px)!important;
  background:var(--gabinet-bg)!important;
  overflow:hidden!important;
}
.room-visualizer-page .room-visualizer__steps{
  display:flex!important;
  flex-direction:column!important;
  gap:0!important;
  height:100%!important;
  min-height:0!important;
  padding:18px!important;
  overflow:auto!important;
  border:1px solid var(--gabinet-line)!important;
  border-left:1px solid var(--gabinet-line)!important;
  border-radius:12px!important;
  background:rgba(255,253,249,.94)!important;
  box-shadow:var(--gabinet-shadow)!important;
}
.room-visualizer-page .room-visualizer__steps::before,
.room-visualizer-page .room-step--perspective::before{
  display:none!important;
  content:none!important;
}
.room-visualizer-page .room-visualizer__steps > .room-work-card--photo,
.room-visualizer-page .room-step{
  width:100%!important;
  margin:0!important;
  padding:18px 0!important;
  border:0!important;
  border-bottom:1px solid rgba(55,45,36,.11)!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.room-visualizer-page .room-visualizer__steps > .room-work-card--photo{
  display:grid!important;
  grid-template-rows:auto minmax(210px,250px)!important;
  min-height:0!important;
  padding-top:0!important;
}
.room-visualizer-page .room-visualizer__steps > .room-step:last-child{
  border-bottom:0!important;
  padding-bottom:0!important;
}
.room-visualizer-page .room-step{
  display:grid!important;
  grid-template-columns:24px minmax(0,1fr)!important;
  gap:12px!important;
}
.room-visualizer-page .room-step > b{
  width:24px!important;
  height:24px!important;
  border-radius:999px!important;
  background:#16120f!important;
  color:#fff!important;
  display:grid!important;
  place-items:center!important;
  font-size:11px!important;
  font-weight:760!important;
}
.room-visualizer-page .room-step h2,
.room-visualizer-page .room-card-title strong,
.room-visualizer-page .room-dimensions-card strong,
.room-visualizer-page .room-exclude-wall-panel strong{
  color:#312b26!important;
  font-weight:760!important;
  letter-spacing:0!important;
  text-transform:none!important;
}
.room-visualizer-page .room-step h2{
  margin:0 0 10px!important;
  font-size:14px!important;
  line-height:1.2!important;
}
.room-visualizer-page .room-card-title--photo{
  height:auto!important;
  min-height:0!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto auto!important;
  align-items:center!important;
  gap:8px!important;
  padding:0 0 12px!important;
  background:transparent!important;
  border:0!important;
}
.room-visualizer-page .room-card-title--photo strong{
  font-size:13px!important;
  line-height:1.2!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.room-visualizer-page .room-card-title--photo span{
  display:none!important;
}
.room-visualizer-page .room-photo-collapse-btn,
.room-visualizer-page .room-photo-zoom-btn{
  height:32px!important;
  min-height:32px!important;
  padding:0 10px!important;
  border-radius:8px!important;
  border:1px solid var(--gabinet-line)!important;
  background:#fff!important;
  color:#342d27!important;
  font-size:10px!important;
  font-weight:700!important;
  letter-spacing:0!important;
  box-shadow:none!important;
}
.room-visualizer-page .room-photo-marker{
  min-height:220px!important;
  height:100%!important;
  border:1px dashed rgba(90,75,61,.28)!important;
  border-radius:12px!important;
  background:linear-gradient(180deg,#fff 0%,#f6f1ea 100%)!important;
  overflow:hidden!important;
}
.room-visualizer-page .room-empty-state.room-empty-state--upload{
  inset:12px!important;
  border-radius:10px!important;
  border:1px dashed rgba(159,31,43,.24)!important;
  background:rgba(255,255,255,.54)!important;
}
.room-visualizer-page .room-empty-state__icon{
  color:var(--gabinet-red)!important;
}
.room-visualizer-page .room-empty-state strong{
  font-size:13px!important;
  letter-spacing:0!important;
}
.room-visualizer-page .room-manual-head strong{
  font-size:14px!important;
  line-height:1.2!important;
  letter-spacing:0!important;
  text-transform:none!important;
}
.room-visualizer-page .room-empty-state span,
.room-visualizer-page .room-empty-state small,
.room-visualizer-page .room-manual-head span,
.room-visualizer-page .room-3d-toolbar span{
  color:var(--gabinet-muted)!important;
}
.room-visualizer-page .room-mode-toggle{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:8px!important;
  margin:0 0 12px!important;
}
.room-visualizer-page .room-mode-toggle button,
.room-visualizer-page .room-actions button,
.room-visualizer-page .room-actions--live button,
.room-visualizer-page .room-surface-picker.room-surface-picker--text button,
.room-visualizer-page .room-exclude-wall-grid button{
  min-width:0!important;
  border-radius:8px!important;
  letter-spacing:0!important;
  text-transform:none!important;
  font-weight:760!important;
  line-height:1.1!important;
  transition:background .16s ease,border-color .16s ease,color .16s ease,transform .16s ease!important;
}
.room-visualizer-page .room-mode-toggle button.is-active,
.room-visualizer-page .room-surface-picker.room-surface-picker--text button.is-active,
.room-visualizer-page .room-exclude-wall-grid button.is-active{
  background:#16120f!important;
  border-color:#16120f!important;
  color:#fff!important;
  box-shadow:none!important;
}
.room-visualizer-page .room-surface-picker.room-surface-picker--text{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px!important;
  margin:8px 0 12px!important;
}
.room-visualizer-page .room-surface-picker.room-surface-picker--text button{
  min-height:40px!important;
  padding:0 10px!important;
  border:1px solid var(--gabinet-line)!important;
  background:#fff!important;
  color:#332c26!important;
  font-size:12px!important;
}
.room-visualizer-page .room-surface-picker.room-surface-picker--text button.is-excluded{
  border-color:rgba(159,31,43,.42)!important;
  border-style:dashed!important;
  color:var(--gabinet-red)!important;
  background:rgba(159,31,43,.045)!important;
}
.room-visualizer-page .room-surface-picker.room-surface-picker--text button.is-active.is-excluded{
  color:#fff!important;
  background:linear-gradient(135deg,#16120f 0%,#321a1b 100%)!important;
}
.room-visualizer-page .room-exclude-wall-panel{
  margin:10px 0 12px!important;
  padding:12px!important;
  border:1px solid rgba(55,45,36,.11)!important;
  border-radius:12px!important;
  background:#f8f4ee!important;
}
.room-visualizer-page .room-exclude-wall-panel strong{
  display:block!important;
  margin:0 0 8px!important;
  font-size:13px!important;
}
.room-visualizer-page .room-exclude-wall-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:7px!important;
}
.room-visualizer-page .room-exclude-wall-grid button{
  min-height:36px!important;
  padding:0 8px!important;
  border:1px solid rgba(55,45,36,.14)!important;
  background:#fff!important;
  color:#403831!important;
  font-size:11px!important;
  cursor:pointer!important;
}
.room-visualizer-page .room-exclude-wall-grid button:not([data-room-exclude-wall="none"]).is-active{
  background:var(--gabinet-red)!important;
  border-color:var(--gabinet-red)!important;
  color:#fff!important;
}
.room-visualizer-page .room-dimensions-card{
  padding:12px!important;
  border-radius:12px!important;
  border:1px solid rgba(55,45,36,.11)!important;
  background:#fff!important;
}
.room-visualizer-page .room-dimensions-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:8px!important;
}
.room-visualizer-page .room-dimensions-grid label,
.room-visualizer-page .room-step label{
  min-width:0!important;
  color:#5d544c!important;
  font-size:10px!important;
  letter-spacing:0!important;
  text-transform:none!important;
}
.room-visualizer-page .room-dimensions-grid input{
  min-width:0!important;
  width:100%!important;
  border-radius:8px!important;
  border:1px solid var(--gabinet-line)!important;
  background:#fff!important;
}
.room-visualizer-page .room-product{
  border-radius:10px!important;
  border:1px solid rgba(55,45,36,.12)!important;
  background:#fff!important;
  box-shadow:none!important;
}
.room-visualizer-page .room-product.is-active{
  border-color:#16120f!important;
  box-shadow:inset 0 0 0 1px #16120f!important;
}
.room-visualizer-page .room-actions,
.room-visualizer-page .room-actions--manual,
.room-visualizer-page .room-actions--live{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px!important;
}
.room-visualizer-page .room-actions button,
.room-visualizer-page .room-actions--live button{
  min-height:40px!important;
  padding:8px 10px!important;
  border:1px solid var(--gabinet-line)!important;
  background:#fff!important;
  color:#2d2722!important;
  font-size:11px!important;
}
.room-visualizer-page .room-actions button:last-child,
.room-visualizer-page .room-actions--manual button:last-child{
  background:#16120f!important;
  border-color:#16120f!important;
  color:#fff!important;
}
.room-visualizer-page .room-visualizer__workspace{
  height:100%!important;
  min-height:0!important;
  overflow:hidden!important;
  display:grid!important;
  grid-template-rows:minmax(0,1fr)!important;
}
.room-visualizer-page .room-work-card--preview{
  height:100%!important;
  min-height:0!important;
  display:grid!important;
  grid-template-rows:54px minmax(0,1fr)!important;
  padding:0!important;
  border:1px solid var(--gabinet-line)!important;
  border-radius:12px!important;
  background:var(--gabinet-card)!important;
  box-shadow:var(--gabinet-shadow)!important;
  overflow:hidden!important;
}
.room-visualizer-page .room-work-card--preview .room-card-title--preview{
  height:54px!important;
  padding:0 18px!important;
  border-bottom:1px solid rgba(55,45,36,.1)!important;
  background:#fffdf9!important;
}
.room-visualizer-page .room-work-card--preview .room-card-title--preview strong{
  font-size:13px!important;
}
.room-visualizer-page .room-3d-panel{
  min-height:0!important;
  height:100%!important;
  display:grid!important;
  grid-template-rows:44px minmax(0,1fr)!important;
  border:0!important;
  border-radius:0!important;
  background:radial-gradient(circle at 50% 35%,#fffdf8 0%,#f1ebe3 58%,#e7ded3 100%)!important;
  box-shadow:none!important;
}
.room-visualizer-page .room-3d-toolbar{
  height:44px!important;
  min-height:44px!important;
  padding:0 18px!important;
  background:rgba(255,253,249,.92)!important;
  border-bottom:1px solid rgba(55,45,36,.1)!important;
}
.room-visualizer-page .room-3d-toolbar::after{
  display:inline-flex!important;
  align-items:center!important;
  min-height:26px!important;
  padding:0 12px!important;
  border-radius:999px!important;
  background:#eee9e3!important;
  color:#5b5149!important;
  font-size:10px!important;
  letter-spacing:0!important;
}
.room-visualizer-page .room-3d-panel canvas[data-room-3d-canvas]{
  min-height:0!important;
  height:100%!important;
  width:100%!important;
}
.room-visualizer-page .room-photo-marker canvas[data-room-photo-canvas]{
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-height:220px!important;
  max-width:none!important;
  max-height:none!important;
}
.room-drag-overlay-canvas{
  position:absolute!important;
  display:none;
  z-index:15!important;
  pointer-events:none!important;
  transform:translateZ(0)!important;
  will-change:transform!important;
}
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed,
.room-visualizer-page .room-visualizer__steps > .room-work-card--photo.is-photo-zoomed{
  border-radius:12px!important;
  background:#fffdf9!important;
}
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-marker,
.room-visualizer-page .room-visualizer__steps > .room-work-card--photo.is-photo-zoomed .room-photo-marker{
  background:#f4eee7!important;
}
@media(max-width:1180px){
  html:has(body.room-visualizer-page),
  body.room-visualizer-page{
    overflow:auto!important;
  }
  .room-visualizer-page .room-visualizer{
    height:auto!important;
    min-height:0!important;
    grid-template-columns:1fr!important;
    gap:14px!important;
    padding:14px!important;
    overflow:visible!important;
  }
  .room-visualizer-page .room-visualizer__steps{
    height:auto!important;
    max-height:none!important;
    overflow:visible!important;
  }
  .room-visualizer-page .room-visualizer__workspace{
    min-height:620px!important;
    height:70dvh!important;
    overflow:visible!important;
  }
  .room-visualizer-page .room-work-card--preview{
    min-height:620px!important;
  }
  .room-visualizer-page .room-3d-toolbar::after{
    display:none!important;
  }
}
@media(min-width:701px) and (max-width:1180px){
  .room-visualizer-page .room-visualizer__steps{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:0 20px!important;
  }
  .room-visualizer-page .room-visualizer__steps > .room-work-card--photo{
    grid-column:1 / -1!important;
  }
  .room-visualizer-page .room-step{
    align-content:start!important;
  }
}
@media(max-width:700px){
  .room-visualizer-page .room-visualizer{
    padding:10px!important;
  }
  .room-visualizer-page .room-visualizer__steps{
    padding:14px!important;
    border-radius:10px!important;
  }
  .room-visualizer-page .room-step{
    grid-template-columns:22px minmax(0,1fr)!important;
    gap:10px!important;
    padding:16px 0!important;
  }
  .room-visualizer-page .room-card-title--photo{
    grid-template-columns:1fr!important;
  }
  .room-visualizer-page .room-photo-collapse-btn,
  .room-visualizer-page .room-photo-zoom-btn{
    width:100%!important;
  }
  .room-visualizer-page .room-surface-picker.room-surface-picker--text,
  .room-visualizer-page .room-exclude-wall-grid,
  .room-visualizer-page .room-actions,
  .room-visualizer-page .room-actions--manual,
  .room-visualizer-page .room-actions--live{
    grid-template-columns:1fr 1fr!important;
  }
  .room-visualizer-page .room-dimensions-grid{
    grid-template-columns:1fr!important;
  }
  .room-visualizer-page .room-visualizer__workspace,
  .room-visualizer-page .room-work-card--preview{
    min-height:540px!important;
    height:68dvh!important;
  }
  .room-visualizer-page .room-3d-toolbar{
    height:auto!important;
    min-height:56px!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    align-content:center!important;
    gap:2px!important;
    padding:10px 14px!important;
  }
  .room-visualizer-page .room-3d-toolbar strong,
  .room-visualizer-page .room-3d-toolbar span{
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  .room-visualizer-page .room-3d-toolbar::after{
    display:none!important;
  }
}
@media(max-width:420px){
  .room-visualizer-page .room-surface-picker.room-surface-picker--text,
  .room-visualizer-page .room-exclude-wall-grid,
  .room-visualizer-page .room-actions,
  .room-visualizer-page .room-actions--manual,
  .room-visualizer-page .room-actions--live{
    grid-template-columns:1fr!important;
  }
  .room-visualizer-page .room-visualizer__workspace,
  .room-visualizer-page .room-work-card--preview{
    min-height:500px!important;
  }
}

/* === HOTFIX 2026-06-10 — upload wraca nad podgląd 3D, zgodnie z referencją === */
.room-visualizer-page .room-visualizer{
  grid-template-columns:minmax(300px,360px) minmax(0,1fr)!important;
  gap:22px!important;
}
.room-visualizer-page .room-visualizer__workspace{
  display:grid!important;
  grid-template-rows:minmax(310px,38vh) minmax(360px,1fr)!important;
  gap:18px!important;
  height:100%!important;
  min-height:0!important;
  overflow:hidden!important;
}
.room-visualizer-page .room-visualizer__workspace > .room-work-card--photo{
  display:grid!important;
  grid-template-rows:54px minmax(0,1fr)!important;
  min-height:310px!important;
  height:100%!important;
  margin:0!important;
  padding:0!important;
  border:1px solid var(--gabinet-line)!important;
  border-radius:12px!important;
  background:var(--gabinet-card)!important;
  box-shadow:var(--gabinet-shadow)!important;
  overflow:hidden!important;
}
.room-visualizer-page .room-visualizer__workspace > .room-work-card--photo .room-card-title--photo{
  height:54px!important;
  min-height:54px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto auto!important;
  align-items:center!important;
  gap:6px!important;
  padding:0 20px!important;
  border-bottom:1px solid rgba(55,45,36,.10)!important;
  background:#fffdf9!important;
}
.room-visualizer-page .room-visualizer__workspace > .room-work-card--photo .room-card-title--photo strong{
  font-size:13px!important;
  line-height:1.2!important;
  letter-spacing:.02em!important;
  text-transform:uppercase!important;
}
.room-visualizer-page .room-visualizer__workspace > .room-work-card--photo .room-card-title--photo span{
  display:block!important;
  color:var(--gabinet-muted)!important;
  font-size:12px!important;
  white-space:nowrap!important;
}
.room-visualizer-page .room-visualizer__workspace > .room-work-card--photo .room-photo-zoom-btn:disabled{
  display:none!important;
}
.room-visualizer-page .room-visualizer__workspace > .room-work-card--photo .room-photo-marker{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:0!important;
  height:100%!important;
  border:0!important;
  border-radius:0!important;
  background:#fffdf9!important;
  overflow:hidden!important;
}
.room-visualizer-page .room-visualizer__workspace > .room-work-card--photo .room-photo-marker::before{
  content:""!important;
  position:absolute!important;
  inset:18px!important;
  border:1px dashed rgba(92,78,66,.32)!important;
  border-radius:10px!important;
  pointer-events:none!important;
  z-index:2!important;
}
.room-visualizer-page .room-visualizer__workspace > .room-work-card--photo .room-photo-marker:has(.room-empty-state:not([hidden]))::after{
  content:"WRZUĆ ZDJĘCIE POKOJU\A Przeciągnij zdjęcie tutaj lub kliknij, aby wybrać plik.\A JPG, PNG, WEBP · maksymalnie 10 MB"!important;
  position:absolute!important;
  inset:18px!important;
  z-index:30!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:24px!important;
  box-sizing:border-box!important;
  text-align:center!important;
  white-space:pre-line!important;
  pointer-events:none!important;
  color:#17130f!important;
  font-size:14px!important;
  line-height:1.9!important;
  font-weight:650!important;
  letter-spacing:.05em!important;
}
.room-visualizer-page .room-visualizer__workspace > .room-work-card--photo .room-photo-marker:has(.room-empty-state[hidden])::after,
.room-visualizer-page .room-visualizer__workspace > .room-work-card--photo .room-photo-marker:has(.room-empty-state[style*="display: none"])::after{
  content:none!important;
  display:none!important;
}
.room-visualizer-page .room-visualizer__workspace > .room-work-card--photo .room-photo-marker canvas[data-room-photo-canvas]{
  position:relative!important;
  z-index:1!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  max-width:none!important;
  max-height:none!important;
}
.room-visualizer-page .room-visualizer__workspace > .room-work-card--photo .room-empty-state.room-empty-state--upload{
  position:absolute!important;
  inset:18px!important;
  z-index:5!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  gap:10px!important;
  padding:24px!important;
  border:0!important;
  border-radius:10px!important;
  background:rgba(255,253,249,.78)!important;
  cursor:pointer!important;
  pointer-events:auto!important;
  box-sizing:border-box!important;
}
.room-visualizer-page .room-visualizer__workspace > .room-work-card--photo .room-empty-state.room-empty-state--upload > :not(input){
  display:block!important;
  position:relative!important;
  z-index:2!important;
  opacity:1!important;
  visibility:visible!important;
  transform:none!important;
}
.room-visualizer-page .room-visualizer__workspace > .room-work-card--photo .room-empty-state.room-empty-state--upload input[data-room-photo-input]{
  display:block!important;
  position:absolute!important;
  inset:0!important;
  z-index:30!important;
  width:100%!important;
  height:100%!important;
  min-width:100%!important;
  min-height:100%!important;
  opacity:0!important;
  cursor:pointer!important;
  pointer-events:auto!important;
}
.room-visualizer-page .room-visualizer__workspace > .room-work-card--photo .room-empty-state[hidden],
.room-visualizer-page .room-visualizer__workspace > .room-work-card--photo .room-empty-state[style*="display: none"]{
  display:none!important;
}
.room-visualizer-page .room-visualizer__workspace > .room-work-card--photo .room-empty-state__icon{
  width:52px!important;
  height:44px!important;
  flex:0 0 44px!important;
  color:var(--gabinet-red)!important;
  border:0!important;
  margin:0 0 2px!important;
}
.room-visualizer-page .room-visualizer__workspace > .room-work-card--photo .room-empty-state__icon svg{
  display:block!important;
  width:100%!important;
  height:100%!important;
  opacity:1!important;
}
.room-visualizer-page .room-visualizer__workspace > .room-work-card--photo .room-empty-state__icon svg rect,
.room-visualizer-page .room-visualizer__workspace > .room-work-card--photo .room-empty-state__icon svg circle,
.room-visualizer-page .room-visualizer__workspace > .room-work-card--photo .room-empty-state__icon svg path{
  fill:none!important;
  stroke:var(--gabinet-red)!important;
  stroke-width:3!important;
  opacity:1!important;
}
.room-visualizer-page .room-visualizer__workspace > .room-work-card--photo .room-empty-state strong{
  color:#14110f!important;
  font-size:18px!important;
  font-weight:820!important;
  letter-spacing:.16em!important;
  text-transform:uppercase!important;
  margin:0!important;
  flex:0 0 auto!important;
}
.room-visualizer-page .room-visualizer__workspace > .room-work-card--photo .room-empty-state span{
  color:#766d64!important;
  font-size:14px!important;
  line-height:1.35!important;
  margin:0!important;
  flex:0 0 auto!important;
}
.room-visualizer-page .room-visualizer__workspace > .room-work-card--photo .room-empty-state small{
  color:#968b82!important;
  font-size:12px!important;
  margin:0!important;
  flex:0 0 auto!important;
}
.room-visualizer-page .room-visualizer__workspace > .room-work-card--preview{
  min-height:0!important;
  height:100%!important;
}
.room-visualizer-page .room-visualizer__steps{
  padding:24px 22px!important;
  border-radius:12px!important;
}
.room-visualizer-page .room-step h2{
  font-size:14px!important;
  font-weight:760!important;
}
.room-visualizer-page .room-mode-toggle button{
  min-height:48px!important;
  font-size:12px!important;
}
@media(max-width:1180px){
  .room-visualizer-page .room-visualizer{
    grid-template-columns:1fr!important;
  }
  .room-visualizer-page .room-visualizer__workspace{
    order:1!important;
    grid-template-rows:minmax(280px,34vh) minmax(500px,62vh)!important;
    height:auto!important;
    min-height:760px!important;
    overflow:visible!important;
  }
  .room-visualizer-page .room-visualizer__steps{
    order:2!important;
  }
}
@media(max-width:700px){
  .room-visualizer-page .room-visualizer__workspace{
    grid-template-rows:minmax(270px,32vh) minmax(460px,58vh)!important;
    min-height:740px!important;
    gap:12px!important;
  }
  .room-visualizer-page .room-visualizer__workspace > .room-work-card--photo .room-card-title--photo{
    grid-template-columns:minmax(0,1fr) auto!important;
    padding:0 12px!important;
  }
  .room-visualizer-page .room-visualizer__workspace > .room-work-card--photo .room-card-title--photo span{
    display:none!important;
  }
  .room-visualizer-page .room-visualizer__workspace > .room-work-card--photo .room-photo-zoom-btn{
    width:auto!important;
  }
  .room-visualizer-page .room-visualizer__workspace > .room-work-card--photo .room-empty-state strong{
    font-size:14px!important;
    letter-spacing:.10em!important;
  }
  .room-visualizer-page .room-visualizer__workspace > .room-work-card--photo .room-empty-state span{
    font-size:12px!important;
  }
  .room-visualizer-page .room-visualizer__workspace > .room-work-card--preview .room-card-title--preview{
    grid-template-columns:1fr!important;
  }
  .room-visualizer-page .room-visualizer__workspace > .room-work-card--preview .room-card-title--preview span{
    display:none!important;
  }
}

/* === REBUILD 2026-06-10 — GABINET 3D: Pokoje / Modele + full scene === */
html:has(body.room-visualizer-page){
  height:100%;
}
body.room-visualizer-page{
  --gabi-bg:#f4f2ee;
  --gabi-panel:#fffdf9;
  --gabi-ink:#14110f;
  --gabi-muted:#8b837c;
  --gabi-line:rgba(42,34,28,.12);
  --gabi-soft:#eee9e3;
  --gabi-red:#9b1018;
  --gabi-shadow:0 18px 42px rgba(35,29,23,.08);
  min-height:100dvh!important;
  overflow:hidden!important;
  background:var(--gabi-bg)!important;
  color:var(--gabi-ink)!important;
}
.room-visualizer-page *{
  box-sizing:border-box;
}
.room-visualizer-page .room-topbar.room-topbar--pro{
  position:relative!important;
  z-index:30!important;
  height:74px!important;
  display:grid!important;
  grid-template-columns:minmax(230px,360px) minmax(260px,1fr) auto!important;
  align-items:center!important;
  gap:24px!important;
  padding:0 22px!important;
  border-bottom:1px solid var(--gabi-line)!important;
  background:rgba(255,253,249,.96)!important;
  box-shadow:0 10px 24px rgba(38,31,24,.05)!important;
}
.room-visualizer-page .room-topbar__brand--gabi{
  display:flex!important;
  align-items:center!important;
  gap:24px!important;
  min-width:0!important;
  text-decoration:none!important;
}
.room-visualizer-page .room-topbar__brand--gabi img{
  width:auto!important;
  height:42px!important;
  max-width:120px!important;
  object-fit:contain!important;
}
.room-visualizer-page .room-brand-word{
  display:inline-flex!important;
  align-items:center!important;
  min-width:0!important;
  font-size:20px!important;
  line-height:1!important;
  font-weight:820!important;
  letter-spacing:.2em!important;
  text-transform:uppercase!important;
  white-space:nowrap!important;
  color:#6f6660!important;
}
.room-visualizer-page .room-brand-gabi{color:#9c2430!important;}
.room-visualizer-page .room-brand-net{color:#6d625b!important;}
.room-visualizer-page .room-brand-3d{color:#b8b0aa!important;margin-left:7px!important;}
.room-visualizer-page .room-topbar__title{
  min-width:0!important;
  text-align:center!important;
}
.room-visualizer-page .room-topbar__title strong{
  display:block!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  color:#aaa4a0!important;
  font-size:15px!important;
  font-weight:820!important;
  letter-spacing:.02em!important;
  text-transform:uppercase!important;
  white-space:nowrap!important;
}
.room-visualizer-page .room-topbar__actions{
  display:flex!important;
  justify-content:flex-end!important;
  gap:10px!important;
  min-width:0!important;
}
.room-visualizer-page .room-topbar__actions button,
.room-visualizer-page .room-topbar__new{
  min-height:42px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0 20px!important;
  border:1px solid rgba(52,42,34,.18)!important;
  border-radius:9px!important;
  background:#fffdf9!important;
  color:#18130f!important;
  font-size:11px!important;
  font-weight:840!important;
  letter-spacing:.08em!important;
  text-decoration:none!important;
  text-transform:uppercase!important;
  box-shadow:none!important;
  white-space:nowrap!important;
}
.room-visualizer-page .room-topbar__new{
  border-color:#0f0d0b!important;
  background:#0f0d0b!important;
  color:#fff!important;
}
.room-visualizer-page .room-visualizer.room-visualizer--rebuild{
  height:calc(100dvh - 74px)!important;
  min-height:0!important;
  display:grid!important;
  grid-template-columns:76px minmax(340px,420px) minmax(0,1fr)!important;
  gap:0!important;
  padding:0!important;
  overflow:hidden!important;
  background:var(--gabi-bg)!important;
}
.room-visualizer-page .room-side-tabs{
  position:relative!important;
  z-index:5!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  gap:0!important;
  width:76px!important;
  height:100%!important;
  padding:18px 0!important;
  border-right:1px solid var(--gabi-line)!important;
  background:rgba(255,253,249,.92)!important;
}
.room-visualizer-page .room-side-tabs button{
  position:relative!important;
  width:100%!important;
  min-height:86px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#15110e!important;
  cursor:pointer!important;
  font-size:12px!important;
  font-weight:760!important;
  letter-spacing:0!important;
  text-transform:none!important;
}
.room-visualizer-page .room-side-tabs button::after{
  content:""!important;
  position:absolute!important;
  right:-1px!important;
  top:18px!important;
  bottom:18px!important;
  width:2px!important;
  border-radius:999px!important;
  background:transparent!important;
}
.room-visualizer-page .room-side-tabs button.is-active::after{
  background:#15110e!important;
}
.room-visualizer-page .room-side-tabs svg{
  width:25px!important;
  height:25px!important;
  fill:currentColor!important;
}
.room-visualizer-page .room-side-drawer{
  position:relative!important;
  z-index:4!important;
  display:block!important;
  height:100%!important;
  max-height:none!important;
  padding:0!important;
  overflow:auto!important;
  border-right:1px solid var(--gabi-line)!important;
  background:rgba(255,253,249,.94)!important;
  box-shadow:14px 0 35px rgba(36,30,24,.04)!important;
}
.room-visualizer-page .room-side-drawer::before,
.room-visualizer-page .room-step--perspective::before{
  display:none!important;
  content:none!important;
}
.room-visualizer-page .room-tab-panel{
  display:block!important;
  padding:24px 26px 34px!important;
}
.room-visualizer-page .room-tab-panel[hidden]{
  display:none!important;
}
.room-visualizer-page .room-panel-head{
  display:grid!important;
  grid-template-columns:28px minmax(0,1fr)!important;
  gap:14px!important;
  align-items:start!important;
  padding:0 0 22px!important;
}
.room-visualizer-page .room-panel-head > span,
.room-visualizer-page .room-step > b{
  width:25px!important;
  height:25px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:999px!important;
  background:#0f0d0b!important;
  color:#fff!important;
  font-size:12px!important;
  font-weight:860!important;
  box-shadow:0 8px 18px rgba(20,16,12,.16)!important;
}
.room-visualizer-page .room-panel-head strong{
  display:block!important;
  font-size:15px!important;
  line-height:1.1!important;
  font-weight:850!important;
  letter-spacing:.07em!important;
  text-transform:uppercase!important;
}
.room-visualizer-page .room-panel-head small{
  display:block!important;
  margin-top:6px!important;
  color:var(--gabi-muted)!important;
  font-size:12px!important;
  line-height:1.45!important;
}
.room-visualizer-page .room-work-card--photo,
.room-visualizer-page .room-step{
  width:100%!important;
  display:grid!important;
  grid-template-columns:28px minmax(0,1fr)!important;
  gap:14px!important;
  margin:0!important;
  padding:22px 0!important;
  border:0!important;
  border-bottom:1px solid var(--gabi-line)!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
}
.room-visualizer-page .room-work-card--photo{
  grid-template-columns:1fr!important;
  gap:12px!important;
  padding-top:0!important;
}
.room-visualizer-page .room-work-card--photo .room-card-title--photo{
  height:auto!important;
  min-height:0!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:8px!important;
  align-items:center!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}
.room-visualizer-page .room-work-card--photo .room-card-title--photo strong,
.room-visualizer-page .room-step h2{
  margin:0!important;
  color:#18130f!important;
  font-size:14px!important;
  line-height:1.2!important;
  font-weight:830!important;
  letter-spacing:.03em!important;
  text-transform:none!important;
}
.room-visualizer-page .room-work-card--photo .room-card-title--photo span{
  justify-self:end!important;
  color:var(--gabi-muted)!important;
  font-size:11px!important;
  line-height:1.2!important;
  white-space:nowrap!important;
}
.room-visualizer-page .room-photo-zoom-btn{
  grid-column:2!important;
  min-height:36px!important;
  padding:0 14px!important;
  border:1px solid rgba(52,42,34,.14)!important;
  border-radius:9px!important;
  background:#fff!important;
  color:#18130f!important;
  font-size:10px!important;
  font-weight:850!important;
  letter-spacing:.06em!important;
  text-transform:uppercase!important;
}
.room-visualizer-page .room-photo-zoom-btn:disabled{
  opacity:.45!important;
  display:inline-flex!important;
}
.room-visualizer-page .room-photo-marker{
  position:relative!important;
  width:100%!important;
  height:clamp(230px,31vh,340px)!important;
  min-height:230px!important;
  display:block!important;
  border:1px solid rgba(52,42,34,.14)!important;
  border-radius:10px!important;
  background:#fbfaf7!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.45)!important;
  overflow:hidden!important;
}
.room-visualizer-page .room-photo-marker::before,
.room-visualizer-page .room-photo-marker::after{
  display:none!important;
  content:none!important;
}
.room-visualizer-page .room-photo-marker canvas[data-room-photo-canvas]{
  position:relative!important;
  z-index:1!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  max-width:none!important;
  max-height:none!important;
  cursor:crosshair!important;
  touch-action:none!important;
}
.room-visualizer-page .room-empty-state.room-empty-state--upload{
  position:absolute!important;
  inset:0!important;
  z-index:10!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
  padding:24px!important;
  border:1px dashed rgba(52,42,34,.24)!important;
  border-radius:10px!important;
  background:#fffdf9!important;
  color:#18130f!important;
  text-align:center!important;
  cursor:pointer!important;
  pointer-events:auto!important;
}
.room-visualizer-page .room-empty-state[hidden],
.room-visualizer-page .room-empty-state[style*="display: none"]{
  display:none!important;
  pointer-events:none!important;
}
.room-visualizer-page .room-empty-state__icon{
  width:46px!important;
  height:38px!important;
  color:var(--gabi-red)!important;
}
.room-visualizer-page .room-empty-state__icon svg{
  width:100%!important;
  height:100%!important;
}
.room-visualizer-page .room-empty-state__icon rect,
.room-visualizer-page .room-empty-state__icon circle,
.room-visualizer-page .room-empty-state__icon path{
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:3!important;
}
.room-visualizer-page .room-empty-state strong{
  color:#18130f!important;
  font-size:15px!important;
  line-height:1.25!important;
  font-weight:880!important;
  letter-spacing:.12em!important;
  text-transform:uppercase!important;
}
.room-visualizer-page .room-empty-state span,
.room-visualizer-page .room-empty-state small,
.room-visualizer-page .room-manual-head span{
  color:var(--gabi-muted)!important;
  font-size:12px!important;
  line-height:1.45!important;
}
.room-visualizer-page .room-mode-toggle,
.room-visualizer-page .room-surface-picker.room-surface-picker--text,
.room-visualizer-page .room-exclude-wall-grid,
.room-visualizer-page .room-actions,
.room-visualizer-page .room-actions--manual,
.room-visualizer-page .room-actions--live{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
  margin:12px 0 0!important;
}
.room-visualizer-page .room-surface-picker.room-surface-picker--text,
.room-visualizer-page .room-exclude-wall-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
.room-visualizer-page .room-mode-toggle button,
.room-visualizer-page .room-surface-picker.room-surface-picker--text button,
.room-visualizer-page .room-exclude-wall-grid button,
.room-visualizer-page .room-actions button,
.room-visualizer-page .room-actions--live button{
  min-height:42px!important;
  padding:0 12px!important;
  border:1px solid rgba(52,42,34,.15)!important;
  border-radius:8px!important;
  background:#fffdf9!important;
  color:#18130f!important;
  font-size:11px!important;
  font-weight:830!important;
  letter-spacing:.03em!important;
  text-transform:none!important;
  box-shadow:none!important;
}
.room-visualizer-page .room-mode-toggle button.is-active,
.room-visualizer-page .room-surface-picker.room-surface-picker--text button.is-active,
.room-visualizer-page .room-exclude-wall-grid button.is-active,
.room-visualizer-page .room-actions--manual button:last-child,
.room-visualizer-page .room-actions--live button:last-child{
  border-color:#111!important;
  background:#111!important;
  color:#fff!important;
}
.room-visualizer-page .room-surface-picker.room-surface-picker--text button.is-excluded,
.room-visualizer-page .room-exclude-wall-grid button:not([data-room-exclude-wall="none"]).is-active{
  border-color:rgba(155,16,24,.45)!important;
  background:#f7e9e8!important;
  color:#8b1219!important;
}
.room-visualizer-page .room-manual-panel{
  margin-top:14px!important;
  padding:14px!important;
  border:1px solid rgba(52,42,34,.12)!important;
  border-radius:10px!important;
  background:#fbfaf7!important;
}
.room-visualizer-page .room-manual-head strong,
.room-visualizer-page .room-exclude-wall-panel strong{
  display:block!important;
  color:#18130f!important;
  font-size:12px!important;
  font-weight:850!important;
  letter-spacing:.04em!important;
  text-transform:uppercase!important;
}
.room-visualizer-page .room-exclude-wall-panel{
  margin-top:14px!important;
  padding:14px!important;
  border:1px solid rgba(52,42,34,.12)!important;
  border-radius:10px!important;
  background:#fbfaf7!important;
}
.room-visualizer-page .room-dimensions-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin-top:12px!important;
}
.room-visualizer-page .room-step label{
  display:grid!important;
  gap:8px!important;
  color:#5e554f!important;
  font-size:10px!important;
  font-weight:760!important;
  letter-spacing:0!important;
  text-transform:none!important;
}
.room-visualizer-page .room-step input[type="number"]{
  width:100%!important;
  height:42px!important;
  border:1px solid rgba(52,42,34,.16)!important;
  border-radius:9px!important;
  background:#fffdf9!important;
  color:#17130f!important;
  font-size:14px!important;
  font-weight:720!important;
  padding:0 12px!important;
}
.room-visualizer-page .room-step input[type="range"]{
  width:100%!important;
  accent-color:#111!important;
}
.room-visualizer-page .room-product-list{
  display:grid!important;
  gap:12px!important;
  max-height:none!important;
  overflow:visible!important;
  padding:0!important;
  margin-top:12px!important;
}
.room-visualizer-page .room-product{
  width:100%!important;
  display:grid!important;
  grid-template-columns:72px minmax(0,1fr)!important;
  gap:14px!important;
  align-items:center!important;
  min-height:78px!important;
  padding:10px!important;
  border:1px solid rgba(52,42,34,.13)!important;
  border-radius:9px!important;
  background:#fff!important;
  color:#18130f!important;
  text-align:left!important;
  cursor:pointer!important;
}
.room-visualizer-page .room-product.is-active{
  border-color:#111!important;
  box-shadow:inset 0 0 0 1px #111!important;
  background:#fffdf9!important;
}
.room-visualizer-page .room-product img{
  width:72px!important;
  height:54px!important;
  object-fit:contain!important;
  border-radius:7px!important;
  background:#f4f2ee!important;
}
.room-visualizer-page .room-product b{
  display:block!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  color:#18130f!important;
  font-size:13px!important;
  font-weight:800!important;
  white-space:nowrap!important;
}
.room-visualizer-page .room-product small{
  display:block!important;
  margin-top:4px!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  color:var(--gabi-muted)!important;
  font-size:11px!important;
  white-space:nowrap!important;
}
.room-visualizer-page .room-no-products{
  color:var(--gabi-muted)!important;
  font-size:13px!important;
  line-height:1.45!important;
}
.room-visualizer-page .room-visualizer__workspace{
  position:relative!important;
  min-width:0!important;
  height:100%!important;
  min-height:0!important;
  display:block!important;
  padding:0!important;
  overflow:hidden!important;
  background:#ece7df!important;
}
.room-visualizer-page .room-work-card--preview{
  position:relative!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  display:block!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  background:#ece7df!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
.room-visualizer-page .room-work-card--preview .room-card-title--preview{
  display:none!important;
}
.room-visualizer-page .room-3d-panel{
  position:relative!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  display:block!important;
  border:0!important;
  border-radius:0!important;
  background:radial-gradient(circle at 52% 36%,#fffdf9 0%,#f0ebe4 58%,#e2dbd2 100%)!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
.room-visualizer-page .room-3d-toolbar{
  position:absolute!important;
  z-index:8!important;
  top:18px!important;
  left:18px!important;
  right:18px!important;
  height:44px!important;
  min-height:44px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:18px!important;
  padding:0 16px!important;
  border:1px solid rgba(52,42,34,.09)!important;
  border-radius:10px!important;
  background:rgba(255,253,249,.78)!important;
  color:#18130f!important;
  backdrop-filter:blur(12px)!important;
  box-shadow:0 12px 32px rgba(35,29,23,.08)!important;
}
.room-visualizer-page .room-3d-toolbar strong{
  flex:0 0 auto!important;
  font-size:12px!important;
  font-weight:860!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
}
.room-visualizer-page .room-3d-toolbar span{
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  color:#756d66!important;
  font-size:12px!important;
  line-height:1.2!important;
  white-space:nowrap!important;
}
.room-visualizer-page .room-3d-toolbar::after{
  display:none!important;
  content:none!important;
}
.room-visualizer-page .room-3d-panel canvas[data-room-3d-canvas]{
  position:relative!important;
  z-index:1!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  display:block!important;
  cursor:grab!important;
}
.room-visualizer-page .room-3d-panel canvas[data-room-3d-canvas]:active{
  cursor:grabbing!important;
}
.room-visualizer-page .room-camera-video{
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
}
.room-visualizer-page .room-drag-overlay-canvas,
.room-visualizer-page .room-point-hit-layer{
  position:absolute!important;
  inset:auto!important;
  z-index:20!important;
}
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed{
  position:fixed!important;
  inset:90px 26px 26px 96px!important;
  z-index:1000!important;
  display:grid!important;
  grid-template-rows:auto minmax(0,1fr)!important;
  gap:14px!important;
  padding:18px!important;
  border:1px solid var(--gabi-line)!important;
  border-radius:12px!important;
  background:#fffdf9!important;
  box-shadow:0 28px 80px rgba(20,16,12,.32)!important;
}
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-marker{
  height:100%!important;
  min-height:0!important;
}
@media(max-width:1180px){
  body.room-visualizer-page{
    overflow:auto!important;
  }
  .room-visualizer-page .room-topbar.room-topbar--pro{
    height:auto!important;
    grid-template-columns:1fr!important;
    gap:12px!important;
    padding:14px!important;
  }
  .room-visualizer-page .room-topbar__brand--gabi{
    justify-content:flex-start!important;
  }
  .room-visualizer-page .room-topbar__title{
    text-align:left!important;
  }
  .room-visualizer-page .room-topbar__title strong{
    white-space:normal!important;
    font-size:18px!important;
    line-height:1.18!important;
  }
  .room-visualizer-page .room-topbar__actions{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    width:100%!important;
  }
  .room-visualizer-page .room-visualizer.room-visualizer--rebuild{
    height:auto!important;
    min-height:0!important;
    display:flex!important;
    flex-direction:column!important;
    overflow:visible!important;
  }
  .room-visualizer-page .room-side-tabs{
    order:1!important;
    width:100%!important;
    height:68px!important;
    flex-direction:row!important;
    padding:0 14px!important;
    border-right:0!important;
    border-bottom:1px solid var(--gabi-line)!important;
  }
  .room-visualizer-page .room-side-tabs button{
    min-height:68px!important;
    flex-direction:row!important;
    gap:10px!important;
  }
  .room-visualizer-page .room-side-tabs button::after{
    top:auto!important;
    left:18px!important;
    right:18px!important;
    bottom:-1px!important;
    width:auto!important;
    height:2px!important;
  }
  .room-visualizer-page .room-side-drawer{
    order:2!important;
    width:100%!important;
    height:auto!important;
    max-height:none!important;
    border-right:0!important;
    border-bottom:1px solid var(--gabi-line)!important;
  }
  .room-visualizer-page .room-tab-panel{
    padding:22px 18px 28px!important;
  }
  .room-visualizer-page .room-visualizer__workspace{
    order:3!important;
    height:68dvh!important;
    min-height:540px!important;
  }
}
@media(max-width:700px){
  .room-visualizer-page .room-topbar__brand--gabi img{
    height:36px!important;
    max-width:104px!important;
  }
  .room-visualizer-page .room-brand-word{
    font-size:16px!important;
    letter-spacing:.16em!important;
  }
  .room-visualizer-page .room-topbar__actions{
    grid-template-columns:1fr!important;
  }
  .room-visualizer-page .room-topbar__actions button,
  .room-visualizer-page .room-topbar__new{
    width:100%!important;
  }
  .room-visualizer-page .room-side-tabs{
    height:62px!important;
    padding:0 8px!important;
  }
  .room-visualizer-page .room-side-tabs button{
    min-height:62px!important;
    font-size:11px!important;
  }
  .room-visualizer-page .room-tab-panel{
    padding:18px 14px 24px!important;
  }
  .room-visualizer-page .room-panel-head,
  .room-visualizer-page .room-step{
    grid-template-columns:25px minmax(0,1fr)!important;
    gap:10px!important;
  }
  .room-visualizer-page .room-work-card--photo .room-card-title--photo{
    grid-template-columns:1fr auto!important;
  }
  .room-visualizer-page .room-work-card--photo .room-card-title--photo span{
    display:none!important;
  }
  .room-visualizer-page .room-photo-marker{
    height:260px!important;
  }
  .room-visualizer-page .room-dimensions-grid,
  .room-visualizer-page .room-surface-picker.room-surface-picker--text,
  .room-visualizer-page .room-exclude-wall-grid,
  .room-visualizer-page .room-actions,
  .room-visualizer-page .room-actions--manual,
  .room-visualizer-page .room-actions--live{
    grid-template-columns:1fr!important;
  }
  .room-visualizer-page .room-visualizer__workspace{
    height:62dvh!important;
    min-height:460px!important;
  }
  .room-visualizer-page .room-3d-toolbar{
    top:10px!important;
    left:10px!important;
    right:10px!important;
    height:auto!important;
    min-height:48px!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    align-content:center!important;
    gap:3px!important;
    padding:9px 12px!important;
  }
  .room-visualizer-page .room-3d-toolbar span{
    white-space:nowrap!important;
  }
  body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed{
    inset:12px!important;
  }
}

/* === GABI FIX 2026-06-10: photo zoom, wall x/+, mobile bottom tabs === */
.room-visualizer-page .room-surface-picker [data-room-surface],
.room-visualizer-page .room-photo-zoom-surface-panel [data-room-surface]{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  padding-right:34px!important;
}
.room-visualizer-page .room-surface-exclude-toggle{
  position:absolute!important;
  right:7px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  width:22px!important;
  height:22px!important;
  min-width:22px!important;
  border-radius:999px!important;
  display:grid!important;
  place-items:center!important;
  border:1px solid rgba(143,23,24,.28)!important;
  background:#fffdf9!important;
  color:#8f1718!important;
  font-style:normal!important;
  font-size:15px!important;
  line-height:1!important;
  font-weight:900!important;
  cursor:pointer!important;
  box-shadow:0 3px 10px rgba(25,18,12,.08)!important;
}
.room-visualizer-page .room-surface-exclude-toggle.is-excluded,
.room-visualizer-page [data-room-surface].has-excluded-surface .room-surface-exclude-toggle{
  background:#17120f!important;
  color:#fff!important;
  border-color:#17120f!important;
}
.room-visualizer-page [data-room-surface].has-excluded-surface{
  opacity:.72!important;
  border-style:dashed!important;
}
.room-visualizer-page [data-room-surface].has-excluded-surface .room-surface-label,
.room-visualizer-page [data-room-surface].has-excluded-surface .room-surface-name{
  text-decoration:line-through!important;
  text-decoration-thickness:1px!important;
  text-decoration-color:rgba(143,23,24,.65)!important;
}

/* Powiększenie zdjęcia: canvas zawsze na wierzchu i bez pustej maski */
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed{
  position:fixed!important;
  inset:76px 34px 34px 96px!important;
  z-index:10050!important;
  display:grid!important;
  grid-template-rows:54px minmax(0,1fr)!important;
  overflow:hidden!important;
  background:#fffdf9!important;
  border:1px solid rgba(52,42,34,.16)!important;
  border-radius:14px!important;
  box-shadow:0 30px 80px rgba(0,0,0,.38)!important;
}
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-card-title--photo{
  position:relative!important;
  z-index:5!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  min-height:54px!important;
  padding:0 18px!important;
  border-bottom:1px solid rgba(52,42,34,.12)!important;
  background:#fffdf9!important;
}
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-card-title--photo span{display:none!important;}
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-marker{
  position:relative!important;
  height:100%!important;
  min-height:0!important;
  padding-left:96px!important;
  overflow:hidden!important;
  background:#efe9e1!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-marker::before,
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-marker::after{
  display:none!important;
  content:none!important;
}
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed canvas[data-room-photo-canvas]{
  position:relative!important;
  z-index:2!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  min-height:0!important;
  background:#f7f3ee!important;
}
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-empty-state[hidden],
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-empty-state[style*="display: none"]{
  display:none!important;
}
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel{
  position:absolute!important;
  left:14px!important;
  top:68px!important;
  z-index:8!important;
  width:72px!important;
  display:flex!important;
  flex-direction:column!important;
  gap:8px!important;
  padding:8px!important;
  border-radius:16px!important;
  background:rgba(255,253,249,.94)!important;
  border:1px solid rgba(52,42,34,.12)!important;
  box-shadow:0 18px 45px rgba(30,22,14,.16)!important;
}
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel strong{display:none!important;}
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel button{
  min-height:42px!important;
  padding:0 27px 0 8px!important;
  border-radius:10px!important;
  font-size:10px!important;
  letter-spacing:.04em!important;
}
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-btn{
  width:auto!important;
  min-height:38px!important;
  padding:0 18px!important;
  border-radius:999px!important;
  background:#16110e!important;
  color:#fff!important;
}

@media(max-width:820px){
  .room-visualizer-page{padding-bottom:74px!important;}
  .room-visualizer-page .room-visualizer.room-visualizer--rebuild{
    display:block!important;
    height:calc(100dvh - 70px)!important;
    min-height:0!important;
    overflow:hidden!important;
    padding:0!important;
  }
  .room-visualizer-page .room-visualizer__workspace{
    position:absolute!important;
    inset:70px 0 74px 0!important;
    height:auto!important;
    min-height:0!important;
    padding:0!important;
    z-index:1!important;
  }
  .room-visualizer-page .room-work-card--preview,
  .room-visualizer-page .room-3d-panel{
    height:100%!important;
    min-height:0!important;
    border-radius:0!important;
  }
  .room-visualizer-page .room-side-tabs{
    position:fixed!important;
    left:0!important;
    right:0!important;
    bottom:0!important;
    z-index:10020!important;
    height:74px!important;
    width:100%!important;
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:8px!important;
    padding:8px 12px calc(8px + env(safe-area-inset-bottom))!important;
    border:0!important;
    border-top:1px solid rgba(52,42,34,.12)!important;
    background:rgba(255,253,249,.96)!important;
    box-shadow:0 -16px 40px rgba(20,15,10,.14)!important;
  }
  .room-visualizer-page .room-side-tabs button{
    min-height:54px!important;
    height:54px!important;
    width:100%!important;
    border:1px solid rgba(52,42,34,.12)!important;
    border-radius:14px!important;
    background:#fff!important;
    flex-direction:column!important;
    gap:4px!important;
    color:#17120f!important;
    font-size:10px!important;
    line-height:1.05!important;
    text-transform:uppercase!important;
    letter-spacing:.03em!important;
  }
  .room-visualizer-page .room-side-tabs button.is-active{
    background:#c83a36!important;
    border-color:#c83a36!important;
    color:#fff!important;
  }
  .room-visualizer-page .room-side-tabs button::after{display:none!important;}
  .room-visualizer-page .room-side-tabs svg{width:20px!important;height:20px!important;}
  .room-visualizer-page .room-side-drawer{
    position:fixed!important;
    left:10px!important;
    right:10px!important;
    bottom:84px!important;
    z-index:10010!important;
    width:auto!important;
    height:auto!important;
    max-height:46dvh!important;
    overflow:auto!important;
    display:block!important;
    border:1px solid rgba(52,42,34,.12)!important;
    border-radius:18px!important;
    background:rgba(255,253,249,.98)!important;
    box-shadow:0 18px 60px rgba(20,15,10,.18)!important;
    transform:translateY(calc(100% + 110px))!important;
    opacity:0!important;
    pointer-events:none!important;
    transition:transform .22s ease, opacity .18s ease!important;
  }
  .room-visualizer-page .room-visualizer[data-drawer-open="true"] .room-side-drawer{
    transform:translateY(0)!important;
    opacity:1!important;
    pointer-events:auto!important;
  }
  .room-visualizer-page .room-tab-panel{padding:14px!important;}
  .room-visualizer-page .room-panel-head{padding-bottom:10px!important;}
  .room-visualizer-page .room-panel-head small{display:none!important;}
  .room-visualizer-page .room-photo-marker{height:210px!important;}
  .room-visualizer-page .room-card-title--photo{grid-template-columns:1fr auto!important;}
  body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed{
    inset:10px!important;
    grid-template-rows:50px minmax(0,1fr)!important;
  }
  body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-marker{
    padding-left:0!important;
    padding-top:62px!important;
  }
  body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel{
    left:10px!important;
    right:10px!important;
    top:60px!important;
    width:auto!important;
    flex-direction:row!important;
    overflow-x:auto!important;
    padding:7px!important;
  }
  body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel button{
    min-width:82px!important;
    flex:0 0 auto!important;
  }
}
.room-visualizer-page .room-exclude-wall-panel{display:none!important;}


/* === FINAL PATCH 2026-06-10 — naprawa powiększenia zdjęcia, czytelne ściany, bez białego drag === */
.room-visualizer-page .room-exclude-wall-panel{display:none!important;}
.room-visualizer-page .room-actions--camera-room{margin-top:12px!important;display:grid!important;grid-template-columns:1fr!important;}
.room-visualizer-page .room-actions--camera-room [data-room-camera-toggle]{
  min-height:42px!important;border-radius:12px!important;border:1px solid rgba(52,42,34,.14)!important;background:#fffdf9!important;color:#1d1714!important;font-weight:850!important;letter-spacing:.05em!important;text-transform:uppercase!important;
}
.room-visualizer-page [data-room-live-lock],
.room-visualizer-page [data-room-ar-walk]{display:none!important;}
.room-visualizer-page .room-actions--compact-export{display:flex!important;justify-content:flex-start!important;gap:8px!important;margin-top:10px!important;}
.room-visualizer-page .room-icon-export{
  width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;padding:0!important;border-radius:12px!important;display:grid!important;place-items:center!important;background:#fffdf9!important;color:#8f1718!important;border:1px solid rgba(143,23,24,.22)!important;box-shadow:0 4px 12px rgba(25,18,12,.06)!important;font-size:0!important;
}
.room-visualizer-page .room-icon-export svg{width:20px!important;height:20px!important;display:block!important;}

/* Duży podgląd zdjęcia — wymuszenie widocznego canvasa i poprawnej przestrzeni */
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed{
  grid-template-rows:54px minmax(420px,1fr)!important;
}
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-marker{
  display:block!important;position:relative!important;padding-left:148px!important;background:#eee8df!important;overflow:hidden!important;
}
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed canvas[data-room-photo-canvas]{
  position:relative!important;z-index:3!important;display:block!important;width:100%!important;height:100%!important;background:#f7f3ee!important;opacity:1!important;visibility:visible!important;
}
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-drag-overlay-canvas{display:none!important;}
.room-visualizer-page .room-visualizer.is-dragging-room-point .room-drag-overlay-canvas{display:none!important;}

/* Czytelne nazwy ścian + przycisk x/+ */
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel{
  left:18px!important;top:72px!important;width:112px!important;padding:8px!important;gap:8px!important;border-radius:16px!important;
}
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel button,
.room-visualizer-page .room-photo-zoom-surface-panel [data-room-surface]{
  width:100%!important;min-width:0!important;min-height:42px!important;height:42px!important;display:grid!important;grid-template-columns:13px minmax(0,1fr) 24px!important;align-items:center!important;gap:7px!important;padding:0 5px 0 9px!important;border-radius:11px!important;overflow:visible!important;text-align:left!important;
}
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel button span:first-child,
.room-visualizer-page .room-photo-zoom-surface-panel [data-room-surface] > span:first-child{
  width:9px!important;height:9px!important;border-radius:999px!important;display:block!important;grid-column:1!important;
}
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel .room-surface-name,
.room-visualizer-page .room-photo-zoom-surface-panel .room-surface-name{
  display:block!important;grid-column:2!important;white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important;font-size:10px!important;line-height:1!important;font-weight:900!important;letter-spacing:.045em!important;color:#2c2420!important;
}
.room-visualizer-page .room-surface-exclude-toggle{
  grid-column:3!important;position:static!important;width:22px!important;height:22px!important;min-width:22px!important;border-radius:999px!important;display:grid!important;place-items:center!important;font-size:14px!important;font-style:normal!important;font-weight:900!important;line-height:1!important;margin:0!important;background:#fff!important;color:#8f1718!important;border:1px solid rgba(143,23,24,.25)!important;box-shadow:0 2px 8px rgba(25,18,12,.08)!important;z-index:2!important;
}
.room-visualizer-page .room-surface-exclude-toggle.is-excluded{background:#17120f!important;color:#fff!important;border-color:#17120f!important;}
.room-visualizer-page .room-surface-picker--text button{display:grid!important;grid-template-columns:minmax(0,1fr) 26px!important;align-items:center!important;gap:8px!important;}
.room-visualizer-page .room-surface-picker--text .room-surface-label{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}

/* Mobile: dolne POKÓJ/MEBLE zostają, panel niski i wysuwany */
@media(max-width:820px){
  .room-visualizer-page .room-side-tabs{position:fixed!important;left:0!important;right:0!important;bottom:0!important;z-index:900!important;height:72px!important;display:grid!important;grid-template-columns:1fr 1fr!important;background:rgba(255,253,249,.96)!important;border-top:1px solid rgba(52,42,34,.12)!important;box-shadow:0 -12px 36px rgba(20,16,12,.12)!important;}
  .room-visualizer-page .room-side-drawer{position:fixed!important;left:12px!important;right:12px!important;bottom:84px!important;z-index:890!important;max-height:46dvh!important;overflow:auto!important;border-radius:22px!important;border:1px solid rgba(52,42,34,.12)!important;box-shadow:0 -18px 60px rgba(20,16,12,.20)!important;background:#fffdf9!important;}
  .room-visualizer-page .room-side-drawer:not(.is-mobile-open){display:none!important;}
  body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed{inset:68px 8px 84px 8px!important;grid-template-rows:50px minmax(0,1fr)!important;padding:0!important;}
  body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-marker{padding-left:112px!important;}
  body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel{left:10px!important;top:62px!important;width:92px!important;}
  body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel button{grid-template-columns:9px minmax(0,1fr) 20px!important;gap:5px!important;min-height:38px!important;height:38px!important;padding:0 4px 0 7px!important;}
  body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel .room-surface-name{font-size:8.5px!important;letter-spacing:.02em!important;}
  .room-visualizer-page .room-surface-exclude-toggle{width:20px!important;height:20px!important;min-width:20px!important;font-size:13px!important;}
}
@media(max-width:820px){
  .room-visualizer-page .room-visualizer:not([data-drawer-open="true"]) .room-side-drawer{display:none!important;}
  .room-visualizer-page .room-visualizer[data-drawer-open="true"] .room-side-drawer{display:block!important;}
}

/* PATCH: czytelne ściany ×/+ i miniaturki wielu zdjęć pokoju */
.room-visualizer-page .room-photo-thumbs{
  display:flex;
  gap:10px;
  padding:10px 0 2px;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}
.room-visualizer-page .room-photo-thumbs[hidden]{display:none!important;}
.room-visualizer-page .room-photo-thumb{
  flex:0 0 92px;
  height:72px;
  border:1px solid rgba(38,31,27,.14);
  border-radius:14px;
  background:#fff;
  padding:5px;
  display:grid;
  grid-template-rows:1fr auto;
  gap:3px;
  align-items:center;
  cursor:pointer;
  box-shadow:0 8px 20px rgba(30,22,16,.07);
}
.room-visualizer-page .room-photo-thumb img{
  width:100%;
  height:42px;
  object-fit:cover;
  border-radius:10px;
  display:block;
}
.room-visualizer-page .room-photo-thumb span{
  font-size:9px;
  font-weight:800;
  letter-spacing:.04em;
  color:#6f6259;
  text-transform:uppercase;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.room-visualizer-page .room-photo-thumb.is-active{
  border-color:#bd2f31;
  box-shadow:0 0 0 2px rgba(189,47,49,.12),0 10px 24px rgba(30,22,16,.08);
}
.room-visualizer-page .room-photo-thumb--add{
  place-items:center;
  font-size:24px;
  font-weight:800;
  color:#bd2f31;
}
.room-visualizer-page .room-photo-thumb--add span{font-size:9px;color:#6f6259;}

.room-visualizer-page .room-photo-zoom-surface-panel [data-room-surface],
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel button{
  grid-template-columns:12px minmax(44px,1fr) 24px!important;
  gap:8px!important;
  align-items:center!important;
  min-width:0!important;
  overflow:visible!important;
}
.room-visualizer-page .room-photo-zoom-surface-panel .room-surface-name,
.room-visualizer-page .room-surface-picker .room-surface-label{
  color:#2d2824!important;
  opacity:1!important;
  line-height:1!important;
  min-width:0!important;
  white-space:nowrap!important;
  overflow:visible!important;
  text-overflow:clip!important;
  font-size:10px!important;
  font-weight:900!important;
}
.room-visualizer-page .room-photo-zoom-surface-panel [data-room-surface].is-active .room-surface-name,
.room-visualizer-page .room-surface-picker [data-room-surface].is-active .room-surface-label{
  color:#fff!important;
  text-shadow:0 1px 2px rgba(0,0,0,.28)!important;
}
.room-visualizer-page .room-surface-exclude-toggle{
  width:24px!important;
  height:24px!important;
  min-width:24px!important;
  max-width:24px!important;
  border-radius:50%!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0!important;
  margin:0!important;
  font-size:15px!important;
  line-height:1!important;
  font-weight:900!important;
  font-style:normal!important;
  border:1px solid rgba(189,47,49,.34)!important;
  background:#fff!important;
  color:#bd2f31!important;
  box-shadow:0 3px 10px rgba(28,20,16,.10)!important;
  position:relative!important;
  z-index:5!important;
}
.room-visualizer-page [data-room-surface].is-active .room-surface-exclude-toggle{
  background:#fff!important;
  color:#bd2f31!important;
  border-color:#fff!important;
}
.room-visualizer-page .room-surface-exclude-toggle.is-excluded,
.room-visualizer-page [data-room-surface].has-excluded-surface .room-surface-exclude-toggle{
  background:#17120f!important;
  color:#fff!important;
  border-color:#17120f!important;
}
@media (max-width: 760px){
  .room-visualizer-page .room-photo-thumb{flex-basis:82px;height:66px;}
  .room-visualizer-page .room-photo-thumb img{height:38px;}
  .room-visualizer-page .room-photo-zoom-surface-panel [data-room-surface],
  body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel button{
    grid-template-columns:10px minmax(34px,1fr) 22px!important;
    gap:5px!important;
  }
  .room-visualizer-page .room-photo-zoom-surface-panel .room-surface-name{font-size:8.5px!important;}
  .room-visualizer-page .room-surface-exclude-toggle{width:22px!important;height:22px!important;min-width:22px!important;font-size:14px!important;}
}


/* === PATCH 2026-06-10 — stabilne przeciąganie, czytelne ściany, czysty panel === */
/* Nie pokazujemy dodatkowych kropek kolorów przy nazwach ścian — zostaje sam tekst i X/+ */
.room-visualizer-page .room-photo-zoom-surface-panel [data-room-surface] > span:first-child,
.room-visualizer-page .room-surface-picker.room-surface-picker--text [data-room-surface] > span:first-child{
  display:none!important;
}
.room-visualizer-page .room-photo-zoom-surface-panel [data-room-surface],
.room-visualizer-page .room-surface-picker.room-surface-picker--text [data-room-surface]{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 24px!important;
  align-items:center!important;
  justify-items:stretch!important;
  gap:8px!important;
  min-height:40px!important;
  padding:0 8px 0 12px!important;
  overflow:visible!important;
  border-radius:12px!important;
}
.room-visualizer-page .room-photo-zoom-surface-panel .room-surface-name,
.room-visualizer-page .room-surface-picker .room-surface-label{
  grid-column:1!important;
  display:block!important;
  color:#2b2521!important;
  opacity:1!important;
  font-size:10.5px!important;
  line-height:1!important;
  font-weight:900!important;
  letter-spacing:.055em!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  text-align:left!important;
}
.room-visualizer-page .room-photo-zoom-surface-panel [data-room-surface].is-active .room-surface-name,
.room-visualizer-page .room-surface-picker [data-room-surface].is-active .room-surface-label{
  color:#fff!important;
  text-shadow:0 1px 2px rgba(0,0,0,.35)!important;
}
.room-visualizer-page .room-surface-exclude-toggle{
  grid-column:2!important;
  position:static!important;
  transform:none!important;
  justify-self:end!important;
  width:22px!important;
  height:22px!important;
  min-width:22px!important;
  max-width:22px!important;
  border-radius:999px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0!important;
  margin:0!important;
  font-size:15px!important;
  line-height:1!important;
  font-weight:900!important;
  font-style:normal!important;
  background:#fffdf9!important;
  color:#b20f12!important;
  border:1px solid rgba(178,15,18,.28)!important;
  box-shadow:0 2px 8px rgba(25,18,12,.10)!important;
  text-decoration:none!important;
}
.room-visualizer-page [data-room-surface].is-active .room-surface-exclude-toggle{
  background:#fff!important;
  color:#b20f12!important;
  border-color:#fff!important;
}
.room-visualizer-page .room-surface-exclude-toggle.is-excluded,
.room-visualizer-page [data-room-surface].has-excluded-surface .room-surface-exclude-toggle{
  background:#16110e!important;
  color:#fff!important;
  border-color:#16110e!important;
}
/* Usuń żółte ramki z sekcji perspektywy i modeli */
.room-visualizer-page .room-step--perspective,
.room-visualizer-page .room-step--models,
.room-visualizer-page .room-manual-panel{
  border-color:transparent!important;
  border-left:0!important;
  outline:0!important;
  box-shadow:none!important;
}
.room-visualizer-page .room-step--perspective::before,
.room-visualizer-page .room-step--models::before,
.room-visualizer-page .room-manual-panel::before{display:none!important;}
/* W panelu mebli zostaje nagłówek "1 Modele" — bez drugiego "Modele z kolekcji" i bez drugiego numeru */
.room-visualizer-page .room-step--models > b,
.room-visualizer-page .room-step--models h2{
  display:none!important;
}
.room-visualizer-page .room-step--models{
  padding-top:0!important;
  margin-top:8px!important;
}
/* Podczas przeciągania nigdy nie przykrywamy zdjęcia białą warstwą */
.room-visualizer-page .room-visualizer.is-dragging-room-point .room-drag-overlay-canvas,
.room-visualizer-page .room-visualizer.is-dragging-room-point .room-point-hit-layer{
  display:none!important;
  pointer-events:none!important;
}
.room-visualizer-page .room-photo-marker canvas[data-room-photo-canvas]{
  opacity:1!important;
  visibility:visible!important;
}
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-marker{
  background:#fbfaf7!important;
}
@media(max-width:760px){
  .room-visualizer-page .room-photo-zoom-surface-panel [data-room-surface],
  body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel button{
    grid-template-columns:minmax(0,1fr) 22px!important;
    padding:0 6px 0 8px!important;
    gap:5px!important;
  }
  .room-visualizer-page .room-photo-zoom-surface-panel .room-surface-name{font-size:9px!important;}
  .room-visualizer-page .room-surface-exclude-toggle{width:20px!important;height:20px!important;min-width:20px!important;max-width:20px!important;font-size:13px!important;}
}

/* === PATCH 2026-06-10 — naprawa podglądów modeli, ramek i panelu ścian === */
/* Modele: przywrócenie czytelnych kart z miniaturami, bez pustego pola */
.room-visualizer-page .room-tab-panel--models .room-step--models{
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:transparent!important;
  padding:0!important;
  margin:10px 0 18px!important;
  display:block!important;
}
.room-visualizer-page .room-tab-panel--models .room-step--models::before,
.room-visualizer-page .room-tab-panel--models .room-step--models > b,
.room-visualizer-page .room-tab-panel--models .room-step--models h2{
  display:none!important;
  content:none!important;
}
.room-visualizer-page .room-tab-panel--models .room-step--models > div{
  display:block!important;
  width:100%!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:transparent!important;
  padding:0!important;
  margin:0!important;
}
.room-visualizer-page .room-product-list{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:10px!important;
  width:100%!important;
  min-height:0!important;
  max-height:260px!important;
  overflow:auto!important;
  padding:0 4px 0 0!important;
  margin:8px 0 0!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:transparent!important;
}
.room-visualizer-page .room-product{
  position:relative!important;
  width:100%!important;
  min-height:68px!important;
  height:auto!important;
  display:grid!important;
  grid-template-columns:76px minmax(0,1fr)!important;
  align-items:center!important;
  gap:14px!important;
  padding:9px 12px!important;
  border:1px solid #ded5ca!important;
  border-radius:10px!important;
  background:#fffdf9!important;
  color:#18130f!important;
  text-align:left!important;
  overflow:hidden!important;
  box-shadow:0 8px 18px rgba(35,26,18,.035)!important;
}
.room-visualizer-page .room-product.is-active{
  border-color:#18130f!important;
  box-shadow:inset 0 0 0 1px #18130f,0 10px 22px rgba(35,26,18,.05)!important;
}
.room-visualizer-page .room-product img{
  display:block!important;
  width:76px!important;
  height:52px!important;
  max-width:76px!important;
  max-height:52px!important;
  object-fit:contain!important;
  border-radius:8px!important;
  background:#f1eee9!important;
  opacity:1!important;
  visibility:visible!important;
}
.room-visualizer-page .room-product span{
  display:block!important;
  min-width:0!important;
  overflow:hidden!important;
}
.room-visualizer-page .room-product b,
.room-visualizer-page .room-product small{
  display:block!important;
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  opacity:1!important;
  visibility:visible!important;
}

/* Usunięcie żółtych ramek z Perspektywy wnętrza i Modele */
.room-visualizer-page .room-step--perspective,
.room-visualizer-page .room-step--perspective > div,
.room-visualizer-page .room-step--models,
.room-visualizer-page .room-step--models > div,
.room-visualizer-page .room-mode-toggle,
.room-visualizer-page .room-actions--camera-room,
.room-visualizer-page .room-tab-panel--models .room-product-list{
  border-color:transparent!important;
  outline:0!important;
  box-shadow:none!important;
}
.room-visualizer-page .room-step--perspective::before,
.room-visualizer-page .room-step--models::before{
  display:none!important;
  content:none!important;
}
.room-visualizer-page .room-step--perspective{
  border:0!important;
  border-bottom:1px solid rgba(52,42,34,.09)!important;
  background:transparent!important;
}

/* Panel ścian w powiększeniu: pełne nazwy, czytelny aktywny przycisk i równe X/+ */
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-marker{
  padding-left:168px!important;
}
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel{
  width:142px!important;
  left:14px!important;
  top:82px!important;
  padding:10px!important;
  gap:8px!important;
  border-radius:16px!important;
  background:rgba(255,253,249,.96)!important;
  box-shadow:0 18px 42px rgba(28,20,16,.18)!important;
}
.room-visualizer-page .room-photo-zoom-surface-panel strong{
  display:none!important;
}
.room-visualizer-page .room-photo-zoom-surface-panel [data-room-surface],
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel button,
.room-visualizer-page .room-surface-picker.room-surface-picker--text [data-room-surface]{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 26px!important;
  align-items:center!important;
  gap:8px!important;
  width:100%!important;
  min-width:0!important;
  min-height:42px!important;
  height:42px!important;
  padding:0 7px 0 12px!important;
  border-radius:12px!important;
  overflow:visible!important;
}
.room-visualizer-page .room-photo-zoom-surface-panel [data-room-surface] > span:first-child,
.room-visualizer-page .room-surface-picker.room-surface-picker--text [data-room-surface] > span:first-child{
  display:none!important;
}
.room-visualizer-page .room-photo-zoom-surface-panel .room-surface-name,
.room-visualizer-page .room-surface-picker .room-surface-label{
  display:block!important;
  grid-column:1!important;
  min-width:0!important;
  max-width:none!important;
  overflow:visible!important;
  text-overflow:clip!important;
  white-space:nowrap!important;
  color:#2b2521!important;
  font-size:11px!important;
  line-height:1!important;
  font-weight:950!important;
  letter-spacing:.045em!important;
  text-align:left!important;
  opacity:1!important;
  visibility:visible!important;
}
.room-visualizer-page .room-photo-zoom-surface-panel [data-room-surface].is-active,
.room-visualizer-page .room-surface-picker [data-room-surface].is-active{
  background:#17120f!important;
  border-color:#17120f!important;
  color:#fff!important;
}
.room-visualizer-page .room-photo-zoom-surface-panel [data-room-surface].is-active .room-surface-name,
.room-visualizer-page .room-surface-picker [data-room-surface].is-active .room-surface-label{
  color:#fff!important;
  opacity:1!important;
  visibility:visible!important;
  text-shadow:none!important;
}
.room-visualizer-page .room-surface-exclude-toggle{
  grid-column:2!important;
  justify-self:end!important;
  align-self:center!important;
  position:static!important;
  transform:none!important;
  width:26px!important;
  height:26px!important;
  min-width:26px!important;
  max-width:26px!important;
  min-height:26px!important;
  max-height:26px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0!important;
  margin:0!important;
  border-radius:999px!important;
  border:1px solid rgba(178,15,18,.32)!important;
  background:#fffdf9!important;
  color:#b20f12!important;
  font-size:16px!important;
  line-height:1!important;
  font-weight:950!important;
  font-style:normal!important;
  text-align:center!important;
  box-shadow:0 2px 8px rgba(25,18,12,.10)!important;
}
.room-visualizer-page [data-room-surface].is-active .room-surface-exclude-toggle{
  background:#fff!important;
  color:#b20f12!important;
  border-color:#fff!important;
}
.room-visualizer-page .room-surface-exclude-toggle.is-excluded,
.room-visualizer-page [data-room-surface].has-excluded-surface .room-surface-exclude-toggle{
  background:#111!important;
  color:#fff!important;
  border-color:#111!important;
}

/* Overlay przeciągania punktów ma być przezroczysty i widoczny, główny canvas zostaje ze zdjęciem */
.room-visualizer-page .room-drag-overlay-canvas{
  display:none;
  position:absolute!important;
  z-index:35!important;
  pointer-events:none!important;
  background:transparent!important;
}
.room-visualizer-page .room-visualizer.is-dragging-room-point .room-drag-overlay-canvas{
  pointer-events:none!important;
  background:transparent!important;
}
.room-visualizer-page .room-visualizer.is-dragging-room-point .room-point-hit-layer{
  display:none!important;
  pointer-events:none!important;
}
.room-visualizer-page .room-photo-marker canvas[data-room-photo-canvas]{
  opacity:1!important;
  visibility:visible!important;
  background:#fbfaf7!important;
}
@media(max-width:760px){
  body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-marker{padding-left:130px!important;}
  body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel{width:112px!important;left:9px!important;top:66px!important;padding:8px!important;}
  .room-visualizer-page .room-photo-zoom-surface-panel [data-room-surface],
  body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel button{grid-template-columns:minmax(0,1fr) 22px!important;height:38px!important;min-height:38px!important;padding:0 5px 0 8px!important;gap:5px!important;}
  .room-visualizer-page .room-photo-zoom-surface-panel .room-surface-name{font-size:9px!important;letter-spacing:.02em!important;}
  .room-visualizer-page .room-surface-exclude-toggle{width:22px!important;height:22px!important;min-width:22px!important;max-width:22px!important;font-size:14px!important;}
}

/* FINAL FIX 2026-06-10: panel ścian, ramki, drag bez overlay */
.room-visualizer-page .room-step--perspective,
.room-visualizer-page .room-step--perspective *,
.room-visualizer-page .room-step--models,
.room-visualizer-page .room-step--models *,
.room-visualizer-page .room-mode-toggle,
.room-visualizer-page .room-actions--camera-room,
.room-visualizer-page .room-tab-panel--room .room-step--perspective,
.room-visualizer-page .room-tab-panel--room .room-step--perspective > *,
.room-visualizer-page .room-tab-panel--models .room-step--models,
.room-visualizer-page .room-tab-panel--models .room-step--models > *{
  outline:0!important;
  box-shadow:none!important;
}
.room-visualizer-page .room-step--perspective,
.room-visualizer-page .room-step--perspective > div,
.room-visualizer-page .room-step--perspective .room-mode-toggle,
.room-visualizer-page .room-step--perspective .room-actions--camera-room,
.room-visualizer-page .room-step--models,
.room-visualizer-page .room-step--models > div,
.room-visualizer-page .room-product-list{
  border:0!important;
  border-color:transparent!important;
  background-clip:padding-box!important;
}
.room-visualizer-page .room-step--perspective::before,
.room-visualizer-page .room-step--perspective::after,
.room-visualizer-page .room-step--models::before,
.room-visualizer-page .room-step--models::after{
  display:none!important;
  content:none!important;
  border:0!important;
}

/* Duży podgląd zdjęcia: nazwy ścian jako czyste przyciski bez kropek, bez ucinania tekstu */
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel{
  width:156px!important;
  left:14px!important;
  padding:10px!important;
  gap:9px!important;
}
.room-visualizer-page .room-photo-zoom-surface-panel [data-room-surface],
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel [data-room-surface]{
  position:relative!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 28px!important;
  align-items:center!important;
  justify-content:stretch!important;
  width:100%!important;
  height:44px!important;
  min-height:44px!important;
  padding:0 7px 0 13px!important;
  gap:8px!important;
  border-radius:14px!important;
  background:#fffdf9!important;
  border:1px solid rgba(34,28,21,.12)!important;
  color:#201a16!important;
  overflow:hidden!important;
  text-align:left!important;
}
.room-visualizer-page .room-photo-zoom-surface-panel [data-room-surface] > span:first-child,
.room-visualizer-page .room-photo-zoom-surface-panel [data-room-surface] > span:not(.room-surface-name):not(.room-surface-label){
  display:none!important;
  width:0!important;
  height:0!important;
  opacity:0!important;
  visibility:hidden!important;
}
.room-visualizer-page .room-photo-zoom-surface-panel .room-surface-name,
.room-visualizer-page .room-photo-zoom-surface-panel .room-surface-label{
  position:static!important;
  transform:none!important;
  inset:auto!important;
  grid-column:1!important;
  display:block!important;
  width:auto!important;
  min-width:0!important;
  max-width:100%!important;
  color:#201a16!important;
  font-size:10.5px!important;
  line-height:1!important;
  font-weight:950!important;
  letter-spacing:.045em!important;
  text-align:left!important;
  white-space:nowrap!important;
  overflow:visible!important;
  text-overflow:clip!important;
  opacity:1!important;
  visibility:visible!important;
  background:transparent!important;
  border:0!important;
  padding:0!important;
  margin:0!important;
}
.room-visualizer-page .room-photo-zoom-surface-panel [data-room-surface].is-active{
  background:#17120f!important;
  border-color:#17120f!important;
  color:#fff!important;
}
.room-visualizer-page .room-photo-zoom-surface-panel [data-room-surface].is-active .room-surface-name,
.room-visualizer-page .room-photo-zoom-surface-panel [data-room-surface].is-active .room-surface-label{
  color:#fff!important;
}
.room-visualizer-page .room-photo-zoom-surface-panel .room-surface-exclude-toggle{
  position:static!important;
  transform:none!important;
  inset:auto!important;
  grid-column:2!important;
  justify-self:end!important;
  align-self:center!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:28px!important;
  height:28px!important;
  min-width:28px!important;
  min-height:28px!important;
  max-width:28px!important;
  max-height:28px!important;
  padding:0!important;
  margin:0!important;
  border-radius:999px!important;
  background:#fff!important;
  border:1px solid rgba(185,28,28,.32)!important;
  color:#b91c1c!important;
  font-size:15px!important;
  line-height:26px!important;
  font-weight:950!important;
  font-style:normal!important;
  text-align:center!important;
  box-shadow:none!important;
}
.room-visualizer-page .room-photo-zoom-surface-panel .room-surface-exclude-toggle.is-excluded,
.room-visualizer-page .room-photo-zoom-surface-panel [data-room-surface].has-excluded-surface .room-surface-exclude-toggle{
  background:#1b1713!important;
  color:#fff!important;
  border-color:#1b1713!important;
}

/* Przy przeciąganiu punktów wyłączamy osobny overlay, który powodował biały ekran i przesunięcie w róg. */
.room-visualizer-page .room-drag-overlay-canvas{
  display:none!important;
  opacity:0!important;
  visibility:hidden!important;
}
.room-visualizer-page .room-visualizer.is-dragging-room-point .room-photo-marker canvas[data-room-photo-canvas]{
  display:block!important;
  opacity:1!important;
  visibility:visible!important;
  background:#fbfaf7!important;
}

@media(max-width:760px){
  body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel{width:134px!important;left:8px!important;padding:8px!important;gap:7px!important;}
  .room-visualizer-page .room-photo-zoom-surface-panel [data-room-surface]{grid-template-columns:minmax(0,1fr) 24px!important;height:40px!important;min-height:40px!important;padding:0 6px 0 9px!important;gap:5px!important;}
  .room-visualizer-page .room-photo-zoom-surface-panel .room-surface-name,
  .room-visualizer-page .room-photo-zoom-surface-panel .room-surface-label{font-size:9px!important;letter-spacing:.02em!important;}
  .room-visualizer-page .room-photo-zoom-surface-panel .room-surface-exclude-toggle{width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important;font-size:14px!important;line-height:22px!important;}
}

/* === FINAL BUTTON FIX 2026-06-10 — czyste przyciski ścian + bez żółtych ramek === */
/* Usuń żółte/ozdobne ramki z sekcji Perspektywa wnętrza i Modele */
.room-visualizer-page .room-step--perspective,
.room-visualizer-page .room-step--perspective > div,
.room-visualizer-page .room-step--perspective .room-mode-toggle,
.room-visualizer-page .room-step--perspective .room-actions,
.room-visualizer-page .room-step--perspective .room-actions--camera-room,
.room-visualizer-page .room-manual-panel,
.room-visualizer-page .room-tab-panel--models .room-step--models,
.room-visualizer-page .room-tab-panel--models .room-step--models > div,
.room-visualizer-page .room-tab-panel--models .room-product-list{
  border:0!important;
  border-color:transparent!important;
  outline:0!important;
  box-shadow:none!important;
  background-clip:padding-box!important;
}
.room-visualizer-page .room-step--perspective::before,
.room-visualizer-page .room-step--perspective::after,
.room-visualizer-page .room-manual-panel::before,
.room-visualizer-page .room-manual-panel::after,
.room-visualizer-page .room-step--models::before,
.room-visualizer-page .room-step--models::after{
  display:none!important;
  content:none!important;
  border:0!important;
}

/* Panel ścian w powiększeniu zdjęcia */
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel{
  width:150px!important;
  left:14px!important;
  top:74px!important;
  padding:10px!important;
  gap:8px!important;
  border-radius:18px!important;
  background:rgba(255,253,249,.98)!important;
  border:1px solid rgba(35,28,22,.10)!important;
  box-shadow:0 18px 44px rgba(24,18,14,.16)!important;
}
.room-visualizer-page .room-photo-zoom-surface-panel strong{display:none!important;}

/* Wszystkie przyciski wyboru ściany — pełny reset, żeby stare łatki ich nie psuły */
.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface],
.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface]{
  all:unset!important;
  box-sizing:border-box!important;
  position:relative!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 26px!important;
  align-items:center!important;
  gap:8px!important;
  width:100%!important;
  height:42px!important;
  min-height:42px!important;
  padding:0 7px 0 13px!important;
  border-radius:13px!important;
  border:1px solid rgba(33,27,22,.13)!important;
  background:#fffdf9!important;
  color:#201a16!important;
  cursor:pointer!important;
  overflow:hidden!important;
  text-align:left!important;
  font-family:inherit!important;
}
.room-visualizer-page .room-surface-picker.room-surface-picker--text{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px!important;
  margin:12px 0!important;
}
.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface="floor"]{
  grid-column:auto!important;
}
.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface="ceiling"]{
  grid-column:auto!important;
}

/* ukryj wszystkie stare kropki / puste spany */
.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface] > span:not(.room-surface-name):not(.room-surface-label),
.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface] > span:not(.room-surface-name):not(.room-surface-label){
  display:none!important;
  width:0!important;
  height:0!important;
  opacity:0!important;
  visibility:hidden!important;
}

/* nazwa ściany */
.room-visualizer-page .room-photo-zoom-surface-panel .room-surface-name,
.room-visualizer-page .room-photo-zoom-surface-panel .room-surface-label,
.room-visualizer-page .room-surface-picker.room-surface-picker--text .room-surface-name,
.room-visualizer-page .room-surface-picker.room-surface-picker--text .room-surface-label{
  all:unset!important;
  box-sizing:border-box!important;
  display:block!important;
  grid-column:1!important;
  min-width:0!important;
  max-width:100%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  color:#201a16!important;
  font-family:inherit!important;
  font-size:11px!important;
  line-height:1!important;
  font-weight:900!important;
  letter-spacing:.045em!important;
  text-transform:uppercase!important;
  text-align:left!important;
  opacity:1!important;
  visibility:visible!important;
}

/* aktywna ściana */
.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface].is-active,
.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface].is-active{
  background:#17120f!important;
  border-color:#17120f!important;
  color:#fff!important;
}
.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface].is-active .room-surface-name,
.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface].is-active .room-surface-label,
.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface].is-active .room-surface-name,
.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface].is-active .room-surface-label{
  color:#fff!important;
}

/* przycisk X / + */
.room-visualizer-page .room-photo-zoom-surface-panel .room-surface-exclude-toggle,
.room-visualizer-page .room-surface-picker.room-surface-picker--text .room-surface-exclude-toggle{
  all:unset!important;
  box-sizing:border-box!important;
  grid-column:2!important;
  justify-self:end!important;
  align-self:center!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:26px!important;
  height:26px!important;
  min-width:26px!important;
  min-height:26px!important;
  max-width:26px!important;
  max-height:26px!important;
  border-radius:999px!important;
  border:1px solid rgba(190,38,42,.35)!important;
  background:#fff!important;
  color:#b91c1c!important;
  font-size:15px!important;
  line-height:1!important;
  font-weight:900!important;
  font-style:normal!important;
  text-align:center!important;
  cursor:pointer!important;
  box-shadow:0 2px 8px rgba(24,18,14,.08)!important;
}
.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface].is-active .room-surface-exclude-toggle,
.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface].is-active .room-surface-exclude-toggle{
  background:#fff!important;
  color:#b91c1c!important;
  border-color:#fff!important;
}
.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface].has-excluded-surface .room-surface-exclude-toggle,
.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface].has-excluded-surface .room-surface-exclude-toggle,
.room-visualizer-page .room-surface-exclude-toggle.is-excluded{
  background:#17120f!important;
  color:#fff!important;
  border-color:#17120f!important;
}
.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface].has-excluded-surface,
.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface].has-excluded-surface{
  opacity:.72!important;
}

@media(max-width:760px){
  body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel{
    width:132px!important;
    left:8px!important;
    top:62px!important;
    padding:8px!important;
    gap:7px!important;
  }
  .room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface],
  .room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface]{
    grid-template-columns:minmax(0,1fr) 24px!important;
    height:40px!important;
    min-height:40px!important;
    padding:0 6px 0 9px!important;
    gap:6px!important;
  }
  .room-visualizer-page .room-photo-zoom-surface-panel .room-surface-name,
  .room-visualizer-page .room-photo-zoom-surface-panel .room-surface-label,
  .room-visualizer-page .room-surface-picker.room-surface-picker--text .room-surface-name,
  .room-visualizer-page .room-surface-picker.room-surface-picker--text .room-surface-label{
    font-size:9px!important;
    letter-spacing:.02em!important;
  }
  .room-visualizer-page .room-photo-zoom-surface-panel .room-surface-exclude-toggle,
  .room-visualizer-page .room-surface-picker.room-surface-picker--text .room-surface-exclude-toggle{
    width:24px!important;
    height:24px!important;
    min-width:24px!important;
    min-height:24px!important;
    font-size:14px!important;
  }
}

/* === FIX FINAL 2026-06-10: czytelne buttony ścian + czysty topbar === */
.room-visualizer-page .room-topbar__title,
.room-visualizer-page .room-topbar__actions{
  display:none!important;
}
.room-visualizer-page .room-topbar.room-topbar--pro{
  grid-template-columns:auto 1fr!important;
  justify-content:start!important;
  min-height:64px!important;
  padding-right:24px!important;
}

/* Buttony wyboru ścian — pełny tekst, bez ucinania */
.room-visualizer-page .room-photo-zoom-surface-panel{
  width:168px!important;
  min-width:168px!important;
  padding:10px!important;
  gap:8px!important;
  overflow:visible!important;
}
.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface],
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel button[data-room-surface],
.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface]{
  display:grid!important;
  grid-template-columns:minmax(72px,1fr) 28px!important;
  align-items:center!important;
  justify-items:stretch!important;
  gap:10px!important;
  min-height:42px!important;
  height:42px!important;
  padding:0 8px 0 14px!important;
  border-radius:14px!important;
  overflow:visible!important;
  text-indent:0!important;
  font-size:0!important;
}
.room-visualizer-page .room-photo-zoom-surface-panel .room-surface-name,
.room-visualizer-page .room-photo-zoom-surface-panel .room-surface-label,
.room-visualizer-page .room-surface-picker.room-surface-picker--text .room-surface-name,
.room-visualizer-page .room-surface-picker.room-surface-picker--text .room-surface-label{
  display:block!important;
  position:static!important;
  opacity:1!important;
  visibility:visible!important;
  transform:none!important;
  width:auto!important;
  max-width:none!important;
  min-width:0!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
  white-space:nowrap!important;
  text-overflow:clip!important;
  text-align:left!important;
  color:#17120f!important;
  font-size:11px!important;
  line-height:1!important;
  font-weight:900!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
  z-index:2!important;
}
.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface].is-active,
.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface].is-active{
  background:#17120f!important;
  border-color:#17120f!important;
  color:#fff!important;
}
.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface].is-active .room-surface-name,
.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface].is-active .room-surface-label,
.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface].is-active .room-surface-name,
.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface].is-active .room-surface-label{
  color:#fff!important;
}
.room-visualizer-page .room-photo-zoom-surface-panel .room-surface-exclude-toggle,
.room-visualizer-page .room-surface-picker.room-surface-picker--text .room-surface-exclude-toggle{
  display:grid!important;
  place-items:center!important;
  position:static!important;
  inset:auto!important;
  transform:none!important;
  width:28px!important;
  height:28px!important;
  min-width:28px!important;
  min-height:28px!important;
  max-width:28px!important;
  max-height:28px!important;
  margin:0!important;
  padding:0!important;
  border-radius:999px!important;
  border:1px solid rgba(198,55,51,.42)!important;
  background:#fff!important;
  color:#c63733!important;
  font-size:16px!important;
  line-height:1!important;
  font-weight:900!important;
  font-style:normal!important;
  text-align:center!important;
  box-shadow:0 6px 16px rgba(80,45,25,.12)!important;
  z-index:3!important;
}
.room-visualizer-page .room-photo-zoom-surface-panel .room-surface-exclude-toggle.is-excluded,
.room-visualizer-page .room-surface-picker.room-surface-picker--text .room-surface-exclude-toggle.is-excluded,
.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface].has-excluded-surface .room-surface-exclude-toggle,
.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface].has-excluded-surface .room-surface-exclude-toggle{
  background:#17120f!important;
  color:#fff!important;
  border-color:#17120f!important;
}
.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface].has-excluded-surface,
.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface].has-excluded-surface{
  opacity:.6!important;
}
/* usuń stare kropki/duplikaty w buttonach */
.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface]::before,
.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface]::after,
.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface]::before,
.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface]::after{
  content:none!important;
  display:none!important;
}
.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface] > span:not(.room-surface-name):not(.room-surface-label),
.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface] > span:not(.room-surface-name):not(.room-surface-label){
  display:none!important;
}
@media (max-width: 760px){
  .room-visualizer-page .room-photo-zoom-surface-panel{width:150px!important;min-width:150px!important;}
  .room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface]{grid-template-columns:minmax(64px,1fr) 26px!important;height:40px!important;min-height:40px!important;padding-left:12px!important;gap:8px!important;}
  .room-visualizer-page .room-photo-zoom-surface-panel .room-surface-name,
  .room-visualizer-page .room-photo-zoom-surface-panel .room-surface-label{font-size:10px!important;}
  .room-visualizer-page .room-photo-zoom-surface-panel .room-surface-exclude-toggle{width:26px!important;height:26px!important;min-width:26px!important;min-height:26px!important;font-size:15px!important;}
}

/* === GABI FIX 2026-06-10 — wall button labels, clean topbar, burgundy active tab === */
/* Czysty topbar bez ramki/karty wokół logo */
body.room-visualizer-page .room-topbar,
body.room-visualizer-page .room-topbar.room-topbar--pro{
  border:0!important;
  border-bottom:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:#fff!important;
}
body.room-visualizer-page .room-topbar__brand,
body.room-visualizer-page .room-topbar__brand--gabi,
body.room-visualizer-page .room-topbar__brand::before,
body.room-visualizer-page .room-topbar__brand::after{
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:transparent!important;
}
body.room-visualizer-page .room-topbar__brand img{
  box-shadow:none!important;
  border:0!important;
  outline:0!important;
  background:transparent!important;
}

/* Lewy aktywny tab w kolorze wiśniowym */
body.room-visualizer-page .room-side-tabs button.is-active,
body.room-visualizer-page .room-side-tabs button[aria-selected="true"]{
  color:#8b0f22!important;
  border-left-color:#8b0f22!important;
}
body.room-visualizer-page .room-side-tabs button.is-active svg,
body.room-visualizer-page .room-side-tabs button[aria-selected="true"] svg{
  fill:#8b0f22!important;
  color:#8b0f22!important;
}
body.room-visualizer-page .room-side-tabs button.is-active::before,
body.room-visualizer-page .room-side-tabs button[aria-selected="true"]::before,
body.room-visualizer-page .room-side-tabs button.is-active::after,
body.room-visualizer-page .room-side-tabs button[aria-selected="true"]::after{
  background:#8b0f22!important;
  border-color:#8b0f22!important;
}

/* Buttony ścian — wymuszone etykiety tekstowe, bez ukrytych/spanów i bez kropek */
body.room-visualizer-page button[data-room-surface="left"]{--gabi-wall-label:"LEWA";}
body.room-visualizer-page button[data-room-surface="right"]{--gabi-wall-label:"PRAWA";}
body.room-visualizer-page button[data-room-surface="ceiling"]{--gabi-wall-label:"GÓRA";}
body.room-visualizer-page button[data-room-surface="floor"]{--gabi-wall-label:"DÓŁ";}
body.room-visualizer-page button[data-room-surface="back"]{--gabi-wall-label:"TYŁ";}

body.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface],
body.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface],
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel button[data-room-surface]{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  width:100%!important;
  min-width:0!important;
  min-height:44px!important;
  height:44px!important;
  padding:0 8px 0 16px!important;
  gap:10px!important;
  border-radius:16px!important;
  border:1px solid rgba(32,26,21,.14)!important;
  background:#fff!important;
  color:#201a16!important;
  overflow:hidden!important;
  font-size:0!important;
  text-indent:0!important;
  letter-spacing:0!important;
  box-shadow:none!important;
}
body.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface]::before,
body.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface]::before,
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel button[data-room-surface]::before{
  content:var(--gabi-wall-label)!important;
  display:block!important;
  flex:1 1 auto!important;
  min-width:0!important;
  color:#201a16!important;
  font-size:11px!important;
  line-height:1!important;
  font-weight:900!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
  text-align:left!important;
  opacity:1!important;
  visibility:visible!important;
  transform:none!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
body.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface]::after,
body.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface]::after,
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel button[data-room-surface]::after{
  content:none!important;
  display:none!important;
}
body.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface] .room-surface-name,
body.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface] .room-surface-label,
body.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface] .room-surface-name,
body.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface] .room-surface-label{
  display:none!important;
}
body.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface].is-active,
body.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface].is-active,
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel button[data-room-surface].is-active{
  background:#8b0f22!important;
  border-color:#8b0f22!important;
  color:#fff!important;
}
body.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface].is-active::before,
body.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface].is-active::before,
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel button[data-room-surface].is-active::before{
  color:#fff!important;
}
body.room-visualizer-page .room-photo-zoom-surface-panel .room-surface-exclude-toggle,
body.room-visualizer-page .room-surface-picker.room-surface-picker--text .room-surface-exclude-toggle{
  position:static!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 28px!important;
  width:28px!important;
  height:28px!important;
  min-width:28px!important;
  min-height:28px!important;
  max-width:28px!important;
  max-height:28px!important;
  margin:0!important;
  padding:0!important;
  border-radius:999px!important;
  border:1px solid rgba(198,55,51,.45)!important;
  background:#fff!important;
  color:#c63733!important;
  font-size:16px!important;
  line-height:26px!important;
  font-weight:900!important;
  font-style:normal!important;
  text-align:center!important;
  text-indent:0!important;
  box-shadow:none!important;
  opacity:1!important;
  visibility:visible!important;
}
body.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface].has-excluded-surface,
body.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface].has-excluded-surface{
  opacity:1!important;
  background:rgba(255,255,255,.55)!important;
}
body.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface].has-excluded-surface::before,
body.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface].has-excluded-surface::before{
  color:rgba(32,26,21,.42)!important;
}
body.room-visualizer-page .room-photo-zoom-surface-panel .room-surface-exclude-toggle.is-excluded,
body.room-visualizer-page .room-surface-picker.room-surface-picker--text .room-surface-exclude-toggle.is-excluded,
body.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface].has-excluded-surface .room-surface-exclude-toggle,
body.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface].has-excluded-surface .room-surface-exclude-toggle{
  background:#8b0f22!important;
  color:#fff!important;
  border-color:#8b0f22!important;
}

/* Panel w powiększeniu — trochę szerszy, żeby nazwy mieściły się normalnie */
body.room-visualizer-page .room-photo-zoom-surface-panel,
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel{
  width:172px!important;
  min-width:172px!important;
  padding:10px!important;
  gap:8px!important;
}

@media(max-width:760px){
  body.room-visualizer-page .room-photo-zoom-surface-panel,
  body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel{
    width:156px!important;
    min-width:156px!important;
  }
  body.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface],
  body.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface]{
    min-height:42px!important;
    height:42px!important;
    padding-left:13px!important;
  }
  body.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface]::before,
  body.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface]::before{
    font-size:10px!important;
    letter-spacing:.05em!important;
  }
}


/* === GABI FIX 2026-06-10 — czyste buttony ścian, bez siatki/ramki, tooltip modelu === */
body.room-visualizer-page .room-topbar,
body.room-visualizer-page .room-topbar.room-topbar--pro,
body.room-visualizer-page .room-topbar__brand,
body.room-visualizer-page .room-topbar__brand--gabi,
body.room-visualizer-page .room-brand-word{
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:transparent!important;
  filter:none!important;
}
body.room-visualizer-page .room-topbar::before,
body.room-visualizer-page .room-topbar::after,
body.room-visualizer-page .room-topbar__brand::before,
body.room-visualizer-page .room-topbar__brand::after,
body.room-visualizer-page .room-brand-word::before,
body.room-visualizer-page .room-brand-word::after{
  display:none!important;
  content:none!important;
}

/* Buttony ścian — żadnych duplikatów tekstu/kropek z pseudo-elementów */
body.room-visualizer-page button[data-room-surface]::before,
body.room-visualizer-page button[data-room-surface]::after,
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed button[data-room-surface]::before,
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed button[data-room-surface]::after{
  content:none!important;
  display:none!important;
}
body.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface],
body.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface],
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel button[data-room-surface]{
  position:relative!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 28px!important;
  align-items:center!important;
  gap:8px!important;
  width:100%!important;
  min-width:0!important;
  min-height:42px!important;
  height:42px!important;
  padding:0 8px 0 14px!important;
  border-radius:14px!important;
  border:1px solid rgba(38,28,22,.13)!important;
  background:#fffdf9!important;
  color:#201815!important;
  overflow:hidden!important;
  text-align:left!important;
  box-shadow:none!important;
}
body.room-visualizer-page .room-photo-zoom-surface-panel .room-surface-name,
body.room-visualizer-page .room-photo-zoom-surface-panel .room-surface-label,
body.room-visualizer-page .room-surface-picker.room-surface-picker--text .room-surface-name,
body.room-visualizer-page .room-surface-picker.room-surface-picker--text .room-surface-label{
  display:block!important;
  grid-column:1!important;
  position:static!important;
  width:auto!important;
  height:auto!important;
  opacity:1!important;
  visibility:visible!important;
  transform:none!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:#201815!important;
  font-size:11px!important;
  line-height:1!important;
  font-weight:900!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  text-shadow:none!important;
}
body.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface].is-active,
body.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface].is-active,
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel button[data-room-surface].is-active{
  background:#8f171f!important;
  border-color:#8f171f!important;
  color:#fff!important;
}
body.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface].is-active .room-surface-name,
body.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface].is-active .room-surface-label,
body.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface].is-active .room-surface-name,
body.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface].is-active .room-surface-label{
  color:#fff!important;
}
body.room-visualizer-page .room-surface-exclude-toggle,
body.room-visualizer-page button[data-room-surface] .room-surface-exclude-toggle{
  grid-column:2!important;
  justify-self:end!important;
  align-self:center!important;
  position:static!important;
  display:grid!important;
  place-items:center!important;
  width:26px!important;
  height:26px!important;
  min-width:26px!important;
  min-height:26px!important;
  max-width:26px!important;
  max-height:26px!important;
  margin:0!important;
  padding:0!important;
  border-radius:999px!important;
  border:1px solid rgba(143,23,31,.25)!important;
  background:#fff!important;
  color:#8f171f!important;
  font-size:15px!important;
  font-weight:900!important;
  font-style:normal!important;
  line-height:1!important;
  text-align:center!important;
  text-indent:0!important;
  box-shadow:0 2px 8px rgba(30,20,12,.08)!important;
  transform:none!important;
}
body.room-visualizer-page button[data-room-surface].has-excluded-surface{
  opacity:.62!important;
  background:#f6f1ea!important;
  border-style:dashed!important;
}
body.room-visualizer-page button[data-room-surface].has-excluded-surface .room-surface-exclude-toggle,
body.room-visualizer-page .room-surface-exclude-toggle.is-excluded{
  background:#17120f!important;
  color:#fff!important;
  border-color:#17120f!important;
}

/* Panel 3D: usuń pasek z nazwą modelu i pokaż mały podpis dopiero po najechaniu */
body.room-visualizer-page .room-3d-toolbar{
  display:none!important;
}
body.room-visualizer-page .room-3d-panel{
  position:relative!important;
}
body.room-visualizer-page .room-3d-panel[data-model-name]:hover::after{
  content:attr(data-model-name);
  position:absolute;
  left:18px;
  top:18px;
  z-index:30;
  padding:7px 10px;
  border-radius:999px;
  background:rgba(20,16,13,.72);
  color:#fff;
  font-size:11px;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
  pointer-events:none;
  backdrop-filter:blur(8px);
}

@media (max-width: 640px){
  body.room-visualizer-page .room-photo-zoom-surface-panel,
  body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel{
    width:132px!important;
    min-width:132px!important;
  }
  body.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface],
  body.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface]{
    grid-template-columns:minmax(0,1fr) 24px!important;
    height:40px!important;
    min-height:40px!important;
    padding:0 7px 0 11px!important;
  }
  body.room-visualizer-page .room-photo-zoom-surface-panel .room-surface-name,
  body.room-visualizer-page .room-surface-picker.room-surface-picker--text .room-surface-label{
    font-size:10px!important;
    letter-spacing:.055em!important;
  }
  body.room-visualizer-page .room-surface-exclude-toggle,
  body.room-visualizer-page button[data-room-surface] .room-surface-exclude-toggle{
    width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important;font-size:14px!important;
  }
}


/* === GABI FINAL FIX 2026-06-10 — buttony ścian bez duplikatów + czysty topbar + VIRTUALNY === */
body.room-visualizer-page .room-topbar,
body.room-visualizer-page .room-topbar.room-topbar--pro{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:26px!important;
  height:76px!important;
  min-height:76px!important;
  padding:0 22px!important;
  background:#fffdf9!important;
  border:0!important;
  border-bottom:1px solid rgba(30,24,19,.08)!important;
  box-shadow:none!important;
  filter:none!important;
}
body.room-visualizer-page .room-topbar__brand,
body.room-visualizer-page .room-topbar__brand--gabi{
  display:flex!important;
  align-items:center!important;
  gap:28px!important;
  width:auto!important;
  min-width:0!important;
  height:auto!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  outline:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  filter:none!important;
  overflow:visible!important;
  text-decoration:none!important;
}
body.room-visualizer-page .room-topbar__brand::before,
body.room-visualizer-page .room-topbar__brand::after,
body.room-visualizer-page .room-brand-word::before,
body.room-visualizer-page .room-brand-word::after{
  content:none!important;
  display:none!important;
}
body.room-visualizer-page .room-topbar__brand img{
  width:auto!important;
  height:40px!important;
  max-width:118px!important;
  max-height:42px!important;
  object-fit:contain!important;
  transform:none!important;
  border:0!important;
  box-shadow:none!important;
  background:transparent!important;
}
body.room-visualizer-page .room-brand-word{
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:5px!important;
  width:auto!important;
  min-width:188px!important;
  height:auto!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  filter:none!important;
  overflow:visible!important;
  font-size:21px!important;
  line-height:1!important;
  letter-spacing:.27em!important;
  font-weight:900!important;
  text-transform:uppercase!important;
}
body.room-visualizer-page .room-brand-virtualny{
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  transform:translate(-50%,-52%)!important;
  z-index:0!important;
  color:rgba(40,36,34,.16)!important;
  font-size:14px!important;
  letter-spacing:.22em!important;
  font-weight:900!important;
  white-space:nowrap!important;
  pointer-events:none!important;
}
body.room-visualizer-page .room-brand-gabi,
body.room-visualizer-page .room-brand-net,
body.room-visualizer-page .room-brand-3d{
  position:relative!important;
  z-index:1!important;
  text-shadow:none!important;
}
body.room-visualizer-page .room-brand-gabi{ color:#9b3340!important; }
body.room-visualizer-page .room-brand-net{ color:#2b2521!important; }
body.room-visualizer-page .room-brand-3d{ color:rgba(43,37,33,.26)!important; }

/* Buttony ścian — układ na sztywno, nazwa widoczna tylko raz */
body.room-visualizer-page .room-photo-zoom-surface-panel,
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel{
  width:186px!important;
  min-width:186px!important;
  padding:10px!important;
  gap:8px!important;
  overflow:visible!important;
}
body.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface],
body.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface],
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel button[data-room-surface]{
  display:grid!important;
  grid-template-columns:minmax(82px,1fr) 28px!important;
  align-items:center!important;
  column-gap:9px!important;
  width:100%!important;
  min-width:0!important;
  height:42px!important;
  min-height:42px!important;
  padding:0 8px 0 14px!important;
  border-radius:14px!important;
  border:1px solid rgba(37,28,22,.13)!important;
  background:#fffdf9!important;
  color:#201815!important;
  font-size:0!important; /* ukrywa ewentualne stare tekst-node'y z poprzednich wersji */
  line-height:1!important;
  text-align:left!important;
  text-indent:0!important;
  overflow:hidden!important;
  box-shadow:none!important;
}
body.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface]::before,
body.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface]::after,
body.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface]::before,
body.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface]::after{
  content:none!important;
  display:none!important;
}
body.room-visualizer-page .room-photo-zoom-surface-panel .room-surface-name,
body.room-visualizer-page .room-photo-zoom-surface-panel .room-surface-label,
body.room-visualizer-page .room-surface-picker.room-surface-picker--text .room-surface-name,
body.room-visualizer-page .room-surface-picker.room-surface-picker--text .room-surface-label{
  display:block!important;
  grid-column:1!important;
  position:relative!important;
  z-index:2!important;
  width:auto!important;
  max-width:100%!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  opacity:1!important;
  visibility:visible!important;
  transform:none!important;
  background:transparent!important;
  border:0!important;
  color:#211916!important;
  font-size:11px!important;
  line-height:1!important;
  font-weight:900!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:clip!important;
  text-shadow:none!important;
}
body.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface].is-active,
body.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface].is-active{
  background:#8f1725!important;
  border-color:#8f1725!important;
  color:#fff!important;
}
body.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface].is-active .room-surface-name,
body.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface].is-active .room-surface-label,
body.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface].is-active .room-surface-name,
body.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface].is-active .room-surface-label{
  color:#fff!important;
}
body.room-visualizer-page .room-surface-exclude-toggle,
body.room-visualizer-page button[data-room-surface] .room-surface-exclude-toggle{
  grid-column:2!important;
  justify-self:end!important;
  align-self:center!important;
  position:relative!important;
  z-index:3!important;
  display:grid!important;
  place-items:center!important;
  width:26px!important;
  height:26px!important;
  min-width:26px!important;
  min-height:26px!important;
  max-width:26px!important;
  max-height:26px!important;
  margin:0!important;
  padding:0!important;
  border-radius:999px!important;
  border:1px solid rgba(143,23,37,.33)!important;
  background:#fff!important;
  color:#8f1725!important;
  font-size:15px!important;
  line-height:1!important;
  font-weight:900!important;
  font-style:normal!important;
  text-align:center!important;
  text-indent:0!important;
  box-shadow:0 2px 7px rgba(20,10,8,.08)!important;
  transform:none!important;
}
body.room-visualizer-page button[data-room-surface].has-excluded-surface,
body.room-visualizer-page button[data-room-surface].is-excluded{
  background:#f6f1ea!important;
  border-style:dashed!important;
  opacity:.72!important;
}
body.room-visualizer-page button[data-room-surface].has-excluded-surface .room-surface-label,
body.room-visualizer-page button[data-room-surface].has-excluded-surface .room-surface-name,
body.room-visualizer-page button[data-room-surface].is-excluded .room-surface-label,
body.room-visualizer-page button[data-room-surface].is-excluded .room-surface-name{
  color:#655852!important;
}
body.room-visualizer-page button[data-room-surface].has-excluded-surface .room-surface-exclude-toggle,
body.room-visualizer-page .room-surface-exclude-toggle.is-excluded{
  background:#17120f!important;
  color:#fff!important;
  border-color:#17120f!important;
}

@media(max-width:760px){
  body.room-visualizer-page .room-topbar,
  body.room-visualizer-page .room-topbar.room-topbar--pro{
    height:66px!important;
    min-height:66px!important;
    padding:0 14px!important;
    gap:16px!important;
  }
  body.room-visualizer-page .room-topbar__brand img{height:34px!important;max-width:100px!important;}
  body.room-visualizer-page .room-brand-word{font-size:17px!important;min-width:154px!important;letter-spacing:.22em!important;}
  body.room-visualizer-page .room-brand-virtualny{font-size:11px!important;}
  body.room-visualizer-page .room-photo-zoom-surface-panel,
  body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel{width:158px!important;min-width:158px!important;}
  body.room-visualizer-page .room-photo-zoom-surface-panel .room-surface-name,
  body.room-visualizer-page .room-photo-zoom-surface-panel .room-surface-label,
  body.room-visualizer-page .room-surface-picker.room-surface-picker--text .room-surface-name,
  body.room-visualizer-page .room-surface-picker.room-surface-picker--text .room-surface-label{font-size:10px!important;letter-spacing:.06em!important;}
}

/* === GABI FIX 2026-06-10 — finalne buttony ścian + topbar bez ramki + VIRTUALNY po lewej === */
body.room-visualizer-page .room-topbar,
body.room-visualizer-page header.room-topbar,
body.room-visualizer-page .room-topbar.room-topbar--pro{
  background:#fffdf9!important;
  border:0!important;
  border-bottom:1px solid rgba(28,22,18,.06)!important;
  box-shadow:none!important;
  outline:0!important;
  filter:none!important;
}
body.room-visualizer-page .room-topbar__brand,
body.room-visualizer-page a.room-topbar__brand,
body.room-visualizer-page .room-topbar__brand--gabi,
body.room-visualizer-page .room-topbar__brand:link,
body.room-visualizer-page .room-topbar__brand:visited{
  background:transparent!important;
  border:0!important;
  outline:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  filter:none!important;
  padding:0!important;
  margin:0!important;
  overflow:visible!important;
  text-decoration:none!important;
}
body.room-visualizer-page .room-topbar__brand *,
body.room-visualizer-page .room-brand-word,
body.room-visualizer-page .room-brand-word *{
  box-shadow:none!important;
  filter:none!important;
  border:0!important;
  outline:0!important;
  background:transparent!important;
}
body.room-visualizer-page .room-topbar__brand::before,
body.room-visualizer-page .room-topbar__brand::after,
body.room-visualizer-page .room-brand-word::before,
body.room-visualizer-page .room-brand-word::after{
  content:none!important;
  display:none!important;
}
body.room-visualizer-page .room-brand-word{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:8px!important;
  width:auto!important;
  min-width:0!important;
  height:auto!important;
  padding:0!important;
  margin:0!important;
  position:relative!important;
  overflow:visible!important;
  white-space:nowrap!important;
  line-height:1!important;
  font-size:21px!important;
  letter-spacing:.23em!important;
  font-weight:900!important;
  text-transform:uppercase!important;
  color:#2b2521!important;
}
body.room-visualizer-page .room-brand-virtualny{
  position:static!important;
  left:auto!important;
  top:auto!important;
  transform:none!important;
  order:0!important;
  z-index:auto!important;
  display:inline-block!important;
  margin:0 3px 0 0!important;
  color:rgba(55,50,47,.34)!important;
  font-size:12px!important;
  line-height:1!important;
  letter-spacing:.16em!important;
  font-weight:900!important;
  white-space:nowrap!important;
  pointer-events:none!important;
  text-shadow:1px 1px 0 rgba(255,255,255,.6), -1px -1px 0 rgba(30,24,19,.04)!important;
}
body.room-visualizer-page .room-brand-gabi{order:1!important;color:#9b3340!important;}
body.room-visualizer-page .room-brand-net{order:2!important;color:#2b2521!important;}
body.room-visualizer-page .room-brand-3d{order:3!important;color:rgba(43,37,33,.26)!important;}

/* Buttony ścian — tekst generowany raz przez CSS, bez duplikatów i bez rozjazdu */
body.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface],
body.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface],
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel button[data-room-surface]{
  display:grid!important;
  grid-template-columns:1fr 28px!important;
  align-items:center!important;
  gap:8px!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  height:44px!important;
  min-height:44px!important;
  padding:0 8px 0 18px!important;
  border-radius:14px!important;
  border:1px solid rgba(37,28,22,.13)!important;
  background:#fffdf9!important;
  color:#201815!important;
  overflow:hidden!important;
  text-align:left!important;
  text-indent:0!important;
  box-shadow:none!important;
  font-size:0!important;
  line-height:1!important;
}
body.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface] > span,
body.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface] > .room-surface-name,
body.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface] > .room-surface-label,
body.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface] > span,
body.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface] > .room-surface-name,
body.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface] > .room-surface-label{
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  width:0!important;
  height:0!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
}
body.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface]::before,
body.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface]::before,
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel button[data-room-surface]::before{
  display:block!important;
  grid-column:1!important;
  justify-self:start!important;
  align-self:center!important;
  min-width:0!important;
  color:#211916!important;
  font-size:12px!important;
  line-height:1!important;
  font-weight:900!important;
  letter-spacing:.06em!important;
  text-transform:uppercase!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  text-indent:0!important;
  text-shadow:none!important;
}
body.room-visualizer-page button[data-room-surface="left"]::before{content:"LEWA"!important;}
body.room-visualizer-page button[data-room-surface="right"]::before{content:"PRAWA"!important;}
body.room-visualizer-page button[data-room-surface="ceiling"]::before{content:"GÓRA"!important;}
body.room-visualizer-page button[data-room-surface="floor"]::before{content:"DÓŁ"!important;}
body.room-visualizer-page button[data-room-surface="back"]::before{content:"TYŁ"!important;}
body.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface].is-active,
body.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface].is-active{
  background:#8f1725!important;
  border-color:#8f1725!important;
  color:#fff!important;
}
body.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface].is-active::before,
body.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface].is-active::before{
  color:#fff!important;
}
body.room-visualizer-page .room-surface-exclude-toggle,
body.room-visualizer-page button[data-room-surface] > .room-surface-exclude-toggle{
  display:grid!important;
  grid-column:2!important;
  place-items:center!important;
  justify-self:end!important;
  align-self:center!important;
  position:relative!important;
  width:26px!important;
  height:26px!important;
  min-width:26px!important;
  min-height:26px!important;
  max-width:26px!important;
  max-height:26px!important;
  margin:0!important;
  padding:0!important;
  border-radius:999px!important;
  border:1px solid rgba(143,23,37,.30)!important;
  background:#fff!important;
  color:#8f1725!important;
  font-size:15px!important;
  line-height:1!important;
  font-weight:900!important;
  font-style:normal!important;
  text-align:center!important;
  text-indent:0!important;
  box-shadow:0 2px 6px rgba(20,10,8,.08)!important;
  transform:none!important;
  z-index:2!important;
}
body.room-visualizer-page button[data-room-surface].has-excluded-surface,
body.room-visualizer-page button[data-room-surface].is-excluded{
  background:#f6f1ea!important;
  border-style:dashed!important;
  opacity:.8!important;
}
body.room-visualizer-page button[data-room-surface].has-excluded-surface::before,
body.room-visualizer-page button[data-room-surface].is-excluded::before{color:#635752!important;}
body.room-visualizer-page button[data-room-surface].has-excluded-surface > .room-surface-exclude-toggle,
body.room-visualizer-page button[data-room-surface].is-excluded > .room-surface-exclude-toggle,
body.room-visualizer-page .room-surface-exclude-toggle.is-excluded{
  background:#17120f!important;
  color:#fff!important;
  border-color:#17120f!important;
}
body.room-visualizer-page .room-photo-zoom-surface-panel{
  width:186px!important;
  min-width:186px!important;
  padding:10px!important;
  gap:8px!important;
}
body.room-visualizer-page .room-surface-picker.room-surface-picker--text{
  gap:10px!important;
}
@media(max-width:760px){
  body.room-visualizer-page .room-brand-word{font-size:17px!important;letter-spacing:.18em!important;}
  body.room-visualizer-page .room-brand-virtualny{font-size:10px!important;letter-spacing:.12em!important;}
  body.room-visualizer-page .room-photo-zoom-surface-panel{width:170px!important;min-width:170px!important;}
  body.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface],
  body.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface]{height:42px!important;min-height:42px!important;padding-left:15px!important;}
  body.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface]::before,
  body.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface]::before{font-size:11px!important;}
}

/* === GABI FIX 2026-06-10 — czytelne nazwy ścian + czysty topbar FINAL === */
body.room-visualizer-page .room-topbar__brand,
body.room-visualizer-page .room-topbar__brand--gabi,
body.room-visualizer-page .room-brand-word,
body.room-visualizer-page .room-brand-word::before,
body.room-visualizer-page .room-brand-word::after{
  background:transparent!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  filter:none!important;
  border-radius:0!important;
}
body.room-visualizer-page .room-topbar__brand--gabi{
  display:flex!important;
  align-items:center!important;
  gap:28px!important;
  padding:0!important;
  min-width:0!important;
}
body.room-visualizer-page .room-brand-word{
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  height:auto!important;
  padding:0!important;
  margin:0!important;
  white-space:nowrap!important;
  overflow:visible!important;
  line-height:1!important;
}
body.room-visualizer-page .room-brand-virtualny{
  display:inline-block!important;
  position:relative!important;
  left:auto!important;
  top:auto!important;
  transform:none!important;
  margin-right:5px!important;
  color:rgba(45,45,45,.30)!important;
  font-size:11px!important;
  font-weight:800!important;
  letter-spacing:.20em!important;
  text-transform:uppercase!important;
}

/* Buttony ścian — usuwa pseudo-duplikaty i pokazuje prawdziwy tekst */
body.room-visualizer-page button[data-room-surface]::before,
body.room-visualizer-page button[data-room-surface]::after,
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel button[data-room-surface]::before,
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel button[data-room-surface]::after{
  content:none!important;
  display:none!important;
}
body.room-visualizer-page .room-photo-zoom-surface-panel,
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel{
  width:178px!important;
  min-width:178px!important;
  padding:10px!important;
  border-radius:18px!important;
}
body.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface],
body.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface],
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel button[data-room-surface]{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  width:100%!important;
  min-width:0!important;
  height:46px!important;
  min-height:46px!important;
  padding:0 10px 0 18px!important;
  overflow:visible!important;
  text-align:left!important;
  line-height:1!important;
  border-radius:14px!important;
  color:#17120f!important;
  background:#fffdf9!important;
}
body.room-visualizer-page .room-surface-picker.room-surface-picker--text{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
}
body.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface]{
  width:100%!important;
}
body.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface="back"]{
  grid-column:1 / -1!important;
}
body.room-visualizer-page .room-photo-zoom-surface-panel .room-surface-name,
body.room-visualizer-page .room-photo-zoom-surface-panel .room-surface-label,
body.room-visualizer-page .room-surface-picker.room-surface-picker--text .room-surface-name,
body.room-visualizer-page .room-surface-picker.room-surface-picker--text .room-surface-label,
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel .room-surface-name,
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel .room-surface-label{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  position:static!important;
  flex:1 1 auto!important;
  min-width:0!important;
  max-width:calc(100% - 44px)!important;
  margin:0!important;
  padding:0!important;
  transform:none!important;
  text-indent:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  color:#17120f!important;
  font-size:13px!important;
  font-weight:900!important;
  letter-spacing:.055em!important;
  text-transform:uppercase!important;
  line-height:1!important;
  text-align:left!important;
  z-index:2!important;
}
body.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface].is-active,
body.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface].is-active,
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel button[data-room-surface].is-active{
  background:#a41224!important;
  border-color:#a41224!important;
  color:#fff!important;
}
body.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface].is-active .room-surface-name,
body.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface].is-active .room-surface-label,
body.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface].is-active .room-surface-name,
body.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface].is-active .room-surface-label,
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel button[data-room-surface].is-active .room-surface-name,
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel button[data-room-surface].is-active .room-surface-label{
  color:#fff!important;
}
body.room-visualizer-page .room-surface-exclude-toggle,
body.room-visualizer-page button[data-room-surface] > .room-surface-exclude-toggle,
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel .room-surface-exclude-toggle{
  position:static!important;
  flex:0 0 30px!important;
  width:30px!important;
  height:30px!important;
  min-width:30px!important;
  min-height:30px!important;
  margin:0!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:999px!important;
  background:#fff!important;
  border:1px solid rgba(204,58,58,.45)!important;
  box-shadow:0 6px 16px rgba(30,22,18,.08)!important;
  color:#cc3a3a!important;
  font-size:19px!important;
  font-weight:800!important;
  font-style:normal!important;
  line-height:1!important;
  text-align:center!important;
  transform:none!important;
  z-index:3!important;
}
body.room-visualizer-page .room-surface-exclude-toggle.is-excluded,
body.room-visualizer-page button[data-room-surface].has-excluded-surface > .room-surface-exclude-toggle,
body.room-visualizer-page button[data-room-surface].is-excluded > .room-surface-exclude-toggle{
  color:#166534!important;
  border-color:rgba(22,101,52,.35)!important;
}
body.room-visualizer-page button[data-room-surface].has-excluded-surface .room-surface-name,
body.room-visualizer-page button[data-room-surface].has-excluded-surface .room-surface-label,
body.room-visualizer-page button[data-room-surface].is-excluded .room-surface-name,
body.room-visualizer-page button[data-room-surface].is-excluded .room-surface-label{
  color:#635752!important;
}
@media (max-width:760px){
  body.room-visualizer-page .room-photo-zoom-surface-panel,
  body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel{
    width:156px!important;
    min-width:156px!important;
    padding:8px!important;
  }
  body.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface],
  body.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface]{
    height:42px!important;
    min-height:42px!important;
    padding-left:14px!important;
  }
  body.room-visualizer-page .room-photo-zoom-surface-panel .room-surface-name,
  body.room-visualizer-page .room-photo-zoom-surface-panel .room-surface-label,
  body.room-visualizer-page .room-surface-picker.room-surface-picker--text .room-surface-name,
  body.room-visualizer-page .room-surface-picker.room-surface-picker--text .room-surface-label{
    font-size:12px!important;
  }
}

/* === GABI FINAL FIX 2026-06-10 — czyste napisy ścian bez pasków kolorów === */
html body.room-visualizer-page [data-room-surface]::before,
html body.room-visualizer-page [data-room-surface]::after,
html body.room-visualizer-page [data-room-surface] > .room-surface-label::before,
html body.room-visualizer-page [data-room-surface] > .room-surface-label::after,
html body.room-visualizer-page [data-room-surface] > .room-surface-name::before,
html body.room-visualizer-page [data-room-surface] > .room-surface-name::after{
  content:none!important;
  display:none!important;
  width:0!important;
  height:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}

html body.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface],
html body.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface],
html body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel button[data-room-surface]{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  box-sizing:border-box!important;
  width:100%!important;
  height:48px!important;
  min-height:48px!important;
  padding:0 10px 0 18px!important;
  border-radius:16px!important;
  overflow:hidden!important;
  background:#fffdf9!important;
  color:#15100d!important;
  border:1px solid rgba(23,18,15,.13)!important;
  box-shadow:none!important;
}

html body.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface].is-active,
html body.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface].is-active,
html body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel button[data-room-surface].is-active{
  background:#a41224!important;
  border-color:#a41224!important;
  color:#fff!important;
}

html body.room-visualizer-page [data-room-surface] > .room-surface-label,
html body.room-visualizer-page [data-room-surface] > .room-surface-name,
html body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel [data-room-surface] > .room-surface-label,
html body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel [data-room-surface] > .room-surface-name{
  all:unset!important;
  display:block!important;
  flex:1 1 auto!important;
  min-width:0!important;
  max-width:calc(100% - 42px)!important;
  box-sizing:border-box!important;
  color:#15100d!important;
  font-family:inherit!important;
  font-size:13px!important;
  font-weight:900!important;
  letter-spacing:.055em!important;
  line-height:1!important;
  text-transform:uppercase!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  text-align:left!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  opacity:1!important;
  visibility:visible!important;
  transform:none!important;
  text-shadow:none!important;
}

html body.room-visualizer-page [data-room-surface].is-active > .room-surface-label,
html body.room-visualizer-page [data-room-surface].is-active > .room-surface-name,
html body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel [data-room-surface].is-active > .room-surface-label,
html body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel [data-room-surface].is-active > .room-surface-name{
  color:#fff!important;
  background:transparent!important;
}

html body.room-visualizer-page [data-room-surface] > .room-surface-exclude-toggle,
html body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel [data-room-surface] > .room-surface-exclude-toggle{
  position:static!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 31px!important;
  width:31px!important;
  height:31px!important;
  min-width:31px!important;
  min-height:31px!important;
  margin:0!important;
  padding:0!important;
  border-radius:999px!important;
  background:#fff!important;
  border:1px solid rgba(204,58,58,.45)!important;
  color:#cc3a3a!important;
  font-size:18px!important;
  font-weight:800!important;
  font-style:normal!important;
  line-height:1!important;
  text-align:center!important;
  transform:none!important;
  box-shadow:0 6px 16px rgba(30,22,18,.08)!important;
  opacity:1!important;
  visibility:visible!important;
}

html body.room-visualizer-page [data-room-surface].has-excluded-surface > .room-surface-exclude-toggle,
html body.room-visualizer-page [data-room-surface].is-excluded > .room-surface-exclude-toggle,
html body.room-visualizer-page [data-room-surface] > .room-surface-exclude-toggle.is-excluded{
  color:#166534!important;
  border-color:rgba(22,101,52,.35)!important;
}

html body.room-visualizer-page .room-surface-picker.room-surface-picker--text{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
}
html body.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface="back"]{
  grid-column:1 / -1!important;
}
html body.room-visualizer-page .room-photo-zoom-surface-panel{
  width:190px!important;
  min-width:190px!important;
  padding:10px!important;
  gap:9px!important;
}
@media(max-width:760px){
  html body.room-visualizer-page .room-photo-zoom-surface-panel{
    width:172px!important;
    min-width:172px!important;
  }
  html body.room-visualizer-page [data-room-surface] > .room-surface-label,
  html body.room-visualizer-page [data-room-surface] > .room-surface-name{
    font-size:12px!important;
  }
}

/* === GABI HOTFIX 2026-06-10 — nazwy ścian w panelu + mocniejszy VIRTUALNY GABINET 3D === */
html body.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface],
html body.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface],
html body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel button[data-room-surface]{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  box-sizing:border-box!important;
  width:100%!important;
  min-width:0!important;
  height:48px!important;
  min-height:48px!important;
  padding:0 12px 0 18px!important;
  border-radius:16px!important;
  background:#fffdf9!important;
  border:1px solid rgba(31,24,20,.14)!important;
  color:#17120f!important;
  overflow:hidden!important;
  text-align:left!important;
  font-size:0!important;
  line-height:1!important;
  box-shadow:none!important;
}

html body.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface].is-active,
html body.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface].is-active,
html body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel button[data-room-surface].is-active{
  background:#a41224!important;
  border-color:#a41224!important;
  color:#fff!important;
}

/* Chowamy stare spany/kolorowe resztki i rysujemy nazwę raz, zawsze czytelnie */
html body.room-visualizer-page button[data-room-surface] > .room-surface-label,
html body.room-visualizer-page button[data-room-surface] > .room-surface-name{
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  width:0!important;
  height:0!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
}

html body.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface]::before,
html body.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface]::before,
html body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel button[data-room-surface]::before{
  content:""!important;
  display:block!important;
  flex:1 1 auto!important;
  min-width:0!important;
  max-width:calc(100% - 42px)!important;
  color:#17120f!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  font-family:inherit!important;
  font-size:13px!important;
  font-weight:900!important;
  letter-spacing:.055em!important;
  line-height:1!important;
  text-transform:uppercase!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  text-align:left!important;
  opacity:1!important;
  visibility:visible!important;
  transform:none!important;
  text-shadow:none!important;
}
html body.room-visualizer-page button[data-room-surface="left"]::before{content:"LEWA"!important;}
html body.room-visualizer-page button[data-room-surface="right"]::before{content:"PRAWA"!important;}
html body.room-visualizer-page button[data-room-surface="ceiling"]::before{content:"GÓRA"!important;}
html body.room-visualizer-page button[data-room-surface="floor"]::before{content:"DÓŁ"!important;}
html body.room-visualizer-page button[data-room-surface="back"]::before{content:"TYŁ"!important;}

html body.room-visualizer-page button[data-room-surface].is-active::before{
  color:#fff!important;
}

html body.room-visualizer-page button[data-room-surface]::after,
html body.room-visualizer-page button[data-room-surface] > .room-surface-label::before,
html body.room-visualizer-page button[data-room-surface] > .room-surface-label::after,
html body.room-visualizer-page button[data-room-surface] > .room-surface-name::before,
html body.room-visualizer-page button[data-room-surface] > .room-surface-name::after{
  content:none!important;
  display:none!important;
}

html body.room-visualizer-page button[data-room-surface] > .room-surface-exclude-toggle{
  position:static!important;
  flex:0 0 31px!important;
  width:31px!important;
  height:31px!important;
  min-width:31px!important;
  min-height:31px!important;
  max-width:31px!important;
  max-height:31px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin:0!important;
  padding:0!important;
  border-radius:999px!important;
  background:#fff!important;
  border:1px solid rgba(204,58,58,.48)!important;
  color:#cc3a3a!important;
  font-size:18px!important;
  font-weight:900!important;
  font-style:normal!important;
  line-height:1!important;
  text-align:center!important;
  box-shadow:0 4px 12px rgba(30,22,18,.08)!important;
  transform:none!important;
  opacity:1!important;
  visibility:visible!important;
}

html body.room-visualizer-page .room-surface-picker.room-surface-picker--text{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
}
html body.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface="back"]{
  grid-column:1 / -1!important;
}

/* Mocniejszy, ale dalej premium napis w topbarze */
html body.room-visualizer-page .room-brand-word{
  color:#201815!important;
  opacity:1!important;
  filter:none!important;
}
html body.room-visualizer-page .room-brand-virtualny{
  color:rgba(64,60,56,.58)!important;
  opacity:1!important;
  text-shadow:0 1px 0 rgba(255,255,255,.75)!important;
}
html body.room-visualizer-page .room-brand-gabi{
  color:#a53a45!important;
  opacity:1!important;
}
html body.room-visualizer-page .room-brand-net{
  color:#4a4642!important;
  opacity:1!important;
}
html body.room-visualizer-page .room-brand-3d{
  color:rgba(78,72,67,.46)!important;
  opacity:1!important;
}

@media(max-width:760px){
  html body.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface],
  html body.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface]{
    height:44px!important;
    min-height:44px!important;
    padding-left:15px!important;
  }
  html body.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface]::before,
  html body.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface]::before{
    font-size:12px!important;
  }
}

/* === GABI HOTFIX 2026-06-10 — FINAL: real text labels in wall buttons === */
html body.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface],
html body.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface]{
  position:relative!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 32px!important;
  align-items:center!important;
  column-gap:8px!important;
  width:100%!important;
  min-height:46px!important;
  height:46px!important;
  padding:0 8px 0 16px!important;
  border-radius:15px!important;
  background:#fffdf9!important;
  border:1px solid rgba(30,24,19,.16)!important;
  color:#16110e!important;
  font-size:13px!important;
  font-weight:900!important;
  line-height:1!important;
  letter-spacing:.04em!important;
  text-align:left!important;
  overflow:hidden!important;
  box-shadow:none!important;
  text-transform:uppercase!important;
}
html body.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface].is-active,
html body.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface].is-active{
  background:#a41224!important;
  border-color:#a41224!important;
  color:#fff!important;
}

/* No generated/duplicate names or colored bars */
html body.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface]::before,
html body.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface]::after,
html body.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface]::before,
html body.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface]::after,
html body.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface] > span::before,
html body.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface] > span::after,
html body.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface] > span::before,
html body.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface] > span::after{
  content:none!important;
  display:none!important;
  width:0!important;
  height:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}

/* Actual label text: visible, not absolute, not clipped */
html body.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface] > .room-surface-name,
html body.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface] > .room-surface-label,
html body.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface] > .room-surface-name,
html body.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface] > .room-surface-label{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  position:static!important;
  grid-column:1!important;
  grid-row:1!important;
  width:auto!important;
  height:auto!important;
  min-width:0!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  color:#16110e!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  font-family:inherit!important;
  font-size:13px!important;
  font-weight:900!important;
  line-height:1!important;
  letter-spacing:.04em!important;
  text-align:left!important;
  text-shadow:none!important;
  transform:none!important;
  z-index:2!important;
}
html body.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface].is-active > .room-surface-name,
html body.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface].is-active > .room-surface-label,
html body.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface].is-active > .room-surface-name,
html body.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface].is-active > .room-surface-label{
  color:#fff!important;
}

/* X / + fixed on the right */
html body.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface] > .room-surface-exclude-toggle,
html body.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface] > .room-surface-exclude-toggle{
  position:static!important;
  grid-column:2!important;
  grid-row:1!important;
  justify-self:end!important;
  align-self:center!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:30px!important;
  height:30px!important;
  min-width:30px!important;
  min-height:30px!important;
  max-width:30px!important;
  max-height:30px!important;
  margin:0!important;
  padding:0!important;
  border-radius:999px!important;
  background:#fff!important;
  border:1px solid rgba(204,58,58,.48)!important;
  color:#cc3a3a!important;
  font-size:17px!important;
  font-weight:900!important;
  font-style:normal!important;
  line-height:1!important;
  text-align:center!important;
  transform:none!important;
  box-shadow:0 4px 12px rgba(30,22,18,.08)!important;
  opacity:1!important;
  visibility:visible!important;
  z-index:3!important;
}

html body.room-visualizer-page .room-surface-picker.room-surface-picker--text{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
}
html body.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface="back"]{
  grid-column:1 / -1!important;
}

@media(max-width:760px){
  html body.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface],
  html body.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface]{
    height:44px!important;
    min-height:44px!important;
    padding-left:14px!important;
  }
  html body.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface] > .room-surface-name,
  html body.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface] > .room-surface-label,
  html body.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface] > .room-surface-name,
  html body.room-visualizer-page .room-surface-picker.room-surface-picker--text button[data-room-surface] > .room-surface-label{
    font-size:12px!important;
  }
}
/* GABI — OCZYŚĆ POKÓJ / object removal */
.room-clean-open-btn {
  width: 100%;
  margin-top: 10px;
  background: #a31325 !important;
  color: #fff !important;
  border-color: #a31325 !important;
}
.room-clean-modal[hidden] { display: none !important; }
.room-clean-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
}
.room-clean-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 18, 16, .52);
  backdrop-filter: blur(5px);
}
.room-clean-modal__panel {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  display: grid;
  grid-template-rows: auto auto minmax(260px, 1fr) auto;
  gap: 14px;
  padding: 18px;
  border-radius: 22px;
  background: #fbfaf7;
  border: 1px solid rgba(42, 31, 24, .12);
  box-shadow: 0 24px 80px rgba(0,0,0,.28);
}
.room-clean-modal__head,
.room-clean-modal__foot,
.room-clean-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.room-clean-modal__head strong {
  display: block;
  font-size: 15px;
  letter-spacing: .13em;
  color: #15110e;
}
.room-clean-modal__head span,
.room-clean-modal__foot span {
  display: block;
  margin-top: 4px;
  color: rgba(35,31,28,.62);
  font-size: 13px;
}
.room-clean-close {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(163,19,37,.22);
  background: #fff;
  color: #a31325;
  font-weight: 900;
  font-size: 22px;
  line-height: 1;
}
.room-clean-tools {
  justify-content: flex-start;
  flex-wrap: wrap;
  padding: 10px;
  border-radius: 16px;
  background: rgba(255,255,255,.74);
  border: 1px solid rgba(42, 31, 24, .10);
}
.room-clean-tools button,
.room-clean-modal__foot button {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid rgba(42, 31, 24, .14);
  background: #fff;
  color: #15110e;
  font-weight: 800;
  letter-spacing: .04em;
  cursor: pointer;
}
.room-clean-tools button.is-active,
.room-clean-apply {
  background: #15110e !important;
  color: #fff !important;
  border-color: #15110e !important;
}
.room-clean-tools label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: #15110e;
  font-size: 13px;
}
.room-clean-tools input[type="range"] { width: 180px; accent-color: #a31325; }
.room-clean-canvas-wrap {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 320px;
  overflow: auto;
  border-radius: 18px;
  background: #ebe7df;
  border: 1px dashed rgba(42,31,24,.18);
}
.room-clean-canvas-wrap canvas {
  max-width: 100%;
  max-height: 100%;
  touch-action: none;
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(0,0,0,.16);
}
.room-clean-canvas-wrap [data-room-clean-mask-canvas] {
  position: absolute;
  cursor: crosshair;
}
.room-clean-modal__foot { align-items: center; }
.room-clean-modal__foot > div { display: flex; gap: 10px; }
.room-clean-apply[disabled] { opacity: .55; cursor: wait; }

@media (max-width: 760px) {
  .room-clean-modal { padding: 8px; align-items: stretch; }
  .room-clean-modal__panel {
    width: 100%;
    max-height: 100dvh;
    border-radius: 18px;
    padding: 12px;
  }
  .room-clean-modal__head,
  .room-clean-modal__foot { align-items: flex-start; }
  .room-clean-modal__foot,
  .room-clean-modal__head { flex-direction: column; }
  .room-clean-modal__foot > div { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .room-clean-tools input[type="range"] { width: 130px; }
}

/* GABINET VR v46: compact furniture card + palette popover */
.room-visualizer-page .room-product-list{
  gap:8px!important;
  overflow:auto!important;
  padding-right:4px!important;
}
.room-visualizer-page .room-product{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 44px!important;
  grid-template-areas:"main palette" "colors palette" "panel panel"!important;
  align-items:center!important;
  gap:6px 10px!important;
  min-height:72px!important;
  padding:9px 10px!important;
  overflow:visible!important;
}
.room-visualizer-page .room-product__main{
  all:unset!important;
  grid-area:main!important;
  display:grid!important;
  grid-template-columns:76px minmax(0,1fr)!important;
  align-items:center!important;
  gap:10px!important;
  min-width:0!important;
  cursor:pointer!important;
}
.room-visualizer-page .room-product__main img{
  width:76px!important;
  height:52px!important;
  max-width:76px!important;
  max-height:52px!important;
  object-fit:contain!important;
  border-radius:8px!important;
  background:#f1eee9!important;
}
.room-visualizer-page .room-product__name{
  display:block!important;
  min-width:0!important;
  overflow:hidden!important;
}
.room-visualizer-page .room-product__name b,
.room-visualizer-page .room-product__name small{
  display:block!important;
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.room-visualizer-page .room-product__name b{
  color:#18130f!important;
  font-size:12px!important;
  line-height:1.15!important;
  font-weight:950!important;
  letter-spacing:.04em!important;
  text-transform:uppercase!important;
}
.room-visualizer-page .room-product__name small{
  margin-top:3px!important;
  color:#74685e!important;
  font-size:10px!important;
  line-height:1.1!important;
}
.room-visualizer-page .room-product__colors--quick{
  grid-area:colors!important;
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  gap:7px!important;
  min-height:22px!important;
  margin:0 0 0 86px!important;
}
.room-visualizer-page .room-product__color-dot{
  width:18px!important;
  height:18px!important;
  min-width:18px!important;
  min-height:18px!important;
  border:2px solid rgba(255,255,255,.95)!important;
  border-radius:999px!important;
  padding:0!important;
  cursor:pointer!important;
  box-shadow:0 2px 7px rgba(0,0,0,.18), inset 0 1px 3px rgba(255,255,255,.35)!important;
}
.room-visualizer-page .room-product__color-dot.is-active{
  outline:2px solid #b99146!important;
  outline-offset:2px!important;
}
.room-visualizer-page .room-product__palette{
  grid-area:palette!important;
  display:grid!important;
  place-items:center!important;
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  min-height:42px!important;
  border:1px solid rgba(33,27,20,.16)!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#18130f!important;
  cursor:pointer!important;
  box-shadow:0 8px 16px rgba(33,27,20,.06)!important;
}
.room-visualizer-page .room-product__palette svg{
  width:23px!important;
  height:23px!important;
  display:block!important;
}
.room-visualizer-page .room-product__palette.is-active,
.room-visualizer-page .room-product__palette:hover{
  border-color:#b11825!important;
  color:#b11825!important;
  box-shadow:0 0 0 2px rgba(177,24,37,.10),0 10px 20px rgba(33,27,20,.08)!important;
}
.room-visualizer-page .room-vr-colors--popover{
  grid-area:panel!important;
  display:grid!important;
  gap:10px!important;
  margin:8px 0 0!important;
  padding:12px!important;
  border:1px solid rgba(33,27,20,.12)!important;
  border-radius:10px!important;
  background:#fffaf2!important;
  box-shadow:0 16px 34px rgba(33,27,20,.10)!important;
}
.room-visualizer-page .room-vr-colors__head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
}
.room-visualizer-page .room-vr-colors__head strong{
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  color:#18130f!important;
  font-size:12px!important;
  font-weight:950!important;
  letter-spacing:.04em!important;
  text-transform:uppercase!important;
}
.room-visualizer-page .room-vr-colors__close{
  width:28px!important;
  height:28px!important;
  min-width:28px!important;
  border:0!important;
  border-radius:999px!important;
  background:#18130f!important;
  color:#fff!important;
  font-size:15px!important;
  font-weight:950!important;
  cursor:pointer!important;
}
.room-visualizer-page .room-vr-original{
  width:100%!important;
  min-height:36px!important;
  border:1px solid rgba(33,27,20,.14)!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#211b14!important;
  font-size:11px!important;
  font-weight:950!important;
  letter-spacing:.06em!important;
  text-transform:uppercase!important;
  cursor:pointer!important;
}
.room-visualizer-page .room-vr-original.is-active{
  border-color:#b99146!important;
  background:#fff3d8!important;
}
.room-visualizer-page .room-vr-colors__grid{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:8px!important;
}
.room-visualizer-page .room-vr-color{
  display:inline-flex!important;
  align-items:center!important;
  gap:7px!important;
  min-height:34px!important;
  max-width:100%!important;
  padding:4px 10px 4px 5px!important;
  border:1px solid rgba(33,27,20,.14)!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#211b14!important;
  font-size:11px!important;
  font-weight:850!important;
  cursor:pointer!important;
}
.room-visualizer-page .room-vr-color.is-active{
  border-color:#b99146!important;
  box-shadow:0 0 0 2px rgba(215,181,109,.22)!important;
}
.room-visualizer-page .room-vr-color i{
  width:23px!important;
  height:23px!important;
  min-width:23px!important;
  border:1px solid rgba(0,0,0,.18)!important;
  border-radius:999px!important;
  box-shadow:inset 0 1px 3px rgba(255,255,255,.45)!important;
}
.room-visualizer-page .room-vr-color span{
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.room-visualizer-page .room-vr-textures{
  display:grid!important;
  gap:7px!important;
}
.room-visualizer-page .room-vr-textures__title{
  color:#5f5144!important;
  font-size:10px!important;
  font-weight:950!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
}
.room-visualizer-page .room-vr-textures__grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:7px!important;
}
.room-visualizer-page .room-vr-texture{
  min-width:0!important;
  min-height:58px!important;
  border:1px solid rgba(33,27,20,.14)!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#211b14!important;
  padding:5px!important;
  cursor:pointer!important;
  display:grid!important;
  gap:4px!important;
  place-items:center!important;
}
.room-visualizer-page .room-vr-texture.is-active{
  border-color:#b99146!important;
  box-shadow:0 0 0 2px rgba(215,181,109,.22)!important;
}
.room-visualizer-page .room-vr-texture i{
  width:100%!important;
  height:30px!important;
  border-radius:7px!important;
  background-size:cover!important;
  background-position:center!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.35)!important;
}
.room-visualizer-page .room-vr-texture span{
  max-width:100%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  font-size:10px!important;
  font-weight:850!important;
}
.room-visualizer-page .room-vr-colors__custom{
  display:grid!important;
  grid-template-columns:42px minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:8px!important;
}
.room-visualizer-page .room-vr-colors__custom input[type=color]{
  width:42px!important;
  height:34px!important;
  border:0!important;
  background:transparent!important;
  padding:0!important;
  cursor:pointer!important;
}
.room-visualizer-page .room-vr-colors__custom input[type=text]{
  min-width:0!important;
  height:34px!important;
  border:1px solid rgba(33,27,20,.14)!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#211b14!important;
  padding:0 12px!important;
  font-size:11px!important;
  font-weight:800!important;
}
.room-visualizer-page .room-vr-colors__custom button{
  height:34px!important;
  border:0!important;
  border-radius:999px!important;
  background:#18130f!important;
  color:#fff!important;
  padding:0 12px!important;
  font-size:11px!important;
  font-weight:950!important;
  cursor:pointer!important;
}

@media(max-width:520px){
  .room-visualizer-page .room-product{grid-template-columns:minmax(0,1fr) 40px!important;padding:8px!important;}
  .room-visualizer-page .room-product__main{grid-template-columns:62px minmax(0,1fr)!important;gap:8px!important;}
  .room-visualizer-page .room-product__main img{width:62px!important;height:46px!important;}
  .room-visualizer-page .room-product__colors--quick{margin-left:70px!important;}
  .room-visualizer-page .room-vr-textures__grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .room-visualizer-page .room-vr-colors__custom{grid-template-columns:38px minmax(0,1fr)!important;}
  .room-visualizer-page .room-vr-colors__custom button{grid-column:1 / -1!important;}
}

/* GABINET VR v70: tkanina i realne kolory bez popovera palety */
.room-visualizer-page .room-product{
  grid-template-columns:112px minmax(0,1fr) 26px!important;
  grid-template-areas:"main main main" "fabric colors colorNext"!important;
  gap:6px 12px!important;
}
.room-visualizer-page .room-product__main{
  grid-template-columns:76px minmax(0,1fr)!important;
}
.room-visualizer-page .room-product__fabric-switch{
  grid-area:fabric!important;
  display:grid!important;
  grid-template-columns:18px minmax(0,1fr) 18px!important;
  grid-template-rows:minmax(18px,auto) 10px!important;
  align-items:center!important;
  gap:0 4px!important;
  width:112px!important;
  min-width:112px!important;
}
.room-visualizer-page .room-product__fabric-step,
.room-visualizer-page .room-product__color-next{
  appearance:none!important;
  border:0!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
  border-radius:0!important;
  background:transparent!important;
  color:#7b746b!important;
  font-size:18px!important;
  line-height:1!important;
  font-weight:950!important;
  cursor:pointer!important;
  box-shadow:none!important;
}
.room-visualizer-page .room-product__fabric-step{
  width:18px!important;
  height:20px!important;
  min-width:18px!important;
}
.room-visualizer-page .room-product__fabric-step[disabled],
.room-visualizer-page .room-product__color-next[disabled]{
  opacity:.3!important;
  cursor:default!important;
  pointer-events:none!important;
}
.room-visualizer-page .room-product__fabric-name{
  min-width:0!important;
  overflow:visible!important;
  text-overflow:clip!important;
  white-space:nowrap!important;
  text-align:center!important;
  color:#6f6a62!important;
  font-size:9px!important;
  line-height:1!important;
  font-weight:950!important;
  letter-spacing:0!important;
}
.room-visualizer-page .room-product__fabric-count{
  grid-column:1 / -1!important;
  min-width:0!important;
  overflow:hidden!important;
  text-align:center!important;
  color:#8a7b68!important;
  font-size:8px!important;
  line-height:1!important;
  font-weight:800!important;
  letter-spacing:0!important;
}
.room-visualizer-page .room-product__colors--quick{
  margin:0!important;
  padding:4px 0!important;
  min-width:0!important;
  min-height:30px!important;
  flex-wrap:nowrap!important;
  overflow:visible!important;
  align-self:center!important;
  gap:8px!important;
}
.room-visualizer-page .room-product__color-dot{
  flex:0 0 18px!important;
  opacity:1!important;
}
.room-visualizer-page .room-product__color-next{
  grid-area:colorNext!important;
  width:26px!important;
  height:30px!important;
  min-width:26px!important;
  align-self:center!important;
  opacity:1!important;
}
.room-visualizer-page .room-product__palette,
.room-visualizer-page .room-vr-colors--popover{
  display:none!important;
}
@media(max-width:520px){
  .room-visualizer-page .room-product{
    grid-template-columns:96px minmax(0,1fr) 24px!important;
    grid-template-areas:"main main main" "fabric colors colorNext"!important;
  }
  .room-visualizer-page .room-product__main{grid-template-columns:62px minmax(0,1fr)!important;}
  .room-visualizer-page .room-product__fabric-switch{width:96px!important;min-width:96px!important;grid-template-columns:16px minmax(0,1fr) 16px!important;}
  .room-visualizer-page .room-product__fabric-name{font-size:8px!important;}
}

/* === v64: loader modeli 3D w GABINET === */
.room-visualizer-page .room-model-loading-overlay{
  position:absolute!important;
  inset:42px 0 0!important;
  z-index:7!important;
  display:grid!important;
  place-items:center!important;
  pointer-events:none!important;
  background:linear-gradient(180deg,rgba(248,245,239,.42),rgba(248,245,239,.18))!important;
  backdrop-filter:blur(2px)!important;
}
.room-visualizer-page .room-model-loading-overlay[hidden]{display:none!important;}
.room-visualizer-page .room-model-loading-overlay__box{
  display:grid!important;
  place-items:center!important;
  gap:10px!important;
  min-width:min(360px,82%)!important;
  padding:22px 24px!important;
  border:1px solid rgba(33,27,20,.12)!important;
  border-radius:18px!important;
  background:rgba(255,255,255,.92)!important;
  box-shadow:0 24px 70px rgba(33,27,20,.16)!important;
  color:#211b14!important;
  text-align:center!important;
}
.room-visualizer-page .room-model-loading-overlay__box i{
  width:48px!important;
  height:48px!important;
  border-radius:999px!important;
  border:4px solid rgba(215,181,109,.22)!important;
  border-top-color:#b11825!important;
  animation:gabiModelLoaderSpin .78s linear infinite!important;
}
.room-visualizer-page .room-model-loading-overlay__box strong{
  font-size:13px!important;
  letter-spacing:.12em!important;
  text-transform:uppercase!important;
}
.room-visualizer-page .room-model-loading-overlay__box span{
  max-width:300px!important;
  color:rgba(33,27,20,.64)!important;
  font-size:12px!important;
  line-height:1.45!important;
}
@keyframes gabiModelLoaderSpin{to{transform:rotate(360deg)}}

.product-materials{
  display:grid;
  gap:16px;
}
.product-materials h2{
  margin-bottom:0!important;
}
.product-materials__fabrics{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(132px,1fr));
  gap:10px;
}
.product-material-fabric{
  display:grid;
  grid-template-columns:46px 1fr;
  gap:10px;
  align-items:center;
  min-height:62px;
  border:1px solid rgba(33,27,20,.12);
  border-radius:14px;
  padding:8px;
  background:#fff;
  color:#211b14;
  cursor:pointer;
  text-align:left;
}
.product-material-fabric span{
  width:46px;
  height:46px;
  border-radius:12px;
  background-size:cover;
  background-position:center;
  box-shadow:inset 0 0 0 1px rgba(33,27,20,.08);
}
.product-material-fabric strong{
  font-size:12px;
  line-height:1.15;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.product-material-fabric.is-selected{
  border-color:#b11825;
  box-shadow:0 0 0 2px rgba(177,24,37,.08),0 12px 26px rgba(33,27,20,.08);
}
.product-materials__colors{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
}
.product-material-color{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:38px;
  border:1px solid rgba(33,27,20,.12);
  border-radius:999px;
  padding:4px 11px 4px 5px;
  background:#fff;
  color:#211b14;
  font-weight:850;
  cursor:pointer;
}
.product-material-color i{
  width:28px;
  height:28px;
  border-radius:999px;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.75),0 0 0 1px rgba(33,27,20,.12);
}
.product-material-color.is-selected{
  border-color:#b11825;
  background:#fff7f5;
  box-shadow:0 0 0 2px rgba(177,24,37,.08);
}
.product-materials__summary{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
  margin:0;
  color:#6f6257;
  font-size:13px;
}
.product-material-dots,
.favorites-bar__dots{
  display:inline-flex!important;
  align-items:center;
  gap:6px;
}
.product-material-dots i,
.favorites-bar__dots i{
  width:18px;
  height:18px;
  flex:0 0 18px;
  border-radius:999px;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.72),0 0 0 1px rgba(33,27,20,.14),0 4px 10px rgba(33,27,20,.12);
}
.favorites-bar__dots{
  margin-top:5px;
}
.favorites-bar__dots i{
  width:14px;
  height:14px;
  flex-basis:14px;
}
@media(max-width:680px){
  .product-materials__fabrics{grid-template-columns:repeat(2,minmax(0,1fr))}
  .product-material-fabric{grid-template-columns:38px 1fr}
  .product-material-fabric span{width:38px;height:38px}
}

/* === GABI FIX 2026-06-18 — upload pokoi/ścian i klikalne miniatury w podglądzie === */
.room-visualizer-page .room-photo-thumbs,
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-thumbs{
  position:relative!important;
  z-index:80!important;
  pointer-events:auto!important;
}
.room-visualizer-page .room-photo-thumb,
.room-visualizer-page .room-photo-thumb-group,
.room-visualizer-page .room-photo-thumb__wallstrip,
.room-visualizer-page .room-photo-thumb--wall{
  pointer-events:auto!important;
}
.room-visualizer-page .room-wall-photo-flow{
  position:relative!important;
  pointer-events:auto!important;
}
.room-visualizer-page .room-wall-photo-flow .room-wall-photo-add{
  pointer-events:auto!important;
}
.room-visualizer-page .room-wall-photo-flow.has-room-image-ready .room-wall-photo-add{
  pointer-events:auto!important;
}
.room-visualizer-page .room-wall-photo-flow.has-room-image-ready .room-wall-photo-native-input{
  position:absolute!important;
  left:10px!important;
  right:10px!important;
  top:10px!important;
  width:calc(100% - 20px)!important;
  height:40px!important;
  opacity:0!important;
  display:block!important;
  pointer-events:auto!important;
  cursor:pointer!important;
  z-index:25!important;
  font-size:0!important;
}
.room-visualizer-page .room-wall-photo-flow:not(.has-room-image-ready) .room-wall-photo-native-input{
  display:none!important;
  pointer-events:none!important;
}
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-marker{
  z-index:10!important;
}
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel{
  z-index:120!important;
  pointer-events:auto!important;
}
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel button,
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel input{
  pointer-events:auto!important;
}


/* === GABI HARD FIX 2026-06-18 — warstwa klików w pokojach i podglądzie ścian === */
body.room-visualizer-page .room-photo-thumbs,
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-thumbs{
  position:relative!important;
  z-index:500!important;
  pointer-events:auto!important;
}
body.room-visualizer-page .room-photo-thumb-group,
body.room-visualizer-page .room-photo-thumb,
body.room-visualizer-page .room-photo-thumb img,
body.room-visualizer-page .room-photo-thumb span,
body.room-visualizer-page .room-photo-thumb__delete,
body.room-visualizer-page .room-photo-thumb__wallstrip,
body.room-visualizer-page .room-photo-thumb--wall{
  pointer-events:auto!important;
}
body.room-visualizer-page .room-photo-thumb-group{cursor:pointer!important;}
body.room-visualizer-page .room-photo-thumb--add,
body.room-visualizer-page .room-photo-thumb--add *{
  pointer-events:auto!important;
}
body.room-visualizer-page .room-photo-add-native-input{
  display:block!important;
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  opacity:0!important;
  z-index:30!important;
  pointer-events:auto!important;
  cursor:pointer!important;
}
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel,
body.room-visualizer-page .room-photo-zoom-surface-panel{
  position:absolute!important;
  z-index:900!important;
  pointer-events:auto!important;
}
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel button[data-room-surface],
body.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface],
body.room-visualizer-page .room-photo-zoom-surface-panel .room-surface-exclude-toggle,
body.room-visualizer-page .room-wall-photo-flow,
body.room-visualizer-page .room-wall-photo-flow *,
body.room-visualizer-page [data-room-wall-photo-add],
body.room-visualizer-page [data-room-wall-photo-input]{
  pointer-events:auto!important;
}
body.room-visualizer-page .room-wall-photo-flow.has-room-image-ready [data-room-wall-photo-add]{
  pointer-events:auto!important;
}
body.room-visualizer-page .room-wall-photo-flow.has-room-image-ready .room-wall-photo-native-input{
  display:block!important;
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  opacity:0!important;
  z-index:50!important;
  pointer-events:auto!important;
  cursor:pointer!important;
}
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-marker{
  z-index:20!important;
}
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed canvas[data-room-photo-canvas]{
  position:relative!important;
  z-index:21!important;
}


/* === GABI FINAL FIX 2026-06-18 — pokoje i podgląd ścian: klik bez blokad warstw === */
body.room-visualizer-page .room-photo-thumb-group{
  position:relative!important;
  cursor:pointer!important;
  pointer-events:auto!important;
}
body.room-visualizer-page .room-photo-thumb-group::after{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  pointer-events:none!important;
}
body.room-visualizer-page .room-photo-thumb-group > *{
  position:relative!important;
  z-index:1!important;
}
body.room-visualizer-page .room-photo-thumbs,
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-thumbs{
  z-index:1200!important;
  pointer-events:auto!important;
}
body.room-visualizer-page .room-photo-thumb,
body.room-visualizer-page .room-photo-thumb-group,
body.room-visualizer-page .room-photo-thumb__wallstrip,
body.room-visualizer-page .room-photo-thumb--wall,
body.room-visualizer-page .room-photo-thumb img,
body.room-visualizer-page .room-photo-thumb span{
  pointer-events:auto!important;
}
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel,
body.room-visualizer-page .room-photo-zoom-surface-panel{
  z-index:1300!important;
  pointer-events:auto!important;
}
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel button[data-room-surface],
body.room-visualizer-page .room-photo-zoom-surface-panel button[data-room-surface],
body.room-visualizer-page .room-photo-zoom-surface-panel .room-surface-exclude-toggle,
body.room-visualizer-page [data-room-wall-photo-add]{
  pointer-events:auto!important;
  cursor:pointer!important;
}
body.room-visualizer-page .room-wall-photo-flow.has-room-image-ready .room-wall-photo-add{
  pointer-events:auto!important;
  position:relative!important;
  z-index:2!important;
}
body.room-visualizer-page .room-wall-photo-flow .room-wall-photo-native-input,
body.room-visualizer-page [data-room-wall-photo-input]{
  position:fixed!important;
  left:-10000px!important;
  top:0!important;
  width:1px!important;
  height:1px!important;
  min-width:1px!important;
  min-height:1px!important;
  opacity:0!important;
  pointer-events:none!important;
  z-index:-1!important;
}
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-marker{
  z-index:20!important;
}
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed canvas[data-room-photo-canvas]{
  z-index:21!important;
}

/* === GABI DEFINITIVE FIX 2026-06-18 — aktywne kliknięcia w PODGLĄDZIE ŚCIAN i miniaturach pokoi === */
body.room-visualizer-page .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel,
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel{
  z-index:2147483000!important;
  pointer-events:auto!important;
}
body.room-visualizer-page .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel *,
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel *{
  pointer-events:auto!important;
}
body.room-visualizer-page .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel button[data-room-surface],
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-zoom-surface-panel button[data-room-surface],
body.room-visualizer-page [data-room-wall-photo-add],
body.room-photo-zoom-open [data-room-wall-photo-add]{
  position:relative!important;
  z-index:2147483001!important;
  cursor:pointer!important;
  pointer-events:auto!important;
}
body.room-visualizer-page .room-photo-thumbs,
body.room-photo-zoom-open .room-work-card--photo.is-photo-zoomed .room-photo-thumbs{
  z-index:2147482000!important;
  pointer-events:auto!important;
}
body.room-visualizer-page .room-photo-thumb-group,
body.room-visualizer-page .room-photo-thumb,
body.room-visualizer-page .room-photo-thumb--wall,
body.room-visualizer-page .room-photo-thumb__delete,
body.room-visualizer-page .room-photo-thumb__wallstrip{
  pointer-events:auto!important;
  cursor:pointer!important;
}
body.room-visualizer-page [data-room-wall-photo-input]{
  position:fixed!important;
  left:-10000px!important;
  top:0!important;
  width:1px!important;
  height:1px!important;
  opacity:0!important;
  pointer-events:none!important;
  z-index:-1!important;
}

/* === PRODUCT PAGE PRESTIGE V8 — gallery + admin-driven fabrics + mobile === */
.product-page--prestige {
  width: min(1440px, calc(100% - 56px));
  margin: 0 auto;
  padding-top: calc(var(--header-h, 132px) + clamp(34px, 4vw, 62px));
  padding-bottom: 0;
}
.product-prestige-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0 0 clamp(24px, 3vw, 42px);
  color: rgba(33,28,24,.48);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.product-prestige-crumbs a,
.product-prestige-crumbs strong { color: inherit; text-decoration: none; font-weight: 500; }
.product-prestige-crumbs strong { color: #211c18; }
.prestige-product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(420px, .86fr);
  gap: clamp(34px, 5.5vw, 86px);
  align-items: start;
}
.prestige-media {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 22px;
  min-width: 0;
}
.prestige-thumbs {
  display: grid;
  gap: 15px;
  align-content: start;
}
.prestige-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / .88;
  border: 1px solid rgba(33,28,24,.09);
  border-radius: 12px;
  background: rgba(255,255,255,.70);
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 18px 42px rgba(33,28,24,.06);
  transition: transform .22s var(--ease, ease), border-color .22s var(--ease, ease), box-shadow .22s var(--ease, ease);
}
.prestige-thumb:hover,
.prestige-thumb.is-active { transform: translateY(-2px); border-color: #c20f16; box-shadow: 0 20px 48px rgba(33,28,24,.12); }
.prestige-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.prestige-thumb--more {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(23,18,15,.80), rgba(23,18,15,.56));
  color: #fff;
  font-size: 24px;
  letter-spacing: .03em;
}
.prestige-thumb--more small { display: block; font-size: 9px; letter-spacing: .16em; text-transform: uppercase; }
.prestige-main-photo {
  position: relative;
  margin: 0;
  min-height: clamp(560px, 49vw, 710px);
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, #f7f3ed, #e9e0d7);
  box-shadow: 0 34px 90px rgba(33,28,24,.13);
}
.prestige-main-photo::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(0deg, rgba(18,13,10,.18), rgba(18,13,10,0));
  pointer-events: none;
}
.prestige-main-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}
.prestige-gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 50%;
  background: rgba(255,255,255,.78);
  color: #211c18;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 16px 36px rgba(33,28,24,.12);
  transform: translateY(-50%);
  transition: transform .22s var(--ease, ease), background .22s var(--ease, ease), color .22s var(--ease, ease);
}
.prestige-gallery-arrow:hover { background: #211c18; color: #fff; transform: translateY(-50%) scale(1.03); }
.prestige-gallery-arrow--prev { left: 18px; }
.prestige-gallery-arrow--next { right: 18px; }
.prestige-product-info {
  position: sticky;
  top: calc(var(--header-h, 132px) + 22px);
  padding: clamp(12px, 1.4vw, 22px) 0 0;
}
.product-page--prestige .section-kicker {
  margin: 0 0 16px;
  color: #c20f16;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .34em;
  text-transform: uppercase;
}
.product-page--prestige h1 {
  margin: 0 0 18px;
  color: #211c18;
  font-size: clamp(64px, 7.7vw, 118px);
  line-height: .84;
  font-weight: 220;
  letter-spacing: -.075em;
  text-transform: uppercase;
}
.product-page--prestige .product-page__collection {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 clamp(26px, 3vw, 42px);
  color: #c20f16;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.product-page--prestige .product-page__collection::after {
  content: '';
  width: 52px;
  height: 1px;
  background: rgba(194,15,22,.64);
}
.product-page--prestige .product-page__description {
  max-width: 560px;
  margin: 0 0 clamp(30px, 4vw, 56px);
  color: rgba(33,28,24,.68);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.85;
}
.prestige-materials {
  padding: clamp(22px, 3vw, 34px) 0 clamp(24px, 3vw, 40px);
  border-top: 1px solid rgba(33,28,24,.12);
  border-bottom: 1px solid rgba(33,28,24,.12);
}
.prestige-fabric-switch {
  display: grid;
  grid-template-columns: auto 42px 1fr 42px;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.prestige-fabric-switch span {
  color: #211c18;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.prestige-fabric-switch strong {
  min-width: 0;
  color: #211c18;
  font-size: 19px;
  font-weight: 350;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-align: center;
}
.prestige-fabric-switch button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #211c18;
  font-size: 22px;
  cursor: pointer;
  transition: background .2s var(--ease, ease), color .2s var(--ease, ease), transform .2s var(--ease, ease);
}
.prestige-fabric-switch button:hover { background: #211c18; color: #fff; transform: translateY(-1px); }
.prestige-color-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 20px;
}
.prestige-color-pills .product-material-color {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 4px 10px 4px 5px;
  border: 1px solid rgba(33,28,24,.11);
  border-radius: 999px;
  background: rgba(255,255,255,.56);
  color: #211c18;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.prestige-color-pills .product-material-color i {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.16), 0 2px 8px rgba(33,28,24,.12);
}
.prestige-color-pills .product-material-color.is-selected { border-color: #c20f16; box-shadow: 0 0 0 3px rgba(194,15,22,.06); }
.prestige-fabric-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(74px, 1fr));
  gap: 14px;
}
.prestige-fabric-card {
  display: grid;
  gap: 8px;
  justify-items: center;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  color: rgba(33,28,24,.70);
}
.prestige-fabric-card span {
  width: 62px;
  height: 62px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(33,28,24,.08);
  box-shadow: 0 14px 26px rgba(33,28,24,.09);
  transition: transform .2s var(--ease, ease), box-shadow .2s var(--ease, ease), border-color .2s var(--ease, ease);
}
.prestige-fabric-card strong {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.prestige-fabric-card.is-selected span,
.prestige-fabric-card:hover span { border-color: #c20f16; transform: translateY(-2px); box-shadow: 0 17px 34px rgba(33,28,24,.13); }
.prestige-purchase-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) auto;
  gap: clamp(22px, 4vw, 56px);
  align-items: end;
  padding-top: clamp(28px, 4vw, 48px);
}
.prestige-actions {
  display: grid;
  gap: 12px;
  width: min(100%, 420px);
}
.product-page--prestige .product-page__room-button,
.product-page--prestige .product-page__cart-button {
  display: inline-grid;
  place-items: center;
  min-height: 56px;
  width: 100%;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s var(--ease, ease), background .2s var(--ease, ease), color .2s var(--ease, ease), border-color .2s var(--ease, ease);
}
.product-page--prestige .product-page__room-button { border: 0; background: linear-gradient(135deg, #d2aa72, #b98a4f); color: #fff; box-shadow: 0 18px 40px rgba(185,138,79,.25); }
.product-page--prestige .product-page__cart-button { border: 1px solid rgba(33,28,24,.24); background: transparent; color: #211c18; box-shadow: none; }
.product-page--prestige .product-page__room-button:hover,
.product-page--prestige .product-page__cart-button:hover { transform: translateY(-2px); }
.product-page--prestige .product-page__cart-button:hover { background: #211c18; color: #fff; border-color: #211c18; }
.product-page--prestige .product-page__price-box { min-width: 190px; text-align: left; }
.product-page--prestige .product-page__price-box > span {
  display: block;
  margin-bottom: 12px;
  color: rgba(33,28,24,.42);
  font-size: 10px;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.product-page--prestige .product-page__price-box strong {
  display: block;
  color: #211c18;
  font-size: clamp(42px, 4.2vw, 62px);
  font-weight: 260;
  letter-spacing: -.05em;
  line-height: 1;
}
.product-page--prestige .product-page__price-box del { display: block; color: rgba(33,28,24,.42); font-size: 22px; }
.product-page--prestige .product-page__price-box em { font-style: normal; }
.prestige-photo-story {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: clamp(34px, 5vw, 72px) calc(50% - 50vw) clamp(34px, 5vw, 72px);
}
.prestige-photo-story figure { margin: 0; min-height: clamp(240px, 24vw, 410px); overflow: hidden; background: #e7dfd5; }
.prestige-photo-story img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s var(--ease, ease); }
.prestige-photo-story figure:hover img { transform: scale(1.035); }
.prestige-dimensions-card {
  display: grid;
  grid-template-columns: minmax(240px, .78fr) minmax(320px, 1.32fr) minmax(220px, .58fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  margin: 0 0 clamp(34px, 5vw, 70px);
  padding: clamp(26px, 4vw, 54px);
  border: 1px solid rgba(33,28,24,.08);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255,255,255,.78), rgba(247,243,237,.82));
  box-shadow: 0 24px 70px rgba(33,28,24,.08);
}
.prestige-dimensions-copy h2 {
  margin: 0 0 18px;
  color: #211c18;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.08;
  font-weight: 300;
  letter-spacing: -.04em;
}
.prestige-dimensions-copy p,
.prestige-dimensions-copy li { color: rgba(33,28,24,.62); line-height: 1.75; font-size: 14px; }
.prestige-dimensions-copy ul { margin: 16px 0 0; padding-left: 18px; }
.prestige-dimensions-image { margin: 0; }
.prestige-dimensions-image img { display: block; width: 100%; max-height: 360px; object-fit: contain; }
.prestige-feature-list { display: grid; gap: 14px; }
.prestige-feature-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 6px 12px;
  align-items: center;
  color: rgba(33,28,24,.76);
}
.prestige-feature-item i {
  width: 34px;
  height: 34px;
  grid-row: span 2;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #b98a4f;
  background: rgba(185,138,79,.10);
}
.prestige-feature-item svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.prestige-feature-item img { width: 20px; height: 20px; object-fit: contain; }
.prestige-feature-item b { font-size: 12px; line-height: 1.3; }
.prestige-feature-item small { color: rgba(33,28,24,.50); font-size: 11px; }
.prestige-bottom-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr) minmax(320px, .9fr);
  gap: 0;
  margin: 0 calc(50% - 50vw);
  padding: clamp(28px, 4vw, 52px) max(28px, calc((100vw - 1440px) / 2));
  background: radial-gradient(circle at 85% 20%, rgba(185,138,79,.16), transparent 34%), #0f0c0a;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.prestige-bottom-band > div {
  display: grid;
  gap: 8px;
  justify-items: start;
  padding: 0 clamp(14px, 2vw, 34px);
  border-right: 1px solid rgba(255,255,255,.09);
}
.prestige-bottom-band i { color: #c79a59; font-size: 24px; font-style: normal; }
.prestige-bottom-band strong { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.prestige-bottom-band span { color: rgba(255,255,255,.66); font-size: 12px; }
.prestige-virtual-tile {
  display: grid;
  align-content: center;
  min-height: 106px;
  margin-left: clamp(18px, 2vw, 34px);
  padding: 20px 84px 20px 26px;
  border: 1px solid rgba(199,154,89,.34);
  border-radius: 18px;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  position: relative;
  overflow: hidden;
}
.prestige-virtual-tile::after {
  content: '›';
  position: absolute;
  right: 24px;
  top: 50%;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #c79a59;
  color: #16100c;
  font-size: 30px;
  transform: translateY(-50%);
}
.prestige-virtual-tile span { color: rgba(255,255,255,.82); font-size: 18px; letter-spacing: .22em; }
.prestige-virtual-tile strong { display: block; color: #fff; font-size: 28px; letter-spacing: .16em; }
.prestige-virtual-tile small { color: rgba(255,255,255,.70); font-size: 11px; letter-spacing: .10em; text-transform: uppercase; }
@media (max-width: 1180px) {
  .prestige-product-grid { grid-template-columns: 1fr; }
  .prestige-product-info { position: static; }
  .prestige-main-photo { min-height: min(680px, 70vw); }
  .prestige-bottom-band { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
  .prestige-virtual-tile { grid-column: 1 / -1; margin: 10px 24px 0; }
}
@media (max-width: 860px) {
  .product-page--prestige { width: min(100% - 28px, 1440px); padding-top: 160px; }
  .prestige-media { grid-template-columns: 1fr; }
  .prestige-thumbs { order: 2; display: flex; overflow-x: auto; padding-bottom: 8px; }
  .prestige-thumb { flex: 0 0 92px; width: 92px; }
  .prestige-main-photo { min-height: min(600px, 82vw); border-radius: 16px; }
  .prestige-purchase-panel { grid-template-columns: 1fr; }
  .prestige-fabric-strip { grid-template-columns: repeat(4, minmax(70px, 1fr)); }
  .prestige-photo-story { grid-template-columns: repeat(2, 1fr); margin-left: 0; margin-right: 0; }
  .prestige-dimensions-card { grid-template-columns: 1fr; padding: 24px; }
}
@media (max-width: 560px) {
  .product-prestige-crumbs { font-size: 9px; gap: 8px; }
  .product-page--prestige h1 { font-size: clamp(48px, 17vw, 72px); }
  .product-page--prestige .product-page__description { font-size: 14px; line-height: 1.7; }
  .prestige-main-photo { min-height: 86vw; }
  .prestige-gallery-arrow { width: 42px; height: 42px; font-size: 28px; }
  .prestige-gallery-arrow--prev { left: 10px; }
  .prestige-gallery-arrow--next { right: 10px; }
  .prestige-fabric-switch { grid-template-columns: 1fr 36px 1fr 36px; gap: 8px; }
  .prestige-fabric-switch span { grid-column: 1 / -1; }
  .prestige-fabric-switch button { width: 36px; height: 36px; }
  .prestige-fabric-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 8px; }
  .prestige-fabric-card span { width: 54px; height: 54px; }
  .prestige-photo-story { grid-template-columns: 1fr; }
  .prestige-photo-story figure { min-height: 72vw; }
  .prestige-bottom-band { grid-template-columns: 1fr; padding-left: 24px; padding-right: 24px; }
  .prestige-bottom-band > div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.09); padding: 0 0 20px; }
  .prestige-virtual-tile { margin: 0; }
}
