/* Product size guide – beige card design */
.product-size-guide-wrapper {
    --sg-bg: #ffffff;
    --sg-soft: #f4ebe2;
    --sg-soft-2: #faf6f1;
    --sg-text: #3b2a1d;
    --sg-muted: #8a7460;
    --sg-line: #eadfd4;
    --sg-shadow: 0 16px 40px rgba(74, 52, 33, 0.08);
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.product-size-guide-wrapper .size-guide-header {
    cursor: pointer;
    transition: opacity 0.15s ease;
}

.product-size-guide-wrapper .size-guide-header:hover {
    opacity: 0.85;
}

.product-size-guide-wrapper .size-guide-header .size-guide-label {
    font-weight: 700;
}

.product-size-guide-wrapper .size-guide-header .chevron-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.product-size-guide-wrapper .size-guide-header .chevron-icon.expanded {
    transform: rotate(180deg);
}

.sg-card {
    padding: 22px;
    border-radius: 24px;
    background: var(--sg-bg);
    box-shadow: var(--sg-shadow);
}

.sg-card__head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}

.sg-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--sg-soft);
    color: var(--sg-text);
}

.sg-card__titles {
    min-width: 0;
    padding-top: 4px;
}

.sg-card__title {
    margin: 0 0 6px;
    color: var(--sg-text);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.4;
}

.sg-card__subtitle {
    margin: 0;
    color: var(--sg-muted);
    font-size: 13.5px;
    line-height: 1.8;
}

.sg-card__image {
    margin-bottom: 16px;
}

.sg-card__image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
}

.sg-table-wrap {
    overflow: hidden;
    border: 1px solid var(--sg-line);
    border-radius: 16px;
}

.sg-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    background: #fff;
}

.sg-table thead th {
    padding: 14px 12px;
    background: var(--sg-soft-2);
    border: 0;
    border-bottom: 1px solid var(--sg-line);
    color: var(--sg-text);
    font-size: 13px;
    font-weight: 800;
    text-align: center;
    vertical-align: middle;
}

.sg-table tbody td {
    padding: 14px 12px;
    border: 0;
    border-bottom: 1px solid var(--sg-line);
    text-align: center;
    vertical-align: middle;
}

.sg-table tbody tr:last-child td {
    border-bottom: 0;
}

.sg-th {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.sg-th__icon {
    flex: 0 0 auto;
    color: var(--sg-text);
    opacity: 0.85;
}

.sg-size-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    padding: 8px 12px;
    border-radius: 10px;
    background: var(--sg-soft);
    color: var(--sg-text);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
    white-space: nowrap;
}

.sg-cell {
    display: inline-flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    white-space: nowrap;
}

.sg-cell__value {
    color: var(--sg-text);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.3;
}

.sg-cell__unit {
    color: var(--sg-muted);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
}

.sg-card__note {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: 999px;
    background: var(--sg-soft);
    color: var(--sg-muted);
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.6;
}

.sg-card__note-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #e6d5c4;
    color: var(--sg-text);
    font-size: 12px;
    font-weight: 800;
    font-style: italic;
}

#sizeGuideModal .sg-card {
    box-shadow: none;
    padding: 0;
}

@media (max-width: 575.98px) {
    .sg-card {
        padding: 16px;
        border-radius: 18px;
    }

    .sg-card__icon {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
    }

    .sg-card__title {
        font-size: 17px;
    }

    .sg-size-badge {
        min-width: 0;
        padding: 7px 9px;
        font-size: 12px;
    }

    .sg-table thead th,
    .sg-table tbody td {
        padding: 12px 8px;
    }
}
