#region-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    display: flex;
    justify-content: center;
    align-items: center;
}

#region-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    max-width: 460px;
    width: 100%;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

#region-popup h3 {
    margin: 0;
    font-size: 1.8em;
    color: #333;
}

#region-popup p {
    color: #666;
    margin: 10px 0;
}

#region-popup button {
    font-size: 16px;
    background-color: #000;
    color: #fff;
    border: 1px solid transparent;
    padding: 10px 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin: 5px;
    line-height: 19px;
    font-weight: 600;
    min-width: 160px;
}

#region-popup button:hover {
    color: #000;
    border: 1px solid #000;
    background-color: #fff;
    border-radius: 5px;
}

#region-popup button:focus {
    outline: none;
}

#region-popup p, #region-popup p span {
    color: #000;
    margin: 10px 0;
    line-height: 140%;
    font-size: 13px !important;
}

.close-popup {
    position: absolute;
    top: 0;
    right: 0;
    background: transparent !important;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999 !important;
    transition: color 0.3s;
}

.region-selector-wrapper {
    margin-right: 20px;
    display: flex !important;
    align-items: center;
}

.dropdown .expand-more {
    font-weight: 600;
    font-size: 14px !important;
}

.region-label {
    font-weight: 600;
    margin-right: 5px;
    white-space: nowrap;
    font-size: 14px !important;
}

.region-selector {
    display: inline-block;
}

.language-selector-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.language-label {
    font-size: 14px !important;
    font-weight: 600;
    margin-right: 5px;
    white-space: nowrap;
}

@media (max-width: 991px) {
    .header-nav .hidden-sm-down div:first-child{
        display: none !important;
    }
}

.popup-title {
    text-align: center;
}

.popup-subtitle {
    display: table;
    margin: 3px auto;
    color: #666;
}

.popup-description {
    text-align: center;
}

.popup-subtext {
    display: table;
    color: #666;
}

.popup-buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.popup-buttons #select-other {
    margin-left: 9px;
}

.blocks-wrapper .region-selector-wrapper {
    display: none !important;
}

.blocks-wrapper #_desktop_language_selector .language-label {
    display: none;
}

select.region-select-mobile {
    font-size: 14px;
    font-weight: 600;
    -webkit-appearance: none;
}

.invisible {
    display: none;
}

#region-popup .close-popup {
    min-width: auto;
}

#region-popup .popup-buttons button {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#region-popup .popup-buttons .lang-en {
    font-weight: bold;
}

#region-popup .popup-buttons .lang-ua {
    display: block;
    padding: 0;
    font-size: 12px !important;
    font-weight: normal;
    margin: 0;
}

