::selection {
    color: #fff7ea;
    background-color: #49929c;
}

::moz-selection {
    color: #fff7ea;
    background-color: #49929c;
}

::-moz-selection {
    color: #fff7ea;
    background-color: #49929c;
}

::-webkit-selection {
    color: #fff7ea;
    background-color: #49929c;
}



/* ========================
   ПОИСКОВОЕ ПОЛЕ С ЛУПОЙ
   ======================== */
.t-store__filter__search .t-store__search-wrapper {
    border: 2px solid #c49c61;
    border-radius: 50px;
    background-color: #f5fffc;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    height: 38px;
}

.t-store__filter__search input.js-store-filter-search {
    border: none;
    outline: none;
    background-color: transparent;
    color: #1c393d;
    font-size: 16px;
    flex: 1;
    padding: 0 12px;
    height: 100%;
    border-radius: 50px;
}

.t-store__filter__search input::placeholder {
    color: #1c393d;
    opacity: 1;
}

.t-store__filter__search .t-store__search-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 2px solid #c49c61;
    cursor: pointer;
    box-sizing: border-box;
}

.t-store__filter__search .t-store__search-icon svg {
    max-height: 24px;
    width: auto;
    display: block;
    fill: #1c393d;
}

.t-store__filter__search .t-store__search-wrapper:focus-within {
    border: 3px solid rgba(28, 57, 61, 0.5);
}

/* ========================
   СТАНДАРТНЫЕ СЕЛЕКТЫ (СОРТИРОВКА)
   ======================== */
