/*
 * Her Agency — Shop Page Styles
 * Brand tokens:
 *   --her-dark:     #2b2b2b
 *   --her-accent:   #8b7355
 *   --her-light-bg: #f9f7f4
 *   --her-border:   #e0dbd3
 * Fonts: Cormorant Garamond (serif), Public Sans, Montserrat — loaded by Showit
 */

/* ── Reset / Scope ─────────────────────────────────────────────────────────── */

#her-shop-page {
	--her-dark:     #2b2b2b;
	--her-accent:   #8b7355;
	--her-light-bg: #f9f7f4;
	--her-border:   #e0dbd3;
	--her-benefits-bg: #2b2726;

	font-family: 'Public Sans', sans-serif;
	color: var(--her-dark);
	line-height: 1.6;
}

#her-shop-page *,
#her-shop-page *::before,
#her-shop-page *::after {
	box-sizing: border-box;
}

#her-shop-page img {
	display: block;
	max-width: 100%;
	height: auto;
}

/* ── Shared Button Styles ──────────────────────────────────────────────────── */

#her-shop-page .her-btn {
	display: inline-block;
	font-family: 'Montserrat', 'Public Sans', sans-serif;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
	padding: 14px 32px;
	border-radius: 0;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
	line-height: 1;
}

#her-shop-page .her-btn--solid {
	background-color: var(--her-dark);
	color: #fff;
	border: 2px solid var(--her-dark);
}

#her-shop-page .her-btn--solid:hover {
	background-color: var(--her-accent);
	border-color: var(--her-accent);
	color: #fff;
}

#her-shop-page .her-btn--outline {
	background-color: transparent;
	color: #fff;
	border: 2px solid #fff;
}

#her-shop-page .her-btn--outline:hover {
	background-color: #fff;
	color: var(--her-dark);
}

/* Outline variant on light backgrounds */
#her-shop-page .her-btn--outline-dark {
	background-color: transparent;
	color: var(--her-dark);
	border: 2px solid var(--her-dark);
}

#her-shop-page .her-btn--outline-dark:hover {
	background-color: var(--her-dark);
	color: #fff;
}

#her-shop-page .her-btn--small {
	padding: 12px 24px;
	font-size: 0.7rem;
}

/* ── 1. HERO ───────────────────────────────────────────────────────────────── */

.her-shop-hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	min-height: 600px;
	background-color: var(--her-dark);
	background-image: var(--her-hero-bg);
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	text-align: center;
	color: #fff;
}

.her-shop-hero::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.35);
	z-index: 1;
}

.her-shop-hero__inner {
	position: relative;
	z-index: 2;
	max-width: 860px;
	padding: 80px 24px;
	width: 100%;
}

.her-shop-hero__heading {
	font-family: 'Cormorant Garamond', 'Georgia', serif;
	font-size: clamp(2.4rem, 5vw, 4.2rem);
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #fff;
	margin: 0 0 20px;
	line-height: 1.1;
}

.her-shop-hero__text {
	font-family: 'Public Sans', sans-serif;
	font-size: 1rem;
	font-weight: 300;
	letter-spacing: 0.03em;
	color: rgba(255, 255, 255, 0.88);
	margin: 0 auto 36px;
	max-width: 560px;
	line-height: 1.7;
}

.her-shop-hero__ctas {
	display: flex;
	gap: 16px;
	justify-content: center;
	flex-wrap: wrap;
}

/* ── 2. INTRO ──────────────────────────────────────────────────────────────── */

.her-shop-intro {
	display: grid;
	grid-template-columns: 1fr 1fr;
	max-width: 1100px;
	margin: 0 auto;
	padding: 80px 24px;
	gap: 64px;
	align-items: center;
}

.her-shop-intro__image {
	overflow: hidden;
	background-color: var(--her-border);
}

.her-shop-intro__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.her-shop-intro__image-placeholder {
	width: 100%;
	height: 100%;
	background-color: var(--her-border);
}

.her-shop-intro__content {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.her-shop-intro__label {
	font-family: 'Montserrat', 'Public Sans', sans-serif;
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--her-accent);
	margin: 0;
}

.her-shop-intro__heading {
	font-family: 'Cormorant Garamond', 'Georgia', serif;
	font-size: clamp(1.8rem, 3vw, 2.6rem);
	font-weight: 500;
	color: var(--her-dark);
	margin: 0;
	line-height: 1.2;
}

.her-shop-intro__text {
	font-size: 0.95rem;
	color: #555;
	line-height: 1.75;
	margin: 0;
}

.her-shop-intro__text p {
	margin: 0 0 1em;
}

.her-shop-intro__text p:last-child {
	margin-bottom: 0;
}

.her-shop-intro .her-btn--outline {
	color: var(--her-dark);
	border-color: var(--her-dark);
	align-self: flex-start;
}

.her-shop-intro .her-btn--outline:hover {
	background-color: var(--her-dark);
	color: #fff;
}

/* ── 3. BENEFITS STRIP ─────────────────────────────────────────────────────── */

.her-benefits-strip {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	background-color: var(--her-benefits-bg, #2b2726);
	padding: 60px 40px;
	gap: 0;
}

.her-benefit-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 24px 32px;
	border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.her-benefit-item:last-child {
	border-right: none;
}

.her-benefit-icon {
	width: 56px;
	height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
	color: #fff;
}

.her-benefit-icon img {
	width: 48px;
	height: 48px;
	object-fit: contain;
}

.her-benefit-icon svg {
	width: 48px;
	height: 48px;
	color: #fff;
}

.her-benefit-title {
	font-family: 'Montserrat', 'Public Sans', sans-serif;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: #fff;
	margin: 0 0 10px;
}

.her-benefit-text {
	font-family: 'Public Sans', sans-serif;
	font-size: 0.85rem;
	font-weight: 300;
	color: rgba(255, 255, 255, 0.75);
	margin: 0;
	line-height: 1.6;
}

/* ── 4. CATEGORIES ─────────────────────────────────────────────────────────── */

.her-shop-cats {
	background-color: var(--her-light-bg);
	padding: 80px 24px;
}

.her-shop-cats__header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	max-width: 1100px;
	margin: 0 auto 40px;
	gap: 16px;
	flex-wrap: wrap;
}

