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

.hide{
    display: none!important;
}

.product-related-container{
    background: #ffffff;
    border: 1px solid #9a7958;
    border-radius: 10px;
    padding: 15px;
    margin: 20px 0;
    line-height: 23px;
    position: relative;
}

.product-related-link {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 13px;
    position: absolute;
    top: 14px;
    right: 20px;
}

.product-related-container .checkbox-container{
    display: flex;
    max-width: calc(100% - 100px);
}

.product-related-container .checkbox-container:hover{
    cursor: pointer;
}

.product-related-container .checkbox-container .checkbox-label{
    margin-left: 10px;
}

.product-related-container .checkbox-container .my-checkbox{
    /**background: transparent;
    min-width: 20px;
    width: 20px;
    height: 20px;
    border: 1px solid #9a7958;
    border-radius: 10px;
    position: relative;**/
}

.product-related-container .checkbox-container .my-checkbox.checked .in-checkbox{
    position: absolute;
    width: 14px;
    height: 14px;
    left: 2px;
    top: 2px;
    border-radius: 7px;
    background-color: #9a7958;
}

.Initial.product-related-container .product-related-info{
    margin-top: 20px;
}

.product-related-container .product-related-variants .product-related-quantity{
    display: flex;
    flex-direction: column;
    align-items: flex-start!important;
}

.product-related-container .product-related-variants .product-related-quantity .quantity__label{
    margin-bottom: 0.5rem;
}

.Initial.product-related-container .product-related-variants .product-related-variants-item{
    margin-bottom: 0.8rem;
}

.product-related-container .product-related-variants .product-related-variants-item select:hover{
    cursor: pointer;
}

.product-related-container .product-related-variants .product-related-variants-item input:hover,
.product-related-container .product-related-variants .product-related-variants-item label:hover{
    cursor: pointer;
}

.product-related-container .product-related-prices .current-price-display{
    font-size: 24px;
    margin-top: 20px;
}

.final_price_container{
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 14px;
}

.different-display .product-related-quantity{
    display: none!important;
}

.special-related-display .custom-control-label:before,
.special-related-display .custom-control-label:after,
.special-related-display > input{
    display: none;
}

.different-display .form-product-related-group{
    display: flex;
}

.Colonne.different-display .form-product-related-group .special-related-display{
    width: 33%;
    padding: 0;
}

.Colonne.different-display .form-product-related-group .special-related-display:first-child{
    margin-right: 12px;
}

.Colonne.different-display .form-product-related-group .special-related-display:last-child{
    margin-left: 12px;
}

.different-display .form-product-related-group .special-related-display .custom-control-label{
    width: 100%;
    height: 100%;
    padding: 10px;
    text-align: center;
    border: solid 1px #9a7958;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.different-display .form-product-related-group .special-related-display .custom-control-label.checked{
    background-color: #9a7958;
    color: white;
    border: solid 1px #5c5f5f;
}

.Ligne.different-display .form-product-related-group{
    flex-direction: column;
}
.Ligne.different-display .form-product-related-group .special-related-display{
    width: 100%;
    margin: 10px 0;
}

.Colonne.different-display .product-related-variants{
    padding: 0;
}

.product_related_attribute_label{
    width: 100%;
    text-align: center;
}

@media(max-width: 500px) {
    .Colonne.different-display .form-product-related-group{
        flex-direction: column;
    }
    .Colonne.different-display .form-product-related-group .special-related-display{
        width: 100%;
        margin: 10px 0!important;
    }
}
/* Conteneur */
.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
}

/* Masquer le vrai input */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* Le slider (fond) */
.slider-btn-cart {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #e7d4be;
  transition: background-color 0.4s;
  border-radius: 28px;
}

/* Le rond (bouton) */
.slider-btn-cart:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 2px;
  bottom: 3px;
  background-color: white;
  transition: transform 0.4s;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Quand c'est ON */
input:checked + .slider-btn-cart {
  background-color: /*  */#9a7958; /* couleur ON */
}

input:checked + .slider-btn-cart:before {
  transform: translateX(22px);
}

/* Ajout optionnel pour un style "arrondi" */
.slider-btn-cart.round {
  border-radius: 34px;
}