/**
 * BFL Landing V2 — Page Styles
 *
 * Scoped to .bfl-v2-landing. All rules start with this class
 * to prevent cascade leak into parent theme or other pages.
 *
 * Loaded conditionally by functions.php when the current page uses
 * the landing-page-template.php template.
 *
 * Version: 0.6.2 (Phase 5.4-fix-G — ElegantIcons @font-face for mmenu)
 */

/* ===========================================================
   FIX-G: @font-face for ElegantIcons (mmenu close-X / back-arrow).
   The GoodLayers page builder normally enqueues elegant-font.css
   site-wide, but V2 landing template bypasses the builder so the
   @font-face never loads. We declare it here so mmenu icon glyphs
   resolve to the icon font instead of falling back to ABeeZee text.
   Relative paths work for both staging (/landing/) and production.
   =========================================================== */
@font-face {
    font-family: 'ElegantIcons';
    src: url('../../../plugins/goodlayers-core/plugins/elegant/ElegantIcons.eot');
    src: url('../../../plugins/goodlayers-core/plugins/elegant/ElegantIcons.eot?#iefix') format('embedded-opentype'),
         url('../../../plugins/goodlayers-core/plugins/elegant/ElegantIcons.woff') format('woff'),
         url('../../../plugins/goodlayers-core/plugins/elegant/ElegantIcons.ttf') format('truetype'),
         url('../../../plugins/goodlayers-core/plugins/elegant/ElegantIcons.svg#ElegantIcons') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ============================================================
   Design tokens
   ============================================================ */
.bfl-v2-landing {
  --bfl-blue:       #0057c7;
  --bfl-blue-dark:  #003d8f;
  --bfl-orange:     #ff5a1f;
  --bfl-orange-bg:  #fff3ec;
  --bfl-orange-br:  #ffd5b8;
  --bfl-orange-fg:  #d84a00;
  --bfl-green:      #008a3e;
  --bfl-ink:        #1a2332;
  --bfl-ink-soft:   #5a6478;
  --bfl-ink-mute:   #a8b0c0;
  --bfl-bg:         #F5F7FA;
  --bfl-surface:    #ffffff;
  --bfl-border:     #e5e9f0;
  --bfl-border-2:   #eef1f6;
  --bfl-chip-bg:    #f5f7fa;

  --bfl-r-sm: 3px;
  --bfl-r-md: 8px;
  --bfl-r-lg: 10px;
  --bfl-r-pill: 16px;

  --bfl-pad-x: 16px;
  --bfl-pad-y: 16px;
  --bfl-max: 720px;
}

/* ============================================================
   SCOPE RESET — neutralize parent theme aggressive styles
   This section is intentionally heavy on !important because we're
   fighting specific parent theme rules we can't change.
   ============================================================ */

.bfl-v2-landing,
.bfl-v2-landing *,
.bfl-v2-landing *::before,
.bfl-v2-landing *::after {
  box-sizing: border-box;
}

.bfl-v2-landing button {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  color: inherit !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  cursor: pointer;
  line-height: inherit !important;
  text-align: left !important;
  border-radius: 0 !important;
  min-height: 0 !important;
  width: auto !important;
  text-decoration: none !important;
}

.bfl-v2-landing button:hover,
.bfl-v2-landing button:focus,
.bfl-v2-landing button:active {
  background: none !important;
  color: inherit !important;
  box-shadow: none !important;
  transform: none !important;
  border-color: transparent !important;
}

/* Let our own button classes layer on top AFTER the reset above */

.bfl-v2-landing [hidden] {
  display: none !important;
}

/* Neutralize parent theme text transforms that might leak in */
.bfl-v2-landing .bfl-v2-banner .badge,
.bfl-v2-landing .bfl-v2-chip,
.bfl-v2-landing .bfl-v2-btn,
.bfl-v2-landing .bfl-v2-tcard .tag,
.bfl-v2-landing .bfl-v2-trust span,
.bfl-v2-landing .bfl-v2-breadcrumb {
  text-transform: none !important;
  letter-spacing: normal !important;
}

/* ============================================================
   Base
   ============================================================ */
.bfl-v2-landing {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI',
               Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--bfl-ink);
  background: var(--bfl-bg);
  font-size: 14px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.bfl-v2-landing a {
  color: var(--bfl-blue);
  text-decoration: none;
}

.bfl-v2-landing h1,
.bfl-v2-landing h2,
.bfl-v2-landing h3 {
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--bfl-ink);
  font-family: inherit;
}

