/* ==========================================================================
   Clyro Custom Theme - Nowoczesna Karta Produktu (E-commerce High-Converting)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* --- ZMIENNE GŁÓWNE --- */
:root {
  --clyro-primary: #0f1318;
  --clyro-primary-hover: #000000;
  --clyro-accent-red: #e11d48;
  --clyro-accent-green: #16a34a;
  --clyro-accent-yellow: #f59e0b;
  --clyro-border-color: #e5e7eb;
  --clyro-border-light: #f3f4f6;
  --clyro-text-dark: #111827;
  --clyro-text-muted: #6b7280;
  --clyro-bg-light: #f9fafb;
  --clyro-radius-sm: 8px;
  --clyro-radius-md: 12px;
  --clyro-radius-lg: 16px;
  --clyro-radius-pill: 9999px;
  --clyro-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Globalne dopasowanie czcionki */
body, .product-page-wrapper, h1, h2, h3, h4, h5, h6, p, button, input, select, textarea {
  font-family: var(--clyro-font) !important;
  -webkit-font-smoothing: antialiased;
}

/* Ukrycie przycisków udostępniania społecznościowego */
.social-sharing,
.product-share,
.ps-sharebuttons,
.product-additional-info-clean .social-sharing,
.product-additional-info-clean .ps-sharebuttons {
  display: none !important;
}

/* Kontener całej strony produktu */
.product-page-wrapper {
  padding-top: 15px;
  padding-bottom: 40px;
  color: var(--clyro-text-dark);
}

/* ==========================================================================
   ETYKIETY PROMOCYJNE / FLAGS (-20%, Promocja, Nowość)
   ========================================================================== */
.product-flags-wrapper {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 10;
}

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

.product-flags .product-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--clyro-radius-pill);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  background: var(--clyro-primary);
  color: #ffffff;
}

.product-flags .product-flag.discount-flag,
.product-flags .product-flag.discount,
.product-flags .product-flag.on-sale {
  background: var(--clyro-accent-red);
  color: #ffffff;
  font-size: 12px;
  padding: 4px 12px;
}

.product-flags .product-flag.new {
  background: #2563eb;
  color: #ffffff;
}

.product-flags .product-flag.pack {
  background: #7c3aed;
  color: #ffffff;
}

/* ==========================================================================
   LEWA KOLUMNA: GALERIA PRODUKTU / SLIDER
   ========================================================================== */
.product-gallery-col {
  position: relative;
  margin-bottom: 25px;
}

.modern-gallery-container {
  position: relative;
}

/* Główny podgląd zdjęcia */
.product-cover.js-product-cover-wrapper {
  position: relative;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  border: 0;
}

.main-image-slide-container {
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 500px;
  background: #f7f8f9;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  cursor: zoom-in;
}

.main-image-slide-container:focus-visible {
  outline: 3px solid rgba(15, 19, 24, 0.3);
  outline-offset: 3px;
}

.main-product-image {
  width: 100%;
  height: 100%;
  max-height: none;
  max-width: none;
  object-fit: contain;
  transition: opacity 0.25s ease, transform 0.3s ease;
}

.main-product-image.fade-out {
  opacity: 0.2;
}

/* Strzałki nawigacyjne galerii */
.gallery-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  border: 0;
  box-shadow: 0 2px 10px rgba(15, 19, 24, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gallery-nav-arrow:hover {
  background: #ffffff;
  box-shadow: 0 5px 16px rgba(15, 19, 24, 0.18);
  transform: translateY(-50%) scale(1.06);
}

.gallery-nav-arrow.arrow-left {
  left: 15px;
}

.gallery-nav-arrow.arrow-right {
  right: 15px;
}

/* Lista miniatur */
.thumbnails-slider-wrapper {
  margin-top: 10px;
  position: relative;
}

.thumbs-mask {
  overflow: hidden;
  padding: 4px 0;
}

.modern-thumbs-list {
  display: flex;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.modern-thumbs-list::-webkit-scrollbar {
  display: none;
}

.modern-thumbs-list .thumb-container {
  flex: 0 0 70px;
  cursor: pointer;
}

.thumb-inner {
  position: relative;
  border: 1px solid transparent;
  border-radius: 0;
  overflow: hidden;
  background: #f7f8f9;
  transition: all 0.2s ease;
}

.modern-thumbs-list .thumb-container.active .thumb-inner,
.modern-thumbs-list .thumb.selected {
  border-color: var(--clyro-primary);
  box-shadow: inset 0 0 0 1px var(--clyro-primary);
}

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

/* Przesuwający się pasek postępu */
.thumbnails-progress-bar-track {
  display: none;
}

.thumbnails-progress-bar-thumb {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--clyro-primary);
  border-radius: 4px;
  transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1), width 0.3s ease;
}

/* Lightbox galerii - zdjęcie otwiera się bez widocznej ikony powiększenia. */
body.clyro-lightbox-open {
  overflow: hidden;
}

.clyro-product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  grid-template-columns: minmax(48px, 1fr) minmax(0, 1120px) minmax(48px, 1fr);
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 32px 36px 26px;
  background: rgba(14, 16, 18, 0.97);
}

.clyro-product-lightbox[hidden] {
  display: none;
}

.clyro-lightbox-stage {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  height: 100%;
}

.clyro-lightbox-image {
  display: block;
  max-width: 100%;
  max-height: min(76vh, 760px);
  object-fit: contain;
  background: #ffffff;
}

.clyro-lightbox-close,
.clyro-lightbox-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  transition: opacity 160ms ease, transform 160ms ease;
}

.clyro-lightbox-close:hover,
.clyro-lightbox-nav:hover {
  opacity: 0.7;
}

.clyro-lightbox-close:focus-visible,
.clyro-lightbox-nav:focus-visible,
.clyro-lightbox-thumbnail:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.clyro-lightbox-close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 44px;
  height: 44px;
}

.clyro-lightbox-close .material-icons {
  font-size: 32px;
}

.clyro-lightbox-nav {
  grid-row: 1;
  width: 48px;
  height: 64px;
}

.clyro-lightbox-prev {
  grid-column: 1;
  justify-self: center;
}

.clyro-lightbox-next {
  grid-column: 3;
  justify-self: center;
}

.clyro-lightbox-nav .material-icons {
  font-size: 42px;
}

.clyro-lightbox-thumbnails {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  justify-content: center;
  gap: 10px;
  max-width: 100%;
  overflow-x: auto;
  padding: 4px 2px 0;
  scrollbar-width: none;
}

.clyro-lightbox-thumbnails::-webkit-scrollbar {
  display: none;
}

.clyro-lightbox-thumbnail {
  flex: 0 0 74px;
  width: 74px;
  height: 56px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 0;
  background: #ffffff;
  cursor: pointer;
  opacity: 0.62;
  overflow: hidden;
  transition: opacity 160ms ease, border-color 160ms ease;
}

.clyro-lightbox-thumbnail:hover,
.clyro-lightbox-thumbnail.is-active {
  opacity: 1;
}

.clyro-lightbox-thumbnail.is-active {
  border: 2px solid #ffffff;
}

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

@media (max-width: 767px) {
  .main-image-slide-container {
    aspect-ratio: 1 / 1;
  }

  .clyro-product-lightbox {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 4px;
    padding: 20px 8px 18px;
  }

  .clyro-lightbox-image {
    max-height: 68vh;
  }

  .clyro-lightbox-nav .material-icons {
    font-size: 34px;
  }

  .clyro-lightbox-thumbnail {
    flex-basis: 58px;
    width: 58px;
    height: 44px;
  }
}

/* ==========================================================================
   PRAWA KOLUMNA: NAGŁÓWEK, BUY-BOX, KORZYŚCI
   ========================================================================== */
