.min-w-auto{
    min-width: auto !important;
}

.curser-pointer{
    cursor: pointer;
}

.panel-title1 .accordion-toggle{
    padding-right: 2rem;
}

.item-card2-desc .text-primary:hover {
    color: var(--color-primary) !important;
}
.similar-listing-section .similar-listing-title:hover{
    color: var(--primary-bg-hover) !important;
}

.sticky-breadcrumb{
    position: sticky;
    top: 80px;
    z-index: 1;
    background-color: #ffffff;
}

@media screen and (max-width: 991px) {
    .sticky-breadcrumb{
        top: 98px !important;
        z-index: 98;
    }
}

.breadcrumb1 {
    background-color: transparent !important;
}

/* Breadcrumb mobile view design */
@media (max-width: 576px) {
    .custom-breadcrumb {
        flex-direction: column !important;
        padding-left: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .custom-breadcrumb-item1 {
        margin-bottom: 4px !important;
        display: flex !important;
    }
}

.recently-updated-carousel .owl-stage{
    display: flex;
    align-items: stretch;
}

.latest-listing-carousel .owl-stage{
    display: flex;
}

@media screen and (max-width: 767px) {
    .header-main #mobile-search-wrapper{
        /* position: absolute; */
        top: 50px;
        /* background-color: #141b2d; */
        z-index: 111;
        width: 100%;
        padding: 1rem;
        left: 0;
    }
}

.profile-section .profile-pic .avtar-details-wrapper{
    width: fit-content;
    margin: auto;
    position: relative;
    border: 4px solid var(--color-primary);
    border-radius: 50%;
}

.profile-section .profile-pic .avtar-details-wrapper .avtar-btns{
    right: 0px !important;
    bottom: -15px !important;
}

.btn.add-list{
    border-width: 2px;
    line-height: 1.6;
}

.btn.add-list:hover{
    background-color: #254D70;
    border-color:#254D70;
    color: #FFFFFF !important;
}

#edit-location-form .business-main-section .business-hours-section .working-hours-block,
#add-location-form .business-main-section .business-hours-section .working-hours-block{

    display: flex;
    align-items: self-start;
}  

#edit-location-form .business-main-section .business-hours-section .working-hours-block .step-2,
#add-location-form .business-main-section .business-hours-section .working-hours-block .step-2{
    width: 115px;
}  

#edit-location-form .business-main-section .business-hours-section .working-hours-block .step-3,
#add-location-form .business-main-section .business-hours-section .working-hours-block .step-3{
    width: 320px;
}   

#edit-location-form .business-main-section .business-hours-section .working-hours-block .step-3 .block-to-clone .step-row-1,
#edit-location-form .business-main-section .business-hours-section .working-hours-block .step-3 .block-to-clone .step-row-2,
#add-location-form .business-main-section .business-hours-section .working-hours-block .step-3 .block-to-clone .step-row-1,
#add-location-form .business-main-section .business-hours-section .working-hours-block .step-3 .block-to-clone .step-row-2{
    width: 135px;
}   

#edit-location-form .business-main-section .business-hours-section .working-hours-block .step-3 .block-to-clone .step-row-3,
#add-location-form .business-main-section .business-hours-section .working-hours-block .step-3 .block-to-clone .step-row-3{
    width: 51px;
}

#edit-location-form .business-main-section .business-hours-section .working-hours-block .step-3 .block-to-clone,
#add-location-form .business-main-section .business-hours-section .working-hours-block .step-3 .block-to-clone{
    display: flex;
}   

/*  */

.view-container.grid-view .listing-content{
    display: flex;
    flex-direction: column;
}

