/* ============================================================
   CUSTOM HOMEPAGE (front-page.php) - Bienscent
   Design system: gold accents, cream backgrounds,
   Playfair Display (headings) + Lato (body)
   ============================================================ */

.home-sections {
	font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	color: #2b2620;
	line-height: 1.6;
}

/* Hero (used on the editable Frontpage page) */
.home-hero {
	position: relative;
	background: linear-gradient(135deg, #1f1b16 0%, #3a3127 100%);
	background-size: cover;
	background-position: center;
	color: #fff;
	text-align: center;
	padding: 120px 24px 110px;
}
.home-hero::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(31, 27, 22, .45);
}
.home-hero__inner {
	position: relative;
	z-index: 2;
	max-width: 820px;
	margin: 0 auto;
}
.home-hero__eyebrow {
	display: inline-block;
	font-family: 'Lato', sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: #d4a843;
	margin-bottom: 18px;
}
.home-hero__title {
	font-family: 'Playfair Display', serif;
	font-size: 56px;
	line-height: 1.1;
	font-weight: 700;
	margin: 0 0 20px;
	color: #fff;
}
.home-hero__sub {
	font-size: 19px;
	color: #e7ddcd;
	max-width: 600px;
	margin: 0 auto 36px;
}
@media (max-width: 768px) {
	.home-hero { padding: 84px 20px 76px; }
	.home-hero__title { font-size: 38px; }
}

.home-sections * {
	box-sizing: border-box;
}

/* Section helpers */
.home-section {
	padding: 72px 0;
}
.home-section--cream {
	background: #f7f3ee;
}
.home-section--white {
	background: #ffffff;
}
.home-inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 24px;
}

.section-head {
	text-align: center;
	margin-bottom: 48px;
}
.section-eyebrow {
	display: inline-block;
	font-family: 'Lato', sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 2.5px;
	text-transform: uppercase;
	color: #b8860b;
	margin-bottom: 12px;
}
.section-title {
	font-family: 'Playfair Display', serif;
	font-size: 38px;
	line-height: 1.2;
	font-weight: 700;
	margin: 0 0 14px;
	color: #1f1b16;
}
.section-sub {
	font-size: 17px;
	color: #6f675c;
	max-width: 640px;
	margin: 0 auto;
}

/* Buttons */
.btn {
	display: inline-block;
	font-family: 'Lato', sans-serif;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .4px;
	text-decoration: none;
	padding: 14px 30px;
	border-radius: 999px;
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
	cursor: pointer;
}
.btn--primary {
	background: linear-gradient(135deg, #c8962e, #b8860b);
	color: #fff;
	box-shadow: 0 8px 20px rgba(184, 134, 11, .25);
}
.btn--primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 26px rgba(184, 134, 11, .35);
	color: #fff;
}
.btn--outline {
	background: transparent;
	border: 2px solid #b8860b;
	color: #b8860b;
}
.btn--outline:hover {
	background: #b8860b;
	color: #fff;
}

/* Quiz CTA band */
.quiz-cta {
	background: linear-gradient(135deg, #1f1b16 0%, #3a3127 100%);
	color: #fff;
	text-align: center;
	padding: 84px 24px;
}
.quiz-cta__title {
	font-family: 'Playfair Display', serif;
	font-size: 40px;
	font-weight: 700;
	margin: 0 0 16px;
	color: #fff;
}
.quiz-cta__sub {
	font-size: 18px;
	color: #cdbfa9;
	max-width: 560px;
	margin: 0 auto 32px;
}

/* How it works */
.steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 36px;
}
.step {
	text-align: center;
}
.step__num {
	font-family: 'Playfair Display', serif;
	font-size: 54px;
	font-weight: 700;
	color: #b8860b;
	line-height: 1;
	margin-bottom: 18px;
}
.step__media {
	width: 100%;
	aspect-ratio: 4 / 3;
	border-radius: 16px;
	overflow: hidden;
	background: #ece4d8;
	margin-bottom: 20px;
}
.step__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.step__title {
	font-family: 'Playfair Display', serif;
	font-size: 24px;
	font-weight: 600;
	margin: 0 0 8px;
	color: #1f1b16;
}
.step__desc {
	font-size: 15px;
	color: #6f675c;
	margin: 0;
}

/* Generic card grid */
.card-grid {
	display: grid;
	gap: 24px;
}
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* Scent tiles (Shop by Scent) */
.scent-tile {
	position: relative;
	display: block;
	text-decoration: none;
	border-radius: 16px;
	overflow: hidden;
	aspect-ratio: 1 / 1;
	background: #ece4d8;
	color: #fff;
	box-shadow: 0 6px 18px rgba(31, 27, 22, .08);
	transition: transform .25s ease, box-shadow .25s ease;
}
.scent-tile:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 30px rgba(31, 27, 22, .16);
}
.scent-tile__media {
	position: absolute;
	inset: 0;
}
.scent-tile__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.scent-tile__media::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(31,27,22,.05) 0%, rgba(31,27,22,.7) 100%);
}
.scent-tile__label {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 20px;
	font-family: 'Playfair Display', serif;
	font-size: 22px;
	font-weight: 600;
	text-align: center;
	z-index: 2;
}

