.modal{
	position: fixed;
	transition: 0.4s ease;
	height: 100%;
	width: 100%;
	z-index: 111111;
	overflow: scroll;
	visibility: hidden;
	opacity: 0;
}
.modal.is-active{
	top: 0;
	left: 0;
	transition: 0.4s ease;
	visibility: visible;
	opacity: 1;
}
.modal .overlay {
	content: '';
	position: fixed;
	width: 100%;
	height: 100%;
	opacity: 0.5;
	background: black;
	z-index: 100;
	overflow: scroll;
	transition: 0.4s;
	cursor: pointer;
}
.modal-content {
	overflow: scroll;
	position: relative;
	height: 100%;
	max-width: 1280px;
	margin: 0 auto;
}
.modal-box {
	position: fixed;
	z-index: 123;
	box-shadow: 0.9513353109359741px 23.783382415771484px 26.637388229370117px 0px rgba(0, 0, 0, 0.08);
	top: 100%;
	left: 0;
	right: 0;
	bottom: 0;
	margin: 0 auto;
	width: 70%;
	transition: 0.4s ease;
}
.modal-box.is-active {
	margin: auto;
	position: absolute;
	top:50px;
	left: 0;
	bottom: 0;
	right: 0;
}
.modal-box-item{
	background: white;
	padding: 40px 100px;
	margin-bottom: 20px;
	border-radius: 12px;
}

.modal-box .modal-box--cart div.products_list .one p.name{
		font-size: 15px;
		line-height: 19px;
	}
@media(max-width:768px){
	.swiper.productSwiper{
			overflow: inherit;
	}
	.modal-box-item{
		padding: 20px;
		width: 100%;
		top:100vh;
		box-sizing: border-box;
		margin-bottom: 0px;
	}
	.modal-box{
		width: 100%;
		background: white;
		border-radius: 12px 12px 0px 0px;
		overflow-y: scroll;
		overflow-x: hidden;
		max-height: 100%;
		height: auto;
	}
	.modal-box.is-active {
		margin: auto;
		position: absolute;
		top:15%;
		left: 0;
		bottom: 0;
		right: 0;
	}
	.modal-box-item.is-active{
		display: block;
		width: 100%;
		overflow: auto;
		margin: auto;
		position: absolute;
		left: 0;
		bottom: 0;
		right: 0;
		box-sizing: border-box;
	}
	.modal-box .modal-box--cart div.products_list .one p.name{
		font-size: 13px;
		line-height: 17px;
		
	}
	.modal-box .modal-box--products div.products_list .one p.name a{
		font-size: 11px;
		line-height: 15px;
	   
	}
}
.modal-active{
	overflow: hidden;
}
.modal-box .title{
	font-size: 35px;
	font-weight: 800;
	margin: 0px;
	margin-bottom: 30px;
}
@media(max-width:768px){
   .modal-box .title{
		font-size: 23px;
		font-weight: 800;
		margin: 0px;
		margin-bottom: 30px;
		margin-top: 20px;
	} 
}
.product-list{
	display: flex;
	justify-content: space-between;
	gap: 30px;
}
.modal-box .modal-box--cart div.products_list .one p.img{
	max-width: 100px;
	height: auto;
}
.modal-box .modal-box--cart div.products_list .one p.name{
	height: auto;
}
@media(max-width:768px){
	.product-list{
		display: flex;
		
		justify-content: space-between;
		gap: 10px;
	}
	.modal-box .img{
		max-width: 100%;
		width: 150px;
	}
}
   
