/* Brand overrides — user.css / SFC cache nie da sie zaktualizowac przez WebDAV (HTTP 406) */

.box.emag-carousel,
.wce-wishlists-page__list-carousel.emag-carousel,
#wce-wishlists-page .emag-carousel {
  --emag-carousel-accent: var(--emag-header-accent-blue, #0082e6);
}

.promo,
.tag-promo,
.product .promo,
.product-innerdesc-wrap .promo,
.shop_gallery .promo,
li.promo,
.gallery .promo,
#category_promo a.promo {
  background-color: var(--emag-header-accent-red, #ff1d25) !important;
  border-color: var(--emag-header-accent-red, #ff1d25) !important;
  color: #fff !important;
}

.wce_show-promo {
  color: var(--emag-header-accent-red, #ff1d25) !important;
}

.wce_show-promo:hover:before {
  background: var(--emag-header-accent-red, #ff1d25) !important;
}

.product .price > p > em.color,
.product .price > em.color,
.box .product .price p em.color,
.shop_product .price p em.color,
.price p em.color {
  color: var(--emag-header-accent-red, #ff1d25) !important;
}

.wce_discount-tag {
  background: var(--emag-header-accent-red, #ff1d25) !important;
  border-color: var(--emag-header-accent-red, #ff1d25) !important;
  color: #fff !important;
}

/* Koszyk SG (emag-sg-cart-btn) — TYP 3, zawsze widoczny (bez hover reveal jak na SG) */

.emag-module-t3.emag-carousel .emag-carousel__slide > .product > .product__buy-row {
  margin-top: auto !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 40px;
  column-gap: 8px;
  align-items: end !important;
  width: 100%;
}

.emag-module-t3.emag-carousel .emag-carousel__slide > .product .product__buy-row .price {
  margin: 0 !important;
  padding: 0;
  align-self: end;
  text-align: left !important;
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.emag-module-t3.emag-carousel .emag-carousel__slide > .product .product__buy-row .price p {
  margin: 0;
  line-height: 1;
}

.emag-module-t3.emag-carousel .emag-carousel__slide > .product .product__buy-row .price p em {
  display: block;
  line-height: 1;
  font-style: normal;
}

.emag-module-t3.emag-carousel .emag-carousel__slide > .product .product__buy-row .price p em.color {
  color: var(--emag-header-accent-red, #ff1d25) !important;
}

.emag-module-t3.emag-carousel .product .product__buy-row .price .emag-price-before,
#box_productrelated.emag-module-t3 .product .product__buy-row .price .emag-price-before,
.custom_productrelated.emag-module-t3 .product .product__buy-row .price .emag-price-before {
  margin: 0 0 3px 0;
  line-height: 1;
  text-align: left !important;
  /* omnibus tier 1: cena do 999,99 zł — mobile */
  font-size: 0.65em;
  white-space: nowrap !important;
  max-width: 100%;
}

@media (min-width: 768px) {
  .emag-module-t3.emag-carousel .product .product__buy-row .price .emag-price-before,
  #box_productrelated.emag-module-t3 .product .product__buy-row .price .emag-price-before,
  .custom_productrelated.emag-module-t3 .product .product__buy-row .price .emag-price-before {
    /* omnibus tier 1: cena do 999,99 zł — desktop */
    font-size: 0.85em;
  }
}

.emag-module-t3.emag-carousel .product .product__buy-row .price .emag-price-before.emag-price-before--compact-2,
#box_productrelated.emag-module-t3 .product .product__buy-row .price .emag-price-before.emag-price-before--compact-2,
.custom_productrelated.emag-module-t3 .product .product__buy-row .price .emag-price-before.emag-price-before--compact-2 {
  /* omnibus tier 2: cena powyżej 999,99 zł — mobile */
  font-size: 0.65em;
}

.emag-module-t3.emag-carousel .product .product__buy-row .price .emag-price-before.emag-price-before--compact-3,
#box_productrelated.emag-module-t3 .product .product__buy-row .price .emag-price-before.emag-price-before--compact-3,
.custom_productrelated.emag-module-t3 .product .product__buy-row .price .emag-price-before.emag-price-before--compact-3 {
  /* omnibus tier 3: cena powyżej 9 999,99 zł — mobile */
  font-size: 0.55em;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .emag-module-t3.emag-carousel .product .product__buy-row .price .emag-price-before.emag-price-before--compact-2,
  #box_productrelated.emag-module-t3 .product .product__buy-row .price .emag-price-before.emag-price-before--compact-2,
  .custom_productrelated.emag-module-t3 .product .product__buy-row .price .emag-price-before.emag-price-before--compact-2 {
    /* omnibus tier 2: cena powyżej 999,99 zł — desktop */
    font-size: 0.8em;
  }

  .emag-module-t3.emag-carousel .product .product__buy-row .price .emag-price-before.emag-price-before--compact-3,
  #box_productrelated.emag-module-t3 .product .product__buy-row .price .emag-price-before.emag-price-before--compact-3,
  .custom_productrelated.emag-module-t3 .product .product__buy-row .price .emag-price-before.emag-price-before--compact-3 {
    /* omnibus tier 3: cena powyżej 9 999,99 zł — desktop */
    font-size: 0.7em;
  }
}

.emag-module-t3.emag-carousel .product .product__buy-row .price .emag-price-before del,
#box_productrelated.emag-module-t3 .product .product__buy-row .price .emag-price-before del,
.custom_productrelated.emag-module-t3 .product .product__buy-row .price .emag-price-before del {
  display: inline;
  color: #929292 !important;
  font-weight: 400 !important;
  font-style: normal;
  font-size: inherit;
  text-decoration: none;
  line-height: 1;
  text-align: left !important;
  white-space: nowrap !important;
}

.emag-module-t3.emag-carousel .product .product__buy-row .price .emag-omnibus-label,
#box_productrelated.emag-module-t3 .product .product__buy-row .price .emag-omnibus-label,
.custom_productrelated.emag-module-t3 .product .product__buy-row .price .emag-omnibus-label {
  display: inline;
  color: #929292 !important;
  font-weight: 400 !important;
  font-style: normal;
  font-size: inherit;
  text-decoration: none;
  line-height: 1;
}

.emag-module-t3.emag-carousel .emag-carousel__slide > .product .product__buy-row .price .hide {
  display: none !important;
}

.emag-module-t3.emag-carousel .emag-carousel__slide > .product .product__buy-row .emag-buy-row__basket {
  margin: 0;
  padding: 0;
  align-self: end;
  justify-self: end;
}

.emag-module-t3.emag-carousel .emag-buy-row__basket fieldset {
  border: none;
  margin: 0;
  padding: 0;
}

.emag-module-t3.emag-carousel .emag-sg-cart-btn {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  max-width: 40px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 50% !important;
  background: #fff !important;
  background-image: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12) !important;
  color: #757575 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  font-size: 0 !important;
  line-height: 0 !important;
  overflow: hidden;
  cursor: pointer;
  opacity: 1 !important;
  transform: none !important;
  pointer-events: auto !important;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.emag-module-t3.emag-carousel .emag-sg-cart-btn.addtobasket::before,
.emag-module-t3.emag-carousel .emag-sg-cart-btn.addtobasket::after {
  display: none !important;
  content: none !important;
}

.emag-module-t3.emag-carousel .emag-sg-cart-btn--in-cart {
  background: #0082e6 !important;
  color: #fff !important;
  box-shadow: 0 2px 12px rgba(0, 130, 230, 0.35) !important;
}

.emag-module-t3.emag-carousel .emag-sg-cart-btn:not(.emag-sg-cart-btn--unavailable):hover,
.emag-module-t3.emag-carousel .emag-sg-cart-btn:not(.emag-sg-cart-btn--unavailable):focus-visible {
  background: #00a5e6 !important;
  color: #fff !important;
  box-shadow: 0 2px 12px rgba(0, 165, 230, 0.35) !important;
}

.emag-module-t3.emag-carousel .emag-sg-cart-btn > span.hide,
.emag-module-t3.emag-carousel .emag-sg-cart-btn img.px1 {
  display: none !important;
}

.emag-module-t3.emag-carousel .emag-sg-cart-btn__spacer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  line-height: 0;
  flex-shrink: 0;
  pointer-events: none;
}

.emag-module-t3.emag-carousel .emag-sg-cart-btn__svg {
  width: 22px;
  height: 22px;
  display: block;
}

.emag-module-t3.emag-carousel .emag-sg-cart-btn--unavailable {
  background: #f4f4f4 !important;
  color: #b0b0b0 !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08) !important;
  cursor: not-allowed !important;
  transition: none !important;
}

.emag-module-t3.emag-carousel .emag-sg-cart-btn--unavailable:hover,
.emag-module-t3.emag-carousel .emag-sg-cart-btn--unavailable:focus,
.emag-module-t3.emag-carousel .emag-sg-cart-btn--unavailable:focus-visible,
.emag-module-t3.emag-carousel .emag-sg-cart-btn--unavailable:active,
.emag-module-t3.emag-carousel .product:hover .emag-sg-cart-btn--unavailable,
.emag-module-t3.emag-carousel .product:focus-within .emag-sg-cart-btn--unavailable {
  background: #f4f4f4 !important;
  color: #b0b0b0 !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08) !important;
  transform: none !important;
  cursor: not-allowed !important;
}

.emag-module-t3.emag-carousel .availability-notifier-btn.emag-sg-cart-btn--unavailable,
.emag-module-t3.emag-carousel .availability-notifier-unsubscribe-btn.emag-sg-cart-btn--unavailable {
  cursor: pointer !important;
}

/* TYP 1 / TYP 2 — ceny promocyjne jak TYP 3 (bez koszyka) */
#box_mainproducts.emag-carousel .emag-carousel__slide > .product .price,
#box_specialoffer.emag-carousel .emag-carousel__slide > .product .price,
#box_lastadded.emag-carousel .emag-carousel__slide > .product .price,
[id*="box_recommendations_"].emag-carousel .emag-carousel__slide > .product .price,
#box_bestsellers.emag-carousel .emag-carousel__slide > .product .price,
.wce-wishlists-page__list-carousel.emag-carousel .emag-carousel__slide > .product .price {
  margin: 0 !important;
  padding: 0;
  text-align: left !important;
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

#box_mainproducts.emag-carousel .emag-carousel__slide > .product .price p,
#box_specialoffer.emag-carousel .emag-carousel__slide > .product .price p,
#box_lastadded.emag-carousel .emag-carousel__slide > .product .price p,
[id*="box_recommendations_"].emag-carousel .emag-carousel__slide > .product .price p,
#box_bestsellers.emag-carousel .emag-carousel__slide > .product .price p,
.wce-wishlists-page__list-carousel.emag-carousel .emag-carousel__slide > .product .price p {
  margin: 0;
  line-height: 1;
}

#box_mainproducts.emag-carousel .emag-carousel__slide > .product .price p em,
#box_specialoffer.emag-carousel .emag-carousel__slide > .product .price p em,
#box_lastadded.emag-carousel .emag-carousel__slide > .product .price p em,
[id*="box_recommendations_"].emag-carousel .emag-carousel__slide > .product .price p em,
#box_bestsellers.emag-carousel .emag-carousel__slide > .product .price p em,
.wce-wishlists-page__list-carousel.emag-carousel .emag-carousel__slide > .product .price p em {
  display: block;
  line-height: 1;
  font-style: normal;
}

#box_mainproducts.emag-carousel .emag-carousel__slide > .product .price p em.color,
#box_specialoffer.emag-carousel .emag-carousel__slide > .product .price p em.color,
#box_lastadded.emag-carousel .emag-carousel__slide > .product .price p em.color,
[id*="box_recommendations_"].emag-carousel .emag-carousel__slide > .product .price p em.color,
#box_bestsellers.emag-carousel .emag-carousel__slide > .product .price p em.color,
.wce-wishlists-page__list-carousel.emag-carousel .emag-carousel__slide > .product .price p em.color {
  color: var(--emag-header-accent-red, #ff1d25) !important;
}

#box_mainproducts.emag-carousel .emag-carousel__slide > .product .price .emag-price-before,
#box_specialoffer.emag-carousel .emag-carousel__slide > .product .price .emag-price-before,
#box_lastadded.emag-carousel .emag-carousel__slide > .product .price .emag-price-before,
[id*="box_recommendations_"].emag-carousel .emag-carousel__slide > .product .price .emag-price-before,
#box_bestsellers.emag-carousel .emag-carousel__slide > .product .price .emag-price-before,
.wce-wishlists-page__list-carousel.emag-carousel .emag-carousel__slide > .product .price .emag-price-before {
  margin: 0 0 3px 0;
  line-height: 1;
  text-align: left !important;
  /* omnibus tier 1: cena do 999,99 zł — mobile */
  font-size: 0.65em;
  white-space: nowrap !important;
  max-width: 100%;
}

@media (min-width: 768px) {
  #box_mainproducts.emag-carousel .emag-carousel__slide > .product .price .emag-price-before,
  #box_specialoffer.emag-carousel .emag-carousel__slide > .product .price .emag-price-before,
  #box_lastadded.emag-carousel .emag-carousel__slide > .product .price .emag-price-before,
  [id*="box_recommendations_"].emag-carousel .emag-carousel__slide > .product .price .emag-price-before,
  #box_bestsellers.emag-carousel .emag-carousel__slide > .product .price .emag-price-before,
.wce-wishlists-page__list-carousel.emag-carousel .emag-carousel__slide > .product .price .emag-price-before {
    /* omnibus tier 1: cena do 999,99 zł — desktop */
    font-size: 0.85em;
  }
}

#box_mainproducts.emag-carousel .emag-carousel__slide > .product .price .emag-price-before.emag-price-before--compact-2,
#box_specialoffer.emag-carousel .emag-carousel__slide > .product .price .emag-price-before.emag-price-before--compact-2,
#box_lastadded.emag-carousel .emag-carousel__slide > .product .price .emag-price-before.emag-price-before--compact-2,
[id*="box_recommendations_"].emag-carousel .emag-carousel__slide > .product .price .emag-price-before.emag-price-before--compact-2,
#box_bestsellers.emag-carousel .emag-carousel__slide > .product .price .emag-price-before.emag-price-before--compact-2,
.wce-wishlists-page__list-carousel.emag-carousel .emag-carousel__slide > .product .price .emag-price-before.emag-price-before--compact-2 {
  /* omnibus tier 2: cena powyżej 999,99 zł — mobile */
  font-size: 0.65em;
}

#box_mainproducts.emag-carousel .emag-carousel__slide > .product .price .emag-price-before.emag-price-before--compact-3,
#box_specialoffer.emag-carousel .emag-carousel__slide > .product .price .emag-price-before.emag-price-before--compact-3,
#box_lastadded.emag-carousel .emag-carousel__slide > .product .price .emag-price-before.emag-price-before--compact-3,
[id*="box_recommendations_"].emag-carousel .emag-carousel__slide > .product .price .emag-price-before.emag-price-before--compact-3,
#box_bestsellers.emag-carousel .emag-carousel__slide > .product .price .emag-price-before.emag-price-before--compact-3,
.wce-wishlists-page__list-carousel.emag-carousel .emag-carousel__slide > .product .price .emag-price-before.emag-price-before--compact-3 {
  /* omnibus tier 3: cena powyżej 9 999,99 zł — mobile */
  font-size: 0.55em;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  #box_mainproducts.emag-carousel .emag-carousel__slide > .product .price .emag-price-before.emag-price-before--compact-2,
  #box_specialoffer.emag-carousel .emag-carousel__slide > .product .price .emag-price-before.emag-price-before--compact-2,
  #box_lastadded.emag-carousel .emag-carousel__slide > .product .price .emag-price-before.emag-price-before--compact-2,
  [id*="box_recommendations_"].emag-carousel .emag-carousel__slide > .product .price .emag-price-before.emag-price-before--compact-2,
  #box_bestsellers.emag-carousel .emag-carousel__slide > .product .price .emag-price-before.emag-price-before--compact-2,
.wce-wishlists-page__list-carousel.emag-carousel .emag-carousel__slide > .product .price .emag-price-before.emag-price-before--compact-2 {
    /* omnibus tier 2: cena powyżej 999,99 zł — desktop */
    font-size: 0.8em;
  }

  #box_mainproducts.emag-carousel .emag-carousel__slide > .product .price .emag-price-before.emag-price-before--compact-3,
  #box_specialoffer.emag-carousel .emag-carousel__slide > .product .price .emag-price-before.emag-price-before--compact-3,
  #box_lastadded.emag-carousel .emag-carousel__slide > .product .price .emag-price-before.emag-price-before--compact-3,
  [id*="box_recommendations_"].emag-carousel .emag-carousel__slide > .product .price .emag-price-before.emag-price-before--compact-3,
  #box_bestsellers.emag-carousel .emag-carousel__slide > .product .price .emag-price-before.emag-price-before--compact-3,
.wce-wishlists-page__list-carousel.emag-carousel .emag-carousel__slide > .product .price .emag-price-before.emag-price-before--compact-3 {
    /* omnibus tier 3: cena powyżej 9 999,99 zł — desktop */
    font-size: 0.7em;
  }
}

#box_mainproducts.emag-carousel .emag-carousel__slide > .product .price .emag-price-before del,
#box_specialoffer.emag-carousel .emag-carousel__slide > .product .price .emag-price-before del,
#box_lastadded.emag-carousel .emag-carousel__slide > .product .price .emag-price-before del,
[id*="box_recommendations_"].emag-carousel .emag-carousel__slide > .product .price .emag-price-before del,
#box_bestsellers.emag-carousel .emag-carousel__slide > .product .price .emag-price-before del,
.wce-wishlists-page__list-carousel.emag-carousel .emag-carousel__slide > .product .price .emag-price-before del {
  display: inline;
  color: #929292 !important;
  font-weight: 400 !important;
  font-style: normal;
  font-size: inherit;
  text-decoration: none;
  line-height: 1;
  text-align: left !important;
  white-space: nowrap !important;
}

#box_mainproducts.emag-carousel .emag-carousel__slide > .product .price .emag-omnibus-label,
#box_specialoffer.emag-carousel .emag-carousel__slide > .product .price .emag-omnibus-label,
#box_lastadded.emag-carousel .emag-carousel__slide > .product .price .emag-omnibus-label,
[id*="box_recommendations_"].emag-carousel .emag-carousel__slide > .product .price .emag-omnibus-label,
#box_bestsellers.emag-carousel .emag-carousel__slide > .product .price .emag-omnibus-label,
.wce-wishlists-page__list-carousel.emag-carousel .emag-carousel__slide > .product .price .emag-omnibus-label {
  display: inline;
  color: #929292 !important;
  font-weight: 400 !important;
  font-style: normal;
  font-size: inherit;
  text-decoration: none;
  line-height: 1;
}

#box_lastadded .boxhead .tab-title,
#box_mainproducts .boxhead .tab-title,
#box_bestsellers .boxhead .tab-title,
#box_specialoffer .boxhead .tab-title {
  width: 100%;
}

/* TYP 1/2/3/4 — pasek tytułu wyśrodkowany w pionie (nadpisuje g01 margin-top: 0.9em) */
.box.emag-carousel .boxhead > h1::after,
.box.emag-carousel .boxhead > h2::after,
.box.emag-carousel .boxhead > h3::after,
.emag-module-t3.emag-carousel .boxhead > h3::after,
#box_productrelated .boxhead > h3::after,
.custom_productrelated .boxhead > h3::after {
  margin-top: 0 !important;
  align-self: center;
  display: block !important;
  clear: none !important;
  line-height: normal !important;
}

/* .row clearfix na nagłówku psuje grid (Polecane produkty: linia do góry) */
.box.emag-carousel .boxhead > h1.row::before,
.box.emag-carousel .boxhead > h2.row::before,
.box.emag-carousel .boxhead > h3.row::before {
  display: none !important;
  content: none !important;
}

#box_mainproducts.emag-carousel .boxhead > h2.category-name {
  float: none;
  width: 100%;
}

#box_lastadded .boxhead .tab-title__text,
#box_mainproducts .boxhead .tab-title__text,
#box_bestsellers .boxhead .tab-title__text,
#box_specialoffer .boxhead .tab-title__text {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.4em;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

#box_lastadded .boxhead .emag-boxhead__link,
#box_mainproducts .boxhead .emag-boxhead__link,
#box_bestsellers .boxhead .emag-boxhead__link,
#box_specialoffer .boxhead .emag-boxhead__link {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  color: #555555;
  text-decoration: none;
  white-space: nowrap;
}

#box_lastadded .boxhead .emag-boxhead__link:hover,
#box_lastadded .boxhead .emag-boxhead__link:focus-visible,
#box_mainproducts .boxhead .emag-boxhead__link:hover,
#box_mainproducts .boxhead .emag-boxhead__link:focus-visible,
#box_bestsellers .boxhead .emag-boxhead__link:hover,
#box_bestsellers .boxhead .emag-boxhead__link:focus-visible,
#box_specialoffer .boxhead .emag-boxhead__link:hover,
#box_specialoffer .boxhead .emag-boxhead__link:focus-visible {
  color: #0082e6;
  text-decoration: underline;
}

/* SG karuzele — koszyk x-kom (TYP 1/2/4; nie TYP 3) */
#box_mainproducts.emag-carousel .emag-carousel__slide > .product > .product__buy-row,
#box_bestsellers.emag-carousel .emag-carousel__slide > .product > .product__buy-row,
.wce-wishlists-page__list-carousel.emag-carousel .emag-carousel__slide > .product > .product__buy-row,
#box_specialoffer.emag-carousel .emag-carousel__slide > .product > .product__buy-row,
#box_lastadded.emag-carousel .emag-carousel__slide > .product > .product__buy-row {
  margin-top: auto !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 40px;
  column-gap: 8px;
  align-items: end !important;
  width: 100%;
}

/* Recommendations (koszyk / Inni klienci kupili…) — ten sam buy-row co SG TYP 1 */
[id*="box_recommendations_"].emag-carousel .emag-carousel__slide > .product > .product__buy-row,
[id*="box_recommendations_"].emag-carousel .innerbox > .product > .product__buy-row {
  margin-top: auto !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 40px;
  column-gap: 8px;
  align-items: end !important;
  width: 100%;
}

[id*="box_recommendations_"].emag-carousel .emag-carousel__slide > .product > .product__buy-row .price,
[id*="box_recommendations_"].emag-carousel .innerbox > .product > .product__buy-row .price {
  grid-column: 1;
  grid-row: 1;
  margin-top: 0 !important;
  align-self: end;
  min-width: 0;
}

[id*="box_recommendations_"].emag-carousel .emag-carousel__slide > .product .product__buy-row .emag-buy-row__basket,
[id*="box_recommendations_"].emag-carousel .innerbox > .product .product__buy-row .emag-buy-row__basket {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  padding: 0;
  align-self: end;
  justify-self: end;
}

[id*="box_recommendations_"].emag-carousel .basket.emag-buy-row__basket {
  display: block !important;
}

[id*="box_recommendations_"].emag-carousel .emag-buy-row__basket fieldset {
  border: none;
  margin: 0;
  padding: 0;
}

[id*="box_recommendations_"].emag-carousel .emag-sg-cart-btn {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  max-width: 40px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 50% !important;
  background: #fff !important;
  background-image: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12) !important;
  color: #757575 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  font-size: 0 !important;
  line-height: 0 !important;
  overflow: hidden;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

[id*="box_recommendations_"].emag-carousel .emag-sg-cart-btn.addtobasket::before,
[id*="box_recommendations_"].emag-carousel .emag-sg-cart-btn.addtobasket::after {
  display: none !important;
  content: none !important;
}

[id*="box_recommendations_"].emag-carousel .emag-sg-cart-btn--in-cart {
  background: #0082e6 !important;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(0, 130, 230, 0.35) !important;
}

[id*="box_recommendations_"].emag-carousel .emag-sg-cart-btn:not(.emag-sg-cart-btn--unavailable):hover,
[id*="box_recommendations_"].emag-carousel .emag-sg-cart-btn:not(.emag-sg-cart-btn--unavailable):focus-visible {
  background: #00a5e6 !important;
  color: #fff !important;
  box-shadow: 0 2px 12px rgba(0, 165, 230, 0.35) !important;
}

[id*="box_recommendations_"].emag-carousel .emag-sg-cart-btn > span.hide,
[id*="box_recommendations_"].emag-carousel .emag-sg-cart-btn img.px1 {
  display: none !important;
}

[id*="box_recommendations_"].emag-carousel .emag-sg-cart-btn__spacer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  line-height: 0;
  flex-shrink: 0;
  pointer-events: none;
}

[id*="box_recommendations_"].emag-carousel .emag-sg-cart-btn__svg {
  width: 22px;
  height: 22px;
  display: block;
}

[id*="box_recommendations_"].emag-carousel .emag-sg-cart-btn--unavailable {
  background: #f4f4f4 !important;
  color: #b0b0b0 !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08) !important;
  transition: none !important;
}

[id*="box_recommendations_"].emag-carousel .availability-notifier-btn.emag-sg-cart-btn--unavailable {
  cursor: pointer !important;
}

@media (min-width: 768px) and (hover: hover) {
  [id*="box_recommendations_"].emag-carousel .emag-carousel__slide > .product .emag-sg-cart-btn,
  [id*="box_recommendations_"].emag-carousel .innerbox > .product .emag-sg-cart-btn {
    opacity: 0;
    transform: scale(0.88);
    pointer-events: none;
  }

  [id*="box_recommendations_"].emag-carousel .emag-carousel__slide > .product .emag-sg-cart-btn--in-cart,
  [id*="box_recommendations_"].emag-carousel .innerbox > .product .emag-sg-cart-btn--in-cart {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
  }

  [id*="box_recommendations_"].emag-carousel .emag-carousel__slide > .product:hover .emag-sg-cart-btn,
  [id*="box_recommendations_"].emag-carousel .emag-carousel__slide > .product:focus-within .emag-sg-cart-btn,
  [id*="box_recommendations_"].emag-carousel .innerbox > .product:hover .emag-sg-cart-btn,
  [id*="box_recommendations_"].emag-carousel .innerbox > .product:focus-within .emag-sg-cart-btn {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
  }
}

@media (max-width: 767px), (hover: none) {
  [id*="box_recommendations_"].emag-carousel .emag-carousel__slide > .product .emag-sg-cart-btn,
  [id*="box_recommendations_"].emag-carousel .innerbox > .product .emag-sg-cart-btn {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
}

#box_mainproducts.emag-carousel .emag-carousel__slide > .product > .product__buy-row .price,
#box_bestsellers.emag-carousel .emag-carousel__slide > .product > .product__buy-row .price,
.wce-wishlists-page__list-carousel.emag-carousel .emag-carousel__slide > .product > .product__buy-row .price,
#box_specialoffer.emag-carousel .emag-carousel__slide > .product > .product__buy-row .price,
#box_lastadded.emag-carousel .emag-carousel__slide > .product > .product__buy-row .price {
  grid-column: 1;
  grid-row: 1;
  margin-top: 0 !important;
  align-self: end;
  min-width: 0;
}

#box_mainproducts.emag-carousel .emag-carousel__slide > .product .product__buy-row .emag-buy-row__basket,
#box_bestsellers.emag-carousel .emag-carousel__slide > .product .product__buy-row .emag-buy-row__basket,
.wce-wishlists-page__list-carousel.emag-carousel .emag-carousel__slide > .product .product__buy-row .emag-buy-row__basket,
#box_specialoffer.emag-carousel .emag-carousel__slide > .product .product__buy-row .emag-buy-row__basket,
#box_lastadded.emag-carousel .emag-carousel__slide > .product .product__buy-row .emag-buy-row__basket {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  padding: 0;
  align-self: end;
  justify-self: end;
}

#box_mainproducts.emag-carousel .emag-buy-row__basket fieldset,
#box_bestsellers.emag-carousel .emag-buy-row__basket fieldset,
.wce-wishlists-page__list-carousel.emag-carousel .emag-buy-row__basket fieldset,
#box_specialoffer.emag-carousel .emag-buy-row__basket fieldset,
#box_lastadded.emag-carousel .emag-buy-row__basket fieldset {
  border: none;
  margin: 0;
  padding: 0;
}

#box_mainproducts.emag-carousel .emag-sg-cart-btn,
#box_bestsellers.emag-carousel .emag-sg-cart-btn,
.wce-wishlists-page__list-carousel.emag-carousel .emag-sg-cart-btn,
#box_specialoffer.emag-carousel .emag-sg-cart-btn,
#box_lastadded.emag-carousel .emag-sg-cart-btn {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  max-width: 40px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 50% !important;
  background: #fff !important;
  background-image: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12) !important;
  color: #757575 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  font-size: 0 !important;
  line-height: 0 !important;
  overflow: hidden;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

