/*======================================================================
  BASE STYLES & TYPOGRAPHY
======================================================================*/

body {
    background-color: #ececec; /* Primary Background Color */
}
.page_container {
    min-height: 100vh;
}
.sidebar-mini {
    font-family: 'Anek Bangla', sans-serif;
}
a {
    color: #000;
}

/* Custom Font Weights */
.anek-bn { font-family: 'Anek Bangla', sans-serif; }
.fw-100 { font-weight: 100; }
.fw-200 { font-weight: 200; }
.fw-300 { font-weight: 3300; }
.fw-400 { font-weight: 400; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }

/* Utility Classes */
.mblock { display: block; }
.mw100p { width: 100%; }
.mp10 { padding: 10px; }
.mprl10 { padding: 0px 10px; }
.d-hide { display: none !important; }
.m-hide { display: block !important; }

/* Custom Colors & Effects */
.btn-gold {
    color: #000;
    background-color: gold;
    border-color: #b7b7b7;
    box-shadow: none;
}
.gold-link {
    color: #000;
    background-color: gold;
    border: 1px solid #b7b7b7;
}
.text-gradient {
    background: -webkit-linear-gradient(teal, green);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.btn-custom {
    /*background-color: #07AC6E;*/
    border-color: #d9d9d9;
    box-shadow: 1px 1px 5px 2px #a194ff;
    color: #fff !important;
}
.btn-custom:hover {
    color: #000 !important;
}
.custom-bg {
    background: rgb(16, 207, 109);
    background: linear-gradient(90deg, rgba(16, 207, 109, 1) 0%, rgba(19, 162, 38, 1) 13%, rgba(0, 212, 255, 1) 100%);
}

/* Custom Shadows and Outlines */
.light-border {
    /*outline: 2px solid #aeaeae;*/
    border-radius: 19px;
    /*padding: 10px;*/
    /*box-shadow: 0px 5px 10px #3e3e3e;*/
}
.navbar-mshadow {
    box-shadow: 0px 5px 10px #3e3e3e;
    background-color: #d2d2d2;
    background-clip: border-box;
    outline: 10px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    color: #1a2f1e !important;
}
.mshadow {
    box-shadow: 0px 5px 5px #b0b0b0;
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fdfdfd;
    background-clip: border-box;
    outline: 8px solid rgba(249, 249, 249, 0.25);
    border-radius: 10px;
    color: #1a2f1e !important;
}


/*======================================================================
  HEADER / NAVBAR STYLES
======================================================================*/

.navSection {
    height: 55px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    width: 100%;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
    background-color: #fff;
}
.navbar_area {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    margin: 0 auto;
    background-color: #fff;
    border-bottom: 1px solid #dee2e6;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
}
.navbar {
    /*background-color: #f7f7f7;*/
    /*border-bottom: 1px solid #e8e8e8;*/
    max-width: 1280px;
    margin: 0 auto;
    padding: 0;
}
.navbar-expand-md {
    justify-content: space-between;
}
.navbar-collapse {
    flex-grow: 0;
}
.navbar-expand-md .navbar-nav {
    margin-left: auto;
}
nav .nav-link {
    font-size: 1.1rem;
}
.main-header {
    margin-left: 0 !important;
    background: unset;
    border: unset;
    box-shadow: unset;
    max-width: 1280px;
    margin: 7px auto !important;
}

/* Logo */
.logoTxt {
    font-size: 28px;
    margin-left: 4px;
    color: green;
    font-weight: bold;
    display: block;
    letter-spacing: -2px;
    text-shadow: 5px 3px 8px #d0d0d0;
}

/* Language Button */
.langMenuBtn {
    margin-left: 15px;
    padding: 5px 10px;
    background-color: #28a745;
    color: #fff;
    border-radius: 5px;
    max-height: 34px;
    display: flex;
}
.langMenuBtn:hover {
    color: #ededed;
}

/* Post Ad Button */
.postbiggapon {
    border: 1px solid #d0d0d0;
    border-radius: 10px;
    background-color: #ececec;
    font-weight: bolder;
}
.posticon {
    color: black;
}
.postbiggapon .nav-link {
    padding: .3rem .3rem !important;
}

/* Header Login/User Actions */
.mainHeaderLogin {
    margin-left: auto;
    align-items: center;
}
.mainHeaderLogin .form-control {
    max-width: 150px;
}
.mainHeaderLogin .btn span {
    font-size: 1.2rem;
    line-height: 0;
    margin-right: 7px;
}
.mainHeaderLogin .btn i {
    font-size: 1.5rem;
}
.NavBarSearchBtn {
    padding: 7px 10px 0px 10px;
}
.navBarBars {
    padding: 7px 10px 0px 0px;
    display: none !important;
    padding-left: 0.1rem !important;
}
.navBarBars .fa-bars {
    font-size: 28px;
}
.plusLink {
    margin: 0px 5px;
}
.plusLink .nav-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #EDEDED;
    padding-left: 12px;
    padding-top: 10px;
    margin-right: 5px;
}
.plusLink .nav-link i {
    font-size: 20px;
    margin-left: -4px;
}
.chatLink {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #EDEDED;
    padding-left: 10px;
    padding-top: 10px;
}
.chatLink i {
    font-size: 20px;
    margin-left: -6px;
}
.userPicArrow .nav-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #EDEDED;
    padding-left: 12px;
    padding-top: 10px;
}
.userPicArrow .MainImg {
    height: 40px !important;
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
}
.userPicArrow .fa-chevron-down {
    background-color: #ededed;
    color: #000;
    position: absolute;
    bottom: 0;
    right: 1px;
    border-radius: 5px;
    font-size: 10px;
    border: 1px solid #fff;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}


/* Hot Menu (Desktop Navigation) */
.hotMenu {
    position: fixed;
    top: 16px;
    left: 50%;
    right: 0;
    margin: 0;
    /*width: 580px;*/
    max-width: 700px;
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transform: translateX(-28%);
    box-sizing: border-box;
}
.hotMenu li {
    border-bottom: 5px solid transparent;
    width: 100%;
    display: flex;
    justify-content: center;
}
.hotMenu .active,
.hotMenu li:hover {
    border-bottom: 5px solid #00a600;
    transition: .3s ease-in-out;
}
.hotMenu li a {
    width: 100%;
    text-align: center;
}
.hotMenu li img {
    width: 40px;
    margin: 6px 0;
}
.hotMenu li i {
    font-size: 28px;
    color: green;
}
.hotMenu li .fa-home {
    font-size: 34px;
    line-height: 36px;
    margin-top: 2px;
}
.hotMenu li .fa-ad {
    font-size: 32px;
    margin-top: 5px;
}
.hotMenu li .fa-store {
    font-size: 25px;
}
.hotMenu li .fa-briefcase {
    font-size: 30px;
}
.hotMenu li i:hover {
    color: #000;
}


/*======================================================================
  LAYOUT, SIDEBAR, & CONTENT WRAPPERS
======================================================================*/

.container {
    max-width: 1280px;
    width: 100%;
}
.content-wrapper {
    background: #EEE;
    max-width: 1280px;
    margin: 0 auto !important;
}
.timelineArea {
    max-width: 1280px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 80px;
}
.bodyArea {
    margin-top: 56px;
    padding-top: 10px;
    max-width: 100%;
    /*width: 100%;*/
    margin-left: 290px;
}
.bothSidebars {
    position: fixed;
    top: 55px;
    left: 0;
    right: 0;
    width: 1280px;
    max-width: 100%;
    margin: auto;
}

/* Sidebar Styles (AdminLTE overrides) */
.layout-fixed .main-sidebar {
    position: absolute;
}
.sidebar-mini.sidebar-collapse .main-header {
    margin-left: 0px !important;
}
.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link.active,
.sidebar-light-primary .nav-sidebar > .nav-item > .nav-link.active {
    background-color: #229b00;
}
.main-sidebar,
.main-sidebar::before {
    width: 270px;
}
aside .nav-link {
    padding-left: 0 !important;
}
.user-panel .image {
    padding-left: 5px;
}
.user-panel .image img {
    height: 2rem;
    width: 2rem;
}
.layout-fixed .main-sidebar {
    box-shadow: 2px 5px 5px rgba(139, 144, 234, 0.5);
}


/*======================================================================
  HOME PAGE SPECIFIC STYLES
======================================================================*/

.home .main-sidebar {
    background-color: #EEE;
}
.home .main-header {
    margin-left: auto;
    margin-right: auto;
}
.home .content-wrapper {
    margin-left: 0px;
}
.home .timelineArea {
    margin-top: 56px;
    padding-top: 10px;
}
.home .bodyArea {
    margin-top: 0px;
    padding-top: 0px;
}

/* Search Area */
.searchSection {
    width: 100%;
    background-image: url('../img/dhaka-city-bg.jpg');
    background-position: center;
    background-size: cover;
}
.searchWrapper {
    width: 100%;
    min-height: 400px;
    background-color: rgba(0, 0, 0, 0.6);
}
.searchCard {
    width: 1024px;
    max-width: 95%;
    margin: 10% auto 2% auto;
    display: flex;
    flex-direction: row;
}
.searchbox {
    width: 40% !important;
}
.searchCat {
    width: 23% !important;
}
.searchLoc {
    width: 23% !important;
}
.searchBtn {
    width: 14% !important;
    font-size: 1.2rem;
}
.searchCard .form-control {
    height: calc(2.2em + 1rem + 2px);
    font-size: 1.2rem;
}
.searchCard > .col {
    padding: 0 !important;
    margin: 0 !important;
}

.searcharea {
    margin-top: 20px;
    padding: 30px;
    /*background: linear-gradient(135deg, #667eea, #764ba2);*/
    /*background: linear-gradient(to right, #AACCDE, #FFF5BA);*/
    background: linear-gradient(to right, #61d94e, #FFF5BA);
    /*background-image: url('/theme/img/bg.avif');*/
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px !important;
    box-shadow: 1px 1px 5px #aaa;
}
.searcharea .input-group {
    border-radius: 25px;
    width: 80%;
    max-width: 800px;
    margin: 0 auto;
    /*box-shadow: 5px 5px 10px #575757;*/
    box-shadow: 1px 2px 4px #acacac;
}
.searcharea .form-control {
    font-size: 18px;
    padding-left: 25px;
    border-radius: 25px;
    height: 60px;
    border-top: 1px solid transparent;
    border-bottom: 1px solid transparent;
    border-left: 1px solid transparent;
}
.searcharea .input-group-append {
    display: flex;
    justify-content: center;
}
.searcharea .input-group-text {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    padding: .375rem 1.2rem;
    margin-bottom: 0;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.5;
    color: #575f68;
    text-align: center;
    white-space: nowrap;
    background-color: #ffd700;
    border: 1px solid transparent;
    border-radius: 25px;
}


/* Category List (Home Page) */
.home .categoryList {
    /*margin-top: 20px;*/
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}
.home .categoryBox {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}
.home .categoryBox .categoryItem {
    border: 1px solid #a2a2a2;
    min-width: 350px;
    height: 50px;
    margin: 0;
    box-shadow: 1px 2px 3px #b3b3b3;
    border-radius: 5px;
}
.home .categoryBox .categoryItem .link {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    background-color: #fdfdfd;
    border-radius: 5px;
    border: 10px solid transparent;
    height: 100%;
}
.home .categoryBox .categoryItem img {
    width: 40px;
    margin-right: 10px;
}
.home .categoryBox .subcatItems {
    /*border: 1px solid #c6c6c6;*/
    width: 100%;
    overflow-x: scroll;
}
.home .categoryBox .subcatItems .subcatItemsList {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    height: 70px;
    padding-left: 10px;
}
.home .categoryBox .subcatItems .subcatItemsList .subcatItemsListItem .link {
    display: flex;
    padding: 10px 15px;
    background-color: #f9f9f9;
    border-radius: 20px;
    border: 1px solid #8b84e1;
    margin: 10px 5px;
    width: max-content;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.31);
}
.home .subCategories {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}
.home .subCategories a {
    color: #000;
    border: 1px solid #d2d2d2;
    padding: 3px 10px;
    border-radius: 10px;
    display: flex;
    margin: 5px;
}

/* Category Splide (Slider) */
.home .splide {
    margin-left: 10px;
    width: 100%;
    max-width: 1040px;
}
.home .splide__slide {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    background-color: #f9f9f9;
    border-radius: 5px !important;
    border: 1px solid #2b2b2b8f;
    padding: 10px 15px;
    margin: 0px 5px;
    box-shadow: 1px 2px 3px #b3b3b3;
}
.home .splide__slide a {
    color: #000;
}
.splide__arrow--next {
    right: 0;
}
.splide__arrow--prev {
    left: 0;
}


/*======================================================================
  LISTING / FILTER PAGES STYLES
======================================================================*/

.ad-filter-title {
    font-size: 14px;
    color: grey;
}
.listingPage .form-group {
    margin-bottom: .5rem;
}

/* Filter Accordion */
.filterAccordion {
    /*background-color: #eee;*/
    color: #444;
    cursor: pointer;
    padding: 10px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    transition: 0.4s;
    border-top: 3px solid green;
    border-radius: 10px;
}
.activeAccordion,
.filterAccordion:hover {
    background-color: #f9f9f9;
}
.filterAccordion:after {
    content: '\002B';
    color: #777;
    font-weight: bold;
    float: right;
    margin-left: 5px;
}
.activeAccordion:after {
    content: "\2212";
}
.filterAccordionContent {
    padding: 5px 0;
    background-color: white;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    height: 0px;
}
.filterAccordionContent.activeAccordionContent {
    height: auto;
}

/* Sidebar Categories & Locations */
.searchItems {
    max-width: 319px;
    margin: 0 auto;
    width: 100%;
}
.category_box {
    max-width: 100%;
    overflow-y: scroll
}
.categories,
.level_two_list,
.level_three_list {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0 3px;
}
.categories .level_one,
.level_two_list .level_three,
.level_three_list .level_four {
    width: 100%;
    font-family: 'Anek Bangla', sans-serif;
    /*font-family: Helvetica, Arial, sans-serif;*/
    text-decoration: none;
    display: flex;
    flex-direction: row;
    text-align: left;
    font-size: 14px;
    padding: 5px 0 5px 10px;
    font-weight: 600;
    color: #090044;
}
.categories .level_two,
.categories .level_three {
    padding-left: 15px;
}
.level_two,
.level_three,
.level_four {
    position: relative;
}
.level_two::before,
.level_three::before,
.level_four::before {
    content: '------';
    width: 20px;
    height: 3px;
    position: absolute;
    z-index: -1;
}
.categories .level_one.active,
.categories .level_one:hover,
.level_two_list .level_three.active,
.level_two_list .level_three:hover,
.level_three_list .level_four.active,
.level_three_list .level_four:hover {
    color: #026816 !important;
    box-shadow: 0px 1px 5px #b7b7b7;
    border-radius: 5px;
    font-weight: 700;
}
.categories .level_one img {
    margin-right: 5px;
    max-height: 25px !important;
}
.level_one.level_two.hidden,
.level_three.hidden,
.level_four.hidden {
    display: none;
}
.categories a span {
    margin-top: 5px;
    margin-left: 5px;
    line-height: 20px;
}
.subcategories {
    margin-left: 25px;
    font-size: 10px;
    align-self: flex-start;
}
.categories .division {
    margin-left: 15px;
}

/* Search Area Title */
.section_title {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 20px 20px 20px;
}
.section_title h1 {
    font-size: 24px;
    font-weight: bold;
}
.pagetypetitle {
    text-transform: capitalize;
}

/* Ad Listing Card Styles */
#adcard {
    border: 1px solid rgba(0, 0, 0, 0.3);
    box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    margin: 0px;
    background-color: #fbfbfb;
    transition: .3s;
}
#adcard:hover {
    box-shadow: 1px 1px 4px #919191;
}
#adcard .adCardLink {
    color: #000;
    text-decoration: none;
    background-color: transparent;
}
#adcard .adCardLink:hover {
    color: #000 !important;
    text-decoration: none !important;
}
#adcard > .col {
    padding-left: 0px !important;
    padding-right: 0px !important;
}
.adimg {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin: 0 auto;
}
.adimg img {
    width: 200px;
    max-width: 100%;
    height: 150px;
    max-height: 100%;
    /*width: 570px; */
    /*margin: 0 auto; */
    border-radius: 10px 0px 0 7px;
}
.adImgLeft {
    border-bottom: 1px solid #cacaca;
}
.adTitleandNo {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
}
.adTitleWrapper {
    text-overflow: ellipsis;
    margin: 0px;
    font-size: 16px;
    font-weight: normal;
    line-height: 20px;
    letter-spacing: 0.25px;
    text-align: left;
}
.adsTitle {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 24px;
    line-height: 1.375rem;
    margin-top: 8px;
    font-size: 18px;
    font-weight: bold;
}
.adDetail {
    color: #0c9b00;
    margin: 0px;
    font-size: 17px;
    font-weight: bold;
    line-height: 20px;
    letter-spacing: 0.25px;
    text-align: left;
    width: 90%;
}
.adDetail span {
    display: block;
}
.adDetail p {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -moz-box-orient: vertical;
    overflow: hidden;
}
.adPrice {
    margin-top: 10px;
    font-size: 24px;
    line-height: 24px;
    color: green;
    font-weight: bold;
}
.negotiate {
    font-size: 14px;
    border: 1px solid #28a745;
    color: #000;
    font-weight: normal;
}
.postTime {
    font-family: 'Anek Bangla', sans-serif;
    font-weight: 500;
    font-size: 14px;
    position: absolute;
    right: 20px;
    bottom: 5px;
    margin: 0;
}
.list-group-item:hover {
    transform: scale(1.15);
}


