body {
    margin: 0;
    padding: 0;
    font-family: "Inter Tight", sans-serif;
    background: #f5f6fa;
}

a {
    text-decoration: none !important;
}

.btn-close {
    border-radius: 50% !important;
    box-shadow: 0px 0px 6px -2px #000 !important;
    opacity: 0.77 !important;
    padding: 12px !important;
}

::-webkit-scrollbar {
    width: 0px;
}

.hideScrollBody {
    overflow: hidden;
    padding-right: 10px;
}

.nav {
    margin-bottom: 50px;
    float: left;
    width: 100%;
}

.nav nav {
    background: #ffffffb5;
    height: auto;
    width: 100%;
    position: fixed;
    top: 0;
    box-shadow: 0 0 6px -4px #000;
    z-index: 1000;
    backdrop-filter: blur(4px);
    padding: 10px 0;
}

.nav .logo {
    float: left;
    width: 50%;
}

.nav .logo a {
    float: left;
}

.nav .logo img {
    height: 40px;
    width: auto;
    display: flex;
    object-fit: cover;
}


.nav .menu {
    float: right;
    width: 50%;
    text-align: right;
}

.nav .menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    float: right;
}

.nav .menu ul li {
    display: inline-block;
    margin-left: 15px;
}

.nav .menu ul li a {
    font-weight: 500;
    font-size: 18px;
    line-height: 38px;
    background: #000;
    height: 40px;
    float: left;
    width: 40px;
    border-radius: 5px;
}

.nav .menu ul li a:hover {
    background: #34313a;
    transition: .5s ease-in-out;
}


.nav .menu ul li a.active {
    color: #0037ff;
}


.nav .menu ul li a img {
    height: 25px;
    width: 25px;
    margin: 0 auto;
    display: block;
    margin-top: 7px;
}



.sideMenuCover {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / 78%);
    z-index: 10000;
    display: none;
    cursor: no-drop;
}

.sideMenu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background-color: #fff;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05);
    z-index: 10001;
    transition: right 0.3s ease-in-out;
    padding: 20px;
    overflow: auto;
}


.sideMenu .accordion-item {
    margin-bottom: 10px;
    border-radius: 10px;
    overflow: hidden;
}


.sideMenu .header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.sideMenu .header h3 {
    float: left;
}

.sideMenu .header button {
    background: none;
    border: none;
    font-size: 24px;
    color: #000;
    cursor: pointer;
}

/* Accordion Item Styling */
.accordion-item {
    border: none;
    /* Remove default Bootstrap border */
    margin-bottom: 5px;
    /* Space between items */
    border-radius: 8px;
    /* Rounded corners for each item */
    transition: all 0.3s ease-in-out;
}

.accordion-item:last-of-type {
    margin-bottom: 0;
}

/* Accordion Header and Button */
.accordion-header {
    border-bottom: none;
    /* Remove default header border */
}

.accordion-button {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 15px 20px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    background-color: #d1d0d066;
    border: none;
    border-radius: 8px;
    text-align: left;
    transition: all 0.3s ease-in-out;
    position: relative;
    z-index: 1;
}

.accordion-button:hover {
    background-color: #f0f0f0;
    /* Light hover effect */
    color: #0d6efd;
    /* Blue text on hover */
}

.accordion-button:focus {
    box-shadow: none;
    /* Remove focus outline */
}


/* Category Image Styling */
.category-img {
    width: 35px;
    height: 35px;
    object-fit: cover;
    margin-right: 12px;
    /* Increased margin */
    flex-shrink: 0;
    /* Prevent shrinking */
}

/* Accordion Arrow Icon */
.accordion-button::after {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    margin-left: auto;
    content: "";
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-size: 1.25rem;
    transition: transform 0.2s ease-in-out;
}


/* Accordion Body */
.accordion-collapse.collapse {
    transition: height 0.3s ease-in-out;
    /* Smooth collapse/expand */
}

.accordion-body {
    padding: 10px 0;
    /* Adjust padding for inner content */
    background-color: #fcfcfc;
    /* Slightly different background for body */
    border-bottom-left-radius: 8px;
    /* Match item border-radius */
    border-bottom-right-radius: 8px;
}

/* Sub-list and Child-list Styling */
.sub-list {
    list-style: none;
    padding-left: 0;
    margin-left: 0px;
}

.child-list {
    list-style: none;
    margin: 0;
    padding: 0;
    /* Adjust padding */
}

.sub-list li,
.child-list li {
    margin-bottom: 3px;
    /* Smaller margin between list items */
}

