/*
 * archive-trek.css
 * Styles for the Trek Archive page (/treks/)
 * Drop into: makemyhikes-child/assets/css/archive-trek.css
 *
 * Depends on: trek.css (loaded globally via functions.php)
 *             Google Fonts + Font Awesome 4 (loaded globally)
 *
 * Design tokens mirror the homepage (--yellow, --black, --wrap, etc.)
 * They are declared here as a fallback; trek.css or the homepage stylesheet
 * already sets them on :root.
 */

/* ══════════════════════════════════════════
   ROOT TOKENS (fallback if trek.css isn't loaded first)
══════════════════════════════════════════ */
:root {
    --yellow:      #F5B800;
    --yellow-dark: #D9A200;
    --yellow-light:rgba(245,184,0,0.12);
    --black:       #0e0e0e;
    --black-2:     #171717;
    --white:       #ffffff;
    --grey:        #f4f4f4;
    --text:        #333;
    --radius:      14px;
    --wrap:        1400px;
}

/* ══════════════════════════════════════════
   SHARED HELPERS (duplicated from homepage
   so this sheet is self-contained)
══════════════════════════════════════════ */
.section-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--yellow);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.section-label.center { justify-content: center; }
.section-label.center::before { display: none; }
.section-label.center::after  { content: '—'; }
.section-label::before { content: '—'; }

.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(36px, 4.5vw, 56px);
    color: var(--black);
    letter-spacing: 2px;
    line-height: 1.05;
}
.section-title span { color: var(--yellow); }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    transition: all .22s;
    cursor: pointer;
    border: none;
}
.btn-primary { background: var(--yellow); color: var(--black); }
.btn-primary:hover { background: var(--yellow-dark); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(245,184,0,.32); }

/* ══════════════════════════════════════════
   REVEAL ANIMATION (archive cards)
══════════════════════════════════════════ */
.mmh-arc-grid .trek-card.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .55s ease, transform .55s ease;
}
.mmh-arc-grid .trek-card.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ══════════════════════════════════════════
   ARCHIVE HERO
══════════════════════════════════════════ */
.mmh-arc-hero {
    background: var(--black);
    padding: 72px 40px 64px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.mmh-arc-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(245,184,0,.13), transparent 60%);
    pointer-events: none;
}

.mmh-arc-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 660px;
    margin: 0 auto;
}

.mmh-arc-hero-inner .section-title { color: #fff; }

.mmh-arc-hero-sub {
    color: rgba(255,255,255,.6);
    font-size: 15px;
    line-height: 1.75;
    margin-top: 14px;
    font-family: 'Open Sans', sans-serif;
}

/* ══════════════════════════════════════════
   FILTER BAR  — DESKTOP
══════════════════════════════════════════ */
.mmh-arc-filter-bar {
    background: #fff;
    border-bottom: 1.5px solid #efefef;
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
    position: sticky;
    top: 0;
    z-index: 800;
}

.mmh-arc-filter-inner {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 40px;
}

.mmh-filter-form {
    display: flex;
    align-items: center;   /* vertically center all children including button */
    gap: 0;
    flex-wrap: nowrap;
    min-height: 72px;
}

/* Each filter cell */
.mmh-filter-field {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 20px 0 24px !important;  /* left 24px keeps label away from divider */
    border-right: 1px solid #ebebeb;
    align-self: stretch;                 /* fields stretch full bar height */
    position: relative;
}
.mmh-filter-field:first-child { padding-left: 0 !important; }
.mmh-filter-field.mmh-filter-search-wrap { flex: 1.6; }

/* Hover highlight on each cell */
.mmh-filter-field:hover { background: #fafafa; }

.mmh-filter-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 5px;
    padding-left: 0;
}

/* Custom select wrapper (adds chevron icon) */
.mmh-filter-select-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.mmh-filter-select-wrap::after {
    content: '\f078'; /* fa-chevron-down */
    font-family: 'FontAwesome';
    font-size: 9px;
    color: #aaa;
    position: absolute;
    right: 4px;
    pointer-events: none;
    line-height: 1;
}

.mmh-filter-select {
    border: none;
    outline: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--black);
    background: transparent;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    padding-right: 20px; /* room for chevron */
}
.mmh-filter-select:focus { color: var(--yellow-dark); }

