.subcategory-heading,
.category-heading {
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.subcategory-heading h1,
.category-heading h1 {
  font-size: 28px;
  line-height: 34px;
  padding-bottom: 20px;
}

.category-form form {
  position: sticky;
  height: auto;
  border-radius: 15px;
  background-color: var(--white-color);
  margin-bottom: 20px;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  border-radius: 10px;
  padding: 0;
  border-top: 5px solid var(--second-color);
  z-index: 100;
}

.category-form .category-search {
  display: flex;
  align-items: center;
  gap: 10px;
  border-right: 1px solid #ddd;
  padding-right: 20px;
  flex: 1;
  cursor: pointer;
  position: relative;
}

.category-form .category-cta {
  margin-top: 20px;
}

.category-form .category-cta .btn-effect {
  border-radius: 999px;
  width: 90%;
}

.category-dropdown {
  padding: 7px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 0px;
  border-radius: 20px;
  width: 444px;
  justify-content: center;
}

.category-dropdown i,
#selectDateBtn i {
  margin-left: 4px;
  font-size: 19px;
  color: var(--deep-blue);
}

.category-select {
  /* border: 1px solid #e0e0e0; */
  background: #fff;
  font-size: 14px;
  color: #333;
  width: 100%;
  padding: 10px 35px 10px 15px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  outline: none;
  border-radius: 8px;
  background-image: url('data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 16 16%22%3E%3Cpath fill=%22%23666%22 d=%22M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592c.859 0 1.319 1.013.753 1.658l-4.796 5.482c-.33.379-.924.379-1.254 0z%22/%3E%3C/svg%3E');
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px 10px;
}

.category-select:focus {
  outline: none;
  border-color: var(--main-color);
  box-shadow: 0 0 0 3px rgba(212, 168, 74, 0.1);
}

.category-select option {
  padding: 10px;
  background: #fff;
  color: #333;
}

.category-item a {
  display: inline-block;
  height: 100%;
  width: 100%;
  position: relative;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  border-radius: 999px;
  padding: 10px;
  overflow: hidden;
  cursor: pointer;
}

.category-item:hover a {
  border-radius: 5px;
}

.category-item {
  will-change: transform;
}

.category-content {
  position: absolute;
  bottom: 15px;
  left: 15px;
  right: 15px;
  background: var(--white-color);
  min-height: 40%;
  text-align: center;
  border-radius: 0 0 999px 999px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 1rem;
}

.category-content-title h3 {
  color: var(--black-color);
}

.subcategory-filter {
  margin: 15px auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tour-count {
  display: flex;
  align-items: center;
}

.tour-count img {
  width: 30px;
  height: 30px;
  margin-right: 5px;
}

.category-form-heading {
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
}

.select-filter {
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 5px 10px;
  box-shadow: var(--box-shadow);
}

.input-box input[type="date"]:focus+label,
.input-box input[type="date"]:valid+label,
.input-box input[type="number"]:focus+label,
.input-box input:not(:placeholder-shown)+label,
.input-box input[type="email"]:focus+label,
.input-box input[type="text"]:focus+label,
.input-box input[type="text"]:not(:placeholder-shown)+label,
.input-box textarea:focus+label,
.input-box textarea:not(:placeholder-shown)+label {
  left: 15px;
  top: -0.5rem;
  background-color: var(--white-color);
  font-size: 16px !important;
  color: var(--black-color);
  padding: 3px 5px;
  transition: 0.5 all ease-in-out;

  border-radius: 2px;
}

.input-box {
  position: relative;
}

.input-box label {
  position: absolute;
  top: calc(100% - 30px);
  z-index: 20;
  left: 10px;
  text-transform: capitalize;
  font-size: 16px !important;
  font-weight: 500;
}

.input-box input {
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  height: 60px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  font-size: 16px;
}

.subcategory-filter span {
  font-size: 20px;
  font-weight: 500;
}

.select2-container--default .select2-selection--single .select2-selection__rendered .category-content h3 {
  color: var(--black-color);
}

.category-item img {
  border-radius: 999px;
  height: 280px;
  will-change: transform;
  object-fit: cover;
  filter: brightness(0.8);
}

.category-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--second-color);
  font-size: 16px;
  font-weight: 500;
}

.category-pricing span {
  display: block;
  font-size: 20px;
  color: var(--main-color);
  font-weight: 600;
  line-height: 16px;
}

.category-item:hover a {
  border-radius: 5px;
  transition: 0.5s all ease-in-out;
}

.category-item:hover img {
  border-radius: 5px;
  transition: 0.5s all ease-in-out;
  min-width: 100%;
}

.category-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.category-content>* {
  transition-delay: 0.2s;
  transition: all 0.5s ease-in-out;
}

