.bbt-customer-group-switch-trigger > a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border: 1px solid #000;
    color: #000;
    font-weight: 700;
    line-height: 30px;
}

.bbt-customer-group-switch {
    position: fixed;
    inset: 0;
    z-index: 2501;
    display: none;
}

.bbt-customer-group-switch.is-open {
    display: block;
}

.bbt-customer-group-switch__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.bbt-customer-group-switch__dialog {
    position: relative;
    width: min(760px, calc(100vw - 32px));
    margin: 6vh auto 0;
    background: #fff;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2);
}

.bbt-customer-group-switch__content {
    padding: 40px;
}

.bbt-customer-group-switch__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    color: #000;
    cursor: pointer;
    font-size: 32px;
    line-height: 1;
}

.bbt-customer-group-switch__title {
    margin: 0 0 24px;
    color: #000;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}

.bbt-customer-group-switch__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.bbt-customer-group-switch__tile {
    position: relative;
    display: flex;
    min-height: 120px;
    align-items: center;
    justify-content: center;
    padding: 24px;
    border: 1px solid #d7d7d7;
    background: #fff;
    color: #000;
    text-align: center;
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.bbt-customer-group-switch__tile:hover,
.bbt-customer-group-switch__tile:focus {
    border-color: #000;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    text-decoration: none;
}

.bbt-customer-group-switch__tile.is-current {
    border-color: #ffb81c;
    box-shadow: inset 0 0 0 1px #ffb81c;
}

.bbt-customer-group-switch__selected-mark {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 1;
    padding: 6px 10px;
    background: #ffb81c;
    color: #000;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.bbt-customer-group-switch__label {
    display: block;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
}

.bbt-customer-group-switch__tile-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    align-items: center;
}

.bbt-customer-group-switch__description {
    display: block;
    max-width: 100%;
    color: #555;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}

.bbt-customer-group-switch__note {
    margin: 20px 0 0;
    color: #555;
    font-size: 14px;
    line-height: 1.5;
}

body.bbt-customer-group-switch-open {
    overflow: hidden;
}

@media screen and (max-width: 768px) {
    .bbt-customer-group-switch__dialog {
        width: calc(100vw - 24px);
        margin-top: 24px;
    }

    .bbt-customer-group-switch__content {
        padding: 32px 16px 16px;
    }

    .bbt-customer-group-switch__title {
        margin-bottom: 16px;
        font-size: 24px;
    }

    .bbt-customer-group-switch__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .bbt-customer-group-switch__tile {
        min-height: 96px;
        padding: 20px 16px;
    }

    .bbt-customer-group-switch__label {
        font-size: 18px;
    }

    .bbt-customer-group-switch__description,
    .bbt-customer-group-switch__note {
        font-size: 13px;
    }
}
