/* --------------------------------------------------------------------------
 * GRZ Gaming — product page hero rework (v1.7.2)
 *
 * SEAGM-style full-bleed brand band: tinted dark gradient fed by the product
 * banner/artwork palette, cover art overlapping the band's lower edge, white
 * medium-weight Manrope title (no more heavy black display type), translucent
 * info chips, fractional 5-star rating linked to the reviews section, and a
 * ghost favorite pill at the top right. Loads after product-v140/v141, so
 * equal-specificity rules here win.
 * ----------------------------------------------------------------------- */

/* ---------- Flush-to-header fix ---------- */

/* The (usually empty) WooCommerce notices wrapper prints directly above the
 * hero inside .grz-woo-main and carried `margin: 18px auto 0` from v140 —
 * harmless when the hero was an inset card, but with the full-bleed band it
 * read as a white strip between the site header and the hero. Zero it; a real
 * notice still has its own internal padding. */
.single-product .woocommerce-notices-wrapper {
	margin-top: 0;
}

/* ---------- Band ---------- */

.single-product .grz-tp-hero {
	display: block;
	box-sizing: border-box;
	width: 100vw;
	min-height: 0;
	margin: 0 0 46px calc(50% - 50vw);
	padding: 30px 0 26px;
	overflow: visible;
	border: 0;
	border-radius: 0;
	background-color: #0d1526;
	background-image:
		radial-gradient(ellipse 62% 150% at 8% 0%, rgba(var(--grz-tp-page-rgb, 8, 104, 242), 0.40), transparent 62%),
		linear-gradient(100deg, rgba(8, 13, 26, 0.90) 0%, rgba(8, 13, 26, 0.60) 46%, rgba(8, 13, 26, 0.80) 100%),
		var(--grz-tp-backdrop, none);
	background-size: auto, auto, cover;
	background-position: center, center, center;
	background-repeat: no-repeat;
}

/* An intentionally uploaded banner deserves more visibility: lighter veil. */
.single-product .grz-tp-hero.has-custom-banner {
	background-image:
		radial-gradient(ellipse 62% 150% at 8% 0%, rgba(var(--grz-tp-page-rgb, 8, 104, 242), 0.30), transparent 62%),
		linear-gradient(100deg, rgba(8, 13, 26, 0.68) 0%, rgba(8, 13, 26, 0.34) 46%, rgba(8, 13, 26, 0.56) 100%),
		var(--grz-tp-backdrop, none);
}

/* The v140 blurred pseudo-band and light overlay are retired. */
.single-product .grz-tp-hero::before,
.single-product .grz-tp-hero::after {
	content: none;
	background: none;
}

/* ---------- Inner grid (same width formula as the cards below) ---------- */

.single-product .grz-tp-hero__inner {
	box-sizing: border-box;
	width: min(calc(100% - (2 * var(--grz-product-gutter, 24px))), var(--grz-product-max));
	margin: 0 auto;
	display: grid;
	grid-template-columns: 118px minmax(0, 1fr) auto;
	align-items: center;
	gap: 20px;
}

/* ---------- Cover art (overlaps the band's lower edge, SEAGM signature) ---------- */

.single-product .grz-tp-hero__icon {
	position: relative;
	width: 118px;
	height: 118px;
	border: 3px solid rgba(255, 255, 255, 0.92);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 16px 38px rgba(3, 8, 20, 0.5);
	transform: translateY(24px);
}

.single-product .grz-tp-hero__img {
	border-radius: 12px;
}

/* ---------- Title: clean Manrope, medium weight, white ---------- */

.single-product .grz-tp-hero__title {
	font-family: "Manrope", var(--grz-font, Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
	font-size: clamp(23px, 2.5vw, 31px);
	font-weight: 700;
	letter-spacing: -0.012em;
	line-height: 1.16;
	color: #ffffff;
	text-shadow: 0 2px 16px rgba(3, 8, 20, 0.4);
}

/* The blue accent word was invisible on the dark band — keep it white. */
.single-product .grz-tp-hero__title-accent {
	color: inherit;
}

/* ---------- Chips: translucent white pills ---------- */

.single-product .grz-tp-hero__badges {
	margin-bottom: 10px;
}

.single-product .grz-tp-hero__badge,
.single-product .grz-tp-hero__badge:first-child {
	min-height: 24px;
	padding: 4px 11px;
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.10);
	color: #eef2fb;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.01em;
	backdrop-filter: blur(6px);
}

.single-product .grz-tp-hero__badge-icon {
	width: 12px;
	height: 12px;
	color: #ffd166;
}

