.icon-search {
    width: 2.3rem;
    height: 2.3rem;
}

.search-modal__field .icon-search {
    width: 22px;
    height: 22px;
}


/* modal */
/* Исходное состояние — скрыто */
.search-modal {
    position: fixed;
    inset: 0;
    /* top:0; right:0; bottom:0; left:0; */
    display: none;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.5);
    /* затемнение фона */
}

/* Активное состояние — показываем модалку */
.search-modal.search-modal--active {
    display: flex;
    /* или block, если не используешь flex */
    justify-content: center;
    /* центрируем контент */
    align-items: flex-start;
    /* по вертикали */
}

.search-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .5);
}

.search-modal__content {
    position: relative;
    width: 100%;
    margin: 0px auto;
    background: #fff;
    padding: 8.5px;
    box-shadow: 0 .1rem .5rem 0 rgba(0, 0, 0, .1);

}

.search-modal__container-content {
    max-width: 740px;
    width: 100%;
    margin: 0 auto;
}

/* input */
.search-modal__field {
    display: flex;
    padding: 1.5rem;
    padding-right: 9.8rem;
    border: 1px solid #ddd;
    border-radius: 34px;
    position: relative;
}

.search-modal__input {
    width: 100%;
    border: none;
    font-size: 1.6rem;
    line-height: 24px;
}




.search-modal__label {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #999;
    pointer-events: none;
    transition: 0.3s ease;
}

/* Когда есть фокус или текст */
.search-modal__input:focus+.search-modal__label,
.search-modal__input:not(:placeholder-shown)+.search-modal__label {
    top: 4px;
    transform: none;
    font-size: 12px;
    color: #666;
}

.liked_product_section .search-modal__label {
    left: 15px;
}


.liked_product_section .search-modal__input:not(:placeholder-shown)+.search-modal__label,
.liked_product_section .search-modal__input:focus+.search-modal__label {
    top: -8px;
    /* поднимаем лейбл выше */
    font-size: 12px;
    /* уменьшаем шрифт лейбла */
    color: #555;
    /* или любой цвет */
}


.search-modal__submit {
    background: unset;
    border: none;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.search-modal__form {
    position: relative;
}

.search-modal__close {
    background: unset;
    border: none;
    position: absolute;
    right: -40px;
    padding: 0;
    top: calc(50% - 10px);
}

/* Убираем стандартный крестик в Chrome, Edge, Safari */
input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

/* Если хочешь добавить свои стили для инпута */
#search-input {
    border: none;
    border-radius: 0;
    padding: 0;
    font-size: 16px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.clear-btn {
    display: none;
    position: absolute;
    right: 50px;
    border: 1px solid #868686;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    background: unset;
    align-items: center;
    justify-content: center;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    line-height: 1;
    color: #868686;
    transition: border-color 0.2s;
    padding: 0;
}

.clear-btn:hover {
    border: 1px solid #000;
    color: #000;
}



/* predictive */
.predictive {
    display: none;
    border: 1px solid #eee;
    margin-top: 9px;
    position: absolute;
    width: 100%;
    background: #fff;
    max-height: 500px;
    overflow-y: scroll;
    z-index: 1;
}

.predictive::-webkit-scrollbar {
    width: 4px;
    /* можно чуть шире для удобства */
}

.predictive::-webkit-scrollbar-thumb {
    background: #4d4d4d;
    border-radius: 2px;
    /* закруглённый слайдер */
}

.predictive::-webkit-scrollbar-track {
    background: #fff;
    border-radius: 2px;
}

.predictive--active {
    display: block;
}

.predictive__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.predictive__item {
    border-bottom: 1px solid #eee;
    text-align: left;
    padding: 15px 10px;
    transition: 0.3s;
}

.predictive__item:hover {
    box-shadow: 0 .1rem .5rem 0 rgba(0, 0, 0, .1);
}

.predictive__title {
    font-size: 1.8rem;
}

.predictive__link {
    display: flex !important;
    gap: 10px;
    text-decoration: none;
    color: #000;
    align-items: center;
    width: 100% !important;
}

.predictive__img {
    height: 50px;
    max-width: 50px;
    object-fit: contain;
}

.predictive__all {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 1rem 1.3rem;
    background: #f5f5f5;
    border: none;
    cursor: pointer;
    font-size: 1.4rem;
    line-height: 19.6px;
}

.predictive__all svg {
    width: 14px;
    height: 22px;
    transition: transform 0.3s ease, width 0.3s ease, height 0.3s ease;
    display: inline-block;
    /* нужно для transform */
}

.predictive__all svg:hover {
    transform: scale(1.15);
    /* увеличиваем на 15% */
}


@media(max-width:992px) {
    .navbar .btn-group {
        gap: 0 1rem;
    }

    .navbar .btn-group .beg_btn {
        transform: translateX(0rem);
    }
}

@media(max-width:600px) {
    .predictive__item {
        padding: 5px;
    }

    .predictive__title {
        font-size: 1.2rem;
    }
}


.search-modal__input {
    background: transparent; /* убрать любой фон */
    outline: none;           /* убрать стандартный синий/серый контур */
}

.search-modal__field {
    background: transparent;
}













.certificate {
    padding: 40px 0;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.06) 0%, #ffffff 100%);
    margin-top: 40px;
}

.certificate__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Левая часть */
.certificate__content {
    max-width: 70%;
}

.certificate__description,
.certificate__description p {
    font-size: 1.4rem !important;
    line-height: 1.5 !important;
    color: #222222;
}

/* Правая часть */
.certificate__action {
    flex-shrink: 0;
}

.certificate__button {
    display: inline-block;
    padding: 2rem;
    border: 1px solid #000;
    text-decoration: none;
    transition: 0.3s;
    border-radius: 3rem;
    width: 270px;
    text-align: center;
    font-family: "Montserrat", sans-serif !important;
    font-size: 1.6rem;
    font-weight: 600 !important;
    line-height: normal;
    letter-spacing: 1.92px !important;
    text-transform: uppercase !important;
}

.certificate__button:hover {
    background: #000;
    color: #fff;
}

/* 📱 Адаптив */
@media (max-width: 768px) {
    .certificate__container {
        flex-direction: column;
        align-items: flex-start;
    }

    .certificate__content {
        max-width: 100%;
    }

    .certificate__action {
         margin: 0 auto;
        margin-top: 15px;
       
    }
}

@media (max-width: 368px) {
    .certificate__button {
width: 100%;
    }
}