.sticky-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
/* 	padding-top: 32px; */
/*     background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
 padding: 0 25px; */
  }


/* Hide sticky bar and show default bar when sticky is disabled */
.search-filter-sticky-bar[data-sticky-enabled="no"] {
	display: none !important;
}

.elementor-widget-container:has(.search-filter-sticky-bar[data-sticky-enabled="no"]) .default-search-and-filter {
  display: block !important;
}


 
.default-search-and-filter {
  background: white;
  padding: 0 4rem;
}

.custom-search-widget {
  display: flex;
  height: 7.2rem;
  flex-direction: column;
  padding: 0rem;
}

.custom-search {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  padding-bottom: 2rem;
}

.search-icon svg{
  width: 3rem;
  height: 3rem;
}

.search-border {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
  position: relative;
}

.input-wrapper {
  position: relative;
  flex: 1;
}

.border-left {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0; /* hidden by default */
  transition: opacity 0.2s;
  pointer-events: none;
  width: 0.3rem;
  height: 4.8rem;
  background: #373432;
  z-index:2;
}

.search-input,
input[type=text].search-input{
  width: 100%;
  color: var(--Color-Content-Secondary, #373432);
  font-family: "Involve";
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 120%;
  border: 0;
  caret-color: #F86142;
  padding-right: 0.8rem;
  z-index: 1;
  caret-color: transparent; /* hide default caret */
  background: transparent;
}

.search-input::placeholder,
.search-input::-webkit-input-placeholder,
.search-input::-moz-placeholder,
.search-input:-moz-placeholder,
.search-input:-ms-input-placeholder,
.search-input::-ms-input-placeholder{
	color: var(--Color-Content-Tertiary, #696562);

	/* Desktop/Header 3 D */
	font-family: "Involve";
	font-size: 24px;
	font-style: normal;
	font-weight: var(--Type-Header-Header-3-Weight, 500);
	line-height: 120%; /* 28.8px */
}

.search-input:focus {
  border: 0;
  outline: none;
  box-shadow: none;
}

.clear-search-button {
  display: none;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border-radius: 1000px;
  border: 2px solid var(--Color-Buttons-Outline-Idle, #03231B);
  padding: 1.7rem 2.4rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  height: 6.4rem;
  cursor: pointer;
  z-index: 2;
  margin-right: 8px;
}

html[lang="ar"] .clear-search-button{
	left:0;
	right: auto;
	margin-right: 0px;
	margin-left: 8px;
}

.clear-search-button svg {
  width: 2.4rem;
  height: 2.4rem;
}

.search-border.show-clear .clear-search-button {
  display: flex !important;
}

.custom-search-wrapper .clear-search-button{
	position: relative;
}



@media (max-width:768px) {
	.sticky-container{
     padding-top: 0px;
	}
  .custom-search-widget {
    height: 4.4rem;
    padding: 0rem 2rem;
	width: 100%;
  }
  .custom-search-filter{
	display: flex;
	flex-direction: row;
    align-items: center;
    gap: 8px;
    align-self: stretch;
	justify-content: space-between;
  }

  .custom-search {
    gap: 0.8rem;
    padding-bottom: 0.8rem;
	min-width: 85%;
/*     max-height: 4rem; */
  }

  .search-icon svg {
    width: 2.4rem;
    height: 2.4rem;
  }

  .border-left {
    height: 4.4rem;
	width:0.2rem;
  }

  .search-input {
    font-size: 1.8rem;
	line-height: 120%;
    padding-right: 0rem;
  }
	
	.search-input::placeholder {
		font-size: 18px;
	}

  .clear-search-button {
    height: 4.4rem;
    padding: 0 1.8rem;
    border: 1.2px solid var(--Color-Buttons-Outline-Idle, #03231B);
  }
	
  .sticky-bar-content{
	max-width:100% !important;
	padding: 16px 20px 16px 20px !important;
	gap: 8px !important;
	align-items: end;
	margin-top: 0px !important;
	min-height: 70px;
  }
	


  .sticky-search-toggle{
	gap:8px !important;
  }
	
  .desktop-only { 
	display: none !important;
  }
  .mobile-only { 
	display: flex !important; 
  }
	
  .default-search-and-filter .page-section-buttons.desktop-only{
	  display: none !important;
  }
	
  .default-search-and-filter .page-section-buttons {
	  display: flex !important;
	}
	
  .default-search-and-filter{
	display: flex;
	flex-direction: row;
    width: 100%;
	padding: 0;
	margin: 0;
	align-self: stretch;
	justify-content: center;
	}
  .clear-search-button svg,
  .open-search-button svg{
	width: 16px;
	height: 16px;
  }

  button.open-search-button{
	height: 40px !important;
    padding: 0px 16px !important;
  }
	
  .sticky-search-bar{
	min-width:80% !important;
  }


}



html[lang="ar"] .sticky-bar-content button.filter-icon-button{
	right: auto;
	left: 20px;
}
html[lang='ar']   .sticky-bar-content{
	padding: 20px 40px 20px 0px;

  }


@media (min-width: 769px) {
	.mobile-only { 
		display: none !important; 
	}
	button.filter-icon-button{
		margin-right: 20px;
	}
	html[lang="ar"] button.filter-icon-button {
		margin-right: 0;
		margin-left: 20px;
	}
	html[lang="ar"] .sticky-bar-content button.filter-icon-button {
		left: 0;
		right: auto;
	}

}



/* sticky bar */

.sticky-bar-content .page-section-buttons{
	padding:0;
	gap: 1.6rem;
}

.custom-search-wrapper {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 1rem;
}


.custom-search-wrapper .custom-search{
  flex: 1;
  display: flex;
  align-items: center;
  gap: 1.6rem;
  padding-bottom: 0;
  width: 100%;
}

.custom-search-wrapper .search-border{
  flex: 1;
}



.custom-search-wrapper .search-input{
	padding:0rem;
}

.search-filter-sticky-bar {
  display: none;
  position: sticky;
  top: 0;
  z-index: 99;
  background: #fff;
}

.search-filter-sticky-bar.visible-on-scroll {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
  align-self: stretch;
}

.sticky-search-toggle
 {
  display: flex;
  align-items: center;
  gap: 16px;
  align-self: stretch;
}

.sticky-bar-content {
  display: flex;
/*   max-width: 1440px; */
  padding: 20px 0px 20px 40px;
/*   align-items: flex-start; */
  gap: var(--Spacing-M, 16px);
/*   margin-top: 32px; */
  width: 100%;
}

button.filter-icon-button,
button.open-search-button{
  align-items: center;
  gap: 8px;
  border-radius: var(--Radii-Full, 1000px);
  background: var(--color-functional-functional-1, #0C5A4D);
  border: none;
}

button.filter-icon-button{
  height: 40px;
  padding: 0px 16px;
/*   margin-right: 20px; */
}




.sticky-bar-content button.filter-icon-button{
  right: 20px;
  position: absolute;
}



button.open-search-button
 {
  display: flex;
  height: 64px;
  padding: 17px var(--Spacing-XL, 24px);
}

.sticky-search-bar{
  display:none;
  width: 55%;
}

.sticky-search-only{
	width: 100% !important;
}

.sticky-search-bar.show{
  display:flex;
}

.default-search-and-filter.hidden-on-scroll {
  display: none !important;
}

.eco-divider
 {
  height: 0rem;
  align-self: stretch;
  border-bottom: 1px solid var(--Separator-primary, #c0c0c0);
}


.hidden {
  display: none !important;
}

.visible-on-scroll {
  display: flex !important;
}

.sticky-search-bar[style*="display: flex"] ~ .page-section-buttons {
  max-width: 45%;
}



/* Modal */

/* ======================
   Mobile Filter Modal
====================== */

.mobile-filter-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 13, 13, 0.5); /* semi-transparent overlay */
  z-index: 9999;
  display: none;
  justify-content: center;
  align-items: center;
}

.mobile-filter-modal-wrapper {
  width: 100%;
  max-height: 500px;
  background: white;
  border-radius: 8px;
  box-shadow: 0px 4px 64px rgba(0, 0, 0, 0.25);
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  overflow: hidden;
}

.mobile-filter-modal-wrapper .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-filter-modal-wrapper .modal-title {
  color: #26251A;
  font-size: 20px;
  font-family: Involve, sans-serif;
  font-weight: 500;
  line-height: 130%;
}

.mobile-filter-modal-wrapper .modal-close {
  padding: 0px 16px;
  height: 40px;
  border-radius: var(--Radii-Full, 1000px);
  border: 1.2px solid var(--Color-Buttons-Outline-Idle, #03231B);
  outline-offset: -2px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-filter-modal-wrapper .modal-close svg{
  width: 16px;
  height: 16px;
}

.mobile-filter-modal-wrapper .modal-body {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Filter option item */
.filter-option {
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
}

.filter-option .radio-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.2px solid #A0A6AE;
  position: relative;
  flex-shrink: 0;
}

.filter-option.selected .radio-circle {
  background: #EA5A14;
  border: none;
}

.filter-option.selected .radio-circle::after {
  content: '';
  position: absolute;
  top: 4.5px;
  left: 4.5px;
  width: 16px;
  height: 16px;
  background: url('data:image/svg+xml;utf8,<svg fill="white" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 22"><path fill-rule="evenodd" clip-rule="evenodd" d="M18.4757 5.10075C18.9728 5.51079 19.0433 6.24611 18.6332 6.74313L9.83324 17.4098C9.61161 17.6784 9.28156 17.834 8.9333 17.834C8.58504 17.834 8.25499 17.6784 8.03337 17.4098L4.03337 12.5613C3.62332 12.0643 3.69383 11.329 4.19085 10.9189C4.68787 10.5089 5.42319 10.5794 5.83324 11.0764L8.9333 14.8341L16.8334 5.25824C17.2434 4.76122 17.9787 4.69071 18.4757 5.10075Z"/></svg>') no-repeat center;
  background-size: contain;
}

.filter-option .label {
  flex: 1;
  color: #26251A;
  font-size: 16px;
  font-family: Involve, sans-serif;
  font-weight: 500;
  line-height: 140%;
}

.filter-option .count {
  color: #868D95;
  font-size: 16px;
  font-family: Involve, sans-serif;
  font-weight: 500;
  line-height: 140%;
  text-align: right;
}

