.showcase-container {
    position: relative;
    padding: 60px 0;
    overflow: hidden;
}

.product-body {
    background-color: #f9f9f9;
    background-image: linear-gradient(135deg, #ffffff 25%, #ffff 25%, #f9f9f9 50%, #ffffff 50%, #ffffff 75%, #f9f9f9 75%, #f9f9f9);
    background-size: 20px 20px;
}

.background-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.4;
}

.background-circles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    opacity: 0.15;
}

.product-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    background: white;
    z-index: 1;
}

.product-card:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.2) 0%, rgba(23, 162, 184, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    border-radius: 16px;
}

.product-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.product-card:hover:before {
    opacity: 1;
}

.product-img-container {
    height: 220px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: var(--light-bg);
}

.product-img-background {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.product-img {
    max-height: 85%;
    max-width: 85%;
    object-fit: contain;
    position: relative;
    z-index: 2;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img {
    transform: scale(1.1);
}

.product-body {
    padding: 1.5rem;
    position: relative;
}

.product-title {
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 12px;
    font-size: 1.25rem;
    position: relative;
    display: inline-block;
}

.product-title:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
    border-radius: 2px;
}

.product-card:hover .product-title:after {
    width: 100%;
}

.product-desc {
    color: #6c757d;
    font-size: 0.95rem;
    margin-bottom: 20px;
    height: 60px;
    overflow: hidden;
    line-height: 1.5;
}

.price-container {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.price {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-right: 10px;
}

.price-currency {
    font-size: 1rem;
    font-weight: 400;
}

.badge-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
}

.badge-halal {
    background: linear-gradient(135deg, #17a2b8, #138496);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(23, 162, 184, 0.3);
    display: flex;
    align-items: center;
}

.badge-organic {
    background: linear-gradient(135deg, #28a745, #218838);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(40, 167, 69, 0.3);
    display: flex;
    align-items: center;
}

.badge-icon {
    margin-right: 5px;
    display: inline-block;
}

.product-showcase-heading {
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 50px;
    text-align: center;
    font-weight: 800;
    color: var(--dark-text);
    font-size: 2.5rem;
}

.product-showcase-heading:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    border-radius: 5px;
}

.product-showcase-subheading {
    text-align: center;
    color: #6c757d;
    margin-bottom: 40px;
    font-size: 1.1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Custom animated sparkle effect */
.sparkle {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: sparkle-animation 4s linear infinite;
    opacity: 0;
    z-index: 2;
}

@keyframes sparkle-animation {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        opacity: 0.8;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0);
    }
}

.wave-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23f9f9f9' fill-opacity='0.5' d='M0,224L48,213.3C96,203,192,181,288,181.3C384,181,480,203,576,202.7C672,203,768,181,864,170.7C960,160,1056,160,1152,170.7C1248,181,1344,203,1392,213.3L1440,224L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.7;
}

/* Animated label for new products */
.new-label {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(255, 107, 107, 0.4);
    z-index: 3;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--primary-color), var(--secondary-color));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}