

.progress-bar-placeholder {
  text-align: center;
  padding: 10px;
  font-size: 1.2em;
  font-weight: bold;
  color: #888;
  display: none;
}
.progress-bar-wrapper {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.progress-bar-wrapper.ready {
  opacity: 1;
  display: flex;
  flex-direction: column;
}

/*barra avanzamento shortcode*/

.progress-bar-wrapper {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.progress-bar-wrapper {
  margin: 20px 25px;
  padding: 5px;
  background-color: #f7f7f7;
  text-align: center;
  border-radius: 10px;
  position: relative;
}

#minicart-panel .progress-bar-wrapper,.woocommerce-cart .progress-bar-wrapper{
  margin: 5px 0 15px;
  padding: 5px;
  background-color: #f7f7f7;
  text-align: center;
  border-radius: 10px;
  position: relative;
  box-shadow: 0 1px 24px -1px rgba(0, 0, 0, 0.1);
  background: linear-gradient(90deg, #fef4ff9f, #ffc3eb52 60%, #ad8dc938);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  overflow: hidden;
  justify-content: center;
}

.progress-bar-wrapper.sliding-cart {
  margin: 0 auto;
}
#minicart-panel .progress-bar-wrapper p,.woocommerce-cart .progress-bar-wrapper p {
  margin: 5px 10px 0 10px;
  font-weight: 400;
  color: #0a0a0a;
  text-align: center;
}

#minicart-panel .gift-img, .woocommerce-cart .gift-img {
  background: #fff;
  padding: 3px;
  border-radius: 50% !important;
  border: 1px solid #eb308a !important;
}

#minicart-panel .gift-img {
  max-width: 60px;
  margin: 0;
  display: block;
}
.woocommerce-cart .gift-img {
  max-width: 100px;
  margin: 0;
  display: block;
}
.free-shipping {
  padding: 5px;
  border: 0 !important;
  box-shadow: none !important;
}
.free-shipping {
  max-width: 50px;
  margin: 0;
  display: block;
}
.progress-bar-color {
  transition: width 0.3s ease-in-out;
  border-radius: 10px;
  width: 100%;
  position: relative;
  background-image: -webkit-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.15) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.15) 50%,
    rgba(255, 255, 255, 0.15) 75%,
    transparent 75%,
    transparent
  );
  background-image: -o-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.15) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.15) 50%,
    rgba(255, 255, 255, 0.15) 75%,
    transparent 75%,
    transparent
  );
  background-image: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.15) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.15) 50%,
    rgba(255, 255, 255, 0.15) 75%,
    transparent 75%,
    transparent
  );
  -webkit-background-size: 40px 40px;
  background-size: 40px 40px;
}
.progress-bar-color {
  background-color: #ad8dc9;
  animation: progress-bar-stripes 2s linear infinite;
}
.progress-bar-progress-bar {
  display: flex;
  flex-direction: row;
  width: 90%;
}
@keyframes progress-bar-stripes {
  0% {
    background-position: 40px 0;
  }

  100% {
    background-position: 0 0;
  }
}
.progress-bar-color::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: #e0e0e0;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  border-radius: 10px;
}
.progress-bar-img-txt {
  display: flex;
  flex-direction: row;
  align-items: center;
  align-content: center;
  justify-content: center;
  width: 100%;
}
.woocommerce-cart .progress-bar-wrapper .cross-sell-atc{
  margin-left: 20px;
}
/* Media query per MOBILE */
@media (max-width: 768px) {
  .progress-bar-wrapper {
    max-width: 95%;
  }
  #minicart-panel .progress-bar-wrapper p {
    font-size: 0.88rem;
  }
  .woocommerce-cart .progress-bar-wrapper p{
    font-size: 1rem;
  }
  #minicart-panel .gift-img {
    max-width: 40px;
  }
  .free-shipping {
    max-width: 40px !important;
  }
  .progress-bar-color {
    height: 15px;
  }
}
@media (min-width: 769px) {
  #minicart-panel .progress-bar-wrapper p {
    font-size: 0.88rem;
  }
  .woocommerce-cart .progress-bar-wrapper p{
    font-size: 1rem;
  }
}

