.content_viewed {
    overflow: hidden;
}


ul.dropdown-address {
    width: calc(100% - 20px);
}


.modal__towns-sm::before,
.modal__towns-sm_it::before {
    background: #000;
    top: 0;
    display: block;
    position: absolute
}

.dropdown-city a,
.first-choice-city .change-city:hover,
.modal__towns-sm_link {
    text-decoration: none
}

.city-custom a {
    cursor: pointer !important
}

.city-custom {
    position: relative
}


.dropdown-city {
    display: none;
    position: absolute;
    top: auto;
    right: 0;
    background-color: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 4px 6px rgba(0, 0, 0, .1);
    border-radius: 5px;
    min-width: 215px;
    z-index: 10000
}

.city-custom .dropdown-city.show {
    display: block
}

.dropdown-city ul {
    list-style: none;
    padding: 10px;
    margin: 0
}

.dropdown-city a {
    display: flex;
    padding: 10px 20px;
    color: #333;
    border-bottom: 1px dashed #000;
    flex-wrap: nowrap;
    align-items: center;
    word-wrap: break-word;
    cursor: pointer
}

.dropdown-city a:hover {
    background-color: #f0f0f0
}

.first-choice-city {
    padding: 20px 10px;
    text-align: center
}

.first-choice-city .name-you-city {
    font-size: 19px;
    color: #000;
    font-weight: 600
}

.first-choice-city .name-you-city span {
    color: var(--bestseller-bg-color);
}

.first-choice-city .btn-general {
    margin: auto auto 10px;
    width: 100px
}

.first-choice-city .change-city {
    margin-bottom: 0;
    cursor: pointer;
    text-decoration: underline;
    font-size: 16px
}

.h1-home {
    width: 100%;
    font-weight: 700;
    font-size: 24px;
    line-height: 28px;
    display: flex;
    align-items: flex-start;
    gap: .3em
}

.opacity_0 {
    opacity: 0 !important
}

.modal__towns {
    width: 100vw;
    max-width: 100%;
    height: calc(100vh - 143px);
    position: fixed;
    top: 143px;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(0, 0, 0, .56);
    z-index: 9999;
    padding: 24px 0 0;
    display: none
}

.modal__towns-actv {
    display: block
}

.modal__towns-wrapp {
    max-width: 1441px;
    width: 100%;
    margin: 0 auto;
    max-height: calc(100vh - 270px);
    overflow-y: auto;
    background: #fff;
    position: relative;
    padding: 30px 44px 29px
}

.modal__towns-close {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    top: 16px;
    right: 16px;
    width: 22px;
    height: 22px;
    font-size: 4em;
}

.modal__towns-close_img {
    width: 100%;
    height: 100%
}

.modal__towns-search {
    margin: 0 auto;
    width: 55.44%;
    position: relative
}

.modal__towns-search_inp {
    width: 100%;
    background: #F7F8FB;
    border: 1px solid rgba(0, 0, 0, .1);
    box-shadow: 0 1px 3px 1px rgba(0, 0, 0, .15), 0 1px 2px rgba(0, 0, 0, .3);
    border-radius: 10px;
    padding: 13px 36px 13px 16px;
    font-size: 16px;
    line-height: 22px;
    color: #7a8188;
    font-weight: 400
}

.modal__towns-search_inp:focus {
    color: #7a8188;
    border: 1px solid rgba(0, 0, 0, .1);
    outline: 0
}

.modal__towns-search_ic {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%)
}

.modal__towns-bg {
    width: 100%;
    margin: 29px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 5%;
}

.modal__towns-bg_link {
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    line-height: 19px;
    background: #000;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
	white-space: nowrap;
	/*font-family: Monserrat;*/
}

.modal__towns-sm {
    width: 100%;
    margin: 16px 0 0;
    padding: 16px 12px 0;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px
}

.modal__towns-sm::before {
    content: '';
    width: 100%;
    height: 1px;
    left: 50%;
    transform: translateX(-50%)
}

.modal__towns-sm_it {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 15px;
    position: relative;
    margin-top: 10px;
    padding-top: 15px
}

.modal__towns-sm_it::before {
    content: '';
    width: 100%;
    height: 1px;
    left: 0;
    right: 0
}

.modal__towns-sm_link {
	font-weight: 400;
    font-size: 13px;
    line-height: 16px;
    color: #13181e;
    /*font-family: Roboto;*/
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    leading-trim: NONE;
    line-height: 22.86px;
    letter-spacing: 0%;
    text-align: center;
    vertical-align: middle;
    text-align: left;
}

