/* Subtle auto-scroll for right sidebar news/actions */
.news-items.js-news-autoscroll{
  max-height: 100vh;
  overflow: auto;
  scroll-behavior: smooth;
  padding-right: 6px;
}
.news-items.js-news-autoscroll.is-autoscrolling{
  scrollbar-width: thin;
}
.news-items.js-news-autoscroll:hover,
.news-items.js-news-autoscroll:focus-within{
  scroll-behavior: auto;
}

/* Horizontal "АКЦІЇ/НОВИНИ" strip (homepage content) */
.sale-news-strip.news--in-page{
  margin: 20px 0 22px 0; /* top spacing requested */
}
.sale-news-strip .news-item-img{
  display: block;
}
.sale-news-strip .news-item-img img{
  display: block;
  height: 190px; /* bigger images */
  width: auto; /* variable width based on image ratio */
  max-width: none; /* width comes from natural ratio */
  object-fit: contain; /* don't crop banners */
  border-radius: 10px;
}
.sale-news-strip .swiper-slide {
    height: auto;
    width: auto; /* let Swiper measure slide width from content */
    flex-shrink: 0;
    min-width: 120px; /* avoid transient zero-width overlap while images load */
    max-width: 90vw; /* prevent ultra-wide images from disappearing */
}

/* Variable-width slides */
.sale-news-strip .swiper-slide{
  width: auto !important;
}
.sale-news-strip .news-item{
  display: inline-block;
  width: auto;
  max-width: 100%;
}
.sale-news-strip .news-item-img{
  width: auto;
  max-width: 100%;
}
.sale-news-strip .swiper-wrapper{
  align-items: stretch;
}
.blockMsg{display:none!important}.header-form{position:relative}#livesearch,.header-form_search{border-radius:5px;overflow:hidden;top:80px!important;min-width:310px;background:#fff;left:0;right:0;position:absolute;width:100px;z-index:9999;display:none;max-height:300px;overflow-y:auto;-webkit-box-shadow:0 4px 25px rgba(0,0,0,.1);box-shadow:0 4px 25px rgba(0,0,0,.1)}#livesearch .header-form_search__item,.header-form_search .header-form_search__item{padding:16px 20px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-transition:background-color .2s linear;transition:background-color .2s linear}#livesearch .header-form_search__item:hover,.header-form_search .header-form_search__item:hover{background-color:#f0f0f0}#livesearch .header-form_search__item img,.header-form_search .header-form_search__item img{max-width:44px;max-height:50px;margin-right:14px}#livesearch .search__item_title,.header-form_search .search__item_title{font-weight:600;font-size:12px;line-height:15px}@media (max-width:1920px){#livesearch,.header-form_search{left:123px!important}}@media (max-width:1600px){#livesearch,.header-form_search{top:50px!important;left:90px!important}}@media (max-width:1468px){#livesearch,.header-form_search{left:76px!important}}@media (max-width:768px){#livesearch,.header-form_search{left:47px!important}}@media (max-width:400px){#livesearch,.header-form_search{right:10px;min-width:260px}}.single-product-action{text-align: center;}.single-product-action a{color:red;font-weight:bold;border-style:solid;border-width:2px;padding:10px;}
.part_sales__row {
	display: -ms-grid;
	display: flex;
	flex-direction: column;
	-ms-grid-columns: 2fr 50px 3fr;
	grid-template-columns: 2fr 3fr;
	grid-gap: 50px;
}
.part_sales__row img{
	margin-bottom: 20px;
	max-width: 400px;
	width: auto;
}

.single-product-body{
	overflow-x:auto;
}

#toggle_actions_bttn{ display: none;}
@media (max-width: 1200px) {
	#toggle_actions_bttn{
		display: flex;
	}
}

/************************************************/
.slinky-menu li .aside-sub-menu {
/*  display: none;*/
  left: auto;
  position: relative;
  top: auto;
/*  padding-left: 15px; */
  font-weight: 400;
	padding: 9px 22px;
}

.slinky-menu li .aside-sub-menu .aside-sub-menu_item{
    font-weight: 600;
    font-size: 14px;
    color: #828282;
	padding-left: 15px;
}

