/**
* 2019 Anvanto
*
* 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 Anvanto (anvantoco@gmail.com)
*  @copyright  2019 anvanto.com

*  @license    http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*/
.an_stickyAddToCart {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 99;
  box-shadow: 0px 5px 15px 0px rgba(1, 2, 4, 0.15);
  background: #fff;
}
.an_stickyAddToCart-content {
  display: flex;
  align-items: center;
}
.an_stickyAddToCart-image {
  max-width: 100%;
}

.an_stickyAddToCart-price {
  padding-right: 3px;
}

.an_stickyAddToCart-price .product-title {
  font-size: 14px;
  line-height: 1.5;
  color: #000;
  font-weight: 400;
  margin: 1px 0 6px;
}
.an_stickyAddToCart-price .regular-price {
  font-size: 14px;
  font-weight: 700;
  text-decoration: line-through;
  color: #7a7a7a;
  margin-left: 1px;
}
.an_stickyAddToCart-price .price {
  font-weight: 700;
  font-size: 18px;
  color: #000;
}

.an_stickyAddToCart-btnadd {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1px;
  margin-right: auto;
}
.an_stickyAddToCart span.an_stickyAddToCart-select-price {
  font-weight: bold;
  margin-left: 5px;
}
.an_stickyAddToCart li.an_stickyAddToCart-select-sold-out {
  cursor: not-allowed !important;
}
.an_stickyAddToCart span.an_stickyAddToCart-select-sold-out {
  color: #fff;
  background-color: #ffc427;
  padding: 2px 5px;
  margin: 0 0 0 5px;
}
.an_stickyAddToCart span.an_stickyAddToCart-select-regular_price {
  text-decoration: line-through;
  margin-left: 5px;
}
.an_stickyAddToCart span.an_stickyAddToCart-select-sale {
  color: #fff;
  background-color: #e53d60;
  padding: 2px 5px;
  margin: 0 0 0 5px;
}
.an_stickyAddToCart span.js-an_stickyAddToCart-text {
  margin-left: 5px;
}

.an_stickyAddToCart-standart {
  padding-left: 8px;
}
.an_stickyAddToCart .js-an_stickyAddToCart-standart .an_pa_product-variants {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 1px;
}
.an_stickyAddToCart {
  background: white;
  box-shadow: -2px 2px 11px 0 rgba(0,0,0,.3);
}
.an_stickyAddToCart form {
  padding: 7px 0;
}
.an_stickyAddToCart.an_stickyAddToCart select,
.an_stickyAddToCart.an_stickyAddToCart .an_pa_product-variants>.product-variants-item select {
  height: 42px;
  font-size: 16px;
  font-weight: normal;
  width: 100%;
  border: 0;
  border-radius: 5px;
  box-shadow: none;
  background: #f6f6f6;
  color: #7a7a7a;
  cursor: pointer;
  min-width: 90px;
  padding: 0 14px 0 28px;
}
.an_stickyAddToCart .an_pa_product-variants>.product-variants-item-select:after {
  position: absolute;
  content: "";
  top: calc(50% - 2px);
  left: 12px;
  width: 0;
  height: 0;
  border: 4px solid transparent;
  border-color: #000 transparent transparent transparent;
}
.an_stickyAddToCart.an_stickyAddToCart .control-label {
  display: block;
  margin-left: 14px;
}

.an_stickyAddToCart.an_stickyAddToCart .an_pa_product-variants>.product-variants-item {
  margin: 0 0 0 29px;
  position: relative;
  display: flex;
  align-items: center;
}


.an_stickyAddToCart ul.an_stickyAddToCart-group {
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
}
.an_stickyAddToCart.an_stickyAddToCart .an_pa_product-variants>.product-variants-item ul li {
  margin: 3px;
}
.an_stickyAddToCart.an_stickyAddToCart .an_pa_product-variants>.product-variants-item ul li label {
  display: flex;
  margin: 0;
}
.an_stickyAddToCart.an_stickyAddToCart .color,
.an_stickyAddToCart .custom-checkbox input[type=checkbox]+span.color {
  margin: 0;
}

.an_stickyAddToCart.an_stickyAddToCart .an_stickyAddToCart-qty {
  min-width: 70px;
  font-size: 16px;
  padding: 0 8px 2px 20px;
  height: 100%;
  border: 1px solid rgb(207, 207, 207);
  box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.2);
  background: #fff;
  color: #232323;
}


