:root {
	--bladeforge-bg: #0e0e0f;
	--bladeforge-surface: #161617;
	--bladeforge-surface-strong: #1d1d1f;
	--bladeforge-border: rgba(255, 255, 255, 0.1);
	--bladeforge-text: #f3f1eb;
	--bladeforge-text-muted: #b9b4a9;
	--bladeforge-accent: #d6a157;
	--bladeforge-accent-deep: #a8752f;
	--bladeforge-shell: min(1180px, calc(100vw - 32px));
	--bladeforge-radius: 20px;
	--bladeforge-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
	--bladeforge-section-space: clamp(32px, 5vw, 60px);
	--bladeforge-card-gap: clamp(16px, 2vw, 22px);
	--bladeforge-block-padding: clamp(20px, 2.4vw, 28px);
}

html {
	scroll-behavior: smooth;
}

body.bladeforge-storefront-active {
	background:
		radial-gradient(circle at top right, rgba(214, 161, 87, 0.16), transparent 28%),
		radial-gradient(circle at left center, rgba(130, 96, 44, 0.12), transparent 24%),
		var(--bladeforge-bg);
	color: var(--bladeforge-text);
}

body.bladeforge-storefront-active .wp-site-blocks {
	padding-top: 92px;
}

body.bladeforge-storefront-active .wp-site-blocks > .wp-block-template-part {
	display: none;
}

body.bladeforge-storefront-active .wp-site-blocks > main {
	padding-top: 0;
}

body.bladeforge-storefront-active .wp-site-blocks > main > .wp-block-post-title,
body.bladeforge-storefront-active .wp-site-blocks > main > .wp-block-query-title,
body.bladeforge-storefront-active .wp-site-blocks > main > .entry-title {
	display: none;
}

body.home.bladeforge-storefront-active .wp-site-blocks > main > div > .wp-block-post-title {
	display: none;
}

body.bladeforge-storefront-active a {
	color: inherit;
	text-decoration: none;
}

body.bladeforge-storefront-active img {
	max-width: 100%;
	height: auto;
}

body.bladeforge-storefront-active .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
	max-width: none;
}

.bladeforge-shell {
	width: var(--bladeforge-shell);
	margin: 0 auto;
}

.bladeforge-shell--narrow {
	width: min(900px, calc(100vw - 32px));
}

.bladeforge-section {
	padding: var(--bladeforge-section-space) 0;
}

.bladeforge-section--dense {
	padding: clamp(24px, 3.2vw, 40px) 0;
}

.bladeforge-section--standalone {
	padding-top: 10px;
}

.bladeforge-kicker {
	margin: 0 0 12px;
	font-size: 0.78rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--bladeforge-accent);
}

.bladeforge-section__heading {
	display: grid;
	gap: 8px;
	margin-bottom: clamp(18px, 2.8vw, 30px);
}

.bladeforge-section__heading h1,
.bladeforge-section__heading h2,
.bladeforge-hero h1 {
	margin: 0;
	line-height: 1.02;
	letter-spacing: -0.04em;
}

.bladeforge-section__heading h2 {
	font-size: clamp(1.8rem, 3.2vw, 3rem);
	max-width: 11ch;
}

.bladeforge-section__footer-action {
	margin-top: 28px;
}

.bladeforge-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 80;
	backdrop-filter: blur(18px);
	background: rgba(11, 11, 12, 0.86);
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.bladeforge-header__inner {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 20px;
	min-height: 86px;
}

.bladeforge-brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.bladeforge-brand__mark {
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--bladeforge-accent), var(--bladeforge-accent-deep));
	color: #111;
	font-size: 0.95rem;
}

.bladeforge-navigation,
.bladeforge-header__actions {
	display: flex;
	align-items: center;
	gap: 16px;
}

.bladeforge-navigation {
	justify-content: center;
	flex-wrap: nowrap;
	gap: 10px;
	font-size: 0.96rem;
	color: var(--bladeforge-text-muted);
}

.bladeforge-header__actions {
	justify-content: flex-end;
	gap: 14px;
	font-size: 0.92rem;
	white-space: nowrap;
}

.bladeforge-navigation a,
.bladeforge-header__actions a,
.bladeforge-search-toggle {
	transition: color 0.2s ease, opacity 0.2s ease;
}

.bladeforge-navigation > a,
.bladeforge-navigation__parent,
.bladeforge-header__actions a,
.bladeforge-search-toggle {
	padding: 8px 10px;
	border-radius: 999px;
}

.bladeforge-navigation__item {
	position: relative;
	display: flex;
	align-items: center;
	flex: 0 0 auto;
}

.bladeforge-navigation__parent {
	display: inline-flex;
	align-items: center;
}

.bladeforge-subnav-toggle {
	display: none;
	width: 28px;
	height: 28px;
	border: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
	padding: 0;
}

.bladeforge-subnav-toggle span {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
}

.bladeforge-subnav {
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	min-width: 220px;
	display: grid;
	gap: 4px;
	padding: 12px;
	border-radius: 16px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(13, 13, 14, 0.98);
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
	opacity: 0;
	pointer-events: none;
	transform: translateY(6px);
	transition: opacity 0.18s ease, transform 0.18s ease;
}

.bladeforge-subnav a {
	padding: 10px 12px;
	border-radius: 12px;
	white-space: nowrap;
}

