* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --accent: #ff6900;
  --surface: #0a0a0a;
  --cream: #ece6dd;
}

html, body {
  overflow: hidden;
  height: 100%;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: #fff;
  -webkit-font-smoothing: antialiased;
  background: var(--surface);
}

/* ---------- WARSTWA 1: TŁO ---------- */
#bg-container {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  background: #2d5a5e;
  transition: background 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

#bg-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 25%, rgba(0,0,0,0.65) 115%);
  z-index: 0;
  pointer-events: none;
}

/* ---------- WARSTWA 2: OBRAZKI ---------- */
.polo-img {
  position: fixed;
  width: min(80vh, 760px);
  height: min(80vh, 760px);
  object-fit: contain;
  transition:
    top      1s cubic-bezier(0.16, 1, 0.3, 1),
    left     1s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1s cubic-bezier(0.16, 1, 0.3, 1),
    opacity  0.7s ease-out 0.15s;
  pointer-events: none;
  will-change: transform, opacity;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.45));
  -webkit-transform: translateZ(0);
}

.polo-img.state-main {
  opacity: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  z-index: 10;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.45)) blur(0px);
}

.polo-img.state-preview {
  opacity: 0.85;
  top: 88%;
  left: 91%;
  transform: translate(-50%, -50%) scale(0.24) rotate(0deg);
  z-index: 5;
  filter: blur(2px);
}

.polo-img.state-past {
  opacity: 0;
  top: -10%;
  left: 10%;
  transform: translate(-50%, -50%) scale(0.1) rotate(-15deg);
  z-index: 1;
  filter: blur(5px);
}

.polo-img.state-future {
  opacity: 0;
  top: 115%;
  left: 96%;
  transform: translate(-50%, -50%) scale(0.18) rotate(12deg);
  z-index: 1;
  filter: blur(6px);
}

/* ---------- WARSTWA 3: UI ---------- */
.fixed-ui-layer {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
}

.fixed-ui-layer a,
.fixed-ui-layer button,
.fixed-ui-layer .elementor-button {
  pointer-events: auto;
}

/* LOGO + NAWIGACJA KOLEKCJI (góra-środek) */
.ui-logo {
  position: fixed;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  pointer-events: auto;
  white-space: nowrap;
}

.logo-mark {
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: clamp(1.5rem, 3.2vw, 2.75rem);
  letter-spacing: 0.15em;
  padding-left: 0.15em;
  line-height: 1;
}

.logo-sub {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 0.35em;
  color: var(--accent);
  padding-left: 0.35em;
  margin-top: 0.5rem;
}

/* PRZEŁĄCZNIK KOLEKCJI (po bokach logo) */
.nav-tab {
  background: transparent;
  border: none;
  color: #fff;
  font-family: "Bebas Neue", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0.4rem 0.2rem;
  opacity: 0.5;
  transition: opacity 0.25s, color 0.25s;
  position: relative;
}

.nav-tab:hover {
  opacity: 0.85;
}

.nav-tab.active {
  opacity: 1;
  color: var(--accent);
}

.nav-tab.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--accent);
}

/* KOSZYK (góra-prawo) */
.cart-btn {
  position: fixed;
  top: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(10,10,10,0.5);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s;
  backdrop-filter: blur(10px);
}

.cart-btn svg {
  width: 22px;
  height: 22px;
}

.cart-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.08);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-family: "Bebas Neue", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  line-height: 20px;
  text-align: center;
  border: 2px solid var(--surface);
}

.cart-btn:hover .cart-badge {
  background: #fff;
  color: var(--surface);
}

/* LEWA KOLUMNA */
.ui-left {
  position: fixed;
  top: 50%;
  left: 6%;
  transform: translateY(-50%);
  max-width: 380px;
}

.nav-arrows {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(10,10,10,0.5);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s;
  backdrop-filter: blur(10px);
}

.nav-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: scale(1.08);
}

