/* ==========================================================================
   KARKUŚ (H7 4D BIONIC SHIATSU) – DESIGN SYSTEM & STYLESHEET
   Inspiracja: Kura Studio (Architectural Warm Minimalist, Botanical Spa, Japandi)
   ========================================================================== */

:root {
  /* Kolory bazowe (Botanical Japandi & Warm Spa) */
  --color-bg: #fbf9f5;
  --color-surface: #ffffff;
  --color-surface-subtle: #f1f4f0;
  --color-surface-warm: #f4efe6;
  --color-border: #e4e0d5;
  --color-border-focus: #1e3f2f;

  /* Kolory marki (Leśna zieleń obudowy masażera + Terakota ciepła Infrared) */
  --color-forest: #1e3f2f;
  --color-forest-mid: #2f5e47;
  --color-forest-soft: #dfece4;
  --color-accent: #b85d3b;
  --color-accent-hover: #9e4b2c;
  --color-accent-soft: #faeee7;
  --color-dark: #16211b;
  --color-gold: #c89d49;

  /* Typografia i tekst */
  --color-text-main: #1e2621;
  --color-text-muted: #5e6861;
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Outfit', sans-serif;

  /* Zaokrąglenia i cienie */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  --shadow-sm: 0 2px 10px rgba(22, 33, 27, 0.04);
  --shadow-md: 0 10px 28px rgba(22, 33, 27, 0.07);
  --shadow-lg: 0 18px 44px rgba(22, 33, 27, 0.11);

  --transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

[hidden] {
  display: none !important;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-forest);
  transition: var(--transition);
}

.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* Belka ogłoszeniowa u góry (wzorzec Kura Studio) */
.announcement-bar {
  background-color: var(--color-dark);
  color: #edf2ee;
  font-size: 0.82rem;
  padding-block: 0.5rem;
  letter-spacing: 0.02em;
}

.announcement-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  flex-wrap: wrap;
  text-align: center;
}

.announcement-content strong {
  color: #f7c59f;
}

.announcement-content .bullet {
  opacity: 0.4;
}

/* Nawigacja (sticky glassmorphism jak w Kura Studio) */
.navbar {
  position: sticky;
  top: 0;
  z-index: 90;
  background-color: rgba(251, 249, 245, 0.93);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
  padding-block: 0.75rem;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--color-text-main);
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--color-forest);
  color: #fbf9f5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  position: relative;
}

.logo-mark::after {
  content: "";
  position: absolute;
  top: 6px;
  right: 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  color: var(--color-forest);
}

.logo-text span {
  font-weight: 400;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  margin-left: 2px;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

@media (min-width: 960px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  text-decoration: none;
  color: var(--color-text-main);
  font-size: 0.94rem;
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--color-accent);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-btn {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  cursor: pointer;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 44px;
  padding: 0 0.95rem;
  border-radius: var(--radius-pill);
  color: var(--color-text-main);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition);
}

.cart-btn:hover {
  border-color: var(--color-forest);
  background: var(--color-surface-subtle);
}

.cart-count {
  background: var(--color-accent);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   GŁÓWNA SEKCJA PRODUKTU (2 KOLUMNY JAK W KURA STUDIO)
   ========================================================================== */

.product-page {
  padding-block: 1.5rem 3.5rem;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  align-items: start;
}

@media (min-width: 960px) {
  .product-grid {
    grid-template-columns: 1.06fr 1fr;
    gap: 2.75rem;
  }
}

/* Lewa kolumna: Karuzela galerii */
.product-gallery-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

@media (min-width: 960px) {
  .product-gallery-wrap {
    position: sticky;
    top: 5.25rem;
  }
}

.gallery-carousel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  aspect-ratio: 1 / 1;
}

.gallery-slide {
  display: none;
  width: 100%;
  height: 100%;
}

.gallery-slide.active {
  display: block;
}

.slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  color: var(--color-forest);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  z-index: 5;
}

.gallery-arrow:hover {
  background: var(--color-forest);
  color: #fff;
  border-color: var(--color-forest);
}

.gallery-prev { left: 0.85rem; }
.gallery-next { right: 0.85rem; }

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
}

.gallery-dot {
  width: 28px;
  height: 6px;
  border-radius: 99px;
  border: none;
  background: #dedad0;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-dot.active {
  background: var(--color-forest);
  width: 42px;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.55rem;
}

.thumb-item {
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--color-surface);
  cursor: pointer;
  aspect-ratio: 1 / 1;
  padding: 0;
  transition: var(--transition);
}

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

.thumb-item.active,
.thumb-item:hover {
  border-color: var(--color-forest);
  box-shadow: 0 0 0 2px rgba(30, 63, 47, 0.15);
}

/* Prawa kolumna: Konfigurator zestawów (styl Kura Studio) */
.product-configurator-wrap {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
}

@media (min-width: 640px) {
  .product-configurator-wrap {
    padding: 2.1rem;
  }
}

.product-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--color-forest-soft);
  color: var(--color-forest);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.75rem;
}

.product-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.2vw, 2.15rem);
  font-weight: 800;
  line-height: 1.18;
  color: var(--color-forest);
  margin-bottom: 0.55rem;
}

.product-subtitle {
  color: var(--color-text-muted);
  font-size: 0.98rem;
  margin-bottom: 1.25rem;
}

/* Boks cenowy (Kura Studio price-box) */
.price-box {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
  margin-bottom: 1.4rem;
}

.price-box-main {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.price-current {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-forest);
  line-height: 1.1;
}

.price-save-badge {
  background: var(--color-forest-soft);
  color: var(--color-forest);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
}

.price-breakdown-sub {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

.ship-note {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.55rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-forest-mid);
}

/* Sekcje formularza w konfiguratorze */
.form-section {
  margin-bottom: 1.35rem;
}

.section-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
  gap: 0.5rem;
}

.form-label {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-text-main);
}

.size-guide-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
}

.size-guide-link:hover {
  text-decoration: underline;
}

/* Karty wyboru pakietu (1 / 2 / 3 szt. w stylu Kura Studio) */
.tier-selector-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tier-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  cursor: pointer;
  transition: var(--transition);
}

.tier-card:hover {
  border-color: #b7c4bc;
}

.tier-card.selected {
  border-color: var(--color-forest);
  background: #f8fbf9;
  box-shadow: 0 4px 16px rgba(30, 63, 47, 0.08);
}

.tier-card input[type="radio"] {
  width: 20px;
  height: 20px;
  accent-color: var(--color-forest);
  flex-shrink: 0;
}

