.recommendation-widget {
    position: relative;
}

.recommendation-widget-title {
    position: relative;
    margin-top: 16px;
    margin-bottom: 16px;
    padding: 15px;
    background: var(--green-color);
    font-size: 16px;
    text-align: left;
    color: #fff;
}

.recommendation-widget-title text ul {
    border-radius: 1px;
    background: var(--background-color);
    color: #95aaaf;
    padding: 5px 5px 0 24px;
    opacity: 0;
    pointer-events: none;
    transition: 0.5s;
    z-index: 1;
    font-size: 11px;
    position: absolute;
    width: 220px;
    left: 80px;
    top: 0;
}

.recommendation-widget-title text:hover ul {
    opacity: 1;
}

.recommendation-widget-list {
    max-width: 900px;
    overflow-x: auto;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}

.basket-container .recommendation-widget-list {
    max-width: 630px;
}

.recommendation-widget-item {
    max-width: 130px;
    background: #fff;
    padding: 15px;
    display: flex;
    flex-direction: column;
    margin-right: 15px;
}

.recommendation-widget-item[hide] {
    display: none;
}

.recommendation-widget-description {
    margin-bottom: 10px;
    font-size: 14px;
    height: 40px;
    line-height: 20px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
}

.recommendation-widget-price {
    margin: 20px auto 0;
}

.recommendation-widget-button {
    background: var(--green-color);
    color: white;
    text-align: center;
    width: 134px;
    height: 30px;
    padding: 6px 0;
    margin: 0 auto;
    font-size: 16px;
    line-height: 20px;
    cursor: pointer;
    box-sizing: border-box;
}

.recommendation-widget-button:before {
    content: '' !important;
}

.recommendation-widget-image {
    height: 130px;
}

.recommendation-widget-image-picture {
    display: block;
}

.recommendation-widget[right]:hover:after,
.recommendation-widget[left]:hover:before {
    opacity: 1;
}

.recommendation-widget-arrow-right[show]:before,
.recommendation-widget-arrow-left[show]:before {
    width: 40px;
    height: 30px;
    background-color: var(--footer-color);
    border-radius: 2px;
    opacity: 0.5;
    top: 18%;
    z-index: 1;
    position: absolute;
}

.recommendation-widget-arrow-right[show]:before {
    content: '';
    background: url(/public/img/main-banner-arrow.svg) center no-repeat;
    right: 10px;
}

.recommendation-widget-arrow-left[show]:before {
    content: '';
    background: url(/public/img/main-banner-arrow.svg) center no-repeat;
    transform: rotate(180deg);
    left: 10px;
}

.recommendation-widget-arrow-right[show]:hover:before,
.recommendation-widget-arrow-left[show]:hover:before {
    opacity: 1;
    cursor: pointer;
    background-color: var(--footer-color);
}

.recommendation-widget-arrow-left {
    position: absolute;
    left: 0;
    top: 18%;
}

.recommendation-widget-arrow-right {
    position: absolute;
    right: 0;
    top: 18%;
}

.recommendation-widget-list::-webkit-scrollbar {
    width: 4px;
    height: 8px;
}

.recommendation-widget-list::-webkit-scrollbar-thumb {
    background-color: var(--green-color);
    border-radius: 2px;
}

.recommendation-widget-list::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgb(0 0 0 / 30%);
    border-radius: 4px;
}

.recommendation-widget-image .image-link img {
    width: 100%;
    height: 100%;
}

@media (max-width: 600px) {
    .recommendation-widget-price {
        margin-bottom: 20px;
    }
}
