/* =========================================================================
   "Real orders" trust video (inc/real-orders.php), About + product pages only.
   Class prefix: .ahnl-ro (the box), .ahnl-about-orders, .ahnl-pdp-orders
   ========================================================================= */

.ahnl-ro {
	position: relative;
	overflow: hidden;
	width: 100%;
	border-radius: 20px;
	background: #1d5620;
}

.ahnl-ro .ahnl-ro__poster,
.ahnl-ro .ahnl-ro__video {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

/* Video sits under the poster until it is actually playing, so there is never a blank frame. */
.ahnl-ro__video {
	opacity: 0;
	transition: opacity 0.3s ease;
}

.ahnl-ro.is-playing .ahnl-ro__video {
	opacity: 1;
}

.ahnl-ro__toggle {
	position: absolute;
	right: 12px;
	bottom: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba( 31, 43, 30, 0.72 );
	color: #fff;
	cursor: pointer;
}

.ahnl-ro__toggle[hidden] {
	display: none;
}

.ahnl-ro__toggle:hover {
	background: rgba( 31, 43, 30, 0.9 );
}

.ahnl-ro__toggle:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
	box-shadow: 0 0 0 4px #1f2b1e;
}

.ahnl-ro__icon-play,
.ahnl-ro.is-paused .ahnl-ro__icon-pause {
	display: none;
}

.ahnl-ro.is-paused .ahnl-ro__icon-play {
	display: block;
}

/* --- About page section -------------------------------------------------------------- */
.ahnl-about-orders {
	padding: clamp( 44px, 6vw, 76px ) 22px;
	background: #fff;
}

.ahnl-about-orders__inner {
	max-width: 980px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.ahnl-about-orders__head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	text-align: center;
}

.ahnl-about-orders__title {
	margin: 0;
	font: 600 clamp( 24px, 3.2vw, 36px ) / 1.18 "AH Poppins", sans-serif;
	color: var( --ahnl-ink );
}

.ahnl-about-orders__text {
	max-width: 640px;
	margin: 0;
	font: 400 16px/1.7 "AH Inter", system-ui, sans-serif;
}

/* --- Product page: own card before "About this product" ----------------------------- */
.ahnl-pdp-orders {
	display: grid;
	grid-template-columns: minmax( 0, 520px ) minmax( 0, 1fr );
	gap: 32px;
	align-items: end;
	padding: 14px;
	background: #fff;
	border: 1px solid var( --ahnl-line );
	border-radius: 22px;
}

.ahnl-pdp-orders + .ahnl-pdp-sec--about {
	margin-top: 16px;
}

.ahnl-pdp-orders .ahnl-ro {
	border-radius: 14px;
}

.ahnl-pdp-orders__body {
	padding: 0 14px 14px 0;
}

.ahnl-pdp-orders__kicker {
	display: block;
	margin-bottom: 8px;
	font: 600 12px/1 "AH Inter", system-ui, sans-serif;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #8a5a12;
}

.ahnl-pdp-orders__text {
	max-width: 440px;
	margin: 0;
	font: 400 14.5px/1.7 "AH Inter", system-ui, sans-serif;
	color: #5c6157;
}

@media ( max-width: 720px ) {
	.ahnl-pdp-orders {
		grid-template-columns: minmax( 0, 1fr );
		gap: 14px;
		padding: 10px;
	}

	.ahnl-pdp-orders__body {
		padding: 0 6px 8px;
	}
}
