
/* ==========================================
   ГОРНИ БУТОНИ
   ========================================== */

.button-container-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 10px;
}

.button-container-top .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    padding: 5px 15px;
    box-sizing: border-box;

    font-size: 13px;
    font-weight: 700;
    color: #075ba1;
    background: #ffffff;

    text-decoration: none;
    border: 1px solid #ff8800;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .08);

    cursor: pointer;
    transition: background-color .2s ease,
                border-color .2s ease,
                box-shadow .2s ease,
                transform .2s ease;
}

.button-container-top .btn img {
    display: inline-block;
    width: 32px;
    height: 25px;
    vertical-align: middle;
    transition: transform .18s ease;
}

.button-container-top .btn:hover {
    background: #fff9f0;
    border-color: #e78300;
    box-shadow: 0 6px 12px rgba(247, 148, 30, .15);
    transform: translateY(-2px);
}

.button-container-top .btn:hover img {
    transform: translateY(-1px) scale(1.05);
}

.button-container-top .btn:focus-visible {
    outline: 3px solid #075ba1;
    outline-offset: 2px;
}

.button-container-top .btn .btn-text {
    display: block;
    max-width: 110px;
    text-align: center;
    line-height: 1.15;
    white-space: normal;
}


/* ==========================================
   МОБИЛНА ТЪРСАЧКА
   ========================================== */

@media (max-width: 1023px) {

    #block-bartik-formazatrsene {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    #search-block-form {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: stretch !important;

        width: 100% !important;
        margin: 0 !important;
        padding: 10px !important;
        gap: 0 !important;
        box-sizing: border-box !important;
    }

    #search-block-form .form-item-keys {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    #search-block-form .form-search {
        width: 100% !important;
        max-width: 100% !important;
        height: 46px !important;
        margin: 0 !important;

        background-color: #f4f9fd !important;
        border-radius: 6px 0 0 6px !important;
        border-right: none !important;
        box-sizing: border-box !important;
    }

    #search-block-form .search-form__submit {
        flex: 0 0 50px !important;
        width: 50px !important;
        height: 46px !important;
        margin: 0 !important;
        padding: 0 !important;

        border: 1px solid #ff8800 !important;
        border-radius: 0 6px 6px 0 !important;
        background-color: #ff8800 !important;

        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M15.5 14h-.79l-.28-.27a6.5 6.5 0 1 0-.7.7l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0A4.5 4.5 0 1 1 14 9.5 4.5 4.5 0 0 1 9.5 14z'/%3E%3C/svg%3E") !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        background-size: 20px !important;

        font-size: 0 !important;
        cursor: pointer;
        box-sizing: border-box !important;
    }
}


/* ==========================================
   ПОДРАВНЯВАНЕ НА ТЪРСАЧКАТА
   ========================================== */

#search-block-form {
    align-items: stretch !important;
}

#search-block-form .form-actions,
#search-block-form .form-wrapper {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

#search-block-form .search-form__submit {
    margin: 0 !important;
    padding: 0 !important;
}


/* ==========================================
   СКРИВАНЕ НА ЕЗИКОВИЯ ФИЛТЪР
   ========================================== */

#edit-lang-fieldset,
#edit-language--wrapper {
    display: none !important;
}
