/* ===== GLOBAL STYLES ===== */
body, html {
  overflow-x: hidden;
  background: #fff;
}
#header{
  box-shadow: 0 2px 5px 0 #0171BB;
}

#wrapper,
#wrapper .container,
#wrapper .products {
  background-color: #ffffff !important;
}

.custom-wrapper {
  width: min(90vw, 2545px);
  margin: 0 auto;
  padding: 0 15px;
}

.btn {
  border-radius: 999px !important;
}

/* ===== HEADER STYLES ===== */
/* Top Bar */
.header-top-bar {
  background: #fff !important;
  border-bottom: 1px solid #ededed;
  padding: 15px 0;
  font-size: 13px;
}

.header-top-bar .topbar-right {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
}

.header-top-bar .currency-selector {
  border-right: 1px solid #bcbcbc;
  color: #555;
  padding: 0 20px 0 0;
  margin-right: 20px;
}

/* Main Header */
.header-main {
  padding: 15px 20px;
}

.header-main-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  width: 100%;
}

.header-left {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.header-center {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-start;
  gap: 30px;
  margin-left: 5%;
}

.header-right {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-left: auto;
  text-align: right;
}

/* Header Elements */
#_desktop_search,
#_desktop_user_info,
#_desktop_cart {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

#_desktop_search {
  margin-left: auto;
}

.contact-link {
  margin-left: 10px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
}

/* Header Icons */
.header-right .user-info span,
.header-right .cart-preview .hidden-sm-down {
  display: none;
}

.header-right i[class^="pe-7s-"] {
  font-size: 35px;
  line-height: 1em;
  vertical-align: middle;
  
}

.header-right .contact-link img.mail-icon {
  width: 35px;
  height: 35px;
  vertical-align: middle;
}
.header-right .user-info img.user-icon {
  width: 35px;
  height: 35px;
  vertical-align: middle;
}
.header-right .cart-preview img.cart-icon {
  width: 35px;
  height: 35px;
  vertical-align: middle;
}
.header-right .wishlist-shortcut img.wishlist-icon {
  width: 35px;
  height: 35px;
  vertical-align: middle;
}

/* Search Widget */
/* === Wspólne style dla wszystkich pól === */
.search-widgets form {
  position: relative;
  display: flex;
  align-items: center;
}

.search-widgets input[type="text"] {
  padding: 6px 10px 6px 55px;
  border-radius: 20px;
  background-color: #f5f5f5;
  color: #333;
  border: none;
  width: 100%;
    height: 40px;
      line-height: 40px ;
}

.search-icon-inside {
  position: absolute;
  left: 5px;
  font-size: 35px;
  color: #666;
  pointer-events: none;
}

/* === DOMYŚLNE: Desktop ≥1500px === */
@media screen and (min-width: 1500px) {
  .header-right .search-wrapper {
    position: relative;
  }

  .header-right .search-widgets {
    display: block;
    position: static;
    width: auto;
    background: transparent;
    box-shadow: none;
    padding: 0;
    border: none;
  }

  .search-icon-inside {
    display: inline-block !important;
  }

  .search-toggle,
  .search-toggle-icon {
    display: none !important;
  }
}

/* === MOBILE <1500px === */
@media screen and (max-width: 1499px) {
  .header-right .search-wrapper {
    position: relative;
    display: inline-block;
  }

  .header-right .search-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    width: 40px;
    height: 40px;
  }

  .search-toggle-icon {
    font-size: 24px;
    color: #666;
  }

  .header-right .search-widgets {
    position: absolute;
    top: 100%;
    left: 0;
    width: 280px;
    background: white;
    border-radius: 20px;
    padding: 10px;
    border: 1px solid #ccc;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: none;
    transition: all 0.3s ease;
    z-index: 99;
  }

  .header-right .search-wrapper:hover .search-widgets {
    display: block;
  }

  .header-right .search-widgets input[type="text"] {
    padding-left: 12px;
  }

  .search-icon-inside {
    display: none !important;
  }

  .search-toggle-icon {
    display: inline-block !important;
  }
}




