span.p_badge {
  position: unset;
  border-radius: 4px;
  padding-top: 4px;
  padding-bottom: 4px;
  background-color: #f2e4f2 !important;
  color: #820a7d !important;

  &::before {
    content: "Risparmia";
  }
}

div.section__subContent {
  max-width: 100%;
  margin-top: 0.2rem;
  p {
    font-size: 1rem;
    color: #373737;
  }
}

.section-header .section-container {
  max-width: 100%;
  width: 100%;
}

inbox-online-store-chat#ShopifyChat {
  z-index: 100000 !important;
}

div.cky-btn-revisit-wrapper.cky-revisit-bottom-left {
  display: none !important;
}

/*************************************
************* HOME PAGE ************
*************************************/

/***** BANNER PROMO ****/
div.imageWithText__content.sales-banner__content,
div.sales-banner .imageWithText__container {
  min-height: auto !important;
}
div.sales-banner .imageWithText__wrp.text-center.text-mobile-center.content-width {
  margin: 0;
  background: linear-gradient(to bottom, #ad07a6, #060005);
}
div.sales-banner .sales-banner__content .imageWithText__wrp {
  padding: 2rem;
}
div.sales-banner .imageWithText__desc {
  margin: 0;
}


/**** categorie ****/
.how-to-use.section-template--25939899154775__multicolumn_YUHcBH-padding .how-to-use__card{
    background: #fff;
    font-size: 0.9375rem;
    overflow: hidden;
    padding: 1.5rem 1.5rem 1.5rem 0.5rem;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.08);
    display: flex;
    /* flex-direction: row-reverse; */
    justify-content: space-between;
}
.how-to-use.section-template--25939899154775__multicolumn_YUHcBH-padding .how-to-use__card__img {
  width: 150px;
}
.how-to-use.section-template--25939899154775__multicolumn_YUHcBH-padding .how-to-use__card__header {
  font-size: 1.1rem;
  line-height: 1.4em;
}
.how-to-use.section-template--25939899154775__multicolumn_YUHcBH-padding a {
    font-size: 0.9rem;
    color: #fff;
    padding: 0.6rem 1rem;
    background-color: #820a7d;
    border-radius: 100px;
    text-decoration: none;
}
.how-to-use.section-template--25939899154775__multicolumn_YUHcBH-padding .how-to-use__card__body > .text-left:nth-child(2) {
  height: 120px;
  display: flex;
  align-content: space-between;
  flex-direction: column;
  justify-content: space-between;
}

/**** Slider prodotti ***/
.product_collection[aria-label="Pulito perfetto, senza fatica"],
.product_collection.section-template--25573180440919__featured_collection_f4HDmm-padding,
.product_collection[aria-label="Prodotti correlati"] {
  .product-card-item__head {
    font-size: 0.915rem;
    line-height: 24px;
    text-transform: uppercase;
    font-weight: 600;
    margin: 0;
  }

  div.product-card-item__body {
    margin-top: 0;
    padding: 1.2rem 0rem 0rem;
  }

  .product-top-info,
  .product-price__wrapper,
  .product-bottom-info {
    padding: 0 0.5rem;
  }

  .product-bottom-info {
    padding-bottom: 0.5rem;
  }

  .product-price__wrapper {
    margin-bottom: 0.6rem;
  }

  .product-card-item .quick-buttons-wrapper .quick-buy-overlay,
  .product-card-item .quick-view-icon {
    border-radius: 53px;
  }

  .product-card-item {
    background-color: #fff;
    border-radius: 0;
    padding: 0;
    border: 2px solid #fff;

    .image--aspectSize {
      border-radius: 0;
      height: 380px;
      margin-bottom: 1rem;
      padding: 0;
    }

    .w-100.position-relative {
      border-radius: 0;
      height: 380px;
    }

    .product-card-link {
      height: 100%;
    }
  }

  .product-price_top {
    font-size: 1rem;
    .price {
      font-weight: 500;
      font-size: 14px;
    }
    del.original-price {
      color: #626262 !important;
      font-size: 14px !important;
    }
  }

  .product-card-item__swatch.position-relative {
    /*justify-content: center;*/

    .swatch-input__label {
      width: 28px;
    }

    a.link.text-upper.section-viewall-text {
      color: #820a7d;
    }
  }

  button.btn.btn--fill.w-100.text-upper[toggle-element="cart-drawer"] {
    padding: 0.6rem;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    opacity: 0;
  }

  div.btn--text {
    text-transform: math-auto;
    font-weight: 500;
  }

  button.swiper-tab {
    color: #000;
    font-weight: 500 !important;
    background: #ececec;
    font-size: 1rem;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    opacity: 1;

    &:hover {
      background: #820a7d;
      color: #fff;
    }

    &.active {
      background: #820a7d;
      color: #fff;
    }

    &:after {
      display: none;
    }
  }
}

