.block--products-list {
	width: 100%;
}

.container-inner.container--products-list {
	padding: 16px 0;
}

.products {
	display: grid;
	justify-content: start;
	align-items: start;
	justify-items: start;
	gap: 12px;
}

.products.grid {
	grid-template-columns: repeat(auto-fit, minmax(225px, 1fr));
	margin: 0;
	padding: 0;
}

.prices .spinner.active {
	margin: auto;
    height: 37px;
    width: 37px;
}

.dp-none {
	display: none;
}

@media(min-width: 720px) {
	.products.grid {
		grid-template-columns: 1fr 1fr 1fr;
	}
}

@media(min-width: 1024px) {
	.products.grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media(min-width: 1200px) {
	.products.grid {
		grid-template-columns: 1fr 1fr 1fr;
	}
}

@media(min-width: 1400px) {
	.products.grid {
		grid-template-columns: 1fr 1fr 1fr 1fr;
	}
}

.products.list {
	grid-template-columns: 1fr;
	margin: 0;
}

.list .product-card__image-block {
	position: relative;
}

.block__top--toolbar .view {
	display: flex;
	flex-flow: row nowrap;
	gap: 20px;
	justify-content: flex-start;
	align-items: flex-start;
}

.view__button {
	display: block;
	border: none;
	background: transparent;
	height: 25px;
}

.view__button img,
.view__button svg {
	display: block;
	width: auto;
	height: auto;
	max-height: 100%;
}

.view__button svg path {
	fill: var(--color-text-primary);
}

.view__button.active svg path {
	fill: var(--color-text-secondary);
}

.sorter {
	display: flex;
	flex-flow: row wrap;
	gap: 0;
	font-size: 0.9rem;
	line-height: 1;
	align-items: center;
	justify-content: flex-end;
}

@media(min-width: 640px) {
	.sorter {
		flex-flow: row nowrap;
		gap: 15px;
		font-size: 1rem;
		justify-content: none;
	}
}

.sorter .sorter__text {
	font-weight: 500;
}

.sorter .sorter__select {
	font-size: 1rem;
	line-height: 1;
	padding: 8px 14px;
	border: var(--cart-img-border);
	border-radius: 5px;
}

.product-card {
	display: block;
	height: 100%;
	width: 100%;
	position: relative;
	padding: 15px;
	border: var(--border-light-gray);
	list-style: none;
}

.product-card__image-wrap {
	position: relative;
	display: block;
	width: 100%;
	padding-top: calc(100% /(3 / 4));
	background-color: #fff;
	margin-bottom: 16px;
}

.product-card__image-wrap a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.product-card__image-wrap img {
	max-width: 100%;
	height: auto;
	display: block;
}

.product-card__image-wrap::after {
	content: '';
	display: block;
	position: relative;
	width: 100%;
	height: 1px;
	background-color: var(--border-color);
	margin: 8px 0;
}

.product-card__category {
	display: block;
	position: relative;
	width: 100%;
	height: auto;
	font-size: 0.8rem;
	line-height: 1;
	color: var(--category-link-color);
	text-transform: uppercase;
}

.product-card__link {
	display: block;
	width: 100%;
	height: 48px;
	margin: 8px 0 10px;
	overflow: hidden;
}

.product-card__name {
	font-size: 0.9rem;
	line-height: 1.1;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	font-weight: 500;
}

.product-card .prices {
	display: block;
	min-height: 48px;
	margin-bottom: 10px;
}

.product-card .prices > div {
    display: flex;
    flex-flow: column;
    gap: 5px;
	align-items: center;
}

.product-card .prices:has(.product-card__price-pricelist) > div:first-child {
	flex: 0 0 49%;
	align-items: flex-end;
}

.product-card .prices:has(.product-card__price-pricelist) > div:nth-child(2) {
    align-items: flex-start;
    justify-content: flex-start;
    flex: 0 0 48%;
}

.product-card .prices:has(.product-card__price-pricelist) {
	display: flex;
	flex-flow: row nowrap;
    gap: 4%;
    min-height: 48px;
    margin-bottom: 10px;
}

.product-card__price {
	display: flex;
	flex-flow: row wrap;
	align-content: flex-start;
	justify-content: center;
	align-items: center;
	gap: 0;
	margin: 0;
	font-size: 1rem;
	line-height: 1;
	font-weight: 600;
}

.product-card__price .product-card__price-new {
	font-size: 0.85rem;
	font-weight: 500;
}

.product-card__price .product-card__price-new.with-vat {
	font-size: 1.2rem;
	color: var(--product-price-new-color);
	font-weight: 700;
}

.product-card__price.product-card__price-old span.with-vat {
	font-size: 1.1rem;
	line-height: 1.2rem;
}

.product-card__price.product-card__price-old .product-card__price-new.with-vat {
	color: var(--product-price-old-color);
	font-weight: 500;
}


.product-card__price-old,
.product-card__price-old span {
	margin: 0;
	color: var(--product-price-old-color);
	text-decoration: none;
}

.products.list .product-card__price-old,
.product-card__price-old span {
	font-size: 1.2rem;
	font-weight: 500;
	text-decoration: line-through;
}

.product-card__price.product-card__price-pricelist:not(.product-card__price-old) .with-vat  {
    font-size: 1.2rem;
	font-weight: 700;
	color: var(--product-price-new-color);
}

.products.list .product-card__price .product-card__price-old {
	flex: 0 0 100%;
}

.product-card__form--widget {
	display: flex;
	flex-flow: column;
	gap: 8px;
}

.product-card__button--list {
	margin-top: 20px;
}

.product-card__count {
	display: grid;
	grid-template-columns: 36px auto 36px;
	gap: 0;
	border: var(--border-light-gray);
	border-radius: 5px;
	align-items: center;
	overflow: hidden;
	justify-items: stretch;
}

.product-card__count button,
.product-card__count input {
	position: relative;
	display: block;
	width: 100%;
	height: 36px;
	background: #fff;
	color: var(--color-text-primary);
	text-align: center;
	border: var(--border-light-gray);
	border-width: 0;
}

.product-card__count .product-card__count-input {
	border-left-width: 1px;
	border-right-width: 1px;
}

.product-card__count-input:active,
.product-card__count-input:focus,
.product-card__count-input:focus-visible,
.product-card__count-input:visited,
.product-card__count-input:hover {
	border-width: 0;
	border-left-width: 1px;
	border-right-width: 1px;
	outline: none;
}

.product-card__count-button {
	font-size: 1.4rem;
	transition: background-color 0.3s ease-in-out;
}

.product-card__count-button:hover {
	background-color: var(--color-bg-button-secondary);
}

.product-card__button {
	border: none;
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--color-text-white);
	background: var(--color-bg-button);
	border-radius: 5px;
	overflow: hidden;
	padding: 12px;
	width: 100%;
	text-align: center;
}

