﻿body {
    font-family: 'Poppins', sans-serif;
    background: var(--background);
}

a {
    text-decoration: none;
    color: inherit;
}
/* Product Card */
.product-card {
    background: linear-gradient(135deg, var(--primary-dark), var(--accent-blue));
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 8px var(--shadow);
    position: relative;
    overflow: hidden;
    color: white;
}
    /* Icon Overlay as Background */
    .product-card::after {
        content: "\f07a"; /* Default to shopping-basket */
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 8rem;
        color: rgba(255, 255, 255, 0.15);
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(1);
        z-index: 0;
        transition: transform 0.3s ease;
    }

    .product-card[data-icon="fa-shopping-basket"]::after {
        content: "\f07a";
    }

    .product-card[data-icon="fa-mobile-alt"]::after {
        content: "\f3cd";
    }

    .product-card[data-icon="fa-tshirt"]::after {
        content: "\f553";
    }

    .product-card[data-icon="fa-shoe-prints"]::after {
        content: "\f54b";
    }

    .product-card[data-icon="fa-soap"]::after {
        content: "\e06e";
    }

    .product-card[data-icon="fa-blender"]::after {
        content: "\f517";
    }

    .product-card[data-icon="fa-home"]::after {
        content: "\f015";
    }

    .product-card:hover::after {
        transform: translate(-50%, -50%) scale(1.1);
    }

    .product-card > * {
        position: relative;
        z-index: 1;
    }

    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 12px rgba(0, 58, 128, 0.2);
    }

    .product-card h4 {
        font-size: 1.5rem;
        font-weight: 600;
        color: var(--text-light);
        margin-bottom: 12px;
        text-transform: capitalize;
    }

    .product-card p {
        font-size: 0.9rem;
        color: var(--text-light);
        margin-bottom: 15px;
        line-height: 1.5;
        opacity: 0.95;
    }

    .product-card .cta {
        display: inline-block;
        padding: 8px 20px;
        background: var(--accent-orange);
        color: var(--text-light);
        border-radius: 25px;
        font-size: 0.9rem;
        font-weight: 500;
        transition: background 0.3s ease, transform 0.3s ease;
    }

        .product-card .cta:hover {
            background: var(--accent-blue);
            transform: scale(1.05);
        }
/* Responsive Design */
@media (max-width: 992px) {
    .product-card {
        min-height: 260px;
        padding: 15px;
    }

        .product-card h4 {
            font-size: 1.4rem;
        }

        .product-card p {
            font-size: 0.85rem;
        }

        .product-card .cta {
            padding: 7px 18px;
            font-size: 0.85rem;
        }

        .product-card::after {
            font-size: 7rem;
        }
}

@media (max-width: 576px) {
    .product-card {
        min-height: 240px;
        padding: 12px;
    }

        .product-card h4 {
            font-size: 1.3rem;
        }

        .product-card p {
            font-size: 0.8rem;
        }

        .product-card .cta {
            padding: 6px 15px;
            font-size: 0.8rem;
        }

        .product-card::after {
            font-size: 6rem;
        }
}
