/* ============================================================
   Vamonosalv — Mock 01 (Bootstrap Polish)
   Front-page only. Loaded after Bootstrap 5.3 + Inter font.
   ============================================================ */

:root {
    --fs-primary: #1a56db;         /* Richer blue — better brand depth */
    --fs-accent: #f96332;          /* Warm coral-orange — sunset/adventure */
    --fs-accent-light: #ff8a5b;    /* Lighter coral for gradients */
    --fs-bg: #eef2f7;              /* Cooler clean background */
    --fs-card: #ffffff;
    --fs-card-shadow: 0 1px 3px rgba(11,27,43,.06), 0 10px 28px -10px rgba(11,27,43,.14);
    --fs-card-hover: 0 2px 6px rgba(11,27,43,.08), 0 20px 40px -14px rgba(11,27,43,.22);
    --fs-ink: #0b1b2b;
    --fs-ink-mid: #1e3a52;         /* Mid-tone navy */
    --fs-muted: #47627a;           /* WCAG AA: 4.6:1 on white */
    --fs-muted-light: #6b8098;     /* Lighter muted for secondary info */
    --fs-good: #15803d;
    --fs-okay: #c27c00;            /* Darker amber — passes WCAG AA */
    --fs-hot: #dc2626;
    --fs-border: #d6e0eb;
    --fs-border-light: #eaf0f7;
    --fs-radius-sm: 10px;
    --fs-radius-md: 16px;
    --fs-radius-lg: 22px;
}

/* Scope to front page so we don't fight other templates */
body.home,
body.front-page-mock01 {
    background: var(--fs-bg) !important;
    color: var(--fs-ink);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    /* Push content below the fixed dark site-header (≈72px on desktop). */
    padding-top: 72px;
}
@media (max-width: 768px) {
    body.home,
    body.front-page-mock01 { padding-top: 64px; }
}

/* Suppress legacy theme's purple/pink/cyan radial gradient on home only.
   Mock 01 uses a clean light surface; the legacy gradient creates muddy
   tint behind the new layout. */
body.home::before,
body.front-page-mock01::before { display: none !important; }