.toggle {
  cursor: pointer;
  position: relative;
  font-weight: 600;
  font-size: 14px;
	color: #828282;

    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    line-height: 1.4;
    padding: 9px 22px;
	/*padding-left: 15px;*/
}

.toggle-icon {
  margin-left: 5px;
}

/* Cart planned delivery progress (no build) */
.cart_info_progress{
  margin-top: 12px;
  height: 10px;
  background: #E8E8EF;
  border-radius: 999px;
  position: relative;
  overflow: visible;
}
.cart_info_progress__bar{
  height: 100%;
  width: 0%;
  background: #53ad02;
  border-radius: 999px;
}
.cart_info_progress__icon{
  position: absolute;
  top: 50%;
  right: -10px;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #53ad02;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart_info_progress__icon img{
  width: 18px;
  height: 18px;
  opacity: .75;
}

/* Cart responsive: avoid horizontal scrolling */
@media (max-width: 768px){
  /* spacing around each storage section */
  .cart-row__title{
    margin: 14px 0 10px 0;
    font-size: 13px;
    opacity: .85;
  }

  .cart-row table{
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
  }
  .cart-row thead{
    display: none;
  }

  /* Product row becomes a compact card with grid */
  .cart-row tbody{
    display: block;
  }
  .cart-row tr.cartItemRow{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "name remove"
      "price sum"
      "qty qty"
      "check check";
    gap: 10px 12px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 14px;
    padding: 12px;
    margin: 12px 0;
    box-shadow: 0 6px 18px rgba(0,0,0,.05);
  }
  .cart-row td{
    border: 0 !important;
    padding: 0 !important;
    width: auto;
    word-break: break-word;
    min-width: 0;
  }

  /* name */
  .cart-row td.table_cart_name{
    grid-area: name;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.25;
    color: #222;
  }
  .cart-row td.table_cart_price::before, .cart-row td.table_cart_sum::before {
    margin-bottom: 0 !important;
}
  /* remove button */
  .cart-row td.table_cart_remove{
    grid-area: remove;
    justify-self: end;
    align-self: start;
  }
  .cart-row td.table_cart_remove a.cart-remove{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(223,27,5,.08);
    border: 1px solid rgba(223,27,5,.18);
  }
  .cart-row td.table_cart_remove img{
    width: 18px;
    height: 18px;
  }
  .cart-row .cart-checked:checked:before{
    top:4px !important;
  }
  /* price + sum blocks */
  .cart-row td.table_cart_price{ grid-area: price; }
  .cart-row td.table_cart_sum{ grid-area: sum; text-align: left; }
  .cart-row td.table_cart_price,
  .cart-row td.table_cart_sum{
    background: #F7F7FA;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 12px;
    padding: 10px 12px !important;
  }
  .cart-row td.table_cart_price::before,
  .cart-row td.table_cart_sum::before{
    display: block;
    font-size: 11px;
    opacity: .65;
    margin-bottom: 4px;
  }
  .cart-row td.table_cart_price::before{ content: "Ціна"; }
  .cart-row td.table_cart_sum::before{ content: "Сума"; }
  .cart-row td.table_cart_price span,
  .cart-row td.table_cart_sum span{
    font-weight: 700;
  }
  /* indent only the numeric value */
  .cart-row td.table_cart_price .cartItemPrice,
  .cart-row td.table_cart_sum .cartItemTotal{
    display: inline-block;
    padding-left: 5px;
  }

  /* quantity */
  .cart-row td.table_cart_count{
    grid-area: qty;
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 12px;
    padding: 10px 12px !important;
  }
  .cart-row td.table_cart_count::before{
    content: "Кількість";
    display: block;
    font-size: 11px;
    opacity: .65;
    margin-bottom: 6px;
    white-space: nowrap;
  }
  .cart-row td.table_cart_count .d-flex.align-items-center{
    width: 100%;
    justify-content: flex-start;
    gap: 6px;
  }
  .cart-row td.table_cart_count input.cartQty{
    max-width: 84px;
    text-align: center;
  }
  .cart-row td.table_cart_count .button-count{
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  /* checkbox (last) */
  .cart-row td.table_cart_checked{
    grid-area: check;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 2px !important;
    opacity: .9;
  }
  .cart-row td.table_cart_checked::before{
    content: "Додати в замовлення";
    font-size: 12px;
    opacity: .7;
  }
  .cart-row td.table_cart_checked input[type="checkbox"]{
    width: 18px;
    height: 18px;
  }

  /* footer layout */
  .cart-row__footer{
    flex-direction: column;
    align-items: stretch !important;
    gap: 12px;
    margin-top: 8px;
  }
  .cart-row__footer_item{
    width: 100%;
  }
  .cart-row__footer_comment textarea{
    width: 100%;
    min-height: 44px;
    border-radius: 12px;
  }

  /* main cart footer: stack */
  .cart-footer-row{
    flex-direction: column;
    align-items: stretch !important;
    gap: 12px;
    position: sticky;
    bottom: 0;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    border-top: 1px solid rgba(0,0,0,.06);
  }
  .cart-footer-btn-submit{
    margin-left: 0 !important;
    width: 100%;
    justify-content: center;
    border-radius: 14px;
    min-height: 52px;
    font-weight: 700;
  }
  .cart-footer-total{
    width: 100%;
    background: #F7F7FA;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 14px;
    padding: 12px;
  }
}
.toggle::after{
  content: '';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translatey(-50%);
  transition: all ease 0.3s;
  height: 14px;
  width: 1px;
  display: block;
  background-color: #828282;
}

.toggle::before{
  content: '';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translatey(-50%) rotate(90deg);
  height: 14px;
  width: 1px;
  display: block;
  background-color: #828282;
}

.toggle.active::after{
  transform: translatey(-50%) rotate(90deg);
}

.toggle span::hover{
	background: rgba(238,238,238,.8);
	color: #DF1B05;
}

.table_cart_name.error{
	color: #DF1B05;
}

/*           */
.aside-left-body .aside-user-link {
	margin-bottom: 0px;
  margin-top: 0px;
	cursor:pointer;
}

.aside-left-body .aside-user-link::after {
  margin-left: 1em;
}

.aside-left-body .aside-user-link span:last-child {
  margin-left: 0px;
}

.news--horizontal .swiper.home_swiper {
    margin-bottom: 0;
}

.aside-left-body .aside-user-link::after {
  background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+ICAgIDxwYXRoIGQ9Ik0xMi4yMTkgMi4yODFMMTAuNzggMy43MiAxOC4wNjIgMTFIMnYyaDE2LjA2M2wtNy4yODIgNy4yODEgMS40MzggMS40MzggOS05IC42ODctLjcxOS0uNjg3LS43MTl6IiAvPjwvc3ZnPg==) center no-repeat;
    background-size: auto;
  background-size: 1em;
  content: '';
  height: 1em;
  opacity: .25;
  -webkit-transition: .2s;
  transition: .2s;
  width: 1em;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.aside-left-body .aside-user-link .aside-body-svg-wrap{
  background: #C8351614;
}
.aside-left-body .aside-user-link .aside-body-svg-wrap svg path{
  fill: #DF1B05;
}

.aside-left-body .aside-user-link:hover::after{
  opacity: .75;
}

.aside-left-body .aside-user-link:hover .aside-body-svg-wrap, .aside-left-body .direct:hover .aside-body-svg-wrap{
  background: #DF1B05;
}

.aside-left-body .aside-user-link:hover .aside-body-svg-wrap svg path, .aside-left-body .direct:hover .aside-body-svg-wrap svg path{
  fill: #fff;
}

.rates-wrapper{
	width:65px;
	padding-top: 2px;
}
.rates-wrapper div{
	font-size: 12px;
	color: #fff;
	background-color: #248D3E;
	margin: 3px;
	padding:3px;
	border-radius: 2px;
}
.rates-wrapper div .currecy{
	padding-left:5px;
	padding-right:5px;
	color: #34E960;
}
.rates-wrapper .rates-eur{
	background-color: #02A2AD;
}
.rates-wrapper .rates-eur .currecy{
	color: #79F7FF;
}

.brands_list h4{
	padding:5px 5px 5px 0px;
	padding-top:10px;
	padding-bottom:10px;
	font-weight: bold;
}

.brands_list .columns-container {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 20px;
/*	padding-left:15px;*/
}

.brands_list .column-group {
	padding: 0px;
}

.brands_list .multi-column-list {
	list-style-type: none;
	padding: 0;
	margin: 0;
}

.brands_list .multi-column-list li:last-child {
	border-bottom: none;
}

.brands_hot_wrapper{
	padding:20px;
	background-color: #F0B7321A;
}

.brands_hot_wrapper h4, .brands_hot_wrapper .h4{
	font-weight: bold;
	color:#F17837;
	padding-left: 10px;
/*	padding-bottom:10px;
	position: absolute;*/
}

.brands_hot_wrapper .brands_hot_list {
	padding: 0;
	padding-top:10px;
	list-style: none;
}

.brands_hot_wrapper .brands_hot_list li {
	display: inline-block;
	padding: 8px 12px 5px 0px;
}

.brands_hot_wrapper .header {
	display: flex;
	align-items: center;
}

.brands_abc_list {
	padding-top: 20px;
	padding-bottom: 10px;

	display: flex;
	flex-wrap: wrap;
}

.brands_abc_list a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid #ccc;
	text-decoration: none;
	color: #000;
	margin-right: -1px;
	margin-bottom: -1px;
}

