.size-guide-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: auto;
    margin: 12px 0 0;
    padding: 8px 14px;
    border: 1px solid #d8d8d8;
    border-radius: 8px;
    background: #fff;
    color: #222;
    font: inherit;
    font-size: 14px;
    cursor: pointer;
}
.size-guide-button:hover { background: #f7f7f7; border-color: #aaa; }
.size-guide-button[hidden] { display: none; }
.size-guide-button:focus-visible, .size-guide button:focus-visible, .size-guide-scroll:focus-visible {
    outline: 3px solid #8d2859;
    outline-offset: 3px;
}
.size-guide {
    box-sizing: border-box;
    width: min(960px, calc(100% - 24px));
    max-width: none;
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: #fff;
    color: #262626;
    overflow: auto;
}
.size-guide::backdrop { background: rgb(0 0 0 / 48%); }
.size-guide-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 20px;
    border-bottom: 1px solid #e4e4e4;
}
.size-guide-header h2 { margin: 0; font: 700 24px/1.3 sans-serif; }
.size-guide-close {
    flex: 0 0 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: #666;
    font-size: 28px;
    cursor: pointer;
}
.size-guide-content { padding: 16px; }
.size-guide-tab {
    display: inline-block;
    border: 2px solid #00ae4a;
    border-radius: 20px;
    padding: 4px 14px;
    font-size: 14px;
}
.size-guide-content h3 { margin: 20px 0 16px; font: 700 18px/1.5 sans-serif; }
.size-guide-scroll { max-height: 55dvh; overflow: auto; overscroll-behavior: contain; }
.size-guide table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 14px; }
.size-guide th, .size-guide td { padding: 16px; border: 1px solid #e2e2e2; text-align: left; }
.size-guide thead th { position: sticky; top: 0; z-index: 1; background: #fff; }
.size-guide tbody tr:nth-child(even) { background: #f4f4f4; }
.size-guide tbody tr:nth-child(2) { background: #e3f4ea; }
@media (max-width: 480px) {
    .size-guide-header { padding: 10px 12px; }
    .size-guide-header h2 { font-size: 21px; }
    .size-guide-content { padding: 12px; }
}