.eyebrow {
  font-family: "Bebas Neue", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.ui-left h1.display {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(4rem, 8vw, 7.5rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
  text-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.serif-sub {
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
  font-weight: 400;
  font-style: italic;
  margin-bottom: 1.25rem;
  opacity: 0.95;
}

.ui-left .desc {
  max-width: 340px;
  font-size: 0.92rem;
  line-height: 1.65;
  opacity: 0.82;
  margin-bottom: 2.2rem;
  font-weight: 300;
}

.elementor-button.cta {
  display: inline-block;
  padding: 1rem 2.25rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  border-radius: 0;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s, letter-spacing 0.25s;
  box-shadow: 0 10px 30px rgba(255,105,0,0.35);
  border: 1px solid var(--accent);
}

.elementor-button.cta:hover {
  background: #fff;
  color: var(--surface);
  border-color: #fff;
  letter-spacing: 0.32em;
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

/* DÓŁ-ŚRODEK */
.ui-center {
  position: fixed;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

#color-label {
  color: var(--accent);
}

.sep {
  opacity: 0.4;
}

.step-indicator {
  opacity: 0.75;
  font-weight: 300;
}

#step-current {
  color: var(--accent);
}

/* DÓŁ-LEWO tagline */
.ui-tagline {
  position: fixed;
  bottom: 2.5rem;
  left: 6%;
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 0.85rem;
  opacity: 0.7;
  max-width: 220px;
  line-height: 1.4;
}

/* PRAWA KOLUMNA */
.ui-right {
  position: fixed;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  text-align: right;
}

.price-label,
.size-label {
  font-family: "Bebas Neue", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 0.5rem;
}

.ui-right .price {
  font-family: "Bebas Neue", sans-serif;
  font-size: 4rem;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 2rem;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.ui-right .price .currency {
  font-size: 1.8rem;
  font-weight: 400;
  opacity: 0.9;
  color: #fff;
}

.sizes {
  display: flex;
  gap: 0.35rem;
  justify-content: flex-end;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.size-btn {
  min-width: 38px;
  height: 36px;
  padding: 0 0.45rem;
  border-radius: 0;
  border: 1px solid rgba(255,255,255,0.4);
  background: transparent;
  color: #fff;
  font-family: "Bebas Neue", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.size-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.size-btn.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.size-btn.active:hover {
  background: #fff;
  color: var(--surface);
  border-color: #fff;
}

/* COLOR PICKER (hero) */
.color-pick-label { margin-top: 0; }

.colors {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  margin-bottom: 1.5rem;
}

.color-swatch {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  cursor: pointer;
  padding: 0;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  position: relative;
}

.color-swatch:hover {
  transform: scale(1.15);
  border-color: rgba(255,255,255,0.7);
}

.color-swatch.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,105,0,0.2);
}

/* HERO ADD-TO-CART */
.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-width: 230px;
  padding: 0.85rem 1rem;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.5);
  color: #fff;
  font-family: "Bebas Neue", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s;
}

.hero-cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.hero-cta .plus { font-size: 1.05rem; line-height: 0.8; }

.hero-cta.added {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.hero-actions { display: inline-flex; gap: 0.5rem; }

.hero-cta-secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
}

.hero-cta-secondary:hover {
  background: #fff;
  color: var(--surface);
  border-color: #fff;
  transform: translateY(-2px);
}

.mobile-only { display: none; }
@media (max-width: 767px) { .mobile-only { display: inline-flex; } }

/* PODPOWIEDŹ SCROLLA */
.scroll-hint {
  position: fixed;
  bottom: 5.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-family: "Bebas Neue", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0.75;
  pointer-events: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
  animation: hintFadeIn 0.8s ease 1.2s both;
}

.scroll-hint.hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(10px);
}

.hint-arrow {
  display: inline-block;
  width: 18px;
  height: 18px;
  animation: hintBounce 1.8s ease-in-out infinite;
}

.hint-arrow svg { width: 100%; height: 100%; }

@keyframes hintBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%      { transform: translateY(6px); opacity: 0.5; }
}

@keyframes hintFadeIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-6px); }
  to   { opacity: 0.75; transform: translateX(-50%) translateY(0); }
}

/* ---------- DRAWER (karta produktu) ---------- */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 99;
  backdrop-filter: blur(6px);
}

.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(560px, 100vw);
  background: var(--surface);
  color: #fff;
  transform: translateX(100%);
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
  display: flex;
  flex-direction: column;
  box-shadow: -30px 0 80px rgba(0, 0, 0, 0.5);
}

.drawer.open {
  transform: translateX(0);
}

.drawer-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
  z-index: 2;
}

.drawer-close:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: rotate(90deg);
}

.drawer-scroll {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.drawer-scroll::-webkit-scrollbar { width: 6px; }
.drawer-scroll::-webkit-scrollbar-track { background: #0a0a0a; }
.drawer-scroll::-webkit-scrollbar-thumb { background: rgba(255, 105, 0, 0.5); border-radius: 3px; }
.drawer-scroll::-webkit-scrollbar-thumb:hover { background: rgba(255, 105, 0, 0.8); }

/* Galeria */
.drawer-gallery {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.drawer-gallery::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 40%, rgba(0,0,0,0.35) 110%);
  pointer-events: none;
}

.gallery-main {
  width: 85%;
  height: 85%;
  object-fit: contain;
  transition: opacity 0.25s;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4));
}

.gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 2.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.thumb {
  width: 64px;
  height: 64px;
  padding: 0;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
}

