/*
 * public.css — TVC public-page components
 * Adds ONLY new component classes. Does NOT override :root, body, or *.
 * Uses app.css token names: --brand, --surface, --ink, --muted, --line, --shadow-card, --radius etc.
 * Additional aliases used here:
 *   --brand-light → --brand-soft (#E9F1E7)
 *   --brand-dark  → --brand-2   (#2E8553)
 *   --text        → --ink       (#1B2921)
 *   --text-2      → --muted     (#5C6B60)
 *   --border      → --line      (#E6DCC8)
 *   --surface-2   → --bg-soft   (#F9F5EC)
 */

/* ── Keyframes ──────────────────────────────────────────────── */
@keyframes tv-fade-in   { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:translateY(0)} }
@keyframes tv-slide-up  { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }
@keyframes tvcHeroGrad  { 0%,100%{background-position:0% 50%} 50%{background-position:100% 50%} }

.tv-fade-in  { animation: tv-fade-in  .3s ease; }
.tv-slide-up { animation: tv-slide-up .4s ease; }

/* ── Page-hero (inner pages) ────────────────────────────────── */
.tv-page-header {
  background: linear-gradient(135deg, #0a3d2e 0%, #0f6e56 100%);
  color: #fff; padding: 48px 0 40px;
}
.tv-page-header h1 { font-size: clamp(22px,4vw,40px); font-weight: 800; margin-bottom: 8px; }
.tv-page-header p  { opacity: .85; font-size: 16px; }

/* ── Section helpers ────────────────────────────────────────── */
.tv-section      { padding: 60px 0; }
.tv-section-head { text-align: center; margin-bottom: 36px; }
.tv-section-head h2 { font-size: 28px; font-weight: 800; }
.tv-section-head p  { color: var(--muted); margin-top: 8px; }
.tvc-section-title  { font-size: clamp(1.4rem,3vw,1.85rem); font-weight: 800; color: var(--ink); letter-spacing: -.5px; margin-bottom: 4px; }
.tvc-section-sub    { color: var(--muted); font-size: .95rem; margin: 0; }

/* ── Stars ──────────────────────────────────────────────────── */
.tv-stars, .tvc-stars { color: #f59e0b; letter-spacing: 1px; }
.tv-stars-empty       { color: var(--line); }

/* ── Destination pill scroll ────────────────────────────────── */
.tvc-dest-scroll {
  display: flex; gap: 10px; overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.tvc-dest-pill {
  white-space: nowrap; flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 20px; border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--surface); color: var(--ink);
  font-size: 14px; font-weight: 600; text-decoration: none;
  transition: border-color .15s, background .15s, color .15s, transform .15s;
}
.tvc-dest-pill:hover {
  border-color: var(--brand); background: var(--brand-soft);
  color: var(--brand-2); transform: translateY(-2px);
}

/* ── Trust badges (hero) ────────────────────────────────────── */
.tvc-trust-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px; padding: 7px 16px;
  font-size: 13px; font-weight: 600; color: #fff; white-space: nowrap;
  backdrop-filter: blur(6px);
}

/* ── Hero search card ───────────────────────────────────────── */
.tvc-hero-search {
  background: rgba(255,255,255,.97); border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
  padding: 28px 24px; max-width: 440px; margin: 0 auto; position: relative; z-index: 1;
}

/* ── Occasion cards (homepage) ──────────────────────────────── */
.tvc-occasion-card {
  transition: transform .22s cubic-bezier(.16,1,.3,1), box-shadow .22s ease;
  cursor: pointer; text-decoration: none;
}
.tvc-occasion-card:hover { transform: translateY(-5px); box-shadow: 0 14px 36px rgba(15,110,86,.2) !important; }

/* ── Tour cards ─────────────────────────────────────────────── */
.tvc-tour-card { transition: transform .2s ease, box-shadow .2s ease; }
.tvc-tour-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,.14) !important; }
.tvc-tour-card .tvc-cover { width: 100%; height: 200px; object-fit: cover; }

/* tv- prefix aliases (used by browse/blog/etc pages) */
.tv-tour-card { transition: transform .2s ease, box-shadow .2s ease; overflow: hidden; border-radius: var(--radius); }
.tv-tour-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2) !important; }
.tv-tour-card .tc-img { width: 100%; height: 200px; object-fit: cover; }
.tv-tour-card .tc-body { padding: 16px; }
.tv-tour-card .tc-title { font-weight: 700; font-size: 15px; line-height: 1.3; }
.tv-tour-card .tc-price { font-size: 18px; font-weight: 800; color: var(--brand); }

