/* ==========================================================================
   VEINROX — SZABLON STRONY PRODUKTU (css/product.css)
   Współdzieli tokeny, typografię i estetykę z css/styles.css.
   ========================================================================== */

/* --- 0. Typografia: Instrument Serif (nagłówki) & Manrope (tekst) --- */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/instrument-serif-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/instrument-serif-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../assets/fonts/manrope-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../assets/fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* --- 1. Główny Układ Strony Produktu --- */
.product-page-main {
  min-height: calc(100vh - var(--header-height-desktop));
  padding-top: clamp(24px, 3.5vw, 48px);
  padding-bottom: clamp(60px, 8vw, 100px);
}

.product-detail-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: clamp(20px, 4vw, 48px);
  padding-right: clamp(20px, 4vw, 48px);
}

/* Subtelny pasek nawigacji powrotnej */
.product-breadcrumb-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: clamp(20px, 3vw, 36px);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.product-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  text-transform: none;
  transition: color 0.2s ease;
  min-height: 44px;
}

.product-back-link:hover {
  color: #ffffff;
}

.product-back-link:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.7);
  outline-offset: 4px;
}

.product-collection-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  text-transform: uppercase;
}

/* --- 2. Siatka Produktu (2 kolumny na desktopie, 1 kolumna na mobile) --- */
.product-grid-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  grid-template-areas:
    "gallery header"
    "gallery purchase"
    "gallery accordions";
  gap: clamp(32px, 5vw, 84px);
  align-items: start;
}

/* --- 3. Lewa Kolumna: Galeria Produktu (Pionowe miniatury po lewej + Duże zdjęcie) --- */
.product-gallery-col {
  grid-area: gallery;
  position: sticky;
  top: calc(var(--header-height-desktop) + 24px);
  display: flex;
  flex-direction: column;
}

.product-header-block {
  grid-area: header;
}

.product-purchase-block {
  grid-area: purchase;
}

.product-details-accordions {
  grid-area: accordions;
}

.product-gallery-layout {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
}

/* Pionowy pasek miniatur po lewej stronie głównego zdjęcia */
.product-thumbnails-aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 72px;
  flex-shrink: 0;
}

.product-thumb-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  width: 72px;
  text-align: center;
  transition: opacity 0.2s ease;
  opacity: 0.68;
}

.product-thumb-item:hover {
  opacity: 0.92;
}

.product-thumb-item.is-active {
  opacity: 1;
}

.product-thumb-frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 90px;
  background-color: #0c0c0e;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: border-color 0.2s ease;
  overflow: hidden;
}

.product-thumb-item:focus-visible .product-thumb-frame {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

/* Aktywna miniatura: subtelna linia bone/off-white pod zdjęciem */
.product-thumb-item.is-active .product-thumb-frame {
  border-color: rgba(236, 234, 229, 0.6);
}

.product-thumb-item.is-active .product-thumb-frame::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #eceae5;
}

.product-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

.product-thumb-label {
  display: none !important;
}

/* Główny obszar zdjęcia */
.product-gallery-main-wrap {
  flex: 1;
  min-width: 0;
}

.product-gallery-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: min(72vh, 660px);
  background-color: #0a0a0c;
  border: none; /* Bez widocznej, ciężkiej ramki */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  cursor: zoom-in;
}

.product-gallery-stage:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.7);
  outline-offset: 2px;
}

.product-gallery-canvas {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-gallery-img {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 88%;
  height: 88%;
  max-width: 88%;
  max-height: 88%;
  object-fit: contain; /* Pełna sylwetka ubrania: bezpieczny margines na kaptur i dół bluzy */
  object-position: center center;
  background-color: transparent;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.6));
  transition: opacity 160ms cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
  will-change: opacity;
}

/* Dopasowanie skali koszulek */
.product-gallery-stage--tee .product-gallery-img {
  width: 88%;
  height: 88%;
  max-width: 88%;
  max-height: 88%;
}

.product-gallery-img--primary {
  opacity: 1;
  z-index: 1;
}

.product-gallery-img--secondary {
  opacity: 0;
  z-index: 2;
}

/* Obsługa elementu <picture> z WebP (Etap 3) */
.product-gallery-picture {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 88%;
  height: 88%;
  max-width: 88%;
  max-height: 88%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: opacity 160ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity;
}

.product-gallery-picture .product-gallery-img {
  position: relative;
  inset: auto;
  margin: auto;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
}