.bfl-v2-landing p { margin: 0; }

/* Shared container */
.bfl-v2-landing .bfl-v2-container {
  max-width: var(--bfl-max);
  margin: 0 auto;
  padding-left:  var(--bfl-pad-x);
  padding-right: var(--bfl-pad-x);
}

/* ============================================================
   Breadcrumb
   ============================================================ */
.bfl-v2-landing .bfl-v2-breadcrumb {
  background: var(--bfl-surface);
  border-bottom: 1px solid var(--bfl-border);
  padding: 10px 0;
  font-size: 11px;
  color: var(--bfl-ink-soft);
}
.bfl-v2-landing .bfl-v2-breadcrumb a { color: var(--bfl-blue); }
.bfl-v2-landing .bfl-v2-breadcrumb .sep {
  color: var(--bfl-ink-mute);
  margin: 0 6px;
}

/* ============================================================
   Banner
   ============================================================ */
.bfl-v2-landing .bfl-v2-banner {
  background: linear-gradient(135deg, var(--bfl-blue) 0%, var(--bfl-blue-dark) 100%);
  color: #fff;
  padding: 18px 0 20px;
}
.bfl-v2-landing .bfl-v2-banner h1 {
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 4px;
  text-transform: none;
  letter-spacing: -0.01em;
}
.bfl-v2-landing .bfl-v2-banner .sub {
  font-size: 12px;
  opacity: 0.85;
  margin-bottom: 12px;
}
.bfl-v2-landing .bfl-v2-banner .badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.bfl-v2-landing .bfl-v2-banner .badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.15);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #fff;
  text-transform: none !important;
}

/* ============================================================
   Top bar
   ============================================================ */
