/* =========================================================================
 * Arcane Wonders 2026 — redesign layer
 * Loaded after custom.css. Dark cinematic frame (header, hero, footer)
 * around a light "paper" page; one accent colour; art carries the colour.
 * Matches the approved preview at aw-storefront.onrender.com.
 * ======================================================================= */

:root {
	--aw-ink: #0a0e16;
	--aw-ink-raised: #131a26;
	--aw-ink-line: #233044;
	--aw-on-ink: #eef3f8;
	--aw-on-ink-muted: #95a3b8;
	--aw-paper: #f4f6f9;
	--aw-text: #1a2130;
	--aw-muted: #5b6678;
	--aw-line: #e1e6ed;
	--aw-accent: #00bde4;
	--aw-accent-ink: #007590; /* darker than #0086a5 so small eyebrow text passes contrast */
	--aw-sale: #e0453a;
	--aw-header-h: 4rem;
}

/* `overflow-x: hidden` on html AND body (custom.css) turns body into a
   scroll container, which silently disables position: sticky. `clip`
   prevents sideways scrolling without that side effect. */
html,
body {
	overflow-x: clip;
}

body {
	background: var(--aw-paper);
	color: var(--aw-text);
	-webkit-font-smoothing: antialiased;
}

/* ---------- Type helpers ---------- */
.aw-eyebrow {
	font-size: 0.72rem !important;
	font-weight: 700;
	font-stretch: 112%;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	line-height: 1.4;
}
.aw-display {
	font-stretch: 125%;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: -0.01em;
	line-height: 0.95;
	text-wrap: balance;
}
h1, h2, h3, h4 { text-wrap: balance; }

:focus-visible {
	outline: 2px solid var(--aw-accent);
	outline-offset: 2px;
}

/* =========================================================================
 * Announcement bar
 * ======================================================================= */
.aw-announcement-bar {
	background: var(--aw-ink-raised);
	border-bottom: 1px solid var(--aw-ink-line);
	padding: 0.5rem 1rem;
}
.aw-announcement-bar p {
	color: var(--aw-on-ink);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.06em;
}
.aw-announcement-bar a {
	color: var(--aw-accent);
}

/* =========================================================================
 * Header — sticky, dark
 * The announcement bar scrolls away; the dark bar below it stays pinned.
 * ======================================================================= */
header.wp-block-template-part {
	position: sticky;
	top: calc(-1 * var(--aw-ann-h, 0px));
	z-index: 1000;
}
.admin-bar header.wp-block-template-part {
	top: calc(32px - var(--aw-ann-h, 0px));
}
@media (max-width: 782px) {
	.admin-bar header.wp-block-template-part { top: calc(46px - var(--aw-ann-h, 0px)); }
}
@media (max-width: 600px) {
	/* The admin bar stops being fixed at this width. */
	.admin-bar header.wp-block-template-part { top: calc(-1 * var(--aw-ann-h, 0px)); }
}

.aw-site-header {
	background: rgba(10, 14, 22, 0.96) !important;
	-webkit-backdrop-filter: saturate(140%) blur(8px);
	backdrop-filter: saturate(140%) blur(8px);
	border-bottom: 1px solid var(--aw-ink-line);
}
.aw-site-header__inner {
	max-width: 1280px;
	margin: 0 auto;
	min-height: calc(var(--aw-header-h) - 1.3rem);
	gap: 1.5rem;
}

/* Logo */
.aw-site-header .wp-block-site-logo img,
.aw-site-footer .wp-block-site-logo img {
	max-height: 44px;
	width: auto;
}

/* Navigation */
.aw-site-header__nav {
	flex: 1 1 auto;
	justify-content: center;
}
.aw-site-header .wp-block-navigation-item__content {
	color: rgba(238, 243, 248, 0.85);
	transition: color 0.15s;
}
.aw-site-header .wp-block-navigation-item a:hover,
.aw-site-header .wp-block-navigation-item__content:hover {
	color: var(--aw-accent) !important;
}
.aw-site-header .wp-block-navigation .wp-block-navigation__container {
	gap: 1.75rem;
}

/* Dropdowns: dark panels */
.aw-site-header .wp-block-navigation .wp-block-navigation__submenu-container {
	background: var(--aw-ink-raised) !important;
	border: 1px solid var(--aw-ink-line) !important;
	border-radius: 6px;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
	color: var(--aw-on-ink) !important;
	padding: 0.4rem 0;
}
.aw-site-header .wp-block-navigation .wp-block-navigation__submenu-container a {
	color: rgba(238, 243, 248, 0.85) !important;
	letter-spacing: 0;
	text-transform: none;
	font-size: 0.88rem;
}
.aw-site-header .wp-block-navigation .wp-block-navigation__submenu-container a:hover {
	background: rgba(255, 255, 255, 0.06);
	color: var(--aw-accent) !important;
}

/* Mobile menu overlay: dark, large type */
.wp-block-navigation__responsive-container.is-menu-open {
	background: var(--aw-ink) !important;
	color: var(--aw-on-ink) !important;
	padding: 1.5rem clamp(1rem, 4vw, 2rem);
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item a {
	color: var(--aw-on-ink) !important;
	font-size: 1.15rem;
	font-weight: 700;
	text-transform: none;
	letter-spacing: -0.01em;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container a {
	color: var(--aw-on-ink-muted) !important;
	font-size: 0.98rem;
	font-weight: 500;
}
.wp-block-navigation__responsive-container-close,
.wp-block-navigation__responsive-container-open {
	color: var(--aw-on-ink) !important;
}

/* Tools: account, search, cart, region */
.aw-site-header__tools {
	gap: 0.6rem;
}
.aw-site-header .wp-block-search__button,
.aw-site-header .wc-block-customer-account a,
.aw-site-header .wc-block-customer-account__account-icon {
	color: var(--aw-on-ink) !important;
	fill: currentColor;
}
.aw-site-header .wp-block-search__button:hover,
.aw-site-header .wc-block-customer-account a:hover {
	color: var(--aw-accent) !important;
}
.aw-site-header .wc-block-mini-cart__button {
	color: var(--aw-on-ink);
}
.wc-block-mini-cart__badge {
	background-color: var(--aw-accent) !important;
	color: #fff !important;
}

/* Region switcher */
.aw-site-header .aw-region-switcher,
.aw-site-header .aw-region-switcher__toggle {
	font-family: inherit;
	letter-spacing: 0.1em;
	font-size: 0.72rem;
}
.aw-site-header .aw-region-switcher__toggle {
	color: var(--aw-on-ink);
	border: 1px solid var(--aw-ink-line);
	padding: 0.4rem 0.6rem;
	border-radius: 999px;
}
.aw-site-header .aw-region-switcher__toggle:hover {
	background: rgba(255, 255, 255, 0.07);
}
.aw-region-switcher__dropdown {
	background: var(--aw-ink-raised) !important;
	border: 1px solid var(--aw-ink-line) !important;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45) !important;
}
.aw-region-switcher__dropdown a {
	color: var(--aw-on-ink) !important;
}
.aw-region-switcher__dropdown a:hover {
	background: rgba(255, 255, 255, 0.06) !important;
}
.aw-region-switcher__dropdown a.is-current {
	color: var(--aw-accent) !important;
}
@media (max-width: 768px) {
	.aw-region-switcher--mobile {
		background: var(--aw-ink-raised) !important;
		border-bottom: 1px solid var(--aw-ink-line) !important;
	}
	.aw-region-switcher--mobile .aw-region-switcher__toggle {
		color: var(--aw-on-ink) !important;
	}
}

/* =========================================================================
 * Footer — dark
 * ======================================================================= */
.aw-site-footer {
	margin-top: 0 !important;
	font-size: 0.9rem;
}
.aw-site-footer__tagline {
	max-width: 34ch;
	line-height: 1.65;
	margin-top: 1rem;
}
.aw-site-footer__heading {
	color: var(--aw-on-ink);
	margin-bottom: 1rem;
}
.aw-footer-links,
.aw-site-footer .aw-footer-quick-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 0.65rem;
}
.aw-footer-links a,
.aw-site-footer .aw-footer-quick-links a {
	color: var(--aw-on-ink-muted);
	font-size: 0.9rem;
	text-decoration: none;
}
.aw-footer-links a:hover,
.aw-site-footer .aw-footer-quick-links a:hover {
	color: var(--aw-accent);
	text-decoration: none;
}
.aw-site-footer__bottom {
	margin-top: clamp(2.5rem, 5vw, 3.5rem) !important;
	padding: 1.25rem 0;
	border-top: 1px solid var(--aw-ink-line);
	font-size: 0.8rem;
}
.aw-site-footer .wp-block-social-links a {
	color: var(--aw-on-ink);
}
.aw-site-footer .wp-block-social-links a:hover {
	color: var(--aw-accent);
}

/* No gap between the last section and the dark footer. */
.wp-site-blocks > footer.wp-block-template-part {
	margin-block-start: 0;
}

/* No default 24px gap between header, page and footer. */
.wp-site-blocks > main,
.wp-site-blocks > .wp-block-group {
	margin-block-start: 0;
}
.aw-home .wp-block-post-content > :first-child { margin-top: 0; }

/* =========================================================================
 * Hero — fills the screen above the fold
 * ======================================================================= */
.aw-hero2 {
	--aw-adminbar: 0px;
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: var(--aw-ink);
	color: var(--aw-on-ink);
}
.admin-bar .aw-hero2 { --aw-adminbar: 32px; }
@media (max-width: 782px) { .admin-bar .aw-hero2 { --aw-adminbar: 46px; } }

.aw-hero2__stage {
	position: relative;
	height: calc(100svh - var(--aw-head-h, 100px) - var(--aw-adminbar));
	min-height: 520px;
}
.aw-hero2__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	z-index: 0;
	pointer-events: none;
	transition: opacity 0.7s ease-out;
}
.aw-hero2__slide.is-active {
	opacity: 1;
	z-index: 1;
	pointer-events: auto;
}

/* Scene art: fills the frame, slow zoom while active */
.aw-hero2__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
.aw-hero2__slide.is-active .aw-hero2__bg { animation: aw-kenburns 9s ease-out forwards; }
.aw-hero2.is-reduced .aw-hero2__bg { animation: none !important; }
@keyframes aw-kenburns { from { transform: scale(1); } to { transform: scale(1.06); } }
.aw-hero2__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(10, 14, 22, 0.92) 0%, rgba(10, 14, 22, 0.7) 38%, rgba(10, 14, 22, 0.1) 75%);
}

/* Cutout art: blurred backdrop from the box, box floats on the right */
.aw-hero2__blur {
	position: absolute;
	inset: -15%;
	background-size: cover;
	background-position: center;
	opacity: 0.5;
	filter: blur(70px) saturate(150%);
}
.aw-hero2__vignette {
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse at 70% 50%, rgba(10, 14, 22, 0.15) 0%, rgba(10, 14, 22, 0.85) 70%);
}
.aw-hero2__box {
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	width: 48%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding-right: 4%;
}
.aw-hero2__box img {
	height: 72%;
	width: auto;
	max-width: 100%;
	object-fit: contain;
	filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.55));
	transform: translateY(16px);
	opacity: 0;
	transition: transform 0.7s ease-out, opacity 0.7s ease-out;
}
.aw-hero2__slide.is-active .aw-hero2__box img { transform: none; opacity: 1; }
.aw-hero2__fade {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 10rem;
	background: linear-gradient(to top, rgba(10, 14, 22, 0.8), transparent);
}