.tier-badge-Top {
  position: absolute;
  top: -11px;
  right: 14px;
  background: var(--color-forest);
  color: #fff;
  font-size: 0.73rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.18rem 0.65rem;
  border-radius: var(--radius-pill);
}

.tier-card[data-qty="3"] .tier-badge-Top {
  background: var(--color-accent);
}

.tier-info {
  flex: 1;
  min-width: 0;
}

.tier-title-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tier-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.06rem;
  color: var(--color-forest);
}

.tier-spec {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--color-forest-mid);
}

.tier-desc {
  display: block;
  font-size: 0.83rem;
  color: var(--color-text-muted);
  margin-top: 0.15rem;
}

.tier-price-col {
  text-align: right;
  flex-shrink: 0;
}

.tier-price-main {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--color-forest);
}

.tier-price-unit {
  display: block;
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.tier-price-save {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-accent);
}

/* Rozwijana wskazówka (fit-guide z Kura Studio) */
.fit-guide {
  margin-top: 0.85rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.fit-guide summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-forest);
}

.fit-guide summary::-webkit-details-marker {
  display: none;
}

.fit-chevron {
  margin-left: auto;
  transition: transform 0.2s ease;
}

.fit-guide[open] .fit-chevron {
  transform: rotate(180deg);
}

.fit-guide-body {
  padding: 0 1rem 0.95rem;
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.fit-guide-body ol {
  padding-left: 1.2rem;
  margin-block: 0.45rem;
}

/* Opcja prezentowa w konfiguratorze */
.checkbox-option {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.9rem 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.checkbox-option:hover {
  border-color: var(--color-forest);
}

.checkbox-option input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--color-forest);
  flex-shrink: 0;
}

.checkbox-content {
  flex: 1;
}

.check-title {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--color-text-main);
}

.check-desc {
  display: block;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.check-price {
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--color-forest-mid);
  background: var(--color-forest-soft);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
}

/* Przycisk CTA Dodaj do koszyka */
.btn-primary-large {
  width: 100%;
  min-height: 58px;
  border: none;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  padding: 0 1.6rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 10px 24px rgba(184, 93, 59, 0.26);
  transition: var(--transition);
}

.btn-primary-large:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
}

.btn-primary-large.btn-center {
  justify-content: center;
}

.btn-price-summary {
  background: rgba(255, 255, 255, 0.18);
  padding: 0.28rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 1rem;
}

/* Pasek zaufania (trust-strip jak w Kura Studio) */
.trust-strip {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-top: 1.15rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--color-border);
}

.trust-strip-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  font-size: 0.78rem;
}

.trust-strip-item strong {
  display: block;
  color: var(--color-text-main);
  font-size: 0.82rem;
}

.trust-strip-item span {
  color: var(--color-text-muted);
}

.ico-sq {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--color-surface-subtle);
  color: var(--color-forest);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ico-sq-lg {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  margin-bottom: 0.75rem;
}

.pay-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.pay-pill {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 0.25rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-text-main);
}

.pay-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-top: 0.45rem;
}

/* ==========================================================================
   SEKCJE POD PRODUKTEM (STRUKTURA KURA STUDIO)
   ========================================================================== */

.sec {
  padding-block: 4rem;
}

.sec-alt {
  background: var(--color-surface-subtle);
}

.section-header {
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

.text-center {
  text-align: center;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 0.45rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--color-forest);
  line-height: 1.2;
  margin-bottom: 0.65rem;
}

.section-lead {
  color: var(--color-text-muted);
  font-size: 1.02rem;
}

/* Split (Lifestyle & Prezent) */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 860px) {
  .split {
    grid-template-columns: 1.05fr 1fr;
    gap: 3rem;
    padding: 2.25rem;
  }
}

.ph-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.life-list, .gift-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-block: 1.25rem 1.6rem;
}

.life-list li, .gift-list li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.98rem;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--color-forest);
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  padding: 0.9rem 1.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  transition: var(--transition);
}

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

/* 6 Kart korzyści (benefit-grid z Kura Studio) */
.benefit-grid {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .benefit-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.benefit-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
}

.benefit-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-forest);
  margin-bottom: 0.4rem;
}

.benefit-card p {
  font-size: 0.93rem;
  color: var(--color-text-muted);
}

/* Koncepcja 01 / 02 (concept-card z Kura Studio) */
.concept-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  background: var(--color-forest);
  color: #f4f7f4;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
}

@media (min-width: 900px) {
  .concept-card {
    grid-template-columns: 1fr 1.1fr;
    gap: 3rem;
    padding: 2.75rem;
  }
}

.concept-media {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.concept-card .section-eyebrow {
  color: #f7c59f;
}

.concept-card .section-title {
  color: #ffffff;
}

.concept-lead {
  color: #d6e3db;
  margin-bottom: 1.5rem;
}

.concept-points {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.concept-point {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.25rem;
}

.point-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: #f7c59f;
  flex-shrink: 0;
}

.concept-point strong {
  display: block;
  color: #fff;
  font-size: 1.02rem;
  margin-bottom: 0.2rem;
}

.concept-point p {
  font-size: 0.9rem;
  color: #d6e3db;
}

/* Tabela porównawcza (cmp-card z Kura Studio) */
.cmp-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.cmp-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.cmp-table th,
.cmp-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.94rem;
}

.cmp-table thead th {
  background: var(--color-bg);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
}

.cmp-h-b, .cmp-b {
  background: #f3f8f5;
  color: var(--color-forest);
  font-weight: 600;
}

.cmp-a {
  color: var(--color-text-muted);
}

/* Jak to działa (01 / 02 / 03 z Kura Studio) */
.how-steps {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 820px) {
  .how-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.how-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.how-media {
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 1rem;
  aspect-ratio: 4 / 3;
}

.how-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.how-number {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--color-accent);
  background: var(--color-accent-soft);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.45rem;
}

.how-card h3 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--color-forest);
  margin-bottom: 0.35rem;
}

.how-card p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

/* Tabela specyfikacji i zestawów */
.dimensions-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 920px) {
  .dimensions-layout {
    grid-template-columns: 0.9fr 1.2fr;
  }
}

.dimensions-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.dimensions-table-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table th,
.specs-table td {
  padding: 0.9rem 1.15rem;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  font-size: 0.92rem;
}

.specs-table th {
  background: var(--color-bg);
  color: var(--color-text-muted);
  font-weight: 700;
  width: 42%;
}