/*======================================================================
  SINGLE AD PAGE STYLES
======================================================================*/

.breadcrumb-nav {
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 5px;
    width: 100%;
    overflow-x: scroll;
    max-height: 45px;
    overflow-y: hidden;
}
.breadcrumb-nav::-webkit-scrollbar {
    height: 6px;
    background: #888;
}
.breadcrumb {
    background-color: unset !important;
    flex-wrap: nowrap;
}
.breadcrumb-item {
    white-space: nowrap;
}
.adDetailRight {
    background-color: #f2f2f2;
    border-radius: 10px;
}
.adDescriptions {
    white-space: pre-wrap;
}

/* Image Slider */
.adPhotos > .Photo {
    display: flex;
    justify-content: center;
}
.splide__track--nav > .splide__list > .splide__slide {
    border-radius: 3px;
    border: 1px solid transparent;
}
.splide__track--nav > .splide__list > .splide__slide.is-active {
    border: 1px solid #000;
}

/* Sharing */
.sharePost {
    display: flex;
    flex-direction: column;
}
.shareTitle {
    background: #ededed;
    padding: 5px 10px;
    margin-right: 10px;
}
.shareIcons {
    display: flex;
    align-items: center;
    justify-content: space-around;
}
.shareIcons img,
.shareIcons i {
    transition: .2s;
}
.shareIcons img:hover,
.shareIcons i:hover {
    transform: scale(1.2);
}
.shareIcons img,
.shareIcons i {
    cursor: pointer;
}
.catutionTxt {
    font-weight: bold;
    font-size: 13px;
    color: #aa414b !important;
    margin: 10px 0 0 0;
    padding: 0 5px;
    text-align: justify;
}
.postLinkBtns {
    display: flex;
    justify-content: space-between;
    margin: 10px 5px;
}
.postLinkBtns svg {
    width: 20px;
    height: 20px;
}
.postLinkBtns a {
    transition: .5s;
}
.postLinkBtns a:hover {
    padding: 0 5px;
    background-color: #ededed;
}
.postLinkBtns .previousAd a svg {
    transform: rotate(180deg);
}

