.buy-section {
  padding: 50px 0 75px;
}
.buy-section__title-block {
    margin-bottom: 50px;
}

.buy-section__title {
    font-size: 62px;
    color: #2d2d2d;
    font-weight: 500;
    margin-bottom: 15px;
    text-transform: none;
}

.buy-section__subtitle {
    margin-top: 0;
    font-size: 20px;
    color: #787878;
    font-weight: 300;
    text-transform: none;
}

.buy-section .pharmacys-block .shops_list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.buy-section .pharmacys-block .shops_list li {
    margin-bottom: 0;
    padding-left: 0;
    list-style: none;
}

.buy-section .pharmacys-block .shops_list li a {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 237px;
    padding: 40px 30px;
    background: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, .07);
    border-radius: 5px;
    box-sizing: border-box;
}
.buy-section .pharmacys-block .shops_list img {
    max-width: 100%;
    max-height: 100%;
}

@media (max-width: 1024px) {
    .buy-section__title-block {
        margin-bottom: 40px;
    }

    .buy-section__title {
        font-size: 48px;
    }

    .buy-section__subtitle {
        font-size: 18px;
    }

    .buy-section .shops_list {
        grid-template-columns: repeat(2, 1fr);
    }

    .buy-section .shops_list li a {
        height: 200px;
        padding: 20px 15px;
    }
}

@media (max-width: 600px) {
    .buy-section__title-block {
        margin-bottom: 30px;
    }

    .buy-section__title {
        font-size: 36px;
    }

    .buy-section__subtitle {
        font-size: 16px;
    }

    .buy-section .pharmacys-block .shops_list {
        grid-template-columns: 1fr;
    }

    .buy-section .pharmacys-block .shops_list li a {
        height: 180px;
    }
}