/* ===== LANGUAGE & CURRENCY SELECTORS ===== */
.language-selector,
.currency-selector {
  display: flex;
  align-items: center;
}

.language-selector button,
.currency-selector button {
  display: flex;
  align-items: center;
  padding: 0;
  background: none;
  border: none;
  gap: 5px;
}

.language-selector button img {
  height: 14px;
  width: auto;
  margin-right: 5px;
  border: 1px solid #ccc;
  border-radius: 2px;
  vertical-align: middle;
  position: relative;
  top: 1px;
}

.language-selector button span,
.currency-selector button span {
  font-size: 14px;
}

/* Dropdown Styles */
.language-selector .dropdown-menu,
.currency-selector .dropdown-menu {
  min-width: 140px;
  left: 50% !important;
  transform: translateX(-50%) !important;
  text-align: left;
}

.language-selector .dropdown-menu .dropdown-item,
.currency-selector .dropdown-menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  font-size: 14px;
  color: #333;
  white-space: nowrap;
}

.language-selector .dropdown-menu .dropdown-item img,
.currency-selector .dropdown-menu .dropdown-item img {
  height: 14px;
  border: 1px solid #ccc;
  border-radius: 2px;
}

.language-selector .dropdown-menu li:not(:first-child) .dropdown-item,
.currency-selector .dropdown-menu li:not(:first-child) .dropdown-item {
  border-top: 1px solid #ddd;
}

.language-selector .dropdown-menu .current .dropdown-item,
.currency-selector .dropdown-menu .current .dropdown-item {
  font-weight: bold;
}

/* ===== SLIDER STYLES ===== */
#carousel {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  position: relative;
  margin-bottom: 60px;
  overflow: visible;
}

#carousel .carousel-inner {
  padding: 0 !important;
  width: 100vw !important;
  max-width: 100vw !important;
  margin: 0 !important;
}

/* Carousel Indicators */
.carousel-indicators,
#carousel .carousel-indicators {
  display: flex !important;
  justify-content: center;
  align-items: center;
  list-style: none;
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  margin: 0;
  padding: 0;
}

#carousel .carousel-indicators li {
  width: 12px;
  height: 12px;
  background-color: #bbb;
  border-radius: 50%;
  margin: 0 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#carousel .carousel-indicators li.active {
  background-color: #0171BB !important;
}

.carousel-control {
  display: none !important;
}

/* ===== PRODUCT STYLES ===== */
/* Product Miniature */
.product-miniature .highlighted-informations {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  background: none !important;
  font-size: 0 !important;
  line-height: 0 !important;
  box-shadow: none !important;
}

.product-description::after {
  content: none !important;
  display: none !important;
  border-top: none !important;
}

.product-flags,
.product-flag {
  display: none !important;
}

.product-thumbnail {
  position: relative;
}

