html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Safari iOS - blokowanie automatycznego wykrywania danych (telefon, email, EAN itp.) */
a[x-apple-data-detectors] {
  color: inherit !important;
  text-decoration: none !important;
  font-size: inherit !important;
  font-family: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
}
.product-details-info span,
.product-details-info h2 {
  color: inherit;
  -webkit-text-fill-color: inherit;
}


.banner-category-product {
  width: 100%;
  background: linear-gradient(to right, #03294c 0%, #e1001d 100%);
  padding: 25px 0 30px;
  color: white;
  border-radius: 0;
  position: relative;
  margin-bottom: -15px;
  transform: translateY(-10px);
  box-shadow: none;
  display: flex;
  justify-content: flex-start;
  box-sizing: border-box;
}




.banner-category-content {
  margin-left: 30px;
}


@media (max-width: 768px) {
  .banner-category-content {
    padding-left: 15px;
    margin-left: 0;
  }
}

/* Tytuł produktu */
.banner-category-product-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 15px;
  max-width: 100%;
  text-align: left;
}

/* Breadcrumbs */
.banner-category-product-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.9rem;
  opacity: 0.9;
  justify-content: flex-start;
}

.banner-category-product-breadcrumbs span:not(:last-child):after {
  content: "/";
  margin-left: 10px;
}

.breadcrumb-link {
  color: white;
  text-decoration: none;
  font-weight: 600;
}

.breadcrumb-link:hover {
  text-decoration: underline;
}

.shipping-info-professional svg {
  display: none !important;
}



@media (max-width: 992px) {


  .banner-category-product{
    margin-top: 30px;
  }



  .product-page-container {
    flex-direction: column;
    align-items: center; /* Wyśrodkowanie całej zawartości */
  }

  .left-column,
  .right-wrapper,
  .right-column,
  .middle-column {
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    margin-right: 0;
    margin-left: 0;
    display: flex;
    flex-direction: column;
    align-items: center; /* Wyśrodkowanie elementów wewnątrz kolumn */
  }

  /* Wyśrodkowanie karuzeli */
  .left-column .product-image-container {
    margin: 0 auto;
    max-width: 520px;
    width: 100%;
  }

  .left-column .gallery-products {
    margin: 0 auto;
    max-width: 520px;
    width: 100%;
    justify-content: center;
    margin-top: 20px;
  }

  /* Dla kontenera ceny i przycisku koszyka - pełna szerokość */
  .right-column .cart-section {
    width: 100%;
    max-width: 100%;
  }

  /* Dla informacji o produkcie - pełna szerokość */
  .middle-column .product-details {
    width: 100%;
    max-width: 100%;
  }

  .right-wrapper {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .right-column {
    order: 1;
    width: 100%;
  }

  .middle-column {
    order: 2;
    width: 100%;
  }

  .container-methods{
    margin-top: 50px !important;
  }

  .payment-shipping-section {
    padding: 0px 20px !important;
  }

  .faq-section{
    margin: 20px !important;
  }

}



@media (max-width: 580px) {
  .banner-category-product {
    padding: 20px 15px 30px;
  }


  .left-column, .middle-column, .right-column {
    min-width: 100% !important;
  }



  .banner-category-product-title {
    font-size: 1.4rem;
    line-height: 1.3;
    max-width: 100%;
  }

  .banner-category-product-breadcrumbs {
    font-size: 0.75rem;
    gap: 6px;
  }

  .banner-category-product-breadcrumbs span:not(:last-child):after {
    margin-left: 6px;
  }

  .left-column .product-image-container {
    max-width: 450px;
    width: 80%;
  }

  .gallery-products .product-image {
    width: 100px !important;
  }
}


@media (max-width: 460px)  {
  .left-column .product-image-container {
    max-width: 360px;
    width: 80%;
  }

  .gallery-products .product-image {
    width: 70px !important;
  }
}




@media (max-width: 400px)  {
  .left-column .product-image-container {
    max-width: 300px;
    width: 80%;
  }

  .product-image-container .product-image {
    max-height: 80%;
    max-width: 80%;
    object-fit: contain;
  }

  /* Ukrycie czwartej miniatury lub dostosowanie wyświetlania */
  .gallery-products .product-image:nth-child(4) {
    display: none; /* Opcjonalnie: ukryj czwarty obrazek */
  }


}


@media (max-width: 465px) {
  /* Podstawowe dostosowania dla sekcji koszyka */
  .cart-section {
    padding: 15px 10px;
  }





  .cart-actions-container {
    flex-direction: column !important;
    width: 60vw;
  }

  /* Sekcja ceny - poprawiona na układ poziomy */
  .price-main {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    margin-bottom: 10px;
  }

  .price-value {
    font-size: 24px;
    margin-right: 5px;
    margin-bottom: 0;
  }

  .price-type {
    font-size: 14px;
    display: inline-block;
    margin-right: 5px;
  }

  .price-net {
    font-size: 14px;
    display: block;
    width: 100%;
    margin-top: 3px;
  }

  /* Kontrolki ilości i przycisk dodaj do koszyka */
  .cart-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 10px;
  }

  .quantity-controls {
    width: 100%;
    justify-content: center;
    margin-right: 0;
    margin-bottom: 10px;
    border-radius: 20px;
  }

  .quantity-btn {
    width: 36px;
    height: 36px;
  }

  .quantity-input {
    width: 50px;
    height: 36px;
    font-size: 14px;
  }

  .cart-actions .add-to-cart-btn.ajax-add-to-cart, .add-to-cart-btn.simple-cart-btn {
    width: 100%;
    height: 46px;
    font-size: 16px;
    padding: 10px;
  }

  /* Informacja o dostępności */
  .stock-info {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 6px 0;
    margin-top: 5px;
  }

  .info-icon{
    display: none !important;
  }


  .producer-details img {
    max-width: 70px !important;
    height: auto;
  }

}



