/**
 * Shop page — layout + filters (product cards in components/product-card.css)
 */

body.nls-is-shop {
	background: var(--nls-white);
}

.shop-page {
	font-family: var(--shop-font-ui);
	color: var(--nls-ink);
	background: var(--nls-white);
}

/* ── Hero ── */
.shop-hero {
	position: relative;
	min-height: 650px;
	overflow: hidden;
	background-color: var(--nls-ink);
	background-image: var(--shop-hero-image);
	background-size: cover;
	background-position: center right;
	background-repeat: no-repeat;
	margin-top: -95px;
}

body.nls-is-shop:has(.nls-announcement-bar) .shop-hero {
	margin-top: calc(-1 * var(--nls-shop-header-pull, 7.5rem));
}

.shop-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(
		to right,
		rgba(45, 45, 45, 0.55) 0%,
		rgba(45, 45, 45, 0.1) 60%,
		transparent 100%
	);
	pointer-events: none;
}

.shop-hero__title {
	position: absolute;
	z-index: 2;
	bottom: 40px;
	left: 60px;
	margin: 0;
	font-family: var(--shop-font-logo);
	font-size: 58px;
	font-weight: 300;
	line-height: 1.05;
	color: #ffffff;
	letter-spacing: 0.02em;
}

/* ── Filter pills ── */
.shop-filters {
	background: var(--nls-white);
	padding: 16px 0;
	border-bottom: 1px solid var(--nls-border-light);
}

.shop-filters__track {
	display: flex;
	flex-wrap: nowrap;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	justify-content: space-between;
	max-width: 1440px;
	margin: 0 auto;
}

.shop-filters__track::-webkit-scrollbar {
	display: none;
}

.shop-filters__pill {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	appearance: none;
	border: 1.5px solid var(--nls-accent);
	border-radius: 50px;
	background: var(--nls-white);
	color: var(--nls-accent);
	padding: 8px 20px;
	font-family: var(--shop-font-ui);
	font-size: 13px;
	letter-spacing: 0.04em;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.25s ease;
}

.shop-filters__pill:hover:not(.is-active):not([data-active="true"]),
.shop-filters__pill:focus-visible:not(.is-active):not([data-active="true"]) {
	background: var(--nls-warm);
}

.shop-filters__pill.is-active,
.shop-filters__pill[data-active="true"] {
	background: var(--nls-accent);
	color: var(--nls-white);
}

/* ── Product grid ── */
.shop-grid {
	background: var(--nls-white);
	padding: 0 0 3rem;
}

.shop-grid.product-card-grid {
	max-width: 1440px;
	margin: 0 auto;
}

.shop-grid__empty {
	text-align: center;
	padding: 3rem 1.5rem;
	color: rgba(45, 45, 45, 0.55);
}

/* Shop-only load animation */
.shop-grid .product-card {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.5s ease, transform 0.5s ease;
}

.shop-grid .product-card.is-revealed {
	opacity: 1;
	transform: translateY(0);
}

.shop-grid .product-card.is-filter-fade {
	transform: translateY(0);
	transition: opacity 0.3s ease;
}

.shop-grid .product-card.is-hidden {
	display: none !important;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
	.shop-filters__track {
		justify-content: flex-start;
		padding: 0 clamp(1rem, 3vw, 2rem);
	}

	.shop-hero__title {
		left: clamp(1.5rem, 4vw, 2.5rem);
		font-size: clamp(2.5rem, 8vw, 58px);
	}
}

@media (max-width: 600px) {
	.shop-hero {
		min-height: 360px;
	}

	.shop-hero__title {
		bottom: 28px;
		font-size: 42px;
	}
}
