/*
 * NTS Web Redesign — Claude Design direction v2
 * Scope: child-theme visual layer, design tokens, and component library.
 * Version: 20260623-2
 */

/* ============================================================
   Design Tokens (approved: 13_claude-design-website-ui-review)
   ============================================================ */
:root {
	--nts-blue: #1e3470;
	--nts-blue-900: #14264c;
	--nts-blue-deep: #14264c;    /* compat alias */
	--nts-gold: #cfba8d;
	--nts-gold-ink: #a8884e;
	--nts-cream: #f6f0e3;
	--nts-grey: #f1f3f6;
	--nts-ink: #232a33;
	--nts-ok: #1c7a4a;
	--nts-muted: #667085;
	--nts-line: #e7e2d8;
	--nts-soft: #f6f8fb;
	--nts-radius: 10px;
	--nts-container: 1240px;
	--nts-shadow: 0 18px 45px rgba(19, 36, 79, .12);
}

/* ============================================================
   Base
   ============================================================ */
body {
	color: var(--nts-ink);
	background: #fff;
}

/* ============================================================
   Header
   ============================================================ */
#masthead {
	box-shadow: 0 8px 28px rgba(19, 36, 79, .08);
}

#masthead .header-nav-main > li > a {
	color: var(--nts-blue-900);
	font-weight: 700;
	letter-spacing: 0;
}

#masthead .nav-line-grow > li > a:before,
#masthead .nav-line-bottom > li > a:before,
#masthead .nav-line > li > a:before {
	border-color: var(--nts-gold);
}

/* ============================================================
   Utility: Eyebrow
   ============================================================ */
.nts-eyebrow {
	margin: 0 0 10px;
	color: var(--nts-gold-ink);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

/* ============================================================
   Utility: Buttons
   ============================================================ */
.nts-button,
.button.nts-button {
	border-radius: 6px;
	font-weight: 800;
	letter-spacing: 0;
	text-transform: none;
}

.nts-button--outline {
	border: 2px solid rgba(255, 255, 255, .68) !important;
	color: #fff !important;
	background: transparent !important;
}

/* ============================================================
   Homepage Hero
   ============================================================ */
.nts-home-hero {
	position: relative;
	overflow: hidden;
	background:
		linear-gradient(135deg, rgba(19, 36, 79, .96), rgba(30, 52, 112, .9)),
		radial-gradient(circle at 72% 22%, rgba(207, 186, 141, .28), transparent 30%);
	color: #fff;
}

.nts-home-hero:before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px),
		linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px);
	background-size: 42px 42px;
	mask-image: linear-gradient(90deg, rgba(0, 0, 0, .6), transparent 82%);
	pointer-events: none;
}

.nts-home-hero__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(280px, .58fr);
	gap: 36px;
	align-items: end;
	max-width: var(--nts-container);
	margin: 0 auto;
	padding: 76px 20px 54px;
}

.nts-home-hero h1 {
	max-width: 760px;
	margin: 0 0 18px;
	color: #fff;
	font-size: 46px;
	line-height: 1.12;
	letter-spacing: 0;
	text-transform: none;
}

.nts-home-hero__lead {
	max-width: 720px;
	margin: 0 0 28px;
	color: rgba(255, 255, 255, .86);
	font-size: 18px;
	line-height: 1.7;
}

.nts-home-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.nts-home-hero__panel {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	padding: 18px;
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: var(--nts-radius);
	background: rgba(255, 255, 255, .1);
	backdrop-filter: blur(10px);
}

.nts-home-hero__panel span {
	display: flex;
	min-height: 64px;
	align-items: center;
	justify-content: center;
	padding: 12px;
	border: 1px solid rgba(207, 186, 141, .42);
	border-radius: 6px;
	color: #fff;
	font-weight: 800;
	text-align: center;
}

/* ============================================================
   Trust Strip
   ============================================================ */
.nts-trust-strip {
	background: #fff;
	border-bottom: 1px solid var(--nts-line);
}

.nts-trust-strip__inner {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1px;
	max-width: var(--nts-container);
	margin: 0 auto;
	padding: 18px 20px;
}

.nts-trust-strip__inner div {
	padding: 14px 18px;
	border-left: 3px solid var(--nts-gold);
	background: var(--nts-soft);
	border-radius: 6px;
}

.nts-trust-strip strong,
.nts-trust-strip span {
	display: block;
}

.nts-trust-strip strong {
	color: var(--nts-blue);
	font-size: 15px;
}

