/* Product Cards Styles */
.products-section {
    padding: 2rem 0;
}

.store-btn {
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.product-header {
    position: relative;
    padding: 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo-small {
    height: 30px;
    width: auto;
}

.verified-badge {
    background: #28a745;
    color: white;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.product-image {
    padding: 1.5rem;
    background: #f8f9fa;
    text-align: center;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tank-image {
    max-width: 100%;
    max-height: 200px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card:hover .tank-image {
    transform: scale(1.05);
}

.product-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.product-price {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 0.75rem;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border-radius: 8px;
    color: white;
}

.price-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0.25rem;
}

.currency {
    font-size: 1rem;
    font-weight: 500;
}

.product-specs {
    padding-inline-start: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.spec-label {
    font-weight: 500;
    color: #495057;
    flex: 1;
}

.spec-value {
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0.5rem;
}

.spec-unit {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-card {
        margin-bottom: 1.5rem;
    }
    
    .product-title {
        font-size: 1rem;
    }
    
    .price-value {
        font-size: 1.3rem;
    }
    
    .spec-item {
        flex-direction: column;
        text-align: center;
        gap: 0.25rem;
    }
    
    .spec-label {
        margin-bottom: 0.25rem;
    }
}

@media (max-width: 576px) {
    .products-section {
        padding: 1rem 0;
    }
    
    .product-content {
        padding: 1rem;
    }
    
    .product-image {
        padding: 1rem;
    }
    
    .tank-image {
        max-height: 150px;
    }
}

/* RTL Support */
[dir="rtl"] .product-card {
    text-align: right;
}

[dir="rtl"] .spec-item {
    border-left: none;
    border-right: 3px solid #007bff;
}

[dir="rtl"] .product-header {
    flex-direction: row-reverse;
}

/* Animation for loading */
.product-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
