/* Ukrycie info o wysyłce na karcie towaru */
div#projector_shipping_info {
    display: none !important;
}
/* ================================================
   RESETY I PODSTAWY
================================================ */
.contact_page .contact_stocks { display: none; }
.nav-link { font-size: 1.3rem; text-align: left; }
header .navbar-subnav .nav-link { font-size: 1.2rem; }

/* ================================================
   MENU W NAGŁÓWKU
================================================ */
header .navbar-subnav .nav-link {
  font-size: 1.3rem;
  text-align: left;
  justify-content: flex-start;
  display: flex;
}
.softi-title {
  text-align: center;
  font-weight: 700;
  letter-spacing: .04em;
  color: #566891;
  font-size: 1.18rem;
  margin: 30px 0 18px 0;
}

/* ================================================
   GALERIA PRODUKTU – GŁÓWNE ZDJĘCIA
================================================ */
#photos_slider .photos__figure,
#photos_slider .photos__figure .photos__photo {
  border-radius: 25px !important;
  overflow: hidden !important;
  background: #ffffff00!important;
}

/* Lazy-load */
#photos_slider .photos__photo,
#photos_slider .photos__photo.lazyload,
#photos_slider .photos__photo.lazyloading,
#photos_slider .photos__photo[data-src] {
  border-radius: 25px !important;
}

/* Miniatury */
.photos__nav .photos__figure,
.photos__nav .photos__figure .photos__photo,
.photos__nav img {
  border-radius: 10 !important;
  overflow: hidden;
}

/* Aktywna miniatura */
.photos__figure.--nav.swiper-slide-thumb-active {
  border-color: #a2a7b2 !important;
}

/* ================================================
   PRODUKTY – KAFELKI I OPISY
================================================ */
.hotspot .product {
  border: 1px solid #b0acac94;
}

.description__image {
  overflow: hidden;
  border-radius: var(--border-radius);
  border-top-left-radius: 10px!important;
  border-top-right-radius: 10px!important;
  border-bottom-right-radius: 10px!important;
  border-bottom-left-radius: 10px!important;
}

/* ================================================
   NAGŁÓWKI SEKCJI
================================================ */
.section-header {
  width: 100%;
  text-align: center;
  font-size: 2.4rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #566891;
  margin: 48px 0 32px 0;
  line-height: 1.15;
}
@media (max-width: 600px) {
  .section-header {
    font-size: 1.4rem;
    margin: 32px 0 24px 0;
  }
}

/* ================================================
   SEKCJA 2 KOLUMN (DUŻE BLOKI TEKSTU)
================================================ */
.section-columns--big {
  display: flex;
  gap: 64px;
  align-items: stretch;
  justify-content: center;
  margin-bottom: 60px;
}
.section-columns--big .section-columns__col {
  flex: 1 1 0;
  min-width: 320px;
  max-width: 800px;
  background: #f9fbfe;
  padding: 42px 36px 38px 36px;
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(86,104,145,0.08);
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.section-columns__title {
  color: #566891;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 18px;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-align: left;
}
.section-columns__desc { color: #223; }

@media (max-width: 1100px) {
  .section-columns--big { gap: 32px; }
  .section-columns--big .section-columns__col { padding: 32px 18px 28px 18px; }
}
@media (max-width: 700px) {
  .section-columns--big { flex-direction: column; gap: 24px; }
  .section-columns--big .section-columns__col {
    max-width: 100%; min-width: 0; padding: 20px 7px;
  }
  .section-columns__title { margin-bottom: 10px; }
}

/* ================================================
   SEKCJA ZDJĘCIE + TEKST (HALF SECTION)
================================================ */
.half-section {
  display: flex;
  width: 100%;
  max-width: 1410px;
  margin: 48px auto;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  min-height: 340px;
  box-shadow: 0 4px 24px 0 rgba(86,104,145,0.04);
}
.half-section__image, .half-section__text {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.half-section__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 240px;
}
.half-section__text {
  padding: 36px 40px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  background: #f9fbfe;
}
.half-section__title {
  font-size: 1.5rem;
  color: #566891;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: .01em;
}
@media (max-width: 900px) {
  .half-section { flex-direction: column; min-height: 0; }
  .half-section__image, .half-section__text { width: 100%; min-height: 0; }
  .half-section__text { padding: 22px 12px; }
}

/* ================================================
   TABELA PORÓWNAWCZA
================================================ */
.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch; /* płynne przewijanie na iOS */
}

.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: center;
  font-size: 16px;
  margin-top: 48px;
  border-radius: 18px;
  overflow: hidden;
  min-width: 750px; /* wymusza scroll na węższych ekranach */
}