/* Copy */
.aw-hero2__content {
	position: relative;
	height: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 clamp(1rem, 3vw, 2rem);
	display: flex;
	align-items: center;
}
.aw-hero2__copy {
	max-width: 36rem;
	padding-bottom: 4rem;
	transform: translateY(12px);
	opacity: 0;
	transition: transform 0.7s ease-out 0.1s, opacity 0.7s ease-out 0.1s;
}
.aw-hero2__slide.is-active .aw-hero2__copy { transform: none; opacity: 1; }
.aw-hero2.is-reduced .aw-hero2__copy { transform: none; }
.aw-hero2__eyebrow {
	color: var(--aw-accent);
	margin: 0 0 1rem;
}
.aw-hero2__title {
	color: var(--aw-on-ink) !important;
	font-size: clamp(2.4rem, 6.2vw, 5.2rem);
	margin: 0 0 1.25rem;
}
.aw-hero2__desc {
	color: rgba(238, 243, 248, 0.85);
	font-size: 1.05rem;
	line-height: 1.65;
	max-width: 52ch;
	margin: 0 0 2rem;
}
.aw-hero2__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.25rem;
}
.aw-hero2__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: var(--aw-on-ink);
	color: var(--aw-ink) !important;
	font-weight: 700;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	text-decoration: none !important;
	padding: 1rem 1.75rem;
	border-radius: 3px;
	transition: background 0.15s, color 0.15s;
}
.aw-hero2__cta:hover { background: var(--aw-accent); color: #fff !important; }
.aw-hero2__price {
	font-size: 1.15rem;
	font-weight: 700;
	color: rgba(238, 243, 248, 0.9);
	font-variant-numeric: tabular-nums;
}
.aw-hero2__price del { opacity: 0.55; font-weight: 400; margin-right: 0.4em; }
.aw-hero2__price ins { text-decoration: none; }
.aw-hero2__box-mobile { display: none; }

/* Controls */
.aw-hero2__controls {
	position: absolute;
	z-index: 2;
	left: 0;
	right: 0;
	bottom: clamp(4.5rem, 9vh, 6rem);
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 clamp(1rem, 3vw, 2rem);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
}
.aw-hero2__progress { display: flex; gap: 0.5rem; flex: 1; max-width: 28rem; }
.aw-hero2__dot {
	flex: 1;
	height: 1.5rem;
	padding: 0;
	background: none;
	border: 0;
	cursor: pointer;
	display: flex;
	align-items: center;
}
.aw-hero2__track {
	display: block;
	width: 100%;
	height: 3px;
	border-radius: 3px;
	background: rgba(238, 243, 248, 0.25);
	overflow: hidden;
}
.aw-hero2__fill {
	display: block;
	height: 100%;
	background: var(--aw-on-ink);
	transform-origin: left;
	transform: scaleX(0);
}
.aw-hero2__dot.is-done .aw-hero2__fill,
.aw-hero2__dot.is-active .aw-hero2__fill { transform: scaleX(1); }
.aw-hero2.is-playing .aw-hero2__dot.is-active .aw-hero2__fill { animation: aw-progress 7s linear forwards; }
@keyframes aw-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.aw-hero2__arrows { display: flex; gap: 0.5rem; }
.aw-hero2__arrow {
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 50%;
	border: 1px solid rgba(238, 243, 248, 0.3);
	background: transparent;
	color: var(--aw-on-ink);
	font-size: 1rem;
	cursor: pointer;
	transition: background 0.15s, color 0.15s;
}
.aw-hero2__arrow:hover { background: var(--aw-on-ink); color: var(--aw-ink); }

/* Curved edge into the light page */
.aw-hero2__curve {
	position: absolute;
	z-index: 3;
	left: 0;
	bottom: -1px;
	width: 100%;
	height: clamp(2.5rem, 4.5vw, 4rem);
	fill: var(--aw-paper);
}

@media (max-width: 781px) {
	.aw-hero2__box { display: none; }
	.aw-hero2__box-mobile { display: block; width: 10rem; height: 10rem; margin-bottom: 1.5rem; }
	.aw-hero2__box-mobile img { width: 100%; height: 100%; object-fit: contain; object-position: left; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.55)); }
	.aw-hero2__shade { background: linear-gradient(180deg, rgba(10, 14, 22, 0.55) 0%, rgba(10, 14, 22, 0.88) 100%); }
	.aw-hero2__copy { padding-bottom: 6rem; }
}

/* =========================================================================
 * Home sections
 * ======================================================================= */
.aw-home-section,
.aw-band-dark__inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: clamp(3.5rem, 7vw, 5.5rem) clamp(1rem, 3vw, 2rem) 0;
	box-sizing: border-box;
}
.aw-band-dark {
	background: var(--aw-ink);
	margin-top: clamp(4rem, 8vw, 6rem) !important;
}
.aw-band-dark__inner { padding-bottom: clamp(3.5rem, 7vw, 5rem); }
.aw-band-dark + .aw-home-section { padding-top: clamp(3rem, 6vw, 4.5rem); }
/* Hide the Hot Deals band when nothing is ticked as a Hot Deal. */
.aw-band-dark:not(:has(.aw-grid)) { display: none; }

/* Section heading row */
.aw-shead {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}
.aw-shead__eyebrow { color: var(--aw-accent-ink); margin: 0 0 0.75rem; }
.aw-shead__title {
	font-size: clamp(1.9rem, 4vw, 3rem) !important;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.05;
	margin: 0;
	color: var(--aw-text);
}
.aw-shead__link {
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--aw-text) !important;
	text-decoration: none !important;
}
.aw-shead__link:hover { color: var(--aw-accent-ink) !important; }
.aw-shead--dark .aw-shead__eyebrow { color: var(--aw-accent); }
.aw-shead--dark .aw-shead__title,
.aw-shead--dark .aw-shead__link { color: var(--aw-on-ink) !important; }

/* =========================================================================
 * Product cards — no tiles: the box stands on the page with a shadow
 * ======================================================================= */
.aw-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2.5rem 1.25rem;
}
@media (min-width: 600px) { .aw-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.75rem 1.75rem; } }
@media (min-width: 1024px) { .aw-grid--cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* Centered rows for short lists (Hot Deals) */
.aw-grid--center {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
.aw-grid--center > .aw-card { width: calc(50% - 0.625rem); }
@media (min-width: 600px) { .aw-grid--center > .aw-card { width: calc(33.333% - 1.2rem); } }
@media (min-width: 1024px) { .aw-grid--center > .aw-card { width: calc(25% - 1.32rem); } }

.aw-card__link {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	text-decoration: none !important;
	color: inherit;
}
.aw-card__media {
	position: relative;
	aspect-ratio: 1 / 1;
}
.aw-card__img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: bottom;
	padding: 0.5rem;
	box-sizing: border-box;
	filter: drop-shadow(0 14px 20px rgba(10, 14, 22, 0.22));
	transition: transform 0.3s ease-out;
}
.aw-card__link:hover .aw-card__img { transform: translateY(-6px); }
.aw-card__badge {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	font-size: 0.66rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	padding: 0.35em 0.65em;
	border-radius: 2px;
	color: #fff;
	background: var(--aw-text);
}
.aw-card__badge--sale { background: var(--aw-sale); }
.aw-card__badge--pre { background: var(--aw-accent-ink); }
.aw-card__title {
	font-size: 0.98rem !important;
	font-weight: 700;
	font-stretch: 108%;
	letter-spacing: 0;
	line-height: 1.3;
	margin: 0;
	color: var(--aw-text);
}
.aw-card__link:hover .aw-card__title { color: var(--aw-accent-ink); }
.aw-card__price {
	margin: -0.35rem 0 0;
	font-size: 0.9rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	color: var(--aw-text);
}
.aw-card__price del { color: var(--aw-muted); font-weight: 400; margin-right: 0.4em; }
.aw-card__price ins { text-decoration: none; color: var(--aw-sale); }
.aw-card.is-sold-out .aw-card__img { opacity: 0.6; }

/* Dark variant (Hot Deals band) */
.aw-grid--dark .aw-card__img { filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.55)); }
.aw-grid--dark .aw-card__title,
.aw-grid--dark .aw-card__price { color: var(--aw-on-ink); }
.aw-grid--dark .aw-card__link:hover .aw-card__title { color: var(--aw-accent); }

/* =========================================================================
 * Category cards ("Explore Our Games") — a fanned stack of three games
 * standing on the page; no card background.
 * ======================================================================= */
.aw-cats {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2.5rem 1.25rem;
}
@media (min-width: 1024px) { .aw-cats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; } }
.aw-cat {
	display: flex;
	flex-direction: column;
	gap: 1.1rem;
	color: var(--aw-text) !important;
	text-decoration: none !important;
}
.aw-cat__stack {
	position: relative;
	display: block;
	aspect-ratio: 5 / 4;
}
.aw-cat__game {
	position: absolute;
	bottom: 0;
	width: 58%;
	height: 92%;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	transition: transform 0.4s ease-out;
}
.aw-cat__game img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	filter: drop-shadow(0 14px 18px rgba(10, 14, 22, 0.25));
}
.aw-cat__game--front { left: 21%; z-index: 3; }
.aw-cat__game--left  { left: 2%;  z-index: 1; transform: rotate(-7deg) scale(0.86); transform-origin: bottom center; }
.aw-cat__game--right { right: 2%; z-index: 2; transform: rotate(7deg) scale(0.86); transform-origin: bottom center; }
.aw-cat:hover .aw-cat__game--front { transform: translateY(-8px); }
.aw-cat:hover .aw-cat__game--left  { transform: rotate(-11deg) scale(0.86) translateX(-6%); }
.aw-cat:hover .aw-cat__game--right { transform: rotate(11deg) scale(0.86) translateX(6%); }
.aw-cat__text { display: flex; flex-direction: column; gap: 0.3rem; align-items: center; text-align: center; }
.aw-cat__name {
	font-size: clamp(1.05rem, 1.6vw, 1.3rem);
	font-weight: 800;
	letter-spacing: -0.01em;
	line-height: 1.15;
}
.aw-cat__arrow { display: inline-block; transition: transform 0.2s; color: var(--aw-accent-ink); }
.aw-cat:hover .aw-cat__name { color: var(--aw-accent-ink); }
.aw-cat:hover .aw-cat__arrow { transform: translateX(4px); }
.aw-cat__tag { font-size: 0.85rem; color: var(--aw-muted); }
@media (prefers-reduced-motion: reduce) {
	.aw-cat__game, .aw-cat__arrow { transition: none; }
}

/* =========================================================================
 * About band — slanted dark band flowing into the footer
 * ======================================================================= */
.aw-about-band {
	margin-top: clamp(5rem, 10vw, 8rem);
	background: var(--aw-ink);
	color: var(--aw-on-ink);
	clip-path: polygon(0 0, 100% 10%, 100% 100%, 0 100%);
}
@media (min-width: 600px) { .aw-about-band { clip-path: polygon(0 0, 100% 18%, 100% 100%, 0 100%); } }
.aw-about-band__inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: clamp(6rem, 11vw, 8rem) clamp(1rem, 3vw, 2rem) 3.5rem;
	box-sizing: border-box;
}
.aw-about-band__eyebrow { color: var(--aw-accent); margin: 0 0 0.75rem; }
.aw-about-band__title {
	color: var(--aw-on-ink) !important;
	font-size: clamp(1.9rem, 4vw, 3rem) !important;
	margin: 0 0 1.25rem;
	max-width: 48rem;
}
.aw-about-band__text { color: var(--aw-on-ink-muted); font-size: 1.05rem; line-height: 1.7; max-width: 62ch; margin: 0 0 2rem; }
.aw-about-band__btn {
	display: inline-flex;
	gap: 0.5rem;
	align-items: center;
	background: var(--aw-on-ink);
	color: var(--aw-ink) !important;
	font-weight: 700;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	text-decoration: none !important;
	padding: 1rem 1.75rem;
	border-radius: 3px;
}
.aw-about-band__btn:hover { background: var(--aw-accent); color: #fff !important; }
/* The band and the footer read as one dark area. */
.aw-home + footer .aw-site-footer { padding-top: 1rem !important; }

/* =========================================================================
 * Shop, category and tag pages
 * ======================================================================= */
.aw-archive-hero {
	position: relative;
	background: var(--aw-ink);
	color: var(--aw-on-ink);
	overflow: hidden;
}
.aw-archive-hero__inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: clamp(2.5rem, 6vw, 4rem) clamp(1rem, 3vw, 2rem) clamp(3.5rem, 7vw, 5rem);
	box-sizing: border-box;
}
.aw-archive-hero__eyebrow { color: var(--aw-accent); margin: 0 0 0.75rem; }
.aw-archive-hero__title {
	color: var(--aw-on-ink) !important;
	font-size: clamp(2.2rem, 5.5vw, 4rem) !important;
	font-weight: 900;
	font-stretch: 125%;
	text-transform: uppercase;
	letter-spacing: -0.01em;
	line-height: 0.95;
	margin: 0 0 1rem;
}
.aw-archive-hero__desc { color: var(--aw-on-ink-muted); max-width: 62ch; margin: 0 0 0.75rem; }
.aw-archive-hero__count { color: var(--aw-on-ink-muted); font-size: 0.85rem; margin: 0; font-variant-numeric: tabular-nums; }
.aw-archive-hero__curve {
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 100%;
	height: clamp(1.5rem, 3vw, 2.5rem);
	fill: var(--aw-paper);
}