/* Contact Modal */
#contactModal .list-group-item a {
    text-decoration: none;
    color: #333;
    transition: all 0.2s ease-in-out;
}
#contactModal .list-group-item a:hover {
    transform: scale(1.05);
    color: #198754;
}
#contactModal img {
    border-radius: 8px;
}

/* Contact Buttons (Mobile Only) */
.contactBtns {
    display: none;
}


/*======================================================================
  FOOTER STYLES
======================================================================*/

/* Page Footer */
.footer {
    padding-top: 30px;
    background-color: #f6f6f6;
    border-top: 1px solid #e8e8e8;
}

/* Mobile Fixed Footer Nav */
.mobile-nav-footer {
    display: none; /* Hidden by default for desktop */
    height: 60px;
    background-color: #fff;
    border-top: 1px solid #ccc;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}
.col-2-4 {
    width: 20%;
    flex: 0 0 auto;
    padding: 0 !important;
}
.mobile-nav-footer .nav-item-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: background-color 0.2s;
    border-right: 1px solid #eee;
}
.mobile-nav-footer .nav-item-wrapper:last-child {
    border-right: none;
}
.mobile-nav-footer .nav-item-wrapper.active {
    background-color: #f1fbe9;
}
.mobile-nav-footer .nav-button {
    background: none;
    border: none;
    padding: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #495057;
    font-size: 24px;
    cursor: pointer;
}
.mobile-nav-footer .nav-item-wrapper.active .nav-button {
    color: #38a169;
}
.mobile-nav-footer .cart-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    padding: 4px 6px;
    font-size: 10px;
    background-color: #38a169 !important;
    z-index: 10;
}



