/*
Theme Name: GamePort
Description: GamePort Kenya’s storefront theme for WooCommerce.
Version: 0.36.9
Author: GamePort
Requires at least: 7.0
Requires PHP: 7.4
Text Domain: gameport
*/

@font-face {
	font-family: "Instrument Sans";
	src: url("assets/fonts/instrument-sans-latin-400-700.woff2") format("woff2");
	font-weight: 400 700;
	font-display: swap;
}

@font-face {
	font-family: Outfit;
	src: url("assets/fonts/outfit-latin-200-700.woff2") format("woff2");
	font-weight: 200 700;
	font-display: swap;
}

:root {
	color-scheme: dark;
	--gp-ink: #222121;
	--gp-panel: #2e2d2d;
	--gp-line: #3d3b3b;
	--gp-mist: #a9a6a6;
	--gp-white: #fff;
	--gp-light: #f5f4f2;
	--gp-cyan: #20c8df;
	--gp-orange: #df6a20;
	--gp-sage: #809980;
	--gp-price: #0e7084;
	--gp-control: 6px;
	--gp-panel-radius: 16px;
	--gp-gutter: 16px;
	--gp-out: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--gp-ink); color: var(--gp-light); font: 400 16px/1.5 "Instrument Sans", system-ui, sans-serif; }
h1, h2, h3 { font-family: Outfit, system-ui, sans-serif; font-weight: 600; line-height: 1.1; color: var(--gp-white); }
h1, h2, h3, p { margin: 0; }
a { color: var(--gp-cyan); text-underline-offset: .18em; }
img { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; }

select:where(:not([multiple]):not([size]), :not([multiple])[size="1"]) {
	appearance: none;
	min-height: 44px;
	padding-inline: 12px 36px;
	border: 1px solid #898686;
	border-radius: var(--gp-control);
	background-color: var(--gp-panel);
	color: var(--gp-light);
	font: inherit;
}

select:where(:not([multiple]):not([size]), :not([multiple])[size="1"]),
body.woocommerce main form .form-row select:where(:not([multiple]):not([size]), :not([multiple])[size="1"]),
body.woocommerce main div.product form.cart .variations select {
	appearance: var(--gp-select-appearance, none);
	padding-inline-end: 36px;
	background-color: var(--gp-select-surface, var(--gp-panel));
	background-image: var(--gp-select-arrow, url("assets/icons/select-chevron.svg"));
	background-repeat: no-repeat;
	background-size: 16px 16px;
	background-position: var(--gp-select-position, right 12px center);
}
select:dir(rtl) { --gp-select-position: left 12px center; }

.woocommerce .select2-container .select2-selection--single .select2-selection__arrow {
	inset-inline: auto 0;
	width: 36px;
	height: 100%;
	background: var(--gp-panel) url("assets/icons/select-chevron.svg") no-repeat center / 16px 16px;
	border-start-end-radius: var(--gp-control);
	border-end-end-radius: var(--gp-control);
}
.woocommerce .select2-container .select2-selection--single .select2-selection__arrow b { display: none; }
.woocommerce .select2-container .select2-selection--single .select2-selection__rendered { padding-inline-end: 40px; }

@media (forced-colors: active) {
	select {
		--gp-select-appearance: auto;
		--gp-select-arrow: none;
	}
	.woocommerce .select2-container .select2-selection--single .select2-selection__arrow {
		background: none;
	}
	.woocommerce .select2-container .select2-selection--single .select2-selection__arrow b {
		display: block;
		width: 7px;
		height: 7px;
		border: solid ButtonText;
		border-width: 0 2px 2px 0;
		background: none;
		transform: rotate(45deg);
	}
}
[hidden] { display: none !important; }
:where(a, button, input, select, textarea, [tabindex]):focus-visible { outline: 3px solid var(--gp-cyan); outline-offset: 3px; }

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.gp-skip:focus {
	inset: 8px auto auto 8px;
	z-index: 100;
	width: auto;
	height: auto;
	padding: 12px 16px;
	clip-path: none;
	background: var(--gp-ink);
}

