/* Products Page Styling */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-content {
    padding: 25px;
}

.product-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.product-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.product-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-title-section {
    flex: 1;
}

.product-title {
    font-size: 20px;
    font-weight: 600;
    color: #1A4D3E;
    margin: 0 0 5px 0;
    line-height: 1.3;
}

.product-category {
    font-size: 12px;
    font-weight: 600;
    color: #28a745;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-description {
    color: #6c757d;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.key-features {
    margin-bottom: 20px;
}

.key-features h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1A4D3E;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.key-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.key-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #495057;
    margin-bottom: 6px;
}

.key-features li i {
    color: #28a745;
    font-size: 12px;
    flex-shrink: 0;
}

.applications {
    margin-bottom: 25px;
}

.applications h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1A4D3E;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.app-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.app-tag {
    background: #f8f9fa;
    color: #495057;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid #e9ecef;
    transition: all 0.2s ease;
}

.app-tag:hover {
    background: #28a745;
    color: #fff;
    border-color: #28a745;
}

.product-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-primary {
    background: #28a745;
    color: #fff;
    padding: 10px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    flex: 1;
    justify-content: center;
}

.btn-primary:hover {
    background: #218838;
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

.btn-primary i {
    font-size: 12px;
}

.btn-secondary {
    background: transparent;
    color: #495057;
    padding: 10px 16px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    flex: 1;
    justify-content: center;
}

.btn-secondary:hover {
    background: #f8f9fa;
    color: #495057;
    text-decoration: none;
    border-color: #adb5bd;
}

.btn-secondary i {
    font-size: 12px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-content {
        padding: 20px;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .product-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .product-icon {
        width: 35px;
        height: 35px;
    }
    
    .product-title {
        font-size: 18px;
    }
}
