@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Quicksand:wght@300..700&display=swap');

/* modal start */
.ealyx-modal {
  position: fixed;
  z-index: 902;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: flex-start;
  justify-content: center;
}

.ealyx-modal.show {
  display: flex;
}

.ealyx-modal-iframe {
  width: 100%;
  height: 100vh;
  border: none;
  overflow: auto;
}

.rating-summary .rating-result>span:before {
  z-index: 1 !important;
}

.product-item-info:hover {
  z-index: 1 !important;
}

/* modal end */

/* horizontal-banner start*/
.custom-banner-container {
  width: 100%;
  background-color: #620ed1;
  position: sticky;
  top: 0;
  z-index: 11;
  /* Asegúrate de que el banner esté sobre todo */
  text-align: center;
  padding: 10px 0;
  box-shadow: 0px 4px 4px 0px #00000040;
  /* min-height: 40px; */
  margin: 15px 0;

  .custom-banner-content {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 110px;

    font-family: "Quicksand";
    text-align: left;
    color: #fbfbfb;

    .custom-banner-text {
      font-size: 14px;
      font-weight: 600;
      line-height: 17.5px;
      display: flex;
      align-items: center;
      flex-wrap: wrap;
    }

    .custom-banner-subtext {
      font-size: 12px;
      font-weight: 400;
      line-height: 15px;

      display: flex;
      /* flex-direction: column; */
      align-items: center;
      gap: 10px;

      .trade-in-value {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 3px 10px 3px 15px;
        gap: 10px;
        background-color: #fff;
        border: 1px solid #a881dc;
        border-radius: 12px;
        min-width: 89px;
        width: auto;

        span {
          font-family: "Quicksand";
          font-size: 14px;
          font-weight: 600;
          line-height: 17.5px;
          text-align: left;
          color: #7f3adb;
        }

        #ealyx-delete-tradein-btn {
          cursor: pointer;
        }
      }
    }
  }
}

.custom-banner-image {
  max-width: 85px;
  height: 28px;
  margin-bottom: 0;
}

.btn-see-discount-ealyx {
  display: flex;
  gap: 12px;
  min-width: 121px;
  width: 121px;
  height: 30px !important;
  background-color: #7F3ADB !important;
  border-radius: 12px !important;
  padding: 6px 12px !important;
  align-items: center;
  justify-content: center;
  border: 1px solid white !important;
  text-wrap: nowrap;

  .btn-see-discount-ealyx-text {
    font-family: 'Quicksand';
    font-size: 14px;
    font-weight: 600;
    line-height: 17.5px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: white;
  }
}

.btn-see-discount-ealyx:hover {
  background-color: #620ED1 !important;
}

/* horizontal banner end*/

.ealyx-calculate-discount-container,
.ealyx-tradein-valuated-container {
  width: 100%;
  background-color: transparent;
  padding: 25px 0;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 15px;
  max-width: 1200px;
  margin: 0 auto;

  font-family: 'Montserrat';
  font-size: 18px;
  font-weight: 700;
  line-height: 21.94px;
  text-align: left;
  color: #2B2B2B;
}

.ealyx-calculate-discount-container {

  .ealyx-calculate-discount-text-container {
    flex: 1;

    font-family: 'Montserrat';
    font-size: 18px;
    font-weight: 700;
    line-height: 21.94px;
    text-align: left;

    display: flex; /* Asegura alineación horizontal */
    align-items: center; /* Alinea verticalmente los elementos */
    flex-wrap: wrap; /* Permite que los elementos bajen de línea */
    gap: 5px; /* Espaciado entre elementos */

    span {
      display: inline; /* Mantiene el texto fluido */
      word-wrap: break-word; /* Permite que el texto se divida en varias líneas */
      overflow-wrap: break-word; /* Soporte adicional para navegadores */
      white-space: normal; /* Permite saltos de línea */
    }
  }

  .ealyx-calculate-discount-text-image {
    margin-bottom: -2px;
    width: 90px;
  }

  .ealyx-calculate-discount-button-container {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 218px;
    width: 218px;
    height: 32px !important;
    background-color: #620ED1 !important;
    border-radius: 12px !important;
    padding: 6px 15px !important;

    .ealyx-calculate-discount-button-image {
      margin-bottom: 0px;
    }

    .ealyx-calculate-discount-button-text {
      font-family: 'Montserrat';
      font-size: 16px;
      font-weight: 600;
      line-height: 19.5px;
      text-align: center;
      text-underline-position: from-font;
      text-decoration-skip-ink: none;
      color: #FBFBFB;
    }
  }

  .ealyx-calculate-discount-button-container:hover {
    background-color: #7F3ADB !important;
  }
}

