.select-country-content {
    display: none;
    box-sizing: border-box;
    
}
.select-country-content-wrapp {
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
    padding-inline-start: max(22px,env(safe-area-inset-left));
    padding-inline-end: max(22px,env(safe-area-inset-right));
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    color: rgba(0,0,0,0.8);
    padding: var(--pr-spacing-04) 0;
    display: flex;

}
.select-country-content.active {
    display: flex;
    align-items: center;
    border-bottom: 2px solid #e1e1e1;
}
.country-copy {
    font-size: 15px;
    line-height: 1.33337;
    font-weight: 400;
    padding-inline-end: 2%;
    display: inline-block; 
    flex: 1;
    word-break: initial;
    max-width: 430px;
}

.country-actions {
    padding-inline-start: 32px;
    box-sizing: border-box;
    display: flex;
    flex: 1;
    justify-content: flex-end;
}

.country-dropdown {
    position: relative;
    flex: 1;
    max-width: 343px;
    min-width: 246px;
}

.country-dropdown-select {
    border-radius: 8px;
}

.country-region-wrapp {
    position: relative;
}

.switch-item-selected-actions {
    padding: 8px 16px;
    min-height: 50px;
    border-radius: 24px;
    border: 2px solid var(--pr-color-flash);
    transition: border-color 200ms ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
    cursor: pointer;
    min-width: 200px;
}
.switch-item-selected-actions:hover {
    border-color: var(--pr-color-primary-300);
}
.switch-item-selected-actions span {
    margin-right: 6px;
}

.list-country-region {
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
    width: 100%;
    background-color: #fff;
    border: 2px solid var(--pr-color-flash);
    border-top: none;
    border-radius: 0 0 24px 24px;
    z-index: 99;
    display: none;
}

#list-country-region-show-header:checked ~ .list-country-region {
    display: block;
    border-radius: 0 0 24px 24px;
    border-color: var(--pr-color-primary-300);
    
}
#list-country-region-show-header:checked ~ label .switch-item-selected-actions {
    border-radius: 24px 24px 0 0;
    
}
.country-continue {
    padding: 0 var(--pr-spacing-09);
    border: 2px solid var(--pr-color-secondary);
    border-radius: 24px;
    line-height: 45px;
    color: var(--pr-color-primary);
    margin: 0 var(--pr-spacing-04);
}

.country-continue:hover,
.country-continue:focus {
    background:var(--pr-color-secondary);
    color: var(--pr-color-white);
}

.country-close {
    background: transparent;
    border: none;
    cursor: pointer;
}
.country-region-wrapp-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9;
    pointer-events: none;
    visibility: hidden;
}

#list-country-region-show-header:checked ~ label .country-region-wrapp-overlay {
    pointer-events: all;
    visibility: visible;
}
@media (max-width: 1300px) {
    .country-copy {
        padding-left: 16px;
    }
}

@media (max-width: 767px) {
    .select-country-content {
        padding: var(--pr-spacing-04);
    }
    .country-actions {
        padding-inline-start: 0;
    }
    .switch-item-selected-actions {
        min-width: 150px;
        font-size: 14px;
        padding: 5px 16px;
        min-height: 45px;
    }
    .switch-item-selected-actions img {
        width: 25px;
    }
    .country-continue {
        padding: 0 var(--pr-spacing-09);
        height: 45px;
        line-height: 42px;  
        margin-right: 0;
    }
    .country-actions {
        margin-top: var(--pr-spacing-03);
    }
    .select-country-content-wrapp {
        padding: 0;
        position: relative;
    }
    .country-copy {
        padding-right: 30px;
        flex: 0 0 100%;
    }
    .country-close {
        background: transparent;
        border: none;
        cursor: pointer;
        position: absolute;
        top: 0;
        right: 0;
        z-index: 9;
    }
    .country-region-wrapp {
        width: 100%;
    }
}