.thumb:hover {
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.thumb.active {
  border-color: var(--accent);
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.drawer-body {
  padding: 2.5rem 2.75rem 3rem;
}

.drawer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: "Bebas Neue", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.brand-line {
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.drawer-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.25rem;
  letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 0.9rem;
  font-weight: 400;
}

.drawer-price {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.18em;
  color: var(--accent);
}

.drawer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin: 1.75rem 0 1.5rem;
}

.drawer-label {
  display: block;
  font-family: "Bebas Neue", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.drawer-sizes {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.drawer-size-btn {
  padding: 0.75rem 0.25rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-family: "Bebas Neue", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.drawer-size-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.drawer-size-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.drawer-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  margin-bottom: 1rem;
}

.qty-btn {
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: color 0.2s;
}

.qty-btn:hover { color: var(--accent); }

.qty-val {
  width: 44px;
  text-align: center;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.1em;
}

.drawer-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1.1rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  font-family: "Bebas Neue", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
  margin-bottom: 2rem;
}

.drawer-cta:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.drawer-cta .plus {
  font-size: 1.1rem;
}

/* Akordeony */
.drawer-accordion {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.drawer-accordion:last-of-type {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.drawer-accordion summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 0;
  font-family: "Bebas Neue", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s;
}

.drawer-accordion summary::-webkit-details-marker { display: none; }

.drawer-accordion summary:hover { color: var(--accent); }

.acc-arrow {
  font-size: 0.65rem;
  transition: transform 0.25s;
  opacity: 0.7;
}

.drawer-accordion[open] > summary .acc-arrow {
  transform: rotate(180deg);
}

.acc-content {
  padding: 0 0 1.4rem;
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.acc-content p + p { margin-top: 0.9rem; }

/* Material block w akordeonie */
.material-block {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  align-items: start;
  text-transform: none;
}

.material-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  display: block;
}

.material-text h4 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 0.5rem;
  font-weight: 400;
  text-transform: uppercase;
}

.material-text p {
  font-size: 0.82rem;
  line-height: 1.6;
  letter-spacing: 0.01em;
  text-transform: none;
}

/* Tabela size chart */
.size-chart {
  width: 100%;
  border-collapse: collapse;
  font-family: "Bebas Neue", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}

.size-chart th {
  text-align: left;
  padding: 0.65rem 0;
  color: var(--accent);
  font-weight: 400;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.size-chart td {
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #fff;
}

.size-chart tr:last-child td { border-bottom: none; }

/* ---------- fullPage.js ---------- */
#fullpage .section {
  background: transparent !important;
}

.fp-watermark { display: none !important; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .polo-img.state-preview { top: 72%; left: 80%; }
  .polo-img.state-future  { top: 72%; left: 80%; }

  .ui-left { max-width: 320px; left: 4%; }
  .ui-left h1.display { font-size: 4rem; }
  .ui-right .price { font-size: 3rem; }
  .ui-tagline { display: none; }
}

@media (max-width: 767px) {
  /* MOBILE PERFORMANCE: zabij ciężkie efekty Safari */
  .polo-img,
  .polo-img.state-main,
  .polo-img.state-preview,
  .polo-img.state-past,
  .polo-img.state-future {
    filter: none !important;
  }

  .polo-img {
    transition:
      top      0.7s cubic-bezier(0.16, 1, 0.3, 1),
      left     0.7s cubic-bezier(0.16, 1, 0.3, 1),
      transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
      opacity  0.45s ease-out;
  }

  .drawer-backdrop {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(0, 0, 0, 0.78);
  }

  .nav-btn,
  .cart-btn {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(10, 10, 10, 0.8);
  }

  #bg-container {
    transition: background 0.5s ease-out;
  }

  /* TOP BAR: logo w 1. wierszu, taby w 2. wierszu */
  .ui-logo {
    top: 0.9rem;
    width: calc(100% - 6rem);
    max-width: calc(100% - 6rem);
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem 1.4rem;
    white-space: normal;
  }

  .logo-mark {
    order: -1;
    flex: 0 0 100%;
    text-align: center;
    font-size: 1.4rem;
    padding-left: 0;
  }

  .nav-tab { font-size: 0.65rem; letter-spacing: 0.15em; padding: 0.25rem 0; }
  .nav-tab.active::after { bottom: -4px; }

  .cart-btn { top: 0.75rem; right: 0.75rem; width: 38px; height: 38px; }
  .cart-btn svg { width: 16px; height: 16px; }

  /* LEWA KOLUMNA — tylko hero text, kompaktowo na górze */
  .ui-left {
    top: 5.8rem;
    transform: none;
    max-width: 90%;
    left: 5%;
  }
  .nav-arrows { display: none; }
  .ui-left .eyebrow { font-size: 0.7rem; letter-spacing: 0.25em; margin-bottom: 0.3rem; }
  .ui-left h1.display { font-size: 2.3rem; margin-bottom: 0.5rem; }
  .ui-left .serif-sub { font-size: 0.85rem; margin-bottom: 0; }
  .ui-left .desc { display: none; }
  .ui-left .elementor-button.cta { display: none; }

  /* KOSZULKA — w środkowo-górnej połówce, ponad dockiem */
  .polo-img {
    width: min(58vw, 240px);
    height: min(58vw, 240px);
  }
  .polo-img.state-main { top: 42%; }

  /* Miniatura: na górnej połówce obok głównej, dobrze nad dockiem */
  .polo-img.state-preview {
    top: 42%;
    left: 88%;
    transform: translate(-50%, -50%) scale(0.22) rotate(0deg);
    opacity: 0.6;
  }
  .polo-img.state-future {
    top: 100%;
    left: 96%;
    transform: translate(-50%, -50%) scale(0.18) rotate(12deg);
  }

  /* DOLNY DOCK — full width, gradient, wycentrowany */
  .ui-right {
    top: auto;
    bottom: 0;
    right: 0;
    left: 0;
    transform: none;
    text-align: center;
    padding: 1.25rem 1rem 1.25rem;
    background: linear-gradient(to top,
      rgba(10,10,10,0.96) 0%,
      rgba(10,10,10,0.88) 60%,
      rgba(10,10,10,0) 100%);
    z-index: 8;
  }

  .price-label,
  .size-label,
  .color-pick-label {
    text-align: center;
    font-size: 0.6rem;
    letter-spacing: 0.25em;
    margin-bottom: 0.3rem;
    opacity: 0.5;
  }

  /* Ukryj label PRICE — duża cyfra mówi sama za siebie */
  .price-label { display: none; }

  .ui-right .price {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 0.75rem;
    line-height: 1;
  }
  .ui-right .price .currency { font-size: 0.9rem; }

  .colors {
    justify-content: center;
    gap: 0.55rem;
    margin-bottom: 0.85rem;
  }
  .color-swatch { width: 24px; height: 24px; }

  .sizes {
    justify-content: center;
    gap: 0.35rem;
    margin-bottom: 1rem;
    max-width: none;
    margin-left: 0;
  }
  .size-btn {
    min-width: 38px;
    height: 32px;
    font-size: 0.72rem;
    padding: 0 0.3rem;
  }

  .hero-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    width: 100%;
  }
  .hero-cta {
    flex: 1 1 0;
    min-width: 0;
    padding: 0.85rem 0.5rem;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
  }
  .hero-cta-secondary { padding: 0.85rem 0.5rem; }

  /* Indykator (AZURE / 01 — 03) ukryty — swatche pełnią tę rolę */
  .ui-center { display: none; }
  .ui-tagline { display: none; }
  .scroll-hint { display: none; }
}

