/* Footer Ürün Galeri Stilleri */
.footer-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 15px;
}

.footer-product-item {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    transition: all 0.3s ease;
    background: #2a2a2a;
}

.footer-product-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.footer-product-link {
    display: block;
    position: relative;
    text-decoration: none;
}

.footer-product-image-wrapper {
    width: 100%;
    height: 60px;
    overflow: hidden;
    position: relative;
}

.footer-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.footer-product-item:hover .footer-product-image {
    transform: scale(1.1);
}

.footer-product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-product-item:hover .footer-product-overlay {
    opacity: 1;
}

.gdlr-core-image-overlay-icon {
    color: #ffffff;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-product-item:hover .gdlr-core-image-overlay-icon {
    transform: scale(1.2);
    color: #007bff;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .footer-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    
    .footer-product-image-wrapper {
        height: 50px;
    }
}

@media (max-width: 480px) {
    .footer-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 4px;
    }
    
    .footer-product-image-wrapper {
        height: 45px;
    }
}

/* Mevcut stilleri override et */
.gdlr-core-recent-portfolio-widget-wrap.footer-products-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
    margin-top: 15px !important;
}

.gdlr-core-recent-portfolio-widget.footer-product-item {
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    float: none !important;
    display: block !important;
}

.footer-product-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}
