.kholoh-panier-overlay {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.kholoh-panier-content {
    background: #3f3f3f;
    padding: 30px;
    width: 80%;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 12px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.kholoh-panier-content h2 {
    margin-top: 0;
    text-align: center;
}

.kholoh-panier-main {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.kholoh-panier-table {
    width: 100%;
    max-width: 65%;
    border-collapse: collapse;
    font-size: 14px;
}

.kholoh-panier-table th,
.kholoh-panier-table td {
    padding: 8px;
    text-align: left;
    vertical-align: middle;
}

.kholoh-panier-table img {
    max-width: 30px;
    height: auto;
    display: block;
    margin: auto;
}

.kholoh-panier-summary {
    position: sticky;
    top: 20px;
    align-self: flex-start;
    flex: 1;
    min-width: 250px;
    border: 1px solid #ccc;
    padding: 16px;
    border-radius: 8px;
}

.kholoh-panier-summary p {
    margin: 8px 0;
}

.kholoh-panier-summary .panier-total {
    font-weight: bold;
}

.kholoh-panier-summary .valider-echange {
    margin-top: 12px;
    padding: 10px 16px;
    background-color: #2d88ff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

.kholoh-panier-summary .valider-echange:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.kholoh-panier-overlay {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.kholoh-panier-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 768px) {
    .kholoh-panier-main {
        flex-direction: column;
    }
    .kholoh-panier-table {
        max-width: 100%;
    }
}
