.product-preloader {
    display: none;
    position: static;
    margin-top: 10rem;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(255, 255, 255, 0.7);  */
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;
}



section.product-listing {
    margin-top: 7rem;
    padding: 2rem 0;
}

h3.product-section-title {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: bold;
    color: #003200;
}

.product-grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
    margin-bottom: 4rem;
}

.product-grid-item {
    background: #fff;
    padding: 1rem;
    border-radius: 1.25rem;
    box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    border: none !important;
    /* Ensures no borders including right */
}

.product-grid-item:hover {
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.2);
}

.product-grid-item img {
    max-width: 100%;
    height: auto;
    border-radius: 1.25rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.product-grid-item img:hover {
    transform: scale(1.05);
}

.product-title {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 8rem;
}

.product-title p {
    font-size: 1.8rem;
    margin-top: 1.5rem;
    font-weight: 600;
    color: #003200;
}

.product-price {
    margin-top: 0.5rem;
    font-size: 1.125rem;
}

.product-price .old-price {
    text-decoration: line-through;
    margin-left: 0.5rem;
}

.no-products-message {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .product-grid-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    h3.product-section-title {
        font-size: 3rem;
    }

    .product-grid-container {
        grid-template-columns: repeat(1, 1fr);
    }
}