.product-gallery-picture--primary {
  opacity: 1;
  z-index: 1;
}

.product-gallery-picture--secondary {
  opacity: 0;
  z-index: 2;
}

/* Uniwersalna obsługa wielu widoków w galerii (0, 1, 2) */
.product-gallery-picture--item {
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}

.product-gallery-stage[data-active-view="0"] .product-gallery-picture--0 {
  opacity: 1;
  z-index: 3;
  pointer-events: auto;
}

.product-gallery-stage[data-active-view="1"] .product-gallery-picture--1 {
  opacity: 1;
  z-index: 3;
  pointer-events: auto;
}

.product-gallery-stage[data-active-view="2"] .product-gallery-picture--2 {
  opacity: 1;
  z-index: 3;
  pointer-events: auto;
}

/* Fallback kompatybilności wstecznej dla 2 widoków (koszulki) */
.product-gallery-stage[data-active-view="1"] .product-gallery-img--primary,
.product-gallery-stage[data-active-view="1"] .product-gallery-picture--primary:not(.product-gallery-picture--item) {
  opacity: 0;
}

.product-gallery-stage[data-active-view="1"] .product-gallery-img--secondary,
.product-gallery-stage[data-active-view="1"] .product-gallery-picture--secondary:not(.product-gallery-picture--item) {
  opacity: 1;
}

/* Styl dla zdjęć na modelu (pełny kadr bez cienia mockupu) */
.product-gallery-img--model,
.product-gallery-stage .product-gallery-picture .product-gallery-img--model {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  filter: none !important;
}

/* Przyciski nawigacji poprzedni/następny widok (desktop: 48x48px, ikona 24px, powiększone i łatwe w kliknięciu) */
.product-gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(12, 12, 15, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 2px;
  color: #f2f0eb;
  cursor: pointer;
  z-index: 15;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.product-gallery-nav-btn:hover {
  background-color: rgba(24, 24, 30, 0.95);
  border-color: rgba(255, 255, 255, 0.45);
  color: #ffffff;
  transform: translateY(-50%) scale(1.05);
}

.product-gallery-nav-btn:active {
  background-color: rgba(6, 6, 8, 0.98);
  border-color: rgba(255, 255, 255, 0.55);
  color: #ffffff;
  transform: translateY(-50%) scale(0.95);
}

.product-gallery-nav-btn:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.gallery-nav-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  stroke: currentColor;
  stroke-width: 2.2;
  pointer-events: none;
  transition: transform 0.15s ease;
}

.product-gallery-nav-prev {
  left: 14px;
}

.product-gallery-nav-prev:hover .gallery-nav-icon {
  transform: translateX(-1px);
}

.product-gallery-nav-next {
  right: 14px;
}

.product-gallery-nav-next:hover .gallery-nav-icon {
  transform: translateX(1px);
}

/* Podpis widoku ukryty */
.product-gallery-status-bar,
.gallery-view-caption {
  display: none !important;
}

/* --- 4. Prawa Kolumna: Hierarchia Produktu & Informacje --- */
.product-info-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.product-header-block {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-bottom: none;
  padding-bottom: 0;
}

.product-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-collection-tag {
  font-family: var(--font-sans);
  font-size: 0.75rem; /* 12px */
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  text-transform: uppercase;
}

/* Nazwa produktu: Instrument Serif, 40-50px desktop, regular weight, bone off-white */
.product-main-title {
  font-family: var(--font-serif);
  font-size: clamp(38px, 4.2vw, 50px);
  font-weight: 400;
  letter-spacing: normal;
  color: #eceae5;
  line-height: 1.1;
  margin: 6px 0 0 0;
  text-transform: none;
}

/* Krótki opis: Manrope, ~15.5px, odstęp od tytułu: 18px */
.product-short-desc {
  font-family: var(--font-sans);
  font-size: 0.96875rem; /* ~15.5px */
  line-height: 1.6;
  color: #b3b0a6;
  margin-top: 18px;
  margin-bottom: 0;
  max-width: 520px;
}

/* Quote specjalny (np. Poisoned veins, golden soul dla Black Veins Tee) */
.product-quote-badge {
  display: inline-block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.125rem;
  line-height: 1.4;
  color: #dfdbcf;
  padding: 10px 14px;
  margin-top: 16px;
  margin-bottom: 0;
  background-color: rgba(255, 255, 255, 0.02);
  border-left: 2px solid rgba(255, 255, 255, 0.25);
  white-space: pre-line;
}