/* Search field */
.mmh-search-input-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}
.mmh-search-input-wrap i {
    color: #ccc;
    font-size: 14px;
    flex-shrink: 0;
}
.mmh-filter-search {
    border: none;
    outline: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--black);
    background: transparent;
    width: 100%;
}
.mmh-filter-search::placeholder { color: #ccc; font-weight: 400; }
.mmh-filter-search:focus { color: var(--black); }

/* Submit button — desktop */
.mmh-arc-filter-bar .mmh-filter-btn,
.mmh-arc-filter-bar .mmh-filter-btn:link,
.mmh-arc-filter-bar .mmh-filter-btn:visited {
    flex-shrink: 0;
    align-self: center;              /* vertically centre inside the flex row */
    background: var(--black) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 0 26px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 800 !important;
    font-size: 11px !important;
    letter-spacing: 1.2px !important;
    text-transform: uppercase !important;
    cursor: pointer;
    display: flex !important;
    align-items: center !important;
    gap: 8px;
    margin: 0 0 0 20px;
    white-space: nowrap;
    transition: all .2s;
    height: 46px;
    box-shadow: none !important;
    text-shadow: none !important;
}
.mmh-arc-filter-bar .mmh-filter-btn:hover,
.mmh-arc-filter-bar .mmh-filter-btn:focus {
    background: var(--yellow) !important;
    color: var(--black) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(245,184,0,.3) !important;
    text-shadow: none !important;
}

/* ── Mobile top bar (hidden on desktop) ── */
.mmh-mobile-topbar { display: none; }

/* ── Bottom-sheet overlay (hidden on desktop) ── */
.mmh-filter-sheet-overlay { display: none; }
.mmh-filter-sheet         { display: none; }

/* ══════════════════════════════════════════
   RESULTS META BAR
══════════════════════════════════════════ */
.mmh-arc-meta-bar {
    background: var(--grey);
    border-bottom: 1px solid #e8e8e8;
    padding: 12px 40px;
}

.mmh-arc-meta-inner {
    max-width: var(--wrap);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.mmh-arc-count {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #777;
    flex-shrink: 0;
}
.mmh-arc-count strong {
    color: var(--black);
    font-weight: 800;
}

.mmh-filter-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.mmh-filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--yellow-light);
    border: 1px solid rgba(245,184,0,.3);
    color: #8a6b00;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 999px;
    text-decoration: none;
    transition: all .2s;
    letter-spacing: .4px;
}
.mmh-filter-pill i { font-size: 10px; }
.mmh-filter-pill:hover {
    background: var(--yellow);
    border-color: var(--yellow);
    color: var(--black);
}

.mmh-filter-clear {
    background: rgba(239,68,68,.1);
    border-color: rgba(239,68,68,.25);
    color: #b91c1c;
}
.mmh-filter-clear:hover { background: #ef4444; border-color: #ef4444; color: #fff; }

/* ══════════════════════════════════════════
   MAIN CONTENT WRAPPER
══════════════════════════════════════════ */
.mmh-arc-wrap {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 44px 40px 80px;
}

/* ══════════════════════════════════════════
   TREK CARD GRID  (same design as homepage)
══════════════════════════════════════════ */

/* These are already defined in trek.css / homepage CSS.
   Redeclared here so the archive works stand-alone. */

.mmh-arc-grid.treks-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.trek-card {
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    background: var(--black);
    cursor: pointer;
    transition: transform .3s ease, box-shadow .3s ease;
    text-decoration: none;
    display: block;
}
.trek-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px rgba(0,0,0,.18);
}

.trek-card-img {
    position: relative;
    height: 380px;
    overflow: hidden;
}
.trek-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}
.trek-card:hover .trek-card-img img { transform: scale(1.08); }
.trek-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.1) 60%, transparent 100%);
}

/* Placeholder when no image */
.mmh-arc-img-placeholder {
    width: 100%;
    height: 100%;
    background: var(--black-2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.trek-card-badges {
    position: absolute;
    top: 14px;
    left: 14px;
    display: flex;
    gap: 6px;
    z-index: 2;
}
.trek-badge {
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 999px;
}
.trek-badge.difficulty {
    background: rgba(255,255,255,.18);
    color: #fff;
    backdrop-filter: blur(6px);
}
.trek-badge.season {
    background: var(--yellow);
    color: var(--black);
}

.trek-fav {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    background: rgba(255,255,255,.14);
    backdrop-filter: blur(6px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.7);
    font-size: 13px;
    z-index: 2;
    border: none;
    cursor: pointer;
    transition: all .2s;
}
.trek-fav:hover { background: var(--yellow); color: var(--black); }

.trek-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 18px;
    z-index: 2;
}
.trek-region {
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--yellow);
    margin-bottom: 6px;
}
.trek-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 26px;
    color: #fff;
    letter-spacing: 1.5px;
    line-height: 1;
    margin-bottom: 10px;
}
.trek-meta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.trek-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,.65);
}
.trek-meta-item i { color: var(--yellow); font-size: 10px; }

