body {
    background-color: #f4f7fe;
}

.section-storewidget .card-content .card img {
    width: 100%;
    height: 250px;
    border-radius: 12px;
}

.section-storewidget .card-content .card {
    padding: 25px;
    background-color: #fff;
    border-radius: 12px;
    height:fit-content !important;
}

.section-storewidget h1 {
    display: flex;
    gap: 10px;
    font-size: 22px;
    line-height: 1.25;
    align-items: center;
    margin: 0;
    font-weight: 700;
    color: #272727;
    padding-top: 40px;
    padding-bottom: 30px;
}

.section-storewidget .card-content .card-body h5 {
    color: #00587A;
    font-size: 23px;
    font-weight: 500;
}

.section-storewidget .card-content .card-body p {
    color: #a3aed0;
    font-size: 18px;
    font-weight: 400;
}

.section-storewidget .category-buttons {
    display: flex;
    justify-content: start;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 5px;
    padding-bottom: 20px;
}

.section-storewidget .category-buttons .custom-btn { white-space: nowrap; font-weight: 500; line-height: 1.25; gap: 10px; align-items: center; text-transform: uppercase; display: flex; width: fit-content; color: #fff; font-size: 16px; padding: 16px 38px; border-radius: 12px; background-color: #00587A; transition: all 0.5s ease; -webkit-transition: all 0.5s ease; }
.section-storewidget .category-buttons .custom-btn.active,
.section-storewidget .category-buttons .custom-btn:hover,
.store-custom:hover { color: #00587A; background-color: #ffc107; }
.store-custom { line-height: 1.25; gap: 10px; align-items: center; text-transform: uppercase; display: flex; width: fit-content; margin: auto; color: #fff; font-size: 16px; padding: 16px 38px; border-radius: 50px; background-color: #00587A; transition: all 0.5s ease; -webkit-transition: all 0.5s ease; }
.section-storewidget .category-buttons .custom-btn { min-width: 180px; justify-content: center; } 

.card-img-top {
    object-fit: cover;
}

#global-loader {
    position: fixed;
    z-index: 50000;
    background: #fff;
    inset-inline-start: 0;
    top: 0;
    inset-inline-end: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.loader-img {
    position: absolute;
    inset-inline-end: 0;
    bottom: 0;
    top: 43%;
    inset-inline-start: 0;
    margin: 0 auto;
    text-align: center;
}

.product-card {
    position: relative; /* Ensure the parent div is positioned relatively */
}

.remove-cart {
    position: absolute;
    top: 0px; /* Adjust this value to align vertically */
    right: 0px; /* Adjust this value to align horizontally */
    color: white; /* White color for the 'X' */
    border: none; /* Remove default button border */
    padding: 5px; /* Add padding to make it larger */
    border-radius: 50%; /* Make it circular */
    width: 24px; /* Width of the button */
    height: 24px; /* Height of the button */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px; /* Adjust the size of the 'X' */
}

.section-storewidget h1 a { width: 25px; height: 25px; display: flex; } 
.section-storewidget h1 a svg {width: 100%;height: 100%;margin: 0;stroke-width: 1;}

@media only screen and (max-width: 991px) {
    .section-storewidget .category-buttons { flex-wrap: nowrap; overflow-x: scroll; margin-bottom: 20px; padding-bottom: 10px; } 
    .category-buttons::-webkit-scrollbar { height: 6px; } 
    .category-buttons::-webkit-scrollbar-track { background: #00587A; border-radius: 10px; } 
    .category-buttons::-webkit-scrollbar-thumb { background-color: #ffc107; border-radius: 10px; }
}

@media only screen and (max-width: 768px) {
    .store-custom {
        position: static;
        display: inline-block;
    }
    .section-storewidget .card-content .card-body h5 {
        font-size: 20px;
    }

    .section-storewidget .card-content .card-body p {
        font-size: 16px;
    }

    .section-storewidget h1 {
        font-size: 22px;
        padding-top: 20px;
        padding-bottom: 30px;
    }

    .section-storewidget .category-buttons .custom-btn {
        font-size: 14px;
        padding: 15px 30px;
    }

    .section-storewidget .card-content .card img { height: 180px;}
    .store-custom { font-size: 14px; padding: 15px 30px; }
}

@media only screen and (max-width: 576px) {

    .section-storewidget .card-content .card {
        padding: 25px;
        background-color: #fff;
        /* height:350px; */
    }

    .remove-cart {
        position: absolute;
        top: 0px;
        right: 0px;
        background-color: red;
        color: white;
        border: none;
        padding: 5px;
        border-radius: 50%;
        width: 15px;
        height: 15px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 10px;
    }
}
