#header .login_avatar_row{
    margin-left:40px;
}

/* articles */
.hint-new {
    position: absolute;
    margin-top: -65px;
    color: #9B0023;
    line-height:12px;
    font-size:13px;
}
.module_products_list .hint-new {
margin-top:-38px;
}
.display_list .hint-new {
    margin-top:-34px;
    width:300px;
    margin-left:-60px;
}
.product-tsena-ot{
    font-weight:bold;
     color:#9B0023;
    display:flex;
    font-size:28px;
    padding-bottom:10px;
    margin-bottom:10px;
    border-bottom:dashed 1px #CCC
    
}
.product-tsena-ot-price {
    margin-right:10px;
   
}
.catalog_block .price-from-catalog .price-from-catalog-quanty{
   margin-left:10px;
}

.module_products_list .price-from-catalog {
    font-size: 18px;
    color: #9B0023;
    display: flex;
    font-weight: bold;
}
.module_products_list  .price-from-catalog .price-from-catalog-quanty{
   margin-left:10px;
}

.display_list .price-from-catalog {
    font-size: 16px;
    color: #9B0023;
    display: flex;
    font-weight: bold;
}
.display_list  .price-from-catalog .price-from-catalog-quanty{
   margin-left:10px;
}

.catalog_block .catalog_item {
    box-sizing: border-box;
    padding: 20px 19px 0 20px;
    white-space: normal
}
.catalog_block .price-from-catalog {
    font-size: 16px;
    color: #9B0023;
    display: flex;
    font-weight: bold;
}

.item-stock-wrapper{
padding-bottom:15px
}
.item-stock-wrapper .item-stock {
     position:absolute;
    top:10px;
    left:5px   
}

.catalog_item:hover .item-title span {
    white-space: normal; /* Разрешаем перенос строк */
    width: 100%; /* Расширяем элемент */
}

.catalog_block .catalog_item_wrapp:hover {
border:solid 1px #ccc;
}
.catalog_block .hover_block{
box-shadow:none;
}

.add-by-article  #add-by-article-btn{
color:#ffffff;
background:#d9002a;
display:block;
margin: 5px auto;
width:200px;
padding:5px;
text-align:center;
cursor:pointer;
border:none
}
.show-more {
color:#ffffff;
background:#d9002a;
display:block;
margin: 5px auto;
width:200px;
padding:5px;
text-align:center;
cursor:pointer;
border:none
}


.error-message {
background:#d9002a;
color:#ffffff;
padding:5px;
border-radius:5px;
}
.success-message {
background:#228b22;
color:#ffffff;
padding:5px;
border-radius:5px;
}



.detail_text {
	counter-reset: heading;
 
}

.detail_text h6 {
	font-weight: bold;
	color: #c50026;
	font-size: 1.5rem;
	line-height: 2rem;
	margin-bottom: 24px;
}

.detail_text h6.h6-list::before {
	counter-increment: heading;
	content: counter(heading) ". ";
}

.detail_text img {
	max-width: 100%;
	height: auto;
	margin-bottom: 24px;
}

/* PRODUCT CARD [catalog.element] */
.preview_text__item {
	margin-bottom: 6px;
}

.preview_text__value {
	color: #131313;
	padding-left: 2px;
}

.preview_fuller {
	padding: 24px 0 32px;
}

.total_summ span {
	display: block;
}

.footer_disclaimer {
	font-size: 12px;
	line-height: 16px;
	padding: 12px 0 24px;
	color: rgb(109, 109, 109);
	text-align: center;
	font-weight: bold;
}

.middle_phone .phones .phone_text a {
	cursor: pointer;
	font-size: 18px;
}

.order_wrap_btn > span.callback_btn {
	display: block;
	border-radius: 4px;
	border: 1px solid #D9002A;
	padding: 0 6px;
	text-align: center;
	margin-top: 6px;
}

.article_card {
	font-size: 11px;
	color: #888888;
	padding: 4px 0;
}

ul.menu .child .child_wrapp, .breadcrumbs .dropdown {
	background: #ffffff !important;
}

ul.menu .child_wrapp a {
	color: #181818 !important;
}

#header .catalog_menu ul.menu > li > a {
	font-size: 13px;
	font-weight: normal;
	text-transform: none;
	padding: 0 22px;
}

ul.menu, ul.mini-menu {
	text-align: start;
}

ul.menu.bottom > .more.menu_item_l1 > a {
	font-weight: bold !important;
	background-color: #9b0023;
	padding: 0 24px 0 32px !important;
}

