.panda-search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.panda-search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.panda-search-close {
    position: absolute;
    top: 30px;
    right: 40px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    line-height: 1;
    opacity: 0.8;
}

.panda-search-close:hover {
    opacity: 1;
}

.panda-search-content {
    width: 90%;
    max-width: 960px;
    padding: 0 20px;
}

.panda-search-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;

    @media screen and (min-width: 48rem) {
        flex-direction: row;
    }
}

.panda-search-input {
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    border: none;
    outline: none;
    background: #ffffff;
    box-shadow: 0 20px 70px rgba(0,0,0,0.55);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.panda-search-submit {
    align-self: center;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    font-weight: 600;
    background: #0066cc;
    color: white;
    border: none;
    cursor: pointer;
    transition: background 0.25s;
}

.panda-search-submit:hover {
    background: #004d99;
}

/* Ikona w menu */
.search-toggle {
    display: flex;
    align-items: center;
    padding: 8px 14px !important;
}

.panda-search-custom-icon,
.dashicons-search {
    width: 1.6em;
    height: 1.6em;
    vertical-align: middle;
}

.dashicons-search:before {
    font-size: 1.6em;
    line-height: 1;
}