/* WYŻSZE TELEFONY (iPhone XR / XS / 11 / 12 mini, Pixel 5, ~700-850px wysokości) */
@media (max-width: 767px) and (min-height: 700px) {
  .polo-img {
    width: min(85vw, 460px);
    height: min(85vw, 460px);
  }
  .polo-img.state-main { top: 47%; }
  .polo-img.state-preview { top: 47%; }
  .ui-left { top: 6.5rem; }
  .ui-left h1.display { font-size: 2.7rem; }
  .ui-left .serif-sub { font-size: 0.95rem; }
}

/* NAJWYŻSZE (XS Max, Plus, Pro Max, ~850+ wysokości) */
@media (max-width: 767px) and (min-height: 850px) {
  .polo-img {
    width: min(92vw, 560px);
    height: min(92vw, 560px);
  }
  .polo-img.state-main { top: 48%; }
  .polo-img.state-preview { top: 48%; }
  .ui-left { top: 7rem; }
  .ui-left h1.display { font-size: 3.1rem; }

  /* DRAWER na mobile */
  .drawer { width: 100vw; }
  .drawer-body { padding: 2rem 1.5rem 2rem; }
  .drawer-title { font-size: 1.8rem; }
  .drawer-sizes { grid-template-columns: repeat(3, 1fr); }
  .drawer-close { top: 0.75rem; right: 0.75rem; width: 38px; height: 38px; }
  .gallery-thumbs { padding: 0.75rem 1.5rem; }
  .thumb { width: 56px; height: 56px; }
  .material-block { grid-template-columns: 90px 1fr; gap: 0.75rem; }
  .material-img { width: 90px; height: 90px; }
}
