.related-products-section {
    margin-top: 3rem;
    padding: 2rem 0;
    background: #fff;
    clear: both;
}

.related-products-header {
    margin-bottom: 15px;
    text-align: center;
    padding: 5px 10px;
}

.related-products-header h4 {
    font-size: 1.1rem;
    font-weight: 900;
    color: #232323;
    margin: 0;
    padding: 0;
    text-transform: uppercase;
    text-align: left;
    letter-spacing: 1px;
}

.related-products-container {
    width: 100vw;
    margin: 0;
    padding: 0;
    max-width: none;
    display: block;
    background: #ffffff;
    float: left;
}

.related-products-carousel {
    position: relative;
    display: block !important;
    width: 100%;
    z-index: 1;
}

.related-products-carousel .owl-stage-outer {
    position: relative;
    overflow: hidden;
    -webkit-transform: translate3d(0px, 0px, 0px);
}

.related-products-carousel .owl-stage {
    position: relative;
    touch-action: pan-Y;
    -moz-backface-visibility: hidden;
}

.related-products-carousel .owl-item {
    position: relative;
    min-height: 1px;
    float: left;
    backface-visibility: hidden;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

.related-products-carousel .item {
    padding: 0 0.5rem;
}

.related-products-carousel .product-miniature {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 0;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    padding: 10px !important;
}

.related-products-carousel .product-miniature:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.related-products-carousel .thumbnail-container {
    position: relative;
    margin-bottom: 0;
    text-align: center;
    background: #f8f8f8;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.related-products-carousel .product-thumbnail {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0;
}

.related-products-carousel .product-thumbnail img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    padding: 0;
}

.related-products-carousel .discount-percentage {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff6b6b;
    color: #fff;
    padding: 0.25rem 0.5rem;
    border-radius: 0;
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 1;
}

.related-products-carousel .product-description {
    padding: 20px 2px;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #fff;
    padding-bottom: 0;
}

.related-products-carousel .product-title {
    font-size: 1rem;
    margin: 0;
    line-height: 1.4;
    font-weight: 500;
    border: none;
}

.related-products-carousel .product-title a {
    color: #9c0000;
    text-decoration: none;
    font-size: 15px;
    margin-bottom: 10px;
    display: block;
}

.related-products-carousel .product-title a:hover {
    color: #000000;
}

.related-products-carousel .product-price-and-shipping {
    margin-top: auto;
    padding-top: 0;
    font-family: "Coda", "Helvetica", "Arial", "sans-serif";
    font-size: 13px;
    color: #000000;
}

.related-products-carousel .regular-price {
    display: block;
    color: #999;
    text-decoration: line-through;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.related-products-carousel .product-price {
    vertical-align: text-bottom;
    margin-left: 0;
    display: inline-block;
    font-weight: bold;
    color: #000000;
    font-size: 1rem;
    letter-spacing: 1px;
}

.related-products-carousel .owl-nav {
    position: relative;
    top: 120px;
    left: 0px;
    right: 0;
    transform: translateY(-50%);
    margin: 0;
    pointer-events: none;
    bottom: auto;
}

.related-products-carousel .owl-nav button {
    position: absolute;
    background: #313131 !important;
    color: #ffffff !important;
    width: 35px;
    height: 35px;
    border-radius: 0 !important;
    margin: 0;
    padding: 0 !important;
    line-height: 35px !important;
    text-align: center;
    pointer-events: auto;
    transition: all 0.3s ease;
}

.related-products-carousel .owl-nav button:hover {
    background: #9c0000 !important;
    color: #fff !important;
}

.related-products-carousel .owl-nav button.owl-prev {
    left: -50px;
}

.related-products-carousel .owl-nav button.owl-next {
    right: -50px;
}

.related-products-carousel .owl-dots {
    display: none !important;
}

.related-products-container {
    display: block;
    width: 100%;
    background: #ffffff;
    float: left;
    padding: 15px 15px;
    margin-top: 25px;
}
.related-products-container .owl-carousel .owl-nav button i {
    color: #ffffff;
    line-height: 25px;
    font-size: 25px;
    padding: 0;
    text-align: center;
}
.related-products-carousel .owl-nav button:hover i.material-icons {
    color: #ffffff;
}
.related-products-container h4.cod-name {
    float: left;
    text-transform: capitalize;
    width: 100%;
    text-align: left;
    font: 400 13px / 15px var(--secondary-font);
    color: #000000;
    margin: 0 0 5px;
    font-size: 11px;
    min-height: 10px;
}
.related-products-container .logo-marchio {
    max-width: 50px;
    margin: -10px 20px 10px 0;
    display: block;
}
.product-price-and-shipping span.price-request {
    font-weight: 500;
    font-size: 13px;
    padding: 0 2px;
    display: inline-block;
    color: #000000;
}
.related-products-carousel .product-price-and-shipping span.request-discount {
    vertical-align: text-bottom;
    margin-left: 0;
    display: inline-block;
    font-weight: bold;
    color: #000000;
    font-size: 1rem;
    letter-spacing: 1px;
}
.product-price-and-shipping span.available-grid {
    color: #006304;
    display: inline-block;
    margin-left: 10px;
    font-size: 11px;
}
.product-price-and-shipping span.available-grid {
    color: #006304;
    display: inline-block;
    margin-left: 10px;
    font-size: 13px;
}
.product-price-and-shipping span.available-grid i.material-icons {
    vertical-align: middle;
    margin-right: 5px;
    font-size: 13px;
    border-radius: 100%;
    margin-top: -3px;
}

@media (max-width: 767px) {
    .related-products-section {
        margin-top: 2rem;
        padding: 1.5rem 0;
    }

    .related-products-header {
        margin-bottom: 1.5rem;
    }

    .related-products-header h4 {
        font-size: 1.25rem;
    }

    .related-products-carousel .owl-nav button {
        width: 35px;
        height: 35px;
        line-height: 35px !important;
        font-size: 1.25rem !important;
    }

    .related-products-carousel .owl-nav button.owl-prev {
        left: -10px;
    }

    .related-products-carousel .owl-nav button.owl-next {
        right: -10px;
    }
} 