.bladeforge-navigation__item--has-children:hover .bladeforge-subnav,
.bladeforge-navigation__item--has-children:focus-within .bladeforge-subnav,
.bladeforge-navigation__item--has-children.subnav-open .bladeforge-subnav {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.bladeforge-navigation a:hover,
.bladeforge-header__actions a:hover,
.bladeforge-search-toggle:hover,
.bladeforge-text-link:hover {
	color: var(--bladeforge-accent);
}

.bladeforge-nav-toggle,
.bladeforge-search-toggle {
	border: 0;
	background: transparent;
	color: inherit;
	padding: 0;
	cursor: pointer;
}

.bladeforge-nav-toggle {
	display: none;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	position: relative;
}

.bladeforge-nav-toggle span {
	position: absolute;
	left: 10px;
	right: 10px;
	height: 2px;
	background: var(--bladeforge-text);
	border-radius: 999px;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.bladeforge-nav-toggle span:nth-child(1) {
	top: 13px;
}

.bladeforge-nav-toggle span:nth-child(2) {
	top: 20px;
}

.bladeforge-nav-toggle span:nth-child(3) {
	top: 27px;
}

.bladeforge-header.nav-open .bladeforge-nav-toggle span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.bladeforge-header.nav-open .bladeforge-nav-toggle span:nth-child(2) {
	opacity: 0;
}

.bladeforge-header.nav-open .bladeforge-nav-toggle span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.bladeforge-search-panel {
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	background: rgba(15, 15, 16, 0.96);
	padding: 18px 0 24px;
}

.bladeforge-search-panel .search-form {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 12px;
}

.bladeforge-search-panel label,
.bladeforge-search-panel .search-field {
	width: 100%;
}

.bladeforge-search-panel .search-field,
.bladeforge-search-panel .search-submit,
.bladeforge-faq__item,
.bladeforge-button {
	border-radius: 14px;
}

.bladeforge-search-panel .search-field {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: var(--bladeforge-text);
	min-height: 50px;
	padding: 0 16px;
}

.bladeforge-search-panel .search-submit {
	background: var(--bladeforge-accent);
	color: #151515;
	border: 0;
	padding: 0 18px;
	font-weight: 700;
}

.bladeforge-hero {
	padding: 10px 0 18px;
}

.bladeforge-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
	gap: var(--bladeforge-card-gap);
	align-items: stretch;
}

.bladeforge-hero__copy,
.bladeforge-hero__visual,
.bladeforge-category-card,
.bladeforge-product-card,
.bladeforge-review-card,
.bladeforge-blog-card,
.bladeforge-empty-state,
.bladeforge-faq__item,
.woocommerce ul.products li.product,
.woocommerce-cart .cart-collaterals,
.woocommerce-checkout .woocommerce,
.woocommerce-account .woocommerce,
.woocommerce .woocommerce-breadcrumb,
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering select,
.woocommerce table.shop_table,
.woocommerce form.checkout,
.woocommerce form.woocommerce-cart-form {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
	border: 1px solid var(--bladeforge-border);
	box-shadow: var(--bladeforge-shadow);
}

.bladeforge-hero__copy,
.bladeforge-hero__visual {
	border-radius: 28px;
	padding: clamp(26px, 4vw, 42px);
	min-height: clamp(340px, 45vw, 520px);
}

.bladeforge-hero__copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	background:
		linear-gradient(165deg, rgba(214, 161, 87, 0.18), transparent 32%),
		linear-gradient(180deg, #181818, #111112 78%);
}

.bladeforge-hero h1 {
	font-size: clamp(2.6rem, 5.1vw, 4.9rem);
	max-width: 6ch;
}

.bladeforge-hero__copy p:not(.bladeforge-kicker) {
	max-width: 34ch;
	color: var(--bladeforge-text-muted);
	font-size: 1rem;
	line-height: 1.6;
}

.bladeforge-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 16px;
}

.bladeforge-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 22px;
	background: linear-gradient(135deg, var(--bladeforge-accent), var(--bladeforge-accent-deep));
	color: #141414;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	border: 0;
	cursor: pointer;
}

.bladeforge-button--ghost,
.woocommerce a.button.alt,
.woocommerce button.button.alt {
	background: transparent;
	color: var(--bladeforge-text);
	border: 1px solid rgba(255, 255, 255, 0.14);
}

