.product-section {
    padding: 10rem 0 8rem;
    margin: 0 auto;
    text-align: center;
    background-color: #fff;
}

.product-section .container {
    width: 90%;
}

.product-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3.5rem 3rem;
}

.product-card-wrapper {
    flex: 0 0 calc(25% - 4rem);
    box-sizing: border-box;
}

.product-card {
    background-color: #fff;
    border-bottom: .35rem solid #c50;
    border-radius: 5px;
    padding: 4rem 2rem;
    align-items: center;
    transition: transform 1s;
    box-shadow: 0 0 10px rgb(0 0 0 / 12%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;

}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, .15);
    border-bottom-width: .4rem;
}

.product-section h1 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 6rem;
    text-align: center;
}

.product-section h1::after {
    content: "";
    display: block;
    width: 35px;
    height: 4px;
    margin: .5rem auto 0;
    background-color: #cc5500;
}

.coming-soon-message {
    font-size: 2rem;
    height: 45vh;
    padding: 10rem 0;
}

.product-card img {
    width: 70px;
}

.product-card .prod-name {
    font-size: 1.75rem;
    font-weight: 600;
    margin-top: 1rem;
    color: #000000c7;
}

.prod-desc {
    font-size: 1.5rem;
    color: #333;
}

.prod-price {
    font-size: 1.6rem;
    color: #004188;
    margin-bottom: .7rem;
    font-weight: 600;
}

.subcategory-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin: 5rem 0 3rem;
}

.addCart-button {
    display: inline-block;
    padding: 7px 23px;
    border: none;
    border-radius: 50px;
    font-size: 1.4rem;
    background: linear-gradient(135deg, #0279d3 0, #61adf4 100%);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: transform .3s, box-shadow .3s;
    margin-top: 2rem;
}

/* Toast Container */
#toastContainer {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 99999;
}

/* Toast Box */
.toast-message {
    background: #fff;
    color: #333;
    padding: 14px 18px;
    margin-bottom: 10px;
    border-radius: 8px;
    font-size: 1.5rem;
    min-width: 250px;
    max-width: 300px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateX(120%);
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Show animation */
.toast-message.show {
    opacity: 1;
    transform: translateX(0);
}

/* Tick Style */
.toast-icon {
    font-size: 18px;
    font-weight: bold;
}

.category-menu {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 10px;
    padding: 10px 0px;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.category-menu::-webkit-scrollbar {
    display: none;
}

.category-btn {
    flex: 0 0 auto;
    white-space: nowrap;
    border: none;
    background: #f1f1f1;
    padding: 10px 18px;
    border-radius: 25px;
    cursor: pointer;
}

.category-btn.active {
    background: #0b95da;
    color: #fff;
}

/* ===== LOADER STYLES ===== */
#pageLoader {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #ffffff;
    top: 0;
    left: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Spinner */
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #ddd;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Animation */
@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* Fade out effect */
#pageLoader.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease;
}

@media (max-width: 1200px) {
    .product-card-wrapper {
        flex: 0 0 calc(33.33% - 4rem);
    }
}

@media (max-width: 992.98px) {
    .product-card-wrapper {
        flex: 0 0 calc(50% - 4rem);
    }
}

@media (max-width: 767.98px) {

    .product-card-wrapper {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .product-section .container {
        width: 80%;
    }

    .product-card {
        padding: 3rem 2rem;
    }

    .product-card-wrapper {
        flex: 0 0 100%;
    }
}