/* ------------------------------------------------------------------------------------------------------------------------------------------------------ */
/* ГЛАВНАЯ СТРАНИЦА ПОИСКА */
/* ------------------------------------------------------------------------------------------------------------------------------------------------------ */
.search{
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
    background: #FFFFFF;
}
.search_nav{
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    background: #F5F7FA;
    padding: 10px;
}
.search_nav a,
.search_nav h3{
    font-size: 18px;
}
.search_nav_mobile_h3{
    display: none;
}
.search_nav h3{
    position: relative;
    margin: 0 0 -3px 5px;
    color: #193970;
}
.search_nav a{
    padding: 3px 5px;
    font-size: 14px;
    color: #666666;
    border-radius: 4px;
}
.search_nav a:hover{
    background: #1A73E8;
    color: #FFFFFF;
}
.search_nav .icon_house_door::before{
    width: 20px;
    height: 20px;
    margin: 0 3px -1px 0;
}
.search_nav .icon_privacy::before{
    width: 20px;
    height: 20px;
    margin: 0 3px -2px 0;
}
.search_empty{ /* Нет результата поиска товаров */
    width: auto;
    background: #FFF3CD;
    border: 1px solid #FFECB5;
    margin: 5px 10px;
    padding: 10px;
    text-align: center;
    font-size: 16px;
    color: #856404;
}
.search_result_success{ /* Успех - результат поиска товаров */
    width: auto;
    background: #00A046;
    margin: 5px 10px;
    padding: 10px;
    text-align: center;
    font-size: 16px;
    color: #FFFFFF;
}
/* Сортировка товара (блок) */
.content_catalog_iteam_nav_sort{ 
    display: flex;
    flex-direction: row;
    align-items: center;
    position: absolute;
    top: 10px;
    right: 20px;
}
.content_catalog_iteam_nav_sort .icon_sort::before{
    width: 20px;
    height: 20px;
    margin: 0 5px -3px 0;
    background-color: #193970;
}
.content_catalog_iteam_nav_sort .custom-select{ /*Кастомная сортировка каталога*/
    position:relative;
    width: 180px;
    max-width: 100%;
    font-size: 14px;
    user-select: none;
    z-index: 10;
}
.content_catalog_iteam_nav_sort .custom-select-trigger{ /*Кнопка сортировки*/
    position:relative;
    background-color: #193970;
    border:1px solid #193970;
    border-radius: 4px;
    padding:5px 40px 5px 16px;
    cursor:pointer;
    color:#FFFFFF;
}
.content_catalog_iteam_nav_sort .custom-select-trigger::before{
    content:"";
    position:absolute;
    top:0;
    bottom:0;
    right:34px;
    width:1px;
    background-color: #FFFFFF;
}
.content_catalog_iteam_nav_sort .custom-select-trigger::after{
    content:"";
    position: absolute;
    right: 12px;
    top: 50%;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #FFFFFF;
    transform:translateY(-50%);
    transition:transform .2s ease;
}
.content_catalog_iteam_nav_sort .custom-select.open .custom-select-trigger::after{
    transform:translateY(-50%) rotate(180deg);
}
.content_catalog_iteam_nav_sort .custom-select.open .custom-select-trigger{
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-color: #193970;
}
.content_catalog_iteam_nav_sort .options-wrap{ /*Выпадающий список*/
    position:absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #FFFFFF;
    border:1px solid #CCCCCC;
    border-top: none;
    border-radius: 0 0 4px 4px;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events:none;
    z-index: 100;
    transition: opacity .2s ease,transform .2s ease;
}
.content_catalog_iteam_nav_sort .custom-select.open .options-wrap{
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.content_catalog_iteam_nav_sort .custom-options{ /* Прокрутка вариантов */
    max-height: 170px;
    overflow-y: auto;
    scrollbar-width:none;
    -ms-overflow-style:none;
}
.content_catalog_iteam_nav_sort .custom-options::-webkit-scrollbar{
    display:none;
}
.content_catalog_iteam_nav_sort .custom-option{ /* Варианты сортировки */
    padding: 8px 16px;
    cursor: pointer;
}
.content_catalog_iteam_nav_sort .custom-option:hover{
    background: #1A73E8;
    color: #FFFFFF;
}
.content_catalog_iteam_nav_sort .custom-option.selected{
    font-weight: bold;
    background: #F2F2F2;
}
.content_catalog_iteam_nav_sort .custom-option.selected:hover{
    background: #1A73E8;
    color: #FFFFFF;
}
.content_catalog_products_list{ /* Список товаров */
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr)); 
    column-gap: 10px;
    row-gap: 10px;   
    width: 100%;
    padding: 10px;
}
.content_catalog_products_iteam{ /* Карточка товара */
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #F5F7FA;
    border: 1px solid #E9E9E9;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}
.content_catalog_products_iteam:hover{
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.22);
}
.content_catalog_products_iteam_top{ /* Верхний блок карточки товара */
    position: relative; 
    width: 100%;
}
.content_catalog_products_iteam_top_title{
    text-align: center;
    width: 100%;
    padding: 10px 30px;
    border-bottom: 1px solid #E9E9E9;
}
.content_catalog_products_iteam_top_title a{
    color: #193970;
    font-weight: bold;
}
.content_catalog_products_iteam_top_title a:hover{
    text-decoration: underline;
    color: #00A046;
}
.content_catalog_products_iteam_top_title .icon_heart,
.content_catalog_products_iteam_top_title .icon_heart_fill{
    position: absolute; 
    top: 0;
    right: 0;  
}
.content_catalog_products_iteam_top_title .icon_heart:hover::before{
    background-color: #FF3B30;
}
.content_catalog_products_iteam_top_title .icon_heart_fill{
    color: #FF3B30;
}
.content_catalog_products_iteam_top_title .icon_heart::before,
.content_catalog_products_iteam_top_title .icon_heart_fill::before{
    width:18px;
    height:18px;
    margin:0 0 -6px 10px;
}
.content_catalog_products_iteam_top_popular{ /* Блок рейтинга + комментарии карточки товара */
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    width: 100%;
    background: #FFFFFF;
    border-bottom: 1px solid #E9E9E9;
    padding: 5px 10px;
    font-size: 14px;
    color: #6F7985;
}
.content_catalog_products_iteam_top_popular .icon_star_fill::before,
.content_catalog_products_iteam_top_popular .icon_star::before{
    width: 15px;
    height: 15px;
    margin: 0 0 -2px 0;
}
.content_catalog_products_iteam_top_popular .icon_star_fill::before{
    background-color:#FFA900;
}
.content_catalog_products_iteam_top_popular .icon_star::before{
    background-color:#CCCCCC;
}
.content_catalog_products_iteam_top_popular .icon_chat_bubble_text::before{
    width:14px;
    height:14px;
    margin:0 3px -2px 0;
    background-color: #1A73E8;
}
.content_catalog_products_iteam_center{ /* Центральный блок карточки товара */
    display: flex;
    flex-direction: row;
    width: 100%;
}
.content_catalog_products_iteam_center_preview{ /* Изображения карточки товара */
    width: 60%;
}
.content_catalog_products_iteam_center_preview img{
    width: 100%;
    border-right: 1px solid #E9E9E9;
    border-bottom: 1px solid #E9E9E9;
    padding: 10px;
}
.content_catalog_products_iteam_center_volumes{ /* Обьемы карточки товара */
    display: flex;
    align-items: flex-end; /* Элементы прижимаются к правой стороне */
    flex-direction: column; /* Элементы располагаются один под другим */
    justify-content: flex-start; /* Элементы начинаются сверху */
    gap: 10px;
    width: 40%;
    padding: 10px;
}
.content_catalog_products_iteam_center_volumes p{
    font-size: 14px;
    font-weight: bold;
    color: #333333;
}
.content_catalog_products_iteam_center_volumes button{
    background: #FFFFFF;
    border: 1px solid #CCCCCC;
    padding: 5px 10px;
    font-size: 14px;
    color: #111111;
}
.content_catalog_products_iteam_center_volumes button:hover{
    border: 1px solid #1A73E8;
    color:  #111111;
}
.content_catalog_products_iteam_center_volumes button.active{
    background: #1A73E8;
    border: 1px solid #1A73E8;
    color: #FFFFFF;
}
.content_catalog_products_iteam_bottom{ /* Нижний блок карточки товара (кнопки карточки товара) */
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
    margin-top: auto;
}
.content_catalog_products_iteam_bottom_info{
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: #FFFFFF;
    padding: 5px 10px;
    font-size: 18px;
    color: #009B40;
    font-weight: bold;
}
.content_catalog_products_iteam_bottom_info span{
    font-size: 14px;
    color: #111111;
}
.content_catalog_products_iteam_bottom_tools{
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    padding: 10px;
}
.content_catalog_products_iteam_bottom_tools .icon_cart_plus::before{ /* Иконка - Добавить в корзину */
    width: 16px;
    height: 16px;
    margin: 0 5px -2px 0;
}
.content_catalog_products_iteam_bottom_tools button{
    background: #00A046;
    padding: 8px;
    font-size: 15px;
    color: #FFFFFF;
}
.content_catalog_products_iteam_bottom_tools button:hover,
.content_catalog_products_iteam_bottom_tools_counter{
    background: #00BC52;
}
.content_catalog_products_iteam_bottom_tools_counter{
    display: none;
    background: #00A046;
    border-radius: 4px;
    color: #FFFFFF;
}
.content_catalog_products_iteam_bottom_tools_counter span{
    margin: 0 10px;
    font-size: 14px;
}
.content_catalog_products_iteam_bottom_tools .content_catalog_products_iteam_bottom_tools_counter_minus,
.content_catalog_products_iteam_bottom_tools .content_catalog_products_iteam_bottom_tools_counter_plus{
    font-size: 18px;
     padding: 6px 10px;
}
.content_catalog_products_iteam_bottom_tools_counter_minus{
    border-radius: 4px 0 0 4px;
}
.content_catalog_products_iteam_bottom_tools_counter_plus{
    border-radius: 0 4px 4px 0;
}
/* Постраничная навигация */
.content_products_pagination{
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    gap: 5px;
    width: 100%;
    padding: 10px;
}
.content_products_pagination a, 
.content_products_pagination span{
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
}
.content_products_pagination a{
    background: #193970;
    border: 1px solid #193970;
    color: #FFFFFF;
}
.content_products_pagination a:hover{
    background: #1A73E8;
    border: 1px solid #1A73E8;
}
.content_products_pagination span{
    background: #F5F7FA;
    border: 1px solid #E9E9E9;
    color: #444;
}
.content_products_pagination .icon_arrow_left_circle::before,
.content_products_pagination .icon_arrow_right_circle::after{
    width: 15px;
    height: 15px;
}
.content_products_pagination .icon_arrow_left_circle::before{
    margin: 0 5px -3px 0;
}
.content_products_pagination .icon_arrow_right_circle::after{
    margin: 0 0 -3px 5px;
}