.bladeforge-hero__visual {
	position: relative;
	display: grid;
	align-items: end;
	overflow: hidden;
	background:
		radial-gradient(circle at top right, rgba(214, 161, 87, 0.32), transparent 34%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
		#131314;
	isolation: isolate;
}

.bladeforge-hero-card {
	position: relative;
	z-index: 2;
	max-width: 280px;
	padding: 20px 22px;
	border-radius: 22px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(8, 8, 9, 0.75);
}

.bladeforge-hero-card span {
	display: block;
	margin-bottom: 10px;
	color: var(--bladeforge-accent);
	font-size: 0.76rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.bladeforge-hero-card strong {
	font-size: 1.3rem;
	line-height: 1.1;
}

.bladeforge-hero-card--primary {
	align-self: start;
}

.bladeforge-hero-card--secondary {
	justify-self: end;
	margin-top: auto;
}

.bladeforge-hero-outline {
	position: absolute;
	inset: 12% 8% 12% 20%;
	border-radius: 28px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background:
		linear-gradient(145deg, rgba(214, 161, 87, 0.13), transparent 36%),
		radial-gradient(circle at center, rgba(255, 255, 255, 0.05), transparent 55%);
}

.bladeforge-hero__visual::before {
	content: "";
	position: absolute;
	inset: 14% 14% 14% 22%;
	border-radius: 24px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
		radial-gradient(circle at center, rgba(214, 161, 87, 0.08), transparent 52%);
	border: 1px solid rgba(255, 255, 255, 0.06);
}

.bladeforge-category-grid,
.bladeforge-product-grid,
.bladeforge-blog-grid {
	display: grid;
	gap: var(--bladeforge-card-gap);
}

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

.bladeforge-product-grid,
.woocommerce ul.products {
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	justify-content: center;
}

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

/* Shop and product category archives: a compact, centered desktop catalog. */
body:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag) main.wp-block-group {
	width: min(1500px, calc(100vw - 64px));
	margin-inline: auto;
	padding-inline: 0;
}

body:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag) .wp-block-woocommerce-product-collection.alignwide {
	width: 100%;
	max-width: none;
}

body:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag) .wc-block-product-template {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
	gap: clamp(16px, 1.35vw, 22px) !important;
}

body:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag) .wc-block-product-template > .wc-block-product {
	min-width: 0;
	overflow: hidden;
	padding: 0 0 18px;
	border: 1px solid var(--bladeforge-border);
	border-radius: 18px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018));
	box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22);
	transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

body:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag) .wc-block-product-template > .wc-block-product:hover {
	transform: translateY(-3px);
	border-color: rgba(214, 161, 87, 0.28);
	box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3);
}

body:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag) .wc-block-components-product-image {
	margin: 0 0 14px;
	background: #171717;
}

body:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag) .wc-block-components-product-image img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

body:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag) .wc-block-product-template .wp-block-post-title {
	display: -webkit-box;
	min-height: 2.7em;
	margin: 0 14px 10px;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	font-size: clamp(0.9rem, 0.9vw, 1rem) !important;
	line-height: 1.35;
}

body:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag) .wc-block-product-template .wp-block-woocommerce-product-price,
body:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag) .wc-block-product-template .wp-block-woocommerce-product-button {
	margin-inline: 14px;
}

body:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag) .wc-block-product-template .wp-block-button__link {
	width: 100%;
	min-height: 42px;
	padding: 10px 12px;
	font-size: 0.76rem;
}

.bladeforge-category-card,
.bladeforge-product-card,
.bladeforge-blog-card {
	border-radius: var(--bladeforge-radius);
	overflow: hidden;
}

.bladeforge-category-card__media,
.bladeforge-blog-card__media,
.bladeforge-product-card__image,
.woocommerce ul.products li.product a img {
	display: block;
	aspect-ratio: 4 / 3;
	background: #171717;
}

.bladeforge-category-card__media svg,
.bladeforge-blog-card__media svg {
	width: 100%;
	height: 100%;
	display: block;
}

.bladeforge-category-card__content,
.bladeforge-product-card__content,
.bladeforge-blog-card__content {
	padding: var(--bladeforge-block-padding);
}

.bladeforge-category-card__content {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: end;
	gap: 10px;
	min-height: 96px;
}

.bladeforge-category-card__content p,
.bladeforge-blog-card__content h3,
.bladeforge-product-card__content h3 {
	margin: 0;
}

.bladeforge-category-card__content p {
	font-size: 1.18rem;
	line-height: 1.15;
}

.bladeforge-category-card__content span,
.bladeforge-text-link,
.bladeforge-blog-card__meta,
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: var(--bladeforge-accent);
}

.bladeforge-category-card:hover,
.bladeforge-blog-card:hover,
.bladeforge-product-card:hover {
	transform: translateY(-3px);
}