#box_mainproducts.emag-carousel .emag-sg-cart-btn.addtobasket::before,
#box_mainproducts.emag-carousel .emag-sg-cart-btn.addtobasket::after,
#box_bestsellers.emag-carousel .emag-sg-cart-btn.addtobasket::before,
.wce-wishlists-page__list-carousel.emag-carousel .emag-sg-cart-btn.addtobasket::before,
#box_bestsellers.emag-carousel .emag-sg-cart-btn.addtobasket::after,
.wce-wishlists-page__list-carousel.emag-carousel .emag-sg-cart-btn.addtobasket::after,
#box_specialoffer.emag-carousel .emag-sg-cart-btn.addtobasket::before,
#box_specialoffer.emag-carousel .emag-sg-cart-btn.addtobasket::after,
#box_lastadded.emag-carousel .emag-sg-cart-btn.addtobasket::before,
#box_lastadded.emag-carousel .emag-sg-cart-btn.addtobasket::after {
  display: none !important;
  content: none !important;
}

#box_mainproducts.emag-carousel .emag-sg-cart-btn--in-cart,
#box_bestsellers.emag-carousel .emag-sg-cart-btn--in-cart,
#box_specialoffer.emag-carousel .emag-sg-cart-btn--in-cart,
#box_lastadded.emag-carousel .emag-sg-cart-btn--in-cart,
.wce-wishlists-page__list-carousel.emag-carousel .emag-sg-cart-btn--in-cart,
#wce-wishlists-page .emag-carousel.emag-carousel--lite .emag-sg-cart-btn.addtobasket.emag-sg-cart-btn--in-cart {
  background: #0082e6 !important;
  color: #fff !important;
  box-shadow: 0 2px 12px rgba(0, 130, 230, 0.35) !important;
}