/* ---------- HERO ---------- */
.fsm-hero {
    position: relative;
    overflow: hidden;
    border-radius: 0 0 32px 32px;
    background: linear-gradient(130deg, #060f1a 0%, #0d2340 45%, #1a3d6b 75%, #1f4068 100%);
    color: #fff;
    padding: 100px 0 68px;
    margin-top: 0;
    box-shadow: 0 8px 40px rgba(0,0,0,.35);
}
@media (max-width: 768px) {
    .fsm-hero { padding: 72px 0 48px; border-radius: 0 0 18px 18px; }
}
.fsm-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(900px 460px at 82% 10%, rgba(120, 190, 255, 0.24) 0%, rgba(120, 190, 255, 0) 64%),
        radial-gradient(760px 420px at 12% 82%, rgba(248, 99, 50, 0.18) 0%, rgba(248, 99, 50, 0) 62%),
        linear-gradient(118deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 42%, rgba(255,255,255,0) 70%),
        repeating-linear-gradient(135deg, rgba(255,255,255,0.028) 0 2px, rgba(255,255,255,0) 2px 15px);
    opacity: .8;
    mix-blend-mode: normal;
    pointer-events: none;
}
.fsm-hero > .container { position: relative; z-index: 2; }
.fsm-hero h1 {
    font-weight: 900;
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    line-height: 1.03;
    margin-bottom: .6rem;
    color: #fff !important;  /* Override Bootstrap/WordPress heading color */
    letter-spacing: -0.03em;
    text-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.fsm-hero h1 .accent {
    background: linear-gradient(90deg, #ff8a5b 0%, #f96332 60%, #e85016 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.fsm-hero p.lead {
    color: rgba(200, 220, 240, 0.92);
    max-width: 600px;
    font-size: 1.05rem;
    line-height: 1.65;
    font-weight: 400;
}

.fsm-freshness {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: rgba(22, 163, 74, .18);
    color: #bbf7d0;
    border: 1px solid rgba(22, 163, 74, .4);
    padding: .3rem .7rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 600;
}
.fsm-freshness .pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, .7);
    animation: fsm-pulse 1.6s infinite;
}
@keyframes fsm-pulse {
    70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* ---------- DEAL OF THE MOMENT ---------- */
.fsm-moment {
    background: rgba(255, 255, 255, .06);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 20px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    grid-template-rows: 1fr auto;
    min-height: 220px;
}
.fsm-moment .img {
    /* Layered gradient ALWAYS shows even if Unsplash fails */
    background:
        linear-gradient(135deg, #1f4068 0%, #ff5a5f 100%);
    background-size: cover;
    background-position: center;
    position: relative;
}
.fsm-moment .img.has-photo {
    background:
        linear-gradient(135deg, rgba(31, 64, 104, .35) 0%, rgba(255, 90, 95, .25) 100%),
        var(--fsm-photo-url, none) center/cover no-repeat,
        linear-gradient(135deg, #1f4068 0%, #ff5a5f 100%);
}
.fsm-moment .img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 50%, #142a44 100%);
}
.fsm-moment .body {
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}
.fsm-moment .tag {
    font-size: .7rem;
    letter-spacing: .18em;
    color: var(--fs-accent-light, #ff8a5b);
    font-weight: 800;
    text-transform: uppercase;
}
.fsm-moment .price {
    font-size: 2.4rem;
    font-weight: 900;
    color: #fff;
}
.fsm-moment .price small {
    font-size: .9rem;
    color: #c9d6e6;
    font-weight: 500;
    margin-left: .3rem;
}
.fsm-moment .route {
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    display: flex;
    align-items: baseline;
    gap: .28rem;
    flex-wrap: wrap;
}
.fsm-route-city { font-weight: 800; }
.fsm-route-code {
    font-size: .68em;
    opacity: .75;
    font-weight: 600;
    letter-spacing: .01em;
}
.fsm-route-sep { opacity: .85; margin: 0 .08rem; }
.fsm-moment a.btn-light,
.fsm-moment a.btn-moment-cta {
    background: linear-gradient(135deg, #f96332, #e03e1a) !important;
    color: #fff !important;
    border: none !important;
    font-weight: 700;
    padding: .55rem 1.25rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(249,99,50,.35);
    text-decoration: none;
    transition: all .18s ease;
    display: inline-flex;
    align-items: center;
    gap: .3rem;
}
.fsm-moment a.btn-light:hover,
.fsm-moment a.btn-moment-cta:hover {
    background: linear-gradient(135deg, #e85820, #c73615) !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(249,99,50,.45);
    transform: translateY(-1px);
}

/* ---------- ORIGIN PILLS ---------- */
.fsm-origin-pills {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    margin-top: 1.25rem;
}
.fsm-origin-pills .pill {
    background: rgba(255, 255, 255, .1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .18);
    padding: .45rem .85rem;
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s ease;
    text-decoration: none;
}
.fsm-origin-pills .pill:hover,
.fsm-origin-pills .pill.active {
    background: #fff;
    color: #0b1b2b;
    border-color: #fff;
    box-shadow: 0 2px 12px rgba(255,255,255,.25);
    transform: translateY(-1px);
}

/* Origin select (mobile-friendly fallback) */
.fsm-origin-select {
    margin-top: 1rem;
    background: rgba(6, 15, 26, 0.65) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, .3) !important;
    padding: .6rem 1rem;
    border-radius: 12px;
    font-weight: 600;
    width: auto;
    max-width: 100%;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right .75rem center !important;
    background-size: 1.1rem !important;
    padding-right: 2.2rem;
}
.fsm-origin-select option { background: #0d2340; color: #fff; }

/* ---------- ORIGIN FOOTER (inside deal-of-moment card) ---------- */
.fsm-origin-footer {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .7rem 1.1rem;
    background: rgba(255,255,255,.03);
    border-top: 1px solid rgba(255,255,255,.08);
    flex-wrap: wrap;
}
.fsm-origin-footer-label {
    font-size: .68rem;
    font-weight: 700;
    color: rgba(200,220,240,.55);
    text-transform: uppercase;
    letter-spacing: .08em;
    flex-shrink: 0;
}
.fsm-origin-pills-row {
    display: flex;
    gap: .4rem;
    flex-wrap: wrap;
    flex: 1;
}
.fsm-origin-pill-sm {
    background: rgba(255,255,255,.09);
    color: rgba(255,255,255,.75);
    border: 1px solid rgba(255,255,255,.16);
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all .15s;
    text-decoration: none;
    display: inline-flex;
    align-items: baseline;
    gap: .35rem;
}
.fsm-origin-pill-sm:hover { background: #fff; color: #0b1b2b; border-color: #fff; }
.fsm-origin-pill-sm.active {
    background: linear-gradient(135deg, #f96332, #e03e1a);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(249,99,50,.4);
}
.fsm-origin-pill-sm-city {
    max-width: 92px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.fsm-origin-pill-sm-code {
    font-size: .82em;
    opacity: .78;
    letter-spacing: .04em;
}

/* ---------- HERO CTA BUTTONS ---------- */
.fsm-cta-row {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    margin-bottom: 1.75rem;
}
.fsm-btn-coral {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(135deg, #f96332, #e03e1a);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 13px 26px;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(249,99,50,.4);
    transition: all .2s;
}
.fsm-btn-coral:hover {
    background: linear-gradient(135deg, #e85820, #c73615);
    box-shadow: 0 4px 18px rgba(249,99,50,.5);
    transform: translateY(-1px);
    color: #fff;
    text-decoration: none;
}
.fsm-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.85);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 10px;
    padding: 12px 22px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    transition: all .2s;
}
.fsm-btn-ghost:hover {
    background: rgba(255,255,255,.14);
    border-color: rgba(255,255,255,.35);
    color: #fff;
    text-decoration: none;
}

/* ---------- HERO STATS STRIP ---------- */
.fsm-stats-strip {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}
.fsm-stat-val {
    font-size: 1.55rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    letter-spacing: -.02em;
}
.fsm-stat-unit { font-size: 1rem; font-weight: 700; color: #ff8a5b; }
.fsm-stat-label {
    font-size: 11px;
    color: rgba(200,220,240,.65);
    margin-top: 3px;
    font-weight: 500;
}
.fsm-section-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: .4rem;
    gap: 1rem;
    flex-wrap: wrap;
}
.fsm-section-title h2 {
    font-weight: 800;
    margin: 0;
    font-size: 1.75rem;
    color: var(--fs-ink);
    letter-spacing: -0.02em;
    line-height: 1.15;
}
.fsm-section-title p {
    color: var(--fs-muted);
    margin: 0;
    font-size: .93rem;
    line-height: 1.5;
}

.fsm-tabs {
    display: flex;
    gap: .4rem;
    flex-wrap: wrap;
    margin: 1rem 0 1.25rem;
}
.fsm-tabs .tab {
    background: var(--fs-card);
    border: 1.5px solid var(--fs-border);
    color: var(--fs-ink);
    padding: .55rem 1.1rem;
    border-radius: var(--fs-radius-sm);
    font-weight: 700;
    font-size: .875rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    transition: all .18s ease;
    letter-spacing: -0.01em;
}
.fsm-tabs .tab:hover {
    border-color: var(--fs-ink-mid);
    background: #f5f8fc;
    transform: translateY(-1px);
}
.fsm-tabs .tab.active {
    background: var(--fs-ink);
    color: #fff;
    border-color: var(--fs-ink);
    box-shadow: 0 3px 10px rgba(11,27,43,.25);
}
.fsm-tabs .tab .count {
    background: rgba(0, 0, 0, .09);
    color: inherit;
    padding: .1rem .45rem;
    border-radius: 6px;
    font-size: .72rem;
    font-weight: 800;
}
.fsm-tabs .tab.active .count {
    background: rgba(255, 255, 255, .2);
}

/* ---------- DEAL CARDS ---------- */
.fsm-deal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 18px;
}
.fsm-deal-card {
    background: var(--fs-card);
    border-radius: var(--fs-radius-md);
    overflow: hidden;
    box-shadow: var(--fs-card-shadow);
    border: 1px solid var(--fs-border-light);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}
.fsm-deal-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--fs-card-hover);
    border-color: var(--fs-border);
}

.fsm-deal-card .photo {
    height: 160px;
    background-size: cover;
    background-position: center;
    background-color: #1f4068;
    /* Default state shows a softer navy gradient (no jarring red).
       When .has-photo is added, the photo replaces this layer. */
    background-image: linear-gradient(135deg, #1f4068 0%, #2d5a8a 50%, #4a7eb5 100%);
    position: relative;
}
.fsm-deal-card .photo.has-photo {
    /* Photo on top, accent gradient as fallback if image 404s. */
    background:
        var(--fsm-card-photo, none) center/cover no-repeat,
        linear-gradient(135deg, #1f4068 0%, #2d5a8a 50%, #4a7eb5 100%);
}
.fsm-deal-card .photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .55));
    pointer-events: none;
}

.fsm-deal-card .badges {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    z-index: 2;
    align-items: flex-start;
    max-width: calc(100% - 20px);
    pointer-events: none;
}
.fsm-badge-score {
    display: inline-flex;
    align-items: center;
    font-size: .7rem;
    font-weight: 800;
    padding: .25rem .55rem;
    border-radius: 8px;
    color: #fff;
    letter-spacing: .5px;
    text-transform: uppercase;
    line-height: 1.15;
    max-width: 100%;
    white-space: nowrap;
}
.fsm-badge-score.great { background: var(--fs-good); }
.fsm-badge-score.hot   { background: var(--fs-hot); }
.fsm-badge-score.okay  { background: var(--fs-okay); }
.fsm-badge-stops {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, .95);
    color: #0b1b2b;
    font-size: .7rem;
    font-weight: 700;
    padding: .25rem .55rem;
    border-radius: 8px;
    line-height: 1.15;
    max-width: 100%;
    white-space: nowrap;
}

.fsm-deal-card .photo .city {
    position: absolute;
    bottom: 10px;
    left: 14px;
    color: #fff;
    font-weight: 800;
    font-size: 1.15rem;
    text-shadow: 0 1px 6px rgba(0, 0, 0, .4);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: .45rem;
}
.fsm-deal-card .photo .city img.flag {
    width: 22px;
    height: 16px;
    border-radius: 3px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .4);
    object-fit: cover;
}

.fsm-deal-card .body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: .55rem;
    flex: 1;
}
.fsm-deal-card .route {
    font-size: .75rem;
    color: var(--fs-muted);
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
    display: flex;
    align-items: baseline;
    gap: .24rem;
    flex-wrap: wrap;
}
.fsm-deal-card .meta {
    display: flex;
    align-items: center;
    gap: .55rem;
    font-size: .84rem;
    color: var(--fs-muted);
    flex-wrap: wrap;
    line-height: 1.4;
}
.fsm-deal-card .meta .airline {
    display: flex;
    align-items: center;
    gap: .35rem;
    font-weight: 700;
    color: var(--fs-ink);
}
.fsm-deal-card .meta .airline img {
    width: 22px;
    height: 22px;
    border-radius: 4px;
    background: #f1f3f7;
    object-fit: contain;
}

.fsm-deal-card .price-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-top: .2rem;
    gap: .5rem;
}
.fsm-deal-card .price {
    font-size: 1.65rem;
    font-weight: 900;
    color: var(--fs-ink);
    letter-spacing: -0.02em;
}
.fsm-deal-card .price small {
    font-size: .7rem;
    color: var(--fs-muted);
    font-weight: 600;
    margin-left: .25rem;
    letter-spacing: 0;
}
.fsm-deal-card .cta {
    background: linear-gradient(135deg, var(--fs-accent) 0%, #e03e1a 100%);
    color: #fff !important;
    border: 0;
    border-radius: var(--fs-radius-sm);
    padding: .55rem 1rem;
    font-weight: 700;
    font-size: .85rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(249,99,50,.3);
    transition: all .18s ease;
}
.fsm-deal-card .cta:hover {
    background: linear-gradient(135deg, #e85820 0%, #c73615 100%);
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(249,99,50,.45);
    transform: translateY(-1px);
}

/* ---------- LOADING / EMPTY ---------- */
.fsm-loading {
    text-align: center;
    padding: 3rem 1rem;
    background: #fff;
    border-radius: 18px;
    border: 1px solid #e6ebf1;
    color: var(--fs-muted);
}
.fsm-spinner {
    width: 38px;
    height: 38px;
    border: 3px solid #e6ebf1;
    border-top-color: var(--fs-primary);
    border-radius: 50%;
    animation: fsm-spin .8s linear infinite;
    margin: 0 auto 1rem;
}
@keyframes fsm-spin { to { transform: rotate(360deg); } }

.fsm-empty-pretty {
    background: #fff;
    border: 1px dashed #d3dbe4;
    border-radius: 18px;
    padding: 36px;
    text-align: center;
    color: var(--fs-muted);
}

/* ---------- TRUST CARDS (light theme variant, opt-1 icon style) ---------- */
.fsm-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.25rem;
}
@media (max-width: 640px) { .fsm-trust-grid { grid-template-columns: 1fr; } }
.fsm-trust-card {
    background: #fff;
    border: 1px solid #e6ebf1;
    border-radius: 16px;
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}
/* Icon badge */
.fsm-trust-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}
.fsm-trust-icon.coral { background: rgba(249,99,50,.1); }
.fsm-trust-icon.cyan  { background: rgba(6,182,212,.1); }
.fsm-trust-icon.green { background: rgba(16,185,129,.1); }
.fsm-trust-title {
    font-size: 1rem;
    font-weight: 800;
    margin: 0;
    color: var(--fs-ink);
    letter-spacing: -0.01em;
}
.fsm-trust-copy {
    font-size: .875rem;
    color: var(--fs-muted);
    line-height: 1.6;
    margin: 0;
}
.fsm-trust-links {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
}
.fsm-trust-link {
    font-size: .82rem;
    font-weight: 600;
    color: var(--fs-primary);
    border: 1px solid #cdd9e7;
    border-radius: 999px;
    padding: .3rem .8rem;
    text-decoration: none;
    background: #fff;
}
.fsm-trust-link:hover {
    background: var(--fs-primary);
    color: #fff;
    border-color: var(--fs-primary);
}

