/*
    WebCoders.eu - Hammer (G01) 2.0 LESS
    2021 WebCoders.eu Sp. z o.o. - all rights reserved.

    Standard palette:
    Background color:      #3d3730
    Main color:            #FFCD45
    Font color:            #000000
    Link color:            #398C01
*/
@import "g01_styles_cfg.less";
.wce_styles() {
  /* Config overrides */

  /* eof Config overrides */

  @import "g01_styles.less";
}

.wce_styles();
/*
    eof WebCoders.eu - Hammer (G01) 2.0 LESS
    2021 WebCoders.eu Sp. z o.o. - all rights reserved.
*/


@font-face {
  font-display: swap; /* Ustawiamy swap tutaj */
}

#shoper-foot>div:first-child .container:before {
  height: 5px;
  border-radius: 3px;
  background: #fff;
}

#shoper-foot {
  border-radius: 3px;
  border-top: 5px solid #426888;
}

@media screen and (min-width:1367px) {
  header {
    border-radius: 3px;
    border-top: 5px solid #426888;
  }
}

header.row:before {
  height: 0px;
  border-radius: 0 0 7px 7px;
  background: #426888;
}


.bottom-footer>.container #box_newsletter .boxintro {
  font-size: 20px;
  text-align: center;
  color: black;
}

.menu {
  display: flex;
  justify-content: left;
  align-items: center;
}

.element {
  padding: 10px;
  border: 1px solid #c8c9cc;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-right: -1px;
  box-sizing: border-box;
  width: 147px;
  height: 124px;
  text-align: center;
}

.element:hover {
  font-weight: 900;
  border-bottom: 3px solid #426888;
}

.active-element {
  font-weight: 900;
  border-bottom: 3px solid #426888;
}

.collapse {
  border-bottom: 1px solid #ccc;
  border-radius: 5px;
  margin-bottom: 10px;
}

.collapse-header {
  padding: 5px 30px;
  cursor: pointer;
  background-color: #fff;
}

.collapse-content {
  padding: 10px;
  display: none;
}

.collapse-header:hover {
  background-color: #f0f0f0;
}

.collapse-active .collapse-content {
  display: block;
}


#box_freeshipping .boxhead {
  border: none;
  margin: 0 0 15px;
  line-height: normal;
  text-align: center;
}

#box_freeshipping .boxhead:before {
  text-align: center;
  position: absolute;
  top: 45px;
  left: 70px;
}

.free-shipping__content {
  text-align: center;
}

.wce_currency.PLN:before,
.wce_currency~.submenu .listwithicons a.PLN:before {
  content: "PLN" !important;
  font-weight: 700;
}

.wce_show-filter {
  display: none;
}

#box_filter .multiselect {
  margin: 5px 0px !important;
}

.main.row.product-info-box {
  padding: 0 !important;
}

.shop_product {
  .box .boxhead h3::after {
    margin-top: 19px;

    @media (max-width: 767px) {
      margin-top: 15px;
    }
  }

  #box_productrelated,
  .custom_productrelated,
  #box_productdeliveries {
    margin-bottom: 20px;
  }
}

#m-nav-product {
  position: relative;
  padding: 10px 0;

  @media (max-width: 1200px) {
    border-top: 3px solid #E9E9E9;
    border-bottom: 3px solid #E9E9E9;
    padding: 20px 0;
  }

  @media (min-width: 1201px) {
    &::after {
      content: '';
      display: block;
      width: 100%;
      height: 3px;
      background: #E9E9E9;
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      right: 0;
      z-index: -1;
    }
  }

  .nav-product {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 30px;
    row-gap: 15px;
    background: #fff;
    width: fit-content;
    padding-right: 30px;
    align-items: flex-start;

    @media (max-width: 460px) {
      flex-direction: column;
    }

    >div {
      display: flex;
      align-items: center;
      color: #000;
      font-size: 18px;
      font-style: normal;
      font-weight: 700;
      line-height: normal;
      cursor: pointer;

      &:hover {
        color: #426888;
      }

      .hint {
        display: flex;

        .hint__content {
          margin-top: 25px;
        }
      }
    }
  }
}

.custom_productrelated {
  .wce_product-box-slider {
    &:hover {

      +div .slider-nav-left,
      +div .slider-nav-right {
        visibility: visible;
      }
    }
  }

  .slider-nav-left {
    position: absolute;
    top: 50%;
    width: 3.5em;
    height: 3.5em;
    margin-top: -2em;
    cursor: pointer;
    left: 0.2em;
    background: rgba(255, 255, 255, 0.7) url(/skins/user/rwd_shoper_8/images/ico_arrow_left_small.png) center center no-repeat;
  }

  .slider-nav-right {
    position: absolute;
    top: 50%;
    width: 3.5em;
    height: 3.5em;
    margin-top: -2em;
    cursor: pointer;
    right: 0.2em;
    background: rgba(255, 255, 255, 0.7) url(/skins/user/rwd_shoper_8/images/ico_arrow_right_small.png) center center no-repeat;
  }
}

.innerfooter ul li.head.hidden {
  cursor: default;
}

#payments-online-container>div>span.name {
  display: flex !important;
  justify-content: space-between !important;
}

.additional_cost_percent {
  display: none !important;
}

#payments-online-container>div>span.name>span.description {
  display: none !important;
}

