/* Shop + collection archives — design/pages/Shop.dc.html. */

.r-shop-banner {
	position: relative;
	height: 300px;
	overflow: hidden;
	background: var(--c-photo-bg);
	display: grid;
	place-items: center;
	text-align: center;
}

.r-shop-banner__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.r-shop-banner__scrim {
	position: absolute;
	inset: 0;
	background: var(--c-banner-scrim);
}

.r-shop-banner__text {
	position: relative;
	color: var(--c-white);
	padding: 0 16px;
}

.r-shop-banner__title {
	margin: 0;
	font-family: var(--f-display);
	font-style: italic;
	font-weight: 400;
	font-size: clamp(48px, 6vw, 84px);
	line-height: 1;
}

.r-shop-banner__sub {
	margin: 14px 0 0;
	font-size: 13px;
	letter-spacing: .26em;
	text-transform: uppercase;
}

/* Collection tabs */
.r-tabs {
	border-bottom: 1px solid var(--c-line);
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0 clamp(8px, 4vw, 64px);
	overflow-x: auto;
}

.r-tab {
	box-sizing: border-box; /* a <button> in the design */
	display: inline-flex;
	align-items: center;
	min-height: 52px;
	padding: 16px 6px;
	margin-bottom: -1px;
	border-bottom: 2px solid transparent;
	font-size: 12px;
	line-height: normal;
	letter-spacing: .18em;
	text-transform: uppercase;
	white-space: nowrap;
	text-decoration: none;
	color: var(--c-muted-2);
}

.r-tab[aria-current="page"] {
	color: var(--c-ink);
	font-weight: 500;
	border-bottom-color: var(--c-ink);
}

.r-tab:hover {
	color: var(--c-ink);
}

/* Sections */
.r-shop__sections {
	padding-bottom: 80px;
}

.r-shop-section {
	padding: 40px 0 44px;
	border-bottom: 1px solid var(--c-line);
}

.r-shop-section__head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 22px;
}

.r-shop-section__title {
	margin: 0;
	font-family: var(--f-display);
	font-weight: 500;
	font-size: clamp(24px, 2.4vw, 32px);
	letter-spacing: .1em;
	line-height: 1.2;
	text-transform: uppercase;
}

.r-shop-section__tagline {
	margin: 4px 0 0;
	font-family: var(--f-display);
	font-size: 19px;
	color: var(--c-muted);
}

.r-view-all {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: var(--tap);
	font-size: 12px;
	letter-spacing: .2em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--c-ink);
}

.r-shop__empty {
	color: var(--c-muted);
}

/* Phones: shorter banner, sticky collection tabs, one-line section headings
   (compact mobile layout, client request 2026-10-14). */
@media (max-width: 860px) {
	.r-shop-banner {
		height: 168px;
	}

	.r-shop-banner__title {
		font-size: 40px;
	}

	.r-shop-banner__sub {
		margin-top: 8px;
		font-size: 11px;
		letter-spacing: .2em;
	}

	.r-tabs-wrap {
		position: sticky;
		top: var(--hdr-h);
		z-index: 5;
		background: var(--c-bg);
	}

	.r-tabs {
		flex-wrap: nowrap;
		justify-content: flex-start;
		justify-content: safe center; /* centred when the tabs fit, scrollable from the start when not */
		gap: 0 22px;
		scrollbar-width: none;
	}

	.r-tabs::-webkit-scrollbar {
		display: none;
	}

	.r-tab {
		min-height: 48px;
		padding: 14px 2px;
		font-size: 11px;
		letter-spacing: .16em;
	}

	.r-tab__suffix {
		display: none;
	}

	.r-shop__sections {
		padding-bottom: 48px;
	}

	.r-shop-section {
		padding: 28px 0 32px;
	}

	.r-shop-section__head {
		flex-wrap: nowrap;
		align-items: flex-start;
		gap: 12px;
		margin-bottom: 18px;
	}

	.r-shop-section__title {
		font-size: 19px;
		letter-spacing: .08em;
		line-height: 1.25;
	}

	.r-shop-section__tagline {
		margin-top: 2px;
		font-size: 15px;
		line-height: 1.35;
	}

	.r-view-all {
		flex: none;
		margin-top: -11px; /* centre the 44px tap target on the title's first line */
		font-size: 11px;
		letter-spacing: .16em;
	}
}
