/*
 * NTS Sprint 3A focused visual fidelity patch.
 * Scope: visual alignment with Claude Design, child-theme CSS only.
 */

:root {
	--nts-s3a-surface: #fffaf1;
	--nts-s3a-border: rgba(30, 52, 112, .12);
	--nts-s3a-soft-shadow: 0 18px 48px rgba(20, 38, 76, .10);
}

body {
	font-family: "Be Vietnam Pro", Arial, sans-serif;
}

.header-main,
.header-wrapper {
	background: rgba(255,255,255,.96) !important;
	box-shadow: 0 1px 0 rgba(30, 52, 112, .10);
}

.header-main .nav > li > a,
.header-main .nav > li > a.nav-top-link {
	font-family: "Be Vietnam Pro", Arial, sans-serif !important;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .01em;
	text-transform: none;
	color: var(--nts-blue-900, #14264c);
}

.nts-home-hero {
	background:
		radial-gradient(circle at 80% 24%, rgba(207,186,141,.28), transparent 30%),
		linear-gradient(135deg, #ffffff 0%, #f7f0e4 42%, #eaf0f8 100%) !important;
	color: var(--nts-ink, #232a33) !important;
	padding: 82px 20px 76px !important;
	border-bottom: 1px solid var(--nts-s3a-border);
}

.nts-home-hero__inner {
	display: grid !important;
	grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
	align-items: center;
	gap: 64px;
	max-width: var(--nts-container, 1240px);
	margin: 0 auto;
}

.nts-home-hero__content {
	max-width: 650px;
}

.nts-home-hero .nts-eyebrow {
	color: var(--nts-gold-ink, #a8884e) !important;
	letter-spacing: .08em;
}

.nts-home-hero h1 {
	color: var(--nts-blue-900, #14264c) !important;
	font-family: "Montserrat", "Be Vietnam Pro", Arial, sans-serif !important;
	font-size: clamp(38px, 4vw, 58px) !important;
	line-height: 1.05 !important;
	letter-spacing: 0 !important;
	max-width: 760px;
}

.nts-home-hero__lead,
.nts-home-hero p {
	color: rgba(35,42,51,.80) !important;
	font-size: 17px;
	line-height: 1.75;
}

.nts-home-hero__actions .button,
.nts-button {
	border-radius: 10px !important;
	box-shadow: none !important;
}

.nts-home-hero__panel {
	position: relative;
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	padding: 260px 22px 22px !important;
	min-height: 430px;
	border: 1px solid rgba(207,186,141,.42) !important;
	border-radius: 18px !important;
	background:
		linear-gradient(180deg, rgba(20,38,76,0) 35%, rgba(20,38,76,.62) 100%),
		url("https://nemtrungson.vn/wp-content/uploads/2020/04/Banner-Nem-VinLatex.png") center/cover no-repeat !important;
	box-shadow: var(--nts-s3a-soft-shadow);
	overflow: hidden;
}

.nts-home-hero__panel::before {
	content: "Nệm Trung Sơn";
	position: absolute;
	left: 22px;
	top: 22px;
	padding: 8px 12px;
	border-radius: 999px;
	background: rgba(255,255,255,.90);
	color: var(--nts-blue-900, #14264c);
	font-size: 12px;
	font-weight: 800;
}

.nts-home-hero__panel span {
	position: relative;
	display: block !important;
	padding: 14px 16px !important;
	border: 1px solid rgba(255,255,255,.45) !important;
	border-radius: 12px !important;
	background: rgba(255,255,255,.90) !important;
	color: var(--nts-blue-900, #14264c) !important;
	font-weight: 800;
	text-align: left;
	backdrop-filter: blur(8px);
}

.nts-trust-strip {
	background: #fff !important;
	border-bottom: 1px solid rgba(30,52,112,.10);
}

.nts-category-grid {
	gap: 18px !important;
}

.nts-category-card {
	min-height: 190px !important;
	border-radius: 12px !important;
	border: 1px solid rgba(30,52,112,.12) !important;
	background-color: #fff !important;
	box-shadow: 0 16px 38px rgba(20,38,76,.08) !important;
	overflow: hidden;
}

.nts-category-card::before {
	background: linear-gradient(180deg, rgba(20,38,76,.10), rgba(20,38,76,.58)) !important;
}

.nts-category-card__label {
	font-family: "Montserrat", "Be Vietnam Pro", Arial, sans-serif;
	font-size: 22px !important;
	line-height: 1.1;
	letter-spacing: 0 !important;
}

.nts-line-chip {
	border-color: rgba(168,136,78,.34) !important;
	background: #fff !important;
	color: var(--nts-blue-900, #14264c) !important;
	border-radius: 999px !important;
}

.nts-line-chip:hover {
	background: var(--nts-blue, #1e3470) !important;
	color: #fff !important;
}

body.tax-product_cat .page-title,
body.post-type-archive-product .page-title,
body.single-product .page-title {
	display: none !important;
}

body.tax-product_cat #shop-sidebar,
body.tax-product_cat .shop-sidebar,
body.tax-product_cat .sidebar,
body.single-product #shop-sidebar,
body.single-product .shop-sidebar,
body.single-product .sidebar {
	display: none !important;
}

body.tax-product_cat .large-9,
body.tax-product_cat .medium-9,
body.single-product .large-9,
body.single-product .medium-9 {
	flex-basis: 100% !important;
	max-width: 100% !important;
}

body.tax-product_cat .shop-container,
body.single-product .shop-container,
body.tax-product_cat .container,
body.single-product .container {
	max-width: var(--nts-container, 1240px) !important;
}

.nts-archive-intro {
	margin-top: 34px !important;
	border-radius: 14px !important;
	border: 1px solid rgba(207,186,141,.35) !important;
	background: linear-gradient(135deg, #fff 0%, var(--nts-s3a-surface) 100%) !important;
	box-shadow: 0 18px 45px rgba(20,38,76,.06) !important;
}

.products .product-small,
.product-small .col-inner,
.product-small.box,
.products .product {
	border-radius: 12px !important;
}

.product-small .col-inner {
	background: #fff !important;
	border: 1px solid rgba(30,52,112,.10) !important;
	box-shadow: 0 14px 32px rgba(20,38,76,.07) !important;
	overflow: hidden;
	transition: transform .18s ease, box-shadow .18s ease;
}

.product-small .col-inner:hover {
	transform: translateY(-3px);
	box-shadow: 0 20px 48px rgba(20,38,76,.12) !important;
}

.product-small .box-image,
.product-small .image-fade_in_back {
	background: #f7f8fb;
}

.product-small .box-text {
	padding: 16px 16px 18px !important;
}

.product-small .product-title,
.product-small .woocommerce-loop-product__title,
.product-small .name {
	color: var(--nts-blue-900, #14264c) !important;
	font-family: "Be Vietnam Pro", Arial, sans-serif !important;
	font-size: 15px !important;
	font-weight: 800 !important;
	line-height: 1.35 !important;
}

.product-small .price,
.product-small .amount {
	color: var(--nts-blue, #1e3470) !important;
	font-family: "Inter", Arial, sans-serif !important;
	font-weight: 900 !important;
}

.badge-container .badge,
.badge-inner,
.onsale {
	border-radius: 999px !important;
	background: var(--nts-gold-ink, #a8884e) !important;
	color: #fff !important;
	box-shadow: none !important;
}

body.single-product .product-main {
	padding-top: 42px !important;
}

body.single-product .product-gallery,
body.single-product .product-info {
	background: #fff;
	border-radius: 14px;
}

body.single-product .product-info {
	padding: 28px !important;
	border: 1px solid rgba(30,52,112,.12);
	box-shadow: 0 18px 48px rgba(20,38,76,.08);
}

body.single-product .product-title {
	font-family: "Montserrat", "Be Vietnam Pro", Arial, sans-serif !important;
	color: var(--nts-blue-900, #14264c) !important;
	font-size: clamp(30px, 3vw, 46px) !important;
	line-height: 1.08 !important;
	letter-spacing: 0 !important;
}

body.single-product .product-info .price {
	color: var(--nts-blue, #1e3470) !important;
	font-size: 28px !important;
}

body.single-product .product-short-description,
body.single-product .product-info ul {
	color: rgba(35,42,51,.78);
	line-height: 1.75;
}

body.single-product .single_add_to_cart_button {
	border-radius: 10px !important;
	background: var(--nts-blue, #1e3470) !important;
}

.nts-spec-table,
.nts-product-advisor {
	border-radius: 12px !important;
	box-shadow: 0 12px 32px rgba(20,38,76,.06) !important;
}

@media only screen and (max-width: 900px) {
	.nts-home-hero {
		padding: 54px 16px 48px !important;
	}
	.nts-home-hero__inner {
		grid-template-columns: 1fr;
		gap: 28px;
	}
	.nts-home-hero__panel {
		min-height: 330px;
		padding-top: 190px !important;
	}
}

@media only screen and (max-width: 640px) {
	.nts-home-hero h1 {
		font-size: 34px !important;
	}
	.nts-home-hero__panel {
		grid-template-columns: 1fr;
	}
	body.single-product .product-info {
		padding: 20px !important;
	}
}