#box_basketaddress>form>div>div>div.basket-step-border>div.f-row>div:nth-child(1)>div.client-address>table>tbody {
  display: flex !important;
  flex-direction: column !important;
}

#box_basketaddress>form>div>div>div.basket-step-border>div.f-row>div:nth-child(1)>div.client-address>table>tbody>tr:nth-child(1) {
  order: 1
}

#box_basketaddress>form>div>div>div.basket-step-border>div.f-row>div:nth-child(1)>div.client-address>table>tbody>tr:nth-child(2) {
  order: 3
}

#box_basketaddress>form>div>div>div.basket-step-border>div.f-row>div:nth-child(1)>div.client-address>table>tbody>tr:nth-child(3) {
  order: 2
}

#box_basketaddress>form>div>div>div.basket-step-border>div.f-row>div:nth-child(1)>div.client-address>table>tbody>tr:nth-child(4) {
  order: 4
}

#box_basketaddress>form>div>div>div.basket-step-border>div.f-row>div:nth-child(1)>div.client-address>table>tbody>tr:nth-child(5) {
  order: 5
}

#box_basketaddress>form>div>div>div.basket-step-border>div.f-row>div:nth-child(1)>div.client-address>table>tbody>tr:nth-child(6) {
  order: 6
}

#box_basketaddress>form>div>div>div.basket-step-border>div.f-row>div:nth-child(1)>div.client-address>table>tbody>tr:nth-child(7) {
  order: 7
}

#box_basketaddress>form>div>div>div.basket-step-border>div.f-row>div:nth-child(1)>div.client-address>table>tbody>tr:nth-child(8) {
  order: 8
}

#box_basketaddress>form>div>div>div.basket-step-border>div.f-row>div:nth-child(1)>div.client-address>table>tbody>tr:nth-child(9) {
  order: 9
}

#filter-button {
  background: #426888;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  border-radius: 3px;
  min-height: 48px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  @media (min-width: 982px) {
    display: none !important;
  }

  &.active {
    .text.hide {
      display: inline;
    }

    .text.show {
      display: none;
    }

    svg {
      transform: rotate(180deg);
    }
  }

  .text.hide {
    display: none;
  }
}

#box_filter {
  @media (max-width: 981px) {
    display: none !important;

    &.active {
      display: flex !important;
      margin-top: -20px;

      .boxhead {
        display: none !important;
      }
    }
  }
}

.shop_index {

  #box_lastadded .slider-wrap .product,
  #box_bestsellers .slider-wrap .product,
  #box_recent .slider-wrap .product,
  #box_productoftheday .slider-wrap .product,
  [id*="box_recommendations_"] .slider-wrap .product {
    flex: unset;
  }

  .centercol.s-grid-12 .products.viewphot {
    display: flex !important;
    flex-wrap: wrap;
    column-gap: 0;
    row-gap: 30px;

    &[data-visibleslides="6"] {
      .product {
        width: ~'calc(100% / 6)' !important;
      }
    }

    &[data-visibleslides="5"] {
      .product {
        width: ~'calc(100% / 5)' !important;
      }
    }

    &[data-visibleslides="4"] {
      .product {
        width: ~'calc(100% / 4)' !important;
      }
    }

    &[data-visibleslides="3"] {
      .product {
        width: ~'calc(100% / 3)' !important;
      }
    }

    &[data-visibleslides="2"] {
      .product {
        width: ~'calc(100% / 2)' !important;
      }
    }

    &[data-visibleslides="1"] {
      .product {
        width: ~'calc(100% / 1)' !important;
      }
    }

    .product {
      width: 220px !important;
      padding: 0 10px !important;
    }
  }
}

.bottom-footer > .container #box_specialoffer,
.bottom-footer > .container #box_lastadded {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
  padding-left: 10px;
  padding-right: 10px;
}

.bottom-footer > .container #box_specialoffer .innerbox,
.bottom-footer > .container #box_lastadded .innerbox {
  overflow: visible;
}

/* Karuzela produktów w stylu eMAG (.box.emag-carousel) */
.box.emag-carousel {
  --emag-carousel-visible: 6;
  --emag-carousel-gap: 12px;
  --emag-carousel-accent: #426888;
}

@media screen and (max-width: 1200px) {
  .box.emag-carousel {
    --emag-carousel-visible: 4;
  }
}

@media screen and (max-width: 979px) {
  .box.emag-carousel {
    --emag-carousel-visible: 3;
  }
}

@media screen and (max-width: 767px) {
  .box.emag-carousel {
    --emag-carousel-visible: 2;
  }
}

.box.emag-carousel .innerbox {
  display: block !important;
  grid-template-columns: none !important;
  grid-gap: 0 !important;
}

.box.emag-carousel .emag-carousel__viewport {
  position: relative;
  padding: 0 44px;
}

.box.emag-carousel .emag-carousel__scroller {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
}

.box.emag-carousel .emag-carousel__scroller.is-dragging {
  scroll-snap-type: none;
  scroll-behavior: auto;
  cursor: grabbing;
}

.box.emag-carousel .emag-carousel__scroller.is-dragging a {
  pointer-events: none;
}

.box.emag-carousel .emag-carousel__scroller::-webkit-scrollbar {
  display: none;
}

