.showcart{
  overflow: hidden;
}
.showcart::before{
  position: fixed;
  content: "";
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 990;
  background: rgba(14, 7, 2, 0.1);
  backdrop-filter: blur(0.5rem)
}
.cart-box{
  position: fixed;
  top: 0;
  right: -100%;
  background: var(--white);
  width: 100%;
  max-width: 48rem;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  overflow-y: auto;
  padding: 3.2rem;
  z-index: 999;
  -webkit-transition: all 0.5s linear;
  transition: all 0.5s linear;
}
.showcart .cart-box{
  right: 0;
}
.cart-box.fixed{
  padding-bottom: 19rem;
}
#cartClose{
  width: 2.8rem;
  height: 2.8rem;
}
.cart-icon-text{
  font-size: 1.4rem;
  line-height: 2.4rem;
  font-weight: normal;
}
.cart-icon-text img{
  width: 2.8rem;
  height: auto;
  margin-right: 0.8rem;
}
.cart-bar{
  position: relative;
  width: 100%;
  overflow: hidden;
  height: 0.4rem;
  background: #009C00;
  border-radius: 100rem;
}
.cart-item{
  margin-bottom: 2.8rem;
}
.cart-item:nth-child(n + 4){
  display: none !important;
}
.cart-item.show{
  display: flex !important;
}
.cart-img{
  background: var(--snow);
  height: 4.8rem;
  width: 4.8rem;
  border-radius: 0.4rem;
  margin-right: 2rem;
}
.cart-right{
  flex-grow: 1;
  position: relative;
}
.cart-right .btn-icon.sm{
  height: 4rem !important;
  width: 4rem !important;
}
.cart-item-head {
  max-width: 27rem;
  line-height: 2.4rem;
}
.cart-item-head .badge{
  margin-bottom: 0.2rem;
}
.cart-item-head .fw-14{
  display: block;
}
.cart-price{
  margin-bottom: 0.4rem;
}
.cart-price ins{
  font-size: 1.6rem;
  font-weight: 600;
  text-decoration: none;
  margin-right: 0.8rem;
}
.cart-price ins:has(+ del){
  color: var(--pink);
}
.cart-price del{
  font-size: 1.4rem;
  text-decoration: none;
  font-weight: normal;
}
.cart-price-info p{
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.8rem;
  font-weight: normal;
  display: flex;
  align-items: center;
}
.cart-price-info p span{
  margin-left: 0.4rem;
}
.gray-price .d-shrink.ml-auto,
.gray-price .cart-price {
  color: var(--gray);
}
.cart-remove{
  position: absolute;
  top: 0;
  right: 0;
}
.cart-remove .btn-link{
  font-size: 1.2rem;
  line-height: 1.8rem;
}
.cart-remove .btn-link img{
  margin-right: 0.8rem;
}
.cart-product-outer:first-child{
  padding-top: 0;
  margin-top: 0;
}
.cart-product-slider{
  width: calc(100% + 3.2rem) !important;
}
.cart-product-item{
  position: relative;
  width: 19.8rem;
  border: 1px solid #D7D9DA;
  overflow: hidden;
  border-radius: 0.8rem;
  padding: 2rem;
}
.cart-product-link{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
}
.cart-product-img{
  height: 13.4rem;
}
.cart-product-img img{
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.cart-product-item:hover .cart-product-img img{
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}
.cart-product-text .fw-14{
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-product-btn .btn{
  padding: 0 1rem !important;
  width: 100%;
  font-size: 1.4rem !important;
  white-space: nowrap;
}
.cart-product-btn .btn img{
  width: 2rem !important;
}
.owl-item .cart-product-btn .btn{
  position: relative;
  z-index: 2;
}
.cart-product-item .cart-product-btn .btn img{
  width: 2rem;
}
.badge-list{
  position: absolute;
  top: 1rem;
  right: 1rem;
}
.badge-list .badge{
  margin-right: 0.4rem;
  font-size: 1rem;
}
.badge-list .badge:last-child{
  margin-right: 0;
}
.cart-product-slider .btn-owl{
  position: absolute;
  top: calc(50% - 3.2rem);
  left: -2.2rem;
}
.cart-product-slider .btn-next{
  left: auto !important;
  right: 1rem;
}
.cart-product-slider .btn-owl.disabled{
  display: none;
}
.cart-list{
  margin-top: 2rem;
  padding-top: 2rem;
}
.cart-list:first-child{
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}
.cart-coupon .btn-link{
  display: flex;
}
.cart-coupon-input{
  position: relative;
  margin-top: 1.2rem;
}
.cart-coupon-input .form-control {
  height: 5.6rem;
  padding-right: 10.6rem;
}
.cart-coupon-input .btn{
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  height: 4rem !important;
  padding: 0 2.4rem !important;
  font-size: 1.4rem !important;
}
.cart-list-item{
  margin-bottom: 0.2rem;
  font-size: 1.4rem;
  line-height: 2.4rem;
}
.cart-list-item:last-child{
  margin-bottom: 0;
}
.cart-list-item span{
  font-weight: normal;
  padding-right: 1.6rem;
}
.cart-list-item p{
  min-width: 12rem;
  text-align: right;
}
.cart-bottom{
  padding-top: 2rem;
  margin-top: 2rem;
  z-index: 9999999999999999999 !important;
}
.cart-bottom-btn:first-child{
  margin-top: 0;
}
.cart-bottom-btn .btn{
  font-size: 1.8rem;
}
.cart-box.fixed .cart-bottom{
  position: fixed;
  bottom: 0;
  right: -100%;
  width: 100%;
  max-width: 48rem;
  background: var(--white);
  z-index: 1;
  box-shadow: 2px -4px 10px 4px rgba(18, 19, 20, 0.1);
  border: 0;
  padding: 2.4rem 3.2rem;
 -webkit-transition: all 0.5s linear;
  transition: all 0.5s linear;
}
.showcart .cart-box.fixed .cart-bottom{
  right: 0;
}
.cart-box.fixed .cart-bottom-btn{
  margin-top: 2.4rem;
}
.cart-text{
  color: var(--black);
}
@media(max-width:767px){
  .cart-box {
    padding: 2rem;
    max-width: 40rem;
  }
  .cart-box.fixed {
    padding-bottom: 16rem;
  }
  .cart-item-head {
    max-width: 100%;
    padding-right: 7rem;
  }
  .cart-box.fixed .cart-bottom {
    max-width: 40rem;
    padding: 2rem;
  }
  .cart-box.fixed .cart-bottom-btn {
    margin-top: 2rem;
  }
  .cart-bottom-btn .btn {
    font-size: 1.6rem;
  }
  .cart-product-slider .btn-owl {
    left: -1.2rem;
    width: 4rem !important;
    height: 4rem !important;
  } 
  .cart-product-slider .btn-next {
    left: auto;
    right: 2rem;
  }
  .cart-product-slider .btn-owl img {
    width: 9px;
    margin-right: 6px !important;
  }
  .cart-product-slider .btn-next img{
    margin-right: 0px !important;
    margin-left: 3px !important;
  }
}
.cart-product-outer.is-loading::before,
.cart-list.is-loading::before,
.cart-item.is-loading::before,
.showcart .widget_shopping_cart_content.is-loading::before {
  content: "";
  position: fixed;
  inset: 0;                  /* wypełnij cały panel */
  background: rgba(255,255,255,0.55); /* przyciemnienie panelu */
  backdrop-filter: blur(2px);         /* delikatne rozmycie (opcjonalnie) */
  pointer-events: all;       /* blokuje kliknięcia w treść */
  z-index: 2;
}
.cart-product-outer.is-loading::after,
.cart-list.is-loading::after,
.cart-item.is-loading::after,
.showcart .widget_shopping_cart_content.is-loading::after {
  content: "";
  position: fixed;
  top: 50%;
  left: 50%;
  width: 32px;
  height: 32px;
  transform: translate(-50%, -50%);
  border: 3px solid rgba(0,0,0,0.2);
  border-top-color: rgba(0,0,0,0.65);
  border-radius: 50%;
  animation: miniCartSpin 0.6s linear infinite;
  z-index: 3;               /* nad overlayem */
}
.cart-product-outer.is-loading::after,
.cart-product-outer.is-loading::before,
.cart-list.is-loading::before,
.cart-list.is-loading::after,
.cart-item.is-loading::before,
.cart-item.is-loading::after{
  position: absolute !important;
}
.cart-product-outer.is-loading,
.widget_shopping_cart_content .cart-list.is-loading{
  position: relative !important;
}
.widget_shopping_cart_content .cart-item.is-loading {
  position: relative !important;
  padding: 1rem 1rem 0 1rem;
  margin-top: -1rem;
  margin-right: -1rem;
  margin-left: -1rem;
}
@keyframes miniCartSpin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
.widget_shopping_cart_content .cart-product-outer .cart-product-slider .cart-product-img img {
  width: 80%;
  height: auto;
}
.payment_box{
  display: none !important;

  max-height: 0;
  opacity: 0;
  transform: translateY(-8px) scale(.98);
  overflow: hidden;

  margin-left: 5rem;
  margin-bottom: 1rem;
}
.payment_box_active {
  transform: translateY(-8px) scale(.98);
  overflow: hidden;

  margin-left: 5rem;
  margin-bottom: 1rem;
}
.wc_payment_method:not(:has(input:checked))+.payment_box_active {
  display: none !important;
}
.wc_payment_method:has(input:checked)+.payment_box{
  display: block !important;

  max-height: 500px; /* > realna wysokość */
  opacity: 1;
  transform: translateY(0) scale(1);

  animation: paymentBoxIn 520ms cubic-bezier(.2,.9,.2,1) both;
  transform-origin: top;
}

@keyframes paymentBoxIn{
  0%{
    opacity: 0;
    transform: translateY(-10px) scale(.98);
    max-height: 0;
  }
  60%{
    opacity: 1;
    transform: translateY(2px) scale(1.01);
    max-height: 500px;
  }
  100%{
    opacity: 1;
    transform: translateY(0) scale(1);
    max-height: 500px;
  }
}
.payment_method_payulistbanks .woocommerce-error {
  padding: 0 !important;
  border-top: none !important;
}
#select2-paczkomat_id-results li::after,
.payment_method_payulistbanks li::after{
  content: none !important;
}
.cart-icon-text span{
  max-width: calc(100% - 3.6rem);
}