/* MODAL */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(4px);
}

.modal-overlay.open {
    display: flex;
}

.modal-box {
    background: white;
    border-radius: 20px;
    padding: 32px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    animation: fadeInUpSize 0.3s ease;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #1a1a2e;
}

.modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #faf7f2;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeInUpSize {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* SIZE CHART TABLE */
.size-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
    font-family: 'Hind Siliguri', sans-serif;
}

.size-table th {
    background: linear-gradient(135deg, #e91e8c, #c2185b);
    color: white;
    padding: 10px 14px;
    text-align: center;
    font-weight: 600;
}

.size-table td {
    padding: 9px 14px;
    text-align: center;
    border-bottom: 1px solid #e8ddd5;
    color: #1a1a2e;
}

.size-table tr:nth-child(even) td {
    background: #faf7f2;
}

.size-table tr:hover td {
    background: #fce4f3;
}

.size-table th:first-child {
    border-radius: 10px 0 0 0;
}

.size-table th:last-child {
    border-radius: 0 10px 0 0;
}