.product-card__button:hover {
	background: var(--color-bg-button-hover);
	color: var(--color-text-white);
}

.product-card__description {
	display: none;
	width: 100%;
	font-size: 0.9rem;
	line-height: 1.2;
	color: var(--color-text-gray);
}

.products.list .product-card__description {
	display: block;
}

.products.list .product-card {
	display: grid;
	grid-template-columns: 150px 1fr 180px;
	grid-template-areas:
		"image  info  action"
		"image  info  action"
		"image  info  action"
		"image  info  action";
	grid-auto-rows: min-content;
	grid-template-rows: min-content;
	justify-content: start;
	align-items: start;
	justify-items: start;
	gap: 0 8px;
}

.product-card__group.product-card__group--list {
    font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.2px;
    color: var(--category-link-color);
}

.products.list .product-card__image-wrap {
	grid-area: image;
	grid-row: 1 / -1;
	margin: 0;
	padding-top: calc(100% /(1 / 1));
}

.products.list .product-card__image-wrap:after {
	content: none;
}


products.list .product-card__image-wrap a {
	align-items: flex-start;
	justify-content: flex-start;
}

.product-card--list .product-card__info-block {
	display: flex;
	flex-flow: column;
	gap: 15px;
}


.products.list .product-card__category {
	grid-area: info;
	grid-row: 1;
}

.products.list .product-card__link {
	grid-area: info;
	grid-row: 2;
	height: auto;
	margin: 0;
}

.products.list .product-card__price {
    display: flex;
    flex-flow: row wrap;
    align-content: flex-start;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;
}

.products.list .product-card__price--list > div {
    display: flex;
    flex-flow: column;
}

.products.list .product-card__description {
	grid-area: info;
	grid-row: 4;
}

