.only_mobile{
  display: none;
}
.only_mobile_flex{
    display: none;
}
.only_desktop{
    display: block;
}   
.only_desktop_flex{
    display: flex;
}
.wrap_dart{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #00000061;
    z-index: 9;
}

@media (max-width: 767px) {
    .only_mobile{
        display: block;
    }
    .menu_bar .fa-xmark{
        display: none;
    }
    .menu_bar.activeBar .fa-bars{
        display: none;
    }
    .menu_bar.activeBar .fa-xmark{
        display: block;
    }
    .only_desktop{
        display: none;
    }
    .only_desktop_flex{
        display: none;
    }
    .only_mobile_flex{
        display: flex;
    }
    .list_u_meta{
        flex-wrap: wrap;
        gap: 4px 0;
    }
    .list_posted{
        flex: 1 1 calc(50% - 10px);
        min-width: calc(50% - 10px);
        padding: 0 8px;
    }
    .list_posted:nth-child(2){
        border-right: none;
    }
    .side_menu{
        width: min(270px, 80vw);
        position: fixed;
        background: #fff;
        top: 0;
        height: 100%;
        z-index: 999;
        background: rgb(255, 255, 255);
        box-shadow: 0 10px 20px 10px rgba(0, 0, 0, 0.1);
        transition: 0.3s;
        left: calc(-1 * min(270px, 80vw));
        padding: 16px !important;
    }
    .d_sidebar{
        position: static;
        width: 100%;
        height: auto;
        z-index: auto;
        left: auto;
        border-right: none;
        box-shadow: none;
        overflow: visible;
        padding: 0 !important;
        background: transparent;
        transition: none;
        border-radius: 0;
    }
    .d_sidebar .sideCloseIcon,
    .d_sidebar .sidebar_content_top {
        display: none;
    }
    .d_sidebar .sidebar-menu {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        padding: 0.5rem 1rem;
        background: #fff;
        border-radius: 0.5rem;
        gap: 0;
        list-style: none;
        margin: 0;
    }
    .d_sidebar .sidebar-menu::-webkit-scrollbar {
        display: none;
    }
    .d_sidebar .sidebar-menu li {
        display: inline-flex;
        flex-shrink: 0;
        align-items: center;
    }
    .d_sidebar .sidebar-menu li:not(:last-child)::after {
        content: '\00b7';
        color: #cbd5e1;
        font-weight: 700;
        padding: 0 0.375rem;
        font-size: 1.25rem;
        line-height: 1;
    }
    .d_sidebar .sidebar-menu li a {
        padding: 0.5rem 0.625rem;
        font-size: 0.8125rem;
        white-space: nowrap;
        min-height: 2.5rem;
        display: inline-flex;
        align-items: center;
        border-radius: 0.375rem;
        text-decoration: none;
        transition: background 0.2s, color 0.2s;
    }
    .d_sidebar .sidebar-menu li a.active,
    .d_sidebar .sidebar-menu li.active a {
        color: var(--menu-primary, var(--org));
        background: rgba(var(--menu-rgb, 242, 97, 34), 0.1);
    }
    .d_sidebar .sidebar-menu li a i.fa-chevron-down,
    .d_sidebar .sidebar-menu li a i.fa-chevron-right,
    .d_sidebar .sidebar-menu li a i.fa-angle-down,
    .d_sidebar .sidebar-menu li a i.fa-angle-right {
        display: none;
    }
    .d_sidebar .sidebar-menu .subbar-menu,
    .d_sidebar .sidebar-menu .sub-menu {
        display: none !important;
    }
    .dictry_cate{
        width: min(270px, 80vw);
        position: fixed;
        background: #fff;
        top: 0;
        height: 100%;
        z-index: 999;
        border-right: 1px solid #000;
        background: rgb(255, 255, 255);
        box-shadow: 0 10px 20px 10px rgba(0, 0, 0, 0.1);
        transition: 0.3s;
        left: calc(-1 * min(270px, 80vw));
        padding: 16px !important;
        border-radius: 0;
        overflow: scroll;
    }
    .dictry_cate ul li{
        display: block;
    }
    .dictry_cate ul li a{
        text-align: left;
        display: block;
        padding: 10px 0px;
        font-size: 16px;
    }
    .dictry_cate ul a span{
        font-size: 15px;
    }
    .dictry_cate ul a i{
        font-size: 15px;
    }
    .side_menu .menu_cart{
        display: none;
    }
    .search-container,.location-container{

        background: #FAFAFA !important;
    }
    .dictry_meta_locat{
        gap:6px;
    }
    
    .dictry_content .city_search{
          padding-left: 16px !important;
          padding-right: 4px !important;
          font-size: 12px !important;
      }
    .search-container{
          flex: 0 0 50% !important;
      }
      .location-container{
          flex: 0 0 34% !important;
    }
    .custom_mobile_search .search-input ,.custom_mobile_search .city_search{
            background: #FAFAFA;
          border: none;
          height: 40px;
          font-size: 12px;
    }
    .custom_mobile_search .search-input::placeholder,
.custom_mobile_search .city_search::placeholder {
  font-size: 12px;
  color:rgb(126 125 127 / 70%) !important;
}
    .directory_search{
        font-size: 12px !important;
          padding: 0 8px !important;
    }
.desktop_button_show{
    display:none !important;
}
.directory_search .search-icon{
    left:14px;
    font-size: 14px
  }
      .search-location-dir{
          font-size: 16px !important;
          left: 8px !important;
      }
      .search-icon {
          font-size: 16px !important;
          left: 12px !important;
}
    .dictry_meta_locat.only_mobile_flex{
        margin:10px 0 7px 0;
    }
    .custom_mobile_search .search-input{
        border-radius: 15px 0px 0px 15px;
          padding-left: 16px !important;
          padding-right: 4px !important;
          font-size: 12px !important;
      }
    .only_for_desktop_show{
        display:none;
    }
    .menu_bar{
        margin-left: 0 !important;
        vertical-align: middle;
    }
    .home_search_in .CustomDrop {
    top: 111px !important;
}
.custom_mobile_search .CustomDrop{
    top: 111px !important;
}
    .custom_mobile_search{
          width: 100% !important;
          flex-direction: row !important;
          height: 42px !important;
          gap: 0 !important;
          border: 1px solid rgb(248 193 169) !important;
          border-radius: 7px !important;
      }
      .custom_mobile_search .search-container {
          flex: 0 0 48% !important;
          border: none !important;
          border-radius: 15px 0px 0px 15px !important;
          height: 40px !important;
      }
      .custom_mobile_search .location-container {
          flex: 0 0 36% !important;
          border-left: 1px solid rgb(248 193 169) !important;
          border-top: none !important;
          border-bottom: none !important;
          border-right: none !important;
          border-radius: 0 !important;
          height: 40px !important;
      }
      .custom_mobile_search .directory_search {
          flex: 0 0 17% !important;
          border-radius: 0 7px 7px 0 !important;
          height: 40px !important;
          margin-top: 0 !important;
          min-width: 60px !important;
      }
      .custom_mobile_search .search-location-dir {
          font-size: 16px !important;
          left: 8px !important;
      }
      .custom_mobile_search .search-icon {
          font-size: 16px !important;
          left: 12px !important;
    }
    .side_menu li{
        display: block;
    }
    /* Container responsive styles - Mobile: Max 3 rows */
    .dictry_search_meta_container {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    .dictry_search {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    .dictry_search .search_area {
        width: 100% !important;
        margin-bottom: 0;
    }
    .dictry_search .custom-select {
        width: 100% !important;
        margin-top: 0;
    }
    .dictry_meta {
          display: none !important; /* Hide on mobile - content is in row 3 */
    }
    .dictry_content{
        flex: none;
        width: 100%;
    }
    .dictry_wrap{
        flex-direction: column;
    }
    .dictry_wrap.flex-container{
        width: 100%;
    }
    .listing_wrap_in{
        flex: none;
        width: 100%;
    }
    .dictry_search_meta_container{
        width: 100% !important;
    }
    .main_content .container-xxl{
        padding: 0px 20px;
    }
    .add-flex-grow-property{
        flex-grow:1;
        padding:2px 5px !important;
          flex: 1 1 auto !important;
          min-width: 0 !important;
    }
    .dictry_meta_locat_in{
        padding: 2px 12px;
          height: 27px !important;
          display: flex !important;
          align-items: center !important;
          justify-content: center !important;
          border: none !important;
      }
      .dictry_meta_locat_in.blacked {
          border: 1px solid rgb(248 193 169) !important;
          border-radius: 7px !important;
      }
    .custom-select.filter-selection{
        margin:0;
    }
    .dictry_meta_locat{
        justify-content: space-between;
        width: 100%;
        flex-wrap:wrap;
          align-items: center !important;
      }
      .dictry_meta_locat.only_mobile_flex {
          align-items: center !important;
      }
      .dictry_meta_locat.only_mobile_show {
          align-items: center !important;
    }
    .dictry_search .custom-select select{
        width:30%;
          height:40px;
          line-height: 40px;
        font-size:12px;
          padding-top: 0;
          padding-bottom: 0;
    }
    .custom-select.filter-selection{
        display:flex;
        align-items:center;
    }
      /* Custom dropdown menu options - dark grey theme for mobile */
      .dictry_search .custom-select.filter-selection select option,
      .custom-select.filter-selection select option,
      .filter-selection select option {
          background: #2d3748 !important;
          background-color: #2d3748 !important;
          color: #fff !important;
          color: white !important;
          padding: 10px 15px !important;
          font-size: 14px !important;
          font-family: "DM Sans" !important;
      }
      .dictry_search .custom-select.filter-selection select option:hover,
      .custom-select.filter-selection select option:hover,
      .filter-selection select option:hover {
          background: #4a5568 !important;
          background-color: #4a5568 !important;
          color: #fff !important;
          color: white !important;
      }
      .dictry_search .custom-select.filter-selection select option:checked,
      .dictry_search .custom-select.filter-selection select option[selected],
      .custom-select.filter-selection select option:checked,
      .custom-select.filter-selection select option[selected],
      .filter-selection select option:checked,
      .filter-selection select option[selected] {
          background: #2d3748 !important;
          background-color: #2d3748 !important;
          color: #fff !important;
          color: white !important;
          font-weight: 500 !important;
      }
      
      /* Row 3 Layout - Mobile */
      .dictry_meta_locat.mobile_row_3 {
          display: flex !important;
          justify-content: space-between !important;
          align-items: center !important;
          width: 100% !important;
          gap: 4px !important;
          flex-wrap: nowrap !important;
          overflow: hidden;
      }
      .mobile_location_fields {
          display: flex !important;
          align-items: center !important;
          gap: 2px !important;
          flex: 1 1 auto;
          min-width: 0;
          overflow: hidden;
          flex-shrink: 1;
      }
      .mobile_location_text {
          border: none !important;
          padding: 0 2px !important;
          background: transparent !important;
          color: #F26122 !important;
          font-size: 11px !important;
          height: 27px !important;
          display: flex !important;
          align-items: center !important;
          justify-content: flex-start !important;
          flex-shrink: 1;
          white-space: nowrap;
          overflow: hidden;
          min-width: 0;
      }
      .mobile_location_text i {
          color: #F26122 !important;
          font-size: 11px !important;
          margin-right: 2px !important;
          flex-shrink: 0;
          padding: 0 !important;
      }
      .mobile_location_text span {
          color: #F26122 !important;
          font-size: 11px !important;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
          max-width: 100px;
    }
    .mobile_address_bar {
          overflow: hidden !important;
          white-space: nowrap !important;
          text-overflow: ellipsis !important;
          border: none !important;
          text-align: left !important;
          padding: 0 2px !important;
          height: 27px !important;
          display: flex !important;
          align-items: center !important;
          justify-content: flex-start !important;
          background: transparent !important;
          color: #F26122 !important;
          font-size: 11px !important;
          flex-shrink: 1;
          min-width: 0;
          max-width: 140px;
      }
      .mobile_address_bar i {
          color: #F26122 !important;
          font-size: 11px !important;
          margin-right: 2px !important;
          flex-shrink: 0;
          padding: 0 !important;
      }
      .mobile_address_bar span {
          vertical-align: middle;
          line-height: 1;
          color: #F26122 !important;
          font-size: 11px !important;
    overflow: hidden;
          text-overflow: ellipsis;
    white-space: nowrap;
      }
      .mobile_right_controls {
          display: flex !important;
          align-items: center !important;
          gap: 7px !important;
          flex-shrink: 0 !important;
          justify-content: flex-end;
          min-width: fit-content;
      }
      .mobile_toggle {
          width: auto !important;
          min-width: 28px !important;
          max-width: 28px !important;
          padding: 0 6px !important;
          flex-shrink: 0 !important;
          order: 1; /* Toggle comes before sort */
          height: 27px !important;
          display: flex !important;
          align-items: center !important;
          justify-content: center !important;
      }
      .mobile_toggle i {
          font-size: 12px !important;
      }
      .custom-dropdown-wrapper.only_mobile_show.smaller_mobile_screen {
          order: 2; /* Sort comes after toggle (most right) */
          flex-shrink: 0 !important;
          min-width: 70px !important;
          max-width: 90px !important;
      }
      .custom-dropdown-wrapper.only_mobile_show.smaller_mobile_screen .custom-dropdown-trigger {
          padding: 0 8px !important;
          font-size: 11px !important;
      }
      .custom-dropdown-wrapper.only_mobile_show.smaller_mobile_screen .custom-dropdown-selected {
          overflow: hidden;
    text-overflow: ellipsis;
          white-space: nowrap;
          max-width: 60px;
    }
    .filter-selection{
        width:100% !important;
    }
      /* Custom Dropdown Mobile Styles */
      .custom-dropdown-wrapper {
          height: 27px !important;
      }
      /* Sort dropdown in filter row (larger mobile screens) - hidden on small screens */
      .custom-dropdown-wrapper.only_mobile_show.larger_mobile_screen {
          display: none !important;
      }
      /* Sort dropdown in row 3 (small mobile screens) - shown on small screens */
      .custom-dropdown-wrapper.only_mobile_show.smaller_mobile_screen {
          flex: 0 0 auto !important;
          width: auto !important;
          min-width: 80px !important;
      }
      .custom-dropdown-trigger {
          height: 27px !important;
          border-radius: 7px !important;
          font-size: 12px !important;
          padding: 0 10px !important;
          display: flex !important;
          align-items: center !important;
      }
      .custom-dropdown-menu {
          font-size: 12px !important;
      }
      .custom-dropdown-item {
          padding: 8px 12px !important;
          font-size: 12px !important;
      }
    .only_mobile_show{
        display:flex !important;
    }
    .d-xs-none{
        display:none !important;
    }
    .flex-wrap-property{
        flex-wrap:wrap;
    }
    .listing_wrap_in{
        flex: none;
    }
    .listing_wrap{
        flex-direction: column;
    }
    .griding_data{
        flex-direction: column;
    }
    .footer_con{
        flex-direction: column;
    }
    .footer_about{
        margin-bottom: 20px;
    }
    footer{
        background-size: auto;
        padding-bottom: 20px;
        background-repeat: no-repeat;
        background: #33334c;
        padding-top: 50px;
    }
    .copy_write ul{
        padding-left: 0;
    }
      .addone-childs{
    padding-left:29px
}
.left-card-addone select{
    padding-left: 27px;
}
    .copy_write ul li{
        padding: 0px 10px;
    }
    .grid_item{
        flex: none;
    }
    .home_banner_image{
            margin: 30px 0 0 0;
    }
    .footer_info:last-child{
        margin-top:20px;
    }
    .listing_item_list{
        flex-direction: column;
    }
    .list_img img{
        height: 200px;
    }
    .b_profile_social{
        gap: 10px;
    }
      /* .b_profile - commented out height: 400px; */
    .b_profile_detail{
        clip-path:none;
        width: 100%;
    }
    .b_profile_tabs{
        top: 0;
        margin-top: 10px;
          /*display: none;*/
    }
    .b_profile_tabs ul{
        display: flex;
        width: 100%;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 10px;
    }
    .b_profile_tabs ul::-webkit-scrollbar{
        display: none;
    }
    .b_profile_tabs ul li a{
        white-space: nowrap;
    }
    .profile_store_lab li{
        display: block;
        margin: 0;
        margin-bottom: 10px;
    }
    .profile_store_lab li a{
        display: block;
        text-align: center;
        padding: 10px 0px;
    }
    .b_profile_detail_img{
        flex-direction: column;
    }
    .b_profile_detail{
        flex-direction: column;
        align-content: center;
        padding: 15px;
    }
    .b_profile_detail_img h3 ,.b_profile_detail_img h4{
        text-align: center;
    }
    .b_profile_disc{
        flex-direction: column;
    }
    .b_profile_disc_content{
        margin-top: 10px;
    }
    .b_profile_disc_buttons{
        flex-direction: row;
    }
    .b_profile_disc_buttons a{
        text-align: center;
        justify-content: center;
        display: flex;
        flex:  1;
    }
    .text_section_tab ul{
        padding: 0;
        display: flex;
        width: 100%;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 10px;
    }
    .text_section_tab ul li{
        display: block;
    }
    .text_section_tab a{
        display: block;
        font-size: 15px;
        font-weight: 700;
        padding: 12px 20px;
    }
    .text_section_content{
        flex-direction: column;
        gap: 10px;
    }
    .text_section_box{
        flex-direction: column;
        width: 100%;
    }
    .text_section_slide{
        width: 100%;
    }
    .text_section_video {
        width: 100%;
        height: 200px;
    }
    .vid_section{
        margin-top: 10px;
        flex-direction: column;
        gap: 10px;
    }
    .vide_embed iframe{
        height: 250px;
    }
    .vide_embed{
        width: 100%;
    }
    .vide_meta{
        width: 100%;
        gap: 10px;
    }
    .b_address{
        flex-direction: column; 
    }
    .left-card-addone{
    width: 100%;
}
    .pricing-content .adi#addons_1{
        margin-top:8px !important;
    }
    .b_address_con_in{
        flex-direction: column;
        display: block;
    }
    .b_address_con{
        width: 100%;
    }
    .b_address_con_para{
        width: 100%;
    }
    .b_address_detail{
        width: 100%;
    }
    .b_profes{
        padding: 10px 0px;
    }
    .b_contact_box{
        padding: 20px;
        flex-direction: column;
    }
    .b_contact_box_input{
        width: 100%;
    }
    .b_contact_box_button{
        flex-direction: row;
    }
    .width-max-content{
        width:max-content;
    }
    
    .b_contact_box_button button{
        width: 48%;
        margin-bottom: 10px;
        justify-content: center;
        gap: 10px;
        margin-bottom: 0;
    }
    .b_contact_box_button a{
        width:48%;
    }
    .b_contact_box_divid{
        flex-direction: column;
        gap: 0;
    }
    .b_profes_in ,.b_contact_box_map{
        width: 100%;
    }
    .add__new_review{
            text-align: center;
    }
    .reviews-wrapper .clients_box{
            text-align: center;
    margin-bottom: 20px;
    margin-top: 20px;
    }
    .b_contact_box_map iframe{
        width: 100%;
        height: 300px;
    }
    .b_profile_gallery_slide img{
        height: 100%;
        object-fit: cover;
    }
    .right_slider{
        gap: 10px;
    }
    .b_profile{
        border-radius: 0px;
    }
    .shop_wrap{
        flex-direction: column;
        gap: 10px;
    }
    .blog_tabbar{
        padding: 10px;
    }
    .blog_tabbar li{
        display: block;
    }
    .blog_tabbar li a{
        display: block;
    }
    .blog_wrap{
        flex-direction: column;
        gap: 10px;
    }
    .blog_item_list{
        flex-direction: column;
    }

      /* About-Us-Page-Kami */
    .about-us-heading h5 {
        width:100%; 
    }
    .about-us-heading p {
        font-size:12px;
    }
    .about-us-section {
        width: 100%;
        display: flex;
        flex-direction: column !important;
    }
    .about-us-section-content {
        width: 100%;
    }
    .about-us-section-content a {
        font-size:11px;
    }
    .about-us-section-img {
        width: 100%;
        text-align: center;
    }
    .about-us-section-img img{
          width:100%;
    }   
    .faq-section-content-drop-down p{
        font-size: 12px;
        line-height: 16px;
        font-weight: 500;
        margin: 8px 0;
        font-family: "Catamaran", sans-serif;
        display: flex;
        align-items: center;
    }
    .service-section {
        width: 100%;
        display: flex;
        flex-direction: column !important;
    }
    .service-content {
        width: 100%;
    }   
    .about-us-section-content a {
        font-size:11px;
    }
    .our-services-section-img {
        width: 100%;
        text-align: center;
    }
    .our-services-section-img img{
          width:100%;
    }
    .our-service-bottom2{
        display:inline;
    }
    .in-hire-main{
        width:100%;
        display:flex;
        flex-direction:column;
    }
    .hire-section{
        width:100%;
    }
    .hire-heading h3{
        font-size: 22px;
        line-height: 40px;
        font-family: "Catamaran", sans-serif;
        font-weight: 700;
        padding-top: 20px;
    }
    .hire-content h4{
        line-height:30px;
        padding-bottom:10px;
    }
    .hire-bottom {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-bottom: 50px;
    }

    .hire-bottom a {
        width: 50%;
        text-align: center;
        margin: 5px 0;
    }
    .hire-bottom a:hover{
        background-color:#F26122;
        color:#fff;
    }
    .in-digital-main{
        width:100%;
        display:flex;
        flex-direction:column;
    }
    .digital-content {
        width: 100%;
    }
    .digital-img{
        width:100%;
    }
    .hire-bottom-space{
        padding:20px 0px
    }
    .digital-drop-down h3{
        font-size:54px;
    }
    .digital-drop-down h4{
        font-size:43px;
    }
    .digital-bottom a{
        text-decoration: none;
        border: 1px solid var(--org);
        margin: 4px;
        padding: 10px 10px;
        color: var(--org);
        transition: 0.5s;
        border-radius: 7px;
        font-size: 10px;
        font-weight: 500;
    }
    .digital-bottom {
        width: 100%;
        padding:20px 0px;
    }
    .digital-img img {
        width: 100%;
    }
    .e-commerce-main {
        width: 100%;
    }
    .e-commerce-img {
        width: 100%;
    }
    .e-commerce-img img {
        width: 100%;
    }
    .in-e-commerce-main {
        width: 100%;
        padding: 40px 15px;
        display: flex;
        flex-direction: column;
    }
    .e-commerce-content {
        width: 100%;
        padding-top:20px;
    }
    .web-bottom-section{
        width:100%;
        display:flex;
        flex-direction:column;
    }
    .web-bottom-section-one{
        width:100%;
    }
    .web-bottom-section-two{
        width:100%;
    }
    .web-bottom-section-three{
        width:100%;
    }
    .web-bottom-inside-sec {
        padding: 10px 0px;
    }
    .togparag {
        padding-left: 33px;
        width: 100% !important;
        display: none;
    }
    .home_banner{
        border-radius: 32px;
        display: block;
    }
    .home_banner_content,.home_banner_image{
        flex: auto;
    }
    .home_banner_content h2{
        font-size: 32px;
    }
    .home_search{
        padding: 18px;
        width: 85%;
    }
    .search_title h3{
        font-size: 22px;
    }
    .home_search_area{
        display: block;
        height: auto;
        border: none;
    }
    .home_search-container{
        height: 50px;
        margin-bottom: 8px;
        border: 1px solid #EAEAEA;
          border-radius: 7px;
        overflow: hidden;
    }
    .home_search_area button{
        height: 50px;
        width: 100%;
    }
    .loc input{
        border: none;
    }
    .cateSlider_Wrap{
        padding: 0;
        width: 74%;
        margin: 0 auto;
        margin-top: 20px;
    }
    .home_banner_content a{
        padding: 14px 30px;
        font-size: 14px;
    }

    .search_title h4 {
        font-weight: 400;
        font-size: 12px;
        line-height: 19px;
    }
   /* .slide_item{
        width: 400 !important;
    }*/
    .thrive h3{
        font-size: 15px;
    }
    .digit_help{
        display: block;
    }
    .digit_help_img{
        text-align: center;
    }
    .digit_help_img img{
        width: 80%;
        margin: 0 auto;
        margin-bottom: 20px;
    }
    .main_content.home_wrap{
        padding: 0px 15px;
    }
    .digit_help_cont h3{
        font-size: 30px;
    }
    .custom-select .icon{
        font-size:12px;
    }
    .pride_help{
        display: block;
    }
    .pride_help_img{
        margin-top: 20px;
        text-align: center;
    }
    .pride_help_img{
        width: 100%;
        margin-top: 50px;
    }
    .pride_help_img img{
        width:100%;
    }
    .glow-card{
        flex: 0 0 100%;
    }
    .join_btn_White{
        margin-top:30px;
    }
    .foot_subs_form input{
        height: 50px;
        width:100%;
    }
    .foot_subs_form{
         width:100%;
         margin-top: 15px;
    }
    .foot_subs_form button{
        height:50px;
    }
    .footer_list{
        margin-top:20px;
    }
    .foot_subs_form{
        width:100% !important;
    }
    #pageFooter{
        margin-top:50px;
    }
    .pride_help_title h3{
        font-size: 30px;
    }
    .home_wrap .b_profes_in{
        width: 95%;
    }
    .home_b_check_whi{
        display: block;
    }
    .homei_btn a {
        padding: 13px 24px;
        font-size: 13px;
    }
    .dictry_search {
/*        flex: auto;*/
        flex-direction: column;
    }
    .search_area{
        width: 100%;
    }
    .custom-select{
        width: 100% ;
        margin-top: 10px;
    }
    .img_gallery{
        padding: 0px 10px;
    }
    .pagination-dots{
        width: 80%;
    }
    .b_contact_box_map{
        margin-top: 20px;
    }
    .onbtnDir{
        justify-content: center;
    }
    .right_Img_Pro{
        padding-left: calc(var(--bs-gutter-x) * .5);
    }
    .custom_ProDuct_btn{
        flex-direction: column;
        gap: 10px;
    }
    .amenities-wrapper{
        width:100%;
    }
    .borNew{
        padding: 10px !important;
    }
    /* Smart sidebar: un-stick + collapse below content on mobile */
    .product-detail-sidebar {
        position: static;
        margin-top: 20px;
    }
    .sidebar-widget {
        padding: 14px;
    }
    .thumb-strip-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }
    .thumb-strip-item img {
        height: 70px;
    }
    .flash-card-img img {
        width: 76px;
        height: 76px;
    }
    .product-page .custon_New .thumbs .swiper-slide, .product-page .custon_New .thumbs_car .swiper-slide{
        height: 55px;
    }
    .b_profile_disc.tabs_contae {
    height: auto;
}
    .custon_New .img-display_cars .img-showcase .swiper-slide{
        height: 400px;
    }
    .chl-tab-panel.active {
      flex-direction: column;
          flex-wrap: nowrap;    
    }
    .chl-feature-list,
    .chl-addons-container {
      flex: 1 1 100%;
    }
    .chl-cta-btn{
        margin-bottom: 20px;
    }
    .chl-border-left-accent{
        padding-left: 10px;
    }
    .pricing-offer .form-container{
        flex-direction: column;
    }
    .img_gallery img{
        margin-bottom: 10px;
    }
    .img_gallery .col-md-6{
        padding: 0 !important;
    }
    .img_gallery .gallery-left img{
        height: auto;
    }
    .b_contact h3{
        font-size: 26px;
    }
    .limit_scroll_new{
        height: auto;
        overflow: visible;
    }
    .price-boxes-wrap .col-md-6.col-sm-6{
        width: 90%;
    }
    .pricing-content .addon-itm label{
        font-size: 14px;
    }
    .adi .addons{
        padding:0;
    }
    .pricing-content{
        flex-direction:column;
        padding: 0 15px;
    }
    .mobile_button_show{
        display:block !important;   
    }
    .pricing-offer .pricingTable .pricing-content ul li{
        font-size: 15px !important; 
        line-height: 32px !important;
    }
    .pricing-offer .pricingTable .heading{
        font-size: 18px !important;
    }
    .pricing-content .btn-outline-secondary{
        font-size: 14px;
    }
    .pricing-offer .nav-pills li{
        flex: 0 0 45%;
    }
    .pricing-offer .nav-pills li button{
        width: 100% !important;
    }
    .b_wrap .b_profile_tabs li a{
        padding: 10px 15px;
        cursor: pointer;
        min-width: max-content;
    }
    .gallery_sec .bx-pager.bx-default-pager{
        bottom: -80px;
    }
    .b_profile_gallery{
        margin-top: 0;
    }
    .b_profile_gallery_slide img{
        border-radius: 12px !important;
        height: 250px;
    }
    .gallery_sec{
        padding-top: 0;
    }
    .product-page .swiper-slide.img-item{
        width: 60px !important;
    }
    .ads-details .ad-info-wrapper .product-details .specification ul li .texts p.title{
        font-size: 16px !important;
    }
    .ads-details .ad-info-wrapper .product-details .specification ul li .texts p{
        line-height: 22px;
    }
    .ads-details .ad-info-wrapper .product-details .specification.features ul li .texts p.title{
        font-size: 15px !important;
    }
    .success-message{
        width: 90%;
        margin: 25px auto;
    }
    .b_address_con_check{
        width: 100%;
        display: inline-block;
        vertical-align: top;
        margin: 0 0 20px 0px;
    }
    .b_contact{
        margin-top: 20px;
      }
      
  /* Very small mobile screens - make row 3 even more compact */
  @media (max-width: 360px) {
      .dictry_meta_locat.mobile_row_3 {
          gap: 3px !important;
      }
      .mobile_location_fields {
          gap: 1px !important;
      }
      .mobile_location_text {
          padding: 0 1px !important;
          font-size: 10px !important;
      }
      .mobile_location_text span {
          max-width: 70px !important;
      }
      .mobile_address_bar {
          padding: 0 1px !important;
          font-size: 10px !important;
          max-width: 100px !important;
      }
      .mobile_right_controls {
          gap: 2px !important;
      }
      .mobile_toggle {
          min-width: 24px !important;
          max-width: 24px !important;
          padding: 0 4px !important;
      }
      .custom-dropdown-wrapper.only_mobile_show.smaller_mobile_screen {
          min-width: 60px !important;
          max-width: 75px !important;
      }
      .custom-dropdown-wrapper.only_mobile_show.smaller_mobile_screen .custom-dropdown-trigger {
          padding: 0 6px !important;
          font-size: 10px !important;
      }
      .custom-dropdown-wrapper.only_mobile_show.smaller_mobile_screen .custom-dropdown-selected {
          max-width: 45px !important;
      }
  }
  
  /* Larger mobile screens (480px and above, below 778px) - Sort in row 2 */
  @media (min-width: 480px) and (max-width: 777px) {
      /* Show sort dropdown in filter row (row 2) */
      .custom-dropdown-wrapper.only_mobile_show.larger_mobile_screen {
          display: flex !important;
          flex: 0 0 auto !important;
          width: auto !important;
          min-width: 80px !important;
          margin-left: 6px !important;
      }
      /* Hide sort dropdown from row 3 */
      .custom-dropdown-wrapper.only_mobile_show.smaller_mobile_screen {
          display: none !important;
      }
  }
  
  /* Desktop styles (778px and above) - Maintain horizontal layout */
  @media (min-width: 778px) {
      .custom_mobile_search {
          flex-direction: row !important;
          height: 40px !important;
          gap: 0 !important;
          border: 1px solid rgb(248 193 169) !important;
          border-radius: 7px !important;
      }
      .custom_mobile_search .search-container {
          flex: 0 0 50% !important;
          width: auto !important;
          border: none !important;
          border-radius: 15px 0px 0px 15px !important;
          height: 40px !important;
      }
      .custom_mobile_search .location-container {
          flex: 0 0 34% !important;
          width: auto !important;
          border-left: 1px solid rgb(248 193 169) !important;
          border-top: none !important;
          border-bottom: none !important;
          border-right: none !important;
          border-radius: 0 !important;
          height: 40px !important;
      }
      .custom_mobile_search .directory_search {
          flex: 0 0 16% !important;
          width: auto !important;
          border-radius: 0 7px 7px 0 !important;
          height: 40px !important;
          margin-top: 0 !important;
      }
      .dictry_content .city_search {
          padding-left: 32px !important;
          padding-right: 8px !important;
          font-size: 16px !important;
      }
      .custom_mobile_search .search-input {
          padding-left: 40px !important;
          padding-right: 8px !important;
          font-size: 16px !important;
          height: 40px !important;
      }
      .dictry_content .city_search {
          height: 40px !important;
      }
      .custom-select.filter-selection select {
          height: 40px !important;
          line-height: 40px !important;
      }
      .search-location-dir {
          font-size: 20px !important;
          left: 10px !important;
      }
      .search-icon {
          font-size: 20px !important;
          left: 15px !important;
      }
    }
    
