/*NOTE: This file is intended for programmers. Aspro technical support is not advised to work with him.*/

/* Examples (uncomment to use):*/

/* Expand site width */
/* body .wrapper { max-width: 1400px !important;  } */

/* Set site background image */
/* body {  background: url(image_source) top no-repeat; }

/* Hide compare button */
/* a.compare_item { display: none !important;  }*/

.qwep .product {
    align-content: flex-start;
    border-bottom: 1px solid #e8e8e8;
    display: flex;
    justify-content: space-between;
    padding: 15px 20px 15px 0;
}

.qwep .product .image {
    align-self: flex-start;
    cursor: pointer;
    margin-right: 20px;
    min-width: 100px;
    position: relative;
    width: 100px;
}

.qwep .product .image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.qwep .product .name {
    align-content: flex-start;
    display: flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
    justify-content: left;
    max-width: calc(45% - 120px);
    padding-top: 10px;
    width: calc(45% - 120px);
}

.qwep .items {
    min-width: 45%;
    width: 45%;
}

.qwep .head .items {
    display: flex;
    margin: 0;
}

.qwep .items .delivery, .qwep .items .quantity {
    box-sizing: border-box;
    min-width: 100px;
    width: 100px;
}

.qwep .items .price {
    box-sizing: border-box;
    flex: 1 1 auto;
    min-width: auto;
    width: auto;
}

.qwep .items .buy {
    box-sizing: border-box;
    min-width: 250px;
    width: 250px;
}

.qwep .head .name {
    padding: 0 0 0 120px;
}

.qwep .head {
    color: #434343;
    font-size: 14px;
    font-weight: 500;
    align-content: flex-start;
    border-bottom: 1px solid #e8e8e8;
    display: flex;
    justify-content: space-between;
    padding: 15px 20px 15px 0;
}

.qwep ul:not([id*="bx_"]) > li:before {
    content: unset;
}

.qwep .item-list-vendor .item {
    align-items: center;
    display: flex;
    padding: 15px 0;
}

.qwep .search-input {
    padding: 0 100px 0 10px;
    font-size: 20px;
    height: 50px;
    background: 0 0;
    border: 1px solid #ccc;
    border-radius: 0;
    line-height: calc(1em + 25px);
}

.qwep .product .name .brand {
    box-sizing: border-box;
    color: #000;
    font-size: 12px;
    padding-right: 15px;
}

.qwep .product .name .article {
    box-sizing: border-box;
    color: #434343;
    font-size: 12px;
    padding-right: 15px;
}
.catalog-item-form-buy {
    display: flex;
    height: 38px;
    width: 100%;
}

.qwep .catalog-item-form-buy .add-to-cart {
    flex-grow: 1;
}

.qwep .counter_block:not(.big) {
    width: 100px;
    position: relative;
    margin-right: 10px
}

.search-input-div {
    margin-bottom: 20px;
}

.js-preloader {
    text-align: center;
    margin-top: 30px;
}

.qwep .counter_input[type="number"] {
    height: 40px;
    width: 47px;
    border: 0;
    background: 0 0;
    color: #333;
    font-size: 13px;
    border-radius: 0;
    text-align: center;
    line-height: 13px;
    padding: 7px 3px 7px;
}

/* Chrome, Safari, Edge, Opera */
.qwep .counter_input::-webkit-outer-spin-button,
.qwep .counter_input::-webkit-inner-spin-button{
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
.qwep .counter_input {
    -moz-appearance: textfield;
}

.COMPANY_TEXT .item-views.company .item.video-block .image {
    background-position: top left;
}

.search-input-div {
    margin-bottom: 0;
}

.qwep .title {
    margin-top: 20px;
}

.ask-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.form-action .svg {
    left: 25px;
    top: 15px;
}

.js-search-wait {
    position: absolute;
    z-index: 5;
  	padding-top: 0px;
}

.form-fly-btn {
    position: fixed;
    bottom: 20%;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 900;
    background-color: #fff;
    border-radius: 5px 0px 0px 5px
}

.form-fly-btn .form-action__inner {
    padding: 20px;
    font-size: 18px;
    border: 2px solid #F8A615;
    border-right: none;
    margin-bottom: -1px;
    border-radius: 5px 0px 0px 5px
}

.form-fly-btn .form-action__inner:hover {
    border: 2px solid #F8A615;
    border-right: none;
}


.search-block-ravenol {
    height: 50px;
    margin-bottom: 20px;
}
.search-block-ravenol .search-input {
    height: 50px;
    font-size: 1.3rem;
}

.ravenol-title-product-h2 {
    margin-bottom: 10px;
}
.ravenol-title-product-h3 {
    margin-bottom: 10px;
    margin-top: 0;
}
.ravenol-title-product-h4 {
    margin-top: 0;
    margin-bottom: 10px;
}

#title-search-input_fixed {
    border: 1px rgb(248, 166, 21) solid;
}

.qwep-search-result ul {
    border: 2px rgb(248, 166, 21) solid;
    padding: 10px 0 10px 10px;
}

.qwep-search-result ul .js-basket-element {
    display: flex;
    align-items: center;
}