/* Komórki */
.comparison-table th,
.comparison-table td {
  padding: 12px;
  border: 1px solid #cccccc42;
  vertical-align: middle;
  text-align: center;
  background: #fff;
  min-width: 90px;
}

/* Nagłówki */
.comparison-table th {
  background: #f9fbfe;
  font-weight: 700;
  color: #566891;
}

/* Wyróżnienia */
.comparison-table th.highlight,
.comparison-table td.highlight {
  background: #f1ede970 !important;
}

/* Pierwsza kolumna */
.comparison-table th:first-child,
.comparison-table td:first-child {
  width: 200px;          
  min-width: 200px;
  max-width: 200px;      
  background: #f9fbfe;
  font-weight: 500;
  color: #566891;
  position: sticky;
  left: 0;
  z-index: 2;
  text-align: left;
  white-space: normal;   /* pozwala łamać linie */
  word-break: break-word;
  padding-left: 10px;
}
@media (max-width: 900px) {
  .comparison-table th:first-child,
  .comparison-table td:first-child {
    width: 140px;
    min-width: 140px;
    max-width: 140px;
    font-size: 12px;
  }
}

@media (max-width: 600px) {
  .comparison-table th:first-child,
  .comparison-table td:first-child {
    width: 110px;
    min-width: 110px;
    max-width: 110px;
    font-size: 11px;
  }
}

/* Rogi tabeli */
.comparison-table th:first-child { border-top-left-radius: 18px; }
.comparison-table th:last-child { border-top-right-radius: 18px; }
.comparison-table tr:last-child td:first-child { border-bottom-left-radius: 18px; }
.comparison-table tr:last-child td:last-child { border-bottom-right-radius: 18px; }

/* Mobile <= 900px */
@media (max-width: 900px) {
  .comparison-table {
    font-size: 13px;
    margin-top: 32px;
  }
  .comparison-table th,
  .comparison-table td {
    padding: 7px 2px;
    min-width: 60px;
  }

  /* Pierwsza kolumna bardziej kompaktowa */
  .comparison-table th:first-child,
  .comparison-table td:first-child {
    min-width: 120px;
    max-width: 160px;
    font-size: 12px;
    line-height: 1.3;
  }
}

/* Mobile <= 600px */
@media (max-width: 600px) {
  .comparison-table {
    font-size: 11px;
    margin-top: 32px;
  }
  .comparison-table th,
  .comparison-table td {
    padding: 6px 1px;
    min-width: 44px;
    word-break: break-word;
  }

  /* Pierwsza kolumna — jeszcze węższa */
  .comparison-table th:first-child,
  .comparison-table td:first-child {
    min-width: 100px;
    max-width: 140px;
    font-size: 11px;
  }
}

/* Scrollbar */
.table-wrapper::-webkit-scrollbar {
  height: 6px;
}
.table-wrapper::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}
.table-wrapper::-webkit-scrollbar-track {
  background: transparent;
}


/* ================================================
   OPIS PRODUKTU – ZDJĘCIE + TEKST
================================================ */
.description__row.--picture {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  gap: 48px;
}
.description__image {
  flex: 0 0 600px; max-width: 600px;
  display: flex; justify-content: flex-start; align-items: center;
}
.description__image img {
  width: 600px; max-width: 100%; height: auto;
  display: block; border-radius: 16px;
}
.description__text {
  flex: 1 1 0; display: flex; flex-direction: column;
  justify-content: center; align-items: flex-start; min-width: 0;
}
@media (max-width: 900px) {
  .description__row.--picture { flex-direction: column; gap: 18px; }
  .description__image,
  .description__row.--picture.--reverse .description__image {
    justify-content: center; max-width: 100%; flex: none;
  }
  .description__image img { width: 100%; max-width: 100%; }
}

/* ================================================
   ODSTĘPY MIĘDZY SEKCJAMI
================================================ */
.section-spacing { margin-bottom: 48px; }