.brands_abc_list a:last-child {
	margin-right: 0;
}

.brands_abc_list .break {
	flex-basis: 100%;
	height: 0;
}

.aside-right .single-product-title {
	margin-bottom: 5px;
}

.single-product-article2{
	color: #828282;
	font-size: 10px;
  line-height: 12px;
  text-transform: uppercase;
	margin-bottom: 10px;
}

.single-product-subtitle a{
	color: #828282;
	text-transform: uppercase;
}

.single-product-subtitle a:hover{
	color: #219653;
}

header .header-form {
  flex-basis: 450px;
}




a.cart-footer-btn.cart-footer-btn-submit.createCart {
  padding: 10px;
}



.cart_info_alert {
	padding: 16px 32px;
	background: #FFF6E5;
	border: 1px solid #BFBB96;
	border-radius: 5px;
	font-size: 14px;
	line-height: 1.4;
	max-width: 800px;
	margin-top: 30px;
}

.cart_info_alert.cart_info_alert--top {
    margin-top: 0;
    margin-bottom: 10px;
}

/* Theme toggle in left sidebar */
.aside-fixed.active {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 160px);
}

#aside-user .aside-user {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: calc(100vh - 160px);
}

.aside-theme-toggle {
    margin-top: auto;
    padding-top: 24px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.aside-theme-toggle__btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    background: #fbfbfb;
    cursor: pointer;
    transition: background-color .2s linear, border-color .2s linear, box-shadow .2s linear;
}

