/* ========== NEW HEADER STYLES  ========== */

.header-row {
	display: flex;
	align-items: center;
}

form[action="/search/"] input:focus,
form[action="/search/"] input:focus-visible {
	outline: none;
	box-shadow: none;
}

/* Колонка логотипа */
.header-col-logo .logo span {
	display: block;
	font-size: 11px;
	text-transform: uppercase;
	color: #ff0405;
	margin-top: 5px;
	letter-spacing: 0.5px;
}

/* Колонка времени работы и email */
.header-col-schedule {
	text-align: center;
}

.header-schedule {
	display: inline-block;
	text-align: center;
}

.header-schedule__time {
	font-size: 14px;
	color: #303030;
	margin-bottom: 5px;
}

.header-schedule__email a {
	font-size: 14px;
	color: #303030;
	text-decoration: none;
}

.header-schedule__email a:hover {
	color: #ff0405;
	text-decoration: underline;
}

/* Колонка телефона */
.header-col-phone {
	text-align: center;
}

.header-phone-block {
	display: inline-block;
	text-align: center;
}

.header-phone {
	display: block;
	font-size: 24px;
	font-weight: 700;
	color: #303030;
	text-decoration: none;
	margin-bottom: 16px;
}

.header-phone:hover {
	color: #ff0405;
}

/* Кнопка "Обратный звонок" */
.header-callback-btn {
	display: inline-block;
	border-radius: 14px;
	border: 0;
	max-width: 170px;
	padding: 8px 10px;
	font-size: 14px;
	font-weight: bold;
	background-color: #ff0405;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	text-decoration: none;
	text-align: center;
}

.header-callback-btn:hover {
	background: #ff8585;
	color: #fff;
	border: 0;
	text-decoration: none;
}

/* Колонка корзины */
.header-col-cart {
	text-align: right;
}

.header-cart {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
}

.header-cart__link {
	display: flex;
	align-items: center;
	text-decoration: none;
}

.header-cart__icon {
	position: relative;
	display: inline-block;
	width: 32px;
	height: 32px;
}

.header-cart__icon img {
	width: 32px;
	height: 32px;
}

.header-cart__count {
	position: absolute;
	top: -8px;
	right: -8px;
	min-width: 20px;
	height: 20px;
	line-height: 20px;
	text-align: center;
	background-color: #ff0405;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	border-radius: 50%;
	padding: 0 4px;
}

.header-cart__count:empty,
.header-cart__count[data-count="0"] {
	display: none;
}

.header-cart__price {
	margin-left: 12px;
	font-size: 18px;
	font-weight: 700;
	color: #303030;
	white-space: nowrap;
}

/* Мобильная корзина в шапке */
.header-cart--mobile {
	display: none;
}

@media (max-width: 767px) {
	.header-cart--mobile {
		display: block;
		position: absolute;
		right: 15px;
		top: 50%;
		transform: translateY(-50%);
	}

	.header-cart--mobile .header-cart__link {
		display: flex;
		flex-direction: column;
		align-items: center;
		text-decoration: none;
		color: #303030;
	}

	.header-cart--mobile .header-cart__icon {
		position: relative;
		display: block;
		width: auto;
		height: auto;
	}

	.header-cart--mobile .header-cart__icon img {
		width: 36px;
		height: 36px;
	}

	.header-cart--mobile .header-cart__count {
		position: absolute;
		top: -5px;
		right: -5px;
		background: #ff0405;
		color: #fff;
		font-size: 11px;
		font-weight: 600;
		min-width: 18px;
		height: 18px;
		line-height: 18px;
		text-align: center;
		border-radius: 50%;
		padding: 0;
		box-sizing: border-box;
	}

	.header-cart--mobile .header-cart__count:empty,
	.header-cart--mobile .header-cart__count[data-count="0"] {
		display: none;
	}

	.header-cart--mobile .header-cart__price {
		font-size: 14px;
		color: #303030;
		margin-top: 2px;
		margin-left: 0;
	}

	/* Скрываем mbl-btn */
	.mbl-btn {
		display: none !important;
	}

	/* Телефон на мобилке */
	.phone-sm a {
		color: #303030 !important;
		font-size: 21px;
	}

	/* Скрываем график работы */
	.phone-sm .time-work {
		display: none !important;
	}

	/* Позиционирование logo-block */
	.logo-block {
		position: relative;
	}
}

/* Адаптив для средних экранов */
@media (max-width: 1200px) {
	.header-phone {
		font-size: 20px;
	}

	.header-cart__price {
		font-size: 16px;
	}
}

@media (min-width: 960px) {
	.header {
		padding: 10px 0 20px;
	}
}

/* ========== BASKET POPUP STYLES ========== */

.basket-popup {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 10000;
}

.basket-popup.is-active {
	display: block;
}

.basket-popup__backdrop {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
}

