/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */

/* ============================= */
/* TOP BANNERS */
/* ============================= */

#product-images-thumbs .swiper-wrapper .swiper-slide{height:180px !important;}
@media (min-width: 481px) {
  div#top-banner-desktop {
    display: block !important;
  }

  div#top-banner-mobile {
    display: none !important;
  }
}

#top-banner-desktop {
  position: relative;
  top: 0;
  bottom: 10px;
}

@media (max-width: 768px) {
  #top-banner-mobile {
    display: block !important;
    height: auto !important;
    padding: 0 0 10px 0 !important;
    position: relative;
    bottom: -6px !important;
    top: 20px;
  }
}

/* ============================= */
/* PAYMENT OPTIONS */
/* ============================= */

.payment-method-header {
  position: absolute;
  top: -3em !important;
  background: #fff;
  font-weight: 700;
  line-height: 1.2em;
}

.payment-options > div > .payment-option {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
}

.payment-options .payment-option {
  padding: 5px 0;
  position: relative;
}

.payment-option label {
  padding-top: 5px;
  line-height: 1.5em;
  display: flex;
  align-items: flex-start;
  width: 100%;
  gap: 10px;
}

.payment-option label .payment-call-to-action-and-logo {
  order: 1;
  flex-grow: 1;
}

.payment-option label .payment-logo {
  order: 2;
  flex-grow: 0;
  flex-shrink: 0;
  margin-left: auto;
  text-align: right;
}

.payment-option label span.h6 {
  flex-grow: 1;
}

.payment-logo {
  flex-grow: 1;
}

.payment-options img,
.payment-option img {
  height: 16px !important;
  width: auto;
  max-width: 100%;
  display: inline-block;
}

/* ============================= */
/* PRODUCT PAGE / QUANTITY */
/* ============================= */

.product-quantity .col-6 {
  width: unset !important;
}

.specials {
  min-height: 30px;
}

@media (min-width: 979px) {
  #product #main-page-content #wrapper {
    margin: 0 10% 0 10% !important;
  }
}

.delivery-information {
  font-size: 15px;
  color: #222 !important;
}

/* ============================= */
/* OTHER PRODUCT LINKS */
/* ============================= */

.other-product-1 {
  width: 50%;
  height: 30px;
  display: table-cell;
  text-align: left !important;
  float: left;
  position: relative;
  z-index: 99999;
}

.other-product-2 {
  width: 50%;
  height: 30px;
  display: table-cell;
  float: right;
  text-align: right !important;
  position: relative;
  z-index: 99999;
  text-transform: none;
}

/* ============================= */
/* REVIEWS */
/* ============================= */

#revws-section a.btn {
  background: #f6f6f6 !important;
}

/* ============================= */
/* WISHLIST - PRAWY GÓRNY RÓG */
/* ============================= */

/*
  Ważne:
  Usunięte zostały stare wartości:
  top: -475px;
  top: -520px;
  top: -600px;
  top: -100px;

  Teraz ikonka jest pozycjonowana względem kafelka produktu.
*/

#category .product-miniature,
#category .js-product-miniature,
#category article.product-miniature,
#category .products .product-miniature,
#category .thumbnail-container,
#category .product-miniature .thumbnail-container,
#category .product-miniature .product-thumbnail,
#category .product-miniature .product-image {
  position: relative !important;
}

#category .anwishlist {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  left: auto !important;
  bottom: auto !important;

  z-index: 50 !important;

  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  cursor: pointer;
  background: #808080 !important;
  padding: 4px !important;
  margin: 0 !important;
  border-radius: 50% !important;
  transform: none !important;
}

#category .anwishlist:hover {
  background: #555 !important;
}

#category .anwishlist img,
#category .anwishlist svg,
#category .anwishlist i {
  max-width: 22px !important;
  max-height: 22px !important;
  width: auto !important;
  height: auto !important;
  display: block !important;
  margin: 0 !important;
}

/* Wishlist na stronie produktu */
#product .anwishlist {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  left: auto !important;
  bottom: auto !important;

  z-index: 50 !important;

  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  cursor: pointer;
  background: #808080 !important;
  padding: 4px !important;
  margin: 0 !important;
  border-radius: 50% !important;
  transform: none !important;
}

#product .swiper-container,
#product .layout-2,
#product .product-cover,
#product .images-container,
#product .product-images,
#product .product-image {
  position: relative !important;
}

#product .anwishlist:hover {
  background: #555 !important;
}

#product .anwishlist img,
#product .anwishlist svg,
#product .anwishlist i {
  max-width: 22px !important;
  max-height: 22px !important;
  width: auto !important;
  height: auto !important;
  display: block !important;
  margin: 0 !important;
}

/* Mobile - wishlist */
@media (max-width: 767px) {
  #category .anwishlist,
  #product .anwishlist {
    top: 8px !important;
    right: 8px !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
  }

  #category .anwishlist img,
  #category .anwishlist svg,
  #category .anwishlist i,
  #product .anwishlist img,
  #product .anwishlist svg,
  #product .anwishlist i {
    max-width: 20px !important;
    max-height: 20px !important;
  }
}

/* ============================= */
/* FOOTER / LINKS MANAGER */
/* ============================= */

@media (min-width: 767px) {
  .block-iqitlinksmanager-1,
  .block-iqitlinksmanager-2,
  .block-iqitlinksmanager-3,
  .block-iqitlinksmanager-4 {
    width: 20% !important;
    max-width: 20% !important;
  }
}

/* ============================= */
/* PROMO BLOCK */
/* ============================= */

