/* Stylizacja głównego kontenera slidera */
.minicart-swiper {
  width: 100%; /* Slider zajmuje 100% szerokości rodzica */
  max-width: 500px; /* Maksymalna szerokość slidera */
  overflow: hidden; /* Ukryj nadmiar */
}

.minicart-swiper .swiper-wrapper {
    align-items: center;
}
.minicart-slide-title-link {
    color: #0b1222;
    text-decoration: none;
}

/* Usuwamy domyślne podkreślenie z linków obrazków */
.minicart-slide-image a {
    text-decoration: none;
    display: block;
}

/* Stylizacja Swipera */
.swiper.minicart-swiper {
  border: 1px solid #f5ebeb;
  background-color: #fff;
  margin-bottom: 20px;
  border-radius: 5px;
  box-sizing: border-box; /* Uwzględnia padding w szerokości */
}

/* Każdy slajd zajmuje 100% szerokości */
.minicart-swiper .swiper-slide {
  display: flex;
  align-items: center; /* Wyrównanie w pionie */
  justify-content: space-between; /* Rozstawienie elementów wewnątrz slajdu */
  width: 100%; /* Każdy slajd ma 100% szerokości */
  box-sizing: border-box; /* Uwzględnij padding w szerokości */
  padding: 10px; /* Margines wewnętrzny */
}

/* Kontent w slajdzie */
.minicart-swiper .minicart-slide-content {
  display: flex;
  align-items: center;
  padding: 10px;
  gap: 15px; /* Odstęp między obrazkiem a tekstem */
  width: 100%; /* Kontent wypełnia 100% szerokości slajdu */
}

/* Stylizacja obrazka w slajdzie */
.minicart-swiper  .minicart-slide-image img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0; /* Zapobiega skalowaniu obrazka */
}

/* Szczegóły w slajdzie */
.minicart-swiper .minicart-slide-details {
  flex: 1; /* Wypełnia pozostałą przestrzeń */
  display: flex;
  flex-direction: column;
  align-items: flex-start

}

/* Tytuł slajdu */
.minicart-slide-title {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3em;
  margin: 0;
  color: #0b1222;
}
.minicart-title {
  font-size: 16px !important;
  font-weight: 400 !important;
  margin-bottom: 10px;
}

/* Cena w slajdzie */
.minicart-swiper .minicart-slide-price {
  font-size: 15px;
  color: #555;
  margin: 5px 0;
}

/* Przycisk w slajdzie */
.minicart-swiper .minicart-slide-button {
  background-color: #221F1E;
  color: white;
  padding: 10px 24px !important;
  border: none;
  border-radius: 100px !important;
  cursor: pointer;
  font-size: 14px;
}

.minicart-swiper .minicart-slide-button:hover {
  background-color: #161413;
}

/* Strzałki Swipera */
.minicart-swiper .swiper-button-next,
.minicart-swiper .swiper-button-prev {
  width: 20px;
  height: 20px;
  color: #333;
}

.minicart-swiper .swiper-button-next::after,
.minicart-swiper .swiper-button-prev::after {
  font-size: 14px;
}



.minicart {
	display: flex;
	flex-direction: column;
	height: 100%;
	max-height: 100hv;
	overflow: hidden;

  position: fixed;
  right: -99%;
  top: 0;
  width: 560px;
  background: white;
  z-index: 999999999;
  bottom: 0;
  top: 0;
  transition-delay: 0.3s;
  transition-duration: 0.4s;
}
@media (max-width: 576px) {
  .minicart {
    right: -999%;
    width: 95%;
  }
}
/* Dla tabletów (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {

}

/* Dla telefonów (do 767px) */
@media (max-width: 767px) {
	.minicart .btn.black-outline {
		padding: 10px 5px;
		font-size: 15px;
		text-align: center;
	}


	.minicart .btn.black {
		text-align: center;
		padding: 10px 5px;
		display: block;
		font-size: 15px;
		width: 100%;
	}
}

.minicart__outer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  opacity: 0;
  z-index: -999;
  visibility: hidden;
  transition-duration: 0.4s;
  background-color: rgba(0, 0, 0, 0.4);
}
.minicart__outer:not(.active) {
  transition-delay: 0.6s;
}
.minicart__outer.active {
  z-index: 999;
  opacity: 1;
  visibility: visible;
}
#minicart.active {
  right: 0;
}
.minicart #preloader-container {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  top: 0;
  background: rgba(255, 255, 255, 0.64);
  display: flex;
  justify-content: center;
  align-items: center;
}
.minicart #preloader-container .dots-loader {
  display: inline-block;
  text-align: center;
}
.minicart #preloader-container .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 2px;
  background-color: #221F1E;
  border-radius: 50%;
  animation: bounce 1.5s infinite ease-in-out;
}
.minicart #preloader-container .dot:nth-child(1) {
  animation-delay: -0.3s;
}
.minicart #preloader-container .dot:nth-child(2) {
  animation-delay: -0.15s;
}
@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
.minicart h3 {
  font-size: 28px;
  line-height: 32px;
  margin-bottom: 0;
  margin-top: 0;
  padding: 20px 30px;
  border-bottom: solid 1px rgba(117, 117, 117, 0.2);
}
.minicart__close {
  position: absolute;
  top: 30px;
  right: 40px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}
.minicart__close.active .line1 {
  transform: rotate(0);
}
.minicart__close.active .line2 {
  transform: rotate(0);
}
.minicart__wrapper {
  padding: 0;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  overflow: hidden;
}
.minicart__wrapper--actions {
  padding: 20px 30px 20px 30px;
  border-top: solid 1px rgba(117, 117, 117, 0.2);
}
.minicart__wrapper--actions .minicart-summary {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  color: rgb(4, 2, 2);
}
.minicart__wrapper--actions .minicart-summary * {
  color: rgb(4, 2, 2);
}

