/**
 * Merch shop — luxury editorial catalog (Kate brand system).
 */

.site-main--merch {
	background: var(--cream);
	color: var(--ink);
}

/* ========== SHARED ========== */
.kc-merch-section-head {
	margin-bottom: clamp(32px, 4vw, 48px);
}

.kc-merch-section-head__kicker {
	display: block;
	margin-bottom: 10px;
	font-size: 10px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--green);
}

.kc-merch-section-title {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(34px, 4.8vw, 52px);
	font-weight: 600;
	color: var(--navy);
	letter-spacing: -0.02em;
	line-height: 1.08;
}

.kc-merch-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 15px 28px;
	font-family: var(--font-ui);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	border: 1px solid transparent;
	transition: var(--transition);
}

.kc-merch-btn--solid {
	background: var(--navy);
	color: var(--cream);
	border-color: var(--navy);
}

.kc-merch-btn--solid:hover {
	background: var(--green);
	border-color: var(--green);
}

.kc-merch-btn--ghost {
	background: transparent;
	color: var(--navy);
	border-color: rgba(27, 51, 80, 0.25);
}

.kc-merch-btn--ghost:hover {
	border-color: var(--pink);
	color: var(--green);
	background: rgba(227, 175, 188, 0.15);
}

.kc-merch-btn--outline {
	background: transparent;
	color: var(--navy);
	border-color: var(--navy);
}

.kc-merch-btn--outline:hover {
	background: var(--navy);
	color: var(--cream);
}

/* ========== HERO ========== */
.kc-merch-hero {
	position: relative;
	padding: calc(var(--header-height) + 56px) 0 88px;
	background: var(--cream);
	overflow: hidden;
}

.kc-merch-hero__line {
	position: absolute;
	top: calc(var(--header-height) + 24px);
	left: clamp(20px, 5vw, 48px);
	right: clamp(20px, 5vw, 48px);
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(214, 188, 94, 0.55), transparent);
}

.kc-merch-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
	gap: clamp(40px, 6vw, 88px);
	align-items: center;
}

.kc-merch-hero__eyebrow {
	margin: 0 0 16px;
	font-size: 10px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: rgba(45, 74, 56, 0.75);
}

.kc-merch-hero__title {
	margin: 0 0 8px;
	font-family: var(--font-display);
	font-size: clamp(48px, 7vw, 82px);
	font-weight: 600;
	line-height: 1.02;
	color: var(--navy);
}

.kc-merch-hero__script {
	margin: 0 0 24px;
	font-size: clamp(26px, 3.5vw, 36px);
	color: var(--pink);
}

.kc-merch-hero__lede {
	margin: 0 0 36px;
	max-width: 42ch;
	font-size: 16px;
	line-height: 1.75;
	color: rgba(35, 40, 31, 0.72);
}

.kc-merch-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.kc-merch-hero__visual {
	position: relative;
}

.kc-merch-hero__frame {
	position: relative;
	overflow: hidden;
	background: var(--cream-3);
	border: 1px solid rgba(27, 51, 80, 0.08);
	box-shadow: 0 24px 64px rgba(27, 51, 80, 0.1);
	aspect-ratio: 4 / 5;
	max-height: min(80vh, 760px);
}

.kc-merch-hero__frame::after {
	content: '';
	position: absolute;
	inset: 0;
	border: 1px solid rgba(255, 255, 255, 0.35);
	pointer-events: none;
	margin: 12px;
}

.kc-merch-hero__frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 20%;
}

.kc-merch-hero__caption {
	position: absolute;
	bottom: 24px;
	left: 24px;
	padding: 8px 14px;
	font-size: 9px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	background: rgba(255, 255, 255, 0.92);
	color: var(--navy);
	border: 1px solid rgba(27, 51, 80, 0.12);
}

/* ========== SPLIT BANNER ========== */
.kc-merch-split {
	padding: 0 0 clamp(72px, 10vw, 120px);
}

.kc-merch-split__panels {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: clamp(440px, 50vh, 580px);
	overflow: hidden;
	border: 1px solid rgba(27, 51, 80, 0.1);
}