div.section__subContent,
.gallery .section-container {
  max-width: 100%;
}

/*** Sezione blog ***/
.blogs-section {
  .blogs__container {
    gap: 2rem;

    .blogs__card {
      box-shadow: 0 4px 6px #00000014;

      .blogs__body {
        padding: 1.4rem;
        margin: 0;

        h3 {
          font-size: 1.3rem;
          line-height: 1.6rem;
          color: #820a7d;
        }

        .blogs__descpt {
          font-size: 0.9rem;
          line-height: 1.2rem;
          height: 2.2rem;
          text-overflow: ellipsis;
          display: -webkit-box;
          -webkit-line-clamp: 2;
          -webkit-box-orient: vertical;
          overflow: hidden;
          color: #454545;
        }
      }
    }
  }
}

/**** Sezione QUIZ ***/
.quiz__start {
  background-color: #820a7d;
}

.quiz div.sliderControl {
  background-color: #820a7d;
}

/*****************************************
************* PAGINA BLOG ************
******************************************/
.blogs__tabsContent[aria-label="Blog"] {
  .blogs__moreArticlesItem {
    box-shadow: 0 4px 6px #00000014;

    .blogs__head {
      display: none;
    }

    &:hover {
      h2 {
        color: #820a7d;
      }
    }

    .blogs__moreArticlesBody {
      padding: 1.4rem;
      margin: 0;

      h2 {
        font-size: 1.3rem;
        line-height: 1.6rem;
        margin: 0;
      }

      .blogs__descpt {
        font-size: 0.9rem;
        line-height: 1.2rem;
        height: 2.2rem;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        color: #454545;
      }
    }
  }
}

/*****************************************
************* PAGINA CATEGORIA ************
******************************************/

.collectionList.product_collection {
  /*.filter-accordion__head {
    border-bottom: 1px solid #d7d7d7;
  }*/

  .accordion__item__body {
    padding-top: 16px;
  }

  .product-card-item__head {
    font-size: 0.915rem;
    line-height: 24px;
    text-transform: uppercase;
    font-weight: 600;
    margin: 0;
  }

  .product-price_top {
    font-size: 1rem;
    .price {
      font-weight: 500;
      font-size: 14px;
    }
    del.original-price {
      color: #626262 !important;
      font-size: 14px !important;
    }
  }
}