.an_stickyAddToCart.an_stickyAddToCart .an_stickyAddToCart-qty-container {
  margin-left: 10px;
  display: flex;
}
.an_stickyAddToCart.an_stickyAddToCart .an_stickyAddToCart-qty-add {
  display: flex;
  flex: 0 1;
  height: 44px;
  align-items: stretch;
}
.an_stickyAddToCart.an_stickyAddToCart .an_stickyAddToCart-qty-add .btn-primary {
  margin: 0;
  width: 100%;
  padding: 5px 23px;
  outline: none!important;
  height: 100%;
  line-height: 24px;
  min-width: unset;
}

.an_stickyAddToCart.an_stickyAddToCart .an_stickyAddToCart-product-selectbox {
  background: #fff;
  height: 100%;
  border: 1px solid rgb(207, 207, 207);
  box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.2);
  padding: 0;
  position: relative;
  min-width: 200px;
}

.an_stickyAddToCart .an_stickyAddToCart-product-selectbox li:hover {
  background-color: #f5f5f5;
}
.an_stickyAddToCart .an_stickyAddToCart-product-selectbox li {
  cursor: pointer;
  font-size: 12px;
  padding: 5px 15px;
}
.an_stickyAddToCart.an_stickyAddToCart .an_stickyAddToCart-select {
  margin-left: 30px;
  flex: 1 1;
  max-width: 295px;
}
.an_stickyAddToCart.an_stickyAddToCart .an_stickyAddToCart-dropdown-toggler {
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  height: 100%;
  display: flex;
  align-items: center;
  line-height: 24px;
  margin: 0;
  padding: 3px 8px 5px 25px;
  text-align: right;
  overflow: hidden;
  font-weight: normal;
  color: #7a7a7a;
  width: 100%;
}
.an_stickyAddToCart .js-an_stickyAddToCart-filter-option {
  display: flex;
  overflow: hidden;
  white-space: nowrap;
}
.an_stickyAddToCart .an_stickyAddToCart-dropdown-menu {
  display: none;
  bottom: 100%;
  position: absolute;
  background: #fff;
  outline: 1px solid rgba(0,0,0,.25);
  right: 0;
  width: 100%;
  z-index: 1;
  font-weight: normal;
  text-align: right;
}
.an_stickyAddToCart .an_stickyAddToCart-dropdown-menu ul {
  margin: 0;
  max-height: 300px;
  overflow: auto;
}
.an_stickyAddToCart .an_stickyAddToCart-dropdown.open .an_stickyAddToCart-dropdown-menu {
  display: block;
}

.an_stickyAddToCart .an_stickyAddToCart-dropdown .an_stickyAddToCart-dropdown-toggler i {
  position: absolute;
  content: "";
  top: 0;
  bottom: 0;
  left: 15px;
  height: 100%;
  font-size: 14px;
  display: flex;
  align-items: center;
}


.an_stickyAddToCart-image {
  max-width: 100%;
}
.an_stickyAddToCart li.product-flag {
  z-index: 0 !important;
}


.an_stickyAddToCart .quantity {
  position: relative;
}

.an_stickyAddToCart-qty-container input[type=number]::-webkit-inner-spin-button,
.an_stickyAddToCart-qty-container input[type=number]::-webkit-outer-spin-button
{
  -webkit-appearance: none;
  margin: 0;
}

.an_stickyAddToCart-qty-container input[type=number]
{
  -moz-appearance: textfield;
}

.an_stickyAddToCart-qty-container input:focus {
  outline: 0;
}

.an_stickyAddToCart .quantity-nav {
  float: right;
  position: relative;
  height: 42px;
}

.an_stickyAddToCart .quantity-button {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-right: 1px solid #cfcfcf;
  width: 22px;
  -webkit-transform: translateX(100%);
  transform: translateX(100%);
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}

.an_stickyAddToCart .quantity-button.quantity-up {
  position: absolute;
  height: calc(50% + 2px);
  top: 0;
  border-bottom: 1px solid #cfcfcf;
}

.an_stickyAddToCart .quantity-button.quantity-down {
  position: absolute;
  bottom: -1px;
  height: 50%;
  padding-top: 1px;
}

