/**
 * ==============================================================================
 * FilterFlights - Fixed Departure Banners & Promotional Graphics Stylesheet
 * File: public/assets/css/fixed-departures.css
 * ==============================================================================
 */

/* ------------------------------------------------------------------------------
   1. FIXED DEPARTURES HERO SECTION
   ------------------------------------------------------------------------------ */
.ff-fixed-hero {
    background: radial-gradient(circle at 10% 20%, rgba(16, 185, 129, 0.12) 0%, transparent 45%),
                radial-gradient(circle at 90% 80%, rgba(2, 132, 199, 0.14) 0%, transparent 40%),
                linear-gradient(135deg, #071322 0%, #0c2340 50%, #091e36 100%);
    padding: 3.25rem 0 3.75rem;
    position: relative;
    overflow: hidden;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ff-fixed-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.6;
    pointer-events: none;
}

.ff-fixed-hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    position: relative;
    z-index: 2;
}

.ff-fixed-hero-content {
    max-width: 680px;
}

.ff-fixed-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.16);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #34d399;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1.15rem;
    letter-spacing: 0.02em;
    backdrop-filter: blur(8px);
}

.ff-fixed-hero-title {
    font-size: clamp(1.85rem, 3.2vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

.ff-fixed-hero-title span {
    background: linear-gradient(135deg, #38bdf8 0%, #34d399 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ff-fixed-hero-subtitle {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #cbd5e1;
    margin-bottom: 1.5rem;
}

.ff-fixed-hero-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.ff-fixed-hero-guarantee {
    text-align: right;
}

.ff-hero-guarantee-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-xl);
    padding: 1.75rem 2rem;
    backdrop-filter: blur(10px);
    max-width: 340px;
    text-align: left;
}

.ff-hero-guarantee-badge {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #34d399;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.ff-hero-guarantee-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.65rem;
}

.ff-hero-guarantee-text {
    font-size: 0.85rem;
    color: #94a3b8;
    line-height: 1.5;
    margin: 0;
}

.ff-fixed-main-section {
    padding: 2rem 0 5rem;
    background: var(--color-gray-50);
}

.ff-mobile-filter-bar {
    display: none;
}

.ff-mobile-filter-toggle-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 1px solid var(--color-gray-200);
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-lg);
    font-weight: 700;
    color: var(--color-primary-950);
    font-size: 0.95rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    cursor: pointer;
    transition: var(--transition-base);
}

.ff-mobile-filter-toggle-btn:hover {
    border-color: var(--color-accent);
}

.ff-mobile-filter-reset-badge {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #dc2626;
    text-decoration: none;
    background: #fee2e2;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
}

.ff-fixed-hero-actions .ff-btn-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    padding: 0.75rem 1.35rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition-base);
    backdrop-filter: blur(8px);
}

.ff-fixed-hero-actions .ff-btn-phone:hover {
    background: #ffffff;
    color: var(--color-primary-950);
    transform: translateY(-2px);
}

.ff-fixed-hero-actions .ff-btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #25d366;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
    transition: var(--transition-base);
}

.ff-fixed-hero-actions .ff-btn-whatsapp:hover {
    background: #1ebc59;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

/* ------------------------------------------------------------------------------
   2. FILTER CARD
   ------------------------------------------------------------------------------ */
.ff-fixed-filter-card {
    background: #ffffff;
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-xl);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    padding: 1.5rem 1.75rem;
    margin-bottom: 2.25rem;
}

.ff-fixed-filter-grid {
    display: grid;
    grid-template-columns: 1.25fr 1.25fr 1.25fr auto;
    gap: 1rem;
    align-items: flex-end;
}

.ff-filter-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.ff-filter-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-gray-600, #475569);
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0;
}

