/* ============================================================
 *  Size Chart – Trigger link
 * ============================================================*/

.ssc-size-chart-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 10px 0;
    padding: 6px 0;
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    transition: color 0.2s;
}

.ssc-size-chart-link:hover {
    color: #000;
}

/* ============================================================
 *  Table inside modal
 * ============================================================*/

.ssc-chart-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 1.25rem 0 0.5rem;
    padding-bottom: 0.35rem;
    border-bottom: 2px solid #222;
}

.ssc-chart-title:first-child {
    margin-top: 0;
}

.ssc-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

/* Header rows */
.ssc-table .ssc-empty,
.ssc-table .ssc-head,
.ssc-table .ssc-subhead {
    background-color: #f7f7f7;
}

.ssc-table .ssc-head {
    font-weight: 600;
    font-size: 0.8rem;
    padding: 6px 8px;
    text-align: center;
    border-bottom: 1px solid #e5e5e5;
}

.ssc-table .ssc-subhead {
    font-weight: 400;
    font-size: 0.7rem;
    text-align: center;
    padding: 4px 8px;
    color: #666;
    border-bottom: 1px solid #e5e5e5;
}

.ssc-table .ssc-empty {
    width: 120px;
    min-width: 100px;
}

/* Body rows */
.ssc-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
}

.ssc-table tbody tr:last-child {
    border-bottom: none;
}

.ssc-table td,
.ssc-table th {
    padding: 6px 8px;
    font-size: 0.775rem;
    vertical-align: middle;
}

.ssc-table td {
    text-align: center;
    white-space: nowrap;
}

/* Size label column */
.ssc-size-label {
    text-align: left;
}

.ssc-size-name {
    display: block;
    font-weight: 600;
    font-size: 0.775rem;
}

.ssc-size-detail {
    display: block;
    font-weight: 400;
    font-size: 0.65rem;
    color: #777;
    margin-top: 2px;
    line-height: 1.35;
}

/* Disclaimer */
.ssc-disclaimer {
    font-size: 0.7rem;
    color: #888;
    margin-top: 0.75rem;
    line-height: 1.4;
}

/* ============================================================
 *  SweetAlert overrides
 * ============================================================*/

.swal2-html-container {
    text-align: left !important;
    padding: 0 0.5rem !important;
}

/* Responsive: horizontal scroll inside modal on small screens */
.ssc-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