/* Media query per DESKTOP */
@media (min-width: 1024px) {
  .progress-bar-wrapper {
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
    padding: 5px;
  }
  #minicart-panel .progress-bar-wrapper p {
    font-size: 0.9rem;
  }
  .woocommerce-cart .progress-bar-wrapper p{
    font-size: 1.1rem;
  }
  #minicart-panel .gift-img {
    flex: 1;
    max-width: 60px !important;
    width: 60px !important;
    margin: 0;
  }
  .free-shipping {
    flex: 1;
    max-width: 50px !important;
    width: 50px !important;
    margin: 0;
  }
  .progress-bar-color {
    height: 10px;
  }
}

.progress-bar-carousel {
  max-width: 100%;
  overflow: hidden;
  position: relative;
  margin-bottom:10px!important;
}

.progress-bar-item {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  transition: opacity 0.6s ease-in-out;
  box-shadow: none !important;
  width: 100% !important;
}
.progress-bar {
  width: 100%;
  height: 8px;
  background: #ddd;
  border-radius: 4px;
  margin-top: 10px;
  position: relative;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: #ad8dc9;
  transition: width 0.6s ease-in-out;
}

/*carosello*/
.progress-bar-carousel .slick-prev,
.progress-bar-carousel .slick-next {
  position: absolute;
  top: 55%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  background-color: transparent !important;
  /* border-radius: 50%; */
  z-index: 10;
  cursor: pointer;
  font-size: 0 !important;
  padding: 0 !important;
}

.progress-bar-carousel .slick-prev {
  left: 0;
}

.progress-bar-carousel .slick-next {
  right: 0;
}

.progress-bar-carousel .slick-prev:before,
.progress-bar-carousel .slick-next:before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 15px;
  color: #0a0a0a6b;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.progress-bar-carousel .slick-prev:before {
  content: "\f104";
}

.progress-bar-carousel .slick-next:before {
  content: "\f105";
}

/* slick slider pallini*/
.progress-bar-carousel .slick-dots {
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  z-index: 99;
  background: transparent;
}

.progress-bar-carousel .slick-dots li {
  list-style: none;
  margin: 0 5px;
}

.progress-bar-carousel .slick-dots li button {
  font-size: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ddd;
  border: none;
  cursor: pointer;
  padding: 0 !important;
}



/*cross-sell*/
.progress-bar-img-txt form {
  margin-top: 0;
}

.progress-bar-img-txt form .button {
  cursor: pointer;
  box-sizing: border-box;
  background-color: #ffffff;
  color: #0a0a0a;
  border: none;
  fill: #ffffff;
  border-radius: 5px;
  padding: 10px 55px;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: 1px;
  text-transform: uppercase;
}
#minicart-panel .progress-bar-img-txt form .button {
  cursor: pointer;
  box-sizing: border-box;
  background-color: #ffffff;
  color: #0a0a0a;
  border: none;
  fill: #ffffff;
  border-radius: 2em;
  padding: 5px 10px!important;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
}
@media (max-width: 768px) {
  .progress-bar-img-txt form .button {
    padding: 5px 25px;
    font-size: 16px;
  }
  #minicart-panel .progress-bar-img-txt form .button {
    padding: 5px 7px;
    font-size: 12px;
  }
}

#minicart-panel .slick-arrow, .woocommerce-cart .progress-bar-wrapper .slick-arrow {
  display: none !important;
}
/*fix mobile barra dinamica*/
#side-cart .product_list_widget{
  max-height: 50vh; 
  overflow-y: auto;
}
#side-cart .progress-bar-wrapper{
  position: sticky; 
  bottom: 0;
  z-index: 5;
  max-width: 100%;
}
@media (max-width: 768px) {
  #side-cart .product_list_widget {
    max-height: calc(100vh - 200px);  
    overflow-y: auto;
  }

  #side-cart .progress-bar-wrapper {
    position: sticky;
    bottom: 0;
    z-index: 10;
    width: 100%;
    margin: 0;
  }
}