.aw-archive__body {
	max-width: 1280px;
	margin: 0 auto;
	padding: clamp(2rem, 4vw, 3rem) clamp(1rem, 3vw, 2rem) clamp(4rem, 8vw, 6rem);
	box-sizing: border-box;
}
.aw-archive__layout {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: clamp(2rem, 4vw, 3.5rem);
	align-items: start;
}
.aw-archive__sidebar {
	position: sticky;
	top: calc(var(--aw-header-h) + 1.5rem);
}
.aw-archive__sidebar-title { color: var(--aw-muted); margin: 0 0 0.75rem !important; }

/* Category list */
.aw-category-list { list-style: none; margin: 0; padding: 0; }
.aw-category-list li {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 0.5rem;
	padding: 0.5rem 0;
	border-bottom: 1px solid var(--aw-line);
	font-size: 0.92rem;
}
.aw-category-list li:last-child { border-bottom: 0; }
.aw-category-list a { color: var(--aw-text) !important; text-decoration: none !important; }
.aw-category-list a:hover { color: var(--aw-accent-ink) !important; }
.aw-category-list li.current-cat a { color: var(--aw-accent-ink) !important; font-weight: 700; }
.aw-category-list .count { color: var(--aw-muted); font-size: 0.78rem; font-variant-numeric: tabular-nums; }

/* Toolbar */
.aw-archive__products .aw-shop-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1.5rem;
	padding: 0 0 1.25rem;
	margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
	border-bottom: 1px solid var(--aw-line);
}
.aw-shop-toolbar__sort select {
	appearance: none;
	-webkit-appearance: none;
	font: inherit;
	font-size: 0.85rem;
	color: var(--aw-text);
	background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%231a2130' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 0.85rem center;
	border: 1px solid var(--aw-line);
	border-radius: 999px;
	padding: 0.55rem 2.2rem 0.55rem 1rem;
	cursor: pointer;
}
.aw-shop-toolbar__sort select:hover { border-color: var(--aw-muted); }
.aw-shop-toolbar__per-page { display: flex; align-items: center; gap: 0.35rem; font-size: 0.8rem; color: var(--aw-muted); }
.aw-per-page-link {
	min-width: 2.2rem;
	text-align: center;
	padding: 0.4rem 0.55rem;
	border: 1px solid transparent;
	border-radius: 999px;
	color: var(--aw-text) !important;
	text-decoration: none !important;
	font-variant-numeric: tabular-nums;
	background: transparent;
}
.aw-per-page-link:hover { border-color: var(--aw-line); background: transparent; }
.aw-per-page-link.is-active { background: var(--aw-ink); color: var(--aw-on-ink) !important; border-color: var(--aw-ink); }

/* Three columns beside the sidebar */
@media (min-width: 1024px) { .aw-grid--archive { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .aw-grid--archive { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.aw-archive-empty { color: var(--aw-muted); }

/* Page numbers */
.aw-pagination { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.aw-pagination ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem; }
.aw-pagination a,
.aw-pagination span.page-numbers {
	display: grid;
	place-items: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding: 0 0.75rem;
	box-sizing: border-box;
	border-radius: 999px;
	border: 1px solid var(--aw-line);
	color: var(--aw-text) !important;
	text-decoration: none !important;
	font-size: 0.9rem;
	font-variant-numeric: tabular-nums;
}
.aw-pagination a:hover { border-color: var(--aw-muted); }
.aw-pagination .current { background: var(--aw-ink); border-color: var(--aw-ink) !important; color: var(--aw-on-ink) !important; }
.aw-pagination .dots { border-color: transparent !important; }

/* Phones and small tablets: categories become a row of chips */
@media (max-width: 860px) {
	.aw-archive__layout { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
	.aw-archive__sidebar { position: static; }
	.aw-archive__sidebar-title { display: none; }
	.aw-category-list {
		display: flex;
		gap: 0.5rem;
		overflow-x: auto;
		padding-bottom: 0.25rem;
		scrollbar-width: none;
		margin: 0 calc(-1 * clamp(1rem, 3vw, 2rem));
		padding-inline: clamp(1rem, 3vw, 2rem);
	}
	.aw-category-list::-webkit-scrollbar { display: none; }
	.aw-category-list li {
		flex: 0 0 auto;
		border: 1px solid var(--aw-line);
		border-radius: 999px;
		padding: 0.45rem 0.9rem;
		white-space: nowrap;
	}
	.aw-category-list li:last-child { border: 1px solid var(--aw-line); }
	.aw-category-list li.current-cat { background: var(--aw-ink); border-color: var(--aw-ink); }
	.aw-category-list li.current-cat a,
	.aw-category-list li.current-cat .count { color: var(--aw-on-ink) !important; }
}

/* =========================================================================
 * Product page — dark top section
 * ======================================================================= */
.aw-product-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: var(--aw-ink);
	color: var(--aw-on-ink);
}
.aw-product-hero__blur {
	position: absolute;
	inset: -20%;
	z-index: -1;
	background-size: cover;
	background-position: center;
	opacity: 0.35;
	filter: blur(80px) saturate(150%);
}
.aw-product-hero::after { /* soft vignette + curve into the page */
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: radial-gradient(ellipse at 30% 45%, transparent 0%, rgba(10, 14, 22, 0.75) 75%);
}
.aw-product-hero__inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: clamp(2rem, 5vw, 3.5rem) clamp(1rem, 3vw, 2rem) clamp(3rem, 6vw, 4.5rem);
	box-sizing: border-box;
}
.aw-product-hero__cols { gap: clamp(2rem, 5vw, 4.5rem) !important; align-items: center !important; margin-bottom: 0 !important; }

/* Gallery on dark: no tiles, the box floats */
.aw-product-hero .woocommerce-product-gallery { margin: 0 !important; }
.aw-product-hero .woocommerce-product-gallery__image,
.aw-product-hero .woocommerce-product-gallery__wrapper,
.aw-product-hero .flex-viewport { background: transparent !important; }
.aw-product-hero .woocommerce-product-gallery__image img {
	filter: drop-shadow(0 30px 45px rgba(0, 0, 0, 0.55));
	border-radius: 0;
}
.aw-product-hero .flex-control-thumbs {
	display: flex !important;
	gap: 0.6rem;
	margin-top: 1.25rem !important;
	padding: 0 !important;
}
.aw-product-hero .flex-control-thumbs li { width: 4.5rem !important; float: none !important; margin: 0 !important; }
.aw-product-hero .flex-control-thumbs img {
	border-radius: 6px;
	opacity: 0.55;
	border: 1px solid var(--aw-ink-line);
	background: rgba(255, 255, 255, 0.04);
	transition: opacity 0.2s, border-color 0.2s;
}
.aw-product-hero .flex-control-thumbs img:hover,
.aw-product-hero .flex-control-thumbs img.flex-active { opacity: 1; border-color: var(--aw-accent); }
.aw-product-hero .woocommerce-product-gallery__trigger { background: var(--aw-on-ink) !important; }

/* Info column */
.aw-product-hero__eyebrow { margin: 0 0 1rem; }
.aw-product-hero__eyebrow a { color: var(--aw-accent) !important; text-decoration: none !important; }
.aw-product-hero__eyebrow a:hover { text-decoration: underline !important; }
.aw-product-hero__title {
	color: var(--aw-on-ink) !important;
	font-size: clamp(2.2rem, 4.8vw, 3.9rem) !important;
	font-weight: 900 !important;
	font-stretch: 125%;
	text-transform: uppercase;
	letter-spacing: -0.01em;
	line-height: 0.95 !important;
	margin: 0 0 1.25rem !important;
}
.aw-product-hero .wc-block-components-product-rating { margin-bottom: 0.75rem; }
.aw-product-hero .wc-block-components-product-rating__stars span::before { color: var(--aw-accent); }
.aw-product-hero__price,
.aw-product-hero__price .wc-block-components-product-price {
	color: var(--aw-on-ink) !important;
	font-size: 1.6rem !important;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	margin-bottom: 1.5rem !important;
}
.aw-product-hero__price del { color: var(--aw-on-ink-muted); font-weight: 400; font-size: 1.15rem; margin-right: 0.4em; }
.aw-product-hero__price ins { text-decoration: none; color: var(--aw-accent); }

/* Spec chips */
.aw-specs {
	list-style: none;
	margin: 0 0 2rem;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}
.aw-specs li {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	padding: 0.6rem 1rem;
	border: 1px solid var(--aw-ink-line);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.03);
	min-width: 5.5rem;
}
.aw-specs__label { font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--aw-on-ink-muted); }
.aw-specs__value { font-size: 1.05rem; font-weight: 700; color: var(--aw-on-ink); font-variant-numeric: tabular-nums; }

