.group-hero {
    width: 100vw;
    position: fixed;
    left: 0;
    right: 0;
    top: 90px;
    /* height: auto; */
    z-index: -1;
    pointer-events: none;
    will-change: transform;
    height: 100vh;
    /* background-repeat: no-repeat; */
    /* background-size: contain; */
    /* background-position: center;*/
}

.group-hero img{
    width: 100%;
    height: 100%;
    object-position: center;
    object-fit: cover;
}

.highlight-section {
    position: relative;
}

.highlights {
    background: #AF5633;
    margin-top: -1px;
}

.group-spacer {
    height: clamp(520px, 62vh, 720px);
}

.group-tour-grid {
    position: relative;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    background: var(--serenade);
}
.group-tour-grid::after {
  content: "";
  width: 23%;
}
.filters{
    align-items: center;
    border: 1px solid #B25631; 
    border-radius: 12px;
    flex:1;
}
.filters-wrap {
    padding: 5.375rem 4.875rem;
}

.filters-wrap>.row {
    gap: 1rem;
}

.filters-sub {
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 8px
}

.filters>.filter {
    flex: 1;
    border-right: 1px solid grey;
}

.filters>.filter:last-child {
    border-right: none;
}

.filters>.filter>.filter-btn {
    height: 100%;
    width: 100%;
}

.filter {
    position: relative;
}

.sort-container>.sortBox>.filter-btn {
    height: 100%;
    padding: 0.6rem;
    width: 100%;
    border-radius: 12px;
}

.filter-btn {
    background: transparent;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    padding: 0.6rem;

}

.filter-btn.first {
    border-radius: 12px 0 0 12px;
}

.filter-btn.last {
    border-radius: 0 12px 12px 0;
}

.filter-btn>.dropDown {
    opacity: 0;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: #F1D247;
}

.filter-btn:hover>.dropDown {
    opacity: 1;
}

.filter-btn .counter {
    margin-left: 6px;
    color: #fff;
    background: var(--brand);
    border-radius: 10px;
    padding: 0 8px;
    font-size: 12px;
    display: none
}

.filter-btn .caret {
    margin-left: auto;
    opacity: .8
}

.dropdown-panel {
    position: absolute;
    z-index: 10;
    top: calc(100% + 8px);
    left: 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
    padding: 12px;
    min-width: 260px;
    display: none;
    max-height: 280px;
    overflow: auto;
    width: -webkit-fill-available;
}

.dropdown-panel.open {
    display: block;
    opacity: 1;
    transform: rotateX(0deg);
    pointer-events: auto;
}

.filter-btn .dropDown img {
    transition: transform 0.3s ease;
}

.filter-btn.active .dropDown img {
    transform: rotate(180deg);
}

.dropdown-panel.grid {
    display: none;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding: 12px;
    min-width: 360px
}

.dropdown-panel.grid.open {
    display: grid
}

.search-in-panel {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 8px
}

.options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px
}

.chk,
.radio {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 8px;
    cursor: pointer
}

.chk:hover,
.radio:hover {
    background: #F1D247
}


.btn-icon {
    border: 1px solid var(--brand);
    background: var(--brand);
    color: #fff;
    border-radius: 12px;
    padding: 10px 12px;
    cursor: pointer
}

.toggle {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px
}

.link {
    background: none;
    border: 0;
    color: black;
    cursor: pointer;
    text-decoration: underline;
    padding: 6px
}

.chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.chip {
    background: #F0EAE1;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    padding: 6px 10px;
    display: flex;
    gap: 8px;
    align-items: center
}

.chip button {
    border: 0;
    background: none;
    cursor: pointer;
    font-weight: 700
}

.sort-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 0.3;
}

.sortBox {
    position: relative;
    transition: all 0.3s ease;
    white-space: nowrap;
    border: 1px solid #B25631;
    border-radius: 12px;
    flex: 1;
    height: 100%;
}

.search-box {
    display: none;
    /* display: flex; */
    align-items: center;
    gap: 8px;
    margin-left: auto;
    position: relative;
    transition: all 0.3s ease;
    background: #B25631;
    border-radius: 12px;
    height: 100%;
    ;
}

.icon-btn {
    background: transparent;
    border: 0;
    cursor: pointer;
    font-size: 1rem;
}

.search-input {
    /* start collapsed */
    padding: 0 !important;
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-width .3s ease, opacity .2s ease;
    min-width: 0;
    outline: none;
    box-shadow: none;
}

.search-box:hover,
.search-box:focus-within {
    background: transparent;
    border: 1px solid #B25631;
}

/* expand on hover or when focused (better for mobile) */
.search-box:hover .search-input,
.search-box:focus-within .search-input {
    max-width: 240px;
    opacity: 1;
    padding: 10px 12px !important;
    background: transparent;
    border: none;
    border-radius: 12px;
}

.search-box:hover~.sortBox,
.search-box:focus-within~.sort-box {
    opacity: 0;
    transform: scale(0.9);
    pointer-events: none;
    width: 0;
    flex: 0;
}

.search-box:hover #search-btn img,
.search-box:focus-within #search-btn img {
    filter: brightness(0) saturate(100%) sepia(100%) hue-rotate(5deg) saturate(500%) brightness(85%);
}

.filter-icon{
    width:2.5rem;
    height: 2.5rem;
}

#mobile-toggle {
  display: flex;
}
.highlight-bullet{
    flex: 0.75;
}
.highlight-bullet > div{
    justify-content: space-around;
}
.highlight-text{
    max-width: 140px;
}

@media (max-width: 769px) {
    .group-hero {
        background-size: cover;
    }
.filter-btn>.dropDown{
    opacity: 1;
}
.filters{
align-items: start;
margin-bottom: 2rem;
}
.filters>.filter {border-right: none;flex: unset;width: 100%;}
.filters-wrap {
    padding: 1rem 1.5rem
}
.filter-icon{
    width:1.5rem;
    height: 1.5rem;
}
#mobile-toggle {
  display: none;
}

#mobile-toggle.open {
  display: block;
}
.filter-btn.first {
    border-radius: 12px 12px 0 0;
}
.filter-btn.last {
    border-radius: 0 0 12px 12px;
}
.toggle{
    margin-left: 0;
}
.dropdown-panel.grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
    min-width: unset;
}
.highlight-bullet > div{
    justify-content: space-between;
}
.highlight-text{
    max-width: unset;
}
.link {
    padding: 6px 0;
}
.filter-box{
    display: flex;
    align-items: center;
}
.filter-box > .btn-icon{
    padding: 0;
}
}