.box.emag-carousel .emag-carousel__track {
  display: flex;
}

.box.emag-carousel .emag-carousel__slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: repeat(var(--emag-carousel-visible), minmax(0, 1fr));
  gap: var(--emag-carousel-gap);
  scroll-snap-align: start;
  box-sizing: border-box;
  align-items: stretch;
}

.box.emag-carousel .emag-carousel__slide > .product {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 4px 12px !important;
  border-bottom: none !important;
  display: flex !important;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.box.emag-carousel .emag-carousel__slide > .product > a {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.box.emag-carousel:not(.emag-module-t3) .emag-carousel__slide > .product .productnamewrap,
.box.emag-carousel:not(.emag-module-t3) .emag-carousel__slide > .product > a > .productname {
  min-height: 60px;
  max-height: 60px;
  overflow: hidden;
  margin: 10px 0;
  padding: 0;
  display: block;
}

.box.emag-carousel .emag-carousel__slide > .product .price {
  margin-top: auto !important;
  flex-shrink: 0;
}

.box.emag-carousel .emag-carousel__arrow {
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: #333;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.2s ease, opacity 0.2s ease;
}

.box.emag-carousel .emag-carousel__arrow:hover:not(:disabled) {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.box.emag-carousel .emag-carousel__arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.box.emag-carousel .emag-carousel__arrow--prev {
  left: 0;
}

.box.emag-carousel .emag-carousel__arrow--next {
  right: 0;
}

.box.emag-carousel .emag-carousel__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
}

.box.emag-carousel .emag-carousel__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #d0d0d0;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.box.emag-carousel .emag-carousel__dot.is-active {
  background: var(--emag-carousel-accent);
  transform: scale(1.15);
}

.box.emag-carousel .emag-carousel__dot:focus-visible,
.box.emag-carousel .emag-carousel__arrow:focus-visible {
  outline: 2px solid var(--emag-carousel-accent);
  outline-offset: 2px;
}

.box.emag-carousel .wce_carousel-timebar {
  display: none !important;
}

.box.emag-carousel--lite .boximgsize .wce_carousel-wrap {
  display: none !important;
}

.box.emag-carousel--lite .boximgsize.loading::after,
.box.emag-carousel--lite .boximgsize.loading::before {
  display: none !important;
}

/* MODUŁ TYP 3 — karta produktu (natywne + sekcje Mamezi) */
.emag-module-t3.emag-carousel .emag-carousel__slide > .product > a.row::before,
.emag-module-t3.emag-carousel .emag-carousel__slide > .product > a.row::after,
.emag-module-t3.emag-carousel .boximgsize.row::before,
.emag-module-t3.emag-carousel .boximgsize.row::after,
.emag-module-t3.emag-carousel .productnamewrap.row::before,
.emag-module-t3.emag-carousel .productnamewrap.row::after,
.emag-module-t3.emag-carousel .emag-carousel__slide > .product > a > .productname.row::before,
.emag-module-t3.emag-carousel .emag-carousel__slide > .product > a > .productname.row::after {
  display: none !important;
  content: none !important;
}

.emag-module-t3.emag-carousel .boximgsize {
  flex: 0 0 300px;
  height: 300px;
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.emag-module-t3.emag-carousel .boximgsize > img,
.emag-module-t3.emag-carousel .boximgsize .wce_carousel-wrap > img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center center;
  flex: none;
}

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

#box_mainproducts.emag-carousel {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
}

.emag-module-t3.emag-carousel {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
}

/* Pełna szerokość kontenera na karcie produktu (jak SG centercol-12) */
.shop_product .centercol.s-grid-9 .product-modules .emag-module-t3.emag-carousel {
  width: 133.333%;
  margin-left: -33.333%;
  max-width: 1320px;
}

.shop_product .centercol.s-grid-6 .product-modules .emag-module-t3.emag-carousel {
  width: 200%;
  margin-left: -50%;
  max-width: 1320px;
}

.emag-module-t3.emag-carousel .emag-carousel__slide > .product > a {
  flex: 0 1 auto;
}

.emag-module-t3.emag-carousel .productname {
  font-size: 1em;
  padding: 0;
  display: block;
}