/* Opinie (rv2 – widoczne tylko lokalnie z oznaczeniem PODGLĄD) */
.demo-banner {
  background: #fff6de;
  border: 2px dashed #d49b27;
  color: #6b4c00;
  border-radius: var(--radius-md);
  padding: 0.85rem 1.2rem;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1.5rem;
}

.rv2-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 820px) {
  .rv2-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.rv2-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  box-shadow: var(--shadow-sm);
}

.rv2-stars {
  color: #d99b26;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.rv2-card blockquote {
  font-size: 0.94rem;
  color: var(--color-text-main);
  flex: 1;
}

.rv2-card figcaption strong {
  display: block;
  color: var(--color-forest);
  font-size: 0.92rem;
}

.rv2-card figcaption span {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* FAQ (akordeon z Kura Studio) */
.faq-list {
  max-width: 780px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  padding: 1.1rem 1.35rem;
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-forest);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-item p {
  padding: 0 1.35rem 1.2rem;
  color: var(--color-text-muted);
  font-size: 0.94rem;
}

/* Stopka (4 kolumny jak w Kura Studio) */
.footer {
  background: var(--color-dark);
  color: #d5ddd8;
  padding-block: 3.5rem 5.5rem;
  font-size: 0.9rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

.footer .logo-text {
  color: #fff;
}

.footer-desc {
  margin-top: 0.75rem;
  color: #9ra8a1;
}

.footer-col h4 {
  font-family: var(--font-display);
  color: #fff;
  font-size: 0.98rem;
  margin-bottom: 0.75rem;
}

.footer-col p {
  margin-bottom: 0.45rem;
  color: #b7c4bc;
}

.footer-col a {
  color: #edf2ee;
  text-decoration: none;
}

.footer-col a:hover {
  color: #f7c59f;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  color: #8fa096;
  font-size: 0.82rem;
}

/* ==========================================================================
   MODAL KOSZYKA I KASY (3 WIDOKI JAK W KURA STUDIO)
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(16, 24, 20, 0.62);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-window {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 580px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 1.65rem;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.modal-close-btn {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--color-text-main);
}

.modal-header {
  margin-bottom: 1.15rem;
  padding-right: 2.5rem;
}

.modal-header h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--color-forest);
}

.modal-header p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.ship-progress {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
}

.ship-progress-text {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--color-forest);
  margin-bottom: 0.45rem;
}

.ship-progress-bar {
  height: 8px;
  background: #e5e2d9;
  border-radius: 99px;
  overflow: hidden;
}

.ship-progress-fill {
  display: block;
  height: 100%;
  background: var(--color-forest);
  transition: width 0.3s ease;
}

.cart-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.cart-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cart-item-title {
  font-weight: 800;
  color: var(--color-forest);
  font-size: 0.98rem;
}

.cart-item-sub {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.cart-remove-btn {
  background: none;
  border: none;
  color: var(--color-text-muted);
  font-size: 0.8rem;
  text-decoration: underline;
  cursor: pointer;
}

.cart-upsell {
  background: var(--color-forest-soft);
  border: 1px solid rgba(30, 63, 47, 0.2);
  border-radius: var(--radius-md);
  padding: 0.95rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.cart-upsell-text strong {
  display: block;
  font-size: 0.9rem;
  color: var(--color-forest);
}

.cart-upsell-text span {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.cart-upsell-btn {
  background: var(--color-forest);
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  padding: 0.55rem 1rem;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  white-space: nowrap;
}

.order-summary-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  margin-block: 1rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
  margin-bottom: 0.4rem;
}

.summary-divider {
  height: 1px;
  background: var(--color-border);
  margin-block: 0.6rem;
}

.total-row {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--color-forest);
  margin-bottom: 0;
}

/* Formularz kasy w modalu */
.link-btn {
  background: none;
  border: none;
  color: var(--color-forest);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.checkout-fieldset {
  border: none;
}

.checkout-fieldset h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--color-forest);
  margin: 1rem 0 0.6rem;
}

.form-group {
  margin-bottom: 0.85rem;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
  color: var(--color-text-main);
}

.form-group input,
.form-group textarea {
  width: 100%;
  min-height: 46px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.85rem;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--color-surface);
  color: var(--color-text-main);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-forest);
}

.form-group input[aria-invalid="true"] {
  border-color: var(--color-accent);
}

.input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.shipping-options {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 0.85rem;
}

.ship-opt-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.8rem 0.95rem;
  cursor: pointer;
}

.ship-opt-card.selected {
  border-color: var(--color-forest);
  background: #f8fbf9;
}

.ship-opt-card input {
  width: 18px;
  height: 18px;
  accent-color: var(--color-forest);
}

.ship-opt-info {
  flex: 1;
}

.ship-opt-info strong {
  display: block;
  font-size: 0.92rem;
}

.ship-opt-info small {
  color: var(--color-text-muted);
  font-size: 0.78rem;
}

.ship-opt-price {
  font-weight: 800;
  color: var(--color-forest);
  font-size: 0.92rem;
}

.extras-group, .consent-group {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-block: 1rem;
}

.consent-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.84rem;
  color: var(--color-text-muted);
  cursor: pointer;
}

.consent-item input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--color-forest);
  flex-shrink: 0;
}

.extra-fields {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
}

.notice-error {
  background: #fdf0ed;
  border: 1px solid var(--color-accent);
  color: #8c3419;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.vat-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 0.5rem;
}

.success-view {
  text-align: center;
  padding-block: 1.5rem;
}

.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-forest);
  color: #fff;
  font-size: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

/* Sticky Buy Bar na dole ekranu */
.sticky-buy {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 85;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--color-border);
  padding: 0.7rem 1.25rem calc(0.7rem + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.06);
}

.sticky-buy-name {
  display: block;
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.sticky-buy-price {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-forest);
}

.sticky-buy-btn {
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  padding: 0.75rem 1.4rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
}

/* Toast */
.toast-notification {
  position: fixed;
  bottom: 5rem;
  right: 1.25rem;
  z-index: 250;
  background: var(--color-forest);
  color: #fff;
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: var(--transition);
}

.toast-notification.show {
  opacity: 1;
  transform: translateY(0);
}

/* Strony prawne (regulamin, polityka, zwroty) */
.legal-page {
  max-width: 820px;
  margin-inline: auto;
  padding: 2.5rem 1.25rem 4rem;
}

.legal-page h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: var(--color-forest);
  margin-bottom: 0.5rem;
}

