.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: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 10px;
}

.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 {
  /* height: 300px; */
  will-change: transform;
}

/* .category-item:hover {
    height: 250px;
} */

.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;
  /* justify-content: 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;
}

/* .category-form-heading  h3{
    position: relative;
    padding-left: 20px;
}
.category-form-heading  h3::before{
    position: absolute;
    top: 0;
    left: 0;
    font-size: 20px;
    content: "\f14e";
    font: var(--fa-font-solid);
} */
.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;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE 10+ */
}

.filter-scroll::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari, Opera */
}

.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: 400px;
  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);
}