.view-container.grid-view .listing-content .listing-info{
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.view-container.list-view .listing-item:not(:last-of-type){
    margin-bottom: 1.5rem;
}

.view-container.list-view .listing-content{
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
}

.view-container.grid-view{
    margin: 0 -0.5rem;
}

.view-container.grid-view .listing-item {
    padding-right: calc((1rem) * .5);
    padding-left: calc((1rem) * .5);
    margin-bottom: 1rem;
}

/* CSS - Aspect ratio approach */
.listing-card {
    display: flex;
    flex-direction: column;
    height: 100%;              /* allow parent grid to control rows if desired */
    min-height: 340px;         /* gentle minimum on small screens */
  }
  
  .listing-image-container {
    width: 100%;
    aspect-ratio: 16 / 9;      /* keeps a 16:9 box that scales with width */
    overflow: hidden;
    flex: 0 0 auto;            /* image keeps its aspect box, body grows below */
  }

  .listing-image-container img.listing-image {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
  }
  
  .card-footer {
    margin-top: auto;          /* footer sticks to bottom when card grows */
  }
  
  /* Optional: make grid cards equal height by stretching columns (Bootstrap row) */
  .row .col > .listing-item { height: 100%; }

@media screen and (max-width: 575px) {
    .view-container.list-view .listing-item .listing-content{
        flex-direction: column;
        gap: 0;
    }

    .view-container.list-view .listing-item .item-wrapper{
        flex-direction: column;
    }
}

.view-container.list-view .listing-content .listing-image-container{
    height: auto;
    min-width: 180px;
    min-height: 180px;
}

@media screen and (max-width: 767px) {
    .view-container.list-view .listing-content{
        flex-direction: column !important;
    }

    .view-container.list-view .listing-content .listing-image-container{
        width: 100%;
        height: 180px;
    }
}

@media screen and (min-width: 768px) {
    .view-container.list-view .listing-content .listing-info .card-body,
    .view-container.list-view .listing-content .listing-info .card-footer{
        padding-left: 0;
    }
}

.view-container.list-view .listing-content .listing-info{
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/*  */

.category-listing-wrapper.grid-view .item-wrapper{
    display: flex;
    flex-direction: column;
    height: 100%;
}



.category-listing-wrapper.list-view .item-wrapper{
    display: flex;
    align-items: stretch;
}

.category-listing-wrapper.list-view .item-wrapper .listing-image-container{
    height: auto;
    min-height: 180px;
    min-width: 160px;
}

@media screen and (max-width: 575px) {
    .category-listing-wrapper.list-view .item-wrapper .listing-image-container{
        width: 100%;
        height: 180px;    }
}

.category-view-switcher{
    width: auto !important;
}

.subscription-purchase .bs-stepper{
    min-height: 220px;
}

.subscription-purchase .bs-stepper .step-trigger{ 
    padding-top: 0;
    padding-bottom: 0;
}

.subscription-purchase .bs-stepper .step-trigger .bs-stepper-label{ 
    margin-bottom: 0;
}

@media screen and (max-width: 575px) {
    .subscription-purchase .bs-stepper.vertical{
        flex-direction: column;
        gap: 1.5rem;
    }

    .subscription-purchase .bs-stepper.vertical .bs-stepper-header{
        flex-direction: row;
    }

    .subscription-purchase .bs-stepper .step-trigger{ 
        padding: 0;
    }

    .dispute-claim-request-section .bs-stepper-header .step-trigger{
        padding-left: 0;
        padding-right: 0;
        white-space: normal;
        font-size: 14px;
    }
}

/*  */
@media screen and (max-width: 991px) {
    .lg-toolbar.lg-group{
        top: 68px;
    }
}

#photo-gallery-slider .swiper-wrapper{
    align-items: center;
}

/* Invoice details */

.profile-invoice-details-page{
    overflow: auto;
}

.profile-invoice-details-page .invoice-root{
    min-width: 500px;
}

.profile-invoice-details-page .invoice-root .transactions>table{
    table-layout: auto;
}

.profile-invoice-details-page .top .meta-right{
    min-width: 0;
    margin-left: auto;
}

.profile-invoice-details-page .top{
    flex-wrap: nowrap;
    padding-right:1rem;
}

.profile-invoice-details-page .panel .muted{
    word-wrap: anywhere;
}

@media screen and (max-width: 767px) {
    .profile-invoice-details-page .top{
        flex-wrap: wrap-reverse;
    }

    .profile-invoice-details-page .invoice-root{
        padding: 20px 0 5px 0;
    }
}


/* Light Theme Start */
.header-main .top-bar{
    position: fixed;
    top: 0;
    z-index: 111;
    /* padding-top: 2px; */
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.sticky-wrapper{
    top: 41px;
    z-index: 99 !important;
}

@media screen and (min-width: 992px) {
    .sticky-wrapper{
        top: 0px;
    }
}

.sticky-pin{
    top: 1001 !important;
}

@media screen and (max-width: 991px) {
    .header-main #mobile-search-wrapper{
        display: none;
    }

    .sticky-pin{
        top: 44px !important;
        z-index: 99 !important;
    }

    .sticky-wrapper{
        top: 44px;
    }

    .sticky-wrapper.is-sticky .horizontal-main{
        top: 44px !important;
    }

    .horizontal-header .smllogo{
        /* margin-top: 0 !important; */
        padding-top: 6px !important;
    }

    body.forest-sage .horizontalMenu > .horizontalMenu-list li.bg-white {
        background-color: #FFF !important;
    }
}

@media screen and (min-width: 992px) {
    .sticky-wrapper.is-sticky .horizontal-main{
        top: 0px !important;
    }
}

.header-main .top-bar .top-bar-right .custom {
    margin: 3px 0 !important;
}

.header-main .horizontal-mainwrapper .horizontalMenu .horizontalMenu-list{
    display: flex;
    align-items: center;
}

.header-main .horizontal-mainwrapper .horizontalMenu .horizontalMenu-list li{
    float: none;
}

.header-main .horizontal-mainwrapper .horizontalMenu .horizontalMenu-list li a,
.header-main .horizontal-main .top-bar-right .login-btn,
.header-main .show-reg-form i,
.header-main .horizontal-main .toggle-header-search span{
    color: #ffffff !important;
}

.header-main .horizontal-main{
    position: relative;
}
.header-main .show-reg-form .icon-primary {
    color: var(--color-primary) !important;
}
@media screen and (min-width: 992px) {
    .header-main .horizontal-main #mobile-search-wrapper{
        position: absolute;
        bottom: -76px;
        padding: 1rem;
        background-color: transparent !important;
        backdrop-filter: blur(20px);
        left: 0;
        width: 100%;
    }

    .header-main .sticky-wrapper.is-sticky .horizontalMenu .horizontalMenu-list .get-registration-modal{
        margin-top: 0 !important;
    }
}

