/*
Theme Name: HKGN
Theme URI: https://hkgn.local
Author: Codex
Description: A bold WooCommerce-ready WordPress theme for the HKGN streetwear brand.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: hkgn
*/

:root {
	--hkgn-bg: #0b0b0d;
	--hkgn-bg-soft: #151519;
	--hkgn-panel: #111115;
	--hkgn-panel-2: #1a1b21;
	--hkgn-text: #f5f1e8;
	--hkgn-muted: #b8b0a3;
	--hkgn-line: rgba(255, 255, 255, 0.1);
	--hkgn-accent: #ff5a1f;
	--hkgn-accent-2: #ffd84d;
	--hkgn-success: #4ade80;
	--hkgn-max: 1200px;
	--hkgn-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	background:
		radial-gradient(circle at top left, rgba(255, 90, 31, 0.16), transparent 24%),
		radial-gradient(circle at top right, rgba(255, 216, 77, 0.12), transparent 20%),
		linear-gradient(180deg, #09090b 0%, #101015 100%);
	color: var(--hkgn-text);
	line-height: 1.6;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.site-shell {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.site-main {
	flex: 1;
}

.hkgn-container {
	width: min(calc(100% - 2rem), var(--hkgn-max));
	margin: 0 auto;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	backdrop-filter: blur(18px);
	background: rgba(11, 11, 13, 0.82);
	border-bottom: 1px solid var(--hkgn-line);
}

.site-header__inner,
.site-footer__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 0;
}

.site-branding {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}

.site-title {
	font-size: 1.4rem;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.site-tagline {
	font-size: 0.72rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--hkgn-muted);
}

.site-nav ul,
.footer-nav ul {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
	list-style: none;
	padding: 0;
	margin: 0;
}

.site-nav a,
.footer-nav a {
	font-size: 0.92rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--hkgn-muted);
	transition: color 0.2s ease;
}

.site-nav a:hover,
.footer-nav a:hover,
.site-nav .current-menu-item > a,
.footer-nav .current-menu-item > a {
	color: var(--hkgn-text);
}

.hkgn-button,
button,
input[type="submit"],
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.95rem 1.4rem;
	border-radius: 999px;
	border: 1px solid transparent;
	background: linear-gradient(135deg, var(--hkgn-accent), #ff7d47);
	color: #09090b;
	font-size: 0.9rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	box-shadow: var(--hkgn-shadow);
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hkgn-button:hover,
button:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
	transform: translateY(-2px);
	box-shadow: 0 28px 64px rgba(255, 90, 31, 0.25);
}

.hkgn-button--ghost {
	background: transparent;
	color: var(--hkgn-text);
	border-color: var(--hkgn-line);
	box-shadow: none;
}

.hero {
	padding: 5rem 0 3rem;
}

.hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
	gap: 2rem;
	align-items: stretch;
}

.hero__content,
.hero__visual,
.hkgn-card,
.content-panel,
.woocommerce ul.products li.product,
.woocommerce div.product,
.woocommerce .cart-collaterals,
.woocommerce-checkout .woocommerce,
.woocommerce-account .woocommerce {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
	border: 1px solid var(--hkgn-line);
	border-radius: 28px;
}

.hero__content {
	padding: 3rem;
	box-shadow: var(--hkgn-shadow);
}

.hero__eyebrow,
.section-heading__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--hkgn-accent-2);
}

.hero__eyebrow::before,
.section-heading__eyebrow::before {
	content: "";
	width: 1.2rem;
	height: 2px;
	background: currentColor;
}

.hero h1,
.section-heading h2,
.content-panel h1 {
	margin: 1rem 0;
	font-size: clamp(2.4rem, 6vw, 5.2rem);
	line-height: 0.95;
	text-transform: uppercase;
	letter-spacing: -0.04em;
}

.hero p,
.section-heading p,
.content-panel p {
	max-width: 40rem;
	color: var(--hkgn-muted);
	font-size: 1rem;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 2rem;
}

.hero__stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	margin-top: 2.5rem;
}

.hero__stats strong {
	display: block;
	font-size: 1.5rem;
}