/* Sekcja zakupu / statusu: odstęp od opisu / quote: 28px */
.product-add-to-cart-section {
  margin-top: 28px;
  margin-bottom: 0;
  padding: 0;
  border: none;
}

/* Krótka linia parametrów jest widoczna wyłącznie na mobile (#4 kolejności) */
.product-spec-summary-line {
  display: none !important;
}

/* Czysty, spokojny status dostępności bez obcego panelu i bocznej ramki */
.product-availability-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  background: transparent;
  border: none;
  margin: 0;
}

.product-availability-status {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #eceae5;
  margin: 0;
  line-height: 1.4;
}

.product-availability-sub {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  color: var(--text-dim, #8e8e94);
  margin: 0;
  line-height: 1.5;
}

/* --- 4b. Pasek informacyjny (Top Ticker Bar) --- */
.product-top-ticker-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--text-muted, #a8a59e);
  text-transform: uppercase;
  padding: 9px 14px;
  margin-bottom: clamp(16px, 2.5vw, 24px);
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  text-align: center;
}

.product-top-ticker-bar .ticker-item {
  color: #dfdbcf;
}

.product-top-ticker-bar .ticker-sep {
  color: rgba(255, 255, 255, 0.2);
}

/* Oznaczenie typu produktu (HOODIE / TEE) */
.product-type-badge {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #eceae5;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 2px 8px;
  border-radius: 2px;
}

/* Dyskretne oznaczenie wizualizacji */
.product-visualization-disclaimer {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  color: var(--text-dim, #73737a);
  text-align: center;
  margin: 10px 0 0 0;
  font-style: italic;
}

/* --- 4c. Blok Zaufania przy CTA --- */
.product-trust-block {
  margin-top: 22px;
  padding: 16px 18px;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2px;
}

.product-trust-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-trust-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #b3b0a6;
}

.product-trust-item strong {
  color: #eceae5;
  font-weight: 600;
}

.product-trust-bullet {
  color: var(--text-dim, #73737a);
  font-size: 1rem;
  line-height: 1;
}

.product-trust-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.product-trust-link {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted, #a8a59e);
  text-decoration: underline;
  text-underline-offset: 3px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease;
}

.product-trust-link:hover {
  color: #ffffff;
}

.product-trust-link:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.product-trust-link-sep {
  color: rgba(255, 255, 255, 0.2);
  user-select: none;
}

/* --- 4d. Sekcja PRZED ZAKUPEM --- */
.product-prepurchase-section {
  margin-top: 26px;
  padding: 22px 20px;
  background-color: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 2px;
}

.product-prepurchase-heading {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #eceae5;
  margin: 0 0 16px 0;
}

.product-prepurchase-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.product-prepurchase-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.product-prepurchase-label {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8e8e94;
}

.product-prepurchase-text {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #b3b0a6;
  margin: 0;
}

.prepurchase-inline-link {
  color: #eceae5;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.prepurchase-inline-link:hover {
  color: #ffffff;
}

/* --- 4e. Mobilny Sticky CTA --- */
.product-sticky-cta {
  position: fixed;
  bottom: var(--vrx-cookie-offset, 0px);
  left: 0;
  right: 0;
  z-index: 95;
  background-color: rgba(10, 10, 12, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 10px 16px;
  padding-bottom: var(--vrx-cta-pb, max(10px, env(safe-area-inset-bottom, 10px)));
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, bottom 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-sticky-cta.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.product-sticky-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: var(--max-width, 1400px);
  margin: 0 auto;
}

.product-sticky-cta-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.product-sticky-cta-title {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  color: #eceae5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 170px;
}

.product-sticky-cta-price {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
}

.product-sticky-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  background-color: #eceae5;
  color: #070709;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid #eceae5;
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.1s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.product-sticky-cta-btn:active {
  transform: scale(0.98);
}

.product-sticky-cta-btn:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

@media (min-width: 992px) {
  .product-sticky-cta {
    display: none !important;
  }
}

/* --- 5. Sekcje Szczegółów (Akordeony): odstęp od zakupu/statusu: 34px --- */
.product-details-accordions {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 34px;
}

.product-accordion {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.product-accordion-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  font-family: var(--font-sans);
  font-size: 0.8125rem; /* 13px */
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #eceae5;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none !important;
  outline: none;
  transition: color 0.2s ease;
  min-height: 52px;
  box-sizing: border-box;
}

.product-accordion-summary::-webkit-details-marker {
  display: none !important;
}

.product-accordion-summary::marker {
  display: none !important;
}

.product-accordion-summary:hover {
  color: #ffffff;
}

.product-accordion-summary:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

/* Dokładnie jeden znak przy każdym nagłówku: + gdy zamknięty, − gdy otwarty, wyrównany do prawej */
.product-accordion-icon {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  line-height: 1;
  font-weight: 300;
  color: var(--text-dim, #8e8e94);
  transition: color 0.2s ease;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  margin-left: auto;
  user-select: none;
  pointer-events: none;
}

.product-accordion-icon::before {
  content: '+';
  display: block;
  font-size: 1.25rem;
  line-height: 1;
}

.product-accordion[open] > .product-accordion-summary .product-accordion-icon::before {
  content: '−'; /* Unicode minus U+2212 */
}

.product-accordion[open] > .product-accordion-summary .product-accordion-icon {
  color: #ffffff;
}

.product-accordion-content {
  padding-bottom: 22px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #b3b0a6;
  max-width: 520px;
}

.product-accordion-content p {
  margin-bottom: 12px;
}

.product-accordion-content p:last-child {
  margin-bottom: 0;
}

/* Lista parametrów i pielęgnacji */
.product-specs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  margin: 0;
}

.product-spec-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #dfdbcf;
}

.product-spec-dot {
  color: var(--text-dim);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  line-height: 1.5;
}

/* Tabela Rozmiarów: Podgląd wewnątrz akordeonu */
.size-guide-preview-box {
  margin-top: 4px;
}

.size-guide-open-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 12px 16px;
  color: var(--color-text-primary);
  cursor: pointer;
  text-align: left;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.size-guide-open-btn:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.28);
}