.gp-wrap { width: min(calc(100% - 2 * var(--gp-gutter)), 1200px); margin-inline: auto; }
.gp-icon { flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gp-logo { display: inline-flex; align-items: center; min-height: 44px; padding: 6px; text-decoration: none; }
.gp-logo img { width: 148px; height: auto; }
.gp-header { border-bottom: 1px solid var(--gp-line); }
.gp-utility, .gp-nav, .gp-sign-in, .gp-account .gp-sign-up, .gp-cart-label { display: none; }
.gp-head-main { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px 44px; align-items: center; column-gap: 4px; row-gap: 8px; padding-block: 8px; }
.gp-head-main .gp-logo { justify-self: start; }
.gp-icon-button { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; color: var(--gp-light); text-decoration: none; border-radius: var(--gp-control); }
.gp-icon-button:hover { background: var(--gp-line); }
.gp-cart { position: relative; }
.gp-cart-count { display: grid; place-items: center; min-width: 18px; height: 18px; padding-inline: 3px; border-radius: 20px; background: var(--gp-orange); color: var(--gp-ink); font-size: 14px; font-weight: 700; line-height: 1; }
.gp-cart .gp-cart-count { position: absolute; inset: 0 0 auto auto; }
.gp-search { grid-row: 2; grid-column: 1 / -1; display: flex; align-items: stretch; gap: 8px; min-width: 0; }
.gp-search input[type="search"] { appearance: none; flex: 1; width: 100%; min-width: 0; min-height: 44px; padding: 8px 16px; color: var(--gp-white); background: var(--gp-panel); border: 1px solid #797676; border-radius: var(--gp-control); }
.gp-search input::placeholder { color: var(--gp-mist); opacity: 1; }
.gp-search button { border: 0; background: var(--gp-orange); color: var(--gp-ink); cursor: pointer; }
.gp-search button:hover, .gp-primary:hover { background: #ef8545; }
.gp-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.gp-btn { display: inline-flex; justify-content: center; align-items: center; min-width: 44px; min-height: 44px; padding: 8px 16px; border: 1px solid transparent; border-radius: var(--gp-control); background: #464343; color: var(--gp-white); text-decoration: none; text-align: center; font-weight: 600; font-size: 14px; }
.gp-btn:hover { background: #575353; }
.gp-primary { background: var(--gp-orange); color: var(--gp-ink); }
.gp-kicker { font-size: 14px; font-weight: 600; }

.gp-hero, .gp-category, .gp-promo, .gp-release, .gp-ask { position: relative; isolation: isolate; }
.gp-hero::before, .gp-hero::after, .gp-hero-art, .gp-category-art, .gp-promo-art, .gp-release-art, .gp-cover-wall { position: absolute; pointer-events: none; }
.gp-hero::before { content: ""; z-index: -1; inset: 0; background: linear-gradient(0deg, var(--gp-ink), rgba(34, 33, 33, .78) 44%, rgba(34, 33, 33, .68)); }
.gp-hero::after { content: ""; z-index: -1; inset: 0; background: rgba(245, 244, 242, .12); mask: url("assets/brand/game_pattern_white.png") center top / 300px auto; }
.gp-hero-art { z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; filter: blur(14px); }
.gp-hero { overflow: clip; }
.gp-hero-inner { display: grid; gap: 24px; align-items: center; padding-block: 24px; }
.gp-hero h1 { max-width: 12em; margin-block: 8px 12px; font-size: clamp(32px, 8.5vw, 48px); letter-spacing: -.022em; }
.gp-hero-lead { max-width: 50ch; }
.gp-hero-copy .gp-actions { margin-top: 16px; }
.gp-hero-copy .gp-btn { flex: 1; }
.gp-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); min-height: 184px; border-radius: var(--gp-panel-radius); overflow: hidden; background: var(--gp-panel); text-decoration: none; color: var(--gp-light); }
.gp-feature:hover .gp-feature-title, .gp-product:hover .gp-product-name { text-decoration: underline; }
.gp-feature-cover { display: grid; grid-template-rows: auto 1fr; min-width: 0; }
.gp-feature-cover > img { height: 100%; width: 100%; object-fit: cover; background: var(--gp-light); }
.gp-feature-cover:not(.gp-cover-disc) > img { object-fit: contain; }
.gp-feature-text { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; padding: 16px; }
.gp-feature-kicker { color: var(--gp-mist); font-size: 14px; line-height: 1.2; }
.gp-feature-title { font: 600 22px/1.1 Outfit, sans-serif; overflow-wrap: anywhere; color: var(--gp-white); }
.gp-feature-details { font-size: 14px; }
.gp-feature .gp-price { margin-top: auto; }
.gp-carousel-nav, .gp-dots, .gp-arrows { display: flex; align-items: center; gap: 4px; }
.gp-carousel-nav { justify-content: space-between; margin-top: 8px; }
.gp-carousel-nav button { width: 44px; height: 44px; padding: 0; border: 0; border-radius: var(--gp-control); color: var(--gp-white); background: transparent; display: grid; place-items: center; cursor: pointer; }
.gp-arrows button { border-radius: 50%; background: #464343; }
.gp-arrows button:hover { background: #575353; }
.gp-dots button::before { content: ""; width: 26px; height: 4px; border-radius: 4px; background: #777272; }
.gp-dots [aria-current]::before { background: var(--gp-orange); }

.gp-home { display: grid; gap: 32px; padding-block: 8px 48px; }
.gp-home > section { min-width: 0; }
.gp-section-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-block: 4px; margin-bottom: 16px; border-bottom: 1px solid var(--gp-line); }
.gp-section-head h2 { margin-block: 8px; font-size: 22px; }
.gp-section-head a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; flex: none; font-size: 14px; font-weight: 600; }
.gp-categories, .gp-platforms { display: grid; gap: 8px; }
.gp-category { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; min-height: 160px; overflow: hidden; padding: 16px; border-radius: var(--gp-panel-radius); background: var(--gp-panel); color: var(--gp-light); text-decoration: none; }
.gp-category-art { z-index: -2; inset: 0 0 0 auto; width: 66%; height: 100%; object-fit: cover; }
.gp-category::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, var(--gp-ink) 26%, rgba(34, 33, 33, .94) 45%, rgba(34, 33, 33, .36) 74%, transparent); }
.gp-category h3 { font-size: 22px; max-width: 12em; }
.gp-category p { max-width: 24ch; font-size: 14px; }
.gp-category span { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; color: var(--gp-cyan); font-size: 14px; font-weight: 600; }
.gp-category:hover span { text-decoration: underline; }
.gp-category span svg { width: 18px; height: 18px; }
.gp-platforms { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.gp-platform { grid-column: span 2; display: grid; place-items: center; min-height: 64px; border: 1px solid var(--gp-line); border-radius: var(--gp-control); }
.gp-platform:nth-child(n + 4) { grid-column: span 3; }
.gp-platform img { width: auto; max-width: 84%; height: 20px; object-fit: contain; }
.gp-platform-pc img { height: 28px; }
.gp-platform-playstation-5 { background: var(--gp-light); }
.gp-platform-playstation-4 { background: #003791; }
.gp-platform-xbox-series-xs { background: #71ae09; }
.gp-platform-xbox-one { background: #107c10; }
.gp-platform-pc { background: #171616; }
.gp-platform-playstation-5 img, .gp-platform-xbox-series-xs img { filter: brightness(0); }
.gp-platform-playstation-4 img, .gp-platform-xbox-one img, .gp-platform-pc img { filter: brightness(0) invert(1); }

.gp-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(144px, 43%); gap: 8px; margin: -4px calc(-1 * var(--gp-gutter)) 0 -4px; padding: 4px var(--gp-gutter) 8px 4px; list-style: none; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline-start: 4px; }
.gp-rail > li { display: flex; min-width: 0; scroll-snap-align: start; }
.gp-rail-gear { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 0; overflow: visible; }
.gp-rail-gear > li:nth-child(n + 3) { display: none; }
.gp-product { display: flex; flex-direction: column; width: 100%; min-width: 0; overflow: hidden; border-radius: var(--gp-panel-radius); background: var(--gp-panel); color: var(--gp-light); text-decoration: none; }
.gp-band { display: flex; align-items: center; min-height: 32px; padding: 4px 8px; font-size: 14px; font-weight: 600; line-height: 1.2; }
.gp-band img { height: 16px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; }
.gp-band-party { background: var(--gp-orange); color: var(--gp-ink); }
.gp-band-codes { background: var(--gp-cyan); color: var(--gp-ink); }
.gp-product-cover { display: block; aspect-ratio: 1; background: var(--gp-light); }
.gp-product-cover.gp-cover-disc { aspect-ratio: 3 / 4; background: #252434; }
.gp-product-cover > img { width: 100%; height: 100%; object-fit: contain; }
.gp-product-cover.gp-cover-disc > img { object-fit: cover; }
.gp-product-copy { display: flex; flex: 1; flex-direction: column; gap: 8px; align-items: flex-start; padding: 8px; }
.gp-product-name { font: 600 16px/1.2 Outfit, sans-serif; overflow-wrap: anywhere; color: var(--gp-white); }
.gp-product-details { font-size: 14px; line-height: 1.3; color: var(--gp-mist); }
.gp-saving { background: #a32323; color: var(--gp-white); border-radius: var(--gp-control); padding: 2px 6px; font-weight: 600; font-size: 14px; }
.gp-price { position: relative; display: inline-block; margin-top: auto; padding: 4px 6px; border-radius: var(--gp-control); background: var(--gp-price); color: var(--gp-white); font-size: 14px; line-height: 1.3; font-weight: 700; font-variant-numeric: tabular-nums; }
.gp-price del { display: inline-block; font-size: .93em; }
.gp-price del .woocommerce-Price-currencySymbol { display: none; }
.gp-price ins { text-decoration: none; }
.gp-price:has(del) { display: inline-flex; flex-wrap: wrap-reverse; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.gp-price .woocommerce-Price-amount { white-space: nowrap; }

.gp-promo, .gp-release { overflow: hidden; border: 1px solid var(--gp-line); border-radius: var(--gp-panel-radius); background: var(--gp-panel); }
.gp-promo-art, .gp-release-art { z-index: -2; inset: 0 0 auto; width: 100%; height: 245px; object-fit: cover; }
.gp-promo:has(.gp-promo-art), .gp-release:has(.gp-release-art) { padding-top: 200px; }
.gp-promo::after, .gp-release::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, transparent 72px, var(--gp-panel) 250px); }
.gp-promo-copy, .gp-release-copy { position: relative; padding: 16px 16px 24px; }
.gp-promo h2, .gp-ask h2, .gp-release h2 { font-size: 32px; letter-spacing: -.018em; }
.gp-promo p, .gp-ask p, .gp-release p { margin-top: 8px; max-width: 48ch; }
.gp-pills { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 16px 0; list-style: none; }
.gp-pills li { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px 4px 4px; border-radius: 20px; background: #464343; font-size: 14px; font-weight: 500; }
.gp-pills b { display: grid; place-items: center; min-width: 24px; height: 24px; padding-inline: 4px; border-radius: 20px; background: var(--gp-cyan); color: var(--gp-ink); }
.gp-release { --gp-panel: #1b1525; }
.gp-release-art { object-position: 65% center; }
.gp-release-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
.gp-release-tags span { padding: 2px 6px; border-radius: var(--gp-control); background: var(--gp-light); color: var(--gp-ink); font-size: 14px; font-weight: 600; }
.gp-release-tags span:first-child { background: var(--gp-orange); }
.gp-release-tags span:last-child { background: #71ae09; }
.gp-release-date, .gp-release-note { color: #e6cadb; font-size: 14px; }
.gp-countdown { display: flex; align-items: baseline; gap: 8px; margin-top: 16px; font-weight: 600; }
.gp-countdown b { color: #f98d4a; font: 600 48px/1 Outfit, sans-serif; }
.gp-editions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-block: 16px; }
.gp-editions a { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 8px; border: 1px solid #7c7284; border-radius: var(--gp-control); color: var(--gp-white); background: #2e2636; font-size: 14px; text-decoration: none; }
.gp-editions a:hover { border-color: var(--gp-orange); }
.gp-editions small { font-size: 14px; }
.gp-wallet-help { display: inline-flex; align-items: center; min-height: 44px; color: var(--gp-white); font-size: 14px; font-weight: 600; }
.gp-fulfillment { display: grid; gap: 1px; overflow: hidden; border: 1px solid var(--gp-line); border-radius: var(--gp-panel-radius); background: var(--gp-line); }
.gp-fulfillment-item { display: flex; align-items: flex-start; gap: 8px; padding: 16px; background: var(--gp-panel); }
.gp-fulfillment-item svg { color: var(--gp-cyan); }
.gp-fulfillment-item h3 { font-size: 16px; margin: 2px 0 4px; }
.gp-fulfillment-item p { font-size: 14px; color: var(--gp-light); white-space: pre-line; }
.gp-ask { overflow: hidden; padding: 48px 16px; border-radius: var(--gp-panel-radius); background: var(--gp-panel); text-align: center; }
.gp-cover-wall { z-index: -2; inset: -65px -30px; transform: rotate(-6deg); display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; opacity: .62; }
.gp-cover-wall img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.gp-ask::after { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(ellipse at center, #222121 10%, rgba(34, 33, 33, .88) 53%, rgba(34, 33, 33, .48)); }
.gp-ask p { margin-inline: auto; }
.gp-ask .gp-kicker { color: var(--gp-cyan); margin-bottom: 8px; }
.gp-ask .gp-actions { justify-content: center; margin-top: 16px; }

.gp-footer { border-top: 1px solid var(--gp-line); background: var(--gp-panel); font-size: 14px; }
.gp-footer-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-block: 24px; }
.gp-footer-brand { grid-column: 1 / -1; }
.gp-footer-categories { display: none; }
.gp-footer a:not(.gp-logo) { display: flex; align-items: center; min-height: 44px; color: var(--gp-light); }
.gp-footer a:hover { color: var(--gp-cyan); }
.gp-content, .woocommerce .content-area { min-height: 45vh; }
.woocommerce .content-area { width: min(calc(100% - 2 * var(--gp-gutter)), 1200px); margin-inline: auto; padding-block: 32px; }
.gp-content { padding-block: 48px; }
.gp-content article { margin-top: 16px; }
.gp-content article p { margin-top: 8px; }
.page .gp-content article { max-width: 760px; }
.page .gp-content article h2 { margin-top: 32px; }
.page .gp-content article ul { margin-top: 8px; }

@media (min-width: 600px) {
	:root { --gp-gutter: 24px; }
	.gp-hero-copy .gp-btn { flex: none; }
	.gp-categories, .gp-fulfillment { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gp-rail { grid-auto-columns: 31%; }
	.gp-rail-gear { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.gp-rail-gear > li:nth-child(3) { display: flex; }
	.gp-feature { grid-template-columns: 170px 1fr; min-height: 216px; }
	.gp-editions { max-width: 440px; }
}

@media (min-width: 1024px) {
	:root { --gp-gutter: 40px; }
	.gp-wrap { width: min(calc(100% - 2 * var(--gp-gutter)), 1200px); }
	.gp-head-mobile { display: none; }
	.gp-utility, .gp-nav { display: block; border-bottom: 1px solid var(--gp-line); font-size: 14px; }
	.gp-utility .gp-wrap { display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 36px; }
	.gp-utility a { padding-block: 6px; }
	.gp-head-main { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 24px; min-height: 72px; }
	.gp-logo img { width: 152px; }
	.gp-search { grid-row: auto; grid-column: auto; }
	.gp-account, .gp-sign-in { display: flex; align-items: center; }
	.gp-sign-in { min-height: 44px; gap: 6px; padding: 8px; border-radius: var(--gp-control); background: var(--gp-sage); color: var(--gp-ink); text-decoration: none; font-size: 14px; font-weight: 700; }
	.gp-account .gp-sign-up { display: inline-flex; margin-left: 4px; background: var(--gp-orange); color: var(--gp-ink); }
	.gp-sign-up:hover { background: #ef8545; }
	.gp-cart { gap: 4px; padding-inline: 4px; }
	.gp-cart-label { display: inline; }
	.gp-cart .gp-cart-count { position: static; }
	.gp-nav { border-top: 1px solid var(--gp-line); border-bottom: 0; }
	.gp-nav .gp-wrap { display: flex; flex-wrap: wrap; gap: 0 16px; }
	.gp-nav a { display: inline-flex; align-items: center; min-height: 40px; color: var(--gp-white); text-decoration: none; font-weight: 600; }
	.gp-nav a:hover { color: var(--gp-cyan); text-decoration: underline; }
	.gp-hero-inner { min-height: 440px; gap: 32px; padding-block: 48px; }
	.gp-hero-featured { grid-template-columns: minmax(0, 1fr) minmax(0, .96fr); }
	.gp-hero h1 { font-size: clamp(48px, 4.55vw, 72px); }
	.gp-hero-lead { font-size: 20px; }
	.gp-feature { grid-template-columns: minmax(0, 220px) minmax(0, 1fr); min-height: 280px; }
	.gp-feature-cover > img { height: 248px; }
	.gp-feature-text { padding: 24px; }
	.gp-feature-title { font-size: 32px; }
	.gp-feature .gp-price { font-size: 20px; }
	.gp-home { gap: 48px; padding-block: 24px 64px; }
	.gp-section-head { margin-bottom: 24px; }
	.gp-categories, .gp-platforms, .gp-rail { gap: 16px; }
	.gp-category { min-height: 224px; padding: 32px; }
	.gp-category h3 { font-size: 32px; max-width: none; }
	.gp-category p { max-width: 28ch; font-size: 16px; }
	.gp-platforms { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.gp-platform:nth-child(n) { grid-column: auto; min-height: 96px; }
	.gp-platform img { height: 30px; }
	.gp-platform-pc img { height: 40px; }
	.gp-rail { grid-auto-flow: row; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: 0; padding: 0; overflow: visible; }
	.gp-rail-gear { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.gp-rail-gear > li:nth-child(n) { display: flex; }
	.gp-product-copy { padding: 8px 12px 12px; }
	.gp-promo, .gp-release { display: flex; align-items: center; }
	.gp-promo { min-height: 360px; }
	.gp-promo:has(.gp-promo-art), .gp-release:has(.gp-release-art) { padding-top: 0; }
	.gp-promo-art, .gp-release-art { inset: 0 0 0 auto; width: 68%; height: 100%; }
	.gp-promo::after, .gp-release::after { background: linear-gradient(90deg, var(--gp-panel) 30%, var(--gp-panel) 36%, transparent 73%); }
	.gp-promo-copy, .gp-release-copy { width: 55%; padding: 48px; }
	.gp-promo h2, .gp-release h2, .gp-ask h2 { font-size: 48px; }
	.gp-release { min-height: 560px; }
	.gp-release-art { object-position: center; }
	.gp-release-copy { width: 57%; }
	.gp-editions a { padding: 12px; }
	.gp-fulfillment { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.gp-cover-wall { grid-template-columns: repeat(9, 1fr); gap: 16px; }
	.gp-ask { padding-block: 72px; }
	.gp-footer-inner { grid-template-columns: 1.35fr 1fr 1fr 1fr; }
	.gp-footer-brand { grid-column: auto; }
	.gp-footer-categories { display: block; }
	.gp-footer a:not(.gp-logo) { min-height: 36px; }
}

@media (prefers-reduced-motion: no-preference) {
	.gp-hero h1 { animation: gp-entrance .45s var(--gp-out) both; }
	.gp-btn, .gp-icon-button, .gp-category-art, .gp-platform { transition: background-color .2s var(--gp-out), transform .25s var(--gp-out); }
	@media (hover: hover) {
		.gp-category:hover .gp-category-art { transform: scale(1.03); }
		.gp-platform:hover { transform: translateY(-2px); }
	}
	@keyframes gp-entrance {
		from { transform: translateY(8px); }
		to { transform: translateY(0); }
	}
}

@media (max-width: 359px) {
	:root { --gp-gutter: 12px; }
	.gp-head-main { grid-template-columns: 44px minmax(0, 1fr) 44px 44px; }
	.gp-logo img { width: 140px; }
	.gp-feature-title { font-size: 20px; }
}

/* Brand photos (Trevix) set in Customizer → Homepage. Decorative: alt is empty. */
.gp-side-art { display: block; pointer-events: none; }

/* Photo panels in the social-post style: an ink panel with the game pattern carries the words,
   cut at an angle, with the loop gradient (cyan to orange) along the cut. The photo fills the rest.
   ::before is the gradient edge, ::after the ink panel; the words sit above both. */
.gp.g16 .cta.art.art-photo, .gp.g16 .cta.ask.ask-photo {
	--cut: 72px; --edge: 10px; --panel: 58%;
	position: relative; isolation: isolate; overflow: hidden;
}
.gp.g16 .cta.art.art-photo { background: var(--art, none) right 24% / 46% auto no-repeat #222121; }
.gp.g16 .cta.art.art-photo::before, .gp.g16 .cta.art.art-photo::after,
.gp.g16 .cta.ask.ask-photo::before, .gp.g16 .cta.ask.ask-photo::after {
	content: ""; display: block; position: absolute; top: 0; bottom: 0; left: 0; right: auto; opacity: 1; pointer-events: none;
	clip-path: polygon(0 0, 100% 0, calc(100% - var(--cut)) 100%, 0 100%);
}
.gp.g16 .cta.art.art-photo::before, .gp.g16 .cta.ask.ask-photo::before {
	z-index: -1; width: calc(var(--panel) + var(--edge));
	background: linear-gradient(180deg, #20c8df, #df6a20);
}
.gp.g16 .cta.art.art-photo::after, .gp.g16 .cta.ask.ask-photo::after {
	z-index: -1; width: var(--panel);
	background: linear-gradient(rgba(34,33,33,.74), rgba(34,33,33,.74)), url("assets/brand/game_pattern_white.png") 0 0 / 300px 150px, #222121;
}
.gp.g16 .cta.art.art-photo > div { position: relative; max-width: calc(var(--panel) - var(--cut) - 24px); }
.gp.g16 .cta.ask.ask-photo { text-align: left; justify-items: start; align-content: center; min-height: 420px; }
.gp.g16 .cta.ask.ask-photo > :not(.ask-photo-img) { position: relative; max-width: min(520px, calc(var(--panel) - var(--cut) - 40px)); margin-inline: 0; text-align: left; }
.gp.g16 .cta.ask.ask-photo .hero-cta { justify-content: flex-start; }
.ask-photo-img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 35%; }

/* Phones and tablets: photo on top, panel below with the cut running across. */
@media (width < 1024px) {
	.gp.g16 .cta.art.art-photo, .gp.g16 .cta.ask.ask-photo { --cut: 40px; --edge: 8px; }
	.gp.g16 .cta.art.art-photo { padding-top: 290px; background: var(--art, none) center 10% / 100% auto no-repeat #222121; background-origin: border-box; }
	.gp.g16 .cta.ask.ask-photo { min-height: 0; padding-top: 280px; }
	.ask-photo-img { height: 300px; bottom: auto; object-position: 74% 30%; }
	.gp.g16 .cta.art.art-photo::before, .gp.g16 .cta.art.art-photo::after,
	.gp.g16 .cta.ask.ask-photo::before, .gp.g16 .cta.ask.ask-photo::after {
		top: 240px; width: 100%; right: auto;
		clip-path: polygon(0 var(--cut), 100% 0, 100% 100%, 0 100%);
	}
	.gp.g16 .cta.ask.ask-photo::before, .gp.g16 .cta.ask.ask-photo::after { top: 228px; }
	.gp.g16 .cta.art.art-photo::before, .gp.g16 .cta.ask.ask-photo::before { background: linear-gradient(90deg, #20c8df, #df6a20); }
	.gp.g16 .cta.art.art-photo::after { top: calc(240px + var(--edge)); }
	.gp.g16 .cta.ask.ask-photo::after { top: calc(228px + var(--edge)); }
	.gp.g16 .cta.art.art-photo > div, .gp.g16 .cta.ask.ask-photo > :not(.ask-photo-img) { max-width: 100%; }
}

/* Logo loop while a payment is pending (M-Pesa simulator and Pesapal hand-off). */
.gp-pay-wait { display: flex; align-items: center; gap: 16px; width: 100%; }
.gp-pay-wait .checkout-wait-status { flex: 1; margin: 0; }
.gp-pay-loop { position: relative; flex: 0 0 auto; width: 120px; height: 72px; overflow: hidden; border-radius: 12px; background: #212121; border: 1px solid rgba(255,255,255,.08); }
.gp-pay-loop video { position: absolute; left: 50%; top: 50%; width: 176px; height: 176px; max-width: none; transform: translate(-50%, -50%); }

/* Page-header photos: PS5 page, category and platform archives, 404. Hidden on phones. */
.gp-side-art-intro, .gp-side-art-archive, .gp-side-art-404 {
	/* Fades in from the left and out at the right, so no photo ends in a hard edge. */
	--gp-side-fade: linear-gradient(90deg, transparent, #000 40%, #000 72%, transparent);
	position: absolute; z-index: -1; object-fit: cover;
	-webkit-mask-image: var(--gp-side-fade);
	mask-image: var(--gp-side-fade);
}
.platform-intro { position: relative; isolation: isolate; }
.gp-side-art-intro { top: 0; right: 0; width: min(56%, 560px); height: 100%; object-position: 72% 40%;  }
.shop-archives { position: relative; isolation: isolate; }
.gp-side-art-archive {
	top: 0; right: 0; width: min(46%, 520px); height: 240px; object-position: center 22%;
	-webkit-mask-image: var(--gp-side-fade), linear-gradient(180deg, #000 60%, transparent);
	-webkit-mask-composite: source-in;
	mask-image: var(--gp-side-fade), linear-gradient(180deg, #000 60%, transparent);
	mask-composite: intersect;
}
.gp-side-art-404 {
	top: 24px; right: max(16px, calc(50% - 600px)); width: 240px; height: calc(100% - 24px); object-position: center 30%;
	-webkit-mask-image: var(--gp-side-fade), linear-gradient(180deg, #000 70%, transparent);
	-webkit-mask-composite: source-in;
	mask-image: var(--gp-side-fade), linear-gradient(180deg, #000 70%, transparent);
	mask-composite: intersect;
}
@media (width >= 768px) { .platform-intro:has(.gp-side-art-intro) { min-height: 220px; } }
@media (width < 768px) { .gp-side-art-intro, .gp-side-art-archive { display: none; } }
@media (width < 1024px) { .gp-side-art-404 { display: none; } }

/* Checkout: logo loop under the pay button while the order is placed. Sits above WooCommerce's block overlay. */
.checkout-processing { position: relative; z-index: 1001; display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.checkout-processing[hidden] { display: none; }
.checkout-processing p { margin: 0; font-weight: 600; color: var(--gp-heading, #fff); }

/* WooCommerce "please wait" overlay (checkout, cart, mini-cart): dark to match the site instead of white.
   WooCommerce sets the colour inline from its script, so !important is needed. */
.gp .blockUI.blockOverlay { background: #191818 !important; opacity: .7 !important; }

/* Checkout consent line under the pay button: readable size and contrast, clear links. */
.gp .checkout-consent { margin: 12px 0 0; font-size: 14px; line-height: 1.5; color: #dcdada; text-align: center; }
.gp .checkout-consent a { color: var(--gp-cyan, #20c8df); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.gp .checkout-consent a:hover { color: #fff; }

/* Checkout "How you pay": Pesapal as one clean choice with the site's own payment tiles. */
.checkout-choices:has(> li:only-child) { grid-template-columns: 1fr; }
.checkout-pay-logos { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.checkout-pay-logos img { width: 60px; height: 26px; object-fit: contain; padding: 4px 8px; box-sizing: content-box; background: #fff; border-radius: 6px; }

/* Footer and checkout: the M-PESA wordmark keeps the same clear space inside its tile as Visa and Mastercard. */
.gp-footer .gp-pay .gp-pay__tile img[src*="mpesa-logo"], .gp-footer .gp-pay .gp-pay__tile img[src*="pesapal"] { width: 72px; height: auto; }

/* Phones: the four payment tiles share one row instead of wrapping. */
@media (width < 480px) {
	.gp-footer .gp-frow--pay .gp-pay { display: flex; flex-wrap: nowrap; gap: 8px; width: 100%; }
	.gp-footer .gp-frow--pay .gp-pay .gp-pay__tile { flex: 1 1 0; width: auto; min-width: 0; }
	.gp-footer .gp-frow--pay .gp-pay .gp-pay__tile img { width: auto; height: auto; max-width: 78%; max-height: 30px; }
}