.emag-module-t3.emag-carousel .product {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Cena + przycisk koszyka w jednym rzędzie (styl eMAG) */
.emag-module-t3.emag-carousel .product__buy-row {
  margin-top: auto !important;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  flex-shrink: 0;
}

.emag-module-t3.emag-carousel .product__buy-row.row::before,
.emag-module-t3.emag-carousel .product__buy-row.row::after {
  display: none !important;
  content: none !important;
}

.emag-module-t3.emag-carousel .product__buy-row .price {
  margin-top: 0 !important;
  flex: 1 1 auto;
  min-width: 0;
}

.emag-module-t3.emag-carousel .product__buy-row .price p {
  margin: 0;
  line-height: 1.2;
}

.emag-module-t3.emag-carousel .product__buy-row .price p:last-child {
  margin-bottom: 0;
}

.emag-module-t3.emag-carousel .emag-buy-row__basket {
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
}

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

.emag-module-t3.emag-carousel .emag-cart-btn {
  width: 36px;
  height: 36px;
  min-height: 36px;
  padding: 0;
  margin: 0;
  border: none !important;
  border-radius: 6px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
  background-color: var(--maincolor);
  background-image: linear-gradient(90deg, var(--maincolor) 0%, color-mix(in srgb, var(--maincolor) 72%, #ffffff 28%) 100%);
  box-shadow: none;
  transition: filter 0.2s ease, transform 0.15s ease;
}

.emag-module-t3.emag-carousel .emag-cart-btn:hover,
.emag-module-t3.emag-carousel .emag-cart-btn:focus-visible {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.emag-module-t3.emag-carousel .emag-cart-btn .px1,
.emag-module-t3.emag-carousel .emag-cart-btn > span.hide {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.emag-module-t3.emag-carousel .emag-cart-btn__icon {
  display: block;
  width: 20px;
  height: 20px;
  background: url("../images/ico_cart_btn.png") center center / contain no-repeat;
  pointer-events: none;
}

.emag-module-t3.emag-carousel .emag-cart-btn__icon--notify {
  background: none;
  position: relative;
}

.emag-module-t3.emag-carousel .emag-cart-btn__icon--notify::before {
  content: "!";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.centercol #box_bestsellers.emag-carousel {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
}

/* SG — karuzela TYP 1/2: mobile bez strzałek, 3 produkty w rzędzie */
@media screen and (max-width: 767px) {
  .shop_index #box_mainproducts.emag-carousel,
  .shop_index #box_bestsellers.emag-carousel,
  .shop_index #box_specialoffer.emag-carousel,
  .shop_index #box_lastadded.emag-carousel {
    --emag-carousel-visible: 3;
  }

  .shop_index #box_mainproducts.emag-carousel .emag-carousel__arrow,
  .shop_index #box_bestsellers.emag-carousel .emag-carousel__arrow,
  .shop_index #box_specialoffer.emag-carousel .emag-carousel__arrow,
  .shop_index #box_lastadded.emag-carousel .emag-carousel__arrow {
    display: none !important;
  }

  .shop_index #box_mainproducts.emag-carousel .emag-carousel__viewport,
  .shop_index #box_bestsellers.emag-carousel .emag-carousel__viewport,
  .shop_index #box_specialoffer.emag-carousel .emag-carousel__viewport,
  .shop_index #box_lastadded.emag-carousel .emag-carousel__viewport {
    padding-left: 0;
    padding-right: 0;
  }

  .shop_product .emag-module-t3.emag-carousel {
    --emag-carousel-visible: 2;
  }

  .shop_product .emag-module-t3.emag-carousel .emag-carousel__arrow {
    display: none !important;
  }

  .shop_product .emag-module-t3.emag-carousel .emag-carousel__viewport {
    padding-left: 0;
    padding-right: 0;
  }

  .shop_product .emag-module-t3.emag-carousel .boximgsize {
    position: relative !important;
    display: block !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    height: 0 !important;
    padding: 0 0 100% !important;
    margin: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .shop_product .emag-module-t3.emag-carousel .boximgsize > img,
  .shop_product .emag-module-t3.emag-carousel .boximgsize .wce_carousel-wrap > img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    object-fit: contain !important;
    object-position: center center !important;
  }

  .shop_product .emag-module-t3.emag-carousel .emag-carousel__slide > .product > a {
    flex: 0 0 auto !important;
    position: relative !important;
    z-index: 0 !important;
  }

  .shop_product .emag-module-t3.emag-carousel .emag-carousel__slide > .product .productnamewrap {
    position: relative !important;
    z-index: 1 !important;
    margin-top: 4px !important;
    margin-bottom: 0 !important;
  }

  .shop_product .emag-module-t3.emag-carousel .emag-carousel__slide > .product > .product__buy-row {
    position: relative !important;
    z-index: 1 !important;
  }

  .shop_product .emag-module-t3.emag-carousel .emag-carousel__slide > .product {
    padding-top: 0 !important;
    padding-bottom: 6px !important;
  }
}

.centercol .box.emag-carousel,
.bottom-footer .box.emag-carousel {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
}

#box_filter {
  display: flex;
  flex-direction: column;

  .wce_picked-filters {
    order: -1;
    margin: 0 !important;
    min-height: unset !important;

    .wce_filter,
    .wce_label {
      display: none !important;
    }

    .wce_remove-filters.btn {
      width: 100%;
      background: #E7E7E7;
      border-radius: 0;
      border: none;
      margin: 0;

      &:hover {
        background: #000 !important;

        span {
          color: #fff;

          &::after {
            color: #fff;
          }
        }
      }

      span {
        color: #333;
        text-align: center;
        font-size: 14px;
        font-style: normal;
        font-weight: 700;
        line-height: 100%;
        display: inline;

        &::first-letter {
          text-transform: uppercase;
        }

        &::after {
          content: 'x';
          margin-left: 10px;
          position: relative;
          top: -1px;
        }
      }
    }
  }

  .boxhead {
    order: -2;

    span {
      &::after {
        background: #426888;
      }
    }
  }

  >div {
    gap: 0 !important;
  }

  .group.group-filter {
    background: #F9F9F9;
    width: 100%;
    border: none;
    border-bottom: 1px solid #E7E7E7;
    padding: 20px !important;
    display: flex;
    flex-direction: column;

    h5 {
      color: #333;
      font-size: 14px;
      font-style: normal;
      font-weight: 700;
      line-height: normal;
      padding: 0 0 10px !important;
      display: inline !important;

      &::before {
        content: none !important;
      }
    }

    ul {
      li {
        width: 100%;

        &.selected {
          a {
            &::before {
              border-color: #426888;
            }
          }
        }

        a {
          display: inline-block;
          padding: 5px 0 5px 30px;
          line-height: 20px;

          &::before {
            background: transparent;
            border-radius: 4px;
            border: 1px solid #A4A4A4;
            width: 20px;
            height: 20px;
            top: 5px;
            line-height: 19px;
          }

          span {
            font-family: "Montserrat";
            color: #333;
            font-size: 13px;
            font-style: normal;
            font-weight: 400;
            line-height: 20px;
          }

          em {
            font-family: "Montserrat";
            color: #AFAFAF;
            font-size: 13px;
            font-style: normal;
            font-weight: 400;
            line-height: 20px;
            margin: 0 0 0 1px;
          }
        }

        &.showmore {
          position: static !important;
          padding: 8px 0 0 !important;
          border: none !important;
          background: transparent !important;
          color: #333;
          font-size: 13px;
          font-style: normal;
          font-weight: 600;
          line-height: normal;
          margin: 0 !important;
          height: auto;
          display: flex;
          gap: 5px;
          align-items: center;
        }

        &.priceinput {
          padding: 5px 0 0 !important;

          &::before {
            grid-column-start: 2 !important;
            grid-row-start: 1 !important;
          }

          .fromto {
            display: none;
          }

          input {
            grid-row-start: 1 !important;
            border-radius: 3px;
            border: 1px solid #A4A4A4;
            background: #FFF;

            &:focus,
            &:focus-visible {
              border: 1px solid #A4A4A4;
              outline: none;
            }
          }

          .bottombuttons {
            grid-row-start: 2;

            button {
              display: flex;
              padding: 10px 0px;
              justify-content: center;
              align-items: center;
              gap: 10px;
              border: none;
              border-radius: 3px;
              background: #426888;
              height: 36px;

              &:hover {
                background: #000 !important;
              }

              &::before {
                content: none !important;
              }

              span {
                display: inline !important;
                color: #FFF;
                text-align: center;
                font-size: 13px;
                font-style: normal;
                font-weight: 500;
                line-height: normal;
              }
            }
          }
        }

      }
    }


  }
}


#box_productsafety {
  order: 1
}

