/* Tech Vault Products — matches Stone India look (#943a3d) */

.tvp-main {
	--tvp-accent: #943a3d;
	--tvp-accent-hover: #7a2f32;
	--tvp-text: #1c1917;
	--tvp-muted: #5c5651;
	--tvp-bg: #f7f4f0;
	--tvp-surface: #ffffff;
	--tvp-border: #e5dfd8;
	color: var(--tvp-text);
	background: var(--tvp-bg);
}

.tvp-container {
	width: min(1240px, calc(100% - 40px));
	margin: 0 auto;
}

.tvp-hero {
	padding: 72px 0 40px;
	background: var(--tvp-bg);
	text-align: center;
	position: relative;
}

.tvp-hero-banner {
	background-color: #f3eee8;
	background-image:
		linear-gradient(180deg, rgba(247, 244, 240, 0.78), rgba(247, 244, 240, 0.88)),
		var(--tvp-banner);
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
}

.tvp-hero-compact {
	padding: 48px 0 28px;
}

.tvp-hero-inner {
	max-width: 780px;
	position: relative;
	z-index: 1;
}

.tvp-eyebrow {
	margin: 0 0 10px;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--tvp-accent);
}

.tvp-eyebrow a {
	color: inherit;
	text-decoration: none;
}

.tvp-eyebrow a:hover {
	text-decoration: underline;
}

.tvp-headline {
	margin: 0 0 16px;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: clamp(1.85rem, 3.2vw, 2.75rem);
	line-height: 1.2;
	font-weight: 700;
	color: var(--tvp-text);
}

.tvp-lead {
	margin: 0;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: 1.02rem;
	line-height: 1.65;
	color: var(--tvp-muted);
}

.tvp-lead p {
	margin: 0 0 0.75em;
}

.tvp-lead p:last-child {
	margin-bottom: 0;
}

.tvp-section {
	padding: 28px 0 80px;
}

.tvp-subhead {
	margin: 48px 0 20px;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 1.5rem;
}

.tvp-category-grid,
.tvp-product-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px 24px;
}

.tvp-category-grid-compact {
	margin-top: 8px;
}

.tvp-category-card,
.tvp-product-card {
	margin: 0;
	background: transparent;
}

.tvp-category-card-link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.tvp-category-card-media,
.tvp-product-card-media {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #ebe4dc;
	cursor: pointer;
}

.tvp-category-card-media img,
.tvp-product-card-media img,
.tvp-featured-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.tvp-category-card-link:hover .tvp-category-card-media img,
.tvp-product-card:hover .tvp-product-card-media img {
	transform: scale(1.03);
}

.tvp-category-card-placeholder,
.tvp-product-card-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #e8e0d6, #d9cfc4);
}

.tvp-category-card-title,
.tvp-product-card-title {
	margin: 12px 0 0;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: 1.05rem;
	font-weight: 500;
	line-height: 1.35;
	color: #111111;
}

.tvp-overlay .tvp-product-card-name,
.tvp-product-card-name,
.tvp-main .tvp-product-card-name,
button.tvp-product-card-name {
	display: inline !important;
	width: auto !important;
	min-height: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
	color: #111111 !important;
	font: inherit !important;
	font-size: 1.05rem !important;
	font-weight: 500 !important;
	line-height: 1.35 !important;
	letter-spacing: normal !important;
	text-transform: none !important;
	text-decoration: none !important;
	text-align: left !important;
	cursor: pointer !important;
}

.tvp-product-card-name:hover,
.tvp-product-card-name:focus,
button.tvp-product-card-name:hover,
button.tvp-product-card-name:focus {
	color: #111111 !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	outline: none !important;
	text-decoration: none !important;
}

.tvp-empty {
	text-align: center;
	color: var(--tvp-muted);
	padding: 40px 0;
}

/* Single */
.tvp-single-layout {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 40px;
	align-items: start;
	padding-top: 8px;
}

.tvp-featured {
	margin: 0;
	cursor: pointer;
	overflow: hidden;
	background: #ebe4dc;
}

.tvp-featured-img {
	aspect-ratio: 4 / 3;
}

.tvp-gallery {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin-top: 12px;
}

.tvp-gallery-item {
	display: block;
	padding: 0;
	border: 0;
	background: #ebe4dc;
	cursor: pointer;
	overflow: hidden;
}

.tvp-gallery-item img {
	display: block;
	width: 100%;
	height: 72px;
	object-fit: cover;
}

.tvp-single-title {
	text-align: left;
	font-size: clamp(1.75rem, 2.8vw, 2.4rem);
}

.tvp-content {
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: 1rem;
	line-height: 1.7;
	color: var(--tvp-muted);
	margin: 0 0 24px;
}

.tvp-content p:first-child {
	margin-top: 0;
}

.tvp-inquire-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 22px;
	border: 0;
	border-radius: 2px;
	background: var(--tvp-accent);
	color: #fff;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: 0.92rem;
	font-weight: 650;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.15s ease;
}

.tvp-inquire-btn:hover,
.tvp-inquire-btn:focus {
	background: var(--tvp-accent-hover);
	outline: none;
}

.tvp-back {
	margin: 22px 0 0;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: 0.92rem;
}

.tvp-back a {
	color: var(--tvp-muted);
	text-decoration: none;
}

.tvp-back a:hover {
	color: var(--tvp-accent);
}

.tvp-category-links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tvp-category-links li {
	margin: 0 0 6px;
}

.tvp-category-links a {
	color: inherit;
	text-decoration: none;
}

.tvp-category-links a:hover {
	color: var(--tvp-accent);
}

@media (max-width: 960px) {
	.tvp-category-grid,
	.tvp-product-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tvp-single-layout {
		grid-template-columns: 1fr;
		gap: 28px;
	}
}

@media (max-width: 560px) {
	.tvp-container {
		width: calc(100% - 28px);
	}

	.tvp-hero {
		padding: 48px 0 28px;
	}

	.tvp-category-grid,
	.tvp-product-grid {
		grid-template-columns: 1fr;
		gap: 22px;
	}

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