.menu-row.middle-block .mega-menu table td .wrap>a {
    padding: 18px 34px 25px;
}

.qwep-select-filter {
    border: 1px rgb(248, 166, 21) solid;
}

/* .menu_top_block.catalog_block .menu.dropdown>li {
    overflow-wrap: inherit;
}

.menu_top_block ul {
    transition: none;
    transition-duration: none;
    transition-delay: none;
} */

/* .menu_top_block li.full.m_line .dropdown {
    height: 0;
} */

@media screen and (max-width: 694px) {
    .qwep .product .image {
        margin: auto;
        width: 80%;
    }

    .qwep .product .name {
        max-width: 100%;
        width: 100%;
    }

    .qwep .items {
        width: 100%;
    }
}

@media screen and (max-width: 929px) {
    .qwep .product {
        flex-wrap: wrap;
    }

    .qwep .product .item {
        flex-wrap: wrap;
    }

    .qwep .head {
        display:none;
    }

    .qwep .items ul {
        margin: 0;
    }

    .qwep .items .buy {
        margin-top: 20px;
    }
}

@media (min-width: 992px) {
    .item-views.float_banners2 .item .lazy, .item-views.float_banners2 .item .lazyloaded,
    .item-views.float_banners2 .row .image, .item-views.float_banners2 .row .image * {
        padding: 10px 0;
        background-size: contain;
        background-repeat: no-repeat;
    }
}

.ask-ico svg {
    width: 40px;
    height: 40px;
}

@media screen and (max-width: 770px) {
    .form-fly-btn {
        display: none;
    }
}

.menu-row.middle-block .mega-menu table td .wrap>a>div {
    width: 100%;
    text-align: center;
}

@media screen and (max-width:  500px) {
    body #content .wrapper_inner .right_block:not(.ordered-block) {
        max-width: 100%;
    }
    
    .block-lowest {
        flex-direction: column;
        max-width: 100%;   
    }

    .qwep-search-result ul .js-basket-element {
        display: flex;
        align-items: flex-start;
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .catalog-item-form-buy {
        margin-top: 20px;
    }

    .custom-filter-items input[type="number"] {
        width: 100%;
        max-width: 100%;
    }

    .filter-list-custom {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    .filter-list-custom div:last-child .row {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .qwep .product .item {
        margin: 0;
        margin-top: 20px;
    }

    .block-lowest_type {
        right: 10px;
    }
    
}

.bx_filter:not(.compact) .bx_filter_parameters_box.set .title-wrapper:before {
    display: none !important;
}

.info-wrapper{
    display: flex;
    flex-direction: column;
    width: 100%;
}
.info-item{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}
.info-block-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items:center;
    gap:1rem;
}
.round-info-block{
    position: relative;
    vertical-align: bottom;
    font-size: 1em;
    vertical-align: top;
    background: url(../images/dott.png) no-repeat;
    background-position: 0px 14px;
    background-repeat: repeat-x;
    width: 50%;
}

.custom-price-wrapper{
    display: flex;
    flex-direction: column;
}
.custom-price-wrapper  h3:before{
    position: absolute;
    transform: translate(-50%, -10%);
    left: -15px;
    font-size: 40px;
    content: '⦁';
    color: var(--theme-base-color);
}

.custom-price-wrapper table{
    width: 100%;
}
.custom-price-wrapper table tbody tr + tr{
    border-top: 1px dashed var(--theme-base-color);
}
.custom-price-wrapper table tbody tr:only-child{
    border-bottom: 1px dashed var(--theme-base-color);
}
.custom-price-wrapper table tbody tr td:last-child{
    width: 100px;
    text-align: center;
}
@media screen and (max-width: 770px){
    .custom-price-wrapper  h3:before{
        left: -7px;
    }
}

@media screen and (max-width: 770px){
    .info-wrapper{
        gap:30px
    }
	.info-wrapper + h2{
		font-size: 24px;
    }

	.info-block-grid + h3 {
		font-size: 20px;
}
	.info-block-grid{
		grid-template-columns:1fr;
    }
	.info-block-grid img + img{
		order:1;
	}
    .round-info-block{
        height: 80px;
        width: 80px;
        font-size: 20px;
    }
}
@media screen and (max-width: 650px) {
    .info-wrapper {
        gap: 20px;
        align-items: flex-start;
    }

    .round-info-block {
        height: 50px;
        width: 50px;
        font-size: 18px;
    }

    .info-item p {
        font-size: 14px;
    }
}
@media screen and (max-width: 420px){
    .info-wrapper{
        gap:10px;
    }
    .round-info-block{
        font-size: 16px;
    }
    .info-item p{
        font-size:13px;
    }
}

.reviews.item-views.compact .item:not(.wlogo) .image {
	width: 150px;
}

.reviews--rd.item-views .item .image.pull-left + .top-info {
	padding: 24px 0 0;
	display: flex;
	flex-direction: column-reverse;
	align-items: flex-end;
}

.reviews--rd.item-views .title.pull-left {
	position: unset !important;
	font-weight: 400 !important;
	margin-bottom: 5px !important;
}

.reviews--rd.item-views.compact .votes_block.nstar .ratings-count {
	font-size: 15px;
	margin-right: 10px;
}

@media (min-width: 767px) {
	.reviews--rd.item-views .body-info .title {
		display: none !important;
	}
}

@media (max-width: 767px) {
	.reviews--rd.item-views .item .top-info {
		display: none !important;
	}
}

/* Выбор адреса в хедере */

/* Контейнер для выпадающего меню */
.custom-addr-block {
    width: 400px;
    position: relative;
    font-family: Arial, sans-serif;
}

/* Заголовок с иконкой и стрелкой */
.custom-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: #fff;
    border: none;
    cursor: pointer;
    color: #ff9900;
    font-weight: bold;
    font-size: 14px;
}
.custom-dropdown-title {text-align: start; padding-left: 10px;}
/* Иконка геолокации */

