/* Кнопка варианта — обычное состояние (кроме варианта "Цвет" с картинками) */
.t-product__option-item:not(.t-product__option-item_image) {
  border-radius: 30px !important;
  border: 1px solid #fbcc00 !important;
  background-color: #181818 !important;
}

.t-product__option-item:not(.t-product__option-item_image) .t-product__option-title {
  color: #ffffff !important;
}

/* Выбранный (активный) вариант — кроме варианта "Цвет" */
.t-product__option-item_active:not(.t-product__option-item_image) {
  border-radius: 30px !important;
  border: 1px solid #fbcc00 !important;
  background-color: #fbcc00 !important;
}
.t-catalog__parts-switch-wrapper:has(button.t-catalog__parts-switch-btn):has(.t-catalog__parts-image-placeholder){display:flex!important;flex-wrap:wrap!important;gap:10px!important;align-items:center!important}
.t-catalog__parts-switch-wrapper:has(button.t-catalog__parts-switch-btn) .t-catalog__parts-above-item:has(.t-catalog__parts-image-placeholder),.t-catalog__parts-switch-wrapper:has(button.t-catalog__parts-switch-btn) .t-catalog__parts-above-item:has(button.t-catalog__parts-switch-btn){width:auto!important;flex:0 0 auto!important;max-width:none!important;margin:0!important;padding:0!important}
.t-catalog__parts-switch-wrapper:has(button.t-catalog__parts-switch-btn) a.t-catalog__parts-switch-btn:has(.t-catalog__parts-image-placeholder),.t-catalog__parts-switch-wrapper:has(button.t-catalog__parts-switch-btn) button.t-catalog__parts-switch-btn{box-sizing:border-box!important;display:inline-flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;width:auto!important;height:44px!important;min-height:44px!important;max-height:44px!important;padding:0 24px!important;border:0!important;border-radius:30px!important;box-shadow:none!important;background:#000!important;color:rgba(255,255,255,.65)!important;opacity:1!important;cursor:pointer!important;transition:background .2s,color .2s,transform .15s!important}
.t-catalog__parts-switch-wrapper:has(button.t-catalog__parts-switch-btn) a.t-catalog__parts-switch-btn:has(.t-catalog__parts-image-placeholder) .t-catalog__parts-image-wrapper,.t-catalog__parts-switch-wrapper:has(button.t-catalog__parts-switch-btn) button.t-catalog__parts-switch-btn .t-catalog__parts-image-wrapper{display:none!important}
.t-catalog__parts-switch-wrapper:has(button.t-catalog__parts-switch-btn) a.t-catalog__parts-switch-btn:has(.t-catalog__parts-image-placeholder) .t-catalog__parts-back-img-top-text,.t-catalog__parts-switch-wrapper:has(button.t-catalog__parts-switch-btn) button.t-catalog__parts-switch-btn .t-catalog__parts-back-img-top-text{width:auto!important;padding:0!important;margin:0!important}
.t-catalog__parts-switch-wrapper:has(button.t-catalog__parts-switch-btn) a.t-catalog__parts-switch-btn:has(.t-catalog__parts-image-placeholder) .t-catalog__parts-title,.t-catalog__parts-switch-wrapper:has(button.t-catalog__parts-switch-btn) button.t-catalog__parts-switch-btn .t-catalog__parts-title{color:inherit!important;font-family:'FormaDJRCyrillicDisplay',Arial,sans-serif!important;font-size:16px!important;font-weight:400!important;line-height:1!important;margin:0!important;white-space:nowrap!important;overflow:visible!important;opacity:1!important}
.t-catalog__parts-switch-wrapper:has(button.t-catalog__parts-switch-btn) a.t-catalog__parts-switch-btn:has(.t-catalog__parts-image-placeholder):hover,.t-catalog__parts-switch-wrapper:has(button.t-catalog__parts-switch-btn) button.t-catalog__parts-switch-btn:hover{color:#fff!important}
.t-catalog__parts-switch-wrapper:has(button.t-catalog__parts-switch-btn) a.t-catalog__parts-switch-btn.t-active:has(.t-catalog__parts-image-placeholder){background:#FBCC00!important;color:#000!important}
.t-catalog__parts-switch-wrapper:has(button.t-catalog__parts-switch-btn) button.t-catalog__parts-switch-btn{background:transparent!important;padding:0 14px 0 6px!important}
.t-catalog__parts-switch-wrapper:has(button.t-catalog__parts-switch-btn) button.t-catalog__parts-switch-btn .t-catalog__parts-title::before{content:"← "}
@media (max-width:640px){.t-catalog__parts-switch-wrapper:has(button.t-catalog__parts-switch-btn):has(.t-catalog__parts-image-placeholder){flex-wrap:nowrap!important;overflow-x:auto!important;scrollbar-width:none;margin-right:-20px!important;padding-right:20px!important}.t-catalog__parts-switch-wrapper:has(button.t-catalog__parts-switch-btn) a.t-catalog__parts-switch-btn:has(.t-catalog__parts-image-placeholder){height:40px!important;min-height:40px!important;max-height:40px!important;padding:0 18px!important}}
#allrecords .t-catalog__card__mark-wrapper{top:0!important;left:0!important;right:auto!important}
#allrecords .t-catalog__card__mark{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;height:auto!important;min-width:0!important;min-height:0!important;padding:5px 10px!important;border-radius:30px!important;background:#FBCC00!important;color:#000!important;box-shadow:none!important;font-family:'FormaDJRCyrillicDisplay',Arial,sans-serif!important;font-size:10px!important;font-weight:400!important;line-height:1!important;white-space:nowrap!important;text-transform:none!important;letter-spacing:0!important}

/* Samsung (страница 321148009): фильтры только после выбора раздела + воздух вокруг фото */
#allrecords[data-tilda-page-id="321148009"] .t-catalog:not(:has(a.t-catalog__parts-switch-btn.t-active)) .t-catalog__filter{display:none!important}
#allrecords[data-tilda-page-id="321148009"] .t-catalog__card__imgwrapper{background:#fff!important;overflow:hidden!important}
#allrecords[data-tilda-page-id="321148009"] .t-catalog__card__bgimg{background-size:contain!important;background-repeat:no-repeat!important;background-position:center!important;transform:scale(.8)!important}
#allrecords[data-tilda-page-id="321148009"] .t-slds__imgwrapper{background:#fff!important;overflow:hidden!important}
#allrecords[data-tilda-page-id="321148009"] .t-slds__bgimg{background-size:contain!important;background-repeat:no-repeat!important;background-position:center!important;transform:scale(.82)!important}

/* Фильтры каталога: без жёлтой обводки, серый текст, белый при наведении, жёлтый у выбранного */
#allrecords .t-catalog__filter__item_border,#allrecords .t-catalog__filter__opts-mob-btn{border-color:transparent!important;background:transparent!important;box-shadow:none!important}
#allrecords .t-catalog__filter__item-title,#allrecords .t-catalog__filter__opts-mob-btn{color:rgba(255,255,255,.65)!important;font-family:'FormaDJRCyrillicDisplay',Arial,sans-serif!important;transition:color .2s!important}
#allrecords .t-catalog__filter__item-title::after{border-color:currentColor!important}
#allrecords .t-catalog__filter__opts-mob-btn svg *{stroke:currentColor!important}
#allrecords .t-catalog__filter__item:hover .t-catalog__filter__item-title,#allrecords .t-catalog__filter__opts-mob-btn:hover{color:#fff!important}
#allrecords .t-catalog__filter__item:has(input[type=checkbox]:checked) .t-catalog__filter__item-title{color:#FBCC00!important}
/* Плашка выбранного значения («× 16 ГБ») — жёлтая заливка, чёрный текст и крестик */
#allrecords .t-catalog__filter__chosen-val{border-color:#FBCC00!important;background:#FBCC00!important;color:#000!important}
#allrecords .t-catalog__filter__chosen-val .t-catalog__filter__chosen-val-text{color:#000!important}
#allrecords .t-catalog__filter__chosen-val::before,#allrecords .t-catalog__filter__chosen-val::after{background-color:#000!important;border-color:#000!important;color:#000!important}
#allrecords .t-catalog__filter__chosen-val:hover{opacity:.85}
/* «Найдено: N» и «Сбросить» — серым */
#allrecords .t-catalog__filter__prods-number,#allrecords .t-catalog__filter__prods-number span,#allrecords .t-catalog__filter__reset{color:rgba(255,255,255,.65)!important}