.kc-merch-split__panel {
	position: relative;
	overflow: hidden;
}

.kc-merch-split__panel img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.2s ease;
}

.kc-merch-split__panel:hover img {
	transform: scale(1.04);
}

.kc-merch-split__panel::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(27, 51, 80, 0.15) 0%, rgba(27, 51, 80, 0.55) 100%);
}

.kc-merch-split__list {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 12px;
	font-size: 10px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.9);
}

.kc-merch-split__list--left {
	left: clamp(24px, 4vw, 52px);
}

.kc-merch-split__list--right {
	right: clamp(24px, 4vw, 52px);
	text-align: right;
	align-items: flex-end;
}

.kc-merch-split__center {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 3;
	text-align: center;
	padding: 28px 36px;
	background: rgba(255, 255, 255, 0.94);
	border: 1px solid rgba(214, 188, 94, 0.45);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
	min-width: min(280px, 80vw);
}

.kc-merch-split__headline {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(22px, 3vw, 32px);
	font-weight: 600;
	color: var(--navy);
}

.kc-merch-split__year {
	display: block;
	margin-top: 8px;
	font-size: 10px;
	letter-spacing: 0.22em;
	color: var(--green);
}

/* ========== FEATURED ========== */
.kc-merch-featured {
	padding: clamp(64px, 8vw, 100px) 0;
	background: var(--cream-2);
}

.kc-merch-featured__track {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(20px, 3vw, 32px);
	align-items: end;
}

.kc-merch-featured__card {
	background: var(--cream);
	border: 1px solid rgba(27, 51, 80, 0.08);
	transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.kc-merch-featured__card.is-emphasis {
	transform: translateY(-16px);
	box-shadow: 0 28px 60px rgba(27, 51, 80, 0.12);
}

.kc-merch-featured__link {
	display: block;
	color: inherit;
}

.kc-merch-featured__media {
	aspect-ratio: 3 / 4;
	overflow: hidden;
}

.kc-merch-featured__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s ease;
}

.kc-merch-featured__card:hover .kc-merch-featured__media img {
	transform: scale(1.05);
}

.kc-merch-featured__meta {
	padding: 22px 24px 26px;
	border-top: 1px solid rgba(27, 51, 80, 0.06);
}

.kc-merch-featured__label {
	display: block;
	margin-bottom: 8px;
	font-size: 9px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--green);
}

.kc-merch-featured__name {
	margin: 0 0 10px;
	font-family: var(--font-display);
	font-size: 21px;
	font-weight: 600;
	color: var(--navy);
}

.kc-merch-featured__price {
	font-size: 12px;
	color: rgba(35, 40, 31, 0.6);
}

/* ========== PRODUCT CARD ========== */
.kc-merch-card {
	height: 100%;
	background: var(--cream);
	border: 1px solid rgba(27, 51, 80, 0.1);
	transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.kc-merch-card:hover {
	border-color: rgba(214, 188, 94, 0.5);
	box-shadow: 0 16px 40px rgba(27, 51, 80, 0.08);
}

.kc-merch-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
}

.kc-merch-card__visual {
	position: relative;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--cream-3);
}

.kc-merch-card--compact .kc-merch-card__visual {
	aspect-ratio: 1;
}

.kc-merch-card__visual img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 0.6s ease;
}

.kc-merch-card:hover .kc-merch-card__visual img {
	transform: scale(1.04);
}

.kc-merch-card__badge {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 1;
	padding: 6px 10px;
	font-size: 8px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	background: var(--navy);
	color: var(--cream);
}

.kc-merch-card__body {
	padding: 18px 20px 22px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.kc-merch-card__row {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	font-size: 9px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(35, 40, 31, 0.5);
}

.kc-merch-card__name {
	margin: 10px 0 8px;
	font-family: var(--font-display);
	font-size: 19px;
	font-weight: 600;
	color: var(--navy);
	line-height: 1.2;
}

.kc-merch-card__desc {
	margin: 0 0 12px;
	font-size: 13px;
	line-height: 1.55;
	color: rgba(35, 40, 31, 0.62);
	flex: 1;
}

.kc-merch-card__cta {
	margin-top: auto;
	font-size: 9px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--green);
}