/* Product Grid */
.featured-products .products {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.featured-products .js-product.product {
  flex: 0 0 280px !important;
  max-width: 280px !important;
}

/* Product Hover Effects */
.js-product-miniature:hover .wishlist-button-add,
.js-product-miniature:hover .add-to-cart,
.product-miniature:hover .product-action-icons,
.product-miniature:hover .product-action-icons .quick-view-icon,
.js-product-miniature:hover .product-hover-button {
  opacity: 1;
  transform: scale(1) translateX(-50%) translateY(0);
}

/* Wishlist Button */
.js-product-miniature .wishlist-button-add {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  background-color: #0171BB !important;
  color: #ffffff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 2;
  padding: 0;
  box-sizing: border-box;
  transform: scale(0.8);
}

.js-product-miniature .wishlist-button-add i,
.js-product-miniature .wishlist-button-add svg {
  font-size: 20px;
  color: #ffffff !important;
}

/* Add to Cart Button */
.js-product-miniature .add-to-cart {
  display: none;
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  background-color: #0171BB;
  color: #fff;
  text-align: center;
  padding: 8px 0;
  font-size: 13px;
  font-weight: 600;
  border-radius: 4px;
  z-index: 2;
  transition: opacity 0.3s ease;
}

/* Product Action Icons */
.product-action-icons {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 50px;
  transform: scale(0.8);
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 10;
}

.product-action-icons .quick-view-icon {
  position: absolute;
  top: 50px;
  background: #0171BB !important;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 5px rgba(0,0,0,0.2);
  cursor: pointer;
  padding: 0;
  border: none;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.4s ease;
  z-index: 10;
}

.product-action-icons .quick-view-icon .material-icons {
  font-size: 18px;
  color: #fff;
}

/* Product Hover Button */
.product-hover-button {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  transition: all 0.4s ease;
}

.product-hover-button .btn,
.product-hover-button .btn-sm,
.product-hover-button .btn-out-of-stock,
.product-hover-button .quick-view {
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 8px 16px !important;
  text-transform: none !important;
  border-radius: 999px !important;
}

.product-hover-button .btn-primary,
.product-hover-button .btn:not(.btn-out-of-stock) {
  background-color: #0171BB !important;
  border: none !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}

/* Out of Stock Label */
.out-of-stock-label {
  background-color: #f44336;
  color: white;
  padding: 10px 15px;
  border-radius: 4px;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 13px;
  width: 100%;
}

/* ===== WISHLIST BADGE ===== */
.wishlist-shortcut {
  position: relative;
  display: inline-block;
  font-size: 0;
  margin-left: 8px;
  text-decoration: none;
}

.wishlist-shortcut i.pe-7s-like {
  font-family: 'Pe-icon-7-stroke';
  font-size: 30px;
  color: #0171BB;
  vertical-align: middle;
}

.wishlist-shortcut .wishlist-counter {
  position: absolute;
  top: -8px;
  right: -10px;
  background-color: #0171BB;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: normal;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

/* ===== CART BADGE ===== */
.cart-products-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background-color: #0171BB;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: normal;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.cart-preview .header {
  position: relative;
  display: inline-block;
}

/* ===== SWIPER STYLES ===== */
.new-products-swiper-wrapper,
.featured-products-swiper-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
  overflow: visible;
}

.new-products-swiper,
.featured-products-swiper {
  overflow: visible;
  box-sizing: border-box;
}

.swiper-button-prev,
.swiper-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: transparent;
  color: #0171BB;
  border: none;
  font-size: 32px;
  z-index: 100;
  cursor: pointer;
}

.new-products-swiper-wrapper .swiper-button-prev,
.featured-products-swiper-wrapper .swiper-button-prev {
  left: -45px;
}

.new-products-swiper-wrapper .swiper-button-next,
.featured-products-swiper-wrapper .swiper-button-next {
  right: -45px;
}
/* Wrapper slidera */
.brand-carousel-wrapper {
  position: relative;
  width: 100%;
  margin: 40px auto;
 
  overflow: visible;
}

.brand-carousel-swiper {
  overflow: visible;
  box-sizing: border-box;
  padding: 0 10px;
}

.brand-carousel-wrapper .swiper-button-prev,
.brand-carousel-wrapper .swiper-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: transparent;
  color: #0171BB;
  border: none;
  font-size: 32px;
  z-index: 100;
  cursor: pointer;
}
/*
.brand-carousel-wrapper .swiper-button-prev {
  left: -45px;
}
.brand-carousel-wrapper .swiper-button-next {
  right: -45px;
}
*/
/* Slajdy w karuzeli marek */
.brand-carousel-swiper .swiper-slide {
    /* szerokość dostosowuje się do slidesPerView */
  max-width: 450px;

  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

/* Obrazek w środku */
.brand-carousel-swiper .swiper-slide a {
  display: block;
  width: 100%;
  height: 100%;
}

/* Styl logo producenta */
.brand-logo {
  width: 100%;
  max-height: 600px;
  aspect-ratio: 3 / 4;       /* proporcje 450:600 */
  object-fit: contain;
  display: block;
  margin: auto;
}

/* ===== MODAL STYLES ===== */
.modal-content {
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.modal-header {
  background-color: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-weight: bold;
}

.modal-header .close {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 0;
  margin: 0;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  z-index: 9999 !important;
  pointer-events: auto !important;
  opacity: 1;
}

#modal-out-of-stock .modal-body form {
  text-align: center;
}

#modal-out-of-stock .modal-body form .btn {
  margin-top: 10px;
  min-width: 200px;
}
/* Quickview modal should appear above other elements */
.quickview {
  z-index: 1055 !important;
}