/* ── Occasion badge chips ───────────────────────────────────── */
.occ-badge { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 10px; font-weight: 700; text-transform: uppercase; }
.occ-honeymoon  { background: #fce7f3; color: #9d174d; }
.occ-family     { background: #dbeafe; color: #1e40af; }
.occ-solo       { background: #ede9fe; color: #5b21b6; }
.occ-group      { background: #fef3c7; color: #92400e; }
.occ-corporate  { background: var(--brand-soft); color: var(--brand-2); }
.occ-backpacker { background: #fee2e2; color: #991b1b; }

/* ── Flash countdown ────────────────────────────────────────── */
.tvc-countdown {
  font-variant-numeric: tabular-nums; font-weight: 800; letter-spacing: 1.5px;
  font-size: 1.1rem; color: #b45309; background: #fef3c7; border-radius: 6px; padding: 2px 8px;
}
.flash-card { border: 2px solid #fcd34d; border-radius: var(--radius); background: #fffbeb; }
.flash-card:hover { box-shadow: 0 8px 24px rgba(245,158,11,.2); }
.flash-card .fc-drop-price { color: #059669; font-size: 26px; font-weight: 800; }
.flash-card .fc-orig-price { text-decoration: line-through; color: var(--muted); font-size: 14px; }
.fc-seats-bar  { height: 6px; background: var(--line); border-radius: 3px; margin: 8px 0; overflow: hidden; }
.fc-seats-fill { height: 100%; background: #f59e0b; border-radius: 3px; }

/* ── Saathi AI banner ───────────────────────────────────────── */
.tvc-saathi {
  background: linear-gradient(135deg, #0f6e56 0%, #1a9070 40%, #0a5544 100%);
  border-radius: var(--radius); color: #fff; position: relative; overflow: hidden;
}
.tvc-saathi::before {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 220px; height: 220px; border-radius: 50%;
  background: rgba(255,255,255,.05); pointer-events: none;
}

/* ── Blog cards ─────────────────────────────────────────────── */
.tvc-blog-card, .blog-card { transition: transform .2s ease, box-shadow .2s ease; }
.tvc-blog-card:hover, .blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2) !important; }
.tvc-blog-img, .blog-card .bc-img { width: 100%; height: 185px; object-fit: cover; }
.blog-card .bc-category { font-size: 10px; font-weight: 700; text-transform: uppercase; color: var(--brand); background: var(--brand-soft); padding: 2px 8px; border-radius: 4px; display: inline-block; margin-bottom: 8px; }
.blog-card .bc-title    { font-size: 16px; font-weight: 700; line-height: 1.35; margin-bottom: 6px; }
.blog-card .bc-excerpt  { font-size: 13px; color: var(--muted); line-height: 1.5; margin-bottom: 12px; }
.blog-card .bc-meta     { font-size: 11px; color: var(--muted-2); display: flex; gap: 12px; align-items: center; }

/* ── Newsletter box ─────────────────────────────────────────── */
.tvc-newsletter { background: var(--bg-soft); border: 1.5px solid var(--line); border-radius: var(--radius); }

/* ── Loyalty tier cards ─────────────────────────────────────── */
.tier-card { border: 2px solid var(--line); border-radius: var(--radius-lg); padding: 24px; text-align: center; background: var(--surface); transition: all .2s; }
.tier-card.active { border-color: currentColor; box-shadow: 0 0 0 4px rgba(63,165,107,.12); }
.tier-card .tier-icon  { font-size: 36px; margin-bottom: 8px; display: block; }
.tier-card .tier-name  { font-size: 18px; font-weight: 800; }
.tier-card .tier-min   { font-size: 12px; color: var(--muted-2); margin-bottom: 16px; }
.tier-card .tier-perks { text-align: left; list-style: none; padding: 0; margin: 0; }
.tier-card .tier-perks li { font-size: 13px; color: var(--muted); padding: 4px 0; display: flex; gap: 6px; align-items: flex-start; }
.tier-card .tier-perks li::before { content: '✓'; color: var(--brand); font-weight: 700; flex-shrink: 0; }

/* ── Passport stamps ────────────────────────────────────────── */
.passport-stamps  { display: flex; flex-wrap: wrap; gap: 10px; }
.passport-stamp   { background: linear-gradient(135deg, #0f6e56, #0a4f3c); color: #fff; border-radius: 8px; padding: 8px 14px; font-size: 13px; font-weight: 600; border: 2px dashed rgba(255,255,255,.3); }

/* ── Vibe quiz ──────────────────────────────────────────────── */
.vibe-step         { display: none; }
.vibe-step.active  { display: block; animation: tv-fade-in .3s ease; }
.vibe-option-card  { border: 2px solid var(--line); border-radius: var(--radius-lg); padding: 20px; cursor: pointer; text-align: center; transition: all .2s; background: var(--surface); }
.vibe-option-card:hover    { border-color: var(--brand); }
.vibe-option-card.selected { border-color: var(--brand); background: var(--brand-soft); }
.vibe-option-card .voc-emoji { font-size: 40px; margin-bottom: 8px; display: block; }
.vibe-option-card .voc-label { font-weight: 700; font-size: 15px; }
.vibe-option-card .voc-desc  { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* ── Progress bar ───────────────────────────────────────────── */
.tv-progress      { height: 6px; background: var(--line); border-radius: 3px; overflow: hidden; }
.tv-progress-fill { height: 100%; background: var(--brand); border-radius: 3px; transition: width .4s ease; }

/* ── Filter chips ───────────────────────────────────────────── */
.filter-chip { display: inline-flex; align-items: center; gap: 4px; background: var(--brand-soft); color: var(--brand-2); border: 1px solid var(--brand); border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 600; text-decoration: none; }
.filter-chip .fc-remove { background: none; border: none; color: currentColor; cursor: pointer; padding: 0; font-size: 14px; line-height: 1; }

/* ── CTA banner ─────────────────────────────────────────────── */
.tv-cta-banner { background: linear-gradient(135deg, #0a4f3c, #0f6e56); color: #fff; border-radius: var(--radius-lg); padding: 40px; text-align: center; }
.tv-cta-banner h2 { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.tv-cta-banner p  { opacity: .85; margin-bottom: 20px; }

/* ── Empty state ────────────────────────────────────────────── */
.tv-empty        { text-align: center; padding: 60px 20px; }
.tv-empty .te-icon { font-size: 48px; margin-bottom: 16px; }
.tv-empty h3     { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.tv-empty p      { color: var(--muted); margin-bottom: 20px; }

/* ── Breadcrumb ─────────────────────────────────────────────── */
.tv-breadcrumb   { font-size: 13px; color: var(--muted-2); margin-bottom: 20px; }
.tv-breadcrumb a { color: var(--muted-2); text-decoration: none; }
.tv-breadcrumb a:hover { color: var(--brand); }
.tv-breadcrumb span { margin: 0 6px; }

/* ── btn-brand helper ───────────────────────────────────────── */
.btn-tvc { background: var(--brand); color: #fff !important; border: none; border-radius: var(--radius); padding: 10px 20px; font-weight: 600; cursor: pointer; text-decoration: none !important; display: inline-block; transition: background .2s; }
.btn-tvc:hover { background: var(--brand-2); }

/* ── Browse page layout ─────────────────────────────────────── */
.browse-hero { background: linear-gradient(135deg, #0a3d2e 0%, #0f6e56 100%); padding: 48px 0 36px; }
.browse-hero h1 { font-size: clamp(26px,4vw,40px); font-weight: 900; color: #fff; margin: 0 0 8px; letter-spacing: -.5px; }
.browse-hero p  { font-size: 15px; color: rgba(255,255,255,.85); margin: 0; }
.browse-layout  { display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items: start; margin-top: 28px; }
@media(max-width:991px) { .browse-layout { grid-template-columns: 1fr; } }
.filter-sidebar { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: sticky; top: 80px; }
.filter-sidebar h3 { font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--ink); margin: 0 0 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.filter-group { margin-bottom: 20px; }
.filter-group-label { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--muted-2); margin-bottom: 8px; }
.duration-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.duration-pill  { padding: 5px 12px; border: 1px solid var(--line); border-radius: 99px; font-size: 12px; font-weight: 700; cursor: pointer; color: var(--muted); background: var(--bg-soft); transition: all .15s; user-select: none; }
.duration-pill.active, .duration-pill:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.btn-sidebar-apply { width: 100%; background: var(--brand); color: #fff; border: none; border-radius: 8px; padding: 10px 16px; font-size: 14px; font-weight: 800; cursor: pointer; transition: background .15s; margin-top: 4px; }
.btn-sidebar-apply:hover { background: var(--brand-2); }

/* ── Package / result card ──────────────────────────────────── */
.pkg-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.pkg-card:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }
.pkg-card-img { width: 100%; height: 200px; object-fit: cover; background: linear-gradient(135deg, var(--brand-soft), #d1fae5); display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.pkg-card-body { padding: 16px; }
.pkg-card-title { font-weight: 700; font-size: 15px; line-height: 1.3; color: var(--ink); margin-bottom: 4px; }
.pkg-card-dest  { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.pkg-card-price { font-size: 20px; font-weight: 900; color: var(--brand); }
.pkg-card-meta  { font-size: 12px; color: var(--muted-2); display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.pkg-card .duration-badge { display: inline-flex; align-items: center; gap: 4px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 4px; padding: 2px 8px; font-size: 11px; color: var(--muted); font-weight: 600; }

/* ── Responsive ─────────────────────────────────────────────── */
@media(max-width:640px) {
  .tv-section  { padding: 36px 0; }
  .browse-hero { padding: 32px 0 24px; }
}