@media (max-width: 335px)  {
  .left-column .product-image-container {
    max-width: 250px;
    width: 80%;
  }

  .producer-details img {
    max-width: 60px !important;
    height: auto;
  }

}




@media (max-width: 992px) {
  /* Zmniejszenie odstępu między karuzelą a sekcją cenową */
  .right-column {
    margin-top: -30px; /* Zmniejszenie odstępu od góry */
  }

  .cart-section {
    margin-top: 0; /* Usunięcie górnego marginesu */
  }

  /* Dostosowanie odstępów między elementami */
  .left-column .gallery-products {
    margin-bottom: 10px; /* Zmniejszenie odstępu na dole galerii */
  }

  /* Dodatkowa poprawka dla mniejszych ekranów */
  @media (max-width: 580px) {
    .right-column {
      margin-top: -40px; /* Większe zmniejszenie odstępu dla mniejszych ekranów */
    }

    .cart-section {
      margin-top: 0;
      padding-top: 15px; /* Zmniejszony padding górny */
    }
  }
}



/***  sekcja produktu z karuzelka ***/

.product-page-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}


/* Lewa kolumna - galeria */
.left-column {
  flex: 1;
  min-width: 370px; /* Zwiększona minimalna szerokość */
  max-width: 520px; /* Zwiększona maksymalna szerokość */
}

/* Środkowa kolumna - informacje o produkcie */
.middle-column {
  flex: 1;
  min-width: 330px; /* Zmniejszona minimalna szerokość */
  max-width: 520px; /* Zmniejszona maksymalna szerokość z 620px */
}

/* Prawa kolumna - koszyk */
.right-column {
  flex: 1;
  min-width: 300px; /* Bez zmian */
  max-width: 400px; /* Bez zmian */
}


/* Main product image container styling */
.cart-product {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border-radius: 0;
  overflow: hidden;
  margin-bottom: 0px;
  margin-top: 30px;
}

.product-image-container {
  position: relative;
  width: 100%;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
}

.product-image-container .product-image {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  cursor: pointer;
}