.product-info-col {
  padding-left: 20px;
}

@media (max-width: 991px) {
  .product-info-col {
    padding-left: 15px;
    margin-top: 20px;
  }
}

/* 1. Tytuł produktu i oceny */
.product-header-section {
  margin-bottom: 20px;
}

.product-title {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.22;
  color: var(--clyro-text-dark);
  margin: 0 0 10px 0;
  letter-spacing: -0.02em;
}

.product-reviews-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 10px;
}

.rating-score {
  font-weight: 700;
  color: var(--clyro-text-dark);
}

.rating-stars {
  display: inline-flex;
  color: var(--clyro-accent-yellow);
}

.rating-stars .material-icons {
  font-size: 16px;
}

.reviews-link {
  color: var(--clyro-text-muted);
  text-decoration: underline;
  transition: color 0.2s ease;
}

.reviews-link:hover {
  color: var(--clyro-text-dark);
}

/* Producent / Marka (w pełni klikalny) */
.product-manufacturer {
  font-size: 13px;
  color: var(--clyro-text-muted);
}

.product-manufacturer .label {
  margin-right: 4px;
}

.manufacturer-link {
  color: var(--clyro-text-dark);
  text-decoration: underline;
  font-weight: 700;
  transition: color 0.2s ease;
}

.manufacturer-link:hover {
  color: #000000;
}

