/*
 * Trying2 — Graphite theme.
 * 1. Tokens   2. Base + Astra overrides   3. Shared components
 * 4. Header   5. Homepage sections        6. Footer
 * 7. Store (shop, product, cart, checkout, account)   8. Responsive
 */

/* ---------------------------------------------------------------- 1. Tokens */
html:root {
	--t2-bg: #1E1F23;
	--t2-band: #141518;
	--t2-surface: #2B2D33;
	--t2-surface-2: #33363D;
	--t2-placeholder: #3A3D45;
	--t2-ink: #0D0D0D;
	--t2-text: #ECECEC;
	--t2-muted: #A3A6AD;
	--t2-silver: #BFC3CC;
	--t2-blue: #1A3CFF;
	--t2-blue-text: #7C97FF;
	--t2-navy: #0A1F8F;
	--t2-grid: rgba(255, 255, 255, 0.05);
	--t2-strong: #FFFFFF; /* hover / emphasis text */

	--t2-border: 2px solid var(--t2-ink);
	--t2-shadow: 6px 6px 0 var(--t2-ink);
	--t2-shadow-s: 4px 4px 0 var(--t2-ink);
	--t2-shadow-l: 8px 8px 0 var(--t2-ink);

	--t2-font: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--t2-font-px: 'Silkscreen', ui-monospace, monospace;
	--t2-gutter: clamp(16px, 3vw, 44px);

	/* Astra global palette → Graphite, so Astra-rendered pages follow along */
	--ast-global-color-0: var(--t2-blue);
	--ast-global-color-1: var(--t2-navy);
	--ast-global-color-2: var(--t2-text);
	--ast-global-color-3: var(--t2-text);
	--ast-global-color-4: var(--t2-surface);
	--ast-global-color-5: var(--t2-bg);
	--ast-global-color-6: var(--t2-surface-2);
	--ast-global-color-7: var(--t2-placeholder);
	--ast-global-color-8: var(--t2-muted);
}

/* ------------------------------------------------ 1b. Theme variants
   Chosen with the THEME button in the header (saved in the visitor's browser).
   graphite = default (tokens above) · light · space */
