/* NaqshPosh color finder */
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.np-color-finder {
	padding: 34px 0 54px;
	background: #fff;
}

.np-color-finder__head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: 24px;
	margin-bottom: 22px;
}

.np-color-finder__title {
	margin: 0 0 .35em;
	font-family: var(--np-font-display);
	font-size: clamp(1.8rem, 3vw, 2.6rem);
	font-style: italic;
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: .005em;
	color: var(--np-text);
}

.np-color-finder__filters {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	min-width: 0;
}

.np-color-finder__all,
.np-color-finder__label {
	font-size: 10px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.np-color-finder__all {
	color: var(--np-text);
	white-space: nowrap;
}

.np-color-finder__all:hover,
.np-color-finder__all.is-active {
	color: var(--np-accent);
}

.np-color-finder__label {
	color: var(--np-text-mute);
	white-space: nowrap;
}

.np-color-finder__swatches {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.np-color-chip {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	flex: 0 0 22px;
	width: 22px !important;
	min-width: 22px;
	height: 22px !important;
	min-height: 22px;
	padding: 4px !important;
	background: transparent;
	border: 1px solid transparent;
	border-radius: 50%;
	box-shadow: none;
	color: var(--np-text);
	overflow: hidden;
	transition: border-color .22s var(--np-ease), transform .22s var(--np-ease);
}

.np-color-chip:hover,
.np-color-chip.is-active {
	background: transparent;
	border-color: var(--np-text);
	box-shadow: none;
	transform: translateY(-1px);
}

.np-color-chip__swatch,
.np-color-filter-bar__swatch {
	display: block;
	background: var(--np-color-swatch);
	border: 1px solid var(--np-color-swatch-border);
}

.np-color-chip__swatch {
	flex: 0 0 12px !important;
	width: 12px !important;
	min-width: 12px;
	height: 12px !important;
	min-height: 12px;
	border-radius: 50%;
}

.np-color-finder__shop {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	justify-self: end;
	gap: 10px;
	color: var(--np-text);
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: .08em;
	white-space: nowrap;
}

.np-color-finder__shop .np-icon {
	width: 17px;
	height: 17px;
	transition: transform .25s var(--np-ease);
}

.np-color-finder__shop:hover {
	color: var(--np-accent);
}

.np-color-finder__shop:hover .np-icon {
	transform: translateX(4px);
}

.np-color-products {
	position: relative;
	margin-top: 0;
}

.np-color-products__body {
	transition: opacity .25s var(--np-ease);
}

.np-color-products.is-loading .np-color-products__body {
	opacity: .45;
	pointer-events: none;
}

.np-color-products__viewport {
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.np-color-products__viewport::-webkit-scrollbar {
	display: none;
}

.np-color-products__rail {
	display: flex;
	gap: 20px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.np-color-product-card {
	flex: 0 0 calc((100% - 80px) / 5);
	min-width: 0;
	list-style: none;
	scroll-snap-align: start;
}

.np-color-product-card__media {
	position: relative;
	display: block;
	aspect-ratio: 3 / 4;
	width: 100%;
	overflow: hidden;
	background: var(--np-surface);
	color: #fff;
}

.np-color-product-card__media img {
	position: absolute !important;
	inset: 0 !important;
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	object-fit: cover !important;
	transition: transform .55s var(--np-ease);
}

.np-color-product-card__media:hover img {
	transform: scale(1.035);
}

.np-color-product-card__body {
	padding: 15px 0 0;
	text-align: left;
}

.np-color-product-card__title {
	margin: 0 0 10px;
	font-family: var(--np-font-body);
	font-size: 16px;
	font-style: normal;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: 0;
	color: var(--np-text);
}

.np-color-product-card__title a {
	color: var(--np-text);
}

.np-color-product-card__title a:hover {
	color: var(--np-accent);
}

.np-color-product-card__home-prices {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 5px;
	margin-top: 2px;
}

.np-color-product-card__home-price {
	display: flex;
	align-items: baseline;
	gap: 7px;
	max-width: 100%;
	color: var(--np-text-mute);
	font-size: 12px;
	font-weight: 400;
	line-height: 1.35;
	letter-spacing: .01em;
	white-space: nowrap;
}

.np-color-product-card__home-price strong {
	color: var(--np-accent);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0;
}

.np-color-product-card__badge {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	height: 20px;
	padding: 0 8px;
	background: var(--np-accent);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: .16em;
	text-transform: uppercase;
}

.np-color-product-card__price {
	margin-top: 0;
	color: var(--np-text);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: 0;
}

.np-color-product-card__price del {
	display: none;
}

.np-color-product-card__price ins {
	background: transparent;
	color: var(--np-text);
	text-decoration: none;
}

.np-color-products__nav {
	position: absolute;
	top: 43%;
	z-index: 4;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 35px;
	height: 35px;
	background: var(--np-accent);
	color: #fff;
	border-radius: 4px;
	box-shadow: 0 8px 20px rgba(224, 47, 103, .24);
	transform: translateY(-50%);
	transition: background .22s var(--np-ease), transform .22s var(--np-ease);
}

.np-color-products__nav:hover {
	background: var(--np-accent);
	color: #fff;
	transform: translateY(-50%) scale(1.04);
}

.np-color-products__nav .np-icon {
	width: 16px;
	height: 16px;
}

.np-color-products__nav--prev {
	left: 10px;
}

.np-color-products__nav--next {
	right: 10px;
}

.np-color-products__empty {
	margin: 0;
	padding: 28px;
	background: #fff;
	border: 1px solid var(--np-line);
	border-radius: var(--np-radius);
	color: var(--np-text-mute);
	text-align: center;
}

@media (max-width: 1200px) {
	.np-color-product-card { flex-basis: calc((100% - 60px) / 4); }
}

@media (max-width: 800px) {
	.np-color-finder { padding: 28px 0 46px; }
	.np-color-finder__head {
		grid-template-columns: 1fr;
		align-items: flex-start;
		gap: 16px;
	}
	.np-color-finder__filters { justify-content: flex-start; flex-wrap: wrap; gap: 12px 16px; }
	.np-color-finder__shop { justify-self: start; }
	.np-color-product-card { flex-basis: calc((100% - 40px) / 3); }
}

@media (max-width: 520px) {
	.np-color-finder__filters { gap: 12px; }
	.np-color-finder__swatches { gap: 8px; }
	.np-color-products__rail { gap: 14px; }
	.np-color-product-card { flex-basis: calc((100% - 14px) / 2); }
	.np-color-product-card__body { padding-top: 13px; }
	.np-color-product-card__title { margin-bottom: 9px; font-size: 15px; }
	.np-color-product-card__home-price { gap: 6px; font-size: 11px; }
	.np-color-product-card__home-price strong { font-size: 12px; }
	.np-color-products__nav { width: 32px; height: 32px; }
	.np-color-products__nav--prev { left: 6px; }
	.np-color-products__nav--next { right: 6px; }
}