/*****************************************
************* CARRELLO SIDEBAR ************
******************************************/
.drawer__wrapper {
  div.cart__drawer__itemWrap {
    gap: 2rem;
  }

  .d_badge {
    background: #820a7d;
    padding: 5px 10px;

    .text {
      font-size: 0.7rem;
    }
  }

  .cart__drawer {
    padding: 0;
  }

  .cart__drawer__item {
    margin: 0;
    border-bottom: 1px solid #cd8cca;
    margin-top: 0;
    padding: 2rem 1rem;

    &:hover {
      background-color: #ffecfe;
    }
  }

  .cart__drawer__prices {
    margin-top: 1rem;
  }

  .cart__drawer__discounted-prices {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 1rem;

    .price {
      font-weight: 600;
    }

    .original-price {
      font-weight: 300;
      font-size: 0.9rem;
      color: #606060;
    }
  }

  .d-flex.align-item-center.mt-12 {
    justify-content: space-between;

    .product-quantity__selector {
      padding: 0.4rem;
      border-radius: 50px;
      min-width: 7.3rem !important;
    }
  }

  .cart__drawer__items-list {
    margin-top: 0;
  }

  .cart__drawer__imgWrp {
    margin-right: 0;
    img {
      width: 6rem;
      height: max-content;
    }
  }

  .cart__drawer div.cart__free__shipping__alignment {
    margin: 0;
    width: 100%;
    box-sizing: border-box;
  }

  .cart__drawer__note {
    background: #e9e9e9;
  }

  /*** prodotti raccomandati carrello ***/
  .cart__recommendation__position
    cart-recommendation
    .recommendation__wrapper
    .cart__recommendation__rightBlock
    .price,
  .cart__recommendation__position
    cart-recommendation
    .recommendation__wrapper
    .cart__recommendation__rightBlock
    .original-price {
    font-size: 14px;
  }

  .cart__recommendation__position cart-recommendation .recommendation__wrapper {
    border-right: 1px solid #cd8cca;
  }

  .cart__recommendation__position cart-recommendation .recommendation__head {
    font-weight: 600;
  }
}

/*****************************************
*************** MENU APERTO **************
******************************************/
.mega-menu-dropdown__container.dropdown-menu__mega-menu-dropdown {
  ul.mega-menu__list--product {
    padding-right: 2rem;
    border: none;
    width: 300px;
  }

  .dropdown-menu__item {
    padding: 0.2rem 0.5rem;
    border-radius: 0px;

    a {
      &:after {
        content: "→";
        color: #000;
        font-size: 0.9em;
        vertical-align: middle;
        margin-left: 10.2rem;
      }
    }

    &:hover {
      background: #f5f5f5;
      a {
        color: #820a7d !important;
        &:after {
          color: #9c199f;
        }
      }
    }
  }

  .section-header {
    display: none;
  }

  .product-promotions ul {
    li {
      .product-card-item__aspectSize {
        z-index: 0;
        padding-top: 100% !important;

        img {
          background-color: #f6f6f6;
          padding: 1rem;
          mix-blend-mode: multiply;
          object-fit: contain;
          height: fit-content;
        }
      }

      .product-price__wrapper {
        display: none;
      }

      .card-footer {
        margin-top: 8px;

        > p {
          font-size: 14px;
          line-height: 20px;
          text-transform: uppercase;
          font-weight: 600;
          margin: 0;
        }
      }
    }
  }
}

/*****************************************
************* PAGINA PRODOTTO ************
******************************************/
.product-form__buttons.button-fill-buy-now {
  display: flex;
  gap: 0.5rem;

  > button[name="add"] {
    max-width: 100%;
    padding: 1.1rem 0.9rem;

    .btn--text {
      font-size: 0.95rem;
    }
  }

  .shopify-payment-button {
    width: 100%;
  }

  #more-payment-options-link {
    display: none;
  }
}

.main-product__info {
  .product-price_top .original-price {
    font-size: 1rem;
  }
}

#price-template--25213447274839__main-product {
  padding-bottom: 30px;
  border-bottom: 1px solid #dedede;
  margin-bottom: 1rem;

  .price-taxes {
    font-size: 0.75rem;
    color: #565656;

    a.link {
      font-size: 0.75rem;
      color: #000;
    }
  }
}

.loox-rating.loox-widget {
    padding-bottom: 1rem;
}

/*** Selettore quantità ***/
.product-quantity__selector-wrapper {
  > label {
    font-size: 0.9rem;
    font-weight: 200;
  }
}

.product-quantity__selector-wrapper .product-quantity__selector input {
  border: none;
}
.product-quantity__selector-wrapper .product-quantity__selector button {
  padding: 0.8rem;
  background-color: #820a7d;
  border-radius: 50px;
}

.product-quantity__selector-wrapper
  .product-quantity__selector
  button
  svg
  path {
  stroke: #fff;
}