html:root[data-t2-theme="light"] {
	--t2-bg: #E9EAEE;
	--t2-band: #DADCE2;
	--t2-surface: #F7F7F9;
	--t2-surface-2: #EEEFF3;
	--t2-placeholder: #D3D6DD;
	--t2-text: #111214;
	--t2-muted: #5A5E66;
	--t2-blue-text: #C8160F;
	--t2-grid: rgba(0, 0, 0, 0.07);
	--t2-strong: #0D0D0D;
	/* Accent = red in this theme (buttons, window hover, Black Friday) */
	--t2-blue: #C8160F;
	--t2-navy: #6E0D09;
	--t2-btn-bg: #8E2A24;
}
html:root[data-t2-theme="space"] {
	--t2-bg: #050508;
	--t2-band: #000000;
	--t2-surface: #121318;
	--t2-surface-2: #1A1C22;
	--t2-placeholder: #23252D;
	--t2-grid: transparent;
	/* Accent = red in this theme (buttons, window hover, Black Friday) */
	--t2-blue: #D21A12;
	--t2-blue-text: #FF6A5C;
	--t2-navy: #6E0D09;
	--t2-btn-bg: #8E2A24;
}
html:root[data-t2-theme="camo"] {
	--t2-bg: #1E2117;
	--t2-band: #14160F;
	--t2-surface: #23271C;
	--t2-surface-2: #2E3324;
	--t2-placeholder: #3A402E;
	--t2-text: #ECE8D4;
	--t2-muted: #AFAC92;
	--t2-blue: #5F8A3A;
	--t2-blue-text: #C2D394;
	--t2-navy: #2F4519;
	--t2-strong: #FFFFFF;
	--t2-grid: transparent;
}
html:root[data-t2-theme="fire"] {
	--t2-bg: #1D1716;
	--t2-band: #100908;
	--t2-surface: #2A2120;
	--t2-surface-2: #332827;
	--t2-placeholder: #3D302E;
	--t2-grid: transparent;
}
/* camo: digital camo photo as it is (the site's CRT effect sits on top); titles get a dark offset so they read on it */
html[data-t2-theme="camo"] body.t2::before {
	background: #8E8665 url("../img/bg-camo.webp") center / cover no-repeat;
}
html[data-t2-theme="camo"] .t2-h,
html[data-t2-theme="camo"] .t2-hero__logo .t2-logo { text-shadow: 3px 3px 0 #14160F; }
html[data-t2-theme="camo"] .t2 .t2-btn--blue { color: #FFFFFF; }
html:root[data-t2-theme="camo"] { --t2-btn-bg: var(--t2-blue); }
/* fire: parallel rows of flames that move (animated SVG), with a fine bead grid on top */
html[data-t2-theme="fire"] body.t2::before {
	background:
		radial-gradient(circle, transparent 52%, rgba(40, 0, 0, 0.28) 64%) 0 0 / 6px 6px,
		#A8120E url("../img/bg-fire.svg") 0 0 / 480px 480px repeat;
}
@media (prefers-reduced-motion: reduce) {
	html[data-t2-theme="fire"] body.t2::before {
		background:
			radial-gradient(circle, transparent 52%, rgba(40, 0, 0, 0.28) 64%) 0 0 / 6px 6px,
			#A8120E url("../img/bg-fire-still.svg") 0 0 / 480px 480px repeat;
	}
}
/* light: the white logos in the header and hero turn black */
html[data-t2-theme="light"] .t2-header__logo .t2-logo,
html[data-t2-theme="light"] .t2-hero__logo .t2-logo { filter: invert(1); }
/* space: stars instead of the grid (three tile sizes so the pattern doesn't repeat visibly) */
html[data-t2-theme="space"] body.t2::before {
	background-color: #050508;
	background-image:
		radial-gradient(1px 1px at 82px 38px, rgba(190,205,255,0.55) 50%, transparent 100%),
		radial-gradient(1px 1px at 166px 12px, rgba(255,255,255,0.55) 50%, transparent 100%),
		radial-gradient(1px 1px at 210px 137px, rgba(255,255,255,0.55) 50%, transparent 100%),
		radial-gradient(1px 1px at 93px 149px, rgba(255,255,255,0.55) 50%, transparent 100%),
		radial-gradient(1px 1px at 129px 54px, rgba(255,255,255,0.55) 50%, transparent 100%),
		radial-gradient(1px 1px at 22px 111px, rgba(190,205,255,0.55) 50%, transparent 100%),
		radial-gradient(1.5px 1.5px at 35px 123px, rgba(255,255,255,0.8) 50%, transparent 100%),
		radial-gradient(1.5px 1.5px at 282px 217px, rgba(255,255,255,0.8) 50%, transparent 100%),
		radial-gradient(1.5px 1.5px at 289px 63px, rgba(255,255,255,0.8) 50%, transparent 100%),
		radial-gradient(1.5px 1.5px at 322px 321px, rgba(255,255,255,0.8) 50%, transparent 100%),
		radial-gradient(1.5px 1.5px at 295px 299px, rgba(190,205,255,0.8) 50%, transparent 100%),
		radial-gradient(1.5px 1.5px at 25px 113px, rgba(255,255,255,0.8) 50%, transparent 100%),
		radial-gradient(2.2px 2.2px at 570px 136px, rgba(255,255,255,1) 50%, transparent 100%),
		radial-gradient(2.2px 2.2px at 429px 147px, rgba(255,255,255,1) 50%, transparent 100%),
		radial-gradient(2.2px 2.2px at 315px 185px, rgba(255,255,255,1) 50%, transparent 100%),
		radial-gradient(2.2px 2.2px at 192px 381px, rgba(255,255,255,1) 50%, transparent 100%);
	background-size: 211px 211px, 211px 211px, 211px 211px, 211px 211px, 211px 211px, 211px 211px, 337px 337px, 337px 337px, 337px 337px, 337px 337px, 337px 337px, 337px 337px, 571px 571px, 571px 571px, 571px 571px, 571px 571px;
}

/* ------------------------------------------------ 2. Base + Astra overrides */
/* Some plugins on the live site make <body> a grid: keep the page at screen width
   (without this the running top bar stretches the whole site on phones). */
body.t2 { grid-template-columns: minmax(0, 1fr); }
body.t2 > * { min-width: 0; max-width: 100%; }
body.t2 {
	margin: 0;
	background: var(--t2-bg);
	color: var(--t2-text);
	font-family: var(--t2-font);
}

body.t2 #page,
body.t2 .site-content,
body.t2 .ast-separate-container,
body.t2.ast-separate-container,
body.t2 .ast-separate-container .ast-article-single,
body.t2 .ast-separate-container .ast-article-post,
body.t2 .ast-plain-container .site-content {
	background: transparent;
}

body.t2 a { color: var(--t2-text); }
body.t2 a:hover,
body.t2 a:focus { color: var(--t2-strong); }

body.t2 h1, body.t2 h2, body.t2 h3, body.t2 h4, body.t2 h5, body.t2 h6,
body.t2 .entry-title {
	color: var(--t2-text);
	font-family: var(--t2-font);
}

body.t2 :focus-visible {
	outline: 3px solid var(--t2-blue-text);
	outline-offset: 2px;
}

/* Homepage: full width, our own spacing */
body.t2-full .site-content > .ast-container {
	max-width: none;
	padding: 0;
	display: block;
}
body.t2-full #primary,
body.t2-full .content-area {
	margin: 0;
	padding: 0;
	width: 100%;
}

.t2 img { max-width: 100%; height: auto; }

.t2 *, .t2 *::before, .t2 *::after { box-sizing: border-box; }

/* Astra provides this too; repeated so hidden labels never show */
.t2 .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	white-space: nowrap;
}

/* Our components set display:flex/grid; keep the [hidden] attribute (used by tabs, filters) working */
.t2 [hidden] { display: none !important; }

.t2-px { font-family: var(--t2-font-px); font-weight: 400; letter-spacing: 0.02em; }

.t2-gridbg {
	background-image:
		linear-gradient(var(--t2-grid) 1px, transparent 1px),
		linear-gradient(90deg, var(--t2-grid) 1px, transparent 1px);
	background-size: 32px 32px;
}

.t2-light { color: var(--t2-blue-text); }

/* ---------------------------------------------------- 3. Shared components */
.t2-h {
	margin: 0;
	color: var(--t2-text);
	font-family: var(--t2-font);
	font-weight: 900;
	font-stretch: 125%;
	letter-spacing: -0.03em;
	line-height: 0.9;
	text-transform: uppercase;
}
.t2-h--m  { font-size: clamp(26px, 2.4vw, 34px); line-height: 0.95; }
.t2-h--l  { font-size: clamp(28px, 5vw, 56px); }
.t2-h--xl { font-size: clamp(30px, 7.6vw, 76px); }
@media (max-width: 600px) { .t2-h--long { font-size: 5.8vw; } }

.t2-kicker { font-size: 11px; color: var(--t2-blue-text); }
.t2-kicker--ink { color: var(--t2-muted); }
.t2-kicker--muted { color: var(--t2-muted); }

.t2-label {
	display: inline-block;
	margin-bottom: 14px;
	padding: 4px 10px;
	font-size: 12px;
	background: var(--t2-text);
	color: var(--t2-bg);
}

.t2-more {
	align-self: flex-end;
	font-size: 13px;
	padding-bottom: 4px;
	border-bottom: 2px solid var(--t2-text);
	text-decoration: none;
	white-space: nowrap;
}

/* Y2K window */
.t2-win {
	position: relative;
	background: var(--t2-surface);
	border: var(--t2-border);
	box-shadow: var(--t2-shadow-l);
}
.t2-win__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 7px 10px;
	font-size: 12px;
	border-bottom: var(--t2-border);
	background: var(--t2-silver);
	color: var(--t2-ink);
}
.t2-win__bar > :first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } /* long file names never push the buttons out */
.t2-win__bar--blue { background: var(--t2-blue); color: #FFFFFF; }
.t2-win__bar--ink  { background: var(--t2-ink); color: #FFFFFF; }
.t2-win__bar--navy { background: var(--t2-navy); color: #FFFFFF; }
.t2-win__bar--silver { background: var(--t2-silver); color: var(--t2-ink); }

/* Title bars: old-computer gradient + bevelled minimise / restore / close buttons */
.t2-win__bar--blue   { background: linear-gradient(90deg, var(--t2-navy), var(--t2-blue)); }
.t2-win__bar--ink    { background: linear-gradient(90deg, var(--t2-ink), #3A3D45); }
.t2-win__bar--navy   { background: linear-gradient(90deg, #06104A, var(--t2-navy)); }
.t2-win__bar--silver { background: linear-gradient(90deg, #9EA3AE, var(--t2-silver)); }

/* Less blue: every window title bar is light grey (silver) and turns blue only on hover / focus / drag.
   Big page windows (.t2-screen) turn blue when the bar itself is hovered. */
.t2-win__bar--blue,
.t2-win__bar--navy,
.t2-win__bar--ink,
.t2-win__bar--silver { background: linear-gradient(90deg, #9EA3AE, var(--t2-silver)); color: var(--t2-ink); transition: background .15s, color .15s; }
.t2-win:hover > .t2-win__bar,
.t2-win:focus-within > .t2-win__bar,
.t2-win.is-dragging > .t2-win__bar,
.t2-screen > .t2-screen__bar:hover { background: linear-gradient(90deg, var(--t2-navy), var(--t2-blue)); color: #FFFFFF; }

.t2-win-btns { display: inline-flex; flex: none; gap: 2px; }
.t2 .t2-win-btn {
	position: relative;
	display: block;
	width: 18px;
	height: 16px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: var(--t2-silver);
	box-shadow:
		inset -1px -1px 0 #0D0D0D,
		inset 1px 1px 0 #FFFFFF,
		inset -2px -2px 0 #6B6F78;
	color: var(--t2-ink);
	line-height: 0;
}
.t2 .t2-win-btn--close { margin-left: 2px; }
.t2 .t2-win-btn:active {
	box-shadow:
		inset 1px 1px 0 #0D0D0D,
		inset -1px -1px 0 #FFFFFF,
		inset 2px 2px 0 #6B6F78;
}
.t2 .t2-win-btn:focus-visible { outline: 1px dotted #FFFFFF; outline-offset: 1px; }
/* glyphs */
.t2-win-btn--min::before {
	content: "";
	position: absolute;
	left: 5px;
	bottom: 4px;
	width: 7px;
	height: 2px;
	background: currentColor;
}
.t2-win-btn--max::before {
	content: "";
	position: absolute;
	left: 4px;
	top: 3px;
	width: 9px;
	height: 8px;
	border: 1px solid currentColor;
	border-top-width: 2px;
	box-sizing: border-box;
}
.t2-win-btn--close::before,
.t2-win-btn--close::after {
	content: "";
	position: absolute;
	left: 8px;
	top: 3px;
	width: 2px;
	height: 9px;
	background: currentColor;
	transform: rotate(45deg);
}
.t2-win-btn--close::after { transform: rotate(-45deg); }

/* Folded window: only the title bar shows */
.t2-win.is-min > :not(.t2-win__bar),
.t2-card.is-min > :not(.t2-card__bar),
.t2-screen.is-min > :not(.t2-win__bar) { display: none !important; }
.t2-screen.is-min { min-height: 0; }

/* Dragging (desktop): grab the title bar */
.t2-drag .t2-win__bar:not(.t2-screen__bar),
.t2-drag .t2-card__bar { touch-action: none; user-select: none; }
.t2-win.is-dragging,
.t2-card.is-dragging { box-shadow: 14px 14px 0 rgba(0, 0, 0, 0.55); transition: none; }

/* Pills + buttons */
.t2-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 40px;
	padding: 0 18px;
	border: var(--t2-border);
	border-radius: 999px;
	background: var(--t2-surface);
	color: var(--t2-text);
	font-family: var(--t2-font-px);
	font-size: 13px;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
}
.t2-pill:hover { background: var(--t2-surface-2); color: var(--t2-strong); }
.t2-pill[aria-pressed="true"] { background: var(--t2-text); color: var(--t2-bg); box-shadow: 3px 3px 0 var(--t2-blue); }
.t2 .t2-pill--blue { background: var(--t2-btn-bg, #2F3A7E); color: #FFFFFF; box-shadow: 3px 3px 0 var(--t2-ink); }
.t2 .t2-pill--blue:hover,
.t2 .t2-pill--blue:focus-visible { background: var(--t2-blue); color: #FFFFFF; box-shadow: 3px 3px 0 var(--t2-ink); }
.t2-pill--dark { background: transparent; border-color: var(--t2-text); }
.t2-pill--dark[aria-pressed="true"] { background: var(--t2-text); color: var(--t2-bg); box-shadow: none; }

.t2-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 26px;
	border: var(--t2-border);
	font-family: var(--t2-font);
	font-weight: 900;
	font-stretch: 115%;
	font-size: 15px;
	text-decoration: none;
	cursor: pointer;
	transition: transform .12s, box-shadow .12s;
}
.t2-btn--blue { background: var(--t2-btn-bg, #2F3A7E); color: #FFFFFF; box-shadow: var(--t2-shadow-s); transition: transform .12s, box-shadow .12s, background .15s; }
/* Blue buttons are a softer navy at rest and turn full blue on hover / focus */
.t2 .t2-btn--blue:hover,
.t2 .t2-btn--blue:focus-visible { background: var(--t2-blue); }
.t2-btn--ink  { background: var(--t2-ink); color: #FFFFFF; box-shadow: 5px 5px 0 var(--t2-blue); }
.t2 .t2-btn--blue,
.t2 .t2-btn--ink { color: #FFFFFF; }
.t2 .t2-btn--blue:hover,
.t2 .t2-btn--ink:hover { color: #FFFFFF; transform: translate(-2px, -2px); }

/* Placeholder for the team's artwork */
.t2-slot {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 120px;
	padding: 10px;
	border: 2px dashed #5A5E67;
	background: rgba(255, 255, 255, 0.03);
	color: var(--t2-muted);
	font-family: var(--t2-font-px);
	font-size: 11px;
	text-align: center;
}
.t2-slot--tilt { min-height: 150px; transform: rotate(3deg); }

.t2-tag {
	position: absolute;
	z-index: 1;
	top: 10px;
	left: 10px;
	padding: 3px 8px;
	font-size: 11px;
	background: var(--t2-blue);
	color: #FFFFFF;
}

.t2-stamp {
	position: absolute;
	z-index: 1;
	top: 42%;
	left: 50%;
	transform: translate(-50%, -50%) rotate(-12deg);
	padding: 6px 14px;
	border: 4px solid var(--t2-blue-text);
	background: rgba(30, 31, 35, 0.85);
	color: var(--t2-blue-text);
	font-weight: 900;
	font-stretch: 120%;
	font-size: 24px;
	white-space: nowrap;
}

.t2-chip {
	padding: 3px 8px;
	border-radius: 999px;
	font-size: 10px;
	color: #FFFFFF;
	background: var(--t2-ink);
}
.t2-chip--lookbook { background: var(--t2-blue); }
.t2-chip--mission  { background: var(--t2-navy); }
.t2-chip--bts      { background: #5C6BC0; }

/* WooCommerce price HTML inside our components */
.t2 .t2-card__price del,
.t2 .t2-mini__price del { color: var(--t2-muted); opacity: 1; }
.t2 .t2-card__price ins,
.t2 .t2-mini__price ins {
	text-decoration: none;
	background: var(--t2-navy);
	color: #FFFFFF;
	padding: 1px 6px;
}

/* --------------------------------------------------------------- 4. Header */
.t2-marquee {
	overflow: hidden;
	background: var(--t2-ink);
	color: #FFFFFF; /* the band is always dark, so the text is always white (also in the light theme) */
	font-size: 13px;
}
.t2-marquee__track {
	display: flex;
	width: max-content;
	padding: 9px 0;
	animation: t2-marquee 40s linear infinite;
}
.t2-marquee__track > span { padding-right: 40px; white-space: pre; }
@keyframes t2-marquee { to { transform: translateX(-50%); } }

.t2-header {
	position: relative;
	z-index: 50;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px 24px;
	padding: 16px var(--t2-gutter);
	background: var(--t2-bg);
	border-bottom: var(--t2-border);
}
.t2-header__logo { display: inline-flex; align-items: center; }
.t2-header__logo .t2-logo { display: block; height: 26px; width: auto; }

.t2-nav__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.t2-nav__list > li > a {
	/* menu links rendered by WordPress get the pill look */
	display: inline-flex;
	align-items: center;
	height: 40px;
	padding: 0 18px;
	border: var(--t2-border);
	border-radius: 999px;
	background: var(--t2-surface);
	font-family: var(--t2-font-px);
	font-size: 13px;
	text-transform: uppercase;
	text-decoration: none;
}
.t2-nav__list > li > a:hover,
.t2-nav__list > li.current-menu-item > a { background: var(--t2-text); color: var(--t2-bg); }

.t2-header__actions { display: flex; align-items: center; gap: 8px; }
.t2-header__account { padding: 0 10px; font-size: 13px; text-decoration: none; }
.t2-header__toggle { display: none; }

/* ------------------------------------------------------ 5. Homepage */
.t2-home-main { overflow: hidden; }

.t2-section { padding: 88px var(--t2-gutter) 96px; }
.t2-section__head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 24px;
	margin-bottom: 36px;
}

/* Fixed grid backdrop on every page: the grid stays still, content scrolls over it */
body.t2::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background-color: var(--t2-bg);
	background-image:
		linear-gradient(var(--t2-grid) 1px, transparent 1px),
		linear-gradient(90deg, var(--t2-grid) 1px, transparent 1px);
	background-size: 32px 32px;
}

/* Screens: each homepage block is one big window floating over the grid */
.t2-screen {
	display: flex;
	flex-direction: column;
	min-height: calc(100vh - 160px);
	min-height: calc(100svh - 160px);
	margin: 0 var(--t2-gutter) 80px;
	background: var(--t2-bg);
	border: var(--t2-border);
	box-shadow: var(--t2-shadow-l);
}
.t2-screen__bar { position: sticky; top: 0; z-index: 5; }
.t2-screen > section { flex: 1; }
.t2-screen > .t2-section:not(.t2-studio):not(.t2-about__everyday) {
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.t2-screen .t2-series { border: 0; }
.t2-screen .t2-projects { display: flex; flex-direction: column; justify-content: center; }

/* Hero */
.t2-hero {
	position: relative;
	padding: 32px var(--t2-gutter) 88px;
}
.t2-hero__logo { max-width: min(78%, 1080px); margin: 8px 0 0; line-height: 0; }
.t2-hero__logo .t2-logo { display: block; width: 100%; height: auto; }

.t2-hero__grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 24px;
	margin-top: 40px;
	align-items: start;
}
.t2-hero__player { grid-column: 1 / span 8; z-index: 2; }
.t2-hero__side {
	grid-column: 9 / span 4;
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin-top: 64px;
	z-index: 3;
}

.t2-tabs { display: flex; flex-wrap: wrap; background: var(--t2-surface-2); border-bottom: var(--t2-border); }
.t2-tabs__tab {
	height: 40px;
	padding: 0 18px;
	border: 0;
	border-right: var(--t2-border);
	background: transparent;
	color: var(--t2-muted);
	font-size: 12px;
	cursor: pointer;
}
.t2-tabs__tab[aria-selected="true"] { background: var(--t2-surface); color: var(--t2-text); }

.t2-hero__media {
	position: relative;
	aspect-ratio: 16 / 9;
	background: var(--t2-placeholder);
	overflow: hidden;
}
.t2-hero__media video,
.t2-hero__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.t2-hero__media .t2-slot { position: absolute; inset: 0; border: 0; }
/* vertical video: whole frame visible, blurred copy behind */
.t2-hero__media.is-portrait video { object-fit: contain; z-index: 1; }
.t2-hero__media.is-portrait video.t2-backdrop {
	z-index: 0;
	object-fit: cover;
	filter: blur(28px) brightness(0.55) saturate(1.2);
	transform: scale(1.2);
}

.t2-hero__info {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 20px;
}
.t2-hero__info p { margin: 0; font-size: 16px; line-height: 1.45; color: var(--t2-muted); }

/* Product grid + cards */
.t2-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 32px 28px;
}

.t2-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--t2-surface);
	border: var(--t2-border);
	box-shadow: 5px 5px 0 var(--t2-ink);
	transition: transform .15s, box-shadow .15s;
}
.t2-card:hover { transform: translate(-4px, -4px); box-shadow: 10px 10px 0 var(--t2-ink); }
.t2-card__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 5px 8px;
	font-size: 11px;
	background: var(--t2-surface-2);
	color: var(--t2-muted);
	border-bottom: var(--t2-border);
	transition: background .15s, color .15s;
}
.t2-card__bar .t2-win-btn { width: 15px; height: 13px; }
.t2-card__bar .t2-win-btn--min::before { left: 4px; bottom: 3px; width: 6px; }
.t2-card__bar .t2-win-btn--max::before { left: 3px; top: 2px; width: 8px; height: 7px; }
.t2-card__bar .t2-win-btn--close::before,
.t2-card__bar .t2-win-btn--close::after { left: 6px; top: 2px; height: 8px; }
.t2-card:hover .t2-card__bar { background: linear-gradient(90deg, var(--t2-navy), var(--t2-blue)); color: #FFFFFF; }

.t2-card__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--t2-placeholder);
	border-bottom: var(--t2-border);
}
.t2-card__media img,
.t2 .t2-card__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	margin: 0;
}
.t2-card__img--hover { opacity: 0; transition: opacity .2s; }
.t2-card:hover .t2-card__img--hover { opacity: 1; }
.t2-card.is-sold .t2-card__media img { filter: grayscale(0.6) brightness(0.8); }

.t2-card__body { display: flex; flex-direction: column; gap: 12px; padding: 14px; }
.t2-card__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.t2-card__name { margin: 0; font-size: 17px; font-weight: 800; line-height: 1.2; }
.t2-card__name a { text-decoration: none; }
.t2-card__price { font-size: 14px; white-space: nowrap; }

.t2-card__notify {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 36px;
	border: 2px dashed var(--t2-muted);
	font-size: 11px;
	text-decoration: none;
}

.t2-card__buy { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.t2-size {
	width: 40px;
	height: 36px;
	padding: 0;
	border: var(--t2-border);
	border-radius: 999px;
	background: var(--t2-surface);
	color: var(--t2-text);
	font-size: 11px;
	cursor: pointer;
}
.t2-size[aria-pressed="true"] { background: var(--t2-text); color: var(--t2-bg); }
.t2-size:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }

.t2-add {
	margin-left: auto;
	height: 36px;
	padding: 0 12px;
	border: var(--t2-border);
	background: var(--t2-surface-2);
	color: var(--t2-muted);
	font-family: var(--t2-font);
	font-weight: 900;
	font-size: 12px;
	cursor: pointer;
}
.t2-add.is-ready { background: var(--t2-blue); color: #FFFFFF; }
.t2-add:disabled { cursor: not-allowed; }

/* Series (e.g. Flame) */
.t2-series {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	border-top: var(--t2-border);
	border-bottom: var(--t2-border);
}
.t2-series__stage {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 620px;
	padding: 48px 24px;
	background-color: var(--t2-blue);
	border-right: var(--t2-border);
}
.t2-series__win { width: min(340px, 100%); }
.t2-series__img { aspect-ratio: 34 / 44; overflow: hidden; background: var(--t2-placeholder); }
.t2-series__img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.t2-series__copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 22px;
	padding: 64px 5vw;
}
.t2-series__copy p { margin: 0; max-width: 440px; font-size: 18px; line-height: 1.5; color: var(--t2-muted); }
.t2-series__picker { display: flex; flex-wrap: wrap; gap: 10px; }
.t2-series__picker .t2-pill { height: 44px; padding: 0 14px 0 6px; font-size: 11px; }
.t2-series__picker .t2-pill img {
	width: 30px;
	height: 30px;
	object-fit: cover;
	border-radius: 50%;
	border: var(--t2-border);
}
.t2-series__copy .t2-btn { align-self: flex-start; }

/* More & last pieces */
.t2-mini-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 20px;
}
.t2-mini {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px;
	background: var(--t2-surface);
	border: var(--t2-border);
	box-shadow: var(--t2-shadow-s);
	text-decoration: none;
}
.t2-mini:hover { background: var(--t2-surface-2); }
.t2-mini__img {
	flex-shrink: 0;
	width: 72px;
	height: 90px;
	overflow: hidden;
	background: var(--t2-placeholder);
	border: var(--t2-border);
}
.t2-mini__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.t2-mini__text { display: flex; flex-direction: column; gap: 6px; }
.t2-mini__tag { font-size: 10px; color: var(--t2-muted); }
.t2-mini__name { font-size: 16px; font-weight: 800; }
.t2-mini__price { font-size: 13px; }

/* Studio */
.t2-studio {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 24px;
	align-items: center;
	padding-top: 104px;
	padding-bottom: 104px;
}
.t2-studio__copy {
	grid-column: span 5;
	display: flex;
	flex-direction: column;
	gap: 22px;
}
.t2-studio__copy p { margin: 0; max-width: 460px; font-size: 18px; line-height: 1.55; color: var(--t2-muted); }
.t2-studio__copy .t2-more { align-self: flex-start; }
.t2-studio__desk { grid-column: 7 / span 6; position: relative; height: 560px; }
.t2-studio__win { position: absolute; box-shadow: var(--t2-shadow); cursor: pointer; }
.t2-studio__win img,
.t2-studio__win .t2-slot { display: block; width: 100%; height: 100%; object-fit: cover; border: 0; }
.t2-studio__win--1 { left: 0;   top: 30px;  width: 330px; z-index: 1; }
.t2-studio__win--2 { left: 26%; top: 200px; width: 340px; z-index: 2; }
.t2-studio__win--3 { left: 56%; top: 0;     width: 260px; z-index: 3; }
.t2-studio__win--1 > :last-child { height: 230px; }
.t2-studio__win--2 > :last-child { height: 220px; }
.t2-studio__win--3 > :last-child { height: 300px; }

/* Projects */
.t2-projects { padding: 96px var(--t2-gutter); background: var(--t2-band); }
.t2-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.t2-filters .t2-pill { font-size: 12px; }
.t2-project-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 20px;
}
.t2-project {
	display: flex;
	flex-direction: column;
	background: var(--t2-surface);
	border: var(--t2-border);
	box-shadow: var(--t2-shadow-s);
	text-decoration: none;
}
.t2-project[hidden] { display: none; }
.t2-project__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--t2-placeholder); }
.t2-project__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.t2-project__body { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-top: var(--t2-border); }
.t2-project__name { font-weight: 900; font-stretch: 115%; font-size: 17px; text-transform: uppercase; }
.t2-project__meta { display: flex; justify-content: space-between; align-items: center; font-size: 11px; }

/* Newsletter */
.t2-newsletter {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 40px;
	margin: 88px var(--t2-gutter);
	padding: 56px 4vw;
	background: var(--t2-btn-bg, #2F3A7E);
	color: #FFFFFF;
	border: var(--t2-border);
	box-shadow: var(--t2-shadow-l);
}
.t2-newsletter .t2-h { color: #FFFFFF; }
.t2-newsletter p { margin: 12px 0 0; font-size: 17px; line-height: 1.5; }
.t2-newsletter__form { display: flex; flex: 1 1 380px; max-width: 520px; }
.t2 .t2-newsletter__form input[type="email"] {
	flex: 1;
	min-width: 0;
	height: 56px;
	margin: 0;
	padding: 0 16px;
	background: var(--t2-bg);
	color: var(--t2-text);
	border: var(--t2-border);
	border-radius: 0;
	box-shadow: inset 3px 3px 0 var(--t2-ink);
	font-size: 13px;
}
.t2 .t2-newsletter__form button {
	height: 56px;
	padding: 0 24px;
	border: var(--t2-border);
	border-radius: 0;
	background: var(--t2-ink);
	color: #FFFFFF;
	font-family: var(--t2-font);
	font-weight: 900;
	font-stretch: 115%;
	font-size: 15px;
	cursor: pointer;
}

/* --------------------------------------------------------------- 6. Footer */
.t2-footer {
	display: flex;
	flex-direction: column;
	gap: 40px;
	padding: 56px var(--t2-gutter) 32px;
	background: var(--t2-bg);
	border-top: var(--t2-border);
	font-size: 15px;
}
.t2-footer__cols {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 32px;
}
.t2-footer__col { display: flex; flex-direction: column; gap: 10px; }
.t2-footer__head { font-size: 12px; color: var(--t2-muted); }
.t2-footer a { text-decoration: none; }
.t2-footer__list { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.t2-footer__band { padding: 3vw; background: var(--t2-btn-bg, #2F3A7E); border: var(--t2-border); line-height: 0; }
.t2-footer__band .t2-logo { display: block; width: 100%; height: auto; }
.t2-footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 11px; color: var(--t2-muted); }

/* ------------------------------------------- 7. Store (Astra + WooCommerce) */
body.t2 .ast-container { color: var(--t2-text); }

/* Inputs */
body.t2 input[type="text"],
body.t2 input[type="email"],
body.t2 input[type="tel"],
body.t2 input[type="password"],
body.t2 input[type="number"],
body.t2 input[type="search"],
body.t2 textarea,
body.t2 select,
body.t2 .select2-container--default .select2-selection--single {
	background: var(--t2-bg);
	color: var(--t2-text);
	border: var(--t2-border);
	border-radius: 0;
	box-shadow: inset 3px 3px 0 var(--t2-ink);
}
body.t2 .select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--t2-text); }
body.t2 .select2-dropdown { background: var(--t2-surface); color: var(--t2-text); border: var(--t2-border); }
body.t2 label { color: var(--t2-text); }
body.t2 ::placeholder { color: var(--t2-muted); }

/* Buttons (WooCommerce + Astra) */
body.t2 .button,
body.t2 button.button,
body.t2 input[type="submit"],
body.t2 .wp-element-button,
body.t2 .woocommerce a.button,
body.t2 .woocommerce button.button,
body.t2 .woocommerce input.button,
body.t2 .woocommerce #respond input#submit {
	background: var(--t2-surface);
	color: var(--t2-text);
	border: var(--t2-border);
	border-radius: 0;
	box-shadow: var(--t2-shadow-s);
	font-family: var(--t2-font);
	font-weight: 900;
	text-transform: uppercase;
}
body.t2 .woocommerce a.button.alt,
body.t2 .woocommerce button.button.alt,
body.t2 .single_add_to_cart_button,
body.t2 .checkout-button,
body.t2 #place_order {
	background: var(--t2-blue);
	color: #FFFFFF;
}
body.t2 .button:hover,
body.t2 .woocommerce a.button:hover,
body.t2 .woocommerce button.button:hover {
	background: var(--t2-surface-2);
	color: #FFFFFF;
}
body.t2 .woocommerce button.button.alt:hover,
body.t2 .single_add_to_cart_button:hover,
body.t2 .checkout-button:hover,
body.t2 #place_order:hover { background: var(--t2-navy); color: #FFFFFF; }

/* Shop / category loops: products become windows */
body.t2 .woocommerce ul.products li.product,
body.t2 ul.products li.product {
	background: var(--t2-surface);
	border: var(--t2-border);
	box-shadow: 5px 5px 0 var(--t2-ink);
	padding: 0 0 14px;
	transition: transform .15s, box-shadow .15s;
}
body.t2 ul.products li.product:hover { transform: translate(-4px, -4px); box-shadow: 10px 10px 0 var(--t2-ink); }
/* Smaller cards: 4 per row on desktop (overrides Astra's column setting) */
body.t2 ul.products,
body.t2 .woocommerce ul.products,
body.t2 .woocommerce-page ul.products,
body.t2 ul.products[class*="columns-"] {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 28px 24px;
	margin: 0 0 40px;
	padding: 0;
}
body.t2 ul.products::before,
body.t2 ul.products::after { display: none; }
body.t2 ul.products li.product,
body.t2 .woocommerce ul.products li.product,
body.t2 .woocommerce-page ul.products li.product,
body.t2 ul.products[class*="columns-"] li.product {
	width: auto;
	margin: 0;
	float: none;
	display: flex;
	flex-direction: column;
}

/* Text + button get the same side padding, button fills the card width */
body.t2 ul.products li.product .astra-shop-summary-wrap {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 0 14px;
}
body.t2 ul.products li.product .woocommerce-loop-product__title,
body.t2 ul.products li.product .price,
body.t2 ul.products li.product .ast-woo-product-category { margin-left: 0; margin-right: 0; }
body.t2 ul.products li.product .astra-shop-summary-wrap .button,
body.t2 .woocommerce ul.products li.product .astra-shop-summary-wrap a.button {
	display: block;
	width: 100%;
	margin: auto 0 0;
	text-align: center;
}
body.t2 ul.products li.product .price,
body.t2 ul.products li.product .price .amount,
body.t2 .woocommerce ul.products li.product .price { color: var(--t2-text); font-family: var(--t2-font-px); font-size: 13px; }
body.t2 ul.products li.product .price del,
body.t2 ul.products li.product .price del .amount { color: var(--t2-muted); }
body.t2 ul.products li.product .price ins .amount { color: var(--t2-strong); }
body.t2 ul.products li.product .woocommerce-loop-product__title { color: var(--t2-text); font-weight: 800; }
body.t2 ul.products li.product .ast-woo-product-category { font-family: var(--t2-font-px); font-size: 10px; color: var(--t2-muted); }
body.t2 ul.products li.product img { border-bottom: var(--t2-border); margin-bottom: 12px; }

body.t2 .woocommerce span.onsale,
body.t2 span.onsale {
	background: var(--t2-blue);
	color: #FFFFFF;
	border-radius: 0;
	font-family: var(--t2-font-px);
	font-weight: 400;
	min-height: 0;
	min-width: 0;
	line-height: 1;
	padding: 5px 8px;
}

body.t2 .price,
body.t2 .woocommerce .price { color: var(--t2-text); }
body.t2 .price del { color: var(--t2-muted); }
body.t2 .price ins { text-decoration: none; background: var(--t2-navy); color: #FFFFFF; padding: 1px 6px; }

body.t2 .woocommerce-breadcrumb,
body.t2 .woocommerce-breadcrumb a,
body.t2 .woocommerce-result-count { color: var(--t2-muted); font-family: var(--t2-font-px); font-size: 12px; }

body.t2 .woocommerce-pagination ul,
body.t2 .woocommerce-pagination ul li { border-color: var(--t2-ink); }
body.t2 .woocommerce-pagination ul li a,
body.t2 .woocommerce-pagination ul li span { background: var(--t2-surface); color: var(--t2-text); }
body.t2 .woocommerce-pagination ul li span.current { background: var(--t2-text); color: var(--t2-bg); }

/* Single product */
body.t2 .woocommerce div.product .product_title { font-weight: 900; font-stretch: 125%; letter-spacing: -0.02em; text-transform: uppercase; }
body.t2 .woocommerce div.product div.images .woocommerce-product-gallery__wrapper { border: var(--t2-border); box-shadow: var(--t2-shadow); background: var(--t2-placeholder); }
body.t2 .woocommerce div.product .woocommerce-tabs ul.tabs li { background: var(--t2-surface-2); border: var(--t2-border); border-radius: 0; }
body.t2 .woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--t2-surface); }
body.t2 .woocommerce div.product .woocommerce-tabs ul.tabs li a { color: var(--t2-text); font-family: var(--t2-font-px); font-weight: 400; }
body.t2 .woocommerce div.product .woocommerce-tabs .panel { color: var(--t2-text); }
body.t2 .product_meta { color: var(--t2-muted); font-size: 13px; }

/* Variation Swatches plugin buttons */
body.t2 .variable-items-wrapper .variable-item:not(.radio-variable-item) {
	background: var(--t2-surface);
	color: var(--t2-text);
	border-radius: 999px;
	box-shadow: 0 0 0 2px var(--t2-ink);
}
body.t2 .variable-items-wrapper .variable-item.selected,
body.t2 .variable-items-wrapper .variable-item:not(.radio-variable-item):hover {
	background: var(--t2-text);
	color: var(--t2-bg);
	box-shadow: 0 0 0 2px var(--t2-ink);
}
body.t2 .variable-items-wrapper .variable-item .variable-item-span { color: inherit; font-family: var(--t2-font-px); }

/* Quantity */
body.t2 .quantity .qty { background: var(--t2-bg); color: var(--t2-text); }

/* Cart, checkout, account: panels */
body.t2 .woocommerce table.shop_table,
body.t2 .woocommerce-cart .cart-collaterals .cart_totals,
body.t2 #order_review,
body.t2 .woocommerce-checkout-review-order,
body.t2 .woocommerce-MyAccount-navigation,
body.t2 .woocommerce form.login,
body.t2 .woocommerce form.register,
body.t2 .woocommerce form.checkout_coupon {
	background: var(--t2-surface);
	color: var(--t2-text);
	border: var(--t2-border);
	border-radius: 0;
	box-shadow: var(--t2-shadow);
}
body.t2 .woocommerce table.shop_table th,
body.t2 .woocommerce table.shop_table td { border-color: var(--t2-placeholder); color: var(--t2-text); }
body.t2 .woocommerce-MyAccount-navigation ul li a { color: var(--t2-text); }
body.t2 .woocommerce-MyAccount-navigation ul li.is-active a { color: var(--t2-blue-text); }

/* Payment box: keep WooCommerce/processor fields readable, don't restyle their iframes */
body.t2 #payment,
body.t2 .woocommerce-checkout #payment { background: var(--t2-surface-2); border-radius: 0; }
body.t2 #payment div.payment_box { background: var(--t2-surface); color: var(--t2-text); }
body.t2 #payment div.payment_box::before { border-bottom-color: var(--t2-surface); }

/* Notices */
body.t2 .woocommerce-message,
body.t2 .woocommerce-info,
body.t2 .woocommerce-error,
body.t2 .woocommerce-notices-wrapper > * {
	background: var(--t2-surface);
	color: var(--t2-text);
	border: var(--t2-border);
	border-top: 4px solid var(--t2-blue);
	border-radius: 0;
}
body.t2 .woocommerce-error { border-top-color: var(--t2-blue-text); }

/* Generic pages (About, policies) */
body.t2 .entry-content { color: var(--t2-text); }
body.t2 .entry-content a { color: var(--t2-blue-text); text-decoration: underline; }

/* ----------------------------------------------------------- 8. Responsive */
@media (max-width: 1024px) {
	.t2-hero__player { grid-column: 1 / -1; }
	.t2-hero__side { grid-column: 1 / -1; margin-top: 0; flex-direction: row; align-items: stretch; }
	.t2-hero__side > .t2-win { flex: 1; }
	.t2-hero__side > .t2-slot { width: 160px; flex-shrink: 0; }
	.t2-studio__copy,
	.t2-studio__desk { grid-column: 1 / -1; }
}

@media (max-width: 782px) {
	.t2-header { padding-top: 8px; padding-bottom: 8px; gap: 8px; flex-wrap: wrap; }
	.t2-header__logo { flex: 1; justify-content: center; }
	.t2-cart-label { display: none; }
	.t2-header__actions .t2-pill--blue { min-width: 44px; height: 44px; padding: 0 14px; justify-content: center; }
	.t2-header__toggle { height: 44px; }
	.t2-header__logo .t2-logo { height: 20px; }
	.t2-header__toggle { display: inline-flex; order: -1; padding: 0 14px; }
	.t2-header__account { display: none; }
	.t2-nav { display: none; width: 100%; order: 10; }
	.t2-nav.is-open { display: block; }
	.t2-nav__list { flex-direction: column; padding: 8px 0 12px; }
	.t2-nav__list > li > a { width: 100%; justify-content: center; height: 48px; }

	.t2-section { padding-top: 48px; padding-bottom: 48px; }
	.t2-hero { padding-top: 16px; padding-bottom: 48px; }
	.t2-hero__grid { margin-top: 16px; }
	.t2-hero__media { aspect-ratio: 16 / 9; } /* video stays horizontal on phones, no black bars */
	.t2-hero__media.t2-hero__bf { aspect-ratio: 4 / 5; } /* Black Friday grid keeps a taller box */
	.t2-hero__side { flex-direction: column; }
	.t2-hero__side > .t2-slot { display: none; }
	.t2-tabs__tab { flex: 1; padding: 0 6px; height: 44px; font-size: 10px; }

	.t2-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
	.t2-card__name { font-size: 13px; }
	.t2-card__row { flex-direction: column; gap: 4px; }
	.t2-card__price { font-size: 11px; }
	.t2-card__buy { display: none; } /* mobile: tap the card to choose a size */
	.t2-card__bar { font-size: 9px; padding: 4px 6px; }
	.t2-card__bar .t2-win-btns { display: none; }
	.t2-stamp { font-size: 15px; border-width: 3px; padding: 3px 8px; }

	.t2-series { grid-template-columns: 1fr; }
	.t2-series__stage { min-height: 400px; border-right: 0; border-bottom: var(--t2-border); }
	.t2-series__win { width: 220px; }
	.t2-series__copy { padding: 28px var(--t2-gutter) 40px; }
	.t2-series__picker { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.t2-series__picker .t2-pill { font-size: 9px; }
	.t2-series__copy .t2-btn { align-self: stretch; }

	.t2-mini-grid { grid-template-columns: 1fr; gap: 12px; }

	.t2-studio__desk { height: 360px; }
	.t2-studio__win--1 { width: 230px; }
	.t2-studio__win--2 { left: 18%; top: 120px; width: 240px; }
	.t2-studio__win--3 { left: auto; right: 0; top: 20px; width: 180px; }
	.t2-studio__win--1 > :last-child { height: 170px; }
	.t2-studio__win--2 > :last-child { height: 160px; }
	.t2-studio__win--3 > :last-child { height: 220px; }

	.t2-projects { padding: 48px 0; }
	.t2-projects .t2-section__head { padding: 0 var(--t2-gutter); }
	.t2-filters { flex-wrap: nowrap; overflow-x: auto; width: 100%; }
	.t2-filters .t2-pill { flex-shrink: 0; font-size: 11px; }
	.t2-project-grid {
		display: flex;
		gap: 12px;
		overflow-x: auto;
		padding: 0 var(--t2-gutter) 8px;
		scroll-snap-type: x mandatory;
	}
	.t2-project { flex: 0 0 200px; scroll-snap-align: start; }

	.t2-newsletter { margin: 48px var(--t2-gutter); padding: 28px 16px; gap: 16px; }
	.t2-newsletter__form { flex-direction: column; gap: 12px; flex-basis: 100%; }
	.t2 .t2-newsletter__form input[type="email"],
	.t2 .t2-newsletter__form button { flex: none; width: 100%; height: 52px; }

	.t2-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
	.t2-marquee__track { animation: none; }
	.t2-card,
	.t2-btn { transition: none; }
	.t2-card:hover { transform: none; }
}

/* YouTube in the hero player: fills the 16:9 frame */
.t2-hero__media iframe.t2-hero__yt {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100%;
	height: 100%;
	border: 0;
	transform: translate(-50%, -50%);
	pointer-events: none; /* background-style video: clicks go to the page, not YouTube */
}
.t2-studio__win video { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Hero player controls (bottom of the video window) */
.t2-hero__media { cursor: pointer; }
.t2-player {
	position: absolute;
	left: 12px;
	bottom: 12px;
	z-index: 3;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.t2 .t2-player__btn {
	display: inline-flex;
	align-items: center;
	height: 34px;
	padding: 0 12px;
	margin: 0;
	border: var(--t2-border);
	border-radius: 0;
	background: var(--t2-ink);
	color: #FFFFFF;
	box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.6);
	font-size: 11px;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
}
.t2 .t2-player__btn:hover,
.t2 .t2-player__btn:focus-visible { background: var(--t2-blue); color: #FFFFFF; }
.t2 .t2-player__btn[data-t2-sound][aria-pressed="true"] { background: var(--t2-blue); }

/* Screens on small screens: tighter margins, height follows content */
@media (max-width: 782px) {
	.t2-screen { min-height: 0; margin: 0 10px 40px; box-shadow: var(--t2-shadow); }
	.t2-screen .t2-projects { padding-top: 40px; padding-bottom: 40px; }
}

/* Shop grid: 3 columns on tablets, 2 on phones */
@media (max-width: 1100px) {
	body.t2 ul.products,
	body.t2 .woocommerce ul.products,
	body.t2 ul.products[class*="columns-"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 782px) {
	body.t2 ul.products,
	body.t2 .woocommerce ul.products,
	body.t2 ul.products[class*="columns-"] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
	body.t2 ul.products li.product .astra-shop-summary-wrap { padding: 0 10px; }
	body.t2 ul.products li.product .woocommerce-loop-product__title { font-size: 14px; }
	body.t2 ul.products li.product .astra-shop-summary-wrap .button { font-size: 12px; padding-left: 6px; padding-right: 6px; }
}

/* Hero artwork window (under info.txt) */
.t2-hero__art img { display: block; width: 100%; height: auto; background: #FFFFFF; }

/* ------------------------------------------------------------ About page */
.t2-about__intro {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 24px;
	align-items: center;
	min-height: calc(100vh - 160px);
	min-height: calc(100svh - 160px);
	padding: 48px var(--t2-gutter) 80px;
}
.t2-about__intro-copy { grid-column: 1 / span 6; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.t2-about__title { margin: 0; font-size: clamp(48px, 9vw, 132px); line-height: 0.88; }
.t2-about__lead { margin: 0; max-width: 520px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; color: var(--t2-muted); }
.t2-about__desk { grid-column: 7 / span 6; position: relative; height: 560px; }
.t2-about__video { box-shadow: var(--t2-shadow); }
.t2-about__video video,
.t2-about__video img { display: block; width: 100%; height: 100%; object-fit: cover; }
.t2-about__desk .t2-about__video { position: absolute; }
.t2-about__desk .t2-about__video--3 { left: 0; top: 0; width: 72%; z-index: 1; }
.t2-about__desk .t2-about__video--1 { right: 0; bottom: 0; width: 52%; z-index: 2; }
.t2-about__desk .t2-about__video--3 > :last-child { height: 340px; }
.t2-about__desk .t2-about__video--1 > :last-child { height: 280px; }

.t2-about__everyday {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 24px;
	align-items: center;
}
.t2-about__everyday > .t2-about__video { grid-column: 1 / span 6; }
.t2-about__everyday > .t2-about__video > :last-child { aspect-ratio: 4 / 5; height: auto; max-height: 70vh; }
.t2-about__everyday-copy { grid-column: 8 / span 5; display: flex; flex-direction: column; gap: 32px; }
.t2-about__statement { margin: 0; font-weight: 900; font-stretch: 115%; font-size: clamp(22px, 2.4vw, 34px); line-height: 1.15; text-transform: uppercase; }
.t2-about__links { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }

.t2-about__contact-links { display: flex; flex-wrap: wrap; gap: 12px; }
.t2-about__contact-links .t2-pill { background: var(--t2-ink); color: #FFFFFF; border-color: var(--t2-ink); }
.t2-about__contact-links .t2-pill:hover { background: #FFFFFF; color: var(--t2-ink); }

@media (max-width: 782px) {
	.t2-hero__logo { max-width: 100%; }
	.t2-about__intro { min-height: 0; padding-top: 24px; padding-bottom: 48px; }
	.t2-about__intro-copy,
	.t2-about__desk,
	.t2-about__everyday > .t2-about__video,
	.t2-about__everyday-copy { grid-column: 1 / -1; }
	.t2-about__desk { height: 380px; }
	.t2-about__desk .t2-about__video--3 > :last-child { height: 220px; }
	.t2-about__desk .t2-about__video--1 > :last-child { height: 180px; }
	.t2-about__everyday-copy { gap: 24px; }
}


/* ------------------------------------------------------- Custom cursor */
/* Same cursor as the old site (was in Astra's Additional CSS): one image normally, another while clicking.
   First the copy bundled with the theme, then the original upload on the site, then the normal cursor. */
html,
html * {
	cursor: url("../img/cursor.png"), url("/wp-content/uploads/2025/02/Asset-5-e1740336014680.png"), auto !important;
}
html *:active {
	cursor: url("../img/cursor-active.png"), url("/wp-content/uploads/2025/02/Asset-6-e1740335993117.png"), auto !important;
}
/* Text fields keep the text cursor so it's clear where you're typing */
html input[type="text"],
html input[type="email"],
html input[type="tel"],
html input[type="password"],
html input[type="search"],
html input[type="number"],
html textarea {
	cursor: text !important;
}

/* Theme switch in the header */
.t2-theme-toggle { width: 44px; padding: 0; justify-content: center; }
.t2-theme-toggle__icon { display: block; transition: transform .25s steps(4); }
.t2-theme-toggle:hover .t2-theme-toggle__icon,
.t2-theme-toggle:focus-visible .t2-theme-toggle__icon { transform: rotate(180deg); }
@media (max-width: 782px) {
	.t2-theme-toggle { height: 44px; }
}


/* ===================================================================
 * 9. Store pages (Shop/drops, product, cart & checkout blocks), 404,
 *    search, Contact, hero YouTube consent
 * ================================================================ */

/* Shared */
.t2-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.t2-empty { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 40px 0; }
.t2-empty p { margin: 0; color: var(--t2-muted); font-size: 14px; }

.t2-search { display: flex; max-width: 560px; margin: 0 0 36px; }
.t2 .t2-search input[type="search"] {
	flex: 1;
	min-width: 0;
	height: 52px;
	padding: 0 16px;
	border: var(--t2-border);
	border-right: 0;
	border-radius: 0;
	background: var(--t2-bg);
	color: var(--t2-text);
	font-family: var(--t2-font-px);
	font-size: 13px;
	box-shadow: inset 3px 3px 0 var(--t2-ink);
}
.t2-search .t2-btn { min-height: 52px; box-shadow: none; }

.t2 .t2-pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 56px; }
.t2 .t2-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: var(--t2-border);
	background: var(--t2-surface);
	color: var(--t2-text);
	font-family: var(--t2-font-px);
	font-size: 12px;
	text-decoration: none;
}
.t2 .t2-pagination .page-numbers.current { background: var(--t2-text); color: var(--t2-bg); box-shadow: 3px 3px 0 var(--t2-blue); }

/* Screens that hold long lists start at the top, not centred */
.t2-shop,
.t2-results { padding-top: 32px; }
.t2-screen > .t2-shop__inner,
.t2-screen > .t2-results__inner { justify-content: flex-start; }
.t2-shop .t2-screen,
.t2-results .t2-screen { min-height: 0; }

/* Shop and drop pages */
.t2-shop__cell { display: contents; }
.t2-shop__desc { max-width: 62ch; margin-top: 14px; color: var(--t2-muted); font-size: 17px; line-height: 1.5; }
.t2-shop__desc p { margin: 0 0 8px; }
.t2-shop__banner { margin-bottom: 40px; }
.t2-shop__banner img { display: block; width: 100%; max-height: 460px; object-fit: cover; }
.t2-shop__bar { display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; }
.t2-shop__tools { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.t2-shop__drops .t2-pill { font-size: 12px; }
.t2-shop .woocommerce-ordering { margin: 0 0 0 auto; }
.t2 .t2-shop .woocommerce-ordering select {
	height: 40px;
	padding: 0 36px 0 16px;
	border: var(--t2-border);
	border-radius: 999px;
	background-color: var(--t2-surface);
	color: var(--t2-text);
	font-family: var(--t2-font-px);
	font-size: 12px;
	box-shadow: none;
	cursor: pointer;
}

/* Product page */
body.t2.single-product .site-content { padding-top: 32px; }
body.t2.single-product .woocommerce-breadcrumb { margin-bottom: 20px; }
body.t2.single-product div.product {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: 32px 56px;
	align-items: start;
}
body.t2.single-product div.product::before,
body.t2.single-product div.product::after { display: none; }
body.t2.single-product div.product > * { grid-column: 1 / -1; min-width: 0; }
body.t2.single-product div.product > .t2-pgal { grid-column: 1; }
body.t2.single-product div.product > .summary {
	grid-column: 2;
	position: relative;
	width: auto !important;
	float: none !important;
	margin: 0 !important;
}
body.t2 .t2-pgal { position: relative; }
body.t2 .t2-pgal div.images,
body.t2 .t2-pgal .woocommerce-product-gallery {
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
}
body.t2.woocommerce .t2-pgal .woocommerce-product-gallery__wrapper,
body.t2 .woocommerce .t2-pgal .woocommerce-product-gallery__wrapper { border: 0; box-shadow: none; }
body.t2 .t2-pgal .woocommerce-product-gallery__image img { display: block; width: 100%; }
body.t2 .t2-pgal .flex-control-thumbs {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 8px;
	margin: 0;
	padding: 10px;
	border-top: var(--t2-border);
	background: var(--t2-surface-2);
}
body.t2 .t2-pgal .flex-control-thumbs li { width: auto !important; float: none !important; margin: 0 !important; }
body.t2 .t2-pgal .flex-control-thumbs img { border: var(--t2-border); opacity: .55; transition: opacity .15s; }
body.t2 .t2-pgal .flex-control-thumbs img.flex-active,
body.t2 .t2-pgal .flex-control-thumbs img:hover { opacity: 1; }
body.t2 .t2-pgal .woocommerce-product-gallery__trigger { top: 50px; right: 12px; }
body.t2 .t2-pgal span.onsale { position: absolute; top: 48px; left: 12px; z-index: 3; margin: 0; }

body.t2.single-product .summary .product_title {
	margin: 0 0 12px;
	font-size: clamp(32px, 4vw, 56px);
	line-height: 0.95;
	color: var(--t2-text);
}
body.t2.single-product .summary .price { font-family: var(--t2-font-px); font-size: 20px; margin: 0 0 18px; }
body.t2.single-product .summary .woocommerce-product-details__short-description { color: var(--t2-muted); font-size: 16px; line-height: 1.5; }
body.t2.single-product .summary table.variations { margin: 0 0 8px; border: 0; background: transparent; }
body.t2.single-product .summary table.variations th,
body.t2.single-product .summary table.variations td { padding: 6px 0; border: 0; background: transparent; }
body.t2.single-product .summary table.variations th.label,
body.t2.single-product .summary table.variations label { font-family: var(--t2-font-px); font-size: 12px; font-weight: 400; }
body.t2.single-product .summary .reset_variations { font-family: var(--t2-font-px); font-size: 11px; color: var(--t2-muted); }
body.t2.single-product .summary form.cart { display: block; margin: 0 0 20px; }
body.t2.single-product .summary .woocommerce-variation-add-to-cart,
body.t2.single-product .summary form.cart:not(.variations_form) { display: flex; gap: 10px; align-items: stretch; }
body.t2.single-product .summary .quantity .qty { height: 52px; width: 64px; border: var(--t2-border); border-radius: 0; }
body.t2.single-product .summary .single_add_to_cart_button {
	flex: 1;
	min-height: 52px;
	font-size: 15px;
	font-stretch: 115%;
	box-shadow: var(--t2-shadow-s);
}
body.t2.single-product .summary .stock { font-family: var(--t2-font-px); font-size: 12px; color: var(--t2-blue-text); }
body.t2.single-product .summary .stock.out-of-stock { color: var(--t2-muted); }

.t2-sizeguide__btn { margin: 4px 0 18px; font-size: 12px; }

.t2-pinfo { display: flex; flex-direction: column; margin: 8px 0 20px; border: var(--t2-border); background: var(--t2-surface); }
.t2 .t2-pinfo__row {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 14px;
	font-size: 12px;
	text-decoration: none;
	border-bottom: var(--t2-border);
}
.t2 .t2-pinfo__row:last-child { border-bottom: 0; }
.t2 .t2-pinfo__row span { color: var(--t2-muted); text-transform: none; }
.t2 .t2-pinfo__row:hover { background: var(--t2-surface-2); color: var(--t2-strong); }

body.t2.single-product .woocommerce-tabs { margin-top: 48px; }
body.t2.single-product .woocommerce-tabs .panel {
	padding: 24px;
	border: var(--t2-border);
	background: var(--t2-surface);
	box-shadow: var(--t2-shadow);
}
body.t2.single-product .woocommerce-tabs .panel h2 { font-size: 18px; color: var(--t2-text); }
body.t2 .t2-related { margin: 72px 0 24px; }

/* Dialog window (size guide) */
.t2-dialog {
	width: min(920px, 94vw);
	max-width: none;
	max-height: 92vh;
	padding: 0;
	border: 0;
	background: transparent;
	overflow: visible;
}
.t2-dialog::backdrop { background: rgba(5, 5, 8, 0.72); }
.t2-dialog__win { max-height: 92vh; overflow: auto; }
.t2-dialog__win .t2-win__bar { position: sticky; top: 0; z-index: 1; }
.t2 .t2-dialog__img { display: block; width: 100%; height: auto; background: #FFFFFF; }

/* 404 */
.t2-404__inner { display: flex; justify-content: center; padding-top: 72px; }
.t2-404__win { width: min(640px, 100%); }
.t2-404__body { display: flex; align-items: center; gap: 24px; padding: 28px; }
.t2-404__icon {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	border: var(--t2-border);
	background: var(--t2-blue);
	color: #FFFFFF;
	font-size: 40px;
	box-shadow: var(--t2-shadow-s);
}
.t2-404__body .t2-h { margin: 0; }
.t2-404__text { margin: 8px 0 0; color: var(--t2-muted); font-size: 18px; }
.t2-404__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 0 28px 24px; }
.t2-404__search { padding: 0 28px 4px; }
.t2-404__search .t2-search { margin-bottom: 24px; }
.t2-404__more { padding-top: 24px; }

/* Search results */
.t2-results__grid { margin-bottom: 48px; }
.t2-results__list { max-width: 760px; }
.t2-results__list ul { margin: 0; padding: 0; list-style: none; }
.t2-results__list li { border-bottom: var(--t2-border); }
.t2-results__list li:last-child { border-bottom: 0; }
.t2 .t2-results__list a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 18px; text-decoration: none; }
.t2 .t2-results__list a:hover { background: var(--t2-surface-2); }
.t2-results__title { font-weight: 800; }
.t2-results__meta { color: var(--t2-muted); font-size: 11px; white-space: nowrap; }

/* Contact */
.t2-contact__intro { padding-bottom: 40px; }
.t2-contact__intro .t2-h { margin: 14px 0 0; }
.t2-contact__lead { max-width: 52ch; margin: 18px 0 0; color: var(--t2-muted); font-size: 19px; line-height: 1.5; }
.t2-contact__desk {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
	gap: 40px 48px;
	padding: 0 var(--t2-gutter) 110px;
}
.t2-contact__win--mail { grid-row: span 2; align-self: start; }
.t2-contact__win--social { margin-top: 36px; }
.t2-contact__body { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 24px; }
.t2-contact__note { margin: 0; color: var(--t2-muted); font-size: 16px; line-height: 1.5; }
.t2 .t2-contact__email {
	font-size: clamp(20px, 2.5vw, 34px);
	font-weight: 900;
	font-stretch: 110%;
	line-height: 1.15;
	overflow-wrap: anywhere;
	text-decoration: underline;
	text-decoration-color: var(--t2-blue);
	text-decoration-thickness: 4px;
	text-underline-offset: 6px;
}
.t2-contact__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.t2-contact__list { margin: 0; padding: 0; list-style: none; }
.t2-contact__list li { border-bottom: var(--t2-border); }
.t2-contact__list li:last-child { border-bottom: 0; }
.t2 .t2-contact__list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; text-decoration: none; }
.t2 .t2-contact__list a:hover { background: var(--t2-blue); color: #FFFFFF; }
.t2-contact__net { font-size: 12px; }
.t2-contact__handle { font-weight: 800; }

/* Hero: YouTube waits for cookie consent (only when the WPConsent banner is on) */
.t2-hero__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.t2-hero__media iframe.t2-hero__yt:not([src]) { visibility: hidden; }
.t2-consent { display: none; }
.t2-hero__media.needs-consent .t2-consent {
	position: absolute;
	inset: 0;
	z-index: 4;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 16px;
	padding: 20px;
	background: rgba(13, 13, 13, 0.6);
	text-align: center;
}
.t2-consent p { margin: 0; color: #FFFFFF; font-size: 12px; }
.t2-hero__media.needs-consent [data-t2-play],
.t2-hero__media.needs-consent [data-t2-sound] { display: none; }

/* Cart and checkout (WooCommerce blocks): dark fields, square buttons, panels as windows */
body.t2 .wp-block-woocommerce-cart,
body.t2 .wp-block-woocommerce-checkout { color: var(--t2-text); }
/* Astra pulls .alignwide 20px out on each side but the block keeps its width: it ended up shifted left. Keep it inside the page. */
body.t2 .wp-block-woocommerce-cart.alignwide,
body.t2 .wp-block-woocommerce-checkout.alignwide { margin-left: 0 !important; margin-right: 0 !important; max-width: 100%; }
body.t2.woocommerce-cart .entry-title,
body.t2.woocommerce-checkout .entry-title {
	font-weight: 900;
	font-stretch: 125%;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	color: var(--t2-text);
}
body.t2 .wc-block-components-sidebar-layout .wc-block-components-sidebar > *,
body.t2 .wc-block-cart .wc-block-cart__totals-title,
body.t2 .wc-block-components-sidebar .wc-block-components-totals-wrapper { border-color: var(--t2-placeholder); }
body.t2 .wc-block-components-sidebar .wp-block-woocommerce-cart-totals-block,
body.t2 .wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block,
body.t2 .wc-block-checkout__sidebar .wc-block-components-order-summary {
	background: var(--t2-surface);
	border: var(--t2-border);
	box-shadow: var(--t2-shadow);
}
body.t2 .wc-block-components-sidebar .wp-block-woocommerce-cart-totals-block,
body.t2 .wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block { padding: 8px 16px 16px; }
body.t2 .wc-block-cart .wc-block-cart__totals-title,
body.t2 .wc-block-components-checkout-order-summary__title-text,
body.t2 .wc-block-components-title,
body.t2 .wc-block-components-checkout-step__title {
	font-family: var(--t2-font-px) !important;
	font-weight: 400 !important;
	font-size: 13px !important;
	text-transform: uppercase;
	color: var(--t2-text);
}
body.t2 table.wc-block-cart-items,
body.t2 table.wc-block-cart-items th,
body.t2 table.wc-block-cart-items td { border-color: var(--t2-placeholder) !important; color: var(--t2-text); }
body.t2 .wc-block-cart-items__header { font-family: var(--t2-font-px); font-size: 11px; color: var(--t2-muted); }
body.t2 .wc-block-components-product-name { color: var(--t2-text); font-weight: 800; text-decoration: none; }
body.t2 .wc-block-components-product-metadata,
body.t2 .wc-block-components-product-details { color: var(--t2-muted); font-size: 13px; }
body.t2 .wc-block-cart-item__image img,
body.t2 .wc-block-components-order-summary-item__image img { border: var(--t2-border); }
body.t2 .wc-block-components-product-price,
body.t2 .wc-block-components-totals-item__value,
body.t2 .wc-block-formatted-money-amount { font-family: var(--t2-font-px); }
body.t2 .wc-block-components-totals-item__label { color: var(--t2-text); }
body.t2 .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
body.t2 .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-size: 18px; font-weight: 900; }
body.t2 .wc-block-components-product-badge,
body.t2 .wc-block-components-sale-badge {
	border: 0;
	border-radius: 0;
	background: var(--t2-blue);
	color: #FFFFFF;
	font-family: var(--t2-font-px);
	font-weight: 400;
}
body.t2 .wc-block-cart-item__remove-link { color: var(--t2-muted) !important; font-family: var(--t2-font-px); font-size: 11px !important; }
body.t2 .wc-block-components-order-summary-item__quantity {
	background: var(--t2-text);
	color: var(--t2-bg);
	border: 2px solid var(--t2-bg);
	box-shadow: none;
}

/* Quantity stepper */
body.t2 .wc-block-components-quantity-selector {
	border: var(--t2-border);
	border-radius: 0;
	background: var(--t2-bg);
}
body.t2 .wc-block-components-quantity-selector::after { display: none; }
body.t2 .wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input,
body.t2 .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button {
	background: transparent;
	color: var(--t2-text);
	box-shadow: none;
}

/* Text fields, selects, checkboxes, radios */
body.t2 .wc-block-components-text-input input,
body.t2 .wc-block-components-textarea,
body.t2 .wc-blocks-components-select .wc-blocks-components-select__select,
body.t2 .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input,
body.t2 .wc-block-components-form .wc-block-components-text-input input {
	background: var(--t2-bg) !important;
	color: var(--t2-text) !important;
	border: var(--t2-border) !important;
	border-radius: 0 !important;
	box-shadow: inset 3px 3px 0 var(--t2-ink) !important;
}
body.t2 .wc-block-components-text-input input:focus,
body.t2 .wc-blocks-components-select .wc-blocks-components-select__select:focus,
body.t2 .wc-block-components-textarea:focus {
	outline: 3px solid var(--t2-blue-text) !important;
	outline-offset: 1px;
}
body.t2 .wc-block-components-text-input label,
body.t2 .wc-blocks-components-select .wc-blocks-components-select__label,
body.t2 .wc-block-components-combobox .wc-block-components-combobox-control label { color: var(--t2-muted) !important; }
body.t2 .wc-blocks-components-select .wc-blocks-components-select__expand { fill: var(--t2-text); }
body.t2 .wc-blocks-components-select .wc-blocks-components-select__container { background: transparent; }
body.t2 .wc-block-components-combobox .components-form-token-field__suggestions-list,
body.t2 .wc-block-components-combobox .components-combobox-control__suggestions-container {
	background: var(--t2-surface) !important;
	color: var(--t2-text);
	border: var(--t2-border) !important;
}
body.t2 .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"],
body.t2 .wc-block-components-radio-control .wc-block-components-radio-control__input {
	background: var(--t2-bg);
	border: var(--t2-border);
	border-color: var(--t2-text);
}
body.t2 .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"] { border-radius: 0; }
body.t2 .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked { background: var(--t2-blue); border-color: var(--t2-blue); }
body.t2 .wc-block-components-checkbox .wc-block-components-checkbox__mark { fill: #FFFFFF; }
body.t2 .wc-block-components-radio-control .wc-block-components-radio-control__input:checked::before { background: var(--t2-blue-text); }
body.t2 .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option,
body.t2 .wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option { box-shadow: none; }
body.t2 .wc-block-components-radio-control--highlight-checked::after { border-color: var(--t2-ink) !important; border-width: 2px !important; border-radius: 0 !important; }
body.t2 .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
body.t2 .wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted {
	box-shadow: inset 0 0 0 2px var(--t2-blue-text);
	border-radius: 0;
}
body.t2 .wc-block-components-radio-control__label,
body.t2 .wc-block-components-radio-control__secondary-label,
body.t2 .wc-block-components-radio-control__description { color: var(--t2-text); }
body.t2 .wc-block-components-checkout-step__description,
body.t2 .wc-block-checkout__terms,
body.t2 .wc-block-components-address-card { color: var(--t2-muted); }
body.t2 .wc-block-components-address-card { border: var(--t2-border); border-radius: 0; background: var(--t2-surface); }
body.t2 .wc-block-components-checkout-step__container::after,
body.t2 .wc-block-components-checkout-step::after { border-color: var(--t2-placeholder); }
body.t2 .wc-block-components-checkout-step--with-step-number .wc-block-components-checkout-step__title::before { color: var(--t2-blue-text); }

/* Coupon / note panels */
body.t2 .wc-block-components-panel__button,
body.t2 .wc-block-components-totals-coupon-link { color: var(--t2-text); font-family: var(--t2-font-px); font-size: 12px; }
body.t2 .wc-block-components-panel__button-icon { fill: var(--t2-text); }

/* Buttons */
body.t2 .wc-block-components-button:not(.is-link),
body.t2 .wc-block-cart__submit-button,
body.t2 .wc-block-components-checkout-place-order-button {
	min-height: 52px;
	border: var(--t2-border) !important;
	border-radius: 0 !important;
	background: var(--t2-blue) !important;
	color: #FFFFFF !important;
	box-shadow: var(--t2-shadow-s);
	font-family: var(--t2-font);
	font-weight: 900;
	font-stretch: 115%;
	text-transform: uppercase;
	text-decoration: none;
}
body.t2 .wc-block-components-button:not(.is-link):hover,
body.t2 .wc-block-cart__submit-button:hover,
body.t2 .wc-block-components-checkout-place-order-button:hover { background: var(--t2-navy) !important; }
body.t2 .wc-block-components-totals-coupon__button.wc-block-components-button:not(.is-link) {
	min-height: 48px;
	background: var(--t2-surface-2) !important;
	box-shadow: none;
}
body.t2 .wc-block-components-checkout-return-to-cart-button { color: var(--t2-muted); font-family: var(--t2-font-px); font-size: 12px; }

/* Notices */
body.t2 .wc-block-components-notice-banner {
	border: var(--t2-border);
	border-top: 4px solid var(--t2-blue);
	border-radius: 0;
	background: var(--t2-surface);
	color: var(--t2-text);
}
body.t2 .wc-block-components-notice-banner > svg { background: var(--t2-blue); fill: #FFFFFF; border-radius: 0; }
body.t2 .wc-block-components-notice-banner.is-error { border-top-color: var(--t2-blue-text); }
body.t2 .wc-block-components-validation-error > p,
body.t2 .wc-block-components-text-input.has-error label,
body.t2 .wc-block-components-validation-error { color: var(--t2-blue-text) !important; }
body.t2 .wc-block-components-text-input.has-error input { border-color: var(--t2-blue-text) !important; }

/* Express payments box */
body.t2 .wc-block-components-express-payment--checkout .wc-block-components-express-payment__title-container::before,
body.t2 .wc-block-components-express-payment--checkout .wc-block-components-express-payment__title-container::after,
body.t2 .wc-block-components-express-payment--checkout .wc-block-components-express-payment__content { border-color: var(--t2-placeholder); border-radius: 0; }
body.t2 .wc-block-components-express-payment__title { color: var(--t2-text); font-family: var(--t2-font-px); font-weight: 400; }
body.t2 .wc-block-components-express-payment-continue-rule { color: var(--t2-muted); }
body.t2 .wc-block-components-express-payment-continue-rule::before,
body.t2 .wc-block-components-express-payment-continue-rule::after { border-color: var(--t2-placeholder); }

/* Empty cart */
body.t2 .wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title { color: var(--t2-text); font-weight: 900; text-transform: uppercase; }
body.t2 .wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title::before { background-color: var(--t2-text); }
body.t2 .wp-block-woocommerce-empty-cart-block .wp-block-separator { border-color: var(--t2-placeholder); }

/* Responsive for this section */
@media (max-width: 1024px) {
	.t2-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 921px) {
	body.t2.single-product div.product { grid-template-columns: 1fr; gap: 24px; }
	body.t2.single-product div.product > .t2-pgal,
	body.t2.single-product div.product > .summary { grid-column: 1; position: static; }
	.t2-contact__desk { grid-template-columns: 1fr; gap: 28px; }
	.t2-contact__win--mail { grid-row: auto; }
	.t2-contact__win--social { margin-top: 0; }
}
@media (max-width: 782px) {
	.t2-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.t2-shop,
	.t2-results { padding-top: 16px; }
	.t2-shop__tools { flex-direction: column; align-items: stretch; }
	.t2-shop .woocommerce-ordering { margin: 0; }
	.t2 .t2-shop .woocommerce-ordering select { width: 100%; }
	.t2-404__inner { padding-top: 32px; }
	.t2-404__body { padding: 20px; gap: 16px; }
	.t2-404__icon { width: 56px; height: 56px; font-size: 30px; }
	.t2-404__actions { padding: 0 20px 20px; }
	.t2-404__search { padding: 0 20px; }
	.t2-pgal .t2-win-btns { display: none; }
	body.t2 .t2-pgal .flex-control-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Product page: size buttons (Variation Swatches plugin) look like the card size buttons */
body.t2.single-product .variable-items-wrapper { gap: 8px; }
body.t2.single-product .variable-items-wrapper .variable-item:not(.radio-variable-item) {
	width: 48px !important;
	min-width: 48px;
	height: 42px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: var(--t2-border) !important;
	border-radius: 999px !important;
	background: var(--t2-surface) !important;
	color: var(--t2-text) !important;
	box-shadow: none !important;
}
body.t2.single-product .variable-items-wrapper .variable-item:not(.radio-variable-item):hover { background: var(--t2-surface-2) !important; }
body.t2.single-product .variable-items-wrapper .variable-item.selected:not(.radio-variable-item) {
	background: var(--t2-text) !important;
	color: var(--t2-bg) !important;
	box-shadow: 3px 3px 0 var(--t2-blue) !important;
}
body.t2.single-product .variable-items-wrapper .variable-item.disabled,
body.t2.single-product .variable-items-wrapper .variable-item.out-of-stock { opacity: .35; }
body.t2.single-product .variable-items-wrapper .variable-item-span { font-family: var(--t2-font-px) !important; font-size: 12px !important; }
/* Add to cart before a size is picked: blue but faded */
body.t2.single-product .single_add_to_cart_button.disabled,
body.t2.single-product .single_add_to_cart_button:disabled { background: var(--t2-blue) !important; color: #FFFFFF !important; opacity: .45; }

/* Promo line above cart and checkout: a small version of the homepage banner */
.t2-promo-note {
	--t2-promo-bg: var(--t2-blue);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
	margin: 0 0 28px;
	padding: 18px 22px;
	border: var(--t2-border);
	background: var(--t2-promo-bg);
	color: #FFFFFF;
	box-shadow: var(--t2-shadow);
}
.t2-promo-note.t2-promo--grey { --t2-promo-bg: #3A3A3D; }
.t2-promo-note.t2-promo--red { --t2-promo-bg: #C8160F; }
.t2 .t2-promo-note__big { font-size: clamp(22px, 2.6vw, 34px); font-weight: 900; font-stretch: 125%; line-height: 1; text-transform: uppercase; color: #FFFFFF; text-shadow: 3px 3px 0 var(--t2-ink); }
.t2 .t2-promo-note__text { font-size: 12px; color: #FFFFFF; }
.t2 .t2-promo-note .t2-promo-note__code { padding: 10px 16px; font-size: 18px; }

/* Promo: big banner on the homepage (Black Friday…) */
.t2-promo {
	position: relative;
	margin: 0 0 8px;
	--t2-promo-bg: var(--t2-blue);
	--t2-promo-accent: var(--t2-blue);
	--t2-promo-glitch-a: #7CC8FF;
	--t2-promo-glitch-b: #0A1F8F;
	border-top: var(--t2-border);
	border-bottom: var(--t2-border);
	background: var(--t2-promo-bg);
	color: #FFFFFF;
	overflow: hidden;
}
.t2-promo[hidden] { display: none; }
/* colours: Customizer → Promo → Big banner — colour */
.t2-promo--blue { --t2-promo-bg: var(--t2-blue); --t2-promo-accent: var(--t2-blue); --t2-promo-glitch-a: #7CC8FF; --t2-promo-glitch-b: #0A1F8F; }
.t2-promo--grey { --t2-promo-bg: #3A3A3D; --t2-promo-accent: #1C1C1E; --t2-promo-glitch-a: #9A9AA0; --t2-promo-glitch-b: #111113; }
.t2-promo--red { --t2-promo-bg: #C8160F; --t2-promo-accent: #C8160F; --t2-promo-glitch-a: #FF8A5C; --t2-promo-glitch-b: #5E0705; }
/* Black Friday colour per site theme (default "blue" banner): graphite = strong blue, light and space = red, camo = army green */
html[data-t2-theme="light"] .t2-promo--blue,
html[data-t2-theme="space"] .t2-promo--blue { --t2-promo-bg: #C8160F; --t2-promo-accent: #C8160F; --t2-promo-glitch-a: #FF8A5C; --t2-promo-glitch-b: #5E0705; }
html[data-t2-theme="camo"] .t2-promo--blue { --t2-promo-bg: #4B5A27; --t2-promo-accent: #4B5A27; --t2-promo-glitch-a: #C2D394; --t2-promo-glitch-b: #1E2410; }
.t2-promo__strip {
	display: flex;
	overflow: hidden;
	padding: 10px 0;
	background: var(--t2-ink, #0D0D0D);
	color: #FFFFFF;
	font-size: 12px;
	white-space: pre;
}
.t2-promo__strip span { animation: t2-promo-strip 30s linear infinite; }
.t2-promo__strip--rev span { animation-direction: reverse; }
@keyframes t2-promo-strip { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.t2-promo__inner { padding: clamp(28px, 5vw, 64px) var(--t2-gutter) clamp(32px, 5vw, 72px); }
.t2 .t2-promo__big {
	position: relative;
	margin: 0;
	font-size: clamp(64px, 10.2vw, 196px);
	font-weight: 900;
	font-stretch: 125%;
	line-height: 0.82;
	letter-spacing: -0.04em;
	text-transform: uppercase;
	color: #FFFFFF;
	text-shadow: 6px 6px 0 var(--t2-ink, #0D0D0D);
	white-space: nowrap;
}
/* glitch: two offset copies flicker over the headline */
.t2-promo__big[data-t2-glitch]::before,
.t2-promo__big[data-t2-glitch]::after {
	content: attr(data-t2-glitch);
	position: absolute;
	inset: 0;
	text-shadow: none;
	pointer-events: none;
	opacity: 0;
}
.t2-promo__big[data-t2-glitch]::before { color: var(--t2-promo-glitch-a); animation: t2-glitch-a 3.2s steps(1) infinite; }
.t2-promo__big[data-t2-glitch]::after { color: var(--t2-promo-glitch-b); animation: t2-glitch-b 3.2s steps(1) infinite; }
@keyframes t2-glitch-a { 0%, 86%, 100% { opacity: 0; } 87% { opacity: .9; transform: translate(-6px, -3px); clip-path: inset(10% 0 55% 0); } 90% { opacity: .9; transform: translate(5px, 2px); clip-path: inset(60% 0 8% 0); } 93% { opacity: 0; } }
@keyframes t2-glitch-b { 0%, 88%, 100% { opacity: 0; } 89% { opacity: .9; transform: translate(6px, 3px); clip-path: inset(35% 0 30% 0); } 92% { opacity: .9; transform: translate(-4px, -2px); clip-path: inset(0 0 75% 0); } 95% { opacity: 0; } }
.t2-promo__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-top: clamp(20px, 3vw, 36px); }
.t2 .t2-promo__offer {
	margin: 0;
	padding: 0 18px;
	background: #FFFFFF;
	color: var(--t2-promo-accent, #0D0D0D);
	font-size: clamp(26px, 5.6vw, 96px);
	white-space: nowrap;
	font-weight: 900;
	font-stretch: 125%;
	line-height: 1;
	box-shadow: 8px 8px 0 var(--t2-ink, #0D0D0D);
	transform: rotate(-2deg);
}
.t2-promo__side { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.t2 .t2-promo__note { margin: 0; color: #FFFFFF; font-size: 13px; }
.t2 .t2-promo__code {
	padding: 12px 18px;
	border: 2px dashed #FFFFFF;
	background: transparent;
	color: #FFFFFF;
	font-size: clamp(20px, 2.4vw, 30px);
	letter-spacing: 0.14em;
	cursor: pointer;
}
.t2 .t2-promo__code:hover { background: #FFFFFF; color: var(--t2-promo-accent); }
.t2 .t2-promo__count { margin: 0; color: #FFFFFF; font-size: 15px; letter-spacing: 0.12em; }
.t2-promo .t2-btn--ink,
.t2-promo-pop .t2-btn--ink { background: var(--t2-ink, #0D0D0D); color: #FFFFFF; }
.t2-promo [hidden] { display: none !important; }

/* Promo pop-up (other pages) */
.t2-promo-pop { width: min(560px, 94vw); }
.t2-promo-pop__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	padding: 28px;
	background: var(--t2-promo-bg, var(--t2-blue));
	color: #FFFFFF;
}
.t2-promo-pop .t2-promo__big { font-size: clamp(48px, 11vw, 84px); white-space: normal; }
.t2-promo-pop .t2-promo__offer { font-size: clamp(24px, 6.4vw, 40px); white-space: normal; }

@media (prefers-reduced-motion: reduce) {
	.t2-promo__strip span,
	.t2-promo__big[data-t2-glitch]::before,
	.t2-promo__big[data-t2-glitch]::after { animation: none; }
}
@media (max-width: 782px) {
	.t2 .t2-promo__big { white-space: normal; font-size: clamp(56px, 19vw, 120px); }
	.t2-promo__row { flex-direction: column; align-items: flex-start; }
}

/* Promo price on products (promo day only) */
.t2-promo-price[hidden], .t2-promo-price__normal[hidden] { display: none !important; }
.t2-promo-price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.t2-promo-price del { color: var(--t2-muted); opacity: .8; }
.t2-promo-price ins { text-decoration: none; color: var(--t2-strong, #FFFFFF); font-weight: 700; }
.t2-promo-price__code { font-size: 0.72em; color: var(--t2-blue-text); letter-spacing: .06em; }
.t2-promo-price__lowest { flex-basis: 100%; font-size: 0.6em; color: var(--t2-muted); text-transform: none; }
.t2-promo .t2-btn--ink,
.t2-promo-pop .t2-btn--ink { box-shadow: 4px 4px 0 rgba(255, 255, 255, 0.85); }

/* Legal pages (theme files in legal/) */
.t2-legal { max-width: 860px; }
.t2-legal__switch { font-family: var(--t2-font-px); font-size: 12px; }
.t2 .t2-legal h2.t2-legal__lang { margin: 48px 0 16px; padding-top: 24px; border-top: var(--t2-border); font-weight: 900; text-transform: uppercase; }
.t2 .t2-legal h2.t2-legal__lang#pt { margin-top: 16px; border-top: 0; padding-top: 0; }
.t2 .t2-legal h3 { margin: 32px 0 10px; font-size: 20px; }
.t2 .t2-legal h4 { margin: 20px 0 8px; font-size: 16px; }
.t2 .t2-legal table { width: 100%; margin: 16px 0 24px; border-collapse: collapse; font-size: 14px; display: block; overflow-x: auto; }
.t2 .t2-legal th,
.t2 .t2-legal td { padding: 8px 10px; border: 1px solid var(--t2-placeholder); text-align: left; vertical-align: top; }
.t2 .t2-legal th { background: var(--t2-surface-2); }
.t2 .t2-legal blockquote { margin: 16px 0; padding: 12px 16px; border-left: 4px solid var(--t2-blue); background: var(--t2-surface); }

/* Homepage hero: Black Friday tab. Products on a rotating drum (main.js tilts them by distance
   from the centre; the front one is straight), arrows on the sides, red background. */
.t2 .t2-hero__bf { cursor: default; background: linear-gradient(to bottom, #B4B7BE 0%, #9EA2AA 50%, #878B94 100%); isolation: isolate; }
.t2-hero__bf::after { content: ""; position: absolute; pointer-events: none; }
/* CRT screen on top: scanlines, dark edges (vignette), slight flicker */
.t2-hero__bf::after {
	inset: 0;
	z-index: 300;
	background:
		repeating-linear-gradient(to bottom, rgba(0, 0, 0, .06) 0 1px, transparent 1px 3px),
		radial-gradient(ellipse at 50% 50%, transparent 55%, rgba(0, 0, 0, .5) 100%);
	box-shadow: inset 0 0 60px rgba(0, 0, 0, .55);
	animation: t2-bf-flicker 3s steps(2) infinite;
}
@keyframes t2-bf-flicker { 50% { opacity: .9; } }
@keyframes t2-bf-float { 50% { translate: 0 -10px; } }
.t2-bfrail {
	position: absolute;
	inset: 0;
	display: flex;
	z-index: 1;
	align-items: flex-end;
	gap: 6px;
	padding: 0 40% 9%;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
}
.t2-bfrail::-webkit-scrollbar { display: none; }
.t2 .t2-bfrail__item {
	flex: 0 0 auto;
	width: var(--t2-bf-w, clamp(190px, 17vw, 250px));
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 8px;
	background: var(--t2-surface);
	border: var(--t2-border);
	scroll-snap-align: center;
	color: var(--t2-text);
	text-decoration: none;
	transform-origin: 50% 50%;
	will-change: transform;
	box-shadow: 5px 5px 0 #0D0D0D, 0 46px 30px -26px rgba(0, 0, 0, .4);
	filter: drop-shadow(2px 0 0 rgba(255, 0, 60, .3)) drop-shadow(-2px 0 0 rgba(0, 180, 255, .3));
	animation: t2-bf-float 4s ease-in-out infinite;
}
.t2 .t2-bfrail__item:nth-child(2n) { animation-delay: -1.3s; }
.t2 .t2-bfrail__item:nth-child(3n) { animation-delay: -2.6s; }
@media (prefers-reduced-motion: reduce) {
	.t2-hero__bf::after,
	.t2 .t2-bfrail__item { animation: none; }
}
.t2-bfrail__img { display: block; position: relative; aspect-ratio: 4 / 5; border: var(--t2-border); background: var(--t2-placeholder); overflow: hidden; }
.t2 .t2-hero__media .t2-bfrail__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.t2-bfrail__name { font-size: 13px; line-height: 1.3; min-height: 2.6em; }
.t2-bfrail__price { font-size: 17px; font-weight: 800; }
.t2-bfrail__price del { opacity: .55; font-weight: 400; margin-right: 4px; }
.t2 .t2-bfrail__price ins { text-decoration: none; color: #FF2A1F; }
.t2-bfrail__item.is-out .t2-bfrail__img { opacity: .6; }
.t2 .t2-bfrail__arrow {
	position: absolute;
	top: 50%;
	z-index: 200;
	width: 44px;
	height: 44px;
	margin-top: -22px;
	padding: 0;
	border: var(--t2-border);
	background: #0D0D0D;
	color: #FFFFFF;
	font-size: 18px;
	line-height: 1;
	box-shadow: 3px 3px 0 rgba(0, 0, 0, .45);
	cursor: pointer;
}
.t2 .t2-bfrail__arrow:hover,
.t2 .t2-bfrail__arrow:focus-visible { background: #C8160F; color: #FFFFFF; }
.t2-bfrail__arrow--prev { left: 12px; }
.t2-bfrail__arrow--next { right: 12px; }
.t2 .t2-bfrail__arrow[disabled] { opacity: .35; cursor: default; }
@media (max-width: 782px) {
	.t2 .t2-bfrail__arrow { width: 38px; height: 38px; margin-top: -19px; font-size: 15px; }
	.t2-bfrail__arrow--prev { left: 6px; }
	.t2-bfrail__arrow--next { right: 6px; }
}

/* Black Friday tab: every product in a grid (3–5 rows, set in promo.php), one flat tone with thin lines between products */
.t2 .t2-hero__media.t2-hero__bf { background: var(--t2-surface); }
.t2-hero__bf::after { background: repeating-linear-gradient(to bottom, rgba(0, 0, 0, .05) 0 1px, transparent 1px 3px); box-shadow: none; }
.t2-bfgrid {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(var(--t2-bf-cols, 5), minmax(0, 1fr));
	grid-template-rows: repeat(var(--t2-bf-rows, 4), minmax(0, 1fr));
	gap: 0;
	padding: 0;
	overflow: auto;
}
.t2 .t2-bfgrid .t2-bfrail__item {
	width: auto;
	min-height: 0;
	padding: 10px;
	gap: 4px;
	border: 0;
	box-shadow: inset -1px -1px 0 color-mix(in srgb, var(--t2-text) 14%, transparent);
	background: var(--t2-surface);
	animation: none;
	filter: none;
	transform: none;
	transition: background .12s;
}
.t2 .t2-bfgrid .t2-bfrail__item:hover { background: var(--t2-surface-2); transform: none; box-shadow: inset -1px -1px 0 color-mix(in srgb, var(--t2-text) 14%, transparent); }
.t2-bfgrid .t2-bfrail__img { flex: 1 1 auto; min-height: 0; aspect-ratio: auto; border: 0; background: #FFFFFF; }
.t2 .t2-hero__media .t2-bfgrid .t2-bfrail__img img { object-fit: cover; }
.t2-bfgrid .t2-bfrail__name { font-size: 9px; min-height: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t2-bfgrid .t2-bfrail__price { font-size: 12px; white-space: nowrap; }
/* "Shop all" tile that completes the last row */
.t2 .t2-bfgrid__fill {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 12px;
	font-size: 16px;
	letter-spacing: .08em;
	color: var(--t2-text);
	background: var(--t2-surface);
	box-shadow: inset -1px -1px 0 color-mix(in srgb, var(--t2-text) 14%, transparent);
	text-decoration: none;
	transition: background .12s;
}
.t2 .t2-bfgrid__fill:hover { background: var(--t2-surface-2); }
@media (max-width: 782px) {
	.t2-bfgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: 210px; align-content: start; }
	.t2 .t2-bfgrid__fill { grid-column: 1 / -1 !important; }
}