.aside-theme-toggle__btn:hover {
    border-color: #d0d0d0;
    background: #fff;
}

.aside-theme-toggle__btn.is-active {
    border-color: #df1b05;
    background: #fff;
    box-shadow: 0 0 0 1px rgba(223, 27, 5, 0.12);
}

.aside-theme-toggle__icon {
    display: block;
    pointer-events: none;
}

.auth-theme-toggle {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1000;
    width: 112px;
}

.auth-theme-toggle .aside-theme-toggle {
    margin-top: 0;
    padding-top: 0;
}

.aside-right-title{
  display: none;
}

/* Товар в корзине: зелёная кнопка и галочка (только светлая тема) */
html:not(.mode-black-contrast):not(.mode-black) .single-product-btn.add-to-cart.active {
    background: #219653;
}

html:not(.mode-black-contrast):not(.mode-black) .single-product-btn.add-to-cart.active svg path {
    fill: #fff;
}

html:not(.mode-black-contrast):not(.mode-black) .add-to-cart.active:after {
    position: absolute;
    content: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iOCIgY3k9IjgiIHI9IjciIGZpbGw9IiMyMTk2NTMiIHN0cm9rZT0id2hpdGUiIHN0cm9rZS13aWR0aD0iMiIvPgo8ZyBjbGlwLXBhdGg9InVybCgjY2xpcDApIj4KPHBhdGggZD0iTTcuMjk3NTEgMTAuMjQxNEM3LjI0MDIzIDEwLjI5OSA3LjE2MjA5IDEwLjMzMTIgNy4wODA5MiAxMC4zMzEyQzYuOTk5NzUgMTAuMzMxMiA2LjkyMTYxIDEwLjI5OSA2Ljg2NDM0IDEwLjI0MTRMNS4xMzQ2MyA4LjUxMTQxQzQuOTU1MTIgOC4zMzE5IDQuOTU1MTIgOC4wNDA4MiA1LjEzNDYzIDcuODYxNjVMNS4zNTEyMSA3LjY0NTAxQzUuNTMwNzggNy40NjU1MSA1LjgyMTUyIDcuNDY1NTEgNi4wMDEwMyA3LjY0NTAxTDcuMDgwOTIgOC43MjQ5N0w5Ljk5ODk2IDUuODA2ODdDMTAuMTc4NSA1LjYyNzM2IDEwLjQ2OTUgNS42MjczNiAxMC42NDg4IDUuODA2ODdMMTAuODY1NCA2LjAyMzUxQzExLjA0NDkgNi4yMDMwMiAxMS4wNDQ5IDYuNDk0MDQgMTAuODY1NCA2LjY3MzI3TDcuMjk3NTEgMTAuMjQxNFoiIGZpbGw9IndoaXRlIi8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDAiPgo8cmVjdCB3aWR0aD0iNiIgaGVpZ2h0PSI2IiBmaWxsPSJ3aGl0ZSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNSA1KSIvPgo8L2NsaXBQYXRoPgo8L2RlZnM+Cjwvc3ZnPgo=');
    top: -6px;
    right: -5px;
}