.basket-popup__dialog {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: #fff;
	border-radius: 8px;
	padding: 30px;
	max-width: 600px;
	width: 90%;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.basket-popup__close {
	position: absolute;
	top: 10px;
	right: 15px;
	background: none;
	border: none;
	font-size: 28px;
	cursor: pointer;
	color: #999;
	line-height: 1;
}

.basket-popup__close:hover {
	color: #333;
}

.basket-popup__content {
	display: flex;
	gap: 20px;
	margin-bottom: 20px;
}

.basket-popup__info {
	flex: 1;
}

.basket-popup__title {
	font-size: 18px;
	font-weight: 700;
	color: #333;
	margin-bottom: 10px;
}

.basket-popup__name {
	font-size: 16px;
	color: #333;
	margin-bottom: 10px;
}

.basket-popup__price,
.basket-popup__total {
	font-size: 14px;
	color: #666;
	margin-bottom: 8px;
}

.basket-popup__total {
	font-weight: 700;
	color: #333;
	font-size: 16px;
}

.basket-popup__qty {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-top: 15px;
}

.basket-popup__qty>span {
	font-size: 14px;
	color: #666;
}

.basket-popup__qty-controls {
	display: flex;
	align-items: center;
	border: 1px solid #ddd;
	border-radius: 4px;
}

.basket-popup__qty-controls button {
	width: 36px;
	height: 36px;
	background: none;
	border: none;
	font-size: 18px;
	cursor: pointer;
	color: #333;
}

.basket-popup__qty-controls button:hover {
	background: #f5f5f5;
}

.basket-popup__qty-controls span {
	min-width: 40px;
	text-align: center;
	font-size: 16px;
	font-weight: 600;
}

.basket-popup__image {
	width: 150px;
	flex-shrink: 0;
}

.basket-popup__image img {
	width: 100%;
	height: auto;
	border-radius: 4px;
}

.basket-popup__actions {
	display: flex;
	gap: 15px;
	justify-content: flex-end;
}

.basket-popup__btn {
	padding: 12px 25px;
	border-radius: 14px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	border: none;
	text-transform: uppercase;
	text-align: center;
}

.basket-popup__btn--secondary {
	background: #f0f0f0;
	color: #333;
}

.basket-popup__btn--secondary:hover {
	background: #e0e0e0;
}

.basket-popup__btn--primary {
	background: #ff0405;
	color: #fff;
}

.basket-popup__btn--primary:hover {
	background: #ff8585;
	color: #fff;
}

body.basket-popup-open {
	overflow: hidden;
}

.header-cart a:hover {
	text-decoration: none;
}

.product-item .order-block {
	display: flex;
	align-items: center;
}

.product-item .order-block .price {
	line-height: 18px;
}

.element_price_old {
	color: #999;
	font-size: 14px;
	text-decoration: line-through;
}

/* ========== BASKET PAGE STYLES ========== */

/* Layout корзины */
.basket-layout {
	display: flex;
	gap: 30px;
	align-items: flex-start;
	padding: 20px 0 40px;
}

.basket-layout__items {
	flex: 1;
	min-width: 0;
}

.basket-layout__items h1 {
	margin-bottom: 25px;
}

.basket-layout__sidebar {
	width: 350px;
	flex-shrink: 0;
	position: sticky;
	top: 20px;
}

/* Пустая корзина */
.basket-alert {
	text-align: center;
	padding: 40px 20px;
	background: #f9f9f9;
	border-radius: 8px;
}

.basket-alert p {
	font-size: 16px;
	color: #666;
	margin-bottom: 15px;
}

.basket-alert p:last-child {
	margin-bottom: 0;
}

.basket-alert--info {
	background: #f0f7ff;
	border: 1px solid #cce0ff;
}

.basket-alert--error {
	background: #fff0f0;
	border: 1px solid #ffcccc;
	text-align: left;
	padding: 15px 20px;
}

.basket-alert--error p {
	color: #cc0000;
	margin: 0 0 5px;
}

.basket-alert--success {
	background: #f0fff0;
	border: 1px solid #ccffcc;
}

.basket-alert--success p {
	color: #228822;
	margin: 0;
}

.basket-alert__link {
	display: inline-block;
	padding: 12px 25px;
	background: #ff0405;
	color: #fff;
	text-decoration: none;
	border-radius: 6px;
	font-weight: 600;
}

.basket-alert__link:hover {
	background: #cc0304;
	color: #fff;
}

/* Список товаров */
.basket-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

/* Товар в корзине */
.basket-item {
	display: flex;
	gap: 15px;
	padding: 20px;
	border: 1px solid #eee;
	border-radius: 8px;
	margin-bottom: 15px;
	background: #fff;
}

.basket-item__image {
	width: 100px;
	flex-shrink: 0;
}

.basket-item__image img {
	width: 100%;
	height: auto;
	border-radius: 4px;
	max-height: 100px;
	object-fit: contain;
}

.basket-item__content {
	flex: 1;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 15px;
}

.basket-item__main {
	flex: 1;
}

.basket-item__name {
	margin-bottom: 8px;
}

.basket-item__name a {
	font-size: 16px;
	font-weight: 600;
	color: #333;
	text-decoration: none;
}

.basket-item__name a:hover {
	color: #ff0405;
}

.basket-item__price {
	font-size: 14px;
	color: #666;
	margin-bottom: 12px;
}

.basket-item__controls {
	display: flex;
	align-items: center;
	gap: 20px;
}

.basket-item__qty {
	display: flex;
	align-items: center;
	border: 1px solid #ddd;
	border-radius: 4px;
}

.basket-item__qty button {
	width: 32px;
	height: 32px;
	background: none;
	border: none;
	font-size: 16px;
	cursor: pointer;
	color: #333;
	padding: 0;
	line-height: 1;
}

.basket-item__qty button:hover {
	background: #f5f5f5;
}

.basket-item__qty span {
	min-width: 35px;
	text-align: center;
	font-size: 15px;
	font-weight: 600;
}

.basket-item__total {
	font-size: 16px;
	font-weight: 700;
	color: #333;
	white-space: nowrap;
}

.basket-item__remove {
	background: none;
	border: none;
	font-size: 13px;
	cursor: pointer;
	color: #999;
	padding: 0;
	white-space: nowrap;
	flex-shrink: 0;
}

.basket-item__remove:hover {
	color: #ff0405;
}

/* Блок сводки */
.basket-summary {
	padding: 20px;
	background: #f9f9f9;
	border-radius: 8px;
	margin-bottom: 20px;
}

.basket-summary__line {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 15px;
	margin-bottom: 10px;
}

.basket-summary__line:last-child {
	margin-bottom: 0;
}

.basket-summary__line strong {
	font-size: 16px;
	color: #333;
}

/* Форма заказа */
.basket-form {
	background: #f9f9f9;
	border-radius: 8px;
	padding: 20px;
}

.basket-form__field {
	display: block;
	margin-bottom: 15px;
}

.basket-form__field span {
	display: block;
	margin-bottom: 5px;
	font-size: 14px;
	font-weight: 600;
	color: #333;
}

.basket-form__field input,
.basket-form__field textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 14px;
	box-sizing: border-box;
}

.basket-form__field input:focus,
.basket-form__field textarea:focus {
	outline: none;
	border-color: #ff0405;
}

.basket-form__field textarea {
	resize: vertical;
}

.basket-form__agree {
	margin-bottom: 15px;
}

.basket-form__agree label {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	cursor: pointer;
	line-height: 1.4;
}

.basket-form__agree input[type="checkbox"] {
	margin-top: 3px;
	flex-shrink: 0;
}

.basket-form__agree span {
	font-size: 12px;
	color: #666;
	font-weight: 400;
}