.trek-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.trek-price {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 22px;
    color: var(--yellow);
    letter-spacing: 1px;
    line-height: 1;
}
.trek-price small {
    font-family: 'Montserrat', sans-serif;
    font-size: 9px;
    font-weight: 600;
    color: rgba(255,255,255,.5);
    letter-spacing: .5px;
    display: block;
    text-transform: uppercase;
}
.trek-arrow {
    width: 34px;
    height: 34px;
    background: rgba(255,255,255,.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    transition: all .2s;
}
.trek-card:hover .trek-arrow { background: var(--yellow); color: var(--black); }

/* ══════════════════════════════════════════
   NO RESULTS STATE
══════════════════════════════════════════ */
.mmh-arc-no-results {
    text-align: center;
    padding: 80px 20px;
}
.mmh-no-results-icon {
    font-size: 64px;
    color: #ddd;
    margin-bottom: 20px;
}
.mmh-arc-no-results h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 36px;
    letter-spacing: 2px;
    color: var(--black);
    margin-bottom: 10px;
}
.mmh-arc-no-results p {
    color: #888;
    font-size: 15px;
    margin-bottom: 28px;
}

/* ══════════════════════════════════════════
   PAGINATION
══════════════════════════════════════════ */
.mmh-arc-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 52px;
    flex-wrap: wrap;
}
.mmh-pg-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--black);
    background: #f4f4f4;
    text-decoration: none;
    transition: all .2s;
    border: 1.5px solid #e8e8e8;
}
.mmh-pg-btn:hover {
    background: var(--yellow);
    border-color: var(--yellow);
    color: var(--black);
    transform: translateY(-2px);
}
.mmh-pg-btn.active {
    background: var(--yellow);
    border-color: var(--yellow);
    color: var(--black);
    font-weight: 900;
}
.mmh-pg-dots {
    color: #aaa;
    font-size: 14px;
    padding: 0 4px;
}