.block-promo {
  background: rgba(1, 67, 121, 1) !important;
  color: #fefefe !important;
  font-weight: 500;
}

/* ============================= */
/* MOBILE MENU */
/* ============================= */

.mobile-menu__column-categories:not(:last-child) {
  margin-bottom: 0;
}

.mobile-menu__arrow {
  padding-top: 0;
  padding-bottom: 0;
  color: #fff;
  font-size: 1.6923076923rem;
}

#iqitmegamenu-mobile a,
#iqitmegamenu-mobile a:link,
#iqitmegamenu-mobile a:visited,
#iqitmegamenu-mobile a:hover {
  color: #fcf2f2 !important;
  font-size: 1.2rem;
  padding: 5px 0;
  text-transform: capitalize;
}

.mobile-menu__tab {
  border-bottom: none;
  min-height: 2.7692307692rem;
}

/* ============================= */
/* PRODUCT AVAILABILITY */
/* ============================= */

.product_header_container #product-availability {
  margin-bottom: .8rem;
  vertical-align: text-top;
}

.product-available {
  background: #67a675;
  color: #fff;
}

/* ============================= */
/* PRODUCT PRICES */
/* ============================= */

.product-prices .product-price {
  display: block;
  margin: 6px 0 0 0 !important;
}

.product_header_container .product-price,
.product_p_price_container .product-price {
  font-size: 1.6923076923rem;
  font-style: normal;
  font-weight: 700;
  text-transform: none;
}

.product_header_container .product-price {
  line-height: 1em;
}

.product-price {
  color: #222;
}

/* ============================= */
/* BADGES / DISCOUNTS */
/* ============================= */

.product-prices .badge-danger,
.product-prices .badge-warning,
.product-prices .badge {
  display: table-cell;
  position: relative;
  max-width: 80% !important;
  font-size: 15px !important;
  padding: 5px !important;
  font-weight: 300;
  text-transform: uppercase;
}

.product-prices .badge {
  vertical-align: text-top;
}

#product .discount-percentage,
#product .discount-amount {
  display: inline-block;
  font-size: 24px !important;
  font-weight: 700 !important;
  margin: -28px 0 0 45px;
}

.discount-percentage,
.discount-amount {
  font-size: 24px !important;
}

.discount {
  background: #fff;
  color: red;
}

.badge {
  display: block;
  padding: 5px 10px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-align: left;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0;
}

.product-flags .product-flag.discount {
  font-weight: bold !important;
  font-size: 20px;
}

.product-flags .discount {
  background: #ff0000 !important;
  color: #fff !important;
}
/* ============================= */
/* WISHLIST - prawy górny róg produktu */
/* ============================= */

/* Kafelek produktu jako punkt odniesienia */
#category .product-miniature,
#category article.product-miniature,
#category .js-product-miniature,
#category .products .product-miniature,
#category .product_list .product-miniature {
  position: relative !important;
  overflow: visible !important;
}

/* Usuwamy pozycjonowanie z opisu, żeby serce nie siedziało przy cenie */
#category .product-miniature .product-description,
#category .product-miniature .product-description-short,
#category .product-miniature .product-title,
#category .product-miniature .product-price-and-shipping {
  position: static !important;
}

/* Sama ikonka wishlist */
#category .anwishlist {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  left: auto !important;
  bottom: auto !important;

  z-index: 999 !important;

  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  background: #808080 !important;
  border-radius: 50% !important;
  padding: 4px !important;
  margin: 0 !important;

  transform: none !important;
  cursor: pointer !important;
}

/* Ikona w środku */
#category .anwishlist img,
#category .anwishlist svg,
#category .anwishlist i {
  max-width: 22px !important;
  max-height: 22px !important;
  width: auto !important;
  height: auto !important;
  display: block !important;
  margin: 0 !important;
}

/* Hover */
#category .anwishlist:hover {
  background: #555 !important;
}

/* Mobile */
@media (max-width: 767px) {
  #category .anwishlist {
    top: 8px !important;
    right: 8px !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
  }

  #category .anwishlist img,
  #category .anwishlist svg,
  #category .anwishlist i {
    max-width: 20px !important;
    max-height: 20px !important;
  }
}
#category .product-miniature {
  position: relative !important;
}

#category .product-miniature .product-description {
  position: unset !important;
}

#category .product-miniature .anwishlist {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  left: auto !important;
  bottom: auto !important;
  z-index: 9999 !important;
}
/* ============================= */
/* WISHLIST - prawy górny róg zdjęcia produktu */
/* ============================= */

#category .product-miniature,
#category article.product-miniature,
#category .js-product-miniature {
  position: relative !important;
}

#category .thumbnail-container,
#category .product-thumbnail,
#category .thumbnail.product-thumbnail,
#category .product-miniature .thumbnail-container,
#category .product-miniature .product-thumbnail {
  position: relative !important;
  overflow: visible !important;
}

#category .anwishlist {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  left: auto !important;
  bottom: auto !important;

  z-index: 9999 !important;

  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  background: #808080 !important;
  border-radius: 50% !important;
  padding: 4px !important;
  margin: 0 !important;
  transform: none !important;
  cursor: pointer !important;
}

#category .anwishlist:hover {
  background: #555 !important;
}

#category .anwishlist img,
#category .anwishlist svg,
#category .anwishlist i {
  max-width: 22px !important;
  max-height: 22px !important;
  width: auto !important;
  height: auto !important;
  display: block !important;
  margin: 0 !important;
}

@media (max-width: 767px) {
  #category .anwishlist {
    top: 8px !important;
    right: 8px !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
  }
}