/* Add to cart on dark */
.aw-product-hero form.cart { display: flex; flex-wrap: wrap; align-items: stretch; gap: 0.75rem; margin: 0 !important; }
.aw-product-hero form.cart .quantity input.qty {
	height: 100%;
	min-height: 3.1rem;
	width: 4.5rem;
	text-align: center;
	background: transparent;
	color: var(--aw-on-ink);
	border: 1px solid var(--aw-ink-line);
	border-radius: 3px;
	font: inherit;
	font-weight: 700;
}
.aw-product-hero .single_add_to_cart_button {
	background: var(--aw-accent) !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 3px !important;
	font-weight: 700 !important;
	font-size: 0.82rem !important;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	padding: 1rem 2.25rem !important;
	min-height: 3.1rem;
	flex: 1 1 12rem;
	max-width: 22rem;
}
.aw-product-hero .single_add_to_cart_button:hover { background: var(--aw-accent-ink) !important; }
.aw-product-hero .single_add_to_cart_button.disabled { opacity: 0.45; }
.aw-product-hero .stock { color: var(--aw-on-ink-muted); font-size: 0.9rem; }
.aw-product-hero .stock.out-of-stock { color: #ff8a80; font-weight: 700; }
/* Variable products: option pickers */
.aw-product-hero table.variations { margin-bottom: 1rem; border: 0; }
.aw-product-hero table.variations th,
.aw-product-hero table.variations td { border: 0; padding: 0.25rem 0.5rem 0.25rem 0; color: var(--aw-on-ink); background: transparent; }
.aw-product-hero table.variations select {
	appearance: none;
	-webkit-appearance: none;
	font: inherit;
	color: var(--aw-on-ink);
	background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23eef3f8' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 0.9rem center;
	border: 1px solid var(--aw-ink-line);
	border-radius: 3px;
	padding: 0.65rem 2.4rem 0.65rem 0.9rem;
	min-width: 14rem;
}
.aw-product-hero table.variations select option { color: #1a2130; }
.aw-product-hero .reset_variations { color: var(--aw-on-ink-muted) !important; font-size: 0.8rem; }
.aw-product-hero .woocommerce-variation-price .price { color: var(--aw-on-ink); font-weight: 700; }
.aw-product-hero #wc-stripe-express-checkout-element,
.aw-product-hero .wc-stripe-payment-request-wrapper { max-width: 22rem; }

/* =========================================================================
 * Product page — body (description + game details) on the light page
 * ======================================================================= */
.aw-product-body {
	max-width: 960px;
	margin: 0 auto;
	padding: clamp(3rem, 6vw, 4.5rem) clamp(1rem, 3vw, 2rem) 0;
	box-sizing: border-box;
}
.aw-product-body__eyebrow { color: var(--aw-accent-ink); margin: 0 0 1rem !important; }
.aw-product-body__desc { font-size: 1.05rem; line-height: 1.75; color: var(--aw-text); }
.aw-product-body__desc img { max-width: 100%; height: auto; }

/* Game details sections */
.aw-product-body .aw-section { margin: clamp(3rem, 6vw, 4rem) 0 0; padding: 0; }
.aw-product-body .aw-section h3 {
	font-family: inherit !important;
	text-align: left;
	text-transform: none;
	font-size: clamp(1.5rem, 2.6vw, 2rem) !important;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--aw-text);
	margin: 0 0 1.5rem;
}
/* Specs are already shown in the top section */
.aw-product-body .aw-game-specs { display: none; }
.aw-product-body .aw-ship-notice {
	margin: 2rem 0 0;
	background: transparent;
	border-left: 3px solid var(--aw-accent);
	border-radius: 0;
	padding: 0.25rem 0 0.25rem 1rem;
	text-align: left;
	font-size: 0.92rem;
	color: var(--aw-muted);
}
.aw-product-body .aw-ship-notice strong { font-weight: 600; }

/* Photo strip */
.aw-product-body .aw-gallery-section { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.aw-product-body .aw-gallery-carousel { gap: 1rem; }
.aw-product-body .aw-gallery-item { border-radius: 10px; box-shadow: 0 14px 30px rgba(10, 14, 22, 0.14); }
.aw-product-body .aw-gallery-item img { border: 0 !important; border-radius: 10px; }

/* Features */
.aw-product-body .aw-feature { border-bottom-color: var(--aw-line); gap: 2rem; }
.aw-product-body .aw-feature-image img { border-radius: 10px; box-shadow: 0 14px 30px rgba(10, 14, 22, 0.14); }
.aw-product-body .aw-feature-desc { color: var(--aw-text); line-height: 1.75; }

/* Box contents */
.aw-product-body .aw-section ul { color: var(--aw-text); }
.aw-product-body .aw-viewer-modal-trigger {
	background: var(--aw-ink) !important;
	color: var(--aw-on-ink) !important;
	border-radius: 3px !important;
	font-size: 0.8rem !important;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	padding: 0.9rem 1.6rem !important;
}
.aw-product-body .aw-viewer-modal-trigger:hover { background: var(--aw-accent-ink) !important; }

/* Expansions: like product cards */
.aw-product-body .aw-expansions-grid { gap: 2rem 1.5rem; }
.aw-product-body .aw-expansion-card {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
	color: var(--aw-text) !important;
	text-decoration: none !important;
}
.aw-product-body .aw-expansion-card img {
	border-radius: 0 !important;
	filter: drop-shadow(0 12px 18px rgba(10, 14, 22, 0.22));
	transition: transform 0.3s ease-out;
}
.aw-product-body .aw-expansion-card:hover img { transform: translateY(-5px); }
.aw-product-body .aw-expansion-card span { font-weight: 700; font-size: 0.95rem; }
.aw-product-body .aw-expansion-card:hover span { color: var(--aw-accent-ink); }

/* Videos */
.aw-product-body .aw-videos { gap: 1.5rem; }
.aw-product-body .aw-video iframe { border-radius: 10px; }

/* Reviews & quotes */
.aw-product-body .aw-quote { border-left: 3px solid var(--aw-accent); background: transparent; padding: 0.25rem 0 0.25rem 1.25rem; margin: 0 0 1.75rem; }
.aw-product-body .aw-quote p { font-size: 1.1rem; font-style: italic; line-height: 1.6; color: var(--aw-text); }
.aw-product-body .aw-quote cite { color: var(--aw-muted); font-style: normal; font-size: 0.88rem; }

/* Downloads & links */
.aw-product-body .aw-downloads,
.aw-product-body .aw-external-links { columns: 1 !important; padding: 0 !important; list-style: none; }
.aw-product-body .aw-downloads li,
.aw-product-body .aw-external-links li { border-bottom: 1px solid var(--aw-line); padding: 0.85rem 0; margin: 0; }
.aw-product-body .aw-downloads a,
.aw-product-body .aw-external-links a { color: var(--aw-text) !important; font-weight: 600; text-decoration: none !important; }
.aw-product-body .aw-downloads a:hover,
.aw-product-body .aw-external-links a:hover { color: var(--aw-accent-ink) !important; }
.aw-product-body .aw-club-link {
	display: inline-block;
	background: var(--aw-accent) !important;
	color: #fff !important;
	font-weight: 700;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	padding: 1rem 1.75rem;
	border-radius: 3px;
	text-decoration: none !important;
}

/* You May Also Like */
.aw-related { margin-top: clamp(4rem, 8vw, 6rem); padding-bottom: clamp(4rem, 8vw, 6rem); }
.aw-related__inner { max-width: 1280px; margin: 0 auto; padding: 0 clamp(1rem, 3vw, 2rem); box-sizing: border-box; }

@media (max-width: 781px) {
	.aw-product-hero__media { max-width: 26rem; margin: 0 auto; }
	.aw-product-hero__title { font-size: clamp(2rem, 9vw, 2.6rem) !important; }
}

/* Showcase pages ([aw_showcase]): the hero sits directly under the header.
   The "Page (no title)" template adds top padding, plus WordPress's 24px gap. */
main:has(.aw-showcase) { margin-block-start: 0 !important; }
main:has(.aw-showcase) .wp-block-group:has(> .wp-block-post-content > .aw-showcase:first-child) { padding-top: 0 !important; }
.wp-block-post-content > .aw-showcase:first-child { margin-top: 0 !important; }


/* =========================================================================
 * Product page — refinements (description up top, buy block alignment)
 * ======================================================================= */
.aw-product-hero__title { margin-bottom: 1rem !important; }
.aw-product-hero__subtitle {
	display: block;
	margin-top: 0.75rem;
	font-size: 0.82rem;
	font-weight: 700;
	font-stretch: 112%;
	letter-spacing: 0.16em;
	line-height: 1.4;
	color: var(--aw-accent);
}

/* Description on dark */
.aw-product-hero__desc {
	color: rgba(238, 243, 248, 0.82);
	font-size: 1rem;
	line-height: 1.7;
	margin: 0 0 1.5rem;
	max-width: 36rem;
}
.aw-product-hero__desc strong,
.aw-product-hero__desc b,
.aw-product-hero__desc h2,
.aw-product-hero__desc h3,
.aw-product-hero__desc h4 { color: var(--aw-on-ink) !important; }
.aw-product-hero__desc p { margin: 0 0 0.85rem; }
.aw-product-hero__desc a { color: var(--aw-accent) !important; }
.aw-product-hero__desc img { max-width: 100%; height: auto; }

/* Ships-from line, right above Add to cart */
.aw-ship-line {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 1.25rem;
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--aw-on-ink);
}
.aw-product-body .aw-ship-notice { display: none; } /* now shown up top */

/* One aligned buy block: quantity + button, then express pay, same width */
.aw-product-hero__buy { --aw-buy-w: 26rem; max-width: var(--aw-buy-w); }
.aw-product-hero__buy form.cart { width: 100%; flex-wrap: nowrap; }
.aw-product-hero__buy .variations_form { flex-wrap: wrap; }
.aw-product-hero__buy .single_variation_wrap { width: 100%; }
.aw-product-hero__buy .woocommerce-variation-add-to-cart { display: flex; gap: 0.75rem; width: 100%; }
.aw-product-hero__buy .quantity { margin: 0 !important; flex: 0 0 auto; }
.aw-product-hero form.cart .quantity input.qty {
	width: 4.75rem;
	min-height: 3.2rem;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(238, 243, 248, 0.38);
	border-radius: 3px;
	color: var(--aw-on-ink);
	font-size: 1rem;
}
.aw-product-hero form.cart .quantity input.qty:focus { border-color: var(--aw-accent); outline: none; }
.aw-product-hero .single_add_to_cart_button {
	flex: 1 1 auto !important;
	max-width: none !important;
	min-height: 3.2rem;
	text-transform: uppercase !important;
	letter-spacing: 0.12em !important;
	font-size: 0.82rem !important;
}
.aw-product-hero__buy #wc-stripe-express-checkout-element,
.aw-product-hero__buy .wc-stripe-payment-request-wrapper,
.aw-product-hero__buy [id^="wc-stripe-express-checkout"],
.aw-product-hero__buy .ppc-button-wrapper {
	width: 100% !important;
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}
.aw-product-hero__buy #wc-stripe-express-checkout-element { margin-top: 0.75rem !important; }
.aw-product-hero__buy .stock { margin: 0 0 0.75rem; }

/* WooCommerce's clearfix ::before/::after become empty flex items in the
   buy row and each picks up the 12px gap, insetting quantity and button. */
.aw-product-hero form.cart::before,
.aw-product-hero form.cart::after,
.aw-product-hero .woocommerce-variation-add-to-cart::before,
.aw-product-hero .woocommerce-variation-add-to-cart::after { display: none !important; }
.aw-product-hero form.cart .quantity input.qty { margin-right: 0 !important; }

/* Tighter buy block: sized to its content, not the column. */
.aw-product-hero__buy { --aw-buy-w: 20rem; }
.aw-product-hero form.cart .quantity input.qty { width: 4.25rem; min-height: 3rem; }
.aw-product-hero .single_add_to_cart_button { min-height: 3rem; padding: 0.9rem 1.5rem !important; }
@media (max-width: 781px) { .aw-product-hero__buy { --aw-buy-w: 100%; } }


/* Product backdrop: scene art when the game has it, otherwise a soft blur. */
.aw-product-hero__blur {
	inset: -10%;
	opacity: 0.3;
	filter: blur(36px) saturate(140%);
}
.aw-product-hero__scene { position: absolute; inset: 0; z-index: -2; }
.aw-product-hero__scene-img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
/* Darker toward the text side (right) and the bottom edge. */
.aw-product-hero:has(.aw-product-hero__scene)::after {
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(10, 14, 22, 0.55) 0%, rgba(10, 14, 22, 0.72) 45%, rgba(10, 14, 22, 0.9) 100%),
		linear-gradient(to top, rgba(10, 14, 22, 0.85) 0%, transparent 35%);
}
.aw-product-hero:has(.aw-product-hero__blur)::after {
	background: radial-gradient(ellipse at 30% 45%, rgba(10, 14, 22, 0.1) 0%, rgba(10, 14, 22, 0.85) 75%);
}
@media (max-width: 781px) {
	.aw-product-hero:has(.aw-product-hero__scene)::after { background: rgba(10, 14, 22, 0.8); }
}

/* Scene image must fill the whole section; a generic img{height:auto}
   rule was winning, leaving the lower part of the section bare. */
.aw-product-hero .aw-product-hero__scene-img {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover;
}

/* Express pay (Apple/Google Pay): Stripe reveals the buttons a moment after
   load, which used to grow the section. Reserve their space from the start
   and fade them in, so nothing moves. Space for two stacked buttons. */
.aw-product-hero__buy #wc-stripe-express-checkout-element {
	display: block !important;
	min-height: 6.5rem;
	opacity: 0;
	transition: opacity 0.3s ease-out;
}
.aw-product-hero__buy #wc-stripe-express-checkout-element:has(iframe) { opacity: 1; }

/* Feature images: no box. Many have white baked into the file; multiply
   blends that white into the page so only the artwork shows. */
.aw-product-body .aw-feature-image img {
	box-shadow: none !important;
	border-radius: 0 !important;
	border: 0 !important;
	background: transparent !important;
	mix-blend-mode: multiply;
}
.aw-product-body .aw-feature-image { background: transparent !important; box-shadow: none !important; border-radius: 0 !important; }

/* Game features: no divider lines; spacing alone separates the rows. */
.aw-product-body .aw-feature {
	border-bottom: 0 !important;
	padding-bottom: 0 !important;
	margin-bottom: clamp(2.5rem, 5vw, 3.5rem) !important;
}
.aw-product-body .aw-feature:last-child { margin-bottom: 0 !important; }

/* "You May Also Like": clear space above, sits right on the footer below.
   Padding, not margin: the page layout resets top margins on its children. */
.aw-related {
	margin: 0 !important;
	padding-top: clamp(5rem, 10vw, 8rem) !important;
	padding-bottom: clamp(2.5rem, 4vw, 3.5rem) !important;
}


/* =========================================================================
 * Photo viewer (lightbox) for the product photo strip
 * ======================================================================= */
.aw-product-body a.aw-gallery-item { display: block; cursor: zoom-in; transition: transform 0.25s ease-out, box-shadow 0.25s; }
.aw-product-body a.aw-gallery-item:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(10, 14, 22, 0.2); }

