/* ===== GRID DE PRODUTOS RECENTES ===== */
.recent-products-wrapper {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
}

.recent-products-wrapper .products-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Card do Produto */
.recent-products-wrapper .product-card {
    background: white !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    flex-direction: column !important;
    list-style: none !important;
}

.recent-products-wrapper .product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: #05307A;
}

.recent-products-wrapper .product-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Imagem do Produto */
.recent-products-wrapper .product-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: #ffffff; /* Alterado para branco */
    display: block;
    text-decoration: none;
}

.recent-products-wrapper .product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.recent-products-wrapper .product-card:hover .product-image img {
    transform: scale(1.05);
}

/* Badges */
.recent-products-wrapper .product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}

.recent-products-wrapper .badge {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.recent-products-wrapper .badge-sale {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

/* Info do Produto */
.recent-products-wrapper .product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    text-align: center;
    align-items: center;
}

.recent-products-wrapper .product-category {
    display: none !important;
}

.recent-products-wrapper .product-title {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.recent-products-wrapper .product-title a {
    color: #111827;
    text-decoration: none;
    transition: color 0.2s;
}

.recent-products-wrapper .product-title a:hover {
    color: #05307A;
}

.recent-products-wrapper .product-price {
    font-size: 20px;
    font-weight: 700;
    color: #05307A;
    margin-top: auto;
}

.recent-products-wrapper .product-price del {
    font-size: 16px;
    color: #9ca3af;
    font-weight: 500;
}

.recent-products-wrapper .product-price ins {
    text-decoration: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .recent-products-wrapper .products-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 20px !important;
    }
}

@media (max-width: 992px) {
    .recent-products-wrapper .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
}

@media (max-width: 768px) {
    .recent-products-wrapper {
        padding: 0 15px;
    }
    
    .recent-products-wrapper .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    
    .recent-products-wrapper .product-title {
        font-size: 14px;
    }
    
    .recent-products-wrapper .product-price {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .recent-products-wrapper .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    
    .recent-products-wrapper .product-info {
        padding: 16px;
    }
}
