/* =========================================================
    TOP NAVIGATION
========================================================= */
.mobile-top-nav {
    --blue: #1769ff;
    --blue-dark: #0f58dc;
    --text: #111827;
    --muted: #6b7280;
    --border: #e9edf3;
    --surface: #ffffff;
    --soft: #f5f7fa;
    --bottom-height: 76px;

    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    min-width: var(--page-min-width);
    height: var(--top-nav-height);
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    /* =========================================================
        TOP NAV LEFT / RIGHT
    ========================================================= */
    .mobile-top-left,
    .mobile-top-right {
        position: absolute;
        top: 0;
        height: 100%;
        display: flex;
        align-items: center;
    }

    .mobile-top-left {
        left: 14px;
    }

    .mobile-top-right {
        right: 14px;
    }

    /* =========================================================
        LOGO
    ========================================================= */
    .mobile-logo {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 21px;
        font-weight: 700;
        letter-spacing: -0.7px;
        line-height: 1;
        color: var(--text);
    }

    .mobile-logo span {
        color: var(--blue);
    }

    /* =========================================================
        TOP BUTTONS
    ========================================================= */
    .mobile-top-button {
        width: 42px;
        height: 42px;
        border: 0;
        background: transparent;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--text);
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        transition: background 0.18s ease, transform 0.18s ease;
    }

    .mobile-top-button:active {
        background: var(--soft);
        transform: scale(0.94);
    }

    /* =========================================================
        SEARCH ICON
    ========================================================= */
    .mobile-search-icon {
        width: 21px;
        height: 21px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    /* =========================================================
        HAMBURGER
    ========================================================= */
    .hamburger {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;

        > span {
            display: block;
            width: 21px;
            height: 2px;
            background: var(--text);
            border-radius: 10px;
        }
    }

  
}











/* =========================================
   SEARCH OVERLAY
========================================= */

.search-overlay {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1999;
    background: #fff;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-15px);
    transition:
        opacity 0.25s ease,
        transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        visibility 0.45s;




        
    &.is-open {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }


    /* =========================================
    CONTENT
    ========================================= */

    .search-overlay-content {
        width: 100%;
        max-width: 900px;
        margin: 0 auto;
        padding: 28px 22px 50px;
    }


    /* =========================================
    TOP ROW
    ========================================= */

    .search-top-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 48px;
    }

    .search-label {
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 0.16em;
        color: #111;
    }


    /* =========================================
    CLOSE
    ========================================= */

    .search-close {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 0;
        border: 0;
        background: transparent;
        color: #111;
        font-family: inherit;
        font-size: 13px;
        cursor: pointer;
    }

    .search-close-icon {
        font-size: 25px;
        font-weight: 300;
        line-height: 0.7;
        margin-top: -2px;
    }


    /* =========================================
    SEARCH INPUT
    ========================================= */

    .search-form {
        width: 100%;
    }

    .search-input-row {
        position: relative;
        display: flex;
        align-items: center;
        width: 100%;
        border-bottom: 1px solid #111;
    }

    .search-input {
        width: 100%;
        height: 72px;
        padding: 0 58px 0 0;
        border: 0;
        outline: 0;
        background: transparent;
        color: #111;
        font-family: inherit;
        font-size: 30px;
        font-weight: 400;
        letter-spacing: -0.025em;
    }

    .search-input::placeholder {
        color: #aaa;
        opacity: 1;
    }

    .search-input::-webkit-search-cancel-button {
        -webkit-appearance: none;
        appearance: none;
    }


    /* =========================================
    SUBMIT
    ========================================= */

    .search-submit {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 46px;
        height: 46px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: #111;
        color: #fff;
        cursor: pointer;
        transition: transform 0.25s ease, background 0.25s ease;
    }

    .search-submit:hover {
        transform: translateY(-50%) scale(1.06);
    }

    .search-submit svg {
        width: 18px;
        height: 18px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.5;
        stroke-linecap: round;
    }


    /* =========================================
    SUGGESTIONS
    ========================================= */

    .search-suggestions {
        margin-top: 38px;
    }

    .suggestions-title {
        display: block;
        margin-bottom: 18px;
        font-size: 10px;
        font-weight: 600;
        letter-spacing: 0.15em;
        color: #999;
    }

    .suggestion-list {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .suggestion-list a {
        padding: 11px 16px;
        border: 1px solid #dedede;
        border-radius: 100px;
        background: #fff;
        color: #111;
        font-family: inherit;
        font-size: 13px;
        cursor: pointer;
        transition:
            background 0.2s ease,
            color 0.2s ease,
            border-color 0.2s ease;
    }

    .suggestion-list button:hover {
        background: #111;
        color: #fff;
        border-color: #111;
    }


    /* =========================================
    MOBILE
    ========================================= */

    @media (max-width: 600px) {

        .search-overlay-content {
            padding: 24px 18px 40px;
        }

        .search-top-row {
            margin-bottom: 38px;
        }

        .search-input {
            height: 64px;
            font-size: 25px;
        }

        .search-submit {
            width: 42px;
            height: 42px;
        }

    }


    /* =========================================
    VERY SMALL PHONES
    ========================================= */

    @media (max-width: 380px) {



        .search-overlay-content {
            padding-left: 16px;
            padding-right: 16px;
        }

        .search-input {
            font-size: 23px;
        }

    }





}



