/**
 * Recently Viewed Products by LARS - Styles v1.0.0
 */

/* ============================================
   SECTION CONTAINER
   ============================================ */
.lars-rvp-section {
    max-width: 1200px;
    margin: 30px auto 0;
    padding: 0 20px;
}
.lars-rvp-title {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin-bottom: 15px;
}

/* ============================================
   PRODUCT CARD (shared: carousel + grid)
   ============================================ */
.lars-rvp-carousel .splide__slide,
.lars-rvp-grid .lars-rvp-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px;
    background: #fff;
}
.lars-rvp-card-img img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    margin-bottom: 8px;
}
.lars-rvp-card-btn {
    display: block;
    background: #fa4f26;
    color: #fff !important;
    padding: 8px 16px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    transition: background 0.2s;
    margin-bottom: 10px;
}
.lars-rvp-card-btn:hover {
    background: #e0431d;
}
.lars-rvp-card-title {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.3;
    color: #000;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: left;
    width: 100%;
    margin-bottom: 4px;
}
.lars-rvp-card-title:hover {
    color: #fa4f26;
}
.lars-rvp-card-price {
    font-size: 16px;
    font-weight: 700;
    color: #e74c3c;
    margin-bottom: 6px;
}
.lars-rvp-card-price del {
    font-weight: 400;
    color: #999;
}
.lars-rvp-card-price ins {
    text-decoration: none;
}

/* ============================================
   GRID LAYOUT
   ============================================ */
.lars-rvp-grid {
    display: grid;
    gap: 20px;
}

/* ============================================
   CAROUSEL - Splide arrows
   ============================================ */
.lars-rvp-carousel.splide .splide__arrow {
    background: #fff !important;
    width: 35px !important;
    height: 35px !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12) !important;
    opacity: 1 !important;
}
.lars-rvp-carousel.splide .splide__arrow svg {
    width: 14px !important;
    height: 14px !important;
    fill: #333 !important;
}
.lars-rvp-carousel.splide .splide__arrow--prev {
    left: -40px !important;
}
.lars-rvp-carousel.splide .splide__arrow--next {
    right: -40px !important;
}
.lars-rvp-carousel.splide .splide__arrow--prev svg {
    transform: rotate(180deg) !important;
}
.lars-rvp-carousel.splide .splide__pagination {
    display: none;
}

/* ============================================
   DROPDOWN (for header)
   Horizontal band with image + price, like bebelogic.ro
   ============================================ */
.lars-rvp-dropdown {
    background: #fff;
    padding: 20px 30px;
    width: 100%;
    box-sizing: border-box;
}
.lars-rvp-empty {
    font-size: 13px;
    color: #999;
    text-align: center;
    margin: 10px 0;
}
.lars-rvp-dropdown-list {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.lars-rvp-dropdown-list::-webkit-scrollbar {
    height: 0;
}
.lars-rvp-dropdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    flex: 0 0 auto;
    width: 130px;
    transition: opacity 0.2s;
}
.lars-rvp-dropdown-item:hover {
    opacity: 0.8;
}
.lars-rvp-dropdown-img {
    display: block;
    width: 120px;
    height: 120px;
    margin-bottom: 6px;
}
.lars-rvp-dropdown-img img {
    width: 120px;
    height: 120px;
    object-fit: contain;
}
.lars-rvp-dropdown-price {
    font-size: 14px;
    font-weight: 700;
    color: #e74c3c;
    text-align: center;
}
.lars-rvp-dropdown-price del {
    font-weight: 400;
    color: #999;
    font-size: 12px;
}
.lars-rvp-dropdown-price ins {
    text-decoration: none;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991px) {
    .lars-rvp-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 480px) {
    .lars-rvp-grid {
        grid-template-columns: 1fr !important;
    }
    .lars-rvp-dropdown {
        min-width: 250px;
    }
}