/* Gallery thumbnails styling */
.gallery-products {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 10px 0;
  position: relative;
  gap: 10px;
  background-color: transparent;
  border-top: none;
  margin-top: 10px;
  overflow: hidden;
}

.gallery-products .product-image {
  width: calc(25% - 8px);
  flex-shrink: 0;
  height: auto;
  object-fit: contain;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 5px;
  cursor: pointer;
  transition: border-color 0.2s;
}

.gallery-products .product-image:hover {
  border-color: #c2c2c2;
}

/* Navigation arrows styling */
.arrow-left,
.arrow-right,
.arrow-left-gallery-products,
.arrow-right-gallery-products {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  cursor: pointer;
  z-index: 2;
}

.arrow-left,
.arrow-left-gallery-products {
  left: 5px;
}

.arrow-right,
.arrow-right-gallery-products {
  right: 5px;
}

/* Icon styling */
.gallery-products .bx {
  font-size: 24px;
  color: #555;
}

/* Product details styling */
.product-details {
  background-color: #fff;
  padding: 20px;
  margin-top: 30px;
  border-radius: 8px;
}

.product-details-info {
  flex: 1;
  margin-bottom: 0; /* Usunięcie marginesu, który był w poprzedniej wersji */
}

.product-details-info h2 {
  font-size: 14px;
  font-weight: normal;
  color: #666;
  margin-bottom: 10px;
  display: flex;
}

.product-details-info h2 span {
  margin-left: 5px;
  font-weight: 600;
  color: #333;

}


.producer-details {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0; /* Usunięcie marginesu, który był w poprzedniej wersji */
}


.producer-details img {
  max-width: 140px;
  height: auto;
}




.line-product-page {
  border: none;
  height: 1px;
  background-color: #e0e0e0;
  margin: 15px 0;
}


.product-details-info-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}


.status-label {
  display: inline;
}


/* Info items styling */
.info-item {
  display: flex;
  align-items: flex-start;
  padding: 15px;
  background-color: #f9f9f9;
  margin-bottom: 10px;
  border-radius: 8px;
}

.info-item .icon {
  font-size: 24px;
  margin-right: 15px;
  color: #666;
}

.info-item .text {
  font-size: 14px;
  color: #555;
  line-height: 1.4;
}

/* Cart section styling */
.cart-section {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  margin-top: 30px;
}

.price-container {
  margin-bottom: 20px;
}

.price-main {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.price-value {
  font-size: 30px;
  font-weight: bold;
  margin-right: 5px;
}

.price-type {
  font-size: 16px;
  color: #555;
  margin-right: 10px;
}

.price-net {
  font-size: 14px;
  color: #777;
}

.info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #e0e0e0;
  color: #666;
  font-size: 12px;
  margin-left: 5px;
  cursor: help;
}

.cart-actions {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}



/* Domyślnie - dla ekranów powyżej 992px */
.right-wrapper #add-to-cart-or-refresh {
  min-width: 100%;
}

/* Dla ekranów między 465px a 992px */
@media (max-width: 992px) and (min-width: 466px) {
  .right-wrapper #add-to-cart-or-refresh {
    min-width: auto;
  }
}

/* Dla ekranów mniejszych niż 465px */
@media (max-width: 465px) {
  .right-wrapper #add-to-cart-or-refresh {
    min-width: 100% !important;
  }
}




.quantity-controls {
  display: flex;
  align-items: center;
  border-radius: 30px;
  overflow: hidden;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  margin-right: 15px;
}

.quantity-btn {
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
}

.quantity-input {
  width: 50px;
  height: 40px;
  border: none;
  text-align: center;
  font-size: 16px;
}

.cart-section .add-to-cart-btn {
  flex: 1;
  height: 46px;
  background: linear-gradient(to right, #03294c 0%, #e1001d 100%);
  border: none;
  border-radius: 30px;
  color: white;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;

  white-space: nowrap;

}

.stock-info {
  display: inline-flex;
  align-items: center;
  padding: 5px 15px;
  border-radius: 20px;
  color: #00a170;
  font-size: 14px;
}

.in-stock-icon {
  margin-right: 5px;
}

.leasing-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}