#box_productdeliveries {
  order: 2;
}

#box_productsafety .innerbox {
  display: none;
  /* Domyślnie ukryte */
}

#box_productsafety.open .innerbox {
  display: block;
  /* Widoczne po rozwinięciu */
}

#box_productsafety .boxhead {
  cursor: pointer;
  /* Kursor wskazuje, że element jest klikalny */
}

#box_productdeliveries .innerbox {
  display: none;
  /* Domyślnie ukryte */
}

#box_productdeliveries.open .innerbox {
  display: block;
  /* Widoczne po rozwinięciu */
}

#box_productdeliveries .boxhead {
  cursor: pointer;
  /* Kursor wskazuje, że element jest klikalny */
}

#customRelated {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

#customRelated a {
  flex: 0 0 calc(15%);
  min-width: 0;
}

// inpost btn fix by SHOPER

#box_basketlist inpost-izi-button {
  max-width: 480px;
  margin: 20px auto;
}

#box_basketlist {
  .recount {
    display: flex;
    justify-content: flex-end;

    span {
      text-align: right;
    }

    #recalc {
      display: none;
      margin: 10px 0;
    }

    #recalc[style="display: inline;"] {
      &::before {
        content: var(--basketRecountBarLabel);
        font-weight: 500;
        color: #808080;
        font-size: 14px;
        margin: 10px 0;
        display: inline-block;

        @media (max-width: 767px) {
          display: block;
          margin-bottom: 0;
        }
      }

      button {
        justify-self: start;
        margin: 0;
        min-width: 180px;
        background: #426888;
        color: #fff;
        border-color: #426888;
        box-shadow: none;
        margin: 10px 0 10px 10px;

        &:hover {
          background: #000;
          color: #fff;
          border-color: #000;
        }
      }
    }

    .desc,
    .sum {
      display: none !important;
    }
  }
}

#box_description {
  .description-gpsr {
    display: none;
  }
}

.box-faq {
  .boxhead  {
    cursor: pointer;
    
    h3 {
      margin: 0;
    }
  }
}

.mmz-productdesc-tab{
  border-bottom: 1px solid #EDEDED;

  .mmz-productdesc-name{
    color: #000;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    padding:25px 25px 25px 0;
    cursor:pointer;
    position:relative;

    &:before{
      content: '';
      display: block;
      width: 17px;
      height: 11px;
      background: url('/userdata/public/assets/icons/vector.svg') no-repeat center;
      background-size: contain;
      position: absolute;
      top: 50%;
      right: 0;
      transform: translateY(-50%);
      transition: all .2s ease-in-out;
    }
  }
  .mmz-productdesc-content{
    padding-bottom: 25px;

    > * {
      margin: 0;
    }
    
  }
  &:not(.active) .mmz-productdesc-content{
	display:none;
  }
  &.active{
    .mmz-productdesc-name{
      color:black;
      border-color: #707070;
      &:before{
        transform:rotate(180deg);
      }
    }
  }
}


