/* ==========================================================================
   PVM West - Topbar Styles
   ========================================================================== */

/* ---------- Topbar ---------- */
.topbar {
    padding-top: 1rem;
    position: relative;
    z-index: 3;
}

.topbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    gap: 1rem;
}

.brand img {
    width: min(200px, 48vw);
    height: auto;
    display: block;
}

/* ---------- Top Actions (search + menu button) ---------- */
.top-actions {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    /* background: var(--hero-top); */
    border-radius: 18px;
    /* box-shadow: 0 0 10px var(--hero-top); */
}

.search-form {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 999px;
    min-height: 2.2rem;
    padding: 0.18rem 0.2rem 0.18rem 0.75rem;
    background: var(--hero-top);
}

.search-form:focus-within {
    background: var(--hero-bottom);
}

.search-input {
    width: min(17rem, 42vw);
    border: 0;
    outline: none;
    background: transparent;
    color: #ffffff;
    font-size: 0.82rem;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.78);
}

.search-submit {
    border: 0;
    background: rgba(255, 255, 255, 0.24);
    color: #ffffff;
    border-radius: 999px;
    min-height: 1.75rem;
    min-width: 1.9rem;
    padding: 0 0.48rem;
    line-height: 1;
    cursor: pointer;
}

.search-submit:hover {
    background: rgba(255, 255, 255, 0.36);
}

.action-btn {
    border: 1px solid rgba(255, 255, 255, 0.8);
    color: #ffffff;
    background: var(--hero-top);
    border-radius: 999px;
    min-height: 2.2rem;
    padding: 0.35rem 0.92rem;
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
}

.action-btn:hover {
    background: var(--hero-bottom);
}

@media (max-width: 640px) {
    .topbar-content {
        align-items: flex-start;
        flex-direction: column;
    }

    .top-actions {
        width: 100%;
    }

    .search-form {
        flex: 1;
    }

    .search-input {
        width: 100%;
        min-width: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}