.leasing-text {
  display: flex;
  align-items: center;
}

.leasing-icon {
  margin-right: 10px;
  font-size: 24px;
}

.rate-button {
  color: #00a170;
  font-weight: bold;
  text-decoration: none;
}

.payment-methods {
  display: flex;
  align-items: center;
  margin-top: 20px;
}


.method-box img[src*="sokxpjjc"] {
  filter: brightness(0) saturate(100%) invert(20%);
}


.payment-logo {
  height: 30px;
  margin-right: 20px;
}

.shipping-info {
  display: flex;
  align-items: center;
  margin-top: 20px;
  color: #666;
}

.shipping-icon {
  margin-right: 10px;
}

.free-shipping-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #00c07f;
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
}



.product-page-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.left-column,
.middle-column,
.right-column {
  flex: 1;
  min-width: 300px;
  max-width: 33%;
}

.right-wrapper {
  display: contents; /* żeby nie wpływał na layout dla desktopa */
}


@media (max-width: 1200px) {
  .product-page-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
  }

  .left-column {
    flex: 0 0 48%;
    max-width: 48%;
    order: 0;
  }

  .right-wrapper {
    flex: 0 0 48%;
    max-width: 48%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    order: 1;
  }

  .right-column {
    order: 1;
    max-width: 100%;
  }

  .middle-column {
    order: 2;
    max-width: 100%;
  }
}






.gallery-products .product-image.inactive {
  opacity: 0.5;
  filter: brightness(0.8);
  transition: all 0.3s ease;
}

.gallery-products .product-image.inactive:hover {
  opacity: 0.8;
  filter: brightness(0.9);
}






/* Dostosowanie  strzałek*/


.arrow-left,
.arrow-right,
.arrow-left-gallery-products,
.arrow-right-gallery-products {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(245, 245, 245, 0.7); /* Przezroczyste tło */
  cursor: pointer;
  z-index: 2;
  border-radius: 25px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

/* Efekt hover dla strzałek */
.arrow-left:hover,
.arrow-right:hover,
.arrow-left-gallery-products:hover,
.arrow-right-gallery-products:hover {
  background: rgba(245, 245, 245, 0.9); /* Mniej przezroczyste przy najechaniu */
}

/* Przezroczystość ikon wewnątrz strzałek */
.arrow-left .bx,
.arrow-right .bx,
.arrow-left-gallery-products .bx,
.arrow-right-gallery-products .bx {
  opacity: 0.8;
}

/* Media query dla responsywności */
@media (max-width: 580px) {
  .arrow-left,
  .arrow-right,
  .arrow-left-gallery-products,
  .arrow-right-gallery-products {
    width: 35px;
    height: 35px;
    background: rgba(245, 245, 245, 0.6); /* Jeszcze bardziej przezroczyste na mobilnych */
  }
}



/* Dostosowanie danych o produkcie  */



.product-tabs-section {
  max-width: 1500px;
  margin: 30px auto;
  padding: 20px;
}


.buttons-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 20px 0;
  background-color: transparent;
  margin-bottom: 30px;
  border-bottom: none; /* <-- usuwa pasek */
}


.tab-button {
  background-color: #f5f5f5;
  border: none;
  padding: 12px 28px;
  border-radius: 12px;
  font-size: 16px;
  color: #555;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;

}




.product-details-section {
  background-color: #f5f5f5;
  border-radius: 25px;
  overflow: hidden;
  width: 100%; /* Pełna szerokość */
}

.product-details-content {
  padding: 20px 20px; /* Mniejszy padding */
  background-color: #f5f5f5;
  width: 100%; /* Pełna szerokość */
  max-width: 100%; /* Brak ograniczenia szerokości */
  margin: 0 auto;
}

.section-title {
  font-size: 28px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
}