/* Free Shipping Progress Bar */
.free-shipping-progress-bar {
    padding: 15px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    margin: 10px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.progress-container {
    position: relative;
    width: 100%;
    height: 24px;
    background-color: #dee2e6;
    border-radius: 12px;
    overflow: hidden;
    margin: 10px 0;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.progress-bar {
    position: relative;
    height: 100%;
    width: 100%;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #204575 0%, #58899f 50%, #9ad2d7 100%);
    border-radius: 12px;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.progress-bar.complete .progress-fill {
    background: linear-gradient(90deg, #28a745 0%, #20c997 50%, #17a2b8 100%);
    animation: pulse-success 2s infinite;
}

@keyframes pulse-success {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.progress-thumb {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(50%, -50%);
    width: 28px;
    height: 28px;
    background: #ffffff;
    border: 4px solid #426888;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    z-index: 2;
}

.progress-thumb.complete {
    border-color: #28a745;
    background: #28a745;
    box-shadow: 0 4px 16px rgba(40, 167, 69, 0.4);
}

.progress-thumb::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: #426888;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.progress-thumb.complete::after {
    background: #ffffff;
    width: 8px;
    height: 8px;
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    margin: 8px 0;
    font-size: 12px;
    color: #6c757d;
    font-weight: 500;
}

.progress-info {
    text-align: center;
    margin-top: 12px;
}

.progress-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: #495057;
    font-weight: 500;
}

.progress-status.complete {
    color: #28a745;
    font-weight: 600;
}

.shipping-icon {
    font-size: 18px;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1));
}

.progress-status strong {
    color: #426888;
}

.progress-status.complete strong {
    color: #28a745;
}

/* Responsywność */
@media (max-width: 768px) {
    .free-shipping-progress-bar {
        padding: 12px 15px;
        margin: 8px 0;
    }
    
    .progress-container {
        height: 20px;
    }
    
    .progress-thumb {
        width: 24px;
        height: 24px;
        border-width: 3px;
    }
    
    .progress-thumb::after {
        width: 10px;
        height: 10px;
    }
    
    .progress-thumb.complete::after {
        width: 6px;
        height: 6px;
    }
    
    .progress-status {
        font-size: 13px;
    }
    
    .shipping-icon {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .free-shipping-progress-bar {
        padding: 10px 12px;
        border-radius: 8px;
    }
    
    .progress-container {
        height: 18px;
        border-radius: 9px;
    }
    
    .progress-fill {
        border-radius: 9px;
    }
    
    .progress-thumb {
        width: 20px;
        height: 20px;
        border-width: 2px;
    }
    
    .progress-thumb::after {
        width: 8px;
        height: 8px;
    }
    
    .progress-thumb.complete::after {
        width: 5px;
        height: 5px;
    }
    
    .progress-labels {
        font-size: 11px;
        margin: 6px 0;
    }
    
    .progress-status {
        font-size: 12px;
        flex-direction: column;
        gap: 4px;
    }
}

.wce_discount-tag {
  border-radius: 1.4em;
  background: #d30101 !important;
  Ignore: a255%;
  color: #fff;
}

@media (max-width: 768px) {
  .ekw289.pos-bottom_left {
    bottom: 90px !important;
    left: 0;
    margin-bottom: 30px;
  }
}
@media (max-width: 768px) {
  [data-testid="widgetButtonFrame"] {
    bottom: 90px !important;
  }
}

.breadcrumbs h1 {
    display: inline;
    font-size: clamp(2.15rem, 2.5vw, 1.75rem);
    font-weight: 600;
    line-height: 1.2;
    margin: 0;
    color: var(--text-color, #111);
}

/* START: Product description toggle styles */
.description-wrapper {
    position: relative;
}

.description-content {
    position: relative;
}

.description-content.has-gradient::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
    pointer-events: none;
}

.description-toggle-wrapper {
    text-align: center;
    padding: 15px 0 0;
}

.btn-read-more {
    display: inline-block;
    padding: 10px 30px;
    background: #fff;
    border: 2px solid #333;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    transition: all 0.3s ease;
}

.btn-read-more:hover {
    background: #333;
    color: #fff;
}

.btn-read-more:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(51, 51, 51, 0.2);
}
/* END: Product description toggle styles */


/* START: Favorite button overlay */
.mainimg {
    position: relative;
}

.addtofav-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.addtofav-overlay:hover {
    background: #fff;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.addtofav-overlay i {
    font-size: 20px;
    color: #333;
    transition: color 0.3s ease;
}

.addtofav-overlay:hover i {
    color: #e74c3c;
}

/* Ukryj tekst screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}
/* END: Favorite button overlay */

#box_productfull .availability {
  font-size: 1em;
  margin-top: 1em;
}

#box_productfull .availability .second, #box_productfull .tax-additional-info .second {
	padding: 5px 1rem !important;
}

.delivery {
  margin-top: 1rem;
  font-size: 0.7rem;
}

.shipping-costs {
  margin-top: 1rem;
    font-size: 0.7rem;
}

@media screen and (min-width: 980px) {
  .s-grid-12 #box_productfull .maininfo > .f-row > .productimg + .f-grid-6 > .bottomborder {
    grid-column-start: 6;
    grid-row-start: 1;
    grid-row-end: 100;
  }
}