/* ---------- AD-SAFE SLOT (preserved positions) ---------- */
.fsm-ad-safe-slot {
    margin: 1rem auto;
    max-width: 970px;
    border: 1px dashed rgba(0,0,0,0.07);
    border-radius: 10px;
    padding: 0.5rem 0.75rem;
    background: transparent;
    min-height: 90px;  /* reserve space for ads */
    display: flex;
    align-items: center;
    justify-content: center;
}
.fsm-ad-safe-label {
    font-size: .65rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #475569;
    font-weight: 600;
}
/* Hide placeholder copy text — visible only to devs, not end users */
.fsm-ad-safe-copy {
    display: none;
}

/* ---------- ROUTES (popular — ranked 2-col grid, opt-1 style) ---------- */
.fsm-route-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .5rem;
}
@media (max-width: 640px) { .fsm-route-grid { grid-template-columns: 1fr; } }
.fsm-route-row {
    background: #fff;
    border: 1px solid #e6ebf1;
    border-radius: 12px;
    padding: .875rem 1rem;
    display: flex;
    align-items: center;
    gap: .75rem;
    text-decoration: none;
    color: var(--fs-ink);
    transition: all .15s ease;
}
.fsm-route-row:hover {
    border-color: var(--fs-primary);
    box-shadow: 0 4px 16px rgba(249,99,50,.1);
    transform: translateY(-1px);
    color: var(--fs-ink);
    text-decoration: none;
}
.fsm-rr-rank {
    font-size: 11px;
    font-weight: 700;
    color: var(--fs-muted);
    width: 22px;
    text-align: center;
    flex-shrink: 0;
}
.fsm-rr-codes {
    flex: 1;
    font-weight: 800;
    font-size: .875rem;
    line-height: 1.25;
}
.fsm-rr-city {
    display: block;
    font-size: .75rem;
    font-weight: 500;
    color: var(--fs-muted);
    margin-top: 1px;
}
.fsm-rr-price {
    font-size: 1.05rem;
    font-weight: 900;
    white-space: nowrap;
    color: var(--fs-ink);
}
/* Keep legacy pills working in case referenced elsewhere */
.fsm-route-pills {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}
.fsm-route-pill {
    background: #fff;
    border: 1px solid #e6ebf1;
    color: var(--fs-ink);
    padding: .5rem .85rem;
    border-radius: 12px;
    text-decoration: none;
    font-size: .85rem;
    font-weight: 600;
    transition: all .15s ease;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}
