/*============================================================================================*/
/* Your custom styles below */
/*============================================================================================*/



    .btn_1.green {
        background: #28a745; /* Vert */
        border-color: #28a745;
        color: white;
    }
    
    .btn_1.green:hover {
        background: #218838; /* Vert foncé */
        border-color: #1e7e34;
    }

    

.item_version_2 {
    position: relative; /* Permet de positionner la basket en absolu */
}

.basket {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    background-color: rgba(50, 50, 50, 0.7); /* Fond gris foncé avec une opacité de 70% */
    padding: 6px 12px;
    border-radius: 15px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); /* Ombre plus marquée pour améliorer la visibilité */
    font-size: 18px;
    font-weight: bold;
    color: white; /* Texte blanc pour un meilleur contraste */
    z-index: 10;
}

.basket::after {
    content: "";
    background: url('img/basket.svg') no-repeat left center;
    background-size: 22px 22px; /* Taille de l'icône SVG légèrement ajustée */
    width: 22px;
    height: 22px;
    margin-left: 6px;
    opacity: 0.8; /* Réduit légèrement l'opacité de l'icône pour un effet plus doux */
}




    .quantity-label {
        display: block;
        font-size: 16px;
        font-weight: bold;
        margin-bottom: 8px;
    }

    .quantity-selector {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        background: #f8f9fa;
        border-radius: 50px;
        padding: 8px 15px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        width: fit-content;
        margin: 0 auto 20px auto; /* Centrage */
    }

    .quantity-btn {
        background: #ff5722;
        border: none;
        color: white;
        font-size: 20px;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: background 0.2s ease-in-out;
    }

    .quantity-btn:hover {
        background: #e64a19;
    }

    .quantity-input {
        border: none;
        background: transparent;
        text-align: center;
        font-size: 22px;
        width: 50px;
        font-weight: bold;
    }

    .quantity-input:focus {
        outline: none;
    }

    .text-center {
        text-align: center;
    }

    /* ✅ Optimisation pour mobile */
    @media (max-width: 480px) {
        .quantity-selector {
            padding: 5px 12px;
        }

        .quantity-btn {
            width: 35px;
            height: 35px;
            font-size: 18px;
        }

        .quantity-input {
            font-size: 18px;
            width: 40px;
        }
    }