#box_mainproducts.emag-carousel .emag-sg-cart-btn:not(.emag-sg-cart-btn--unavailable):hover,
#box_mainproducts.emag-carousel .emag-sg-cart-btn:not(.emag-sg-cart-btn--unavailable):focus-visible,
#box_bestsellers.emag-carousel .emag-sg-cart-btn:not(.emag-sg-cart-btn--unavailable):hover,
#box_bestsellers.emag-carousel .emag-sg-cart-btn:not(.emag-sg-cart-btn--unavailable):focus-visible,
#box_specialoffer.emag-carousel .emag-sg-cart-btn:not(.emag-sg-cart-btn--unavailable):hover,
#box_specialoffer.emag-carousel .emag-sg-cart-btn:not(.emag-sg-cart-btn--unavailable):focus-visible,
#box_lastadded.emag-carousel .emag-sg-cart-btn:not(.emag-sg-cart-btn--unavailable):hover,
#box_lastadded.emag-carousel .emag-sg-cart-btn:not(.emag-sg-cart-btn--unavailable):focus-visible,
.wce-wishlists-page__list-carousel.emag-carousel .emag-sg-cart-btn:not(.emag-sg-cart-btn--unavailable):hover,
.wce-wishlists-page__list-carousel.emag-carousel .emag-sg-cart-btn:not(.emag-sg-cart-btn--unavailable):focus-visible,
#wce-wishlists-page .emag-carousel.emag-carousel--lite .emag-sg-cart-btn.addtobasket:hover,
#wce-wishlists-page .emag-carousel.emag-carousel--lite .emag-sg-cart-btn.addtobasket:focus-visible {
  background: #00a5e6 !important;
  color: #fff !important;
  box-shadow: 0 2px 12px rgba(0, 165, 230, 0.35) !important;
}

