/* Styles pour le bouton d'achat direct */
.lsLabDirectBuy {
    margin: 20px 0;
}

.direct-buy-button {
    background: #ff6b35 !important;
    border-color: #ff6b35 !important;
    color: white !important;
    font-weight: bold;
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 300px;
}

.direct-buy-button:hover {
    background: #e55a2b !important;
    border-color: #e55a2b !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.direct-buy-button:disabled {
    background: #ccc !important;
    border-color: #ccc !important;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Modal pour la sélection de variation */
.lsLabDirectBuyModal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.lsLabDirectBuyModal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.lsLabDirectBuyModal-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 10px;
}

.lsLabDirectBuyModal-close:hover {
    color: #000;
}

.lsLabDirectBuyModal h3 {
    margin-top: 0;
    color: #333;
}

.lsLabDirectBuyModal .form-row {
    margin-bottom: 15px;
}

.lsLabDirectBuyModal label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.lsLabDirectBuyModal select,
.lsLabDirectBuyModal input[type="number"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.lsLabDirectBuyModal-actions {
    text-align: right;
    margin-top: 20px;
}

.lsLabDirectBuyModal-actions button {
    margin-left: 10px;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.lsLabDirectBuyModal-cancel {
    background: #f1f1f1;
    color: #333;
}

.lsLabDirectBuyModal-confirm {
    background: #007cba;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    
    .lsLabDirectBuyModal-content {
        margin: 10% auto;
        width: 95%;
        padding: 15px;
    }
}