/* Стрелка (флажок) */
.custom-dropdown-arrow {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #ff9900;
    transition: transform 0.3s ease;
}

.custom-dropdown-toggle.open .custom-dropdown-arrow {
    transform: rotate(180deg);
}

/* Выпадающее меню */
.custom-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 200px; /* Ограничение по высоте */
    overflow-y: auto;
}

/* Стили для элементов меню */
.custom-dropdown-menu a {
    display: flex;
    align-items: center;
    padding: 8px 10px 8px 20px;
    text-decoration: none;
    color: #ff9900;
    font-size: 14px;
    font-weight: bold;
}

.custom-dropdown-menu a:hover {
    background-color: #f1f1f1;
}

@media (orientation: portrait) {
    .b24-widget-button-position-bottom-right {bottom: 90px !important;}
}

#mobilemenu .menu.middle > ul > li > .signup-to-service-mm {
    background: #f8a615 !important;
}
.signup-to-service-mm span {
    color: white;
}
.signup-to-service-mm .svg svg * {
    fill: #fff !important;
}


.bottom-icons-panel__content {justify-content: space-between !important;}

/* Поднять капчу badge */

.grecaptcha-badge {bottom: 80px !important;}


.contacts-stores .phone a, 
.contacts-stores .email a {
	color: #f8a615;
}
#content {
	z-index: 1;
}

@media (min-width: 992px) {
    .right_block.wide_N, .right_block.wide_, .catalog_page.wide_N .section-content-wrapper, .catalog_page .section-content-wrapper.with-leftblock {
        float: right;
        width: calc(100% - 277px);
        position: relative;
    }
}

.product-detail-gallery__container .gallery-wrapper {
    margin: 0 auto;
}

/* 05.03.25, Богдан Ф. - Фикс на главной */
.top_block h3 {display: inline-block; margin: 0px 38px 0px 0px;}

.bottom-icons-panel__content-link { min-width: 50px !important; }

@media(min-width:991px) {
    .header_wrap.visible-lg.visible-md {
        width: 100%;
        display: flex !important;
        justify-content: center;
    }
}

#header {
    width: 1500px;
}

/*@media (min-width: 992px) {
    .top_big_banners.short_block .top_slider_wrapp .main-slider__item, .top_big_banners.short_block .top_slider_wrapp .main-slider__item td, .top_big_banners.short_block .top_slider_wrapp .main-slider {
        height: 850px;
    }
}*/

/*#header .phone-block {*/
/*    display: flex;*/
/*    align-items: center;*/
/*}*/

/*!*#header .phone-block .callback-inline-block {*/
/*    padding: 5px 0px 10px 30px;*/
/*}*!*/

/*#header .header__top-item .callback-inline-block {*/
/*    font-weight: 600;*/
/*    color: #222222;*/
/*}*/

#header .phone-block {
    display: flex;
    align-items: center;
    gap: 40px; /* расстояние между кнопкой и телефоном */
}

#header .header__top-item .callback-inline-block {
    margin: 15px 0 10px 0;
}

/* превращаем "Записаться на сервис" в кнопку */
#header .header__top-item .callback-inline-block span {
    display: inline-block;
    padding: 12px 20px;
    background-color: #ffa500; /* синий фон */
    color: #fff; /* белый текст */
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#header .header__top-item .callback-inline-block span:hover {
    background-color: #e69500;
}

.logo_and_menu-row .personal-link {
    margin-top: 0;
}

.long_search .basket-link {
    padding-left: 15px;
}

#header .logo-block {
    padding-right: 0;
}

.mobileheader-v2 {
    display: flex;
    justify-content: space-between;
}

.region_wrapper .city_title {
    display: none;
}

#header .header__top-item.dotted-flex-1.hide-dotted.dotted-complete {
    width: 60%;
}

#mobileheader .inline-search-show {
    padding-left: 10px;
}

#mobileheader .logo-block {
    padding: 0 0 0 10px;
}

#mobileheader .inline-search-show .svg-inline-search {
    top: 0;
}

@media (max-width: 557px) {
    .company-block h1{
        font-size: 1.6em;
    }
}


@media (max-width: 400px) {
    .company-block h1{
        font-size: 1.4em;
    }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}