/* Testimonials block — mirrors the live Shopify layout: a cream heading band
 * above a sage band split into the review (left) and the reviewed product
 * (right). Colours come from the existing brand palette: palette8 (#dbdbce)
 * for the heading band, palette5 (#bcbc94) for the sage band, palette3
 * (#3c3423) for text. No new colours introduced. */

/* "Deals and Promotions" banner — title over a full-width photo band.
 * Lives here because this stylesheet is already enqueued on the front page
 * alongside the other homepage section styles. */
.po-deals-banner {
	position: relative;
	width: 100%;
	min-height: clamp(180px, 22vw, 300px);
	display: flex;
	align-items: center;
	justify-content: center;
	background-size: cover;
	background-position: center;
	/* Full-bleed: this sits inside a .po-section whose inner container is capped
	 * at the content width, so pull back out to the viewport edges. */
	margin-inline: calc(50% - 50vw);
	width: 100vw;
	max-width: 100vw;
}
.po-deals-banner__overlay {
	position: absolute;
	inset: 0;
	/* The photo is bright; without this the white title is unreadable over the
	 * lighter areas of it. */
	background: rgba(60, 52, 35, 0.45);
}
.po-deals-banner__title {
	position: relative;
	z-index: 1;
	margin: 0;
	padding: 0 1.5rem;
	text-align: center;
	color: #ffffff;
	font-size: clamp(1.75rem, 3.6vw, 3rem);
	font-weight: 400;
	text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}

.po-testimonials {
	width: 100%;
}

.po-testimonials__head {
	background: var(--global-palette8, #dbdbce);
	padding: clamp(2.5rem, 5vw, 4rem) 1.5rem;
	text-align: center;
}
.po-testimonials__title {
	margin: 0;
	color: var(--global-palette3, #3c3423);
	font-size: clamp(1.75rem, 3.2vw, 2.5rem);
}

.po-testimonials__body {
	position: relative;
	background: var(--global-palette5, #bcbc94);
	padding: clamp(2.5rem, 5vw, 4rem) clamp(3rem, 7vw, 5.5rem);
}

.po-testimonials__viewport {
	max-width: var(--global-content-width, 1290px);
	margin-inline: auto;
}

/* Only the active testimonial participates in layout, so the band height
 * follows the current quote instead of the tallest one. */
.po-testimonial {
	display: none;
	grid-template-columns: 1.35fr 1fr;
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: center;
}
.po-testimonial.is-active {
	display: grid;
}
@media (max-width: 860px) {
	.po-testimonial.is-active {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
}

.po-testimonial__stars {
	color: var(--global-palette3, #3c3423);
	letter-spacing: 0.15em;
	font-size: 1.05rem;
	margin-bottom: 1.25rem;
}

.po-testimonial__quote {
	margin: 0 0 1.5rem;
	padding: 0;
	border: none;
	color: var(--global-palette3, #3c3423);
	font-size: clamp(1.05rem, 1.9vw, 1.5rem);
	line-height: 1.55;
	font-style: normal;
}

.po-testimonial__author {
	margin: 0;
	color: var(--global-palette2, #54543c);
	font-size: 0.9rem;
}

.po-testimonial__product {
	text-decoration: none;
	display: block;
}
.po-testimonial__image {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	background-size: cover;
	background-position: center;
	background-color: #ffffff;
	border-radius: 4px;
	transition: transform 0.35s ease;
}
.po-testimonial__product:hover .po-testimonial__image {
	transform: scale(1.03);
}
.po-testimonial__product-name {
	display: block;
	margin-top: 0.9rem;
	color: var(--global-palette3, #3c3423);
	font-size: 0.95rem;
}

.po-testimonial-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	padding: 0.25rem 0.5rem;
	font-size: 2rem;
	line-height: 1;
	color: var(--global-palette3, #3c3423);
	cursor: pointer;
	opacity: 0.75;
	transition: opacity 0.2s ease;
	z-index: 2;
}
.po-testimonial-arrow:hover {
	opacity: 1;
}
.po-testimonial-arrow--prev {
	left: clamp(0.5rem, 2vw, 1.75rem);
}
.po-testimonial-arrow--next {
	right: clamp(0.5rem, 2vw, 1.75rem);
}
