/* Hide the original plus sign and circle */
.t849__icon circle, 
.t849__icon .t849__lines {
    display: none !important;
}

/* Add a downward-pointing arrow with custom circle (default/closed state) */
.t849__icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='20' r='19' fill='white' stroke='none'/%3E%3Cpath d='M10 15L20 25L30 15' stroke='%237a4ba9' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") !important;
    background-size: 90% !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    transition: background-image 0.3s ease !important;
}

/* Updated hover state with #ead8fc background color */
.t849__icon:hover {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='20' r='19' fill='%23ead8fc' stroke='none'/%3E%3Cpath d='M10 15L20 25L30 15' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") !important;
}

/* CRITICAL: Target the actual open state correctly */
.t849__opened .t849__icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='20' r='19' fill='white' stroke='none'/%3E%3Cpath d='M10 25L20 15L30 25' stroke='%237a4ba9' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") !important;
}

/* Updated hover state for opened items with #ead8fc background color */
.t849__opened .t849__icon:hover {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='20' r='19' fill='%23ead8fc' stroke='none'/%3E%3Cpath d='M10 25L20 15L30 25' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") !important;
}













/* SH03 - Модификация для Тильды. Заменяем чекбоксы на кнопки в фильтрах ST320N */

/* Hide the checkbox indicators */
.uc-catalog .t-checkbox__indicator {
    display: none !important;
}

/* Style for filter buttons */
.uc-catalog .t-store__filter__custom-sel .t-store__filter__title, 
.t951 .t951__sidebar .t-store__filter__item .t-checkbox__control {
    padding: 5px 15px;
    border-radius: 30px;
    background: #f6f3fb; /* цвет кнопок */  
    user-select: none;
    width: fit-content;
}

/* Remove background from custom selectors */
.t-store__filter__custom-sel {
    background-color: transparent !important;
}

/* Set width for filter titles */
.t-store__filter__custom-sel .t-store__filter__title {
    width: fit-content;
}

/* Style for active filter buttons */
.uc-catalog .t951 .t951__sidebar .t-store__filter__item .t-checkbox__control.active, 
.t-store__filter__custom-sel.active .t-store__filter__title {
    background: #ad86d2; /* цвет активной кнопки */    
    color: #ffffff !important; /* цвет текста активной кнопки */  
}



/* Общий hover для всех пунктов меню */
[class^="menu-"]:hover {
  color: #FF8CB0 !important;
  transition: color 0.3s ease;
}

/* Активный пункт меню — жирный */
.active-menu {
  font-weight: bold !important;
}








/* Method 1: Complete text replacement */
.t-store__prod-popup__btn_disabled .t-store__card__btn-text {
    font-size: 0 !important;
    line-height: 0;
}

.t-store__prod-popup__btn_disabled .t-store__card__btn-text::before {
    content: "запись остановлена";
    font-size: 14px !important;
    line-height: normal;
    display: inline-block;
    font-family: inherit;
}