/* 2. Główny Buy-Box Card */
.product-buybox-card {
  background: #ffffff;
  border: 1px solid var(--clyro-border-color);
  border-radius: var(--clyro-radius-lg);
  padding: 24px;
  margin-bottom: 18px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

/* Ceny */
.modern-product-prices {
  margin-bottom: 12px;
}

.product-discount {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.product-discount .regular-price {
  text-decoration: line-through;
  color: var(--clyro-text-muted);
  font-size: 16px;
}

.discount-badge {
  background: #fee2e2;
  color: var(--clyro-accent-red);
  font-weight: 800;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 6px;
}

.current-price-value {
  font-size: 32px;
  font-weight: 800;
  color: var(--clyro-text-dark);
  letter-spacing: -0.02em;
}

/* Raty PayU */
.product-installments-box {
  font-size: 13px;
  color: var(--clyro-text-muted);
  margin-bottom: 20px;
}

.product-installments-box a {
  color: var(--clyro-text-dark);
  text-decoration: underline;
  font-weight: 600;
  margin-left: 4px;
  cursor: pointer;
}

/* Warianty produktu - wyraźny wybór bez ciężkich, odcinających się pól */
.clyro-product-variants {
  display: grid;
  gap: 18px;
  margin: 0 0 22px;
}

.clyro-product-variant {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.clyro-variant-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
}

.clyro-product-variant .product-variant__legend {
  margin: 0;
  color: var(--clyro-text-dark);
  font-size: 14px;
  font-weight: 700;
}

.clyro-product-variant .product-variant__selected {
  color: var(--clyro-text-muted);
  font-size: 13px;
  font-weight: 500;
}

.clyro-variant-select {
  min-height: 46px;
  width: 100%;
  border: 1px solid #d9dde2;
  border-radius: var(--clyro-radius-sm);
  background-color: #fafbfc;
  color: var(--clyro-text-dark);
  font-size: 14px;
  font-weight: 600;
  padding: 0 40px 0 13px;
  box-shadow: none;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.clyro-variant-select:hover {
  border-color: #b7bec7;
  background-color: #ffffff;
}

.clyro-variant-select:focus {
  border-color: var(--clyro-primary);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(15, 19, 24, 0.1);
}

/* PrestaShop chwilowo blokuje wariant podczas zapytania AJAX. Zachowujemy
   czytelność kontrolki, zamiast pokazywać ją jako wyszarzoną. */
.clyro-variant-select:disabled {
  opacity: 1;
  background-color: #fafbfc;
  border-color: #d9dde2;
  color: var(--clyro-text-dark);
  cursor: progress;
}

.clyro-variant-radios,
.clyro-variant-colors {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.clyro-variant-radio,
.clyro-variant-color {
  position: relative;
  margin: 0;
  padding: 0;
}

.clyro-variant-radio .form-check-input,
.clyro-variant-color .input-color__input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.clyro-variant-radio .form-check-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  min-width: 48px;
  padding: 8px 13px;
  border: 1px solid #d9dde2;
  border-radius: var(--clyro-radius-sm);
  background: #ffffff;
  color: #4b5563;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.clyro-variant-radio .form-check-label:hover {
  border-color: #9ca3af;
  color: var(--clyro-text-dark);
}

.clyro-variant-radio .form-check-input:checked + .form-check-label {
  border-color: var(--clyro-primary);
  background: var(--clyro-primary);
  color: #ffffff;
}

.clyro-variant-radio .form-check-input:focus-visible + .form-check-label,
.clyro-variant-color .input-color__input:focus-visible + .input-color__label {
  outline: 3px solid rgba(15, 19, 24, 0.18);
  outline-offset: 2px;
}

.clyro-variant-color .input-color__label {
  display: flex;
  width: 38px;
  height: 38px;
  padding: 3px;
  border: 1px solid #d9dde2;
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.clyro-variant-color .color {
  display: block;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(15, 19, 24, 0.12);
  border-radius: 50%;
  background-position: center;
  background-size: cover;
}

.clyro-variant-color .input-color__label:hover {
  border-color: #9ca3af;
  transform: scale(1.04);
}

.clyro-variant-color .input-color__input:checked + .input-color__label {
  border: 2px solid var(--clyro-primary);
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 3px var(--clyro-primary);
}

/* Akcje: Do koszyka + Wishlist */
.product-quantity-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.add-to-cart-action-wrapper {
  flex: 1;
}

.btn-add-to-cart-modern {
  width: 100%;
  height: 52px;
  background-color: var(--clyro-primary);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--clyro-radius-pill);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(15, 19, 24, 0.25);
  cursor: pointer;
}

.btn-add-to-cart-modern:hover {
  background-color: var(--clyro-primary-hover);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  transform: translateY(-1px);
}

.wishlist-action-wrapper {
  flex: 0 0 52px;
}

.btn-wishlist-modern {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--clyro-border-color);
  background: #ffffff;
  color: var(--clyro-text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-wishlist-modern:hover {
  border-color: var(--clyro-text-dark);
  color: var(--clyro-accent-red);
  background: #fff5f5;
  transform: scale(1.05);
}

.btn-wishlist-modern .material-icons {
  font-size: 22px;
}

/* Lista korzyści i gwarancji (Trust badges) */
.product-trust-badges-list {
  border-top: 1px solid var(--clyro-border-color);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.trust-badge-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: var(--clyro-radius-sm);
  transition: background 0.15s ease;
}

.trust-badge-item:hover {
  background: #f9fafb;
}

.badge-icon-col {
  flex: 0 0 20px;
  padding-top: 2px;
  display: flex;
  justify-content: center;
}

/* Pulsujący zielony punkt dostępności */
.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.status-dot.dot-green {
  background-color: var(--clyro-accent-green);
}

.pulsing-dot {
  animation: clyroPulseDot 1.8s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes clyroPulseDot {
  0% {
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(22, 163, 74, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0);
  }
}

.badge-icon {
  font-size: 18px;
  color: var(--clyro-text-dark);
}

.badge-content-col {
  flex: 1;
}

.badge-title {
  font-size: 14px;
  color: var(--clyro-text-dark);
  line-height: 1.35;
}

.badge-title strong {
  font-weight: 700;
}

.badge-title .highlight-date {
  font-weight: 700;
}

.info-tooltip-trigger {
  font-size: 12px;
  color: var(--clyro-text-muted);
  cursor: pointer;
  margin-left: 3px;
  display: inline-block;
}

.trust-badge-item:hover .info-tooltip-trigger {
  color: var(--clyro-text-dark);
}

.badge-subtitle {
  font-size: 12px;
  color: var(--clyro-text-muted);
  margin-top: 2px;
}

/* ==========================================================================
   PASEK RABATU (Kliknij i odbierz rabat)
   ========================================================================== */
.product-discount-claim-banner {
  border-radius: var(--clyro-radius-md);
  background: #ffffff;
  border: 1px solid var(--clyro-border-color);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.product-discount-claim-banner:hover {
  border-color: #9ca3af;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.claim-main-title {
  font-size: 14px;
  color: var(--clyro-text-dark);
}

.claim-savings-sub {
  font-size: 13px;
  color: var(--clyro-accent-green);
  font-weight: 600;
  margin-top: 2px;
}

.btn-claim-discount {
  background: #f3f4f6;
  border: 1px solid var(--clyro-border-color);
  border-radius: var(--clyro-radius-pill);
  padding: 6px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--clyro-text-dark);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-claim-discount:hover {
  background: #e5e7eb;
}

.claim-timer-badge {
  background: var(--clyro-primary);
  color: #ffffff;
  font-size: 12px;
  padding: 1px 7px;
  border-radius: 4px;
  font-weight: 700;
}

/* ==========================================================================
   CROSS-SELL: DOBIERZ RÓWNIEŻ (KLIKALNE KAFELKI)
   ========================================================================== */
.product-cross-sell-section {
  margin-bottom: 24px;
}

.cross-sell-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--clyro-text-dark);
  margin-bottom: 12px;
}

.cross-sell-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.cross-sell-items-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  width: 100%;
  padding: 4px 2px;
}

.cross-sell-items-track::-webkit-scrollbar {
  display: none;
}

.cross-sell-card {
  flex: 0 0 110px;
  border: 1px solid var(--clyro-border-color);
  border-radius: var(--clyro-radius-sm);
  padding: 10px 8px;
  background: #ffffff;
  position: relative;
  text-align: center;
  text-decoration: none;
  color: var(--clyro-text-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.2s ease;
}

.cross-sell-card:hover {
  border-color: var(--clyro-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
  color: #000000;
  text-decoration: none;
}

.card-thumbnail-wrapper {
  height: 65px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.accessory-img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.card-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.accessory-name {
  font-size: 11px;
  line-height: 1.25;
  font-weight: 500;
  color: var(--clyro-text-dark);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.accessory-price {
  font-size: 11px;
  font-weight: 700;
  color: var(--clyro-primary);
}

.cross-sell-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--clyro-border-color);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.cross-sell-nav-arrow.arrow-left {
  left: -12px;
}

.cross-sell-nav-arrow.arrow-right {
  right: -12px;
}

.cross-sell-nav-arrow .material-icons {
  font-size: 16px;
}

/* ==========================================================================
   LINKI SZYBKIEGO KONTAKTU / FAQ
   ========================================================================== */
.product-bottom-quick-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 10px;
}

.quick-link-anchor {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--clyro-text-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

.quick-link-anchor:hover {
  color: #000000;
  text-decoration: underline;
}

.quick-link-anchor .arrow {
  font-weight: 700;
  margin-left: 6px;
}

/* ==========================================================================
   ZAKŁADKI (TABS)
   ========================================================================== */
.modern-product-tabs {
  background: #ffffff;
  border-radius: var(--clyro-radius-md);
  border: 1px solid var(--clyro-border-color);
  padding: 24px;
}

.modern-product-tabs .nav-tabs {
  border-bottom: 1px solid var(--clyro-border-color);
  margin-bottom: 20px;
}

.modern-product-tabs .nav-tabs .nav-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--clyro-text-muted);
  border: none;
  padding: 10px 18px;
  border-bottom: 2px solid transparent;
}

.modern-product-tabs .nav-tabs .nav-link.active {
  color: var(--clyro-text-dark);
  border-bottom: 2px solid var(--clyro-primary);
  background: transparent;
}

/* ==========================================================================
   MODAL POPUP - KOD RABATOWY I NEWSLETTER
   ========================================================================== */
.discount-modal-overlay,
.clyro-info-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  animation: modalFadeIn 0.25s ease-out;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.discount-modal-box,
.clyro-info-modal-box {
  background: #ffffff;
  border-radius: var(--clyro-radius-lg);
  max-width: 460px;
  width: 100%;
  padding: 32px 28px 26px 28px;
  position: relative;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
  text-align: center;
  animation: modalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideUp {
  from { transform: translateY(20px) scale(0.96); }
  to { transform: translateY(0) scale(1); }
}

.discount-modal-close,
.clyro-info-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #f3f4f6;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--clyro-text-dark);
  transition: all 0.2s ease;
}

.discount-modal-close:hover,
.clyro-info-modal-close:hover {
  background: #e5e7eb;
  transform: rotate(90deg);
}

.discount-modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fef3c7;
  color: #b45309;
  padding: 4px 12px;
  border-radius: var(--clyro-radius-pill);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}

.discount-modal-badge.success-badge {
  background: #dcfce7;
  color: #15803d;
}

.discount-modal-title,
.clyro-info-modal-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--clyro-text-dark);
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.discount-modal-desc {
  font-size: 14px;
  color: var(--clyro-text-muted);
  line-height: 1.45;
  margin-bottom: 20px;
}

/* Info Modal Content */
.clyro-info-modal-header {
  margin-bottom: 18px;
}

.info-modal-icon-badge {
  width: 52px;
  height: 52px;
  background: #f3f4f6;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: var(--clyro-primary);
}

.info-modal-icon-badge .material-icons {
  font-size: 28px;
}

.clyro-info-modal-body {
  font-size: 14px;
  line-height: 1.55;
  color: #4b5563;
  text-align: left;
  background: #f9fafb;
  border-radius: var(--clyro-radius-md);
  padding: 16px 18px;
  margin-bottom: 20px;
}

.clyro-info-modal-body ul {
  padding-left: 20px;
  margin: 8px 0;
}

.clyro-info-modal-body li {
  margin-bottom: 6px;
}

.btn-info-modal-action {
  width: 100%;
  height: 46px;
  background: var(--clyro-primary);
  color: #ffffff;
  border: none;
  border-radius: var(--clyro-radius-pill);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-info-modal-action:hover {
  background: #000000;
}

/* Formularz newslettera */
.discount-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-input-group input.discount-email-input {
  width: 100%;
  height: 48px;
  border: 1px solid var(--clyro-border-color);
  border-radius: var(--clyro-radius-md);
  padding: 0 16px;
  font-size: 15px;
  color: var(--clyro-text-dark);
  background: #ffffff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input-group input.discount-email-input:focus {
  border-color: var(--clyro-primary);
  box-shadow: 0 0 0 3px rgba(15, 19, 24, 0.1);
}

.form-consent-group {
  text-align: left;
  font-size: 12px;
  color: var(--clyro-text-muted);
  margin-top: 2px;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
}

.consent-checkbox {
  margin-top: 2px;
}

.btn-discount-submit {
  width: 100%;
  height: 48px;
  background: var(--clyro-primary);
  color: #ffffff;
  border: none;
  border-radius: var(--clyro-radius-pill);
  font-size: 15px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(15, 19, 24, 0.25);
  margin-top: 6px;
}

.btn-discount-submit:hover {
  background: var(--clyro-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

/* Krok 2: Prezentacja kodu */
.promo-code-box {
  background: #f9fafb;
  border: 2px dashed var(--clyro-primary);
  border-radius: var(--clyro-radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0;
}

.promo-code-text {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--clyro-primary);
}

.btn-copy-code {
  background: var(--clyro-primary);
  color: #ffffff;
  border: none;
  border-radius: var(--clyro-radius-pill);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-copy-code:hover {
  background: #000000;
}

.btn-copy-code.copied {
  background: var(--clyro-accent-green);
}

.promo-code-applied-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  color: var(--clyro-accent-green);
  margin-bottom: 20px;
}

.promo-code-applied-info .success-check {
  font-size: 18px;
}

.btn-continue-shopping {
  width: 100%;
  height: 44px;
  background: #f3f4f6;
  border: 1px solid var(--clyro-border-color);
  color: var(--clyro-text-dark);
  border-radius: var(--clyro-radius-pill);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-continue-shopping:hover {
  background: #e5e7eb;
}

/* ==========================================================================
   BRANDING CLYRO (HEADER & FOOTER)
   ========================================================================== */
.clyro-brand-logo {
  max-height: 42px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease;
}

.clyro-logo-link:hover .clyro-brand-logo {
  transform: scale(1.02);
}

.clyro-footer-dark {
  background-color: #0f1318 !important;
  color: #f3f4f6 !important;
  padding-top: 40px !important;
  padding-bottom: 25px !important;
  margin-top: 50px;
}

.clyro-footer-logo {
  max-height: 38px;
  width: auto;
  object-fit: contain;
}

.clyro-footer-dark a {
  color: #9ca3af !important;
  text-decoration: none;
  transition: color 0.2s ease;
}

.clyro-footer-dark a:hover {
  color: #ffffff !important;
  text-decoration: underline;
}

.clyro-footer-dark .footer__title,
.clyro-footer-dark h3,
.clyro-footer-dark h4 {
  color: #ffffff !important;
  font-weight: 700;
}

.clyro-footer-dark .border-dark-subtle {
  border-color: rgba(255, 255, 255, 0.12) !important;
}

.clyro-footer-dark .copyright {
  color: #6b7280 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  margin-top: 25px;
}

/* ==========================================================================
   10. SEKCJE JEDNA POD DRUGĄ (A LA X-KOM, MYBED)
   ========================================================================== */
.product-stacked-sections-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.clyro-stacked-section {
  background: #ffffff;
  border: 1px solid var(--clyro-border-color);
  border-radius: var(--clyro-radius-lg);
  padding: 32px 28px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.clyro-stacked-section .section-header {
  border-bottom: 1px solid var(--clyro-border-color);
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.clyro-stacked-section .section-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--clyro-primary);
  margin: 0;
  letter-spacing: -0.02em;
}

/* Treść opisu produktu */
.product-description-body {
  font-size: 15px;
  line-height: 1.7;
  color: #374151;
}

.product-description-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--clyro-radius-md);
  margin: 16px 0;
}

.product-description-body p {
  margin-bottom: 16px;
}

/* Tabela specyfikacji technicznej (x-kom style) */
.specs-table-container {
  overflow-x: auto;
  border-radius: var(--clyro-radius-md);
  border: 1px solid var(--clyro-border-light);
}

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

.specs-table tbody tr {
  border-bottom: 1px solid var(--clyro-border-light);
  transition: background-color 0.15s ease;
}

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

.specs-table tbody tr:nth-child(even) {
  background-color: #fafafa;
}

.specs-table tbody tr:hover {
  background-color: #f3f4f6;
}

.specs-table .spec-label {
  width: 36%;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #4b5563;
  vertical-align: middle;
  border: none;
}

.specs-table .spec-value {
  width: 64%;
  padding: 14px 20px;
  font-size: 14px;
  color: var(--clyro-text-dark);
  vertical-align: middle;
  border: none;
}

.specs-table .spec-link {
  color: var(--clyro-primary);
  text-decoration: underline;
}

/* Karty załączników i plików do pobrania */
.attachments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.attachment-card {
  border: 1px solid var(--clyro-border-color);
  border-radius: var(--clyro-radius-md);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fafafa;
  transition: all 0.2s ease;
}

.attachment-card:hover {
  background: #ffffff;
  border-color: var(--clyro-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.attachment-icon {
  width: 44px;
  height: 44px;
  background: #ffffff;
  border: 1px solid var(--clyro-border-color);
  border-radius: var(--clyro-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clyro-primary);
  flex-shrink: 0;
}

.attachment-info {
  flex: 1;
}

.attachment-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--clyro-text-dark);
  margin: 0 0 2px 0;
}

.attachment-desc {
  font-size: 12px;
  color: var(--clyro-text-muted);
  margin: 0 0 4px 0;
}

.attachment-size {
  font-size: 11px;
  color: #9ca3af;
}

.btn-download {
  border-radius: var(--clyro-radius-pill);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  flex-shrink: 0;
}

/* ==========================================================================
   11. NOWY NAVBAR I TOPBAR (MYBED STYLE)
   ========================================================================== */

/* Topbar (Ciemny pasek na samej górze) */
.clyro-topbar {
  background-color: #0f1318;
  color: #e5e7eb;
  font-size: 12px;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.clyro-topbar .topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #d1d5db;
}

.clyro-topbar .topbar-icon {
  font-size: 15px;
  color: #9ca3af;
}

.clyro-topbar .star-icon {
  color: #f59e0b;
}

.clyro-topbar .chevron-icon {
  font-size: 14px;
  margin-left: -2px;
}

.clyro-topbar .topbar-link {
  text-decoration: none;
  transition: color 0.2s ease;
}

.clyro-topbar .topbar-link:hover,
.clyro-topbar .topbar-contact-link:hover {
  color: #ffffff;
}

.clyro-topbar .topbar-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.2s ease;
}

/* Główny Navbar */
.clyro-main-navbar {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.03);
}

.clyro-header-brand-logo {
  max-height: 40px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Menu kategorii z PrestaShop */
.clyro-menu-col {
  flex: 1;
  padding: 0 30px;
}

.clyro-menu-col .ps-mainmenu {
  width: 100%;
}

.clyro-menu-col .menu--desktop .menu__list {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.clyro-menu-col .menu--desktop .menu__item {
  position: relative;
}

.clyro-menu-col .menu--desktop .menu__link {
  font-size: 15px;
  font-weight: 700;
  color: var(--clyro-text-dark);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 0;
  transition: color 0.2s ease;
  letter-spacing: -0.01em;
}

.clyro-menu-col .menu--desktop .menu__link:hover {
  color: #000000;
  text-decoration: none;
}

/* Ukrycie domyślnej wyszukiwarki wewnątrz menu Presty */
.clyro-menu-col #_desktop_ps_searchbar {
  display: none !important;
}

/* Ikony akcji po prawej stronie */
.navbar-action-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clyro-text-dark);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
}

.navbar-action-btn:hover {
  background: #f3f4f6;
  color: #000000;
  transform: translateY(-1px);
}

.navbar-action-btn .action-icon {
  font-size: 22px;
}

/* Koszyk ze znacznikiem licznika */
.cart-action-btn .cart-count-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: #f97316;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Rozwijany pasek wyszukiwarki */
.clyro-search-dropdown-wrapper {
  background: #ffffff;
  border-top: 1px solid #f3f4f6;
  border-bottom: 1px solid #e5e7eb;
  padding: 14px 0;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  animation: modalFadeIn 0.2s ease-out;
}

.clyro-search-form {
  position: relative;
  max-width: 650px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.search-input-icon {
  position: absolute;
  left: 16px;
  color: #9ca3af;
  font-size: 22px;
}

.clyro-search-input {
  width: 100%;
  height: 48px;
  border-radius: var(--clyro-radius-pill) !important;
  border: 1px solid #d1d5db !important;
  padding: 0 45px 0 48px !important;
  font-size: 15px !important;
  outline: none !important;
}

.clyro-search-input:focus {
  border-color: var(--clyro-primary) !important;
  box-shadow: 0 0 0 3px rgba(15, 19, 24, 0.1) !important;
}

.btn-close-search {
  position: absolute;
  right: 12px;
  background: transparent;
  border: none;
  color: #6b7280;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   ŚCIEŻKA POWROTU (BREADCRUMB - MINIMALISTYCZNY STYL)
   ========================================================================== */
.clyro-breadcrumb-nav {
  padding: 16px 0 10px 0;
  font-size: 13px;
  color: #6b7280;
}

.clyro-breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.clyro-breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.clyro-breadcrumb-link {
  color: #6b7280;
  text-decoration: none;
  transition: color 0.2s ease;
}

.clyro-breadcrumb-link:hover {
  color: #000000;
  text-decoration: underline;
}

.clyro-breadcrumb-separator {
  color: #9ca3af;
  font-size: 14px;
}

.clyro-breadcrumb-current {
  color: var(--clyro-text-dark);
  font-weight: 600;
}

/* Schowanie domyślnej wyszukiwarki Presty na rzecz ikony lupy (MyBed style) */
#_desktop_ps_searchbar,
.ps-searchbar {
  display: none !important;
}

/* Wyrównanie menu kategorii */
.clyro-menu-col .menu--desktop .menu__list {
  display: flex !important;
  align-items: center !important;
  gap: 32px !important;
}

/* ==========================================================================
   12. UKRYCIE KOMENTARZY NA KARCIE PRODUKTU
   ========================================================================== */
.product-comments,
.productcomments,
#product-comments-list-header,
#product-comments-list,
.product-comments-additional-info {
  display: none !important;
}

/* ==========================================================================
   13. SEKCJA PRE-FOOTER: B2B + NEWSLETTER (STYL MYBED)
   ========================================================================== */
.clyro-pre-footer-section {
  margin-top: 50px;
  margin-bottom: 40px;
}

.clyro-pre-footer-card {
  background: #f9fafb;
  border: 1px solid var(--clyro-border-color);
  border-radius: var(--clyro-radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.clyro-pre-footer-card:hover {
  background: #ffffff;
  border-color: #d1d5db;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.clyro-pre-footer-card .card-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--clyro-text-dark);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.clyro-pre-footer-card .card-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #4b5563;
  margin-bottom: 22px;
}

.clyro-pre-footer-card .card-action-link {
  font-size: 14px;
  font-weight: 700;
  color: #b45309;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.clyro-pre-footer-card .card-action-link:hover {
  color: #92400e;
  gap: 10px;
}

/* Formularz newslettera w karcie */
.pre-footer-newsletter-form {
  margin-top: auto;
}

.newsletter-input-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.newsletter-email-input {
  flex: 1;
  height: 48px;
  background: #ffffff;
  border: 1px solid var(--clyro-border-color);
  border-radius: var(--clyro-radius-pill);
  padding: 0 20px;
  font-size: 14px;
  color: var(--clyro-text-dark);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.newsletter-email-input:focus {
  border-color: var(--clyro-primary);
  box-shadow: 0 0 0 3px rgba(15, 19, 24, 0.1);
}

.btn-newsletter-submit {
  height: 48px;
  background: var(--clyro-primary);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  padding: 0 26px;
  border-radius: var(--clyro-radius-pill);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-newsletter-submit:hover {
  background: #000000;
  transform: translateY(-1px);
}

/* ==========================================================================
   14. NOWOCZESNA STOPKA (LUXURY DARK FOOTER & PAYMENT BADGES)
   ========================================================================== */
.clyro-main-footer {
  background-color: #0f1318 !important;
  color: #9ca3af !important;
  padding-top: 55px !important;
  padding-bottom: 30px !important;
  font-size: 14px;
}

.footer-logo-img {
  max-height: 36px;
  width: auto;
  object-fit: contain;
}

.footer-brand-bio {
  color: #9ca3af;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contact-link {
  color: #e5e7eb !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease;
}

.footer-contact-link:hover {
  color: #ffffff !important;
  text-decoration: underline;
}

.footer-contact-link i {
  font-size: 16px;
  color: #9ca3af;
}

.footer-contact-info-text {
  font-size: 12px;
  color: #6b7280;
}

.footer-heading {
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}

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

.footer-links-list a {
  color: #9ca3af !important;
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links-list a:hover {
  color: #ffffff !important;
  text-decoration: underline;
}

.footer-trust-badges {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-trust-badges .trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d1d5db;
  font-size: 13px;
}

.footer-trust-badges .trust-icon {
  font-size: 18px;
  color: #10b981;
}

/* Pasek płatności i praw autorskich */
.footer-bottom-row {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 25px;
  margin-top: 40px;
}

.payments-label {
  font-size: 12px;
  color: #9ca3af;
  margin-right: 6px;
  font-weight: 600;
}

.payment-badge-card {
  background: #ffffff;
  border-radius: 6px;
  padding: 4px 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 28px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.badge-text {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.blik-badge { color: #eb1946; font-size: 12px; }
.payu-badge { color: #000000; font-size: 12px; }
.payu-badge strong { color: #a6c400; }
.p24-badge { color: #0f4c81; font-size: 12px; }
.p24-badge strong { color: #e30613; }
.visa-badge { color: #1a1f71; font-weight: 900; font-style: italic; font-size: 12px; }
.mc-badge { color: #eb001b; font-size: 10px; text-transform: uppercase; }
.apple-badge { color: #000000; font-size: 11px; font-weight: 700; }
.gpay-badge { color: #3c4043; font-size: 11px; font-weight: 700; }
.raty-badge { color: #15803d; font-size: 11px; font-weight: 800; }

.footer-copyright-text {
  font-size: 12px;
  color: #6b7280;
}

/* ==========================================================================
   15. BLOKADA POWIADOMIENIA "Twój koszyk zawiera X tych produktów"
   ========================================================================== */
#product-availability,
.product__availability,
.js-product-availability,
.product__availability-messages,
.product-availability,
.product-minimal-quantity,
.js-product-minimal-quantity,
.product__availability-status {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
  visibility: hidden !important;
  overflow: hidden !important;
}

/* ==========================================================================
   16. SYSTEM ZWROTÓW I REKLAMACJI - MODAL & CMS STYLES
   ========================================================================== */
.clyro-info-modal-box {
  max-width: 520px !important;
  width: 100%;
}

.clyro-modal-returns-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-tabs-nav {
  display: flex;
  gap: 8px;
  background: #f1f5f9;
  padding: 4px;
  border-radius: var(--clyro-radius-pill);
  margin-bottom: 8px;
}

.modal-tab-btn {
  flex: 1;
  border: none;
  background: transparent;
  padding: 8px 12px;
  border-radius: var(--clyro-radius-pill);
  font-size: 13px;
  font-weight: 700;
  color: #4b5563;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.modal-tab-btn .material-icons {
  font-size: 17px;
}

.modal-tab-btn.active {
  background: #ffffff;
  color: #111827;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.returns-steps-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.returns-step-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: var(--clyro-radius-md);
  padding: 10px 14px;
}

.step-badge {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  background: #111827;
  color: #ffffff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}

.step-badge.icon-badge {
  background: #f3f4f6;
  color: #111827;
}

.step-badge.icon-badge .material-icons {
  font-size: 16px;
}

.step-info {
  font-size: 13px;
  line-height: 1.45;
  color: #374151;
  text-align: left;
}

.step-info strong {
  color: #111827;
}

.step-info a {
  color: #2563eb;
  text-decoration: underline;
}

.modal-returns-bottom-bar {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px dashed #d1d5db;
  text-align: center;
}

.btn-cms-page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #111827;
  text-decoration: none;
  background: #f3f4f6;
  padding: 10px 16px;
  border-radius: var(--clyro-radius-pill);
  transition: all 0.2s ease;
  width: 100%;
}

.btn-cms-page-link:hover {
  background: #e5e7eb;
  color: #000000;
  text-decoration: none;
}

.btn-cms-page-link .material-icons {
  font-size: 17px;
}

/* ==========================================================================
   DEDYKOWANA STRONA CMS - ZWROTY I REKLAMACJE (/content/6-zwroty-i-reklamacje)
   ========================================================================== */
.clyro-cms-returns-wrapper {
  color: #1f2937;
  padding-bottom: 40px;
}

.clyro-cms-returns-wrapper .returns-hero-banner {
  background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
  color: #ffffff;
  border-radius: 16px;
  padding: 36px 32px;
  margin-bottom: 32px;
}

.clyro-cms-returns-wrapper .returns-step-box {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  height: 100%;
  transition: box-shadow 0.2s ease;
}

.clyro-cms-returns-wrapper .returns-step-box:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.clyro-cms-returns-wrapper .step-header-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  margin-right: 14px;
}

.clyro-cms-returns-wrapper .step-header-icon.return-icon {
  background: #eef2ff;
  color: #4338ca;
}

.clyro-cms-returns-wrapper .step-header-icon.claim-icon {
  background: #f0fdf4;
  color: #15803d;
}

.clyro-cms-returns-wrapper .returns-address-box {
  background: #f8fafc;
  border: 2px dashed #cbd5e1;
  border-radius: 14px;
  padding: 24px 28px;
  margin: 32px 0;
}

.clyro-cms-returns-wrapper .returns-faq-section {
  margin-top: 40px;
}

.clyro-cms-returns-wrapper .returns-faq-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 14px;
}

.clyro-cms-returns-wrapper .returns-faq-question {
  font-weight: 700;
  font-size: 16px;
  color: #111827;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.clyro-cms-returns-wrapper .returns-faq-answer {
  font-size: 14px;
  line-height: 1.6;
  color: #4b5563;
  margin-bottom: 0;
}


/* ==========================================================================
   16. NOWOCZESNY KOSZYK (CLYRO LUXURY SHOPPING CART)
   ========================================================================== */
.clyro-cart-page-wrapper {
  padding-top: 30px;
  padding-bottom: 70px;
  background-color: #ffffff;
  color: #111827;
}

.clyro-cart-container {
  max-width: 1280px;
  margin: 0 auto;
}

.clyro-cart-main-heading {
  font-size: 32px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.clyro-cart-alert-wrapper {
  margin-bottom: 20px;
}

/* --- TABELA PRODUKTÓW W KOSZYKU --- */
.clyro-cart-products-section {
  margin-bottom: 40px;
}

.clyro-cart-table-card {
  width: 100%;
}

.clyro-cart-table-header {
  display: grid;
  grid-template-columns: 4.5fr 1.6fr 1.8fr 1.4fr 1.4fr 0.8fr;
  align-items: center;
  padding: 10px 0 16px 0;
  border-bottom: 1px solid #e5e7eb;
  color: #6b7280;
  font-size: 14px;
  font-weight: 500;
}

.clyro-th-col.th-product {
  text-align: left;
}

.clyro-th-col.th-delivery {
  text-align: left;
}

.clyro-th-col.th-quantity {
  text-align: center;
}

.clyro-th-col.th-price {
  text-align: right;
}

.clyro-th-col.th-total {
  text-align: right;
}

.clyro-th-col.th-remove {
  text-align: right;
}

/* Wiersz pojedynczego produktu */
.clyro-cart-item-row {
  display: grid;
  grid-template-columns: 4.5fr 1.6fr 1.8fr 1.4fr 1.4fr 0.8fr;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid #f3f4f6;
  transition: background-color 0.15s ease;
}

.clyro-cart-item-info-group {
  display: flex;
  align-items: center;
  gap: 18px;
}

.clyro-cart-item-thumb-link {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  background-color: #f9fafb;
  border: 1px solid #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.clyro-cart-item-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.clyro-cart-item-title-desc {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.clyro-cart-item-title {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  text-decoration: none;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.clyro-cart-item-title:hover {
  color: #000000;
}

.clyro-cart-item-attributes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: #6b7280;
}

.clyro-cart-delivery-time {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}

/* Licznik ilości w pigułce */
.clyro-cart-qty-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.clyro-qty-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid #e5e7eb;
  border-radius: 9999px;
  padding: 4px 10px;
  background-color: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.clyro-qty-btn {
  border: none;
  background: transparent;
  cursor: pointer;
  color: #111827;
  padding: 4px 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.clyro-qty-btn:hover {
  background-color: #f3f4f6;
  color: #000000;
}

.clyro-qty-input {
  width: 34px;
  border: none;
  background: transparent;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  padding: 0;
  outline: none;
  -moz-appearance: textfield;
}

.clyro-qty-input::-webkit-outer-spin-button,
.clyro-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.clyro-qty-unit-label {
  font-size: 14px;
  font-weight: 500;
  color: #111827;
}

.clyro-td-col.td-price {
  text-align: right;
}

.clyro-cart-unit-price {
  font-size: 14px;
  font-weight: 500;
  color: #111827;
}

.clyro-cart-regular-price {
  display: block;
  font-size: 12px;
  color: #9ca3af;
  text-decoration: line-through;
  margin-top: 2px;
}

.clyro-td-col.td-total {
  text-align: right;
}

.clyro-cart-line-total {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
}

.clyro-td-col.td-remove {
  text-align: right;
}

.clyro-cart-remove-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  background-color: #ffffff;
  color: #6b7280;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-left: auto;
}

.clyro-cart-remove-btn:hover {
  color: #ef4444;
  border-color: #ef4444;
  background-color: #fef2f2;
  transform: scale(1.05);
}

/* --- TRZY KOLUMNY: DOSTAWA | PŁATNOŚĆ | PODSUMOWANIE --- */
.clyro-cart-three-cols-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 36px;
  margin-top: 20px;
  margin-bottom: 40px;
  align-items: start;
}

.clyro-col-header-title {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

/* --- KARTY DOSTAWY --- */
.clyro-carriers-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.clyro-carrier-item-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  background-color: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  user-select: none;
}

.clyro-carrier-item-card:hover {
  border-color: #9ca3af;
}

.clyro-carrier-item-card.is-selected {
  border: 1.5px solid #111827;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.clyro-carrier-icon-box {
  width: 44px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 14px;
  flex-shrink: 0;
}

.clyro-carrier-img {
  max-width: 44px;
  max-height: 32px;
  object-fit: contain;
}

.inpost-badge {
  display: flex;
  align-items: center;
  gap: 4px;
}

.inpost-text {
  font-size: 13px;
  font-weight: 900;
  color: #111827;
  font-style: italic;
  letter-spacing: -0.04em;
}

.mybed-badge .mybed-text {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.03em;
}

.mybed-badge .mybed-dot {
  color: #111827;
}

.clyro-carrier-info {
  flex-grow: 1;
  padding-right: 12px;
}

.clyro-carrier-title {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  line-height: 1.3;
}

.clyro-carrier-subtitle {
  font-size: 12px;
  color: #6b7280;
  margin-top: 2px;
  line-height: 1.35;
}

.clyro-carrier-price {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  white-space: nowrap;
}

/* --- KARTY PŁATNOŚCI --- */
.clyro-payment-methods-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.clyro-payment-item-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  background-color: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  user-select: none;
}

.clyro-payment-item-card:hover {
  border-color: #9ca3af;
}

.clyro-payment-item-card.is-selected {
  border: 1.5px solid #111827;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.clyro-payment-icon-box {
  width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.clyro-payment-badge {
  display: flex;
  align-items: center;
  justify-content: center;
}

.clyro-payment-info {
  flex-grow: 1;
}

.clyro-payment-title {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  line-height: 1.3;
}

.clyro-payment-subtitle {
  font-size: 12px;
  color: #6b7280;
  margin-top: 2px;
  line-height: 1.3;
}

.blik-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.blik-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #ef4444;
  display: inline-block;
}

.blik-text {
  font-size: 13px;
  font-weight: 900;
  color: #111827;
  text-transform: lowercase;
  letter-spacing: -0.02em;
}

.payu-badge .payu-green {
  color: #a6c400;
  font-weight: 900;
  font-size: 14px;
}

.payu-badge .payu-u {
  color: #111827;
  font-weight: 900;
  font-size: 14px;
}

.paypo-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.paypo-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #ec4899;
  display: inline-block;
}

.paypo-text {
  font-size: 13px;
  font-weight: 800;
  color: #111827;
}

.clyro-apple-pay-text,
.clyro-gpay-text {
  font-size: 13px;
  font-weight: 700;
  color: #111827;
  margin-left: 2px;
}

/* --- KOLUMNA PODSUMOWANIA --- */
.clyro-voucher-section {
  margin-bottom: 20px;
}

.clyro-voucher-toggle-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  font-size: 14px;
  font-weight: 500;
  color: #111827;
  margin-bottom: 12px;
}

.clyro-voucher-checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.clyro-custom-checkbox {
  width: 18px;
  height: 18px;
  border: 1.5px solid #111827;
  border-radius: 4px;
  background-color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
}

.clyro-custom-checkbox svg {
  display: none;
}

.clyro-voucher-checkbox:checked + .clyro-custom-checkbox {
  background-color: #111827;
  border-color: #111827;
}

.clyro-voucher-checkbox:checked + .clyro-custom-checkbox svg {
  display: block;
}

/* Box wpisywania kodu rabatowego */
.clyro-voucher-form-box {
  margin-top: 10px;
  margin-bottom: 16px;
  transition: all 0.25s ease;
}

.clyro-voucher-form {
  display: flex;
  align-items: center;
  gap: 10px;
}

.clyro-voucher-input {
  flex-grow: 1;
  height: 48px;
  border-radius: 9999px;
  border: 1px solid #e5e7eb;
  padding: 0 20px;
  font-size: 14px;
  color: #111827;
  background-color: #ffffff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.clyro-voucher-input:focus {
  border-color: #111827;
  box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.08);
}

.clyro-voucher-submit-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #1e1e24;
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.clyro-voucher-submit-btn:hover {
  background-color: #000000;
  transform: scale(1.04);
}

.clyro-added-vouchers-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  margin-bottom: 16px;
}

.clyro-voucher-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #f3f4f6;
  border-radius: 9999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #111827;
}

.clyro-voucher-val {
  color: #16a34a;
}

.clyro-voucher-remove {
  color: #9ca3af;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s ease;
}

.clyro-voucher-remove:hover {
  color: #ef4444;
}

/* Baner darmowej dostawy */
.clyro-free-shipping-card {
  background-color: #f9fafb;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  line-height: 1.45;
  color: #111827;
}

.clyro-free-shipping-card .clyro-fs-icon {
  color: #111827;
  flex-shrink: 0;
}

.clyro-free-shipping-card.is-free-reached {
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.clyro-free-shipping-card.is-free-reached .clyro-fs-icon {
  color: #16a34a;
}

/* Podsumowanie kwot */
.clyro-cart-totals-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.clyro-total-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #111827;
}

.clyro-total-line .clyro-total-label {
  font-weight: 500;
}

.clyro-total-line .clyro-total-value {
  font-weight: 600;
}

.clyro-total-line--grand-total {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #f3f4f6;
}

.clyro-total-line--grand-total .clyro-total-label {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
}

.clyro-grand-total-amount {
  font-size: 22px;
  font-weight: 800;
  color: #111827 !important;
  letter-spacing: -0.01em;
}

/* --- DOLNY PASEK NAWIGACJI --- */
.clyro-cart-bottom-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid #f3f4f6;
}

.clyro-btn-continue-shopping {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid #111827;
  border-radius: 9999px;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  background-color: transparent;
  text-decoration: none;
  transition: all 0.2s ease;
}

.clyro-btn-continue-shopping:hover {
  background-color: #111827;
  color: #ffffff;
}

.clyro-btn-checkout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #1e1e24;
  color: #ffffff;
  border-radius: 9999px;
  padding: 14px 44px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.clyro-btn-checkout:hover {
  background-color: #000000;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.clyro-btn-checkout.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Pusty koszyk */
.clyro-cart-empty-box {
  text-align: center;
  padding: 80px 20px;
}

.clyro-cart-empty-icon {
  color: #9ca3af;
  margin-bottom: 20px;
}

.clyro-cart-empty-title {
  font-size: 24px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 10px;
}

.clyro-cart-empty-subtitle {
  font-size: 15px;
  color: #6b7280;
  margin-bottom: 30px;
}

.clyro-cart-empty-btn {
  display: inline-flex;
  margin: 0 auto;
}

/* RWD / Responsywność */
@media (max-width: 992px) {
  .clyro-cart-table-header {
    display: none;
  }

  .clyro-cart-item-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 0;
    position: relative;
  }

  .clyro-cart-item-info-group {
    width: 100%;
  }

  .clyro-td-col.td-delivery,
  .clyro-td-col.td-quantity,
  .clyro-td-col.td-price,
  .clyro-td-col.td-total {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }

  .clyro-cart-item-row .clyro-td-col.td-remove {
    position: absolute;
    top: 18px;
    right: 0;
  }

  .clyro-cart-three-cols-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .clyro-cart-bottom-actions {
    flex-direction: column-reverse;
    gap: 14px;
  }

  .clyro-btn-continue-shopping,
  .clyro-btn-checkout {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* ==========================================================================
   16. MODAL DODANO DO KOSZYKA (CLYRO ADD-TO-CART MODAL)
   ========================================================================== */
.clyro-cart-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: modalFadeIn 0.2s ease-out;
}

.clyro-cart-modal-box {
  background: #ffffff;
  border-radius: var(--clyro-radius-lg);
  max-width: 480px;
  width: 100%;
  padding: 30px 28px 24px 28px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  animation: modalSlideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.clyro-cart-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #f3f4f6;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--clyro-text-dark);
  transition: all 0.2s ease;
}

.clyro-cart-modal-close:hover {
  background: #e5e7eb;
  transform: rotate(90deg);
}

.cart-modal-success-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #dcfce7;
  color: #15803d;
  font-size: 14px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--clyro-radius-pill);
  margin-bottom: 20px;
}

.cart-modal-success-badge i {
  font-size: 18px;
}

.clyro-cart-modal-product-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #f9fafb;
  border: 1px solid var(--clyro-border-color);
  border-radius: var(--clyro-radius-md);
  padding: 16px;
  margin-bottom: 24px;
}

.cart-modal-product-thumb {
  width: 70px;
  height: 70px;
  border-radius: var(--clyro-radius-sm);
  background: #ffffff;
  border: 1px solid var(--clyro-border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.cart-modal-product-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.cart-modal-product-info {
  flex: 1;
}

.cart-modal-product-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--clyro-text-dark);
  margin: 0 0 4px 0;
  line-height: 1.3;
}

.cart-modal-product-price {
  font-size: 16px;
  font-weight: 800;
  color: var(--clyro-primary);
}

.clyro-cart-modal-actions {
  display: flex;
  gap: 12px;
}

.btn-cart-continue {
  flex: 1;
  height: 48px;
  background: #f3f4f6;
  border: 1px solid var(--clyro-border-color);
  color: var(--clyro-text-dark);
  border-radius: var(--clyro-radius-pill);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-cart-continue:hover {
  background: #e5e7eb;
}

.btn-cart-checkout {
  flex: 1;
  height: 48px;
  background: var(--clyro-primary);
  color: #ffffff !important;
  border-radius: var(--clyro-radius-pill);
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(15, 19, 24, 0.25);
}

.btn-cart-checkout:hover {
  background: #000000;
  transform: translateY(-1px);
}

/* ==========================================================================
   18. CZYSTE PODSTRONY ZWROTÓW I REKLAMACJI (CMS 6 & CMS 7)
   ========================================================================== */
.clyro-clean-subpage {
  max-width: 1080px;
  margin: 0 auto;
  padding: 20px 0 50px 0;
  color: #111827;
}

.clean-subpage-header {
  margin-bottom: 36px;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 28px;
}

.subpage-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
  margin-bottom: 8px;
}

.subpage-main-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.subpage-lead-text {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #4b5563;
  max-width: 820px;
  margin-bottom: 0;
}

.clean-section-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

/* METODY OBSŁUGI */
.clean-method-box {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.clean-method-box:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.method-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: #f3f4f6;
  color: #374151;
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 14px;
}

.method-box-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
}

.method-box-desc {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #6b7280;
  margin-bottom: 20px;
  flex-grow: 1;
}

.clean-btn-action {
  width: 100%;
  height: 42px;
  background: #111827;
  color: #ffffff !important;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.2s ease;
}

.clean-btn-action:hover {
  background: #000000;
}

.clean-btn-action.outline {
  background: #ffffff;
  color: #111827 !important;
  border: 1px solid #d1d5db;
}

.clean-btn-action.outline:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}

/* KROKI */
.clean-step-card {
  background: #f9fafb;
  border: 1px solid #f3f4f6;
  border-radius: 10px;
  padding: 18px;
  height: 100%;
}

.clean-step-num {
  font-size: 1.25rem;
  font-weight: 800;
  color: #9ca3af;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}

.clean-step-name {
  font-size: 0.98rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 6px;
}

.clean-step-text {
  font-size: 0.85rem;
  line-height: 1.45;
  color: #6b7280;
  margin-bottom: 0;
}

/* FORMULARZE */
.clean-form-section {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 30px;
}

.clean-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}

.clean-input,
.clean-textarea {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  color: #111827;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.clean-input:focus,
.clean-textarea:focus {
  border-color: #111827;
  outline: none;
  box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.08);
}

.clean-btn-primary {
  background: #111827;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}

.clean-btn-primary:hover {
  background: #000000;
}

.clean-note-box {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13px;
  color: #4b5563;
}

/* ADRES */
.clean-address-panel {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
}

.address-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #374151;
  margin-bottom: 10px;
}

/* FAQ */
.clean-faq-item {
  border-bottom: 1px solid #f3f4f6;
  padding: 16px 0;
}

.clean-faq-item:last-child {
  border-bottom: none;
}

.clean-faq-q {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 6px;
}

.clean-faq-a {
  font-size: 0.9rem;
  line-height: 1.55;
  color: #6b7280;
  margin-bottom: 0;
}



.clyro-payment-img {
  max-width: 48px;
  max-height: 28px;
  object-fit: contain;
}

/* ==========================================================================
   17. CAŁKOWITA BLOKADA ALERT-INFO Z LICZNIKIEM W KOSZYKU
   ========================================================================== */
#notifications .alert-info,
.alert.alert-info.alert-dismissible,
.alert-info {
  display: none !important;
  visibility: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
}

/* ==========================================================================
   18. MODAL KOSZYKA Z CROSS-SELL "INNI KUPILI RÓWNIEŻ" (WZÓR 1:1 ZE ZRZUTU)
   ========================================================================== */
.clyro-cart-modal-container {
  background: #ffffff;
  border-radius: 20px;
  max-width: 840px;
  width: 95%;
  padding: 32px 36px 28px 36px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
}

.clyro-cart-modal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.clyro-cart-modal-top .modal-main-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--clyro-text-dark);
  margin: 0;
  letter-spacing: -0.01em;
}

.btn-modal-close {
  background: #f3f4f6;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--clyro-text-dark);
  transition: all 0.2s ease;
}

.btn-modal-close:hover {
  background: #e5e7eb;
  transform: rotate(90deg);
}

/* Wiersz dodanego produktu i podsumowania */
.clyro-cart-modal-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 22px;
  border-bottom: 1px solid #f3f4f6;
  margin-bottom: 24px;
  gap: 20px;
}

.added-product-col {
  display: flex;
  align-items: center;
  gap: 16px;
}

.added-product-thumb {
  width: 70px;
  height: 70px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  padding: 4px;
}

.added-product-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.added-product-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--clyro-text-dark);
  margin: 0 0 4px 0;
}

.added-product-qty,
.added-product-price {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.4;
}

.added-product-price strong {
  color: var(--clyro-text-dark);
  font-weight: 700;
}

.cart-totals-col {
  text-align: right;
  font-size: 14px;
  color: #4b5563;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cart-totals-col .highlight-val {
  color: #b45309;
  font-weight: 800;
  margin-left: 4px;
}

/* Sekcja Cross-sell: Inni kupili również */
.cross-sell-modal-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--clyro-text-dark);
  margin-bottom: 16px;
}

