/**
 * Related Products Widget Styles
 */

.related-products__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.related-products__item {
    display: block;
    background-color: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
}

.related-products__item:hover {
    text-decoration: none;
}

.related-products__image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.related-products__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.related-products__image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.related-products__item:hover .related-products__image::after {
    opacity: 1;
}

.related-products__item:hover .related-products__image img {
    transform: scale(1.1);
}

.related-products__content {
    padding: 15px;
    background-color: transparent;
}

.related-products__title {
    margin: 0 0 8px 0;
    font-size: 14px;
    font-weight: 700;
    color: #f7941d;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.related-products__desc {
    margin: 0;
    font-size: 14px;
    color: #666666;
    line-height: 1.5;
    transition: color 0.3s ease;
}
