/* =========================================================
   GAMMA D'ORO — ПОИСК
   ========================================================= */


/* ---------------------------------------------------------
   1. ЧЁРНАЯ ПАНЕЛЬ ПОИСКА
   --------------------------------------------------------- */

#rec4386253301 .t985__widgetheader,
#rec4386253301 .t-search-widget__header {
    background: #111111 !important;

    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.14) !important;
}


/* ---------------------------------------------------------
   2. ПОЛЕ ПОИСКА
   --------------------------------------------------------- */

#rec4386253301 .t985__blockinput,
#rec4386253301 .t-search-widget__blockinput {
    position: relative !important;

    background: #ffffff !important;

    border: 1px solid rgba(216, 170, 89, 0.55) !important;

    border-radius: 14px !important;

    box-shadow: none !important;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease !important;
}


/* Поле в фокусе */
#rec4386253301 .t985__blockinput:focus-within,
#rec4386253301 .t-search-widget__blockinput:focus-within {
    border-color: #d8aa59 !important;

    box-shadow:
        0 0 0 2px rgba(216, 170, 89, 0.10) !important;
}


/* ---------------------------------------------------------
   3. ТЕКСТ, КОТОРЫЙ ВВОДИТ ПОЛЬЗОВАТЕЛЬ
   --------------------------------------------------------- */

#rec4386253301 .t985__input,
#rec4386253301 .t-search-widget__input {
    color: #171717 !important;

    font-family: 'TildaSans', Arial, sans-serif !important;

    font-size: 16px !important;

    font-weight: 400 !important;
}


/* ---------------------------------------------------------
   4. СКРЫВАЕМ РОДНОЙ PLACEHOLDER TILDA
   "Поиск по товарам и статьям"
   --------------------------------------------------------- */

#rec4386253301 .t985__input::placeholder,
#rec4386253301 .t-search-widget__input::placeholder {
    color: transparent !important;
    opacity: 0 !important;
}

#rec4386253301 .t985__input::-webkit-input-placeholder,
#rec4386253301 .t-search-widget__input::-webkit-input-placeholder {
    color: transparent !important;
    opacity: 0 !important;
}

#rec4386253301 .t985__input::-moz-placeholder,
#rec4386253301 .t-search-widget__input::-moz-placeholder {
    color: transparent !important;
    opacity: 0 !important;
}


/* ---------------------------------------------------------
   5. НАШ PLACEHOLDER
   --------------------------------------------------------- */

#rec4386253301 .t985__blockinput:has(.t985__input:placeholder-shown)::after,
#rec4386253301 .t-search-widget__blockinput:has(.t-search-widget__input:placeholder-shown)::after {

    content: "Поиск по аромату, бренду или номеру";

    position: absolute;

    left: 68px;
    top: 50%;

    transform: translateY(-50%);

    color: #8f8a82;

    font-family: 'TildaSans', Arial, sans-serif;

    font-size: 16px;

    font-weight: 400;

    line-height: 1.2;

    white-space: nowrap;

    pointer-events: none;

    z-index: 5;
}


/* ---------------------------------------------------------
   6. ЗОЛОТАЯ ЛУПА
   --------------------------------------------------------- */

#rec4386253301 .t985__search-icon circle,
#rec4386253301 .t985__search-icon line,
#rec4386253301 .t-search-widget__search-icon circle,
#rec4386253301 .t-search-widget__search-icon line {
    stroke: #c99632 !important;
}


/* ---------------------------------------------------------
   7. КНОПКА ОЧИСТКИ ВНУТРИ ПОЛЯ
   --------------------------------------------------------- */

#rec4386253301 .t985__clear-icon path,
#rec4386253301 .t-search-widget__clear-icon path {
    stroke: #8f8a82 !important;
}

#rec4386253301 .t985__clear-icon,
#rec4386253301 .t-search-widget__clear-icon {
    opacity: 0.70 !important;

    transition: opacity 0.2s ease !important;
}

