/* Abuja Solar Guy Smart Shop Search */
.asg-mobile-search {
    display: none;
    position: relative;
    flex: 0 0 48px !important;
    width: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    box-sizing: border-box !important;
    align-items: center;
    justify-content: center;
    margin: 0 0 0 10px !important;
    padding: 0 !important;
    z-index: 5;
}

.asg-mobile-search__toggle {
    appearance: none !important;
    -webkit-appearance: none !important;
    display: flex !important;
    flex: 0 0 48px !important;
    width: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    aspect-ratio: 1 / 1 !important;
    box-sizing: border-box !important;
    align-items: center !important;
    justify-content: center !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #16ae50 !important;
    color: #fff !important;
    cursor: pointer;
    box-shadow: none !important;
    padding: 0 !important;
    line-height: 1 !important;
}

.asg-mobile-search__toggle .dashicons {
    display: block;
    width: 22px;
    height: 22px;
    font-size: 22px;
    line-height: 22px;
}

.asg-mobile-search__form {
    display: none;
    position: absolute;
    top: calc(100% + 9px);
    right: 0;
    width: min(82vw, 340px);
    padding: 10px;
    gap: 8px;
    align-items: center;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}

.asg-mobile-search.is-open .asg-mobile-search__form {
    display: flex;
}

.asg-mobile-search__input {
    min-width: 0;
    flex: 1 1 auto;
    height: 44px;
    margin: 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0 12px;
    font-size: 15px;
    background: #fff;
    color: #333;
}

.asg-mobile-search__submit {
    display: inline-flex;
    flex: 0 0 auto;
    min-width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 0;
    border-radius: 8px;
    background: #16ae50;
    color: #fff;
    padding: 0 12px;
    cursor: pointer;
}

.asg-mobile-search__submit .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.asg-mobile-search__submit-text {
    font-size: 13px;
    font-weight: 600;
}

@media (max-width: 767px) {
    body.woocommerce-shop form.woocommerce-ordering {
        display: inline-flex;
        vertical-align: middle;
        max-width: calc(100% - 66px);
        margin-right: 0;
        margin-bottom: 0;
    }

    body.woocommerce-shop .asg-mobile-search {
        display: inline-flex;
        vertical-align: middle;
    }
}

@media (min-width: 768px) {
    .asg-mobile-search {
        display: none !important;
    }
}
