
.db-voice-search-form {
    width: 100%;
}

.db-voice-search-wrap {
    display: flex;
    align-items: center;
    width: 100%;
}

.db-voice-search-input {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    padding: 0 16px;
    font-size: 18px;
    border: 1px solid #959595;
    background: #fff;
    min-height: 44px;
    color: #575757;
    font-size: 15px;
    font-family: 'Gotham Book', sans-serif;
}

.dbs-dark .db-voice-search-input {
    border:1px solid #ffffff;
}

.db-voice-search-input::placeholder{
    color: #575757;
    font-size: 15px;
    font-family: 'Gotham Book', sans-serif;
}

.grg-voice-icon{
    width:20px;
    padding-top:4px;
}

.db-voice-search-mic,
.db-voice-search-submit {
    cursor: pointer;
    line-height: 1;
}

.db-voice-search-mic {
    min-width: 44px;
    min-height: 44px;
    padding: 0 12px;
    border:none;
    border-top: 1px solid #959595;
    border-bottom: 1px solid #959595;
    background: #efefef;
    font-size: 18px;
    transition: all 0.3s ease-in-out;
}

.db-voice-search-mic:hover {
    background: #dfdfdf;
}

.dbs-dark .db-voice-search-mic {
    border-top: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
}

.db-voice-search-submit {
    color: #575757;
    background:#ffffff;
    font-size: 15px;
    border: 1px solid #959595;
    text-transform: uppercase;
    font-family: 'Gotham Book', sans-serif;
    padding-left:15px;
    padding-right:15px;
    min-height: 44px;
    transition: background-color 0.3s ease-in-out;
}

.db-voice-search-submit:hover{
    color: #ffffff;
    background:#575757;
    border: 1px solid #575757;
}

.dbs-dark .db-voice-search-submit {
    color: #ffffff;
    background:#000000;
    border: 1px solid #ffffff;
}

.dbs-dark .db-voice-search-submit:hover{
    color: #000000;
    background:#ffffff;
    border: 1px solid #ffffff;
    transition: all 0.3s ease-in-out;
}

.db-voice-search-form.is-listening .db-voice-search-mic {
    border-color: #c62828;
    box-shadow: 0 0 0 2px rgba(198, 40, 40, 0.15);
}

.db-voice-search-status {
    margin-top: 8px;
    color: #575757;
    font-size: 15px;
    font-family: 'Gotham Book', sans-serif;
}

.db-voice-search-mic:focus,
.db-voice-search-submit:focus,
.db-voice-search-input:focus {
    outline: none;
}

.db-main-menu .et_pb_menu__wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.db-main-menu .et_pb_menu__menu {
    flex: 1 1 auto;
}

.db-header-search {
    display: flex;
    align-items: center;
    margin-left: 20px;
    flex: 0 0 auto;
}

.db-search-toggle {
    background: transparent;
    border: 0;
    padding: 8px;
    cursor: pointer;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #000;
}

.db-search-toggle:hover {
    opacity: 0.8;
}

.db-search-toggle:focus,
.db-search-panel-close:focus {
    outline: none;
}

.db-search-toggle-icon svg {
    display: block;
    width: 24px;
    height: 24px;
}

.db-search-panel {
    width: 100%;
    background: #f2f2f2;
    border-top: 1px solid #838383;
    position: relative;
    z-index: 9999;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(-8px);
    padding: 0 20px;
    pointer-events: none;
    transition:
        max-height 0.5s ease,
        opacity 0.5s ease,
        transform 0.5s ease,
        padding-top 0.5s ease,
        padding-bottom 0.5s ease;
}

.dbs-dark .db-search-panel {
    background: #000000;
}

.db-search-panel.is-open {
    max-height: 400px;
    opacity: 1;
    transform: translateY(0);
    padding-top: 24px;
    padding-bottom: 24px;
    pointer-events: auto;
}

.db-search-panel-inner {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.db-search-panel-form {
    flex: 1 1 auto;
    min-width: 0;
}

.db-search-panel-close {
    background: transparent;
    border: 0;
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
    padding: 6px 10px;
    color: #8b6b17;
}

.db-search-panel .db-voice-search-form {
    margin: 0;
}

.db-search-panel .db-voice-search-wrap {
    display: flex;
    align-items: center;
    width: 100%;
}

.db-search-panel .db-voice-search-mic,
.db-search-panel .db-voice-search-submit {
    min-height: 44px;
}

.db-search-toggle {
    color: #000000;
    transition: all 1s ease-in-out;
}

body.dbs-dark .db-search-toggle {
    color: #ffffff;
}

@media (max-width: 1400px) {
    .db-voice-search-submit {
        width: 48px;
        min-width: 48px;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        position: relative;
        color: #000; /* or inherit */
    }

    .db-voice-search-submit-text {
        display: none;
    }

    .db-voice-search-submit::before {
        content: "";
        width: 26px;
        height: 26px;
        display: block;
        background-color: currentColor;
        mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0OCIgaGVpZ2h0PSI0OCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMTAuNzcgMTguM2E3LjUzIDcuNTMgMCAxIDEgNy41My03LjUzYTcuNTMgNy41MyAwIDAgMS03LjUzIDcuNTNtMC0xMy41NWE2IDYgMCAxIDAgNiA2YTYgNiAwIDAgMC02LTYiLz48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMjAgMjAuNzVhLjc0Ljc0IDAgMCAxLS41My0uMjJsLTQuMTMtNC4xM2EuNzUuNzUgMCAwIDEgMS4wNi0xLjA2bDQuMTMgNC4xM2EuNzUuNzUgMCAwIDEgMCAxLjA2YS43NC43NCAwIDAgMS0uNTMuMjIiLz48L3N2Zz4=");
        -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0OCIgaGVpZ2h0PSI0OCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMTAuNzcgMTguM2E3LjUzIDcuNTMgMCAxIDEgNy41My03LjUzYTcuNTMgNy41MyAwIDAgMS03LjUzIDcuNTNtMC0xMy41NWE2IDYgMCAxIDAgNiA2YTYgNiAwIDAgMC02LTYiLz48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMjAgMjAuNzVhLjc0Ljc0IDAgMCAxLS41My0uMjJsLTQuMTMtNC4xM2EuNzUuNzUgMCAwIDEgMS4wNi0xLjA2bDQuMTMgNC4xM2EuNzUuNzUgMCAwIDEgMCAxLjA2YS43NC43NCAwIDAgMS0uNTMuMjIiLz48L3N2Zz4=");
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        -webkit-mask-position: center;
        mask-position: center;
        -webkit-mask-size: contain;
        mask-size: contain;
    }

    .db-voice-search-submit:hover {
        color: #fff;
    }

    .db-search-panel-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .db-search-panel-close {
        align-self: flex-end;
    }

    .db-mobile-search {
        display: none;
    }

    .db-mobile-search {
        display: block;
        margin-bottom: 20px;
    }

    .dbs-slide-container {
        top: 130px !important;
    }
}