.basket-form__agree a {
	color: #ff0405;
}

.basket-form__agree a:hover {
	text-decoration: underline;
}

.basket-form__submit {
	width: 100%;
	padding: 12px 25px;
	font-size: 15px;
	font-weight: 600;
	background: #ff0405;
	color: #fff;
	border: none;
	border-radius: 6px;
	cursor: pointer;
}

.basket-form__submit:hover {
	background: #cc0304;
}

.header.fixed-top .header-callback-btn {
	display: none;
}

.product-item a.red-btn.add-to-cart-btn {
	font-size: 14px;
}

.basket-popup__actions a:hover {
	text-decoration: none;
}

.detail-page__buy-block .gray-btn {
	font-weight: 700;
	font-family: "FiraSans";
	font-size: 18px;
	letter-spacing: 2px;
	padding: 15px;
	max-width: 240px;
	margin: auto;
	border-radius: 15px;
	display: block;
	cursor: pointer;
	text-align: center;
	text-transform: uppercase;
	border: 2px solid #e0e0e0;
	-webkit-transition: all 0.4s;
	transition: all 0.4s;
}

.detail-page__buy-block .gray-btn:hover {
	background-color: white;
	color: black;
	text-decoration: none;
}

.buy-block__buttons {
	display: flex;
	flex-direction: column;
	row-gap: 15px;
}

/* ========== КНОПКА "УЖЕ В КОРЗИНЕ" ========== */
.add-to-cart-btn.in-cart {
	background-color: #5cb85c !important;
	border-color: #5cb85c !important;
	color: #fff !important;
	cursor: pointer;
}

.add-to-cart-btn.in-cart:hover {
	background-color: #449d44 !important;
	border-color: #449d44 !important;
}

/* Успешная отправка */
.basket-success {
	text-align: center;
	padding: 60px 20px;
}

.basket-success h2 {
	color: #28a745;
	margin-bottom: 15px;
}

.basket-success p {
	font-size: 16px;
	color: #666;
	margin-bottom: 25px;
}

/* Адаптив корзины */
@media (max-width: 991px) {
	.basket-layout {
		flex-direction: column;
	}

	.basket-layout__sidebar {
		width: 100%;
		position: static;
	}
}

@media (max-width: 576px) {
	.basket-item {
		flex-wrap: wrap;
	}

	.basket-item__image {
		width: 70px;
	}

	.basket-item__content {
		flex: 1 1 calc(100% - 85px);
		flex-direction: column;
	}

	.basket-item__remove {
		margin-top: 10px;
	}
}

@media (max-width: 768px) {
	.basket-popup__content {
		flex-direction: column-reverse;
	}

	.basket-popup__image img {
		width: 70%;
	}

	.basket-popup__image {
		width: 100%;
		max-width: 200px;
		margin: 0 auto;
		display: flex;
		justify-content: center;
	}

	.basket-popup__actions {
		flex-direction: column;
	}
}


/* ========== NEW HEADER STYLES END ========== */

/* ========== ПЕРЕКЛЮЧАТЕЛЬ КОЛИЧЕСТВА ТОВАРОВ ========== */
.sort {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 5px;
	font-size: 14px;
}

.sort ul li {
	font-size: 14px;
}

.per-page {
	display: flex;
	align-items: center;
	margin-left: auto;
}

.per-page-text {
	font-size: 14px;
	color: #000000;
	margin-right: 10px;
}

.per-page-list {
	list-style: none;
	display: flex;
}

.per-page-list li {
	display: inline-block;
}

.per-page-list li a,
.per-page-list li span {
	display: inline-block;
	padding: 3px 8px;
	font-size: 14px;
	color: #000000;
	text-decoration: none;
	border: 1px solid #ddd;
	border-radius: 4px;
	transition: all 0.2s ease;
}

.per-page-list li a:hover {
	/*background: #f5f5f5;*/
	border-color: #ccc;
	color: #333;
}

.per-page-list li.active span {
	background: #ff0405;
	border-color: #ff0405;
	color: #fff !important;
}

.sort .per-page ul li {
	border: none;
}

.sort ul {
	display: flex;
}

.section-description {
	margin-top: 20px;
}

.sort ul li:last-child {
	border-right: none;
}

@media (min-width: 768px) {
	.sort ul li:not(:first-child) {
		margin-left: 0;
	}
}


@media (max-width: 767.5px) {
	.sort {
		flex-direction: column;
		align-items: flex-start;
	}

	.per-page {
		margin-left: 0;
		margin-top: 10px;
	}

	.sort ul li {
		width: unset;
		padding: 0px;
	}

	.sort span.sort-text {
		margin-bottom: 0;
	}
}


@media screen and (max-width: 768px) {
	.phone-sm {
		height: 22px;
		overflow: hidden;
	}

	.phone-sm.loaded {
		height: auto;
		overflow: visible;
	}
}

.top_perelink {
	display: block;
}

.top_perelink a {
	display: inline-block;
	border: 1px solid #747474;
	color: #747474;
	padding: 3px 8px;
	border-radius: 30px;
	margin: 0 2px 7px 0;
}

.top_perelink a:hover {
	border: 1px solid #ff0405;
	color: #ff0405;
	text-decoration: none;
}

/* ========== COLLAPSIBLE FILTER STYLES ========== */

/* Заголовок фильтра - кликабельный */
.filter--collapsible .filter__title {
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	user-select: none;
}

/* Стрелка в заголовке */
.filter__arrow {
	font-size: 14px;
	transition: transform 0.3s ease;
}

/* Контент фильтра - скрыт по умолчанию */
.filter--collapsible .filter__content {
	display: none;
}

/* Контент фильтра - виден когда развёрнут */
.filter--collapsible.filter--expanded .filter__content {
	display: block;
}

.filter__title {
	margin-bottom: 0;
}

.filter--expanded .filter__title {
	margin-bottom: 30px;
}

/* ========== SORTING STYLES ========== */

.sort-text {
	margin-right: 5px;
}