.aw-lightbox {
	width: 100vw;
	height: 100vh;
	max-width: none;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--aw-on-ink);
}
.aw-lightbox::backdrop { background: rgba(10, 14, 22, 0.94); }
.aw-lightbox[open] { animation: aw-lb-in 0.2s ease-out; }
@keyframes aw-lb-in { from { opacity: 0; } to { opacity: 1; } }
.aw-lightbox__figure {
	margin: 0;
	width: 100%;
	height: 100%;
	display: grid;
	place-items: center;
	padding: 4.5rem clamp(1rem, 7vw, 6rem);
	box-sizing: border-box;
}
.aw-lightbox__img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: 8px;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.aw-lightbox__count {
	position: fixed;
	left: 50%;
	bottom: 1.5rem;
	transform: translateX(-50%);
	margin: 0;
	font-size: 0.85rem;
	font-variant-numeric: tabular-nums;
	color: var(--aw-on-ink-muted);
}
.aw-lightbox__btn {
	position: fixed;
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	border: 1px solid rgba(238, 243, 248, 0.3);
	background: rgba(10, 14, 22, 0.5);
	color: var(--aw-on-ink);
	font-size: 1.15rem;
	line-height: 1;
	cursor: pointer;
	transition: background 0.15s, color 0.15s;
}
.aw-lightbox__btn:hover { background: var(--aw-on-ink); color: var(--aw-ink); }
.aw-lightbox__close { top: 1.25rem; right: 1.25rem; font-size: 1.6rem; }
.aw-lightbox__prev { left: 1.25rem; top: 50%; transform: translateY(-50%); }
.aw-lightbox__next { right: 1.25rem; top: 50%; transform: translateY(-50%); }
.aw-lightbox.is-single .aw-lightbox__prev,
.aw-lightbox.is-single .aw-lightbox__next { display: none; }
@media (max-width: 600px) {
	.aw-lightbox__prev, .aw-lightbox__next { top: auto; bottom: 1rem; transform: none; }
	.aw-lightbox__count { bottom: 1.9rem; }
}
@media (prefers-reduced-motion: reduce) {
	.aw-lightbox[open] { animation: none; }
	.aw-product-body a.aw-gallery-item { transition: none; }
}

/* Spec chips: frosted glass so they stand out over busy artwork. */
.aw-specs li {
	background: rgba(255, 255, 255, 0.09);
	-webkit-backdrop-filter: blur(12px) saturate(140%);
	backdrop-filter: blur(12px) saturate(140%);
	border: 1px solid rgba(238, 243, 248, 0.22);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 24px rgba(0, 0, 0, 0.25);
	padding: 0.7rem 1.1rem;
}
.aw-specs__label { color: var(--aw-accent); }
.aw-specs__value { font-size: 1.12rem; }

/* Readability over scene art: darker behind the text column only,
   brighter body text with a faint shadow. */
.aw-product-hero:has(.aw-product-hero__scene)::after {
	background:
		linear-gradient(90deg, rgba(10, 14, 22, 0.5) 0%, rgba(10, 14, 22, 0.66) 38%, rgba(10, 14, 22, 0.86) 54%, rgba(10, 14, 22, 0.93) 100%),
		linear-gradient(to top, rgba(10, 14, 22, 0.85) 0%, transparent 35%);
}
@media (max-width: 781px) {
	.aw-product-hero:has(.aw-product-hero__scene)::after { background: rgba(10, 14, 22, 0.86); }
}
.aw-product-hero__desc { color: rgba(238, 243, 248, 0.93); }
.aw-product-hero__desc,
.aw-ship-line,
.aw-product-hero .stock { text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); }
.aw-product-hero .stock { color: rgba(238, 243, 248, 0.8); }

/* Behind the text column, soften the artwork's detail (blur fades in from
   the middle) so lines in the art don't compete with the words. */
.aw-product-hero:has(.aw-product-hero__scene)::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	width: 62%;
	z-index: -1;
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
	-webkit-mask-image: linear-gradient(to right, transparent 0%, #000 28%);
	mask-image: linear-gradient(to right, transparent 0%, #000 28%);
}
.aw-product-hero:has(.aw-product-hero__scene)::after {
	background:
		linear-gradient(90deg, rgba(10, 14, 22, 0.5) 0%, rgba(10, 14, 22, 0.66) 38%, rgba(10, 14, 22, 0.9) 54%, rgba(10, 14, 22, 0.95) 100%),
		linear-gradient(to top, rgba(10, 14, 22, 0.85) 0%, transparent 35%);
}
@media (max-width: 781px) {
	.aw-product-hero:has(.aw-product-hero__scene)::before { width: 100%; -webkit-mask-image: none; mask-image: none; }
	.aw-product-hero:has(.aw-product-hero__scene)::after { background: rgba(10, 14, 22, 0.86); }
}

/* =========================================================================
 * Cart, checkout and account pages
 * ======================================================================= */
.aw-page-hero .aw-archive-hero__inner { padding-bottom: clamp(3rem, 6vw, 4rem); }
.aw-shop-page__body {
	max-width: 1200px;
	margin: 0 auto;
	padding: clamp(2rem, 4vw, 3rem) clamp(1rem, 3vw, 2rem) clamp(4rem, 8vw, 6rem);
	box-sizing: border-box;
}
.aw-shop-page__body .wp-block-woocommerce-cart,
.aw-shop-page__body .wp-block-woocommerce-checkout { max-width: none; margin: 0; }

/* ---- Shared: fonts, headings, inputs, choices, buttons ---- */
.aw-shop-page .wc-block-components-title,
.aw-shop-page .wc-block-components-checkout-step__title,
.aw-shop-page .wc-block-cart__totals-title,
.aw-shop-page .wc-block-components-order-summary__button-text {
	font-family: inherit !important;
	font-weight: 800 !important;
	letter-spacing: -0.015em !important;
	text-transform: none !important;
	color: var(--aw-text) !important;
}
.aw-shop-page .wc-block-components-checkout-step__title { font-size: 1.3rem !important; }
.aw-shop-page .wc-block-cart__totals-title { font-size: 0.72rem !important; letter-spacing: 0.16em !important; text-transform: uppercase !important; color: var(--aw-muted) !important; }

/* Text fields and dropdowns: white fields (form controls), soft borders, cyan focus */
.aw-shop-page .wc-block-components-text-input input,
.aw-shop-page .wc-block-components-textarea,
.aw-shop-page .wc-blocks-components-select__select,
.aw-shop-page .wc-block-components-combobox .wc-block-components-combobox-control input,
.aw-shop-page .woocommerce-Input,
.aw-shop-page .woocommerce form .input-text,
.aw-shop-page .woocommerce form select {
	background: #fff !important;
	border: 1px solid var(--aw-line) !important;
	border-radius: 8px !important;
	color: var(--aw-text) !important;
	box-shadow: none !important;
}
.aw-shop-page .wc-block-components-text-input input:focus,
.aw-shop-page .wc-blocks-components-select__select:focus,
.aw-shop-page .wc-block-components-textarea:focus,
.aw-shop-page .woocommerce form .input-text:focus {
	border-color: var(--aw-accent) !important;
	box-shadow: 0 0 0 3px rgba(0, 189, 228, 0.18) !important;
	outline: none !important;
}
.aw-shop-page .wc-block-components-text-input label,
.aw-shop-page .wc-blocks-components-select__label { color: var(--aw-muted) !important; }

/* Shipping and payment choices: rounded options, selected one in cyan */
.aw-shop-page .wc-block-components-radio-control__option,
.aw-shop-page .wc-block-components-radio-control-accordion-option {
	border-radius: 10px !important;
}
.aw-shop-page .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control__option--checked-option-highlighted,
.aw-shop-page .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted {
	box-shadow: inset 0 0 0 2px var(--aw-accent) !important;
	background: rgba(0, 189, 228, 0.05) !important;
}
.aw-shop-page .wc-block-components-radio-control__input:checked {
	border-color: var(--aw-accent) !important;
}
.aw-shop-page .wc-block-components-radio-control__input:checked::before { background: var(--aw-accent) !important; }
.aw-shop-page .wc-block-components-checkbox__input:checked { background: var(--aw-accent) !important; border-color: var(--aw-accent) !important; }

/* Main action buttons */
.aw-shop-page .wc-block-cart__submit-button,
.aw-shop-page .wc-block-components-checkout-place-order-button,
.aw-shop-page .wc-block-components-button:not(.is-link):not(.wc-block-components-totals-coupon__button),
.aw-shop-page .woocommerce-button,
.aw-shop-page .woocommerce .button {
	background: var(--aw-accent) !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 3px !important;
	font-weight: 700 !important;
	font-size: 0.82rem !important;
	text-transform: uppercase !important;
	letter-spacing: 0.12em !important;
	min-height: 3.25rem;
	box-shadow: none !important;
	transition: background 0.15s;
}
.aw-shop-page .wc-block-cart__submit-button:hover,
.aw-shop-page .wc-block-components-checkout-place-order-button:hover,
.aw-shop-page .wc-block-components-button:not(.is-link):hover,
.aw-shop-page .woocommerce-button:hover,
.aw-shop-page .woocommerce .button:hover { background: var(--aw-accent-ink) !important; }
.aw-shop-page .wc-block-components-totals-coupon__button {
	background: var(--aw-ink) !important;
	color: var(--aw-on-ink) !important;
	border-radius: 8px !important;
	font-weight: 700 !important;
}
.aw-shop-page .wc-block-components-checkout-return-to-cart-button,
.aw-shop-page .wc-block-components-button.is-link { color: var(--aw-muted) !important; }

/* Links in panels */
.aw-shop-page .wc-block-components-panel__button,
.aw-shop-page .wc-block-components-totals-coupon-link { color: var(--aw-accent-ink) !important; }

/* ---- Item lists (cart rows, order summary): art without boxes ---- */
.aw-shop-page .wc-block-cart-item__image img,
.aw-shop-page .wc-block-components-order-summary-item__image img {
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	filter: drop-shadow(0 6px 10px rgba(10, 14, 22, 0.18));
}
.aw-shop-page .wc-block-components-order-summary-item__quantity {
	background: var(--aw-ink) !important;
	color: var(--aw-on-ink) !important;
	border: 0 !important;
	box-shadow: none !important;
}
.aw-shop-page .wc-block-components-product-name {
	color: var(--aw-text) !important;
	font-weight: 700 !important;
	text-decoration: none !important;
}
.aw-shop-page a.wc-block-components-product-name:hover { color: var(--aw-accent-ink) !important; }
.aw-shop-page .wc-block-components-product-metadata,
.aw-shop-page .wc-block-components-product-metadata__description { color: var(--aw-muted) !important; }
.aw-shop-page .wc-block-cart-items { border-color: var(--aw-line) !important; }
.aw-shop-page .wc-block-cart-items th { color: var(--aw-muted) !important; font-size: 0.72rem !important; letter-spacing: 0.14em !important; }
.aw-shop-page .wc-block-cart-items td { border-color: var(--aw-line) !important; }
.aw-shop-page .wc-block-components-product-badge { border-radius: 2px !important; border-color: var(--aw-sale) !important; color: var(--aw-sale) !important; }

/* Quantity steppers */
.aw-shop-page .wc-block-components-quantity-selector {
	border: 1px solid var(--aw-line) !important;
	border-radius: 999px !important;
	background: #fff !important;
	overflow: hidden;
}
.aw-shop-page .wc-block-components-quantity-selector::after { display: none !important; }
.aw-shop-page .wc-block-components-quantity-selector input { color: var(--aw-text) !important; font-weight: 700; }
.aw-shop-page .wc-block-components-quantity-selector__button { color: var(--aw-text) !important; }
.aw-shop-page .wc-block-components-quantity-selector__button:hover { color: var(--aw-accent-ink) !important; }
.aw-shop-page .wc-block-cart-item__remove-link { color: var(--aw-muted) !important; }

/* ---- Totals ---- */
.aw-shop-page .wc-block-components-totals-wrapper { border-color: var(--aw-line) !important; }
.aw-shop-page .wc-block-components-totals-item__label { color: var(--aw-muted); }
.aw-shop-page .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.aw-shop-page .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	color: var(--aw-text) !important;
	font-size: 1.2rem !important;
	font-weight: 800 !important;
}
.aw-shop-page .wc-block-components-totals-item__value { font-variant-numeric: tabular-nums; }
.aw-shop-page .wc-block-components-sidebar { padding-top: 0 !important; }

/* Express pay row divider text */
.aw-shop-page .wc-block-components-express-payment-continue-rule { color: var(--aw-muted) !important; }
.aw-shop-page .wc-block-components-express-payment--checkout .wc-block-components-express-payment__title-container::before,
.aw-shop-page .wc-block-components-express-payment--checkout .wc-block-components-express-payment__title-container::after { border-color: var(--aw-line) !important; }
.aw-shop-page .wc-block-components-express-payment--checkout .wc-block-components-express-payment__content { border-color: var(--aw-line) !important; }

/* Notices */
.aw-shop-page .wc-block-components-notice-banner { border-radius: 10px !important; }