.product-tabs-section .product-title {
  font-size: 24px;
  font-weight: 600; /* Zwiększona grubość czcionki */
  color: #333;
  margin-bottom: 25px;
  line-height: 1.4;
}

.product-tabs-section .subsection-title {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-top: 30px;
  margin-bottom: 15px;
  display: none;
}

.product-title-details  {
  display: none;
}

.description-text {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 20px;
  max-width: 100%; /* Pełna szerokość */
  font-weight: 500; /* Zwiększona grubość czcionki */
}

.product-details-section ul,
.product-details-section ol,
.product-details-section li,
.product-details-section p,
.product-details-section span,
.product-details-section div,
.product-details-section h1,
.product-details-section h2,
.product-details-section h3,
.product-details-section h4,
.product-details-section h5,
.product-details-section strong,
.product-details-section em,
.product-details-section td,
.product-details-section th {
  background-color: transparent !important;
}

/* Usuń białe/kolorowe tła z kopiowanych opisów */
.description-text *,
.features-list * {
  background-color: transparent !important;
  background: transparent !important;
}

.specs-table {
  width: 100%; /* Pełna szerokość tabeli */
  margin: 20px 0;
  border-collapse: collapse;
}

.specs-row {
  display: flex;
  border-bottom: 1px solid #f0f0f0;
}

.specs-row:nth-child(odd) {
  background-color: #f9f9f9;
}

.specs-label {
  flex: 0 0 25%; /* Zmniejszona szerokość etykiety */
  padding: 12px 15px;
  font-weight: 500;
  color: #666;
  text-align: right;
}

.specs-value {
  flex: 0 0 75%; /* Zwiększona szerokość wartości */
  padding: 12px 15px;
  color: #333;
  font-weight: 500; /* Zwiększona grubość czcionki */
}

.features-list, .package-list {
  padding-left: 20px;
  margin-bottom: 30px;
  width: 100%;
}

.features-list li, .package-list li {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 8px;
  position: relative;
  list-style-type: none;
  padding-left: 15px;
  font-weight: 500; /* Zwiększona grubość czcionki */
}

.features-list li:before, .package-list li:before {
  content: "◦";
  color: #03294c;
  position: absolute;
  left: 0;
}



.specs-label {
  flex: 0 0 25%;
  padding: 14px 20px;
  font-weight: 600;
  color: #333;
  text-align: center; /* <-- ŚRODKOWANIE TEKSTU */
  font-size: 16px; /* <-- WIĘKSZA CZCIONKA */
}

.specs-value {
  flex: 0 0 75%;
  padding: 14px 20px;
  color: #03294c;
  font-weight: 600;
  text-align: center; /* <-- ŚRODKOWANIE TEKSTU */
  font-size: 16px; /* <-- WIĘKSZA CZCIONKA */
}



/* Responsywność dla mniejszych ekranów */
@media (max-width: 768px) {
  .product-tabs-section {
    margin: 20px auto;
  }

  .buttons-container {
    overflow-x: auto;
    white-space: nowrap;
    justify-content: center;
    padding-bottom: 5px;
  }

  .tab-button {
    padding: 10px 15px;
    font-size: 13px;
  }

  .product-details-content {
    padding: 15px 15px;
  }

  .section-title {
    font-size: 20px;
  }

  .product-title {
    font-size: 18px;
  }

  .current-price {
    font-size: 20px;
  }


  .specs-row {
    flex-direction: column;
  }

  .specs-label, .specs-value {
    flex: 0 0 100%;
    text-align: left;
    padding: 8px 15px;
  }

  .specs-label {
    background-color: #f5f5f5;
    font-weight: 600;
    padding-bottom: 0;
  }

  .features-list, .package-list {
    padding-left: 10px;
  }
}

@media (max-width: 400px) {

  .buttons-container {
    overflow-x: auto;
    white-space:nowrap;
    justify-content: center;
    flex-direction: column;
    padding-bottom: 5px;
    padding: 25px;
  }
}




/* Dostosowanie dla metod płatości*/