.minicart__wrapper--buttons {
	display: flex;
	flex-direction: row;
  gap: 10px;
	flex-wrap: nowrap;
}
.minicart__wrapper--buttons .btn{
  box-sizing: border-box;
  width: 100%;
}
.minicart #minicart-items {
  flex-grow: 1;
  overflow-y: auto;
  padding: 20px 30px;
  background-color: #f9f9f9;
}

#minicart-items::-webkit-scrollbar {
  width: 8px;
}

#minicart-items::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 4px;
}

#minicart-items::-webkit-scrollbar-track {
  background-color: #f1f1f1;
}

.minicart__empty {
  font-size: 14px;
  color: rgba(38, 38, 38, 0.3);
  height: 80%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.minicart .minicart-item {
  display: flex;
  align-items: center;
  border-bottom: solid 1px rgba(117, 117, 117, 0.08);
  padding-bottom: 20px;
  margin-bottom: 20px;
  gap: 12px;
}
.minicart .minicart-item__price * {
  font-size: 16px;
  color: rgb(4, 2, 2);
}
.minicart .minicart-item__quantity {
  box-sizing: border-box;
  width: 106px !important;
  border: solid 1px rgba(117, 117, 117, 0.2) !important;
  justify-content: space-between !important;
  display: flex !important;
  align-items: center !important;
  padding: 1px 18px !important;
  background: #fff !important;
}
.minicart .minicart-item__quantity .quantity-value {
  font-size: 18px;
}
.minicart .minicart-item__quantity button {
  padding: 0 !important;
  font-size: 20px !important;
  background: transparent !important;
  color: #333333 !important;
  border: none !important;
}


.minicart .minicart-item__thumbnail {
  width: 26%;
}
.minicart .minicart-item__thumbnail img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #f3f2f2cf;
}
.minicart .minicart-item__details {
  width: 55%;
}
.minicart .minicart-item__details h4 {
  margin-bottom: 0;
  font-size: 13px;
  color: #0b1222 !important;
}

.minicart .minicart-item__details h4 a{
  color: #0b1222 !important;
    font-weight: 500;
    line-height: 1.5em;
	font-size: 14px;
  text-decoration: none;
}

.minicart .minicart-item__categories {
    margin-bottom: 10px;
    line-height: 1em;
    margin-top: 6px;
}
.minicart .minicart-item__categories a {
  font-size: 11px;
  color: #0b1222 !important;
  text-decoration: none;
}
.minicart .minicart-item__remove-item {
  background-image: url("./trash.svg") !important;
  width: 16px !important;
  height: 16px !important;
  padding: 0 !important;
  background-color: transparent !important;
  background-repeat: no-repeat !important;
  border: none !important;
}
.minicart .minicart-item__actions {
  width: 20%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  align-self: stretch;
  padding: 4px 0px;
}
.minicart .line {
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #000;
  transition: all 0.3s ease-in-out;
}
.minicart .line1 {
  transform: rotate(45deg);
}
.minicart .line2 {
  transform: rotate(-45deg);
}
.minicart #minicart-close {
  display: block;
  margin-top: 10px;
}
.minicart .free-shipping-progress__message {
  text-align: center;
  color: rgb(54, 54, 54);
  font-size: 13px;
  line-height: 19px;
}
.minicart .progress-bar {
  width: 100%;
  height: 5px;
  margin-bottom: 10px;
  background-color: #eddada;
  position: relative;
}
.minicart .progress-bar__elem {
  position: absolute;
  right: -5px;
  top: -17px;
  z-index: 9999;
  background: white;
  border-radius: 50%;
  color: rgb(4, 2, 2);
  font-size: 14px;
  padding: 4px;
}
.minicart .progress-bar-fill {
  height: 100%;
  background-color: #221F1E;
  width: 0;
  position: relative;
  transition: width 0.5s ease;
}
.minicart .progress-bar-fill .progress-bar__elem {
  position: absolute;
  right: -5px;
  top: -13px;
}

.minicart .btn.black-outline {
  display: block;
  padding: 13px;
  border: solid 1px rgb(4, 2, 2);
  border-radius: 100px;
  text-align: center;
  color: rgb(4, 2, 2);
  font-weight: 400;
}

.minicart .btn.black-outline:hover {
  background-color: rgb(4 2 2 / 11%);
  color: rgb(4, 2, 2);
}

.minicart .btn.black {
  border: solid 2px rgb(4, 2, 2);
  text-align: center;
  padding: 13px 40px;
  display: block;
  background-color: rgb(4, 2, 2);
  color: white;
  font-weight: 400;
}

.minicart .btn.black:hover {
  background-color: white;
  color: rgb(4, 2, 2);
}

.cart-icon-wrapper {
    position: relative;
    display: inline-flex;
}

.cart-icon {
    display: inline-flex;
    cursor: pointer;
    position: relative;
    text-decoration: none;
}

.cart-icon svg {
    fill: #221F1E;
    transition: fill 0.3s ease;
}

.cart-icon:hover svg {
    fill: #110F0F;
}

/* .cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #110F0F;
    color: #fff;
    font-size: 11px;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    font-weight: 500;
    line-height: 1;
    box-shadow: 0 2px 4px rgba(36, 120, 250, 0.2);
} */


.minicart-slide-title a {
	color: #0b1222 !important;
}