.listing-image-container>a{
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  background-color: rgba(37, 77, 112, 0.05);
}

.listing-image-container>a img,
.listing-details-wrapper .listing-details-thumb-wrapper .listing-details-thumb img.listing-details-logo{
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}

.listing-details-wrapper .listing-details-thumb-wrapper .listing-details-thumb{
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(37, 77, 112, 0.05);
  border-radius: 12px;
  box-shadow: 0px 0px 0px 5px #ffffff5e;
  padding: 10px;
  margin-bottom: 16px;
}

.listing-details-wrapper .listing-details-thumb-wrapper .listing-details-thumb img.listing-details-logo{
  box-shadow: none;
  border-radius: 8px;
}

/*  */
.word-wrap-anywhere{
    word-wrap: anywhere;
}
.header-main{
    z-index: 1072;
}
.working-hours-header .status-pill{
    position: static !important;
    flex-shrink: 0;
}

#similar-listings li:hover{
    background-color: rgba(37, 77, 112, 0.1);
}

.primary-category-select .select2-container .select2-selection--single .select2-selection__rendered{
    padding-right: 2.5rem;
}

.primary-category-select .select2-container .select2-selection--single .select2-selection__rendered .select2-selection__clear{
    position: absolute;
    right: 30px;
}

.additional-category-select .select2-container .select2-selection--multiple .select2-selection__rendered{
    padding-right: 1.5rem;
}

.additional-category-select .select2-container .select2-selection--multiple .select2-selection__rendered .select2-selection__clear{
    position: absolute;
    right: 12px;
    margin: 0;
}

.additional-category-select .select2-container .select2-selection--multiple .select2-selection__rendered .select2-selection__choice{
    word-wrap: anywhere;
    white-space: normal;
    display: flex;
    gap: 0.25rem;
}

#business-logo-tab .business-logo-delt-btn-wrapper{
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

#location-details .location-label{
    min-width: 105px;
}

.working-hours-table .working-hours-time-box{
    text-align: right !important;
}

@media screen and (max-width: 575px) {
    .working-hours-table .working-hours-time-box{
        text-align: left !important;
    }
}