.cross-sell-modal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

@media (max-width: 767px) {
  .cross-sell-modal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.modal-cross-sell-card {
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
  color: var(--clyro-text-dark) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.modal-cross-sell-card:hover {
  transform: translateY(-2px);
}

.modal-cross-sell-card .card-img-wrap {
  background: #f9fafb;
  border: 1px solid var(--clyro-border-light);
  border-radius: 12px;
  height: 125px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  overflow: hidden;
  padding: 10px;
  transition: border-color 0.2s ease;
}

.modal-cross-sell-card:hover .card-img-wrap {
  border-color: #d1d5db;
}

.modal-cross-sell-card .card-img-wrap img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.modal-cross-sell-card .card-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--clyro-text-dark);
  margin-bottom: 6px;
  line-height: 1.3;
  min-height: 34px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.modal-cross-sell-card .card-price {
  font-size: 14px;
  font-weight: 800;
  color: var(--clyro-text-dark);
}

/* Pasek postępu pod kafelkami */
.modal-cross-sell-progress {
  display: flex;
  justify-content: center;
  margin: 16px 0 24px 0;
}

.modal-progress-bar-track {
  width: 140px;
  height: 4px;
  background: #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.modal-progress-bar-thumb {
  height: 100%;
  width: 35%;
  background: #111827;
  border-radius: 4px;
}

/* Dolne przyciski nawigacji */
.clyro-cart-modal-bottom-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.btn-cart-modal-continue {
  background: #ffffff;
  border: 1px solid #111827;
  color: #111827;
  border-radius: var(--clyro-radius-pill);
  height: 48px;
  padding: 0 28px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-cart-modal-continue:hover {
  background: #f3f4f6;
}

.btn-cart-modal-checkout {
  background: #111827;
  color: #ffffff !important;
  border-radius: var(--clyro-radius-pill);
  height: 48px;
  padding: 0 36px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.btn-cart-modal-checkout:hover {
  background: #000000;
  transform: translateY(-1px);
}
