/*
Theme Name: baltika
*/
.card-news__badge.active .tag-gold__inner {
    color: white;
    background: #d49f77;
}

.news-page__badges {
    gap: 8px;
}

.news-page__pagination-wrapper {
    display: flex;
    justify-content: center;
}

.contacts-press__block-button {
    width: fit-content;
}

/* Модальное окно */
.search-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    z-index: 9999;
}

.search-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(3px);
}

.search-modal__container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-modal__content {
    position: relative;
    width: 90%;
    max-width: 600px;
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);

}



@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-modal__close {
    position: absolute;
    top: 5px;
    right: 12px;
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    transition: color 0.2s;
    line-height: 1;
}

.search-modal__close:hover {
    color: #000;
}

.search-modal__input {
    width: 100%;
    padding: 15px 20px;
    font-size: 18px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.search-modal__input:focus {
    border-color: #040b52;
}

.search-modal__results {
    max-height: 400px;
    overflow-y: auto;
}

@media(max-width: 768px) {
    .search-modal__content {
        position: absolute;
        top: 10%;
        left: 50%;
        transform: translateX(-50%);
        padding: 24px 16px;
    }

    .search-modal__close {
        top: -1px;
    }

    .search-modal__results {
        max-height: 50dvh;
    }
}

.search-result-item {
    padding: 15px;
    border-bottom: 1px solid #eee;
    transition: background 0.2s;
}

.search-result-item:hover {
    background: #f9f9f9;
}

.search-result-item h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
}

.search-result-item h4 a {
    color: #040b52;
    text-decoration: none;
}

.search-result-item p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.search-result-item small {
    font-size: 12px;
    color: #999;
}

.search-loading {
    text-align: center;
    padding: 20px;
    color: #666;
}

.no-results {
    text-align: center;
    padding: 20px;
    color: #999;
}



.news-text-block a,
.contacts-drawer-content__descriptions a {
    display: contents;
}

.accordion__btn-clear {
    display: none;
}

.accordion__counter-brend,
.accordion__counter-sort,
.accordion__counter-drink,
.accordion__counter {
    display: none;
}

.cookie-panel {
    display: none;
    opacity: 0;
    transform: translateY(8px);
}

.header__body-mobile-search {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    cursor: pointer;
    display: none;
}

@media(max-width: 768px) {
    .header__body-mobile-search {
        display: block;
    }

}

.more-one__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.more-one__image {
    position: relative;
}

.more-one__play {
    z-index: 3;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 6.25rem;
    height: 6.25rem;
    padding: 0;
    cursor: pointer;
    border: .0625rem solid rgba(255, 255, 255, .4);
    border-radius: 50%;
    -webkit-backdrop-filter: blur(.75rem);
    backdrop-filter: blur(.75rem);
    transition: all .2s ease-in-out;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}
.more-one__play:hover{
    transform: translateX(-50%) translateY(-50%) scale(1.08);
}

.main-news .tag-gold:hover .tag-gold__inner{
    background: none !important;
}

.main-news .tag-gold__text{
    color: #000 !important;
}