/* ---- Empty cart ---- */
.aw-shop-page .wc-block-cart__empty-cart__title,
.aw-shop-page .wp-block-woocommerce-empty-cart-block h2 {
	font-weight: 800 !important;
	letter-spacing: -0.02em;
	color: var(--aw-text);
}
.aw-shop-page .wc-block-cart__empty-cart__title.with-empty-cart-icon::before { background-color: var(--aw-muted) !important; }
.aw-shop-page .wp-block-woocommerce-empty-cart-block .wp-block-separator { border-color: var(--aw-line) !important; background: var(--aw-line) !important; color: var(--aw-line) !important; opacity: 1; }
.aw-shop-page .wc-block-grid__product-image img {
	background: transparent !important;
	filter: drop-shadow(0 12px 18px rgba(10, 14, 22, 0.2));
}
.aw-shop-page .wc-block-grid__product-title { font-weight: 700; color: var(--aw-text); }
.aw-shop-page .wc-block-grid__product .wp-block-button__link,
.aw-shop-page .wc-block-grid__product .add_to_cart_button {
	background: var(--aw-accent) !important;
	color: #fff !important;
	border-radius: 3px !important;
	font-size: 0.75rem !important;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

/* ---- My Account (classic) ---- */
.aw-shop-page .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; }
.aw-shop-page .woocommerce-MyAccount-navigation li { margin: 0; }
.aw-shop-page .woocommerce-MyAccount-navigation a {
	display: block;
	padding: 0.65rem 0.9rem;
	border-radius: 8px;
	color: var(--aw-text) !important;
	text-decoration: none !important;
	font-weight: 600;
}
.aw-shop-page .woocommerce-MyAccount-navigation a:hover { background: rgba(10, 14, 22, 0.05); }
.aw-shop-page .woocommerce-MyAccount-navigation .is-active a { background: var(--aw-ink); color: var(--aw-on-ink) !important; }
.aw-shop-page .woocommerce-MyAccount-content a:not(.button) { color: var(--aw-accent-ink); }
.aw-shop-page .woocommerce table.shop_table { border-color: var(--aw-line); border-radius: 10px; }
.aw-shop-page .woocommerce table.shop_table th,
.aw-shop-page .woocommerce table.shop_table td { border-color: var(--aw-line); }
.aw-shop-page .woocommerce form.login,
.aw-shop-page .woocommerce form.register,
.aw-shop-page .woocommerce form.lost_reset_password {
	border: 0 !important;
	padding: 0 !important;
	margin-top: 0 !important;
}
.aw-shop-page .woocommerce h2 { font-weight: 800; letter-spacing: -0.02em; font-size: 1.5rem; }
.aw-shop-page .woocommerce form .form-row label { color: var(--aw-muted); font-weight: 600; font-size: 0.88rem; }
.aw-shop-page .woocommerce form .input-text { padding: 0.8rem 0.9rem !important; }

/* One title per page: hide the heading typed into the cart/account page content. */
.aw-shop-page__body .wp-block-post-content > h1:first-child,
.aw-shop-page__body .wp-block-post-content > h2:first-child { display: none; }

/* ---- Classic cart (table layout) ---- */
.aw-shop-page .woocommerce table.shop_table.cart,
.aw-shop-page .woocommerce .cart_totals table.shop_table {
	border: 0 !important;
	border-radius: 0 !important;
	border-collapse: collapse;
	background: transparent;
}
.aw-shop-page .woocommerce table.shop_table.cart thead th {
	background: transparent !important;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--aw-muted);
	border-bottom: 1px solid var(--aw-line) !important;
	padding-bottom: 0.9rem;
}
.aw-shop-page .woocommerce table.shop_table.cart td {
	border-top: 0 !important;
	border-bottom: 1px solid var(--aw-line) !important;
	padding-top: 1.25rem;
	padding-bottom: 1.25rem;
	background: transparent !important;
}
.aw-shop-page .woocommerce table.shop_table.cart td.actions { border-bottom: 0 !important; padding-top: 1.5rem; }
.aw-shop-page .woocommerce table.cart img {
	width: 88px !important;
	height: auto;
	filter: drop-shadow(0 8px 12px rgba(10, 14, 22, 0.2));
	mix-blend-mode: multiply;
}
.aw-shop-page .woocommerce table.cart .product-name a {
	color: var(--aw-text) !important;
	font-weight: 700;
	text-decoration: none !important;
}
.aw-shop-page .woocommerce table.cart .product-name a:hover { color: var(--aw-accent-ink) !important; }
.aw-shop-page .woocommerce a.remove {
	color: var(--aw-muted) !important;
	font-weight: 400;
	font-size: 1.4rem;
}
.aw-shop-page .woocommerce a.remove:hover { background: transparent !important; color: var(--aw-sale) !important; }
.aw-shop-page .woocommerce table.cart .product-price,
.aw-shop-page .woocommerce table.cart .product-subtotal { font-variant-numeric: tabular-nums; font-weight: 600; }
.aw-shop-page .woocommerce .quantity .qty {
	width: 4.5rem;
	border: 1px solid var(--aw-line);
	border-radius: 999px;
	padding: 0.55rem 0.5rem;
	text-align: center;
	font-weight: 700;
	background: #fff;
}
.aw-shop-page .woocommerce td.actions .coupon .input-text {
	min-width: 12rem;
	padding: 0.75rem 1rem !important;
	border-radius: 8px !important;
}
.aw-shop-page .woocommerce td.actions .coupon .button {
	background: var(--aw-ink) !important;
	color: var(--aw-on-ink) !important;
}
.aw-shop-page .woocommerce td.actions .button[name="update_cart"] {
	background: transparent !important;
	color: var(--aw-text) !important;
	border: 1px solid var(--aw-line) !important;
}
.aw-shop-page .woocommerce td.actions .button[name="update_cart"]:disabled { opacity: 0.45; }

/* Cart totals */
.aw-shop-page .woocommerce .cart-collaterals .cart_totals h2 {
	font-size: 0.72rem !important;
	font-weight: 700;
	letter-spacing: 0.16em !important;
	text-transform: uppercase;
	color: var(--aw-muted);
	margin-bottom: 0.75rem;
}
.aw-shop-page .woocommerce .cart_totals table.shop_table th,
.aw-shop-page .woocommerce .cart_totals table.shop_table td {
	background: transparent !important;
	border-top: 0 !important;
	border-bottom: 1px solid var(--aw-line) !important;
	padding: 0.9rem 0;
	font-weight: 600;
}
.aw-shop-page .woocommerce .cart_totals table.shop_table th { color: var(--aw-muted); font-weight: 500; }
.aw-shop-page .woocommerce .cart_totals .order-total th,
.aw-shop-page .woocommerce .cart_totals .order-total td { border-bottom: 0 !important; font-size: 1.2rem; font-weight: 800; color: var(--aw-text); }
.aw-shop-page .woocommerce .wc-proceed-to-checkout { padding-top: 1rem; }
.aw-shop-page .woocommerce .wc-proceed-to-checkout .checkout-button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 1rem 1.5rem !important;
	font-size: 0.85rem !important;
}

/* =========================================================================
 * General pages (About, Contact, policies, store locator, newsletter…)
 * ======================================================================= */
.aw-page { --aw-read: 46rem; }
.aw-page__content { padding-bottom: clamp(4rem, 8vw, 6rem); }

/* The page's own opening banner (cyan/black block with the h1) becomes the
   dark title band — no page edits needed. */
.aw-page .wp-block-post-content > .wp-block-group:first-child:has(> h1) {
	position: relative;
	background: var(--aw-ink) !important;
	color: var(--aw-on-ink);
	padding: clamp(2.75rem, 6vw, 4.5rem) clamp(1rem, 3vw, 2rem) clamp(3.75rem, 7vw, 5.5rem) !important;
	margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.aw-page .wp-block-post-content > .wp-block-group:first-child:has(> h1) > * {
	max-width: var(--aw-read) !important;
	text-align: left !important;
}
.aw-page .wp-block-post-content > .wp-block-group:first-child:has(> h1) > h1 {
	color: var(--aw-on-ink) !important;
	font-size: clamp(2.2rem, 5.5vw, 4rem) !important;
	font-weight: 900 !important;
	font-stretch: 125%;
	text-transform: uppercase;
	letter-spacing: -0.01em;
	line-height: 0.95;
	margin-bottom: 1rem !important;
}
.aw-page .wp-block-post-content > .wp-block-group:first-child:has(> h1) > p {
	color: var(--aw-on-ink-muted) !important;
	font-size: 1.1rem !important;
	font-weight: 500 !important;
	margin-top: 0;
}
.aw-page .wp-block-post-content > .wp-block-group:first-child:has(> h1) > figure { margin-left: 0 !important; margin-bottom: 1.5rem; }
.aw-page .wp-block-post-content > .wp-block-group:first-child:has(> h1) > .wp-block-spacer { display: none; }
/* Curved edge into the page */
.aw-page .wp-block-post-content > .wp-block-group:first-child:has(> h1)::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: clamp(1.5rem, 3vw, 2.5rem);
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40V24C240 6 480 0 720 0s480 6 720 24v16Z' fill='%23f4f6f9'/%3E%3C/svg%3E") no-repeat bottom / 100% 100%;
	max-width: none !important;
}
/* A Gravity form inside the opening banner (Newsletter page): light labels on the dark band */
.aw-page .wp-block-post-content > .wp-block-group:first-child:has(> h1) .gform_wrapper :is(.gfield_label, legend, .gfield_description, .gform_description, .gfield_required, .ginput_complex label, p) {
	color: var(--aw-on-ink) !important;
}
.aw-page .wp-block-post-content > .wp-block-group:first-child:has(> h1) .gform_wrapper .gfield_required { color: var(--aw-accent) !important; }

/* Readable text column for prose; wide blocks (columns, galleries, maps) keep full width. */
.aw-page .wp-block-post-content > .wp-block-group:not(:first-child) > :is(p, ul, ol, h2, h3, h4, h5, .wp-block-list, .wp-block-quote) {
	max-width: var(--aw-read) !important;
}
.aw-page .wp-block-post-content h2 { font-weight: 800; letter-spacing: -0.02em; }
.aw-page .wp-block-post-content p,
.aw-page .wp-block-post-content li { line-height: 1.75; }
.aw-page .wp-block-post-content a:not(.wp-block-button__link):not(.gform_button) { color: var(--aw-accent-ink); }

/* No decorative divider lines */
.aw-page .wp-block-separator { display: none !important; }

/* Buttons in page content */
.aw-page .wp-block-button__link {
	background: var(--aw-accent) !important;
	color: #fff !important;
	border-radius: 3px !important;
	font-size: 0.8rem !important;
	font-weight: 700 !important;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	padding: 1rem 1.75rem !important;
}
.aw-page .wp-block-button__link:hover { background: var(--aw-accent-ink) !important; }

/* Gravity Forms (Contact, Newsletter) */
.aw-page .gform_wrapper input[type="text"],
.aw-page .gform_wrapper input[type="email"],
.aw-page .gform_wrapper input[type="tel"],
.aw-page .gform_wrapper input[type="url"],
.aw-page .gform_wrapper input[type="number"],
.aw-page .gform_wrapper textarea,
.aw-page .gform_wrapper select {
	background: #fff !important;
	border: 1px solid var(--aw-line) !important;
	border-radius: 8px !important;
	padding: 0.75rem 0.9rem !important;
	font: inherit !important;
	color: var(--aw-text) !important;
	box-shadow: none !important;
}
.aw-page .gform_wrapper input:focus,
.aw-page .gform_wrapper textarea:focus,
.aw-page .gform_wrapper select:focus {
	border-color: var(--aw-accent) !important;
	box-shadow: 0 0 0 3px rgba(0, 189, 228, 0.18) !important;
	outline: none !important;
}
.aw-page .gform_wrapper .gfield_label,
.aw-page .gform_wrapper legend { font-weight: 700 !important; color: var(--aw-text) !important; }
.aw-page .gform_wrapper .gform_button,
.aw-page .gform_wrapper input[type="submit"],
.aw-page .gform_wrapper button[type="submit"] {
	background: var(--aw-accent) !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 3px !important;
	font-weight: 700 !important;
	font-size: 0.82rem !important;
	text-transform: uppercase !important;
	letter-spacing: 0.12em !important;
	padding: 1rem 2rem !important;
	cursor: pointer;
}
.aw-page .gform_wrapper .gform_button:hover { background: var(--aw-accent-ink) !important; }
.aw-page .gform_wrapper .gform_drop_area { border-radius: 10px !important; border-color: var(--aw-line) !important; background: transparent !important; }

