.page-buy-methods-section {
    padding-top: 100px;
}

.buy-methods__list {
    margin-bottom: -20px;
}

.buy-methods__item {
    display: block;
    position: relative;
    text-align: center;
    padding: 35px 0 40px;
    border: 1px solid rgba(53, 53, 53, 0.15);
    border-radius: 30px;
    margin-bottom: 20px;
    height: calc(100% - 20px);
}

.buy-methods__item:before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('/local/templates/nachalo/assets/img/colibri-pattern.png');
    background-repeat: repeat;
    background-size: 70px;
    opacity: 0;
    visibility: hidden;
    border-radius: 30px;
    -moz-transition: all .3s ease-out;
    -o-transition: all .3s ease-out;
    -webkit-transition: all .3s ease-out;
    transition: all .3s ease-out;
}

.buy-methods__name {
    display: inline-block;
    position: relative;
    font-family: 'Oswald';
    font-weight: 400;
    font-size: 24px;
    line-height: 1.17;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: #353535;
    margin-bottom: 12px;
    z-index: 2;
}

.buy-methods__name img {
    position: absolute;
    opacity: 0;
    visibility: hidden;
    z-index: 1;
}

.buy-leaves-left {
    left: -72px;
    top: -53px;
    max-width: 72px;
}

.buy-leaves-right {
    right: -74px;
    top: -22px;
    max-width: 68px;
}

.buy-methods__item picture {
    position: relative;
    z-index: 2;
    min-height: 256px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px;
}

.buy-methods__item picture img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.buy-methods__item picture img.bx-lazyload-success {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.buy-methods__item .btn {
    z-index: 2;
}

@media all and (max-width:1399px) {
    .buy-methods__item {
        border-radius: 15px;
        padding: 25px 0 30px;
    }
    .buy-methods__item picture {
        min-height: 166px;
    }

}

@media all and (min-width:1200px) and (max-width:1399px) {
    .buy-methods__name { 
        font-size: 20px;
    }
    .buy-methods__item .btn-medium {
        font-size: 14px;
        line-height: 1;
        padding: 14px 20px;
    }   
}

@media all and (max-width:1199px) {
    .page-buy-methods-section {
        padding-top: 80px;
    }
}

@media all and (max-width:959px) {
    .page-buy-methods-section {
        padding-top: 60px;
    }
    .buy-methods__name { 
        font-size: 20px;
    }    
}

@media all and (min-width:1025px) {
    .buy-methods__item:hover {
        -webkit-box-shadow: 0px 20px 45px rgba(53, 53, 53, 0.15);
        box-shadow: 0px 20px 45px rgba(53, 53, 53, 0.15);
        border-color: rgba(241, 232, 244, 1);
        background-color: rgba(241, 232, 244, 0.35);
    }
    .buy-methods__item:hover:before {
        opacity: 0.04;
        visibility: visible;
    }
    .buy-methods__item:hover .buy-methods__name {
        color: rgba(44, 111, 95, 1);
    }
    .buy-methods__item:hover .buy-methods__name img {
        opacity: 1;
        visibility: visible;
    }
    .buy-methods__item:hover .btn-light-green {
        color: rgba(233, 246, 244, 1);
        background-color: rgba(44, 111, 95, 1);
    }
    .buy-methods__item:hover .btn-light-green .icon-arrow {
        background: rgba(233, 246, 244, 1);
    }
}