.h24-smart-search-lock,
.h24-smart-search-lock body {
    overflow: hidden;
}

.h24-search {
    border: 0;
    cursor: pointer;
    font: inherit;
}

.h24-smart-search {
    bottom: 0;
    display: none;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 999999;
}

.h24-smart-search.is-open {
    display: block;
}

.h24-smart-search__overlay {
    background: rgba(6, 18, 33, 0.72);
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.h24-smart-search__panel {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.28);
    left: 50%;
    max-height: calc(100vh - 80px);
    max-width: 760px;
    overflow: auto;
    padding: 34px;
    position: absolute;
    top: 90px;
    transform: translateX(-50%);
    width: calc(100% - 32px);
}

.h24-smart-search__close {
    align-items: center;
    background: #f1f5f9;
    border: 0;
    border-radius: 50%;
    color: #163860;
    cursor: pointer;
    display: flex;
    font-size: 30px;
    height: 42px;
    justify-content: center;
    line-height: 1;
    position: absolute;
    right: 20px;
    top: 18px;
    width: 42px;
}

.h24-smart-search__close:hover,
.h24-smart-search__close:focus {
    background: #163860;
    color: #fff;
}

.h24-smart-search__eyebrow {
    color: #ecb62f;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.h24-smart-search__title {
    color: #102f53;
    font-size: 34px;
    line-height: 1.15;
    margin: 0 52px 24px 0;
}

.h24-smart-search__form {
    align-items: stretch;
    border: 2px solid #d7e3f2;
    border-radius: 12px;
    display: flex;
    overflow: hidden;
}

.h24-smart-search__form:focus-within {
    border-color: #163860;
    box-shadow: 0 0 0 4px rgba(22, 56, 96, 0.12);
}

.h24-smart-search__input {
    background: #fff;
    border: 0;
    color: #111827;
    flex: 1;
    font-size: 22px;
    min-width: 0;
    outline: 0;
    padding: 18px 20px;
}

.h24-smart-search__input::placeholder {
    color: #8a98aa;
}

.h24-smart-search__submit {
    background: #163860;
    border: 0;
    color: #fff;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    padding: 0 24px;
    text-transform: uppercase;
}

.h24-smart-search__submit:hover,
.h24-smart-search__submit:focus {
    background: #0f2b49;
}

.h24-smart-search__hp {
    height: 1px !important;
    left: -99999px !important;
    opacity: 0 !important;
    position: absolute !important;
    width: 1px !important;
}

.h24-smart-search__hint,
.h24-smart-search__status {
    color: #667085;
    font-size: 14px;
    margin-top: 12px;
}

.h24-smart-search__status.is-loading::after {
    animation: h24SearchDots 1.2s infinite;
    content: '';
}

@keyframes h24SearchDots {
    0% { content: ''; }
    33% { content: '.'; }
    66% { content: '..'; }
    100% { content: '...'; }
}

.h24-smart-search__results {
    margin-top: 24px;
}

.h24-smart-search__results-title {
    color: #163860;
    font-size: 15px;
    font-weight: 800;
    margin: 0 0 12px;
    text-transform: uppercase;
}

.h24-smart-search__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.h24-smart-search__item + .h24-smart-search__item {
    border-top: 1px solid #e5eaf1;
}

.h24-smart-search__link {
    align-items: center;
    color: #163860;
    display: flex;
    gap: 14px;
    padding: 13px 0;
    text-decoration: none;
}

.h24-smart-search__link:hover strong,
.h24-smart-search__link:focus strong {
    color: #0d6fef;
}

.h24-smart-search__thumb {
    background: #eef3f9;
    border-radius: 10px;
    display: block;
    flex: 0 0 96px;
    height: 64px;
    overflow: hidden;
}

.h24-smart-search__thumb img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.h24-smart-search__thumb-placeholder {
    background: linear-gradient(135deg, #eef3f9, #dce7f4);
    display: block;
    height: 100%;
    width: 100%;
}

.h24-smart-search__meta {
    display: block;
    min-width: 0;
}

.h24-smart-search__meta strong {
    color: #163860;
    display: block;
    font-size: 17px;
    line-height: 1.25;
}

.h24-smart-search__meta small {
    color: #475467;
    display: block;
    font-size: 14px;
    line-height: 1.35;
    margin-top: 4px;
}

.h24-smart-search__meta em {
    color: #8a98aa;
    display: block;
    font-size: 12px;
    font-style: normal;
    margin-top: 4px;
}

.h24-smart-search__empty {
    background: #f8fafc;
    border: 1px dashed #ccd8e6;
    border-radius: 12px;
    color: #475467;
    padding: 18px;
    text-align: center;
}

@media (max-width: 640px) {
    .h24-smart-search__panel {
        border-radius: 14px 14px 0 0;
        bottom: 0;
        max-height: calc(100vh - 30px);
        padding: 26px 18px;
        top: auto;
        width: 100%;
    }

    .h24-smart-search__title {
        font-size: 26px;
    }

    .h24-smart-search__form {
        display: block;
    }

    .h24-smart-search__input {
        display: block;
        font-size: 18px;
        width: 100%;
    }

    .h24-smart-search__submit {
        display: block;
        padding: 14px;
        width: 100%;
    }

    .h24-smart-search__thumb {
        flex-basis: 82px;
        height: 56px;
    }
}