.ff-filter-label i {
    color: var(--color-accent, #0284c7);
}

.ff-filter-select,
.ff-filter-input {
    width: 100%;
    height: 44px;
    background: var(--color-gray-50, #f8fafc);
    border: 1.5px solid var(--color-gray-200, #e2e8f0);
    border-radius: var(--radius-md, 8px);
    padding: 0 0.85rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary-950, #0a2540);
    outline: none;
    transition: var(--transition-fast, all 0.15s ease);
    cursor: pointer;
}

.ff-filter-select:focus,
.ff-filter-input:focus {
    background: #ffffff;
    border-color: var(--color-accent, #0284c7);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.ff-filter-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    height: 44px;
}

.ff-filter-submit-btn {
    height: 44px;
    background: var(--color-primary-950, #0a2540);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-md, 8px);
    padding: 0 1.35rem;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: var(--transition-base, all 0.25s ease);
    white-space: nowrap;
}

.ff-filter-submit-btn:hover {
    background: var(--color-accent, #0284c7);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.ff-filter-reset-btn {
    height: 44px;
    background: var(--color-gray-100, #f1f5f9);
    border: 1px solid var(--color-gray-300, #cbd5e1);
    color: var(--color-gray-700, #334155);
    border-radius: var(--radius-md, 8px);
    padding: 0 0.95rem;
    font-size: 0.8125rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    transition: var(--transition-fast, all 0.15s ease);
    white-space: nowrap;
}

.ff-filter-reset-btn:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #b91c1c;
}

/* Results Header Strip */
.ff-results-summary-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--color-gray-200);
}

.ff-results-count-box {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.ff-results-count-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-primary-950, #0a2540);
    margin: 0;
    letter-spacing: -0.01em;
}

.ff-results-count-badge {
    background: rgba(0, 180, 216, 0.12);
    color: var(--color-accent-dark, #0284c7);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-full);
}

/* ------------------------------------------------------------------------------
   3. PROMOTIONAL FLYER CARDS GRID
   ------------------------------------------------------------------------------ */
.ff-flyer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3.5rem;
}

.ff-flyer-card {
    background: #ffffff;
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-xl);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.ff-flyer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(10, 37, 64, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
    border-color: rgba(2, 132, 199, 0.35);
}

/* ==========================================================================
   Skeleton Shimmer Loading Animation for Flyer Images
   ========================================================================== */
@keyframes ffFlyerSkeletonShimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Flyer Image Shell with Hover Zoom Action (3:4 Portrait Ratio) & Skeleton Shimmer */
.ff-flyer-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    min-height: 280px;
    background: linear-gradient(90deg, #0f172a 0%, #1e293b 25%, #334155 50%, #1e293b 75%, #0f172a 100%);
    background-size: 200% 100%;
    animation: ffFlyerSkeletonShimmer 2.2s infinite ease-in-out;
    overflow: hidden;
    cursor: pointer;
}

/* Centered aircraft watermark inside skeleton during download */
.ff-flyer-img-wrap::before {
    content: '\f072';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.08);
    pointer-events: none;
    z-index: 1;
}

.ff-flyer-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    position: relative;
    z-index: 2;
    transition: transform 0.4s ease;
}

.ff-flyer-card:hover .ff-flyer-img {
    transform: scale(1.04);
}

.ff-flyer-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.6) 100%);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: opacity 0.3s ease;
}

.ff-flyer-card:hover .ff-flyer-overlay {
    opacity: 1;
}

.ff-flyer-zoom-btn {
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-primary-950);
    border: none;
    border-radius: var(--radius-full);
    padding: 0.65rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.ff-flyer-zoom-btn:hover {
    transform: scale(1.05);
    background: #ffffff;
}

/* Badges floating on image */
.ff-flyer-badge-top-left {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    background: rgba(16, 185, 129, 0.92);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.ff-flyer-badge-top-right {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    background: rgba(245, 158, 11, 0.92);
    color: #1e293b;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Flyer Body */
.ff-flyer-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.ff-flyer-meta-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.65rem;
}

.ff-flyer-airline {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ff-flyer-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-primary-950);
    margin: 0 0 1rem 0;
    line-height: 1.35;
}

/* Pills Bar */
.ff-flyer-pills-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 1.25rem;
}

.ff-flyer-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--color-gray-100);
    border-radius: var(--radius-sm);
    padding: 0.25rem 0.55rem;
    font-size: 0.72rem;
    color: var(--color-gray-700);
    font-weight: 600;
}

.ff-flyer-pill-date {
    background: rgba(16, 185, 129, 0.12);
    color: #047857;
    font-weight: 700;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.ff-flyer-pill-seats {
    background: rgba(245, 158, 11, 0.14);
    color: #92400e;
    font-weight: 700;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

/* Pricing Row */
.ff-flyer-pricing-block {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding-top: 1rem;
    margin-top: auto;
    border-top: 1px solid var(--color-gray-100);
    margin-bottom: 1.15rem;
}

.ff-flyer-price-left {
    display: flex;
    flex-direction: column;
}

.ff-flyer-from-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-gray-500);
}

.ff-flyer-price-group {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.ff-flyer-retail-price {
    font-size: 0.9rem;
    color: var(--color-gray-400);
    text-decoration: line-through;
    font-weight: 600;
}

.ff-flyer-fare-price {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--color-primary-950);
    line-height: 1;
}

.ff-flyer-savings-tag {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
    border-radius: var(--radius-sm);
    padding: 0.2rem 0.5rem;
    font-size: 0.72rem;
    font-weight: 700;
}

/* Actions */
.ff-flyer-actions-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.65rem;
}

.ff-btn-flyer-wa {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #25d366;
    color: #ffffff;
    height: 42px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition-base);
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.25);
}

.ff-btn-flyer-wa:hover {
    background: #1ebc59;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}

.ff-btn-flyer-call {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 42px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-gray-200);
    background: #ffffff;
    color: var(--color-gray-700);
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition-base);
}

.ff-btn-flyer-call:hover {
    background: var(--color-primary-950);
    color: #ffffff;
    border-color: var(--color-primary-950);
}

/* ------------------------------------------------------------------------------
   4. INTERACTIVE LIGHTBOX MODAL
   ------------------------------------------------------------------------------ */
