.npapw-shop-color-menu {
	position: sticky;
	top: 0;
	z-index: 998;
	border-bottom: 1px solid rgba( 0, 0, 0, 0.06 );
	background-color: #ffffff;
}

@media ( max-width: 767px ) {
	.npapw-shop-color-menu {
		position: static;
		top: auto;
		z-index: auto;
	}
}

.site-main.npapw-container.npapw-shop-main {
	padding-inline: 25px;
}

.npapw-shop-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
	margin: 28px 0;
}

.npapw-shop-archive .site-content {
	padding-top: 0;
}

.npapw-shop-archive .npapw-shop-top {
	margin-top: 0;
}

.npapw-shop-top__breadcrumb .woocommerce-breadcrumb {
	margin: 0;
	font-size: 0.95rem;
	color: var( --npapw-color-muted );
}

.npapw-shop-top__breadcrumb .woocommerce-breadcrumb a {
	color: var( --npapw-color-primary );
	text-decoration: none;
}

.npapw-shop-top__breadcrumb .woocommerce-breadcrumb a:hover {
	color: var( --npapw-color-primary-hover );
}

.npapw-products {
	display: grid;
	grid-template-columns: repeat( 4, 1fr );
	gap: 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.npapw-product-card {
	display: flex;
	background-color: #ffffff;
	border: 1px solid rgba( 0, 0, 0, 0.08 );
	border-radius: 10px;
	overflow: hidden;
}

.npapw-product-card--empty {
	padding: 30px;
	justify-content: center;
	color: var( --npapw-color-muted );
}

.npapw-product-card__link {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.npapw-product-card__media {
	position: relative;
	height: 280px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background-color: #ffffff;
}

.npapw-product-card__media img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	object-position: center center;
	transition: transform 0.4s ease;
}

.npapw-product-card:hover .npapw-product-card__media img {
	transform: scale( 1.04 );
}

.npapw-product-card__eye {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: rgba( 0, 0, 0, 0.25 );
	opacity: 0;
	transition: opacity 0.3s ease;
}

.npapw-product-card:hover .npapw-product-card__eye {
	opacity: 1;
}

.npapw-product-card__eye svg {
	filter: drop-shadow( 0 2px 6px rgba( 0, 0, 0, 0.4 ) );
}

.npapw-product-card__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 18px;
	flex: 1;
}

.npapw-product-card__title {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	color: var( --npapw-color-heading );
}

.npapw-product-card__desc {
	margin: 0;
	font-size: 14px;
	font-weight: 400;
	color: var( --npapw-color-text );
	flex: 1;
}

.npapw-load-more-wrap {
	display: flex;
	justify-content: center;
	margin: 44px 0;
}

.npapw-load-more {
	padding: 14px 38px;
	background-color: var( --npapw-color-primary );
	color: #ffffff;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	border: 0;
	border-radius: var( --npapw-radius );
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.npapw-load-more:hover {
	background-color: var( --npapw-color-primary-hover );
}

.npapw-load-more:disabled {
	opacity: 0.6;
	cursor: default;
}

@media ( max-width: 1100px ) {
	.npapw-products {
		grid-template-columns: repeat( 3, 1fr );
	}
}

@media ( max-width: 900px ) {
	.npapw-products {
		grid-template-columns: repeat( 2, 1fr );
	}
}

@media ( max-width: 1200px ) {
	.npapw-product-card__media {
		height: 250px;
	}
}

@media ( max-width: 560px ) {
	.npapw-products {
		grid-template-columns: 1fr;
	}

	.npapw-product-card__media {
		height: 240px;
	}
}

.npapw-carousel {
	position: relative;
}

.npapw-carousel__viewport {
	overflow: hidden;
	cursor: grab;
	touch-action: pan-y;
	user-select: none;
}

.npapw-carousel__viewport.is-dragging {
	cursor: grabbing;
}

.npapw-carousel__viewport.is-dragging a {
	pointer-events: none;
}

.npapw-products--carousel {
	display: flex;
	flex-wrap: nowrap;
	gap: 28px;
}

.npapw-products--carousel .npapw-product-card {
	flex: 0 0 calc( ( 100% - 84px ) / 4 );
	box-sizing: border-box;
	min-width: 0;
}

.npapw-carousel__arrow {
	position: absolute;
	top: 50%;
	z-index: 5;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	padding: 0;
	background-color: var( --npapw-color-primary );
	color: #ffffff;
	font-size: 18px;
	line-height: 1;
	border: 0;
	border-radius: 50%;
	box-shadow: 0 4px 14px rgba( 0, 0, 0, 0.18 );
	cursor: pointer;
	transform: translateY( -50% );
	transition: background-color 0.2s ease;
}

.npapw-carousel__arrow:hover {
	background-color: var( --npapw-color-primary-hover );
}

.npapw-carousel__arrow--prev {
	left: 6px;
}

.npapw-carousel__arrow--next {
	right: 6px;
}

@media ( max-width: 1100px ) {
	.npapw-products--carousel .npapw-product-card {
		flex-basis: calc( ( 100% - 56px ) / 3 );
	}
}

@media ( max-width: 900px ) {
	.npapw-products--carousel .npapw-product-card {
		flex-basis: calc( ( 100% - 28px ) / 2 );
	}
}

@media ( max-width: 560px ) {
	.npapw-products--carousel .npapw-product-card {
		flex-basis: 100%;
	}

	.npapw-carousel__arrow {
		width: 38px;
		height: 38px;
	}
}