/**
* 2007-2020 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-2020 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.
*/

/* Product list Slick Slider fix */

#category article .product-list-images-mobile div:nth-child(n + 2),
#category article .wp-products-list-product-colours-slick{
  height: 0;
  overflow-y: hidden;
}

#category article .product-list-images-mobile.slick-initialized div:nth-child(n + 2),
#category article .wp-products-list-product-colours-slick.slick-initialized{
  height: inherit;
  overflow-y: inherit;
}

/* WpProductFeaturesColours */
#product .wp-product-owl-carousel.invisible {
  height: 0px;
  padding: 0px;
  margin: 0px;
}

@media (max-width: 768px) {
  #product .wp-product-owl-carousel{
    margin-top: 15px !important;
  }
}
/* End WpProductFeaturesColours */

/* Overlay on product action variants */
#product #add-to-cart-or-refresh {
  position: relative;
}
#product #add-to-cart-or-refresh .overlay-loading {
  z-index: 1025;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
/* End Overlay on product action variants */

/* PBP-1649 Sticky add to cart */
@media (max-width: 768px) {
  #product #main .sticky-add-to-cart {
    position: fixed;
    bottom: 0;
    background: white;
    z-index: 1024;
    left: 0;
    width: 100%;
    box-shadow: 0 1px 7px 0 rgb(99 99 99);
  }
  #product #main .sticky-add-to-cart .product-add-to-cart {
    margin-top: 0 !important;
  }
  #product #main .sticky-add-to-cart .wp-product-size-colours {
    display: block !important;
    width: 100%;
    border-top: 1px solid #cccc;
  }
  #product #main .sticky-add-to-cart .wp-product-size-colours .wp-product-color-link {
    padding: 15px;
    display: inline-block;
    width: 49%;
    text-align: center;
    cursor: pointer;
    border-right: 1px solid;
    color: #97949E;
    letter-spacing: 0;
    font-size: 14px;
  }
  #product #main .sticky-add-to-cart .wp-product-size-colours .wp-product-size-link {
    padding: 15px;
    display: inline-block;
    width: 49%;
    text-align: center;
    cursor: pointer;
    color: #97949E;
    letter-spacing: 0;
    font-size: 14px;
  }
  #product #main .sticky-add-to-cart .wp-product-size-colours .wp-product-size-link .material-icons.remove{
    line-height: 22px;
  }
  #product #main .sticky-add-to-cart .wp-product-owl-carousel, #product #main .sticky-add-to-cart .product-variants{
    display: none;
  }
  #product #main .sticky-add-to-cart .wp-product-owl-carousel.open, #product #main .sticky-add-to-cart .product-variants.open{
    display: block;
  }
  #product #main .sticky-add-to-cart #sticky-product-information {
    display: flex;
    justify-content: space-between;
    padding: 16px 12px;
  }
  #product #main .sticky-add-to-cart #sticky-product-information .sticky-product-title {
    line-height: 20px;
    font-size: 18px;
    font-family: 'Chamberi Headline', sans-serif;
    text-transform: uppercase;
    color: #1E1B24;
    font-weight: 300;
  }
  #product #main .sticky-add-to-cart #sticky-product-information .sticky-product-price {
    line-height: 14px;
    font-size: 14px;
    font-family: 'Chamberi Headline', sans-serif;
    color: #212529;
    font-weight: 300;
  }
  #product #main .sticky-add-to-cart .product-variants .form-group {
    padding-left: 12px;
  }
  #product #main .sticky-add-to-cart .groupRadioItems {
    display: inline-table;
    margin-bottom: 0px;
  }
  #product .sticky-add-to-cart .overlay-loading {
    top: 35% !important;
  }
}