.sort ul {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.sort ul li {
	border: none;
}

.sort ul li a,
.sort ul li>span {
	display: inline-block;
	border: 1px solid #747474;
	color: #747474;
	padding: 3px 12px;
	border-radius: 30px;
	text-decoration: none;
	transition: all 0.2s ease;
}

.sort ul li a span {
	color: inherit;
}

.sort ul li a:hover,
.sort ul li a:hover span {
	border-color: #ff0405;
	color: #ff0405;
	text-decoration: none;
}

/* Активный пункт сортировки — красным */
.sort ul li.active>span {
	border-color: #ff0405;
	color: #ff0405;
}

@media (max-width: 767px) {
	.sort-text {
		display: block;
		width: 100%;
		margin-bottom: 8px;
	}
}

/* ========== HEADER PHONE STYLES ========== */

.header-phone-block {
	display: flex;
	align-items: center;
	margin-bottom: 10px;
	justify-content: flex-end;
}

.header-phones {
	width: 80%;
}

.fixed-top .header-phones {
	width: 100%;
}

.header-phones .phone {
	display: block;
	font-size: 20px;
	margin-bottom: 10px;
	line-height: unset;
}

.header-phones .phone:last-child,
.header-phones .comagic_phone .phone {
	margin-bottom: 0;
}

.header-telegram {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
}

.telegram-icon {
	display: inline-block;
}

.telegram-icon img {
	display: block;
}

@media (max-width: 1220px) {
	.header-phones {
		width: 100%;
	}
}

@media (max-width: 991px) {
	.header-phones .phone {
		font-size: 16px;
	}

	.header-phone-block {
		gap: 10px;
	}
}

@media (max-width: 767px) {
	.header-phones {
		width: unset;
	}

	.header-phone-block {
		justify-content: flex-start;
	}

	.header-phones .phone {
		margin-bottom: 5px;
	}
}

ul.delivery-list {
	padding-left: 0px;
	margin: 5px 0;
}

ul.delivery-list.marker-list.small li {
	padding-left: 15px;
}

.detail-page__info ul.delivery-list li {
	margin-bottom: 5px;
}

ul.delivery-list.marker-list li:before {
	top: 1px;
	color: #000;
	font-size: 15px;
}

/* ========== FOOTER V2 STYLES ========== */

.footer-v2 {
	background: #2a2a2a;
	color: #b0b0b0;
	padding: 40px 0 30px;
}

.footer-v2__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
}

.footer-v2__col {
	min-width: 0;
}

.footer-v2__title {
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	margin-bottom: 20px;
	letter-spacing: 0.5px;
	position: relative;
	cursor: default;
}

.footer-v2__title:after {
	content: "";
	display: block;
	width: 50px;
	height: 2px;
	background-color: #e7110a;
	margin-top: 15px;
}

.footer-v2__menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-v2__menu li {
	margin-bottom: 10px;
}

.footer-v2__menu li:last-child {
	margin-bottom: 0;
}

.footer-v2__menu a {
	color: #b0b0b0;
	text-decoration: none;
	font-size: 14px;
	transition: color 0.2s ease;
}

.footer-v2__menu a:hover {
	color: #fff;
	text-decoration: underline;
}

/* Контакты */
.footer-v2__col--contacts {
	display: flex;
	flex-direction: column;
}

.footer-v2__contacts {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 20px;
}

.footer-v2__phone {
	color: #fff;
	text-decoration: none;
	font-size: 16px;
	font-weight: 500;
	transition: color 0.2s ease;
}

.footer-v2__phone:hover {
	color: #b0b0b0;
}

.footer-v2__telegram {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #fff;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	transition: color 0.2s ease;
}

.footer-v2__telegram:hover {
	color: #b0b0b0;
}

.footer-v2__telegram img {
	flex-shrink: 0;
}

.footer-v2__email {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
	font-size: 14px;
	font-weight: 500;
	transition: color 0.2s ease;
}

.footer-v2__email:hover {
	color: #b0b0b0;
}

.footer-v2__politics {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-top: auto;
}

.footer-v2__politics a {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
	font-size: 14px;
	font-weight: 500;
	transition: color 0.2s ease;
}

.footer-v2__politics a:hover {
	color: #b0b0b0;
}

/* Нижняя часть */
.footer-v2__bottom {
	margin-top: 40px;
	padding-top: 25px;
	border-top: 1px solid #444;
}

.footer-v2__disclaimer {
	color: #888;
	font-size: 12px;
	line-height: 1.6;
	margin: 0 0 20px;
}

.footer-v2__copyright {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 15px;
	font-size: 13px;
}

.footer-v2__copyright span {
	color: #b0b0b0;
	text-align: left;
}

.footer-v2__dev {
	color: #b0b0b0;
	text-decoration: none;
	transition: color 0.2s ease;
	text-align: center;
}

.footer-v2__dev:hover {
	color: #fff;
}

/* Адаптив */
@media (max-width: 991px) {
	.footer-v2__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 639px) {
	.footer-v2 {
		padding: 30px 0 20px;
	}

	.footer-v2__grid {
		grid-template-columns: 1fr;
		gap: 15px;
	}

	.footer-v2__title {
		margin-bottom: 15px;
		cursor: pointer;
	}

	.footer-v2__title:before {
		content: "";
		display: block;
		background-image: url(/bitrix/templates/medver2016/img/icons/menu-arrow-down.svg);
		background-repeat: no-repeat;
		background-size: 10px;
		background-position: center;
		width: 20px;
		height: 20px;
		float: right;
		cursor: pointer;
		transition: transform 0.3s ease;
	}

	.footer-v2__title.is-open:before {
		transform: rotate(180deg);
	}

	.footer-v2__menu,
	.footer-v2__contacts,
	.footer-v2__politics {
		display: none;
	}

	.footer-v2__col.is-open .footer-v2__menu,
	.footer-v2__col.is-open .footer-v2__contacts,
	.footer-v2__col.is-open .footer-v2__politics {
		display: flex;
	}

	.footer-v2__col.is-open .footer-v2__menu {
		display: block;
	}

	.footer-v2__copyright {
		flex-direction: column;
		grid-template-columns: 1fr;
		align-items: center;
		justify-items: center;
	}
}

.sale-link {
	display: block;
	margin-top: 20px;
}

.sale-link a {
	text-decoration: none !important;
}

/* ========== WISHLIST (ИЗБРАННОЕ) STYLES ========== */

/* Иконка избранного в шапке (десктоп) */
.header-wishlist {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
}