.fsm-route-pill:hover {
    border-color: var(--fs-primary);
    color: var(--fs-primary);
    transform: translateY(-1px);
}
.fsm-route-pill strong { color: var(--fs-good); }

/* ---------- MAP CARD (opt-1 split layout) ---------- */
.fsm-map-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #eaf0f7;
    box-shadow: 0 1px 3px rgba(11,27,43,.06), 0 10px 28px -10px rgba(11,27,43,.14);
    display: grid;
    grid-template-columns: 1fr 340px;
    min-height: 210px;
}
@media (max-width: 768px) { .fsm-map-card { grid-template-columns: 1fr; } }
.fsm-map-visual {
    background: linear-gradient(135deg, #060f1a 0%, #0d2340 55%, #1a3d6b 100%);
    position: relative;
    overflow: hidden;
    min-height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.fsm-map-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 40% 55%, rgba(6,182,212,.18) 0%, transparent 70%),
        radial-gradient(ellipse 50% 50% at 70% 30%, rgba(249,99,50,.12) 0%, transparent 65%);
    pointer-events: none;
}
.fsm-map-visual svg { position: relative; z-index: 1; opacity: .6; }
.fsm-map-coming {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    padding: 5px 13px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 600;
    z-index: 2;
}
.fsm-map-copy {
    padding: 2rem 2.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .75rem;
}
.fsm-map-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--fs-primary);
    margin-bottom: 2px;
}
/* Specificity boost for h3 inside map copy */
body .fsm-map-copy h3,
.fsm-map-copy h3 {
    font-weight: 800 !important;
    color: var(--fs-ink) !important;
    font-size: 1.3rem;
    line-height: 1.2;
    margin: 0;
}
body .fsm-map-copy p,
.fsm-map-copy p {
    font-size: .9rem;
    color: var(--fs-muted) !important;
    line-height: 1.6;
    margin: 0;
}
.fsm-btn-outline-ink {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1.5px solid var(--fs-ink);
    color: var(--fs-ink);
    border-radius: 10px;
    padding: 9px 20px;
    font-size: 13.5px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    width: fit-content;
    transition: all .18s;
}
.fsm-btn-outline-ink:hover {
    background: var(--fs-ink);
    color: #fff;
    text-decoration: none;
}
/* Keep legacy .fsm-map-cta as no-op so nothing breaks if referenced */
.fsm-map-cta { display: none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
    .fsm-moment { grid-template-columns: 1fr; }
    .fsm-moment .img { min-height: 160px; }
    .fsm-moment .img::after {
        background: linear-gradient(180deg, transparent 50%, #142a44 100%);
    }
    .fsm-map-card { grid-template-columns: 1fr; }
    .fsm-section-title { flex-direction: column; align-items: start; }
}

/* ---------- HIDE LEGACY THEME HERO/SECTIONS ON FRONT PAGE ----------
   The legacy template had .fs-hero / .fs-notice etc. with dark styling.
   On front page only, mock 01 layout fully replaces them. We do not
   touch those styles globally because /deals/ and other pages use them.
*/
body.home .fs-hero,
body.home .fs-notice,
body.home .fs-cta-section { /* mock01 doesn't render legacy sections; defensive only */ }

/* ============================================================
   SITE-WIDE AVAILABILITY (v2.5.0)
   Bootstrap + this polish stylesheet are now loaded on every page
   so any page that ADOPTS Mock 01 markup (`.fsm-*` classes) will
   render correctly. This block intentionally does NOT override
   legacy page styling — pages like /about/, /deals/, /contact/
   use a dark gradient + white text layout that must remain intact
   until those templates are individually migrated to Mock 01.

   Rule of thumb: add site-wide rules here ONLY if they target
   `.fsm-*` or `.fs-mock-*` classes. Never target raw `body`,
   `body::before`, or generic tags in this block.
   ============================================================ */

/* (reserved for future Mock 01 migrations of /deals/, /search/, etc.) */

/* ============================================================
   MOCK 01 SITE-WIDE SCAFFOLDING (v2.6.0)
   Scoped to `body.fs-mock01` (home + any template that called
   `fs_mock01_enable()`). Safe because Bootstrap + this file are
   only enqueued for those pages — legacy templates never see it.
   ============================================================ */

body.fs-mock01 {
    background: var(--fs-bg) !important;
    color: var(--fs-ink);
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    padding-top: 72px;
}
@media (max-width: 768px) {
    body.fs-mock01 { padding-top: 64px; }
}

/* Suppress the legacy theme's global purple/pink/cyan gradient on every
   Mock 01 page (home already did this; extend to inner pages). */
body.fs-mock01::before { display: none !important; }

/* Typography cohesion across Mock 01 inner pages */
body.fs-mock01 h1,
body.fs-mock01 h2,
body.fs-mock01 h3,
body.fs-mock01 h4,
body.fs-mock01 h5 {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--fs-ink);
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.15;
    margin-top: 0;
}
body.fs-mock01 p { color: #334152; line-height: 1.7; }
body.fs-mock01 a { color: var(--fs-primary); text-decoration: none; }
body.fs-mock01 a:hover { color: #0a58ca; text-decoration: underline; }

/* Keep header nav readable on dark header (global link color is blue on light UI). */
body.fs-mock01 .site-header .main-navigation a {
    color: rgba(226, 232, 240, 0.92) !important;
}
body.fs-mock01 .site-header .main-navigation a:hover,
body.fs-mock01 .site-header .main-navigation .current-menu-item a {
    color: #ffffff !important;
}

/* ---------- Inner page hero (compact variant of .fsm-hero) ---------- */
.fsm-page-hero {
    position: relative;
    overflow: hidden;
    border-radius: 0 0 24px 24px;
    background: linear-gradient(120deg, #0b1b2b 0%, #142a44 60%, #1f4068 100%);
    color: #fff;
    padding: 80px 0 52px;
    margin-bottom: 1.5rem;
}
.fsm-page-hero.fsm-hero-compact { padding: 72px 0 44px; }
.fsm-page-hero.fsm-hero-accent {
    background: linear-gradient(120deg, #0b1b2b 0%, #0f2540 55%, #1a3a5c 100%);
}
.fsm-page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(760px 360px at 84% 16%, rgba(120, 190, 255, 0.2) 0%, rgba(120, 190, 255, 0) 62%),
        radial-gradient(540px 300px at 8% 86%, rgba(248, 99, 50, 0.16) 0%, rgba(248, 99, 50, 0) 60%),
        linear-gradient(120deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.015) 44%, rgba(255,255,255,0) 72%),
        repeating-linear-gradient(140deg, rgba(255,255,255,0.022) 0 2px, rgba(255,255,255,0) 2px 16px);
    opacity: .75;
    mix-blend-mode: normal;
    pointer-events: none;
}
.fsm-page-hero > .container { position: relative; z-index: 2; }
.fsm-page-hero h1 {
    font-weight: 900;
    font-size: clamp(2.1rem, 4.5vw, 3.2rem);
    color: #fff !important;  /* Override Bootstrap heading color */
    margin: .3rem 0 .65rem;
    letter-spacing: -0.03em;
    line-height: 1.08;
    text-shadow: 0 2px 14px rgba(0,0,0,.35);
}
.fsm-page-hero .lead {
    color: #d4e0ed;
    max-width: 640px;
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.55;
}
.fsm-page-kicker {
    display: inline-block;
    font-size: .72rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--fs-accent-light, #ff8a5b);
    font-weight: 800;
    margin-bottom: .45rem;
    opacity: 1;
    background: rgba(249,99,50,0.15);
    padding: .2rem .6rem;
    border-radius: 4px;
}
@media (max-width: 768px) {
    .fsm-page-hero { padding: 60px 0 36px; border-radius: 0 0 16px 16px; }
}

/* ---------- Page article / entry content (about, privacy, disclaimer) ---------- */
.fsm-page { min-height: 40vh; }
.fsm-page-article {
    max-width: 820px;
    margin: 0 auto;
}
.fsm-page-header { padding: 1rem 0 1.5rem; }
.fsm-page-title {
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    font-weight: 900;
    margin: 0 0 .5rem;
}
.fsm-page-lead {
    color: var(--fs-muted);
    font-size: 1.05rem;
    max-width: 640px;
    margin: 0 auto;
}

.fsm-page-content {
    background: var(--fs-card);
    border: 1px solid rgba(11, 27, 43, 0.06);
    border-radius: 18px;
    padding: 1.75rem 2rem;
    box-shadow: 0 2px 12px rgba(11, 27, 43, 0.04);
    line-height: 1.7;
}
.fsm-page-content h1,
.fsm-page-content h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 1.5rem 0 .75rem; }
.fsm-page-content h3 { font-size: 1.2rem; margin: 1.25rem 0 .5rem; }
.fsm-page-content p { margin: 0 0 1rem; }
.fsm-page-content ul,
.fsm-page-content ol { padding-left: 1.25rem; margin: .5rem 0 1.25rem; }
.fsm-page-content li { margin-bottom: .35rem; }
.fsm-page-content img { border-radius: 12px; max-width: 100%; height: auto; margin: 1rem 0; }
.fsm-page-content a { color: var(--fs-primary); text-decoration: underline; text-underline-offset: 2px; }
.fsm-page-content blockquote {
    border-left: 3px solid var(--fs-primary);
    padding: .25rem 0 .25rem 1rem;
    margin: 1.25rem 0;
    color: var(--fs-muted);
    font-style: italic;
}
.fsm-page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}
.fsm-page-content table th {
    background: #f1f4f9;
    text-align: left;
    padding: .6rem .9rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(11, 27, 43, 0.08);
}
.fsm-page-content table td {
    padding: .55rem .9rem;
    border-bottom: 1px solid rgba(11, 27, 43, 0.05);
}
@media (max-width: 768px) {
    .fsm-page-content { padding: 1.25rem 1rem; border-radius: 14px; }
}

