body {
  background-color: #fff;
  padding: 0;
  margin: 0;
}
/* --- General Category & Item Styles --- */
.service-accordian-sec {
  font-family: "Lora", Sans-serif; position: relative;
}
.service-accordian-sec .container {
  max-width: 1000px;
  padding: 0 20px;
  margin: 0 auto;
}

.service-category {
  margin-bottom: 20px;
  border: 1px solid #ccc; 
}

/* Category Header (The blue bar) */
.category-header {
  background-color: #4274ba;
  color: white;
  padding: 20px 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  font-weight: bold;
  text-transform: uppercase;
  transition: background-color 0.2s;
  font-size: 20px;
  font-family: "brandon-grotesque", Sans-serif;
  letter-spacing: 1px;
}

.icon {
  margin-right: 20px;
}

/* Category Hover State */
.service-category:not(.active) .category-header:hover {
  background-color: #2a5a9d; /* Lighter blue on hover */
}

/* Category Active State */
.service-category.active .category-header {
  background-color: #2a5a9d;
}

/* Category Content Area */
.category-content {
  background-color: #efefef;

  overflow: hidden;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}
.service-category .category-content > div {
	padding: 35px 30px;
      display: flex;
    flex-direction: column;
    gap: 20px;
}
.service-category.active .category-content {
  padding: 0 !important;
  /* border: 2px solid #d3d3d3; */
}
.category-content.collapsed {
  max-height: 0;
  padding: 0;
}

/* --- Service Item Styles --- */

.service-item {
  padding: 15px;
  background-color: #fff;
  border-radius: 12px;
  padding-bottom: 0;
  min-height: 60px;
}
/* .service-item + .service-item {
  margin-top: 20px;
} */
.service-item:last-child {
  border-bottom: none;
}

.service-header {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}

.service-header label {
  flex-grow: 1;
  margin-left: 0;
  cursor: pointer;
  font-size: 20px;
  font-weight: bold;
}
.service-item {
  font-size: 17px;
}
.service-item ul li,
.service-item ol li,
.service-item p,
.service-item a {
  padding-bottom: 4px; line-height: 1.5;
}
.service-item p {
  padding-bottom: 15px;
  color: #585858;
  margin-left: 30px;
  margin-top: 0;
  margin-bottom: 0;
}

.service-item a:hover {
  color: #2A5A9D;
}

.service-item a {
  padding-bottom: 15px;
}

.price {
  font-weight: bold;
  color: #0b559b; /* Price color */
  font-size: 17px; line-height: 1
}

/* --- Service Item States (as per image) --- */

/* Hover state for Service Item */
.service-item:hover {
  background-color: #ffffff;
}

/* Selected/Checked State (Service Title Goes Here - Selected for Cost Estimate) */
.service-item.selected-item {
  background-color: #f0f8ff; /* Light blue background for selected */
}

.service-item.selected-item .service-header label {
  color: #2A5A9D; /* Blue text for selected title */
}

.service-item.selected-item input[type="checkbox"] {
  accent-color: #2A5A9D; /* Blue checkbox */
}

/* --- Details Section Styles --- */

.details-section {
  /* margin-top: 10px; */
  padding-left: 20px;
  color: #333;
  padding-bottom: 15px;
}
.details-section ul,
.details-section ol {
  margin-left: 20px;
}
.toggle-details-link {
  display: inline-block;
  margin-top: 0;
  margin-left: 30px;
  color: #4274BA;
  font-weight: bold;
      font-family: "brandon-grotesque", Sans-serif;
  text-decoration: none;
}

.details-section p,
.details-section ul,
.details-section ol {
  margin-bottom: 5px;
  color: inherit;
}

.details-section.hidden {
  display: none;
}
.item-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #2a5a9d;
  aspect-ratio: 1;
  width: 28px;     aspect-ratio: 1;
    height: 28px;
  border-radius: 50%;
  margin-left: 10px;
	font-size: 15px;
}
.filter-sort-bar-wrap {
  border-bottom: 1px solid #ddd; 
  
  background-color: #fff;
}
.sort-price-wrap{
position: sticky; top: 85px;z-index: 9;
}
.filter-sort-bar {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
	font-family: "Lora", Sans-serif;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.search-box-container {
  display: flex;
  align-items: center;
  flex-grow: 1;
  margin-right: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 0 5px;
  background-color: white;
	-webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  touch-action: manipulation;
}

.search-icon {
  color: #999;
  margin-right: 8px;
}

#serviceSearch {
  border: none;
  outline: none;
  flex-grow: 1;
  padding: 0 ;
  font-size: 14px;
  font-family: "Lora", Sans-serif;
  background-color: #ffffff;
}
.service-accordian-sec .estimate-bar-container {
  padding: 15px 0;
}
.service-accordian-sec .total-display #totalEstimatePrice{
  padding: 5px 0;
}
/* Sort Button Styles */
.sort-button {
	
	border-radius: 0;
	padding: 10px 15px !important;
	cursor: pointer !important;
	font-size: 12px !important;
	font-weight: bold;
	display: flex;
	align-items: center;
	transition: background-color 0.2s, border-color 0.2s;
	font-family: "Lora", Sans-serif;
}
.service-accordian-sec .sort-price-wrap .filter-sort-bar-wrap .sort-button[data-sort-order="default"]:focus , 
.service-accordian-sec .sort-price-wrap .filter-sort-bar-wrap .sort-button[data-sort-order="default"] {
  background-color: #fff;
	color: #4274ba;
	border: 1px solid #4274ba;
}
.service-accordian-sec .sort-price-wrap .filter-sort-bar-wrap .sort-button[data-sort-order="asc"]:focus ,
.service-accordian-sec .sort-price-wrap .filter-sort-bar-wrap .sort-button[data-sort-order="asc"]{
  background-color: #4274ba !important;
	color: white !important;
	border: 1px solid #4274ba;
}
.service-accordian-sec .sort-price-wrap .sort-button:focus ,
.service-accordian-sec .sort-price-wrap .sort-button:hover {
  background-color: #f0f0f0!important;
  border-color: #4274ba!important;
  color: #4274ba!important;
}