.products.list .product-card__form--widget {
	grid-area: action;
	grid-row: 1 / -1;
}

.products.list .product-card__name {
	display: block;
	overflow: hidden;
	text-overflow: initial;
	color: var(--color-text-primary);
	font-weight: 600;
}

.products.list .product-card__price--list .product-card__price-rr {
	font-size: 0.85rem;
	line-height: 1;
}

.products.list .product-card__price--list .product-card__price-rr.with-vat:not(.product-card__price-old) {
	font-size: 1.2rem;
	color: var(--product-price-new-color);
}

.products.list .product-card__price--list .product-card__price-old.product-card__price-rr.with-vat {
	font-size: 1.1rem;
}

.products.list .product-card__price.product-card__price--list > .product-card__price-pricelist:not(.product-card__price-old) {
	display: flex;
	flex-flow: column;
	flex: 0 0 100%;
}

.products.list .product-card__price.product-card__price--list > .product-card__price-pricelist:not(.product-card__price-old) span {
	font-size: 0.85rem;
	line-height: 1;
	color: var(--color-text-primary);
}

.products.list .product-card__price.product-card__price--list > .product-card__price-pricelist:not(.product-card__price-old) span.with-vat {
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--product-price-new-color);
}


@media(max-width: 640px) {
	.products.list .product-card {
		grid-template-columns: 150px 1fr;
		grid-template-areas:
			"image action"
			"info info"
			"info info"
			"info info";
		justify-content: start;
	}

	.products.list .product-card__image-wrap {
		grid-area: image;
		grid-row: 1;
	}

	.product-card__image-wrap {
		padding-top: calc(100% /(1 / 1));
	}

	.product-card__image-wrap a {
		align-items: flex-start;
		justify-content: flex-start;
	}

	.products.list .product-card__category {
		grid-area: info;
		grid-column: 1 / -1;
		grid-row: 4;
	}

	.products.list .product-card__link {
		grid-area: info;
		grid-row: 3;
		grid-column: 1 / -1;
	}

	.products.list .product-card__price {
		grid-area: info;
		grid-row: 2;
		grid-column: 1 / -1;
	}

	.products.list .product-card__description {
		grid-area: info;
		grid-row: 5;
		grid-column: 1 / -1;
	}

	.products.list .product-card__form--widget {
		grid-area: action;
		grid-row: 1;
		grid-column: 2;
	}
}

.product-card__badges {
	display: grid;
	grid-template-rows: 1fr 1fr;
	grid-template-columns: 1fr 1fr;
	align-content: flex-start;
	justify-content: flex-start;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9;
	pointer-events: none;
	padding: 0 0 10px;
}

.product-card__badges>div,
.product-card__badges>span {
	display: flex;
	padding: 10px 14px;
	border-radius: 5px;
	color: #fff;
	background: #333;
	font-size: 0.7rem;
}

.product-card__badges .product-card__badge-new {
	align-self: flex-start;
	justify-self: flex-end;
	background: var(--color-rkr-bg-secondary);
}

.product-card__badges .product-card__badge-new:first-child {
    justify-self: flex-start;
}

.swiper-wrapper .product-card__badges .product-card__badge-new {
	margin-top: 12px;
	margin-right: 12px;
}

.product-card__badges .product-card__badge-sale {
	align-self: flex-start;
	justify-self: flex-start;
	background: var(--color-bg-button);
}

.product-card__badges .product-card__badge-sale:nth-child(2) {
	justify-self: flex-end;
}

.swiper-wrapper .product-card__badges .product-card__badge-sale {
	margin-left: 12px;
	margin-top: 12px;
}

.product-card__badges .product-card__badge-third {
	align-self: flex-end;
	justify-self: flex-start;
}

.swiper-wrapper .product-card__badges .product-card__badge-third {
	margin-left: 12px;
}

.product-card__badges .product-card__badge-fourth {
	align-self: flex-end;
	justify-self: flex-end;
}

.swiper-wrapper .product-card__badges .product-card__badge-fourth {
	margin-right: 12px;
}

.swiperMain--fullscreen .product-card__badges {
	grid-template-columns: 1fr;
    grid-template-rows: auto;
	gap: 25px;
	padding: 20px;
}

.swiperMain--fullscreen .product-card__badges > span {
	justify-self: flex-start;
}