#box_mainproducts.emag-carousel .emag-sg-cart-btn > span.hide,
#box_mainproducts.emag-carousel .emag-sg-cart-btn img.px1,
#box_bestsellers.emag-carousel .emag-sg-cart-btn > span.hide,
.wce-wishlists-page__list-carousel.emag-carousel .emag-sg-cart-btn > span.hide,
#box_bestsellers.emag-carousel .emag-sg-cart-btn img.px1,
.wce-wishlists-page__list-carousel.emag-carousel .emag-sg-cart-btn img.px1,
#box_specialoffer.emag-carousel .emag-sg-cart-btn > span.hide,
#box_specialoffer.emag-carousel .emag-sg-cart-btn img.px1,
#box_lastadded.emag-carousel .emag-sg-cart-btn > span.hide,
#box_lastadded.emag-carousel .emag-sg-cart-btn img.px1 {
  display: none !important;
}

#box_mainproducts.emag-carousel .emag-sg-cart-btn__spacer,
#box_bestsellers.emag-carousel .emag-sg-cart-btn__spacer,
.wce-wishlists-page__list-carousel.emag-carousel .emag-sg-cart-btn__spacer,
#box_specialoffer.emag-carousel .emag-sg-cart-btn__spacer,
#box_lastadded.emag-carousel .emag-sg-cart-btn__spacer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  line-height: 0;
  flex-shrink: 0;
  pointer-events: none;
}

#box_mainproducts.emag-carousel .emag-sg-cart-btn__svg,
#box_bestsellers.emag-carousel .emag-sg-cart-btn__svg,
.wce-wishlists-page__list-carousel.emag-carousel .emag-sg-cart-btn__svg,
#box_specialoffer.emag-carousel .emag-sg-cart-btn__svg,
#box_lastadded.emag-carousel .emag-sg-cart-btn__svg {
  width: 22px;
  height: 22px;
  display: block;
}

#box_mainproducts.emag-carousel .emag-sg-cart-btn--unavailable,
#box_bestsellers.emag-carousel .emag-sg-cart-btn--unavailable,
.wce-wishlists-page__list-carousel.emag-carousel .emag-sg-cart-btn--unavailable,
#box_specialoffer.emag-carousel .emag-sg-cart-btn--unavailable,
#box_lastadded.emag-carousel .emag-sg-cart-btn--unavailable {
  background: #f4f4f4 !important;
  color: #b0b0b0 !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08) !important;
  cursor: not-allowed !important;
  transition: none !important;
}

#box_mainproducts.emag-carousel .emag-sg-cart-btn--unavailable:hover,
#box_mainproducts.emag-carousel .emag-sg-cart-btn--unavailable:focus,
#box_mainproducts.emag-carousel .emag-sg-cart-btn--unavailable:focus-visible,
#box_mainproducts.emag-carousel .emag-sg-cart-btn--unavailable:active,
#box_mainproducts.emag-carousel .emag-carousel__slide > .product:hover .emag-sg-cart-btn--unavailable,
#box_mainproducts.emag-carousel .emag-carousel__slide > .product:focus-within .emag-sg-cart-btn--unavailable,
#box_bestsellers.emag-carousel .emag-sg-cart-btn--unavailable:hover,
#box_bestsellers.emag-carousel .emag-sg-cart-btn--unavailable:focus,
#box_bestsellers.emag-carousel .emag-sg-cart-btn--unavailable:focus-visible,
#box_bestsellers.emag-carousel .emag-sg-cart-btn--unavailable:active,
#box_bestsellers.emag-carousel .emag-carousel__slide > .product:hover .emag-sg-cart-btn--unavailable,
#box_bestsellers.emag-carousel .emag-carousel__slide > .product:focus-within .emag-sg-cart-btn--unavailable,
.wce-wishlists-page__list-carousel.emag-carousel .emag-sg-cart-btn--unavailable:hover,
.wce-wishlists-page__list-carousel.emag-carousel .emag-sg-cart-btn--unavailable:focus,
.wce-wishlists-page__list-carousel.emag-carousel .emag-sg-cart-btn--unavailable:focus-visible,
.wce-wishlists-page__list-carousel.emag-carousel .emag-sg-cart-btn--unavailable:active,
.wce-wishlists-page__list-carousel.emag-carousel .emag-carousel__slide > .product:hover .emag-sg-cart-btn--unavailable,
.wce-wishlists-page__list-carousel.emag-carousel .emag-carousel__slide > .product:focus-within .emag-sg-cart-btn--unavailable,
#box_specialoffer.emag-carousel .emag-sg-cart-btn--unavailable:hover,
#box_specialoffer.emag-carousel .emag-sg-cart-btn--unavailable:focus,
#box_specialoffer.emag-carousel .emag-sg-cart-btn--unavailable:focus-visible,
#box_specialoffer.emag-carousel .emag-sg-cart-btn--unavailable:active,
#box_specialoffer.emag-carousel .emag-carousel__slide > .product:hover .emag-sg-cart-btn--unavailable,
#box_specialoffer.emag-carousel .emag-carousel__slide > .product:focus-within .emag-sg-cart-btn--unavailable,
#box_lastadded.emag-carousel .emag-sg-cart-btn--unavailable:hover,
#box_lastadded.emag-carousel .emag-sg-cart-btn--unavailable:focus,
#box_lastadded.emag-carousel .emag-sg-cart-btn--unavailable:focus-visible,
#box_lastadded.emag-carousel .emag-sg-cart-btn--unavailable:active,
#box_lastadded.emag-carousel .emag-carousel__slide > .product:hover .emag-sg-cart-btn--unavailable,
#box_lastadded.emag-carousel .emag-carousel__slide > .product:focus-within .emag-sg-cart-btn--unavailable,
[id*="box_recommendations_"].emag-carousel .emag-sg-cart-btn--unavailable:hover,
[id*="box_recommendations_"].emag-carousel .emag-sg-cart-btn--unavailable:focus,
[id*="box_recommendations_"].emag-carousel .emag-sg-cart-btn--unavailable:focus-visible,
[id*="box_recommendations_"].emag-carousel .emag-sg-cart-btn--unavailable:active,
[id*="box_recommendations_"].emag-carousel .emag-carousel__slide > .product:hover .emag-sg-cart-btn--unavailable,
[id*="box_recommendations_"].emag-carousel .emag-carousel__slide > .product:focus-within .emag-sg-cart-btn--unavailable,
[id*="box_recommendations_"].emag-carousel .innerbox > .product:hover .emag-sg-cart-btn--unavailable,
[id*="box_recommendations_"].emag-carousel .innerbox > .product:focus-within .emag-sg-cart-btn--unavailable {
  background: #f4f4f4 !important;
  color: #b0b0b0 !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08) !important;
  transform: none !important;
  cursor: not-allowed !important;
}