/* ---------- Shortcode wrapper (deals / search / last-minute) ----------
   The Vamonosalv plugin shortcodes render their own markup. We give them
   a soft surface + consistent horizontal padding, and restyle the most
   common plugin classes so they feel native to Mock 01. If a plugin
   control or card is missed, it still works — it just keeps legacy look
   until we explicitly restyle it.
*/
.fsm-shortcode-wrap {
    background: var(--fs-card);
    border: 1px solid rgba(11, 27, 43, 0.06);
    border-radius: 18px;
    padding: 1.25rem;
    box-shadow: 0 2px 12px rgba(11, 27, 43, 0.04);
}
@media (max-width: 768px) {
    .fsm-shortcode-wrap { padding: 1rem; border-radius: 14px; }
}

/* Plugin card override — some plugin markup uses .fs-deal-card / .fs-card */
body.fs-mock01 .fs-deal-card,
body.fs-mock01 .fs-card,
body.fs-mock01 .fs-route-card {
    background: #fff;
    border: 1px solid rgba(11, 27, 43, 0.06);
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(11, 27, 43, 0.04), 0 6px 18px -10px rgba(11, 27, 43, 0.12);
    color: var(--fs-ink);
    transition: transform .15s ease, box-shadow .15s ease;
}
body.fs-mock01 .fs-deal-card:hover,
body.fs-mock01 .fs-card:hover,
body.fs-mock01 .fs-route-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(11, 27, 43, 0.06), 0 14px 28px -12px rgba(11, 27, 43, 0.2);
}

