﻿
.content-box {
    background: rgba(0, 102, 204, 0.2);
    color: black;
    padding: 40px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

/* Product Cards */
.product-section {
    margin: 40px 0;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.product-card {
    background: rgba(0, 102, 204, 0.2); /* Darker blue - similar to image */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        background: rgba(220, 240, 255, 0.5); /* Lighter blue on hover */
    }

.product-image-wrapper {
    width: 100%;
    height: 250px;
    background: rgba(0, 0, 0, 0.1); /* Semi-transparent dark background */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: transparent; /* Let card background show through */
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 48px;
}

.product-price {
    font-size: 20px;
    font-weight: 700;
    color: #0066cc; /* Darker blue for better contrast */
    margin-bottom: 10px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
}

.stars {
    color: #ffa500;
    font-size: 14px;
}

.rating-count {
    font-size: 12px;
    color: #666;
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #28a745;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

    .product-badge.popular {
        background: #ffc107;
        color: #333;
    }

.product-link {
    text-decoration: none;
    color: inherit;
    height: 100%;
    display: block;
}

    .product-link:hover {
        text-decoration: none;
        color: inherit;
    }

.view-all-btn {
    text-align: center;
    margin-top: 20px;
}

.btn-view-all {
    display: inline-block;
    padding: 12px 32px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

    .btn-view-all:hover {
        background: #0056b3;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
        text-decoration: none;
        color: white;
    }

.category-header {
    color: #2eb89c;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 50px;
    margin-top: 30px;
}

.row {
    flex-wrap: wrap;
}

.category-item {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.category-image-large {
    width: 350px;
    height: 350px;
    object-fit: contain;
}

.category-item:hover {
    transform: translateY(-5px);
}

.category-image-container {
    background: rgba(0, 102, 204, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    height: 300px;
    width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.category-image {
    width: 270px;
    height: 270px;
    object-fit: contain;
}

.category-name {
    color: black;
    font-size: 16px;
    font-weight: 500;
}