.payment-shipping-section {
  background-color: #fff;
  padding: 60px 20px;
  max-width: 100%;
  margin: 0 auto;

}

.container-methods {
  max-width: 1300px;
  margin: 0 auto;
}

.methods-title {
  font-size: 32px;
  font-weight: 700;
  color: #1c1c1c;
  margin-bottom: 30px;
  text-align: left;
}

.methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* WIĘKSZA MINIMALNA SZEROKOŚĆ */
  gap: 30px;
  margin-bottom: 60px;
}

@media (max-width: 992px) {
  .methods-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 15px;
    padding-bottom: 15px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .methods-grid::-webkit-scrollbar {
    display: none;
  }

  .method-box {
    min-width: 200px;
    flex: 0 0 auto;
    scroll-snap-align: start;
  }
}

/* Stałe 5 kolumn tylko dla metod płatności */
.payments-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.method-box {
  background-color: #f5f5f5;
  border-radius: 16px;
  padding: 60px 30px; /* WIĘKSZY PADDING */
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease;
  min-height: 260px; /* WIĘKSZA WYSOKOŚĆ */
}

.method-box:hover {
  transform: translateY(-6px);
}

.method-box img {
  max-height: 70px; /* WIĘKSZE IKONY */
  margin-bottom: 25px;
}

.method-box p {
  font-size: 19px;
  font-weight: 600;
  color: #333;
  margin: 0;
  text-align: center;
}

.method-box p span {
  display: block;
  font-size: 16px;
  font-weight: 400;
  color: #666;
  margin-top: 10px;
}


/** FQA ***/


.faq-section {
  background-color: #f5f5f5;
  border-radius: 25px;
  padding: 50px 30px;
  margin: 20px;
  max-width: 1300px;
  margin: 20px auto;
}

.faq-title {
  font-size: 28px;
  font-weight: 700;
  color: #1c1c1c;
  margin-bottom: 30px;
}

.faq-grid-two-cols {
  display: grid;
  grid-template-columns: 60% 35%;
  gap: 50px;
  align-items: stretch;
}

.faq-box {
  background-color: white;
  border-radius: 20px;
  padding: 40px 30px;
  display: flex;
  justify-content: center;
  text-align: center;
  min-height: 220px;
}

.faq-left {
  align-items: center;
}

.faq-box p {
  font-size: 18px;
  font-weight: 500;
  color: #1c1c1c;
}

.faq-question-box {
  flex-direction: column;
  align-items: center;
  padding: 30px 20px;
  box-sizing: border-box;
}

.faq-icon {
  height: 40px;
  margin-bottom: 15px;
}

.faq-question-text {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
}