#rec4386253301 .t985__clear-icon:hover,
#rec4386253301 .t-search-widget__clear-icon:hover {
    opacity: 1 !important;
}


/* ---------------------------------------------------------
   8. БОЛЬШОЙ КРЕСТИК ЗАКРЫТИЯ
   --------------------------------------------------------- */

#rec4386253301 .t985__close-icon path,
#rec4386253301 .t-search-widget__close-icon path {
    stroke: #ffffff !important;
}

#rec4386253301 .t985__close-icon,
#rec4386253301 .t-search-widget__close-icon {
    opacity: 0.82 !important;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease !important;
}

#rec4386253301 .t985__close-icon:hover,
#rec4386253301 .t-search-widget__close-icon:hover {
    opacity: 1 !important;
}


/* ---------------------------------------------------------
   9. ПОЛНОСТЬЮ СКРЫВАЕМ БЛОК ПОДСКАЗОК
   --------------------------------------------------------- */

#rec4386253301 .t985__searchvariants,
#rec4386253301 .t-search-widget__searchvariants {
    display: none !important;

    height: 0 !important;

    margin: 0 !important;

    padding: 0 !important;

    overflow: hidden !important;
}


/* ---------------------------------------------------------
   10. ОБЛАСТЬ РЕЗУЛЬТАТОВ
   --------------------------------------------------------- */

#rec4386253301 .t985__overlay,
#rec4386253301 .t-search-widget__overlay {
    background: #ffffff !important;
}


/* ---------------------------------------------------------
   11. СТРОКА
   "2 результата по запросу..."
   --------------------------------------------------------- */

#rec4386253301 .t985__result-count,
#rec4386253301 .t985__searchresult-info,
#rec4386253301 .t-search-widget__result-info {
    color: #6f6a63 !important;

    font-family: 'TildaSans', Arial, sans-serif !important;

    font-size: 14px !important;

    font-weight: 400 !important;

    line-height: 1.4 !important;
}


/* ---------------------------------------------------------
   12. НАЗВАНИЯ ТОВАРОВ
   --------------------------------------------------------- */

#rec4386253301 .t985__resultproduct-name,
#rec4386253301 .t985__resultproducttitle,
#rec4386253301 .t-search-widget__resultproduct-name,
#rec4386253301 .t-search-widget__resultproducttitle {
    color: #111111 !important;

    font-weight: 600 !important;
}


/* ---------------------------------------------------------
   13. ОПИСАНИЯ ТОВАРОВ
   --------------------------------------------------------- */

#rec4386253301 .t985__resultproduct-descr,
#rec4386253301 .t-search-widget__resultproduct-descr {
    color: #77716a !important;
}


/* ---------------------------------------------------------
   14. ЦЕНА
   --------------------------------------------------------- */

#rec4386253301 .t985__resultproduct-price,
#rec4386253301 .t-search-widget__resultproduct-price {
    color: #111111 !important;

    font-weight: 600 !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 640px) {

    #rec4386253301 .t985__widgetheader,
    #rec4386253301 .t-search-widget__header {
        background: #111111 !important;
    }


    #rec4386253301 .t985__blockinput,
    #rec4386253301 .t-search-widget__blockinput {
        border-radius: 12px !important;
    }


    #rec4386253301 .t985__input,
    #rec4386253301 .t-search-widget__input {
        font-size: 15px !important;
    }


    #rec4386253301 .t985__blockinput:has(.t985__input:placeholder-shown)::after,
    #rec4386253301 .t-search-widget__blockinput:has(.t-search-widget__input:placeholder-shown)::after {

        content: "Поиск по аромату или номеру";

        left: 52px;

        font-size: 14px;
    }


    #rec4386253301 .t985__result-count,
    #rec4386253301 .t985__searchresult-info,
    #rec4386253301 .t-search-widget__result-info {
        font-size: 13px !important;
    }
}