/* ── Sunny Travels Cruise Search — Plugin Stylesheet ───────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=DM+Serif+Display&display=swap');

:root {
  --stcs-sun:    #f97316;
  --stcs-sun-dk: #c2550c;
  --stcs-sun-lt: #fff7ed;
  --stcs-navy:   #0f2d5e;
  --stcs-sky:    #0e77d3;
  --stcs-sky-lt: #e8f4fd;
  --stcs-green:  #15803d;
  --stcs-red:    #dc2626;
  --stcs-bg:     #f4f6fb;
  --stcs-white:  #ffffff;
  --stcs-text:   #0f172a;
  --stcs-muted:  #64748b;
  --stcs-border: #e2e8f0;
  --stcs-shadow: 0 2px 14px rgba(15,45,94,.08);
  --stcs-shadow-lg: 0 8px 32px rgba(15,45,94,.14);
  --stcs-r: 10px;
}

.stcs-wrap *,
.stcs-wrap *::before,
.stcs-wrap *::after { box-sizing: border-box; margin: 0; padding: 0; }
.stcs-wrap { font-family: 'Plus Jakarta Sans', sans-serif; color: var(--stcs-text); font-size: 14px; line-height: 1.55; }
.stcs-wrap button, .stcs-wrap select, .stcs-wrap input { font-family: inherit; }

/* ── HERO ──────────────────────────────────────────────────────────────────── */
.stcs-hero {
  background: linear-gradient(135deg, #0a1f44 0%, #0f2d5e 40%, #1a5fa8 75%, #0e77d3 100%);
  padding: 36px 0 0; position: relative; overflow: hidden;
}
.stcs-hero::after {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.stcs-hero::before { content:''; position:absolute; width:350px; height:350px; background:rgba(255,255,255,.04); border-radius:50%; top:-100px; right:-60px; }
.stcs-hero-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 1; }
.stcs-hero-title { font-family: 'DM Serif Display', serif; font-size: 28px; color: #fff; margin-bottom: 4px; }
.stcs-hero-sub { color: rgba(255,255,255,.72); font-size: 13px; margin-bottom: 18px; }

/* Search box */
.stcs-search-box {
  background: var(--stcs-white); border-radius: 16px 16px 0 0;
  padding: 22px 24px 0; box-shadow: 0 -4px 24px rgba(0,0,0,.08);
}
.stcs-search-row { display: grid; grid-template-columns: repeat(6, 1fr) auto; gap: 10px; align-items: end; }
.stcs-field { display: flex; flex-direction: column; gap: 5px; }
.stcs-label { font-size: 11px; font-weight: 700; color: var(--stcs-muted); text-transform: uppercase; letter-spacing: 1px; }
.stcs-select, .stcs-input {
  border: 1.5px solid var(--stcs-border); border-radius: 8px;
  padding: 10px 30px 10px 12px; font-size: 13px; font-family: inherit;
  color: var(--stcs-text); line-height: 1.4;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%2394a3b8'/%3E%3C/svg%3E") no-repeat right 10px center;
  appearance: none; outline: none; width: 100%; height: 42px;
  transition: border-color .2s, box-shadow .2s; box-sizing: border-box;
}
.stcs-input { background-image: none; padding-right: 12px; }
input[type="date"].stcs-input { cursor: pointer; }
input[type="date"].stcs-input::-webkit-calendar-picker-indicator { opacity: .5; cursor: pointer; }
.stcs-select:focus, .stcs-input:focus { border-color: var(--stcs-sky); box-shadow: 0 0 0 3px rgba(14,119,211,.12); }
.stcs-select optgroup { font-size: 11px; font-weight: 700; color: var(--stcs-muted); }
.stcs-btn-primary {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff; border: none; border-radius: 10px;
  padding: 0 22px; font-size: 13.5px; font-weight: 800;
  cursor: pointer; white-space: nowrap; transition: all .2s;
  display: flex; align-items: center; gap: 7px; height: 42px;
  box-shadow: 0 4px 14px rgba(249,115,22,.35); letter-spacing: .2px;
}
.stcs-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(249,115,22,.5); background: linear-gradient(135deg, #ea580c, #c2410c); }
.stcs-adv-toggle { padding: 11px 0 0; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--stcs-border); margin-top: 14px; }
.stcs-link-btn { font-size: 12px; color: var(--stcs-sky); font-weight: 600; cursor: pointer; background: none; border: none; padding: 0 0 12px; }
.stcs-hint { font-size: 11.5px; color: var(--stcs-muted); padding-bottom: 12px; }
.stcs-adv-row { display: none; padding: 0 0 20px; grid-template-columns: repeat(5,1fr); gap: 12px; }
.stcs-adv-row.stcs-adv-open { display: grid; }

/* ── TICKER ────────────────────────────────────────────────────────────────── */
.stcs-ticker-wrap { background: var(--stcs-sun); overflow: hidden; }
.stcs-ticker { display: flex; gap: 48px; padding: 9px 0; animation: stcsTicker 45s linear infinite; white-space: nowrap; }
.stcs-ticker:hover { animation-play-state: paused; }
@keyframes stcsTicker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.stcs-ticker-item { display: inline-block; font-size: 12.5px; font-weight: 600; color: #fff; flex-shrink: 0; }

/* ── BODY LAYOUT ───────────────────────────────────────────────────────────── */
.stcs-body { max-width: 1200px; margin: 0 auto; padding: 24px 20px; display: grid; grid-template-columns: 250px 1fr; gap: 22px; align-items: start; }

/* ── SIDEBAR ───────────────────────────────────────────────────────────────── */
.stcs-sidebar {
  background: var(--stcs-white); border-radius: var(--stcs-r);
  box-shadow: var(--stcs-shadow);
  position: sticky; top: 24px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
  align-self: flex-start;
}
.stcs-sidebar::-webkit-scrollbar { width: 5px; }
.stcs-sidebar::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
.stcs-sb-head {
  background: var(--stcs-navy); color: #fff;
  padding: 12px 14px; font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 2;
}
.stcs-sb-head > span { display: flex; align-items: center; gap: 7px; }
.stcs-sb-collapse-all {
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3);
  color: #fff; border-radius: 5px; width: 24px; height: 24px;
  font-size: 16px; line-height: 1; cursor: pointer; display: flex;
  align-items: center; justify-content: center; flex-shrink: 0;
  transition: background .15s;
}
.stcs-sb-collapse-all:hover { background: rgba(255,255,255,.28); }
.stcs-sb-section { border-bottom: 1px solid var(--stcs-border); }
.stcs-sb-section.stcs-sb-collapsed .stcs-sb-body { display: none; }
.stcs-sb-title {
  padding: 11px 14px; font-size: 11.5px; font-weight: 700;
  color: var(--stcs-navy); text-transform: uppercase; letter-spacing: .8px;
  cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; user-select: none; transition: background .15s;
}
.stcs-sb-title:hover { background: var(--stcs-sky-lt); }
.stcs-sb-toggle {
  background: #f1f5f9; border: 1px solid var(--stcs-border);
  color: var(--stcs-navy); border-radius: 5px; width: 22px; height: 22px;
  font-size: 16px; line-height: 1; cursor: pointer; display: flex;
  align-items: center; justify-content: center; flex-shrink: 0;
  transition: all .15s; font-family: inherit;
}
.stcs-sb-toggle:hover { background: var(--stcs-sky); color: #fff; border-color: var(--stcs-sky); }
.stcs-sb-body { padding: 4px 14px 14px; }
.stcs-check { display: flex; align-items: center; gap: 8px; padding: 5px 0; cursor: pointer; font-size: 13px; }
.stcs-check input[type=checkbox] { width: 14px; height: 14px; accent-color: var(--stcs-sky); cursor: pointer; flex-shrink: 0; }
.stcs-check:hover { color: var(--stcs-sky); }
input[type=range] { width: 100%; accent-color: var(--stcs-sky); }
.stcs-range-labels { display: flex; justify-content: space-between; font-size: 11px; color: var(--stcs-muted); margin-top: 5px; }
.stcs-apply-btn { display: block; width: 100%; background: var(--stcs-sky); color: #fff; border: none; border-radius: 7px; padding: 10px; font-size: 13px; font-weight: 700; cursor: pointer; margin-top: 14px; transition: background .2s; font-family: inherit; }
.stcs-apply-btn:hover { background: var(--stcs-navy); }

/* ── RESULTS ───────────────────────────────────────────────────────────────── */
.stcs-results-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; flex-wrap: wrap; gap: 10px; }
.stcs-count { font-size: 14px; color: var(--stcs-muted); }
.stcs-count-num { font-size: 18px; font-weight: 700; color: var(--stcs-text); }
.stcs-sort-wrap { display: flex; align-items: center; gap: 10px; }
.stcs-sort-select { border: 1.5px solid var(--stcs-border); border-radius: 7px; padding: 7px 28px 7px 11px; font-size: 13px; color: var(--stcs-text); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%2394a3b8'/%3E%3C/svg%3E") no-repeat right 9px center; appearance: none; outline: none; cursor: pointer; font-family: inherit; }
.stcs-badge-live { background: #dcfce7; color: var(--stcs-green); border-radius: 20px; padding: 4px 11px; font-size: 11px; font-weight: 700; }
.stcs-badge-cached { background: var(--stcs-sky-lt); color: var(--stcs-sky); border-radius: 20px; padding: 4px 11px; font-size: 11px; font-weight: 700; }

/* ── LOADING / ERROR / EMPTY ───────────────────────────────────────────────── */
.stcs-loading { text-align: center; padding: 60px 20px; }
.stcs-spinner { width: 44px; height: 44px; border: 3px solid var(--stcs-border); border-top-color: var(--stcs-sky); border-radius: 50%; animation: stcsSpin 0.8s linear infinite; margin: 0 auto 16px; }
@keyframes stcsSpin { to { transform: rotate(360deg); } }
.stcs-loading p { font-size: 14px; color: var(--stcs-muted); }
.stcs-error-box, .stcs-empty-box { background: var(--stcs-white); border-radius: var(--stcs-r); box-shadow: var(--stcs-shadow); padding: 50px 30px; text-align: center; }
.stcs-state-icon { font-size: 52px; margin-bottom: 14px; }
.stcs-error-box h3, .stcs-empty-box h3 { font-family: 'DM Serif Display', serif; font-size: 20px; margin-bottom: 8px; }
.stcs-error-box p, .stcs-empty-box p { font-size: 13px; color: var(--stcs-muted); margin-bottom: 18px; }

/* ── CRUISE CARD ───────────────────────────────────────────────────────────── */
.stcs-card { background: var(--stcs-white); border-radius: var(--stcs-r); box-shadow: var(--stcs-shadow); overflow: hidden; margin-bottom: 16px; display: grid; grid-template-columns: 265px 1fr; transition: box-shadow .2s, transform .15s; }
.stcs-card:hover { box-shadow: var(--stcs-shadow-lg); transform: translateY(-2px); }
.stcs-card-img { position: relative; overflow: hidden; min-height: 200px; background: #e2e8f0; }
.stcs-img-el { width: 100%; height: 100%; object-fit: cover; min-height: 200px; transition: transform .4s; }
.stcs-card:hover .stcs-img-el { transform: scale(1.05); }
.stcs-img-placeholder { width: 100%; min-height: 200px; background: linear-gradient(135deg, #1a4a8a, #0e77d3); display: flex; align-items: center; justify-content: center; font-size: 52px; }
.stcs-badge { position: absolute; top: 11px; left: 11px; background: var(--stcs-sun); color: #fff; font-size: 10px; font-weight: 700; padding: 4px 9px; border-radius: 4px; text-transform: uppercase; letter-spacing: .4px; }
.stcs-heart { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; background: rgba(255,255,255,.9); border-radius: 50%; border: none; cursor: pointer; font-size: 15px; color: var(--stcs-muted); transition: all .2s; backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; }
.stcs-heart:hover { color: #e91e63; transform: scale(1.12); }
.stcs-card-body { padding: 18px 20px 16px; display: flex; flex-direction: column; }
.stcs-card-line { font-size: 11px; font-weight: 700; color: var(--stcs-sky); text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 3px; }
.stcs-card-title { font-family: 'DM Serif Display', serif; font-size: 18px; color: var(--stcs-text); margin-bottom: 2px; line-height: 1.25; }
.stcs-card-ship { font-size: 12.5px; color: var(--stcs-muted); margin-bottom: 10px; }
.stcs-card-meta { display: flex; flex-wrap: wrap; gap: 5px 16px; margin-bottom: 12px; }
.stcs-meta-item { font-size: 12px; color: var(--stcs-muted); }

/* Cabin grid */
.stcs-cabin-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 7px; margin-bottom: 13px; }
.stcs-cabin { background: var(--stcs-bg); border: 1.5px solid var(--stcs-border); border-radius: 8px; padding: 9px 10px; text-align: center; cursor: pointer; transition: all .18s; }
.stcs-cabin:hover { border-color: var(--stcs-sky); background: var(--stcs-sky-lt); }
.stcs-cabin.stcs-unavail { opacity: .4; cursor: default; pointer-events: none; }
.stcs-cabin-from { grid-column: 1 / -1; }
.stcs-cabin-type { font-size: 9.5px; font-weight: 700; color: var(--stcs-muted); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 4px; }
.stcs-cabin-price { font-family: 'DM Serif Display', serif; font-size: 18px; color: var(--stcs-navy); }
.stcs-price-from { font-size: 24px; color: var(--stcs-sun); }
.stcs-cabin-pp { font-size: 9px; color: var(--stcs-muted); margin-top: 2px; }

/* Card footer */
.stcs-card-footer { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--stcs-border); padding-top: 12px; margin-top: auto; gap: 10px; flex-wrap: wrap; }
.stcs-promos { display: flex; flex-wrap: wrap; gap: 5px; flex: 1; align-items: center; }
.stcs-promo { background: #f0fdf4; color: var(--stcs-green); border-radius: 4px; padding: 3px 8px; font-size: 10.5px; font-weight: 700; }
.stcs-from-price { font-size: 12px; color: var(--stcs-muted); }
.stcs-from-price strong { color: var(--stcs-sun); font-family: 'DM Serif Display', serif; font-size: 17px; }
.stcs-card-actions { display: flex; gap: 7px; flex-shrink: 0; }
.stcs-btn-detail { background: transparent; border: 1.5px solid var(--stcs-navy); color: var(--stcs-navy); border-radius: 7px; padding: 7px 14px; font-size: 12px; font-weight: 700; cursor: pointer; transition: all .18s; font-family: inherit; }
.stcs-btn-detail:hover { background: var(--stcs-navy); color: #fff; }
.stcs-btn-book { background: linear-gradient(135deg, var(--stcs-sun), var(--stcs-sun-dk)); color: #fff; border: none; border-radius: 7px; padding: 8px 18px; font-size: 13px; font-weight: 700; cursor: pointer; transition: all .18s; font-family: inherit; }
.stcs-btn-book:hover { transform: translateY(-1px); box-shadow: 0 3px 12px rgba(249,115,22,.4); }

/* ── PAGINATION ────────────────────────────────────────────────────────────── */
.stcs-pagination { margin-top: 28px; margin-bottom: 12px; }
.stcs-pg-wrap { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.stcs-pg-info { font-size: 13px; color: var(--stcs-muted); }
.stcs-pg-info strong { color: var(--stcs-navy); }
.stcs-pg-btns { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; justify-content: center; }
.stcs-pg-btn { min-width: 38px; height: 38px; padding: 0 12px; border: 1.5px solid var(--stcs-border); border-radius: 8px; background: #fff; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--stcs-navy); transition: all .15s; font-family: inherit; }
.stcs-pg-btn:hover:not(.stcs-pg-btn-active):not(.stcs-pg-btn-dis) { border-color: var(--stcs-sky); color: var(--stcs-sky); background: #f0f7ff; }
.stcs-pg-btn-active { background: var(--stcs-navy); color: #fff !important; border-color: var(--stcs-navy); }
.stcs-pg-btn-next { background: var(--stcs-sky); color: #fff !important; border-color: var(--stcs-sky); }
.stcs-pg-btn-next:hover:not(.stcs-pg-btn-dis) { background: var(--stcs-navy); border-color: var(--stcs-navy); }
.stcs-pg-btn-dis { opacity: .35; cursor: not-allowed; }
.stcs-pg-ellipsis { font-size: 15px; color: var(--stcs-muted); padding: 0 4px; line-height: 38px; }

/* ── RESPONSIVE ────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .stcs-body { grid-template-columns: 1fr; }
  .stcs-sidebar { position: static; }
  .stcs-card { grid-template-columns: 1fr; }
  .stcs-card-img { min-height: 200px; max-height: 220px; }
  .stcs-search-row { grid-template-columns: 1fr 1fr 1fr; }
  .stcs-adv-row.stcs-adv-open { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 580px) {
  .stcs-search-row { grid-template-columns: 1fr; }
  .stcs-cabin-grid { grid-template-columns: 1fr 1fr; }
  .stcs-hero-title { font-size: 22px; }
}

/* ── DYNAMIC SEARCH ADDITIONS ──────────────────────────────────────────────── */

/* Typing / updating indicator */
.stcs-typing { font-size: 13px; color: var(--stcs-sky); font-style: italic; animation: stcsPulse 1s ease infinite; }
@keyframes stcsPulse { 0%,100%{opacity:1} 50%{opacity:.4} }

/* Results fade transition */
.stcs-list-wrap { transition: opacity .12s ease; }
.stcs-list-wrap.stcs-fading { opacity: 0.3; }

/* Loading overlay (non-blocking — sits above old results) */
.stcs-loading { background: rgba(244,246,251,.75); border-radius: var(--stcs-r); position: relative; z-index: 10; backdrop-filter: blur(2px); }

/* Deals button */
.stcs-deals-btn {
  background: #fff; border: 1.5px solid var(--stcs-border); border-radius: 7px;
  padding: 7px 14px; font-size: 12px; font-weight: 700; cursor: pointer;
  color: var(--stcs-muted); transition: all .2s; font-family: inherit;
}
.stcs-deals-btn:hover { border-color: var(--stcs-sun); color: var(--stcs-sun); }
.stcs-deals-btn.stcs-deals-active {
  background: linear-gradient(135deg, #fff3eb, #ffe8d6);
  border-color: var(--stcs-sun); color: var(--stcs-sun-dk);
  box-shadow: 0 2px 8px rgba(249,115,22,.2);
}

/* Clear button */
.stcs-clear-btn {
  background: transparent; border: 1.5px solid var(--stcs-border);
  border-radius: 7px; padding: 7px 12px; font-size: 12px; font-weight: 600;
  cursor: pointer; color: var(--stcs-muted); transition: all .2s; font-family: inherit;
}
.stcs-clear-btn:hover { border-color: var(--stcs-red); color: var(--stcs-red); }

/* Active filter chips */
.stcs-chips-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 7px;
  padding: 10px 0 14px; border-bottom: 1px solid var(--stcs-border); margin-bottom: 14px;
}
.stcs-chips-label { font-size: 11px; font-weight: 700; color: var(--stcs-muted); text-transform: uppercase; letter-spacing: 1px; }
.stcs-chip {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--stcs-sky-lt); border: 1.5px solid #bfdbfe;
  border-radius: 20px; padding: 4px 11px; font-size: 12px; font-weight: 600; color: var(--stcs-sky);
}
.stcs-chip-x {
  background: none; border: none; cursor: pointer; color: var(--stcs-sky);
  font-size: 14px; padding: 0; line-height: 1; font-weight: 700;
  opacity: .7; transition: opacity .15s;
}
.stcs-chip-x:hover { opacity: 1; color: var(--stcs-red); }

/* Deals highlighted card */
.stcs-card-deal { border: 2px solid #fed7aa !important; }
.stcs-card-deal .stcs-card-body { background: linear-gradient(180deg, #fff7ed 0%, #fff 60%); }

/* Deals tag in count */
.stcs-deals-tag { background: #fff3eb; color: var(--stcs-sun-dk); border-radius: 20px; padding: 2px 10px; font-size: 11px; font-weight: 700; }

/* Sidebar promo checkboxes */
.stcs-promo-cb { accent-color: var(--stcs-sun); }

/* Debounce progress bar at top of results */
.stcs-results-head { position: relative; overflow: hidden; }
.stcs-results-head::after {
  content: ''; position: absolute; bottom: 0; left: 0; height: 2px;
  background: var(--stcs-sky); width: 0; transition: width .6s ease;
}
.stcs-results-head.stcs-searching::after { width: 100%; }

/* Card entrance animation */
.stcs-card { animation: stcsCardIn .25s ease both; }
.stcs-card:nth-child(1){animation-delay:.0s}
.stcs-card:nth-child(2){animation-delay:.04s}
.stcs-card:nth-child(3){animation-delay:.08s}
.stcs-card:nth-child(4){animation-delay:.12s}
.stcs-card:nth-child(5){animation-delay:.16s}
@keyframes stcsCardIn { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:none} }

/* Responsive sort wrap */
@media (max-width: 640px) {
  .stcs-sort-wrap { flex-wrap: wrap; gap: 6px; }
  .stcs-deals-btn, .stcs-clear-btn { font-size: 11px; padding: 6px 10px; }
}

/* ── REDESIGNED CARD (Avoya resultsMap data) ───────────────────────────────── */

/* Override old cabin grid */
.stcs-cabin-grid { display: none; }

/* Card header: line logo + ship + rating */
.stcs-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
.stcs-card-line-wrap { display: flex; align-items: center; gap: 10px; }
.stcs-card-logo { font-size: 26px; line-height: 1; }
.stcs-card-line { font-size: 14px; font-weight: 800; color: var(--stcs-navy); }
.stcs-card-ship { font-size: 12px; color: var(--stcs-muted); margin-top: 1px; }
.stcs-card-rating { text-align: right; flex-shrink: 0; }
.stcs-stars { color: #f59e0b; font-size: 13px; letter-spacing: 1px; }
.stcs-rating-count { font-size: 11px; color: var(--stcs-muted); margin-left: 4px; }

/* Destination badge */
.stcs-dest-badge { display: inline-block; background: var(--stcs-sky-lt); color: var(--stcs-sky); border-radius: 20px; padding: 3px 12px; font-size: 11.5px; font-weight: 700; margin-bottom: 10px; }

/* Route display: FROM ··· TO */
.stcs-route { display: flex; align-items: center; gap: 0; margin-bottom: 10px; overflow: hidden; }
.stcs-port { display: flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: var(--stcs-text); white-space: nowrap; flex-shrink: 0; max-width: 38%; overflow: hidden; text-overflow: ellipsis; }
.stcs-port-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.stcs-dot-from { background: var(--stcs-sky); }
.stcs-dot-to   { background: var(--stcs-sun); }
.stcs-route-line { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--stcs-border) 0,var(--stcs-border) 5px, transparent 5px, transparent 10px); margin: 0 6px; }
.stcs-route-mid { display: flex; align-items: center; gap: 3px; padding: 0 4px; flex-shrink: 0; }
.stcs-stop-dot { color: var(--stcs-muted); font-size: 16px; cursor: default; }
.stcs-stop-more { font-size: 10px; color: var(--stcs-muted); font-weight: 700; }

/* Dates row */
.stcs-card-dates { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.stcs-date-chip { font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 6px; }
.stcs-date-dep    { background: #eff6ff; color: #1d4ed8; }
.stcs-date-ret    { background: #f0fdf4; color: #15803d; }
.stcs-date-nights { background: #f5f3ff; color: #6d28d9; }

/* Ports of call */
.stcs-ports-row { font-size: 11.5px; color: var(--stcs-muted); margin-bottom: 12px; line-height: 1.5; }
.stcs-ports-text { font-style: italic; }

/* Cabin section */
.stcs-cabin-section { margin-bottom: 12px; }
.stcs-cabin-section-title { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px; color: var(--stcs-muted); margin-bottom: 8px; display: flex; align-items: center; justify-content: space-between; }
.stcs-pp-note { font-size: 10px; font-weight: 500; color: #94a3b8; text-transform: none; letter-spacing: 0; }

/* Cabin grid — 4 columns */
.stcs-cabin2-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.stcs-cabin2 { background: var(--stcs-bg); border: 1.5px solid var(--stcs-border); border-radius: 9px; padding: 10px 8px; text-align: center; cursor: default; transition: all .18s; }
.stcs-cabin2:not(.stcs-cabin2-na):hover { border-color: var(--stcs-sky); background: var(--stcs-sky-lt); transform: translateY(-1px); }
.stcs-cabin2-na { opacity: .45; }
.stcs-cabin2-head { display: flex; flex-direction: column; align-items: center; gap: 2px; margin-bottom: 6px; }
.stcs-cabin2-icon { font-size: 18px; line-height: 1; }
.stcs-cabin2-label { font-size: 10px; font-weight: 700; color: var(--stcs-muted); text-transform: uppercase; letter-spacing: .5px; }
.stcs-cabin2-avail { font-size: 9px; font-weight: 700; padding: 2px 6px; border-radius: 10px; margin-top: 2px; }
.stcs-avail-yes { background: #dcfce7; color: #15803d; }
.stcs-avail-low { background: #fef9c3; color: #a16207; }
.stcs-avail-no  { background: #fee2e2; color: #b91c1c; }
.stcs-cabin2-price { font-family: 'DM Serif Display', serif; font-size: 17px; color: var(--stcs-navy); line-height: 1.1; }
.stcs-cabin2-na-txt { font-size: 20px; color: #cbd5e1; }
.stcs-cabin2-pp { font-size: 9px; color: var(--stcs-muted); margin-top: 1px; }
.stcs-cabin2-save { font-size: 9.5px; font-weight: 700; color: var(--stcs-green); background: #f0fdf4; border-radius: 4px; padding: 2px 5px; margin-top: 4px; display: inline-block; }

/* Price overlay on image */
.stcs-img-from { position: absolute; bottom: 10px; left: 10px; background: rgba(15,45,94,.82); color: #fff; border-radius: 7px; padding: 6px 10px; font-size: 11px; line-height: 1.3; text-align: center; backdrop-filter: blur(4px); }
.stcs-img-from strong { font-family: 'DM Serif Display', serif; font-size: 18px; display: block; }

/* Tags row */
.stcs-tags-row { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 12px; }
.stcs-tag { font-size: 10.5px; font-weight: 700; padding: 3px 9px; border-radius: 4px; }
.stcs-tag-promo   { background: #f0fdf4; color: #15803d; }
.stcs-tag-special { background: #fef3c7; color: #92400e; }

/* Responsive */
@media (max-width: 700px) {
  .stcs-cabin2-grid { grid-template-columns: repeat(2, 1fr); }
  .stcs-card { grid-template-columns: 1fr; }
  .stcs-card-img { min-height: 180px; max-height: 200px; }
}

/* ── ITINERARY POPOVER ──────────────────────────────────────────────────────── */

/* Route wrap — position context for popover */
.stcs-route-wrap { position: relative; margin-bottom: 10px; }

/* Compact route bar */
.stcs-route { display: flex; align-items: center; gap: 0; }

/* +N stops trigger button */
.stcs-itin-btn {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--stcs-sky-lt); border: 1.5px solid #bfdbfe;
  color: var(--stcs-sky); border-radius: 20px;
  padding: 3px 10px; font-size: 11px; font-weight: 800;
  cursor: pointer; white-space: nowrap; flex-shrink: 0;
  transition: all .18s; font-family: inherit; line-height: 1.4;
  position: relative; z-index: 1;
}
.stcs-itin-btn:hover,
.stcs-itin-btn-active {
  background: var(--stcs-sky); color: #fff; border-color: var(--stcs-sky);
  box-shadow: 0 2px 10px rgba(14,119,211,.3);
}

/* Popover card */
.stcs-itin-popover {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 999;
  background: #fff; border: 1.5px solid var(--stcs-border);
  border-radius: 12px; box-shadow: 0 8px 32px rgba(15,45,94,.18);
  width: 280px; overflow: hidden;
  animation: stcsPopIn .15s ease;
}
.stcs-itin-popover[hidden] { display: none; }
@keyframes stcsPopIn {
  from { opacity: 0; transform: translateY(-6px) scale(.97); }
  to   { opacity: 1; transform: none; }
}

/* Popover header */
.stcs-itin-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 11px 14px 10px; background: var(--stcs-navy); color: #fff;
  font-size: 12px; font-weight: 700;
}
.stcs-itin-close {
  background: rgba(255,255,255,.15); border: none; border-radius: 50%;
  width: 20px; height: 20px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: #fff; font-size: 11px; transition: background .15s; flex-shrink: 0;
}
.stcs-itin-close:hover { background: rgba(255,255,255,.3); }

/* Popover body — scrollable if many stops */
.stcs-itin-body {
  padding: 12px 14px; max-height: 280px; overflow-y: auto;
  scrollbar-width: thin; scrollbar-color: var(--stcs-border) transparent;
}
.stcs-itin-body::-webkit-scrollbar { width: 4px; }
.stcs-itin-body::-webkit-scrollbar-thumb { background: var(--stcs-border); border-radius: 4px; }

/* Each stop row */
.stcs-itin-row { display: flex; gap: 12px; }
.stcs-itin-left { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; padding-top: 2px; }
.stcs-itin-dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid; flex-shrink: 0; }
.stcs-itin-dot-first { background: var(--stcs-sky);  border-color: var(--stcs-sky); }
.stcs-itin-dot-mid   { background: #fff;              border-color: var(--stcs-border); }
.stcs-itin-dot-last  { background: var(--stcs-sun);  border-color: var(--stcs-sun); }
.stcs-itin-line { width: 2px; flex: 1; min-height: 18px; background: var(--stcs-border); margin: 2px 0; }

.stcs-itin-right { padding-bottom: 14px; flex: 1; min-width: 0; }
.stcs-itin-row:last-child .stcs-itin-right { padding-bottom: 0; }
.stcs-itin-day  { font-size: 10px; font-weight: 700; color: var(--stcs-muted); text-transform: uppercase; letter-spacing: .8px; margin-bottom: 1px; }
.stcs-itin-port { font-size: 13px; font-weight: 600; color: var(--stcs-text); }

/* Popover footer */
.stcs-itin-footer {
  border-top: 1px solid var(--stcs-border);
  padding: 8px 14px; font-size: 11px; color: var(--stcs-muted);
  font-weight: 600; text-align: center; background: var(--stcs-bg);
}

/* Mobile: full-width popover */
@media (max-width: 600px) {
  .stcs-itin-popover { width: calc(100vw - 40px); left: 50%; transform: translateX(-50%); }
  .stcs-itin-popover[hidden] { display: none; }
}

/* ── PROMOTIONS LIST ────────────────────────────────────────────────────────── */
.stcs-promo-section { border-top: 1px solid var(--stcs-border); margin-top: 12px; padding-top: 11px; }
.stcs-promo-section-title { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px; color: var(--stcs-muted); margin-bottom: 8px; }
.stcs-promo-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; }
.stcs-promo-item { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; line-height: 1.4; }
.stcs-promo-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; margin-top: 4px; background: var(--stcs-green); }
.stcs-promo-dot-special { background: var(--stcs-sun); }
.stcs-promo-item-deal    { color: var(--stcs-text); }
.stcs-promo-item-special { color: #92400e; }

/* Book full width when no detail button */
.stcs-btn-book-full { width: 100%; justify-content: center; }
.stcs-enquire-hint { font-size: 12px; color: var(--stcs-muted); }
.stcs-btn-enquire { background: var(--stcs-navy); color: #fff; border: none; border-radius: 7px; padding: 10px 22px; font-size: 13px; font-weight: 700; cursor: pointer; font-family: inherit; transition: background .18s; width: 100%; }
.stcs-btn-enquire:hover { background: #0f3d80; }

/* ═══════════════════════════════════════════════════════════════════════════
   REDESIGNED CARD — Luxury Travel Aesthetic
   ═══════════════════════════════════════════════════════════════════════════ */

.stcs-card {
  display: flex;
  flex-wrap: wrap;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  margin-bottom: 18px;
  box-shadow: 0 2px 12px rgba(15,45,94,.06), 0 1px 3px rgba(15,45,94,.04);
  border: 1px solid rgba(226,232,240,.8);
  transition: box-shadow .25s, transform .2s;
}
.stcs-card:hover {
  box-shadow: 0 12px 40px rgba(15,45,94,.13), 0 2px 8px rgba(15,45,94,.06);
  transform: translateY(-2px);
}
.stcs-card-deal { border-color: #86efac; border-width: 1.5px; }

/* ── Image panel ── */
.stcs-card-img {
  width: 220px;
  min-height: 180px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1e3a5f, #0e77d3);
}
.stcs-card-img .stcs-img-el {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s ease;
}
.stcs-card:hover .stcs-img-el { transform: scale(1.05); }
.stcs-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(10,25,55,.45) 100%);
}
.stcs-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 44px; color: rgba(255,255,255,.5);
  background: linear-gradient(135deg, #1e3a5f, #1a5fa8);
}
.stcs-heart {
  position: absolute; top: 10px; right: 10px;
  background: rgba(255,255,255,.92);
  border: none; border-radius: 50%;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 16px;
  transition: all .2s; backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.stcs-heart:hover { transform: scale(1.15); background: #fff; }

/* Destination badge on image */
.stcs-card-dest-badge {
  position: absolute; bottom: 10px; left: 10px;
  background: rgba(255,255,255,.18); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.3); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: .8px;
  text-transform: uppercase; padding: 3px 10px; border-radius: 20px;
}

/* ── Main body ── */
.stcs-card-body {
  flex: 1;
  padding: 18px 20px 14px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Header: title + rating */
.stcs-card-titlerow {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 12px; margin-bottom: 4px;
}
.stcs-card-title {
  font-family: "DM Serif Display", serif;
  font-size: 18px; font-weight: 400;
  color: var(--stcs-navy); margin: 0; flex: 1; line-height: 1.25;
  letter-spacing: .1px;
}
.stcs-card-rating { white-space: nowrap; display: flex; align-items: center; gap: 4px; }
.stcs-stars { color: #f59e0b; font-size: 13px; letter-spacing: -1px; }
.stcs-rating-count { color: var(--stcs-muted); font-size: 12px; }

/* Line + ship */
.stcs-card-lineship {
  font-size: 12.5px; color: var(--stcs-muted);
  margin-bottom: 10px; font-weight: 500;
}
.stcs-card-lineship strong { color: var(--stcs-navy); font-weight: 700; }

/* Meta rows */
.stcs-card-label {
  font-weight: 700; font-size: 10px; text-transform: uppercase;
  letter-spacing: 1px; color: var(--stcs-muted); margin-right: 5px;
}
.stcs-card-daterow {
  font-size: 12.5px; color: var(--stcs-text);
  margin-bottom: 5px; display: flex; align-items: center; gap: 4px;
}
.stcs-card-daterow .stcs-card-label { flex-shrink: 0; }
.stcs-card-portsrow {
  font-size: 12px; color: #475569;
  margin-bottom: 8px; line-height: 1.5;
}
.stcs-ports-arrow { color: #94a3b8; }

/* Promo tags */
.stcs-promo-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.stcs-promo-tag {
  font-size: 10.5px; font-weight: 700;
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  color: #166534; border: 1px solid #bbf7d0;
  border-radius: 20px; padding: 2px 10px;
}
.stcs-promo-tag-special {
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  color: #92400e; border-color: #fde68a;
}
.stcs-promo-tag-more { font-size: 10.5px; color: var(--stcs-muted); padding: 2px 6px; }

/* ── Right side panel ── */
.stcs-card-side {
  width: 190px;
  flex-shrink: 0;
  padding: 0;
  background: linear-gradient(160deg, #0f2d5e 0%, #1a4a8a 50%, #0e77d3 100%);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.stcs-card-side::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at top right, rgba(255,255,255,.08), transparent 60%);
  pointer-events: none;
}
.stcs-card-side-inner {
  position: relative; z-index: 1;
  padding: 20px 16px 16px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.stcs-card-side-type {
  font-size: 9.5px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 1.2px; color: rgba(255,255,255,.65);
}
.stcs-side-savepct {
  background: #ef4444; color: #fff;
  font-size: 10px; font-weight: 800;
  letter-spacing: .8px; text-transform: uppercase;
  border-radius: 6px; padding: 3px 10px;
  box-shadow: 0 2px 8px rgba(239,68,68,.4);
}
.stcs-card-side-price {
  font-family: "DM Serif Display", serif;
  font-size: 34px; color: #fff; line-height: 1;
  text-shadow: 0 2px 12px rgba(0,0,0,.2);
}
.stcs-side-brochure {
  font-size: 11px; color: rgba(255,255,255,.5);
}
.stcs-side-brochure s { text-decoration-color: rgba(255,255,255,.4); }
.stcs-btn-book-side {
  margin: 4px 16px 16px;
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff; border: none; border-radius: 10px;
  padding: 11px 16px; font-size: 13px; font-weight: 800;
  cursor: pointer; font-family: inherit; letter-spacing: .3px;
  transition: all .2s; position: relative; z-index: 1;
  box-shadow: 0 4px 14px rgba(249,115,22,.4);
}
.stcs-btn-book-side:hover {
  background: linear-gradient(135deg, #ea580c, #c2410c);
  box-shadow: 0 6px 20px rgba(249,115,22,.55);
  transform: translateY(-1px);
}
.stcs-btn-enquire-side {
  margin: 4px 16px 16px;
  background: rgba(255,255,255,.15); color: #fff;
  border: 1.5px solid rgba(255,255,255,.3);
  border-radius: 10px; padding: 11px 16px;
  font-size: 13px; font-weight: 700; cursor: pointer;
  font-family: inherit; backdrop-filter: blur(4px);
  position: relative; z-index: 1; transition: all .2s;
}
.stcs-btn-enquire-side:hover { background: rgba(255,255,255,.25); }

/* ── Expand bar ── */
.stcs-expand-bar {
  width: 100%; flex-basis: 100%;
  border-top: 1px solid rgba(226,232,240,.8);
  text-align: center; padding: 0;
  background: linear-gradient(to bottom, #f8fafc, #f1f5f9);
}
.stcs-expand-bar-bottom {
  border-top: 1px dashed var(--stcs-border);
  background: linear-gradient(to top, #f8fafc, #f1f5f9);
}
.stcs-expand-btn {
  background: none; border: none; cursor: pointer;
  font-size: 11px; font-weight: 800; color: var(--stcs-sky);
  letter-spacing: 1px; text-transform: uppercase;
  padding: 10px 24px; font-family: inherit;
  transition: color .15s; display: inline-flex; align-items: center; gap: 8px;
}
.stcs-expand-btn:hover { color: var(--stcs-navy); }
.stcs-expand-chevron { font-size: 18px; line-height: 1; }

/* ── Expanded section ── */
.stcs-card-expanded {
  width: 100%; flex-basis: 100%;
  padding: 24px 28px;
  border-top: 1px solid rgba(226,232,240,.8);
  background: #fafbfe;
}
.stcs-card-expanded[hidden] { display: none; }

/* ── Dates chips ── */
.stcs-card-dates { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.stcs-date-chip {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 600; padding: 5px 12px;
  border-radius: 20px; letter-spacing: .1px;
}
.stcs-date-dep   { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.stcs-date-ret   { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.stcs-date-nights { background: #faf5ff; color: #6b21a8; border: 1px solid #e9d5ff; }

/* ── Cabin grid ── */
.stcs-cabin-section { margin-bottom: 24px; }
.stcs-cabin-section-title {
  font-size: 11px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 1.2px; color: var(--stcs-navy);
  margin-bottom: 12px; display: flex; align-items: center; gap: 8px;
}
.stcs-pp-note {
  font-size: 10px; font-weight: 500; color: var(--stcs-muted);
  text-transform: none; letter-spacing: 0;
}
.stcs-cabin2-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
}
.stcs-cabin2 {
  background: #fff; border: 1.5px solid var(--stcs-border);
  border-radius: 12px; padding: 14px 14px 12px;
  display: flex; flex-direction: column;
  transition: border-color .2s, box-shadow .2s;
  position: relative; overflow: hidden;
}
.stcs-cabin2::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, var(--stcs-navy), var(--stcs-sky));
  border-radius: 12px 12px 0 0;
}
.stcs-cabin2:hover { border-color: var(--stcs-sky); box-shadow: 0 4px 16px rgba(14,119,211,.1); }
.stcs-cabin2-na { opacity: .55; }
.stcs-cabin2-head {
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 10px;
}
.stcs-cabin2-icon { font-size: 16px; }
.stcs-cabin2-label { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; color: var(--stcs-navy); flex: 1; }
.stcs-cabin2-avail { font-size: 9.5px; font-weight: 700; padding: 2px 6px; border-radius: 4px; }
.stcs-avail-yes { background: #dcfce7; color: #166534; }
.stcs-avail-low { background: #fef3c7; color: #92400e; }
.stcs-avail-no  { background: #fee2e2; color: #991b1b; }
.stcs-cabin2-savepct {
  display: inline-block; background: #ef4444; color: #fff;
  font-size: 9.5px; font-weight: 800; letter-spacing: .8px;
  text-transform: uppercase; border-radius: 5px; padding: 2px 7px;
  margin-bottom: 6px; align-self: flex-start;
  box-shadow: 0 2px 6px rgba(239,68,68,.3);
}
.stcs-cabin2-price {
  font-family: "DM Serif Display", serif;
  font-size: 26px; color: var(--stcs-navy); line-height: 1;
  margin-bottom: 2px;
}
.stcs-cabin2-na-txt { font-size: 20px; color: var(--stcs-muted); }
.stcs-cabin2-pp { font-size: 10px; color: var(--stcs-muted); font-weight: 500; margin-bottom: 4px; }
.stcs-cabin2-brochure { font-size: 10.5px; color: var(--stcs-muted); margin-top: 4px; }
.stcs-cabin2-brochure s { color: #94a3b8; text-decoration-color: #94a3b8; }

/* ── Top deals tiles ── */
.stcs-top-deals { margin-top: 20px; }
.stcs-top-deals-title {
  font-size: 11px; font-weight: 800; letter-spacing: 1.2px;
  color: var(--stcs-navy); text-transform: uppercase; margin-bottom: 10px;
}
.stcs-top-deals-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.stcs-deal-tile {
  display: flex; align-items: flex-start; gap: 10px;
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border: 1.5px solid #bbf7d0; border-radius: 10px;
  padding: 10px 14px; font-size: 12.5px; font-weight: 600; color: #166534;
  flex: 1; min-width: 200px; max-width: 360px;
  transition: box-shadow .2s;
}
.stcs-deal-tile:hover { box-shadow: 0 4px 12px rgba(21,128,61,.12); }
.stcs-deal-tile-special { background: linear-gradient(135deg, #fffbeb, #fef3c7); border-color: #fde68a; color: #92400e; }
.stcs-deal-tile-advantage { background: linear-gradient(135deg, #fffbeb, #fef08a); border-color: #fcd34d; color: #92400e; }
.stcs-deal-tile-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }

/* ── Itinerary table ── */
.stcs-itin-section { margin-top: 20px; }
.stcs-itin-section-title {
  font-size: 11px; font-weight: 800; letter-spacing: 1.2px;
  color: var(--stcs-navy); text-transform: uppercase;
  margin-bottom: 12px; padding-bottom: 8px;
  border-bottom: 2px solid var(--stcs-border);
}
.stcs-itin-table { width: 100%; border-collapse: collapse; font-size: 13px; border-radius: 10px; overflow: hidden; }
.stcs-itin-tr { vertical-align: top; }
.stcs-itin-tr-even { background: #f8fafc; }
.stcs-itin-tr-odd  { background: #fff; }
.stcs-itin-tr-sea  { background: #eff6ff; }
.stcs-itin-td-day, .stcs-itin-td-port, .stcs-itin-td-times {
  padding: 11px 14px; border-bottom: 1px solid #f1f5f9;
}
.stcs-itin-td-day { white-space: nowrap; color: var(--stcs-navy); font-size: 12.5px; width: 150px; }
.stcs-itin-td-day strong { font-weight: 800; }
.stcs-itin-sep   { color: #cbd5e1; margin: 0 3px; }
.stcs-itin-date  { color: var(--stcs-muted); font-size: 12px; }
.stcs-itin-td-port { width: 200px; }
.stcs-itin-city   { font-weight: 700; color: var(--stcs-navy); }
.stcs-itin-region { font-style: italic; color: var(--stcs-muted); font-size: 11.5px; margin-top: 2px; }
.stcs-itin-td-times { color: var(--stcs-muted); font-size: 12px; }
.stcs-itin-arr  { color: #0369a1; font-weight: 700; white-space: nowrap; }
.stcs-itin-dep  { color: #b45309; font-weight: 700; white-space: nowrap; }
.stcs-itin-time-sep { color: #cbd5e1; }
.stcs-itin-sea  { color: #0369a1; font-weight: 700; font-style: italic; }

/* Route bar */
.stcs-route-wrap { margin-bottom: 16px; }
.stcs-route {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: #f8fafc; border-radius: 10px;
  border: 1px solid var(--stcs-border);
}
.stcs-port { font-size: 12.5px; font-weight: 700; color: var(--stcs-navy); display: flex; align-items: center; gap: 5px; }
.stcs-port-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.stcs-dot-from { background: var(--stcs-sky); box-shadow: 0 0 0 3px rgba(14,119,211,.15); }
.stcs-dot-to   { background: var(--stcs-sun); box-shadow: 0 0 0 3px rgba(249,115,22,.15); }
.stcs-route-line { flex: 1; height: 1px; background: repeating-linear-gradient(90deg, var(--stcs-border) 0, var(--stcs-border) 4px, transparent 4px, transparent 8px); }
.stcs-route-stops {
  font-size: 10.5px; font-weight: 700; color: var(--stcs-sky);
  background: #eff6ff; border: 1.5px solid #bfdbfe;
  border-radius: 20px; padding: 3px 10px; white-space: nowrap;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .stcs-cabin2-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .stcs-card-img { width: 100%; height: 200px; }
  .stcs-card-side {
    width: 100%; border-left: none;
    border-top: 1px solid rgba(255,255,255,.15);
    flex-direction: row; flex-wrap: wrap;
    justify-content: space-between; padding: 14px 16px;
  }
  .stcs-card-side-inner { flex-direction: row; align-items: center; flex: 1; padding: 0; gap: 10px; }
  .stcs-btn-book-side, .stcs-btn-enquire-side { margin: 0; width: auto; }
  .stcs-card-expanded { padding: 16px; }
  .stcs-cabin2-grid { grid-template-columns: repeat(2, 1fr); }
  .stcs-top-deals-grid { flex-direction: column; }
  .stcs-itin-table { font-size: 12px; }
  .stcs-itin-td-day { width: 100px; }
}

/* ── Pagination ── */
.stcs-pagination { margin-top: 32px; margin-bottom: 16px; }
.stcs-pg-wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.stcs-pg-info { font-size: 13px; color: var(--stcs-muted); }
.stcs-pg-info strong { color: var(--stcs-navy); font-weight: 700; }
.stcs-pg-btns { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; justify-content: center; }
.stcs-pg-btn {
  min-width: 40px; height: 40px; padding: 0 14px;
  border: 1.5px solid var(--stcs-border); border-radius: 10px;
  background: #fff; cursor: pointer; font-size: 13px; font-weight: 700;
  color: var(--stcs-navy); transition: all .15s; font-family: inherit;
}
.stcs-pg-btn:hover:not(.stcs-pg-btn-active):not(.stcs-pg-btn-dis) {
  border-color: var(--stcs-sky); color: var(--stcs-sky); background: #eff6ff;
  transform: translateY(-1px);
}
.stcs-pg-btn-active {
  background: linear-gradient(135deg, var(--stcs-navy), #1a4a8a);
  color: #fff !important; border-color: transparent;
  box-shadow: 0 4px 12px rgba(15,45,94,.25);
}
.stcs-pg-btn-next {
  background: linear-gradient(135deg, var(--stcs-sky), #0a5aa0);
  color: #fff !important; border-color: transparent;
  box-shadow: 0 4px 12px rgba(14,119,211,.25);
}
.stcs-pg-btn-next:hover:not(.stcs-pg-btn-dis) {
  background: linear-gradient(135deg, #0a5aa0, var(--stcs-navy));
  box-shadow: 0 6px 18px rgba(14,119,211,.35);
  transform: translateY(-1px);
}
.stcs-pg-btn-dis { opacity: .3; cursor: not-allowed; }
.stcs-pg-ellipsis { font-size: 15px; color: var(--stcs-muted); padding: 0 4px; line-height: 40px; }

/* ── Savings % & Brochure pricing ── */
.stcs-cabin2-savepct {
  display: inline-block; background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff; font-size: 9.5px; font-weight: 800;
  letter-spacing: .8px; text-transform: uppercase;
  border-radius: 5px; padding: 2px 7px; margin-bottom: 6px;
  align-self: flex-start; box-shadow: 0 2px 6px rgba(239,68,68,.3);
}
.stcs-cabin2-brochure { font-size: 10.5px; color: var(--stcs-muted); margin-top: 4px; }
.stcs-cabin2-brochure s { color: #94a3b8; }
.stcs-side-savepct {
  background: linear-gradient(135deg, #ef4444, #dc2626); color: #fff;
  font-size: 10px; font-weight: 800; letter-spacing: .8px;
  text-transform: uppercase; border-radius: 6px; padding: 3px 10px;
  box-shadow: 0 2px 8px rgba(239,68,68,.4);
}
.stcs-side-brochure { font-size: 11px; color: rgba(255,255,255,.5); }
.stcs-side-brochure s { text-decoration-color: rgba(255,255,255,.4); }
.stcs-itin-tr:last-child td { border-bottom: none; }

/* ═══════════════════════════════════════════════════════════════════════════
   ENQUIRY MODAL
   ═══════════════════════════════════════════════════════════════════════════ */

.stcs-modal-overlay {
  position: fixed; inset: 0; z-index: 99999;
  background: rgba(10, 20, 50, 0.72);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  animation: stcsOverlayIn .2s ease;
}
.stcs-modal-overlay[hidden] { display: none; }
@keyframes stcsOverlayIn { from { opacity: 0; } to { opacity: 1; } }

.stcs-modal {
  background: #fff; border-radius: 20px;
  width: 100%; max-width: 640px;
  max-height: 90vh; overflow-y: auto;
  box-shadow: 0 24px 80px rgba(10,20,50,.35);
  animation: stcsModalIn .25s cubic-bezier(.34,1.56,.64,1);
  outline: none;
}
@keyframes stcsModalIn { from { opacity:0; transform:scale(.94) translateY(20px); } to { opacity:1; transform:scale(1) translateY(0); } }

/* Header */
.stcs-modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px 16px;
  background: linear-gradient(135deg, #0f2d5e, #1a5fa8);
  border-radius: 20px 20px 0 0;
}
.stcs-modal-header-left { display: flex; align-items: center; gap: 14px; }
.stcs-modal-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.stcs-modal-title { font-family: 'DM Serif Display', serif; font-size: 19px; color: #fff; line-height: 1.2; }
.stcs-modal-subtitle { font-size: 12px; color: rgba(255,255,255,.7); margin-top: 2px; }
.stcs-modal-close {
  background: rgba(255,255,255,.15); border: 1.5px solid rgba(255,255,255,.25);
  color: #fff; border-radius: 50%; width: 34px; height: 34px;
  font-size: 20px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s; flex-shrink: 0;
}
.stcs-modal-close:hover { background: rgba(255,255,255,.28); }

/* Direct booking banner */
.stcs-modal-direct {
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border-bottom: 1px solid #bbf7d0;
  padding: 12px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
  font-size: 13px; color: #166534; font-weight: 600;
}
.stcs-modal-direct[hidden] { display: none; }
.stcs-modal-direct-btn {
  background: #166534; color: #fff;
  border-radius: 8px; padding: 7px 16px;
  font-size: 12.5px; font-weight: 700; text-decoration: none;
  white-space: nowrap; transition: background .15s;
}
.stcs-modal-direct-btn:hover { background: #14532d; }

/* Body */
.stcs-modal-body { padding: 20px 24px 24px; }

.stcs-modal-field { margin-bottom: 18px; }
.stcs-modal-label {
  display: block; font-size: 11.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .8px;
  color: var(--stcs-navy); margin-bottom: 7px;
}
.stcs-req { color: #ef4444; }
.stcs-modal-hint { font-size: 10.5px; font-weight: 400; color: var(--stcs-muted); text-transform: none; letter-spacing: 0; }
.stcs-modal-hint-block { font-size: 12px; color: var(--stcs-muted); margin-bottom: 8px; margin-top: -4px; }

.stcs-modal-select, .stcs-modal-input {
  width: 100%; border: 1.5px solid var(--stcs-border);
  border-radius: 10px; padding: 10px 14px; font-size: 13.5px;
  font-family: inherit; color: var(--stcs-text);
  background: #fff; outline: none; transition: border-color .18s, box-shadow .18s;
  height: 44px;
}
.stcs-modal-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%2394a3b8'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
  appearance: none; padding-right: 32px;
}
.stcs-modal-select:focus, .stcs-modal-input:focus {
  border-color: var(--stcs-sky); box-shadow: 0 0 0 3px rgba(14,119,211,.12);
}

/* Passenger count selector */
.stcs-modal-pax-row { display: flex; gap: 8px; }
.stcs-pax-btn {
  width: 48px; height: 48px; border-radius: 12px;
  border: 2px solid var(--stcs-border); background: #f8fafc;
  font-size: 16px; font-weight: 800; color: var(--stcs-navy);
  cursor: pointer; transition: all .15s; font-family: inherit;
}
.stcs-pax-btn:hover { border-color: var(--stcs-sky); background: #eff6ff; }
.stcs-pax-btn-active {
  background: var(--stcs-navy); color: #fff;
  border-color: var(--stcs-navy);
  box-shadow: 0 4px 12px rgba(15,45,94,.25);
  transform: translateY(-1px);
}

/* Age fields */
.stcs-modal-ages { display: flex; flex-wrap: wrap; gap: 10px; }
.stcs-age-field { display: flex; flex-direction: column; gap: 4px; min-width: 100px; flex: 1; }
.stcs-age-label { font-size: 11px; color: var(--stcs-muted); font-weight: 600; }
.stcs-age-input {
  border: 1.5px solid var(--stcs-border); border-radius: 8px;
  padding: 9px 12px; font-size: 14px; font-family: inherit;
  color: var(--stcs-text); outline: none; width: 100%; height: 42px;
  transition: border-color .18s;
}
.stcs-age-input:focus { border-color: var(--stcs-sky); box-shadow: 0 0 0 3px rgba(14,119,211,.1); }

/* Promotions checkboxes */
.stcs-modal-promos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.stcs-modal-check {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 10px;
  border: 1.5px solid var(--stcs-border); cursor: pointer;
  font-size: 13px; font-weight: 600; color: var(--stcs-text);
  transition: all .15s; background: #f8fafc;
  user-select: none;
}
.stcs-modal-check:hover { border-color: var(--stcs-sky); background: #eff6ff; }
.stcs-modal-check input { accent-color: var(--stcs-navy); width: 16px; height: 16px; cursor: pointer; }
.stcs-modal-check input:checked ~ * { color: var(--stcs-navy); }
.stcs-modal-check:has(input:checked) { border-color: var(--stcs-navy); background: #eff6ff; }
.stcs-check-icon { font-size: 16px; }

/* Cruise promos */
.stcs-modal-cruise-promos { display: flex; flex-direction: column; gap: 6px; }
.stcs-modal-check-promo { border-color: #bbf7d0; background: #f0fdf4; font-size: 12.5px; }
.stcs-modal-check-promo:hover { border-color: #4ade80; background: #dcfce7; }

/* Contact row */
.stcs-modal-contact-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }

/* Error/success */
.stcs-modal-error {
  background: #fef2f2; border: 1.5px solid #fecaca; border-radius: 10px;
  color: #991b1b; padding: 10px 14px; font-size: 13px; margin-bottom: 14px;
}
.stcs-modal-success {
  background: #f0fdf4; border: 1.5px solid #86efac; border-radius: 10px;
  color: #166534; padding: 14px; font-size: 14px; font-weight: 600;
  text-align: center; margin-bottom: 14px; display: flex; align-items: center;
  justify-content: center; gap: 8px;
}

/* Footer */
.stcs-modal-footer { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 20px; }
.stcs-modal-submit {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff; border: none; border-radius: 12px;
  padding: 14px 36px; font-size: 15px; font-weight: 800;
  cursor: pointer; font-family: inherit; letter-spacing: .3px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 4px 16px rgba(249,115,22,.4);
  transition: all .2s; width: 100%; justify-content: center;
}
.stcs-modal-submit:hover { background: linear-gradient(135deg, #ea580c, #c2410c); transform: translateY(-1px); box-shadow: 0 6px 22px rgba(249,115,22,.5); }
.stcs-modal-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.stcs-modal-privacy { font-size: 11px; color: var(--stcs-muted); text-align: center; }

@media (max-width: 600px) {
  .stcs-modal { border-radius: 16px 16px 0 0; margin-top: auto; max-height: 95vh; }
  .stcs-modal-overlay { align-items: flex-end; padding: 0; }
  .stcs-modal-promos { grid-template-columns: 1fr; }
  .stcs-modal-contact-row { grid-template-columns: 1fr; }
}

/* Sail ID display on card */
.stcs-card-sailid { font-size: 11.5px; color: var(--stcs-muted); margin-bottom: 6px; }
.stcs-sailid-val  { font-weight: 700; color: var(--stcs-navy); font-family: monospace; letter-spacing: .5px; }

/* ── Cruise Detail Section in Popup ──────────────────────────────────────── */
.stcs-modal-detail-section {
  border-top: 2px solid var(--stcs-border);
  margin-top: 4px; padding: 20px 24px 24px;
  background: #f8fafc;
  border-radius: 0 0 20px 20px;
}
.stcs-modal-detail-header {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 1px; color: var(--stcs-navy); margin-bottom: 14px;
}
.stcs-modal-detail-spinner {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--stcs-muted); font-weight: 500;
  text-transform: none; letter-spacing: 0;
}
.stcs-mini-spinner {
  width: 14px; height: 14px; border: 2px solid var(--stcs-border);
  border-top-color: var(--stcs-sky); border-radius: 50%;
  animation: stcsSpin .7s linear infinite;
}
.stcs-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stcs-detail-block { background: #fff; border: 1.5px solid var(--stcs-border); border-radius: 10px; overflow: hidden; }
.stcs-detail-block-title {
  background: var(--stcs-navy); color: #fff;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .8px; padding: 8px 12px;
}
.stcs-detail-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.stcs-detail-table tr:nth-child(even) { background: #f8fafc; }
.stcs-dt-label { padding: 7px 12px; color: var(--stcs-muted); font-weight: 600; white-space: nowrap; width: 40%; }
.stcs-dt-val   { padding: 7px 12px; color: var(--stcs-navy); font-weight: 700; }
.stcs-detail-placeholder { color: var(--stcs-muted); font-size: 13px; font-style: italic; text-align: center; padding: 12px 0; }
.stcs-detail-error { color: #991b1b; font-size: 13px; padding: 8px 0; }
.stcs-detail-raw { font-size: 11px; background: #f1f5f9; padding: 12px; border-radius: 8px; overflow-x: auto; white-space: pre-wrap; color: #475569; max-height: 300px; overflow-y: auto; }
@media (max-width: 600px) { .stcs-detail-grid { grid-template-columns: 1fr; } }

/* ── Pricing History (RevAgency detail) ──────────────────────────────────── */
.stcs-ph-chart-wrap { margin-bottom: 24px; }
.stcs-ph-chart-title { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--stcs-navy); margin-bottom: 12px; }

.stcs-ph-section-title { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--stcs-navy); margin-bottom: 14px; padding-bottom: 8px; border-bottom: 2px solid var(--stcs-border); }

.stcs-ph-cabins { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.stcs-ph-cabin { background: #fff; border: 1.5px solid var(--stcs-border); border-radius: 12px; overflow: hidden; }
.stcs-ph-cabin-title { background: var(--stcs-navy); color: #fff; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; padding: 8px 14px; }

.stcs-ph-overview { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 0; border-bottom: 1px solid var(--stcs-border); }
.stcs-ph-stat { padding: 10px 10px 8px; text-align: center; border-right: 1px solid var(--stcs-border); }
.stcs-ph-stat:last-child { border-right: none; }
.stcs-ph-stat-lbl { font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--stcs-muted); margin-bottom: 4px; }
.stcs-ph-stat-val { font-size: 14px; font-weight: 800; line-height: 1.1; }
.stcs-ph-stat-dt  { font-size: 10px; color: var(--stcs-muted); margin-top: 2px; }
.stcs-ph-cur .stcs-ph-stat-val  { color: var(--stcs-navy); }
.stcs-ph-hi .stcs-ph-stat-val   { color: #dc2626; }
.stcs-ph-lo .stcs-ph-stat-val   { color: #16a34a; }
.stcs-ph-avg .stcs-ph-stat-val  { color: #0e77d3; }

.stcs-ph-changes-title { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; color: var(--stcs-muted); padding: 8px 12px 4px; background: #f8fafc; }
.stcs-ph-changes-table { width: 100%; border-collapse: collapse; font-size: 11.5px; }
.stcs-ph-changes-table tr:nth-child(even) { background: #f8fafc; }
.stcs-ph-changes-table td { padding: 5px 10px; border-bottom: 1px solid #f1f5f9; vertical-align: middle; }
.stcs-ph-ch-dt   { color: var(--stcs-muted); white-space: nowrap; width: 70px; }
.stcs-ph-ch-pr   { font-weight: 700; color: var(--stcs-navy); }
.stcs-ph-ch-code { color: var(--stcs-muted); font-size: 10.5px; }
.stcs-ph-ch-cat  { color: var(--stcs-muted); font-size: 10.5px; white-space: nowrap; }
.stcs-ph-arrow-up { color: #dc2626; font-size: 11px; }
.stcs-ph-arrow-dn { color: #16a34a; font-size: 11px; }

@media (max-width: 700px) {
  .stcs-ph-cabins { grid-template-columns: 1fr; }
  .stcs-ph-overview { grid-template-columns: 1fr 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   MULTI-STEP BOOKING FLOW
   ═══════════════════════════════════════════════════════════════════════════ */

/* Open flow button */
.stcs-open-flow-btn {
  width: 100%; padding: 14px; margin-bottom: 16px;
  background: linear-gradient(135deg, #0f2d5e, #1a5fa8);
  color: #fff; border: none; border-radius: 12px;
  font-size: 14px; font-weight: 800; cursor: pointer;
  font-family: inherit; letter-spacing: .2px;
  box-shadow: 0 4px 16px rgba(15,45,94,.3);
  transition: all .2s;
}
.stcs-open-flow-btn:hover { background: linear-gradient(135deg, #1a5fa8, #0f2d5e); transform: translateY(-1px); }

/* Booking flow container */
.stcs-booking-flow { padding: 0 0 8px; }
.stcs-booking-flow[hidden] { display: none; }

/* Step progress bar */
.stcs-step-bar {
  display: flex; align-items: center; padding: 16px 24px 0;
  margin-bottom: 20px;
}
.stcs-step-item {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  flex: 1; cursor: default;
}
.stcs-step-num {
  width: 28px; height: 28px; border-radius: 50%;
  background: #e2e8f0; color: #94a3b8;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; transition: all .2s;
}
.stcs-step-lbl { font-size: 10px; font-weight: 600; color: #94a3b8; text-align: center; }
.stcs-step-item.active .stcs-step-num   { background: var(--stcs-navy); color: #fff; box-shadow: 0 2px 8px rgba(15,45,94,.3); }
.stcs-step-item.active .stcs-step-lbl   { color: var(--stcs-navy); }
.stcs-step-item.completed .stcs-step-num { background: #22c55e; color: #fff; }
.stcs-step-item.completed .stcs-step-lbl { color: #16a34a; }
.stcs-step-div { flex: 1; height: 2px; background: #e2e8f0; max-width: 40px; }

/* Step panels */
.stcs-step-panel { padding: 0 24px 8px; }
.stcs-step-panel[hidden] { display: none; }
.stcs-step-title { font-family: 'DM Serif Display', serif; font-size: 18px; color: var(--stcs-navy); margin-bottom: 16px; }

.stcs-step-loading { display: flex; align-items: center; gap: 8px; color: var(--stcs-muted); font-size: 13px; padding: 20px 0; }

/* Step 1: Cabin categories */
.stcs-cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.stcs-cat-card {
  border: 2px solid var(--stcs-border); border-radius: 14px;
  padding: 16px 14px; text-align: center; cursor: pointer;
  transition: all .2s; background: #fff;
}
.stcs-cat-card:hover { border-color: var(--stcs-sky); box-shadow: 0 4px 16px rgba(14,119,211,.12); transform: translateY(-2px); }
.stcs-cat-icon       { font-size: 28px; margin-bottom: 6px; }
.stcs-cat-type       { font-size: 14px; font-weight: 800; color: var(--stcs-navy); margin-bottom: 8px; }
.stcs-cat-price-lbl  { font-size: 10px; text-transform: uppercase; letter-spacing: .8px; color: var(--stcs-muted); }
.stcs-cat-price      { font-family: 'DM Serif Display', serif; font-size: 26px; color: var(--stcs-sky); margin: 4px 0 2px; }
.stcs-cat-pp         { font-size: 10px; color: var(--stcs-muted); margin-bottom: 6px; }
.stcs-cat-code       { font-size: 10px; color: var(--stcs-muted); margin-bottom: 10px; }
.stcs-cat-select-btn {
  width: 100%; padding: 9px; background: var(--stcs-navy); color: #fff;
  border: none; border-radius: 8px; font-size: 12px; font-weight: 700;
  cursor: pointer; font-family: inherit; transition: background .15s;
}
.stcs-cat-select-btn:hover { background: #1a5fa8; }

/* Step 2: Room list */
.stcs-room-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-height: 320px; overflow-y: auto; margin-bottom: 14px; padding-right: 4px; }
.stcs-room-card {
  border: 1.5px solid var(--stcs-border); border-radius: 10px;
  padding: 12px; text-align: center; transition: all .2s;
}
.stcs-room-card:hover { border-color: var(--stcs-sky); }
.stcs-room-num    { font-size: 15px; font-weight: 800; color: var(--stcs-navy); margin-bottom: 4px; }
.stcs-room-detail { font-size: 11px; color: var(--stcs-muted); margin-bottom: 2px; }
.stcs-room-price  { font-size: 13px; font-weight: 700; color: var(--stcs-sky); margin: 6px 0; }
.stcs-room-select-btn {
  width: 100%; padding: 7px; background: var(--stcs-sky); color: #fff;
  border: none; border-radius: 7px; font-size: 11px; font-weight: 700;
  cursor: pointer; font-family: inherit;
}

/* Step 3: Insurance */
.stcs-insurance-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.stcs-insurance-card {
  border: 2px solid var(--stcs-border); border-radius: 14px;
  padding: 16px; cursor: pointer; transition: all .2s; display: block;
}
.stcs-insurance-card:has(input:checked) { border-color: var(--stcs-navy); background: #eff6ff; }
.stcs-insurance-card input { display: none; }
.stcs-ins-icon  { font-size: 28px; margin-bottom: 8px; }
.stcs-ins-title { font-size: 13px; font-weight: 800; color: var(--stcs-navy); margin-bottom: 6px; }
.stcs-ins-desc  { font-size: 11.5px; color: var(--stcs-muted); line-height: 1.5; }
.stcs-btn-step {
  width: 100%; padding: 12px; background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff; border: none; border-radius: 10px; font-size: 14px; font-weight: 800;
  cursor: pointer; font-family: inherit; margin-bottom: 10px;
  box-shadow: 0 4px 14px rgba(249,115,22,.35);
}
.stcs-step-back {
  background: none; border: none; color: var(--stcs-muted); cursor: pointer;
  font-size: 12px; font-family: inherit; padding: 4px 0; text-decoration: underline;
}

/* Step 4: Summary */
.stcs-booking-summary { margin-bottom: 16px; }
.stcs-summary-block { background: #f8fafc; border: 1.5px solid var(--stcs-border); border-radius: 12px; padding: 16px; margin-bottom: 12px; }
.stcs-summary-row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; border-bottom: 1px solid #f1f5f9; font-size: 13px; }
.stcs-summary-row:last-child { border-bottom: none; }
.stcs-summary-lbl { color: var(--stcs-muted); font-weight: 600; }
.stcs-summary-val { color: var(--stcs-navy); font-weight: 700; }
.stcs-summary-price { color: var(--stcs-sky); font-family: 'DM Serif Display', serif; font-size: 16px; }
.stcs-summary-total { padding-top: 10px; margin-top: 6px; border-top: 2px solid var(--stcs-border) !important; }
.stcs-summary-total .stcs-summary-price { font-size: 20px; }
.stcs-summary-pax-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: var(--stcs-muted); margin: 12px 0 6px; }
.stcs-summary-pax { background: #f8fafc; border-radius: 8px; padding: 10px 14px; }
.stcs-summary-pax-row { font-size: 12.5px; color: var(--stcs-navy); padding: 3px 0; }
.stcs-summary-contact { font-size: 12px; color: var(--stcs-muted); margin-top: 8px; display: flex; gap: 16px; }
.stcs-reserve-btn {
  width: 100%; padding: 16px; margin-bottom: 10px;
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: #fff; border: none; border-radius: 12px;
  font-size: 15px; font-weight: 800; cursor: pointer; font-family: inherit;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  box-shadow: 0 4px 16px rgba(22,163,74,.35); transition: all .2s;
}
.stcs-reserve-btn:hover { background: linear-gradient(135deg, #15803d, #166534); transform: translateY(-1px); box-shadow: 0 6px 22px rgba(22,163,74,.45); }
.stcs-reserve-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.stcs-reserve-note { font-size: 11px; color: var(--stcs-muted); text-align: center; margin-bottom: 12px; }
.stcs-hold-success { text-align: center; padding: 24px 16px; }
.stcs-hold-success-icon  { font-size: 48px; margin-bottom: 12px; }
.stcs-hold-success-title { font-family: 'DM Serif Display', serif; font-size: 22px; color: var(--stcs-navy); margin-bottom: 8px; }
.stcs-hold-confirm-num   { font-size: 16px; font-weight: 800; color: var(--stcs-sky); margin-bottom: 12px; }
.stcs-hold-success-note  { font-size: 13px; color: var(--stcs-muted); max-width: 320px; margin: 0 auto; line-height: 1.6; }

@media (max-width: 560px) {
  .stcs-cat-grid          { grid-template-columns: 1fr; }
  .stcs-room-grid         { grid-template-columns: 1fr 1fr; }
  .stcs-insurance-options { grid-template-columns: 1fr; }
}