ul.menu .child .child_wrapp .depth3 a.title,
ul.menu .child .child_wrapp .depth3 a.title:hover {
	font-weight: bold !important;
	color: white !important;
}

ul.menu .child .child_wrapp .depth3 a.title:hover {
	background-color: #d9002a !important;
}

.has_menu.m_color_colored #header .catalog_menu ul.menu > li > a:hover {
	color: white !important;
}

.catalog_menu,
.has_menu.m_color_colored #header .catalog_menu ul.menu > li {
	background-color: #9B0023 !important;
	transition: background-color 0.2s ease-in;
}

.has_menu.m_color_colored #header .catalog_menu ul.menu > li:hover {
	background-color: #d9002a !important;
}

ul.menu.bottom > .more.menu_item_l1:hover > a {
	background-color: #d9002a !important;
}

.wrapper.has_menu .catalog_menu ul.menu li a i {
	background: url("/bitrix/templates/aspro_mshop/images/menu.svg") no-repeat 0 0;
	width: 16px;
	height: 16px;
	float: left;
	margin: 18px 10px 0 0;
}

#header .catalog_menu ul li.more a:hover,
ul.menu .child li.menu_title a:hover {
	color: #D9002A !important;
}

.articles-list .item .item-title a,
.catalog_item .item-title a {
	color: #131313 !important;
}

.section_item_inner .section_info a {
	color: #888888;
	transition: color 0.25s ease-out;
}

.articles-list .item .item-title a:hover,
.catalog_item .item-title a:hover,
.section_item_inner .section_info a:hover {
	color: #d9002a !important;
}

.basket_wrapp .wrapp_all_icons {
	padding-top: 0;
}

.basket_wrapp .basket_block .text.f-left {
	margin-top: -14px;
}

#content .right_block.catalog .catalog_block {
	display: flex;
	flex-wrap: wrap;
	gap: 0 0;
}

.catalog_block .catalog_item_wrapp {
	float: none;
	padding: 0;
	width: 25%;
}

.catalog_block .item_wrap {
	transition: none;
}

.catalog_block .catalog_item_wrapp .item-title {
	height: 80px;
	overflow: hidden;
}

.bottom_nav.block {
	float: none;
	padding-top: 48px;
}

@media (max-width: 946px) {
	.catalog_block .catalog_item_wrapp .item-title,
	.catalog_block .item_wrap {
		height: auto !important;
	}

	.catalog_block .catalog_item {
		margin-right: 0 !important;
	}
}


@media (max-width: 600px) {
    .start_promo .item.wide100 img, .start_promo .item.wide50 img {
        transform: none!important;
        width: 100%;
    }
	    .wrapper_inner .start_promo .item,.wrapper_inner .start_promo .item.wide100,.wrapper_inner .start_promo .item.wide50 {
        width: 100%!important;
        border: 2px solid #fff;
        height:200px!important;
    }
    .catalog_block .price-from-catalog {
        align-items:center;
        justify-content:center;
        margin-top:10px;
    }
.product-tsena-ot {
    font-size: 19px;
   
}
.display_list .price-from-catalog {
      justify-content:center;
}
}

/* Стили для заголовков табов */
.tabs_section h2,
.tabs_section .tabs-head h2,
.tabs_section .tabs_content h2 {
	font-size: 14px !important;
	margin: 0 !important;
	color: #6d6d6d !important;
	padding: 0;
	font-weight: inherit;
	line-height: inherit;
	text-transform: none;
	letter-spacing: normal;
	border: none;
	background: none;
	box-shadow: none;
}

/* Цвет текста для активного таба */
.tabs_section .tabs-head li.current h2,
.tabs_section .tabs-head li.current span h2 {
	color: #d02c47 !important;
}


@media (max-width: 500px) {
    .start_promo .item.wide100 img, .start_promo .item.wide50 img {
        transform: none!important;
        width: 100%;
    }
	    .wrapper_inner .start_promo .item,.wrapper_inner .start_promo .item.wide100,.wrapper_inner .start_promo .item.wide50 {
        width: 100%!important;
        border: 2px solid #fff;
        height:200px!important;
    }
    .catalog_block .price-from-catalog {
        align-items:center;
        justify-content:center;
        margin-top:10px;
    }
.product-tsena-ot {
    font-size: 14px;
   
}
.display_list .price-from-catalog {
      justify-content:center;
}
}

