.nerf-shop-hero {
	border-bottom: 1px solid var(--nerf-line);
	background:
		linear-gradient(115deg, rgb(15 118 110 / 16%), transparent 48%),
		linear-gradient(285deg, rgb(245 158 11 / 20%), transparent 44%),
		var(--nerf-surface);
	padding: clamp(48px, 8vw, 96px) 0 34px;
}

.nerf-eyebrow {
	margin: 0 0 12px;
	color: var(--nerf-primary);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.nerf-shop-categories {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 24px;
}

.nerf-chip {
	border-color: var(--nerf-line);
	background: rgb(255 255 255 / 76%);
	color: var(--nerf-ink);
}

.nerf-shop-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 20px;
}

.nerf-compare-cta,
.nerf-loop-compare,
.nerf-product-metrics-head a,
.nerf-compare-buy {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	border: 1px solid var(--nerf-line);
	border-radius: var(--nerf-radius);
	background: var(--nerf-ink);
	color: var(--nerf-surface);
	font-size: 14px;
	font-weight: 780;
	line-height: 1;
	text-decoration: none;
	padding: 10px 14px;
	transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.nerf-compare-cta:hover,
.nerf-loop-compare:hover,
.nerf-product-metrics-head a:hover,
.nerf-compare-buy:hover {
	border-color: var(--nerf-primary);
	background: var(--nerf-primary);
	color: var(--nerf-primary-ink);
	transform: translateY(-1px);
}

.woocommerce-notices-wrapper {
	margin-bottom: 18px;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	border: 1px solid var(--nerf-line);
	border-left: 4px solid var(--nerf-primary);
	border-radius: var(--nerf-radius);
	background: var(--nerf-surface);
	box-shadow: 0 10px 30px rgb(17 24 39 / 6%);
	color: var(--nerf-ink);
	line-height: 1.5;
	padding: 16px 18px;
}

.woocommerce-error {
	border-left-color: var(--nerf-danger);
}

.woocommerce-message .button,
.woocommerce-info .button {
	float: right;
	margin-left: 12px;
}

.woocommerce .woocommerce-result-count {
	margin: 10px 0 20px;
	color: var(--nerf-muted);
	font-size: 14px;
}

.woocommerce .woocommerce-ordering {
	margin: 0 0 20px;
}

.woocommerce .woocommerce-ordering select,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce input.qty {
	min-height: 42px;
	border: 1px solid var(--nerf-line);
	border-radius: var(--nerf-radius);
	background: #fff;
	color: var(--nerf-ink);
	font: inherit;
	padding: 8px 12px;
}

.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	padding: 0;
	margin: 0;
	list-style: none;
}

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

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	float: none;
	width: auto;
	margin: 0;
	border: 1px solid var(--nerf-line);
	border-radius: var(--nerf-radius);
	background: var(--nerf-surface);
	box-shadow: 0 10px 30px rgb(17 24 39 / 6%);
	overflow: hidden;
	transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.woocommerce ul.products li.product:hover {
	transform: translateY(-2px);
	border-color: rgb(15 118 110 / 35%);
	box-shadow: var(--nerf-shadow);
}

.woocommerce ul.products li.product a {
	text-decoration: none;
}

.woocommerce ul.products li.product img,
.nerf-product-visual {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	height: auto;
	margin: 0;
	object-fit: cover;
	background:
		linear-gradient(135deg, rgb(255 255 255 / 32%), transparent),
		var(--nerf-product-accent, var(--nerf-primary));
}

.nerf-product-visual {
	display: grid;
	place-items: center;
}

.nerf-product-visual span {
	border: 1px solid rgb(255 255 255 / 45%);
	border-radius: var(--nerf-radius);
	background: rgb(255 255 255 / 18%);
	color: #fff;
	font-size: clamp(30px, 5vw, 56px);
	font-weight: 900;
	letter-spacing: 0;
	padding: 10px 16px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	min-height: 52px;
	margin: 0;
	padding: 16px 16px 4px;
	color: var(--nerf-ink);
	font-size: 18px;
	line-height: 1.25;
}

.woocommerce ul.products li.product .price {
	display: block;
	margin: 0;
	padding: 0 16px 16px;
	color: var(--nerf-primary);
	font-size: 18px;
	font-weight: 800;
}

.woocommerce ul.products li.product .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.wc-block-components-button,
.wp-element-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	border: 1px solid transparent;
	border-radius: var(--nerf-radius);
	background: var(--nerf-primary);
	color: var(--nerf-primary-ink);
	font: inherit;
	font-size: 14px;
	font-weight: 750;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	padding: 11px 16px;
	transition: filter 160ms ease, transform 160ms ease;
}