.an_stickyAddToCart {
  transition: .3s;
}
.an_stickyAddToCart[data-hidden="1"] {
  opacity: 0;
  visibility: hidden;
}
@media (max-width: 1200px) {
  .an_stickyAddToCart-image {
    max-width: 60px;
  }

  .content-standart .an_stickyAddToCart-imageblock {
    width: 90px;
  }
  .content-standart .an_stickyAddToCart-standart {
    display: none;
  }
}
@media (max-width: 991px) {
  .an_stickyAddToCart-content:not(.content-standart) .an_stickyAddToCart-select {
    margin-left: 10px;
  }
}
@media (max-width: 767px) {

  .an_stickyAddToCart-content .an_stickyAddToCart-imageblock {
    flex: 80px 0 0;
  }
  .an_stickyAddToCart-content .an_stickyAddToCart-price {
    flex: 1 1;
    padding: 0;
  }
  .an_stickyAddToCart-content .an_stickyAddToCart-btnadd {
    margin-top: 10px;
    width: 100%;
    flex: 100%;
    flex-direction: column;
    justify-content: flex-start;
  }
  .an_stickyAddToCart-content .an_stickyAddToCart-image {
    max-width: 100%;
  }
  .an_stickyAddToCart-content {
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .an_stickyAddToCart.an_stickyAddToCart .an_stickyAddToCart-qty-container {
    display: none;
  }
  .an_stickyAddToCart-content:not(.content-standart) .an_stickyAddToCart-select {
    margin-left: 0;
    margin-bottom: 10px;
    max-width: 100%;
  }
  .an_stickyAddToCart.an_stickyAddToCart .an_stickyAddToCart-content:not(.content-standart) .an_stickyAddToCart-product-selectbox {
    height: 44px;
  }
  .an_stickyAddToCart.an_stickyAddToCart .an_stickyAddToCart-dropdown-toggler {
    width: 100%;
  }
  .an_stickyAddToCart-add {
    width: 100%;
  }
  .an_stickyAddToCart.an_stickyAddToCart .an_stickyAddToCart-qty-add .btn-primary {
    padding: 9px 20px;
  }
}
@media (max-width: 540px) {
  .an_stickyAddToCart-content .an_stickyAddToCart-btnadd {
    flex-wrap: wrap;
    flex-direction: column;
  }
  .an_stickyAddToCart-content .an_stickyAddToCart-select {
    margin-left: 0;
    margin-bottom: 15px;
    max-width: 100%;
  }
  .an_stickyAddToCart.an_stickyAddToCart .an_stickyAddToCart-content .an_stickyAddToCart-dropdown-toggler {
    width: 100%;
  }
  .an_stickyAddToCart.an_stickyAddToCart .an_stickyAddToCart-content .an_stickyAddToCart-qty-container {
    flex: 0 0;
  }
  .an_stickyAddToCart.an_stickyAddToCart .an_stickyAddToCart-content .an_stickyAddToCart-add {
    flex: 1 1;
  }
}
@media (max-width: 380px) {
  .an_stickyAddToCart-price {
    padding-right: 0;
  }

}


.an_stickyAddToCart.an_stickyAddToCart .an_stickyAddToCart-qty {
  background: #f1f1f1;
  width: 30px;
  min-width: 30px;
  text-align: center;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0 5px;
  font-size: 1rem;
}
.an_stickyAddToCart .quantity-button {
  border: 0!important;
  width: 32px;
  background-color: #f1f1f1;
  font-size: 17px;
}

.an_stickyAddToCart .quantity-button.quantity-up,
.an_stickyAddToCart .quantity-button.quantity-down {
  position: static;
  height: 100%;
  display: flex;
  align-items: center;
  transform: translateX(0);
}
.an_stickyAddToCart .quantity-button.quantity-down {
  padding-top: 0;
}
.an_stickyAddToCart .quantity-button.quantity-up {
  padding-top: 2px;
}
.an_stickyAddToCart.an_stickyAddToCart .an_stickyAddToCart-product-selectbox {
  background-color: #f1f1f1;
  box-shadow: none;
  border-radius: 5px;
  border: 0;
}
.an_stickyAddToCart .an_stickyAddToCart-dropdown .an_stickyAddToCart-dropdown-toggler i:after {
  border: 0!important;
  content: "\E5CF";
}
.an_stickyAddToCart .an_stickyAddToCart-dropdown.open .an_stickyAddToCart-dropdown-toggler i:after {
  content: "\E5CE";
}
.an_stickyAddToCart.an_stickyAddToCart .an_stickyAddToCart-dropdown-toggler {
  color: #000;
  padding: 0 15px 0 35px;
  font-size: 1rem;
}
.an_stickyAddToCart.an_stickyAddToCart .an_stickyAddToCart-qty-container {
  border-radius: 5px;
  overflow: hidden;
}
.an_stickyAddToCart {
  z-index: 30;
}
.an_stickyAddToCart-image {
  max-height: 65px;
}
.an_stickyAddToCart-price .product-title {
  line-height: 1.2;
}
.an_stickyAddToCart .an_pa_product-variants>.product-variants-item .color {
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 50%!important;
  margin: 0;
  border: 0;
}
.an_stickyAddToCart .an_pa_product-variants>.product-variants-item .input-color:hover+span,
.an_stickyAddToCart .an_pa_product-variants>.product-variants-item .input-color:checked+span {
  border: 3px solid #fff !important;
}