/* Plugin text color corrections inside Mock 01 pages */
body.fs-mock01 .fs-deal-card,
body.fs-mock01 .fs-deal-card *:not(.fs-badge):not(.fs-btn):not(a),
body.fs-mock01 .fs-card,
body.fs-mock01 .fs-card *:not(.fs-badge):not(.fs-btn):not(a) {
    color: var(--fs-ink);
}
body.fs-mock01 .fs-muted,
body.fs-mock01 .text-muted { color: var(--fs-muted) !important; }

/* Buttons inside Mock 01 pages (plugin often uses .fs-btn / .btn-primary) */
body.fs-mock01 .fs-btn,
body.fs-mock01 .btn-primary {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    border: 0;
    color: #fff;
    border-radius: 10px;
    font-weight: 600;
    padding: .55rem 1.1rem;
    transition: transform .15s ease, box-shadow .15s ease;
}
body.fs-mock01 .fs-btn:hover,
body.fs-mock01 .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(13, 110, 253, 0.3);
    color: #fff;
}

/* Forms inside Mock 01 pages (search filters, etc.) */
body.fs-mock01 input[type="text"],
body.fs-mock01 input[type="search"],
body.fs-mock01 input[type="email"],
body.fs-mock01 input[type="number"],
body.fs-mock01 input[type="date"],
body.fs-mock01 select,
body.fs-mock01 textarea {
    border: 1px solid rgba(11, 27, 43, 0.12);
    border-radius: 10px;
    padding: .55rem .85rem;
    font-family: inherit;
    font-size: .95rem;
    background: #fff;
    color: var(--fs-ink);
    transition: border-color .15s ease, box-shadow .15s ease;
    width: 100%;
}
body.fs-mock01 input:focus,
body.fs-mock01 select:focus,
body.fs-mock01 textarea:focus {
    outline: none;
    border-color: var(--fs-primary);
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
}
body.fs-mock01 label {
    font-size: .85rem;
    font-weight: 600;
    color: var(--fs-ink);
    margin-bottom: .3rem;
    display: block;
}