.kc-merch-card:hover .kc-merch-card__cta {
	color: var(--navy);
}

/* ========== HIGHLIGHTS SLIDER ========== */
.kc-merch-highlights {
	padding: clamp(64px, 8vw, 96px) 0;
	background: var(--cream);
}

.kc-merch-slider {
	position: relative;
	padding: 0 52px;
}

.kc-merch-slider__swiper {
	overflow: visible;
}

.kc-merch-slider__nav {
	position: absolute;
	top: 42%;
	transform: translateY(-50%);
	z-index: 2;
	width: 42px;
	height: 42px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 1px solid rgba(27, 51, 80, 0.15);
	background: var(--cream);
	color: var(--navy);
	font-size: 16px;
	cursor: pointer;
	transition: var(--transition);
}

.kc-merch-slider__nav:hover {
	background: var(--navy);
	color: var(--cream);
	border-color: var(--navy);
}

.kc-merch-slider__nav--prev {
	left: 0;
}

.kc-merch-slider__nav--next {
	right: 0;
}

/* ========== FULL CATALOG ========== */
.kc-merch-shop {
	padding: clamp(72px, 10vw, 120px) 0;
	background: linear-gradient(180deg, var(--cream-2) 0%, var(--cream) 100%);
}

.kc-merch-shop__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 32px;
}

.kc-merch-shop__count {
	margin: 10px 0 0;
	font-size: 11px;
	letter-spacing: 0.12em;
	color: rgba(35, 40, 31, 0.5);
}

.kc-merch-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: clamp(28px, 4vw, 40px);
	padding-bottom: 20px;
	border-bottom: 1px solid rgba(27, 51, 80, 0.1);
}

.kc-merch-filters__btn {
	padding: 10px 18px;
	font-family: var(--font-ui);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(35, 40, 31, 0.55);
	background: transparent;
	border: 1px solid transparent;
	cursor: pointer;
	transition: var(--transition);
}

.kc-merch-filters__btn:hover,
.kc-merch-filters__btn:focus-visible {
	color: var(--navy);
	border-color: rgba(27, 51, 80, 0.15);
	outline: none;
}

.kc-merch-filters__btn.is-active {
	color: var(--cream);
	background: var(--navy);
	border-color: var(--navy);
}

.kc-merch-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(16px, 2vw, 28px);
}

.kc-merch-grid__cell {
	transition: opacity 0.35s ease, transform 0.35s ease;
}

.kc-merch-grid__cell.is-hidden {
	display: none;
}

.kc-merch-shop__note {
	margin: clamp(40px, 6vw, 56px) 0 0;
	max-width: 56ch;
	font-size: 14px;
	line-height: 1.7;
	color: rgba(35, 40, 31, 0.62);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1100px) {
	.kc-merch-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 1024px) {
	.kc-merch-featured__track {
		grid-template-columns: 1fr;
		max-width: 400px;
		margin: 0 auto;
	}

	.kc-merch-featured__card.is-emphasis {
		transform: none;
		order: -1;
	}
}

@media (max-width: 900px) {
	.kc-merch-hero__grid {
		grid-template-columns: 1fr;
	}

	.kc-merch-hero__frame {
		max-height: 520px;
	}

	.kc-merch-split__panels {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.kc-merch-split__panel {
		min-height: 260px;
	}

	.kc-merch-split__center {
		position: relative;
		left: auto;
		top: auto;
		transform: none;
		margin: 0;
	}

	.kc-merch-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.kc-merch-slider {
		padding: 0 40px;
	}
}

@media (max-width: 600px) {
	.kc-merch-hero {
		padding-top: calc(var(--header-height) + 32px);
	}

	.kc-merch-shop__head {
		flex-direction: column;
		align-items: flex-start;
	}

	.kc-merch-grid {
		grid-template-columns: 1fr;
	}

	.kc-merch-filters__btn {
		padding: 8px 12px;
		font-size: 9px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.kc-merch-featured__card.is-emphasis {
		transform: none;
	}
}