.product-quantity__selector-wrapper
  quantity-selector.product-quantity__selector {
  max-width: fit-content;
  padding: 0;
  justify-content: flex-start;
  gap: 0.4rem;
  border: none;
  padding: 0.5rem;
  background: #e3e8ec;
  border-radius: 50px;
}

input#quantity-product-form-template--25213447274839__main-product {
  border: none;
  background: #e3e8ec;
  font-size: 1.2rem;
  font-weight: 600;
}

/*** selettore colore ****/
fieldset.product-variant__pill__item.position-relative {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 1rem;
    align-items: center;
}

/*** section badge ***/
ul.product-badges {
  background: #e3e8ec;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-items: start;
  justify-content: start;
  gap: 1rem;
  padding: 1rem;
}

button.product-badges__item {
  gap: 0.8rem;
  text-align: left;
  padding: 0;
  align-items: center;
}

span.product-badge svg {
  width: 20px;
}

button.product-badges__item span.product-badge-text {
  font-size: 0.9rem;
}

.main-product__details .accordion__item__body-content p {
  font-size: 1rem;
}

div.main-product .product-inventory {
  padding: 1rem 0;
  background-color: transparent;
}

/***** PRODOTTI COMPLEMENTARI *****/
.recommendation[recommendation-section="complementary-products"] {
  margin-top: 1rem;
} 

.recommendation[recommendation-section="complementary-products"] .recommendation__item{
    padding: 6px;
}

.recommendation[recommendation-section="complementary-products"] .recommendation__item .recommendation__leftBlock {
  max-width: 80px;
}

.recommendation[recommendation-section="complementary-products"] .recommendation__title.h3 {
    font-size: 1rem;
    margin-bottom: 0.6rem;
} 

/*****************************************
************* TRACKING ORDINE ************
******************************************/
.tm_tracking_content > .tm_tracking_form_div > div.tm_tracking_form_in {
  border: none;
  border-radius: 0;
  clear: both;
  padding: 30px 20px;
  background: #f4f4f4;
}

.tm_tracking_form input#tms_order_number,
.tm_tracking_parent input#tms_order_email,
.tm_tracking_input input#tms_track_number {
  border-radius: 0;
  padding: 0.8rem;
  margin-top: 0.4rem;
  border-bottom: 1px solid #820a7d;
}

.tm_tracking_button button.button-enter.btn.button.styled-submit {
  padding: 0.5rem 2rem;
  border-radius: 0;
}


/*****************************************
************* FOOTER ************
******************************************/
.footer__content a {
  text-decoration: none;
}

.footer__content a:hover {
  text-decoration: underline;
}

/**************************************
********** PAGINA CATEGORIA **********
*************************************/
.sortBy-form div.select-wrapper {
  padding: 0.6rem;
  border: 1px solid #dedede;
}

div.collectionList .select-wrapper svg {
  right: 10px;
}

.collectionBanner__container.content-aligment--left {
  border-bottom: 1px solid #dedede;
}

.collectionBanner__wrp.container.content-aligment--left {
  padding: 0;
}

#collection-grid button.collectionList__filter-btn,
span.filter__sidebar--visibility--hidden,
span.filter__sidebar--visibility--show {
  padding: 0.5rem 1rem;
  background-color: #ededed;
  margin: 0;
  border-radius: 50px;
}

@media (min-width: 991px) {
  .product_collection {
    div.swiper-tabs-wrapper {
      justify-content: end;
      position: absolute;
      top: 2rem;
      right: 0;
      gap: 1rem;
    }

    .swiper {
      position: static;
    }

    .container {
      position: relative;
    }
  }

  div.drawer__wrapper {
    max-width: 600px;
  }

  /**** Pagina prodotto ****/
  .product-form__buttons.button-fill-buy-now {
      > button[name="add"] {
          margin-bottom: 0rem !important;
      }
  }
}