.legal-page h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--color-forest);
  margin: 1.8rem 0 0.6rem;
}

.legal-page p, .legal-page li {
  margin-bottom: 0.55rem;
  color: var(--color-text-main);
}

.legal-page ul, .legal-page ol {
  padding-left: 1.35rem;
}

/* ==========================================================================
   WARSTWA KURA STUDIO (2026-11-05): spokojniejszy układ boksu zakupu i galerii
   ========================================================================== */
html { font-size: 15px; }
.container { max-width: 1120px; }

/* Menu w jednej linii; od 960 px w dół hamburger */
.nav-links a { white-space: nowrap; }
.cart-btn { position: relative; min-width: 44px; min-height: 44px; padding: 0.5rem; border: 0; background: transparent; justify-content: center; }
.cart-btn .cart-count { position: absolute; top: 0; right: -2px; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: transparent; color: var(--color-text-main); cursor: pointer; }
@media (min-width: 960px) { .nav-toggle { display: none; } }
@media (max-width: 959px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; padding: 0.5rem 1.25rem 1rem; background: var(--color-bg); border-bottom: 1px solid var(--color-border); box-shadow: var(--shadow-md); z-index: 60; }
  .nav-links.open a { padding: 0.75rem 0; min-height: 44px; }
}

/* Galeria: czyste zdjęcie 4:3 bez ramki reklamowej */
.gallery-carousel { aspect-ratio: 4 / 3; border: 0; box-shadow: none; background: var(--color-surface-warm); border-radius: var(--radius-lg); }
.gallery-carousel .slide-img { width: 100%; height: 100%; object-fit: cover; }
.thumb-item img { width: 100%; height: 100%; object-fit: cover; }

/* Boks zakupu: bez karty dookoła, zwarty tytuł */
@media (min-width: 960px) { .product-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
.product-configurator-wrap { background: transparent; border: 0; box-shadow: none; padding: 0; }
.product-title { font-size: clamp(1.45rem, 2.4vw, 1.75rem); font-weight: 700; color: var(--color-text-main); margin-bottom: 0.4rem; }

/* Pakiety: trzy karty obok siebie, jak rozmiary w Kura Studio */
.tier-selector-stack { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; }
.tier-card { position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 0.5rem; padding: 0.8rem; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); cursor: pointer; }
.tier-card.selected { background: var(--color-accent-soft); border-color: var(--color-accent); box-shadow: none; }
.tier-card input[type="radio"] { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.tier-card:has(input:focus-visible) { outline: 2px solid var(--color-forest); outline-offset: 2px; }
.tier-top { display: flex; align-items: center; justify-content: space-between; }
.tier-code { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: var(--radius-sm); background: var(--color-surface-warm); font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; }
.tier-card.selected .tier-code { background: var(--color-accent); color: #fff; }
.tier-check { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--color-border); color: transparent; }
.tier-card.selected .tier-check { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.tier-info { display: flex; flex-direction: column; gap: 0.1rem; }
.tier-name { font-family: var(--font-display); font-weight: 700; font-size: 1rem; }
.tier-spec { font-size: 0.78rem; color: var(--color-text-muted); line-height: 1.35; }
.tier-price-col { display: flex; flex-direction: column; align-items: flex-start; text-align: left; margin-top: auto; gap: 0.1rem; }
.tier-price-main { font-size: 0.98rem; font-weight: 700; white-space: nowrap; }
.tier-price-unit { font-size: 0.74rem; color: var(--color-text-muted); }
.tier-price-save { font-size: 0.74rem; font-weight: 600; color: var(--color-accent-hover); line-height: 1.3; }
@media (max-width: 439px) {
  .tier-selector-stack { grid-template-columns: 1fr; }
  .tier-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; column-gap: 0.7rem; }
  .tier-top { display: contents; }
  .tier-check { display: none; }
  .tier-price-col { align-items: flex-end; text-align: right; margin-top: 0; }
}
@media (hover: hover) { .tier-card:hover { border-color: var(--color-accent); transform: none; } }
.gallery-slide[data-slide="5"] .slide-img { object-fit: contain; }
@media (max-width: 639px) {
  .announcement-content { flex-wrap: nowrap; }
  .announcement-content > :not(:first-child) { display: none; }
}

/* ==========================================================================
   UKŁAD: zakładki galerii, „Jak to wygląda w domu”, kolumny opinii
   ========================================================================== */
.gallery-carousel { position: relative; }
.gallery-counter { position: absolute; right: 0.8rem; bottom: 0.8rem; z-index: 3; padding: 0.2rem 0.65rem; border-radius: var(--radius-pill); background: rgba(255,255,255,0.9); font-size: 0.78rem; font-weight: 600; }
.gallery-tabs { display: flex; gap: 0.25rem; padding: 0.3rem; overflow-x: auto; scrollbar-width: none; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); }
.gallery-tab { flex: 1 0 auto; min-height: 44px; padding: 0 0.9rem; border: 1px solid transparent; border-radius: var(--radius-sm); background: transparent; color: var(--color-text-main); font: 600 0.88rem var(--font-main); cursor: pointer; }
.gallery-tab.active { border-color: var(--color-forest); color: var(--color-forest); background: var(--color-surface-subtle); }

