html {
    scroll-behavior: smooth;
}

.btn-up {
	 display: none;
	transition: all 0.4s ease;
}

.product-item-detail-slider-image img {
	display: block;
    max-height: 400px;
    object-fit: contain;
}

.catalog-nav {
	justify-content: flex-start;
}


.btn-up:hover {
	opacity: 0.7;
}

 .btn-up._active {
	 --buttonUpSize: 40px;
	 position: fixed;
	 z-index: 100;
	 bottom: 6%;
	 right: 4%;
	 display: block;
	 width: var(--buttonUpSize);
	 height: var(--buttonUpSize);
	 border-radius: 50%;
	 animation: scrollToTop 0.6s ease;
}
 @media (min-width: 992px) {
	 .btn-up._active {
		 --buttonUpSize: 60px;
	}
}
 .btn-up__icon {
	 width: 100%;
	 height: 100%;
	 fill: var(--c-primary);
}

@keyframes scrollToTop {
    from {
        bottom: -100%;
    }

    to {
        bottom: 6%;
    }
}


.margin-default {
	display: block;
	margin-bottom: 28px;
}

.link {
	color: inherit;
	transition: all 0.4s ease;
}

.link._underline {
	text-decoration: underline;
}

.link:hover {
	color: #00D86B;
}

.link._with-icon {
	display: grid;
	grid-template-columns: auto 1fr;
	grid-gap: 20px;
	align-items: center;
}

.link._revert {
	color: rgba(0, 216, 107, 1);
}

.link._revert:hover {
	opacity: 0.7;
}

.news-block {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 40px 28px;
}

.news-item {
    display: flex;
    flex-direction: column;
    justify-content: stretch;
 	width: 100% !important;
  	height: 100%;
}

.news-item .link {
	margin-top: 0;
} 

.news-item-img img {
  width: fit-content;
  object-fit: contain;
}

.news-item .news-item__desc {
	margin-bottom: 20px;
}

.p-page__container {
	display: grid;
	grid-template-columns: 1fr;
	grid-gap: 32px;
}

.p-contacts {
	font-size: 18px;
}

.p-contacts__title {
	font-size: 20px;
}

.p-contacts__item-address {
	display: block;
	margin-bottom: 8px;
}

.p-contacts__item-inner {
	margin-bottom: 8px
}

.form._with-bg {
	padding: 28px 16px;
	background-color: rgba(251, 251, 251, 1);
	
}

.form .btn-default {
	width: 100%;
}

.form .input, .form textarea {
	width: 100%;
	margin-bottom: 20px;
}

.form__politics {
	margin-top: 16px;
	font-size: 14px;
	text-align: center;
	color: rgba(119, 119, 119, 1);
}

.sub-title {
	font-size: 20px;
	font-weight: 600;
}

.sub-title._margin {
	margin-bottom: 20px;
}

.sub-title._center {
	text-align: center;
}

textarea {
	height: 80px;
}

textarea:placeholder {
	color: #eee;
}

	.btn-fly-cart {
    	background: #C6C6C6;
    	border-radius: 4px 0px 0px 4px;
    	position: fixed;
    	right: 0;
    	top: 34%;
    	display: -webkit-box;
    	display: -ms-flexbox;
    	display: flex;
    	-webkit-box-align: center;
    	-ms-flex-align: center;
    	align-items: center;
    	-webkit-box-pack: justify;
    	-ms-flex-pack: justify;
    	justify-content: space-between;
    	padding: 7px 17px;
    	z-index: 2;
	}
	
	.btn-fly-cart:hover {
		background: #0dd570;
	}
	
	.btn-fly-cart p {
		color: #fff;
    	display: -webkit-box;
    	display: -ms-flexbox;
    	display: flex;
    	-webkit-box-align: center;
    	-ms-flex-align: center;
    	align-items: center;
    	margin-right: 10px;
    	font-size: 14px;		
	}
	
	.cart-ico {
		width: 24px;
    	height: 24px;
    	min-width: 24px;
    	background: url(assets/icons/basket2.svg) center no-repeat;
    	background-size: contain;
    	display: inline-block;		
	}

.btn-fly-cart.active {
	background: #019FFF;
}

.cart-img {
	position: relative;
}

.cart-img__btns {
	position: absolute;
	top: 12px;
	right: 12px;
	display: grid;
	grid-gap: 12px;
}

.cart-img__btns button {
	border: none;
}

.top-contacts {
	min-width: 218px;
	margin-left: 20px;
}

.popup-window-buttons .btn {
	background: #07bf62 !important;
	background-color: #07bf62 !important;
}

.breadcrumb-item a {
	transition: all 0.4s ease;
}

.breadcrumb-item > a:hover {
	color: #00D86B;
}

.breadcrumb-item > span {
	color: gray;
}

.btn-default, .btn {
	text-transform: uppercase !important;
	cursor: pointer !important;
}

.recently-slider .slick-track {
	margin-left: 0 !important;
    margin-right: 0 !important;
}

.basket-item {
	max-height: 212px !important;
}

@media (min-width: 768px) {
	.news-block {
		grid-template-columns: repeat(2, 1fr);
	}
  
	.news-item .news-item__name {
    	display: -webkit-box;
  		min-height: 48px;
    	-webkit-line-clamp: 2;
    	-webkit-box-orient: vertical;
    	overflow: hidden;
	}  
}

