/* DS Guide des tailles - front */

.ds-sizeguide-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: 1px solid #ba933e;
    color: #ba933e;
    padding: 8px 16px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.ds-sizeguide-btn:hover {
    background-color: #ba933e;
    color: #fff;
}

.ds-sizeguide-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
}

.ds-sizeguide-modal.is-open {
    display: block;
}

.ds-sizeguide-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.ds-sizeguide-modal-dialog {
    position: relative;
    background: #fff;
    max-width: 700px;
    width: 92%;
    margin: 5vh auto;
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px;
    border-radius: 2px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.ds-sizeguide-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: #333;
    cursor: pointer;
}

.ds-sizeguide-modal-title {
    margin: 0 0 20px;
    padding-right: 30px;
    font-size: 20px;
    font-weight: 700;
    color: #222;
}

.ds-sizeguide-table-wrapper {
    overflow-x: auto;
}

.ds-sizeguide-table {
    width: 100%;
    border-collapse: collapse;
}

.ds-sizeguide-table th,
.ds-sizeguide-table td {
    border: 1px solid #e5e5e5;
    padding: 10px 12px;
    text-align: center;
    font-size: 13px;
}

.ds-sizeguide-table th {
    background: #ba933e;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.03em;
}

.ds-sizeguide-table tbody tr:nth-child(even) {
    background: #faf8f4;
}

.ds-sizeguide-how-to-measure {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.ds-sizeguide-how-to-measure h4 {
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 700;
    color: #222;
}

body.ds-sizeguide-modal-open {
    overflow: hidden;
}

@media (max-width: 575px) {
    .ds-sizeguide-modal-dialog {
        padding: 20px;
        width: 96%;
    }
}