@media screen and (min-width: 980px) {
  .s-grid-12 #box_productfull .maininfo > .f-row > .productimg {
    width: calc(33% - 0px);
  }
}

h1{
    font-size: 26px;
    font-weight: 700;
    line-height: 1.4em;
    margin-top: 0;
}

.box .boxhead>span, .box .boxhead h1, .box .boxhead h2, .box .boxhead h3 {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.4em;
    margin-top: 0;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-column-gap: 10px;
}


/* Styl dla nagłówka - musi wymusić pełną szerokość i liniowy układ */
.tab-title {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important; /* Startujemy od lewej */
    width: 100% !important;
    position: relative !important;
    gap: 10px !important;
    white-space: nowrap !important; /* Blokuje pionowy układ liter */
}

/* Styl dla tekstu */
.tab-title__text {
    flex: 0 0 auto !important; /* Tekst bierze tyle miejsca, ile potrzebuje */
    display: inline-block !important;
    min-width: 0 !important;
}

/* Styl dla ikon - spychamy je na sam koniec, za linię */
.tab-title__icons {
    margin-left: auto !important; /* TO JEST KLUCZ: spycha ikonę do prawej krawędzi */
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    order: 2 !important; /* Upewnia się, że jest na końcu */
    background: #fff; /* Opcjonalnie: dodaj tło strony, żeby ikona "przykryła" linię pod spodem */
    padding-left: 5px;
}

/* Jeśli ta linia to ::after na h3, musimy ją zmodyfikować */
.tab-title::after {
    content: "";
    flex: 1; /* Linia wypełni przestrzeń MIĘDZY tekstem a ikoną */
    height: 1px;
    background: #eee; /* Kolor Twojej linii */
    margin: 0 10px;
    order: 1; /* Linia ląduje w środku */
}

.box.tab.open .tab-toggle i {
    transform: rotate(180deg);
}

.products.viewphot .product .product-inner-wrap {
  padding: 0 0 0 !important;
}

.products.viewphot.products_extended .product.product_view-extended .product__basket {
  justify-content: flex-start !important;
}


.box .productname {
  font-size: 1em;
  padding: 0.7em 0;
  display: flex;
}

/* ATTRIBUTES CSS */

/* Główny kontener danych technicznych */
.product-technical-data {
    margin: 40px auto;
    background: #426888;
    border-radius: 8px;
    overflow: hidden;
    max-width: 1200px;
}


.product-technical-data .innerbox {
    padding: 25px 30px;
  	display:flex !important;
}

/* Nagłówek sekcji */
.product-technical-data .boxhead {
    background: rgba(0, 0, 0, 0.15);
    padding: 18px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.product-technical-data .boxhead h3 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-technical-data .boxhead img.px1 {
    display: none;
}

/* Kontener produktów */
.product-technical-data .innerbox {
    padding: 25px 30px;
}

/* Grid dla atrybutów - 2 kolumny */
/* Wrapper dla centrowania całości */
.attributes-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* Grid dla atrybutów - 2 kolumny zbiegające się do środka */
.attributes-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(200px, 450px));
    gap: 12px 60px;
    max-width: 960px;
}

/* Pojedynczy atrybut - wiersz z labelem i wartością */
.attribute-item {
    display: grid;
    gap: 15px;
    align-items: baseline;
}

/* LEWA KOLUMNA (nieparzyste) - wartości do prawej (zbiegają się do środka) */
.attribute-item:nth-child(odd) {
         display: flex;
    justify-content: end;
}

.attribute-item:nth-child(odd) .attribute-name {
    text-align: right;
    justify-self: end;
}

.attribute-item:nth-child(odd) .attribute-value {
    text-align: right;
    justify-self: end;
}

/* PRAWA KOLUMNA (parzyste) - wartości do lewej (zbiegają się do środka) */
.attribute-item:nth-child(even) {
        display: flex;
    justify-content: start;
}

.attribute-item:nth-child(even) .attribute-name {
    text-align: right;
    justify-self: end;
}

.attribute-item:nth-child(even) .attribute-value {
    text-align: left;
    justify-self: start;
}

/* Nazwa atrybutu */
.attribute-name {
    color: rgba(255, 255, 255, 0.85);
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
}

/* Wartość atrybutu */
.attribute-value {
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
}

/* Responsywność - tablet */
@media (max-width: 992px) {
    .attributes-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        max-width: 600px;
    }
    
    .attribute-item {
        grid-template-columns: auto 1fr !important;
    }
    
    .attribute-item .attribute-name {
        text-align: right !important;
        justify-self: end !important;
    }
    
    .attribute-item .attribute-value {
        text-align: left !important;
        justify-self: start !important;
    }
    
    .product-technical-data .innerbox {
        padding: 20px 25px;
    }
}

/* Responsywność - mobile */
@media (max-width: 576px) {
    .product-technical-data {
        max-width: 100%;
        margin: 30px 15px;
    }
    
    .product-technical-data .boxhead {
        padding: 15px 20px;
    }
    
    .product-technical-data .boxhead h3 {
        font-size: 14px;
    }
    
    .product-technical-data .innerbox {
        padding: 18px 20px;
    }
    
    .attributes-grid {
        max-width: 100%;
    }
    
    .attribute-item {
        gap: 8px;
    }
    
    .attribute-name {
        font-size: 10px;
    }
    
    .attribute-value {
        font-size: 11px;
    }
}