.category-item:hover .category-content {
  flex-direction: row;
  justify-content: space-between;
  border-radius: 0;
  bottom: 0;
  left: 0;
  right: 0;
  min-height: auto;
  padding: 1rem 10px;
}

.subcategory-container {
  display: flex;
  margin-top: 15px;
}

.subcategory-container .category-form {
  flex: 0 0 0;
  height: 0;
  width: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  margin-right: 20px;
}

.subcategory-container .category-form.visible {
  flex: 0 0 25%;
  width: 100%;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.category-form.visible form {
  padding: 1rem;
}

.subcategory-container .tour-item {
  flex: 0 0 25%;
  padding-right: 20px;
}

.subcategory-container .row.hide-filter .col-lg-9 {
  flex: 0 0 100%;
  max-width: 100%;
}

.filter-scroll {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.filter-scroll::-webkit-scrollbar {
  display: none;
}

.btn-light.rounded-pill {
  white-space: nowrap;
  font-weight: 500;
  padding: 6px 16px;
  background-color: #f5f5f5;
  border: none;
}

.btn-light.rounded-pill:hover {
  background-color: #e2e2e2;
}

.date-picker-wrapper {
  max-width: 402px;
  margin: auto;
  text-align: center;
}

.btn-date-picker {
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 999px;
}

#selectDateBtn {
  min-width: 100px;
}

.flatpickr-calendar {
  left: 50% !important;
  transform: translate(-50%, 50%) !important;
}

.flatpickr-calendar.open {
  display: inline-block;
  z-index: 99999;
  left: 50% !important;
  transform: translate(-50%, 50%) !important;
}

.tours-container {
  display: flex;
  flex-wrap: wrap;
}

.tours-container.with-filter .tour-item {
  flex: 0 0 33.33333%;
  padding-right: 20px;
}

.subcategory-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  flex: 0 0 100%;
  margin-bottom: 10px;
}

.subcategory-result .category-dropdown {
  padding: 5px 10px;
  border: none;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 999px;
}

.subcategory-filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.tour-type-wrapper {
  position: relative;
  overflow: hidden;
  padding: 0 20px;
}

.tour-type-filters {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 10px 10px 10px;
  overflow: scroll;
}

.tour-type-filters::-webkit-scrollbar-thumb {
  border-radius: 999px;
  cursor: pointer;
}

.tour-type-filters::-webkit-scrollbar {
  width: 3px;
  height: 3px;
  border-radius: 10px;
  background-color: #eee;
}

.tour-type-filters::-webkit-scrollbar-button {
  height: 3px;
  border-radius: 10px;
}

.subcategory-filter.fixed {
  padding: 1rem;
  position: fixed;
  width: 100%;
  z-index: 2000;
  background: #fff;
  left: 0;
  top: 0;
  margin: 0;
  box-shadow: var(--box-shadow);
}

.navigation-button {
  position: absolute;
  width: 100%;
  top: 0;
}

.tour-filter-right,
.tour-filter-left {
  padding: 5px 10px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 16px;
  box-shadow: none;
  background-color: transparent;
  border-radius: 50%;
  position: absolute;
  background-color: var(--white-color);
}

.tour-filter-right {
  right: 20px;
}

.tour-filter-left {
  left: 0;
}

.flatpickr-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 5000;
  background-color: rgba(0, 0, 0, 0.8);
}

select,
input {
  padding: 6px;
  border-radius: 5px;
  border: none;
}


#filterModal .modal-content {
  width: 77%;
  max-width: 543px;
}

.modal-content {
  background-color: #fff;
  margin: 50px auto;
  padding: 20px;
  border-radius: 8px;
  width: 77%;
  max-width: 465px;
  position: relative;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  display: flex;
  flex: 1 1 auto;
  overflow: hidden;
  flex-direction: column;
  max-height: 89%;
  margin-top: 0;
}

.modal_Filter {
  display: flex;
}

.close-btn {
  position: absolute;
  right: 16px;
  top: 12px;
  font-size: 24px;
  cursor: pointer;
}

.modal_Filter h2 {
  font-size: 1.5rem;
  font-weight: 700;
}

.modal_Filter h3 {
  font-size: 19px;
  font-weight: 600;
}

.Languages {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 18px;
  flex-wrap: wrap;
}

.Languages input {
  width: 1.25rem;
  height: 1.25rem;
  position: relative;
  flex-shrink: 0;
  border: .125rem solid #4d4d4d;
  border-radius: .25rem;
  background-color: #fff;
  margin: .125rem;
  margin-right: 15px;
}

.subLabel__bbI7 {
  margin-top: 2px;
  font-weight: initial;
  font-size: 0.875rem;
  color: #4d4d4d;
}

.Languages label div {
  text-align: left;
}

.range-slider {
  /* width: 300px; */
  text-align: center;
  position: relative;
  margin-top: 20px;
  margin-bottom: 38px;
}

