/**
* 2007-2023 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author    PrestaShop SA <contact@prestashop.com>
*  @copyright 2007-2023 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

#float_cart a{
  cursor: pointer !important;
}

#float_cart{
  font-family: "Montserrat", sans-serif;
}

#float_cart .ds-center-content {
  display: flex;
  justify-content: center;
  align-items: center;
}

#float_cart .ds-center-content-space-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#float_cart .ds-center-content-space-around {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

#float_cart .ds-center-content-column {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-direction: row;
}

#float_cart .ds-btn-primary {
  background-color: #d11554;
  border-radius: 10px;
  color: #fff !important;
  text-align: center;
  font-weight: 400;
  font-size: 12px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#float_cart .ds-input-shade {
  background-color: #ffffff;
  border-radius: 0.3125rem;
  border: var(--Number, 1px) solid var(--Neutral-10, #c7c7c7);
  box-shadow: 2px 12px 15px -3px #e5e5e5;
  -webkit-box-shadow: 2px 12px 15px -3px #e5e5e5;
  -moz-box-shadow: 2px 12px 15px -3px #e5e5e5;
}

#float_cart .ds-mask {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

#float_cart .ds-cart {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1000;
  display: block;
  height: auto;
  width: 85%;
  max-width: 400px !important;
  height: 100dvh;
  background-color: #fff;
  display: none;
  bottom: 0;
  overflow-y: unset;
  display: none;
  flex-direction: column;
}

#float_cart .ds-cart.active {
  display: flex !important;
}

/*CART FLOAT*/
#float_cart .ds-cart-listing {
  overflow-y: scroll;
  flex: 1;
}

#float_cart .ds-cart-listing .ds-cart-item-name a {
  text-decoration: none;
}

#float_cart .ds-cart .digi-float-cart-title {
  color: #111;
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 36px;
  padding-left: 15px;
}

#float_cart .ds-cart .digi-float-cart-subtitle {
  display: block;
  background: #000;
  padding: 9px 13px 11px 16px;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px;
}

#float_cart .ds-close-cart {
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  height: 50px;
}

#float_cart .ds-cart-item {
  padding: 15px 0px;
  border-bottom: solid 1px #F5F5F5;
}

#float_cart .ds-cart-item-img {
  border: 0.5px solid #F5F5F5;
}

#float_cart .ds-cart-item-add .ds-input-wrapper {
  height: 35px;
  width: 85%;
  border: solid 1px #ec3545;
  border-radius: 10px;
  padding: 18px 5px;
  margin-top: 10px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  cursor: pointer;
}

#float_cart .ds-cart-item-add .ds-input-wrapper input {
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  color: #111111;
  width: 40px;
  height: 30px;
  border: none;
  cursor: pointer;
}

#float_cart input::-webkit-outer-spin-button,
#float_cart input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#float_cart input[type=number] {
  -moz-appearance: textfield;
}

#float_cart .cartEmptyContainer{
  padding-top: 20px;
  text-align: center;
}

#float_cart a#digitag_cartfloat_removefromcart {
  color: #0D287A !important;
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#float_cart a#digitag_cartfloat_addcart {
  color: #000 !important;
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#float_cart.ds-cart-item-add a {
  color: #0D287A !important;
  cursor: pointer;
}

#float_cart .ds-product-brand {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 200;
  line-height: 16.8px;
  text-align: left;
  color: #221e1d;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#float_cart .ds-product-name {
  min-height: 30px;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  text-align: left;
  color: #111111;
  width: 100%;
}

#float_cart .ds-cart-item-price {
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: end;
  min-height: 45px;
  gap: 6px;
}

#float_cart .ds-cart-original-price {
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 300;
  line-height: 15px;
  text-align: right;
  color: #121212;
  text-decoration: line-through;
}

#float_cart .ds-cart-sale-price {
  font-family: Lato;
  font-size: 14px;
  font-weight: 400;
  line-height: 15px;
  text-align: right;
  color: #121212;
}

#float_cart .ds-cart-total {
  padding: 15px 0px;
  background: #F5F5F5;
  border-top: solid #ec3545 1px;
}

#float_cart .ds-cart-total-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

#float_cart .ds-cart-total-wrapper .block-promo,
#float_cart .ds-cart-total-wrapper .ds-cart-buy {
  margin-top: auto;
}

#float_cart .ds-cart-free-shipping-message-text {
  color: #111;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}


#float_cart .ds-cart-subtotal {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
  min-height: 20px;
}

#float_cart .ds-cart-subtotal-text,
#float_cart .ds-cart-subtotal-number {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  text-align: left;
  color: #111;
  font-style: normal;
}

#float_cart .ds-cart-subtotal-number {
  font-family: "Montserrat", sans-serif;
}

#float_cart .ds-cart-subtotal-text.subtotal-to-pay{
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 16px;
  text-align: left;
}

#float_cart .ds-cart-subtotal-number.subtotal-to-pay{
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 16px;
  text-align: left;
}

#float_cart .ds-free-shipping-progress-bar-wrapper {
  width: 100%;
  height: 6px;
  border-radius: 20px;
  border: 0.1px solid #ec3545;
  background: #FFF;
  margin: 5px auto 10px auto;
}

#float_cart .ds-free-shipping-progress-bar {
  height: 100%;
  border-radius: 20px;
  background: #ec3545;
}

#float_cart .block-promo {
  min-height: 20px;
  height: auto;
  margin-bottom: 5px;
}

#float_cart .display-promo {
  text-align: center;
}

#float_cart .promo-code {
  position: relative;
  text-align: center;
}

#float_cart .cancel-promo {
  padding:4px 12px;
}

#float_cart .ds-cart-buy-btn {
  display: block;
  width: 100%;
  max-width: 400px;
  margin: auto auto;
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 19.2px;
  border-radius: 30px;
  background-color: #ec3545;
  border: 1px solid #ec3545;
  color: #fff;
}

#float_cart .ds-cart-buy-btn:hover,
#float_cart .ds-cart-buy-btn:active,
#float_cart .ds-cart-buy-btn:focus{
  background-color: #000;
  border: 1px solid #000;
  color: #fff;
}


#digitag_cartfloat_products.loadingProducts:after {
  content: " ";
  position: absolute;
  background-color: #FFF;
  background-image: url('../img/loader.svg');
  background-repeat: no-repeat;
  background-position: center center;
  top: 0;
  bottom: 0;
  z-index: 1000;
  left: 0;
  right: 0;
  color: #000 !important;
}

#float_cart .promo-input {
  width: 75%;
  height: 2.5rem;
  margin-right: -5px;
  border: #7a7a7a 1px solid;
  padding: 5px 5px;
}

#float_cart .block-promo .btn-primary{
  width: 25% !important;
}

#float_cart .promo-code-button.display-promo {
  margin-top: 0px;
  margin-bottom: 0px;
}

#float_cart .block-promo .btn-primary{
    padding: 8px 0px;
    margin: 0px;
    max-width: 100px;
    margin-top: -4px;
}

#float_cart .ds-cart-delete {
  padding: 0px 15px 0px 0px;
}

#float_cart .ds-cart-delete a {
  display: block;
  width: 100%;
  text-align: right;
}

#float_cart .ds-cart-delete img {
  width: 15px;
  cursor: pointer;
}

/*CART FLOAT*/

@media screen and (max-width: 767px) {

  #float_cart .promo-input {
    width: 60%;
  }

  #float_cart .block-promo .btn-primary{
    width: 40% !important;
  }

}

#float_cart .ds-cart-total.digi-cart-empty {
  display: none;
}