.bfl-v2-landing .bfl-v2-topbar {
  background: var(--bfl-surface);
  border-bottom: 1px solid var(--bfl-border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.bfl-v2-landing .bfl-v2-chips {
  display: flex;
  gap: 8px;
  padding: 10px var(--bfl-pad-x);
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid var(--bfl-border-2);
  max-width: var(--bfl-max);
  margin: 0 auto;
}
.bfl-v2-landing .bfl-v2-chips::-webkit-scrollbar { display: none; }

.bfl-v2-landing .bfl-v2-chip {
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
  padding: 6px 12px !important;
  border-radius: var(--bfl-r-pill) !important;
  background: var(--bfl-chip-bg) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: var(--bfl-ink) !important;
  white-space: nowrap;
  border: 1px solid transparent !important;
  line-height: 1.3 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  min-height: 0 !important;
  width: auto !important;
}
.bfl-v2-landing .bfl-v2-chip.active {
  background: var(--bfl-blue) !important;
  color: #fff !important;
}
.bfl-v2-landing .bfl-v2-chip.trending {
  background: var(--bfl-orange-bg) !important;
  color: var(--bfl-orange-fg) !important;
  border-color: var(--bfl-orange-br) !important;
}

/* Filters + Sort row — contained, NOT full-width */
.bfl-v2-landing .bfl-v2-filters-row {
  display: flex;
  gap: 8px;
  padding: 10px var(--bfl-pad-x);
  max-width: var(--bfl-max);
  margin: 0 auto;
}
.bfl-v2-landing .bfl-v2-btn {
  flex: 1;
  padding: 8px 12px !important;
  border-radius: var(--bfl-r-md) !important;
  border: 1px solid #d4dae5 !important;
  background: var(--bfl-surface) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: var(--bfl-ink) !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: inherit;
  text-transform: none !important;
  letter-spacing: normal !important;
  line-height: 1.3 !important;
  min-height: 0 !important;
  width: auto !important;
}
.bfl-v2-landing .bfl-v2-btn:hover {
  background: var(--bfl-bg) !important;
  border-color: #c0c8d4 !important;
}
.bfl-v2-landing .bfl-v2-btn .count {
  background: var(--bfl-blue) !important;
  color: #fff !important;
  border-radius: 50% !important;
  width: 18px !important;
  height: 18px !important;
  font-size: 10px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  line-height: 1 !important;
}

/* ============================================================
   Results bar
   ============================================================ */
.bfl-v2-landing .bfl-v2-results-bar {
  padding: 12px 0 8px;
  font-size: 11px;
  color: var(--bfl-ink-soft);
  font-weight: 600;
}

/* ============================================================
   Tour list
   ============================================================ */
.bfl-v2-landing .bfl-v2-grid-wrap {
  padding-bottom: 16px;
}
.bfl-v2-landing .bfl-v2-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bfl-v2-landing .bfl-v2-tcard {
  background: var(--bfl-surface);
  border-radius: var(--bfl-r-lg);
  overflow: hidden;
  display: flex;
  border: 1px solid var(--bfl-border);
  position: relative;
  text-decoration: none;
  color: inherit;
}
.bfl-v2-landing .bfl-v2-tcard .img {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  position: relative;
  background-color: #e5e9f0;
  overflow: hidden;
}
.bfl-v2-landing .bfl-v2-tcard .img > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: inherit;
}
.bfl-v2-landing .bfl-v2-tcard .img .rib {
  position: absolute;
  top: 6px;
  left: 6px;
  background: var(--bfl-orange);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 3px 6px;
  border-radius: var(--bfl-r-sm);
  letter-spacing: 0.05em;
  text-transform: uppercase; /* ribbons intentionally uppercase */
  line-height: 1.2;
}
.bfl-v2-landing .bfl-v2-tcard .body {
  padding: 10px 12px;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bfl-v2-landing .bfl-v2-tcard .title {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--bfl-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bfl-v2-landing .bfl-v2-tcard .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.bfl-v2-landing .bfl-v2-tcard .tag {
  font-size: 9px;
  font-weight: 700;
  color: var(--bfl-ink-soft);
  background: #f0f4f9;
  padding: 2px 5px;
  border-radius: var(--bfl-r-sm);
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-transform: none;
}
.bfl-v2-landing .bfl-v2-tcard .rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--bfl-ink-soft);
}
.bfl-v2-landing .bfl-v2-tcard .rating .sc {
  background: var(--bfl-blue);
  color: #fff;
  font-weight: 800;
  font-size: 10px;
  padding: 2px 5px;
  border-radius: var(--bfl-r-sm);
}
.bfl-v2-landing .bfl-v2-tcard .price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: auto;
}
.bfl-v2-landing .bfl-v2-tcard .price {
  font-size: 15px;
  font-weight: 800;
  color: var(--bfl-ink);
  line-height: 1.1;
}
.bfl-v2-landing .bfl-v2-tcard .price .small {
  font-size: 10px;
  font-weight: 500;
  color: var(--bfl-ink-soft);
}
.bfl-v2-landing .bfl-v2-tcard .price .from {
  font-size: 10px;
  font-weight: 500;
  color: var(--bfl-ink-soft);
  margin-right: 2px;
}

/* ============================================================
   Trust strip
   ============================================================ */
.bfl-v2-landing .bfl-v2-trust {
  background: var(--bfl-surface);
  padding: 14px 0;
  border-top: 1px solid var(--bfl-border);
  border-bottom: 1px solid var(--bfl-border);
  font-size: 11px;
  color: var(--bfl-ink);
  font-weight: 600;
}
.bfl-v2-landing .bfl-v2-trust .bfl-v2-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}
.bfl-v2-landing .bfl-v2-trust span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ============================================================
   SEO — refined typography for page-builder content
   ============================================================ */
.bfl-v2-landing .bfl-v2-seo {
  border-top: 1px solid #f0f0f0;
  margin: 24px auto 48px;
  padding: 24px 0 28px;
  color: #2c2c2c;
  font-size: 15px;
  line-height: 1.75;
  background: transparent;
}
.bfl-v2-landing .bfl-v2-seo .bfl-v2-container {
  max-width: 720px;
}
.bfl-v2-landing .bfl-v2-seo > .bfl-v2-container > *:first-child {
  margin-top: 0 !important;
}