.header-wishlist__link {
	display: flex;
	align-items: center;
	text-decoration: none;
	position: relative;
}

.header-wishlist__icon {
	position: relative;
	display: inline-block;
	width: 32px;
	height: 32px;
}

.header-wishlist__icon img {
	width: 32px;
	height: 32px;
}

.header-wishlist__count {
	position: absolute;
	top: -8px;
	right: -8px;
	min-width: 20px;
	height: 20px;
	line-height: 20px;
	text-align: center;
	background-color: #ff0405;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	border-radius: 50%;
	padding: 0 4px;
}

.header-wishlist__count:empty,
.header-wishlist__count[data-count="0"] {
	display: none;
}

/* Мобильное избранное в шапке */
.header-wishlist--mobile {
	display: none;
}

@media (max-width: 767px) {
	.header-wishlist--mobile {
		display: block;
		position: absolute;
		right: 70px;
		top: 34%;
		transform: translateY(-50%);
	}

	.header-wishlist--mobile .header-wishlist__link {
		display: flex;
		flex-direction: column;
		align-items: center;
		text-decoration: none;
	}

	.header-wishlist--mobile .header-wishlist__icon {
		position: relative;
		display: block;
		width: auto;
		height: auto;
	}

	.header-wishlist--mobile .header-wishlist__icon img {
		width: 30px;
		height: 30px;
	}

	.header-wishlist--mobile .header-wishlist__count {
		position: absolute;
		top: -5px;
		right: -5px;
		background: #ff0405;
		color: #fff;
		font-size: 11px;
		font-weight: 600;
		min-width: 18px;
		height: 18px;
		line-height: 18px;
		text-align: center;
		border-radius: 50%;
		padding: 0;
		box-sizing: border-box;
	}

	.header-wishlist--mobile .header-wishlist__count:empty,
	.header-wishlist--mobile .header-wishlist__count[data-count="0"] {
		display: none;
	}
}

/* Кнопка избранного на детальной странице товара */
.wishlist-btn {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	background: rgba(255, 255, 255, 0.85);
	border-radius: 50%;
	text-decoration: none;
	transition: background 0.3s, transform 0.2s;
	cursor: pointer;
	border: none;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.wishlist-btn:hover {
	background: rgba(255, 255, 255, 1);
	transform: scale(1.1);
	text-decoration: none;
}

.wishlist-btn.in-wishlist {
	background: rgba(255, 255, 255, 1);
}

.wishlist-btn__icon {
	width: 30px;
	height: 30px;
	display: block;
}

/* Позиционируем detail-slider как relative для абсолютного позиционирования кнопки */
.detail-slider.detail-slider__vertical {
	position: relative;
}

/* Кнопка избранного в каталоге (список товаров) */
.wishlist-btn--catalog {
	width: 36px;
	height: 36px;
	top: 8px;
	left: 10px;
}

.wishlist-btn--catalog .wishlist-btn__icon {
	width: 22px;
	height: 22px;
}

.product-thumbnail-wrap {
	position: relative;
}

/* На мобилках сдвигаем лупу ниже, сердечко над ней */
@media (max-width: 767px) {
	.detail-slider .slick-track div a:after {
		top: 54px;
	}

	.wishlist-btn {
		top: 5px;
		right: 5px;
		width: 38px;
		height: 38px;
	}

	.wishlist-btn__icon {
		width: 24px;
		height: 24px;
	}
}

/* ========== WISHLIST PAGE STYLES ========== */

.wishlist-page {
	padding: 20px 0 40px;
}

.wishlist-page h1 {
	margin-bottom: 25px;
}

.wishlist-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 20px;
}

.wishlist-item {
	display: flex;
	flex-direction: column;
	border: 1px solid #eee;
	border-radius: 8px;
	background: #fff;
	overflow: hidden;
	transition: box-shadow 0.2s;
}

.wishlist-item:hover {
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.wishlist-item__image {
	height: 220px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f8f8f8;
	padding: 15px;
}

.wishlist-item__image a {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	width: 100%;
}

.wishlist-item__image img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.wishlist-item__content {
	padding: 15px;
	flex: 1;
}

.wishlist-item__name {
	margin-bottom: 8px;
}

.wishlist-item__name a {
	font-size: 15px;
	font-weight: 600;
	color: #333;
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.wishlist-item__name a:hover {
	color: #ff0405;
}

.wishlist-item__price {
	font-size: 16px;
	font-weight: 700;
	color: #333;
}

.wishlist-item__actions {
	padding: 0 15px 15px;
}

.wishlist-item__remove {
	background: none;
	border: 1px solid #ddd;
	border-radius: 6px;
	padding: 8px 16px;
	font-size: 13px;
	cursor: pointer;
	color: #999;
	width: 100%;
	transition: all 0.2s;
}

.wishlist-item__remove:hover {
	color: #ff0405;
	border-color: #ff0405;
}

@media (max-width: 576px) {
	.wishlist-list {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}

	.wishlist-item__image {
		height: 150px;
		padding: 10px;
	}

	.wishlist-item__content {
		padding: 10px;
	}

	.wishlist-item__name a {
		font-size: 13px;
	}

	.wishlist-item__price {
		font-size: 14px;
	}

	.wishlist-item__actions {
		padding: 0 10px 10px;
	}
}

/* ========== PORTFOLIO GALLERY TOGGLE ========== */

.portfolio-gallery-block {
	margin-bottom: 50px;
}

.portfolio-gallery-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 15px;
}

.portfolio-gallery-grid .img-grid-item {
	float: none;
	margin-right: 0;
	margin-bottom: 0;
}

.portfolio-gallery-grid--fixed-columns .img-grid-item {
	width: var(--portfolio-gallery-item-width) !important;
	height: auto !important;
	aspect-ratio: 1 / 1;
}

@media (max-width: 959px) {
	.portfolio-gallery-grid--fixed-columns .img-grid-item {
		width: calc(25% - 7.5px) !important;
	}
}

@media (max-width: 639px) {
	.portfolio-gallery-grid--fixed-columns .img-grid-item {
		width: calc(50% - 5px) !important;
	}
}

.portfolio-gallery-block:not(.is-expanded) .img-grid-item.is-hidden-initial {
	display: none;
}

.portfolio-gallery-toggle {
	display: block;
	text-align: center;
	color: #ff0405;
	font-family: FiraSans, sans-serif;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.6px;
}

.portfolio-gallery-toggle:hover,
.portfolio-gallery-toggle:focus {
	color: #303030;
	text-decoration: none;
}

.portfolio-video-block {
	margin-bottom: 50px;
}

.portfolio-video-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.portfolio-video-item {
	position: relative;
	padding-top: 56.25%;
	background: #000;
	overflow: hidden;
	height: 200px;
}

.portfolio-video-item iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

@media (max-width: 1199px) {
	.portfolio-video-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 639px) {
	.portfolio-video-grid {
		grid-template-columns: 1fr;
		gap: 15px;
	}
}

.fixed-top .header-row {
	justify-content: space-between;
}

.main-section .main-content-title {
	text-transform: none;
}

.grey-row-faq {
	position: relative;
	padding: 50px 0;
	margin: 30px 0;
	z-index: 0;
}

.grey-row-faq::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 99.4vw;
	left: calc((100vw - 100%) / -2);
	right: calc((100vw - 100%) / -2);
	background-color: #f3f3f3;
	z-index: -1;
}