/* Ensure every quickview modal has a properly positioned close button */
.quickview .close {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 110;
  pointer-events: auto !important;
  opacity: 1;
}

/* ===== MISC STYLES ===== */
.all-products-wrapper {
  text-align: center;

}

.all-product-link {
  display: inline-block;
}

.owl-carousel,
.owl-carousel .owl-stage-outer {
  z-index: 1 !important;
  position: relative;
}

/* ===== RESPONSIVE STYLES ===== */
  #carousel .carousel-inner {
    height: 100%;
  }


  #carousel {
    width: 100vw !important;
    overflow: hidden !important;
    display: block !important;
  }
  
  #carousel .carousel-inner img {
 
    object-fit: cover !important;
    object-position: center center !important;
  }
  
  .carousel-indicators {
    bottom: 40px !important;
    z-index: 1000 !important;
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    pointer-events: auto;
  }
  
  .featured-products .js-product.product {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .swiper-button-prev,
  .swiper-button-next {
    display: none;
  }

/* ===== PAGE-SPECIFIC STYLES ===== */
body.page-index main,
body.page-index #wrapper,
body.page-index #content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.page-index #header {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  box-shadow: none !important;
}

/* 4 produkty w jednym rzędzie */
@media (min-width: 992px) {
.products .js-product.product {
  flex: 0 0 25%;
  max-width: 25%;
  box-sizing: border-box;
  padding: 10px;
}
}
@media (min-width: 576px) and (max-width: 991.98px) {
  .products .js-product.product {
    flex: 0 0 33.33%;
    max-width: 33.33%;
  }
}

@media (max-width: 575.98px) {
  .products .js-product.product {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
.products-sort-order .select-title {
  width: auto !important;
  min-width: 320px;
  max-width: 320px;
  padding: 5px 12px;
}

#_desktop_user_info .user-info .account span {
  display: inline !important;
}

/* Zwiększenie szerokości i marginesów zakładek */
.product-container + .tabs.container {
  max-width: 1200px;
  margin: 60px auto 40px auto;
  padding: 0 20px;
}

/* Poprawienie odstępów w treści opisu */
.tabs .tab-content {
  padding-top: 20px;
  line-height: 1.6;
  font-size: 15px;
}

/* Zakładki - wygląd nawigacji */
.tabs .nav-tabs {
  margin-bottom: 20px;
  border-bottom: 2px solid #ddd;
}

.tabs .nav-tabs .nav-link {
  font-weight: 600;
  color: #555;
  padding: 10px 20px;
  border: none;
}

.tabs .nav-tabs .nav-link.active {
  color: #0171BB;
  border-bottom: 3px solid #0171BB;
  background: none;
}
/* === Product page column layout === */

/* === PATCH: proporcjonalny układ kolumn na stronie produktu === */
.product-container {
  max-width: min(75vw, 2200px);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.product-container .col-md-6:first-child {
  flex: 0 0 58%;
  max-width: 58%;
}

.product-container .col-md-6:last-child {
  flex: 0 0 38%;
  max-width: 38%;
}

@media (max-width: 768px){
  .product-container {
    flex-direction: column;
    gap: 20px;
  }


  .product-container .col-md-6 {
    max-width: 100%;
   
  }
}
/* ✅ Tło przycisku "Dodaj do koszyka" (bez zmiany innych) */
#add-to-cart-or-refresh .btn.btn-primary {
  background-color: #0171BB !important;
  color: #fff !important;
  border-radius: 999px !important;
  border: none !important;
}

/* ✅ Odstęp między + / - a polem ilości */
.input-group-btn-vertical {
  margin-left: 5px;
}

/* ✅ Nowa obwódka wybranej i najechanej miniatury */
.product-images > li.thumb-container .thumb.selected,
.product-images > li.thumb-container .thumb:hover {
  border: 2px solid #0171BB !important;
  box-shadow: 0 0 0 2px rgba(1, 113, 187, 0.15);
}

#add-to-cart-or-refresh .btn.btn-primary:hover,
#add-to-cart-or-refresh .btn.btn-primary:focus {
  background-color: #24b9d7 !important;
}