.size-guide-open-btn:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.size-guide-preview-thumb {
  width: 88px;
  height: 54px;
  object-fit: contain;
  background: #040406;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  flex-shrink: 0;
  filter: none !important;
}

.size-guide-open-label {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.size-guide-open-title {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: #eceae5;
}

.size-guide-open-hint {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Wskazówki pomiarowe (Akordeon i Modal) */
.size-guide-accordion-notes-box {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.size-guide-notes-heading {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 10px;
}

.size-guide-notes-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.size-guide-note-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #dfdbcf;
}

.size-guide-note-dot {
  color: var(--text-dim);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  line-height: 1.5;
  flex-shrink: 0;
}

/* --- 6. Lightbox Zoom Modal (Powiększenie produktu WCAG 2.2 AA) --- */
.product-zoom-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.product-zoom-modal.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.product-zoom-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(6, 6, 8, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.product-zoom-topbar {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(6, 6, 8, 0.85);
  flex-shrink: 0;
}

.product-zoom-title {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #eceae5;
  text-transform: uppercase;
}

.product-zoom-close-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #eceae5;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 16px;
  border-radius: 2px;
  cursor: pointer;
  min-height: 44px;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.product-zoom-close-btn:hover {
  border-color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.product-zoom-close-btn:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.product-zoom-body {
  position: relative;
  z-index: 5;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
}

.product-zoom-img {
  max-width: 90vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 36px rgba(0, 0, 0, 0.85));
  user-select: none;
  -webkit-user-select: none;
}

/* Przyciski nawigacji w modalu powiększenia */
.product-zoom-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(15, 15, 20, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 2px;
  color: #eceae5;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.product-zoom-nav-btn:hover {
  background-color: rgba(28, 28, 36, 0.95);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

.product-zoom-nav-btn:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.product-zoom-nav-prev {
  left: 24px;
}

.product-zoom-nav-next {
  right: 24px;
}

.product-zoom-controls {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  gap: 8px;
  background-color: rgba(13, 13, 16, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 4px;
  border-radius: 2px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10;
}

.product-zoom-view-btn {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  background: transparent;
  border: none;
  padding: 8px 16px;
  border-radius: 2px;
  cursor: pointer;
  min-height: 40px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.product-zoom-view-btn:hover {
  color: #ffffff;
}

.product-zoom-view-btn.is-active {
  color: #000000;
  background-color: #eceae5;
  font-weight: 600;
}

/* =========================================================================
   7. MODAL TABELI ROZMIARÓW (WCAG 2.2 AA)
   Czyste renderowanie, zachowanie proporcji, brak filtrów kolorów, zoom 100%
   ========================================================================= */
.size-guide-modal {
  position: fixed;
  inset: 0;
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
}

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

.size-guide-modal-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(4, 4, 6, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.size-guide-modal-dialog {
  position: relative;
  z-index: 2;
  width: min(94vw, 1160px);
  height: min(90vh, 850px);
  background-color: #09090b;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.92);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.size-guide-modal-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 24px;
  background-color: #09090b;
  border-bottom: 1px solid #1c1c1f;
  position: sticky;
  top: 0;
  z-index: 10;
  flex-shrink: 0;
}

.size-guide-modal-title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #eceae5;
}

.size-guide-modal-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.size-guide-zoom-btn,
.size-guide-modal-close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #eceae5;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  min-height: 44px;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
  user-select: none;
  -webkit-user-select: none;
}

.size-guide-zoom-btn:hover,
.size-guide-modal-close-btn:hover {
  border-color: #ffffff;
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.size-guide-zoom-btn:focus-visible,
.size-guide-modal-close-btn:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.size-guide-modal-body {
  flex: 1;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 24px;
  background-color: #040406;
}

.size-guide-modal-body:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.35);
  outline-offset: -2px;
}

.size-guide-modal-content-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1060px;
  margin: auto 0;
  gap: 18px;
}

.size-guide-image-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.size-guide-modal-notes-box {
  width: 100%;
  max-width: 860px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 14px 18px;
  text-align: left;
}

.size-guide-modal-notes-box .size-guide-notes-heading {
  margin-bottom: 8px;
}

.size-guide-modal-notes-box .size-guide-note-item {
  color: #eceae5;
  font-size: 0.8125rem;
  line-height: 1.5;
}

.size-guide-modal-img {
  display: block;
  max-width: 100%;
  max-height: calc(88vh - 80px);
  width: auto;
  height: auto;
  object-fit: contain;
  filter: none !important;
  cursor: zoom-in;
  user-select: none;
  -webkit-user-select: none;
  border-radius: 2px;
}

/* Stan powiększenia 100% (Pełny rozmiar) */
.size-guide-image-container.is-zoomed {
  align-items: flex-start;
  justify-content: flex-start;
  width: max-content;
  height: max-content;
}

.size-guide-image-container.is-zoomed .size-guide-modal-img {
  max-width: none;
  max-height: none;
  width: auto;
  height: auto;
  cursor: zoom-out;
}

/* --- 8. Responsywność (< 992px oraz < 768px, testowane 430px, 390px, 360px) --- */
@media (max-width: 991px) {
  .product-grid-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .product-gallery-col {
    position: static;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }

  .product-info-col {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 767px) {
  .product-page-main {
    padding-top: 16px;
    padding-bottom: 60px;
  }

  .product-detail-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .product-breadcrumb-bar {
    margin-bottom: 18px;
    padding-bottom: 10px;
  }

  /* Siatka produktu na telefonie: uporządkowana kolumna pionowa */
  .product-grid-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
  }

  /* 1. Nagłówek produktu (DROP 001, Nazwa, Cena, Krótki opis) */
  .product-header-block {
    order: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    margin-bottom: 14px !important;
  }

  /* 2. Galeria produktu z oznaczeniem wizualizacji */
  .product-gallery-col {
    order: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 18px 0 !important;
    position: static !important;
  }

  /* 3. Blok zakupowy (Parametry, Rozmiary, CTA, Blok zaufania, Przed zakupem) */
  .product-purchase-block {
    order: 3 !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    margin-bottom: 24px !important;
  }

  /* 4. Rozwijane sekcje ze szczegółami (Akordeony) */
  .product-details-accordions {
    order: 4 !important;
    width: 100% !important;
    margin-top: 16px !important;
  }

  /* Galeria na telefonie: zdjęcie u góry, bezpośrednio pod nim dwie miniatury */
  .product-gallery-layout {
    flex-direction: column;
    gap: 12px;
  }

  .product-gallery-main-wrap {
    order: 1;
    width: 100%;
  }

  .product-gallery-stage {
    /* Skalowany, kompaktowy kadr na telefonie — optymalna wysokość nad zgięciem */
    aspect-ratio: 1 / 1 !important;
    max-width: 320px !important;
    max-height: 46vh !important;
    margin: 0 auto !important;
    width: 100% !important;
  }

  /* Płótno i skalowanie zdjęć na mobile */
  .product-gallery-picture {
    width: 94% !important;
    height: 94% !important;
    max-width: 94% !important;
    max-height: 94% !important;
  }

  /* Umiarkowane powiększenie produktu na telefonie — wypełnienie przestrzeni w stronę strzałek z bezpiecznym marginesem */
  .product-gallery-img {
    width: 95% !important;
    height: 95% !important;
    max-width: 95% !important;
    max-height: 95% !important;
    object-fit: contain !important;
    object-position: center center !important;
  }

  .product-gallery-stage .product-gallery-picture .product-gallery-img--model {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    filter: none !important;
  }

  .product-gallery-stage--tee .product-gallery-img {
    width: 95% !important;
    height: 95% !important;
    max-width: 95% !important;
    max-height: 95% !important;
  }

  /* Dyskretne strzałki galerii na telefonie — obszar dotyku 44x44px, widoczna powierzchnia 32x32px */
  .product-gallery-nav-btn {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    z-index: 15 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    user-select: none !important;
    -webkit-tap-highlight-color: transparent !important;
    transition: opacity 150ms ease !important;
  }

  /* Widoczna powierzchnia przycisku: 32x32px, subtelna czerń 65%, cienka linia */
  .product-gallery-nav-btn::before {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 32px !important;
    height: 32px !important;
    background-color: rgba(9, 9, 10, 0.65) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    pointer-events: none !important;
    z-index: 1 !important;
    transition: opacity 150ms ease, background-color 150ms ease, border-color 150ms ease !important;
  }

  /* Zmniejszona ikona chevronu do 15px */
  .gallery-nav-icon {
    width: 15px !important;
    height: 15px !important;
    position: relative !important;
    z-index: 2 !important;
    stroke: currentColor !important;
    stroke-width: 2 !important;
    color: #eceae5 !important;
    pointer-events: none !important;
    transform: none !important;
    transition: opacity 150ms ease !important;
  }

  /* Położenie 4px od krawędzi galerii */
  .product-gallery-nav-prev {
    left: 4px !important;
  }

  .product-gallery-nav-next {
    right: 4px !important;
  }

  /* Stabilność układu: brak przesunięć na hover, focus i active */
  .product-gallery-nav-btn:hover,
  .product-gallery-nav-btn:focus,
  .product-gallery-nav-btn:active {
    transform: translateY(-50%) !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
  }

  .product-gallery-nav-prev:hover .gallery-nav-icon,
  .product-gallery-nav-next:hover .gallery-nav-icon,
  .product-gallery-nav-prev:active .gallery-nav-icon,
  .product-gallery-nav-next:active .gallery-nav-icon {
    transform: none !important;
  }

  /* Szybki feedback dotknięcia (opacity 150ms) */
  .product-gallery-nav-btn:active {
    opacity: 0.75 !important;
  }

  .product-gallery-nav-btn:active::before {
    background-color: rgba(0, 0, 0, 0.85) !important;
    border-color: rgba(255, 255, 255, 0.32) !important;
  }

  .product-gallery-nav-btn:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.5) !important;
    outline-offset: 1px !important;
  }

  /* Miniatury bezpośrednio pod zdjęciem: poziomo, obok siebie, min. 44px obszar klikalny */
  .product-thumbnails-aside {
    order: 2;
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }

  .product-thumbnails-aside::-webkit-scrollbar {
    display: none;
  }

  .product-thumb-item {
    width: 68px;
  }

  .product-thumb-frame {
    width: 68px;
    height: 84px;
  }

  /* Spójny nagłówek produktu na mobile */
  .product-header-block {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    margin-bottom: 12px !important;
  }

  .product-meta-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 4px !important;
  }

  /* 2. Nazwa produktu */
  .product-main-title {
    margin-top: 0 !important;
    margin-bottom: 6px !important;
    font-size: clamp(26px, 7vw, 32px) !important;
    line-height: 1.12 !important;
  }

  /* 3. Cena */
  .product-price-row {
    margin-top: 0 !important;
    margin-bottom: 8px !important;
  }

  /* Krótki, konkretny opis widoczny na mobile */
  .product-short-desc {
    display: block !important;
    font-family: var(--font-sans) !important;
    font-size: 0.84375rem !important; /* 13.5px */
    line-height: 1.5 !important;
    color: #b3b0a6 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    max-width: 100% !important;
  }

  .product-quote-badge {
    display: inline-block !important;
    font-size: 0.875rem !important;
    margin-top: 8px !important;
    padding: 8px 12px !important;
  }

  .product-price-current {
    font-size: 1.375rem !important; /* ~22px */
  }

  /* 1. Krótka linia potwierdzonych parametrów produktu */
  .product-spec-summary-line {
    order: 1 !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    font-family: var(--font-sans) !important;
    font-size: 0.8125rem !important; /* 13px */
    color: var(--text-dim, #8e8e94) !important;
    margin-top: 0 !important;
    margin-bottom: 16px !important;
    line-height: 1.4 !important;
  }

  .product-spec-summary-line .spec-summary-item {
    color: #b3b0a6 !important;
    letter-spacing: 0.02em !important;
  }

  .product-spec-summary-line .spec-summary-sep {
    color: rgba(255, 255, 255, 0.25) !important;
  }

  /* 2. Formularz zakupu i warianty */
  .product-wc-cart-form {
    order: 2 !important;
    width: 100% !important;
  }

  .veinrox-size-swatches-wrap {
    margin-top: 0 !important;
    margin-bottom: 16px !important;
  }

  .veinrox-swatches-header {
    margin-bottom: 10px !important;
  }

  .veinrox-swatches-list {
    display: flex !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
  }

  .veinrox-swatch-btn {
    min-width: 48px !important;
    height: 48px !important; /* min. 44x44px touch target */
    padding: 0 14px !important;
    font-size: 0.875rem !important;
  }

  .single_variation_wrap {
    margin-top: 14px !important;
  }

  .single_add_to_cart_button.button,
  button.single_add_to_cart_button {
    width: 100% !important;
    min-height: 50px !important;
    height: 50px !important;
    font-size: 0.8125rem !important;
    letter-spacing: 0.12em !important;
  }

  /* Dostępne płatności ekspresowe — stabilne miejsce bez atrap */
  #wc-stripe-payment-request-wrapper {
    width: 100% !important;
    clear: both !important;
    margin-top: 12px !important;
    margin-bottom: 0 !important;
  }

  #wc-stripe-payment-request-wrapper:not([style*="display: none"]):not([style*="display:none"]) {
    min-height: 52px !important;
  }

  /* 3. Blok zaufania bezpośrednio pod CTA */
  .product-trust-block {
    order: 3 !important;
    margin-top: 18px !important;
    margin-bottom: 0 !important;
    padding: 14px 16px !important;
  }

  /* 5. Rozwijane sekcje opisu, materiału, pielęgnacji (Akordeony) */
  .product-details-accordions {
    order: 4 !important;
    margin-top: 24px !important;
  }

  .product-zoom-topbar {
    padding: 12px 16px;
  }

  .product-zoom-close-btn {
    padding: 6px 12px;
    font-size: 0.75rem;
  }

  .product-zoom-nav-prev {
    left: 8px;
    width: 44px;
    height: 44px;
  }

  .product-zoom-nav-next {
    right: 8px;
    width: 44px;
    height: 44px;
  }

  .product-zoom-controls {
    bottom: 16px;
  }

  /* Modal tabeli rozmiarów na telefonie */
  .size-guide-modal-dialog {
    width: 100%;
    height: 100%;
    max-width: 100vw;
    max-height: 100vh;
    border: none;
    border-radius: 0;
  }

  .size-guide-modal-topbar {
    padding: 10px 14px;
    gap: 10px;
  }

  .size-guide-modal-title {
    font-size: 0.8125rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
  }

  .size-guide-modal-actions {
    gap: 6px;
  }

  .size-guide-zoom-btn,
  .size-guide-modal-close-btn {
    padding: 6px 12px;
    font-size: 0.75rem;
    min-height: 44px;
  }

  .size-guide-modal-body {
    padding: 10px;
    align-items: center;
  }

  .size-guide-modal-content-wrap {
    margin: 0;
    gap: 14px;
    width: 100%;
  }

  .size-guide-modal-notes-box {
    padding: 12px 14px;
    width: 100%;
  }

  .size-guide-modal-img {
    width: 100%;
    max-width: 100%;
    max-height: calc(100vh - 80px);
  }
}

/* Prefers-reduced-motion safety */
@media (prefers-reduced-motion: reduce) {
  .product-gallery-img,
  .product-zoom-modal,
  .size-guide-modal,
  .product-accordion-icon,
  .product-back-link {
    transition: none !important;
  }
}
