/**
* 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.
*/
.price__declinaison {
    margin-top: 5px;
}
.add-to-cart-or-refresh {
    width: 100%;
    height: 100%;
}
.customSelectAttributes {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    position: relative;
    z-index: 3;
    width: 100%;
    margin-bottom: 7px;
    border-radius: 7px;
    text-align: center;
    color: #000;
    font-size: 14px;
    margin-bottom:0;
}
.customSelectWrapper::after {
    content: '\276F';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    pointer-events: none;
    font-size: 12px;
    color: #000;
    z-index: 10;
}
.disabledDeclinaison {
    background: #f1f1f1 !important;
    cursor: unset !important;
    opacity: 0.5;
}
.product-miniature .add-to-cart-custom-button.disabled:hover::before, .bottom_addtocart .add-to-cart-custom-button.disabled:hover::before {
    background: #fff;
    content: '❌';
    z-index: 1;
    color: #86A37B;
    width: 100%;
    height: 100%;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0 !important;
    position: absolute;
    transition: opacity 0.2s ease;
}
.col-half .add-to-cart-custom-button.disabled:hover::before {
    background: #ffffff;
    content: attr(data-outofstock);
    z-index: 1;
    color: #86A37B;
    width: 100%;
    height: 30px;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 6px;
    position: absolute;
    transform: rotate(-5deg);
    transition: opacity 0.2s ease;
}
.col-half .add-to-cart-custom-button {
    padding: 10px 0;
	font-size: 1.2rem;
}
.customProductAttributes {
    margin-top:5px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 5px;
}
#bottom_addtocart .product-actions {
    margin-bottom:0;
}
#product button.btn.add-to-cart-custom-button.disabled:hover::before {
    top: 5px;
}
.customSelectWrapper {
    position: relative;
    display: inline-block;
    width: 100%; 
}
@supports (-webkit-appearance: none) {
    .customSelectAttributes {
        padding: 10px 5px;
        background: #fff !important;
        border: 1px solid #999;
        text-align: center; /* Centrer le texte */
        text-align-last: center;
    }
    .customSelectAttributes option {
       text-align: center !important; 
    }
}
.add-to-cart-custom-button {
    overflow: hidden;
    background-color: #e08500;
    color: #fff;
    font-weight: 700;
    border-radius: 7px;
    font-size: 0.9rem;
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    transition-duration: 0.15s;
    gap: 3px;
    position: relative;
    min-width: 38px;
    height: 100%;
}
.product-miniature .btn.add-to-cart-custom-button i {
    display: flex;
    align-items: center;
    justify-content: center;
}
.bottom_addtocart .add-to-cart-custom-button i {
    font-size: 21px;
}
.product-miniature .add-to-cart-custom-button  {
    height: 100%;
    width: 100%;
    min-width: 43px;
    border-radius: 7px;
    font-size: 21px;  
}
.price-regular-item {
    position: relative;
    font-size:11px;
}
.price-regular-item:after{
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-20deg);
    width: 80%;
    height: 2px;
    background-color: red;
}

.add-to-cart-custom-button:hover{
    opacity:0.9;
    color:#fff;
}
.customProductPageAttributes:not(.product-miniature .customProductAttributes) {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 5px;
    grid-row-gap: 5px;
}
span.selected_variant_add_to_cart {
    font-size: 12px;
}
.add-to-cart-custom-button .price {
    font-size: 12px !important;
}
@media(max-width:1024px) {
    .add-to-cart-custom-button .price-regular-item {
        display: none;
    }
}
@media(max-width:768px) {
    .customProductPageAttributes:not(.product-miniature .customProductAttributes){
        grid-template-columns: repeat(2, 1fr);
    }
    .customSelectAttributes {
        font-size: 14px;
        text-align: left;
        text-align-last: left;
    }
}