/* ══════════════════════════════════════════
   BOTTOM CTA STRIP
══════════════════════════════════════════ */
.mmh-arc-cta-strip {
    background: var(--grey);
    padding: 32px 40px;
    border-top: 1px solid #e8e8e8;
}
.mmh-arc-cta-inner {
    max-width: var(--wrap);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.mmh-arc-cta-left { display: flex; align-items: center; gap: 16px; }
.mmh-arc-cta-icon {
    width: 56px;
    height: 56px;
    background: var(--yellow);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--black);
    flex-shrink: 0;
}
.mmh-arc-cta-text h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 10px;
    color: var(--black);
    margin-bottom: 4px;
}
.mmh-arc-cta-text p { font-size: 13px; color: #666; }
.mmh-arc-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.cs-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 13px;
    transition: all .2s;
    letter-spacing: .5px;
}
.cs-btn.whatsapp { background: #25d366; color: #fff; }
.cs-btn.whatsapp:hover { background: #1daa57; transform: translateY(-2px); }
.cs-btn.call { background: var(--black); color: #fff; }
.cs-btn.call:hover { transform: translateY(-2px); }



/* ══════════════════════════════════════════
   RESPONSIVE — TABLET  (≤ 1024px)
══════════════════════════════════════════ */
@media (max-width: 1024px) {
    .mmh-arc-grid.treks-grid { grid-template-columns: repeat(2, 1fr); }
    .mmh-arc-wrap { padding: 32px 24px 60px; }
    .mmh-arc-meta-bar { padding: 12px 24px; }
    .mmh-arc-cta-strip { padding: 28px 24px; }
    .mmh-arc-hero { padding: 56px 24px 48px; }
    .mmh-arc-filter-inner { padding: 0 24px; }

    .mmh-filter-form { min-height: 66px; }
    .mmh-filter-field { padding: 10px 16px 10px 0; }
    .mmh-filter-btn { padding: 0 18px; font-size: 10px; margin-left: 16px; }
}

/* ══════════════════════════════════════════
   RESPONSIVE — MOBILE  (≤ 767px)
   App-like structure with bottom-sheet filter
══════════════════════════════════════════ */
@media (max-width: 767px) {

    /* ── Hero (compact on mobile) ── */
    .mmh-arc-hero { padding: 32px 16px 28px; }
    .mmh-arc-hero-sub { font-size: 13px; margin-top: 10px; }

    /* ── Hide desktop filter bar, show mobile top bar ── */
    .mmh-arc-filter-bar { display: none; }

    /* ════════════════════════════════════
       MOBILE TOP BAR (sticky app header)
    ════════════════════════════════════ */
    .mmh-mobile-topbar {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px;
        position: sticky;
        top: 0;
        z-index: 800;
        background: #fff !important;
        padding: 12px 16px !important;
        border-bottom: 1px solid #e8e8e8;
        box-shadow: 0 3px 20px rgba(0,0,0,.09);
        width: 100%;
        box-sizing: border-box;
    }

    /* Search pill */
    .mmh-mobile-search-pill {
        flex: 1 !important;
        display: flex !important;
        align-items: center !important;
        gap: 10px;
        background: #f7f7f7 !important;
        border: 1.5px solid #e0e0e0 !important;
        border-radius: 14px !important;
        padding: 12px 16px !important;
        min-width: 0;
        transition: border-color .2s, box-shadow .2s;
        box-shadow: none !important;
        max-width: 100%;
    }
    .mmh-mobile-search-pill:focus-within {
        border-color: var(--black) !important;
        background: #fff !important;
        box-shadow: 0 0 0 3px rgba(14,14,14,.06) !important;
    }
    .mmh-mobile-search-pill i {
        color: #aaa !important;
        font-size: 15px !important;
        flex-shrink: 0;
    }
    .mmh-mobile-search-pill input {
        border: none !important;
        background: transparent !important;
        outline: none !important;
        font-family: 'Montserrat', sans-serif !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        color: var(--black) !important;
        width: 100%;
        min-width: 0;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .mmh-mobile-search-pill input::placeholder { color: #bbb !important; }

    /* Filter toggle button */
    .mmh-mobile-filter-btn {
        flex-shrink: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 7px;
        background: var(--black) !important;
        color: #fff !important;
        border: none !important;
        border-radius: 14px !important;
        padding: 12px 18px !important;
        font-family: 'Montserrat', sans-serif !important;
        font-size: 12px !important;
        font-weight: 800 !important;
        letter-spacing: .8px !important;
        text-transform: uppercase !important;
        cursor: pointer;
        position: relative;
        transition: background .2s, transform .15s;
        white-space: nowrap;
        -webkit-tap-highlight-color: transparent;
        box-shadow: none !important;
        text-shadow: none !important;
        line-height: 1 !important;
    }
    .mmh-mobile-filter-btn:active {
        background: #333 !important;
        transform: scale(.97);
    }
    .mmh-mobile-filter-btn i { font-size: 14px !important; }

    /* Active-filter count badge on button */
    .mmh-filter-badge {
        position: absolute;
        top: -6px;
        right: -6px;
        width: 19px;
        height: 19px;
        background: var(--yellow) !important;
        color: var(--black) !important;
        border-radius: 50%;
        font-size: 10px;
        font-weight: 900;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 2px solid #fff;
        font-family: 'Montserrat', sans-serif;
    }

    /* ════════════════════════════════════
       BOTTOM SHEET OVERLAY
    ════════════════════════════════════ */
    .mmh-filter-sheet-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,.5);
        z-index: 1100;
        opacity: 0;
        pointer-events: none;
        transition: opacity .3s ease;
        backdrop-filter: blur(2px);
    }
    .mmh-filter-sheet-overlay.open {
        opacity: 1;
        pointer-events: all;
    }

    /* ════════════════════════════════════
       BOTTOM SHEET PANEL
    ════════════════════════════════════ */
    .mmh-filter-sheet {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1200;
        background: #fff;
        border-radius: 22px 22px 0 0;
        padding: 0 0 env(safe-area-inset-bottom, 20px);
        transform: translateY(100%);
        transition: transform .35s cubic-bezier(.32,.72,0,1);
        max-height: 88vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .mmh-filter-sheet.open {
        transform: translateY(0);
    }

    /* Drag handle */
    .mmh-sheet-handle {
        width: 40px;
        height: 4px;
        background: #ddd;
        border-radius: 99px;
        margin: 14px auto 0;
    }

    /* Sheet header */
    .mmh-sheet-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 20px 14px;
        border-bottom: 1px solid #f0f0f0;
    }
    .mmh-sheet-header h3 {
        font-family: 'Montserrat', sans-serif;
        font-size: 15px;
        font-weight: 800;
        color: var(--black);
        letter-spacing: .5px;
    }
    .mmh-sheet-close {
        width: 32px;
        height: 32px;
        background: #f0f0f0;
        border: none;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 13px;
        color: #555;
    }

    /* Filter rows inside the sheet */
    .mmh-sheet-filter-row {
        padding: 0 20px;
        border-bottom: 1px solid #f0f0f0;
    }
    .mmh-sheet-filter-row:last-of-type { border-bottom: none; }
    .mmh-sheet-filter-row-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 18px 0;
        position: relative;
    }
    .mmh-sheet-filter-row-label {
        font-family: 'Montserrat', sans-serif;
        font-size: 14px;
        font-weight: 700;
        color: var(--black);
    }
    .mmh-sheet-filter-row-select-wrap {
        display: flex;
        align-items: center;
        gap: 8px;
        position: relative;
    }
    .mmh-sheet-filter-row-select-wrap i {
        font-size: 11px;
        color: #ccc;
    }
    .mmh-sheet-select {
        border: none;
        outline: none;
        font-family: 'Montserrat', sans-serif;
        font-size: 13px;
        font-weight: 600;
        color: var(--black);
        background: transparent;
        appearance: none;
        -webkit-appearance: none;
        position: absolute;
        inset: 0;
        opacity: 0;
        width: 100%;
        cursor: pointer;
    }
    .mmh-sheet-select-value {
        color: #aaa;
        font-size: 13px;
        font-weight: 600;
        font-family: 'Montserrat', sans-serif;
    }
    .mmh-sheet-select-value.active {
        color: var(--black);
        background: var(--yellow-light);
        border: 1px solid rgba(245,184,0,.35);
        border-radius: 20px;
        padding: 3px 10px;
        font-size: 12px;
    }

    /* Sheet action buttons */
    .mmh-sheet-actions {
        display: flex;
        gap: 10px;
        padding: 18px 20px 28px;
        border-top: 1px solid #f0f0f0;
        margin-top: 4px;
    }
    .mmh-sheet-apply {
        flex: 1;
        background: var(--black);
        color: #fff;
        border: none;
        border-radius: 14px;
        padding: 15px;
        font-family: 'Montserrat', sans-serif;
        font-size: 13px;
        font-weight: 800;
        letter-spacing: .8px;
        text-transform: uppercase;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        transition: background .2s;
        -webkit-tap-highlight-color: transparent;
    }
    .mmh-sheet-apply:active { background: #333; transform: scale(.98); }
    .mmh-sheet-clear {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 15px 20px;
        background: #f4f4f4;
        border: 1.5px solid #e8e8e8;
        border-radius: 14px;
        font-family: 'Montserrat', sans-serif;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: .5px;
        color: #555;
        text-decoration: none;
        white-space: nowrap;
        cursor: pointer;
        text-transform: uppercase;
    }

    /* ── Meta bar on mobile ── */
    .mmh-arc-meta-bar { padding: 10px 16px; }
    .mmh-arc-count { font-size: 11px; }
    .mmh-filter-pills { gap: 6px; }
    .mmh-filter-pill { font-size: 10px; padding: 4px 10px; }

    /* ── Grid & cards on mobile ── */
    .mmh-arc-wrap { padding: 16px 12px 80px; }
    .mmh-arc-grid.treks-grid { grid-template-columns: 1fr; gap: 14px; }
    .trek-card-img { height: 300px; }
    .trek-name { font-size: 22px; }

    /* ── Pagination ── */
    .mmh-pg-btn { padding: 9px 14px; font-size: 12px; }

    /* ── CTA strip ── */
    .mmh-arc-cta-strip { padding: 24px 16px; }
    .mmh-arc-cta-inner { flex-direction: column; align-items: flex-start; }
    .mmh-arc-cta-actions { width: 100%; }
    .cs-btn { flex: 1; justify-content: center; }
}

@media (max-width: 400px) {
    .mmh-arc-grid.treks-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════
   THEME OVERRIDE BLOCK
   High-specificity rules to beat OceanWP /
   any global button / input resets
══════════════════════════════════════════ */
body .mmh-arc-filter-bar button.mmh-filter-btn,
body .mmh-arc-filter-bar .mmh-filter-btn {
    background-color: #0e0e0e !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    text-shadow: none !important;
    outline: none !important;
    height: 46px !important;
    padding: 0 26px !important;
    margin: 0 0 0 20px !important;
    align-self: center !important;
    display: inline-flex !important;
    align-items: center !important;
}
body .mmh-arc-filter-bar button.mmh-filter-btn:hover,
body .mmh-arc-filter-bar .mmh-filter-btn:hover {
    background-color: #F5B800 !important;
    color: #0e0e0e !important;
    box-shadow: 0 6px 18px rgba(245,184,0,.3) !important;
}

body .mmh-mobile-filter-btn {
    background-color: #0e0e0e !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    display: inline-flex !important;
    align-items: center !important;
}
body .mmh-mobile-search-pill input[type="text"],
body .mmh-mobile-search-pill input {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    padding: 0 !important;
    margin: 0 !important;
    height: auto !important;
    font-size: 14px !important;
}