/* Heading hierarchy */
.bfl-v2-landing .bfl-v2-seo h2 {
  font-size: 22px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  margin: 36px 0 14px !important;
  padding: 0 !important;
  color: #1a1a1a !important;
  letter-spacing: -0.01em !important;
  text-transform: none !important;
  font-family: inherit !important;
  text-align: left !important;
}
.bfl-v2-landing .bfl-v2-seo h3 {
  font-size: 18px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  margin: 28px 0 10px !important;
  color: #1a1a1a !important;
}
.bfl-v2-landing .bfl-v2-seo h4 {
  font-size: 15px !important;
  font-weight: 600 !important;
  margin: 20px 0 8px !important;
  color: #1a1a1a !important;
}

/* Paragraph rhythm */
.bfl-v2-landing .bfl-v2-seo p {
  margin: 0 0 14px !important;
  padding: 0 !important;
  text-align: left !important;
}

/* Lists */
.bfl-v2-landing .bfl-v2-seo ul,
.bfl-v2-landing .bfl-v2-seo ol {
  margin: 0 0 18px !important;
  padding-left: 24px !important;
}
.bfl-v2-landing .bfl-v2-seo li {
  margin: 5px 0 !important;
  line-height: 1.65 !important;
}

/* Links */
.bfl-v2-landing .bfl-v2-seo a {
  color: #2563eb !important;
  text-decoration: underline !important;
  text-underline-offset: 2px !important;
}
.bfl-v2-landing .bfl-v2-seo a:hover {
  color: #1d4ed8 !important;
}

/* Tables */
.bfl-v2-landing .bfl-v2-seo table {
  width: 100% !important;
  margin: 20px 0 !important;
  border-collapse: collapse !important;
  font-size: 14px !important;
}
.bfl-v2-landing .bfl-v2-seo th,
.bfl-v2-landing .bfl-v2-seo td {
  padding: 9px 12px !important;
  text-align: left !important;
  border-bottom: 1px solid #e5e7eb !important;
  vertical-align: top !important;
}
.bfl-v2-landing .bfl-v2-seo th {
  font-weight: 600 !important;
  color: #1a1a1a !important;
  background: #f9fafb !important;
}
.bfl-v2-landing .bfl-v2-seo tr:nth-child(even) td {
  background: #fafafa !important;
}

/* Strip old GoodLayers wrappers leaked into output */
.bfl-v2-landing .bfl-v2-seo > .bfl-v2-container > div {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

/* Bold text */
.bfl-v2-landing .bfl-v2-seo strong {
  font-weight: 600 !important;
  color: #1a1a1a !important;
}

/* ============================================================
   Phase 3 — interactivity
   ============================================================ */

/* Hide cards via attribute (no !important needed; hidden is semantic) */
.bfl-v2-landing .bfl-v2-tcard[hidden] {
  display: none;
}

/* Empty state already exists inline but we add a baseline */
.bfl-v2-landing .bfl-v2-empty {
  font-size: 13px;
}

/* Smooth active-chip transition */
.bfl-v2-landing .bfl-v2-chip {
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

/* ============================================================
   Phase 3b — sort dropdown + filters modal
   ============================================================ */

/* Sort dropdown */
.bfl-v2-landing .bfl-v2-sort-wrap {
  position: relative;
  flex: 1;
}
.bfl-v2-landing .bfl-v2-sort-wrap > .bfl-v2-btn {
  width: 100%;
}
.bfl-v2-landing .bfl-v2-sort-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--bfl-border);
  border-radius: var(--bfl-r-md);
  box-shadow: 0 10px 30px rgba(15,23,42,0.12);
  padding: 6px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.bfl-v2-landing .bfl-v2-sort-item {
  display: block !important;
  text-align: left !important;
  width: 100% !important;
  padding: 10px 12px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--bfl-ink) !important;
  background: transparent !important;
  border: none !important;
  border-radius: var(--bfl-r-sm) !important;
  line-height: 1.3 !important;
  cursor: pointer;
}
.bfl-v2-landing .bfl-v2-sort-item:hover {
  background: var(--bfl-chip-bg) !important;
}
.bfl-v2-landing .bfl-v2-sort-item.active {
  background: var(--bfl-blue) !important;
  color: #fff !important;
}