/* Тёмная тема: красная галочка при нажатии и если товар в корзине */
.mode-black-contrast .add-to-cart:active:after,
.mode-black-contrast .add-to-cart.active:after {
    content: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48Y2lyY2xlIGN4PSI4IiBjeT0iOCIgcj0iNyIgZmlsbD0iI2ZmMWYxZiIvPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiPjxwYXRoIGQ9Ik03LjI5NzUxIDEwLjI0MTRDNy4yNDAyMyAxMC4yOTkgNy4xNjIwOSAxMC4zMzEyIDcuMDgwOTIgMTAuMzMxMkM2Ljk5OTc1IDEwLjMzMTIgNi45MjE2MSAxMC4yOTkgNi44NjQzNCAxMC4yNDE0TDUuMTM0NjMgOC41MTE0MUM0Ljk1NTEyIDguMzMxOSA0Ljk1NTEyIDguMDQwODIgNS4xMzQ2MyA3Ljg2MTY1TDUuMzUxMjEgNy42NDUwMUM1LjUzMDc4IDcuNDY1NTEgNS44MjE1MiA3LjQ2NTUxIDYuMDAxMDMgNy42NDUwMUw3LjA4MDkyIDguNzI0OTdMOS45OTg5NiA1LjgwNjg3QzEwLjE3ODUgNS42MjczNiAxMC40Njk1IDUuNjI3MzYgMTAuNjQ4OCA1LjgwNjg3TDEwLjg2NTQgNi4wMjM1MUMxMS4wNDQ5IDYuMjAzMDIgMTEuMDQ0OSA2LjQ5NDA0IDEwLjg2NTQgNi42NzMyN0w3LjI5NzUxIDEwLjI0MTRaIiBmaWxsPSJ3aGl0ZSIvPjwvZz48ZGVmcz48Y2xpcFBhdGggaWQ9ImNsaXAwIj48cmVjdCB3aWR0aD0iNiIgaGVpZ2h0PSI2IiBmaWxsPSJ3aGl0ZSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNSA1KSIvPjwvY2xpcFBhdGg+PC9kZWZzPjwvc3ZnPg==') !important;
    position: absolute !important;
    top: -6px !important;
    right: -5px !important;
}

.mode-black-contrast .cart-fly-clone:after {
    content: none !important;
}

.cart-fly-clone,
.mode-black-contrast .cart-fly-clone,
html.mode-black-contrast .cart-fly-clone {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.cart-fly-clone .blockUI,
.cart-fly-clone .blockOverlay {
    display: none !important;
}