.ff-lightbox-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.ff-lightbox-modal.active {
    display: flex;
}

.ff-lightbox-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10, 20, 35, 0.88);
    backdrop-filter: blur(8px);
    cursor: pointer;
}

.ff-lightbox-content {
    position: relative;
    z-index: 10;
    background: #ffffff;
    border-radius: var(--radius-xl);
    max-width: 620px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
    animation: ffLightboxFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes ffLightboxFadeIn {
    from {
        opacity: 0;
        transform: scale(0.94);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.ff-lightbox-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    cursor: pointer;
    touch-action: manipulation;
    z-index: 20;
    transition: background 0.2s;
}

.ff-lightbox-close:hover {
    background: #000000;
}

.ff-lightbox-img {
    width: 100%;
    max-height: 65vh;
    max-height: 65dvh;
    object-fit: contain;
    background: #0f172a;
    display: block;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.ff-lightbox-footer {
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    background: #ffffff;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

/* ------------------------------------------------------------------------------
   5. HOW FIXED DEPARTURES WORK STRIP
   ------------------------------------------------------------------------------ */
.ff-how-it-works-strip {
    background: #ffffff;
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    margin-top: 1.5rem;
    margin-bottom: 3.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.ff-how-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.ff-how-header h3 {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--color-primary-950);
    margin-bottom: 0.5rem;
}

.ff-how-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.ff-how-item {
    text-align: center;
    padding: 1rem;
}

.ff-how-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin: 0 auto 1rem;
}

.ff-how-item h4 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--color-primary-950);
    margin-bottom: 0.5rem;
}

.ff-how-item p {
    font-size: 0.85rem;
    color: var(--color-gray-600);
    line-height: 1.55;
    margin: 0;
}

/* ------------------------------------------------------------------------------
   6. PAGINATION UI
   ------------------------------------------------------------------------------ */
.ff-pagination-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 3.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-gray-200);
}

.ff-pagination-count {
    font-size: 0.88rem;
    color: var(--color-gray-600);
    font-weight: 600;
}

.ff-pagination-list {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ff-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0 0.85rem;
    border-radius: var(--radius-md);
    background: #ffffff;
    border: 1px solid var(--color-gray-200);
    color: var(--color-primary-950);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    touch-action: manipulation;
    transition: var(--transition-fast);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.ff-page-btn:hover:not(.disabled) {
    background: var(--color-accent-light);
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.ff-page-btn.active {
    background: var(--color-primary-950);
    border-color: var(--color-primary-950);
    color: #ffffff;
    cursor: default;
    box-shadow: 0 2px 8px rgba(10, 37, 64, 0.25);
}

.ff-page-btn.disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
    background: var(--color-gray-100);
    border-color: var(--color-gray-200);
    color: var(--color-gray-400);
}

.ff-page-btn.prev-next {
    gap: 0.4rem;
    padding: 0 1rem;
}

/* ------------------------------------------------------------------------------
   7. RESPONSIVE BREAKPOINTS
   ------------------------------------------------------------------------------ */
@media (max-width: 991px) {
    .ff-fixed-hero-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
    }

    .ff-fixed-hero-guarantee {
        text-align: left;
    }

    .ff-hero-guarantee-box {
        max-width: 100%;
        padding: 1.25rem 1.5rem;
    }

    .ff-mobile-filter-bar {
        display: block;
    }

    /* On mobile, collapse filter card by default to pull flyer cards immediately above the fold */
    .ff-fixed-filter-card {
        display: none;
        margin-bottom: 1.5rem;
        padding: 1.25rem;
    }

    .ff-fixed-filter-card.mobile-expanded {
        display: block;
        animation: fadeIn 0.25s ease-in-out;
    }

    .ff-fixed-filter-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ff-flyer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ff-how-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ff-fixed-main-section {
        padding: 1.25rem 0 3.5rem;
    }

    .ff-fixed-hero {
        padding: 3rem 0 2rem;
    }

    .ff-flyer-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .ff-fixed-filter-grid {
        grid-template-columns: 1fr;
    }

    .ff-lightbox-modal {
        padding: 0.75rem;
    }

    .ff-lightbox-content {
        max-height: 92vh;
        max-height: 92dvh;
    }

    .ff-lightbox-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding: 1.25rem 1.25rem max(1.25rem, env(safe-area-inset-bottom, 1.25rem));
    }

    .ff-lightbox-footer > div:last-child {
        display: flex;
        flex-direction: row;
        width: 100%;
        gap: 0.75rem;
    }

    .ff-lightbox-footer #lightboxWaBtn {
        flex: 1;
        justify-content: center;
        min-height: 44px;
    }

    .ff-lightbox-footer .ff-btn-deal-call {
        min-width: 44px;
        min-height: 44px;
        width: 44px;
        height: 44px;
    }

    .ff-how-grid {
        grid-template-columns: 1fr;
    }

    .ff-pagination-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
        margin-bottom: 2.5rem;
    }
}