/* Filters modal */
.bfl-v2-landing .bfl-v2-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.bfl-v2-landing .bfl-v2-modal[hidden] { display: none; }

.bfl-v2-landing .bfl-v2-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}

.bfl-v2-landing .bfl-v2-modal__sheet {
  position: relative;
  background: #fff;
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -10px 40px rgba(0,0,0,0.18);
  animation: bfl-v2-sheet-in 0.22s ease-out;
}
@keyframes bfl-v2-sheet-in {
  from { transform: translateY(20px); opacity: 0.6; }
  to   { transform: translateY(0);    opacity: 1; }
}

.bfl-v2-landing .bfl-v2-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 10px;
  border-bottom: 1px solid var(--bfl-border-2);
}
.bfl-v2-landing .bfl-v2-modal__head h2 {
  font-size: 16px;
  font-weight: 800;
  color: var(--bfl-ink);
  margin: 0 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}
.bfl-v2-landing .bfl-v2-modal__close {
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  background: var(--bfl-chip-bg) !important;
  color: var(--bfl-ink) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

.bfl-v2-landing .bfl-v2-modal__body {
  padding: 16px;
  overflow-y: auto;
  flex: 1;
}

.bfl-v2-landing .bfl-v2-filter-group {
  margin-bottom: 20px;
}
.bfl-v2-landing .bfl-v2-filter-group:last-child { margin-bottom: 0; }

.bfl-v2-landing .bfl-v2-filter-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--bfl-ink-soft);
  margin: 0 0 8px !important;
}

.bfl-v2-landing .bfl-v2-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.bfl-v2-landing .bfl-v2-fpill {
  padding: 8px 12px !important;
  border-radius: var(--bfl-r-pill) !important;
  background: var(--bfl-chip-bg) !important;
  border: 1px solid transparent !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: var(--bfl-ink) !important;
  line-height: 1.3 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  cursor: pointer;
}
.bfl-v2-landing .bfl-v2-fpill.active {
  background: var(--bfl-blue) !important;
  color: #fff !important;
  border-color: var(--bfl-blue) !important;
}