/* 🔵 Hover miniaturki zdjęcia przed wybraniem */
.product-images > li.thumb-container .thumb:hover:not(.selected) {
  border: 2px solid #24b9d7 !important;
  box-shadow: 0 0 0 2px rgba(36, 185, 215, 0.2);
}

/* 💙 Hover przycisku wishlist (serduszko) */
.wishlist-button-add:hover {
  background-color: #0171BB !important;
  color: #fff !important;
}

.wishlist-button-add:hover i,
.wishlist-button-add:hover svg {
  color: #fff !important;
}

/* 🎯 Idealne dopasowanie koloru hover wishlist do przycisku koszyka */
#add-to-cart-or-refresh .wishlist-button-add:hover {
  background-color: #0171BB !important;
  color: #ffffff !important;
  border-color: #0171BB !important;
}

#add-to-cart-or-refresh .wishlist-button-add:hover i,
#add-to-cart-or-refresh .wishlist-button-add:hover svg {
  color: #ffffff !important;
}

/* 💣 Ostateczne nadpisanie hovera dla serduszka */
#add-to-cart-or-refresh .wishlist-button-add:hover,
#add-to-cart-or-refresh .wishlist-button-add-hover {
  background-color: #0171BB !important;
  color: #ffffff !important;
  border-color: #0171BB !important;
  opacity: 1 !important;
}

#add-to-cart-or-refresh .wishlist-button-add:hover i,
#add-to-cart-or-refresh .wishlist-button-add-hover i {
  color: #ffffff !important;
}

/* ✅ Wyrównanie przycisków: "Dodaj do koszyka" i wishlist */
#add-to-cart-or-refresh .product-quantity {
  display: flex;
  align-items: center;
  gap: 10px;
}

#add-to-cart-or-refresh .add {
  display: flex;
  align-items: center;
}

/* ✅ Styl domyślny: białe tło, szare obwódki, brak cienia */
#add-to-cart-or-refresh .wishlist-button-add {
  width: 44px;
  height: 44px;
  border: 1px solid #ccc;
  border-radius: 50%;
  background-color: #fff;
  padding: 0;
  box-shadow: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  margin-left: 0 !important;
}

/* ✅ Ikona serca domyślnie szara */
#add-to-cart-or-refresh .wishlist-button-add i {
  font-size: 20px;
  color: #666;
  line-height: 1;
}

/* 💙 Efekt po najechaniu: tło nadal białe, ale obwódka i ikona niebieskie */
#add-to-cart-or-refresh .wishlist-button-add:hover {
  background-color: #fff !important;
  border-color: #0171BB !important;
}

#add-to-cart-or-refresh .wishlist-button-add:hover i {
  color: #0171BB !important;
}

#add-to-cart-or-refresh .wishlist-button-add {
  position: relative;
  top: -4px;
}

/* ✅ Globalne kolory przecenionych produktów */
.has-discount .discount,
.product-miniature .discount {
  background-color: #e4605e !important;
}

.product-price.has-discount .current-price .current-price-value {
  color: #e4605e !important;
}
/* Kolory tekstu w karuzelach przy przecenionych produktach */
.product-price-and-shipping .discount-product,
.product-price-and-shipping .discount-product + .price {
  color: #e4605e !important;
}