/* Стили для заголовков табов */
.tabs_section h2,
.tabs_section .tabs-head h2,
.tabs_section .tabs_content h2 {
	font-size: 14px !important;
	margin: 0 !important;
	color: #6d6d6d !important;
	padding: 0;
	font-weight: inherit;
	line-height: inherit;
	text-transform: none;
	letter-spacing: normal;
	border: none;
	background: none;
	box-shadow: none;
}

/* Цвет текста для активного таба */
.tabs_section .tabs-head li.current h2,
.tabs_section .tabs-head li.current span h2 {
	color: #d02c47 !important;
}













 #tableOp {
        border: 1px solid #ddd;
        border-collapse: collapse;
        width: 98%;
        min-width: 600px;
    }
    
    #tableOp td {
        border: 1px solid #ddd;
        padding: 12px;
        text-align: left;
    }
    
    /* Убираем отступы у p тегов внутри таблицы */
    #tableOp td p {
        margin: 0;
        padding: 0;
    }
    
    /* Мобильная адаптация через медиа-запросы */
    @media (max-width: 768px) {
        #tableOp {
            display: block !important;
            width: 100% !important;
            min-width: 0 !important;
            max-width: 100% !important;
        }
        
        #tableOp tbody {
            display: block !important;
        }
        
        #tableOp thead {
            display: none !important;
        }
        
        #tableOp tr {
            display: block !important;
            border: 1px solid #ddd !important;
            margin-bottom: 15px !important;
            padding: 10px !important;
            background: #f9f9f9 !important;
        }
        
        #tableOp td {
            display: block !important;
            border: none !important;
            position: relative !important;
            padding-left: 50% !important;
            padding-top: 10px !important;
            padding-bottom: 10px !important;
            padding-right: 12px !important;
        }
        
        #tableOp td:not(:last-child) {
            border-bottom: 1px solid #eee !important;
        }
        
        /* Метки для мобильной версии через псевдоэлементы */
        #tableOp tr td:nth-child(1):before {
            content: "Название: ";
            position: absolute;
            left: 6px;
            width: 45%;
            padding-right: 10px;
            white-space: nowrap;
            font-weight: bold;
        }
        
        #tableOp tr td:nth-child(2):before {
            content: "Тип: ";
            position: absolute;
            left: 6px;
            width: 45%;
            padding-right: 10px;
            white-space: nowrap;
            font-weight: bold;
        }
        
        #tableOp tr td:nth-child(3):before {
            content: "Цена: ";
            position: absolute;
            left: 6px;
            width: 45%;
            padding-right: 10px;
            white-space: nowrap;
            font-weight: bold;
        }
        
        #tableOp tr td:nth-child(4):before {
            content: "Описание: ";
            position: absolute;
            left: 6px;
            width: 45%;
            padding-right: 10px;
            white-space: nowrap;
            font-weight: bold;
        }
    }





















/* Кастомные стили для мобильной версии */
/* Мобильный блок с логотипом и поиском */

/* Мобильный блок - скрыт на десктопе по умолчанию */
.mobile-header-block {
	display: none;
}

.mobile-header-block .wrapper_inner {
	width: 100%;
	padding: 15px;
	box-sizing: border-box;
}

.mobile-header-block .mobile-logo-block {
	width: 100%;
	text-align: center;
	padding-bottom: 15px;
}

.mobile-header-block .mobile-logo-block .logo {
	display: block;
	text-align: center;
	width: 100%;
}

.mobile-header-block .mobile-logo-block .logo a,
.mobile-header-block .mobile-logo-block .logo img {
	display: inline-block;
	max-width: 90%;
	height: auto;
}

/* Скрываем первый логотип, оставляем только нижний (print_img) */
.mobile-header-block .mobile-logo-block .logo a:not(.print_img) {
	display: none !important;
}

.mobile-header-block .mobile-logo-block .logo a.print_img {
	display: inline-block !important;
}

.mobile-header-block .mobile-search-block {
	width: 100%;
}

.mobile-header-block .mobile-search-block .topgrad-search-wrapper {
	width: 100%;
	max-width: 100%;
	min-width: auto;
}


/* На мобильных устройствах */
@media (max-width: 767px) {
	/* Показываем мобильный блок */
        .header_wrap  {display:none !important;}
	.mobile-header-block {
		display: block !important;
	}
	
	/* Скрываем header_wrap на мобильных */
	.wrapper.front_page .header_wrap {
		display: none !important;
	}
}

/* На десктопе */
@media (min-width: 768px) {
	/* Скрываем мобильный блок на десктопе */
	.mobile-header-block {
		display: none !important;
	}
}