.elementor-23 .elementor-element.elementor-element-7e330f53{--display:flex;}.elementor-23 .elementor-element.elementor-element-a8691de{--spacer-size:50px;}.elementor-23 .elementor-element.elementor-element-441165c{--display:flex;}@media(max-width:1024px){.elementor-23 .elementor-element.elementor-element-49e4cae9{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;padding:0px 0px 0px 0px;}}@media(max-width:767px){.elementor-23 .elementor-element.elementor-element-49e4cae9{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;padding:0px 0px 0px 0px;}.elementor-23 .elementor-element.elementor-element-49e4cae9.elementor-element{--align-self:center;--order:-99999 /* order start hack */;--flex-grow:0;--flex-shrink:0;}}/* Start custom CSS for shortcode, class: .elementor-element-49e4cae9 *//* Hide price only inside shortcode wrapper with custom attribute */
div[data-hide-price="true"] .directorist_price,
div[data-hide-price="true"] .directorist-price {
    display: none ;
}

.atbd_category span:contains("In Stock") {
   background: green;
   color: #fff;
   padding: 3px 8px;
   border-radius: 5px;
   font-weight: 900;   /* heavier than bold (700) */
}

.atbd_category span:contains("Out of Stock") {
   background: red;
   color: #fff;
   padding: 3px 8px;
   border-radius: 5px;
   font-weight: 900;   /* stronger bold */
}

.atbd_category span:contains("In Stock"),
.atbd_category span:contains("Out of Stock") {
   display: inline-block;   /* makes it a pill */
   white-space: nowrap;     /* prevent text from breaking */
   background: red;         /* or green for In Stock */
   color: #fff;
   padding: 3px 10px;
   border-radius: 5px;
   font-weight: 900;        /* heavier bold */
   font-size: 13px;         /* optional, adjust to look neat */
   line-height: 1.4;
}
/* Fix Out of Stock / In Stock badges */
.directorist-listing-card-radio {
  display: inline-block;
  white-space: nowrap;
  padding: 3px 10px;
  border-radius: 5px;
  font-weight: 900;
  font-size: 13px;
  line-height: 1.4;
  min-width: auto !important;
  max-width: 100%;
  color: #fff; /* text white for both */   
}

.directorist-listing-card-radio:contains("Out of Stock") {
  background: #d93025;  /* red */
}

/* In Stock = Green background */
.directorist-listing-card-radio:contains("In Stock") {
  background: #34a853;  /* green */
}



/* Fix overlapping in Directorist listings */
.directorist-listing-card,
.atbd_single_listing {
  box-sizing: border-box;
  width: 100%;
  margin-bottom: 20px;
}

/* Ensure proper wrapping on tablet view */
@media (min-width: 768px) and (max-width: 1024px) {
  .directorist-listings,
  .atbd_all_listing_wrapper,
  .directorist-listing-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .directorist-listing-card,
  .atbd_single_listing {
    width: 48% !important;  /* two cards per row */
    margin-bottom: 25px;
  }
}

/* Ensure spacing and alignment on smaller screens */
@media (max-width: 767px) {
  .directorist-listing-card,
  .atbd_single_listing {
    width: 100% !important; /* one per row on mobile */
    margin-bottom: 20px;
  }
}/* End custom CSS */