/* ============================================================
   Results Page Styles — Accordion Sidebar + Enhanced Cards
   Loaded via: <BaseLayout extraCss={['/css/results.css']}>
   ============================================================ */

/* ── Main Container ── */
.main-container-search {
  padding: 40px 0 0 0;
}

.main-container-search .container {
  max-width: calc(100% - 15px);
}

/* ── Sort Bar (Reference V2) ── */
.search-sort {
  background: #fff;
  border-bottom: 1px solid var(--secondrycolor4);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.sort-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.sort-count {
  font-family: 'BentonSansBold';
  font-size: 16px;
  color: var(--secondrycolor1);
  display: inline;
}

.sort-count strong {
  font-family: 'BentonSansBold';
  font-size: 16px;
}

.sort-meta {
  color: var(--secondrycolor3);
  font-size: 12px;
}

.sort-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Price toggle (Low/High) */
.sort-price-toggle {
  display: flex;
  font-size: 16px;
  align-items: center;
}

.sort-price-toggle .price-label {
  font-family: 'BentonSansBold';
  font-size: 16px;
  color: var(--secondrycolor1);
  margin-right: 12px;
}

.sort-btn,
.price-order-btn {
  display: inline-block;
  font-family: 'BentonSansMedium';
  color: var(--secondrycolor2);
  padding: 4px 16px;
  cursor: pointer;
  border: none;
  background: none;
  font-size: 14px;
  transition: color 0.15s;
  white-space: nowrap;
}

.price-order-btn + .price-order-btn {
  border-left: 1px solid rgba(0, 0, 0, 0.3);
}

.price-order-btn.active,
.price-order-btn:hover,
.sort-btn.active {
  color: var(--maincolor1);
}

.sort-dropdown {
  border: 0 !important;
  font-size: 16px;
  font-family: 'BentonSansMedium';
  color: var(--secondrycolor2);
  width: auto;
  min-width: 150px;
  -webkit-appearance: push-button !important;
}

.sort-dropdown option {
  font-size: 15px;
  font-family: 'BentonSans';
}

/* ── Sidebar (Accordion-based, Reference V2) ── */
.sidebar {
  border-right: 1px solid var(--secondrycolor4);
  padding: 0 20px;
  position: sticky;
  top: 60px;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 10px;
}

.sidebar-header .filter-title {
  font-family: 'BentonSansBold';
  font-size: 18px;
  color: #000;
}

.sidebar-header .reset-link {
  font-family: 'BentonSansMedium';
  font-size: 14px;
  color: #B7B7B7;
  cursor: pointer;
  background: none;
  border: none;
  text-decoration: none;
}

.sidebar-header .reset-link:hover {
  color: var(--maincolor1);
}

.sidebar-header .btn-close {
  display: none;
}

/* Search by offer code */
.search-by {
  padding: 10px 0;
}

.search-by .search-container {
  position: relative;
}

.search-by .search-input {
  border: 1px solid var(--secondrycolor4);
  padding: 10px 10px 10px 35px;
  width: 100%;
  height: 45px;
  font-size: 14px;
  font-family: 'BentonSans';
  border-radius: 4px;
}

.search-by .search-input:focus {
  box-shadow: none;
  border-color: var(--maincolor1);
  outline: none;
}

.search-by .search-icon {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  color: #888;
}

/* Accordion items */
.sidebar .accordion {
  border: none;
}

.sidebar .accordion-item {
  color: var(--bs-accordion-color);
  background: #fff;
  margin: 8px 0;
  border-radius: 15px !important;
  border: none !important;
}

.sidebar .accordion-item:not(:first-of-type) {
  border-top: none !important;
}

.sidebar .accordion-button {
  font-family: 'BentonSansMedium';
  font-size: 16px;
  padding: 12px 16px;
  border-radius: 15px !important;
  background: #fff;
}

.sidebar .accordion-button:not(.collapsed) {
  color: var(--secondrycolor1);
  border-radius: 15px 15px 0 0 !important;
  background: #ececec;
  box-shadow: none;
}

.sidebar .accordion-button.collapsed {
  border-radius: 15px !important;
  background: #fff;
}

.sidebar .accordion-button.collapsed:focus {
  box-shadow: none;
}

.sidebar .accordion-button::after {
  flex-shrink: 0;
}

.sidebar .accordion-body {
  padding: 10px 16px 16px;
}

/* Checkbox options */
.checkbox-option {
  font-size: 14px;
  padding: 0 0 8px 0;
  display: flex;
  align-items: center;
}

.checkbox-option input[type="checkbox"] {
  accent-color: var(--maincolor1);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin: 0;
  cursor: pointer;
}

.checkbox-option label {
  display: flex;
  color: #000;
  cursor: pointer;
  font-family: 'BentonSans';
  font-size: 14px;
  flex: 1;
  padding-left: 8px;
  margin: 0;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checkbox-option .spansidedes {
  display: block;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.05em;
  padding-left: 8px;
  color: #888;
  text-align: right;
  flex-shrink: 0;
  white-space: nowrap;
}

/* Searchable filter sections */
.sidebar .search-container {
  position: relative;
  padding: 0 0 12px 0;
}

.sidebar .search-container .search-input {
  height: 40px;
  padding-left: 35px;
  border: 1px solid #efecec;
  font-size: 13px;
  font-family: 'BentonSans';
  border-radius: 4px;
  width: 100%;
}

.sidebar .search-container .search-input:focus {
  box-shadow: none;
  border-color: var(--maincolor1);
  outline: none;
}

.sidebar .search-container .search-icon {
  position: absolute;
  top: 35%;
  left: 12px;
  transform: translateY(-50%);
  color: #888;
  font-size: 13px;
}

/* Show more / hide part */
.hide-part {
  display: none;
}

.show-part {
  display: block;
}

.showmore {
  border-top: 1px solid #eee;
  text-align: center;
  padding: 8px 0 0 0;
  margin-top: 5px;
}

.showmore a,
.show-more-link {
  text-decoration: underline !important;
  font-size: 13px !important;
  color: var(--maincolor1) !important;
  font-family: 'BentonSans';
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

/* Price range slider */
.range_container {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.form_control {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.form_control_container {
  flex: 1;
}

.form_control_container__time {
  font-size: 13px;
  font-family: 'BentonSans';
  text-align: center;
  color: var(--secondrycolor2);
  margin-bottom: 4px;
}

.form_control_container__time__input {
  color: #555;
  width: 100% !important;
  height: 38px !important;
  font-size: 14px !important;
  padding: 5px !important;
  text-align: center;
  margin: 0 !important;
  border: 1px solid #ccc !important;
  border-radius: 4px;
}

.sliders_control {
  position: relative;
  min-height: 40px;
}

.sliders_control input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  height: 5px;
  width: 100%;
  position: absolute;
  background-color: #c6c6c6;
  pointer-events: none;
  border-radius: 10px;
  top: 15px;
}

.sliders_control input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  pointer-events: all;
  width: 18px;
  height: 18px;
  background-color: var(--maincolor1);
  border-radius: 50%;
  cursor: pointer;
}

.sliders_control input[type="range"]::-moz-range-thumb {
  -webkit-appearance: none;
  pointer-events: all;
  width: 18px;
  height: 18px;
  background-color: var(--maincolor1);
  border-radius: 50%;
  cursor: pointer;
  border: none;
}

.sliders_control #fromSlider {
  height: 0;
  z-index: 1;
}

/* Departure date calendar */
.calendar-container {
  background: #fff;
  border-radius: 8px;
  padding: 10px 0;
}

.year-selector {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  margin-bottom: 12px;
  font-family: 'BentonSansBold';
}

.year-selector button {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: var(--secondrycolor1);
  padding: 4px 10px;
}

.year-selector span {
  margin: 0 10px;
  color: var(--secondrycolor1);
}

.months-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.months-grid .month-cell {
  padding: 6px 4px;
  background: #f5f3f3;
  border-radius: 5px;
  text-align: center;
  cursor: pointer;
  font-size: 13px;
  font-family: 'BentonSans';
  transition: background 0.15s, color 0.15s;
}

.months-grid .month-cell:hover {
  background: #e0f0f0;
}

.months-grid .month-cell.selected {
  background-color: var(--maincolor1);
  color: #fff;
  font-weight: bold;
}

.months-grid .month-cell.disabled {
  color: #ccc;
  cursor: not-allowed;
  background: #fafafa;
}

/* Departure date tabs (Months / Range) */
.cruisepackaes .nav-tabs {
  border-bottom: 0 !important;
  background-color: #e4e4e4;
  border-radius: 30px;
  padding: 4px;
}

.cruisepackaes .main-tab li {
  display: inline-block;
  position: relative;
  color: var(--maincolor1);
  margin: 0;
  cursor: pointer;
  width: 50%;
  font-family: 'BentonSansBold';
  font-size: 13px;
  text-align: center;
  padding: 8px 0;
  border-radius: 30px;
  transition: background 0.2s;
}

.cruisepackaes .main-tab li:hover {
  background-color: #f9f8f8;
  border-radius: 30px;
}

.cruisepackaes .main-tab li.active {
  background-color: #fdfdfd;
  border: none;
  color: #000;
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.4) !important;
  font-family: 'BentonSans';
  font-size: 13px;
  border-radius: 30px;
  width: 50%;
}

.calendesign {
  padding-top: 3px;
  padding-right: 4px;
  font-size: 12px;
}

/* Date filter apply/reset */
.datedespart {
  min-width: 100% !important;
  box-shadow: none !important;
  font-size: 13px !important;
  font-family: 'BentonSans' !important;
  margin-top: 10px;
  background-color: var(--maincolor1);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 8px 16px;
}

.datedespart:hover {
  background-color: #1a8f97;
}

/* Range date presets (tabs) */
.tabs {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  font-size: 13px;
  font-family: 'BentonSans';
}

.tabs label {
  order: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 3px;
  margin-bottom: 3px;
  cursor: pointer;
  background-color: whitesmoke;
  font-weight: bold;
  transition: background 0.2s;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 12px;
}

.tabs .tab {
  order: 9;
  flex-grow: 1;
  width: 100%;
  display: none;
  background: #fff;
}

.tabs input[type="radio"] {
  display: none;
}

.tabs input[type="radio"]:checked + label {
  background: var(--maincolor1);
  color: white;
  font-size: 12px;
  font-family: 'BentonSans';
}

.tabs input[type="radio"]:checked + label + .tab {
  display: block;
}

/* Reset all fields */
.sidebar .reset-all-btn {
  width: 100%;
  margin: 10px 0 20px;
}

/* ── Custom info icons (matching reference design) ── */
.main-container-search .search-result-block .info-list li span.icon-ship {
  content: url("/images/icon/shipicon1.png"); }
.main-container-search .search-result-block .info-list li span.icon-flighticon {
  content: url("/images/icon/flighticon.png"); }
.main-container-search .search-result-block .info-list li span.icon-loaction {
  content: url("/images/icon/loaction.png"); }
.main-container-search .search-result-block .info-list li span.icon-anchor {
  content: url("/images/icon/anchor.png"); }
.main-container-search .search-result-block .info-list li span.icon-nights {
  content: url("/images/icon/nights-grey.png"); }
.main-container-search .search-result-block .info-list li span.icon-calender {
  content: url("/images/icon/calendericon.png"); }

.info-list li span[class^="icon-"] {
  display: inline-block;
  width: 20px;
  padding-right: 5px;
  vertical-align: bottom;
}

/* ── Result Cards (Reference V2) ── */
.search-result-block {
  padding: 10px 20px 10px 10px;
  margin: 20px 0 0 0;
  border: 1px solid #dee2e6;
  border-radius: 15px;
  background: #fff;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.search-result-block:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* Thumbnail */
.thumb-block {
  position: relative;
  overflow: hidden;
}

img.holiday-img {
  width: 100%;
  height: 300px;
  max-height: 300px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 10px;
  background-color: #1a3a4a;
}

div.holiday-img {
  width: 100%;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

.holiday-img-placeholder {
  background: linear-gradient(135deg, #0a2e3d 0%, #155a5e 60%, #1a3a4a 100%);
}

.img-placeholder-text {
  font-family: 'CaslonGraphiqueEF';
  font-size: 24px;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 3px;
}

/* Operator logo overlay */
.cruiselogo {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 0 50px 50px 0;
  padding: 5px 20px 5px 15px;
  width: 140px;
  height: 45px;
  top: 12px;
  left: 0;
  display: flex;
  align-items: center;
}

.cruiselogo img {
  height: 100%;
  max-height: 35px;
  object-fit: contain;
}

.cruiselogo-text {
  padding: 5px 10px;
}

.cruiselogo-text span {
  font-family: 'BentonSansMedium';
  font-size: 10px;
  color: var(--secondrycolor1);
  line-height: 1.2;
}

/* Badge on image (Cruise Only / Fly Cruise) */
.gallery-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 62px;
  left: 0;
  right: auto;
  bottom: auto;
  width: auto;
  height: 28px;
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-family: 'BentonSansMedium';
  font-size: 12px;
  border-radius: 0 0 20px 0;
  padding: 0 18px 2px 12px;
  line-height: 28px;
}

.fc-badge {
  position: absolute;
  top: 62px;
  left: 0;
  height: 28px;
  background: var(--orange);
  color: #fff;
  font-size: 12px;
  font-family: 'BentonSansMedium';
  padding: 0 18px 2px 12px;
  border-radius: 0 0 20px 0;
  z-index: 2;
  line-height: 28px;
}

.fc-badge i {
  margin-right: 4px;
}

/* Card content */
.card-details {
  display: flex;
  flex-direction: row;
  height: 100%;
  padding: 0;
}

.card-details-inner {
  flex: 1;
  padding: 15px 12px;
  min-width: 0;
}

/* Card title */
.card-title,
.search-result-block h3 {
  font-family: 'BentonSansBold';
  font-size: 20px;
  line-height: 1.3;
  color: var(--secondrycolor1);
  padding: 10px 0 8px 0;
  margin: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  max-height: 70px;
}

.card-title a {
  color: var(--secondrycolor1);
  text-decoration: none;
}

.card-title a:hover {
  color: var(--maincolor1);
}

/* Info list (horizontal on desktop) */
.info-list {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
}

.info-list li {
  font-family: 'BentonSansMedium';
  font-size: 13px;
  color: var(--secondrycolor2);
  padding: 2px 0;
  line-height: 1.4;
}

.info-list li i {
  width: 18px;
  text-align: center;
  color: var(--maincolor1);
  margin-right: 6px;
  font-size: 13px;
}

.info-list.singleline {
  padding: 0 0 8px 0;
}

.info-list.singleline li {
  display: inline-block;
  padding: 0 10px 0 0;
  white-space: nowrap;
}

/* Cruise Includes section */
.card-inclusions {
  margin-top: 8px;
}

.card-inclusions h6 {
  font-size: 14px;
  font-weight: 600;
  padding: 0 0 6px 0;
  color: var(--black);
  margin: 0;
}

.inclusion-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2px 14px;
}

.inclusion-list li {
  font-size: 12px;
  color: var(--secondrycolor2);
  white-space: nowrap;
}

.inclusion-list li i.fa-check,
.checkdes {
  color: #2e8b57;
  margin-right: 4px;
  font-size: 11px;
}

.searchli {
  font-size: 13px;
}

/* Price list column (desktop) */
.price-col {
  width: 180px;
  flex-shrink: 0;
  border-left: 1px solid #f0f0f0;
  padding: 15px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.price-list1 {
  padding: 0;
  margin: 0 0 10px;
}

.price-list1 h6 {
  font-size: 13px;
  font-weight: 600;
  color: var(--secondrycolor2);
  margin-bottom: 6px;
}

.price-list1 ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.price-list1 ul li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  width: 100%;
  padding: 2px 0;
  font-family: 'BentonSansMedium';
  font-size: 13px;
  border-bottom: 1px solid #f0f0f0;
  color: var(--secondrycolor2);
}

.price-list1 ul li:last-child {
  border-bottom: 0;
}

.price-list1 ul li span {
  font-weight: 500;
  white-space: nowrap;
}

.price-list1 ul li span b {
  font-weight: 400;
  font-size: 11px;
}

.price-list1 ul li:first-child span {
  font-size: 18px;
  color: var(--secondrycolor1);
  font-family: 'BentonSansBold';
}

/* Using data-driven rows */
.price-header {
  font-family: 'BentonSansMedium';
  font-size: 12px;
  color: var(--secondrycolor3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.price-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  padding: 3px 0;
  font-size: 13px;
  color: var(--secondrycolor2);
}

.price-row-main {
  font-size: 15px;
  color: var(--secondrycolor1);
  padding-bottom: 5px;
  margin-bottom: 4px;
  border-bottom: 1px solid #f0f0f0;
}

.price-row-main .cabin-price {
  font-family: 'BentonSansBold';
  font-size: 20px;
  color: var(--maincolor1);
}

.cabin-type {
  font-size: 12px;
  color: var(--secondrycolor3);
  text-transform: capitalize;
}

.cabin-price {
  font-family: 'BentonSansMedium';
  white-space: nowrap;
}

.cabin-price small {
  font-size: 10px;
  color: var(--secondrycolor3);
}

.cabin-solo {
  display: block;
  width: 100%;
  font-size: 11px;
  color: var(--secondrycolor3);
  text-align: right;
}

.load-more-cabins {
  font-size: 12px;
  color: var(--maincolor1);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 0;
}

/* Promo badge */
.badge2 {
  background: #e7ffe6;
  border-radius: 8px;
  border: 1px solid #9dffcd;
  padding: 5px 10px;
  margin-top: 5px;
}

.badge2 p,
.badge2 {
  font-size: 11px;
  color: #117006;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

/* View Itinerary toggle */
.offer-detail {
  padding: 0 0 15px 0;
  margin: 8px 0 0 0;
}

.line2 {
  border-top: 1px solid #ccc;
  position: relative;
  margin-top: 10px;
}

.line2 span {
  font-weight: 600;
  font-size: 13px;
  position: absolute;
  background: #fff;
  left: 50%;
  top: -1px;
  transform: translate(-50%, -50%);
  padding: 0 10px;
  cursor: pointer;
  color: var(--maincolor1);
  white-space: nowrap;
}

.line2 span i {
  font-size: 18px;
  padding: 0 0 0 4px;
  vertical-align: middle;
}

/* View Itinerary (existing) */
.card-itinerary {
  margin-top: 8px;
}

.btn-view-itinerary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid var(--secondrycolor4);
  border-radius: 4px;
  padding: 6px 12px;
  font-family: 'BentonSansMedium';
  font-size: 12px;
  color: var(--maincolor1);
  cursor: pointer;
  transition: all 0.15s;
}

.btn-view-itinerary:hover {
  border-color: var(--maincolor1);
  background: rgba(32, 161, 170, 0.05);
}

.btn-view-itinerary[aria-expanded="true"] .itin-chevron {
  transform: rotate(180deg);
}

.itin-chevron {
  font-size: 10px;
  transition: transform 0.2s;
}

.itinerary-panel {
  padding: 14px 0 4px;
}

.itinerary-route {
  position: relative;
  padding-left: 20px;
}

.itinerary-stop {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  position: relative;
}

.itinerary-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--maincolor1);
  background: #fff;
  flex-shrink: 0;
  margin-top: 3px;
  position: relative;
  z-index: 1;
}

.itinerary-stop-first .itinerary-dot,
.itinerary-stop-last .itinerary-dot {
  background: var(--maincolor1);
}

.itinerary-stop-info strong {
  font-family: 'BentonSansMedium';
  font-size: 13px;
  color: var(--secondrycolor1);
  display: block;
  line-height: 1.3;
}

.itinerary-label {
  font-size: 11px;
  color: var(--secondrycolor3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.itinerary-line {
  border-left: 2px dashed var(--maincolor3);
  margin-left: 5px;
  padding: 8px 0 8px 17px;
}

.itinerary-duration {
  font-size: 12px;
  color: var(--secondrycolor2);
  font-family: 'BentonSans';
}

.itinerary-detail-link {
  display: inline-block;
  font-size: 12px;
  color: var(--maincolor1);
  font-family: 'BentonSansMedium';
  text-decoration: none;
  margin-top: 8px;
  padding-left: 20px;
}

.itinerary-detail-link:hover {
  text-decoration: underline;
}

/* CTA button */
.btnsearch {
  display: inline-block;
  padding: 14px 10px;
  width: 100%;
  background: var(--maincolor1);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-family: 'BentonSansMedium';
  font-size: 14px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s;
  letter-spacing: 0.5px;
}

.btnsearch:hover {
  background: #1a8f97;
  color: #fff;
}

/* Mobile tabs on cards */
.mobile-card-tabs {
  background: #f8f8f8;
  border-top: 1px solid #e8e8e8;
}

.mobile-card-tabs .nav-pills .nav-link,
.tab-search .nav-link {
  border-radius: 0;
  font-size: 12px;
  font-family: 'BentonSansMedium';
  color: var(--secondrycolor2);
  padding: 10px 8px;
}

.mobile-card-tabs .nav-pills .nav-link.active,
.tab-search .nav-link.active {
  background: var(--maincolor1);
  color: #fff;
}

.tab-search {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
}

.tab-search .nav-item {
  flex: 1;
}

.tab-search .nav-link {
  display: block;
  text-align: center;
  padding: 10px 6px;
  font-size: 12px;
  border-bottom: 2px solid transparent;
}

.tab-search .nav-link.active {
  border-bottom-color: var(--maincolor1);
  background: rgba(32, 161, 170, 0.05);
}

/* Mobile date carousel */
.date-link-blk {
  display: flex;
  overflow-x: auto;
  gap: 8px;
  padding: 10px 0;
  -webkit-overflow-scrolling: touch;
}

.date-link-blk::-webkit-scrollbar {
  height: 4px;
}

.post-slide {
  flex-shrink: 0;
  background: #f5f3f3;
  border-radius: 8px;
  padding: 8px 12px;
  text-align: center;
  cursor: pointer;
  min-width: 80px;
  transition: background 0.2s;
}

.post-slide span {
  display: block;
  font-family: 'BentonSans';
}

.post-slide span.month {
  font-size: 12px;
  font-weight: 600;
}

.post-slide span.year {
  font-size: 11px;
  color: #888;
}

.post-slide span.day {
  font-size: 10px;
  color: #aaa;
}

.post-slide:hover,
.post-slide.active {
  background: var(--maincolor1);
  color: #fff;
}

.post-slide:hover span,
.post-slide.active span {
  color: #fff;
}

/* Mobile cabin pricing accordion */
.collapse-container .accordion-item {
  border: none;
  border-bottom: 1px solid #f0f0f0;
}

.collapse-container .travel-detail-collapse {
  padding: 10px 0;
}

.collapse-container .travel-detail-collapse .panel-title {
  font-family: 'BentonSansMedium';
  font-size: 14px;
  margin: 0;
}

.collapse-container .travel-detail-collapse .fares {
  font-family: 'BentonSansBold';
  font-size: 16px;
  color: var(--maincolor1);
}

/* Mobile prices */
.mobile-prices {
  padding-top: 8px;
}

/* ── Visibility Toggles ── */
.only-desktop {
  display: block;
}

.only-desktop-inline-block {
  display: inline-block;
}

.only-mobile {
  display: none !important;
}

/* ── Fly-Cruise Specific ── */
.fc-card-inclusions,
.fc-card-inclusions-mobile {
  margin-top: 6px;
}

.fc-card-inclusions .inclusion-list,
.fc-card-inclusions-mobile .inclusion-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2px 14px;
  font-size: 12px;
}

.fc-card-inclusions .inclusion-list li i,
.fc-card-inclusions-mobile .inclusion-list li i {
  color: #5dd39e;
  margin-right: 3px;
  font-size: 11px;
}

/* Cruise type toggle */
.fc-type-toggle {
  display: flex;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
}

.fc-toggle-btn {
  border: none;
  background: #fff;
  padding: 5px 12px;
  font-size: 13px;
  font-family: 'BentonSans';
  color: var(--secondrycolor2);
  cursor: pointer;
  transition: all 0.15s;
}

.fc-toggle-btn:hover {
  background: #f5f5f5;
}

.fc-toggle-btn.active {
  background: var(--maincolor1);
  color: #fff;
}

/* ── Mobile Sidebar ── */
#fix-filter {
  position: relative;
}

#fix-filter .sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

#fix-filter .sidebar-header .type {
  font-family: 'BentonSansBold';
  font-size: 16px;
  color: #000;
  cursor: pointer;
}