/* Tablet/iPad styles (768px - 1024px) - Max 3 rows layout */
@media (min-width: 768px) and (max-width: 1024px) {
    .dictry_wrap.flex-container {
        width: 100%;
        max-width: 100%;
    }
    .d_sidebar {
        flex: 0 0 20%;
    }
    .dictry_content {
        flex: 0 0 78%;
    }
    .listing_wrap_in {
        flex: 0 0 78%;
    }
    .dictry_search_meta_container {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }
    .dictry_search {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }
    .dictry_meta {
          display: flex !important; /* Show on desktop */
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }
    .dictry_search .search_area {
        width: 100%;
    }
    .dictry_search .custom-select {
        width: 100%;
        margin-top: 10px;
    }
    /* dictry_cate wraps to second row on tablet */
    .dictry_cate ul li {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    .dictry_cate ul li a {
        margin: 5px 8px 5px 0;
    }
}

@media (max-width: 450px) {
    .logo img{
        width:160px;
    }
}

/* Medium screens (1024px - 1200px) */
@media (min-width: 1024px) and (max-width: 1199px) {
    .dictry_wrap.flex-container {
        width: 100%;
        max-width: 100%;
    }
    .d_sidebar {
        flex: 0 0 16%;
    }
    .dictry_content {
        flex: 0 0 82%;
    }
    .listing_wrap_in {
        flex: 0 0 82%;
    }
    .dictry_search_meta_container {
        width: 100%;
    }
}

@media screen and (max-width: 5000px) and (min-width: 1200px) {
    footer{
        padding-top: 350px;
    }
    /* Ensure margins are always maintained at larger screen sizes */
    .main_content .container-xxl {
        padding: 0 20px;
    }
    .dictry_wrap.flex-container {
        width: 100%;
        max-width: 100%;
    }
    .d_sidebar {
        flex: 0 0 14%;
    }
    .dictry_content {
        flex: 0 0 84%;
    }
    .listing_wrap_in {
        flex: 0 0 84%;
    }
    .dictry_search_meta_container {
        width: 101%;
    }
}

/* Ensure margins are maintained at 1400px and above */
@media screen and (min-width: 1400px) {
    .main_content .container-xxl {
        padding: 0 20px;
        max-width: 100%;
    }
    .dictry_wrap.flex-container {
        width: 117rem; /* 1872px */
        max-width: 100%;
    }
    .d_sidebar {
        flex: 0 0 13.5%;
    }
    .dictry_content {
        flex: 0 0 83%;
    }
    .listing_wrap_in {
        flex: 0 0 83%;
    }
    .dictry_search_meta_container {
        width: 102%;
    }
} 

.activepanel{
    left: 0;
}
.activeBar{
    left: 0;
}
.activecateory{
    left: 0;
}
.activeSlide{
    height: auto;
    overflow: hidden;
}