:root {
    --color-title: #b5d500;
}

.order-result {
    padding: 20px;
}

.order-result-head {
    padding-top: 30px;
}

.order-result-head__title {
    color: var(--color-title);
}

.order-result-head__title h1 {
    font-weight: bold;
    font-size: 25px;
}

.order-result-content-mobile {
    display: none;
}

.order-result-content {
    padding: 20px 0;
    display: grid;
    grid-gap: 20px;
    grid-column-gap: 100px;
    grid-template-columns: 1fr 1fr;
}

.order-result-products-container h4 {
    color: var(--color-title);
    font-size: 25px;
    font-weight: bold;
}

.order-result-info__title h4 {
    color: var(--color-title);
    font-weight: bold;
}

.order-result-info {
    background: #f8f8f8;
    padding: 20px 30px;

    height: auto;
    border-radius: 6px;
    display: grid;
    grid-row-gap: 10px;
}

.order-result-info--preview{
    width: 390px;
    background: #fff;
    border-radius: 6px;
}

.order-result-info--preview #orderPayForm{
    text-align: center;
}


.order-result-info--preview .btn-pay-submit {
    background: linear-gradient(0deg, rgba(117, 198, 15, 1) 0%, rgba(149, 206, 7, 1) 65%, rgba(190, 220, 40, 1) 100%);
    width: 100%!important;
    color: #fff;
}

.order-result-info--preview  .order-result-head__title{
    text-align: left;
}

.order-result-info--preview .btn-pay-submit:hover {
    background: #68c316;
    color: #fff;
}
.order-result-info__item {
    display: grid;
    gap: 5px;
    grid-template-columns: 1fr 1fr;
}

.order-result-info__item-total {}

.old-price-price {
    color: #000;
    font-weight: normal;
    text-decoration: line-through;
}

.order-result-info__item-total .order-result-info__content{
    color: var(--color-title);
    font-weight: bold;
}
.order-result-info__item-delivery .order-result-info__content--delivery-price {
    /*color: var(--color-title);*/
    color: #4b4b4d;
    font-weight: bold;
}
.pay-text{
    color: var(--color-title);
    font-weight: bold;
}

.order-result-info__item-pay {
    display: block;
}

.btn-pay-submit {
    border: 1px solid #e8e8e8;
    background-color: #fff;
    color: #b7d602;
    width: 100%;
    position: relative;
    font-weight: bold;
}

.btn-pay-submit:hover {
    background: linear-gradient(180deg, #b7d602 0, #68c316 100%);
    color: #fff;
}

.btn-pay-kaspi {
    width: 100%;
    height: 52px;
    position: relative;
    font-weight: bold;
    border-radius: 8px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-pay-kaspi.kaspi-red {
    background-color: #F14635;
    color: white;
}

.btn-pay-kaspi.kaspi-white {
    background-color: #e8e8e8;
    color: black;
}

.btn-pay-kaspi.kaspi-white:hover {
    background: rgb(253, 253, 253);
}

.btn-pay-kaspi.kaspi-red:hover {
    background: #e64132;
}

.btn-pay-kaspi__img {
    max-height: 28px;
}

.order-result-product {
    display: grid;
    grid-template-columns: 150px 1fr;
    grid-template-areas: 'image description';
    grid-gap: 5px;
    position: relative;
    border-bottom: 1px solid #dfdfdf;
    padding: 20px 0;
}

.order-result-product:hover {
    background-color: #f8f8f8;
}

.order-result-product__link {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.order-result-product__description {
    display: grid;
    grid-template-areas:
        'name name name'
        'recipe recipe recipe'
        'count-price count-price count-price';
    padding: 20px 10px 20px 0;
    grid-area: description;
}

.order-result-product__image {
    grid-area: image;
    padding: 5px;
}

.order-result-product__image img {
    width: 100%;
}

.order-result-product__name {
    grid-area: name;
    font-weight: bold;
    color: #000;
    font-size: 14px;
}

.order-result-product__recipe {
    grid-area: recipe;
    display: flex;
}

.order-result-product__recipe-content {
    color: var(--color-title);
    padding-left: 20px;
    font-weight: bold;
}

.order-result-product__count-price {
    grid-area: count-price;
    display: flex;
}
.no-pay-text{
    color: red;
}

@media (max-width: 768px) {
    .order-result-content {
        grid-template-columns: 1fr;
    }

    .order-result-product {
        /*grid-template-columns: 100px 1fr;*/
        grid-template-columns: 1fr;
        grid-template-areas: 'description';
        padding: 5px 0;

    }

    .order-result-product__image{
        display: none;
    }


    .order-result-product__description {
        /*grid-template-columns: 220px 1fr;*/
        grid-template-areas:
            'name name count-price'
            'recipe recipe count-price'
            'recipe recipe count-price'
        ;
        grid-column-gap: 5px;
        padding: 20px 10px 20px 0;
    }

    .order-result-product__count-price {
        display: grid;
        /*grid-template-rows: 40px 20px 20px;*/
        grid-template-columns: 40px 80px;
        color: #4b4b4d;
    }

    .order-result-product__recipe {
        display: none;
    }

    .order-result-info {
        background-color: #fff;
        padding: 10px;
    }
    .order-result-info--preview{
        width: 100%;
        padding: 40px 0;

        border-radius: 0;
    }
    .order-result-info--preview .order-result-head__title h5{
        font-size:15px;
    }

    .order-result-info--preview .order-result-head__title,
    .order-result-info--preview .order-result-info__item:nth-child(2),
    .order-result-info--preview .order-result-info__item:nth-child(3){
        padding: 0 15px;
    }

    .order-result-info__title {
        display: none;
    }

    .order-result-info__item-total {
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid #dfdfdf;
        font-weight: bold;
        font-size: 25px;
        color: #4b4b4d;

    }
    .order-result-product__name {
        font-weight: normal;

    }

    .order-result-product__name span{
        font-weight: normal;
        font-style: 14px;
    }
}

@media(min-width: 768px) {
    .order-result-head__message {
        margin-top: 50px;
    }

    .order-result-product__name {
        max-width: 190px;
    }

    .order-result-info {
        max-width: 450px;
    }

    .order-result-info__content {
        max-width: 180px;
    }

    .order-result-product__recipe {
        font-size: 11px;
    }

    .order-result-product__name {
        font-size: 11px;
    }
}

@media(max-width: 768px) {
    .order-result-head__title {
        text-align: center;
    }

    .order-result-head__message {
        text-align: center;
    }

    .order-result-info__item-total .order-result-info__content,
    .order-result-info__item-delivery .order-result-info__content2 {
        text-align: end;
    }

    .order-result-product__count-price {
        justify-content: end;
    }
    .order-result-info__content__address {
        max-width: 180px;
    }
}

@media(max-width: 440px) {
    .order-result-head {
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 20px;
        align-items: center;
    }

    .order-result-head__title {
        color: #000;
    }

    .order-result-head__title h3 {
        font-size: 1.50rem;
    }

    .order-result-content-mobile {
        display: block;
        max-width: 80%;
    }

    .order-result-content-mobile span {
        font-weight: bold;
    }
    .order-result-info{
        padding:10px 0;
    }
}