.sg-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    backdrop-filter: blur(3px);
}

.sg-modal-overlay.active {
    display: flex;
}

.sg-modal-content {
    background: #fff;
    padding: 40px;
    border-radius: 4px;
    max-width: 700px;
    width: 95%;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.sg-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    color: #888;
}

.sg-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
    color: #111;
}

.sg-subtitle {
    font-size: 13px;
    color: #666;
    margin-bottom: 30px;
    text-align: center;
}

.sg-table-container {
    overflow-x: auto;
}

.sg-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.sg-table thead th {
    background: #f8f8f8;
    padding: 15px;
    font-weight: 700;
    color: #111;
    border-bottom: 1px solid #eee;
    text-align: center;
}

.sg-table tbody td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    color: #444;
}

.sg-table tbody tr:last-child td {
    border-bottom: none;
}

/* Button style on Product Page */
.ct-size-guide-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #111;
    font-weight: 700;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #FD802E;
    padding-bottom: 4px;
    transition: 0.3s;
}

.ct-size-guide-button:hover {
    color: #FD802E;
}