.epys-wc-related {
	margin: clamp(14px, 2vw, 26px) 0;
}

.epys-wc-related__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}

.epys-wc-related__title {
	margin: 0;
	color: #00a443;
	font-size: 3em;
	text-align: center;
	line-height: 1.08;
	font-weight: 700;
	font-family: 'Panton';
}

.epys-wc-related__nav {
	display: inline-flex;
	gap: 8px;
}

[type=button]:focus, [type=button]:hover, [type=submit]:focus, [type=submit]:hover, button:focus, button:hover{
	background: #fff!important;
    color: #2f3c4e!important;
}

input[type=date], input[type=email], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=url], select, textarea{
	padding: 1px!important;
}

.epys-wc-related__arrow {
	border: 1px solid #cfd4dc;
	background: #fff;
	color: #2f3c4e;
	width: 36px;
	height: 36px;
	border-radius: 8px;
	font-size: 24px;
	line-height: 1;
	padding: 0;
	cursor: pointer;
}

.epys-wc-related__arrow:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

.epys-wc-related__viewport {
	overflow: hidden;
}

.epys-wc-related__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 36px) / 3);
	gap: 18px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding-bottom: 2px;
}

.epys-wc-related__track::-webkit-scrollbar {
	height: 7px;
}

.epys-wc-related__slide {
	scroll-snap-align: start;
}

.epys-wc-related .epys-wc-catalog__card {
	background: transparent;
	border: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	height: 100%;
}

.epys-wc-related .epys-wc-catalog__card-media {
	width: 100%;
	max-width: 185px;
	aspect-ratio: 1 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto;
}

.epys-wc-related .epys-wc-catalog__card-media img,
.epys-wc-related .epys-wc-catalog__placeholder {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.epys-wc-related .epys-wc-catalog__placeholder {
	background: #d8dce3;
	border-radius: 50%;
}

.epys-wc-related .epys-wc-catalog__card-body {
	padding: 2px 0 0;
	width: 100%;
	max-width: 220px;
	display: flex;
	flex-direction: column;
	align-items: center;
	min-height: 122px;
}

.epys-wc-related .epys-wc-catalog__card-category {
	display: block;
	font-size: 10px;
	color: #afb5c1;
	line-height: 1.15;
	margin-bottom: 4px;
	min-height: 22px;
}

.epys-wc-related .epys-wc-catalog__card-title {
	margin: 0 0 6px;
	font-size: 20px;
	line-height: 1.2;
	font-weight: 700;
	text-transform: uppercase;
	min-height: calc(1.2em * 3);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

.epys-wc-related .epys-wc-catalog__card-title a {
	color: #058638;
	text-decoration: none;
	display: block;
}

.epys-wc-related .epys-wc-catalog__card-price {
	display: none;
}

.epys-wc-related .epys-wc-catalog__card-actions {
	margin-top: auto;
	min-height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.epys-wc-related .epys-wc-catalog__add,
.epys-wc-related .epys-wc-catalog__view,
.epys-wc-inline-quote__add {
	border: 0;
	border-radius: 999px;
	background: #f0dd2e;
	color: #5d5e20;
	font-size: 14px;
	font-weight: 700;
	height: 40px;
	padding: 0 22px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
}

.epys-wc-related .epys-wc-catalog__add:hover,
.epys-wc-related .epys-wc-catalog__view:hover,
.epys-wc-inline-quote__add:hover {
	background: #e4cf15!important;
	color: #2f3c4e!important;
}

.epys-wc-inline-quote {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}

.epys-wc-inline-quote__add:hover{
	background: #f0dd2e!important;
	color: #00a443!important;
}

.epys-wc-inline-quote__qty {
	display: inline-grid;
	grid-template-columns: 46px 46px 46px;
	border: 1px solid #8c9097;
	background: #f7f7f7;
}

.epys-wc-inline-quote__qty-btn {
	border: 0;
	background: #f2f2f2;
	color: #41444b;
	font-size: 28px;
	font-weight: 600;
	height: 46px;
	padding: 0;
	cursor: pointer;
}

.epys-wc-inline-quote__qty-input {
	border: 0;
	border-left: 1px solid #8c9097;
	border-right: 1px solid #8c9097;
	background: #fff;
	text-align: center;
	font-size: 28px;
	font-weight: 700;
	color: #666;
	height: 46px;
	padding: 0;
	appearance: textfield;
	-webkit-appearance: none;
	-moz-appearance: textfield;
}

.epys-wc-inline-quote__qty-input::-webkit-outer-spin-button,
.epys-wc-inline-quote__qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.epys-wc-inline-quote__add {
	height: 46px;
	padding: 0 26px;
	font-size: 31px;
	font-weight: 700;
	letter-spacing: 1.2px;
	color: #00a443;
}

.epys-wc-inline-quote__add:disabled {
	opacity: 0.6;
	cursor: wait;
}

.epys-wc-toast {
	position: fixed;
	right: 20px;
	bottom: 20px;
	width: min(420px, calc(100vw - 24px));
	background: #fff;
	border: 1px solid #d4d8df;
	border-radius: 14px;
	padding: 14px 14px 12px;
	box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
	z-index: 10000;
	opacity: 0;
	transform: translateY(14px);
	pointer-events: none;
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.epys-wc-toast.is-visible {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.epys-wc-toast__close {
	position: absolute;
	top: 8px;
	right: 8px;
	border: 0;
	background: transparent;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
}

.epys-wc-toast__title {
	margin: 0 0 12px;
	padding-right: 20px;
	font-size: 16px;
	color: #283548;
	font-weight: 700;
}

.epys-wc-toast__actions {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.epys-wc-toast__view,
.epys-wc-toast__continue {
	border: 0;
	border-radius: 7px;
	height: 38px;
	width: 100%;
	padding: 0 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}

.epys-wc-toast__view {
	background: #00a443;
	color: #fff;
}

.epys-wc-toast__continue {
	background: #f0dd2e;
	color: #5d5e20;
}

.epys-wc-toast__view:hover {
	background: #00a443!important;
	color: #fff!important;
}

.epys-wc-toast__continue:hover {
	background: #f0dd2e!important;
	color: #5d5e20!important;
}


@media (max-width: 1024px) {
	.epys-wc-related__track {
		grid-auto-columns: calc((100% - 18px) / 2);
	}
}

@media (max-width: 767px) {
	.epys-wc-related__track {
		grid-auto-columns: 100%;
	}

	.epys-wc-inline-quote__add {
		font-size: 20px;
		letter-spacing: 0.6px;
	}
}