/* Premium search shortcode uses a dark panel; keep field labels high-contrast. */
body.fs-mock01 .fs-search-page .fs-field-label,
body.fs-mock01 .fs-search-page .fs-passenger-label,
body.fs-mock01 .fs-search-page .fs-filter-label,
body.fs-mock01 .fs-search-page .fs-results-sort label {
    color: rgba(226, 232, 240, 0.92);
}

/* Generic plugin hero inside Mock 01 (suppressed — we use .fsm-page-hero) */
body.fs-mock01 .site-container > .hero-section,
body.fs-mock01 .fs-deals-hero,
body.fs-mock01 .fs-last-minute-hero,
body.fs-mock01 .fs-search-hero {
    display: none;
}

/* Keep Gravity Forms / WP default form look usable on Mock 01 contact page */
body.fs-mock01 .wpcf7 input[type="submit"],
body.fs-mock01 .contact-form button[type="submit"] {
    background: var(--fs-ink);
    color: #fff;
    border: 0;
    border-radius: 10px;
    font-weight: 700;
    padding: .65rem 1.3rem;
    cursor: pointer;
}
body.fs-mock01 .wpcf7 input[type="submit"]:hover,
body.fs-mock01 .contact-form button[type="submit"]:hover {
    background: var(--fs-primary);
}

