/* ───────────────────────────────────────────── */
/*  PRODUCTS PAGE STYLES                        */
/* ───────────────────────────────────────────── */

/* Hero — centered single column (like salt-therapy hero) */
#hero.products-hero { min-height: auto; padding: 160px 0 80px; }
.products-hero .hero-grid { grid-template-columns: 1fr; }
.products-hero .hero-content { text-align: center; max-width: 720px; margin: 0 auto; }
.products-hero .hero-eyebrow { margin: 0 auto 24px; }
.products-hero .hero-sub { max-width: 600px; margin: 0 auto 40px; }
.products-hero .hero-ctas { justify-content: center; align-items: center; }

/* Category jump buttons */
.hero-category-btns {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin-top: 24px;
	flex-wrap: wrap;
}
.btn-category {
	display: inline-flex;
	align-items: center;
	padding: 10px 24px;
	border-radius: var(--radius-pill);
	font-size: 0.88rem;
	font-weight: 500;
	color: var(--sage-dark);
	background: rgba(131,85,146,0.1);
	border: 1.5px solid rgba(131,85,146,0.25);
	transition: all 0.3s ease;
}
.btn-category:hover {
	background: var(--sage);
	color: var(--white);
	border-color: var(--sage);
}

/* ─── PRODUCT SECTIONS ───────────────────────── */
.products-section {
	padding: clamp(80px, 12vw, 140px) 0;
}
.products-section:nth-child(odd) { background: var(--cream); }
.products-section:nth-child(even) { background: var(--warm-white); }

.products-section-header {
	text-align: center;
	margin-bottom: 60px;
}
.products-section-header h2 { margin-bottom: 16px; }
.products-section-header p { color: var(--mid); max-width: 600px; margin: 0 auto; }

.products-page-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 28px;
}

/* ─── PRODUCT CARD ───────────────────────────── */
.products-page-card {
	background: var(--warm-white);
	border-radius: var(--radius-md);
	overflow: hidden;
	transition: all 0.35s cubic-bezier(0.34, 1.2, 0.64, 1);
	box-shadow: var(--shadow-soft);
}
.products-section:nth-child(even) .products-page-card {
	background: var(--cream);
}
.products-page-card:hover {
	transform: translateY(-8px);
	box-shadow: var(--shadow-med);
}

/* Image area */
.product-placeholder-img {
	height: 220px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
	background: linear-gradient(145deg, #e8f0e4, #c8dfc5);
}
.product-placeholder-img img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	position: relative;
	z-index: 1;
	padding: 16px;
}
.product-placeholder-img::after {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 50% 100%, rgba(255,255,255,0.3) 0%, transparent 70%);
	z-index: 2;
	pointer-events: none;
}

/* Card body */
.products-page-card .product-body { padding: 24px 24px 28px; }
.products-page-card .product-body h3 { font-size: 1.2rem; margin-bottom: 8px; }
.products-page-card .product-body p { font-size: 0.88rem; color: var(--mid); margin-bottom: 16px; }

.product-learn-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.85rem;
	font-weight: 500;
	color: var(--sage-dark);
	transition: color 0.2s, gap 0.2s;
}
.product-learn-more:hover {
	color: var(--sage);
	gap: 10px;
}
.product-learn-more::after {
	content: '\2192';
	transition: transform 0.2s;
}
.product-learn-more:hover::after {
	transform: translateX(2px);
}

/* ─── IMAGE LIGHTBOX ─────────────────────────── */
#product-lightbox {
	position: fixed;
	inset: 0;
	z-index: 200;
	background: rgba(45,36,32,0.85);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
	cursor: pointer;
}
#product-lightbox.active {
	opacity: 1;
	pointer-events: auto;
}
#product-lightbox img {
	max-width: 90vw;
	max-height: 85vh;
	object-fit: contain;
	border-radius: var(--radius-md);
	background: var(--warm-white);
	padding: 24px;
	box-shadow: 0 24px 80px rgba(0,0,0,0.3);
	transform: scale(0.9);
	transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
#product-lightbox.active img {
	transform: scale(1);
}

/* ─── LARGER IMAGES FOR BIOFREEZE & GUMMIES ──── */
#biofreeze .product-placeholder-img,
#gummies .product-placeholder-img {
	height: 320px;
}
#biofreeze .product-placeholder-img img,
#gummies .product-placeholder-img img {
	padding: 8px;
}

/* ─── RESPONSIVE ─────────────────────────────── */
@media (max-width: 640px) {
	.products-page-grid { grid-template-columns: 1fr; }
	#biofreeze .product-placeholder-img,
	#gummies .product-placeholder-img { height: 260px; }
}