/* === Globalne ustawienia dla wrapperów Swiper === */
.featured-products-swiper-wrapper,
.new-products-swiper-wrapper,
.special-products-swiper-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto 60px auto;
  padding: 0 60px;
}

/* Zabezpieczenie overflow */
.featured-products-swiper,
.new-products-swiper,
.special-products-swiper {
  overflow: visible;
}

/* === Nawigacja strzałkami dla Swiperów === */
.featured-products-swiper-wrapper .swiper-button-prev,
.featured-products-swiper-wrapper .swiper-button-next,
.new-products-swiper-wrapper .swiper-button-prev,
.new-products-swiper-wrapper .swiper-button-next,
.special-products-swiper-wrapper .swiper-button-prev,
.special-products-swiper-wrapper .swiper-button-next {
  position: absolute;
  top: 35%;
  z-index: 10;
  width: 32px;
  height: 32px;
  background-color: transparent;
  border: none;
  color: #1976d2;
  cursor: pointer;
  
}

.featured-products-swiper-wrapper .swiper-button-prev,
.new-products-swiper-wrapper .swiper-button-prev,
.special-products-swiper-wrapper .swiper-button-prev {
  left: -45px;
}

.featured-products-swiper-wrapper .swiper-button-next,
.new-products-swiper-wrapper .swiper-button-next,
.special-products-swiper-wrapper .swiper-button-next {
  right: -45px;
}

/* === Ceny promocyjne === */
.has-discount .product-price,
.product-miniature .product-price.has-discount {
  color: #e4605e !important;
}

.product-price.has-discount .current-price .current-price-value {
  color: #e4605e !important;
}

/* === Wishlist notification === */
.wishlist-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 12px 20px;
  border-radius: 5px;
  font-size: 14px;
  z-index: 9999;
  transition: opacity 0.3s ease-in-out;
}

.wishlist-notification.success {
  background-color: #4caf50;
  color: white;
}

.wishlist-notification.error {
  background-color: #f44336;
  color: white;
}

.wishlist-notification.fade-out {
  opacity: 0;
}

/* Centrowanie strzałek Swiper w pionie we wszystkich sekcjach */
.featured-products-swiper-wrapper .swiper-button-prev,
.featured-products-swiper-wrapper .swiper-button-next,
.new-products-swiper-wrapper .swiper-button-prev,
.new-products-swiper-wrapper .swiper-button-next,
.special-products-swiper-wrapper .swiper-button-prev,
.special-products-swiper-wrapper .swiper-button-next {
  top: 50% !important;
  transform: translateY(-50%);
}

/* Ustawienie minimalnej wysokości slidera */
.featured-products-swiper,
.new-products-swiper,
.special-products-swiper {
  position: relative;
  min-height: 300px;
}

/* Ujednolicenie szerokości i paddingu wrapperów sliderów */
.featured-products-swiper-wrapper,
.special-products-swiper-wrapper,
.new-products-swiper-wrapper {
  max-width: 80%;
  padding: 0 60px;
  margin: 0 auto 0 auto;
  position: relative;
}

/* Center titles and links in the sale products section */
.special-products .products-section-title {
  margin: 2.5rem 0;
  font-weight: 500;
  text-align: center;
}

.special-products .text-center {
  text-align: center;
  clear: both;
}

.special-products .all-product-link {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
  color: #7a7a7a;
  display: inline-block;
}

.radio-label {
  border: 1px solid #ccc;
}

#product #content {
  max-width: 80%;
}

/* 🎯 Styl zaznaczonego rozmiaru radio button */
label > input.input-radio:checked + span.radio-label {
  border: 1px solid #0171BB;
  background-color: #f5faff;
  color: #0171BB;
}

/* ✋ Styl przy najechaniu na etykietę */
label:hover > span.radio-label {
  border: 1px solid #0171BB;
  background-color: #f5faff;
  color: #0171BB;
}