.woocommerce ul.products li.product .button {
	width: calc(100% - 32px);
	margin: 0 16px 16px;
}

.woocommerce ul.products li.product .nerf-loop-compare {
	width: calc(100% - 32px);
	min-height: 38px;
	margin: -6px 16px 16px;
	background: transparent;
	color: var(--nerf-ink);
}

.woocommerce ul.products li.product .nerf-loop-compare:hover {
	background: var(--nerf-ink);
	color: var(--nerf-surface);
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.wp-element-button:hover {
	background: var(--nerf-primary);
	color: var(--nerf-primary-ink);
	filter: brightness(0.94);
}

.woocommerce span.onsale {
	top: 12px;
	left: 12px;
	min-width: auto;
	min-height: auto;
	border-radius: var(--nerf-radius);
	background: var(--nerf-accent);
	color: #271400;
	font-size: 12px;
	font-weight: 850;
	line-height: 1;
	padding: 8px 10px;
}

.woocommerce div.product {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
	gap: clamp(24px, 5vw, 58px);
	align-items: start;
	border: 1px solid var(--nerf-line);
	border-radius: var(--nerf-radius);
	background: var(--nerf-surface);
	padding: clamp(18px, 3vw, 34px);
	box-shadow: var(--nerf-shadow);
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
	float: none;
	width: auto;
	margin: 0;
}

.woocommerce div.product .product_title {
	margin: 0 0 14px;
	font-size: clamp(32px, 5vw, 56px);
	line-height: 1;
	letter-spacing: 0;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: var(--nerf-primary);
	font-size: 28px;
	font-weight: 850;
}

.woocommerce div.product form.cart {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 24px;
}

.woocommerce div.product form.cart .quantity {
	float: none;
	margin: 0;
}

.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .related {
	grid-column: 1 / -1;
}

.nerf-product-metrics {
	border: 1px solid var(--nerf-line);
	background:
		linear-gradient(135deg, rgb(15 118 110 / 10%), transparent 42%),
		var(--nerf-surface);
	padding: 18px;
	margin: 22px 0 0;
}

.nerf-product-metrics-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 10px;
}

.nerf-product-metrics-head span {
	color: var(--nerf-muted);
	font-size: 12px;
	font-weight: 850;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.nerf-product-metrics-head a {
	min-height: 34px;
	font-size: 13px;
	padding: 8px 11px;
}

.nerf-product-metrics .nerf-radar-chart {
	width: min(260px, 100%);
	margin: 4px auto 12px;
}

.nerf-metric-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 1px;
	border: 1px solid var(--nerf-line);
	background: var(--nerf-line);
	margin: 0;
}

.nerf-metric-grid div,
.nerf-compare-stats div {
	background: var(--nerf-surface);
	padding: 12px;
}

.nerf-metric-grid dt,
.nerf-compare-stats dt {
	margin: 0 0 6px;
	color: var(--nerf-muted);
	font-size: 12px;
	font-weight: 760;
}

.nerf-metric-grid dd,
.nerf-compare-stats dd {
	margin: 0;
	color: var(--nerf-ink);
	font-size: 16px;
	font-weight: 850;
	line-height: 1.15;
}

.nerf-radar-chart {
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
}

.nerf-radar-ring {
	fill: transparent;
	stroke: var(--nerf-line);
	stroke-width: 1;
}

.nerf-radar-axis {
	stroke: color-mix(in srgb, var(--nerf-line) 70%, var(--nerf-muted));
	stroke-width: 1;
}

.nerf-radar-fill {
	fill: color-mix(in srgb, var(--nerf-product-accent, var(--nerf-primary)) 28%, transparent);
	stroke: none;
}

.nerf-radar-stroke {
	fill: transparent;
	stroke: var(--nerf-product-accent, var(--nerf-primary));
	stroke-linejoin: miter;
	stroke-width: 3;
}

.nerf-radar-chart text {
	fill: var(--nerf-muted);
	font-size: 11px;
	font-weight: 780;
}

.nerf-compare-page .nerf-shop-hero {
	padding-bottom: 42px;
	text-align: center;
}

.nerf-compare-page .nerf-shop-hero-actions {
	justify-content: center;
}

.nerf-compare-content {
	padding-top: 36px;
}

.nerf-compare-picker {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	margin: 0 auto clamp(34px, 6vw, 66px);
}

.nerf-compare-select {
	display: grid;
	gap: 8px;
}