/* Moment cards */
.moment-card {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 3 / 2;
	border-radius: 16px;
	text-decoration: none;
	color: #fff;
	background-size: cover;
	background-position: center;
	position: relative;
	overflow: hidden;
	box-shadow: 0 6px 18px rgba(31, 27, 22, .10);
	transition: transform .25s ease;
}
.moment-card:hover {
	transform: translateY(-4px);
	color: #fff;
}
.moment-card::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(31, 27, 22, .45);
	transition: background .25s ease;
}
.moment-card:hover::after {
	background: rgba(31, 27, 22, .3);
}
.moment-card__label {
	position: relative;
	z-index: 2;
	font-family: 'Playfair Display', serif;
	font-size: 26px;
	font-weight: 600;
	text-align: center;
	padding: 0 12px;
}

/* Product cards */
.product-card {
	background: #fff;
	border: 1px solid #efe9e0;
	border-radius: 16px;
	overflow: hidden;
	text-decoration: none;
	color: #2b2620;
	display: flex;
	flex-direction: column;
	transition: transform .25s ease, box-shadow .25s ease;
}
.product-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 30px rgba(31, 27, 22, .12);
	color: #2b2620;
}
.product-card__media {
	aspect-ratio: 1 / 1;
	background: #f1ece4;
	overflow: hidden;
}
.product-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.product-card__body {
	padding: 18px 18px 22px;
	text-align: center;
}
.product-card__name {
	font-family: 'Playfair Display', serif;
	font-size: 18px;
	font-weight: 600;
	margin: 0 0 8px;
	line-height: 1.3;
}
.product-card__price {
	font-size: 16px;
	font-weight: 700;
	color: #b8860b;
}

/* "If you like X, try this" comparison */
.compare {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	gap: 24px;
	align-items: center;
}
.compare__col {
	background: #fff;
	border: 1px solid #efe9e0;
	border-radius: 16px;
	padding: 28px 22px;
	text-align: center;
}
.compare__col h3 {
	font-family: 'Playfair Display', serif;
	font-size: 22px;
	margin: 14px 0 6px;
	color: #1f1b16;
}
.compare__swatch {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	margin: 0 auto;
	box-shadow: inset 0 0 0 4px rgba(255,255,255,.6), 0 4px 10px rgba(0,0,0,.1);
}
.compare__arrow {
	font-size: 34px;
	color: #b8860b;
	font-weight: 700;
	text-align: center;
}

/* Subscription band */
.subscription {
	background: #1f1b16;
	color: #fff;
	text-align: center;
}
.subscription .section-title,
.subscription .section-sub {
	color: #fff;
}
.subscription .section-sub {
	color: #cdbfa9;
}
.sub-price {
	font-family: 'Playfair Display', serif;
	font-size: 56px;
	font-weight: 700;
	color: #d4a843;
	margin: 8px 0 4px;
}
.sub-price span {
	font-size: 20px;
	color: #cdbfa9;
	font-family: 'Lato', sans-serif;
	font-weight: 400;
}
.sub-features {
	list-style: none;
	padding: 0;
	margin: 24px auto 32px;
	max-width: 460px;
}
.sub-features li {
	padding: 8px 0;
	font-size: 16px;
	color: #e7ddcd;
}
.sub-features li::before {
	content: '\2713';
	color: #d4a843;
	font-weight: 700;
	margin-right: 10px;
}

/* Journal grid */
.post-card {
	display: block;
	text-decoration: none;
	color: #2b2620;
	border-radius: 16px;
	overflow: hidden;
	background: #fff;
	border: 1px solid #efe9e0;
	transition: transform .25s ease, box-shadow .25s ease;
}
.post-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 30px rgba(31, 27, 22, .12);
	color: #2b2620;
}
.post-card__media {
	aspect-ratio: 16 / 10;
	background: #f1ece4;
	overflow: hidden;
}
.post-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.post-card__body { padding: 20px 22px 26px; }
.post-card__cat {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: #b8860b;
}
.post-card__title {
	font-family: 'Playfair Display', serif;
	font-size: 21px;
	font-weight: 600;
	margin: 8px 0 0;
	line-height: 1.3;
}

/* Reviews */
.reviews-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.review {
	background: #fff;
	border: 1px solid #efe9e0;
	border-radius: 16px;
	padding: 28px 26px;
}
.review__stars {
	color: #d4a843;
	font-size: 18px;
	letter-spacing: 2px;
	margin-bottom: 12px;
}
.review__text {
	font-size: 15px;
	color: #4a443b;
	margin: 0 0 18px;
}
.review__author {
	font-weight: 700;
	font-size: 15px;
	color: #1f1b16;
}
.review__meta {
	font-size: 13px;
	color: #9a9286;
}

/* Placeholder image styling when no media is available */
.ph-img {
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #efe7da, #e2d6c4);
}
.ph-img span {
	font-family: 'Playfair Display', serif;
	font-size: 22px;
	color: #b9a98f;
}

/* Responsive */
@media (max-width: 900px) {
	.steps { grid-template-columns: 1fr; gap: 28px; }
	.grid-4 { grid-template-columns: repeat(2, 1fr); }
	.grid-3 { grid-template-columns: 1fr; }
	.reviews-grid { grid-template-columns: 1fr; }
	.compare { grid-template-columns: 1fr; }
	.compare__arrow { transform: rotate(90deg); }
	.section-title, .quiz-cta__title { font-size: 30px; }
	.home-section { padding: 52px 0; }
}
@media (max-width: 520px) {
	.grid-4 { grid-template-columns: 1fr; }
	.section-title, .quiz-cta__title { font-size: 26px; }
}