.bfl-v2-landing .bfl-v2-modal__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px 14px;
  border-top: 1px solid var(--bfl-border-2);
  gap: 12px;
}
.bfl-v2-landing .bfl-v2-modal__clear {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--bfl-blue) !important;
  text-decoration: underline !important;
  background: transparent !important;
  padding: 8px 4px !important;
}
.bfl-v2-landing .bfl-v2-modal__apply {
  padding: 10px 22px !important;
  background: var(--bfl-blue) !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  border-radius: var(--bfl-r-md) !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

/* ============================================================
   Responsive — desktop
   ============================================================ */
@media (min-width: 900px) {
  .bfl-v2-landing { --bfl-max: 1000px; }
  .bfl-v2-landing .bfl-v2-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }
  .bfl-v2-landing .bfl-v2-tcard {
    flex: 0 0 calc(50% - 8px);
  }
  .bfl-v2-landing .bfl-v2-tcard .img {
    width: 160px;
    height: 160px;
  }
  .bfl-v2-landing .bfl-v2-tcard .title {
    font-size: 18px;
    line-height: 1.3;
  }
  .bfl-v2-landing .bfl-v2-tcard .tag {
    font-size: 12px;
    padding: 4px 10px;
  }
  .bfl-v2-landing .bfl-v2-tcard .rating {
    font-size: 13px;
  }
  .bfl-v2-landing .bfl-v2-tcard .rating .sc {
    font-size: 13px;
    padding: 3px 8px;
  }
  .bfl-v2-landing .bfl-v2-tcard .price {
    font-size: 20px;
  }
  .bfl-v2-landing .bfl-v2-tcard .price .from {
    font-size: 12px;
  }
  .bfl-v2-landing .bfl-v2-tcard .price .small {
    font-size: 13px;
  }
  /* Breadcrumb */
  .bfl-v2-landing .bfl-v2-breadcrumb {
    font-size: 13px;
    padding: 14px 0 10px;
  }
  /* Banner */
  .bfl-v2-landing .bfl-v2-banner h1 {
    font-size: 44px;
    line-height: 1.1;
  }
  .bfl-v2-landing .bfl-v2-banner {
    padding: 24px 0 26px;
  }
  .bfl-v2-landing .bfl-v2-banner .sub {
    font-size: 16px;
    margin-top: 4px;
  }
  .bfl-v2-landing .bfl-v2-banner .badges {
    gap: 10px;
    margin-top: 14px;
  }
  .bfl-v2-landing .bfl-v2-banner .badge {
    font-size: 13px;
    padding: 7px 12px;
  }
  /* Chips */
  .bfl-v2-landing .bfl-v2-chip {
    font-size: 14px !important;
    padding: 9px 16px !important;
    gap: 6px;
  }
  /* Filter + sort buttons */
  .bfl-v2-landing .bfl-v2-btn {
    font-size: 14px !important;
    padding: 12px 16px !important;
  }
  .bfl-v2-landing .bfl-v2-btn .count {
    font-size: 12px !important;
    min-width: 20px !important;
    height: 20px !important;
  }
  .bfl-v2-landing .bfl-v2-trust .bfl-v2-container {
    justify-content: center;
  }
  .bfl-v2-landing .bfl-v2-trust {
    padding: 20px 0;
    font-size: 12px;
  }
  /* Results bar */
  .bfl-v2-landing .bfl-v2-results-bar {
    font-size: 14px;
    padding: 24px 0 14px;
  }
  .bfl-v2-landing .bfl-v2-seo {
    padding: 40px 0 56px;
    font-size: 16px;
  }
  .bfl-v2-landing .bfl-v2-seo h2 { font-size: 24px !important; }
  .bfl-v2-landing .bfl-v2-seo h3 { font-size: 19px !important; }

  /* Modal — centered on desktop */
  .bfl-v2-landing .bfl-v2-modal { align-items: center; }
  .bfl-v2-landing .bfl-v2-modal__sheet {
    max-width: 520px;
    border-radius: 14px;
    max-height: 80vh;
  }
}
@media (min-width: 1200px) {
  .bfl-v2-landing { --bfl-max: 1200px; }
  .bfl-v2-landing .bfl-v2-banner h1 { font-size: 52px; }
  .bfl-v2-landing .bfl-v2-banner .sub {
    font-size: 17px;
  }
  .bfl-v2-landing .bfl-v2-banner .badge {
    font-size: 14px;
    padding: 8px 14px;
  }
  .bfl-v2-landing .bfl-v2-chip {
    font-size: 15px !important;
    padding: 10px 18px !important;
  }
  .bfl-v2-landing .bfl-v2-btn {
    font-size: 15px !important;
  }
  .bfl-v2-landing .bfl-v2-tcard .title {
    font-size: 19px;
  }
  .bfl-v2-landing .bfl-v2-tcard .price {
    font-size: 22px;
  }
}
@media (min-width: 1500px) {
  .bfl-v2-landing { --bfl-max: 1280px; }
}

/* ===========================================================
   SEO Section v2 — structured layout components
   (persona grid, audience grid, tips Q&A)
   =========================================================== */

