/* ---------------------------------------------------------------------------
   Ace Glove — Section: Single-product hero
   Dark photographic hero: the product photo is the full-bleed background,
   copy on the left, four-cell info strip along the bottom. Buttons use the
   shared .ags-btn classes.
--------------------------------------------------------------------------- */

.ags-pdh {
	--ags-pdh-h: 0px;
	position: relative;
	width: 100%;
	min-height: var(--ags-pdh-h);
	overflow: hidden;
	display: flex;
	align-items: stretch;
	color: var(--ags-white);
	/* Multiply tints the pale cleanroom photo to a mid blue-grey so the white glove stands out against it. */
	background: var(--ags-secondary) var(--ags-pdh-bg, none) center / cover no-repeat;
}


.ags-pdh__inner {
	position: relative;
	z-index: auto;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-template-areas:
		"copy"
		"visual"
		"facts";
	align-content: space-between;
	width: 100%;
	max-width: var(--ags-max);
	margin: 0 auto;
	/* The header is in normal flow on this page, so no clearance for it. */
	padding: 80px var(--ags-pad-x) 0;
}

.ags-pdh__content { grid-area: copy; min-width: 0; position: relative; z-index: 3; }
.ags-pdh__facts   { position: relative; z-index: 3; }
.ags-pdh__facts   { grid-area: facts; }

/* --- Copy ----------------------------------------------------------------- */


.ags-pdh .ags-pdh__eyebrow {
	margin: 0 0 12px;
	font-size: var(--ags-eyebrow-size);
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ags-primary);
}

.ags-pdh .ags-pdh__title {
	margin: 0;
	font-size: clamp(34px, 4.4vw, 56px);
	font-weight: 700;
	line-height: 1.06;
	letter-spacing: -0.015em;
	text-transform: uppercase;
	color: var(--ags-white);
}

.ags-pdh .ags-pdh__text {
	margin: 22px 0 28px;
	max-width: 520px;
	font-size: var(--ags-text-size);
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.85);
}

.ags-pdh__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.ags-pdh__actions .ags-btn__label { text-transform: uppercase; }

/* --- Info row -------------------------------------------------------------- */

.ags-pdh__facts {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-top: 0;
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-bottom: 0;
	border-radius: var(--ags-about-radius) var(--ags-about-radius) 0 0;
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}

.ags-pdh__fact {
	min-width: 0;
	padding: 22px 26px;
	border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.ags-pdh__fact:first-child { border-left: 0; }

.ags-pdh__fact-label {
	display: block;
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.65);
}

.ags-pdh__fact-value {
	display: block;
	margin-top: 4px;
	font-size: 19px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--ags-white);
}

/* --- Breakpoints ----------------------------------------------------------- */

@media (max-width: 1024px) {
	.ags-pdh { min-height: 0; }

	.ags-pdh__inner {
		padding-top: 64px;
	}

	.ags-pdh__facts  { margin-top: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ags-pdh__fact:nth-child(3) { border-left: 0; }
	.ags-pdh__fact:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, 0.16); }
}

@media (max-width: 600px) {
	.ags-pdh__inner { padding-top: 48px; }
	.ags-pdh .ags-pdh__title { font-size: 30px; }
	.ags-pdh__actions .ags-btn { flex: 1 1 100%; justify-content: center; }
	.ags-pdh__fact { padding: 16px 16px; }
	.ags-pdh__fact-value { font-size: 15px; }
	.ags-pdh__fact-label { font-size: 11px; }
}

/* --- Product image: right side, behind the copy and the info row ---------- */

.ags-pdh__visual {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 64%;
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
	mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
	z-index: 0;
	pointer-events: none;
}

.ags-pdh__product {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 30%;
	filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.35));
}

@media (max-width: 1024px) {
	.ags-pdh__visual {
		position: relative;
		grid-area: visual;
		width: auto;
		max-width: none;
		margin: 20px calc(-1 * var(--ags-pad-x)) -40px;
		-webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 24%, #000 68%, transparent 100%);
		mask-image: linear-gradient(180deg, transparent 0%, #000 24%, #000 68%, transparent 100%);
	}

	.ags-pdh__product {
		width: 100%;
		height: auto;
		aspect-ratio: 16 / 9;
		object-position: center 30%;
	}
}

@media (max-width: 600px) {
	.ags-pdh__product { aspect-ratio: 4 / 3; }
}

/* Dark gradient sits ABOVE the product image (z 1 vs the image's 0) and below
   the copy and info row (z 3), so the glove fades into the dark on the left. */
.ags-pdh::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(90deg, #131f28 0%, rgba(19, 31, 40, 0.98) 34%, rgba(19, 31, 40, var(--ags-pdh-r, 0.4)) 100%);
}

.ags-pdh__content { padding-bottom: 56px; }

@media (max-width: 1024px) {
	/* Stacked layout: the photo is a full-bleed banner that fades into the dark at top and bottom, so no overlay is needed. */
	.ags-pdh::after { display: none; }
	.ags-pdh__content { padding-bottom: 0; }
}
