.best-sellers-series,
.best-sellers-series * {
	box-sizing: border-box;
}

.best-sellers-series {
	--bss-navy: #172139;
	--bss-green: #34bd4d;
	width: 100%;
	padding: 50px 0 120px;
	background: #fff;
	color: var(--bss-navy);
}

.best-sellers-series [hidden] {
	display: none !important;
}

.bss__inner {
	width: min(100% - 60px, 1180px);
	margin: 0 auto;
}

.bss__heading {
	margin: 0 0 40px;
	color: var(--bss-navy);
	font-size: 36px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
}

.bss__carousel {
	position: relative;
	width: 100%;
	max-width: 840px;
	margin: 0 auto;
}

.bss__track {
	display: grid;
	grid-template-columns: repeat(auto-fit, 264px);
	align-items: stretch;
	justify-content: center;
	gap: 24px;
}

.bss__card {
	display: flex;
	min-width: 0;
	min-height: 468px;
	flex-direction: column;
	padding: 15px;
	border: 1px solid #e7e7e7;
	border-radius: 3px;
	background: #fff;
	color: var(--bss-navy);
}

.bss__image {
	display: flex;
	width: 100%;
	aspect-ratio: 1 / 1;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: #f7f7f7;
	text-decoration: none;
}

.bss__image img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	object-fit: contain;
}

.bss__product-meta {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 8px;
	margin: 10px 0 14px;
}

.bss__product-name {
	min-width: 0;
	color: var(--bss-navy);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.12;
	text-decoration: none;
}

.bss__product-name:hover {
	text-decoration: underline;
}

.bss__price {
	flex: 0 0 auto;
	color: var(--bss-green);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.15;
	text-align: right;
}

.bss__price del {
	color: #818795;
	font-size: 11px;
	font-weight: 400;
}

.bss__price ins {
	color: var(--bss-green);
	text-decoration: none;
}

.bss__cart-form {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: auto 0 0;
}

.bss__cart-form--variable {
	gap: 12px;
}

.bss__option-list {
	display: flex;
	flex: 0 0 auto;
	flex-wrap: wrap;
	align-content: flex-start;
	align-items: flex-start;
	gap: 12px 16px;
	max-height: none;
	overflow: visible;
}

.bss__attribute {
	display: flex;
	min-width: 0;
	flex: 0 1 auto;
	flex-direction: column;
	gap: 8px;
	color: var(--bss-green);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .11em;
	line-height: 1.2;
	text-transform: uppercase;
}

.bss__attribute select {
	width: min(100%, 185px);
	min-height: 38px;
	padding: 7px 28px 7px 10px;
	border: 2px solid var(--bss-green);
	border-radius: 4px;
	background-color: #fff;
	color: var(--bss-navy);
	font: inherit;
	font-size: 11px;
	letter-spacing: .07em;
	text-transform: uppercase;
}

.bss__button:disabled {
	border-color: #aeb5b9;
	background: #aeb5b9;
	color: #fff;
	cursor: not-allowed;
}

.bss__button {
	display: inline-flex;
	width: min(100%, 140px);
	min-height: 39px;
	align-items: center;
	justify-content: center;
	align-self: center;
	margin-top: 12px;
	margin-bottom: -15px;
	padding: 10px 16px;
	border: 0;
	border-radius: 3px;
	background: var(--bss-green);
	color: #fff;
	font: inherit;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .11em;
	line-height: 1.1;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
	transform: translateY(15px);
}

.bss__button:hover {
	background: #259d3a;
	color: #fff;
}

.bss__empty {
	max-width: 840px;
	margin: 0 auto;
	padding: 36px 20px;
	border: 1px dashed #d9dde2;
	color: #6f7782;
	font-size: 15px;
	text-align: center;
}

.bss__arrow,
.bss__dots {
	display: none;
}

.best-sellers-series button:focus-visible,
.best-sellers-series a:focus-visible,
.best-sellers-series select:focus-visible {
	outline: 3px solid #87ed9b;
	outline-offset: 3px;
}

@media (max-width: 767px) {
	.best-sellers-series {
		padding: 8px 0 60px;
	}

	.bss__inner {
		width: calc(100% - 60px);
	}

	.bss__heading {
		margin-bottom: 28px;
		font-size: 36px;
	}

	.bss__track {
		display: flex;
		gap: 16px;
		overflow-x: auto;
		scroll-behavior: smooth;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		overscroll-behavior-x: contain;
	}

	.bss__track::-webkit-scrollbar {
		display: none;
	}

	.bss__track .bss__card {
		width: 100%;
		min-width: 100%;
		min-height: 608px;
		flex: 0 0 100%;
		padding: 20px;
		scroll-snap-align: start;
	}

	.bss__button {
		transform: translateY(20px);
	}

	.bss__arrow {
		position: absolute;
		z-index: 2;
		top: 54%;
		display: inline-flex;
		width: 32px;
		min-width: 32px;
		height: 36px;
		min-height: 36px;
		align-items: center;
		justify-content: center;
		padding: 0;
		border: 0;
		background: transparent;
		color: var(--bss-green);
		font-family: inherit;
		font-size: 36px;
		line-height: 1;
		cursor: pointer;
		transform: translateY(-50%);
	}

	.bss__arrow--prev {
		left: -17px;
	}

	.bss__arrow--next {
		right: -17px;
	}

	.bss__dots {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 0;
		margin: 9px 0 20px;
	}

	.bss__dot {
		position: relative;
		display: inline-flex;
		width: 24px;
		min-width: 24px;
		height: 24px;
		min-height: 24px;
		flex: 0 0 24px;
		align-items: center;
		justify-content: center;
		padding: 0;
		border: 0;
		border-radius: 0;
		background: transparent;
		box-shadow: none;
		font-size: 0;
		line-height: 0;
		appearance: none;
		cursor: pointer;
	}

	.bss__dot::before {
		display: block;
		width: 8px;
		height: 8px;
		border-radius: 50%;
		background: var(--bss-navy);
		content: '';
	}

	.bss__dot.is-active::before {
		background: var(--bss-green);
	}
}

@media (prefers-reduced-motion: reduce) {
	.best-sellers-series *,
	.best-sellers-series *::before,
	.best-sellers-series *::after {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
	}
}