/* =========================================================================
 * 404
 * ======================================================================= */
.aw-404__search {
	display: flex;
	gap: 0.5rem;
	max-width: 30rem;
	margin: 1.75rem 0 1.25rem;
}
.aw-404__search input[type="search"] {
	flex: 1;
	min-width: 0;
	font: inherit;
	color: var(--aw-on-ink);
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(238, 243, 248, 0.3);
	border-radius: 3px;
	padding: 0.85rem 1rem;
}
.aw-404__search input[type="search"]::placeholder { color: var(--aw-on-ink-muted); }
.aw-404__search input[type="search"]:focus { border-color: var(--aw-accent); outline: none; }
.aw-404__search button {
	background: var(--aw-accent);
	color: #fff;
	border: 0;
	border-radius: 3px;
	font: inherit;
	font-weight: 700;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	padding: 0 1.4rem;
	cursor: pointer;
}
.aw-404__search button:hover { background: var(--aw-accent-ink); }
.aw-404__links { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 0; }
.aw-404__links a {
	color: var(--aw-on-ink) !important;
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	text-decoration: none !important;
}
.aw-404__links a:hover { color: var(--aw-accent) !important; }
.aw-404__picks { padding-bottom: clamp(4rem, 8vw, 6rem); }

/* Page bands: align with the page's own content edge (not a narrow centred
   column), and size the title so short headings stay on one line. */
.aw-page .wp-block-post-content > .wp-block-group:first-child:has(> h1) > * {
	max-width: var(--wp--style--global--content-size) !important;
}
.aw-page .wp-block-post-content > .wp-block-group:first-child:has(> h1) > p {
	max-width: min(var(--wp--style--global--content-size), var(--aw-read)) !important;
	margin-left: max(0px, calc((100% - var(--wp--style--global--content-size)) / 2)) !important;
}
.aw-page .wp-block-post-content > .wp-block-group:first-child:has(> h1) > h1 {
	font-size: clamp(1.9rem, 4.1vw, 3.4rem) !important;
	text-wrap: pretty;
}
/* Prose stays readable but starts on the same left edge as the headings. */
.aw-page .wp-block-post-content > .wp-block-group:not(:first-child) > :is(p, ul, ol, h2, h3, h4, h5, .wp-block-list, .wp-block-quote) {
	margin-left: max(0px, calc((100% - var(--wp--style--global--content-size)) / 2)) !important;
	margin-right: auto !important;
}

/* =========================================================================
 * Newsletter popup — dark panel matching the title bands
 * ======================================================================= */
.aw-newsletter-modal__backdrop {
	background: rgba(10, 14, 22, 0.78) !important;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}
.aw-newsletter-modal__box {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	width: min(34rem, calc(100vw - 2rem)) !important;
	max-width: none !important;
	background: var(--aw-ink) !important;
	color: var(--aw-on-ink) !important;
	border: 1px solid var(--aw-ink-line) !important;
	border-radius: 14px !important;
	box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55) !important;
	padding: 0 !important;
	animation: aw-nl-in 0.28s ease-out;
}
/* Soft cyan glow in the corner, echoing the hero */
.aw-newsletter-modal__box::before {
	content: "";
	position: absolute;
	z-index: -1;
	top: -40%;
	right: -30%;
	width: 80%;
	height: 90%;
	background: radial-gradient(circle, rgba(0, 189, 228, 0.22) 0%, transparent 65%);
	pointer-events: none;
}
@keyframes aw-nl-in { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .aw-newsletter-modal__box { animation: none; } }

.aw-newsletter-modal__inner { padding: clamp(2rem, 5vw, 2.75rem) !important; text-align: left !important; }
.aw-newsletter-modal__eyebrow { color: var(--aw-accent) !important; margin: 0 0 0.85rem !important; }
.aw-newsletter-modal__heading {
	color: var(--aw-on-ink) !important;
	font-size: clamp(1.6rem, 4.5vw, 2.1rem) !important;
	font-weight: 900 !important;
	font-stretch: 125%;
	text-transform: uppercase;
	letter-spacing: -0.01em !important;
	line-height: 1 !important;
	margin: 0 0 0.9rem !important;
	text-align: left !important;
}
.aw-newsletter-modal__subtext {
	color: var(--aw-on-ink-muted) !important;
	font-size: 0.98rem !important;
	line-height: 1.6 !important;
	margin: 0 0 1.5rem !important;
	text-align: left !important;
}

/* Close button: round, like the photo viewer */
.aw-newsletter-modal__close {
	top: 1rem !important;
	right: 1rem !important;
	width: 2.4rem !important;
	height: 2.4rem !important;
	display: grid !important;
	place-items: center;
	border-radius: 50% !important;
	border: 1px solid rgba(238, 243, 248, 0.25) !important;
	background: transparent !important;
	color: var(--aw-on-ink) !important;
	font-size: 1.35rem !important;
	line-height: 1 !important;
	z-index: 2;
}
.aw-newsletter-modal__close:hover { background: var(--aw-on-ink) !important; color: var(--aw-ink) !important; }

