﻿.bento__list {
    gap: 10px;
}
.bento__item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 19px;
    width: 365px;
    height: 350px;
    border: 1px solid #434343;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}
.bento__item:hover .bento__cta path {
    animation-name: movedArrow;
    animation-duration:1s;
    animation-iteration-count:infinite;
    animation-timing-function:linear;
}
.bento__item:nth-child(1),
.bento__item:nth-child(5) {
    flex-direction: row;
    width: 690px;
    height: 350px;
    border-color: var(--primary-clr);
}
.bento__discount {
    width: 100%;
    padding: 5px;
    color: #fff;
    font-size: 24px;
    font-weight: var(--medium);
    text-align: center;
    background-color: var(--primary-clr);
}
.bento__item:nth-child(1) .bento__discount,
.bento__item:nth-child(5) .bento__discount {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    height: 100%;
}
.bento__content {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    padding: 0 14px 14px;
}
.bento__image {
    width: 100%;
    height: 210px;
}
.bento__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.bento__item:nth-child(1) .bento__image,
.bento__item:nth-child(5) .bento__image {
    height: 260px;
}
.bento__label,
.bento__cta {
    margin-top: auto;
}
.bento__label {
    width: 165px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    color: #fff;
    font-size: 20px;
    font-weight: var(--semibold);
}
.bento__label::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.bento__cta {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 10px;
    padding: 10px 20px;
    color: #000;
    font-weight: var(--regular);
    border-radius: 10px;
    background-color: #fff;
}
.bento__item:nth-child(1) .bento__label,
.bento__item:nth-child(5) .bento__label {
    width: 270px;
    font-size: 28px;
    line-height: 33px;
}

@media screen and (max-width: 1440px) {
    .bento__item:nth-child(4) {
        order: 1;
    }
    .bento__item:nth-child(5) {
        order: 0;
    }
    .bento__item:nth-child(6) {
        order: 2;
    }
}
@media screen and (max-width: 1110px) {
    .bento__item:nth-child(1),
    .bento__item:nth-child(5) {
        width: 100%;
        max-width: 740px;
    }
}
@media screen and (max-width: 768px) {
    .bento__item {
        width: 170px;
        height: 140px;
        row-gap: 5px;
    }
    .bento__cta {
        display: none;
    }
    .bento__discount,
    .bento__label {
        font-size: 11px;
    }
    .bento__label {
        width: 100%;
        max-width: 100px;
        margin-top: 0;
        margin-right: auto;
        line-height: 1.2;
    }
    .bento__content {
        padding: 0 5px 9px;
        justify-content: center;
        row-gap: 4px;
    }
    .bento__image {
        width: 118px;
        height: 75px;
    }
    .bento__item:nth-child(1),
    .bento__item:nth-child(5) {
        width: 350px;
        height: 140px;
    }
    .bento__item:nth-child(1) .bento__image,
    .bento__item:nth-child(5) .bento__image {
        width: 100%;
        max-width: 180px;
        height: 100%;
    }
    .bento__item:nth-child(1) .bento__label,
    .bento__item:nth-child(5) .bento__label {
        margin-top: unset;
        margin-right: unset;
        margin-left: 12px;
        width: fit-content;
        max-width: unset;
        font-size: 16px;
        line-height: 1.2;
    }
    .bento__item:nth-child(1) .bento__content,
    .bento__item:nth-child(5) .bento__content {
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        flex-direction: row-reverse;
    }
}