/* ================================================
   AKCESORIA (GRID)
================================================ */
.parts-section {
  padding: 40px 20px; text-align: center;
}
.parts-section h2 {
  font-size: 2rem; margin-bottom: 30px;
  font-weight: bold; color: #2b3a67;
}
.parts-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.parts-grid a.part-item {
  background: #f9fbff;
  padding: 20px; border-radius: 12px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  display: flex; flex-direction: column; align-items: center;
  text-decoration: none; color: inherit;
}
.parts-grid a.part-item img { max-width: 200px; margin-bottom: 15px; }
.parts-grid a.part-item h3 {
  font-size: 1.125rem; font-weight: bold; color: #2b3a67; margin-bottom: 10px;
}
.parts-grid a.part-item p { font-size: 1rem; color: #555; line-height: 1.5; }
.parts-grid a.part-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
/* Responsywność */
@media (max-width: 1024px) { .parts-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .parts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .parts-grid { grid-template-columns: 1fr; } }

/* ================================================
   WIDEO + TEKST / INSTAGRAM / YOUTUBE
================================================ */
.video-text-section {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 30px; margin-bottom: 40px;
}
.video-wrapper { flex: 1 1 600px; max-width: 600px; }
.video-text { flex: 1 1 300px; }
.video-text h3 { margin-bottom: 15px; }
.video-text ul { padding-left: 20px; }
.instagram-media { max-width: 100% !important; width: 100% !important; }

.video-section {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 20px; margin: 40px 0;
}
.video-section iframe,
.video-wrapper {
  flex: 1 1 600px; max-width: 600px; border-radius: 12px;
}
.video-text { flex: 1 1 300px; margin-left: 40px; }
.video-text h3 { margin-bottom: 15px; }
.video-text ul { padding-left: 20px; }

/* YouTube Shorts */
.video-section.youtube-shorts iframe {
  max-width: 600px; aspect-ratio: 9/16;
  height: auto;
}
@media (max-width: 768px) {
  .video-section { flex-direction: column; align-items: flex-start; }
  .video-text { margin-left: 0; }
}

/* ================================================
   MOBILNE – MENU, IKONY, PRZYCISKI
================================================ */
.mobileCategories__item button { background-color: #e5bcb3; }
.mobileCategories { background-color: #f7f6f6; }
#login_menu_block a i, #login_menu_block span.font_icon { color: #e5bcb3; }
aside #menu_contact ul>li:before { color: #e5bcb3; }

/* ================================================
   FOOTER
================================================ */
.idosell__logo.--link { display: none; }
#menu_blog_rss { display: none !important; }

/* ================================================
   PRZYCISK "DO GÓRY"
================================================ */
#backTop {
  display: block !important;
  right: 10px !important; bottom: 10px !important;
  position: fixed !important; z-index: 9999 !important;
  opacity: .9; background: #fff; border: 1px solid #b0acac;
  cursor: pointer; font-size: 25px;
  height: 50px; width: 50px; line-height: 48px;
  text-align: center; border-radius: 25px;
}
@media (max-width: 756px) {
  #backTop {
    right: 5px !important; bottom: 5px !important;
    width: 40px !important; height: 40px !important;
    font-size: 20px !important; line-height: 38px !important;
  }
}

/* ================================================
   TEKSTY CMS – RESETY I ODSTĘPY
================================================ */
.description_text .cm {
  margin-top: 0 !important; margin-bottom: 0 !important;
  line-height: 1.3em !important; font-size: 1em !important;
  text-align: left !important;
}
.description_text .cm p { margin-bottom: 0.5em !important; }
.description_text .cm h1,
.description_text .cm h2,
.description_text .cm h3,
.description_text .cm strong {
  margin-top: 0.5em !important;
  margin-bottom: 0.5em !important;
  font-weight: bold !important;
  line-height: 1.3em !important;
}
.description_text .cm ul,
.description_text .cm ol { margin-bottom: 0.5em !important; padding-left: 1.25em !important; }
.description_text .cm li { margin-bottom: 0.5em !important; }
.cm h1, .cm h2, .cm h3, .cm h4, .cm h5, .cm h6, .cm p, .cm ol, .cm ul {
  margin: 0!important;
}
._ae_desc p { margin: 0!important; }
.section-header { margin: 15px 0 15px 0!important; }

/* ================================================
   UKŁAD DWÓCH KOLUMN (INSTAGRAM + KARTA)
================================================ */
.lp-two-cols { margin: clamp(1.5em, 3vw, 2.5em) 0; padding: 0 clamp(1em, 3vw, 1.5em); }
.lp-two-cols .lp-grid {
  display: grid;
  grid-template-columns: 0.4fr 0.6fr;
  gap: clamp(1em, 2.5vw, 1.5em);
  align-items: start;
}

/* Instagram tile */
.lp-two-cols .ig-tile {
  position: relative;
  max-width: 600px;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}
.lp-two-cols .ig-tile .instagram-media {
  position: absolute !important; inset: 0 !important;
  width: 100% !important; height: 100% !important;
  margin: 0 !important; padding: 0 !important;
  background: transparent !important; border: 0 !important; box-shadow: none !important;
}
.lp-two-cols .ig-tile iframe { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; border: 0 !important; }

/* Karta */
.lp-two-cols .card {
  background: #fff;
  border-radius: 16px;
  padding: clamp(1em, 2.5vw, 1.5em);
  box-shadow: 0 0.2em 1.2em rgba(0,0,0,.06);
  width: 100%;
}
.lp-two-cols .card-hero {
  margin: 0 0 clamp(1em, 2vw, 1.25em);
  border-radius: 12px;
  overflow: hidden;
  background: #f7f
  
  /* ================================================
  SEKCJA LP - FLEX 2 KOLUMN (SLIDER + KARTA)
================================================ */
.section-flex {
  padding: 40px 20px;
  overflow-x: hidden;
  box-sizing: border-box;
}

.section-flex__grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 40px;
  align-items: stretch; /* kolumny ta sama wysokość */
  max-width: 1400px;
  margin: 0 auto;
}

.section-flex__col {
  min-width: 0;
  box-sizing: border-box;
}

.section-flex__col--35 {
  width: 35%;
  display: flex;
  flex-direction: column;
}

.section-flex__col--65 {
  width: 65%;
}

/* === SLIDER === */
.slider {
  border-radius: 16px;
  overflow: hidden;
  width: 100%;
  /* Usunięcie aspect-ratio */
  /* aspect-ratio: 3 / 4; */
  max-width: 600px;
  margin: 0 auto;
  flex-grow: 1;
  height: 100%; 
}

.swiper-slide {
  height: auto;
}

.slider img {
  width: 100%;
  height: 100%; /* Obrazek wypełnia całą dostępną wysokość slidera */
  object-fit: cover; /* Zachowuje proporcje, przycinając jeśli trzeba */
  border-radius: 16px;
}

/* === CARD === */
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
  padding: 24px;
  color: #333;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card__hero {
  margin-bottom: 24px;
}