.her-shop-cats__heading {
	font-family: 'Cormorant Garamond', 'Georgia', serif;
	font-size: clamp(1.8rem, 3vw, 2.4rem);
	font-weight: 500;
	color: var(--her-dark);
	margin: 0;
}

.her-shop-cats__link {
	font-family: 'Montserrat', 'Public Sans', sans-serif;
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--her-accent);
	text-decoration: none;
	border-bottom: 1px solid currentColor;
	padding-bottom: 2px;
	transition: color 0.2s ease;
	white-space: nowrap;
}

.her-shop-cats__link:hover {
	color: var(--her-dark);
}

.her-shop-cats__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	max-width: 1100px;
	margin: 0 auto;
}

.her-shop-cat-card {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 360px;
	background-color: var(--her-border);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	text-decoration: none;
	overflow: hidden;
	color: #fff;
	transition: transform 0.3s ease;
}

.her-shop-cat-card:hover {
	transform: scale(1.01);
}

.her-shop-cat-card__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.15) 55%, rgba(0, 0, 0, 0) 100%);
	z-index: 1;
}

.her-shop-cat-card__text {
	position: relative;
	z-index: 2;
	padding: 24px 22px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.her-shop-cat-card__name {
	font-family: 'Montserrat', 'Public Sans', sans-serif;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #fff;
	line-height: 1.2;
}

.her-shop-cat-card__desc {
	font-family: 'Public Sans', sans-serif;
	font-size: 0.82rem;
	font-weight: 300;
	color: rgba(255, 255, 255, 0.82);
	line-height: 1.5;
}

.her-shop-cat-card--placeholder {
	background-color: var(--her-border);
}

/* ── 5. FAQ ────────────────────────────────────────────────────────────────── */
/* faq.css handles all FAQ styles; ensure no margin collision here */

.her-faq-section {
	margin-top: 0 !important;
}

/* ── 6. NEWSLETTER ─────────────────────────────────────────────────────────── */

.her-shop-newsletter {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 460px;
	background-color: var(--her-dark);
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	text-align: center;
	color: #fff;
}

.her-shop-newsletter::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: 1;
}

.her-shop-newsletter__inner {
	position: relative;
	z-index: 2;
	max-width: 600px;
	width: 100%;
	padding: 80px 24px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}

.her-shop-newsletter__heading {
	font-family: 'Cormorant Garamond', 'Georgia', serif;
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 500;
	color: #fff;
	margin: 0;
	line-height: 1.15;
}

.her-shop-newsletter__text {
	font-family: 'Public Sans', sans-serif;
	font-size: 0.95rem;
	font-weight: 300;
	color: rgba(255, 255, 255, 0.85);
	margin: 0;
	line-height: 1.7;
}

.her-shop-newsletter__form {
	display: flex;
	gap: 0;
	width: 100%;
	max-width: 460px;
	margin-top: 8px;
}

.her-shop-newsletter__input {
	flex: 1;
	padding: 14px 18px;
	border: none;
	border-radius: 0;
	font-family: 'Public Sans', sans-serif;
	font-size: 0.9rem;
	color: var(--her-dark);
	background: #fff;
	outline: none;
	appearance: none;
	-webkit-appearance: none;
}

.her-shop-newsletter__input::placeholder {
	color: #999;
}

.her-shop-newsletter__form .her-btn {
	white-space: nowrap;
	border-radius: 0;
}

/* ── Responsive ────────────────────────────────────────────────────────────── */

@media (max-width: 900px) {
	.her-shop-intro {
		grid-template-columns: 1fr;
		gap: 40px;
		padding: 60px 24px;
	}

	.her-shop-intro__image {
		aspect-ratio: 4 / 3;
		max-height: 420px;
	}

	.her-shop-intro .her-btn--outline {
		align-self: center;
	}

	.her-benefits-strip {
		grid-template-columns: 1fr;
		padding: 48px 24px;
	}

	.her-benefit-item {
		border-right: none;
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
		padding: 32px 24px;
	}

	.her-benefit-item:last-child {
		border-bottom: none;
	}

	.her-shop-cats__grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 768px) {
	.her-shop-hero {
		min-height: 80vh;
		background-image: var(--her-hero-mobile-bg, var(--her-hero-bg));
	}

	.her-shop-hero__heading {
		font-size: 2.4rem;
	}

	.her-shop-hero__inner {
		padding: 60px 20px;
	}

	.her-shop-hero__ctas {
		flex-direction: column;
		align-items: center;
	}

	.her-shop-cats {
		padding: 60px 20px;
	}

	.her-shop-cats__header {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}

	.her-shop-cats__grid {
		grid-template-columns: 1fr;
	}

	.her-shop-cat-card {
		min-height: 280px;
	}

	.her-shop-newsletter__form {
		flex-direction: column;
	}

	.her-shop-newsletter__input {
		width: 100%;
	}

	.her-shop-newsletter__form .her-btn {
		width: 100%;
		text-align: center;
	}
}

@media (max-width: 480px) {
	.her-shop-hero__heading {
		font-size: 2rem;
	}

	.her-shop-intro {
		padding: 48px 16px;
	}

	.her-shop-cats {
		padding: 48px 16px;
	}
}