.faq-button {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(to right, #002a4d, #00e293);
  color: #fff;
  font-weight: 600;
  border-radius: 25px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.faq-button:hover {
  opacity: 0.9;
}

/* RESPONSYWNOŚĆ */
@media (max-width: 768px) {
  .faq-grid-two-cols {
    grid-template-columns: 1fr;
  }

  .faq-box {
    min-height: auto;
    padding: 30px 20px;
  }

  .faq-icon {
    height: 36px;
  }

  .faq-title {
    font-size: 24px;
  }

  .faq-button {
    padding: 10px 24px;
    font-size: 15px;
  }
}





.mobile-sticky-bar {
  display: none; /* Domyślnie ukryty */
}

.cart-section .add-to-cart-btn-main {
  display: block;
  margin: 50px auto;
}


/* Poniżej 768px pokazuj pasek */

/* Sticky bar for mobile devices */


/* Sticky bar for mobile devices */
/* Sticky bar for mobile devices */

@media screen and (max-width: 768px) {
  .sticky-cart-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    background-color: #fff;
    padding: 10px 20px;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
  }

  .inventory-status {
    display: inline-flex;
    align-items: center;
    background-color: #dff7ea;
    padding: 5px 15px;
    border-radius: 20px;
    color: #00a170;
    font-size: 14px;
    white-space: nowrap;
    margin-right: 15px;
    flex: 0 0 auto;
  }

  .status-icon {
    margin-right: 5px;
  }

  /* Styl formularza, aby zajmował całą dostępną przestrzeń */
  #add-to-cart-or-refresh-20 {
    flex: 1 1 auto;
    width: 100%;
  }

  .add-to-cart-btn,
  .add-to-cart-btn.ajax-add-to-cart,
  .add-to-cart-btn.simple-cart-btn {
    width: 100%;
    height: 50px;
    background: linear-gradient(to right, #032947 0%, #e1001d 100%);
    border: none;
    border-radius: 30px;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    white-space: nowrap;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .add-to-cart-btn:hover,
  .add-to-cart-btn.ajax-add-to-cart:hover,
  .add-to-cart-btn.simple-cart-btn:hover {
    opacity: 0.9;
  }

  /* Add padding to the bottom of the page content to prevent the sticky bar from covering content */
  body {
    padding-bottom: 70px;
  }
}

@media screen and (min-width: 769px) {
  .sticky-cart-bar {
    display: none;
  }
}


@media screen and (max-width: 400px) {
  .add-to-cart-btn, .add-to-cart-btn.ajax-add-to-cart, .add-to-cart-btn.simple-cart-btn {
    padding: 10px;
    font-size: 14px;
  }
}


@media screen and (max-width: 330px) {
  .sticky-cart-bar {
    flex-direction: column;
  }
}




@media screen and (max-width: 345px) {
  .cart-section .add-to-cart-btn {
    width: 100%;
    height: 40px;
    font-size: 12px; /* Zmniejszona czcionka */
    padding: 0 8px; /* Zmniejszone paddingi */;
  }
}



.sticky-product-info {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  margin-top: 20px;
}

.sticky-product-data {
  display: flex;
  align-items: center;
  gap: 20px;
}

.sticky-product-price {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  white-space: nowrap;
  margin-bottom: 10px;
}



/* sticky header **********************/

/* Główny kontener sticky headera */
/* sticky header **********************/
/* Główny kontener sticky headera */
.sticky-product-header {
  position: fixed;
  top: -200px;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: top 0.3s ease-in-out;
  z-index: 1000;
  font-family: 'Roboto', 'Open Sans', sans-serif;
  line-height: 1.3;
}

.sticky-product-header.sticky-visible {
  top: 0;
}

/* Kontener produktu */
.sticky-product-container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 5px;
}

/* Górna część ze szczegółami produktu */
.sticky-product-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 8px;
  height: 40px;
}