/*======================================================================
  MEDIA QUERIES (MOBILE STYLES)
======================================================================*/

/* Tablet/Small Desktop (max-width: 991px) */
@media screen and (max-width: 991px) {
    .d-hide {
        display: block !important;
    }
    .m-hide {
        display: none !important;
    }
    /* Hide desktop margin logic */
    body:not(.sidebar-mini-md) .content-wrapper,
    body:not(.sidebar-mini-md) .main-footer,
    body:not(.sidebar-mini-md) .main-header {
        margin-left: 0px;
    }

    /* Sidebar collapsing for mobile */
    .main-sidebar,
    .main-sidebar::before {
        box-shadow: none !important;
        margin-left: -270px;
    }
    .sidebar-open .main-sidebar,
    .sidebar-open .main-sidebar::before {
        margin-left: 0px !important;
    }
    .navBarBars {
        display: block !important;
    }
    .langMenuBtn {
        margin-left: 10px;
    }

    /* Layout adjustments */
    .timelineArea {
        margin-top: 60px;
    }
    .bodyArea {
        margin-top: 60px;
        margin-left: 0;
        max-width: 100%;
    }

    /* Home Page adjustments */
    .searcharea .form-control {
        font-size: 16px;
        padding-left: 20px;
        height: 50px;
    }
    .searcharea .input-group {
        width: 100%;
    }
    .home .categoryBox {
        flex-wrap: wrap;
        margin-bottom: 15px;
    }
    .home .categoryBox .categoryItem {
        min-width: 100%;
        height: 50px;
    }
    .splide {
        margin-left: 0px;
    }

    /* Mobile Hot Menu (replacing desktop fixed position) */
    .hotMenu {
        left: 0;
        transform: translateX(0);
        margin: 0px;
        width: 100%;
        max-width: 100%;
        top: 55px;
        background-color: #fff;
        display: flex;
        flex-wrap: nowrap;
        flex-direction: row;
        justify-content: space-evenly;
        align-items: center;
    }
    .hotMenu li {
        margin: 0px;
        height: 50px;
        border-top: 1px solid #ddd;
        border-right: 1px solid #ddd;
        box-shadow: 0 1px 0 0 #ddd;
    }
    .hotMenu li i {
        font-size: 35px;
    }
    .hotMenu li img {
        width: 35px;
        padding: 5px 0;
    }
    .hotMenu li a {
        width: 100%;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Modal stacking on mobile */
    .modal {
        /*top: 100px;*/
        z-index: 99999;
    }
    /* Mobile Fixed Footer Visibility */
    .mobile-nav-footer {
        display: block;
    }
}

@media (min-width: 768px) and (prefers-reduced-motion: reduce) {
        body:not(.sidebar-mini-md) .content-wrapper,
        body:not(.sidebar-mini-md) .main-footer,
        body:not(.sidebar-mini-md) .main-header {
            transition: margin-left .3s ease-in-out;
            margin-left: 0px;
        }
    }
    
/* Mobile (max-width: 767px) */
@media screen and (max-width: 767px) {
    /* Hot Menu scroll for smaller screens */
    .hotMenu {
        overflow-x: scroll;
    }
    .hotMenu li {
        min-width: 80px;
    }
    .navbar {
        width: 100%;
        padding: 0px 2%;
    }
    .navbar-expand-md {
        justify-content: space-between;
    }
    .navbar-light .navbar-toggler {
        margin-left: auto;
    }
    .navbar-nav {
        text-align: right;
    }
    .nav-item:hover {
        background-color: #eee;
    }

    /* Search area breakdown for mobile */
    .searchWrapper {
        min-height: 320px;
    }
    .searchCard {
        flex-wrap: wrap;
        width: 90%;
    }
    .searchbox,
    .searchBtn {
        width: 100% !important;
    }
    .searchCat,
    .searchLoc {
        width: 50% !important;
    }
    .searchCard .form-control {
        height: calc(2em + 1rem + 2px);
        font-size: 1rem;
    }

    /* Filter sidebar categories */
    .categories {
        flex-wrap: nowrap;
        padding: 5px 10px;
        min-width: fit-content;
    }
    .categories a span {
        margin-top: 10px;
        margin-right: 8px;
    }
    .divis {
        flex-wrap: nowrap;
    }
    .division {
        padding: 10px;
        min-width: fit-content;
    }

    /* Ad listing adjustments */
    .adsTitle {
        font-size: 16px;
    }
    .adsTitleAdPage {
        font-size: 1rem;
    }
    .adPrice {
        font-size: 20px;
    }
    .adDetail {
        font-size: 15px;
    }

    /* Header login button */
    .login-btn {
        padding: .10rem .40rem;
    }
    .login-btn span {
        display: none;
    }
    .bothSidebars {
        position: fixed;
        z-index: 9999;
    }
    .mainHeaderLogin {
        margin-right: unset;
        margin-left: auto;
    }

    /* Footer / Pagination */
    .pagination {
        max-width: 100%;
        overflow-x: scroll;
        padding-bottom: 10px;
    }
    .main-footer {
        padding: .5rem .4rem;
    }

    /* Single Ad Page Contact Buttons */
    .contactBtns {
        position: fixed;
        bottom: 60px;
        left: 0;
        z-index: 9999;
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
        align-items: center;
    }
    .contactBtn {
        height: 40px;
        width: 30%;
        display: flex;
        align-items: center;
    }
    .contactBtns a {
        background-color: #008000;
        color: #fff;
        font-weight: bold;
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 10px;
        font-size: 14px;
    }

    /* Mobile Quick Post Button */
    .postBtn {
        position: fixed;
        bottom: 60px;
        left: 48%;
        transform: translateX(-90px);
        z-index: 9999;
    }
    .postBtn a {
        font-size: 16px;
        background: gold;
        padding: 5px 10px;
        border-radius: 5px;
        box-shadow: 3px 4px 10px #b9b9b9;
    }

    /* Custom Modal Positioning */
    #simpleModal .modal-dialog {
        align-self: flex-end;
        margin-bottom: 60px;
        margin-left: auto;
        margin-right: auto;
    }
    #simpleModal .modal-content {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }
}