/* Footer cohesion on Mock 01 inner pages (legacy footer is dark — that's fine) */
body.fs-mock01 .site-footer {
    margin-top: 3rem;
}

/* ============================================================
   GLOBAL CONTRAST FIXES (v2.7.0)
   Boost faint text on dark plugin pages: Weekend Escapes,
   Deals, and any legacy template using vamonosalv-filter-group.
   These rules are safe to apply globally because they only
   target dark-background plugin containers where white text
   at rgba(255,255,255,0.5) fails WCAG AA contrast.
   ============================================================ */

/* Weekend Escapes + Deals: filter group labels were rgba(255,255,255,0.5)
   via --fs-text-muted. Boost to high-contrast white on dark bg. */
.vamonosalv-filter-group label,
.vamonosalv-filter-group .vamonosalv-filter-label {
    color: rgba(255, 255, 255, 0.92) !important;
}

/* Ensure the filters container always has a solid dark background
   (--fs-bg-glass is rgba(255,255,255,0.05) = effectively transparent).
   Prevents white-on-white on any light-body page. */
.vamonosalv-filters {
    background: #1a2e44 !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
}

/* Secondary text on dark plugin pages — boost from 0.7 to 0.88 */
.fs-deals-page .fs-text-secondary,
.fs-weekend-page .fs-text-secondary,
.fs-route-page .fs-text-secondary {
    color: rgba(255, 255, 255, 0.88) !important;
}

body.fs-mock01 .footer-copyright {
    color: #475569 !important;
}

/* Dark plugin pages should not inherit light-page label/link colors. */
body.fs-mock01 .fs-deals-page label,
body.fs-mock01 .fs-deals-page .fs-flight-count,
body.fs-mock01 .fs-deals-page .fs-flight-count span,
body.fs-mock01 .fs-deals-page .fs-view-flights-btn,
body.fs-mock01 .fs-deals-page .fs-view-flights-btn span,
body.fs-mock01 .fs-route-page .fs-filters-title,
body.fs-mock01 .fs-route-page .fs-filter-label,
body.fs-mock01 .fs-route-page .fs-breadcrumb a,
body.fs-mock01 .fs-route-page label,
body.fs-mock01 .fs-rr-widget .fs-rr-section-title,
body.fs-mock01 .fs-rr-widget .fs-rr-section-sub,
body.fs-mock01 .fs-rr-widget label {
    color: rgba(226, 232, 240, 0.92) !important;
}

body.fs-mock01 .vamonosalv-weekend-card .vamonosalv-currency,
body.fs-mock01 .vamonosalv-weekend-card .vamonosalv-meta,
body.fs-mock01 .vamonosalv-weekend-card .vamonosalv-stops {
    color: #334155 !important;
}
