/* Cabin booking — liveaboard.com BookingStep1 style */
.bk-page { padding: 24px 0 64px; background: #f4f7f9; min-height: 60vh; }
.bk-page .boat-breadcrumb { padding: 0 0 20px; }

.bk-trip-summary { margin-bottom: 28px; }
.bk-trip-card {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px 24px;
  box-shadow: 0 2px 12px rgba(10, 61, 92, 0.06);
}
.bk-trip-card h1 { font-size: 1.35rem; color: var(--lb-ocean, #0a3d5c); margin: 4px 0 8px; }
.bk-trip-card p { color: #64748b; margin: 0; font-size: 0.92rem; }
.bk-trip-meta { text-align: right; font-weight: 800; color: var(--lb-ocean, #0a3d5c); }
.bk-trip-meta small { font-weight: 600; color: #94a3b8; font-size: 0.75rem; }
.bk-error { color: #991b1b; }

.bk-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  counter-reset: none;
}
.bk-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #94a3b8;
}
.bk-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 900;
}
.bk-step.active { color: var(--lb-ocean, #0a3d5c); }
.bk-step.active .bk-step-num { background: var(--lb-teal, #00a8b5); color: #fff; }

.bk-title {
  font-size: 1.25rem;
  color: var(--lb-ocean, #0a3d5c);
  margin-bottom: 20px;
  font-weight: 800;
}

.bk-cabin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.bk-cabin {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s, border-color 0.15s;
}
.bk-cabin:not(.bk-cabin-full):hover {
  border-color: var(--lb-teal, #00a8b5);
  box-shadow: 0 8px 24px rgba(10, 61, 92, 0.1);
}
.bk-cabin-full { opacity: 0.72; }

.bk-cabin-img {
  height: 140px;
  background: #cbd5e1 center/cover no-repeat;
}
.bk-cabin-body { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.bk-cabin-body h3 { font-size: 1.05rem; color: var(--lb-ocean, #0a3d5c); margin-bottom: 12px; }

.bk-cabin-facts {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  font-size: 0.88rem;
  color: #475569;
}
.bk-cabin-facts li {
  padding: 4px 0 4px 22px;
  position: relative;
}
.bk-cabin-facts li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--lb-teal, #00a8b5);
  font-weight: 800;
}

.bk-price {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--lb-ocean, #0a3d5c);
  margin-bottom: 12px;
}

.bk-status {
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.bk-full { color: #991b1b; }
.bk-limited { color: #c2410c; }

.bk-counter {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 8px;
}
.bk-minus, .bk-plus {
  width: 36px;
  height: 36px;
  border: 2px solid #e2e8f0;
  background: #fff;
  border-radius: 8px;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--lb-ocean, #0a3d5c);
  line-height: 1;
}
.bk-minus:hover, .bk-plus:hover { border-color: var(--lb-teal, #00a8b5); background: #f0fdfa; }
.bk-count {
  font-size: 1.25rem;
  font-weight: 900;
  min-width: 24px;
  text-align: center;
  color: var(--lb-ocean, #0a3d5c);
}
.bk-counter-label { font-size: 0.88rem; color: #64748b; font-weight: 600; }

.bk-footer-bar {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
}
.bk-email-field { margin-bottom: 16px; }
.bk-email-field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 6px;
}
.bk-email-field input {
  width: 100%;
  max-width: 400px;
  padding: 12px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
}

.bk-footer-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-bottom: 16px;
}
.bk-guarantee { font-weight: 700; color: #15803d; font-size: 0.92rem; }

.bk-continue-btn {
  padding: 14px 32px;
  background: linear-gradient(135deg, #e85d04, #f48c06);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.15s;
}
.bk-continue-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.bk-continue-btn:not(:disabled):hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(232, 93, 4, 0.35); }

.bk-legal {
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0;
  max-width: 720px;
}

.bk-step-hint {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0 0 12px;
  max-width: 720px;
  line-height: 1.5;
}
.bk-step-hint-warn { color: #c2410c; font-weight: 700; }
.bk-step-hint-ok { display: none; }

.bk-form-error {
  color: #dc2626;
  font-weight: 700;
  margin: 12px 0 0;
  font-size: 0.9rem;
}

.bk-cabin:not(.bk-cabin-full) .bk-plus,
.bk-cabin:not(.bk-cabin-full) .bk-minus {
  min-width: 44px;
  min-height: 44px;
  font-size: 1.25rem;
}

.bk-guest-form { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 24px; }
.bk-selection-recap { margin-bottom: 20px; color: #475569; }
.bk-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
.bk-form-grid label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 0.88rem; color: #475569; }
.bk-form-grid label.bk-full { grid-column: 1 / -1; }
.bk-form-grid input, .bk-form-grid textarea {
  padding: 12px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 400;
}
.bk-step2-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.bk-back-btn {
  padding: 12px 20px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  color: #475569;
}

.boat-btn-cabin {
  background: linear-gradient(135deg, #e85d04, #f48c06) !important;
  color: #fff !important;
  cursor: pointer !important;
  text-decoration: none;
}

/* Layout + sidebar */
.bk-layout { display: grid; grid-template-columns: 1fr; gap: 28px; }
.bk-has-sidebar .bk-layout { grid-template-columns: 1fr 320px; align-items: start; }
.bk-sidebar { position: sticky; top: 20px; }
.bk-side-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; padding-bottom: 16px; }
.bk-side-img { height: 160px; background: center/cover no-repeat #cbd5e1; }
.bk-side-card h3 { padding: 14px 16px 4px; color: var(--lb-ocean, #0a3d5c); }
.bk-side-route, .bk-side-dates, .bk-side-code { padding: 0 16px; font-size: 0.88rem; color: #64748b; margin: 4px 0; }
.bk-side-code strong { color: var(--lb-ocean, #0a3d5c); font-size: 1.05rem; }
.bk-link-btn { background: none; border: none; color: var(--lb-teal, #00a8b5); font-weight: 700; cursor: pointer; padding: 0; text-decoration: underline; font-size: inherit; }
.bk-side-prices { padding: 12px 16px 0; border-top: 1px solid #f1f5f9; margin-top: 12px; }
.bk-side-line, .bk-side-total, .bk-side-pay { display: flex; justify-content: space-between; font-size: 0.88rem; padding: 6px 0; }
.bk-side-total { font-weight: 800; border-top: 1px solid #e2e8f0; margin-top: 8px; padding-top: 12px; }
.bk-pay-zero { color: #15803d; }
.bk-side-note { padding: 10px 16px 0; font-size: 0.82rem; color: #15803d; font-weight: 700; }
.bk-date-row { display: flex; align-items: center; gap: 10px; padding: 12px 16px 0; justify-content: center; }
.bk-date-box { text-align: center; border: 1px solid #e2e8f0; border-radius: 8px; padding: 10px 16px; min-width: 90px; }
.bk-date-box strong { display: block; font-size: 1.75rem; color: #e85d04; line-height: 1.1; }
.bk-date-box small, .bk-date-box em { font-size: 0.75rem; color: #64748b; font-style: normal; }

.bk-trip-banner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 20px; margin-bottom: 20px; }
.bk-trip-banner h1 { font-size: 1.25rem; color: var(--lb-ocean, #0a3d5c); margin: 4px 0; }
.bk-trip-banner-meta { text-align: right; font-weight: 800; color: var(--lb-ocean, #0a3d5c); }
.bk-subtitle { color: #64748b; margin: -8px 0 20px; font-weight: 700; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.05em; }

.bk-info-btn { background: #f1f5f9; border: none; border-radius: 50%; width: 22px; height: 22px; font-size: 0.75rem; cursor: pointer; vertical-align: middle; margin-left: 4px; color: var(--lb-ocean, #0a3d5c); }

/* Modals */
.bk-modal-overlay { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.55); z-index: 9000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.bk-modal-overlay[hidden] { display: none !important; }
.bk-modal { background: #fff; border-radius: 12px; max-width: 720px; width: 100%; max-height: 90vh; overflow: auto; box-shadow: 0 24px 60px rgba(0,0,0,0.25); }
.bk-modal-wide { max-width: 860px; }
.bk-modal-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid #e2e8f0; color: #94a3b8; font-weight: 800; letter-spacing: 0.08em; font-size: 0.82rem; }
.bk-modal-close { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: #64748b; line-height: 1; }
.bk-modal-body { padding: 20px; }
.bk-cabin-modal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.bk-cabin-modal-main { height: 240px; background: #e2e8f0 center/cover no-repeat; border-radius: 8px; }
.bk-cabin-modal-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-size: 0.88rem; color: #64748b; }
.bk-cabin-modal-nav button { width: 36px; height: 36px; border: 1px solid #e2e8f0; background: #fff; border-radius: 6px; cursor: pointer; font-size: 1.2rem; }
.bk-feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0; font-size: 0.88rem; color: #475569; }
.bk-feature-grid span { margin-right: 8px; }
.bk-cabin-desc { font-size: 0.9rem; color: #64748b; line-height: 1.6; }

.bk-itin-header { display: flex; justify-content: space-between; align-items: start; gap: 16px; margin-bottom: 12px; }
.bk-itin-header h2 { color: var(--lb-ocean, #0a3d5c); font-size: 1.2rem; margin: 0; }
.bk-itin-dates { background: #f8fafc; padding: 12px 16px; border-radius: 8px; margin-bottom: 12px; font-size: 0.9rem; }
.bk-itin-exp { background: #f1f5f9; padding: 12px 16px; border-radius: 8px; margin-bottom: 20px; font-size: 0.9rem; }
.bk-itin-map { margin: 16px 0; }
.bk-itin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 20px; }
.bk-itin-dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 0.88rem; }
.bk-itin-dl dt { color: #94a3b8; font-weight: 700; }
.bk-itin-day { margin-bottom: 16px; }
.bk-itin-day h4 { color: var(--lb-ocean, #0a3d5c); margin-bottom: 6px; }
.bk-itin-note { font-size: 0.82rem; color: #94a3b8; margin-top: 16px; }

.bk-form-row { display: grid; gap: 16px; margin-bottom: 16px; }
.bk-form-2 { grid-template-columns: 1fr 1fr; }
.bk-form-3 { grid-template-columns: 120px 1fr 1fr; }
.bk-guest-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 0.88rem; color: #475569; }
.bk-guest-form input, .bk-guest-form select, .bk-guest-form textarea { padding: 12px 14px; border: 1px solid #e2e8f0; border-radius: 8px; font-size: 1rem; font-weight: 400; }
.bk-form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

.bk-step.done .bk-step-num { background: #15803d; color: #fff; }
.bk-confirm-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 40px 32px; text-align: center; max-width: 640px; }
.bk-confirm-icon { width: 64px; height: 64px; border-radius: 50%; background: #0f172a; color: #fff; font-size: 2rem; line-height: 64px; margin: 0 auto 20px; }
.bk-confirm-code { font-size: 1.1rem; margin: 20px 0; }
.bk-confirm-warn { color: #dc2626; font-weight: 800; margin-bottom: 24px; }
.bk-confirm-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.bk-avail-note { font-size: 0.88rem; color: #15803d; font-weight: 700; margin-top: 6px; }

.bk-confirm-wrap { display: flex; flex-direction: column; gap: 24px; max-width: 720px; }
.bk-confirm-wrap .bk-confirm-card { max-width: none; }

.bk-invoice { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; text-align: left; }
.bk-invoice-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding: 24px 28px; border-bottom: 1px solid #e2e8f0; }
.bk-invoice-brand { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em; color: #94a3b8; text-transform: uppercase; margin: 0 0 4px; }
.bk-invoice-head h2 { margin: 0; color: var(--lb-ocean, #0a3d5c); font-size: 1.35rem; }
.bk-invoice-code { text-align: right; }
.bk-invoice-code small { display: block; color: #94a3b8; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; }
.bk-invoice-code strong { display: block; font-size: 1.5rem; color: var(--lb-ocean, #0a3d5c); margin: 4px 0; }
.bk-invoice-code span { font-size: 0.82rem; color: #64748b; }
.bk-invoice-hero { height: 140px; background: center/cover no-repeat #cbd5e1; }
.bk-invoice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 24px 28px; }
.bk-invoice-grid h3, .bk-invoice-grid h4 { color: var(--lb-ocean, #0a3d5c); margin: 0 0 8px; }
.bk-invoice-grid p { margin: 4px 0; font-size: 0.9rem; color: #475569; }
.bk-invoice-table { width: 100%; border-collapse: collapse; }
.bk-invoice-table th, .bk-invoice-table td { padding: 12px 28px; border-top: 1px solid #f1f5f9; font-size: 0.9rem; }
.bk-invoice-table th { text-align: left; color: #94a3b8; font-weight: 700; font-size: 0.75rem; text-transform: uppercase; }
.bk-invoice-table td:last-child { text-align: right; font-weight: 700; }
.bk-invoice-total td { font-size: 1rem; font-weight: 800; color: var(--lb-ocean, #0a3d5c); border-top: 2px solid #e2e8f0; }
.bk-invoice-pay td { color: #15803d; font-weight: 800; }
.bk-invoice-note { padding: 16px 28px 24px; font-size: 0.85rem; color: #64748b; margin: 0; }
.bk-invoice .bk-confirm-actions { padding: 0 28px 24px; justify-content: flex-start; }

.bk-section-title { font-size: 1.2rem; color: var(--lb-ocean, #0a3d5c); margin: 0 0 16px; font-weight: 800; }
.bk-trip-facts { color: #64748b; font-size: 0.88rem; margin: 4px 0 0; }
.bk-route-gallery { margin-bottom: 28px; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 20px; }
.bk-gallery-hero { height: 320px; border-radius: 10px; background: center/cover no-repeat #cbd5e1; margin-bottom: 12px; }
.bk-gallery-thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.bk-gallery-thumb { width: 88px; height: 64px; border-radius: 8px; border: 2px solid transparent; background: center/cover no-repeat #e2e8f0; cursor: pointer; padding: 0; }
.bk-gallery-thumb.active { border-color: var(--lb-teal, #00a8b5); }
.bk-sites-section { margin-bottom: 28px; }
.bk-sites-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.bk-site-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; }
.bk-site-card-photos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; padding: 4px; background: #f1f5f9; }
.bk-site-photo { display: block; min-height: 88px; background: center/cover no-repeat #cbd5e1; border-radius: 6px; }
.bk-site-card-body { padding: 14px 16px 16px; }
.bk-site-card-body h3 { margin: 0 0 4px; font-size: 1rem; color: var(--lb-ocean, #0a3d5c); }
.bk-site-ar { margin: 0 0 10px; color: #64748b; font-size: 0.85rem; }
.bk-life-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.bk-life-tag { font-size: 0.72rem; font-weight: 700; padding: 4px 10px; border-radius: 20px; background: #e0f7fa; color: #0e7490; }
.bk-site-link { font-size: 0.85rem; font-weight: 700; color: var(--lb-teal, #00a8b5); text-decoration: none; }
.bk-itin-teaser { margin-bottom: 28px; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 20px; }
.bk-itin-exp-line { font-size: 0.92rem; color: #475569; margin: 0 0 16px; }
.bk-itin-teaser-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 12px; }
.bk-itin-highlights ul { margin: 0; padding-left: 1.2rem; color: #475569; display: grid; gap: 6px; }
.bk-itin-highlights h3 { font-size: 0.95rem; color: var(--lb-ocean, #0a3d5c); margin: 0 0 8px; }
.bk-itin-day-mini { background: #f8fafc; border-radius: 8px; padding: 10px 12px; margin-bottom: 8px; font-size: 0.88rem; }
.bk-itin-day-mini strong { color: var(--lb-ocean, #0a3d5c); display: block; margin-bottom: 4px; }
.bk-itin-day-mini p { margin: 0; color: #64748b; }
.bk-itin-photo-strip { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 16px; }
.bk-itin-photo-strip span { width: 72px; height: 56px; border-radius: 6px; background: center/cover no-repeat #e2e8f0; }

@media print {
  .bk-header, .bk-steps, .bk-sidebar, .bk-footer, .bk-confirm-actions, .site-header, .site-footer { display: none !important; }
  .bk-invoice { border: none; box-shadow: none; }
}

@media (max-width: 640px) {
  .bk-has-sidebar .bk-layout { grid-template-columns: 1fr; }
  .bk-cabin-modal-grid, .bk-itin-grid { grid-template-columns: 1fr; }
  .bk-form-2, .bk-form-3 { grid-template-columns: 1fr; }
  .bk-form-grid { grid-template-columns: 1fr; }
  .bk-trip-meta { text-align: left; }
  .bk-cabin-grid { grid-template-columns: 1fr; }
  .bk-invoice-grid { grid-template-columns: 1fr; }
  .bk-itin-teaser-grid { grid-template-columns: 1fr; }
  .bk-gallery-hero { height: 220px; }
  .bk-sites-grid { grid-template-columns: 1fr; }
}
