/* ============================================================
   Recently Viewed — Nemrég megtekintett termékek (carousel)
   Figma: 1048:15443
   ============================================================ */

/* ---- Heading ---- */
.rv-heading {
    font-family: "Oswald", sans-serif;
    font-weight: 600;
    color: #000;
    text-transform: uppercase;
    line-height: 1.1;
    letter-spacing: 0;
    margin-bottom: 0;
}

/* ---- Item ---- */
.rv-item {
    display: flex;
    flex-direction: column;
}

/* ---- Image ---- */
.rv-image-wrap {
    width: 100%;
    height: 350px;
    overflow: hidden;
    background: #f5f5f5;
}

.rv-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.rv-image-wrap:hover .rv-img {
    transform: scale(1.03);
}

/* ---- Info ---- */
.rv-info {
    display: flex;
    flex-direction: column;
}

.rv-name {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    color: #404040;
    line-height: 1.45;
    margin-bottom: 0;
}

/* ---- Price ---- */
.rv-price-row {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.rv-price {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    color: #000;
    line-height: 1.3;
}

.rv-price--sale {
    color: var(--quinary);
}

.rv-old-price {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    color: #aaa;
    text-decoration: line-through;
    text-decoration-color: #CACACA;
    text-decoration-thickness: 2px;
}

/* ---- Badge ikonok ---- */
.fw-product-badges {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: row;
    z-index: 2;
    pointer-events: none;
}

.fw-product-badge {
    width: 50px;
    height: 50px;
    display: block;
    object-fit: contain;
}

.fw-laminalt-label {
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    background: rgba(255,255,255,0.88);
    padding: 3px 8px;
    pointer-events: none;
    z-index: 2;
}

/* ---- Owl carousel overrides ---- */

/* Owl kezeli a szélességet */
.rv-carousel .owl-item .rv-item {
    flex: none;
    min-width: 0;
    max-width: 100%;
    width: 100%;
}

/* Nav mindig látható — Porto top:50%+transform reset, teljes carousel-re kiterjesztve */
.owl-carousel.rv-carousel .owl-nav,
.owl-carousel.rv-carousel .owl-nav.disabled {
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    transform: none !important;
    margin-top: 0 !important;
    width: 100% !important;
    pointer-events: none;
}

/* Owl Carousel nav nyilak — specificitás 0,3,1 > Porto .owl-theme .owl-nav [class*='owl-'] 0,3,0 */
.owl-carousel.rv-carousel .owl-nav button,
.owl-carousel.rv-carousel .owl-nav button.disabled {
    position: absolute !important;
    top: calc(350px / 2 - 22px);
    width: 45px;
    height: 45px;
    background-color: #000 !important;
    border: none !important;
    border-radius: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    transition: background-color 0.2s;
    pointer-events: auto;
}

/* Porto ::before ikon letiltása — csak a mi ::after ikonunk jelenjen meg */
.owl-carousel.rv-carousel .owl-nav button.owl-prev::before,
.owl-carousel.rv-carousel .owl-nav button.owl-next::before {
    content: none !important;
}

.owl-carousel.rv-carousel .owl-nav button:hover {
    background-color: var(--primary) !important;
}

/* FontAwesome 6 arrow ikonok */
.owl-carousel.rv-carousel .owl-nav button::after {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 14px;
    color: #fff;
    display: block;
    line-height: 1;
    width: auto;
    height: auto;
    border: none;
}

.owl-carousel.rv-carousel .owl-nav .owl-prev::after { content: '\f060'; }
.owl-carousel.rv-carousel .owl-nav .owl-next::after { content: '\f061'; }

.owl-carousel.rv-carousel .owl-nav .owl-prev { left: 0; }
.owl-carousel.rv-carousel .owl-nav .owl-next { right: 0; }

/* Owl dots */
.rv-carousel .owl-dots {
    margin-top: 24px;
    text-align: center;
}

.rv-carousel .owl-dots .owl-dot span {
    width: 8px;
    height: 8px;
    background-color: #ccc;
    border-radius: 50%;
    margin: 0 4px;
    transition: background-color 0.2s;
}

.rv-carousel .owl-dots .owl-dot.active span,
.rv-carousel .owl-dots .owl-dot:hover span {
    background-color: var(--primary);
}