.nts-trust-strip span {
	margin-top: 4px;
	color: var(--nts-muted);
	font-size: 13px;
	line-height: 1.45;
}

/* ============================================================
   Category Cards
   ============================================================ */
.nts-category-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	max-width: var(--nts-container);
	margin: 0 auto 40px;
	padding: 0 20px;
}

.nts-category-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-end;
	min-height: 180px;
	padding: 20px;
	border-radius: var(--nts-radius);
	background: var(--nts-blue);
	color: #fff;
	text-decoration: none !important;
	overflow: hidden;
	transition: transform .2s ease, box-shadow .2s ease;
}

.nts-category-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 18px 40px rgba(19, 36, 79, .22);
	color: #fff;
}

.nts-category-card:before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, var(--nts-blue-900), transparent 70%);
	opacity: .7;
}

.nts-category-card__label {
	position: relative;
	z-index: 1;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.3;
}

.nts-category-card__sub {
	position: relative;
	z-index: 1;
	margin-top: 6px;
	color: var(--nts-gold);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}

/* ============================================================
   Product Line Chips
   ============================================================ */
.nts-line-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 28px;
	padding: 0 20px;
}

.nts-line-chip {
	display: inline-flex;
	align-items: center;
	height: 32px;
	padding: 0 14px;
	border: 1.5px solid var(--nts-gold);
	border-radius: 999px;
	color: var(--nts-blue-900);
	background: #fff;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .04em;
	text-decoration: none !important;
	white-space: nowrap;
	transition: background .18s, color .18s;
}

.nts-line-chip:hover,
.nts-line-chip.is-active {
	background: var(--nts-blue);
	border-color: var(--nts-blue);
	color: #fff;
}

/* ============================================================
   Product Archive Intro
   ============================================================ */
