/* ── Wrapper ── */
.fcw-wrap {
    background-color: #0B1120;
    border-radius: 14px;
    padding: 40px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    border: 1px solid #1A2846;
}

/* ── Header ── */
.fcw-header { text-align: center; margin-bottom: 36px; }
.fcw-heading { font-size: 2.2rem; font-weight: 700; color: #fff; margin: 0 0 12px; }
.fcw-subheading { font-size: 1rem; color: #A0ABC0; margin: 0 0 28px; }

/* ── Filter buttons ── */
.fcw-filter-row { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.fcw-filter-btn {
    background: transparent;
    border: 1px solid #2A3B5C;
    color: #A0ABC0;
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all .25s;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.fcw-filter-btn.active {
    background-color: #FFB800;
    border-color: #FFB800;
    color: #0B1120;
    font-weight: 700;
}
.fcw-filter-btn:hover:not(.active) { border-color: #FFB800; color: #FFB800; }

/* ── Body grid ── */
.fcw-body {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 20px;
    margin-bottom: 36px;
}

/* ── Routes column ── */
.fcw-routes {
    background: #0d1628;
    border: 1px solid #1A2846;
    border-radius: 12px;
    padding: 10px 20px;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.fcw-route-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px dashed #1e2e4a;
}
.fcw-route-row:last-child { border-bottom: none; }

.fcw-route-thumb {
    width: 110px;
    height: 75px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}
.fcw-route-info { flex: 1; min-width: 0; }
.fcw-route-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.fcw-arrow { color: #4A5B7C; font-size: 0.9rem; }
.fcw-route-meta { display: flex; gap: 16px; font-size: 0.78rem; color: #7A8BAA; }

.fcw-route-price { text-align: right; flex-shrink: 0; min-width: 70px; }
.fcw-price-from { display: block; font-size: 0.75rem; color: #7A8BAA; }
.fcw-price-val  { display: block; font-size: 1.45rem; font-weight: 700; color: #FFB800; }

/* ── Action button ── */
.fcw-action-btn {
    display: inline-block;
    background-color: #FFB800;
    color: #0B1120;
    border: none;
    padding: 9px 18px;
    border-radius: 7px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity .2s;
}
.fcw-action-btn:hover { opacity: .85; }

/* ── Sidebar ── */
.fcw-sidebar { display: flex; flex-direction: column; gap: 18px; }

/* Deals card */
.fcw-deals-card {
    border-radius: 12px;
    border: 1px solid #FFB800;
    background-color: #1a2540;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    min-height: 220px;
    display: flex;
    align-items: flex-end;
}
.fcw-deals-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.25) 100%);
    z-index: 1;
}
.fcw-deals-body {
    position: relative;
    z-index: 2;
    padding: 24px;
}
.fcw-deals-body h3 { font-size: 1.4rem; font-weight: 700; color: #fff; margin: 0 0 8px; }
.fcw-deals-body p  { font-size: 0.85rem; color: #d0d8e8; margin: 0 0 16px; }

/* Guides card */
.fcw-guides-card {
    background: #0d1628;
    border: 1px solid #1A2846;
    border-radius: 12px;
    padding: 24px;
}
.fcw-guides-card h3 { font-size: 1.1rem; font-weight: 700; color: #fff; margin: 0 0 18px; }
.fcw-guides-list { list-style: none; padding: 0; margin: 0 0 20px; }
.fcw-guides-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.85rem;
    color: #d0d8e8;
    margin-bottom: 13px;
}
.fcw-guide-icon { color: #FFB800; flex-shrink: 0; }

/* ── Partners Carousel ── */
.fcw-partners { border-top: 1px solid #1A2846; padding-top: 28px; text-align: center; overflow: hidden; }
.fcw-partners-title { font-size: 1rem; font-weight: 600; color: #fff; margin: 0 0 18px; }

.fcw-partners-carousel-wrap {
    width: 100%;
    overflow: hidden;
    position: relative;
    /* Fade edges */
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.fcw-partners-track {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: scroll-left 25s linear infinite;
}

/* Pause animation on hover */
.fcw-partners-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 8px)); /* Move by half the track minus gap compensation */ }
}

.fcw-partner-link {
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s ease;
}

.fcw-partner-link:hover {
    transform: translateY(-2px);
}

.fcw-partner {
    border: 1px solid #2A3B5C;
    border-radius: 8px;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 700;
    color: #A0ABC0;
    background: #0d1628;
    min-width: 160px;
    text-align: center;
    transition: border-color 0.2s, color 0.2s;
}

.fcw-partner-link:hover .fcw-partner {
    border-color: #FFB800;
    color: #FFB800;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .fcw-body { grid-template-columns: 1fr; }
    .fcw-wrap { padding: 24px 16px; }
    .fcw-heading { font-size: 1.5rem; }
}
@media (max-width: 540px) {
    .fcw-route-thumb { width: 70px; height: 55px; }
    .fcw-filter-row { flex-direction: column; align-items: center; }
}