.dispute-claim-details-icon-wrapper{
    width: 22px;
}

.icon-w-20{
    display: inline-block;
    width: 20px !important;
    min-width: 20px;
    text-align: left !important;
}

body .lg-backdrop{
    z-index: 1073;
}

body .lg-outer{
    z-index: 1074;
}

.address-state-select .select2-container .select2-selection .select2-selection__rendered .select2-selection__clear,
.established-year-select .select2-container .select2-selection .select2-selection__rendered .select2-selection__clear,
.established-month-select .select2-container .select2-selection .select2-selection__rendered .select2-selection__clear,
.established-day-select .select2-container .select2-selection .select2-selection__rendered .select2-selection__clear{
    top: 10px;
    position: absolute;
    right: 30px;
}

.address-state-select .select2-container .select2-selection .select2-selection__rendered,
.established-year-select .select2-container .select2-selection .select2-selection__rendered,
.established-month-select .select2-container .select2-selection .select2-selection__rendered,
.established-day-select .select2-container .select2-selection .select2-selection__rendered{
    padding-right: 2.5rem;
}

.photoUpload-files span.badge{
  white-space: normal;
  word-wrap: anywhere;
}

.edit-review-dynamic-form,
.review-reply-section{
    margin-left: auto !important;
    width: calc(100% - 100px) !important;
}

.edit-review-dynamic-form .media,
.review-reply-section .media{
    margin-left: 0 !important;
}

.reviews-comments-item .edit-review-reply-section{
    width: 100%;
    margin-top: 0.5rem;
}

@media screen and (max-width: 575px) {
    .edit-review-dynamic-form,
    .review-reply-section{
        margin-left: auto !important;
        width: calc(100% - 30px) !important;
    }

    .reviews-comments-item .edit-review-reply-section{
        width: 100%;
    }

    .edit-review-reply-form #characters-count,
    .reply-review-form #characters-count{
        position: static;
        text-align: right;
    }
}

.my-listing-section .select2-container--default .select2-selection--single .select2-selection__arrow,
.add-edit-listing-form .select2-container--default .select2-selection--single .select2-selection__arrow{
    top: 0px;
}

.my-listing-section .select2-container--default .select2-selection--single .select2-selection__arrow b,
.add-edit-listing-form .select2-container--default .select2-selection--single .select2-selection__arrow b{
    margin-top: -2px;
    top: 50%;
}
/*  */
@media screen and (max-width: 1279px) {
    #details-section .card .card-header{
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    #details-section .card.working-hours-card .card-header .status-pill{
        font-size: 11px;
        padding-right: 10px;
        top: 18px;
    }
}

.filter-card .select2-container--default .select2-selection--single .select2-selection__clear{
    position: absolute;
    float: none;
    top: 48%;
    transform: translateY(-50%);
    right: 1.75rem;
}

.filter-card .select2-container .select2-selection--single .select2-selection__rendered{
    padding-right: 38px;
}

.rounded-4 {
    border-radius: 0.5rem !important;
}

.rounded-5 {
    border-radius: 0.7rem !important;
}

.object-fit-contain {
  object-fit: contain !important;
}

.object-fit-cover {
  object-fit: cover !important;
}

@media (max-width: 420px) {
    .contact-recaptcha-container {
        transform: scale(0.75);
        transform-origin: left top;
        width: 228px;
    }
}

.line-height-normal{
    line-height: normal !important;
}

.gap-x-4{
    column-gap: 1.5rem;
}

.gap-y-1{
    row-gap: 0.25rem;
}

.listing-details-main-page .listing-contact-details a:hover{
    color: rgb(255, 140, 0) !important;
}

.listing-details-main-page{
    padding-top: 5.5rem;
    padding-bottom: 4.5rem;
}

@media screen and (max-width: 991px) {
    .listing-details-main-page{
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }
}

.dispute-claim-request-section .bs-stepper .bs-stepper-header,
.subscription-purchase .bs-stepper .bs-stepper-header{
    margin: 0;
}

.invoice-list-page .table.invoice-table tr td{
    border-width: 1px;
    border-color: #EFE4D2 !important;
}

.invoice-list-page .table.invoice-table tr th{
    border-width: 1px;
    border-color: #edce9d !important;
}