.t-store__filter__sort .t-store__sort-select-wrapper {
    border: 2px solid #c49c61;
    border-radius: 50px;
    background-color: #f5fffc;
    padding: 3px 12px;
    height: 38px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.t-store__filter__sort select.js-store-filter-sort {
    border: none;
    outline: none;
    background-color: transparent;
    color: #1c393d;
    font-size: 16px;
    width: 100%;
    padding-right: 35px;
    height: 100%;
    border-radius: 50px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
}

/* Стрелка */
.t-store__filter__sort select.js-store-filter-sort {
    background-image: url("data:image/svg+xml;utf8,");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px 16px;
}

.t-store__filter__sort .t-store__sort-select-wrapper:focus-within {
    border: 3px solid rgba(28, 57, 61, 0.5);
}

/* ========================
   ФИЛЬТР ЦЕНЫ
   ======================== */
.t-store__filter__item-price-box {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 8px;
}

.t-store__filter__input.js-store-filter-pricemin,
.t-store__filter__input.js-store-filter-pricemax {
    border: 2px solid #c49c61;
    border-radius: 50px;
    background-color: #f5fffc;
    color: #1c393d;
    font-size: 16px;
    height: 38px;
    padding: 0 14px;
    min-width: 110px;
    outline: none;
    transition: border 0.2s;
    box-sizing: border-box;
}

.t-store__filter__delimeter {
    font-size: 16px;
    color: #1c393d;
}

/* Кнопка OK */
.t-store__filter__btn.js-store-filter-price-btn {
    border: 2px solid #c49c61;
    border-radius: 50px;
    background-color: #f5fffc;
    color: #1c393d;
    font-size: 14px;
    height: 38px;
    min-width: 80px;
    padding: 0 16px; /* пространство слева/справа */
    cursor: pointer;
    transition: border 0.2s, background 0.2s;
    display: flex;
    align-items: center;
justify-content: space-evenly;
}

.t-store__filter__btn.js-store-filter-price-btn:hover {
    border: 3px solid rgba(28, 57, 61, 0.5);
    background-color: #f0fdfb;
}

.t-store__filter__input:focus {
    border: 3px solid rgba(28, 57, 61, 0.5);
}

/* ========================
   ОБЩИЕ ПОЛЯ И ФИЛЬТРЫ
   ======================== */
.t-store__filter__item-controls-wrap,
.t-store__filter__item-controls-container {
    border-radius: 25px;
}


/* КАСТОМНЫЕ ФИЛЬТЫ (ФАБРИКА) */

/* Внешний контейнер списка */
.t-store__filter__item-controls-wrap.js-store-filter-item-controls-wr {
    border: 2px solid #c49c61;
    border-radius: 25px;
    background-color: #fff7ea;
    overflow: hidden; /* чтобы фон опций не выходил */
}

/* Контейнер опций */
.t-store__filter__item-controls-container[data-type="selectbox"] {
    display: flex;
    flex-direction: column;
}

/* Опции */
.t-store__filter__custom-sel.js-store-filter-custom-select {
    display: block;
    background-color: transparent; /* прозрачный, чтобы фон подсветки был аккуратно */
    color: #1c393d;
    padding: 8px 12px;
    margin: 0;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.2s, color 0.2s;
    border-radius: 0; /* убираем скругления у опций */
}

/* Hover эффект */
.t-store__filter__custom-sel.js-store-filter-custom-select:hover {
    background-color: #79ada0;
    color: #fff;
}

/* Активный пункт */
.t-store__filter__custom-sel.js-store-filter-custom-select.is-active {
    background-color: #c49c61;
    color: #fff;
}

/* Списки внутри картоек товаров в попапах */


.t-product__option .t-product__option-variants_regular {
    border: 2px solid #c49c61;
    border-radius: 50px;
    background-color: #f5fffc;
    padding: 3px 12px;
    height: 38px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.js-product select.t-product__option-select {

    border: none;
    outline: none;
    background: #f5fffc;
    background-color: transparent;
    color: #1c393d;
   font-size: 16px;
    width: 100%;
    padding-right: 35px;
    height: 100%;
    border-radius: 50px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
}

:root {

    --darkreader-neutral-background:#fff7ea !important;
    --darkreader-neutral-color: #1c393d  !important;
    --darkreader-selection-background: #79ada0 !important;
    --darkreader-selection-color: #1c393d !important;
}



:enabled

.js-product .t-product__option-select option {
      -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
  background: #f5fffc;
  color: #1c393d;
  transition: 0.4s;
}



.js-product .t-product__option-select option:checked {
  background-color: #1c393d;
  color: #fff7ea;
}



.js-product .t-product__option-select option:hover {
  background-color: #79ada0;
  color: #fff7ea;
}




/* ========================
   АДАПТИВНОСТЬ
   ======================== */
@media (max-width: 768px) {
    .t-store__filter__search .t-store__search-wrapper,
    .t-store__filter__sort .t-store__sort-select-wrapper,
    .t-store__filter__input.js-store-filter-pricemin,
    .t-store__filter__input.js-store-filter-pricemax,
    .t-store__filter__btn.js-store-filter-price-btn,
    .t-store__filter__custom-sel {
        height: 34px;
        font-size: 14px;
    }

    .t-store__filter__btn.js-store-filter-price-btn {
        min-width: 70px;
        padding: 0 12px;
    }
}

@media (max-width: 480px) {
    .t-store__filter__search .t-store__search-wrapper,
    .t-store__filter__sort .t-store__sort-select-wrapper,
    .t-store__filter__input.js-store-filter-pricemin,
    .t-store__filter__input.js-store-filter-pricemax,
    .t-store__filter__btn.js-store-filter-price-btn,
    .t-store__filter__custom-sel {
        height: 32px;
        font-size: 13px;
    }

    .t-store__filter__btn.js-store-filter-price-btn {
        min-width: 60px;
        padding: 0 10px;
    }
}



/* ========================
   КАСТОМИЗАЦИЯ ПУСТОЙ ВЫДАЧИ БЛОКОВ МАГАЗИНА
   ======================== */

.t-store__empty-part-msg-wrapper, .t-store__error-msg-wrapper {
    border-radius: 25px;
    background-color:#f5fffc;
    border:none;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}
