/* Latest Products Block */
.latest-products-block {
    padding: 60px 0;
    background: #fff;
}

.latest-products-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 200px;
}

.latest-products-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1e428b;
    text-align: left;
}

.latest-products-content {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
    text-align: left;
}

.latest-products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

/* Product Card */
.product-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-image {
    position: relative;
    /* background: #f5f5f5; */
    border-bottom: solid;
    border-bottom-width: 1px;
    border-bottom-color: #eeeeee;
    overflow: hidden;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.3s;
    padding: 20px;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    z-index: 1;
}

.product-badge.popular {
    background: #e74c3c;
    color: #fff;
}

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
    min-height: 42px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.product-title a:hover {
    color: #1e428b;
}

.product-price {
    font-size: 16px;
    font-weight: 700;
    color: #c92a2a;
    margin-bottom: 12px;
}

.product-price .amount,
.product-price .woocommerce-Price-amount {
    color: #c92a2a;
}

.product-price del {
    opacity: 0.6;
    font-size: 14px;
    margin-right: 8px;
}

.product-price ins {
    text-decoration: none;
}

.product-price .price-vat {
    font-size: 12px;
    font-weight: 400;
    color: #666;
}

.product-attributes {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.product-attributes li {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    line-height: 1.4;
}

.product-attributes strong {
    color: #333;
}

.product-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.btn-more-info,
.btn-call {
    flex: 1;
    padding: 12px 20px;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s;
    display: inline-block;
}

.btn-more-info {
    background: #1e428b;
    color: #fff;
}

.btn-more-info:hover {
    background: #163370;
}

.btn-call {
    background: #fff;
    color: #1e428b;
    border: 2px solid #1e428b;
}

.btn-call:hover {
    background: #1e428b;
    color: #fff;
}

.btn-call i {
    margin-right: 5px;
}

/* Responsive */
@media (max-width: 1400px) {
    .latest-products-container {
        padding-left: 60px;
        padding-right: 60px;
    }
}

@media (max-width: 1200px) {
    .latest-products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

@media (max-width: 1024px) {
    .latest-products-container {
        padding-left: 40px;
        padding-right: 40px;
    }
    
    .latest-products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .latest-products-title {
        font-size: 28px;
    }
    
    .latest-products-content {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .latest-products-container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .latest-products-grid {
        grid-template-columns: 1fr;
    }
    
    .latest-products-block {
        padding: 40px 0;
    }
    
    .latest-products-title {
        font-size: 24px;
    }
}