.card__hero img {
  width: 100%;
  border-radius: 12px;
}

/* === FEATURES === */
.card__features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
  box-sizing: border-box;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.feature img {
  max-width: 60px;
  margin-bottom: 10px;
}

.feature p {
  font-size: 1.2rem;
  font-weight: 700;
  color: #17598d;
  margin: 0;
  line-height: 1.3;
  word-break: break-word;
  white-space: normal;
}

/* === RESPONSYWNOŚĆ: Zwiększony priorytet dla media query === */
@media (max-width: 900px) {
  .section-flex .section-flex__grid {
    flex-direction: column !important;
    flex-wrap: wrap !important;
    gap: 24px !important;
  }

  .section-flex .section-flex__col--35,
  .section-flex .section-flex__col--65 {
    width: 100% !important;
    max-width: 100% !important;
    flex-basis: auto !important;
  }

  /* Reset styli dla kolumny slidera na mobile */
  .section-flex .section-flex__col--35 {
    display: block !important; /* Usunięcie flexbox z kolumny */
  }

  .section-flex .slider {
    aspect-ratio: 3 / 4 !important; /* Przywrócenie aspect-ratio na mobile */
    height: auto !important; /* Wysokość auto, aby działało aspect-ratio */
    flex-grow: 0 !important; /* Wyłączenie rozciągania na mobile */
    max-width: none !important; /* Reset max-width, jeśli było wcześniej */
  }
  
  .section-flex .card__features {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }
}

@media (max-width: 480px) {
  .section-flex .feature p {
    font-size: 1rem !important;
  }
}
/* Ukrycie info o wysyłce na karcie towaru */
div#projector_shipping_info {
    display: none !important;
}