/* 📦 Wygląd domyślny każdego przycisku wyboru */
.radio-label {
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 6px 12px;
  margin: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}
/* Wygląd domyślny guzika */
.radio-label {
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 6px 12px;
  margin: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
  text-align: center;
}
/* 🧊 Styl dla niedostępnych (disabled) kombinacji */
input.input-radio:disabled + .radio-label {
  background-color: #f1f1f1;
  color: #999;
  border: 1px solid #ccc;
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
  text-decoration: line-through;
}
/* 🧊 Styl dla niedostępnych kolorów (swatche) */
input.input-color:disabled + span.color {
  opacity: 0.6;
  cursor: not-allowed;
  filter: grayscale(100%);
  pointer-events: none;
}

/* 🧊 Styl dla zablokowanych opcji w polach select */
select option:disabled {
  color: #999;
}


/* Hover dowolnego przycisku */
label:hover > .radio-label {
  border: 1px solid #0171BB;
  background-color: #f5faff;
  color: #0171BB;
}

/* Zaznaczony rozmiar */
label > input[type="radio"]:checked + .radio-label {
  border: 1px solid #0171BB;
  background-color: #eaf5ff;
  color: #0171BB;
}


.breadcrumb{
  margin-bottom: 5rem;
}
/* 🧱 Obramowanie dla lewego panelu z filtrami na stronie kategorii */
body#category #left-column {
  border-right: 1px solid #ccc;
  padding: 20px;
  background-color: #fff;
}
.top-menu a{
  font-weight: 400 !important;
}
/* 🔽 Dolna ramka dla sekcji: tekst, polecane, nowe, specjalne */
#custom-text,
.featured-products,
.special-products,
.new-products {
  border-bottom: 1px solid #ccc;
  padding-bottom: 30px; /* dla odstępu wizualnego */
  margin-bottom: 30px;
}

#custom-text{
    border-top: 1px solid #ccc;
  padding-bottom: 30px; /* dla odstępu wizualnego */
  margin-bottom: 30px;
}
/* 📏 Maksymalna szerokość 80% i wyśrodkowanie dla sekcji na stronie głównej */
.page-home .home-section-inner {
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 1200px){
.container{
  width:80%;
}
}

.accessories-products-swiper-wrapper {
  position: relative;
  max-width: 80%;
  margin: 60px auto;
  padding: 0 60px;
  overflow: visible;
}

.accessories-products-swiper {
  overflow: visible;
  box-sizing: border-box;
}

.accessories-products-swiper-wrapper .swiper-button-prev,
.accessories-products-swiper-wrapper .swiper-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: transparent;
  color: #0171BB;
  border: none;
  font-size: 32px;
  z-index: 100;
  cursor: pointer;
}

.accessories-products-swiper-wrapper .swiper-button-prev {
  left: -45px;
}

.accessories-products-swiper-wrapper .swiper-button-next {
  right: -45px;
}
.accessories-products-swiper .swiper-slide {
  width: 220px; /* dopasuj według uznania: 200–260px działa najlepiej */
   flex-shrink: 0;
}
.accessories-products-swiper-wrapper .swiper-button-prev,
.accessories-products-swiper-wrapper .swiper-button-next {
  opacity: 0.4;
  transition: opacity 0.3s ease;
}
.accessories-products-swiper-wrapper .swiper-button-prev:hover,
.accessories-products-swiper-wrapper .swiper-button-next:hover {
  opacity: 1;
}
#product-modal .image-caption {
  display: none !important;
}
#product-modal .modal-dialog {
  margin: 0 auto;
  top: 50%;
  left: 34%;
  transform: translate(-50%, -50%);
  position: fixed;
}