.emag-sg-cart-btn--unavailable[disabled],
.emag-sg-cart-btn--unavailable:disabled {
  cursor: not-allowed !important;
  pointer-events: auto !important;
}

.emag-module-t3.emag-carousel .availability-notifier-btn.emag-sg-cart-btn--unavailable,
.emag-module-t3.emag-carousel .availability-notifier-unsubscribe-btn.emag-sg-cart-btn--unavailable,
[id*="box_recommendations_"].emag-carousel .availability-notifier-btn.emag-sg-cart-btn--unavailable,
.availability-notifier-btn.emag-sg-cart-btn--unavailable,
.availability-notifier-unsubscribe-btn.emag-sg-cart-btn--unavailable {
  cursor: pointer !important;
}

.emag-module-t3.emag-carousel .availability-notifier-btn.emag-sg-cart-btn--unavailable:hover,
.emag-module-t3.emag-carousel .availability-notifier-unsubscribe-btn.emag-sg-cart-btn--unavailable:hover,
[id*="box_recommendations_"].emag-carousel .availability-notifier-btn.emag-sg-cart-btn--unavailable:hover,
.availability-notifier-btn.emag-sg-cart-btn--unavailable:hover,
.availability-notifier-unsubscribe-btn.emag-sg-cart-btn--unavailable:hover {
  cursor: pointer !important;
}

@media (min-width: 768px) and (hover: hover) {
  #box_mainproducts.emag-carousel .emag-carousel__slide > .product .emag-sg-cart-btn,
  #box_bestsellers.emag-carousel .emag-carousel__slide > .product .emag-sg-cart-btn,
  #box_specialoffer.emag-carousel .emag-carousel__slide > .product .emag-sg-cart-btn,
  #box_lastadded.emag-carousel .emag-carousel__slide > .product .emag-sg-cart-btn {
    opacity: 0;
    transform: scale(0.88);
    pointer-events: none;
  }

  #box_mainproducts.emag-carousel .emag-carousel__slide > .product .emag-sg-cart-btn--in-cart,
  #box_bestsellers.emag-carousel .emag-carousel__slide > .product .emag-sg-cart-btn--in-cart,
  #box_specialoffer.emag-carousel .emag-carousel__slide > .product .emag-sg-cart-btn--in-cart,
  #box_lastadded.emag-carousel .emag-carousel__slide > .product .emag-sg-cart-btn--in-cart {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
  }

  #box_mainproducts.emag-carousel .emag-carousel__slide > .product:hover .emag-sg-cart-btn,
  #box_mainproducts.emag-carousel .emag-carousel__slide > .product:focus-within .emag-sg-cart-btn,
  #box_mainproducts.emag-carousel .emag-carousel__slide > .product .emag-sg-cart-btn--in-cart,
  #box_bestsellers.emag-carousel .emag-carousel__slide > .product:hover .emag-sg-cart-btn,
  #box_bestsellers.emag-carousel .emag-carousel__slide > .product:focus-within .emag-sg-cart-btn,
  #box_bestsellers.emag-carousel .emag-carousel__slide > .product .emag-sg-cart-btn--in-cart,
  #box_specialoffer.emag-carousel .emag-carousel__slide > .product:hover .emag-sg-cart-btn,
  #box_specialoffer.emag-carousel .emag-carousel__slide > .product:focus-within .emag-sg-cart-btn,
  #box_specialoffer.emag-carousel .emag-carousel__slide > .product .emag-sg-cart-btn--in-cart,
  #box_lastadded.emag-carousel .emag-carousel__slide > .product:hover .emag-sg-cart-btn,
  #box_lastadded.emag-carousel .emag-carousel__slide > .product:focus-within .emag-sg-cart-btn,
  #box_lastadded.emag-carousel .emag-carousel__slide > .product .emag-sg-cart-btn--in-cart {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
  }
}

/* SG — niedostępny zawsze widoczny (status produktu; nie chowaj jak koszyk do hovera) */
#box_mainproducts.emag-carousel .emag-carousel__slide > .product .emag-sg-cart-btn--unavailable,
#box_bestsellers.emag-carousel .emag-carousel__slide > .product .emag-sg-cart-btn--unavailable,
#box_specialoffer.emag-carousel .emag-carousel__slide > .product .emag-sg-cart-btn--unavailable,
#box_lastadded.emag-carousel .emag-carousel__slide > .product .emag-sg-cart-btn--unavailable,
[id*="box_recommendations_"].emag-carousel .emag-carousel__slide > .product .emag-sg-cart-btn--unavailable,
[id*="box_recommendations_"].emag-carousel .innerbox > .product .emag-sg-cart-btn--unavailable {
  opacity: 1 !important;
  transform: none !important;
  pointer-events: auto !important;
}

/* Ulubione — koszyk zawsze widoczny (jak TYP 3 karta produktu), poza SG hover-reveal */
#wce-wishlists-page .emag-carousel.emag-carousel--lite .emag-carousel__slide > .product .emag-sg-cart-btn,
.wce-wishlists-page__list-carousel.emag-carousel .emag-carousel__slide > .product .emag-sg-cart-btn {
  opacity: 1 !important;
  transform: none !important;
  pointer-events: auto !important;
}

@media (max-width: 767px), (hover: none) {
  #box_mainproducts.emag-carousel .emag-carousel__slide > .product .emag-sg-cart-btn,
  #box_bestsellers.emag-carousel .emag-carousel__slide > .product .emag-sg-cart-btn,
.wce-wishlists-page__list-carousel.emag-carousel .emag-carousel__slide > .product .emag-sg-cart-btn,
  #box_specialoffer.emag-carousel .emag-carousel__slide > .product .emag-sg-cart-btn,
  #box_lastadded.emag-carousel .emag-carousel__slide > .product .emag-sg-cart-btn {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
}

