/*================================================================================
  PAGE: You may like carousel
  TEMPLATE: templates/includes/you_may_like_carousel.html
  FILE: core/static/css/components/you-may-like.css
  LOADED BY: include
  Edit THIS file (not collected /static/). Then collectstatic in production.
================================================================================*/

.you-may-like-strip .home-insights-title {
    text-align: left;
    color: #183838;
    font-size: 1.45rem;
    font-weight: 700;
    margin: 0 0 1rem;
}
.you-may-like-strip .review-slider {
    position: relative;
    padding: 0 2.2rem;
    overflow: visible;
}
.you-may-like-strip .review-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}
.you-may-like-strip .review-viewport::-webkit-scrollbar {
    display: none;
}
.you-may-like-strip .review-track {
    display: inline-flex;
    flex-wrap: nowrap;
    gap: 8px;
    min-width: max-content;
    align-items: stretch;
}
.you-may-like-strip .review-slide {
    display: flex;
    flex-direction: column;
    min-width: 230px;
    width: 230px;
    flex: 0 0 230px;
    background: #f7fbfb;
    border: 1px solid #cfe3e3;
    border-radius: 10%;
    min-height: 170px;
    padding: 12px;
    overflow: hidden;
}
.you-may-like-strip .review-slide:hover {
    box-shadow: 0 8px 16px rgba(0, 76, 76, 0.12);
}
.you-may-like-strip .may-like-media {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    background: #f5f8f8;
    border-radius: 8px;
    overflow: hidden;
}
.you-may-like-strip .may-like-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}
.you-may-like-strip .may-like-body {
    padding: 6px 0 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}
.you-may-like-strip .may-like-name {
    display: block;
    color: #173434;
    font-size: 0.9rem;
    line-height: 1.25;
    margin: 0;
    white-space: normal;
}
.you-may-like-strip .may-like-price {
    font-size: 0.92rem;
    color: #0d2c2c;
    font-weight: 700;
    white-space: normal;
}
.you-may-like-strip .may-like-compare {
    color: #859696;
    display: inline-block;
    text-decoration-line: line-through !important;
    text-decoration-thickness: 1.5px;
    font-size: 0.76rem;
    margin-right: 6px;
}
.you-may-like-strip .review-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: #0f5757;
    color: #fff;
    font-size: 1.45rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}
.you-may-like-strip .review-nav:disabled {
    opacity: .4;
    cursor: not-allowed;
}
.you-may-like-strip .review-nav:not(:disabled):hover {
    background: #0a4747;
}
.you-may-like-strip .review-slider > .review-nav:first-child {
    left: -18px;
}
.you-may-like-strip .review-slider > .review-nav:last-child {
    right: -18px;
}
@media (max-width: 700px) {
    .you-may-like-strip .review-slider {
        padding: 0 2.2rem;
    }
    .you-may-like-strip .review-slide {
        min-width: 180px;
        width: 180px;
        flex-basis: 180px;
    }
    .you-may-like-strip .may-like-media {
        aspect-ratio: 3 / 4;
    }
    .you-may-like-strip .review-slider > .review-nav:first-child {
        left: -10px;
    }
    .you-may-like-strip .review-slider > .review-nav:last-child {
        right: -10px;
    }
}
