/* SIZE GUIDE trigger + modal — styled to match the storefront. */
.dksg { margin: 18px 0 8px; }

.dksg__trigger {
    display: inline-block;
    background: transparent;
    border: 0;
    border-bottom: 2px solid #1d3f7a;
    color: #1d3f7a;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .04em;
    padding: 4px 2px;
    cursor: pointer;
    line-height: 1.2;
}
.dksg__trigger:hover,
.dksg__trigger:focus { color: #32649e; border-bottom-color: #32649e; outline: none; }

.dksg__overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, .55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.dksg__overlay[hidden] { display: none; }

.dksg__modal {
    position: relative;
    background: #fff;
    width: min(1120px, 100%);
    max-height: 88vh;
    overflow-y: auto;
    padding: 36px 44px 44px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, .25);
}
.dksg__close {
    position: absolute;
    top: 18px;
    right: 22px;
    background: none;
    border: 0;
    font-size: 34px;
    line-height: 1;
    color: #1d3f7a;
    cursor: pointer;
    padding: 0 6px;
}
.dksg__close:hover, .dksg__close:focus { color: #32649e; }
.dksg__title {
    margin: 0 0 14px;
    color: #1d3f7a;
    font-size: 30px;
    font-weight: 700;
}
.dksg__intro {
    margin: 0 0 24px;
    color: #1d3f7a;
    font-size: 15px;
}

.dksg__tabs { display: flex; gap: 12px; margin: 0 0 26px; flex-wrap: wrap; }
.dksg__tab {
    min-width: 130px;
    background: #fff;
    border: 2px solid #1d3f7a;
    color: #1d3f7a;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .05em;
    padding: 12px 22px;
    cursor: pointer;
    transition: background .15s, color .15s;
}
.dksg__tab.is-active { background: #1d3f7a; color: #fff; }
.dksg__tab:hover, .dksg__tab:focus { outline: none; }

.dksg__panel[hidden] { display: none; }
.dksg-group { margin-bottom: 30px; }
.dksg-group__title {
    margin: 0 0 6px;
    color: #1d3f7a;
    font-size: 17px;
    font-weight: 700;
}
.dksg-group__note { margin: 0 0 12px; color: #555; font-size: 13px; }

.dksg-table-scroll { overflow-x: auto; }
.dksg-table {
    border-collapse: collapse;
    width: 100%;
    border: 1px solid #1d3f7a;
    font-size: 13px;
    color: #333;
}
.dksg-table th, .dksg-table td {
    border: 1px solid #1d3f7a;
    padding: 8px 6px;
    text-align: center;
    white-space: nowrap;
}
.dksg-table tr:first-child th {
    background: #1d3f7a;
    color: #fff;
    font-weight: 700;
}
.dksg-table tr td:first-child {
    background: #1d3f7a;
    color: #fff;
    font-weight: 700;
    text-align: left;
    padding-left: 12px;
}

@media (max-width: 700px) {
    .dksg__overlay { padding: 10px; align-items: flex-start; }
    .dksg__modal { padding: 28px 18px 32px; max-height: 94vh; }
    .dksg__title { font-size: 24px; }
    .dksg__tab { min-width: 0; flex: 1; padding: 10px 8px; font-size: 14px; }
    .dksg-table { font-size: 12px; }
    .dksg-table th, .dksg-table td { padding: 6px 4px; }
}