/* SG mobile — strona główna: bez koszyka w karuzelach (TYP 1/2/4) */
@media screen and (max-width: 767px) {
  .shop_index #box_mainproducts.emag-carousel .emag-carousel__slide > .product > .product__buy-row,
  .shop_index #box_bestsellers.emag-carousel .emag-carousel__slide > .product > .product__buy-row,
  .shop_index #box_specialoffer.emag-carousel .emag-carousel__slide > .product > .product__buy-row,
  .shop_index #box_lastadded.emag-carousel .emag-carousel__slide > .product > .product__buy-row {
    grid-template-columns: minmax(0, 1fr) !important;
    column-gap: 0 !important;
  }

  .shop_index #box_mainproducts.emag-carousel .emag-carousel__slide > .product .product__buy-row .emag-buy-row__basket,
  .shop_index #box_bestsellers.emag-carousel .emag-carousel__slide > .product .product__buy-row .emag-buy-row__basket,
  .shop_index #box_specialoffer.emag-carousel .emag-carousel__slide > .product .product__buy-row .emag-buy-row__basket,
  .shop_index #box_lastadded.emag-carousel .emag-carousel__slide > .product .product__buy-row .emag-buy-row__basket {
    display: none !important;
  }

  .shop_index #box_mainproducts.emag-carousel .emag-carousel__slide > .product .product__buy-row .emag-buy-row__basket:has(.emag-sg-cart-btn--in-cart),
  .shop_index #box_bestsellers.emag-carousel .emag-carousel__slide > .product .product__buy-row .emag-buy-row__basket:has(.emag-sg-cart-btn--in-cart),
  .shop_index #box_specialoffer.emag-carousel .emag-carousel__slide > .product .product__buy-row .emag-buy-row__basket:has(.emag-sg-cart-btn--in-cart),
  .shop_index #box_lastadded.emag-carousel .emag-carousel__slide > .product .product__buy-row .emag-buy-row__basket:has(.emag-sg-cart-btn--in-cart),
  .shop_index #box_mainproducts.emag-carousel .emag-carousel__slide > .product .product__buy-row .emag-buy-row__basket:has(.emag-sg-cart-btn--unavailable),
  .shop_index #box_bestsellers.emag-carousel .emag-carousel__slide > .product .product__buy-row .emag-buy-row__basket:has(.emag-sg-cart-btn--unavailable),
  .shop_index #box_specialoffer.emag-carousel .emag-carousel__slide > .product .product__buy-row .emag-buy-row__basket:has(.emag-sg-cart-btn--unavailable),
  .shop_index #box_lastadded.emag-carousel .emag-carousel__slide > .product .product__buy-row .emag-buy-row__basket:has(.emag-sg-cart-btn--unavailable) {
    display: block !important;
  }

  .shop_index #box_mainproducts.emag-carousel .emag-carousel__slide > .product > .product__buy-row:has(.emag-sg-cart-btn--in-cart),
  .shop_index #box_bestsellers.emag-carousel .emag-carousel__slide > .product > .product__buy-row:has(.emag-sg-cart-btn--in-cart),
  .shop_index #box_specialoffer.emag-carousel .emag-carousel__slide > .product > .product__buy-row:has(.emag-sg-cart-btn--in-cart),
  .shop_index #box_lastadded.emag-carousel .emag-carousel__slide > .product > .product__buy-row:has(.emag-sg-cart-btn--in-cart),
  .shop_index #box_mainproducts.emag-carousel .emag-carousel__slide > .product > .product__buy-row:has(.emag-sg-cart-btn--unavailable),
  .shop_index #box_bestsellers.emag-carousel .emag-carousel__slide > .product > .product__buy-row:has(.emag-sg-cart-btn--unavailable),
  .shop_index #box_specialoffer.emag-carousel .emag-carousel__slide > .product > .product__buy-row:has(.emag-sg-cart-btn--unavailable),
  .shop_index #box_lastadded.emag-carousel .emag-carousel__slide > .product > .product__buy-row:has(.emag-sg-cart-btn--unavailable) {
    grid-template-columns: minmax(0, 1fr) 40px !important;
    column-gap: 8px !important;
  }
}

html.mobile .shop_index #box_mainproducts.emag-carousel .emag-carousel__slide > .product > .product__buy-row,
html.mobile .shop_index #box_bestsellers.emag-carousel .emag-carousel__slide > .product > .product__buy-row,
html.mobile .shop_index #box_specialoffer.emag-carousel .emag-carousel__slide > .product > .product__buy-row,
html.mobile .shop_index #box_lastadded.emag-carousel .emag-carousel__slide > .product > .product__buy-row {
  grid-template-columns: minmax(0, 1fr) !important;
  column-gap: 0 !important;
}

html.mobile .shop_index #box_mainproducts.emag-carousel .emag-carousel__slide > .product > .product__buy-row:has(.emag-sg-cart-btn--in-cart),
html.mobile .shop_index #box_bestsellers.emag-carousel .emag-carousel__slide > .product > .product__buy-row:has(.emag-sg-cart-btn--in-cart),
html.mobile .shop_index #box_specialoffer.emag-carousel .emag-carousel__slide > .product > .product__buy-row:has(.emag-sg-cart-btn--in-cart),
html.mobile .shop_index #box_lastadded.emag-carousel .emag-carousel__slide > .product > .product__buy-row:has(.emag-sg-cart-btn--in-cart),
html.mobile .shop_index #box_mainproducts.emag-carousel .emag-carousel__slide > .product > .product__buy-row:has(.emag-sg-cart-btn--unavailable),
html.mobile .shop_index #box_bestsellers.emag-carousel .emag-carousel__slide > .product > .product__buy-row:has(.emag-sg-cart-btn--unavailable),
html.mobile .shop_index #box_specialoffer.emag-carousel .emag-carousel__slide > .product > .product__buy-row:has(.emag-sg-cart-btn--unavailable),
html.mobile .shop_index #box_lastadded.emag-carousel .emag-carousel__slide > .product > .product__buy-row:has(.emag-sg-cart-btn--unavailable) {
  grid-template-columns: minmax(0, 1fr) 40px !important;
  column-gap: 8px !important;
}

html.mobile .shop_index #box_mainproducts.emag-carousel .emag-carousel__slide > .product .product__buy-row .emag-buy-row__basket,
html.mobile .shop_index #box_bestsellers.emag-carousel .emag-carousel__slide > .product .product__buy-row .emag-buy-row__basket,
html.mobile .shop_index #box_specialoffer.emag-carousel .emag-carousel__slide > .product .product__buy-row .emag-buy-row__basket,
html.mobile .shop_index #box_lastadded.emag-carousel .emag-carousel__slide > .product .product__buy-row .emag-buy-row__basket {
  display: none !important;
}

html.mobile .shop_index #box_mainproducts.emag-carousel .emag-carousel__slide > .product .product__buy-row .emag-buy-row__basket:has(.emag-sg-cart-btn--in-cart),
html.mobile .shop_index #box_bestsellers.emag-carousel .emag-carousel__slide > .product .product__buy-row .emag-buy-row__basket:has(.emag-sg-cart-btn--in-cart),
html.mobile .shop_index #box_specialoffer.emag-carousel .emag-carousel__slide > .product .product__buy-row .emag-buy-row__basket:has(.emag-sg-cart-btn--in-cart),
html.mobile .shop_index #box_lastadded.emag-carousel .emag-carousel__slide > .product .product__buy-row .emag-buy-row__basket:has(.emag-sg-cart-btn--in-cart),
html.mobile .shop_index #box_mainproducts.emag-carousel .emag-carousel__slide > .product .product__buy-row .emag-buy-row__basket:has(.emag-sg-cart-btn--unavailable),
html.mobile .shop_index #box_bestsellers.emag-carousel .emag-carousel__slide > .product .product__buy-row .emag-buy-row__basket:has(.emag-sg-cart-btn--unavailable),
html.mobile .shop_index #box_specialoffer.emag-carousel .emag-carousel__slide > .product .product__buy-row .emag-buy-row__basket:has(.emag-sg-cart-btn--unavailable),
html.mobile .shop_index #box_lastadded.emag-carousel .emag-carousel__slide > .product .product__buy-row .emag-buy-row__basket:has(.emag-sg-cart-btn--unavailable) {
  display: block !important;
}

/* Ulubione — serduszko na kafelku (Faza 1) */
.emag-carousel .emag-carousel__slide > .product,
.emag-carousel .innerbox > .product,
#box_productrelated .product,
.custom_productrelated .product {
  position: relative;
}

.wce-wish-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.wce-wish-btn:hover,
.wce-wish-btn:focus-visible {
  background: #fff;
  color: #333;
  transform: scale(1.06);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
  outline: none;
}

.wce-wish-btn--active,
.wce-wish-btn[aria-pressed="true"] {
  color: #333;
}

.wce-wish-btn__spacer {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  pointer-events: none;
}

.wce-wish-btn__svg {
  display: block;
  width: 22px;
  height: 22px;
}

.wce-wish-btn--pulse {
  animation: wce-wish-pulse 0.35s ease;
}

@keyframes wce-wish-pulse {
  0% { transform: scale(1); }
  45% { transform: scale(1.14); }
  100% { transform: scale(1); }
}

.wce-wish-btn--productfull {
  top: 10px;
  right: 10px;
}