/* ---------- Meta row: 5-star rating, orders, note ---------- */

.single-product .grz-tp-hero__meta {
	gap: 9px;
	margin-top: 12px;
	font-size: 12.5px;
	color: rgba(235, 240, 250, 0.78);
}

.single-product .grz-tp-hero__rating {
	gap: 8px;
	text-decoration: none;
	border-radius: 6px;
}

.single-product .grz-tp-hero__rating strong {
	color: #ffffff;
	font-size: 13px;
	font-weight: 700;
}

.single-product .grz-tp-hero__rating-count {
	color: rgba(235, 240, 250, 0.62);
	transition: color 0.15s ease;
}

.single-product .grz-tp-hero__rating:hover .grz-tp-hero__rating-count,
.single-product .grz-tp-hero__rating:focus-visible .grz-tp-hero__rating-count {
	color: #ffffff;
}

.single-product .grz-tp-hero .grz-tp-stars {
	font-size: 14px;
}

.single-product .grz-tp-hero .grz-tp-stars__off {
	color: rgba(255, 255, 255, 0.26);
}

.single-product .grz-tp-hero .grz-tp-stars__on {
	color: #fbbf24;
}

.single-product .grz-tp-hero__dot {
	color: rgba(255, 255, 255, 0.4);
}

.single-product .grz-tp-hero__sold {
	color: rgba(235, 240, 250, 0.8);
	font-weight: 600;
}

.single-product .grz-tp-hero__divider {
	background: rgba(255, 255, 255, 0.22);
}

.single-product .grz-tp-hero__note {
	color: rgba(235, 240, 250, 0.66);
}

/* ---------- Favorite: ghost pill, top right ---------- */

.single-product .grz-tp-hero .grz-favorite-button--product {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	align-self: start;
	margin-top: 2px;
	padding: 9px 16px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	color: #eef2fb;
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
	backdrop-filter: blur(6px);
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.single-product .grz-tp-hero .grz-favorite-button--product:hover,
.single-product .grz-tp-hero .grz-favorite-button--product:focus-visible {
	background: rgba(255, 255, 255, 0.16);
	border-color: rgba(255, 255, 255, 0.5);
	color: #ffffff;
}

.single-product .grz-tp-hero .grz-favorite-button--product .grz-favorite-button__icon {
	width: 14px;
	height: 14px;
}

.single-product .grz-tp-hero .grz-favorite-button--product.is-active {
	border-color: rgba(255, 120, 140, 0.55);
	background: rgba(255, 93, 115, 0.16);
	color: #ffd9df;
}

.single-product .grz-tp-hero .grz-favorite-button--product.is-active .grz-favorite-button__icon {
	color: #ff6b81;
	fill: #ff6b81;
}

/* ---------- Responsive ---------- */

@media (max-width: 1040px) {
	.single-product .grz-tp-hero__inner {
		grid-template-columns: 96px minmax(0, 1fr) auto;
		gap: 16px;
	}

	.single-product .grz-tp-hero__icon {
		width: 96px;
		height: 96px;
	}
}

@media (max-width: 620px) {
	.single-product .grz-tp-hero {
		padding: 24px 0 22px;
		margin-bottom: 40px;
	}

	.single-product .grz-tp-hero__inner {
		grid-template-columns: 78px minmax(0, 1fr);
		gap: 14px;
	}

	.single-product .grz-tp-hero__icon {
		width: 78px;
		height: 78px;
		border-radius: 13px;
		transform: translateY(20px);
	}

	.single-product .grz-tp-hero__img {
		border-radius: 9px;
	}

	.single-product .grz-tp-hero__title {
		font-size: clamp(19px, 6vw, 24px);
	}

	.single-product .grz-tp-hero .grz-favorite-button--product {
		grid-column: 1 / -1;
		justify-self: end;
		margin-top: 0;
	}
}


/* ---------- Typography cohesion (v1.7.2) ----------
   The hero moves to Manrope; section/card titles and the order total follow
   so the page no longer mixes heavy Inter display weights. Body and option
   labels keep Inter for readability. */

.single-product .grz-tp-card__title,
.single-product .grz-tp-about__title,
.single-product .grz-tp-reviews__title,
.single-product .grz-tp-related__title,
.single-product .grz-tp-total__now {
	font-family: "Manrope", var(--grz-font, Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
	letter-spacing: -0.012em;
}

.single-product .grz-tp-card__title {
	font-weight: 700;
}

/* Softer, more readable summary total figure. */
.single-product .grz-tp-total__now {
	font-weight: 750;
	letter-spacing: -0.02em;
}