/* CSS for New Product Card */

.product-card,
.ntabs,
.related-products {
	line-height: 1.2143;
}

.product-card {
	background-color: #f8f8f8;
	color: #222;
	padding: 30px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 1fr;
	align-items: start;
	column-gap: 30px;
	row-gap: 30px;
	margin-bottom: 30px;
}

.product-slider {
	background-color: #fff;
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
}

.product-slider__slide {
	scroll-snap-align: start;
	scroll-snap-stop: always;
	flex: 0 0 100%;
	aspect-ratio: 53 / 62;
	position: relative;
}

.product-slider__slide img {
	position: absolute;
	top: 50%;
	max-height: 98%;
	left: 50%;
	transform: translate(-50%, -50%);
	max-width: 90%;
}

.product-slider__slide>a::after {
	content: "";
	position: absolute;
	bottom: 15px;
	right: 15px;
	width: 36px;
	height: 36px;
	background-color: rgba(245, 145, 145, 0.3);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 18 18'%3E%3Cpath stroke='%23ff383c' stroke-width='1.5' d='M8.25 14.25a6 6 0 1 0 0-12 6 6 0 0 0 0 12ZM15.75 15.75l-3.26-3.26M8.25 6v4.5M6 8.25h4.5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 18px;
	border-radius: 50%;
}

.product-thumbnails {
	margin-top: 15px;
	display: flex;
	column-gap: 10px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
}

.product-thumbnails__slide {
	background-color: #fff;
	width: 68px;
	height: 80px;
	position: relative;
	flex-shrink: 0;
	border: 2px solid transparent;
	transition: border-color 0.3s linear;
}

.product-thumbnails__slide.active {
	border-color: #ff383c;
}

.product-thumbnails__slide img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	vertical-align: top;
}

.product-card-info {
	display: flex;
	flex-direction: column;
	row-gap: 20px;
}

.product-card__divider {
	border: none;
	height: 1px;
	background-color: #ddd;
	margin: 0;
}

.product-card__title {
	font-size: 24px;
	line-height: 1.25;
	font-weight: 700;
	margin: 0;
	text-transform: none;
}

.product-card__meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 15px;
	align-items: center;
	font-size: 14px;
}

.product-card__rating {
	display: flex;
	align-items: center;
	column-gap: 8px;
}

.rating__stars {
	display: flex;
	column-gap: 4px;
}

.rating__star {
	width: 14px;
	height: 14px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 14 14'%3E%3Cpath fill='%23ff8d28' stroke='%23ff8d28' stroke-linecap='round' stroke-linejoin='round' d='m7.49.81 1.59 3.21a.5.5 0 0 0 .4.3l3.52.52a.54.54 0 0 1 .3.93l-2.53 2.51a.5.5 0 0 0-.16.48l.6 3.53a.55.55 0 0 1-.8.58L7.27 11.2a.6.6 0 0 0-.52 0l-3.16 1.67a.55.55 0 0 1-.8-.58l.6-3.57a.5.5 0 0 0-.15-.48L.67 5.77A.54.54 0 0 1 1 4.84l3.5-.52a.5.5 0 0 0 .42-.3L6.5.82a.54.54 0 0 1 .98 0'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-size: contain;
}

.rating__value {
	font-weight: 700;
}



.product-card__status {
	color: #2a8a2a;
	display: flex;
	align-items: center;
	column-gap: 8px;
}

.product-card__status::before {
	content: "";
	display: inline-block;
	width: 8px;
	height: 8px;
	background-color: #2a8a2a;
	border-radius: 50%;
}

.product-card__status--outstock {
	color: #666;
}

.product-card__status--outstock::before {
	background-color: yellow;
}

.product-card__sku {
	color: #666666;
}

.product-card__sku--value {
	font-weight: 700;
}

.product-card__wishlist-btn {
	display: flex;
	column-gap: 8px;
	align-items: center;
	color: #666666;
	text-decoration: none;
}

.product-card__wishlist-btn,
.product-card__wishlist-btn:hover,
.product-card__wishlist-btn.in-wishlist {
	all: revert;
	position: static;
	display: flex;
	column-gap: 8px;
	align-items: center;
	color: #666666;
	text-decoration: none;
}



.product-card__wishlist-btn.in-wishlist path {
	fill: #ff383c;
	stroke: #ff383c;
}

.product-card__price-block {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 10px;
}

.product-card__price--current {
	font-size: 32px;
	font-weight: 700;
	color: #ff383c;
}

.product-card__price--old {
	font-size: 16px;
	color: #666;
	text-decoration: line-through;
}

.product-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
}

.product-card__btn {
	flex: 1 1 auto;
	display: flex;
	column-gap: 10px;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 8px 10px;
	font-size: 16px;
	font-weight: 600;
	border: 1px solid transparent;
	letter-spacing: 0.03em;
	cursor: pointer;
}

.product-card__btn::before {
	content: "";
	width: 20px;
	height: 20px;
	background-repeat: no-repeat;
	background-size: contain;
}

.product-card__btn--primary {
	background-color: #ff383c;
	color: #fff;
}