@media (max-width: 991px) {
  div.quiz__landing {
    div.quiz__noFullWidth {
      width: 100% !important;
      min-height: 500px !important;
    }
  }

  .collectionList.product_collection {
    .product-card-item__head {
      font-size: 1.1rem;
    }

    .product-price_top {
      .price {
        font-weight: 500;
        font-size: 0.975rem;
      }
    }
  }

  .collectionList__trending.grid-layout {
    gap: 3rem;
  }

  div.main-product__price__wrapper .product-price_top {
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;

    .offer {
      order: -1;
      width: 100%;
      margin-bottom: 0.5rem;
      margin-left: 0;
    }
  }

  .product-form__buttons.button-fill-buy-now {
    flex-direction: column;
    gap: 0rem;
  }

  ul.product-badges {
    grid-template-columns: repeat(1, 1fr);
  }

  .products-ready.recommendations-active .recommendation__wrapper {
    padding: 2rem 1rem 1rem !important;
  }

  .cart__recommendation__position
    cart-recommendation
    div.recommendation__wrapper
    .cart__recommendation__item {
    padding: 0;
  }

  .drawer__wrapper {
    div.cart__drawer__itemWrap {
      gap: 1rem;
    }
  }

  .cart__recommendation__position
    cart-recommendation
    .recommendation__wrapper
    .cart__recommendation
    .swiper-container.swiper-initialized
    .swiper-wrapper
    .swiper-slide {
    margin: 0 !important;
  }
  /**** BANNER NEWSLETTER *****/

  #omnisend-form-68908fc3ad11316698621580-field-62a3147776d81914aa87ed98 input#omnisend-form-68908fc3ad11316698621580-field-container-62a3147776d81914aa87ed98-emailField-input {
    background: #fff;
  }
}

@media (max-width: 768px) {
  /***** BANNER PROMO ****/
  div.sales-banner .imageWithText__media {
    display: none;
  }
  div.sales-banner .container {
    padding: 0;
    margin-bottom: 2rem;
  }
  div.sales-banner.section-template--25939899154775__sales_banner_migQfz-padding {
    padding-top: 0;
  }
  div.sales-banner .sales-banner__content .imageWithText__wrp {
    padding: 4rem 1.2rem;
  }

   /************ FOOTER ************/
    div.footer__wrapper {
      gap: 2rem;
    }

    div.footer__logoWrp {
      margin: 0;
    }

    h2.footerlink-head {
      font-size: 1.3rem !important;
    }

    /***** PAGINA CATEGORIA ****/
    .collectionBanner__container.content-aligment--left {
      padding: 2rem 0 1rem 0;
      border-bottom: none;
    }
    
    #collection-grid filter-component {
      width: 100%;
    }
    #collection-grid .sortBy-form div.select-wrapper {
      padding: 0.6rem;
      border: 1px solid #dedede;
      width: 100%;
    }
    #collection-grid div.collectionList__filter {
      justify-content: space-between;
      align-items: flex-start;
      flex-direction: column;
    }

    #collection-grid .collectionList__filterOption {
      width: 100%;
    }

    .filter-button-wrapper.mobile-only {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      box-sizing: border-box;
    }

    .gallery.section-template--25939899154775__image_gallery_Nnka3F.section-template--25939899154775__image_gallery_Nnka3F-padding {
    padding: 0;
    margin-top: 1px;
  }
  .gallery.section-template--25939899154775__image_gallery_Nnka3F.section-template--25939899154775__image_gallery_Nnka3F-padding .container {
    padding: 0;
  }

  .gallery.section-template--25939899154775__image_gallery_Nnka3F.section-template--25939899154775__image_gallery_Nnka3F-padding .gallery__wrp--top {
    height: 550px !important
  }

  .gallery.section-template--25939899154775__image_gallery_Nnka3F.section-template--25939899154775__image_gallery_Nnka3F-padding .container .grid-layout.grid-layout--2-desktop {
    gap: 1px ;
  }
}

@media (max-width: 600px) {

  ul[aria-label="Footer Menu"].drawer__footer {
    background: #820a7d;
    text-align: center;
  }

  ul[aria-label="Footer Menu"].drawer__footer a {
    background: #fff;
    padding: 0.6rem 2rem;
    border-radius: 50px;
  }
  
}