.sort-icon {
  margin-right: 5px;
}

/* Update icons for sorting directions */
.sort-button[data-sort-order="desc"] .sort-icon {
  transform: rotate(180deg);
}

/* --- Price Estimate Bar Styles --- */

.estimate-bar-container {
  color: white;
  padding: 3vh 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 4px;
}
.estimate-bar-container-wrap {
  background-color: #3381b3;
}
.service-container{
 margin-top: 20px;
}
.estimate-info {
  display: flex;
  flex-direction: column;
}

.estimate-label {
  font-size: 1em;
  font-weight: normal;
	letter-spacing: .5x;
  line-height:1.1;
  text-transform: uppercase;
}
.total-display {
  margin-top: 0px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.total-display #totalEstimatePrice {
	font-size: 24px;
	font-weight: bold;
	margin-right: 10px;
	display: inline-block;
	line-height: 1;
	padding: 10px 0;
}

.total-display #selectedServiceCount {
	font-size: 14px;
	display: block;
	line-height: 1;
}

.clear-all-button {
  background: none;
  color: white;
  border: 1px solid white;
  padding: 8px 12px !important;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.2s;
	font-size: 0.75em !important;
}

.clear-all-button:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.clear-all-button i {
  margin-right: 5px;
}

/* Selected item style (Ensure this exists from before) */
.service-item.selected-item {
  background-color: #fafdff; /* Light blue background for selected */
}

/* --- Checkbox Styling (Custom 16px) --- */

.service-header {
	font-family: "brandon-grotesque", Sans-serif;
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  position: relative;
  color: #5A4A42;
}

/* 1. Hide the default HTML checkbox */
.service-header input[type="checkbox"] {
  /* Hide the actual checkbox but keep it accessible for keyboard and screen readers */
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* 2. Style the label to include the custom box */
.service-header label {
  flex-grow: 1;
  cursor: pointer;
  font-weight: bold;
  display: flex; /* Important to align the custom box and text */
  align-items: center;
  position: relative;
}

/* 3. Create the custom 16x16 box using ::before pseudo-element */
.service-header label::before {
  content: "";
  display: inline-block;
  width: 16px; /* Desired size */
  height: 16px; /* Desired size */
  min-width: 16px; /* Ensure it doesn't shrink */
  min-height: 16px; /* Ensure it doesn't shrink */
  border: 1px solid #4274ba; /* Border color for unchecked state */
  background-color: white;
  margin-right: 15px;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

/* 4. Style the checked state (The Blue Tick Mark) */
.service-header input[type="checkbox"]:checked + label::before {
  background-color: #0b559b; /* Blue background when checked */
  border-color: #0b559b;
}

/* 5. Add the Checkmark (using ::after pseudo-element) */
.service-header input[type="checkbox"]:checked + label::after {
  content: "\f00c"; 
  font-family: "FontAwesome";
  font-weight: 900;
  color: white;
  font-size: 11px; 
  position: absolute;
  left: 3px; 
  margin-top: -1px;
}

/* Note: Since the checkbox is inside service-header, the 'left' value (17px) 
   in ::after should align it correctly with the custom box created by ::before. */
.pricing-section-wrap {
    padding: 0 !important;
}
.pricing-section-wrap .elementor-widget-shortcode {
	width: 100%!important;
}
.category-header{
	position: relative;padding-left:45px
}
.category-header .e-n-accordion-item-title-icon {
	position: absolute; left:15px;
	font-size: 14px;
	    line-height: 1;
}
.category-header .e-n-accordion-item-title-icon svg {
	width: 14px
}
.e-opened{
	display: none
}
.service-category.active .e-opened{
	display: block
}
.service-category.active .e-closed{
	display: none
}
@media(max-width: 1199px) {
  .sort-price-wrap {
    top: 72px;
  }
}
@media(max-width: 1024px) {
  .sort-price-wrap {
    top: 65px;
  }
}
@media(max-width: 991px) {
	.sort-price-wrap{
		 top: 64px;
	}
}
@media(max-width: 767px) {
    .service-category.active .category-content {
        padding: 10px ;
        border: 1px solid #d3d3d3;
        border-radius: 10px;
    }
	.service-category .category-content > div {
		padding: 10px;
	}
    .category-header{
        padding: 15px 15px;
    }
    .icon{
        margin-right: 10px;
    }
    .service-header label ,
    .category-header {
        font-size:17px;
    }
    .service-item p{
        font-size: 14px;
    }
    .service-accordian-sec .container{
        padding: 0 14px;
    }
    .toggle-details-link {
        font-size: 15px;
    }
    .service-item ul li, .service-item ol li, .service-item p, .service-item a {
        font-size: 15px;
    }
    .details-section p, .details-section ul, .details-section ol{
        margin-top: 0;
    }
	.sort-price-wrap{
		 top: 54px;
	}
	.estimate-label {
  		font-size: 0.7em;
	}
	.total-display #totalEstimatePrice {
		font-size: 18px;
		padding: 5px 0;
	}

	.total-display #selectedServiceCount {
		font-size: 12px;
	}
  .category-header{
    padding-left: 40px;
  }
  #serviceSearch, 
  input[type="search"] {
      font-size: 16px !important; 
  }
}

@media(max-width: 576px) {
    .service-header{
        flex-wrap: wrap;
    }
    .price {
        width: 100%;
                margin: 5px 0 0 30px;
    }
	
}