@media (max-height: 1200px), (max-width: 991.98px) {
  #product-modal .modal-dialog {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-height: 85vh;
    max-width: 85vw;
    width: auto;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
  }

  #product-modal img {
    max-height: 85vh;
    max-width: 85vw;
    width: auto;
    height: auto;
    object-fit: contain;
  }
}
#product-modal .modal-content .modal-body {
  margin-left: 0;
}
#product-modal figure {
  position: relative;
  display: inline-block;
}

#product-modal .close-modal-image {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
  background: none;
  border: none;
  font-size: 36px;
  font-weight: 300;
  color: #333;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

#product-modal .close-modal-image:hover {
  opacity: 1;
}

/* === Dropdown menu: Moje konto / Wyloguj się === */
.account-selector {
  position: relative;
  display: inline-block;
}

.account-selector .btn-unstyle {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-size: 14px;
  color: #333;
}

.account-selector .btn-unstyle .material-icons {
  font-size: 18px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.account-selector .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: auto;
  min-width: 160px;
  margin-top: 8px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-10px);
  visibility: hidden;
  transition: all 0.3s ease;
}

.account-selector .dropdown-menu .dropdown-item {
  display: block;
  width: 100%;
  padding: 10px 15px;
  font-size: 14px;
  color: #333;
  text-decoration: none;
  background: none;
  border: none;
  text-align: left;
}

.account-selector .dropdown-menu .dropdown-item:hover {
  background-color: #f7f7f7;
  color: #0171BB;
}
/* === Hover zamiast kliknięcia dla dropdownów: język, waluta, konto === */
.language-selector:hover .dropdown-menu,
.currency-selector:hover .dropdown-menu,
.account-selector:hover .dropdown-menu {
  display: block !important;
  visibility: visible;
  opacity: 1;
}

/* Ukrycie domyślne */
.language-selector .dropdown-menu,
.currency-selector .dropdown-menu,
.account-selector .dropdown-menu {
  display: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s ease;
}

/* Styl kursora */
.language-selector .btn-unstyle,
.currency-selector .btn-unstyle,
.account-selector .btn-unstyle {
  cursor: pointer;
}
/* 🔽 Styl domyślny: menu schowane */
.language-selector .dropdown-menu,
.currency-selector .dropdown-menu,
.account-selector .dropdown-menu {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  visibility: hidden;
}

/* 🔼 Pokazanie menu przy najechaniu */
.language-selector:hover .dropdown-menu,
.currency-selector:hover .dropdown-menu,
.account-selector:hover .dropdown-menu {
  max-height: 500px; /* wystarczająco dużo, żeby objąć zawartość */
  opacity: 1;
  visibility: visible;
}
/* 🎨 Spójny wygląd dropdownów */
.language-selector .dropdown-menu,
.currency-selector .dropdown-menu,
.account-selector .dropdown-menu {
  border-radius: 6px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  border: 1px solid #ddd;
  padding: 0;
  overflow: hidden; /* aby border-radius działał z hoverem */
}


/* Poszerzenie Quick View – działa bez względu na brak klasy .modal-lg */
.quickview .modal-dialog {
  max-width: 1200px !important;
  width: 95% !important;
  margin: 30px auto; /* wycentrowanie */
}

/* Zapobiegamy ograniczeniu szerokości przez wewnętrzne col-XX */
/* Ensure product columns inside quickview remain side by side */
.quickview .modal-body > .row {
  flex-wrap: nowrap;
}

.quickview .modal-body > .row > [class*="col-"]  {
  flex: 1 1 50%;
  max-width: 50%;
}

/* Gray out product images when product is unavailable */
.js-product.out-of-stock .thumbnail-top img {
  filter: grayscale(100%);
}
/* Ensure footer dropdowns/modals are visible */
.footer-container {
  overflow: visible;
}
#search_filters .ui-widget-header {
  background: #0171BB;
}
#search_filters>.h6, #search_filters_brands>.h6, #search_filters_suppliers>.h6{
  border-bottom: #0171BB 2px solid;

}
#search_filters .facet, #search_filters_brands .facet, #search_filters_suppliers .facet{
   border-bottom: #ccc 1px solid;
}