.range-slider .rangeValues {
  display: block;
}

.section label {
  margin-bottom: 14px;
  font-size: 16px;
  flex: 0 0 50%;
  position: relative;
  display: flex;
}


.range-labels {
  display: flex;
  margin-bottom: 10px;
  font-weight: bold;
  justify-content: space-between;
  margin-right: 26px;
}

.range-slider input[type=range] {
  position: absolute;
  width: 542px;
  pointer-events: auto;
  -webkit-appearance: auto;
  height: 8px;
  background: transparent;
}

.range-slider input[type=range]::-webkit-slider-thumb {
  pointer-events: auto;
  -webkit-appearance: auto;
  height: 18px;
  width: 18px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #000;
  background: var(--main-color);
  cursor: pointer;
  margin-top: -5px;
}

.range-slider input[type=range]::-moz-range-thumb {
  pointer-events: auto;
  height: 18px;
  width: 18px;
  border-radius: 50%;
  background: #fff;
  background: var(--main-color);
  border: 2px solid #000;
  cursor: pointer;
}

.range-slider input[type=range] {
  -webkit-appearance: none;
  width: 100%;
  height: -1px;
  background: #ddd;
  border-radius: 5px;
  outline: none;
  margin: 10px 0;
  padding: 0;
}

.range-slider input[type=range]::-webkit-slider-runnable-track {
  background: #e0e0e0;
}

.range-slider input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  background: var(--main-color);
  border: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  cursor: pointer;
  margin-top: -5px;
}

.wrapper .price-input {
  display: flex;
  width: 100%;
  margin: 23px 0 23px;
}

.wrapper .price-input .field {
  display: flex;
  width: 100%;
  height: 45px;
  align-items: center;
}

.price-input input {
  width: 100%;
  height: 100%;
  outline: none;
  border: 1px solid #999;
  border-radius: 5px;
  text-align: center;
  font-size: 18px;
  margin-left: 12px;
}

.price-input input::-webkit-outer-spin-button,
.price-input input::-webkit-inner-spin-button {
  display: none;
}

input[type=range] {
  border: 1px solid white;
  width: 555px;
  position: absolute;
  left: 0;
  /* color: #000; */
}

input[type=range]::-webkit-slider-runnable-track {
  width: 300px;
  height: 5px;
  background: #ddd;
  border: none;
  border-radius: 3px;
}

input[type=range]::-webkit-slider-thumb {
  border: none;
  height: 16px;
  width: 16px;
  border-radius: 50%;
  background: var(--main-color);
  margin-top: -4px;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

input[type=range]:focus {
  outline: none;
}

input[type=range]:focus::-webkit-slider-runnable-track {
  background: #ccc;
}

input[type=range]::-moz-range-track {
  width: 300px;
  height: 5px;
  background: #ddd;
  border: none;
  border-radius: 3px;
}

input[type=range]::-moz-range-thumb {
  border: none;
  height: 16px;
  width: 16px;
  border-radius: 50%;
  background: var(--main-color);
}

input[type=range]:-moz-focusring {
  outline: 1px solid white;
  outline-offset: -1px;
}

input[type=range]::-ms-track {
  width: 300px;
  height: 5px;
  background: transparent;
  border-color: transparent;
  border-width: 6px 0;
  color: transparent;
  z-index: -4;
}

input[type=range]::-ms-fill-lower {
  background: #777;
  border-radius: 10px;
}

input[type=range]::-ms-fill-upper {
  background: #ddd;
  border-radius: 10px;
}

input[type=range]::-ms-thumb {
  border: none;
  height: 16px;
  width: 16px;
  border-radius: 50%;
  background: var(--main-color);
}

input[type=range]:focus::-ms-fill-lower {
  background: #888;
}

input[type=range]:focus::-ms-fill-upper {
  background: #ccc;
}


.modal .show-more-btn {
  margin-top: 0;
  cursor: pointer;
  background-color: var(--white-color);
  color: var(--main-color);
  padding: 0.5rem;
  border-radius: 5px;
  border: none;
  font-weight: 500;
  margin-bottom: 20px;
  text-align: left;
  justify-content: left;
  display: flex;
}

input[type="checkbox"] {
  pointer-events: all !important;
  opacity: 1 !important;
}

.footer_Filter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  padding-top: 12px;
}

.clear-all {
  color: #007185;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  background: none;
  border: none;
  text-decoration: underline;
  cursor: pointer;
  font-weight: 700;
  color: #000000;
  FONT-SIZE: 19px;
}

.results-btn {
  background-color: #008060;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
}

.footer_Filter .btn {
  width: 140px;
}

.theme-btn {
  display: inline-flex;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  transition: all .3s ease;
  white-space: nowrap;
  align-items: center;
  gap: 6px;
}

