.rv3-wrapper .owl-nav,
.rv3-wrapper .owl-dots {
    display: none !important;
}

.rv3-wrapper {
    position: relative;
    background: #fff;
    padding: 16px 20px 20px;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.rv3-wrapper .rv3-heading {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: #333;
}

.rv3-wrapper .rv3-clear {
    position: absolute;
    top: 16px;
    right: 20px;
    color: var(--rv3-clear);
    cursor: pointer;
    font-size: 13px;
    transition: color 0.2s;
}

.rv3-wrapper .rv3-clear:hover {
    color: #666;
}

.rv3-track {
    position: relative;
}

.rv3-list {
    margin-top: 16px;
}

.rv3-item {
    position: relative;
    display: flex;
    align-items: stretch;
    border: 1px solid var(--rv3-border);
    border-radius: 6px;
    background: #fff;
    padding: 10px;
    overflow: hidden;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.rv3-item:hover {
    border-color: #ddd;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.rv3-link {
    display: block;
    width: 100%;
    text-decoration: none;
}

.rv3-content {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.rv3-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    min-width: 0;
    padding-right: 24px;
}

.rv3-title {
    color: var(--rv3-title);
    font-weight: 500;
    line-height: 1.4;
    font-size: 13px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin: 0 0 4px;
}

.rv3-price {
    color: var(--rv3-price);
    font-weight: 700;
    font-size: 14px;
    margin: 0;
    white-space: nowrap;
}

.rv3-price del {
    color: #999;
    font-weight: 400;
    font-size: 12px;
    margin-right: 4px;
}

.rv3-price ins {
    text-decoration: none;
}

.rv3-wrapper .owl-item .rv3-item img,
.rv3-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    flex-shrink: 0;
    background: #fafafa;
    border-radius: 4px;
}

.rv3-close {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 18px;
    height: 18px;
    line-height: 16px;
    text-align: center;
    background: rgba(0, 0, 0, 0.08);
    color: #666;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    opacity: 0.6;
}

.rv3-item:hover .rv3-close {
    opacity: 1;
}

.rv3-close:hover {
    background: #ee4d2d;
    color: #fff;
    opacity: 1;
}

/* Navigation arrows */
.rv3-track .rv3-prev,
.rv3-track .rv3-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: var(--rv3-nav-size);
    height: var(--rv3-nav-size);
    background: var(--rv3-nav-bg);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    transition: all 0.2s;
    opacity: 0.9;
}

.rv3-track .rv3-prev:hover,
.rv3-track .rv3-next:hover {
    background: var(--rv3-nav-bg-hover);
    opacity: 1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.rv3-track .rv3-prev {
    left: -6px;
}

.rv3-track .rv3-next {
    right: -6px;
}

.rv3-track .rv3-prev::before,
.rv3-track .rv3-next::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 55%;
    width: 8px;
    height: 8px;
    border-top: 2px solid var(--rv3-arrow);
    border-left: 2px solid var(--rv3-arrow);
    transform: translate(-50%, -50%) rotate(-45deg);
}

.rv3-track .rv3-next::before {
    left: 45%;
    transform: translate(-50%, -50%) rotate(135deg);
}

/* Smart arrows - hidden state */
.rv3-track .rv3-prev.rv3-hidden,
.rv3-track .rv3-next.rv3-hidden {
    opacity: 0 !important;
    pointer-events: none;
    visibility: hidden;
}

/* Fallback scroll ngang */
.rv3-wrapper .rv3-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.rv3-wrapper .rv3-scroll::-webkit-scrollbar {
    display: none;
}

.rv3-wrapper .rv3-scroll .rv3-item {
    flex: 0 0 auto;
    scroll-snap-align: start;
    width: calc(25% - 9px);
}

.rv3-wrapper.rv3-fallback .rv3-prev,
.rv3-wrapper.rv3-fallback .rv3-next {
    display: block;
}

/* FOUC prevention */
.rv3-wrapper .owl-carousel:not(.owl-loaded) .rv3-item {
    display: none;
}

.rv3-wrapper .owl-carousel:not(.owl-loaded) .rv3-item:first-child {
    display: flex;
}

@media (max-width:1023.98px) {
    .rv3-wrapper .rv3-scroll .rv3-item {
        width: calc(50% - 6px);
    }
}

@media (max-width:767.98px) {
    .rv3-wrapper {
        padding: 12px 14px 16px;
    }

    .rv3-wrapper .rv3-heading {
        font-size: 16px;
    }

    .rv3-track .rv3-prev,
    .rv3-track .rv3-next {
        width: calc(var(--rv3-nav-size) - 4px);
        height: calc(var(--rv3-nav-size) - 4px);
    }

    .rv3-track .rv3-prev {
        left: -4px;
    }

    .rv3-track .rv3-next {
        right: -4px;
    }

    .rv3-wrapper .rv3-scroll .rv3-item {
        width: calc(100% - 4px);
    }
}
