body{
    font-family: "Geometria", sans-serif;
}

.offers_list{
    display: flex;
    flex-wrap: wrap;
}

.offers_wrapper{
    padding-bottom: 60px;
}

.offers_title{
    font-weight: bold;
    font-size: 32px;
    line-height: 40px;
    text-align: center;
    color: #575757;
    margin-bottom: 40px;
    padding-top: 50px;
}

.benefits_title {
    font-family: gotham-bold, sans-serif;
    font-size: 28px;
    line-height: 30px;
    color: #5a5d62;
    margin-bottom: 15px;
    padding-top: 100px;
}
.benefits_subtitle {
    font-size: 18px;
    line-height: 120%;
    color: #a2a2a2;
    margin-bottom: 35px;
}
.benefits_wrap {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 75px;
    justify-content: space-between;
    flex-wrap: wrap;
}
.benefits_item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 23%;
}
.benefits_icon {
    width: 80px;
    height: 80px;
}
.benefits_text {
    font-family: gotham-bold, sans-serif;
    font-size: 18px;
    line-height: 100%;
    color: #5a5d62;
}

@media (max-width: 1100px) {
    .benefits_item {
        width: 48%;
    }
}
@media (max-width: 655px) {
    .benefits_icon {
        width: 50px;
        height: 50px;
    }
    .benefits_text {
        font-size: 16px;
    }
    .benefits_item {
        width: 43%;
    }
}
@media (max-width: 375px) {
    .benefits_wrap {
        flex-direction: column;
    }
    .benefits_item {
        width: 100%;
    }
}
@media (max-width: 500px) {
    .benefits_item:nth-child(1),
    .benefits_item:nth-child(4) {
        display: none;
    }
}
.new_design_offer{
    background: #FFFFFF;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 30px;
    padding: 30px 15px 20px;
    width: 24%;
    position: relative;
    margin-bottom: 15px;
    overflow: hidden;
    margin-right: 13px;
    display: flex;
    flex-direction: column;
}
.new_design_offer:nth-child(4n){
    margin-right: 0;
}


.new_design_offer .logo_wrapper{
    text-align: center;
    margin: 0 auto;
    max-width: 160px;
    height: 70px;
    display: flex;
    align-items: center;
}

.new_design_offer .logo_wrapper img{
    max-width: 100%;
    max-height: 100%;
}

.new_design_offer .first_credit{
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(100% + 30px);
    min-height: 30px;
    background: #4F7A9E;
    font-size: 14px;
    line-height: 18px;
    color: #ffffff;
    margin: 20px 0 20px -15px;
}

.new_design_offer .credit_info_item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.new_design_offer .credit_info_item .title{
    font-size: 14px;
    line-height: 120%;
    color: #575757;
}
.new_design_offer .credit_info_item .value{
    font-weight: bold;
    font-size: 14px;
    line-height: 100%;
    text-align: right;
    color: #575757;
}

.new_design_offer .star_wrapper{
    position: relative;
}
.new_design_offer .star_wrapper:after {
    content: "";
    width: 18px;
    height: 18px;
    display: inline-block;
    background-size: cover;
    background-image: url(../img/new-star.svg);
    vertical-align: -2px;
}

.new_design_offer .like_wrapper:before {
    content: "";
    width: 20px;
    height: 20px;
    display: inline-block;
    background-size: cover;
    background-image: url(../img/icon-like-orange.svg);
    vertical-align: -2px;
}

.new_design_offer .credit_info_item_around{
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex: 1 0 auto;
}
.new_design_offer .credit_info_item_around span{
    font-size: 14px;
    line-height: 100%;
    color: #575757;
}

.new_design_offer .credit_info_item_around span.bold{
    font-weight: bold;
    border-bottom: 1px solid;
}

.new_design_offer .get_credit{
    width: 100%;
    height: 50px;
    background: #439C2C;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    font-size: 18px;
    line-height: 18px;
    text-align: center;
    color: #FFFFFF;
    text-decoration: none;
    margin-top: 11px;
}



@media (min-width: 768px) and (max-width: 1079px){
    .new_design_offer{
        width: 32%;
        margin-right: 13px;
    }
    .new_design_offer .get_credit{
        height: 40px;
        font-size: 14px;
        line-height: 18px;
    }
    .new_design_offer:nth-child(3n) {
        margin-right: 0;
    }
    .new_design_offer:nth-child(4n) {
        margin-right: 15px;
    }


    .new_design_offer .credit_info_item .title{
        font-size: 12px;
    }
    .new_design_offer .credit_info_item .value{
        font-size: 12px;
    }
    .new_design_offer .credit_info_item_around span{
        font-size: 12px;
    }
    .new_design_offer .like_wrapper:before{
        width: 14px;
        height: 14px;
    }
    .new_design_offer .star_wrapper:after{
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 767px){
    .offers_title{
        font-size: 16px;
        line-height: 120%;
        color: #575757;
    }
    .offers_list{
        flex-direction: column;
    }
    .new_design_offer{
        width: 100%;
        padding: 20px 29px;
        margin-bottom: 20px;
    }
    .new_design_offer .first_credit{
        margin: 20px 0 20px -40px;
        width: calc(100% + 80px);
    }
    .new_design_offer .get_credit{
        height: 40px;
        background: #6EB85B;
        font-size: 14px;
        line-height: 100%;
    }
}

.new_design_offer.nowy:before {
    content: "Nowy";
    background: linear-gradient(135deg, #4ECDC4, #44A08D);
    box-shadow: 0 4px 15px rgba(68, 160, 141, 0.4);
}

.new_design_offer.nowy {
    box-shadow: 0 4px 15px rgba(68, 160, 141, 0.4);
}

.new_design_offer.best:before{
    content: "№1";
    background: linear-gradient(135deg, #FFD700, #FFA500);
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.4);
}

.new_design_offer.best{
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.4);
}

.new_design_offer.top:before{
    content: "TOP";
    background: linear-gradient(135deg, #FF6B6B, #EE5A24);
    box-shadow: 0 4px 15px rgba(238, 90, 36, 0.4);
}

.new_design_offer.top{
    box-shadow: 0 4px 15px rgba(238, 90, 36, 0.4);
}

.new_design_offer.vybor:before{
    content: "Wybór redakcji";
    background: linear-gradient(135deg, #8e44ad, #3498db);
    box-shadow: 0 4px 15px rgba(142, 68, 173, 0.4);
}

.new_design_offer.wygoda:before {
    content: "Wygoda";
    background: linear-gradient(135deg, #56ab2f, #a8e6cf);
    box-shadow: 0 4px 15px rgba(86, 171, 47, 0.4);
}

.new_design_offer.wygoda {
  box-shadow: 0 4px 15px rgba(86, 171, 47, 0.4);
}

.offer::before {
            position: absolute;
            top: 0;
            right: 0;
            padding: 8px 16px;
            color: white;
            font-weight: bold;
            font-size: 12px;
            text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
            border-radius: 0 16px 0 12px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
