/* ===== Products ===== */
#products {
	background: var(--color-white);
}

.products__carousel {
	margin-top: 40px;

	@media (max-width: 767px) {
		margin-top: 20px;
	}
}

.products__slider {
	display: flex;
	align-items: stretch;
	gap: 8px;
}

.products__nav-btn {
	flex-shrink: 0;
	align-self: stretch;
	width: 44px;
	padding: 0;
	border: 1px solid var(--color-gray-light);
	border-radius: 4px;
	background: var(--color-white);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: border-color 0.3s ease-in-out;

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

	&:hover {
		border-color: var(--color-gray);
	}
}

.products__nav-btn__icon {
	display: block;
	width: 10px;
	height: 10px;
	border-right: 2px solid var(--color-black);
	border-bottom: 2px solid var(--color-black);
}

.products__nav-btn--prev .products__nav-btn__icon {
	transform: rotate(135deg);
	margin-left: 4px;
}

.products__nav-btn--next .products__nav-btn__icon {
	transform: rotate(-45deg);
	margin-right: 4px;
}

.products__swiper {
	flex: 1;
	min-width: 0;
	overflow: hidden;
}

.products__swiper .swiper-slide {
	width: calc((100% - 60px) / 4);
	height: auto;
	display: flex;

	@media (max-width: 1200px) {
		width: calc((100% - 20px) / 2);
	}

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

.products__swiper .product-card {
	width: 100%;
}

.products__pagination {
	display: flex;
	gap: 8px;
	justify-content: center;
	margin-top: 20px;
}

.products__pagination-bullet {
	width: 16px;
	height: 4px;
	padding: 0;
	border: none;
	border-radius: 100px;
	background: var(--color-gray-light);
	cursor: pointer;
	transition: width 0.2s ease, background 0.2s ease;
}

.products__pagination-bullet.is-active {
	width: 32px;
	background: var(--color-orange);
}

.products__button-wrap {
	display: flex;
	justify-content: center;
	margin-top: 32px;
}

/* ===== Product card ===== */
.product-card {
	border: 1px solid var(--color-gray-light);
	border-radius: 4px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.product-card__img-wrap {
	position: relative;
	height: 264px;
	overflow: hidden;
	flex-shrink: 0;
	padding: 16px 16px 0;

	@media (max-width: 1200px) {
		height: 240px;
	}

	@media (max-width: 767px) {
		height: 220px;
	}
}

.product-card__img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.product-card__badge {
	position: absolute;
	top: 12px;
	right: 12px;
	/* background: var(--color-black); */
	color: var(--color-black);
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 600;
	line-height: 14px;
	padding: 4px 8px;
	border-radius: 2px;
}

.product-card__link {
	display: flex;
	flex-direction: column;
	flex: 1;
	color: inherit;
	text-decoration: none;
	cursor: pointer;
}

.product-card__link:hover .product-card__name {
	color: var(--color-orange);
}

.product-card__link:focus-visible {
	outline: 2px solid var(--color-orange);
	outline-offset: 2px;
}

.product-card__info {
	padding: 16px 16px 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
	flex: 1;
}

.product-card__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.product-card__name {
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 15px;
	line-height: 24px;
	color: var(--color-black);
}

.product-card__price {
	font-family: var(--font-body);

	font-size: 22px;
	font-style: normal;
	font-weight: 600;
	line-height: 145.455%;

	span {
		font-size: 15px;
		font-weight: 400;
		line-height: 160%;
	}
}

.product-card__meta {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.product-card__size {
	font-family: var(--font-body);
	font-size: 14px;
	line-height: 20px;
	color: var(--color-gray);
}

.product-card__desc {
	font-family: var(--font-body);
	font-size: 14px;
	line-height: 20px;
	color: var(--color-gray);
}

.product-card__actions {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 12px 16px 16px;
	margin-top: auto;
}
