/*HEADER*/
.zh-header__search-button,
.zh-header__account .wc-block-customer-account__link,
.zh-header__cart .wc-block-mini-cart__button {
    width: 2.75rem;
    height: 2.75rem;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;
    margin: 0;
    border-radius: 999px;

    transition:
        background-color .3s ease,
        color .3s ease;
}


/*HEADER — SEARCH*/

.zh-header__search {
    position: relative;
}

.zh-header__search .wp-block-search__inside-wrapper {
    display: flex;
    align-items: center;
}

.zh-header__search.wp-block-search__button-only
.wp-block-search__input {
    width: 15rem;
    height: 3rem;

    padding: 0 1rem;
    margin: 0;

    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: .75rem;

    box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .15);
}


/* Search Button */

.zh-header__search-button:hover {
    background-color: var(--brand-primary) !important;
    color: var(--text-inverse) !important;
}


/* Search Input Hover */

.zh-header__search .wp-block-search__input:hover {
    background-color: var(--bg-surface) !important;
}


/*HEADER — ACCOUNT & CART*/

.zh-header__account .wc-block-customer-account__link:hover,
.zh-header__cart .wc-block-mini-cart__button:hover {
    background-color: var(--brand-primary) !important;
    color: var(--text-inverse) !important;
    border-radius: 999px;
}


/*HEADER — DESKTOP SEARCH INPUT*/

@media (min-width: 60.01rem) {

    .zh-header__search .wp-block-search__input {
        position: absolute;

        top: calc(100% + .75rem);
        left: 0;

        width: 15rem !important;
        min-width: 15rem !important;
        max-width: 15rem !important;

        height: 3rem;

        padding: 0 1rem;
        margin: 0;

        background: var(--bg-surface);
        border: 1px solid var(--border-light);
        border-radius: .75rem;

        box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .15);

        z-index: 9999;
    }

}

/*RESPONSIVE*/

@media (max-width: 60rem) {

    .zh-header__account,
    .zh-header__cart {
        display: none;
    }

    .zh-header__search {
        position: relative;
    }

    .zh-header__search .wp-block-search__inside-wrapper {
        display: flex;
        align-items: center;
    }

    .zh-header__search .wp-block-search__input {

        position: absolute;

        top: calc(90% + .75rem);
        left: 0;

        width: 18rem !important;
        min-width: 18rem !important;
        max-width: 18rem !important;

        height: 3rem;

        padding: 0 1rem;
        margin: 0;

        background: var(--bg-surface);

        border: 1px solid var(--border-light);
        border-radius: .75rem;

        box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .15);

        z-index: 9999;
    }

}