/* Swiper prodotti correlati - Tenute Oliveto */
.related-products-section {
    padding: 58px 0 48px;
    background: #fff;
    overflow: hidden;
}

.related-products-section--vino {
    background: #f7f4ee;
}

.related-products-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 26px;
}

.related-products-kicker {
    display: block;
    margin-bottom: 7px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #69755f;
}

.related-products-heading h2 {
    margin: 0 0 8px;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.05;
    font-weight: 600;
}

.related-products-heading p {
    max-width: 660px;
    margin: 0;
    color: #6a6a66;
    line-height: 1.65;
}

.related-products-nav {
    gap: 8px;
    flex: 0 0 auto;
}

.related-swiper-prev,
.related-swiper-next {
    width: 43px;
    height: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(35, 47, 31, .18);
    border-radius: 50%;
    background: transparent;
    color: #263421;
    transition: .2s ease;
}

.related-swiper-prev:hover,
.related-swiper-next:hover {
    background: #263421;
    color: #fff;
}

.related-products-swiper {
    overflow: visible;
    padding-bottom: 38px;
}

.related-product-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(44, 57, 39, .11);
    border-radius: 18px;
    background: rgba(255,255,255,.72);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.related-product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(44, 57, 39, .22);
    box-shadow: 0 18px 45px rgba(37, 45, 31, .09);
}

.related-product-media {
    height: 290px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
    background: transparent !important;
    overflow: hidden;
}

.related-product-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: transparent !important;
    /* Se il file ha fondo bianco incorporato, il bianco si fonde col fondo della card. */
    mix-blend-mode: multiply;
    transition: transform .35s ease;
}

.related-product-card:hover .related-product-media img {
    transform: scale(1.035);
}

.related-product-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px 22px 22px;
    border-top: 1px solid rgba(44, 57, 39, .08);
}

.related-product-type {
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
    color: #76816f;
}

.related-product-body h3 {
    margin: 0 0 16px;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 600;
}

.related-product-body h3 a {
    color: #263421;
    text-decoration: none;
}

.related-product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid rgba(44, 57, 39, .08);
}

.related-product-meta span {
    font-size: 13px;
    color: #7a7a74;
}

.related-product-meta strong {
    font-size: 18px;
    color: #263421;
}

.related-product-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    font-size: 13px;
    font-weight: 700;
    color: #526147;
    text-decoration: none;
}

.related-product-link i {
    font-size: 11px;
    transition: transform .2s ease;
}

.related-product-link:hover i {
    transform: translateX(4px);
}

.related-products-swiper .swiper-pagination {
    bottom: 5px;
}

.related-products-swiper .swiper-pagination-bullet {
    width: 7px;
    height: 7px;
    background: #7c8974;
    opacity: .35;
}

.related-products-swiper .swiper-pagination-bullet-active {
    width: 20px;
    border-radius: 999px;
    opacity: 1;
}

@media (max-width: 767.98px) {
    .related-products-section {
        padding: 42px 0 34px;
    }

    .related-products-heading {
        margin-bottom: 20px;
    }

    .related-products-heading p {
        font-size: 14px;
    }

    .related-product-media {
        height: 245px;
        padding: 18px;
    }

    .related-product-body {
        padding: 17px 18px 19px;
    }
}