.product-card__btn--primary::before {
	background-image: url('../img/basket-2.svg');
}

.product-card__btn--secondary {
	background-color: #fff;
	border-color: #ddd;
}

.product-card__btn--secondary::before {
	background-image: url('../img/one-click.svg');
}

.product-card__options {
	display: flex;
	flex-direction: column;
	row-gap: 15px;
}

.option-group__title {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: #000000;
	margin-bottom: 8px;
}

.option-group__variants {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.option-group__item {
	padding: 6px 14px;
	font-size: 14px;
	border: 1px solid #ddd;
	border-radius: 2px;
	cursor: pointer;
	position: relative;
	min-height: 31px;
	display: flex;
	align-items: center;
}

.option-group__input {
	position: absolute;
	visibility: hidden;
	opacity: 0;
}

.option-group__item:has(:checked) {
	background-color: #ff383c;
	border-color: transparent;
	color: #fff;
}

.product-specs {
	background-color: #fff;
	border: 1px solid #ddd;
	border-radius: 2px;
	padding: 15px 20px;
	font-size: 14px;
}

.product-specs__link {
	display: inline-block;
	margin-top: 10px;
	color: #666;
	text-decoration: underline;
}

.product-specs__link:hover {
	text-decoration: none;
}

.specs {
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.specs__item {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	column-gap: 20px;
	padding-bottom: 6px;
	border-bottom: 1px dashed #ddd;
}

.specs__label {
	font-weight: 400;
	color: #666;
}

.specs__value {
	font-weight: 700;
}

.product-services {
	display: flex;
	flex-direction: column;
	row-gap: 5px;
	width: 100%;
}

.product-services__item {
	display: flex;
	column-gap: 10px;
	padding: 15px 10px 15px 7px;
	background-color: #fff;
	border-left: 3px solid #FF383C;
}

.product-services__item--accent-bg {
	background-color: #FFF8F0;
}

.product-services__icon {
	width: 20px;
	flex-shrink: 0;
}

.product-services__content {
	display: flex;
	flex-direction: column;
	row-gap: 10px;
	font-size: 14px;
}

.product-services__title {
	line-height: 1.3;
	font-weight: 600;
	color: #000000;
}

.product-services__highlight {
	font-weight: 400;
}

.product-services__text {
	color: #666666;
	margin-top: 0;
}

.product-services__text:last-child {
	margin-bottom: 0;
}

.product-services__info-text {
	margin: 0;
	line-height: 1.25;
}

.product-services__accent-text {
	color: #FF383C;
	font-size: 16px;
	font-weight: 700;
}


.product-customization {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	padding: 15px 30px;
	background-color: #fff;
	margin-top: -5px;
}

.product-customization__title {
	width: 84px;
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	flex-shrink: 0;
	text-wrap: balance;
}

.product-customization__list {
	color: #666;
	padding-left: 25px;
	margin: 0;
	font-size: 14px;
}

.ntabs {
	margin: 30px 0 50px;
}

.ntabs-controls {
	display: flex;
	flex-wrap: wrap;
	row-gap: 3px;
	margin-bottom: 20px;
	border-bottom: 1px solid #ddd;
}

.ntabs-controls__item {
	border-bottom: 3px solid transparent;
	color: #666;
	font-size: 14px;
	cursor: pointer;
	padding: 12px 20px;
}

.ntabs-controls__item.active {
	border-color: #FF383C;
	color: #222;
}

.ntabs-content__item {
	display: none;
	color: #222;
	font-size: 14px;
}

.ntabs-content__item>p,
.ntabs-content__item>ul,
.ntabs-content__item>ol {
	color: #666;
}

.ntabs-content__item> :first-child {
	margin-top: 0;
}

.ntabs-content__item> :last-child {
	margin-bottom: 0;
}

.ntabs-content__item.active {
	display: block;
}

.specs-table {
	width: 100%;
	border-collapse: collapse;
}

.specs-table tr:nth-child(2n+1) {
	background-color: #f8f8f8;
}

.specs-table th,
.specs-table td {
	padding: 8px 14px;
}

.specs-table th {
	color: #666;
	font-weight: 400;
	text-align: left;
}

.specs-table td {
	font-weight: 600;
}

.ntabs-content__item .h2 {
	font-size: 14px;
	font-weight: 500;
	margin-bottom: 15px;
	text-transform: uppercase;
}


.finishes-current {
	display: flex;
	flex-wrap: wrap;
	column-gap: 30px;
	row-gap: 20px;
	margin-bottom: 20px;
}

.finishes-current__item {
	display: flex;
	align-items: center;
	column-gap: 15px;
}

.finishes__image-wrapper {
	width: 100px;
}

.finishes__image {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	vertical-align: top;
}

.finishes__label {
	color: #666;
	font-size: 14px;
	margin-bottom: 5px;
}

.finishes__name {
	font-size: 14px;
	font-weight: 600;
	text-wrap: balance;
}

.finishes-variants {
	display: flex;
	flex-wrap: wrap;
	column-gap: 15px;
	row-gap: 20px;
	margin-bottom: 20px;
}

.finishes-variants__card {
	width: 150px;
	text-align: center;
}

.finishes-variants__card .finishes__image {
	margin-bottom: 15px;
}

.equipment-grid {
	column-count: 2;
	column-gap: 30px;
}

.equipment-grid__item {
	margin-bottom: 15px;
	display: flex;
	column-gap: 15px;
	align-items: center;
	break-inside: avoid-column;
}

.equipment-grid__image-wrapper {
	width: 72px;
	height: 72px;
	flex-shrink: 0;
}

.equipment-grid__image {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.equipment-grid__content {
	display: flex;
	flex-direction: column;
	row-gap: 5px;
}

.equipment-grid__title {
	color: #666;
	font-size: 14px;
}

.equipment-grid__description {
	font-size: 14px;
	font-weight: 600;
}

.delivery-payment {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	column-gap: 30px;
	row-gap: 15px;
	margin: 20px 0;
}

.delivery-payment--col-3 {
	grid-template-columns: repeat(3, 1fr);
}

.delivery-payment__item {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 17'%3E%3Cpath fill='%23ff383c' fill-rule='evenodd' d='M19.71.17c.33.26.39.75.12 1.08L7.53 16.63a.77.77 0 0 1-1.15.07L.23 10.54A.77.77 0 1 1 1.3 9.46L6.86 15 18.63.3a.77.77 0 0 1 1.08-.12' clip-rule='evenodd'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: 15px min(50%, 26px);
	background-size: 20px auto;
	display: flex;
	flex-direction: column;
	padding: 15px 0 15px 50px;
	border-left: 3px solid #FF383C;
	row-gap: 5px;
}

.delivery-payment__title {
	color: #666;
	font-size: 14px;
}

.delivery-payment__description {
	font-size: 14px;
	font-weight: 600;
}

.related-products {
	color: #222;
	margin-bottom: 50px;
}

.related-products h2 {
	font-size: 24px;
	font-weight: 700;
	line-height: 1.25;
	margin-bottom: 30px;
}

.related-slider:not(.slick-slider) {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - (3 * 15px)) / 4);
	column-gap: 15px;
	overflow-x: auto;
	position: relative;
}

.related-slider.slick-slider {
	margin-left: -7.5px;
	width: calc(100% + 15px);
}

.related-slider .slick-track {
	display: flex;
}

.related-slider .slick-track::before, .related-slider .slick-track::after {
	display: none;
}

.slider__nav-arrow {
	position: absolute;
	width: 45px;
	top: 50%;
	transform: translateY(-50%);
	height: 45px;
	border: 1px solid #ddd;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.65);
	z-index: 1;
}

.slider__nav-arrow:hover {
	border-color: #ff383c;
}

.slider__nav-arrow:hover path {
	fill: #ff383c;
}

.slider__nav-arrow--prev {
	left: 22px;
}

.slider__nav-arrow--next {
	right: 22px;
}

.related-item {
	height: unset;
	display: flex !important;
	flex-direction: column;
	row-gap: 10px;
	border: 1px solid #ddd;
	padding: 0 15px 15px;
	position: relative;
}

.related-item.slick-slide {
	margin: 0 7.5px;
}

.related-item__image-wrapper {
	width: 100%;
	aspect-ratio: 49 / 73;
	position: relative;
}

.related-item__image {
	position: absolute;
	top: 50%;
	max-height: 95%;
	left: 50%;
	transform: translate(-50%, -50%);
	max-width: 90%;
}

.related-item__title {
	font-size: 14px;
	font-weight: 600;
}

.related-item__title a {
	color: inherit;
	text-decoration: none;
}

.related-item__specs {
	display: flex;
	flex-direction: column;
	row-gap: 5px;
	flex-grow: 1;
}

.related-item__badge {
	color: #2A8A2A;
	font-size: 12px;
	display: flex;
	align-items: center;
	column-gap: 8px;
}

.related-item__badge::before {
	content: "";
	background-color: #2A8A2A;
	width: 8px;
	height: 8px;
	border-radius: 50px;
}

.related-item__badge--outstock {
	color: #ff383c;
}

.related-item__badge--outstock::before {
	background-color: #ff383c;
}

.related-item__spec-row {
	font-size: 12px;
	display: flex;
	column-gap: 15px;
	justify-content: space-between;
}

.related-item__spec-label {
	color: #666;
}

.related-item__spec-value {
	font-weight: 700;
}

.related-item__price-block {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.related-item__price-current {
	font-size: 18px;
	font-weight: 600;
}

.related-item__price-old {
	color: #666;
	font-size: 14px;
	font-weight: 300;
	text-decoration: line-through;
}

.related-item__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.related-item__btn-more,
.related-item__btn-cart {
	border-radius: 2px;
	font-size: 14px;
	min-height: 31px;
	padding: 6px 8px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.related-item__btn-more, .related-item__btn-more:hover {
	border: 1px solid #ddd;
	color: inherit;
	text-decoration: none;
}

.related-item__btn-cart {
	background-color: #ff383c;
	border: none;
	color: #fff;
	display: flex;
	column-gap: 6px;
	align-items: center;
	flex-grow: 1;
	cursor: pointer;
}

.related-item__btn-cart::before {
	content: "";
	width: 16px;
	height: 16px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.67' d='M13.33 8.33a3.33 3.33 0 0 1-6.66 0m-4.08-3.3H17.4'/%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.67' d='M2.83 4.56q-.32.44-.33 1v11.1a1.67 1.67 0 0 0 1.67 1.67h11.66a1.67 1.67 0 0 0 1.67-1.66V5.56q0-.56-.33-1L15.5 2.33a1.7 1.7 0 0 0-1.33-.66H5.83a1.7 1.7 0 0 0-1.33.66z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-size: contain;
}

.related-item__wishlist-btn,
.related-item__wishlist-btn:hover {
	all: revert;
	box-sizing: border-box;
	position: absolute;
	top: 5px;
	right: 5px;
	width: 32px;
	height: 32px;
	border: 1px solid #666;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 1;
}

.related-item__wishlist-btn.in-wishlist {
	border-color: #ff383c;
	;
}

.related-item__wishlist-btn.in-wishlist path {
	stroke: #ff383c;
}


@media screen and (max-width: 1199px) {
	.product-customization {
		flex-wrap: wrap;
		justify-content: revert;
		row-gap: 0;
	}

	.product-customization__title {
		width: 100%;
		margin-bottom: 15px;
	}

	.product-customization__list {
		flex: 1 1 auto;
	}

}

@media screen and (max-width: 991px) {
	.related-slider {
		grid-auto-columns: calc((100% - (2 * 15px)) / 3);
	}
}

@media screen and (max-width: 767px) {
	.product-card {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 20px;
		padding: 30px 20px;
	}

	.product-card-info {
		display: contents;
	}

	.product-card__title,
	.product-card__meta {
		order: -1;
	}

	.product-slider__slide {
		aspect-ratio: 1 / 1;
	}

	.equipment-grid {
		column-count: revert;
	}

	.delivery-payment {
		grid-template-columns: 1fr;
	}

	.related-slider {
		grid-auto-columns: calc((100% - 15px) / 2);
	}

	.related-item__image-wrapper {
		aspect-ratio: 1 / 1;
	}
}

@media screen and (max-width: 480px) {
	.related-slider {
		grid-auto-columns: 100%;
	}
}

/* CSS for New Product Card - END */