.hero__stats span {
	display: block;
	color: var(--hkgn-muted);
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.hero__visual {
	position: relative;
	padding: 2rem;
	overflow: hidden;
	min-height: 100%;
}

.hero__visual::before,
.hero__visual::after {
	content: "";
	position: absolute;
	border-radius: 999px;
	filter: blur(12px);
}

.hero__visual::before {
	inset: 12% auto auto 8%;
	width: 180px;
	height: 180px;
	background: rgba(255, 90, 31, 0.5);
}

.hero__visual::after {
	inset: auto 10% 8% auto;
	width: 160px;
	height: 160px;
	background: rgba(255, 216, 77, 0.28);
}

.hero__badge-stack {
	position: relative;
	display: grid;
	gap: 1rem;
	height: 100%;
	z-index: 1;
}

.hero__badge {
	padding: 1.4rem;
	border-radius: 22px;
	background: rgba(8, 8, 10, 0.78);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero__badge strong {
	display: block;
	font-size: 1rem;
	margin-bottom: 0.35rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.hero__badge span {
	color: var(--hkgn-muted);
	font-size: 0.92rem;
}

.section {
	padding: 2rem 0 1rem;
}

.section-heading {
	margin-bottom: 1.5rem;
}

.grid {
	display: grid;
	gap: 1.25rem;
}

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

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

.hkgn-card {
	padding: 1.6rem;
}

.hkgn-card h3 {
	margin: 0 0 0.8rem;
	font-size: 1.1rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.hkgn-card p,
.hkgn-card li {
	color: var(--hkgn-muted);
}

.hkgn-tag-list,
.hkgn-market-list,
.hkgn-bullet-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
	padding: 0;
	margin: 1rem 0 0;
	list-style: none;
}

.hkgn-tag-list li,
.hkgn-market-list li {
	padding: 0.6rem 0.9rem;
	border-radius: 999px;
	border: 1px solid var(--hkgn-line);
	background: rgba(255, 255, 255, 0.03);
	font-size: 0.84rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.market-card__label {
	display: inline-block;
	margin-bottom: 0.8rem;
	padding: 0.35rem 0.6rem;
	border-radius: 999px;
	background: rgba(255, 90, 31, 0.12);
	color: var(--hkgn-accent-2);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.content-panel {
	padding: 2rem;
	margin: 2rem 0 4rem;
}

.content-panel h1 {
	font-size: clamp(2rem, 5vw, 3.6rem);
}

.entry-content > *:first-child {
	margin-top: 0;
}

.entry-content > *:last-child {
	margin-bottom: 0;
}

.site-footer {
	border-top: 1px solid var(--hkgn-line);
	margin-top: 4rem;
	background: rgba(0, 0, 0, 0.2);
}

.site-footer__copy {
	color: var(--hkgn-muted);
	font-size: 0.9rem;
}

.woocommerce .woocommerce-breadcrumb,
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering select,
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce ul.products li.product .price,
.woocommerce-message,
.woocommerce-info,
.woocommerce-error li {
	color: var(--hkgn-text);
}

.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1.2rem;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
	display: none;
}

.woocommerce ul.products li.product {
	float: none;
	width: auto;
	margin: 0;
	padding: 1rem;
}

.woocommerce ul.products li.product a img {
	border-radius: 18px;
	margin-bottom: 1rem;
}

.woocommerce div.product {
	padding: 1.5rem;
}

.woocommerce span.onsale {
	background: var(--hkgn-accent);
	color: #09090b;
}

.woocommerce table.shop_table,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
	width: 100%;
	border-radius: 16px;
	border: 1px solid var(--hkgn-line);
	background: rgba(255, 255, 255, 0.03);
	color: var(--hkgn-text);
	padding: 0.9rem 1rem;
}

.woocommerce-cart table.cart img {
	width: 72px;
	border-radius: 12px;
}

@media (max-width: 900px) {
	.hero__grid,
	.grid--3,
	.grid--4 {
		grid-template-columns: 1fr;
	}

	.site-header__inner,
	.site-footer__inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.hero__content {
		padding: 2rem;
	}

	.hero__stats {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.hero {
		padding-top: 3rem;
	}

	.hero h1,
	.section-heading h2,
	.content-panel h1 {
		line-height: 1;
	}

	.hero__actions,
	.site-nav ul,
	.footer-nav ul {
		width: 100%;
	}
}