.sub-list a,
.child-list a {
    text-decoration: none;
    color: #555;
    display: flex;
    align-items: center;
    gap: 8px;
    /* Increased gap for icon and text */
    padding: 8px 25px;
    /* Padding for click area */
    transition: all 0.2s ease;
    font-size: 0.95rem;
    /* Consistent font size */
}

.accordion-button:not(.collapsed) {
    color: #000;
    background-color: #edecec;
    border: none !important;
}

.accordion-collapse {
    transition: height 0.3s ease-in-out;
    padding: 5px 0;
}

.accordion-body {
    padding: 10px 0;
    background-color: #d1d0d066;
    border-radius: 10px;
    border: 1px solid #dee2e6;
}

.accordion-body p {
    width: 100%;
    text-align: center;
    font-weight: bold;
    line-height: 50px;
    height: 30px;
    font-style: italic;
}

/* Indentation for sub and child lists */
.sub-list a {
    padding-left: 10px;
    color: #000;
    font-weight: bold;
}

.child-list a {
    padding-left: 25px;
    font-weight: normal;
    color: #413939;
}

.sub-list a:hover,
.child-list a:hover {
    color: #0d6efd;
    /* Blue text on hover */
    background-color: #f5f5f5;
    /* Light background on hover */
}

/* Custom Icons for Sub and Child Categories */
.sub-list a .fa-angle-right {
    font-size: 0.8rem;
    /* Smaller arrow icon */
    color: #999;
}

.child-list a .fa-circle-dot {
    font-size: 0.6rem;
    /* Smaller dot icon */
    color: #999;
}

.sub-list a:hover .fa-angle-right,
.child-list a:hover .fa-circle-dot {
    color: #0d6efd;
    /* Blue icon on hover */
}



.mobileNav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffffb5;
    backdrop-filter: blur(4px) saturate(180%);
    -webkit-backdrop-filter: blur(4px) saturate(180%);
    box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 8px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    font-family: 'Ubuntu', sans-serif;
    transition: all 0.3s ease-in-out;
}

.mobileNav ul {
    width: 100%;
    margin: 0;
    float: left;
    margin-left: -10px;
}

.mobileNav ul li {
    list-style: none;
    width: 25%;
    float: left;
    display: block;
}

.mobileNav ul li a {
    color: #000;
    font-size: 12px;
    text-align: center;
    display: block;
    transition: all 0.2s ease-in-out;
    font-weight: bold;
    padding: 5px 10px;
}

.mobileNav ul li a span {
    display: none;
}

.mobileNav ul li .active {
    background: #5bc0de;
    padding: 5px 0;
    border-radius: 25px;
    color: #000000;
}


.mobileNav ul li a img {
    height: 20px;
    width: 20px;
    margin: 0 5px;
    margin-bottom: 5px;
}


.mobileNav ul li .active span {
    display: inline-block !important;
}



.cartView {
    position: fixed;
    top: 0;
    right: -400px;
    width: 300px;
    height: 100vh;
    background-color: #fff;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05);
    z-index: 10002;
    transition: right 0.3s ease-in-out;
    padding: 0px;
    overflow: auto;
}

.cartHeader {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px;
    padding: 0 15px;
    box-shadow: 0 0 10px -3px #0000007d;
    padding-top: 10px;
}

.cartHeader button {
    background: none;
    border: none;
    font-size: 25px;
    margin-top: -10px;
}






/* footer */

.site-footer {
    background-color: #fff;
    color: #000;
    padding-top: 60px;
    float: left;
    width: 100%;
    margin-top: 50px;
    box-shadow: 0 0 6px -4px #000;
}

.site-footer h5,
.site-footer h6 {
    color: #000;
    /* White color for headings */
    font-weight: bold;
    margin-bottom: 20px;
}

.site-footer p,
.site-footer li {
    font-size: 0.9rem;
    line-height: 1.8;
}

.site-footer .list-unstyled li a {
    color: rgba(255, 255, 255, 0.7);
    /* Lighter white for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer .list-unstyled li a:hover {
    color: #000;
    /* White on hover */
}

.footer-logo img {
    width: auto;
    height: 40px;
}

.social-icons a {
    font-size: 1.5rem;
    color: rgba(0, 0, 0, 0.7);
    margin-right: 15px;
    transition: color 0.3s ease;
    text-decoration: none;
}

.social-icons a:hover {
    color: #000;
}

.app-badges img {
    max-width: 150px;
    /* Adjust app badge size */
    height: auto;
    border-radius: 5px;
    /* Slight border-radius for badges */
}