.nerf-compare-select span {
	color: var(--nerf-muted);
	font-size: 12px;
	font-weight: 820;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.nerf-compare-select select {
	width: 100%;
	min-height: 58px;
	border: 1px solid var(--nerf-line);
	border-radius: var(--nerf-radius);
	background: var(--nerf-surface);
	color: var(--nerf-ink);
	font: inherit;
	font-size: 17px;
	font-weight: 850;
	padding: 0 16px;
}

.nerf-compare-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
	align-items: start;
	margin-bottom: clamp(42px, 7vw, 84px);
}

.nerf-compare-card {
	display: grid;
	gap: 16px;
	justify-items: center;
	text-align: center;
}

.nerf-compare-card-image {
	display: block;
	width: min(300px, 100%);
	text-decoration: none;
}

.nerf-compare-card-image img,
.nerf-compare-card-image .nerf-product-visual {
	width: 100%;
	aspect-ratio: 1 / 1;
	border: 1px solid var(--nerf-line);
	object-fit: cover;
}

.nerf-compare-card h2 {
	min-height: 54px;
	margin: 0;
	font-size: clamp(20px, 2vw, 26px);
	line-height: 1.15;
	letter-spacing: 0;
}

.nerf-compare-card h2 a {
	text-decoration: none;
}

.nerf-compare-price {
	min-height: 28px;
	color: var(--nerf-primary);
	font-size: 18px;
	font-weight: 850;
}

.nerf-compare-buy {
	min-height: 36px;
	padding-inline: 16px;
}

.nerf-compare-radar {
	width: min(280px, 100%);
	margin-top: 8px;
}

.nerf-compare-stats {
	display: grid;
	width: 100%;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	border: 1px solid var(--nerf-line);
	background: var(--nerf-line);
	margin: 0;
	text-align: left;
}

.nerf-compare-stats div:last-child:nth-child(odd) {
	grid-column: 1 / -1;
}

.nerf-compare-details {
	border-top: 1px solid var(--nerf-line);
	padding-top: 34px;
}

.nerf-compare-details h2 {
	margin: 0 0 24px;
	font-size: clamp(26px, 4vw, 38px);
	line-height: 1.05;
	letter-spacing: 0;
}

.nerf-compare-table {
	display: grid;
	border-top: 1px solid var(--nerf-line);
}

.nerf-compare-row {
	display: grid;
	grid-template-columns: minmax(120px, 0.7fr) repeat(3, minmax(0, 1fr));
	border-bottom: 1px solid var(--nerf-line);
}

.nerf-compare-row > div {
	min-height: 68px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 12px;
	color: var(--nerf-ink);
	font-size: 17px;
	font-weight: 820;
	text-align: center;
}

.nerf-compare-row-label {
	justify-content: flex-start;
	color: var(--nerf-muted);
	font-size: 14px;
	font-weight: 760;
	text-align: left;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
	padding: 0;
	margin: 28px 0 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
	border-color: var(--nerf-line);
	border-radius: var(--nerf-radius) var(--nerf-radius) 0 0;
	background: #fff;
}

.woocommerce table.shop_table {
	border: 1px solid var(--nerf-line);
	border-radius: var(--nerf-radius);
	background: var(--nerf-surface);
	overflow: hidden;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
	border-color: var(--nerf-line);
	padding: 14px 16px;
}

.woocommerce-cart .cart-collaterals .cart_totals,
.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review {
	border: 1px solid var(--nerf-line);
	border-radius: var(--nerf-radius);
	background: var(--nerf-surface);
	padding: 22px;
	box-shadow: 0 10px 30px rgb(17 24 39 / 6%);
}

@media (max-width: 900px) {
	.woocommerce ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.woocommerce div.product {
		grid-template-columns: 1fr;
	}

	.nerf-metric-grid,
	.nerf-compare-picker,
	.nerf-compare-grid {
		grid-template-columns: 1fr;
	}

	.nerf-compare-card {
		border-bottom: 1px solid var(--nerf-line);
		padding-bottom: 28px;
	}

	.nerf-compare-row {
		grid-template-columns: minmax(88px, 0.75fr) repeat(3, minmax(0, 1fr));
	}

	.nerf-compare-row > div {
		min-height: 58px;
		font-size: 14px;
		padding: 10px 8px;
	}
}

@media (max-width: 560px) {
	.woocommerce ul.products {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.woocommerce table.shop_table_responsive tr,
	.woocommerce-page table.shop_table_responsive tr {
		border-bottom: 1px solid var(--nerf-line);
	}

	.nerf-product-metrics {
		padding: 14px;
	}

	.nerf-compare-stats {
		grid-template-columns: 1fr;
	}

	.nerf-compare-row {
		grid-template-columns: 92px repeat(3, minmax(74px, 1fr));
		overflow-x: auto;
	}
}