.full-describation.show {
  max-height: none;
  overflow: auto !important;
  transition: 1s all ease-in-out;
}

.linksList__xQfs>.linkItem:not(:last-child):after {
  content: "";
  height: .75rem;
  border-right: 1px solid #4d4d4d;
  margin-right: 8px;
}

.linksList__xQfs {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
}

.link__aX8x {
  color: #4d4d4d;
  margin-right: .5rem;
  font-size: 16px;
  line-height: 2;
  font-weight: 500;
  color: #1a2b49;
  letter-spacing: 0.5px;
  font-size: 16px;
}

.linkItem__YNSc {
  margin-right: .5rem;
}

.modal {
  position: fixed;
  top: 12% !important;
}

.filter-bar {
  display: flex;
  gap: 10px;
  align-items: center;
 margin-left: 20px;
  justify-content: space-between;
}

.filter-btn {
  padding: 12px 21px;
  border-radius: 20px;
  border: 1px solid #ccc;
  background: white;
  cursor: pointer;
  font-size: 14px;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.3s ease;
  width: 305px;
  justify-content: center;
}

.filter-btn:hover {
  border-color: #888;
}

.search-btn {
  padding: 14px 20px;
  border-radius: 50px;
  border: none;
  background-color: var(--main-color);
  color: white;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background-color 0.3s ease;
  width: 444px;
  justify-content: center;
}

.search-btn:hover {
  background-color: #051235;
}

.date-picker-wrapper {
  display: flex;
  align-items: center;
  margin-left: 14px;
}

.dropdown-wrapper {
  position: relative;
}

.dropdown-btn {
  display: flex;
  align-items: center;
  justify-content: center;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 110%;
  left: 0;
  background-color: white;
  min-width: 200px;
  max-height: 250px;
  overflow-y: auto;
  border-radius: 10px;
  border: 1px solid #ddd;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 12px;
  z-index: 100;
}

.dropdown-title {
  display: block;
  font-size: 14px;
  color: gray;
  text-align: center;
  margin-bottom: 8px;
}

.dropdown-heading {
  font-size: 14px;
  margin-top: 10px;
  display: block;
}

.dropdown-section a {
  display: block;
  padding: 5px 0;
  font-size: 14px;
  color: #1a1a1a;
  text-decoration: none;
}

.dropdown-section a:hover {
  background-color: #f5f5f5;
  border-radius: 5px;
}

.category-dropdown select option {
  border: 0;
  margin: 20px 0 0;
  list-style: none;
  font-size: 1rem;
  font-weight: 500;
  background: #fff;
  -webkit-box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.08);
  position: absolute;
  z-index: 3;
  top: 100%;
  left: 0;
  width: 100%;
  border-radius: 8px;
  overflow-y: auto;
  scrollbar-width: thin;
  min-width: 260px;
  padding: 0.9375rem;
}

@media (max-width: 767.98px) {
  .filters-container {
    display: flex;
    align-items: center;
    gap: 9px;
    overflow-x: auto;
  }
}

.subcategory {
  margin-bottom: 50px
}

@media (max-width: 767.98px) {
  .breadcrumb {
    margin-top: 49px !important;
    padding: 4px;
  }

  #selectDateBtn {
    min-width: 100px;
    display: block;
  }

  .filter-scroll {
    gap: 0px;
  }

  .tour-type-wrapper {
    position: relative;
    overflow: hidden;
    padding: 0;
  }

  .navigation-button {
    position: absolute;
    width: 100%;
    top: 0;
    display: none;
  }

  .subcategory-filter.fixed {
    z-index: 999999;

  }

  .subcategory-result {
    display: flex;
    gap: 41px;
  }

  @media (max-width: 767px) {
    .travel-tour_second {
      display: block !important;
    }
  }

  .separator___5fK {
    display: inline-block;
    height: 30px;
    border-left: none;
  }

  .subcategory-container {
    display: block;
    margin-top: 29px;
    margin-bottom: 21px;
  }

  .travel-tour_second {
    display: block !important;
    margin-top: 21px;
  }

  .subcategory {
    margin-bottom: 0px
  }

  .Languages {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 18px;
    flex-direction: row;
    flex-wrap: wrap;
  }

  #filterModal .modal-content {
    width: 90%;
    max-width: 543px;
  }

  .Breadcrumb-cover {
    padding: 0 !important;
  }

  .category-info {
    min-height: auto;
    padding: 6px;
  }

  .filter-bar {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
    border: 2px solid #ccc;
    padding: 5px;
    margin: 0;
    justify-content: center;
  }
  .search-btn {
    width: 268px;

}
}

 /* هنا تحطي تنسيقات اللابتوب */

@media (min-width: 1024px) and (max-width: 1400px) {
.category-dropdown {
    width: 299px;
}
.search-btn {
    width: 233px;
}
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1236px !important;
    }


}