.modal-box .name p, .modal-box .name a{
	font-size: 13px;
	line-height: 17px;
}
.modal-box--cart .moProduct{
	max-width: 100%!important;
	width:100%;
}
.modal-box .div.products_list .one{
	min-width: auto;
	max-width: auto;
}
@media(max-width:768px){
	.modal-box--cart .moProduct{

	}
}
.modal-box .modal-box--cart div.products_list .one p.price s{
	display: block;
	font-size: 14px;
	font-size: 11px;
	line-height: 15px;
}
.modal-box .modal-box--cart p.price span.sale{
	font-size: 9px;
	position: absolute;
	right: 0;
	bottom: 0;
	top: auto;
	line-height: 9px;
}
.prod-line{
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 0px;
	border-top: 1px solid #e8e8e8;
	border-bottom: 1px solid #e8e8e8;
	gap:50px;
}
@media (max-width: 900px){
	.prod-line{
		gap:20px;
	}
}
.modal-box .modal-box--cart div.products_list .one p.price{
	position: relative;
	white-space: nowrap;
 margin: 0px;
	height: auto;
}
.modal-box .val{
	background: #f1f0ed;
	width: 50px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.modal-box .btn-list{
	margin-top: 30px;
	display: flex;
	gap: 20px;
	justify-content: end;
	align-items: center;
}
@media (max-width: 900px){
	.modal-box .btn-list{
		margin-top: 10px;
	}
}
.modal-box .modal-box--cart div.products_list .one div.button{
	max-width: 200px;
	margin: 0px;
}
.modal-box .modal-box--cart div.products_list .one div.button span.button.smoll {
	margin: 0px;
}
.modal-box .btn-prevcart{
	border: 1px solid #323232;
	color: #323232;
	border-radius: 2px;
	font-size: 15px;
	width: auto;
	cursor: pointer;
	padding: 13px 20px;
	transition: 0.5s;
	background: transparent;
	text-decoration: none;
}
.modal-box .btn-prevcart:nth-child(2){
	border: 1px solid #feed01;
	color: #323232;
	border-radius: 2px;
	font-size: 15px;
	width: auto;
	cursor: pointer;
	padding: 13px 20px;
	transition: 0.5s;
	background: #feed01;
}
@media (max-width: 900px){
	.modal-box .btn-prevcart:nth-child(2){
		padding: 6px 20px;
	}
}
.modal-box .product_list{
	border-top: 1px solid gainsboro;
	border-bottom: 1px solid gainsboro;
}
.modal-box div.products_list .one{
	margin: 0px;
}
.modal-box .swiper-slide{
		max-width: 240px;
}
@media (max-width: 900px){
	.modal-box .modal-box--products div.products_list .one {
		margin: 0px;
		max-width: 180px;
		min-width: 0px;
	} 
	.modal-box .swiper-slide{
		max-width: 180px;
	}
}
.modal-arrow{
	position: absolute;
	top: 45%;
	width: 20px;
	z-index: 123123;
	cursor: pointer;
	background: #fff;
	border-radius: 100%;
	padding: 17px 18px;
	position: absolute;
	z-index: 2;
	transition: 1s;
	opacity: 1;
	fill: #020202;
}
@media(max-width:768px){
	.modal-arrow{
		top: 45%;
		width: 15px;
		padding: 10px 11px;
		border: 1px solid #e7e7e7;
	}
}
.modal-arrow-right{
	right: 0px;   
}
.modal-arrow-left{
	left: 0px;   
}
.modal-box--cart .moProduct .tag{
	display: none;
}

section.first_pblock section.images p.tag img.tag-ds-img{
	margin: 0px!important;
}
section.first_pblock section.images p.tag-ds{
	top:2px;
}
p.tag-ds{
	top:2px;
}
@media(min-width:900px){
	p.tag img.tag-ds-image{
		width:130px!important;
		max-width:130px;
		margin-top: 0px;
	}
	section.first_pblock section.images p.tag img.tag-ds-image{
		width:130px!important;
		max-width:130px;
		margin-top: 0px;
	}
	.product_block .c2a{
		margin-bottom:15px!important;
	}
	section.summ input.grey{
		margin-top:15px!important;
	}
	.prices .summ .stock.stock-ds{
		margin-top: 10px;
	}
}
@media (max-width: 900px){
	div.products_list.cat .one p.tag img.tag-ds-image {
		max-width: 110px;
		width: 110px;
		margin-top: 0px;
	}
	section.first_pblock section.images p.tag img.tag-ds-image{
		width:110px!important;
		max-width:110px;
		margin-top: 0px;
	}
	.product_block .c2a{
		margin-bottom:15px!important;
	}
	section.summ input.grey {
		margin-top: 15px!important;
	}
}
@media (max-width: 768px){
	.btn-favorite.fw-small {
		margin-top: 4px;
	}
}
@media(max-width:768px){
	.sw-buttons svg{
			display: none;
	}	
	.newcenter .scroll_block .buttons{
		display:block;
	}
	.newcenter .scroll_block .buttons::before, .newcenter .scroll_block .buttons::after{
		width:100px;
		z-index:123;
	}
	.newcenter .scroll_block svg {
		top:65%!important;
		opacity:1;
		box-shadow:none;
			border: 1px solid #cecece;
	}
	.newcenter .scroll_block svg.right, .newcenter .scroll_block svg.left{
		padding: 10px 1px;
		cursor: pointer;
		user-select: none;
		height: 2em;
		fill: #323232;
		display: inline-block;
		box-sizing: border-box;
		width: 35px;
		height: 35px;
	}
	
}
.sw-buttons::after {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	bottom: 0;
	width: 150px;
	background: #f00;
	z-index: 999;
	background: rgb(255,255,255);
	background: linear-gradient(-270deg,rgba(251,251,251,0) 0,rgba(251,251,251, 1) 100%);
	right:0;
}
.sw-buttons::before {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	bottom: 0;
	width: 150px;
	background: #f00;
	z-index: 999;
	left: 0;
	background: linear-gradient(270deg,rgba(251,251,251,0) 0,rgba(251,251,251, 1) 100%);
	transition: 0.4s;
	opacity: 1;
}
.hidden-left.sw-buttons::before {
	transition: 0.4s;
	opacity: 0;
}
.sw-buttons svg{
	padding: 1em 0.1em;
	cursor: pointer;
	user-select: none;
	height: 2em;
	fill: #323232;
	display: inline-block;
	box-sizing: border-box;
	width: 45px;
	height: 45px;
	top: calc(50% - 25px);
	z-index: 1111111;
}
.sw-prev{
	opacity:1;
	transition:0.2s;
	visibility:visible;
}
.sw-prev.sw-hidden{
	opacity:0;
	transition:0.2s;
	visibility:hidden;
}
@media(max-width:768px){
	.newcenter .left.disabled{
		opacity: 0!important;
		transition: 0.2s;
	}
}

	.swp-header{
	position:relative;
	width: 100%;
	padding: 10px 20px;
	border: 1px solid #E0E0E0;
	border-radius: 30px;
}
.swp-header h2{
	margin:0px;
	font-size:13px;
}
.swp-header .swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{
	background: #646464;
}
.swp-header .swiper-pagination{
	right:20px!important;
	left:auto!important;
	transform:none!important;
	top: 35%;
}
.cat_list.grid-block{
	display: grid;
	grid-template-columns: repeat(10, 1fr);
	gap: 10px;
}
@media(max-width:1200px){
	.cat_list.grid-block{
		grid-template-columns: repeat(9, 1fr);
	}
	.grid-block .swiper{
		padding-left:15px;
	}
}
@media(max-width:1100px){
	.cat_list.grid-block{
		grid-template-columns: repeat(7, 1fr);
	}
}
@media(max-width:820px){
	.cat_list.grid-block{
		grid-template-columns: repeat(5, 1fr);
	}
}
@media(max-width:768px){
	.cat_list.grid-block{
		display: block;
	}
}
.cat_list.grid-block .one{
	width:100%;
	margin-right:0px;
	height:auto;
	background: #efefef;
}
div.cat_list.grid-block .one a.title {
	position: absolute;
	top: 12px;
	left: 0px;
	max-width: 100%;
	right:0px;
	z-index: 2;
	text-decoration: none;
	white-space: initial;
	text-align: center;
	width: 100%;
	font-size: 13px;
	line-height: 17px;
	padding: 5px;
	box-sizing: border-box;
	font-family:'YandexBold';
}
@media(max-width:768px){
	div.cat_list.grid-block .one a.title {
		top: 8px;
		font-size: 8px;
		line-height: 11px;
	}
	.fpTabHeader a.fpTabLink.fpTabLink-new{
		color: #545252;
		font-size: 11px;
	}
}
div.cat_list.grid-block .one img{
	height: auto;
	width: 100%;
	bottom: 0;
	top: auto;
	position: relative;
	display: block;
}

.container-new{
	max-width: calc(90% + 20px);
	margin: 0 auto;
}
.center-new {
	margin: 0 auto;
	max-width: calc(90% + 20px);
	box-sizing: border-box;
	position: relative;
}
.products_list.container-new .moProduct{
	margin-bottom: 20px;
}
.newcenter .fullwitdh{
	padding: 0px;
}

.new-links div.cat_list .one{
	height: 240px;
	background: #e8e8e8;
	width: 100%;
}
.new-links div.cat_list .swiper-slide{
	width: 178px;
}
div.products_list.nSwiper .one{
	margin-right: 0px;
}
div.products_list.nSwiper .swiper-slide{
	width: auto;
}

@media(max-width:768px){
	.new-links div.cat_list .one{
		height: 210px;
		width: 168px;
	}
	.new-links div.cat_list .swiper-slide{
		width: 168px;
	}
	.new-links .sw-buttons{
		display:none;
	}
	.new-links div.cat_list .one a.title{
		font-size:13px;
		top:10px;
		padding: 0px 5px;
	}
	.container-new{
		width:100%;
		max-width:100%;
	}
	.container-new .fpTabHeader{
		width:90%;
		margin: 0 auto;
	}
	.linksSwiper{
		padding-left:20px;
	}
}
.new-links div.cat_list .one img {
	top: auto;
	bottom: 0;
	right:0;
	width:100%;
	height:auto;
}
.new-links div.cat_list .one a.title{
	left:0;
	text-align:center;
	display: block;
	position: relative;
}
.countdown {
	font-size: 14px;
	color: #999;
	margin: 10px 0;
	display: inline-block;
}