/* Tytuł produktu */
.sticky-product-title {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  max-width: 70%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Kontener informacji o produkcie */
.sticky-product-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Cena produktu */
.sticky-product-price {
  font-size: 20px;
  font-weight: 700;
  color: #333;
}

/* Przycisk dodaj do koszyka */
.sticky-add-to-cart {
  padding: 8px 12px;
  background: linear-gradient(to right, #03294c 0%, #e1001d 100%);
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sticky-add-to-cart:hover {
  opacity: 0.9;
}

.sticky-product-header .product-tabs-section {
  padding: 0;
  height: 50px;
  margin: 0;
  max-width: none;
  margin-top: 10px;
}

.sticky-product-header .buttons-container {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  -ms-overflow-style: none;
  height: 100%;
  padding: 0 8px;
}

.sticky-product-header .buttons-container::-webkit-scrollbar {
  display: none;
}

.sticky-product-header .tab-button {
  background-color: #f5f5f5;
  border: none;
  padding: 10px 25px;
  border-radius: 10px;
  font-size: 14px;
  color: #555;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}


.sticky-product-quantity {
  display: flex;
  align-items: center;
  border-radius: 30px;
  overflow: hidden;
  background-color: #fff;
  border: 1px solid #e0e0e0;
}

.sticky-product-quantity .quantity-btn {
  background-color: #fff;
  border: none;
  cursor: pointer;
  font-size: 18px;
  font-weight: 400;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.sticky-product-quantity .quantity-input {
  width: 40px;
  height: 100%;
  border: none;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  outline: none;
  -moz-appearance: textfield;
  appearance: textfield;
}

/* Usunięcie strzałek z pola input typu number */
.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Bootstrap Touchspin dodaje pionowe przyciski wewnątrz inputa - ukrywamy je,
   bo używamy własnych zewnętrznych przycisków +/- */
.quantity-controls .input-group-btn-vertical {
  display: none;
}

/* Wyrównanie inputa w poziomie - touchspin owija input w .input-group */
.quantity-controls .input-group {
  width: auto;
  flex-wrap: nowrap;
  align-items: center;
}

.quantity-controls .quantity-input {
  height: 40px;
  vertical-align: middle;
}


/* Responsywność */
@media (max-width: 768px) {
  .sticky-product-top {
    height: 25px;
    padding: 2px 6px;
  }

  .sticky-product-title {
    font-size: 16px;
  }

  .sticky-product-price {
    font-size: 12px;
  }

  .sticky-add-to-cart {
    padding: 4px 8px;
    font-size: 12px;
  }

  .sticky-product-header .product-tabs-section {
    height: 22px;
  }

  .sticky-product-header .tab-button {
    padding: 2px 6px;
    font-size: 11px;
    border-radius: 6px;
  }
}







.footer{
  margin-top: 60px;
}






/* Usuń wszystkie czarne paski z lewej strony kategorii */
.category-nav-item-wrapper::before,
.category-nav-item::before,
.category-dropdown::before {
  display: none !important;
}

/* Usuń border-left z wszystkich elementów kategorii */
.category-nav-item,
.category-nav-item-wrapper,
.category-dropdown,
.category-nav-list,
.category-sidebar {
  border-left: none !important;
  border: none !important;
}

/* Usuń wszystkie pseudoelementy które mogą tworzyć paski */
*::before,
*::after {
  border-left: none !important;
}

/* Specjalnie dla dropdown - usuń wszystkie możliwe paski */



/* css do opisu tagow  */
/* css do opisu tagow  *//* css do opisu tagow  *//* css do opisu tagow  *//* css do opisu tagow  *//* css do opisu tagow  */
/* css do opisu tagow  */
/* css do opisu tagow  */
/* css do opisu tagow  */
/* css do opisu tagow  */
/* css do opisu tagow  */
/* css do opisu tagow  */
/* css do opisu tagow  */
/* css do opisu tagow  */
/* css do opisu tagow  */
/* css do opisu tagow  */
/* css do opisu tagow  */


.description-text img,
.product-details-content img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
    margin: 20px auto;
}

/* Paragrafy - odstępy */
.description-text p,
.product-details-content p {
    margin-bottom: 15px;
}

/* Listy - odstępy i wcięcia */
.description-text ul,
.product-details-content ul,
.description-text ol,
.product-details-content ol {
    margin: 15px 0;
    padding-left: 25px;
}

.description-text ul li,
.product-details-content ul li,
.description-text ol li,
.product-details-content ol li {
    margin-bottom: 8px;
}

/* Listy zagnieżdżone - wcięcie */
.description-text ul ul,
.product-details-content ul ul,
.description-text ol ol,
.product-details-content ol ol {
    margin: 5px 0;
    padding-left: 20px;
}

/* Tabele - padding */
.description-text table,
.product-details-content table {
    width: 100%;
    margin: 20px 0;
}

.description-text table th,
.product-details-content table th,
.description-text table td,
.product-details-content table td {
    padding: 10px;
}

/* Nagłówki - odstępy */
.subsection-title {
    margin-top: 25px;
    margin-bottom: 15px;
}

/* Mobile - mniejsze marginesy */
@media (max-width: 768px) {
    .description-text img,
    .product-details-content img {
        margin: 15px auto;
    }
    
    .description-text ul,
    .product-details-content ul,
    .description-text ol,
    .product-details-content ol {
        padding-left: 20px;
    }
}