/* Persona recommendation grid */
.bfl-v2-landing .bfl-v2-seo-personas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin: 24px 0 40px !important;
}
.bfl-v2-landing .bfl-v2-seo-persona {
  background: #f9fafb;
  border-radius: 14px;
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.bfl-v2-landing .bfl-v2-seo-persona-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}
.bfl-v2-landing .bfl-v2-seo-persona--firsttimers .bfl-v2-seo-persona-icon { background: #fbeaf0; color: #72243e; }
.bfl-v2-landing .bfl-v2-seo-persona--families    .bfl-v2-seo-persona-icon { background: #faeeda; color: #633806; }
.bfl-v2-landing .bfl-v2-seo-persona--budget      .bfl-v2-seo-persona-icon { background: #eaf3de; color: #27500a; }
.bfl-v2-landing .bfl-v2-seo-persona--couples     .bfl-v2-seo-persona-icon { background: #e6f1fb; color: #0c447c; }

.bfl-v2-landing .bfl-v2-seo-persona-label {
  font-size: 12px;
  color: #6b7280;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.bfl-v2-landing .bfl-v2-seo-persona-pick {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.3;
}
.bfl-v2-landing .bfl-v2-seo-persona-pick a {
  color: #1a1a1a !important;
  text-decoration: none !important;
}
.bfl-v2-landing .bfl-v2-seo-persona-pick a:hover {
  color: #2563eb !important;
  text-decoration: underline !important;
}

/* Audience-tours 2x2 grid */
.bfl-v2-landing .bfl-v2-seo-audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin: 24px 0 40px !important;
}
.bfl-v2-landing .bfl-v2-seo-audience-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 18px 20px;
}
.bfl-v2-landing .bfl-v2-seo-audience-card h2,
.bfl-v2-landing .bfl-v2-seo-audience-card h3 {
  margin: 0 0 12px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
}
.bfl-v2-landing .bfl-v2-seo-audience-card p {
  font-size: 14px !important;
  margin: 8px 0 !important;
  color: #4b5563 !important;
}
.bfl-v2-landing .bfl-v2-seo-audience-card ul {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 0 !important;
}
.bfl-v2-landing .bfl-v2-seo-audience-card li {
  padding: 8px 0 !important;
  border-bottom: 1px solid #f0f1f3 !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
}
.bfl-v2-landing .bfl-v2-seo-audience-card li:last-child {
  border-bottom: none !important;
}
.bfl-v2-landing .bfl-v2-seo-audience-card li a {
  font-weight: 600 !important;
  color: #1a1a1a !important;
  text-decoration: none !important;
}
.bfl-v2-landing .bfl-v2-seo-audience-card li a:hover {
  color: #2563eb !important;
  text-decoration: underline !important;
}

/* Tips Q&A section */
.bfl-v2-landing .bfl-v2-seo-tips {
  margin-top: 40px !important;
}
.bfl-v2-landing .bfl-v2-seo-tips h3 {
  margin: 28px 0 10px !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  color: #1a1a1a !important;
  padding-top: 24px !important;
  border-top: 1px solid #f0f0f0 !important;
}
.bfl-v2-landing .bfl-v2-seo-tips h3:first-child {
  border-top: none !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
}
.bfl-v2-landing .bfl-v2-seo-tips p {
  font-size: 15px !important;
  line-height: 1.7 !important;
  margin: 0 0 12px !important;
  color: #2c2c2c !important;
}

/* Mobile refinements for SEO v2 components */
@media (max-width: 600px) {
  .bfl-v2-landing .bfl-v2-seo {
    margin: 16px auto 40px !important;
    padding-top: 20px !important;
  }
  .bfl-v2-landing .bfl-v2-seo h2 {
    font-size: 21px !important;
    margin: 32px 0 12px !important;
  }
  .bfl-v2-landing .bfl-v2-seo h3 {
    font-size: 17px !important;
  }
  .bfl-v2-landing .bfl-v2-seo-personas {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .bfl-v2-landing .bfl-v2-seo-persona {
    padding: 14px 14px 16px;
  }
  .bfl-v2-landing .bfl-v2-seo-persona-pick {
    font-size: 15px;
  }
  .bfl-v2-landing .bfl-v2-seo-audience-grid {
    grid-template-columns: 1fr;
  }
  .bfl-v2-landing .bfl-v2-seo table {
    font-size: 13px !important;
  }
  .bfl-v2-landing .bfl-v2-seo th,
  .bfl-v2-landing .bfl-v2-seo td {
    padding: 8px 10px !important;
  }
}

/* ===========================================================
   FIX-F: Re-assert elegantIcons font for mmenu icon pseudo-elements.
   The theme's style-core.css uses content "\4d" / "\34" etc. with
   font-family: elegantIcons to render close-X / chevrons via the
   ElegantIcons icon-font. ABeeZee inheritance from
   .traveltour-navigation-font cascade breaks this on landing pages.
   =========================================================== */
html body .mm-navbar .mmenu-custom-close,
html body .mm-navbar .mmenu-custom-close::before,
html body .mm-navbar .mmenu-custom-close::after,
html body .mm-btn,
html body .mm-btn::before,
html body .mm-btn::after,
html body .mm-prev,
html body .mm-prev::before,
html body .mm-prev::after,
html body .mm-next,
html body .mm-next::before,
html body .mm-next::after,
html body .mm-arrow,
html body .mm-arrow::after {
    font-family: "elegantIcons" !important;
}
