.cruise-page-filter {
    background: #ffffff;
    border: 1px solid #dfe9f2;
    border-radius: 6px;
    box-shadow: none;
    margin-bottom: 30px;
    margin-top: 8px;
    padding: 18px 20px 22px;
    position: relative;
}

.cruise-page-filter__top {
    align-items: center;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin-bottom: 18px;
    padding-bottom: 16px;
    position: relative;
}

.cruise-page-filter__top::after {
    background: #e7eff6;
    bottom: 0;
    content: "";
    height: 1px;
    left: 0;
    position: absolute;
    right: 0;
}

.cruise-page-filter__tabs-nav {
    background: #eef5fa;
    border: 1px solid #cfdde9;
    border-radius: 6px;
    display: inline-flex;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 5px;
}

.cruise-page-filter__tabs-nav li {
    margin: 0;
}

.cruise-page-filter__tab {
    border-radius: 6px;
    color: #27536c;
    display: inline-flex;
    font-size: 15px;
    font-weight: 700;
    justify-content: center;
    min-width: 180px;
    padding: 12px 20px;
    text-align: center;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.cruise-page-filter__tab:hover,
.cruise-page-filter__tab:focus {
    color: #00628b;
    text-decoration: none;
}

.cruise-page-filter__tab.active {
    background: #006f9d;
    box-shadow: none;
    color: #ffffff;
}

.cruise-page-filter__reset {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 6px;
    color: #314b60;
    display: inline-flex;
    font-size: 14px;
    font-weight: 700;
    min-height: 40px;
    padding: 8px 12px;
    white-space: nowrap;
}

.cruise-page-filter__reset:hover,
.cruise-page-filter__reset:focus {
    background: #eef7fb;
    border-color: #cfe3ef;
    color: #00628b;
    text-decoration: none;
}

.cruise-page-filter__main {
    align-items: end;
    display: grid;
    gap: 14px 12px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.cruise-page-filter__field {
    min-width: 0;
    position: relative;
}

.cruise-page-filter__label {
    color: #4c6378;
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.cruise-page-filter select.form-control,
.cruise-page-filter .fc-datepicker,
.cruise-page-filter .select2-container--default .select2-selection--single,
.cruise-page-filter .select2-container--default .select2-selection--multiple {
    background: #f8fbfe;
    border: 1px solid #d7e1ee;
    border-radius: 6px !important;
    box-shadow: none;
    min-height: 48px;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.cruise-page-filter select.form-control,
.cruise-page-filter .fc-datepicker {
    color: #243842;
    padding: 12px 14px;
}

.cruise-page-filter select.form-control:hover,
.cruise-page-filter .fc-datepicker:hover,
.cruise-page-filter .select2-container--default .select2-selection--single:hover,
.cruise-page-filter .select2-container--default .select2-selection--multiple:hover {
    background: #ffffff;
    border-color: #b9cfdf;
}

.cruise-page-filter .fc-datepicker:focus {
    background: #ffffff;
    border-color: #00628b;
    box-shadow: 0 0 0 3px rgba(0, 98, 139, 0.12);
    outline: none;
}

.cruise-page-filter .select2-container {
    width: 100% !important;
}

.cruise-page-filter .select2-container--default .select2-selection--single {
    align-items: center;
    display: flex;
    padding: 0 42px 0 14px;
}

.cruise-page-filter .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #243842;
    line-height: 1.3;
    padding: 0;
}

.cruise-page-filter .select2-container--default .select2-selection--single .select2-selection__arrow {
    display: none !important;
}

.cruise-page-filter .select2-container--default .select2-selection__arrow b {
    display: none !important;
}

.cruise-page-filter .select2-container--default .select2-selection--multiple {
    align-items: center;
    display: flex;
    padding: 6px 34px 6px 10px;
}

.cruise-page-filter .select2-container--default .select2-selection--multiple .select2-selection__rendered {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-width: 100%;
    overflow: hidden;
    padding: 0;
}

.cruise-page-filter .select2-container--default .select2-selection--multiple .select2-selection__choice {
    background: #d8ecf7;
    border: 0;
    border-radius: 999px;
    color: #0b6f97;
    display: inline-block;
    font-size: 12px;
    margin: 0;
    max-width: 100%;
    overflow: hidden;
    padding: 5px 10px 5px 22px;
    position: relative;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cruise-page-filter .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    border-right: 0;
    color: #0b6f97;
    left: 8px;
    top: 4px;
}

.cruise-page-filter .select2-container--default .select2-selection--multiple .select2-search--inline {
    flex: 0 0 0;
    margin: 0;
    min-width: 0;
    overflow: hidden;
    padding: 0;
    width: 0;
}

.cruise-page-filter .select2-container--default .select2-selection--multiple .select2-search--inline .select2-search__field {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: transparent !important;
    height: 0 !important;
    margin: 0 !important;
    min-height: 0 !important;
    min-width: 0 !important;
    padding: 0 !important;
    width: 0 !important;
}

.cruise-page-filter .select2-container--default.select2-container--focus .select2-selection--multiple .select2-search--inline,
.cruise-page-filter .select2-container--default.select2-container--open .select2-selection--multiple .select2-search--inline {
    flex: 1 1 56px;
    min-width: 56px;
    overflow: visible;
    width: auto;
}

.cruise-page-filter .select2-container--default.select2-container--focus .select2-selection--multiple .select2-search--inline .select2-search__field,
.cruise-page-filter .select2-container--default.select2-container--open .select2-selection--multiple .select2-search--inline .select2-search__field {
    color: #243842 !important;
    height: 22px !important;
    min-height: 22px !important;
    min-width: 56px !important;
    width: 100% !important;
}

.cruise-page-filter .select2-container--default.select2-container--focus .select2-selection--single,
.cruise-page-filter .select2-container--default.select2-container--focus .select2-selection--multiple {
    background: #ffffff;
    border-color: #00628b;
    box-shadow: 0 0 0 3px rgba(0, 98, 139, 0.12);
}

.cruise-page-filter .select2-dropdown {
    border: 1px solid #d7e1ee;
    border-radius: 8px;
    box-shadow: 0 20px 45px rgba(33, 70, 89, 0.16);
}

.cruise-list-order-nav {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin-bottom: 14px;
    padding: 0 !important;
}

.cruise-list-order-nav .smart-ordering {
    display: inline-flex;
}

.cruise-page-filter__search .btn {
    align-items: center;
    border: none;
    border-radius: 6px;
    display: inline-flex;
    font-size: 15px;
    font-weight: 600;
    gap: 8px;
    height: 48px;
    justify-content: center;
    letter-spacing: 0.02em;
    width: 100%;
}

.cruise-page-filter__actions {
    align-items: center;
    border-top: 1px solid #e7eff6;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 18px;
    padding-top: 18px;
}

/* Sort (date / price) moved inside the filter section, left-aligned */
.cruise-page-filter__sort {
    margin-right: auto;
}

.cruise-page-filter__sort .btn-group {
    display: inline-flex;
    gap: 8px;
}

.cruise-page-filter__sort .btn,
.cruise-page-filter__sort .btn-white {
    align-items: center;
    background: #f8fbfe !important;
    border: 1px solid #d7e1ee !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    color: #243842 !important;
    display: inline-flex;
    font-size: 14px;
    font-weight: 700;
    gap: 6px;
    height: 44px;
    margin: 0 !important;
    padding: 0 16px;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.cruise-page-filter__sort .btn:hover,
.cruise-page-filter__sort .btn-white:hover {
    background: #ffffff !important;
    border-color: #b9cfdf !important;
    color: #00628b !important;
}

.cruise-page-filter__sort .btn.active,
.cruise-page-filter__sort .btn-white.active {
    background: #006f9d !important;
    border-color: #006f9d !important;
    color: #ffffff !important;
}

.cruise-page-filter__sort .btn i {
    margin-top: 0 !important;
}

.cruise-page-filter__actions .cruise-page-filter__search {
    width: 190px;
}

.cruise-page-filter [type=button]:not(:disabled),
.cruise-page-filter [type=reset]:not(:disabled),
.cruise-page-filter [type=submit]:not(:disabled),
.cruise-page-filter button:not(:disabled) {
    cursor: pointer;
}

.cruise-page-filter .btn-secondary {
    background-color: #006f9d !important;
    box-shadow: none !important;
    color: #fff !important;
}

.cruise-page-filter .btn-secondary:hover,
.cruise-page-filter .btn-secondary:focus {
    background-color: #005f87 !important;
    box-shadow: none !important;
    color: #ffffff !important;
}

.cruise-page-filter__bottom {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.cruise-page-filter__toggle {
    background: #eef7fb;
    border: 1px solid #d4deec;
    border-radius: 6px;
    color: #00628b;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    min-height: 48px;
    padding: 11px 18px;
}

.cruise-page-filter__toggle:hover,
.cruise-page-filter__toggle:focus {
    background: #ffffff;
    border-color: #9fc4d8;
    outline: none;
}

.cruise-page-filter__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cruise-page-filter__chip {
    align-items: center;
    background: #d8ecf7;
    border: 0;
    border-radius: 999px;
    color: #0b6f97;
    cursor: pointer;
    display: inline-flex;
    font-size: 14px;
    font-weight: 600;
    gap: 8px;
    min-height: 36px;
    padding: 8px 14px;
}

.cruise-page-filter__chip-close {
    font-size: 18px;
    line-height: 1;
}

.cruise-page-filter__expanded {
    display: none;
    margin-top: 18px;
}

.cruise-page-filter__expanded.is-open {
    display: block;
}

.cruise-page-filter__expanded-grid {
    background: transparent;
    border: 0;
    border-radius: 0;
    display: grid;
    gap: 10px 12px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 0;
}

.cruise-page-filter__expanded .cruise-page-filter__field {
    background: transparent;
    border: 0;
    border-radius: 0.4rem;
    min-height: 64px;
    padding: 0;
}

.cruise-page-filter__expanded .cruise-page-filter__field:not(.cruise-page-filter__field--checkbox)::after {
    content: none;
}

.cruise-page-filter__expanded .cruise-page-filter__field:focus-within,
.cruise-page-filter__expanded .cruise-page-filter__field:hover {
    background: transparent;
    box-shadow: none;
}

.cruise-page-filter__expanded .cruise-page-filter__label {
    color: #5f7189;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.06em;
    line-height: 1.1;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cruise-page-filter__expanded select.form-control,
.cruise-page-filter__expanded .fc-datepicker,
.cruise-page-filter__expanded .select2-container--default .select2-selection--single,
.cruise-page-filter__expanded .select2-container--default .select2-selection--multiple {
    background: #f8fbfe !important;
    border: 1px solid #d7e1ee !important;
    border-radius: 0.4rem !important;
    min-height: 38px;
}

.cruise-page-filter__expanded select.form-control,
.cruise-page-filter__expanded .fc-datepicker {
    appearance: none;
    background-image: none !important;
    height: 38px;
    padding: 0 10px;
}

.cruise-page-filter__expanded .select2-container--default .select2-selection--single {
    height: 38px;
    padding: 0 10px;
}

.cruise-page-filter__expanded .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #243842;
    font-size: 13px;
    font-weight: 700;
    line-height: 36px;
    padding: 0 !important;
}

.cruise-page-filter__expanded .select2-container--default .select2-selection--single .select2-selection__arrow {
    display: none !important;
}

.cruise-page-filter__expanded .select2-container--default .select2-selection__arrow b {
    display: none !important;
}

.cruise-page-filter__expanded .select2-container--default .select2-selection--multiple {
    align-items: center;
    display: flex;
    min-height: 38px;
    overflow: hidden;
    padding: 4px 8px;
}

.cruise-page-filter__expanded .select2-container--default .select2-selection--multiple .select2-selection__rendered {
    gap: 4px;
}

.cruise-page-filter__expanded .select2-container--default .select2-selection--multiple .select2-selection__choice {
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    padding: 5px 8px 5px 20px;
}

.cruise-page-filter__field--checkbox {
    align-self: stretch;
}

.cruise-page-filter__field--checkbox .filter-product-checkboxs {
    background: #f8fbfe;
    border: 1px solid #d7e1ee;
    border-radius: 0.4rem;
    min-height: 38px;
    padding: 8px 10px;
}

.cruise-page-filter__field--checkbox .custom-control {
    margin-bottom: 0 !important;
}

.cruise-page-filter__field--checkbox .custom-control-label {
    padding-top: 1px;
}

.cruise-list-results {
    width: 100%;
}

@media (max-width: 1199.98px) {
    .cruise-page-filter__main {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .cruise-page-filter__expanded-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .cruise-page-filter {
        padding: 16px;
        border-radius: 8px;
    }

    .cruise-page-filter__top {
        align-items: stretch;
        flex-direction: column;
    }

    .cruise-page-filter__tabs-nav {
        width: 100%;
    }

    .cruise-page-filter__tabs-nav li {
        flex: 1 1 0;
    }

    .cruise-page-filter__tab {
        min-width: 0;
        width: 100%;
    }

    .cruise-page-filter__expanded-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .cruise-page-filter {
        margin-top: 30px;
    }

    .cruise-page-filter__main,
    .cruise-page-filter__expanded-grid {
        grid-template-columns: 1fr;
    }

    .cruise-page-filter__search {
        grid-column: auto;
    }

    .cruise-page-filter__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .cruise-page-filter__actions .cruise-page-filter__search {
        width: 100%;
    }

    .cruise-page-filter__actions .cruise-page-filter__toggle,
    .cruise-page-filter__chip {
        justify-content: center;
        width: 100%;
    }

    .cruise-page-filter__chips {
        width: 100%;
    }
}