#fix-filter .sidebar-header .type i {
  margin-right: 6px;
}

#fix-filter .sidebar-header .sort {
  display: flex;
  align-items: center;
  gap: 4px;
}

#fix-filter .sidebar-header .sort .sel {
  border: 0 !important;
  font-weight: 600;
  color: #999;
  font-size: 14px;
}

#fix-filter .sidebarscroll {
  overflow-y: auto;
  max-height: calc(100vh - 80px);
  padding: 20px;
  background: #fff;
}

/* ── Sidebar Overlay (mobile) ── */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1040;
}

.sidebar-overlay.active {
  display: block;
}

/* ══════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════ */

@media screen and (max-width: 991px) {
  /* Sidebar: off-canvas on < lg */
  #sidebar-col {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1050;
    pointer-events: none;
  }

  .sidebar {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100vh;
    overflow-y: auto;
    z-index: 1051;
    border-radius: 0;
    border: 0;
    border-right: none;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
    transition: left 0.3s ease;
    pointer-events: auto;
    padding: 20px;
    background: #fff;
  }

  .sidebar.sidebar-open {
    left: 0;
  }

  .sidebar-header .btn-close {
    display: block !important;
  }
}

@media screen and (min-width: 992px) {
  .sidebar-header .btn-close {
    display: none !important;
  }

  #filter-toggle-btn {
    display: none !important;
  }

  .only-mobile {
    display: none !important;
  }
}