.ealyx-tradein-valuated-container {
  .ealyx-tradein-valuated-inner-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;

    .ealyx-tradein-valuated-initial-text {
      flex: 1;
      font-family: 'Montserrat';
      font-size: 18px;
      font-weight: 700;
      line-height: 21.94px;
      text-align: left;

      display: flex; /* Asegura alineación horizontal */
      align-items: center; /* Alinea verticalmente los elementos */
      flex-wrap: wrap; /* Permite que los elementos bajen de línea */
      gap: 5px; /* Espaciado entre elementos */
      
      span {
        display: inline; /* Mantiene el texto fluido */
        word-wrap: break-word; /* Permite que el texto se divida en varias líneas */
        overflow-wrap: break-word; /* Soporte adicional para navegadores */
        white-space: normal; /* Permite saltos de línea */
      }

      .ealyx-tradein-valuated-initial-text-image {
        margin-bottom: -1px;
        max-width: 85px;
        height: 28px;
      }
    }

    .ealyx-tradein-valuated-middle-text {
      display: flex;
      gap: 10px;
      align-items: center;

      font-family: 'Quicksand';
      font-size: 14px;
      font-weight: 400;
      line-height: 17.5px;
    }

    .ealyx-tradein-valuated-info {
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: space-between;

      border: 1px solid #A881DC;
      padding: 10px 15px 10px 15px;
      border-radius: 12px;
      width: calc(100% - 32px);

      .ealyx-tradein-valuated-info-text-content {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 5px;
      }
    }
  }
}

.ealyx-tradein-valuated-price {
  font-family: 'Montserrat';
  font-size: 18px;
  font-weight: 700;
  line-height: 21.94px;
  text-align: left;
  color: #7F3ADB;
}

.ealyx-tradein-valuated-text,
.ealyx-tradein-valuated-product,
.ealyx-tradein-valuated-message-text {
  font-family: 'Quicksand';
  font-size: 14px;
  font-weight: 400;
  line-height: 17.5px;
  text-align: left;
}

.ealyx-tradein-valuated-message-text-price {
  font-family: 'Quicksand';
  font-size: 14px;
  font-weight: 600;
  line-height: 17.5px;
  text-align: left;
}

.ealyx-tradein-valuated-delete-image {
  cursor: pointer;
}


.ealyx-tradein-valuated-cart {
  font-family: 'Quicksand';
  font-size: 14px;
  font-weight: 400;
  line-height: 17.5px;
  text-align: left;

  .ealyx-tradein-valuated-cart-text {
    display: flex;
    gap: 5px;

    .ealyx-tradein-valuated-cart-text-image {
      margin-top: -5px;
    }
  }
}

.ealyx-tradein-valuated-cart {
  /* .custom-cart-banner-invalid,
.custom-cart-banner-total { */
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 5px;
}

/* checkout widget start */

.custom-cart-banner {
  /* background-color: #DAE9FF; */
  background-color: transparent;
  /* padding: 15px; */
  text-align: center;
  margin: 20px 0;
  /* border: 1px solid #6F6F6F; */
  /* border-radius: 5px; */
}