.nts-archive-intro {
	margin: 0 0 28px;
	padding: 28px;
	border: 1px solid var(--nts-line);
	border-radius: var(--nts-radius);
	background:
		linear-gradient(135deg, #fff, var(--nts-cream)),
		linear-gradient(90deg, rgba(30, 52, 112, .07), transparent);
	box-shadow: var(--nts-shadow);
}

.nts-archive-intro h2 {
	max-width: 820px;
	margin: 0 0 10px;
	color: var(--nts-blue);
	font-size: 28px;
	line-height: 1.25;
	letter-spacing: 0;
	text-transform: none;
}

.nts-archive-intro p:last-child {
	max-width: 880px;
	margin: 0;
	color: var(--nts-muted);
	font-size: 15px;
	line-height: 1.75;
}

/* ============================================================
   Product Cards
   ============================================================ */
.product-small.col .col-inner {
	height: 100%;
	border: 1px solid rgba(30, 52, 112, .1);
	border-radius: var(--nts-radius);
	background: #fff;
	box-shadow: 0 12px 32px rgba(19, 36, 79, .08);
	transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.product-small.col .col-inner:hover {
	transform: translateY(-3px);
	border-color: rgba(207, 186, 141, .85);
	box-shadow: 0 18px 42px rgba(19, 36, 79, .14);
}

.product-small.col .box-image {
	border-radius: var(--nts-radius) var(--nts-radius) 0 0;
	overflow: hidden;
	background: var(--nts-grey);
}

.product-small.col .box-text-products {
	padding: 18px !important;
	border-top: 1px solid rgba(30, 52, 112, .08);
}

.product-small.col .box-text-products .name.product-title a {
	color: var(--nts-blue-900);
	font-weight: 800;
	line-height: 1.45;
	-webkit-line-clamp: 2;
	min-height: 44px;
}

/* ============================================================
   Price
   ============================================================ */
.price-wrapper > span > span.amount,
.price-wrapper ins span,
.single.single-product .product-info .product-page-price span.amount {
	color: var(--nts-blue);
	font-weight: 900;
}

/* ============================================================
   Product Benefit Badges
   ============================================================ */
.nts-card-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 10px 0 2px;
}

.nts-card-badges span {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	padding: 3px 8px;
	border: 1px solid rgba(207, 186, 141, .55);
	border-radius: 999px;
	color: var(--nts-blue);
	background: rgba(207, 186, 141, .13);
	font-size: 11px;
	font-weight: 800;
	line-height: 1.2;
}

.nts-badge-ok {
	border-color: rgba(28, 122, 74, .35) !important;
	color: var(--nts-ok) !important;
	background: rgba(28, 122, 74, .08) !important;
}

/* ============================================================
   Product Detail Page
   ============================================================ */
.single.single-product .shop-container {
	padding-top: 42px;
}

.single.single-product .product-info {
	padding: 26px 28px 30px;
	border: 1px solid var(--nts-line);
	border-radius: var(--nts-radius);
	background: linear-gradient(180deg, #fff, #fbfaf7);
	box-shadow: var(--nts-shadow);
}

.single.single-product .product-info .product-title {
	color: var(--nts-blue);
	font-size: 30px;
	line-height: 1.25;
	letter-spacing: 0;
}

.single.single-product .woocommerce-product-gallery,
.single.single-product .product-thumbnails a {
	border-color: rgba(30, 52, 112, .12);
	border-radius: var(--nts-radius);
}

/* ============================================================
   Specification Table
   ============================================================ */
.nts-spec-table {
	width: 100%;
	border-collapse: collapse;
	margin: 18px 0 0;
	font-size: 14px;
}

.nts-spec-table tr {
	border-bottom: 1px solid var(--nts-line);
}

.nts-spec-table tr:last-child {
	border-bottom: none;
}

.nts-spec-table th,
.nts-spec-table td {
	padding: 10px 14px;
	text-align: left;
	vertical-align: top;
}

.nts-spec-table th {
	width: 38%;
	color: var(--nts-muted);
	font-weight: 700;
	background: var(--nts-grey);
}

.nts-spec-table td {
	color: var(--nts-ink);
	font-weight: 500;
}

/* ============================================================
   Product Advisor Panel
   ============================================================ */
.nts-product-advisor {
	margin-top: 22px;
	padding: 20px;
	border: 1px solid rgba(207, 186, 141, .55);
	border-radius: var(--nts-radius);
	background:
		linear-gradient(135deg, rgba(246, 240, 227, .94), #fff),
		linear-gradient(90deg, rgba(30, 52, 112, .08), transparent);
}

.nts-product-advisor h3 {
	margin: 0 0 12px;
	color: var(--nts-blue);
	font-size: 20px;
	line-height: 1.35;
	letter-spacing: 0;
	text-transform: none;
}

.nts-product-advisor ul {
	margin: 0 0 16px 18px;
	color: var(--nts-muted);
}

.nts-product-advisor li {
	margin-bottom: 7px;
	line-height: 1.55;
}

/* ============================================================
   CTA Form Block
   ============================================================ */
.nts-cta-block {
	padding: 48px 40px;
	border-radius: var(--nts-radius);
	background: linear-gradient(135deg, var(--nts-blue-900), var(--nts-blue));
	color: #fff;
	text-align: center;
}

.nts-cta-block h2 {
	margin: 0 0 12px;
	color: #fff;
	font-size: 32px;
	line-height: 1.25;
	letter-spacing: 0;
	text-transform: none;
}

.nts-cta-block p {
	margin: 0 0 24px;
	color: rgba(255, 255, 255, .82);
	font-size: 16px;
	line-height: 1.7;
}

.nts-cta-block .wpcf7 input[type="text"],
.nts-cta-block .wpcf7 input[type="tel"],
.nts-cta-block .wpcf7 input[type="email"],
.nts-cta-block .wpcf7 textarea {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid rgba(255, 255, 255, .35);
	border-radius: 6px;
	background: rgba(255, 255, 255, .12);
	color: #fff;
	font-size: 15px;
	box-sizing: border-box;
}

.nts-cta-block .wpcf7 input[type="text"]::placeholder,
.nts-cta-block .wpcf7 input[type="tel"]::placeholder,
.nts-cta-block .wpcf7 input[type="email"]::placeholder,
.nts-cta-block .wpcf7 textarea::placeholder {
	color: rgba(255, 255, 255, .6);
}

.nts-cta-block .wpcf7 input[type="submit"] {
	margin-top: 10px;
	padding: 14px 32px;
	border: none;
	border-radius: 6px;
	background: var(--nts-gold);
	color: var(--nts-blue-900);
	font-size: 15px;
	font-weight: 800;
	cursor: pointer;
	transition: opacity .18s;
}

.nts-cta-block .wpcf7 input[type="submit"]:hover {
	opacity: .88;
}

/* ============================================================
   B2B / Dealer CTA Strip
   ============================================================ */
.nts-b2b-strip {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 32px 40px;
	border: 2px solid var(--nts-gold);
	border-radius: var(--nts-radius);
	background: var(--nts-cream);
}

.nts-b2b-strip h3 {
	margin: 0 0 6px;
	color: var(--nts-blue-900);
	font-size: 22px;
	letter-spacing: 0;
}

.nts-b2b-strip p {
	margin: 0;
	color: var(--nts-muted);
	font-size: 14px;
}

/* ============================================================
   Factory / Trust Band
   ============================================================ */
.nts-factory-band {
	padding: 48px 20px;
	background: var(--nts-blue-900);
	color: #fff;
	text-align: center;
}

.nts-factory-band h2 {
	margin: 0 0 10px;
	color: #fff;
	font-size: 28px;
	letter-spacing: 0;
	text-transform: none;
}

.nts-factory-band p {
	max-width: 640px;
	margin: 0 auto 28px;
	color: rgba(255, 255, 255, .78);
	font-size: 15px;
	line-height: 1.7;
}

.nts-factory-band__stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	max-width: 720px;
	margin: 0 auto;
}

.nts-factory-band__stat {
	padding: 22px 20px;
	border: 1px solid rgba(207, 186, 141, .35);
	border-radius: var(--nts-radius);
	background: rgba(255, 255, 255, .06);
}

.nts-factory-band__stat strong {
	display: block;
	margin-bottom: 6px;
	color: var(--nts-gold);
	font-size: 28px;
	font-weight: 900;
}

.nts-factory-band__stat span {
	color: rgba(255, 255, 255, .78);
	font-size: 13px;
}

/* ============================================================
   Product Tabs / Related / Section Titles
   ============================================================ */
.product-footer .product-tabs > li > a,
.single.single-product .product-footer .related .product-section-title,
.mh-title-section .mh-title {
	color: var(--nts-blue);
	letter-spacing: 0;
}

/* ============================================================
   Footer
   ============================================================ */
.footer-wrapper,
.absolute-footer {
	background: var(--nts-blue-900);
}

/* ============================================================
   Mobile Sticky Purchase Action (product page only)
   ============================================================ */
.nts-mobile-sticky-buy {
	display: none;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 9999;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 16px;
	background: #fff;
	border-top: 1px solid var(--nts-line);
	box-shadow: 0 -4px 20px rgba(19, 36, 79, .12);
}

.nts-mobile-sticky-buy__price {
	color: var(--nts-blue);
	font-size: 18px;
	font-weight: 900;
	flex-shrink: 0;
}

.nts-mobile-sticky-buy__btn {
	flex: 1;
	max-width: 220px;
	padding: 13px 20px;
	border: none;
	border-radius: 6px;
	background: var(--nts-blue);
	color: #fff;
	font-size: 15px;
	font-weight: 800;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: opacity .18s;
}

.nts-mobile-sticky-buy__btn:hover {
	opacity: .88;
	color: #fff;
}

/* ============================================================
   Responsive
   ============================================================ */
@media only screen and (max-width: 1024px) {
	.nts-category-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.nts-b2b-strip {
		flex-direction: column;
		text-align: center;
	}

	.nts-factory-band__stats {
		grid-template-columns: 1fr 1fr;
	}
}

@media only screen and (max-width: 860px) {
	.nts-home-hero__inner,
	.nts-trust-strip__inner {
		grid-template-columns: 1fr;
	}

	.nts-home-hero__inner {
		padding: 52px 18px 38px;
	}

	.nts-home-hero h1 {
		font-size: 34px;
	}

	.nts-home-hero__lead {
		font-size: 16px;
	}

	.nts-home-hero__panel {
		grid-template-columns: 1fr 1fr;
	}

	.woocommerce.archive .category-page-row {
		padding-top: 30px;
	}

	.nts-archive-intro {
		padding: 22px;
	}

	.nts-archive-intro h2 {
		font-size: 24px;
	}

	.nts-cta-block {
		padding: 32px 24px;
	}

	.nts-cta-block h2 {
		font-size: 26px;
	}
}

@media only screen and (max-width: 768px) {
	.nts-category-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}

	.nts-factory-band__stats {
		grid-template-columns: 1fr;
	}

	.single.single-product .product-info {
		padding: 20px;
	}

	.nts-mobile-sticky-buy {
		display: flex;
	}
}

@media only screen and (max-width: 425px) {
	.nts-home-hero h1 {
		font-size: 29px;
	}

	.nts-home-hero__panel {
		grid-template-columns: 1fr;
	}

	.nts-home-hero__actions .button {
		width: 100%;
		margin-right: 0;
	}

	.nts-category-grid {
		grid-template-columns: 1fr 1fr;
		gap: 8px;
		padding: 0 12px;
	}

	.nts-category-card {
		min-height: 140px;
		padding: 14px;
	}

	.nts-category-card__label {
		font-size: 14px;
	}

	.nts-b2b-strip {
		padding: 22px 18px;
	}
}
