/* Custom CSS for Product Cards */
.products-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.product-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.product-card .product-image img {
    transition: transform 0.3s ease-in-out;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-content {
    padding: 15px;
    text-align: center;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 10px;
    text-decoration: none;
}

.product-title:hover {
    color: #007bff;
}

.product-price {
    font-size: 1.1rem;
    font-weight: bold;
    color: #dfb005ff;
    margin: 5px 0;
}

.old-price {
    font-size: 0.9rem;
    color: #999;
    text-decoration: line-through;
    margin: 5px 0;
}

.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 10px;
}

.badge {
    display: inline-block;
    padding: 4px 8px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #fff;
    border-radius: 12px;
    line-height: 1;
}

.badge-category {
    background-color: #007bff;
}

.badge-subcategory {
    background-color: #6c757d;
}

.badge-quality {
    background-color: #dc3545;
}

.badge-hot {
    background-color: #fc0;
    color: #000;
}

.btn-buy {
    display: inline-block;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #fff;
    background-color: #dc7633;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-buy:hover {
    background-color: #d35400;
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .product-title {
        font-size: 1.1rem;
    }

    .product-image {
        /* height: 150px; */
    }
}

/* counter area */
.counter-area {
    background: linear-gradient(135deg, #f0f4ff 0%, #dbe9f4 50%, #f7faff 100%);
    color: #333;
}

.counter-another-content {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: 0.3s ease;
}

.counter-another-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.counter-another-content i {
    font-size: 36px;
    color: #4e73df;
    margin-bottom: 15px;
}

.counter-another-content h3 {
    font-size: 28px;
    margin-bottom: 5px;
    font-weight: 700;
}

.counter-another-content span {
    font-size: 15px;
    color: #777;
}

/* Newsletter Section */
.newsletter-area {
    background: #f8f9fa;
    padding: 60px 0;
    text-align: center;
}

.newsletter-area .section-title h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.newsletter-area .section-title p {
    max-width: 600px;
    margin: 0 auto 20px;
    color: #555;
}

.newsletter {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
}

.newsletter input[type="email"] {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.newsletter button {
    padding: 12px 20px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.newsletter button:hover {
    background: #0056b3;
}

@media (max-width: 576px) {
    .newsletter {
        flex-direction: column;
    }

    .newsletter button {
        width: 100%;
    }
}

.customer-reviews-area {
    background: linear-gradient(135deg, #f0f4ff 0%, #dbe9f4 50%, #f7faff 100%);
    color: #333;
}