@media screen and (max-width:1441px) {
    .modal__towns-wrapp {
        max-width: calc(100vw - 19px)
    }
}

@media screen and (max-width:1199px) {
    .modal__towns-wrapp {
        padding: 24px 19px
    }

    .modal__towns-bg {
        gap: 10px 35px;
        justify-content: space-between
    }

    .modal__towns-search {
        width: 90%
    }
}

@media screen and (max-width:767px) {

    .modal__towns-bg,
    .modal__towns-search,
    .modal__towns-sm::before {
        width: calc(100% - 17px)
    }

    .modal__towns-wrapp {
        display: flex;
        flex-direction: column
    }

    .modal__towns-search {
        order: 2;
        margin: 10px auto 0
    }

    .modal__towns-bg {
        order: 1;
        padding: 0;
        margin: 0 auto;
        justify-content: flex-start
    }

    .modal__towns-sm {
        order: 3;
        margin: 20px auto 0;
        padding: 10px 0 0;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        justify-content: flex-start;
        gap: 10px
    }

    .modal__towns-sm_it {
        gap: 10px
    }
}

@media screen and (max-width:574px) {
    .modal__towns-sm {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px 30px
    }

    .modal__towns-sm_it {
        align-items: center
    }
}

@media screen and (max-width:539px) {
    .modal__towns-bg {
        gap: 10px 16px
    }
}

@media screen and (max-width:413px) {
    .modal__towns-bg {
        gap: 10px 27px
    }

    .modal__towns-sm {
        display: flex;
        gap: 10px 29px
    }
}

.hpm-type-images {
    display: flex;
    flex-wrap: wrap
}

.hpm-type-images .hpm-item {
    display: flex;
    align-items: center
}



@media screen and (max-width:991px) {
    .modal__towns {
        height: calc(100vh - 107px);
        top: 107px;
        padding: 23px 0 0
    }

    .container-header-custom {
        display: block;
        height: 0
    }

    .container-header-custom>*,
    .container-header-custom>.city-custom .city-cust {
        display: none
    }

    .container-header-custom>.city-custom {
        display: block
    }
}


@media screen and (max-width:767px) {
    .modal__towns-search {
        order: 0;
        margin: 20px auto
    }

    .modal__towns-bg {
        display: flex;
        gap: 0;
        justify-content: center;
        margin-bottom: 10px
    }

    .modal__towns-bg .block-city-modal {
        width: 100%;
        display: block;
        text-align: center
    }

    .modal__towns-sm_it {
        gap: 3px;
        margin-top: 5px;
        padding-top: 10px
    }
}

.box-city {
    margin-right: 10px;
}

.btn-city-top {
    display: flex;
    text-align: center;
    border: 0px;
    align-items: center;
    box-shadow: none !important;
    height: 28px;
    background: #fff;
    padding: 2px 10px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
}

.btn-city-top:after {
    content: '';
    display: inline-block;
    background: #000;
    -webkit-mask-image: url(../image/sprite.svg#icon-arrow-down);
    mask-image: url(../image/sprite.svg#icon-arrow-down);
    width: 8px;
    height: 4px;
    margin-left: 8px;
}

.mh-left-b #city {
    margin-right: 15px;
    position: relative;
	width: auto;
    height: 36px;
    justify-content: space-between;
    flex-direction: column;
    display: flex;
    align-items: center;
}

header .btn-city-top {
    background: #F7F8FB;
	height: 26px;
}

.mob-menu-info-fixed-left{
	width: 360px;
}

.city-form-container{
	position: relative;
}
.block-city-modal a:hover{
     display: inline-block;
    color: #222;
    text-decoration: none;
    /*padding: 2px 6px;*/
    border-radius: 6px;
    /*transition: color .2s ease, background-color .2s ease;*/
    color: #2e7d32;
    /*background: rgba(46, 125, 50, 0.08);*/
}





@media screen and (max-width:767px){
    .dropdown-city.show{display: none!important;}
    
    
}

.block-city-modal{
    display: flex;
    flex-direction: column;
    margin-top: 1em;
    align-items: stretch;
    width: 11.5em;
}

.modal__towns-wrapp a {
    display: inline-block;
    color: #222;
    text-decoration: none;
    padding: 2px 6px;
    border-radius: 6px;
}

.modal__towns-wrapp a:hover {
    color: #2e7d32;
    background: rgba(46, 125, 50, 0.08);
	-webkit-text-fill-color: #2e7d32;
    background-clip: unset;
}