/* 1. Naprawa uciętych liter z lewej i ustawienie elastycznego wiersza */
.payment .name {
    display: flex !important;
    flex-wrap: wrap; /* Pozwala opisom pod spodem przeskoczyć do nowej linii */
    align-items: center !important;
    width: 100% !important;
    padding: 12px 0 !important;
    margin-left: 0 !important; /* Usuwa ucinanie tekstu */
}

/* 2. Grupowanie kropki radio i etykiety tekstowej */
.payment .radio-wrap {
    margin-right: 15px !important;
    flex-shrink: 0;
}

.payment .name label {
    margin: 0 !important;
    padding: 0 !important;
    flex-grow: 1; /* Tekst zajmuje tyle miejsca, ile może */
    cursor: pointer;
}

/* 3. Twoje nowe ikony - wymuszenie pozycji na samym końcu po prawej */
.custom-payment-img {
    order: 10;
    margin-left: auto !important;
    
    /* 1. TUTAJ ZMIENIASZ WIELKOŚĆ */
    width: 60px !important;   /* Szerokość ramki */
    height: 35px !important;  /* Wysokość ramki */
    
    /* 2. UJEDNOLICENIE ASPEKTU */
    object-fit: contain;     /* "contain" pokaże całe logo bez ucinania, 
                                "cover" wypełni całą ramkę (może lekko przyciąć boki) */
    
    background-color: transparent; /* Możesz dodać #fff jeśli ikony mają brzydkie tła */
    padding: 2px;
    display: block;
}

/* 4. Naprawa opisów (np. "finansowanie dla firm", "wybierz bank") */
.payment .description {
    display: block; /* Opis ląduje pod spodem, jeśli nie ma miejsca */
    width: 100%;
    margin-left: 40px; /* Wyrównanie do tekstu nad nim, a nie do kropki radio */
    font-size: 12px;
    color: #888;
    order: 11;
}

/* 5. Pozbycie się oryginalnego, wielkiego logotypu PayPo */
.payment__image-container, 
.payment__logo {
    display: none !important;
}

/* 6. Kwoty dodatkowe (np. +5,00 zł) */
.payment .value {
    order: 9;
    font-weight: bold;
    margin-left: 10px;
    margin-right: 10px;
    white-space: nowrap;
}




.custom-shipping-icon {
    order: 10;
    
    /* Ustawienia wielkości (takie same jak ustaliliśmy dla płatności) */
    width: 60px !important;
    height: 35px !important;
    object-fit: contain;
    display: block;
}

 /*
@media screen and (min-width: 1367px) {
    .container {
        max-width:1600px
    }
}

@media screen and (min-width: 1367px) {
    .top>.container, .bottom-footer>.container {
        grid-template-columns: auto 1600px auto;
    }
} */


.delivery {
    display: flex;
    align-items: center;
}
.delivery .name {
    flex: 1;
    order: 1;
}
.delivery .value {
    flex-shrink: 0;
    white-space: nowrap;
    order: 3;
}
.delivery .shipping-logo {
    flex-shrink: 0;
    margin: 0 12px;
    display: flex;
    align-items: center;
    order: 2;
}
.delivery .shipping-logo img {
    max-height: 32px;
    max-width: 80px;
    object-fit: contain;
}


/* Payment */
.payment {
    display: flex;
    align-items: center;
}
.payment .name {
    flex: 1;
    order: 1;
}
.payment .payment-logo {
    flex-shrink: 0;
    margin: 0 12px;
    display: flex;
    align-items: center;
    order: 2;
}
.payment .payment-logo img {
    max-height: 32px;
    max-width: 80px;
    object-fit: contain;
}
.payment .value {
    flex-shrink: 0;
    white-space: nowrap;
    order: 3;
}

#cart-options .payment-container .payment {
    position: relative;
    padding: 0 70px 0 34px;
    padding-top: 1px;
}

#box_productdata {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(66, 104, 136, 0.12);
    margin-bottom: 24px;
}

#box_productdata .boxhead {
    background: linear-gradient(135deg, #426888 0%, #5a8aaa 100%);
    padding: 10px 20px;
    border: none;
}

#box_productdata .boxhead h3 {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0;
}

#box_productdata .innerbox {
    padding: 0;
    background: #fff;
}

#box_productdata .table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

#box_productdata .table tbody tr {
    display: table-row;
    border-bottom: 1px solid #edf2f7;
    transition: background 0.15s;
}

#box_productdata .table tbody tr:last-child {
    border-bottom: none;
}

#box_productdata .table tbody tr:hover {
    background: #f0f6fa;
}

#box_productdata .table td {
    padding: 7px 14px;
    vertical-align: middle;
    width: 50%;
    display: table-cell;
    float: none;
}

#box_productdata .table td.name {
    text-align: right;
    color: #426888;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding-right: 16px;
    border-right: 2px solid #d4e3ed;
    white-space: nowrap;
}

#box_productdata .table td.value {
    text-align: left;
    color: #1e3448;
    font-size: 13px;
    font-weight: 400;
    padding-left: 16px;
}

.price__additional-info {
    display: none;
}

.product .price {
    padding: 5px 0 0 !important;
}