/* =============================================================
   Jiminy — Book Your Trip Page Styles
   /css/book-your-trip.css
   Scoped entirely to #page-book-your-trip / .byt-*
============================================================= */

#page-book-your-trip.byt-page {
  max-width: 780px;
  margin: 0 auto;
  padding: 8px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ── HEADER ───────────────────────────────────────────────── */
.byt-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 0 4px 8px;
}
.byt-back-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px; cursor: pointer; text-decoration: none;
}
.byt-back-btn svg { width: 18px; height: 18px; }
.byt-header-text { flex: 1; min-width: 0; }
.byt-header-text h1 {
  font-family: Georgia, serif;
  font-size: clamp(22px, 5vw, 30px);
  font-weight: 900; color: var(--navy); margin: 0 0 3px;
}
.byt-header-text p { font-size: 13px; color: var(--muted); margin: 0; }
.byt-trusted-badge {
  display: none; align-items: center; gap: 8px;
  border: 1px solid var(--line); border-radius: 14px;
  padding: 8px 14px; color: var(--navy); flex-shrink: 0;
}
.byt-trusted-badge svg { width: 20px; height: 20px; color: #4a90d9; }
.byt-trusted-badge small { display: block; font-size: 10px; color: var(--muted); }
.byt-trusted-badge strong { font-size: 13px; color: #4a90d9; font-weight: 900; }
@media(min-width: 560px) { .byt-trusted-badge { display: flex; } }

/* ── SHARED CARD ──────────────────────────────────────────── */
.byt-card, .byt-section-card, .byt-cta-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(7,31,65,.07);
}

/* ── TRIP OVERVIEW ────────────────────────────────────────── */
.byt-card-image { height: 140px; background-size: cover; background-position: center; }
.byt-card-image--resort { background: linear-gradient(160deg, #5a8ac8 0%, #2a4a8e 50%, #1a2a5e 100%); }
.byt-card-body {
  padding: 16px; display: flex;
  align-items: flex-start; gap: 14px; flex-wrap: wrap;
}
.byt-trip-overview-main { display: flex; align-items: flex-start; gap: 12px; flex: 1; min-width: 0; }
.byt-trip-icon {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid rgba(7,31,65,.18);
  background: rgba(7,31,65,.04); color: var(--navy);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.byt-trip-icon svg { width: 20px; height: 20px; }
.byt-destination-name {
  font-family: Georgia, serif; font-size: 18px;
  font-weight: 900; color: var(--navy); margin: 0 0 2px;
}
.byt-destination-sub { font-size: 13px; color: var(--muted); margin: 0 0 10px; }
.byt-trip-meta { display: flex; flex-wrap: wrap; gap: 12px; }
.byt-trip-meta span { display: flex; align-items: center; gap: 5px; font-size: 13px; color: var(--muted); }
.byt-trip-meta svg { width: 14px; height: 14px; }
.byt-edit-btn {
  border: 1.5px solid var(--line); background: #fff; color: var(--navy);
  font-size: 13px; font-weight: 900; border-radius: 999px;
  padding: 8px 18px; cursor: pointer; flex-shrink: 0;
}

/* ── SECTION CARDS ────────────────────────────────────────── */
.byt-section-head {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 16px 14px; border-bottom: 1px solid var(--line);
}
.byt-section-head h3 {
  font-family: Georgia, serif; font-size: 17px;
  font-weight: 900; color: var(--navy); margin: 0; flex: 1;
}
.byt-section-icon {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.byt-section-icon svg { width: 16px; height: 16px; }
.byt-section-icon--hotel   { background: rgba(74,144,217,.12); color: #4a90d9; }
.byt-section-icon--tickets { background: rgba(74,180,100,.12); color: #4ab464; }
.byt-section-icon--addons  { background: rgba(244,184,37,.12); color: #b8860b; }
.byt-section-icon--summary { background: rgba(7,31,65,.08); color: var(--navy); }

.byt-option-card {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; flex-wrap: wrap;
}
.byt-option-img {
  width: 72px; height: 60px; border-radius: 10px;
  background-size: cover; background-position: center; flex-shrink: 0;
}
.byt-option-img--hotel   { background: linear-gradient(135deg, #5a7ba8, #2d4a6e); }
.byt-option-img--tickets { background: linear-gradient(135deg, #0d2347, #1a4a8e); }
.byt-option-info { flex: 1; min-width: 0; }
.byt-option-info b { display: block; font-size: 15px; color: var(--navy); font-weight: 900; margin-bottom: 2px; }
.byt-option-info small { font-size: 12px; color: var(--muted); }
.byt-option-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.byt-badge {
  font-size: 11px; font-weight: 900; border: 1px solid var(--line);
  border-radius: 999px; padding: 3px 10px; color: var(--muted);
}
.byt-change-btn {
  border: 1.5px solid var(--gold); background: none; color: #8a6412;
  font-size: 13px; font-weight: 900; border-radius: 999px;
  padding: 8px 16px; cursor: pointer; flex-shrink: 0;
}

/* ── ADD-ONS ──────────────────────────────────────────────── */
.byt-optional { font-size: 12px; color: var(--muted); font-weight: 400; margin-left: 4px; }
.byt-addons-grid { display: flex; flex-direction: column; }
.byt-addon-row {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-bottom: 1px solid var(--line);
}
.byt-addon-row:last-child { border-bottom: 0; }
.byt-addon-icon { font-size: 20px; flex-shrink: 0; }
.byt-addon-info { flex: 1; }
.byt-addon-info b { display: block; font-size: 14px; color: var(--navy); font-weight: 900; }
.byt-addon-info small { font-size: 12px; color: var(--muted); }
.byt-toggle { position: relative; width: 40px; height: 22px; flex-shrink: 0; cursor: pointer; }
.byt-toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
.byt-toggle span { position: absolute; inset: 0; background: #d1d9e0; border-radius: 999px; transition: background .2s; }
.byt-toggle span::before { content: ''; position: absolute; width: 16px; height: 16px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: transform .2s; }
.byt-toggle input:checked + span { background: var(--gold); }
.byt-toggle input:checked + span::before { transform: translateX(18px); }

/* ── TRIP SUMMARY ─────────────────────────────────────────── */
.byt-summary-note { font-size: 11px; color: var(--muted); margin-left: auto; }
.byt-summary-rows { padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.byt-summary-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); }
.byt-summary-total { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 2px; }
.byt-summary-total span:first-child { font-size: 16px; font-weight: 900; color: var(--navy); }
.byt-summary-total-val { font-size: 18px; font-weight: 1000; color: var(--navy); }
.byt-summary-disclaimer { font-size: 12px; color: var(--muted); padding: 0 16px 14px; margin: 0; }

/* ── FINAL CTA ────────────────────────────────────────────── */
.byt-cta-card { padding: 18px; display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.byt-cta-partner { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.byt-cta-partner-logo {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid #4a90d9; background: rgba(74,144,217,.1);
  color: #4a90d9; display: flex; align-items: center; justify-content: center;
}
.byt-cta-partner-logo svg { width: 22px; height: 22px; }
.byt-cta-partner-text b { display: block; font-size: 14px; color: var(--navy); }
.byt-cta-partner-text small { font-size: 11px; color: var(--muted); }
.byt-cta-body { flex: 1; min-width: 200px; }
.byt-cta-body p { font-size: 13px; color: var(--muted); margin: 0 0 12px; }
.byt-cta-body p b { color: var(--navy); }
.byt-cta-btn {
  display: flex; align-items: center; justify-content: center;
  background: var(--gold); color: #071026; font-weight: 1000; font-size: 15px;
  border-radius: 999px; padding: 14px 24px; text-decoration: none; margin-bottom: 10px;
}
.byt-cta-btn:hover { filter: brightness(1.06); }
.byt-cta-secure {
  display: flex; align-items: center; justify-content: center;
  gap: 5px; font-size: 12px; color: var(--muted);
}
.byt-cta-secure svg { width: 14px; height: 14px; }

/* ── TRUST STRIP ──────────────────────────────────────────── */
.byt-trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 4px 4px 8px; }
.byt-trust-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.byt-trust-item svg { width: 26px; height: 26px; color: var(--muted); }
.byt-trust-item b { font-size: 12px; color: var(--navy); }
.byt-trust-item small { font-size: 11px; color: var(--muted); line-height: 1.4; }

#page-book-your-trip .footer-note { padding: 0 4px; }

@media(max-width: 480px) {
  .byt-trust-strip { grid-template-columns: 1fr; gap: 16px; }
  .byt-cta-card { flex-direction: column; }
}
