/*--- Переменные и сброс ---*/
:root{
  --primary: #007bff;
  --danger: #dc3545;
  --warning: #ffc107;
  --text-color: #333;
  --bg-light: #efefef;
}

/*---Общее---*/
h4{
    font-size:1.4rem;
}
h5{
    font-size:1.1rem;
}
article h1,
.icms-body-toolbox h1 {
  font-size: 1.8rem;
}
.text-small {
    font-size: 12px;
}
body{
  line-height:1.4;
}

/* Исправлено дублирование line-clamp: правила вынесены только в десктопный медиа-запрос */
@media (min-width: 992px) {
  .text-line-1,
  .text-line-2,
  .text-line-3,
  .text-line-4,
  .text-line-5,
  .text-line-6,
  .title-line-1 .f_title .value a,
  .title-line-2 .f_title .value a,
  .title-line-3 .f_title .value a,
  .title-line-4 .f_title .value a,
  .title-line-5 .f_title .value a,
  .title-line-6 .f_title .value a,
  .title-line-2.f_title .value a,
  .title-line-3.f_title .value a,
  .title-line-4.f_title .value a,
  .title-line-5.f_title .value a,
  .title-line-6.f_title .value a,
  .teaser-line-1 .f_teaser .value,
  .teaser-line-2 .f_teaser .value,
  .teaser-line-3 .f_teaser .value,
  .teaser-line-4 .f_teaser .value,
  .teaser-line-5 .f_teaser .value,
  .teaser-line-6 .f_teaser .value,
  .teaser-line-2.f_teaser .value,
  .teaser-line-3.f_teaser .value,
  .teaser-line-4.f_teaser .value,
  .teaser-line-5.f_teaser .value,
  .teaser-line-6.f_teaser .value,
  .content-line-1 .f_content .value,
  .content-line-2 .f_content .value,
  .content-line-3 .f_content .value,
  .content-line-4 .f_content .value,
  .content-line-5 .f_content .value,
  .content-line-6 .f_content .value,
  .content-line-2.f_content .value,
  .content-line-3.f_content .value,
  .content-line-4.f_content .value,
  .content-line-5.f_content .value,
  .content-line-6.f_content .value {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .title-line-1 .f_title .value a,
  .title-line-1.f_title .value a,
  .teaser-line-1 .f_teaser,
  .teaser-line-1 .f_teaser .value,
  .teaser-line-1.f_teaser .value,
  .content-line-1 .f_content .value,
  .content-line-1.f_content .value {
    -webkit-line-clamp: 1;
  }
  .title-line-2 .f_title .value a,
  .title-line-2.f_title .value a,
  .teaser-line-2 .f_teaser,
  .teaser-line-2 .f_teaser .value,
  .teaser-line-2.f_teaser .value,
  .content-line-2 .f_content .value,
  .content-line-2.f_content .value {
    -webkit-line-clamp: 2;
  }
  .title-line-3 .f_title .value a,
  .title-line-3.f_title .value a,
  .teaser-line-3 .f_teaser,
  .teaser-line-3 .f_teaser .value,
  .teaser-line-3.f_teaser .value,
  .content-line-3 .f_content .value,
  .content-line-3.f_content .value {
    -webkit-line-clamp: 3;
  }
  .title-line-4 .f_title .value,
  .teaser-line-4 .f_teaser,
  .teaser-line-4 .f_teaser .value,
  .content-line-4 .f_content .value {
    -webkit-line-clamp: 4;
  }
  .title-line-5 .f_title .value a,
  .title-line-5.f_title .value a,
  .teaser-line-5 .f_teaser,
  .teaser-line-5 .f_teaser .value,
  .teaser-line-5.f_teaser .value,
  .content-line-5 .f_content .value,
  .content-line-5.f_content .value {
    -webkit-line-clamp: 5;
  }
  .title-line-6 .f_title .value a,
  .title-line-6.f_title .value a,
  .teaser-line-6 .f_teaser,
  .teaser-line-6 .f_teaser .value,
  .teaser-line-6.f_teaser .value,
  .content-line-6 .f_content .value,
  .content-line-6.f_content .value {
    -webkit-line-clamp: 6;
  }
  .text-line-1 {
    -webkit-line-clamp: 1;
  }
  .text-line-2 {
    -webkit-line-clamp: 2;
  }
  .text-line-3 {
    -webkit-line-clamp: 3;
  }
  .text-line-4 {
    -webkit-line-clamp: 4;
  }
  .text-line-5 {
    -webkit-line-clamp: 5;
  }
  .text-line-6 {
    -webkit-line-clamp: 6;
  }
}

@media (max-width: 991px) {
  .text-line-mob-1,
  .text-line-mob-2,
  .text-line-mob-3,
  .text-line-mob-4,
  .text-line-mob-5,
  .text-line-mob-6,
  .teaser-line-mob-1 .f_title .value a,
  .teaser-line-mob-2 .f_title .value a,
  .teaser-line-mob-3 .f_title .value a,
  .teaser-line-mob-4 .f_title .value a,
  .teaser-line-mob-5 .f_title .value a,
  .teaser-line-mob-6 .f_title .value a,
  .teaser-line-mob-2.f_title .value a,
  .teaser-line-mob-3.f_title .value a,
  .teaser-line-mob-4.f_title .value a,
  .teaser-line-mob-5.f_title .value a,
  .teaser-line-mob-6.f_title .value a,
  .teaser-line-mob-1 .f_teaser .value,
  .teaser-line-mob-2 .f_teaser .value,
  .teaser-line-mob-3 .f_teaser .value,
  .teaser-line-mob-4 .f_teaser .value,
  .teaser-line-mob-5 .f_teaser .value,
  .teaser-line-mob-6 .f_teaser .value,
  .teaser-line-mob-2.f_teaser .value,
  .teaser-line-mob-3.f_teaser .value,
  .teaser-line-mob-4.f_teaser .value,
  .teaser-line-mob-5.f_teaser .value,
  .teaser-line-mob-6.f_teaser .value,
  .content-line-mob-1 .f_content .value,
  .content-line-mob-2 .f_content .value,
  .content-line-mob-3 .f_content .value,
  .content-line-mob-4 .f_content .value,
  .content-line-mob-5 .f_content .value,
  .content-line-mob-6 .f_content .value,
  .content-line-mob-2.f_content .value,
  .content-line-mob-3.f_content .value,
  .content-line-mob-4.f_content .value,
  .content-line-mob-5.f_content .value,
  .content-line-mob-6.f_content .value {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .title-line-mob-1 .f_title .value a,
  .title-line-mob-1.f_title .value a,
  .teaser-line-mob-1.f_teaser .value,
  .teaser-line-mob-1 .f_teaser .value,
  .content-line-mob-1 .f_content .value,
  .content-line-mob-1.f_content .value {
    -webkit-line-clamp: 1;
  }
  .title-line-mob-2 .f_title .value a,
  .title-line-mob-2.f_title .value a,
  .teaser-line-mob-2.f_teaser .value,
  .teaser-line-mob-2 .f_teaser .value,
  .content-line-mob-2 .f_content .value,
  .content-line-mob-2.f_content .value {
    -webkit-line-clamp: 2;
  }
  .title-line-mob-3 .f_title .value a,
  .title-line-mob-3.f_title .value a,
  .teaser-line-mob-3 .f_teaser .value,
  .teaser-line-mob-3.f_teaser .value,
  .content-line-mob-3 .f_content .value,
  .content-line-mob-3.f_content .value {
    -webkit-line-clamp: 3;
  }
  .title-line-mob-4 .f_title .value a,
  .title-line-mob-4.f_title .value a,
  .teaser-line-mob-4 .f_teaser .value,
  .teaser-line-mob-4.f_teaser .value,
  .content-line-mob-4 .f_content .value,
  .content-line-mob-4.f_content .value {
    -webkit-line-clamp: 4;
  }
  .title-line-mob-5 .f_title .value a,
  .title-line-mob-5.f_title .value a,
  .teaser-line-mob-5 .f_teaser .value,
  .teaser-line-mob-5.f_teaser .value,
  .content-line-mob-5 .f_content .value,
  .content-line-mob-5.f_content .value {
    -webkit-line-clamp: 5;
  }
  .title-line-mob-6 .f_title .value a,
  .title-line-mob-6.f_title .value a,
  .teaser-line-mob-6 .f_teaser .value,
  .teaser-line-mob-6.f_teaser .value,
  .content-line-mob-6 .f_content .value,
  .content-line-mob-6.f_content .value {
    -webkit-line-clamp: 6;
  }
  .text-line-mob-1 {
    -webkit-line-clamp: 1;
  }
  .text-line-mob-2 {
    -webkit-line-clamp: 2;
  }
  .text-line-mob-3 {
    -webkit-line-clamp: 3;
  }
  .text-line-mob-4 {
    -webkit-line-clamp: 4;
  }
  .text-line-mob-5 {
    -webkit-line-clamp: 5;
  }
  .text-line-mob-6 {
    -webkit-line-clamp: 6;
  }
}


/*---owl---*/
.nm-owl .owl-prev,.nm-owl .owl-next{position:absolute;top:0;bottom:0;display:flex;align-items:center}
.nm-owl .owl-prev .btn,
.nm-owl .owl-next .btn{
  background:rgba(0, 0, 0, 0.2);
  color:#fff;
  border:0;
  border-radius:0;
  padding:0 0.5rem 0 0.5rem;
  height:20%;
  display:flex;
  align-items:center;
}
.nm-owl .owl-prev .btn:hover,.nm-owl .owl-next .btn:hover{background:rgba(0, 0, 0, 0.4)}
.nm-owl .owl-prev svg,.nm-owl .owl-next svg{width:18px;height:18px;color:#fff;vertical-align:middle}
.nm-owl .owl-prev{left:0}
.nm-owl .owl-next{right:0}
.nm-owl .owl-dots{position:absolute;z-index:5;bottom:10%;left:0;right:0;display:flex;align-items:center;justify-content:center;text-align:center}
.nm-owl .owl-dots button.owl-dot{width:30px;height:3px;display:inline-block;background:rgba(255, 255, 255, 0.6);margin:0 4px}
.nm-owl .owl-dots button.owl-dot.active{background-color:#fff}
.nm-owl .owl-dots button.owl-dot:focus{outline:none}

.owl-stage {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

/*---Анимация---*/
.nav-tabs .nav-link, .nav-tabs .nav-item .nav-link,
.ft_category .btn,
.f_title a,
header .menu-main > li > a, 
header ul.navbar-nav > li > a{
    transition: color 0.2s ease-in-out;
}

/*---Bootsrtap---*/
@media (min-width: 1200px){
.container, .container-sm, .container-md, .container-lg, .container-xl {
    max-width: 1480px;
}
}
.dropdown-menu{
  z-index:1022;
}
.bg-light2{
  background: var(--bg-light);
}
.br-0{
  border-radius:0;
}
.btn-sm{
  font-size:13px;
}
.btn-next{
  position:relative;
}
.btn-next svg{
  position:absolute;
  right:1rem;
}
.card{
  border-color:#eee;
  border-radius:0;
}
.badge{
  font-weight: 400;
}
.labels .badge{
  padding:0 5px;
  line-height:22px;
}
.dropdown-menu{
    border-radius:0 !important;
    box-shadow: rgba(0, 0, 0, 0.14) 0px 10px 40px;
    border:0;
}
.nav-tabs .nav-link::before, .icms-navbar .nav-link::before {
    height: 1px;
}
.h-primary{
  height:48px;
  box-sizing:border-box !important;
}
.btn.h-primary{
  align-items: center;
  display:flex;
}

/** bootstrap dropdown multicol */
div.dropdown-multicol{
  width: 30em;
}
div.dropdown-row>a.dropdown-item{
  display:inline-block;
  width: 32%;
}
div.dropdown-multicol2{
  width: 30em;
}
div.dropdown-multicol2>div.dropdown-col{
  display:inline-block;
  width: 32%;
}

/*---Главное Меню---*/
.menu-main > li > a {
    text-transform: uppercase;
    font-weight: 600;
}
#target-main .navbar-nav .dropdown-menu a {
    padding:0.4rem 2rem;
}
@media (min-width: 992px){
#target-main .navbar-nav > li>a {
    padding:16px 20px;
    font-size:15px;
    border-right: 1px solid rgba(255,255,255,0.2) !important;
}
}

/*--- Шапка ---*/
html.sticky header.sticky-top {  
  box-shadow: rgba(0, 0, 0, 0.10) 0px 3px 10px;
}
.header_logo{
    position:relative;
    overflow:hidden;    
    transition:all 0.2s ease-in-out;
    flex-wrap:nowrap;
}
.header_logo__cats_toggler{
   transition:all 0.2s ease-in-out;   
   position:absolute;
   left:0;
}
html:not(.sticky) .header_logo__cats_toggler{
  left:-50px;
}
html.sticky .header_logo{
  padding-left:40px;
}
.search_in_header{
	min-width:400px;
}
@media screen and (max-width: 1360px) {
  .search_in_header{
	min-width:300px;
  }
  .search_in_header form .form-control{
	 min-width:300px !important;
  }
}
@media screen and (max-width: 1240px) {
  .search_in_header{
	min-width:260px;
  }
  .search_in_header form .form-control{
	  min-width:260px !important;
  }
}
@media screen and (max-width: 1200px) {
  .search_in_header{
	 display:none;
  }
}
@media screen and (max-width: 768px) {
  .search_in_header{
	 display:flex;
  }
}

/*--- Меню пользователя в вверху ---*/
.theme__header_top .icms-user-menu{
   background:none !important;
}

/*---Телефон---*/
.theme__phone a{
    text-decoration: none !important;
}
.theme__phone a[href="/forms/form_callback"]{
    border-radius:15px;    
    font-size:0.8rem;
}
.theme__header_top .theme__phone .btn{
   height:48px;
   border-radius:0;
   padding-left:2rem;
   padding-right:2rem;
   display:flex;
   align-items:center;
}

/*---Адрес---*/
.theme__adres a{
    text-decoration: none !important;
}

/*--- header__middle ---*/
.icms-header__middle{
  height:84px;
  display:flex;
  align-items:center;
  line-height:1.2;
}
.icms-header__middle .theme__adres{
    color:#333;
	font-size:17px;
}
.icms-header__middle .theme__phone a{
   font-size:17px;
   font-weight:600;
}

/*--- header_right ---*/
.header_right .icms2_favorites_counts{
	position:relative;
}
.header_right .icms2_favorites_counter {
	position:absolute;
	top:12px;
	right:5px;
	font-size:12px;
}
.header_right .mshop_cart_sum{
	font-size:17px;
}
.header_right .icms-user-menu__nickname{
	color:#000 !important;
	display:none !important;
}
.header_right .icms-user-menu__summary{	
	padding-left:10px !important;
	padding-right:10px !important;
	background:#fff;
}
.header_quest_menu .dropdown-toggle::after{
	display:none;
}

/*--- Поиск в шапке ---*/
.search_in_header form{
  position:relative;
}
.search_in_header form .form-control{
  border-radius:18px;
  padding-left:40px;
  padding-right:35px;
  background:#fafafa;
  border:1px solid #eee;
  font-size:15px;
  height:48px;
  min-width: 320px;
  color:#666;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.search_in_header form .form-control::placeholder{
    color:#999 !important;
}
.search_in_header span{
  position:absolute;
  left:0;
  top:0;  
  bottom:0;
  height:100%;
  display:flex;
  align-items:center;
}
.search_in_header button{
  position:absolute;
  right:0;
  top:0;
  bottom:0;
  height:100%;
  align-items:center;
}
.search_in_header svg{
  fill:#ccc;
  transition:fill 0.2s ease-in-out;
}
.search_in_header:hover button svg{
  fill:#000;
}
.search_in_header form .form-control:focus{
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
  outline: none;
}

/*---Social кнопки---*/
.theme__soc_icons{
    display:flex;
    align-items:center;
}
.theme__soc_icons a{
    padding:0.5rem 0.5rem;    
    font-size:1rem;
}

/*---Верх---*/
.theme__header_top{
    font-size:0.9rem;
}
.theme__header_top__left{
    display:flex;
    align-items:center;
}
.theme__header_top__left .navbar-nav .nav-link{
    padding-left:0;
}
.theme__header_top__left .navbar-nav .nav-item{
    padding-right:1rem;
}
.theme__header_top__right{
    display:flex;
    align-items:center;
    justify-content: flex-end;
}
.theme__header_top__right .theme__phone a{
    text-transform:uppercase;
	font-size:11px;
	font-weight:600;
}

/*---ТК поля---*/
.form-group.ft_checkbox {
	display:flex;
}
.form-group.ft_checkbox .custom-control.custom-switch {
	order:-1;
	margin-top:-2px;
}
.form-group.ft_scprice {
	display:flex;
	position:relative;
	padding-top:30px;
}
.form-group.ft_scprice label {
	position:absolute;
	top:0;
	left:0;
}
.form-group.ft_scprice .form-control.input  {
    margin-left:8px;
    margin-right:8px;
}

/*---Виджеты---*/
.icms-widget, .icms-widget .card-header {
  border-radius:0;
  background:#fff;
  border-color:#eee;
}
.icms-widget .card-header{
  text-transform:uppercase;
  height:52px;
}
.icms-widget .card-header.text-center{
  justify-content:center;
}
.icms-widget__transparent .card-header{
  background:none;
  border:0;
}
.icms-widget__transparent .card-header:before{
  display:none;
}
.icms-widget__tabbed .card-header,
.icms-widget .card-header{
  font-weight:800;
  text-transform:uppercase;  
  font-size:18px;
  color: #e81c1c;
}
.card-header.h4{
  font-size:18px;
}
.icms-widget .card-header .links .btn:not(:hover),
.icms-widget__tabbed .card-header .links .btn:not(:hover){
    color:var(--text-color);
}
.icms-widget .card-header .links .btn,
.icms-widget__tabbed .card-header .links .btn{
  border:0;
  padding:0;
  background:0;
  border-radius:0;
  margin-left:1rem;
  font-size:0.8rem;
  font-weight:600;
}
.icms-widget__tabbed{
   border:0;
}
.icms-widget__tabbed:not(.tabs-centered),
.icms-widget__tabbed:not(.tabs-centered)>.card-header{
   background:#fff;
}
.icms-widget__tabbed:not(.tabs-centered)>.card-header{
   margin:0;
   border-bottom:1px solid #eee
}
.icms-widget__tabbed:not(.tabs-centered)>.card-header .nav-item{
   border-right:1px solid #eee
}
.icms-widget__tabbed:not(.tabs-centered)>.card-header .nav-link{
   padding:0 3rem !important;
   height:52px;
   display:flex;
   align-items:center;
   margin: 0;
   border-radius:0;
   font-weight:400;
}
.icms-widget__tabbed:not(.tabs-centered)>.card-header .nav-link.active{
   background:var(--primary);
   color:#fff !important;
}
.icms-widget__tabbed>.card-header .nav-link:before{
  display:none;
}
.icms-widget__tabbed>.tab-content>.card-body{
   padding:0;
}
.icms-widget__tabbed.tabs-centered>.card-header{
  display:flex;
  justify-content:center;
  margin-bottom:1rem;
}
.icms-widget__tabbed.tabs-centered>.card-header .nav-link{
  height:52px;
  display:flex;
  align-items:center;
  margin: 0;
  border-radius:0;
}

/*---Записи ТК---*/
.f_title a{
    text-decoration: none !important;
}
.ft_category .btn{
     border:0;
     border-radius:0;
     font-size:0.8rem;
     text-transform:uppercase;
     font-weight:600;       
     padding:0;
     background:none;
}
.list_grid_big__item .ft_category .btn{
     padding:1px 6px;
}
.f_title h4{
    font-size:1.2rem;
}
.f_title h5{
    font-size:1rem;
}
.f_title .h6{
    font-size:14px;
}
.info_bar {
  background: none;
  border: 0;
  border-radius: 0;
}

/*---shop Корзина---*/
.cart_list_filter{
  position:relative;
}
.cart_list_filter input{
  padding-left:2.2rem;
  border-radius:0.25rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.cart_list_filter input:focus{
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
  outline: none;
}
.cart_list_filter svg{
  position:absolute;
  left:0.7rem;
  top:0.7rem;
  color:#888;
}
.mshop_cart_icon_wprice svg{
  width:24px;
  height:24px;
}
.mshop_cart_icon_wprice .wd_sc_cart_icon{
  position:relative;
}
.mshop_cart_icon_wprice .sc_cart_counter{
  background:#fff;
  color:var(--primary) ;
  border:2px solid var(--primary);
  line-height:1;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0;
  width:22px;
  height:22px;
  position:absolute;
  right:-10px;
  top:-7px;
  border-radius:100%;
  font-size:11px;
}
.mshop_cart_icon_wprice .mshop_cart_sum{
  margin-left:15px;
}
.sc_cart_big_head__mobile .wd_sclf_checkout {
	font-size:0px;
}
.sc_cart_big_head__mobile .wd_sclf_checkout svg {
	font-size:18px;
	position:static;
}
html.sticky #mobile_device_type #sc_cart_title,
html.sticky #tablet_device_type #sc_cart_title{
	display:none !important;
}
html.sticky #mobile_device_type .sc_cart_big_head,
html.sticky #tablet_device_type .sc_cart_big_head{
	top:50px;
	padding-top:15px;
}

/*---shop Оформление заказа---*/
.cart_delivery_box h2{
	display:none;
}
.cart_delivery_box .courier_delivery .courier_delivery_item, .cart_delivery_box .pickup_delivery .pickup_delivery_item{
	background:none !important;
	border:1px solid #eee;
	padding:15px !important;
}
.sc_delivery_price{
	border-left:1px solid #eee;
	padding-left:20px;
	color:#000 !important;
}
.sc_cart_fields.wd_sc_cart.sc_style_big .sc_field_agreement{
	margin-top:3rem;
	margin-bottom:1rem;
}
.sc_cField_value input {
    outline: none;
	height: calc(1.5em + 0.75rem + 2px) !important;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #ffffff !important;
    background-clip: padding-box;
    border: 1px solid #cccccc !important;
    border-radius: 0.25rem;
}

/*---shop Бланк заказа---*/
.sc_order_view_goods span{
	padding:10px;
}
.sc_order_view_goods > a{
	display:none;
}
.sc_order_view_goods .sc_gi_price{
	color:#000 !important;
}

/*---shop Плитка новостей---*/
.mshop_news_tiles .ft_image{
  display:flex;
  align-items:center;
  justify-content:center;
  height:220px;
}
.mshop_news_tiles .ft_image img{
   max-height:220px;
   width:auto !important;
   max-width:90%;
   margin:0 auto;
}
.mshop_news_tiles .ft_image img{
  transition: opacity 0.2s ease-in-out;
}
.mshop_news_tiles .card:hover .ft_image img,
.mshop_news_tiles .item:hover .ft_image img{
  opacity:0.85;
}
.mshop_news_tiles .icms-favorites__btn{
	display:none !important;
}

/*---shop Корзине big---*/
.sc_cart_big_head{
  background:#fff;
  z-index:1018 !important;
}
html.sticky .sc_cart_big_head{
  top:32px;
  box-shadow:rgba(0, 0, 0, 0.10) 0px 3px 10px;
}

/*--- shop Плитка товаров в корзине---*/
.wd_sc_cart.sc_style_big .wd_scl_item .wd_scl_item_info{
  width:100% !important;
  float:none !important;
}
.wd_sc_cart .sc_buy_qty,
.my_default_list_item .sc_buy_qty,
.content_item .sc_buy_qty{
 position:relative;
 width:100%;
 display:flex !important;
 margin: 0 !important;
 padding:0 30%;
 box-sizing:border-box;
}
.wd_sc_cart .sc_buy_qty .btn,
.my_default_list_item .sc_buy_qty .btn,
.content_item .sc_buy_qty .btn{
  position:absolute;
  top:0;
  bottom:0;
  float:none !important;
  width:30% !important;
  height:42px !important;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:0.25rem;
}
.wd_sc_cart .sc_buy_qty .btn svg,
.my_default_list_item .sc_buy_qty .btn svg,
.content_item .sc_buy_qty .btn svg{
   width:10px;
   height:10px;
}
.wd_sc_cart .sc_buy_qty .sc_qty_btn_minus,
.my_default_list_item .sc_buy_qty .sc_qty_btn_minus,
.content_item .sc_buy_qty .sc_qty_btn_minus{
 left:0; 
 border-right:0 !important
}
.wd_sc_cart .sc_buy_qty .sc_qty_btn_plus,
.my_default_list_item .sc_buy_qty .sc_qty_btn_plus,
.content_item .sc_buy_qty .sc_qty_btn_plus{
 right:0;
 border-left:0 !important; 
}
.wd_sc_cart .sc_buy_qty .sc_qty_count,
.my_default_list_item .sc_buy_qty .sc_qty_count,
.content_item .sc_buy_qty .sc_qty_count{
  float:none !important;
  width:100%; 
  display:flex; 
  align-items:center;
  justify-content:center;
  height:42px; 
}
.wd_sc_cart .sc_buy_qty .sc_qty_count input,
.my_default_list_item .sc_buy_qty .sc_qty_count input,
.content_item .sc_buy_qty .sc_qty_count input{
  height:40px !important;  
  font-size:14px;
  font-weight:600;
  border-radius:0;
  text-align:center;
}
.sc_style_big .sc_buy_qty .sc_qty_btn_minus, 
.sc_style_big .sc_buy_qty .sc_qty_btn_plus {
  background: var(--primary) ! important;
  border: 1px solid var(--primary) ! important;
  border-right: none;
  color: #fff ! important;
  border-radius: 0.25rem ! important;
  width: 26px;
  height: 26px;
  min-height: auto;
  line-height: 26px;
  text-align: center;
  cursor: pointer;
  padding: 0;
  outline: none;
  font-size: 11px ! important;
}
.sc_style_big .wd_scl_item .my_item_wrap{
  height:100% ! important;
  display:flex ! important;
  flex-direction:column;
  justify-content:space-between;
}
.wd_scl_footer{
   margin-left:0 !important;
   margin-right:0 !important;
   padding-left:0 !important;
   padding-right:0 !important;
   background:none !important;  
   justify-content:flex-start  !important;
   align-items:center;
}
.wd_sc_cart.sc_style_big .wd_scl_footer .wd_sclf_summ{
  padding:0 !important;
  float:none !important;
}
.wd_scl_footer .wd_sclf_summ{
  float:none !important;
  padding:0 !important;
}
.wd_sclf_checkout{
  background:var(--primary) !important;
  text-shadow:none !important;
}
.wd_sc_cart_loader{
  z-index:44;
}
.wd_sc_cart .wd_scl_item_delete{
  position:absolute;
  z-index:4;
  top:0.5rem;
  right:0.5rem;
  height:32px !important;
  line-height:32px !important;
  width:32px !important;
  background:var(--danger);
  color:#fff !important;
}

/*--- shop Плитка товаров ---*/
.showcase_list_grid,
.wd_sc_cart_list{
  margin-top:0 !important;  
  margin-bottom:0 !important;  
  overflow:visible !important;
}
.miw_photo{
  text-align:center;
}
.showcase_list_grid .my_default_list_item,
.wd_sc_cart_list .wd_scl_item{
   border: 1px solid #eee !important;
}
.showcase_list_grid .my_default_list_item,
.wd_sc_cart_list .wd_scl_item,
.showcase_list_grid .my_default_list_item .my_item_wrap{
  background:#fff !important; 
}
.showcase_list_grid .my_default_list_item .labels,
.wd_sc_cart_list .wd_scl_item .labels{
   position:absolute;
   left:1rem;
   top:1rem;
   z-index:4;
   display:flex;
   flex-direction:column;
}
.showcase_list_grid .my_default_list_item .labels .badge,
.wd_sc_cart_list .wd_scl_item .labels .badge{
   border-radius:0;
   color:#fff;
   opacity:0.9;
   margin-bottom:7px;
}
.showcase_list_grid .miw_photo,
.wd_sc_cart_list .wd_scl_item .miw_photo{
  transition: opacity 0.2s ease-in-out;
}
.showcase_list_grid .my_default_list_item:hover .miw_photo,
.wd_sc_cart_list .wd_scl_item:hover .miw_photo{
  opacity:0.85;
}
.big-first .item-first .title{
	margin-top:-2px;
	font-size:1.3333rem;
	line-height:1.6rem;
	margin-bottom:15px;
}
.widget_content_list .details a{
	color:#bbb;
}
.widget_content_list .details{
	display:block;
	font-size:.8rem;
	padding:0;
	padding-top:5px;
	line-height:1.3333rem;
	letter-spacing:-0.3px;
	overflow:hidden;
	color:#bbb !important;
	clear:left;
}
/*main color*/
				.widget_places_calendar .day a:hover,
				#maps-bhours-window .days .today td,
				.maps-city-list .item .name,
				.maps-balloon .details .title a:hover,
				.currently-playing .playlist-video h4,
				#form_add_playlist .addto_playlist,
				.content_list.tiled .tile.inside .ft_caption a.title:hover,
				.widget_user_avatar .user_info .name a,
				.group_title,
				.content_item.board_item .f_phone > div:last-child,
				.content_item.board_item .f_price > div:last-child,
				.widget_auth .field input,
				.sess_messages .message_info_in_page,
				form fieldset legend,
				#user_profile #information .fieldset .field .title,
				#user_profile #information .fieldset_title h3,
				.f_phone > div:last-child,
				.f_price > div:last-child,
				.content_item_props table .heading,
				.content_datasets ul .active,
				.widget_content_slider .items .item .title,
				.widget_content_filter .title,
				#pm_contact .chat .message .title .author,
				#pm_contact .chat .message-my .title .author,
				#pm_chat .message .content > span,
				#pm_chat .message .content > span a,
				#wall_widget #entries_list .entry .links a.get_replies,
				#wall_widget #entries_list .entry .info .name .user,
				#comments_list .comment .info .name .subject:hover,
				form .hint,
				.filter-panel .fields .title,
				a{color:#2f7fba;}
				
/*secondary color*/
				.widget_places_calendar .day a,
				.maps-city-list .item:hover .name,
				.maps-balloon .details .title a,
				#maps-map-block #map-canvas .balloon-loading::before,
				.video_text > h3 a:hover,
				#form_add_playlist .addto_playlist:hover,
				.content_list.tiled .tile.inside .ft_caption a.title,
				.activity-list .item .details .reply a:hover,
				.photo_filter .box_menu:hover,
				.box_menu_dd a .check,
				.content_list .is_vip a:hover,
				.content_list_item .ft_user a:hover,
				.content_item_parent_title a:hover,
				.content_list.tiled .tile .ft_caption a.parent_title:hover,
				h1 + .parent_title:hover,
				.content_list_item .ft_caption a.parent_title:hover,
				.content_item .info_bar a:hover,
				.content_list.tiled .info_bar a:hover,
				.content_list_item .info_bar a:hover,
				.content_datasets ul li a:hover,
				.widget_content_list.compact .item .title a:hover,
				#pm_chat .message .content > span a:hover,
				#wall_widget #entries_list .entry .info a:hover,
				#wall_widget #entries_list .entry .info .name .user:hover,
				#comments_list .comment .nav a:hover,
				#comments_list .comment .info .name .subject,
				#comments_list .comment .info .rating a:hover,
				.symbols_count > span,
				#pm_contact .chat .older-loading::before,
				#pm_contact .composer .sending::before,
				.qq-upload-spinner::before,
				.spinner > div::before,
				.loading::before,
				.loading-icon::before,
				.loading-panel::before,
				a:hover{color:#ff0000;}


.widget_tabbed .widgets > .body,.widget > .body{box-shadow:0 0 7px rgba(0,0,0,.2);}

.row .body{box-shadow:0 0 7px rgba(0,0,0,.2);}
.widget_content_list compact .item {margin-bottom: 10px;padding-bottom:10px;overflow: hidden;border-bottom:1px dotted #ccc;}

/* 1. Находим контейнер виджета и делаем его flex-контейнером */
.icms-widget-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #fff;
    /* Эти свойства добавят центрирование всей структуре */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 2. Находим сам список меню, который сгенерировала система. 
   Обычно это ul с классом icms-user-menu__items */
.icms-user-menu__items {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    /* Это ключевое свойство для центрирования пунктов */
    justify-content: center; 
    flex-wrap: nowrap;
}

/* 3. Опционально: отступы между пунктами меню */
.icms-user-menu__items li {
    margin: 0 30px; /* Отступ слева и справа */
}

/* 4. Отступ для контента страницы, чтобы он не заезжал под меню */
.page-content {
    padding-top: 40px;
}