.dbid-badge {
    max-width: 120px;
    /* Adjust DBID badge size */
    height: auto;
    margin-top: 20px;
}

/* Specific styling to match the image's text color */
.text-white-50 {
    color: rgba(0, 0, 0, 0.7) !important;
}


.currentUser {
    padding: 5px 10px;
    border: 2px solid #000;
    color: #000;
    border-radius: 5px;
    font-size: 14px;
    margin: 10px auto;
    float: left;
    font-weight: bold;
}

.currentUser i {
    color: #000;
    animation: eyeBlink 2s cubic-bezier(.68, -0.55, .27, 1.55) infinite;
    margin-right: 5px;
}

@keyframes eyeBlink {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.1);
        /* হালকা একটু বড় হবে */
    }
}

/* Adjustments for smaller screens (Bootstrap handles most, but fine-tuning can be done here) */
@media (max-width: 768px) {
    .site-footer .col-md-3 {
        text-align: center;
        /* Center content on small screens */
    }

    .social-icons {
        text-align: center;
        margin-top: 15px;
    }

    .app-badges {
        text-align: center;
    }

    .app-badges a {
        display: inline-block !important;
        /* Make app badges inline on small screens */
        margin: 0 10px 10px 10px;
    }

    .footer-logo {
        text-align: center;
    }

    .currentUser {
        float: unset;
        margin-top: 10px;
        display: block;
        width: 150px;
    }

}










@media only screen and (max-width: 1200px) {
    .container {
        min-width: 100% !important;
    }
}

@media only screen and (max-width: 1000px) {
    .nav .logo {
        float: left;
        width: 180px;
    }

    .nav .menu {
        float: right;
        width: calc(100% - 200px);
        text-align: right;
    }
}

.nav .menu ul li a i {
    display: none;
}

@media only screen and (max-width: 710px) {

    .site-footer {
        margin-bottom: 60px;
    }

    .nav .menu ul li a img {
        margin-top: 1px;
        margin-left: -4px;
    }

    .nav .menu ul li a i {
        display: block;
    }

    .nav .menu ul li {
        display: none;
    }

    .menuBtn {
        display: inline-block !important;
        margin-left: 5px;
    }

    .nav .menu ul li a {
        color: #fff;
        text-decoration: none;
        font-weight: 500;
        font-size: 18px;
        line-height: 43px;
        background: #34313a;
        padding: 7px;
        text-align: center;
        margin: 0;
        padding-left: 12px;
        border-radius: 5px;
        transition: .5s ease-in-out;
        float: right;
    }

    .nav .menu ul li a:hover {
        color: #fcd259;
        background: #000;
        transition: .5s ease-in-out;
    }

    .mobileNav {
        display: block;
    }
}



.form-floating>label {
    padding: 16px 10px !important;
    font-size: 16px !important;
}


.loggedUserActionMenu {
    width: 250px;
    border-radius: 10px;
    margin-top: 15px !important;
    overflow: hidden;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05);
}


.loggedUserActionMenu li {
    padding: 5px !important;
    margin: 0 !important;
    width: 100%;
    text-align: left !important;
}

.loggedUserActionMenu .userPhoto {
    width: 40px;
    height: 40px;
    float: left;
    margin: 4px;
    margin-right: 10px;
    border-radius: 3px;
}


.loggedUserActionMenu li strong {
    font-size: 13px;
    margin-bottom: -5px;
    margin-top: 5px;
}


.loggedUserActionMenu li a {
    font-size: 14px !important;
    line-height: unset !important;
    background: #eeeded !important;
    margin: 0;
    transition: .3s ease-in-out;
    width: 100% !important;
}

.loggedUserActionMenu li a:hover {
    color: blue !important;
    transition: .3s ease-in-out;
}


.loggedUserActionMenu .logoutBtn {
    background: #dc3545 !important;
    color: #fff !important;
    margin-bottom: 5px;
}


.cartView .cartBody {
    height: calc(100vh - 130px);
    overflow: hidden;
    overflow-y: scroll;
    padding: 15px;
}

.cartFooter {
    height: 80px;
    box-shadow: 0 0 10px -3px #0000007d;
}

.cartFooter a {
    margin: 5px;
    width: calc(50% - 12px);
    padding: 0;
    height: 35px;
    line-height: 30px;
}


.cartFooter .sum {
    font-size: 18px;
    padding: 5px 0px 0px 5px;
    font-weight: bold;
}




.swal2-container {
    z-index: 100000000000000;
}