@media (min-width: 768px) and (hover: hover) {
  #box_mainproducts.emag-carousel .emag-carousel__slide > .product .wce-wish-btn,
  #box_bestsellers.emag-carousel .emag-carousel__slide > .product .wce-wish-btn,
.wce-wishlists-page__list-carousel.emag-carousel .emag-carousel__slide > .product .wce-wish-btn,
  #box_specialoffer.emag-carousel .emag-carousel__slide > .product .wce-wish-btn,
  #box_lastadded.emag-carousel .emag-carousel__slide > .product .wce-wish-btn,
  [id*="box_recommendations_"].emag-carousel .emag-carousel__slide > .product .wce-wish-btn,
  [id*="box_recommendations_"].emag-carousel .innerbox > .product .wce-wish-btn {
    opacity: 0;
    transform: scale(0.88);
    pointer-events: none;
  }

  #box_mainproducts.emag-carousel .emag-carousel__slide > .product .wce-wish-btn.wce-wish-btn--active,
  #box_mainproducts.emag-carousel .emag-carousel__slide > .product .wce-wish-btn[aria-pressed="true"],
  #box_bestsellers.emag-carousel .emag-carousel__slide > .product .wce-wish-btn.wce-wish-btn--active,
.wce-wishlists-page__list-carousel.emag-carousel .emag-carousel__slide > .product .wce-wish-btn.wce-wish-btn--active,
  #box_bestsellers.emag-carousel .emag-carousel__slide > .product .wce-wish-btn[aria-pressed="true"],
.wce-wishlists-page__list-carousel.emag-carousel .emag-carousel__slide > .product .wce-wish-btn[aria-pressed="true"],
  #box_specialoffer.emag-carousel .emag-carousel__slide > .product .wce-wish-btn.wce-wish-btn--active,
  #box_specialoffer.emag-carousel .emag-carousel__slide > .product .wce-wish-btn[aria-pressed="true"],
  #box_lastadded.emag-carousel .emag-carousel__slide > .product .wce-wish-btn.wce-wish-btn--active,
  #box_lastadded.emag-carousel .emag-carousel__slide > .product .wce-wish-btn[aria-pressed="true"],
  [id*="box_recommendations_"].emag-carousel .emag-carousel__slide > .product .wce-wish-btn.wce-wish-btn--active,
  [id*="box_recommendations_"].emag-carousel .emag-carousel__slide > .product .wce-wish-btn[aria-pressed="true"],
  [id*="box_recommendations_"].emag-carousel .innerbox > .product .wce-wish-btn.wce-wish-btn--active,
  [id*="box_recommendations_"].emag-carousel .innerbox > .product .wce-wish-btn[aria-pressed="true"] {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
  }

  #box_mainproducts.emag-carousel .emag-carousel__slide > .product:hover .wce-wish-btn,
  #box_mainproducts.emag-carousel .emag-carousel__slide > .product:focus-within .wce-wish-btn,
  #box_bestsellers.emag-carousel .emag-carousel__slide > .product:hover .wce-wish-btn,
.wce-wishlists-page__list-carousel.emag-carousel .emag-carousel__slide > .product:hover .wce-wish-btn,
  #box_bestsellers.emag-carousel .emag-carousel__slide > .product:focus-within .wce-wish-btn,
.wce-wishlists-page__list-carousel.emag-carousel .emag-carousel__slide > .product:focus-within .wce-wish-btn,
  #box_specialoffer.emag-carousel .emag-carousel__slide > .product:hover .wce-wish-btn,
  #box_specialoffer.emag-carousel .emag-carousel__slide > .product:focus-within .wce-wish-btn,
  #box_lastadded.emag-carousel .emag-carousel__slide > .product:hover .wce-wish-btn,
  #box_lastadded.emag-carousel .emag-carousel__slide > .product:focus-within .wce-wish-btn,
  [id*="box_recommendations_"].emag-carousel .emag-carousel__slide > .product:hover .wce-wish-btn,
  [id*="box_recommendations_"].emag-carousel .emag-carousel__slide > .product:focus-within .wce-wish-btn,
  [id*="box_recommendations_"].emag-carousel .innerbox > .product:hover .wce-wish-btn,
  [id*="box_recommendations_"].emag-carousel .innerbox > .product:focus-within .wce-wish-btn {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
  }

  #box_mainproducts.emag-carousel .emag-carousel__slide > .product:hover .wce-wish-btn:hover,
  #box_bestsellers.emag-carousel .emag-carousel__slide > .product:hover .wce-wish-btn:hover,
.wce-wishlists-page__list-carousel.emag-carousel .emag-carousel__slide > .product:hover .wce-wish-btn:hover,
  #box_specialoffer.emag-carousel .emag-carousel__slide > .product:hover .wce-wish-btn:hover,
  #box_lastadded.emag-carousel .emag-carousel__slide > .product:hover .wce-wish-btn:hover,
  [id*="box_recommendations_"].emag-carousel .product:hover .wce-wish-btn:hover {
    transform: scale(1.06);
  }
}

@media (max-width: 767px), (hover: none) {
  #box_mainproducts.emag-carousel .wce-wish-btn,
  #box_bestsellers.emag-carousel .wce-wish-btn,
.wce-wishlists-page__list-carousel.emag-carousel .wce-wish-btn,
  #box_specialoffer.emag-carousel .wce-wish-btn,
  #box_lastadded.emag-carousel .wce-wish-btn,
  [id*="box_recommendations_"].emag-carousel .wce-wish-btn {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  /* Mobile — serduszko ulubione −20% (40→32 px, ikona 22→17.6 px) */
  .wce-wish-btn {
    top: 6px;
    right: 6px;
    width: 32px;
    height: 32px;
  }

  .wce-wish-btn__spacer,
  .wce-wish-btn__svg {
    width: 17.6px;
    height: 17.6px;
  }

  .wce-wish-btn--productfull {
    top: 8px;
    right: 8px;
  }
}

.emag-module-t3.emag-carousel .wce-wish-btn,
.wce-wishlists-page .wce-wish-btn,
#box_productrelated .wce-wish-btn,
.custom_productrelated .wce-wish-btn,
[id^="custom-"].emag-module-t3 .wce-wish-btn,
.mainimg .wce-wish-btn {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  z-index: 15;
}

/* Modal wyboru listy — styl x-kom (Faza 2b) */
body.wce-wish-picker-open {
  overflow: hidden;
}

.wce-wish-picker-backdrop .wce-wish-picker {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  min-width: 0 !important;
  max-width: calc(420px * var(--wce-wish-scale, 0.8)) !important;
  padding: 0 !important;
  border: 0 !important;
}

.wce-wish-picker-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(16px * var(--wce-wish-scale, 0.8));
  background: rgba(0, 0, 0, 0.35);
}

.wce-wish-picker-backdrop[hidden] {
  display: none !important;
}

.wce-wish-picker {
  --wce-wish-scale: 0.8;
  position: relative;
  z-index: 10060;
  width: 100%;
  max-width: calc(420px * var(--wce-wish-scale));
  max-height: min(90vh, calc(520px * var(--wce-wish-scale)));
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: calc(12px * var(--wce-wish-scale));
  box-shadow: 0 calc(16px * var(--wce-wish-scale)) calc(48px * var(--wce-wish-scale)) rgba(0, 0, 0, 0.18);
  color: #1a1a1a;
  font-size: calc(15px * var(--wce-wish-scale));
  line-height: 1.4;
  overflow: hidden;
}

.wce-wish-picker__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: calc(12px * var(--wce-wish-scale));
  padding: calc(20px * var(--wce-wish-scale)) calc(20px * var(--wce-wish-scale)) calc(16px * var(--wce-wish-scale));
  border-bottom: 1px solid #ebebeb;
}

.wce-wish-picker__title {
  margin: 0;
  font-size: calc(20px * var(--wce-wish-scale));
  font-weight: 700;
  line-height: 1.25;
  color: #111;
}

.wce-wish-picker__close {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: calc(32px * var(--wce-wish-scale));
  height: calc(32px * var(--wce-wish-scale));
  margin: calc(-4px * var(--wce-wish-scale)) calc(-4px * var(--wce-wish-scale)) 0 0;
  padding: 0;
  border: 0;
  border-radius: calc(6px * var(--wce-wish-scale));
  background: transparent;
  color: #333;
  cursor: pointer;
}

.wce-wish-picker__close svg {
  width: calc(20px * var(--wce-wish-scale));
  height: calc(20px * var(--wce-wish-scale));
}

.wce-wish-picker__close:hover,
.wce-wish-picker__close:focus-visible {
  background: #f3f3f3;
  outline: none;
}

.wce-wish-picker__body {
  flex: 1 1 auto;
  min-height: 0;
  padding: calc(16px * var(--wce-wish-scale)) calc(20px * var(--wce-wish-scale)) calc(8px * var(--wce-wish-scale));
  overflow-y: auto;
}

.wce-wish-picker__new-wrap {
  margin-bottom: calc(12px * var(--wce-wish-scale));
}