@media (min-width: 1200px) {
.top-contacts {
	min-width: 218px;
	margin-left: 120px;
}
	.form._with-bg {
		padding: 10% 20%;
		
	}	
	
	.sub-title {
		font-size: 36px;
	}	
	
	.margin-default {
		margin-bottom: 40px;
	}
	
	.p-page__container {
		grid-template-columns: 1fr 1fr;
	}	
	
	.news-block {
		grid-template-columns: repeat(3, 1fr);
		grid-gap: 28px;
	}
  
	.news-item-img img {
		width: 100%;
	}
	
	.news-item .link {
		margin-top: auto;
	}  
}

#cart2 .left p, #cart3 .left p {
	line-height: 1.4;
}

#cart2 .left li, #cart3 .left li {
	margin-bottom: 8px;
}

#cart2 .left ul, #cart3 .left ul {
	list-style: disk;
	list-style-position: inside;
}

.text-block  h1 {
	margin-bottom: 20px;
}

.text-block  p {
	margin-bottom: 12px;
}

.text-block ul {
	list-style: disc;
    list-style-position: inside;
}

.text-block ul + p {
	margin-top: 32px;
}

.news-list img {
	display: block;
	width: 100%;
	height: 190px;
	object-fit: contain;
}

.news-item img {
	display: block;
	width: 100%;
	height: 190px;
	object-fit: contain;
}

.news-item .news-item__name, .news-item .news-item__desc {
	font-size: 16px;
}

.popup-window {
	padding: 32px !important;
}

.popup-window-titlebar-text {
	font-size: 28px;
    color: #000;
}

.popup-window-close-icon::after {
	width: 24px;
	height: 24px;
}

.basket-item-main img {
	object-fit: contain;
}

@media (max-width: 991px) {
	.top-block .nav a {
		display: block;
		text-align: center;
	}

	.top-block .nav a:not(:last-child) {
		margin-bottom: 20px;
	}
}

.news-list .row {
	display: grid;
	grid-template-columns: 1fr;
    grid-gap: 32px;
}

@media (min-width: 768px) {
	.news-list .row {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 992px) {
	.news-list .row {
		grid-template-columns: repeat(3, 1fr);
	}

	.menu-first:hover + .drop.flex, .menu-first + .drop.flex:hover {
		display: grid;
    	grid-template-columns: repeat(4, 1fr);
	}

	.news-list-item .card {
		height: 100%;
	}
}

p + ul {
	margin-top: 8px;
}

li {
	line-height: 1.4;
}

.nav-current-page {
	border-color: #019FFF !important;
	color: #fff;
	background: #019FFF;
}

.product-item-container .item-img img {
    max-height: 300px;
}

.news-list-item .card-body {
	margin-top: 16px;
}

.news-list-item .card-text {
	margin-bottom: 16px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.news-list-item .news-list-more {
	margin-top: 16px;
}

.cart-sticker {
	position: absolute;
	top: 12px;
	left: 12px;
	display: grid;
	grid-gap: 8px;
}

.cart-sticker__item {
    width: 80px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 10px;
	text-align: center;
	color: #fff;
}

.mobile-phone, .main-menu__sub {
	display: none;
}

.wa._phone {
	margin-left: 20px !important;
	background: url(/img/phone.png) center no-repeat;
}

.product-item-container .item-head {
	margin-top: 8px;
	margin-bottom: 8px;
	text-align: left;
}

.product-item-container .item-img {
	position: relative;
	margin-top: 0;
}

@media (max-width: 767px) {
	.basket {
		display: none;
	}

	.main-menu__sub {
		display: block;
	}

	.mobile-phone {
		display: block;
		margin-left: auto;
	}

	.main-menu .container {
		display: grid;
		grid-template-columns: auto auto;
		align-items: center;
		grid-gap: 28px;
		width: fit-content;
	}
}
.btn-fly-cart .active{
	width: 126px;
	display: flex;
	padding: 7px 0px;
	align-content: center;
	justify-content: center;
}
input[name="web_form_submit"]{
	padding: 0;
}
.req{
	border-color: #ff5555;
}

.left h2 {
	padding: 10px 0px;
}

.left p {
	padding-bottom: 10px;
}

.left ul {
	list-style: disc;
	padding-left: 20px;
}

.text ul {
  	list-style: disc;
	padding-left: 20px;
	margin-bottom: 10px;
}
.text  h2,h3 {
	margin-bottom: 20px;
}

.footer__wrapper > div {
	display: flex;
	gap: 40px;
}

.tg {
	display: inline-flex;
    align-items: center;
    position: relative;
    padding: 0 0 0 42px;
    margin: 20px 0;
    color: #019FFF;
    font-weight: 600;
}

.tg:after {
	content: "";
	background: url('https://zenq-oil.ru/templates/shaper_helixultimate/images/telegram.png') no-repeat;
	background-size: cover;
	width: 32px;
	height: 32px;
	position: absolute;
	left: 0;
}

.tg.tg_icon-after {
	padding: 0 42px 0 0;
}

.tg.tg_icon-after:after {
	right: 0;
	left: unset;
}


.tg.tg_icon-small:after {
	width: 22px;
	height: 22px;
}

.footer__wrapper .tg {
	float: right;
	margin-top: 30px;
}

@media (max-width: 992px) {
	.footer__wrapper {
		width: 66%;
	}

	.footer__wrapper .footer-contacts {
		width: calc((100% / 2) - 20px);
	}
}

@media (max-width: 767px) {
	.footer__wrapper {
		width: 100%;
	}

	.footer__wrapper > div {
		gap: 20px;
	}
}

.section-button .btn-oil {
    color: #fff;
    font-size: 15px;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 600;
    display: block;
    text-align: center;
    padding: 15px;
    width: 60%;
    margin: 0 auto;
    background: #00D86B;
    border: 1px solid #ccc;
    border-radius: 4px;
}