/* Form on dark */
.aw-newsletter-modal .gform_wrapper { margin: 0 !important; }
.aw-newsletter-modal .gform_wrapper .gform_fields { row-gap: 1rem !important; }
.aw-newsletter-modal .gform_wrapper .gfield_label,
.aw-newsletter-modal .gform_wrapper legend,
.aw-newsletter-modal .gform_wrapper .ginput_complex label,
.aw-newsletter-modal .gform_wrapper .gform-field-label {
	color: var(--aw-on-ink-muted) !important;
	font-size: 0.72rem !important;
	font-weight: 700 !important;
	text-transform: uppercase;
	letter-spacing: 0.12em;
}
.aw-newsletter-modal .gform_wrapper .gfield_required { color: var(--aw-accent) !important; }
.aw-newsletter-modal .gform_wrapper input[type="text"],
.aw-newsletter-modal .gform_wrapper input[type="email"] {
	background: rgba(255, 255, 255, 0.07) !important;
	border: 1px solid rgba(238, 243, 248, 0.25) !important;
	border-radius: 8px !important;
	color: var(--aw-on-ink) !important;
	font: inherit !important;
	padding: 0.8rem 0.9rem !important;
	box-shadow: none !important;
}
.aw-newsletter-modal .gform_wrapper input::placeholder { color: var(--aw-on-ink-muted); }
.aw-newsletter-modal .gform_wrapper input:focus {
	border-color: var(--aw-accent) !important;
	box-shadow: 0 0 0 3px rgba(0, 189, 228, 0.2) !important;
	outline: none !important;
}
.aw-newsletter-modal .gform_wrapper .gform_footer,
.aw-newsletter-modal .gform_wrapper .gform_page_footer { margin-top: 1.25rem !important; padding: 0 !important; }
.aw-newsletter-modal .gform_wrapper input[type="submit"],
.aw-newsletter-modal .gform_wrapper button[type="submit"] {
	width: 100% !important;
	background: var(--aw-accent) !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 3px !important;
	font-weight: 700 !important;
	font-size: 0.85rem !important;
	text-transform: uppercase !important;
	letter-spacing: 0.12em !important;
	padding: 1rem 1.5rem !important;
	cursor: pointer;
}
.aw-newsletter-modal .gform_wrapper input[type="submit"]:hover,
.aw-newsletter-modal .gform_wrapper button[type="submit"]:hover { background: var(--aw-accent-ink) !important; }
.aw-newsletter-modal .gform_wrapper .gfield_validation_message,
.aw-newsletter-modal .gform_wrapper .validation_message {
	background: transparent !important;
	border: 0 !important;
	color: #ff8a80 !important;
	padding: 0.35rem 0 0 !important;
	font-size: 0.82rem !important;
}
.aw-newsletter-modal .gform_wrapper .gform_validation_errors {
	background: rgba(224, 69, 58, 0.12) !important;
	border: 1px solid rgba(224, 69, 58, 0.5) !important;
	border-radius: 8px !important;
	box-shadow: none !important;
}
.aw-newsletter-modal .gform_wrapper .gform_validation_errors h2 { color: #ffb4ad !important; font-size: 0.88rem !important; }
.aw-newsletter-modal .gform_confirmation_message {
	color: var(--aw-on-ink) !important;
	font-size: 1.05rem;
	font-weight: 600;
}

/* Newsletter popup: plain dark panel, no glow. */
.aw-newsletter-modal__box::before { display: none !important; }

/* =========================================================================
 * ONE BUTTON SIZE, SITE-WIDE
 * Every text button shares this size; colours are set per button above
 * (cyan = main action, white = on dark hero, dark/outline = secondary).
 * ======================================================================= */
:root {
	--aw-btn-font: 0.9rem;
	--aw-btn-track: 0.1em;
	--aw-btn-h: 2.9rem;
	--aw-btn-pad-x: 1.5rem;
}
:is(
	.wp-element-button,
	.wp-block-button__link,
	.aw-hero2__cta,
	.aw-about-band__btn,
	.aw-showcase__cta,
	.aw-showcase__card-foot .button,
	.aw-product-hero .single_add_to_cart_button,
	.aw-product-body .aw-viewer-modal-trigger,
	.aw-product-body .aw-club-link,
	.aw-shop-page .wc-block-cart__submit-button,
	.aw-shop-page .wc-block-components-checkout-place-order-button,
	.aw-shop-page .wc-block-components-button:not(.is-link),
	.aw-shop-page .woocommerce-button,
	.aw-shop-page .woocommerce .button,
	.aw-shop-page .woocommerce .checkout-button,
	.aw-shop-page .wc-block-grid__product .wp-block-button__link,
	.aw-page .gform_wrapper .gform_button,
	.aw-page .gform_wrapper input[type="submit"],
	.aw-page .gform_wrapper button[type="submit"],
	.aw-newsletter-modal .gform_wrapper input[type="submit"],
	.aw-newsletter-modal .gform_wrapper button[type="submit"],
	.aw-404__search button,
	.wc-block-mini-cart__footer-actions .wc-block-components-button
) {
	font-size: var(--aw-btn-font) !important;
	font-weight: 700 !important;
	letter-spacing: var(--aw-btn-track) !important;
	text-transform: uppercase !important;
	line-height: 1.2 !important;
	min-height: var(--aw-btn-h) !important;
	padding: 0.7rem var(--aw-btn-pad-x) !important;
	border-radius: 3px !important;
	box-sizing: border-box;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	text-decoration: none !important;
}
/* Full-width where the layout calls for it */
.aw-shop-page .wc-block-cart__submit-button,
.aw-shop-page .wc-block-components-checkout-place-order-button,
.aw-shop-page .woocommerce .checkout-button,
.aw-newsletter-modal .gform_wrapper input[type="submit"],
.aw-newsletter-modal .gform_wrapper button[type="submit"] { width: 100% !important; display: flex !important; }
/* Product page: quantity box matches the button height */
.aw-product-hero form.cart .quantity input.qty { min-height: var(--aw-btn-h) !important; height: var(--aw-btn-h); }
.aw-product-hero .single_add_to_cart_button { min-height: var(--aw-btn-h) !important; }
.aw-404__search input[type="search"] { min-height: var(--aw-btn-h); padding-top: 0; padding-bottom: 0; }
/* Mini-cart drawer buttons in the same family */
.wc-block-mini-cart__footer-actions .wc-block-components-button { background: var(--aw-accent) !important; color: #fff !important; border: 0 !important; }
.wc-block-mini-cart__footer-actions .wc-block-components-button.outlined,
.wc-block-mini-cart__footer-actions .wc-block-mini-cart__footer-cart {
	background: transparent !important;
	color: var(--aw-text) !important;
	box-shadow: inset 0 0 0 1px var(--aw-line) !important;
}

/* About page: founder on his own centred row; "Meet Our Team" centred. */
.aw-team-member--lead { grid-column: 1 / -1; }
.aw-page .wp-block-post-content > .wp-block-group:not(:first-child):has(> .aw-team-grid) > :is(h2, h3) {
	text-align: center !important;
	max-width: none !important;
	margin-left: auto !important;
	margin-right: auto !important;
}
.aw-team-grid { row-gap: clamp(2rem, 4vw, 3rem) !important; }
.aw-team-member h4 { font-family: inherit !important; font-weight: 800; letter-spacing: -0.01em; color: var(--aw-text) !important; }
.aw-team-member p { color: var(--aw-muted) !important; }

/* About page: vertical logo in "Who We Are" — sensible size, centred in its column. */
.wp-block-image img[src*="arcane-wonders-logo-vertical"] {
	display: block;
	width: min(100%, 300px) !important;
	height: auto !important;
	margin: 0 auto;
	border-radius: 0 !important;
	box-shadow: none !important;
}

/* =========================================================================
 * Images always fit their frame
 * WooCommerce's ".woocommerce img { height: auto }" outranks plain class
 * rules, letting tall boxes (e.g. ito) grow past the square. Pin images
 * inside fixed frames so every product occupies the same footprint.
 * ======================================================================= */
.aw-card__media { position: relative; aspect-ratio: 1 / 1; overflow: visible; }
.aw-card__media .aw-card__img {
	position: absolute !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: contain !important;
	object-position: center bottom !important;
}
/* Hero: background fills, floating box keeps its set height */
.aw-hero2 .aw-hero2__bg { width: 100% !important; height: 100% !important; max-width: none !important; }
.aw-hero2 .aw-hero2__box img { height: 72% !important; width: auto !important; max-width: 100% !important; }
.aw-hero2 .aw-hero2__box-mobile img { width: 100% !important; height: 100% !important; }
/* Category stacks */
.aw-cat__game img { width: auto !important; height: auto !important; max-width: 100% !important; max-height: 100% !important; }
/* Expansions on product pages: same square footprint */
.aw-product-body .aw-expansion-card img {
	width: 100% !important;
	aspect-ratio: 1 / 1;
	height: auto !important;
	object-fit: contain !important;
}

/* Region switcher: WordPress auto-formatting adds <br> tags inside the
   shortcode output, which doubled the height of each option. */
.aw-region-switcher br { display: none; }

/* Fan slots: same square footprint for every cover, so tall boxes (ito)
   shrink to match square ones instead of towering over the stack. */
.aw-cat__game {
	height: auto !important;
	aspect-ratio: 1 / 1;
}
.aw-cat__game img { max-width: 100% !important; max-height: 100% !important; width: auto !important; height: auto !important; }

/* ------------------------------------------------------------------
   Review fixes (2026-10-13)
   ------------------------------------------------------------------ */

/* Logo art has a black plate; on the ink header/footer it read as a box.
   Lighten drops pure black so only the flame and wordmark show. */
.aw-site-header__logo img,
.aw-site-footer__logo img { mix-blend-mode: lighten; }

/* Page content groups set to the old "light" grey (#f5f5f5) sat as grey
   boxes/bands on the paper background (Contact card, About team band). */
.wp-block-post-content .has-light-background-color { background-color: transparent !important; }

/* No divider lines */
.aw-archive__products .aw-shop-toolbar { border-bottom: 0; padding-bottom: 0; }
.aw-product-body .aw-downloads li,
.aw-product-body .aw-external-links li { border-bottom: 0; padding: 0.4rem 0; }
.aw-product-body .aw-downloads a::after { content: " \2193"; color: var(--aw-accent-ink); }
.aw-product-body .aw-external-links a::after { content: " \2197"; color: var(--aw-accent-ink); }

/* Mobile header: one row. Region switcher stays in the header as a flag
   button (no strip below it); the menu button sits at the far right. */
@media (max-width: 768px) {
	.aw-site-header .aw-region-switcher { display: inline-flex !important; }
	.aw-site-header .aw-region-switcher__label { display: none; }
	.aw-site-header .aw-region-switcher__toggle { padding: 0.35rem 0.5rem; font-size: 0.9rem; }
	.aw-site-header .aw-region-switcher__dropdown { right: 0; left: auto; }
}
/* The menu collapses to a button at 1100px and below (custom.css); put it far right. */
@media (max-width: 1100px) {
	.aw-site-header__inner { gap: 0.75rem; }
	.aw-site-header__tools { order: 2; margin-left: auto !important; gap: 0.35rem; } /* !important: WP's flex layout resets child margins */
	.aw-site-header__nav { order: 3; flex: 0 0 auto; }
}

/* Hero crossfade: the outgoing slide's text and box art leave quickly and
   the incoming ones wait for them, so two titles never overlap. The
   background art still crossfades slowly underneath. */
.aw-hero2__copy,
.aw-hero2__box img { transition: transform 0.2s ease-in, opacity 0.2s ease-in; }
.aw-hero2__slide.is-active .aw-hero2__copy { transition: transform 0.6s ease-out 0.35s, opacity 0.6s ease-out 0.35s; }
.aw-hero2__slide.is-active .aw-hero2__box img { transition: transform 0.7s ease-out 0.25s, opacity 0.7s ease-out 0.25s; }

/* Hero titles: long names step down; subtitles after ":" / "–" / "( )"
   sit on their own smaller line. */
.aw-hero2__title--long { font-size: clamp(2rem, 4.6vw, 3.9rem); }
.aw-hero2__title--xlong { font-size: clamp(1.75rem, 3.6vw, 3rem); }
.aw-hero2__copy:has(.aw-hero2__title--long, .aw-hero2__title--xlong) { max-width: 42rem; }
.aw-hero2__subtitle {
	display: block;
	margin-top: 0.5rem;
	font-size: clamp(0.95rem, 1.6vw, 1.35rem);
	font-stretch: 112%;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1.3;
	color: var(--aw-accent);
}

/* Product page title: long names (or one long word, e.g. FOUNDATIONS) step
   down so words never break mid-word. */
.aw-product-hero__title { overflow-wrap: normal; word-break: normal; hyphens: manual; }
.aw-product-hero__title--long { font-size: clamp(1.9rem, 3.6vw, 3rem) !important; }
.aw-product-hero__title--xlong { font-size: clamp(1.7rem, 2.8vw, 2.4rem) !important; }
@media (max-width: 781px) {
	.aw-product-hero__title--long { font-size: clamp(1.6rem, 7vw, 2.2rem) !important; }
	.aw-product-hero__title--xlong { font-size: clamp(1.4rem, 5.6vw, 1.8rem) !important; }
}

/* Spiel Essen showcase in the new look: no white tiles, art on the page,
   readable buttons. */
.aw-showcase__card,
.aw-showcase__card-media { background: transparent !important; border: 0 !important; border-radius: 0; overflow: visible; }
.aw-showcase__card:hover { transform: none; box-shadow: none; }
.aw-showcase__card-media img,
.aw-showcase__img { padding: 0; filter: drop-shadow(0 14px 22px rgba(10, 14, 22, 0.22)); }
.aw-showcase__card-body { padding: 1rem 0 0; }
.aw-showcase__card-title { font-family: inherit; font-size: 1.1rem; font-weight: 800; text-transform: none; letter-spacing: -0.01em; }
.aw-showcase__card-title a { color: var(--aw-text) !important; }
.aw-showcase__card-title a:hover { color: var(--aw-accent-ink) !important; }
.aw-showcase__card-blurb { color: var(--aw-muted); }
.aw-showcase__card-foot .button {
	background: var(--aw-ink) !important;
	color: #fff !important;
	font-size: 0.8rem;
	letter-spacing: 0.1em;
	border-radius: 3px;
}
.aw-showcase__card-foot .button:hover { background: var(--aw-accent-ink) !important; color: #fff !important; }

/* Back-in-stock form on the dark product section: no white panel, dark
   inputs, a real button. */
.aw-product-hero .cwginstock-subscribe-form { max-width: 24rem; margin-top: 1rem; }
.aw-product-hero .cwginstock-panel-primary { background: transparent !important; border: 0 !important; box-shadow: none !important; margin: 0; }
.aw-product-hero .cwginstock-panel-heading { background: transparent !important; border: 0 !important; padding: 0 0 0.75rem !important; }
.aw-product-hero .cwginstock-panel-heading h4 {
	color: var(--aw-on-ink) !important;
	font-size: 0.8rem !important;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-align: left !important;
	margin: 0;
}
.aw-product-hero .cwginstock-panel-body { background: transparent !important; padding: 0 !important; }
.aw-product-hero .cwginstock-panel-body .row,
.aw-product-hero .cwginstock-panel-body [class*="col-"] { margin: 0 !important; padding: 0 !important; width: 100% !important; float: none !important; }
.aw-product-hero .cwginstock-subscribe-form .form-group { margin: 0 0 0.6rem; }
.aw-product-hero .cwginstock-subscribe-form input[type="text"],
.aw-product-hero .cwginstock-subscribe-form input[type="email"] {
	width: 100% !important;
	background: rgba(255, 255, 255, 0.06) !important;
	border: 1px solid var(--aw-ink-line) !important;
	border-radius: 3px !important;
	color: var(--aw-on-ink) !important;
	padding: 0.7rem 0.85rem !important;
	font-size: 0.95rem;
}
.aw-product-hero .cwginstock-subscribe-form input::placeholder { color: var(--aw-on-ink-muted); }
.aw-product-hero .cwgstock_button {
	width: 100%;
	background: var(--aw-accent) !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 3px !important;
	height: var(--aw-btn-h, 2.9rem);
	font-size: var(--aw-btn-font, 0.9rem);
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	cursor: pointer;
}
.aw-product-hero .cwgstock_button:hover { background: #fff !important; color: var(--aw-ink) !important; }
.aw-product-hero .cwgstock_output { color: var(--aw-on-ink); font-size: 0.9rem; }

/* Hero pause/play button (keyboard and touch users can stop the slideshow) */
.aw-hero2__pause-icon { display: inline-block; width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; box-sizing: border-box; }
.aw-hero2.is-user-paused .aw-hero2__pause-icon { width: 0; height: 0; border: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 3px; }
.aw-hero2.is-reduced .aw-hero2__pause { display: none; }

/* Product cards everywhere (home, shop, search, related): name and price
   centred under the box art. */
.aw-card__title,
.aw-card__price { text-align: center; }
.aw-card__price { justify-content: center; }

/* Card parts are spans (see aw2_product_card) — lay them out as blocks. */
.aw-card__media,
.aw-card__title,
.aw-card__price { display: block; }

/* Product hero image: no box around it.
   - The slider frame crops anything outside the image's square, so a
     drop-shadow got cut off at those edges and read as a faint box.
     Use a soft shadow ellipse inside the frame instead.
   - No hover-zoom layer (white background). */
.aw-product-hero .zoomImg { display: none !important; }
.aw-product-hero .woocommerce-product-gallery__image { position: relative; }
.aw-product-hero .woocommerce-product-gallery__image img { filter: none !important; position: relative; z-index: 1; }
.aw-product-hero .woocommerce-product-gallery__image::after {
	content: "";
	position: absolute;
	left: 12%;
	right: 12%;
	bottom: 4%;
	height: 12%;
	background: radial-gradient(closest-side, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
	z-index: 0;
	pointer-events: none;
}
/* Thumbnails: no tiles; only the selected one gets the cyan outline. */
.aw-product-hero .flex-control-thumbs img { background: transparent !important; border-color: transparent !important; opacity: 0.6; }
.aw-product-hero .flex-control-thumbs img.flex-active,
.aw-product-hero .flex-control-thumbs img:hover { opacity: 1; }
.aw-product-hero .flex-control-thumbs img.flex-active { border-color: var(--aw-accent) !important; }

/* Product hero, side-by-side layout: the image column is top-aligned
   with the product name (not centred), offset by the category label above
   the name. Thumbnails follow in normal flow. Phones stack as before. */
@media (min-width: 782px) {
	.aw-product-hero__cols > .aw-product-hero__media { align-self: flex-start !important; margin-top: 2rem !important; }
}

/* Space between the last row of a home section and the dark Hot Deals band.
   custom.css zeroes the top margin of everything in <main> with !important,
   so this needs the same specificity to apply. */
main.wp-block-group > .aw-band-dark { margin-top: clamp(4rem, 8vw, 6rem) !important; }

/* Hero slides with box art on the right: keep the text column clear of it
   on tablets and small laptops (long titles were running under the box). */
@media (min-width: 782px) {
	.aw-hero2__slide.is-cutout .aw-hero2__copy { max-width: min(36rem, 54%); }
	.aw-hero2__slide.is-cutout .aw-hero2__copy:has(.aw-hero2__title--long, .aw-hero2__title--xlong) { max-width: min(42rem, 54%); }
}
