.aveo-home-search-form {
    display: flex;
    justify-content: center;
    gap: 10px;

    input {
        max-width: 300px;
    }

    /* Copying styles from Elementor buttons (not set up as standard styles) */
    button {
        background-color: var(--e-global-color-99b189e) !important;
        font-family: "Lato", Sans-serif !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        font-style: normal !important;
        text-decoration: none !important;
        letter-spacing: 0.3px !important;
        border-style: solid !important;
        border-width: 1px 1px 1px 1px !important;
        border-color: #D5D9DF !important;
        padding: 10px 12px !important;

        &:hover {
            background-color: #FFFFFF !important;
            color: #2E4360 !important;
            border-color: #FFFFFF !important;
        }
    }
}

body.elementor-kit-1951 .home-search-reset-button {
    font-family: var(--e-global-typography-de8bfca-font-family), Sans-serif;
    font-size: var(--e-global-typography-de8bfca-font-size);
    font-weight: var(--e-global-typography-de8bfca-font-weight);
    text-transform: var(--e-global-typography-de8bfca-text-transform);
    font-style: var(--e-global-typography-de8bfca-font-style);
    text-decoration: var(--e-global-typography-de8bfca-text-decoration);
    letter-spacing: var(--e-global-typography-de8bfca-letter-spacing);
    color: #FFB9B9;
    background-color: var(--e-global-color-99b189e);
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: #FFB9B9;
    -webkit-align-self: stretch;
    align-self: stretch;

    &:hover {
        color: var(--e-global-color-4e7aee4c);
        background-color: #FF0000;
        border-color: #FF0000;
    }
}

/* JetSmartFilter clear input replacement */
.jet-search-filter__input-clear {
    display: flex !important;
    align-items: center;
    margin-top: -13px !important;
}

.jet-search-filter__input-clear svg {
    display: none;
}

.jet-search-filter__input-clear::before {
    content: "";
    display: block;
    width: 16px;
    height: 16px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.2' stroke-linecap='round'><path d='M6 6L18 18'/><path d='M18 6L6 18'/></svg>");
}

/* Native browser clear button in your home search input */
#aveo-home-search-input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    cursor: pointer;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.2' stroke-linecap='round'><path d='M6 6L18 18'/><path d='M18 6L6 18'/></svg>");
}