.custom-cart-banner-content {
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

.custom-cart-banner-message,
.custom-cart-banner-product {
  font-family: 'Quicksand';
  font-size: 14px;
  font-weight: 400;
  line-height: 17.5px;
  text-align: left;
}

.custom-cart-banner-product,
.custom-cart-banner-invalid,
.custom-cart-banner-total {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 5px;
}

.custom-cart-banner-product-price {
  font-family: 'Quicksand';
  font-size: 14px;
  font-weight: 600;
  line-height: 17.5px;
  text-align: right;
  color: #3B744F;
  white-space: nowrap;
}

.custom-cart-banner-total {
  /* border-top: #B8B8B8 1px solid; */
  padding-top: 10px;

  font-family: 'Quicksand';
  font-size: 14px;
  font-weight: 600;
  line-height: 17.5px;
  text-align: left;
}

.custom-cart-banner-total-amount {
  white-space: nowrap;
}

.custom-cart-banner-invalid {
  align-items: flex-start;
  gap: 10px;
  /* border-top: #B8B8B8 1px solid; */
  padding-top: 10px;

  font-family: 'Quicksand';
  font-size: 14px;
  font-weight: 400;
  line-height: 17.5px;
  text-align: left;
}

/* .custom-cart-banner-reload-image {
  cursor: pointer;
} */

.custom-cart-banner-reload-image {
  margin-top: -5px;
}

.custom-cart-banner-ealyx-image {
  width: 18px;
  margin-bottom: -10px;
}

.custom-cart-banner-ealyx-image-btn {
  max-width: 85px;
  height: 28px;
  margin-bottom: -10px;
}

.other-payment-method {
  display: none;
  flex-direction: column;
  gap: 15px;
}

.custom-cart-banner-invalid-message {
  text-align: start;
  font-family: 'Quicksand';
  font-size: 14px;
  font-weight: 600;
  /* line-height: 17.5px; */
  line-height: 25px;
  text-align: left;
}

.diaplay-important {
  display: block !important;
}

.flex-important {
  display: flex !important;
}

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

.price-not-important {
  color: #2B2B2B !important;
  font-family: 'Quicksand' !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 17.5px !important;
  text-align: right !important;
}

#custom-cart-banner-invalid-amount-message {
  font-family: 'Quicksand';
  font-size: 14px;
  font-weight: 400;
  line-height: 17.5px;
  text-align: left;
}

#min-amount-value {
  white-space: nowrap;
}

/* .checkout-custom-banner {
  padding: 15px !important;
} */

@media only screen and (max-width: 768px) {
  .custom-cart-banner {
    margin-left: 15px;
    margin-right: 15px;
  }

  .checkout-custom-banner {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* checkout widget end */

/* checkout payment start */

.payment-method-title {
  font-weight: 600 !important;
}

.ealyx-cpm {
  display: flex !important;
  align-items: flex-start;
  gap: 4px;
}

.ealyxCustomPaymentIcon {
  margin-left: auto !important;
  max-width: 85px;
  height: 28px;
}

/* checkout payment end */


/* thank you start */

.success-banner-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  max-width: 330px;
  background-color: transparent;
  padding: 20px 0;
  gap: 20px;
  margin: auto;
  order: 2;
}

.message-container {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  justify-content: flex-start;

  .message-icon {
    max-width: 18px;
  }

  .message-text {
    font-family: 'Quicksand';
    font-size: 14px;
    font-weight: 400;
    line-height: 17.5px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
  }
}

.tradein-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;

  border: 1px solid #A881DC;
  padding: 10px 15px 10px 15px;
  border-radius: 12px;
  width: 100%;
  max-width: 330px;
}

.thanks-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 100%;
  max-width: 330px;

  .thanks-text {
    font-family: Quicksand;
    font-size: 14px;
    font-weight: 400;
    line-height: 17.5px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
  }

  .thanks-icon {
    max-width: 20px;
  }
}

.ealyx-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 330px;

  .ealyx-logo {
    max-width: 100px;
  }
}

/* thank you end */
@media only screen and (max-width: 670px) {
  .custom-banner-container {
    .custom-banner-content {
      padding: 0 10px;
      gap: 10px;

      .custom-banner-subtext {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
      }
    }
  }

  /* .ealyx-calculate-discount-container {
    min-width: 70% !important;  
    width: unset !important;
    max-width: 100% !important;
  } */
}