.search-page{
background-color: #f9f9f9;
}

::selection {
  color: var(--white-color);
  background: var(--main-color);
}
.wrapper {
  width: 400px;
  min-width: 100%;
  background: var(--white-color);
  border-radius: 10px;
  padding: 20px 25px 40px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}
header h3 {
  font-weight: 600;
   color: var(--second-color);
}
header p {
  margin-top: 5px;
  font-size: 16px;
  text-align: center;
}
.price-input {
  width: 100%;
  display: flex;
  margin: 30px 0 35px;
}
.price-input .field {
  display: flex;
  width: 100%;
  height: 45px;
  align-items: center;
}
.price-input .field span{
  color: var(--main-color);
  font-size: 14px;
  font-weight: 500;
}

.field input {
  width: 100%;
  height: 100%;
  outline: none;
  font-size: 19px;
  margin-left: 12px;
  border-radius: 5px;
  text-align: center;
  border: 1px solid #999;
  -moz-appearance: textfield;
  padding: 10px;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
}
.price-input .separator {
  width: 130px;
  display: flex;
  font-size: 19px;
  align-items: center;
  justify-content: center;
}
.slider {
  height: 5px;
  position: relative;
  background: #ddd;
  border-radius: 5px;
}
.slider .progress {
  height: 100%;
  left: 25%;
  right: 25%;
  position: absolute;
  border-radius: 5px;
  background: var(--main-color);
}
.range-input {
  position: relative;
}
.range-input input {
  position: absolute;
  width: 100%;
  height: 5px;
  top: -5px;
  background: none;
  pointer-events: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
input[type="range"]::-webkit-slider-thumb {
  height: 17px;
  width: 17px;
  border-radius: 50%;
  background: var(--main-color);
  pointer-events: auto;
  -webkit-appearance: none;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
}
input[type="range"]::-moz-range-thumb {
  height: 17px;
  width: 17px;
  border: none;
  border-radius: 50%;
  background: var(--main-color);
  pointer-events: auto;
  -moz-appearance: none;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
}
.radio {
  position: relative;
}

input[type="radio"] {
  position: relative; 
  margin-right: 10px;
}

.checkmark {
  display: none; 
}

.radio label {
  color: var(--black-color);
  cursor: pointer;
}

.heading {
  margin-bottom: 2em;
}
.sidebar-country, .sidebar-duration{
  padding: 2rem;
  background:var(--white-color);
  border-radius: 20px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}

.sidebar-country h3,
.sidebar-duration h3{
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 10px;
}
.sidebar-country .form-check-input:checked,
.sidebar-duration .form-check-input:checked,
.sidebar-country .form-check-input:focus,
.sidebar-duration .form-check-input:focus{
background-color: var(--main-color);
outline: none;
box-shadow: none;
}
.sidebar-country, .form-check,  .sidebar-duration .form-check{
  border-bottom: 1px solid #eee;
  padding-block: 1rem;
}
.sidebar-country, .wrapper-inner .mb-10:last-child  .form-check, 
.sidebar-duration, .wrapper-inner .mb-10:last-child  .form-check{
  border-bottom: none;
}
.sidebar-country .form-check-label,
.sidebar-duration .form-check-label{
  font-weight: 500;
  font-family: var(--font-heading);
}
.tour-details-banner {
  overflow: hidden;
  margin-bottom: 20px;
  position: relative; /* Container for absolute positioning of children */
}

.tour-details-banner a {
  position: relative; /* Makes the entire area clickable */
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none; /* Removes text decoration from the link */
  z-index: 2; /* Ensures the anchor is on top */
}

.tour-details-banner .overlay {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 19.04%, var(--main-color) 100%);
  border-radius: 10px;
  z-index: 1; /* Places the overlay below the clickable link */
}

.tour-details-banner img {
  min-width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 10px;
  z-index: 0; /* Image sits at the bottom */
}

.banner-text-holder {
  width: calc(100% + 50px);
  height: auto;
  top: 0;
  left: -20px;
  padding: 35px;
  text-align: center;
  background-color: var(--second-color);
  transform: rotate(-15deg);
  transform-origin: 100% 100%;
  position: absolute;
  z-index: 3; /* Banner text appears above the overlay */
}

.tours-filters{
  margin-bottom: 20px;
  padding: 0 20px;
}

.tour-head h3{
height: 65px;
}

.search-page .tour-card .primary-button{
min-width: 120px;
}