.wce-wish-picker__new {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(8px * var(--wce-wish-scale));
  width: 100%;
  padding: calc(12px * var(--wce-wish-scale)) calc(16px * var(--wce-wish-scale));
  border: 1px solid #d8d8d8;
  border-radius: calc(12px * var(--wce-wish-scale));
  background: #fff;
  color: #222;
  cursor: pointer;
  font: inherit;
  font-weight: 500;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.wce-wish-picker__new:hover,
.wce-wish-picker__new:focus-visible {
  background: #fafafa;
  border-color: #c8c8c8;
  outline: none;
}

.wce-wish-picker__new-icon {
  font-size: calc(18px * var(--wce-wish-scale));
  line-height: 1;
  font-weight: 400;
}

.wce-wish-picker__new-form {
  display: flex;
  align-items: stretch;
  gap: calc(8px * var(--wce-wish-scale));
}

.wce-wish-picker__new-form[hidden] {
  display: none !important;
}

.wce-wish-picker__new-input {
  flex: 1 1 auto;
  min-width: 0;
  padding: calc(11px * var(--wce-wish-scale)) calc(14px * var(--wce-wish-scale));
  border: 1px solid #d8d8d8;
  border-radius: 999px;
  background: #fff;
  color: #222;
  font: inherit;
}

.wce-wish-picker__new-input:focus {
  outline: none;
  border-color: #999;
}

.wce-wish-picker__new-submit {
  flex-shrink: 0;
  padding: calc(11px * var(--wce-wish-scale)) calc(18px * var(--wce-wish-scale));
  border: 1px solid #222;
  border-radius: 999px;
  background: #fff;
  color: #222;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  white-space: nowrap;
}

.wce-wish-picker__new-submit:hover,
.wce-wish-picker__new-submit:focus-visible {
  background: #f5f5f5;
  outline: none;
}

.wce-wish-picker__lists {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wce-wish-picker__list-item {
  margin: 0;
}

.wce-wish-picker__row {
  display: flex;
  align-items: center;
  gap: calc(12px * var(--wce-wish-scale));
  margin: 0;
  padding: calc(12px * var(--wce-wish-scale)) calc(10px * var(--wce-wish-scale));
  border-radius: calc(8px * var(--wce-wish-scale));
  cursor: pointer;
  transition: background 0.12s ease;
}

.wce-wish-picker__row:hover {
  background: #f5f5f5;
}

.wce-wish-picker__checkbox {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wce-wish-picker__box {
  position: relative;
  flex-shrink: 0;
  width: calc(20px * var(--wce-wish-scale));
  height: calc(20px * var(--wce-wish-scale));
  border: calc(1.5px * var(--wce-wish-scale)) solid #b8b8b8;
  border-radius: calc(4px * var(--wce-wish-scale));
  background: #fff;
  transition: background 0.12s ease, border-color 0.12s ease;
}

.wce-wish-picker__box::after {
  content: "";
  position: absolute;
  top: calc(3px * var(--wce-wish-scale));
  left: calc(6px * var(--wce-wish-scale));
  width: calc(5px * var(--wce-wish-scale));
  height: calc(9px * var(--wce-wish-scale));
  border: solid #fff;
  border-width: 0 calc(2px * var(--wce-wish-scale)) calc(2px * var(--wce-wish-scale)) 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.12s ease;
}

.wce-wish-picker__checkbox:checked + .wce-wish-picker__box {
  background: #111;
  border-color: #111;
}

.wce-wish-picker__checkbox:checked + .wce-wish-picker__box::after {
  transform: rotate(45deg) scale(1);
}

.wce-wish-picker__checkbox:focus-visible + .wce-wish-picker__box {
  outline: calc(2px * var(--wce-wish-scale)) solid #111;
  outline-offset: calc(2px * var(--wce-wish-scale));
}

.wce-wish-picker__name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
  color: #222;
}

.wce-wish-picker__footer {
  flex-shrink: 0;
  padding: calc(12px * var(--wce-wish-scale)) calc(20px * var(--wce-wish-scale)) calc(20px * var(--wce-wish-scale));
  border-top: 1px solid #ebebeb;
}

.wce-wish-picker__done {
  display: block;
  width: 100%;
  padding: calc(14px * var(--wce-wish-scale)) calc(20px * var(--wce-wish-scale));
  border: 0;
  border-radius: calc(12px * var(--wce-wish-scale));
  background: #111;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: calc(16px * var(--wce-wish-scale));
  font-weight: 700;
  text-align: center;
  transition: background 0.15s ease;
}

.wce-wish-picker__done:hover,
.wce-wish-picker__done:focus-visible {
  background: #333;
  outline: none;
}

.wce-wish-btn[aria-expanded="true"] {
  opacity: 1 !important;
  transform: scale(1) !important;
  pointer-events: auto !important;
}

/* Faza 3 — link Ulubione w nagłówku + strona list */
.wce-header-wish {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: calc(32px * var(--wce-wish-scale, 0.8));
  height: calc(32px * var(--wce-wish-scale, 0.8));
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-decoration: none;
  color: #333;
  vertical-align: middle;
  box-sizing: border-box;
}

header .logo-bar {
  position: relative;
}

header .logo-bar .emag-header-actions .wce-header-wish,
#box_wce_sticky-header .emag-header-actions .wce-header-wish {
  position: relative;
  right: auto;
  bottom: auto;
  width: var(--emag-header-action-size, 53px);
  height: var(--emag-header-action-size, 53px);
  min-width: var(--emag-header-action-size, 53px);
}

.wce-header-wish__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  color: #333;
}

.wce-header-wish__icon svg {
  width: calc(22px * var(--wce-wish-scale, 0.8));
  height: calc(22px * var(--wce-wish-scale, 0.8));
}

.wce-header-wish__label {
  display: none !important;
}

.wce-header-wish__count {
  position: absolute;
  top: 0;
  right: calc(-2px * var(--wce-wish-scale, 0.8));
  min-width: calc(16px * var(--wce-wish-scale, 0.8));
  height: calc(16px * var(--wce-wish-scale, 0.8));
  padding: 0 calc(4px * var(--wce-wish-scale, 0.8));
  border-radius: calc(8px * var(--wce-wish-scale, 0.8));
  background: #111;
  color: #fff;
  font-size: calc(10px * var(--wce-wish-scale, 0.8));
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
  line-height: 1;
  pointer-events: none;
}

.wce-header-wish__count.is-visible {
  display: inline-flex;
}

#box_wce_sticky-header .wce-header-wish {
  margin: 0;
  width: calc(32px * var(--wce-wish-scale, 0.8));
  height: calc(32px * var(--wce-wish-scale, 0.8));
  flex-direction: row;
  gap: 0;
  font-size: 11px;
  position: relative;
  right: auto;
  bottom: auto;
}

html.wce-wishlists-route-pending .centercol > .box,
body.wce-wishlists-page-active .centercol > .box {
  display: none !important;
}

html.wce-wishlists-route-pending .centercol > #wce-wishlists-page,
body.wce-wishlists-page-active .centercol > #wce-wishlists-page {
  display: block !important;
}

html.wce-wishlists-route-pending .bottom-footer,
body.wce-wishlists-page-active .bottom-footer {
  display: none !important;
}

/* Krótka strona Ulubione (bez .bottom-footer): stopka + pasek gradientu przy dole viewportu */
@media screen and (min-width: 768px) {
  html.wce-wishlists-route-pending,
  html:has(body.wce-wishlists-page-active) {
    min-height: 100%;
  }

  html.wce-wishlists-route-pending body,
  body.wce-wishlists-page-active {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }

  html.wce-wishlists-route-pending body > .wrap,
  body.wce-wishlists-page-active > .wrap {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  html.wce-wishlists-route-pending .wrap > footer.footer,
  body.wce-wishlists-page-active .wrap > footer.footer {
    margin-top: auto;
  }
}

.wce-wishlists-page {
  margin: 0 0 24px;
}

.wce-wishlists-page__list-carousel {
  margin-bottom: 0;
}

.wce-wishlists-page .wce-wish-btn {
  opacity: 1 !important;
  transform: none !important;
  pointer-events: auto !important;
}

.wce-wishlists-page__head {
  margin: 0 0 16px;
  font-size: 24px;
  font-weight: 700;
  color: #111;
}

.wce-wishlists-page__empty,
.wce-wishlists-page__loading {
  margin: 24px 0;
  color: #666;
  text-align: center;
}

.wce-wishlists-page__share-bar {
  margin: 0 0 12px;
  padding: 12px 14px;
  border-radius: calc(10px * var(--wce-wish-scale, 0.8));
  background: #f5f5f5;
  color: #333;
  font-size: 0.95em;
}

@media (max-width: 767px) {
  .wce-wishlists-page__head {
    font-size: 20px;
  }
}

/* Ulubione — TYP 1 jak Okazje; #wce-wishlists-page bije Hammer .product .price > p > em */
#wce-wishlists-page .emag-carousel.emag-carousel--lite .product .price > p > em.color {
  color: var(--emag-header-accent-red, #ff1d25) !important;
}

#wce-wishlists-page .emag-carousel.emag-carousel--lite .emag-sg-cart-btn.addtobasket {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  max-width: 40px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 50% !important;
  background: #fff !important;
  background-image: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12) !important;
  color: #757575 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  font-size: 0 !important;
  line-height: 0 !important;
  overflow: hidden;
  cursor: pointer;
}

#wce-wishlists-page .emag-carousel.emag-carousel--lite .emag-sg-cart-btn.addtobasket::before,
#wce-wishlists-page .emag-carousel.emag-carousel--lite .emag-sg-cart-btn.addtobasket::after {
  display: none !important;
  content: none !important;
}

#wce-wishlists-page .emag-carousel.emag-carousel--lite .emag-sg-cart-btn.addtobasket.emag-sg-cart-btn--in-cart {
  background: #0082e6 !important;
  color: #fff !important;
  box-shadow: 0 2px 12px rgba(0, 130, 230, 0.35) !important;
}

#wce-wishlists-page .emag-carousel.emag-carousel--lite .emag-sg-cart-btn.addtobasket:hover,
#wce-wishlists-page .emag-carousel.emag-carousel--lite .emag-sg-cart-btn.addtobasket:focus-visible {
  background: #00a5e6 !important;
  color: #fff !important;
  box-shadow: 0 2px 12px rgba(0, 165, 230, 0.35) !important;
}

/* Ulubione — akcje listy w boxhead (x-kom: udostępnij / usuń / do koszyka) */
.wce-wishlists-page__list-head {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.wce-wishlists-page__list-head > h2 {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0 !important;
  float: none !important;
  width: auto !important;
}

.wce-wishlists-page__list-actions {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
  margin-left: auto;
}

.wce-wishlists-page__list-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: none;
  background: transparent;
  color: #111;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  border-radius: 8px;
  white-space: nowrap;
}

.wce-wishlists-page__list-action:hover,
.wce-wishlists-page__list-action:focus-visible {
  background: #f3f3f3;
  outline: none;
}

.wce-wishlists-page__list-action:disabled,
.wce-wishlists-page__list-action.is-busy {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.wce-wishlists-page__list-action__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: block;
}

@media (max-width: 767px) {
  .wce-wishlists-page__list-action {
    padding: 8px;
  }

  .wce-wishlists-page__list-action__label {
    display: none;
  }
}
