/* ━━━ LAYOUT ━━━ */
.ct-wrap { max-width: 1400px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }

/* ━━━ FILTERS ━━━ */
.ct-filters { background: var(--white, #fff); padding: 24px 0; border-bottom: 1px solid var(--border, #E5E7EB); }
.ct-filters-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; flex-wrap: wrap; gap: 8px; }
.ct-filters-title { font-size: 17px; font-weight: 700; color: var(--navy, #0A1F44); display: flex; align-items: center; gap: 8px; }
.ct-filters-icon { font-size: 16px; opacity: 0.5; }
.ct-updated { font-size: 12px; color: var(--gray, #667085); font-weight: 400; }
.ct-filters-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(155px, 1fr)); gap: 10px; align-items: end; }
.ct-fg { display: flex; flex-direction: column; gap: 3px; }
.ct-fl { font-size: 11px; font-weight: 700; color: var(--gray-dark, #344054); text-transform: uppercase; letter-spacing: 0.8px; }
.ct-fs { padding: 9px 10px; border: 1px solid var(--border, #E5E7EB); border-radius: 6px; font-size: 13px; font-family: inherit; color: var(--navy, #0A1F44); background: #fff; cursor: pointer; transition: border-color 0.2s; }
.ct-fs:focus { outline: none; border-color: var(--gold, #C9A961); box-shadow: 0 0 0 3px rgba(201,169,97,0.12); }
.ct-fg-buttons { flex-direction: row; gap: 8px; align-items: flex-end; }
.ct-search-btn { flex: 1; padding: 9px 22px; background: var(--navy, #0A1F44); color: #fff; border: none; border-radius: 6px; font-weight: 700; font-size: 13px; cursor: pointer; font-family: inherit; transition: all 0.2s; }
.ct-search-btn:hover { background: var(--navy-light, #1a3a5f); }
.ct-reset-btn { padding: 9px 14px; background: transparent; color: var(--gray, #667085); border: 1px solid var(--border, #E5E7EB); border-radius: 6px; font-size: 13px; cursor: pointer; font-family: inherit; transition: all 0.2s; }
.ct-reset-btn:hover { border-color: var(--navy, #0A1F44); color: var(--navy, #0A1F44); }

/* ━━━ RESULTS BAR ━━━ */
.ct-results-bar { background: var(--gray-light, #F2F4F7); padding: 12px 0; border-bottom: 1px solid var(--border, #E5E7EB); }
.ct-results-inner { display: flex; justify-content: space-between; align-items: center; }
.ct-results-count { font-size: 13px; color: var(--gray-dark, #344054); }
.ct-results-count strong { color: var(--navy, #0A1F44); }
.ct-sort { display: flex; align-items: center; gap: 6px; }
.ct-sort-label { font-size: 12px; color: var(--gray, #667085); font-weight: 500; }
.ct-sort-select { padding: 5px 10px; border: 1px solid var(--border, #E5E7EB); border-radius: 5px; font-size: 12px; font-family: inherit; background: #fff; cursor: pointer; }

/* ━━━ DESKTOP TABLE ━━━ */
.ct-listings { background: var(--white, #fff); padding: 0 0 32px 0; }
.ct-table-wrap { overflow-x: auto; }
.ct-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ct-table thead { background: var(--navy, #0A1F44); }
.ct-table th { padding: 13px 16px; text-align: left; font-weight: 600; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.8px; color: rgba(255,255,255,0.85); white-space: nowrap; cursor: pointer; user-select: none; transition: color 0.15s; }
.ct-table th:hover { color: #fff; }
.ct-table th.sortable::after { content: '\21C5'; margin-left: 5px; opacity: 0.35; font-size: 12px; }
.ct-table th.sortable.asc::after { content: '\2191'; opacity: 1; color: var(--gold, #C9A961); }
.ct-table th.sortable.desc::after { content: '\2193'; opacity: 1; color: var(--gold, #C9A961); }
.ct-th-nights { text-align: center; width: 74px; }
.ct-th-price { text-align: right; }
.ct-th-cta { width: 190px; }
.ct-table tbody tr.ct-row { border-bottom: 1px solid #EEF0F4; transition: all 0.15s; }
.ct-table tbody tr.ct-row:hover { background: #F7F8FB; }
.ct-table tbody tr.ct-row:hover .ct-quote-btn { box-shadow: 0 4px 14px rgba(0,0,0,0.12); transform: translateY(-1px); }
.ct-row.hidden-row { display: none; }
.ct-row.hidden-row + .ct-cat-row { display: none !important; }
.ct-table td { padding: 16px; vertical-align: middle; color: var(--navy, #0A1F44); }
.ct-td-nights { text-align: center; font-size: 22px; font-weight: 800; letter-spacing: -0.5px; }
.ct-td-itinerary { font-size: 14px; font-weight: 600; }
.ct-port-from, .ct-port-to { color: var(--navy, #0A1F44); }
.ct-arrow { display: inline-block; margin: 0 6px; color: var(--gold, #C9A961); font-weight: 700; }

/* ── Other Dates pill (desktop) ── */
.ct-other-dates {
  display: inline-block; margin-left: 8px; padding: 2px 8px;
  background: var(--gray-light, #F2F4F7); border: 1px solid var(--border, #E5E7EB);
  border-radius: 20px; font-size: 11px; font-weight: 600;
  color: var(--gold, #C9A961); cursor: pointer; font-family: inherit;
  transition: all 0.2s; vertical-align: middle; white-space: nowrap;
}
.ct-other-dates:hover { background: var(--gold, #C9A961); color: var(--navy, #0A1F44); border-color: var(--gold, #C9A961); }

/* ── Distinctive Voyage (gold left border) ── */
.ct-row.ct-distinctive { border-left: 4px solid var(--gold, #C9A961); }
.ct-row.ct-distinctive + .ct-cat-row { border-left: 4px solid var(--gold, #C9A961); }
.ct-card.ct-distinctive { border-left: 4px solid var(--gold, #C9A961); }

/* ── Amenity Departure (subtle left border) ── */
.ct-row.ct-amenity { border-left: 4px solid #8BC6A8; }
.ct-row.ct-amenity + .ct-cat-row { border-left: 4px solid #8BC6A8; }
.ct-card.ct-amenity { border-left: 4px solid #8BC6A8; }

/* ── Desktop DV badge (inside itinerary cell) ── */
.ct-dv-badge {
  display: inline-block; margin-top: 4px; padding: 2px 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.3px;
  color: var(--gold, #C9A961); background: rgba(201,169,97,0.1);
  border-radius: 4px;
}
/* ── Desktop ADD badge (inside itinerary cell) ── */
.ct-add-badge {
  display: inline-block; margin-top: 4px; padding: 2px 8px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.2px;
  color: #2D7A4F; background: rgba(139,198,168,0.15);
  border-radius: 4px;
}

/* ── Mobile DV badge ── */
.ct-card-dv-badge {
  display: inline-block; font-size: 11px; font-weight: 700;
  color: var(--gold, #C9A961); margin-bottom: 8px;
  letter-spacing: 0.3px;
}
/* ── Mobile ADD badge ── */
.ct-card-add-badge {
  display: inline-block; font-size: 11px; font-weight: 600;
  color: #2D7A4F; margin-bottom: 8px;
  letter-spacing: 0.2px;
}

/* ── Other Dates pill (mobile) ── */
.ct-card-other-dates {
  display: inline; padding: 1px 7px; margin: 0;
  background: var(--gray-light, #F2F4F7); border: 1px solid var(--border, #E5E7EB);
  border-radius: 20px; font-size: 11px; font-weight: 600;
  color: var(--gold, #C9A961); cursor: pointer; font-family: inherit;
  transition: all 0.2s; white-space: nowrap;
}
.ct-card-other-dates:hover { background: var(--gold, #C9A961); color: var(--navy, #0A1F44); border-color: var(--gold, #C9A961); }

/* ── Itinerary Filter Bar (appears when filtering by route) ── */
.ct-itin-bar {
  display: none; background: #FEF9EF; border: 1px solid var(--gold, #C9A961);
  border-radius: 8px; padding: 12px 20px; margin: 12px 0;
  font-size: 13px; color: var(--navy, #0A1F44);
  align-items: center; justify-content: space-between; gap: 12px;
}
.ct-itin-bar.active { display: flex; }
.ct-itin-bar-text { font-weight: 600; }
.ct-itin-bar-text strong { color: var(--gold, #C9A961); }
.ct-itin-clear {
  padding: 5px 14px; background: var(--navy, #0A1F44); color: #fff;
  border: none; border-radius: 6px; font-size: 12px; font-weight: 700;
  cursor: pointer; font-family: inherit; transition: all 0.2s; white-space: nowrap;
}
.ct-itin-clear:hover { background: var(--navy-light, #1a3a5f); }
.ct-td-dates { font-size: 13px; color: var(--gray-dark, #344054); white-space: nowrap; }
.ct-ship-link { color: var(--navy, #0A1F44); text-decoration: none; font-weight: 600; transition: color 0.15s; }
.ct-ship-link:hover { color: var(--gold, #C9A961); }
.ct-td-price { text-align: right; padding-right: 20px; }
.ct-price-from { display: block; font-size: 11px; color: var(--gray, #667085); font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 1px; }
.ct-price-amount { display: block; font-size: 22px; font-weight: 800; color: var(--navy, #0A1F44); letter-spacing: -0.5px; line-height: 1.1; }
.ct-price-pp { display: block; font-size: 11px; color: var(--gray, #667085); font-weight: 400; margin-top: 1px; }
.ct-td-cta { text-align: center; }
.ct-quote-btn { display: inline-flex; align-items: center; gap: 6px; padding: 11px 20px; background: var(--ct-accent); color: var(--ct-quote-text); border: none; border-radius: 8px; font-weight: 700; font-size: 13px; text-decoration: none; cursor: pointer; transition: all 0.25s; white-space: nowrap; font-family: inherit; }
.ct-quote-btn:hover { background: var(--ct-accent-hover, var(--ct-accent)); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); filter: brightness(0.93); }
.ct-btn-arrow { font-size: 14px; transition: transform 0.2s; }
.ct-quote-btn:hover .ct-btn-arrow, .ct-card-quote-btn:hover .ct-btn-arrow { transform: translateX(3px); }

/* ── See All Categories button (desktop) ── */
.ct-expand-btn {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 8px; padding: 0; background: none; border: none;
  font-size: 12px; font-weight: 600; color: var(--gold, #C9A961);
  cursor: pointer; font-family: inherit; transition: color 0.15s;
}
.ct-expand-btn:hover { color: var(--navy, #0A1F44); }
.ct-expand-btn[aria-expanded="true"] .ct-chevron { transform: rotate(180deg); }
.ct-chevron { font-size: 10px; transition: transform 0.25s; display: inline-block; }

/* ── Category expansion sub-row (desktop) ── */
.ct-cat-row { background: #F8F9FC; }
.ct-cat-row td { padding: 0 16px 16px 16px; }
.ct-cat-grid {
  display: flex; gap: 12px; padding-top: 4px;
}
.ct-cat-item {
  flex: 1; background: #fff; border: 1px solid var(--border, #E5E7EB);
  border-radius: 10px; padding: 16px 20px; text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.ct-cat-item:hover { border-color: var(--gold, #C9A961); box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.ct-cat-label { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: var(--gray, #667085); margin-bottom: 4px; }
.ct-cat-price { display: block; font-size: 24px; font-weight: 800; color: var(--navy, #0A1F44); letter-spacing: -0.5px; line-height: 1.1; }
.ct-cat-pp { display: block; font-size: 11px; color: var(--gray, #667085); margin-bottom: 10px; }
.ct-cat-quote {
  display: inline-block; padding: 8px 16px;
  background: var(--ct-accent); color: var(--ct-quote-text);
  border-radius: 6px; font-size: 12px; font-weight: 700;
  text-decoration: none; transition: all 0.2s; font-family: inherit;
}
.ct-cat-quote:hover { filter: brightness(0.92); transform: translateY(-1px); box-shadow: 0 3px 10px rgba(0,0,0,0.12); }

/* ━━━ MOBILE CARDS ━━━ */
.ct-cards { display: none; }
.ct-card { background: #fff; border: 1px solid #E8EAF0; border-radius: 12px; padding: 20px; margin-bottom: 12px; transition: box-shadow 0.2s; }
.ct-card:hover { box-shadow: 0 4px 16px rgba(10,31,68,0.1); }
.ct-card.hidden-row { display: none; }
.ct-card-top { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 10px; }
.ct-card-info { flex: 1; min-width: 0; }
.ct-card-img-link { flex-shrink: 0; display: block; border-radius: 8px; overflow: hidden; transition: opacity 0.2s; }
.ct-card-img-link:hover { opacity: 0.85; }
.ct-card-ship-img { display: block; width: 90px; height: 60px; object-fit: cover; border-radius: 8px; }
.ct-card-route { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.ct-card-port { font-size: 17px; font-weight: 700; color: var(--navy, #0A1F44); line-height: 1.2; }
.ct-card-arrow { color: var(--gold, #C9A961); font-weight: 700; font-size: 16px; flex-shrink: 0; }
.ct-card-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; font-size: 13px; color: var(--gray, #667085); }
.ct-card-nights { font-weight: 700; color: var(--navy, #0A1F44); }
.ct-card-dot { color: var(--border, #E5E7EB); font-weight: 700; }
.ct-card-ship { color: var(--gray-dark, #344054); text-decoration: none; font-weight: 600; }
.ct-card-ship:hover { color: var(--gold, #C9A961); }
.ct-card-dates { font-size: 13.5px; color: var(--gray-dark, #344054); margin-bottom: 16px; display: flex; align-items: center; gap: 6px; padding-bottom: 16px; border-bottom: 1px solid #F0F1F5; }
.ct-card-date-icon { font-size: 14px; }
.ct-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ct-card-price-block { flex-shrink: 0; }
.ct-card-from-label { display: block; font-size: 11px; color: var(--gray, #667085); font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 1px; }
.ct-card-price { display: block; font-size: 26px; font-weight: 800; color: var(--navy, #0A1F44); line-height: 1.1; letter-spacing: -0.5px; }
.ct-card-pp { display: block; font-size: 11.5px; color: var(--gray, #667085); font-weight: 400; margin-top: 1px; }
.ct-card-quote-btn { display: inline-flex; align-items: center; gap: 6px; padding: 14px 24px; background: var(--ct-accent); color: var(--ct-quote-text); border: none; border-radius: 10px; font-weight: 700; font-size: 14px; text-decoration: none; cursor: pointer; transition: all 0.25s; white-space: nowrap; font-family: inherit; flex-shrink: 0; }
.ct-card-quote-btn:hover { background: var(--ct-accent-hover, var(--ct-accent)); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }
.ct-card-quote-btn .ct-btn-arrow { font-size: 15px; }

/* ── See All Categories button (mobile) ── */
.ct-card-expand {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%; margin-top: 14px; padding: 10px;
  background: var(--gray-light, #F2F4F7); border: 1px solid var(--border, #E5E7EB);
  border-radius: 8px; font-size: 13px; font-weight: 600;
  color: var(--navy, #0A1F44); cursor: pointer; font-family: inherit;
  transition: all 0.2s;
}
.ct-card-expand:hover { background: #E8EBF0; }
.ct-card-expand[aria-expanded="true"] .ct-chevron { transform: rotate(180deg); }

/* ── Category expansion (mobile) ── */
.ct-card-cats {
  margin-top: 12px; border-top: 1px solid #F0F1F5; padding-top: 12px;
}
.ct-card-cat-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0; border-bottom: 1px solid #F5F6F8;
}
.ct-card-cat-row:last-child { border-bottom: none; }
.ct-card-cat-info { display: flex; align-items: baseline; gap: 8px; }
.ct-card-cat-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--gray, #667085); min-width: 65px; }
.ct-card-cat-price { font-size: 18px; font-weight: 800; color: var(--navy, #0A1F44); }
.ct-card-cat-pp { font-size: 11px; font-weight: 400; color: var(--gray, #667085); }
.ct-card-cat-quote {
  padding: 8px 14px; background: var(--ct-accent); color: var(--ct-quote-text);
  border-radius: 6px; font-size: 12px; font-weight: 700;
  text-decoration: none; white-space: nowrap; font-family: inherit;
  transition: all 0.2s; flex-shrink: 0;
}
.ct-card-cat-quote:hover { filter: brightness(0.92); }

/* ━━━ NO RESULTS ━━━ */
.ct-no-results { text-align: center; padding: 80px 24px; background: var(--white, #fff); }
.ct-no-icon { font-size: 52px; margin-bottom: 16px; }
.ct-no-results h3 { font-size: 22px; color: var(--navy, #0A1F44); margin-bottom: 8px; }
.ct-no-results p { color: var(--gray, #667085); font-size: 15px; }
.ct-reset-link { background: none; border: none; color: var(--gold, #C9A961); font-weight: 700; cursor: pointer; text-decoration: underline; font-size: 15px; font-family: inherit; }

/* ━━━ PAGINATION ━━━ */
.ct-paged { display: none !important; }
.ct-paged + .ct-cat-row { display: none !important; }
.ct-pagination {
  text-align: center; padding: 32px 24px; background: var(--white, #fff);
}
.ct-page-progress { max-width: 400px; margin: 0 auto 20px; }
.ct-page-bar {
  height: 4px; background: var(--gray-light, #F2F4F7); border-radius: 4px;
  overflow: hidden; margin-bottom: 8px;
}
.ct-page-bar-fill {
  height: 100%; background: var(--gold, #C9A961); border-radius: 4px;
  transition: width 0.4s ease;
}
.ct-page-status { font-size: 13px; color: var(--gray, #667085); font-weight: 500; }
.ct-show-more {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; background: var(--navy, #0A1F44); color: #fff;
  border: none; border-radius: 8px; font-weight: 700; font-size: 14px;
  cursor: pointer; font-family: inherit; transition: all 0.25s;
}
.ct-show-more:hover { background: var(--navy-light, #1a3a5f); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(10,31,68,0.2); }
.ct-more-arrow { font-size: 16px; transition: transform 0.2s; }
.ct-show-more:hover .ct-more-arrow { transform: translateY(3px); }

/* ━━━ RESPONSIVE ━━━ */
@media (max-width: 1024px) {
  .ct-wrap { padding-left: 24px; padding-right: 24px; }
  .ct-table th { font-size: 11px; padding: 11px 12px; }
  .ct-table td { padding: 14px 12px; }
  .ct-price-amount { font-size: 19px; }
  .ct-td-nights { font-size: 19px; }
  .ct-quote-btn { padding: 10px 16px; font-size: 12px; }
  .ct-cat-grid { flex-direction: column; }
}
@media (max-width: 768px) {
  .ct-wrap { padding-left: 16px; padding-right: 16px; }
  .ct-table-wrap { display: none !important; }
  .ct-cards { display: block !important; }
  .ct-filters-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .ct-fg-buttons { grid-column: 1 / -1; }
  .ct-search-btn { flex: 1; }
  .ct-results-inner { flex-direction: column; gap: 8px; align-items: flex-start; }
  .ct-listings { background: var(--gray-light, #F2F4F7); padding: 16px 0 24px 0; }
}
@media (max-width: 480px) {
  .ct-wrap { padding-left: 12px; padding-right: 12px; }
  .ct-filters-grid { grid-template-columns: 1fr; }
  .ct-fg-buttons { grid-column: 1; }
  .ct-card { padding: 16px; border-radius: 10px; }
  .ct-card-port { font-size: 15px; }
  .ct-card-ship-img { width: 72px; height: 48px; }
  .ct-card-price { font-size: 23px; }
  .ct-card-quote-btn { padding: 13px 20px; font-size: 14px; }
  .ct-card-bottom { flex-direction: column; align-items: stretch; gap: 12px; }
  .ct-card-price-block { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
  .ct-card-from-label { display: inline; margin-right: 4px; }
  .ct-card-pp { display: inline; margin-top: 0; }
  .ct-card-quote-btn { width: 100%; justify-content: center; padding: 16px 24px; font-size: 16px; border-radius: 10px; }
  .ct-card-cat-price { font-size: 16px; }
  .ct-card-cat-quote { padding: 7px 12px; font-size: 11px; }
}
@media (max-width: 360px) {
  .ct-card-route { flex-wrap: wrap; }
  .ct-card-meta { font-size: 12px; }
  .ct-card-ship-img { width: 64px; height: 43px; }
}