.home-media { display: flex; gap: 0.9rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 0.25rem; }
.home-tile { position: relative; flex: 0 0 min(68vw, 300px); aspect-ratio: 9 / 16; border-radius: var(--radius-lg); overflow: hidden; background: var(--color-dark); scroll-snap-align: start; }
.home-tile img, .home-tile video { width: 100%; height: 100%; object-fit: cover; display: block; }
.home-tile figcaption { position: absolute; inset: auto 0 0; padding: 3rem 1rem 1.1rem; color: #fff; text-align: center; font-family: var(--font-display); font-weight: 700; line-height: 1.25; background: linear-gradient(transparent, rgba(10,18,13,0.82)); }
@media (min-width: 760px) { .home-media { justify-content: center; } .home-tile { flex-basis: 30%; max-width: 320px; } }
.home-media-note { margin-top: 1rem; text-align: center; font-size: 0.85rem; color: var(--color-text-muted); }

.rv-summary { color: var(--color-text-muted); margin-top: 0.3rem; }
.rv-columns { display: grid; grid-template-columns: 1fr; gap: 0.9rem; }
@media (min-width: 760px) { .rv-columns { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.rv-col { min-width: 0; }
.rv-track, .rv-clone { display: flex; flex-direction: column; gap: 0.9rem; }
.rv-clone { padding-top: 0; }
.rv-card { padding: 1rem; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.rv-card figcaption { display: flex; align-items: center; gap: 0.6rem; }
.rv-card figcaption strong { display: block; line-height: 1.2; }
.rv-card small { color: var(--color-text-muted); font-size: 0.78rem; }
.rv-avatar { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--color-forest); color: #fff; font-size: 0.8rem; font-weight: 700; }
.rv-stars { margin: 0.55rem 0 0.4rem; color: var(--color-gold); letter-spacing: 0.08em; }
.rv-stars i { color: var(--color-border); font-style: normal; }
.rv-card blockquote { margin: 0; }
.rv-source { margin-top: 0.5rem; font-size: 0.78rem; color: var(--color-text-muted); }
.rv-animate .rv-col { max-height: 560px; overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(transparent, #000 8%, #000 92%, transparent); }
.rv-animate .rv-track { animation: rv-scroll var(--rv-time, 38s) linear infinite; }
.rv-animate .rv-col:hover .rv-track { animation-play-state: paused; }
@keyframes rv-scroll { to { transform: translateY(-50%); } }
@media (max-width: 759px) { .rv-animate .rv-col:nth-child(n+2) { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .rv-animate .rv-track { animation: none; }
  .rv-animate .rv-col { overflow-y: auto; -webkit-mask-image: none; mask-image: none; }
  .rv-clone { display: none; }
}

.pay-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.6rem; margin-top: 0.75rem; }
.pay-logos img { height: 30px; width: auto; }
.pay-preview { flex-basis: 100%; text-align: center; font-size: 0.75rem; color: var(--color-accent-hover); }
.pay-pill { display: inline-flex; align-items: center; gap: 0.4rem; }
.pay-pill img { height: 22px; width: auto; }

/* ==========================================================================
   KAFELKI KORZYŚCI: animacje po najechaniu (na dotyku po wejściu w widok)
   ========================================================================== */
.benefit-card { position: relative; overflow: hidden; isolation: isolate; transition: background 0.5s ease, border-color 0.5s ease; }
.benefit-card > :not(.benefit-bg) { position: relative; z-index: 1; }
.benefit-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

/* 6 głowic: masażer wysuwa się zza napisów */
.b-heads .benefit-bg img { position: absolute; right: -8px; bottom: -14px; width: 170px; height: 170px; mix-blend-mode: multiply; opacity: 0; transform: translateX(110%) rotate(8deg); transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease; }
.b-heads:is(:hover, .is-active) .benefit-bg img { opacity: 0.32; transform: none; }

/* Grzanie: kafelek nagrzewa się na pomarańczowo */
.heat-glow { position: absolute; inset: 0; background: radial-gradient(120% 100% at 50% 110%, #f6b184 0%, #fbdcc4 45%, #fff3ea 100%); opacity: 0; transition: opacity 1.2s ease; }
.b-heat:is(:hover, .is-active) { border-color: #eeb48f; }
.b-heat:is(:hover, .is-active) .heat-glow { opacity: 1; }
.b-heat .ico-sq { transition: background 0.8s ease, color 0.8s ease; }
.b-heat:is(:hover, .is-active) .ico-sq { background: #f8d9c2; color: var(--color-accent-hover); }
.heat-wave { position: absolute; bottom: -30px; width: 3px; height: 70px; border-radius: 3px; background: rgba(184, 93, 59, 0.28); opacity: 0; }
.heat-wave:nth-of-type(2) { right: 18%; }
.heat-wave:nth-of-type(3) { right: 11%; animation-delay: 0.6s !important; }
.heat-wave:nth-of-type(4) { right: 25%; animation-delay: 1.2s !important; }
.b-heat:is(:hover, .is-active) .heat-wave { animation: heat-rise 2.4s ease-in-out infinite; }
@keyframes heat-rise { 0% { transform: translateY(0); opacity: 0; } 40% { opacity: 1; } 100% { transform: translateY(-170px); opacity: 0; } }

/* Wolne ręce: pasy zjeżdżają się w klamrę */
.strap { position: absolute; bottom: 14px; height: 14px; width: 50%; background: #9a6a45; opacity: 0.22; transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.strap-l { left: 0; transform: translateX(-100%); }
.strap-r { right: 0; transform: translateX(100%); }
.buckle { position: absolute; left: 50%; bottom: 7px; width: 34px; height: 28px; margin-left: -17px; border: 4px solid #8f979b; border-radius: 6px; background: #fff; opacity: 0; transform: scale(0.5); transition: opacity 0.3s ease 0.5s, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s; }
.b-free:is(:hover, .is-active) .strap { transform: none; }
.b-free:is(:hover, .is-active) .buckle { opacity: 0.7; transform: none; }
.b-free p { margin-bottom: 1.6rem; }

/* Timer: zegar z sekundnikiem za napisami */
.clock { position: absolute; right: 12px; top: 50%; width: 150px; height: 150px; margin-top: -75px; color: var(--color-forest); opacity: 0; transition: opacity 0.5s ease; }
.b-timer:is(:hover, .is-active) .clock { opacity: 0.14; }
.clock-sec { stroke: var(--color-accent); transform-origin: 60px 60px; animation: clock-tick 60s steps(60) infinite; animation-play-state: paused; }
.b-timer:is(:hover, .is-active) .clock-sec { animation-play-state: running; }
@keyframes clock-tick { to { transform: rotate(360deg); } }
.clock-time { position: absolute; right: 18px; top: 16px; font: 700 0.95rem var(--font-display); font-variant-numeric: tabular-nums; color: var(--color-accent-hover); opacity: 0; transition: opacity 0.4s ease; }
.b-timer:is(:hover, .is-active) .clock-time { opacity: 1; }

/* Całe ciało: sylwetka z kolejno świecącymi miejscami */
.body-map { position: absolute; right: 16px; top: 50%; height: 88%; width: auto; transform: translateY(-50%) translateX(30px); color: var(--color-forest); opacity: 0; transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.b-body:is(:hover, .is-active) .body-map { opacity: 0.2; transform: translateY(-50%); }
.spot { fill: var(--color-accent); opacity: 0; }
.b-body:is(:hover, .is-active) .spot { animation: spot-pulse 3.5s ease-in-out infinite; animation-delay: calc(var(--i) * 0.7s); }
@keyframes spot-pulse { 0%, 30%, 100% { opacity: 0; } 12% { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .benefit-card *, .benefit-card { transition: none !important; animation: none !important; }
}

/* Mocniejsza widoczność animacji kafelków */
.b-heads:is(:hover, .is-active) .benefit-bg img { opacity: 0.55; }
.b-timer:is(:hover, .is-active) .clock { opacity: 0.28; }
.b-body:is(:hover, .is-active) .body-map { opacity: 0.32; }
.strap { opacity: 0.45; }

/* Akumulator: bateria jak w telefonie, ładuje się do 100% */
.battery { position: absolute; right: 22px; bottom: 16px; width: 92px; height: 42px; padding: 3px; border: 2.5px solid #8f979b; border-radius: 10px; background: #fff; opacity: 0; transition: opacity 0.35s ease; }
.battery::after { content: ""; position: absolute; right: -8px; top: 50%; width: 5px; height: 14px; margin-top: -7px; border-radius: 0 3px 3px 0; background: #8f979b; }
.battery-fill { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(180deg, #4fd06f, #2fb457); }
.battery-pct { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font: 700 0.9rem var(--font-display); font-variant-numeric: tabular-nums; color: #12331e; }
.b-battery:is(:hover, .is-active) .battery { opacity: 1; }
.b-battery:is(:hover, .is-active) .battery-fill { width: 100%; transition: width 1.6s linear; }
.b-battery p { margin-bottom: 2.6rem; }
@media (prefers-reduced-motion: reduce) { .b-battery .battery-fill { width: 100%; } }

/* ==========================================================================
   TELEFON: kolumny nie mogą rozpychać strony, treść na środku
   ========================================================================== */
.product-grid { grid-template-columns: minmax(0, 1fr); }
.product-grid > *, .split > *, .concept-card > * { min-width: 0; }
@media (min-width: 960px) { .product-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.gallery-thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.5rem; overflow: visible; }
.thumb-item { width: 100%; height: auto; aspect-ratio: 1; min-width: 0; padding: 0; }
.home-media { justify-content: flex-start; }

@media (max-width: 759px) {
  .split-text, .concept-card, #prezent .section-lead { text-align: center; }
  .split-text .section-eyebrow, .concept-card .section-eyebrow { margin-inline: auto; }
  .split-text .btn-primary-large, .split-text a[class*="btn"], .concept-card a[class*="btn"] { margin-inline: auto; }
  .gift-list { text-align: left; }
  .section-label-row { flex-wrap: wrap; gap: 0.25rem 0.75rem; }
  .pay-badges, .pay-logos { justify-content: center; }
  .pay-caption { justify-content: center; text-align: center; }
  .gallery-tab { padding: 0 0.55rem; font-size: 0.8rem; }
  .home-tile { flex-basis: 72vw; }
  .benefit-card { text-align: left; }
}
@media (min-width: 760px) { .home-media { justify-content: center; } }

/* ==========================================================================
   RESPONSYWNOŚĆ NA TELEFONACH (320px – 767px)
   Wyśrodkowanie treści, karty na pełną szerokość, brak poziomego przewijania,
   czytelne tabele, cele klikalne min 44px, pola formularzy 16px, safe-area
   ========================================================================== */
@media (max-width: 767px) {
  /* Kontener i ogólny układ: równe marginesy i brak rozpychania */
  .container {
    padding-inline: 1rem;
    width: 100%;
    max-width: 100%;
  }

  .sec {
    padding-block: 2.75rem;
  }

  /* Nagłówki sekcji i opisy: wyśrodkowane na ekranie */
  .section-header {
    text-align: center;
    margin-inline: auto;
    margin-bottom: 1.75rem;
  }

  .section-eyebrow {
    display: inline-block;
    text-align: center;
    margin-inline: auto;
  }

  .section-title {
    text-align: center;
    font-size: clamp(1.4rem, 5.5vw, 1.85rem);
    line-height: 1.25;
  }

  .section-lead {
    text-align: center;
    margin-inline: auto;
    font-size: 0.95rem;
  }

  /* 1. Belka ogłoszeniowa */
  .announcement-bar {
    padding-block: 0.45rem;
  }

  .announcement-content {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    gap: 0.4rem;
    line-height: 1.35;
    padding-inline: 0.5rem;
    font-size: 0.8rem;
  }

  /* 2. Nawigacja i menu */
  .nav-container {
    gap: 0.5rem;
  }

  .nav-links.open a {
    display: flex;
    align-items: center;
    min-height: 44px;
    font-size: 1rem;
  }

  /* 3. Sekcja produktu (#product-section) */
  .product-page {
    padding-block: 1rem 2.5rem;
  }

  .product-header {
    text-align: center;
  }

  .product-title {
    text-align: center;
    font-size: clamp(1.35rem, 5vw, 1.65rem);
  }

  .product-subtitle {
    text-align: center;
    margin-inline: auto;
    font-size: 0.92rem;
  }

  .price-box {
    text-align: center;
    padding: 0.85rem 1rem;
  }

  .price-box-main {
    justify-content: center;
    align-items: center;
  }

  .price-current {
    font-size: 1.75rem;
  }

  .price-breakdown-sub {
    text-align: center;
  }

  .ship-note {
    justify-content: center;
    text-align: center;
  }

  .section-label-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.35rem;
  }

  .size-guide-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0.5rem;
  }

  /* Pakiety: karty na pełną szerokość kontenera */
  .tier-selector-stack {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .tier-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    column-gap: 0.75rem;
    padding: 0.85rem 1rem;
    min-height: 52px;
    width: 100%;
  }

  .tier-top {
    display: contents;
  }

  .tier-check {
    display: none;
  }

  .tier-price-col {
    align-items: flex-end;
    text-align: right;
    margin-top: 0;
  }

  .fit-guide summary {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .checkbox-option {
    min-height: 48px;
    width: 100%;
  }

  .btn-primary-large {
    width: 100%;
    min-height: 54px;
  }

  .trust-strip {
    gap: 0.5rem;
    padding-top: 1rem;
    margin-top: 1rem;
  }

  .trust-strip-item {
    font-size: 0.74rem;
  }

  .trust-strip-item strong {
    font-size: 0.78rem;
  }

  /* Galeria: miniatury nie wystają i są łatwo klikalne */
  .gallery-tabs {
    max-width: 100%;
  }

  .thumb-item {
    min-width: 40px;
    min-height: 40px;
  }

  /* 4. Sekcja #w-domu oraz #prezent (układ split) */
  .split {
    padding: 1.25rem 1rem;
    gap: 1.5rem;
    width: 100%;
  }

  .split-text {
    text-align: center;
  }

  .split-text .section-title,
  .split-text .section-lead {
    text-align: center;
  }

  .life-list,
  .gift-list {
    text-align: left;
    margin-inline: auto;
    width: 100%;
  }

  .life-list li,
  .gift-list li {
    font-size: 0.9rem;
  }

  .btn-cta {
    width: 100%;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* 5. Sekcja #wideo */
  .home-media {
    max-width: 100%;
  }

  /* 6. Sekcja #korzysci (Karty na pełną szerokość) */
  .benefit-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .benefit-card {
    width: 100%;
    padding: 1.35rem 1.15rem;
    text-align: left;
  }

  /* 7. Sekcja #concept */
  .concept-card {
    padding: 1.35rem 1.1rem;
    gap: 1.5rem;
    width: 100%;
    text-align: center;
  }

  .concept-content {
    text-align: center;
  }

  .concept-lead {
    text-align: center;
  }

  .concept-points {
    gap: 0.85rem;
    width: 100%;
  }

  .concept-point {
    text-align: left;
    padding: 0.9rem 1rem;
    gap: 0.75rem;
    width: 100%;
  }

  /* 8. Sekcja #porownanie (Przewijanie wewnątrz własnego kontenera) */
  .cmp-card {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }

  .cmp-table {
    min-width: 520px;
    width: 100%;
  }

  .cmp-table th,
  .cmp-table td {
    padding: 0.75rem 0.85rem;
    font-size: 0.86rem;
  }

  /* 9. Sekcja #jak-to-dziala */
  .how-steps {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .how-card {
    width: 100%;
    padding: 1.25rem 1rem;
    text-align: center;
  }

  .how-number {
    margin-inline: auto;
  }

  .how-card h3 {
    text-align: center;
  }

  .how-card p {
    text-align: center;
  }

  /* 10. Sekcja #specyfikacja (Układ blokowy dla czytelności na telefonie) */
  .dimensions-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%;
  }

  .dimensions-table-card {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
  }

  .specs-table,
  .specs-table tbody,
  .specs-table tr,
  .specs-table th,
  .specs-table td {
    display: block;
    width: 100%;
  }

  .specs-table tr {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid var(--color-border);
  }

  .specs-table tr:last-child {
    border-bottom: none;
  }

  .specs-table th {
    width: 100%;
    padding: 0 0 0.2rem 0;
    background: transparent;
    border-bottom: none;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-forest-mid);
    font-weight: 700;
  }

  .specs-table td {
    width: 100%;
    padding: 0;
    border-bottom: none;
    font-size: 0.9rem;
    color: var(--color-text-main);
  }

  /* 11. Sekcja #opinie */
  .rv-columns {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .rv-card {
    width: 100%;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .demo-banner {
    padding: 0.75rem 0.9rem;
    font-size: 0.82rem;
    word-break: break-word;
  }

  /* 12. Sekcja #faq */
  .faq-list {
    width: 100%;
  }

  .faq-item summary {
    padding: 0.95rem 1rem;
    min-height: 48px;
    font-size: 0.95rem;
    gap: 0.75rem;
  }

  .faq-item p {
    padding: 0 1rem 1rem;
    font-size: 0.9rem;
  }

  /* 13. Stopka */
  .footer {
    padding-block: 2.75rem 5.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    text-align: center;
  }

  .footer-col {
    text-align: center;
  }

  .footer-col .brand-logo {
    justify-content: center;
  }

  .footer-col h4 {
    margin-bottom: 0.5rem;
  }

  .footer-col a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding-block: 0.2rem;
  }

  .footer-bottom {
    text-align: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.4rem;
  }

  /* 14. Modal koszyka i kasy (#checkout-modal) */
  .modal-backdrop {
    padding: 0.6rem;
  }

  .modal-window {
    width: 100%;
    max-width: 100%;
    padding: 1.25rem 0.9rem;
    max-height: 94vh;
  }

  .modal-close-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    top: 0.6rem;
    right: 0.6rem;
  }

  .modal-header {
    padding-right: 2.75rem;
    margin-bottom: 0.9rem;
  }

  .cart-upsell {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 0.65rem;
  }

  .cart-upsell-btn {
    width: 100%;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .cart-remove-btn {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.5rem;
  }

  .link-btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0;
  }

  /* Formularz kasy: 1 kolumna na telefonie, font-size 16px przeciw zoomowi na iOS */
  .input-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .form-group input,
  .form-group textarea,
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  textarea,
  select {
    font-size: 16px !important;
    min-height: 46px;
    max-width: 100%;
  }

  .ship-opt-card {
    min-height: 48px;
    padding: 0.75rem 0.85rem;
    width: 100%;
  }

  .consent-item {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  /* 15. Przyklejony pasek zakupu (#sticky-buy) */
  .sticky-buy {
    padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
    gap: 0.75rem;
  }

  .sticky-buy-btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.15rem;
    font-size: 0.92rem;
  }

  /* 16. Powiadomienia toast */
  .toast-notification {
    left: 1rem;
    right: 1rem;
    max-width: calc(100% - 2rem);
    justify-content: center;
    text-align: center;
  }
}

/* ==========================================================================
   RESPONSYWNOŚĆ NA TABLETACH (768px – 1024px)
   Dopracowanie widoku w pionie (768–959px) oraz poziomie (960–1024px):
   - Hamburger / menu bez łamania pozycji
   - #product-section: 1 kolumna do 959px, galeria i zakup max 640px, pakiety 3 kolumny
   - .benefit-grid: 2 kolumny poniżej 1024px, 3 kolumny od 1024px
   - .split i .concept-card: 1 kolumna z wyśrodkowaną treścią przy węższych ekranach
   - .home-media: 3 kafelki obok siebie, wyśrodkowane, bez przewijania
   - .rv-columns: 3 kolumny bez ściskania kart
   - .cmp-table i .specs-table: responsywne, bez wystawania poza kontener
   - równe marginesy boczne, brak poziomego paska przewijania (bez overflow-x na body/html)
   ========================================================================== */

/* 1. Wspólne reguły dla całego zakresu tabletów (768px – 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .container {
    width: 100%;
    max-width: 100%;
    padding-inline: 1.5rem;
    box-sizing: border-box;
  }

  .sec {
    padding-block: 3.25rem;
  }

  /* 3 kafelki obok siebie, wyśrodkowane, bez przewijania */
  .home-media {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 1rem;
    overflow-x: visible;
    scroll-snap-type: none;
    width: 100%;
    padding-bottom: 0;
  }

  .home-tile {
    flex: 0 1 calc((100% - 2rem) / 3);
    max-width: 280px;
    width: 100%;
    aspect-ratio: 9 / 16;
  }

  /* Opinie: 3 kolumny bez ściskania kart */
  .rv-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    width: 100%;
  }

  .rv-col {
    min-width: 0;
  }

  .rv-card {
    padding: 0.9rem;
    min-width: 0;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .rv-card figcaption {
    gap: 0.5rem;
  }

  .rv-avatar {
    width: 36px;
    height: 36px;
    font-size: 0.78rem;
    flex-shrink: 0;
  }

  .rv-card figcaption strong {
    font-size: 0.88rem;
  }

  .rv-card blockquote {
    font-size: 0.88rem;
    line-height: 1.45;
  }

  .rv-stars {
    font-size: 1rem;
  }

  /* Tabele: czytelne i zabezpieczone przed wystawaniem poza kontener */
  .cmp-card {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .cmp-table {
    width: 100%;
    border-collapse: collapse;
  }

  .cmp-table th,
  .cmp-table td {
    padding: 0.75rem 0.9rem;
    font-size: 0.88rem;
    line-height: 1.4;
  }

  .dimensions-table-card {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .specs-table {
    width: 100%;
    border-collapse: collapse;
  }

  .specs-table th,
  .specs-table td {
    padding: 0.75rem 0.9rem;
    font-size: 0.88rem;
    line-height: 1.4;
  }

  .specs-table th {
    width: 36%;
    min-width: 140px;
  }

  /* Kroki obsługi: 3 kolumny */
  .how-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }

  .how-card {
    padding: 1.15rem;
    min-width: 0;
  }

  /* Stopka w 4 kolumnach z dopasowanym odstępem */
  .footer-content {
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 1.5rem;
  }
}

/* 2. Benefit grid: 2 kolumny poniżej 1024px, 3 kolumny od 1024px */
@media (min-width: 768px) and (max-width: 1023px) {
  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

@media (min-width: 1024px) and (max-width: 1024px) {
  .benefit-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

/* 3. Tablet w pionie (768px – 959px): menu z hamburgerem, 1 kolumna dla produktu i sekcji dwukolumnowych */
@media (min-width: 768px) and (max-width: 959px) {
  /* Menu: działa hamburger (.nav-toggle), bez łamania pozycji w belce */
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    display: none;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    padding: 0.75rem 1.5rem 1.25rem;
    gap: 0.25rem;
    z-index: 95;
  }

  .nav-links.open a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding-block: 0.5rem;
    font-size: 1rem;
    white-space: nowrap;
  }

  /* #product-section: 1 kolumna, galeria wyśrodkowana max 640px, boks zakupu max 640px */
  #product-section .product-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 2rem;
  }

  #product-section .product-gallery-wrap,
  #product-section .product-configurator-wrap {
    width: 100%;
    max-width: 640px;
    margin-inline: auto;
    position: static;
  }

  /* Karty pakietów .tier-card w 3 kolumnach bez ściskania tekstu */
  .tier-selector-stack {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
    width: 100%;
  }

  .tier-card {
    padding: 0.85rem 0.65rem;
    min-width: 0;
  }

  .tier-name {
    font-size: 0.98rem;
    white-space: nowrap;
  }

  .tier-spec {
    font-size: 0.78rem;
    line-height: 1.3;
  }

  .tier-price-main {
    font-size: 1.05rem;
    white-space: nowrap;
  }

  .tier-price-unit {
    font-size: 0.75rem;
  }

  .tier-price-save {
    font-size: 0.74rem;
    line-height: 1.25;
  }

  /* Sekcje dwukolumnowe (.split, .concept-card): 1 kolumna z wyśrodkowaną treścią */
  .split {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: 2rem 1.5rem;
    text-align: center;
  }

  .split .ph-frame {
    max-width: 600px;
    width: 100%;
    margin-inline: auto;
  }

  .split-text {
    max-width: 600px;
    width: 100%;
    margin-inline: auto;
    text-align: center;
  }

  .split-text .section-eyebrow {
    margin-inline: auto;
  }

  .split-text .section-title,
  .split-text .section-lead {
    text-align: center;
    margin-inline: auto;
  }

  .life-list,
  .gift-list {
    text-align: left;
    max-width: 520px;
    margin-inline: auto;
  }

  .split-text .btn-cta {
    margin-inline: auto;
  }

  .concept-card {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: 2.25rem 1.75rem;
    text-align: center;
  }

  .concept-media {
    max-width: 600px;
    width: 100%;
    margin-inline: auto;
  }

  .concept-content {
    max-width: 600px;
    width: 100%;
    margin-inline: auto;
    text-align: center;
  }

  .concept-card .section-eyebrow {
    margin-inline: auto;
  }

  .concept-card .section-title,
  .concept-lead {
    text-align: center;
    margin-inline: auto;
  }

  .concept-points {
    text-align: left;
    max-width: 540px;
    margin-inline: auto;
  }

  /* Specyfikacja i zestawy: 1 kolumna */
  .dimensions-layout {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    justify-items: center;
  }

  .dimensions-media {
    max-width: 520px;
    width: 100%;
    margin-inline: auto;
  }

  .dimensions-table-card {
    max-width: 640px;
    width: 100%;
    margin-inline: auto;
  }
}

/* 4. Tablet w poziomie (960px – 1024px): pełna belka bez łamania tekstu, 2 kolumny zoptymalizowane */
@media (min-width: 960px) and (max-width: 1024px) {
  .nav-toggle {
    display: none;
  }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    flex-wrap: nowrap;
  }

  .nav-links a {
    white-space: nowrap;
    font-size: 0.92rem;
  }

  .product-grid {
    gap: 2rem;
  }

  .tier-selector-stack {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .tier-card {
    padding: 0.75rem 0.5rem;
    min-width: 0;
  }

  .tier-name {
    font-size: 0.92rem;
    white-space: nowrap;
  }

  .tier-spec {
    font-size: 0.72rem;
    line-height: 1.3;
  }

  .tier-price-main {
    font-size: 0.95rem;
    white-space: nowrap;
  }

  .tier-price-unit {
    font-size: 0.7rem;
  }

  .tier-price-save {
    font-size: 0.7rem;
    line-height: 1.2;
  }

  .split {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
  }

  .concept-card {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2.25rem;
  }

  .dimensions-layout {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 1.75rem;
    align-items: center;
  }
}
