article {
    padding: 0 20px;
}

article p {
    font-size: 15px;
    color: #000;
    line-height: 25px;
    margin-bottom: 15px;
}

article a {
    color: #939e2b;
}

section>h2 {
    background: -webkit-linear-gradient(top, #f8f8f8, #d9d9d9);
    background: -moz-linear-gradient(top, #f8f8f8, #d9d9d9);
    background: -o-linear-gradient(top, #f8f8f8, #d9d9d9);
    background: linear-gradient(top, #f8f8f8, #d9d9d9);
    font-size: 15px;
    padding: 5px 15px;
    margin-bottom: 15px;
    color: #3e3e3e;
    text-transform: uppercase;
}

p.section-description {
    max-width: 840px;
    margin: 0 auto 15px;
}

.list-of-cards {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    text-align: left;
    margin-bottom: 15px;
    -webkit-padding-start: 0;
    padding-left: 0;
    list-style: none;
    justify-content:center;
}

.list-of-cards>li {
    display: inline-block;
    vertical-align: top;
    min-width: 235px;
    width: 235px;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    margin: 0;
}

.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    border-radius: 4px;
    -webkit-box-shadow: rgba(0, 0, 0, .4) 0 0 6px, #fff 0 1px 0 inset;
    box-shadow: rgba(0, 0, 0, .4) 0 0 6px, #fff 0 1px 0 inset;
    background-color: #fefefe;
    text-align: center;
    height: 230px;
    margin: 10px;
}
.card>img {
    margin: 0;
}
.card>figcaption {
    width: 100%;
}

.product-down-block-zagl{
    font-weight: 700;
}

.card>figcaption>p {
    margin: 0;
    color: #666;
}

.card>a {
    margin: 0;
    display: inline-block;
    color: #9cb250;
    text-decoration: none;
    border-bottom: #9cb250 1px dashed;
    padding-bottom: 2px;
    font-size: 15px;
}

/*Стили для всплывающего блока "Доставка"*/
.list1 ul{
    color: black;
    margin-left: -2%;
    list-style-position: inside;
    list-style-image: url("/img/content/guarantees/green_ok.png");
    line-height: 25px;
}

.list1 ul li.type1 {
    background: url('/img/content/guarantees/green_ok.png') 2px 0 no-repeat;
}

.list1 ul li.type2 {
    background: url("/img/content/guarantees/wellow_ok.png") 2px 0 no-repeat;
}

/*Стили для всплывающего блока "Международная доставка"*/
.list2 ul{
    color: black;
    margin-left: -2%;
    list-style-position: inside;
    list-style-image: url("/img/content/guarantees/green_ok.png");
    line-height: 30px;
}

.list2 ul li.type1 {
    background: url('/img/content/guarantees/green_ok.png') 2px 0 no-repeat;
}

.list2 ul li.type2 {
    background: url("/img/content/guarantees/wellow_ok.png") 2px 0 no-repeat;
}

/*Стили для всплывающего блока "Гарантия качества"*/
.list3 ul{
    color: black;
    margin-left: -4%;
    list-style-position: inside;
    list-style-image: url("/img/content/guarantees/green_ok.png");
    line-height: 27px;
}

.list3 ul li.type1 {
    background: url('/img/content/guarantees/green_ok.png') 2px 0 no-repeat;
}

.list3 ul li.type2 {
    background: url("/img/content/guarantees/wellow_ok.png") 2px 0 no-repeat;
}

@media (min-width: 980px) {
    .fourth-items .popover:nth-child(1):before {
        left: 7%;
        right: auto;
    }
    .fourth-items .popover:nth-child(2):before {
        left: 34%;
        right: auto;
    }
    .fourth-items .popover:nth-child(3):before {
        left: 61%;
        right: auto;
    }
    .fourth-items .popover:nth-child(4):before {
        left: 89%;
        right: auto;
    }
    .two-items .popover:nth-child(1):before {
        left: 34%;
        right: auto;
    }
    .two-items .popover:nth-child(2):before {
        left: 62%;
        right: auto;
    }
    .list-of-cards>li {
        max-width: 240px;
    }
}

@media (max-width: 980px) {
    .list-of-cards>li {
        -webkit-box-flex: 1;
        -ms-flex: 1;
        flex: 1;
    }
}

@media screen and (max-width: 767px){
    .card{
        border-radius: 4px;
        -webkit-box-shadow: rgba(0, 0, 0, .4) 0 0 6px, #fff 0 1px 0 inset;
        box-shadow: rgba(0, 0, 0, .4) 0 0 6px, #fff 0 1px 0 inset;
        background-color: #fefefe;
        width: auto;
    }
}

.buttons img{
    cursor: pointer;
    margin: 10px;
}

#h3{
    font-weight: normal;
    font-size: 18px;
    min-height: 57px;
    color: #000;
    margin: -10px auto 0;
    max-width: 84%;
    line-height: 25px;
}
#h3>p{
    text-align: center;
}