.bladeforge-category-card,
.bladeforge-blog-card,
.bladeforge-product-card {
	transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.bladeforge-category-card:hover,
.bladeforge-blog-card:hover,
.bladeforge-product-card:hover,
.bladeforge-faq__item:hover {
	border-color: rgba(214, 161, 87, 0.24);
}

.bladeforge-product-card__content,
.bladeforge-blog-card__content {
	display: grid;
	gap: 10px;
}

.bladeforge-product-card {
	height: 100%;
}

.bladeforge-product-card__content {
	min-height: 200px;
	align-content: start;
}

.bladeforge-product-card__image {
	aspect-ratio: 4 / 4.3;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
}

.bladeforge-product-card__price {
	font-weight: 700;
}

.bladeforge-product-card__rating,
.bladeforge-rating-empty,
.bladeforge-blog-card__content p,
.bladeforge-empty-state p,
.bladeforge-review-card p,
.bladeforge-faq__answer p,
.woocommerce .woocommerce-breadcrumb,
.woocommerce .woocommerce-result-count,
.woocommerce div.product .woocommerce-product-details__short-description,
.woocommerce ul.products li.product .button {
	color: var(--bladeforge-text-muted);
}

.bladeforge-empty-state {
	border-radius: 24px;
	padding: 28px;
}

.bladeforge-review-marquee {
	overflow: hidden;
	mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.bladeforge-review-track {
	display: flex;
	width: max-content;
	gap: var(--bladeforge-card-gap);
	animation: bladeforge-scroll 30s linear infinite;
}

.bladeforge-review-marquee:hover .bladeforge-review-track {
	animation-play-state: paused;
}

.bladeforge-review-card {
	width: min(340px, calc(100vw - 64px));
	min-height: 220px;
	border-radius: 24px;
	padding: var(--bladeforge-block-padding);
	display: grid;
	align-content: start;
	gap: 14px;
}

.bladeforge-review-stars {
	margin-bottom: 12px;
	letter-spacing: 0.22em;
	color: var(--bladeforge-accent);
}

.bladeforge-faq {
	display: grid;
	gap: 10px;
}

.bladeforge-faq__item {
	overflow: clip;
}

.bladeforge-faq__item summary {
	list-style: none;
	cursor: pointer;
	padding: 20px 56px 20px 22px;
	position: relative;
	font-weight: 600;
	line-height: 1.35;
}

.bladeforge-faq__item summary::-webkit-details-marker {
	display: none;
}

.bladeforge-faq__item summary::after {
	content: "+";
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.35rem;
	color: var(--bladeforge-accent);
}

.bladeforge-faq__item[open] summary::after {
	content: "−";
}

.bladeforge-faq__answer {
	padding: 0 22px 22px;
}

.bladeforge-blog-card {
	height: 100%;
}

.bladeforge-blog-card__media {
	aspect-ratio: 16 / 10;
}

.bladeforge-blog-card__content {
	min-height: 280px;
	align-content: start;
}

.bladeforge-blog-card__content h3 {
	font-size: 1.4rem;
	line-height: 1.15;
}

.bladeforge-blog-card__content p:last-of-type {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.bladeforge-blog-card .bladeforge-text-link {
	margin-top: auto;
}

.bladeforge-footer {
	margin-top: 40px;
	padding: 38px 0 18px;
	background: rgba(7, 7, 8, 0.92);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.bladeforge-footer__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.bladeforge-footer__grid h2 {
	margin: 0 0 14px;
	font-size: 1rem;
}

.bladeforge-footer__grid ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
	color: var(--bladeforge-text-muted);
}

.bladeforge-footer__meta {
	margin-top: 26px;
	padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	color: var(--bladeforge-text-muted);
	font-size: 0.88rem;
}

.woocommerce,
.woocommerce-page {
	color: var(--bladeforge-text);
}

.woocommerce .woocommerce-breadcrumb,
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering,
.woocommerce ul.products li.product,
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	margin-bottom: 18px;
}

.woocommerce .woocommerce-breadcrumb,
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering select,
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce form.checkout,
.woocommerce form.woocommerce-cart-form,
.woocommerce-cart .cart-collaterals,
.woocommerce-account .woocommerce,
.woocommerce-checkout .woocommerce {
	border-radius: 22px;
	padding: 18px;
}

.woocommerce ul.products,
.woocommerce-page ul.products {
	display: grid;
	gap: var(--bladeforge-card-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

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

.woocommerce ul.products li.product {
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
	padding: 0;
	border-radius: var(--bladeforge-radius);
	overflow: hidden;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce div.product .product_title {
	font-size: 1.15rem;
	line-height: 1.25;
}

.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
	font-weight: 700;
}

.woocommerce ul.products li.product .button {
	margin-top: 0;
}

/* Global WooCommerce single-product template. */
body.single-product .wp-site-blocks > .woocommerce.product {
	display: block;
	width: var(--bladeforge-shell);
	margin: 0 auto clamp(48px, 7vw, 84px);
	padding: clamp(18px, 2.5vw, 32px);
	border: 1px solid var(--bladeforge-border);
	border-radius: 28px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.042), rgba(255, 255, 255, 0.018));
	box-shadow: var(--bladeforge-shadow);
}

body.single-product .woocommerce.product > main {
	width: 100%;
	padding: 0;
}

body.single-product .woocommerce.product > main > .alignwide {
	max-width: none;
}

body.single-product .wc-block-breadcrumbs {
	margin: 0;
	padding: 3px 2px 16px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	color: #c9c4b9;
	font-size: 0.94rem;
	line-height: 1.65;
	letter-spacing: 0.01em;
}

body.single-product .wc-block-breadcrumbs a {
	color: var(--bladeforge-text-muted);
	transition: color 0.18s ease;
}

body.single-product .wc-block-breadcrumbs a:hover {
	color: var(--bladeforge-accent);
}

body.single-product .woocommerce.product > main > .wp-block-columns {
	display: grid;
	grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
	gap: clamp(30px, 4vw, 56px);
	align-items: start;
	margin: clamp(24px, 2.6vw, 32px) 0 clamp(40px, 5vw, 64px);
}

body.single-product .woocommerce.product > main > .wp-block-columns > .wp-block-column {
	min-width: 0;
	margin: 0;
}

body.single-product .woocommerce.product > main > .wp-block-columns > .wp-block-column:last-child {
	display: grid;
	gap: clamp(17px, 1.7vw, 22px);
	align-content: start;
	padding-top: 4px;
}

body.single-product .wp-block-woocommerce-product-image-gallery,
body.single-product .woocommerce-product-gallery,
body.single-product .woocommerce-product-gallery__wrapper {
	width: 100%;
	margin: 0;
}

body.single-product .wp-block-woocommerce-product-image-gallery {
	overflow: hidden;
}

body.single-product .woocommerce-product-gallery__image {
	aspect-ratio: 1;
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: 18px;
	overflow: hidden;
	background: #f2f1ed;
}

body.single-product .woocommerce-product-gallery__image > a {
	display: block;
	width: 100%;
	height: 100%;
}

body.single-product .woocommerce-product-gallery__image img:not(.zoomImg) {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	background: #f2f1ed;
}

body.woocommerce-cart .wc-block-components-product-metadata__description,
body.woocommerce-checkout .wc-block-components-product-metadata__description {
	display: none;
}

body.single-product .woocommerce.product .woocommerce-product-gallery.images .flex-control-thumbs {
	display: flex;
	gap: 12px;
	margin: 18px 0 0;
	padding: 4px 2px 10px;
	overflow-x: auto;
	overflow-y: hidden;
	overscroll-behavior-inline: contain;
	scroll-snap-type: inline proximity;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	cursor: grab;
	user-select: none;
}

body.single-product .woocommerce.product .woocommerce-product-gallery.images .flex-control-thumbs.is-dragging {
	cursor: grabbing;
	scroll-snap-type: none;
}

body.single-product .woocommerce.product .woocommerce-product-gallery.images .flex-control-thumbs > li {
	float: none;
	flex: 0 0 88px;
	width: 88px;
	margin: 0;
	scroll-snap-align: start;
}

body.single-product .woocommerce.product .woocommerce-product-gallery.images .flex-control-thumbs > li > img {
	box-sizing: border-box;
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	object-fit: contain;
	padding: 5px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 12px;
	background: #f2f1ed;
	box-shadow: 0 7px 20px rgba(0, 0, 0, 0.2);
	opacity: 0.62;
	transition: opacity 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

body.single-product .woocommerce.product .woocommerce-product-gallery.images .flex-control-thumbs > li > img:hover,
body.single-product .woocommerce.product .woocommerce-product-gallery.images .flex-control-thumbs > li > img.flex-active {
	border-color: #e2b269;
	box-shadow: inset 0 0 0 1px #e2b269, 0 0 0 2px rgba(214, 161, 87, 0.2), 0 10px 26px rgba(0, 0, 0, 0.28);
	opacity: 1;
	transform: translateY(-1px);
}

body.single-product .woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar {
	display: none;
}

body.single-product .woocommerce-product-gallery__trigger {
	top: 14px;
	right: 14px;
	border: 1px solid rgba(0, 0, 0, 0.12);
	background: rgba(255, 255, 255, 0.9);
}

body.single-product .wp-block-post-title {
	max-width: 19ch;
	margin: 0;
	font-size: clamp(2rem, 3.05vw, 3.2rem);
	line-height: 1.07;
	letter-spacing: -0.035em;
	text-wrap: balance;
}

body.single-product .wp-block-woocommerce-product-price {
	margin: 0;
}

body.single-product .wp-block-woocommerce-product-price .price {
	font-size: clamp(1.45rem, 2vw, 1.9rem);
	line-height: 1.2;
	color: var(--bladeforge-accent);
}

body.single-product .wp-block-post-excerpt,
body.single-product .woocommerce-product-details__short-description {
	margin: 0;
	color: var(--bladeforge-text-muted);
	font-size: 1rem;
	line-height: 1.7;
	overflow: visible;
}

body.single-product .wp-block-post-excerpt p,
body.single-product .woocommerce-product-details__short-description p {
	margin: 0;
}

body.single-product .wp-block-add-to-cart-form,
body.single-product .variations_form,
body.single-product .variations,
body.single-product .single_variation_wrap {
	width: 100%;
}

body.single-product .variations_form {
	display: block;
	margin: 4px 0 0;
}

body.single-product .variations {
	display: grid;
	gap: 14px;
	margin: 0 0 18px;
	border: 0;
}

body.single-product .variations tbody {
	display: contents;
}

body.single-product .variations tr {
	display: grid;
	grid-template-columns: minmax(104px, 0.3fr) minmax(0, 1fr);
	gap: 16px;
	align-items: center;
}

body.single-product .variations th,
body.single-product .variations td {
	padding: 0;
	border: 0;
	text-align: left;
}

body.single-product .variations label {
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #d3cbbb;
}

body.single-product .variations select {
	width: 100%;
	min-height: 54px;
	padding: 0 42px 0 15px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 14px;
	background-color: rgba(255, 255, 255, 0.06);
	color: var(--bladeforge-text);
	font: inherit;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
	cursor: pointer;
	transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

body.single-product .variations select:hover {
	border-color: rgba(214, 161, 87, 0.48);
	background-color: rgba(255, 255, 255, 0.075);
}

body.single-product .variations select:focus-visible {
	border-color: var(--bladeforge-accent);
	box-shadow: 0 0 0 3px rgba(214, 161, 87, 0.18);
	outline: 0;
}

body.single-product .variations select:disabled {
	cursor: not-allowed;
	opacity: 0.46;
}

body.single-product .variations select option {
	background: #171714;
	color: #f4f0e8;
}

body.single-product .variations select option:checked {
	background: #d6a157;
	color: #11100d;
}

body.single-product .variations select option:disabled {
	background: #20201d;
	color: #77736a;
}

body.single-product .woocommerce.product .variations_form.bladeforge-variation-form--enhanced .variations select.bladeforge-variation-select--enhanced {
	display: none;
}

body.single-product .bladeforge-variation-options {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	min-width: 0;
}

body.single-product .bladeforge-variation-option {
	min-height: 44px;
	padding: 10px 15px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.045);
	color: #e9e4db;
	font: inherit;
	font-size: 0.88rem;
	font-weight: 650;
	line-height: 1.2;
	letter-spacing: 0.01em;
	cursor: pointer;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
	transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

body.single-product .bladeforge-variation-option:not(:disabled):hover {
	border-color: rgba(226, 178, 105, 0.72);
	background: rgba(214, 161, 87, 0.1);
	color: #fffaf1;
	transform: translateY(-1px);
}

body.single-product .bladeforge-variation-option:focus-visible {
	border-color: #e2b269;
	outline: 3px solid rgba(214, 161, 87, 0.22);
	outline-offset: 2px;
}

body.single-product .bladeforge-variation-option.is-selected {
	border-color: #e2b269;
	background: linear-gradient(145deg, #e0ad63, #c78d42);
	color: #11100d;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34), 0 8px 22px rgba(168, 117, 47, 0.2);
}

body.single-product .bladeforge-variation-option.is-unavailable,
body.single-product .bladeforge-variation-option:disabled {
	border-color: rgba(255, 255, 255, 0.07);
	background: rgba(255, 255, 255, 0.018);
	color: rgba(233, 228, 219, 0.3);
	box-shadow: none;
	cursor: not-allowed;
	text-decoration: line-through;
	text-decoration-thickness: 1px;
}

body.single-product .reset_variations {
	display: inline-flex;
	margin-top: 9px;
	padding: 3px 0;
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(211, 203, 187, 0.72);
	text-decoration: underline;
	text-decoration-color: rgba(214, 161, 87, 0.35);
	text-underline-offset: 4px;
}

body.single-product .single_variation {
	min-height: 0;
	margin: 0 0 14px;
}

body.single-product .woocommerce-variation-description,
body.single-product .woocommerce-variation-availability {
	color: var(--bladeforge-text-muted);
	font-size: 0.92rem;
	line-height: 1.55;
}

body.single-product .woocommerce-variation-description p,
body.single-product .woocommerce-variation-availability p {
	margin: 0 0 8px;
}

body.single-product .woocommerce-variation-add-to-cart {
	display: grid;
	grid-template-columns: 92px minmax(0, 1fr);
	gap: 12px;
	align-items: stretch;
	padding: 12px;
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.025);
}

body.single-product .quantity,
body.single-product .quantity .qty,
body.single-product .single_add_to_cart_button {
	min-height: 56px;
}

body.single-product .quantity .qty {
	width: 100%;
	padding: 0 8px;
	font-size: 1rem;
	font-weight: 650;
	text-align: center;
	border-color: rgba(255, 255, 255, 0.16);
	background: #171714;
}

body.single-product .woocommerce.product .variations_form .single_add_to_cart_button.button.alt {
	width: 100%;
	border: 1px solid #ffd180;
	border-radius: 14px;
	background-color: #eda12f;
	background-image: linear-gradient(135deg, #ffc45b, #e18418);
	color: #0c0b08;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42), 0 13px 32px rgba(225, 132, 24, 0.32);
	transition: filter 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

body.single-product .woocommerce.product .variations_form .single_add_to_cart_button.button.alt:not(.disabled):not(:disabled):hover {
	filter: brightness(1.06) saturate(1.06);
	transform: translateY(-1px);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 15px 34px rgba(168, 117, 47, 0.34);
}

body.single-product .woocommerce.product .variations_form .single_add_to_cart_button.button.alt:not(.disabled):not(:disabled):active {
	filter: brightness(0.96);
	transform: translateY(1px);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 7px 18px rgba(168, 117, 47, 0.24);
}

body.single-product .woocommerce.product .variations_form .single_add_to_cart_button.button.alt:focus-visible {
	outline: 3px solid rgba(230, 184, 111, 0.26);
	outline-offset: 3px;
}

body.single-product .woocommerce.product .variations_form .single_add_to_cart_button.button.alt.disabled,
body.single-product .woocommerce.product .variations_form .single_add_to_cart_button.button.alt:disabled {
	border-color: rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.09);
	color: rgba(255, 255, 255, 0.46);
	box-shadow: none;
	cursor: not-allowed;
	opacity: 1;
}

body.single-product .wp-block-woocommerce-product-meta {
	display: grid;
	gap: 10px;
	margin: 2px 0 0;
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, 0.09);
	color: var(--bladeforge-text-muted);
	font-size: 0.82rem;
	line-height: 1.5;
}

body.single-product .wp-block-woocommerce-product-meta > .wp-block-group {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
}

body.single-product .bladeforge-product-model,
body.single-product .wp-block-woocommerce-product-sku,
body.single-product .taxonomy-product_cat {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 5px;
	align-items: baseline;
}

body.single-product .bladeforge-product-model span,
body.single-product .wp-block-post-terms__prefix {
	color: rgba(255, 255, 255, 0.48);
	font-weight: 500;
}

body.single-product .bladeforge-product-model strong,
body.single-product .wp-block-woocommerce-product-sku .sku,
body.single-product .taxonomy-product_cat a {
	color: var(--bladeforge-text-muted);
	font-weight: 600;
}

body.single-product .wp-block-woocommerce-product-sku:has(.sku:empty) {
	display: none;
}

body.single-product.product-type-variable:not(.bladeforge-variation-selected) .wp-block-woocommerce-product-sku {
	display: none;
}

body.single-product .wp-block-woocommerce-product-details {
	margin: 0;
	padding: clamp(22px, 3vw, 34px);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.025);
}

body.single-product .woocommerce-tabs ul.tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	margin: 0 0 28px;
	padding: 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.single-product .woocommerce-tabs ul.tabs::before,
body.single-product .woocommerce-tabs ul.tabs li::before,
body.single-product .woocommerce-tabs ul.tabs li::after {
	display: none;
}

body.single-product .woocommerce-tabs ul.tabs li {
	margin: 0 0 -1px;
	padding: 0;
	border: 0;
	border-bottom: 2px solid transparent;
	border-radius: 0;
	background: transparent;
}

body.single-product .woocommerce-tabs ul.tabs li a {
	display: inline-flex;
	padding: 12px 14px;
	border-radius: 9px 9px 0 0;
	color: var(--bladeforge-text-muted);
	font-size: 0.82rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

body.single-product .woocommerce-tabs ul.tabs li.active {
	border-bottom-color: var(--bladeforge-accent);
}

body.single-product .woocommerce-tabs ul.tabs li.active a {
	background: rgba(214, 161, 87, 0.09);
	color: var(--bladeforge-text);
}

body.single-product .woocommerce-Tabs-panel {
	color: var(--bladeforge-text-muted);
	font-size: 1rem;
	line-height: 1.72;
}

body.single-product .woocommerce-Tabs-panel > h2:first-child {
	display: none;
}

body.single-product .woocommerce-Tabs-panel h2 {
	margin: 34px 0 12px;
	color: var(--bladeforge-text);
	font-size: clamp(1.25rem, 2vw, 1.65rem);
	line-height: 1.2;
}

body.single-product .woocommerce-Tabs-panel h2:first-of-type {
	margin-top: 0;
}

body.single-product .woocommerce-Tabs-panel table {
	width: 100%;
	margin: 18px 0 28px;
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: 14px;
	overflow: hidden;
}

body.single-product .woocommerce-Tabs-panel th,
body.single-product .woocommerce-Tabs-panel td {
	padding: 12px 14px;
	border: 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.075);
	text-align: left;
	vertical-align: top;
}

body.single-product .woocommerce-Tabs-panel tr:last-child th,
body.single-product .woocommerce-Tabs-panel tr:last-child td {
	border-bottom: 0;
}

body.single-product .woocommerce-Tabs-panel th {
	width: 30%;
	color: var(--bladeforge-text);
	font-weight: 650;
}

body.single-product .woocommerce-Tabs-panel thead th {
	width: auto;
	background: rgba(214, 161, 87, 0.1);
	color: var(--bladeforge-text);
	font-size: 0.78rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

body.single-product .woocommerce-Tabs-panel tbody tr:nth-child(even) {
	background: rgba(255, 255, 255, 0.018);
}

body.single-product .wp-block-woocommerce-product-collection {
	margin-top: clamp(34px, 5vw, 58px);
	padding-top: clamp(28px, 4vw, 44px);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.single-product .wp-block-woocommerce-product-collection > h2 {
	margin-bottom: 24px;
	font-size: clamp(1.45rem, 2.4vw, 2rem);
	letter-spacing: -0.02em;
}

.woocommerce table.shop_table {
	border-collapse: separate;
	border-spacing: 0;
	border-radius: 18px;
	overflow: hidden;
}

.woocommerce table.shop_table td,
.woocommerce table.shop_table th,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
	background: rgba(255, 255, 255, 0.04);
	color: var(--bladeforge-text);
	border-color: rgba(255, 255, 255, 0.12);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
	min-height: 48px;
	border-radius: 12px;
	padding: 10px 14px;
}

.woocommerce .quantity .qty {
	min-height: 46px;
	background: rgba(255, 255, 255, 0.06);
	color: var(--bladeforge-text);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 12px;
}

.woocommerce-checkout-review-order,
.woocommerce .cart_totals {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 18px;
	padding: 18px;
}

.woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0 0 18px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.woocommerce-MyAccount-navigation a {
	display: inline-flex;
	padding: 10px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
}

.woocommerce-pagination ul.page-numbers {
	border: 0 !important;
	display: flex;
	gap: 10px;
	padding: 0;
}

.woocommerce-pagination ul.page-numbers li {
	border: 0 !important;
}

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

@keyframes bladeforge-scroll {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(calc(-50% - 9px));
	}
}

@media (max-width: 1140px) {
	.bladeforge-category-grid,
	.bladeforge-blog-grid,
	.bladeforge-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bladeforge-header__inner {
		grid-template-columns: auto auto 1fr;
	}

	.bladeforge-nav-toggle {
		display: inline-block;
	}

	.bladeforge-navigation {
		display: none;
		grid-column: 1 / -1;
		flex-direction: column;
		align-items: flex-start;
		padding: 8px 0 20px;
		gap: 6px;
	}

	.bladeforge-header.nav-open .bladeforge-navigation {
		display: flex;
	}

	.bladeforge-navigation > a,
	.bladeforge-navigation__item {
		width: 100%;
	}

	.bladeforge-navigation__item {
		display: grid;
		grid-template-columns: 1fr auto;
	}

	.bladeforge-navigation__parent,
	.bladeforge-navigation > a {
		padding-inline: 0;
	}

	.bladeforge-subnav-toggle {
		display: inline-grid;
		place-items: center;
	}

	.bladeforge-subnav {
		position: static;
		min-width: 0;
		display: none;
		opacity: 1;
		pointer-events: auto;
		transform: none;
		padding: 10px 0 0 16px;
		border: 0;
		box-shadow: none;
		background: transparent;
	}

	.bladeforge-navigation__item--has-children:hover .bladeforge-subnav,
	.bladeforge-navigation__item--has-children:focus-within .bladeforge-subnav,
	.bladeforge-navigation__item--has-children.subnav-open .bladeforge-subnav {
		display: grid;
	}

	.bladeforge-subnav a {
		padding: 8px 0;
	}

	.bladeforge-product-grid,
	.woocommerce ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 1279px) {
	body:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag) .wc-block-product-template {
		grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 820px) {
	body.bladeforge-storefront-active .wp-site-blocks {
		padding-top: 82px;
	}

	.bladeforge-header__inner {
		grid-template-columns: auto auto 1fr;
		min-height: 82px;
	}

	.bladeforge-header__actions {
		gap: 12px;
		font-size: 0.84rem;
	}

	.bladeforge-hero__inner {
		grid-template-columns: 1fr;
	}

	.bladeforge-hero__copy,
	.bladeforge-hero__visual {
		min-height: auto;
	}

	.bladeforge-hero h1 {
		max-width: 7ch;
	}

	.bladeforge-category-grid,
	.bladeforge-blog-grid,
	.bladeforge-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bladeforge-product-grid,
	.woocommerce ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag) main.wp-block-group {
		width: min(100% - 32px, 1500px);
	}

	body:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag) .wc-block-product-template {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (min-width: 821px) and (max-width: 1023px) {
	body:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag) .wc-block-product-template {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 900px) {
	body.single-product .wp-site-blocks > .woocommerce.product {
		padding: clamp(16px, 3vw, 24px);
	}

	body.single-product .woocommerce.product > main > .wp-block-columns {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	body.single-product .woocommerce.product > main > .wp-block-columns > .wp-block-column:last-child {
		padding-top: 0;
	}

	body.single-product .wp-block-post-title {
		max-width: 22ch;
	}
}

@media (max-width: 640px) {
	.bladeforge-section {
		padding: 34px 0;
	}

	.bladeforge-hero {
		padding-top: 18px;
	}

	.bladeforge-hero__copy,
	.bladeforge-hero__visual,
	.bladeforge-empty-state,
	.bladeforge-review-card {
		padding: 22px;
	}

	.bladeforge-hero-card {
		max-width: none;
	}

	.bladeforge-header__actions {
		gap: 10px;
		font-size: 0.82rem;
	}

	.bladeforge-header__actions a,
	.bladeforge-search-toggle {
		padding-inline: 0;
	}

	.bladeforge-category-grid,
	.bladeforge-blog-grid,
	.bladeforge-footer__grid {
		grid-template-columns: 1fr;
	}

	.bladeforge-product-grid,
	.woocommerce ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bladeforge-product-card__content,
	.bladeforge-blog-card__content {
		min-height: 0;
	}

	.bladeforge-category-card__content {
		min-height: 0;
	}

	.bladeforge-review-card {
		min-height: 0;
	}

	body.single-product .wp-site-blocks > .woocommerce.product {
		width: min(100% - 20px, 1180px);
		padding: 14px;
		border-radius: 20px;
	}

	body.single-product .woocommerce.product > main > .wp-block-columns {
		margin-top: 16px;
		margin-bottom: 34px;
	}

	body.single-product .woocommerce-product-gallery .flex-control-thumbs {
		gap: 10px;
		margin-top: 15px;
	}

	body.single-product .woocommerce.product .woocommerce-product-gallery.images .flex-control-thumbs > li {
		flex-basis: 78px;
		width: 78px;
	}

	body.single-product .wp-block-post-title {
		font-size: clamp(1.82rem, 9vw, 2.45rem);
		line-height: 1.08;
	}

	body.single-product .variations tr {
		grid-template-columns: 1fr;
		gap: 7px;
	}

	body.single-product .woocommerce-variation-add-to-cart {
		grid-template-columns: 82px minmax(0, 1fr);
		padding: 10px;
	}

	body.single-product .bladeforge-variation-option {
		min-height: 46px;
		padding: 10px 13px;
		font-size: 0.84rem;
	}

	body.single-product .wp-block-woocommerce-product-details {
		padding: 18px;
		border-radius: 16px;
	}

	body.single-product .woocommerce-tabs ul.tabs {
		gap: 8px 16px;
	}

	body.single-product .woocommerce-Tabs-panel table {
		font-size: 0.9rem;
	}

	body.single-product .woocommerce-Tabs-panel th,
	body.single-product .woocommerce-Tabs-panel td {
		padding: 10px;
	}

	.bladeforge-search-panel .search-form {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 430px) {
	.bladeforge-product-grid,
	.woocommerce ul.products {
		grid-template-columns: 1fr;
	}

	body:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag) .wc-block-product-template {
		grid-template-columns: 1fr !important;
	}

	.bladeforge-header__actions a:nth-child(2) {
		display: none;
	}
}
