/* ============================================================
   Relatedproducts1 — Kapcsolódó termékek (carousel)
   Figma: 465:22985 — "EZEKRE IS SZÜKSÉGED LEHET"
   ============================================================ */

.fw-related1-section {
    padding: clamp(40px, 5vw, 80px) clamp(24px, 6.25vw, 100px) clamp(60px, 6vw, 96px);
}

.fw-related1-heading {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: clamp(32px, 4.95vw, 79px);
    line-height: 1.1;
    text-transform: uppercase;
    color: #000;
    margin-bottom: 32px;
}

/* Kártya */
.fw-related1-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: inherit;
}

.fw-related1-card:hover {
    color: inherit;
}

/* Képkeret — fix magasság carousel-ben */
.fw-related1-img-wrap {
    height: 340px;
    overflow: hidden;
    background-color: #f5f5f5;
}

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

.fw-related1-card:hover .fw-related1-img {
    transform: scale(1.04);
}

/* Terméknév */
.fw-related1-name {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #404040;
    margin: 0;
    line-height: 1.4;
}

/* Ár */
.fw-related1-price {
    font-family: 'Poppins', sans-serif;
    font-size: 30.8px;
    font-weight: 700;
    color: #000;
    margin: 0;
    line-height: 1.3;
}

/* Owl Carousel nav nyilak */
.fw-related1-carousel .owl-nav button {
    position: absolute;
    top: calc(340px / 2 - 20px);
    width: 40px;
    height: 40px;
    background-color: #fff !important;
    border: 1px solid #ddd !important;
    border-radius: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s, border-color 0.2s;
}

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

.fw-related1-carousel .owl-nav button:hover span {
    color: #fff;
}

.fw-related1-carousel .owl-nav button span {
    font-size: 20px;
    line-height: 1;
    color: #333;
}

.fw-related1-carousel .owl-nav .owl-prev { left: -20px; }
.fw-related1-carousel .owl-nav .owl-next { right: -20px; }

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

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

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

/* Tablet (3 elem) */
@media (max-width: 1199px) {
    .fw-related1-img-wrap {
        height: 280px;
    }

    .fw-related1-carousel .owl-nav button {
        top: calc(280px / 2 - 20px);
    }
}

/* Mobil (1-2 elem) */
@media (max-width: 575px) {
    .fw-related1-img-wrap {
        height: 240px;
    }

    .fw-related1-carousel .owl-nav button {
        top: calc(240px / 2 - 20px);
    }
}