@media screen and (max-width: 640px) {
  .main-container-search {
    padding: 0;
  }

  .only-desktop {
    display: none !important;
  }

  .only-desktop-inline-block {
    display: none !important;
  }

  .only-mobile {
    display: block !important;
  }

  /* Sort bar mobile */
  .sort-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 0;
  }

  .sort-controls {
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .sort-price-toggle {
    justify-content: center;
  }

  .sort-dropdown {
    min-width: 140px;
  }

  /* Cards stack */
  .search-result-block {
    padding: 0 0 15px 0 !important;
    border-radius: 10px;
  }

  .search-result-block .row {
    flex-direction: column;
  }

  .search-result-block .col-sm-5,
  .search-result-block .col-sm-7 {
    width: 100%;
  }

  img.holiday-img {
    height: 200px;
    border-radius: 10px 10px 0 0;
  }

  .card-details {
    flex-direction: column;
  }

  .price-col {
    width: 100%;
    border-left: 0;
    border-top: 1px solid #f0f0f0;
    padding: 12px;
  }

  .info-list.singleline li {
    display: block;
    margin-right: 0;
  }

  /* Mobile sidebar */
  .only-mobile .sidebar {
    border-right: 0 !important;
    padding: 0;
    z-index: 1 !important;
    width: 100%;
  }

  .only-mobile .sidebar .sidebar-header {
    width: 100%;
    padding: 12px 10px 0 10px;
    position: sticky;
    top: 0;
    z-index: 2;
    background: #fff;
  }

  .only-mobile .sidebar .accordion-body {
    padding: 10px;
  }

  .only-mobile .sidebar .checkbox-option {
    padding: 8px 10px 0 10px;
  }
}

@media screen and (max-width: 768px) {
  .cruiselogo {
    width: 110px;
    height: 38px;
    padding: 4px 14px 4px 10px;
  }

  .gallery-link,
  .fc-badge {
    top: 54px;
    font-size: 11px;
    height: 24px;
    line-height: 24px;
  }
}
