.rtw-country-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(6, 10, 24, 0.72);
}

.rtw-country-modal.is-visible {
    display: flex;
}

.rtw-country-modal__panel {
    width: min(560px, 100%);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
    padding: 28px;
}

.rtw-country-modal__title {
    margin: 0 0 8px;
    color: #111827;
    font-size: 28px;
    line-height: 1.2;
}

.rtw-country-modal__text {
    margin: 0 0 22px;
    color: #4b5563;
    font-size: 16px;
}

.rtw-country-modal__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.rtw-country-option,
.rtw-country-switcher {
    border: 1px solid #d6dbe6;
    background: #ffffff;
    color: #111827;
    cursor: pointer;
    transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.rtw-country-option {
    min-height: 62px;
    border-radius: 8px;
    font-weight: 700;
    letter-spacing: 0;
}

.rtw-country-option:hover,
.rtw-country-option:focus {
    border-color: #0b5cff;
    background: #eef4ff;
}

.rtw-country-switcher {
    position: fixed;
    right: 18px;
    bottom: 86px;
    z-index: 9999;
    min-height: 42px;
    border-radius: 8px;
    padding: 9px 14px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.18);
}

.rtw-map-link {
    display: inline-block;
    margin-top: 6px;
    font-weight: 700;
}

.rtw-country-copy {
    margin: 14px auto 0;
    max-width: 760px;
    color: #4b5563;
    font-size: 17px;
    line-height: 1.65;
    text-align: center;
}

.rtw-country-price-note {
    margin: 10px 0 0;
    color: #0f766e;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
}

.rtw-locations-panel {
    margin-top: 18px;
}

.site-footer-two .rtw-locations-panel {
    margin-top: 22px;
}

.rtw-locations-panel__title {
    margin: 0 0 12px;
    color: inherit;
    font-size: 18px;
    line-height: 1.3;
}

.rtw-locations-panel__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.rtw-location-card {
    border: 1px solid rgba(148, 163, 184, 0.38);
    border-radius: 8px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.06);
}

.rtw-location-card strong {
    display: block;
    margin-bottom: 5px;
}

.rtw-location-card p {
    margin: 0 0 6px;
    font-size: 13px;
    line-height: 1.45;
}

.rtw-location-card a {
    font-weight: 700;
}

body.rtw-modal-open {
    overflow: hidden;
}

@media (max-width: 520px) {
    .rtw-country-modal__panel {
        padding: 22px;
    }

    .rtw-country-modal__title {
        font-size: 23px;
    }

    .rtw-country-modal__grid {
        grid-template-columns: 1fr;
    }

    .rtw-locations-panel__grid {
        grid-template-columns: 1fr;
    }
}
