main {
    padding: 50px 0;
    background-color: #fff;
}

.wrapper {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 1200px;
    padding: 0 10px;
    margin: 0 auto;
}

.content-block {
    display: flex;
    flex-direction: column;
    font-weight: 400;
    font-style: normal;
    color: #000;
    background-color: #FAFAFA;    
    gap: 15px;
    border-radius: 15px;
    padding: 25px;
}

.content-block__title {
    font-size: 24px;
    font-weight: 700;
    line-height: 31px;
    margin: 0;
}

.content-block__title--big {
    font-size: 40px;
    font-weight: 700;
    line-height: 48px;
    text-align: center;
    margin: 0 0 25px;
}

.content-block p, 
.content-block li {
    font-size: 18px;
    line-height: 27px;
    letter-spacing: 0.36px;
    margin: 0;
}

.content-block__description {
    font-size: 18px;
    line-height: 27px;
    letter-spacing: 0.36px;
    margin: 0;
}

.content-block .link {
    text-decoration: none;
    color: #02aeff;
}

.cities {
    display: flex;
    gap: 50px;
    margin: 0 0 25px;
}

.city-inner-wrapper {
    display: flex;
}

.city-inner-wrapper .city-address:nth-last-of-type(1) {
    margin: 0 0 0 20px;
}

.city__title {
    font-size: 24px;
}

.city-address {
    display: grid;
    grid-row-gap: 15px;
}

.city-address__store-name {
    font-size: 20px;
    margin: 0 !important;
}

.contact-address {
    margin: 0 !important;
}

.metro-station {
    display: flex;
    font-size: 16px;
}

.metro-station span {
    font-size: 16px;
    margin: 0 0 0 10px;
}

.store-contact {
    font-size: 16px;
    display: flex;
    flex-direction: column;
}

.store-contact__phone {
    font-size: 16px;
    color: #222222 !important;
    text-decoration: none !important;
    margin-bottom: 5px !important;
}

.main-contacts {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.contacts {
    display: flex;
    flex-direction: column;
}

.contacts__link {
    text-decoration: none;
    margin: 0 0 20px 0;
    color: #222222;
}

.contacts__link:first-of-type {
    margin: 0 0 5px 0;
}

.contacts .social-list, .contacts .social-list__item {
    margin-bottom: 0 !important;
}

.content-block__description--center {
    text-align: center;
    font-weight: 600;
}

/* Shops */

.shops-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 1180px;
}

.shop {
    border: 1px solid #F0F0F0;
    border-radius: 12px;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

.shop a {
    display: block;
    padding: 30px 29px 33px;
    text-decoration: none;
    color: #222222;
}

.shop__image {
    border-radius: 4px;
    pointer-events: none;
}

.shop__address {
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    text-align: center;
    letter-spacing: -0.03em;
    color: #000000;
    margin: 17px 0 0 0;
    pointer-events: none;
}

.shop__address span {
    font-size: 14px;
    line-height: 17px;
}

.shop:hover,
.shop.active {
    border-color: #00AFFF;
}

.shop:active {
    background-color: #00AFFF;
}

.shop:active .shop__address {
    color: #fff;
}


@media(max-width: 1024px) {
    .cities {
        gap: 25px;
    }
}

@media(max-width: 767px) {
    .content-block__title--big {
        font-size: 30px;
        font-weight: 700;
        line-height: 36px;
        text-align: center;
        margin: 0 0 25px;
    }

    .content-block__title {
        font-size: 18px;
        font-weight: 700;
        line-height: 21px;
        margin: 0;
    }

    .content-block {
        gap: 10px;
        padding: 15px;
    }

    .cities {
        flex-direction: column;
    }

    .shops-list {
        display: flex;
        flex-wrap: nowrap;
        overflow-y: scroll;
        margin: 0;
    }

    .shop {
        max-width: 300px;
        flex-shrink: 0;
    }

    .shop a{
        padding: 20px;
    }
}