/**
 * SailChecker Yacht Search v2 — Horizontal row layout
 *
 * Palette: #e8b448 gold, #216072 teal, #ffde00 yellow, #f7f7f7 off-white, #4f5d73 slate
 */

/* Reset */
.sc-search *, .sc-search *::before, .sc-search *::after { box-sizing: border-box; }
.sc-search { font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: #333; max-width: 1200px; margin: 0 auto; padding: 0; }

/* ---- Flatpickr Saturday Highlighting ---- */
.flatpickr-day.sc-saturday { background: rgba(33,96,114,0.08); border-color: #216072; font-weight: 700; }
.flatpickr-day.sc-saturday:hover { background: #216072; color: #fff; }
.flatpickr-day.sc-saturday.selected { background: #216072; border-color: #216072; }

/* ---- Search Bar (Boataround-style) ---- */
.sc-search-bar {
  display: flex; align-items: flex-end; gap: 0;
  background: #fff; border: 2px solid #216072; border-radius: 8px;
  padding: 12px; margin-bottom: 12px;
  box-shadow: 0 2px 12px rgba(33,96,114,0.08);
}
.sc-search-bar__field { flex: 1; padding: 0 8px; }
.sc-search-bar__field--query { flex: 2; }
.sc-search-bar__field label { display: block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #216072; margin-bottom: 4px; }
.sc-search-bar__field input, .sc-search-bar__field select {
  width: 100%; padding: 10px 12px; border: 1px solid #ddd; border-radius: 4px;
  font-size: 14px; font-family: inherit; color: #333; background: #fff;
}
.sc-search-bar__field input:focus, .sc-search-bar__field select:focus { border-color: #216072; outline: none; box-shadow: 0 0 0 2px rgba(33,96,114,0.15); }
.sc-search-bar__btn {
  padding: 10px 28px; background: #216072; color: #fff; border: none; border-radius: 4px;
  font-size: 15px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  cursor: pointer; white-space: nowrap; transition: background 0.2s;
}
.sc-search-bar__btn:hover { background: #e8b448; }
.sc-search-bar__btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* Saturday warning */
.sc-date-warning { background: #fff8e6; border: 1px solid #e8b448; border-radius: 4px; padding: 10px 14px; font-size: 13px; color: #8a6d00; margin-bottom: 12px; }
.sc-date-warning strong { color: #216072; }

/* ---- Results Header ---- */
.sc-results-header { margin-bottom: 16px; }
.sc-results-header__title { font-size: 22px; font-weight: 700; color: #216072; margin: 0 0 12px 0; }
.sc-results-header__title span { font-weight: 400; color: #888; font-size: 16px; }

/* Sort tabs */
.sc-sort-tabs { display: flex; gap: 0; border-bottom: 2px solid #eee; margin-bottom: 12px; }
.sc-sort-tab {
  padding: 10px 18px; background: none; border: none; border-bottom: 2px solid transparent;
  font-size: 13px; font-weight: 600; color: #888; cursor: pointer; margin-bottom: -2px;
  transition: color 0.15s, border-color 0.15s; white-space: nowrap;
}
.sc-sort-tab:hover { color: #216072; }
.sc-sort-tab--active { color: #216072; border-bottom-color: #216072; }

/* Filter chips */
.sc-filter-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.sc-filter-chip {
  display: inline-flex; align-items: center; gap: 4px;
  background: #f0f7f9; border: 1px solid #d4e8ed; border-radius: 20px;
  padding: 4px 12px; font-size: 12px; color: #216072; font-weight: 600;
}
.sc-filter-chip__x { cursor: pointer; font-size: 14px; color: #999; margin-left: 2px; }
.sc-filter-chip__x:hover { color: #c0392b; }

/* ---- Layout: Sidebar + Results ---- */
.sc-search-layout { display: flex; gap: 24px; align-items: flex-start; }

/* Sidebar */
.sc-sidebar { width: 220px; min-width: 220px; position: sticky; top: 80px; }
.sc-sidebar__section { margin-bottom: 20px; }
.sc-sidebar__section h3 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #216072; margin: 0 0 6px 0; }
.sc-sidebar__select { width: 100%; padding: 8px 10px; border: 1px solid #ddd; border-radius: 4px; font-size: 13px; font-family: inherit; }
.sc-sidebar__range { display: flex; align-items: center; gap: 6px; }
.sc-sidebar__range input { width: 100%; padding: 8px; border: 1px solid #ddd; border-radius: 4px; font-size: 13px; }
.sc-sidebar__range span { color: #999; }

/* Dual range sliders (noUiSlider) */
.sc-slider { margin: 8px 0 4px; }
.sc-slider .noUi-connect { background: #216072; }
.sc-slider .noUi-handle { border-color: #216072; box-shadow: 0 1px 4px rgba(0,0,0,0.15); }
.sc-slider .noUi-handle:after, .sc-slider .noUi-handle:before { display: none; }
.sc-sidebar__val { float: right; font-size: 12px; font-weight: 400; color: #4f5d73; text-transform: none; letter-spacing: 0; }

/* Equipment checkboxes */
.sc-sidebar__check { display: block; font-size: 13px; color: #333; padding: 4px 0; cursor: pointer; }
.sc-sidebar__check input { margin-right: 6px; accent-color: #216072; }

/* Advanced variant — wider sidebar */
.sc-search--advanced .sc-sidebar { width: 260px; min-width: 260px; }

/* Results main */
.sc-results-main { flex: 1; min-width: 0; }

/* Status */
.sc-search-status { text-align: center; padding: 14px; margin-bottom: 16px; border-radius: 4px; font-size: 14px; }
.sc-search-status--loading { background: #f7f7f7; color: #4f5d73; }
.sc-search-status--success { background: #f0f9f4; color: #216072; font-weight: 600; }
.sc-search-status--empty { background: #fff8e6; color: #8a6d00; }
.sc-search-status--error { background: #fff2f2; color: #c0392b; }

/* ---- Result Rows (Boataround-style) ---- */
.sc-search-results { display: flex; flex-direction: column; gap: 16px; }

.sc-result-row {
  display: flex; background: #fff; border: 1px solid #eee; border-radius: 8px;
  overflow: hidden; text-decoration: none; color: inherit;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.sc-result-row:hover { box-shadow: 0 4px 16px rgba(33,96,114,0.12); border-color: #216072; }

/* Image section */
.sc-result-row__img {
  width: 280px; min-width: 280px; min-height: 200px;
  background-color: #f0f0f0; background-size: cover; background-position: center;
  position: relative;
}
.sc-result-row__badge {
  position: absolute; top: 10px; left: 10px;
  background: #e8b448; color: #fff; font-size: 10px; font-weight: 700;
  padding: 4px 8px; border-radius: 3px; text-transform: uppercase; letter-spacing: 0.5px;
}

/* Info section (middle) */
.sc-result-row__info { flex: 1; padding: 16px 20px; display: flex; flex-direction: column; }
.sc-result-row__title { font-size: 17px; font-weight: 700; color: #216072; margin: 0 0 4px 0; }
.sc-result-row__base { font-size: 13px; color: #4f5d73; margin: 0 0 6px 0; }
.sc-result-row__rating { font-size: 12px; color: #e8b448; margin-bottom: 8px; }
.sc-result-row__rating-score { background: #216072; color: #fff; font-size: 11px; font-weight: 700; padding: 2px 6px; border-radius: 3px; margin-right: 4px; }
.sc-result-row__specs { font-size: 13px; color: #555; margin-bottom: 8px; display: flex; flex-wrap: wrap; gap: 4px; }
.sc-result-row__specs span { white-space: nowrap; }
.sc-result-row__specs span:not(:last-child)::after { content: ' \00B7 '; color: #ccc; margin-left: 4px; }

/* Equipment icons */
.sc-result-row__equip { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: auto; }
.sc-result-row__equip-item { font-size: 11px; color: #4f5d73; white-space: nowrap; display: inline-flex; align-items: center; }
.sc-result-row__equip-item svg { color: #216072; flex-shrink: 0; }

/* Price section (right) */
.sc-result-row__price {
  width: 180px; min-width: 180px; padding: 16px;
  display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between;
  border-left: 1px solid #f0f0f0;
}
.sc-result-row__operator { font-size: 11px; color: #888; text-align: right; margin-bottom: 8px; }
.sc-result-row__avail { font-size: 11px; font-weight: 600; color: #27ae60; margin-bottom: 4px; }
.sc-result-row__price-label { font-size: 11px; color: #888; text-align: right; }
.sc-result-row__price-amount { font-size: 24px; font-weight: 700; color: #216072; text-align: right; line-height: 1.2; }
.sc-result-row__price-old { font-size: 13px; color: #999; text-decoration: line-through; text-align: right; }
.sc-result-row__price-discount { font-size: 12px; font-weight: 700; color: #e8b448; }
.sc-result-row__price-shimmer {
  width: 100%; height: 28px; border-radius: 4px; margin-bottom: 6px;
  background: linear-gradient(90deg, #e0edf0 25%, #f0f7f9 50%, #e0edf0 75%);
  background-size: 400px 28px; animation: sc-shimmer 1.2s ease-in-out infinite;
}
.sc-result-row__price-shimmer--sm {
  width: 60%; height: 14px; margin-bottom: 4px;
}
.sc-result-row__cta {
  margin-top: 8px; padding: 8px 16px; background: #216072; color: #fff; border: none; border-radius: 4px;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
  text-decoration: none; text-align: center; cursor: pointer; transition: background 0.2s;
}
.sc-result-row__cta:hover { background: #e8b448; }

/* ---- Availability Tiers ---- */
.sc-result-row__avail--option { color: #e8b448 !important; }
.sc-result-row--option { border: 2px dashed #e8b448; }
.sc-result-row--option .sc-result-row__price { background: #fffcf0; }

.sc-result-row__avail--booked { color: #999 !important; }
.sc-result-row--booked { opacity: 0.55; }
.sc-result-row--booked:hover { opacity: 0.75; }

/* ---- AI Opinion Accordion ---- */
.sc-result-row__opinion-btn {
  display: block; width: 100%; padding: 8px 16px; margin: 0;
  background: #f7f9fa; border: none; border-top: 1px solid #eee;
  color: #216072; font-size: 12px; font-weight: 600; cursor: pointer;
  text-align: left; transition: background 0.15s;
}
.sc-result-row__opinion-btn:hover { background: #e8f4f8; }

.sc-result-row__opinion-panel {
  padding: 14px 20px; background: #f7f9fa; border-top: 1px solid #eee;
}
.sc-result-row__opinion-loading { font-size: 13px; color: #999; font-style: italic; }
.sc-result-row__opinion-text { font-size: 13px; line-height: 1.6; color: #333; }
.sc-result-row__opinion-disclaimer {
  font-size: 11px; color: #999; margin-top: 8px; padding-top: 8px;
  border-top: 1px solid #eee; font-style: italic;
}

/* ---- Skeleton Rows ---- */
@keyframes sc-shimmer { 0% { background-position: -400px 0; } 100% { background-position: 400px 0; } }

.sc-result-row--skeleton { pointer-events: none; }
.sc-result-row--skeleton .sc-result-row__img {
  background: linear-gradient(90deg, #e8e8e8 25%, #f5f5f5 50%, #e8e8e8 75%);
  background-size: 800px 200px; animation: sc-shimmer 1.5s ease-in-out infinite;
}
.sc-skel-bar { border-radius: 4px; background: linear-gradient(90deg, #e8e8e8 25%, #f5f5f5 50%, #e8e8e8 75%); background-size: 800px 200px; animation: sc-shimmer 1.5s ease-in-out infinite; margin-bottom: 8px; }
.sc-skel-bar--lg { width: 65%; height: 18px; }
.sc-skel-bar--md { width: 45%; height: 14px; }
.sc-skel-bar--sm { width: 80%; height: 12px; }
.sc-skel-bar--price { width: 70px; height: 24px; margin-left: auto; }

/* Row fade-in */
.sc-result-row:not(.sc-result-row--skeleton) { animation: sc-fadeUp 0.3s ease-out both; }
@keyframes sc-fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.sc-result-row:nth-child(2n):not(.sc-result-row--skeleton) { animation-delay: 0.05s; }

/* ---- Pagination ---- */
.sc-search-pagination { text-align: center; padding: 24px 0; }
.sc-page-btn {
  padding: 8px 14px; margin: 0 2px; background: #fff; color: #216072; border: 1px solid #ddd;
  border-radius: 4px; font-size: 13px; font-weight: 600; cursor: pointer; transition: all 0.15s;
}
.sc-page-btn:hover { background: #216072; color: #fff; border-color: #216072; }
.sc-page-btn--active { background: #216072; color: #fff; border-color: #216072; cursor: default; }
.sc-page-ellipsis { padding: 8px 6px; color: #999; font-size: 13px; }

.sc-load-more-btn {
  padding: 12px 32px; background: #fff; color: #216072; border: 2px solid #216072; border-radius: 4px;
  font-size: 14px; font-weight: 600; cursor: pointer; transition: background 0.2s, color 0.2s;
}
.sc-load-more-btn:hover { background: #216072; color: #fff; }

/* ---- Mini Widget ---- */
.sc-mini { text-align: center; padding: 20px; }
.sc-mini__heading { font-size: 18px; font-weight: 600; color: #216072; margin: 0 0 16px 0; }
.sc-mini--dark .sc-mini__heading { color: #fff; }
.sc-mini__form { display: flex; gap: 0; max-width: 500px; margin: 0 auto; }
.sc-mini__select { flex: 1; padding: 12px 16px; border: 2px solid #216072; border-right: none; border-radius: 6px 0 0 6px; font-size: 15px; font-family: inherit; }
.sc-mini--dark .sc-mini__select { border-color: #e8b448; }
.sc-mini__btn { padding: 12px 24px; background: #216072; color: #fff; border: 2px solid #216072; border-radius: 0 6px 6px 0; font-size: 14px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; white-space: nowrap; }
.sc-mini__btn:hover { background: #e8b448; border-color: #e8b448; }

/* Mini autocomplete */
.sc-mini__search { position: relative; max-width: 600px; margin: 0 auto; }
.sc-mini__input { width: 100%; padding: 14px 20px; border: 2px solid #216072; border-radius: 8px; font-size: 16px; font-family: inherit; color: #333; transition: border-color 0.2s; }
.sc-mini__input:focus { border-color: #e8b448; outline: none; box-shadow: 0 0 0 3px rgba(232,180,72,0.25); }
.sc-mini__input::placeholder { color: #999; font-style: italic; }
.sc-mini--dark .sc-mini__input { border-color: #e8b448; background: rgba(255,255,255,0.95); }

.sc-mini__results {
  display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 100;
  background: #fff; border: 1px solid #ddd; border-top: none; border-radius: 0 0 8px 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12); max-height: 400px; overflow-y: auto;
}

.sc-mini__item {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px;
  text-decoration: none; color: inherit; border-bottom: 1px solid #f5f5f5;
  transition: background 0.1s;
}
.sc-mini__item:hover { background: #f0f7f9; }
.sc-mini__item:last-of-type { border-bottom: none; }

.sc-mini__thumb { width: 60px; height: 44px; min-width: 60px; border-radius: 4px; background-size: cover; background-position: center; background-color: #eee; }
.sc-mini__info { flex: 1; min-width: 0; }
.sc-mini__name { font-size: 14px; font-weight: 600; color: #216072; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-mini__name em { background: rgba(232,180,72,0.25); font-style: normal; padding: 0 2px; border-radius: 2px; }
.sc-mini__detail { font-size: 12px; color: #888; }
.sc-mini__price { font-size: 13px; font-weight: 700; color: #216072; white-space: nowrap; }

.sc-mini__see-all { display: block; padding: 10px 14px; text-align: center; font-size: 13px; font-weight: 600; color: #216072; text-decoration: none; border-top: 1px solid #eee; }
.sc-mini__see-all:hover { background: #f0f7f9; }

.sc-mini__empty { padding: 16px; text-align: center; color: #888; font-size: 14px; }

/* ---- NL Search (standalone) ---- */
.sc-nl { max-width: 900px; margin: 0 auto; padding: 0 16px; font-family: 'Open Sans', -apple-system, sans-serif; }
.sc-nl__hero { text-align: center; padding: 20px 0 30px; }
.sc-nl__title { font-size: 28px; font-weight: 700; color: #216072; margin: 0 0 8px; }
.sc-nl__subtitle { font-size: 15px; color: #4f5d73; margin: 0 0 20px; }
.sc-nl__input { width: 100%; padding: 16px 20px; border: 2px solid #216072; border-radius: 8px; font-size: 16px; font-family: inherit; color: #333; resize: vertical; min-height: 90px; line-height: 1.5; }
.sc-nl__input:focus { border-color: #e8b448; outline: none; box-shadow: 0 0 0 3px rgba(232,180,72,0.25); }
.sc-nl__input::placeholder { color: #999; font-style: italic; }
.sc-nl__btn { margin-top: 12px; padding: 14px 40px; background: #216072; color: #fff; border: none; border-radius: 6px; font-size: 16px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; transition: background 0.2s; }
.sc-nl__btn:hover { background: #e8b448; }
.sc-nl__btn:disabled { opacity: 0.5; cursor: not-allowed; }

.sc-nl__examples { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 24px; width: 100%; max-width: 600px; margin-left: auto; margin-right: auto; }
.sc-nl__examples > span { font-size: 11px; color: #999; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.sc-nl__example {
  background: #fff; border: 2px solid #d4e8ed; border-radius: 10px;
  padding: 16px 22px; font-size: 15px; color: #216072; cursor: pointer;
  font-family: inherit; font-weight: 400; transition: all 0.2s;
  text-align: left; line-height: 1.6; width: 100%;
  min-height: 72px; display: flex; align-items: center;
}
.sc-nl__example:hover { background: #216072; border-color: #216072; color: #fff; box-shadow: 0 4px 12px rgba(33,96,114,0.15); }

@media (max-width: 640px) {
  .sc-nl__example { font-size: 14px; padding: 14px 16px; min-height: 64px; }
}
.sc-nl__summary { padding: 20px 24px; margin-bottom: 20px; background: #f0f7f9; border-radius: 8px; border-left: 4px solid #216072; }
.sc-nl__summary-text { font-size: 15px; line-height: 1.6; color: #333; margin: 0 0 10px 0; }
.sc-nl__summary-tip { font-size: 14px; line-height: 1.5; color: #216072; margin: 0; padding: 10px 0 0; border-top: 1px solid #d4e8ed; }
.sc-nl__summary-tip strong { color: #e8b448; }

.sc-nl__follow-up { padding: 16px 20px; margin-top: 16px; background: #fff; border: 2px dashed #d4e8ed; border-radius: 8px; font-size: 14px; color: #4f5d73; }
.sc-nl__follow-btn { background: none; border: none; color: #216072; font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; font-family: inherit; }
.sc-nl__follow-btn:hover { color: #e8b448; }

@media (max-width: 640px) {
  .sc-nl__title { font-size: 22px; }
  .sc-nl__input { font-size: 16px; min-height: 80px; }
  .sc-nl__btn { width: 100%; }
}

/* ---- Yacht Page — Price Row (NOT accordion) ---- */
.sc-yacht-body { max-width: 900px; margin: 0 auto; padding: 0 16px; }

.sc-price-row {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 12px 24px; padding: 20px 24px; margin-top: 24px; margin-bottom: 20px;
  background: #fff; border: 2px solid #216072; border-radius: 10px;
  box-shadow: 0 2px 12px rgba(33,96,114,0.08);
}
.sc-price-row__main { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.sc-price-row__amount { font-size: 32px; font-weight: 700; color: #216072; }
.sc-price-row__old { font-size: 18px; color: #999; text-decoration: line-through; }
.sc-price-row__discount { font-size: 14px; font-weight: 700; color: #e8b448; background: rgba(232,180,72,0.12); padding: 2px 8px; border-radius: 3px; }
.sc-price-row__period { font-size: 14px; color: #4f5d73; }

.sc-price-row__context { display: flex; flex-direction: column; gap: 2px; }
.sc-price-row__diff { font-size: 14px; font-weight: 600; }
.sc-price-row__diff--below { color: #27ae60; }
.sc-price-row__diff--above { color: #e8b448; }
.sc-price-row__bench { font-size: 12px; color: #999; }

.sc-price-row__actions { display: flex; gap: 8px; align-items: center; }
.sc-price-row__cta {
  padding: 10px 24px; background: #216072; color: #fff; border-radius: 6px;
  font-size: 14px; font-weight: 600; text-decoration: none; text-transform: uppercase;
  letter-spacing: 0.5px; transition: background 0.2s;
}
.sc-price-row__cta:hover { background: #e8b448; color: #fff; }
.sc-price-row__save {
  padding: 8px 14px; background: none; border: 1px solid #ddd; border-radius: 6px;
  font-size: 14px; color: #4f5d73; cursor: pointer; transition: all 0.15s;
}
.sc-price-row__save:hover { border-color: #e8b448; color: #e8b448; }

.sc-price-cal__title { font-size: 16px; font-weight: 700; color: #216072; margin: 0 0 8px; }

@media (max-width: 640px) {
  .sc-price-row { flex-direction: column; align-items: flex-start; }
  .sc-price-row__amount { font-size: 28px; }
  .sc-price-row__actions { width: 100%; }
  .sc-price-row__cta { flex: 1; text-align: center; }
}

/* ---- Yacht Detail Page — Accordion ---- */

/* Hero stats strip */
.sc-yacht-hero__stats {
  display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 12px;
}
.sc-yacht-hero__stats span {
  font-size: 14px; color: rgba(255,255,255,0.85); font-weight: 500;
}
.sc-yacht-hero__price-block {
  margin-top: 14px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
}
.sc-yacht-hero__price {
  font-size: 28px; font-weight: 700; color: #fff;
  background: #e8b448; padding: 4px 16px; border-radius: 6px;
}
.sc-yacht-hero__price-old {
  font-size: 16px; color: rgba(255,255,255,0.6); text-decoration: line-through;
}
.sc-yacht-hero__price-discount {
  font-size: 14px; font-weight: 700; color: #e8b448; background: rgba(255,255,255,0.2);
  padding: 2px 8px; border-radius: 3px;
}
.sc-yacht-hero__price-label {
  font-size: 14px; color: rgba(255,255,255,0.75);
}

/* Accordion */
.sc-yacht-accordion { max-width: 900px; margin: 0 auto; padding: 0 16px; }

.sc-accordion { border: 1px solid #eee; border-radius: 8px; margin-bottom: 12px; overflow: hidden; }
.sc-accordion[open] { border-color: #d4e8ed; }

.sc-accordion__header {
  padding: 16px 20px; font-size: 16px; font-weight: 700; color: #216072;
  cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between;
  transition: background 0.15s;
}
.sc-accordion__header:hover { background: #f7f9fa; }
.sc-accordion__header::after { content: '+'; font-size: 20px; color: #999; font-weight: 300; }
.sc-accordion[open] > .sc-accordion__header::after { content: '−'; }
.sc-accordion__header::-webkit-details-marker { display: none; }

.sc-accordion__body { padding: 0 20px 20px; }

.sc-accordion__cta {
  display: inline-block; padding: 10px 24px; background: #216072; color: #fff; border-radius: 4px;
  font-size: 14px; font-weight: 600; text-decoration: none; text-transform: uppercase; letter-spacing: 0.5px;
  transition: background 0.2s; margin-top: 12px;
}
.sc-accordion__cta:hover { background: #e8b448; color: #fff; }

/* Price Intelligence */
.sc-price-intel__headline { font-size: 16px; line-height: 1.5; color: #333; margin: 0 0 16px; }
.sc-price-intel__diff { font-size: 18px; }
.sc-price-intel__diff--below { color: #27ae60; }
.sc-price-intel__diff--above { color: #e8b448; }

.sc-price-intel__bar-wrap {
  position: relative; height: 8px; background: #eee; border-radius: 4px; margin-bottom: 4px;
}
.sc-price-intel__bar {
  height: 100%; background: linear-gradient(90deg, #27ae60, #e8b448, #c0392b); border-radius: 4px;
}
.sc-price-intel__bar-marker {
  position: absolute; top: -4px; width: 2px; height: 16px; background: #216072;
  transform: translateX(-50%);
}
.sc-price-intel__bar-labels {
  display: flex; justify-content: space-between; font-size: 11px; color: #999; margin-bottom: 8px;
}
.sc-price-intel__sample { font-size: 12px; color: #999; margin: 0 0 16px; }

.sc-price-intel__insight {
  padding: 14px 16px; background: #f7f9fa; border-left: 3px solid #216072; border-radius: 0 6px 6px 0;
  font-size: 14px; line-height: 1.6; color: #4f5d73; margin-bottom: 12px;
}
.sc-price-intel__insight strong { color: #216072; }

/* Price Insights */
.sc-insights { display: flex; flex-direction: column; gap: 12px; }
.sc-insight { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-bottom: 1px solid #f0f0f0; }
.sc-insight:last-child { border-bottom: none; }
.sc-insight__icon { font-size: 20px; flex-shrink: 0; width: 28px; text-align: center; }
.sc-insight strong { display: block; font-size: 15px; color: #216072; }
.sc-insight__detail { display: block; font-size: 13px; color: #888; margin-top: 2px; }
.sc-insight--sm strong { font-size: 14px; }
.sc-insight--sm .sc-insight__detail { font-size: 12px; }

.sc-insight-more { margin-top: 8px; }
.sc-insight-more > summary { font-size: 13px; font-weight: 600; color: #216072; cursor: pointer; padding: 8px 0; }
.sc-insight-more > summary:hover { color: #e8b448; }
.sc-insight-more__body { padding-top: 8px; display: flex; flex-direction: column; gap: 8px; }
.sc-insight-more__body .sc-insight { padding: 6px 0; }

/* AI Opinion */
.sc-opinion-loading { font-size: 13px; color: #999; font-style: italic; padding: 8px 0; }
.sc-opinion-text { font-size: 14px; line-height: 1.7; color: #333; margin: 0 0 12px; }
.sc-opinion-disclaimer { font-size: 11px; color: #999; font-style: italic; padding-top: 8px; border-top: 1px solid #eee; }

/* Image strip between accordions */
.sc-yacht-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
  margin: 0 0 12px; border-radius: 8px; overflow: hidden;
}
.sc-yacht-strip__img { display: block; cursor: pointer; overflow: hidden; }
.sc-yacht-strip__img img { width: 100%; height: 160px; object-fit: cover; display: block; transition: transform 0.3s; }
.sc-yacht-strip__img:hover img { transform: scale(1.05); }
@media (max-width: 640px) { .sc-yacht-strip__img img { height: 100px; } }

/* Alternative yacht cards */
.sc-yacht-alts { max-width: 900px; margin: 24px auto; padding: 0 16px; }
.sc-yacht-alts__title { font-size: 20px; font-weight: 700; color: #216072; margin: 0 0 16px; }
.sc-yacht-alts__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.sc-yacht-alt {
  display: flex; flex-direction: column; background: #fff; border: 1px solid #eee;
  border-radius: 8px; overflow: hidden; text-decoration: none; color: inherit;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.sc-yacht-alt:hover { box-shadow: 0 4px 16px rgba(33,96,114,0.12); border-color: #216072; }

.sc-yacht-alt__label {
  padding: 6px 12px; background: #216072; color: #fff; font-size: 11px;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
}
.sc-yacht-alt__img { height: 140px; background-size: cover; background-position: center; background-color: #f0f0f0; }
.sc-yacht-alt__info { padding: 12px; flex: 1; display: flex; flex-direction: column; }
.sc-yacht-alt__info h3 { font-size: 14px; font-weight: 600; color: #216072; margin: 0 0 4px; }
.sc-yacht-alt__info p { font-size: 12px; color: #4f5d73; margin: 0 0 6px; }
.sc-yacht-alt__specs { font-size: 11px; color: #888; margin-bottom: 8px; }
.sc-yacht-alt__price { font-size: 16px; font-weight: 700; color: #216072; margin-top: auto; }

@media (max-width: 640px) {
  .sc-yacht-alts__grid { grid-template-columns: 1fr; }
  .sc-yacht-alt { flex-direction: row; }
  .sc-yacht-alt__img { width: 120px; min-width: 120px; height: auto; min-height: 120px; }
  .sc-yacht-alt__label { position: absolute; }
  .sc-yacht-alt { position: relative; }
}

/* Pricing Calendar — scrollable week blocks */
.sc-price-cal { margin: 20px 0 16px; }
.sc-price-cal__loading { font-size: 13px; color: #999; font-style: italic; }

/* Container holds the scrollable strip plus chevron nav buttons and edge fades */
.sc-price-cal__container { position: relative; }
.sc-price-cal__scroll {
  display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 12px;
  -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}
.sc-price-cal__scroll::-webkit-scrollbar { height: 4px; }
.sc-price-cal__scroll::-webkit-scrollbar-thumb { background: #d4e8ed; border-radius: 2px; }

/* Chevron scroll buttons — only visible when there's overflow on that side */
.sc-price-cal__chevron {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 50%;
  background: #fff; border: 1px solid #d4e8ed; color: #216072;
  font-size: 20px; font-weight: 700; line-height: 28px; text-align: center;
  cursor: pointer; box-shadow: 0 2px 6px rgba(33,96,114,0.15);
  z-index: 2; padding: 0; user-select: none;
  transition: background 0.15s, border-color 0.15s;
}
.sc-price-cal__chevron:hover { background: #216072; color: #fff; border-color: #216072; }
.sc-price-cal__chevron--prev { left: -8px; }
.sc-price-cal__chevron--next { right: -8px; }

/* Edge fades — visual cue that more content is off-screen */
.sc-price-cal__fade {
  position: absolute; top: 0; bottom: 12px; width: 32px; pointer-events: none; z-index: 1;
}
.sc-price-cal__fade--left  { left: 0;  background: linear-gradient(to right, #f7f7f7, rgba(247,247,247,0)); }
.sc-price-cal__fade--right { right: 0; background: linear-gradient(to left,  #f7f7f7, rgba(247,247,247,0)); }

.sc-price-cal__week {
  flex: 0 0 auto; min-width: 90px; padding: 10px 12px; text-align: center;
  background: #fff; border: 2px solid #eee; border-radius: 8px;
  scroll-snap-align: start; transition: border-color 0.15s;
}
.sc-price-cal__week:hover { border-color: #216072; }
.sc-price-cal__week--booked { opacity: 0.4; border-style: dashed; }
.sc-price-cal__week--option { border-color: #e8b448; border-style: dashed; }
.sc-price-cal__week--current { border-color: #216072; box-shadow: 0 0 0 1px #216072; }

.sc-price-cal__date { font-size: 12px; font-weight: 600; color: #4f5d73; margin-bottom: 4px; }
.sc-price-cal__amount { display: block; font-size: 16px; font-weight: 700; color: #216072; }

/* === Shortlist (Phase 5) — boat-page button + header indicator + toast === */
.sc-standalone-header__shortlist {
  background: rgba(232,180,72,0.15); color: #e8b448 !important;
  padding: 4px 10px; border-radius: 4px; font-size: 13px;
  text-decoration: none !important; transition: background 0.15s;
}
.sc-standalone-header__shortlist:hover { background: rgba(232,180,72,0.25); }

/* POLISH-01/02: action row hierarchy — Reserve (primary teal) >
   Shortlist (gold outline) > Get a Quote (text link). Replaces the
   earlier flat row where the heart-icon Shortlist read as cheap clip-art. */
.sc-price-row__actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

.sc-price-row__reserve {
  background: linear-gradient(135deg, #216072 0%, #2a7a8f 100%);
  color: #fff; border: none;
  padding: 12px 22px; border-radius: 6px; font-size: 15px; font-weight: 700;
  cursor: pointer; line-height: 1.2;
  box-shadow: 0 2px 8px rgba(33,96,114,0.25);
  transition: transform 0.1s, box-shadow 0.15s, opacity 0.15s;
  letter-spacing: 0.2px;
}
.sc-price-row__reserve:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(33,96,114,0.35); }
.sc-price-row__reserve:disabled { opacity: 0.6; cursor: wait; }

.sc-price-row__shortlist {
  background: #fff; color: #b8861f; border: 1.5px solid #e8b448;
  padding: 11px 18px; border-radius: 6px; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: background 0.15s, color 0.15s, border-color 0.15s; line-height: 1.2;
}
.sc-price-row__shortlist:hover:not(:disabled) { background: rgba(232,180,72,0.08); border-color: #d4a040; }
.sc-price-row__shortlist:disabled { opacity: 0.6; cursor: wait; }
.sc-price-row__shortlist--added { background: rgba(232,180,72,0.12); border-color: #d4a040; color: #8a6512; }
.sc-price-row__shortlist--added:hover { background: rgba(232,180,72,0.12); }

.sc-price-row__cta-secondary {
  color: #216072; text-decoration: underline; font-size: 13px; padding: 4px 8px;
  transition: color 0.15s;
}
.sc-price-row__cta-secondary:hover { color: #e8b448; }

/* POLISH-03: the enquiry accordion borrows the existing sc-accordion shell;
   no new CSS needed, just ensure it gets a touch more breathing room. */
.sc-yacht-enquiry-acc { margin-top: 24px; }

.sc-toast {
  position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 80px);
  background: #216072; color: #fff; padding: 14px 20px; border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  font-size: 14px; display: flex; gap: 16px; align-items: center;
  z-index: 9999; opacity: 0; transition: transform 0.3s ease, opacity 0.3s ease;
  max-width: calc(100vw - 32px);
}
.sc-toast--visible { transform: translate(-50%, 0); opacity: 1; }
.sc-toast__msg { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-toast__link { color: #e8b448 !important; text-decoration: underline; font-weight: 600; white-space: nowrap; }
@media (max-width: 480px) {
  .sc-toast { left: 16px; right: 16px; transform: translateY(80px); max-width: none; }
  .sc-toast--visible { transform: translateY(0); }
}
.sc-price-cal__old { display: block; font-size: 12px; color: #999; text-decoration: line-through; margin-bottom: 2px; }
.sc-price-cal__discount { display: block; font-size: 11px; font-weight: 700; color: #e8b448; margin-bottom: 2px; }
.sc-price-cal__booked { display: block; font-size: 12px; color: #999; font-style: italic; }

/* Gallery — 4 thumbs grid */
.sc-yacht-gallery { grid-template-columns: repeat(4, 1fr); }
.sc-yacht-gallery__item { cursor: pointer; position: relative; overflow: hidden; }
.sc-yacht-gallery__item:hover img { transform: scale(1.05); }
.sc-yacht-gallery__item img { transition: transform 0.3s; }
.sc-yacht-gallery__more {
  position: absolute; inset: 0; background: rgba(33,96,114,0.7);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700;
}

/* Fullscreen Carousel */
.sc-carousel {
  position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,0.92);
  display: flex; align-items: center; justify-content: center;
}
.sc-carousel__close {
  position: absolute; top: 16px; right: 20px; background: none; border: none;
  color: #fff; font-size: 36px; cursor: pointer; z-index: 10;
}
.sc-carousel__prev, .sc-carousel__next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.15); border: none; color: #fff;
  font-size: 40px; padding: 8px 16px; cursor: pointer; border-radius: 4px;
  transition: background 0.2s; z-index: 10;
}
.sc-carousel__prev { left: 16px; }
.sc-carousel__next { right: 16px; }
.sc-carousel__prev:hover, .sc-carousel__next:hover { background: rgba(255,255,255,0.3); }

.sc-carousel__img-wrap { text-align: center; max-width: 90vw; max-height: 85vh; }
.sc-carousel__img { max-width: 90vw; max-height: 75vh; object-fit: contain; border-radius: 4px; }
.sc-carousel__desc { color: rgba(255,255,255,0.8); font-size: 14px; margin: 12px 0 4px; }
.sc-carousel__counter { color: rgba(255,255,255,0.5); font-size: 12px; margin: 0; }

@media (max-width: 640px) {
  .sc-carousel__prev, .sc-carousel__next { font-size: 28px; padding: 6px 12px; }
  .sc-yacht-gallery { grid-template-columns: repeat(2, 1fr); }
}

/* Enquiry intro */
.sc-yacht-enquiry__intro { font-size: 14px; color: #4f5d73; margin: 0 0 16px; }

/* ---- Yacht Detail Page ---- */
.sc-yacht-page { max-width: 1200px; margin: 0 auto; font-family: 'Open Sans', -apple-system, sans-serif; }
.sc-yacht-hero { position: relative; height: 450px; background-size: cover; background-position: center; background-color: #216072; }
.sc-yacht-hero__overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 40px; background: linear-gradient(transparent, rgba(33,96,114,0.85)); }
.sc-yacht-hero__title { color: #fff; font-size: 36px; font-weight: 600; margin: 0 0 8px 0; }
.sc-yacht-hero__subtitle { color: rgba(255,255,255,0.85); font-size: 18px; margin: 0; }
.sc-yacht-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-bottom: 40px; }
.sc-yacht-gallery__item img { width: 100%; height: 180px; object-fit: cover; display: block; }
.sc-yacht-specs { padding: 40px 24px; }
.sc-yacht-specs h2 { font-size: 24px; color: #216072; margin: 0 0 24px 0; padding-bottom: 12px; border-bottom: 2px solid #e8b448; }
.sc-yacht-specs__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sc-yacht-spec { text-align: center; padding: 16px; background: #f7f7f7; border-radius: 6px; }
.sc-yacht-spec__label { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: #4f5d73; margin-bottom: 4px; }
.sc-yacht-spec__value { display: block; font-size: 20px; font-weight: 700; color: #216072; }
.sc-yacht-equipment { padding: 0 24px 40px; }
.sc-yacht-equipment h2 { font-size: 24px; color: #216072; margin: 0 0 16px 0; padding-bottom: 12px; border-bottom: 2px solid #e8b448; }
.sc-yacht-equipment__list { columns: 3; list-style: none; padding: 0; margin: 0; }
.sc-yacht-equipment__list li { padding: 4px 0; font-size: 14px; color: #4f5d73; break-inside: avoid; }
.sc-yacht-equipment__list li::before { content: none; }
.sc-yacht-equipment__list li svg { flex-shrink: 0; }
.sc-yacht-equipment__list li { display: flex; align-items: center; }
.sc-yacht-cta { text-align: center; background: #216072; padding: 60px 24px; margin-top: 40px; }
.sc-yacht-cta h2 { color: #fff; font-size: 28px; margin: 0 0 8px 0; }
.sc-yacht-cta p { color: rgba(255,255,255,0.85); font-size: 16px; margin: 0 0 24px 0; }
.sc-yacht-cta .sc-search-btn { display: inline-block; width: auto; min-width: 200px; margin: 0 8px; padding: 12px 24px; background: #e8b448; color: #fff; border: 2px solid #e8b448; border-radius: 4px; font-size: 15px; font-weight: 600; text-decoration: none; text-transform: uppercase; }
.sc-yacht-cta .sc-search-btn:hover { background: #fff; color: #216072; }

/* Enquiry form */
.sc-yacht-enquiry { padding: 40px 24px; background: #f7f7f7; }
.sc-yacht-enquiry h2 { font-size: 24px; color: #216072; margin: 0 0 8px 0; }
.sc-yacht-enquiry p { color: #4f5d73; font-size: 15px; margin: 0 0 20px 0; }
.sc-yacht-enquiry__form { max-width: 700px; }
.sc-yacht-enquiry__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.sc-yacht-enquiry__field { display: flex; flex-direction: column; }
.sc-yacht-enquiry__field label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: #216072; margin-bottom: 4px; }
.sc-yacht-enquiry__field input, .sc-yacht-enquiry__field textarea { padding: 10px 12px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; font-family: inherit; }
.sc-yacht-enquiry__field input:focus, .sc-yacht-enquiry__field textarea:focus { border-color: #216072; outline: none; box-shadow: 0 0 0 2px rgba(33,96,114,0.15); }
@media (max-width: 640px) { .sc-yacht-enquiry__row { grid-template-columns: 1fr; } .sc-yacht-enquiry { padding: 24px 16px; } }
.sc-yacht-cta .sc-search-btn--outline { background: transparent; border-color: #fff; color: #fff; }
.sc-yacht-cta .sc-search-btn--outline:hover { background: #fff; color: #216072; }

/* ---- Responsive: Tablet ---- */
@media (max-width: 960px) {
  .sc-search-bar { flex-wrap: wrap; }
  .sc-search-bar__field { flex: 1 1 45%; }
  .sc-search-bar__field--query { flex: 1 1 100%; margin-bottom: 8px; }
  .sc-search-bar__btn { flex: 1 1 100%; margin-top: 8px; }
  .sc-sidebar { display: none; }
  .sc-result-row__img { width: 220px; min-width: 220px; }
  .sc-result-row__price { width: 150px; min-width: 150px; }
  .sc-yacht-specs__grid { grid-template-columns: repeat(3, 1fr); }
  .sc-yacht-gallery { grid-template-columns: repeat(3, 1fr); }
}

/* ---- Responsive: Mobile ---- */
@media (max-width: 640px) {
  .sc-search-bar { flex-direction: column; padding: 10px; gap: 6px; }
  .sc-search-bar__field { flex: none; padding: 0; }
  .sc-search-bar__field input, .sc-search-bar__field select { font-size: 16px; padding: 12px; }
  .sc-search-bar__btn { width: 100%; padding: 14px; }

  .sc-sort-tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .sc-sort-tab { padding: 8px 12px; font-size: 12px; }

  .sc-result-row { flex-direction: column; }
  .sc-result-row__img { width: 100%; min-width: auto; height: 200px; }
  .sc-result-row__info { padding: 12px 14px; }
  .sc-result-row__title { font-size: 15px; }
  .sc-result-row__price { width: 100%; min-width: auto; flex-direction: row; align-items: center; justify-content: space-between; border-left: none; border-top: 1px solid #f0f0f0; padding: 12px 14px; }
  .sc-result-row__price-amount { font-size: 20px; }

  .sc-yacht-hero { height: 250px; }
  .sc-yacht-hero__overlay { padding: 20px 16px; }
  .sc-yacht-hero__title { font-size: 22px; }
  .sc-yacht-specs__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .sc-yacht-gallery { grid-template-columns: repeat(2, 1fr); gap: 2px; }
  .sc-yacht-equipment__list { columns: 1; }
  .sc-yacht-cta .sc-search-btn { display: block; width: 100%; margin: 8px 0; min-width: auto; }
}

@media (max-width: 380px) {
  .sc-result-row__specs span { display: block; margin-bottom: 2px; }
}
