/**
 * Taishan Theme Main Stylesheet
 * 
 * Palette: Red (#C8102E), Charcoal (#2D2D2D), Dark (#1F1F1F), Light Gray (#F8F9FA)
 * Max Container Width: 1400px
 * Typography: Roboto
 */

/* ==========================================================================
   1. CSS Variables & Design System Tokens
   ========================================================================== */
:root {
	--ts-primary: #C8102E;
	--ts-primary-hover: #A00C24;
	--ts-primary-light: #FDE8EA;
	--ts-primary-glow: rgba(200, 16, 46, 0.25);

	--ts-dark: #2D2D2D;
	--ts-dark-deeper: #1F1F1F;
	--ts-dark-light: #3D3D3D;

	--ts-text-main: #2B2B2B;
	--ts-text-muted: #666666;
	--ts-text-light: #8C8C8C;

	--ts-bg-body: #F4F6F8;
	--ts-bg-card: #FFFFFF;
	--ts-bg-alt: #EAEFF2;

	--ts-border: #E2E6EA;
	--ts-border-light: #EEF1F4;
	--ts-border-focus: #C8102E;

	--ts-green: #28a745;
	--ts-green-bg: #E8F5E9;
	--ts-blue: #007bff;
	--ts-blue-bg: #E3F2FD;
	--ts-orange: #fd7e14;

	--ts-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
	--ts-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
	--ts-shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
	--ts-shadow-hover: 0 10px 28px rgba(200, 16, 46, 0.12);

	--ts-radius-sm: 4px;
	--ts-radius-md: 8px;
	--ts-radius-lg: 12px;
	--ts-radius-pill: 50px;

	--ts-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	--ts-container-max: 1400px;
	--ts-font-main: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ==========================================================================
   2. Reset, Base & Global Elements
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	font-size: 15px;
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	font-family: var(--ts-font-main);
	color: var(--ts-text-main);
	background-color: var(--ts-bg-body);
	line-height: 1.6;
	overflow-x: hidden;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
	transition: var(--ts-transition);
}

a:hover {
	color: var(--ts-primary);
}

ul,
ol {
	list-style: none;
}

button,
input,
textarea,
select {
	font-family: inherit;
	font-size: inherit;
	outline: none;
}

.site-container {
	width: 100%;
	max-width: var(--ts-container-max);
	margin-left: auto;
	margin-right: auto;
	padding-left: 15px;
	padding-right: 15px;
}

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

/* Common Button Styles */
.btn-red {
	background-color: var(--ts-primary);
	color: #fff !important;
	border: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-weight: 700;
	border-radius: var(--ts-radius-sm);
	padding: 10px 20px;
	cursor: pointer;
	transition: var(--ts-transition);
}

.btn-red:hover {
	background-color: var(--ts-primary-hover);
	box-shadow: 0 4px 12px var(--ts-primary-glow);
	transform: translateY(-1px);
}

.btn-outline {
	background-color: transparent;
	color: #fff !important;
	border: 2px solid #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-weight: 700;
	border-radius: var(--ts-radius-sm);
	padding: 8px 18px;
	cursor: pointer;
	transition: var(--ts-transition);
}

.btn-outline:hover {
	background-color: #fff;
	color: var(--ts-dark) !important;
	transform: translateY(-1px);
}

.btn-outline-red {
	background-color: transparent;
	color: var(--ts-primary) !important;
	border: 1px solid var(--ts-primary);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-weight: 700;
	border-radius: var(--ts-radius-sm);
	padding: 8px 20px;
	cursor: pointer;
	transition: var(--ts-transition);
}

.btn-outline-red:hover {
	background-color: var(--ts-primary);
	color: #fff !important;
	box-shadow: 0 4px 12px var(--ts-primary-glow);
}

/* ==========================================================================
   3. Header Styles (3 Rows)
   ========================================================================== */

/* Main Header */
.main-header {
	background-color: #fff;
	height: 72px;
	display: flex;
	align-items: center;
	padding: 0;
	box-shadow: var(--ts-shadow-sm);
	position: relative;
	z-index: 100;
}

.main-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 25px;
}

/* Logo Brand */
.header-logo {
	flex-shrink: 0;
	display: flex;
	align-items: center;
}

.custom-logo-link {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	transition: opacity var(--ts-transition);
}

.custom-logo-link:hover {
	opacity: 0.9;
}

.header-logo .custom-logo {
	max-width: 250px;
	height: auto;
	max-height: 48px;
	width: auto;
	object-fit: contain;
	display: block;
}

.taishan-logo-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
}

.logo-badge {
	width: 48px;
	height: 48px;
	background: linear-gradient(135deg, var(--ts-primary) 0%, #900A1F 100%);
	color: #fff;
	font-weight: 900;
	font-size: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--ts-radius-md);
	box-shadow: 0 4px 10px var(--ts-primary-glow);
	letter-spacing: 0.5px;
}

.logo-text {
	display: flex;
	flex-direction: column;
}

.logo-title {
	font-size: 22px;
	font-weight: 900;
	color: var(--ts-primary);
	letter-spacing: 0.5px;
	line-height: 1.1;
}

.logo-tagline {
	font-size: 11.5px;
	color: var(--ts-text-muted);
	font-weight: 400;
	margin-top: 2px;
}

/* Header Search Form */
.header-search {
	flex: 1;
	max-width: 540px;
}

.taishan-search-form .search-input-group {
	display: flex;
	align-items: stretch;
	border: 2px solid var(--ts-primary);
	border-radius: var(--ts-radius-sm);
	overflow: hidden;
	background: #fff;
}

.taishan-search-form .search-field {
	flex: 1;
	border: none;
	padding: 10px 16px;
	font-size: 13.5px;
	color: var(--ts-text-main);
}

.taishan-search-form .search-field::placeholder {
	color: #999;
}

.taishan-search-form .search-submit {
	border-radius: 0;
	padding: 0 20px;
	font-size: 13.5px;
	cursor: pointer;
}

/* Header Actions (Hotline + Quote) */
.header-actions {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-shrink: 0;
}

.header-hotline {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	flex-shrink: 0;
}

.header-hotline-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 2px solid var(--ts-primary);
	color: var(--ts-primary);
	flex-shrink: 0;
	transition: var(--ts-transition);
}

.header-hotline:hover .header-hotline-icon {
	background: var(--ts-primary);
	color: #fff;
}

.header-hotline-text {
	display: flex;
	flex-direction: column;
	line-height: 1.25;
}

.header-hotline-label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.5px;
	color: var(--ts-text-muted);
	text-transform: uppercase;
}

.header-hotline-number {
	font-size: 15px;
	font-weight: 900;
	color: var(--ts-primary);
	letter-spacing: 0.3px;
}

.header-social {
	display: flex;
	align-items: center;
	gap: 10px;
}

.header-social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	color: #fff;
	border: 1px solid transparent;
	transition: var(--ts-transition);
}

.header-social-link:hover,
.header-social-link:focus-visible {
	color: #fff;
	transform: translateY(-2px);
	box-shadow: var(--ts-shadow-hover);
}

.header-social-fb {
	background: #1877F2;
}

.header-social-zalo {
	background: #0068FF;
}

.header-social-email {
	background: var(--ts-primary);
}

.header-social-zalo-text {
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.2px;
}

.mobile-menu-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
	flex-direction: column;
	gap: 5px;
}

.hamburger-bar {
	width: 24px;
	height: 2.5px;
	background-color: var(--ts-dark);
	border-radius: 2px;
	transition: var(--ts-transition);
}

/* ROW 3: Navigation Bar (Hidden on Desktop per user request / Mobile Drawer active) */
.main-navigation.nav-red {
	display: none;
	/* Removed from desktop above hero section per user request */
}

/* Quick Access Bar (below header: Trang chủ, Giới thiệu, Nhóm thiết bị, Tin tức, Diễn đàn kỹ thuật) */
.quick-access-bar {
	background-color: var(--ts-primary);
	position: relative;
	z-index: 90;
}

.quick-access-inner {
	display: flex;
}

.quick-access-menu {
	display: flex;
	align-items: stretch;
	width: 100%;
}

.qa-item {
	position: relative;
	flex: 1;
}

.qa-link {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	padding: 12px 18px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.3px;
	text-transform: uppercase;
	color: #fff;
	white-space: nowrap;
	transition: var(--ts-transition);
}

.qa-item:hover>.qa-link,
.qa-link:hover {
	background-color: var(--ts-primary-hover);
	color: #fff;
}

/* Dropdown Sub-menu (Nhóm thiết bị / Tin tức / Diễn đàn kỹ thuật) */
.quick-access-submenu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 240px;
	background: #fff;
	box-shadow: var(--ts-shadow-lg);
	border-radius: 0 0 var(--ts-radius-sm) var(--ts-radius-sm);
	padding: 8px 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: var(--ts-transition);
	z-index: 91;
}

.qa-item:hover>.quick-access-submenu,
.qa-item:focus-within>.quick-access-submenu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.quick-access-submenu li {
	position: relative;
}

.quick-access-submenu li a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 8px 18px;
	font-size: 13px;
	font-weight: 500;
	text-transform: none;
	letter-spacing: normal;
	color: var(--ts-text-main);
}

.quick-access-submenu li a:hover {
	background-color: var(--ts-primary-light);
	color: var(--ts-primary);
}

/* Second-level flyout (e.g. Nhóm thiết bị's child categories) */
.quick-access-submenu li.has-children > a::after {
	content: '';
	flex: 0 0 auto;
	width: 6px;
	height: 6px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(-45deg);
	opacity: 0.6;
}

.quick-access-submenu-nested {
	position: absolute;
	top: 0;
	left: 100%;
	min-width: 220px;
	background: #fff;
	box-shadow: var(--ts-shadow-lg);
	border-radius: var(--ts-radius-sm);
	padding: 8px 0;
	opacity: 0;
	visibility: hidden;
	transform: translateX(6px);
	transition: var(--ts-transition);
	z-index: 92;
}

.quick-access-submenu li.has-children:hover > .quick-access-submenu-nested,
.quick-access-submenu li.has-children:focus-within > .quick-access-submenu-nested {
	opacity: 1;
	visibility: visible;
	transform: translateX(0);
}

.quick-access-submenu-nested li a {
	padding: 8px 16px;
}

/* Flip the nested flyout to the left when it's the rightmost quick-access
   item, so "Liên hệ"'s dropdown (and any item near the right edge) doesn't
   overflow past the viewport. */
.qa-item:last-child .quick-access-submenu-nested,
.qa-item:nth-last-child(2) .quick-access-submenu-nested {
	left: auto;
	right: 100%;
	transform: translateX(-6px);
}

.qa-item:nth-last-child(2) li.has-children:hover > .quick-access-submenu-nested,
.qa-item:nth-last-child(2) li.has-children:focus-within > .quick-access-submenu-nested,
.qa-item:last-child li.has-children:hover > .quick-access-submenu-nested,
.qa-item:last-child li.has-children:focus-within > .quick-access-submenu-nested {
	transform: translateX(0);
}

/* ==========================================================================
   4. Breadcrumb Navigation
   ========================================================================== */
.taishan-breadcrumb {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	padding: 14px 0;
	font-size: 13px;
	color: var(--ts-text-muted);
}

.taishan-breadcrumb a {
	color: var(--ts-text-muted);
}

.taishan-breadcrumb a:hover {
	color: var(--ts-primary);
}

.taishan-breadcrumb .sep {
	color: #BBB;
}

.taishan-breadcrumb .current {
	color: var(--ts-primary);
	font-weight: 600;
}

/* ==========================================================================
   5. Hero Section (Sidebar + Banner Grid Layout)
   ========================================================================== */
.section-hero-wrap {
	margin-top: 15px;
	margin-bottom: 25px;
}

.hero-grid-layout {
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: 15px;
	align-items: stretch;
}

.hero-banner-col {
	display: flex;
	flex-direction: column;
}

.hero-topics-col {
	display: flex;
	flex-direction: column;
}

/* Hero "Hot Topics" column (replaces the old equipment/support sidebar) */
.hero-topics-box {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #fff;
	border-radius: var(--ts-radius-md);
	box-shadow: var(--ts-shadow-sm);
	border: 1px solid var(--ts-border);
	overflow: hidden;
}

.hero-topics-header {
	background-color: var(--ts-dark);
	color: #fff;
	padding: 12px 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.hero-topics-title {
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	margin: 0;
	color: #fff;
}

.hero-topics-body {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.hero-topics-list {
	display: flex;
	flex-direction: column;
}

.hero-topic-item {
	border-bottom: 1px solid var(--ts-border-light);
}

.hero-topic-item:last-child {
	border-bottom: none;
}

.hero-topic-link {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 12px 16px;
	transition: var(--ts-transition);
}

.hero-topic-link:hover {
	background-color: var(--ts-bg-alt);
}

.hero-topic-title {
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--ts-text-main);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.hero-topic-link:hover .hero-topic-title {
	color: var(--ts-primary);
}

.hero-topic-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	font-size: 12px;
	color: var(--ts-text-muted);
}

.hero-topic-replies {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-weight: 600;
	color: var(--ts-text-light);
}

.hero-topics-body .ts-empty-state {
	flex: 1;
	justify-content: center;
}

.hero-topics-footer {
	margin-top: auto;
	border-top: 1px solid var(--ts-border-light);
	padding: 12px 16px;
}

.hero-topics-footer-link {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 9px 12px;
	border-radius: var(--ts-radius-sm);
	background-color: var(--ts-primary-light);
	color: var(--ts-primary);
	font-size: 13px;
	font-weight: 700;
	transition: var(--ts-transition);
}

.hero-topics-footer-link:hover {
	background-color: var(--ts-primary);
	color: #fff;
}

/* Equipment Sidebar ("Nhóm Thiết Bị") */
.equipment-sidebar {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.sidebar-category-box {
	background: #fff;
	border-radius: var(--ts-radius-md);
	box-shadow: var(--ts-shadow-sm);
	overflow: visible;
	border: 1px solid var(--ts-border);
}

.sidebar-category-header {
	background-color: var(--ts-dark);
	color: #fff;
	padding: 12px 16px;
	display: flex;
	align-items: center;
	gap: 10px;
	border-radius: var(--ts-radius-md) var(--ts-radius-md) 0 0;
}

.sidebar-category-title {
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.5px;
	margin: 0;
	color: #fff;
}

.equipment-category-list {
	padding: 6px 0;
}

.equipment-category-list>.cat-item {
	position: relative;
}

.equipment-category-list>.cat-item>.cat-link {
	display: flex;
	align-items: center;
	padding: 9.5px 14px;
	font-size: 13px;
	font-weight: 500;
	color: var(--ts-text-main);
	border-bottom: 1px solid var(--ts-border-light);
	transition: var(--ts-transition);
}

.equipment-category-list>.cat-item:last-child>.cat-link {
	border-bottom: none;
}

.cat-arrow {
	color: #BBB;
	margin-left: auto;
	flex-shrink: 0;
	transition: transform 0.2s ease, color 0.2s ease;
}

.cat-name {
	flex: 1;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.equipment-category-list>.cat-item:hover>.cat-link {
	background-color: var(--ts-primary-light);
	color: var(--ts-primary);
	font-weight: 600;
}

.equipment-category-list>.cat-item:hover>.cat-link .cat-arrow {
	transform: translateX(2px);
	color: var(--ts-primary);
}

/* Sidebar Flyout Sub-menu */
.equipment-category-list .sub-category-list {
	position: absolute;
	left: 100%;
	top: 0;
	width: 280px;
	background: #fff;
	box-shadow: var(--ts-shadow-lg);
	border-radius: var(--ts-radius-md);
	border: 1px solid var(--ts-border);
	padding: 8px 0;
	opacity: 0;
	visibility: hidden;
	transform: translateX(10px);
	transition: var(--ts-transition);
	z-index: 1001;
}

.equipment-category-list>.cat-item:hover>.sub-category-list {
	opacity: 1;
	visibility: visible;
	transform: translateX(0);
}

.sub-category-list .sub-cat-item a {
	display: block;
	padding: 8px 16px;
	font-size: 12.5px;
	color: var(--ts-text-main);
	border-bottom: 1px dashed var(--ts-border-light);
}

.sub-category-list .sub-cat-item:last-child a {
	border-bottom: none;
}

.sub-category-list .sub-cat-item a:hover {
	background-color: var(--ts-primary-light);
	color: var(--ts-primary);
	padding-left: 20px;
}

/* Sidebar Technical Support Box (Light theme — matches mockup) */
.sidebar-support-card {
	background: #F8F9FA;
	color: var(--ts-text-main);
	border-radius: var(--ts-radius-md);
	padding: 16px;
	border: 1px solid var(--ts-border);
	box-shadow: var(--ts-shadow-sm);
}

.support-card-badge {
	display: inline-block;
	background: var(--ts-primary);
	color: #fff;
	font-size: 10.5px;
	font-weight: 700;
	padding: 3px 10px;
	border-radius: 3px;
	margin-bottom: 10px;
	letter-spacing: 0.3px;
}

.support-card-title {
	font-size: 14px;
	font-weight: 700;
	color: var(--ts-text-main);
	margin-bottom: 6px;
}

.support-card-desc {
	font-size: 12px;
	color: var(--ts-text-muted);
	margin-bottom: 12px;
	line-height: 1.5;
}

.support-hotline-wrapper {
	background: #fff;
	border: 1px solid var(--ts-border-light);
	border-radius: var(--ts-radius-sm);
	padding: 10px 12px;
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-bottom: 12px;
}

.support-hotline-wrapper .hotline-text {
	font-size: 11px;
	color: var(--ts-text-muted);
}

.support-hotline-wrapper .support-phone-link {
	font-size: 20px;
	font-weight: 900;
	color: var(--ts-primary);
}

.support-hotline-wrapper .support-phone-link:hover {
	color: var(--ts-primary-hover);
}

.support-action-buttons {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.btn-support {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	font-size: 12.5px;
	font-weight: 700;
	padding: 8px 8px;
	border-radius: var(--ts-radius-sm);
	transition: var(--ts-transition);
}

.btn-call {
	background-color: var(--ts-primary);
	color: #fff;
}

.btn-call:hover {
	background-color: var(--ts-primary-hover);
	box-shadow: 0 2px 8px var(--ts-primary-glow);
}

.btn-zalo {
	background-color: var(--ts-dark);
	color: #fff;
}

.btn-zalo:hover {
	background-color: var(--ts-dark-deeper);
}

/* ==========================================================================
   6. Hero Slider Component (Multi-product Carousel)
   ========================================================================== */
.hero-slider-wrap {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.hero-slider-container {
	flex: 1;
	border-radius: var(--ts-radius-md);
	overflow: hidden;
	position: relative;
	background: #1F1F1F;
	min-height: 440px;
	box-shadow: var(--ts-shadow-md);
}

.hero-slide-item {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: flex-end;
	padding: 30px;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
	transform: scale(1.02);
	z-index: 1;
}

.hero-slide-item.active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: scale(1);
	z-index: 2;
}

.hero-slide-link {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: block;
}

.hero-slide-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	z-index: 1;
	transition: transform 6s ease;
}

.hero-slide-item.active .hero-slide-bg {
	transform: scale(1.04);
}

.hero-slide-bg-default {
	background: radial-gradient(circle at 70% 40%, #3D3D3D 0%, #1A1A1A 85%);
}

/* Floating Card Box (Matches mockup design) */
.hero-slide-content {
	position: relative;
	z-index: 3;
	max-width: 600px;
	width: 100%;
}

.hero-card-box {
	background: rgba(30, 30, 30, 0.88);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	padding: 26px 30px;
	border-radius: var(--ts-radius-md);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
	border-left: 4px solid var(--ts-primary);
}

.hero-card-tag {
	display: inline-block;
	color: #FF5A70;
	font-size: 11.5px;
	font-weight: 800;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	margin-bottom: 8px;
}

.hero-card-title {
	font-size: 22px;
	font-weight: 900;
	color: #FFFFFF;
	line-height: 1.3;
	margin-bottom: 10px;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}

.hero-card-desc {
	font-size: 13px;
	color: #D6D6D6;
	margin-bottom: 20px;
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.hero-card-actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.btn-hero {
	padding: 10px 20px;
	font-size: 13.5px;
	font-weight: 700;
	border-radius: var(--ts-radius-sm);
	cursor: pointer;
	transition: var(--ts-transition);
}

.btn-hero-red {
	background-color: var(--ts-primary);
	color: #fff !important;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.btn-hero-red:hover {
	background-color: var(--ts-primary-hover);
	box-shadow: 0 4px 14px var(--ts-primary-glow);
	transform: translateY(-2px);
}

.btn-hero-outline {
	background-color: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.5);
	color: #fff !important;
	display: inline-flex;
	align-items: center;
}

.btn-hero-outline:hover {
	background-color: #fff;
	color: var(--ts-dark) !important;
	border-color: #fff;
	transform: translateY(-2px);
}

/* Carousel Prev/Next Arrow Buttons */
.hero-arrow-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.4);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 10;
	transition: var(--ts-transition);
	opacity: 0;
	visibility: hidden;
}

.hero-slider-container:hover .hero-arrow-btn {
	opacity: 1;
	visibility: visible;
}

.hero-arrow-prev {
	left: 15px;
}

.hero-arrow-next {
	right: 15px;
}

.hero-arrow-btn:hover {
	background: var(--ts-primary);
	border-color: var(--ts-primary);
	transform: translateY(-50%) scale(1.1);
}

/* Carousel Dots Indicator */
.hero-dots-indicator {
	position: absolute;
	bottom: 15px;
	right: 25px;
	display: flex;
	align-items: center;
	gap: 6px;
	z-index: 10;
	background: rgba(0, 0, 0, 0.4);
	padding: 5px 10px;
	border-radius: var(--ts-radius-pill);
	backdrop-filter: blur(4px);
}

.hero-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.4);
	border: none;
	padding: 0;
	cursor: pointer;
	transition: var(--ts-transition);
}

.hero-dot:hover {
	background: #fff;
}

.hero-dot.active {
	background: var(--ts-primary);
	width: 22px;
	border-radius: 4px;
}

/* Hero Highlights Bar */
.hero-highlights-bar {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 15px;
	margin-top: 15px;
}

.highlight-item {
	background: #fff;
	border-radius: var(--ts-radius-md);
	padding: 12px 16px;
	display: flex;
	align-items: center;
	gap: 12px;
	box-shadow: var(--ts-shadow-sm);
	border: 1px solid var(--ts-border);
}

.highlight-icon {
	font-size: 22px;
}

.highlight-text {
	display: flex;
	flex-direction: column;
}

.highlight-text strong {
	font-size: 13px;
	color: var(--ts-text-main);
}

.highlight-text span {
	font-size: 11.5px;
	color: var(--ts-text-muted);
}

/* ==========================================================================
   6. Brands Carousel Section
   ========================================================================== */
.section-brands-wrap {
	margin-bottom: 30px;
}

.brands-carousel-section {
	background: #fff;
	border-radius: var(--ts-radius-md);
	padding: 20px;
	box-shadow: var(--ts-shadow-sm);
	border: 1px solid var(--ts-border);
}

.brands-section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--ts-border-light);
}

.brands-section-title {
	font-size: 16px;
	font-weight: 700;
	color: var(--ts-dark);
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
}

.brands-section-title .title-bar {
	width: 4px;
	height: 18px;
	background-color: var(--ts-primary);
	border-radius: 2px;
}

.brands-section-sub {
	font-size: 12.5px;
	color: var(--ts-text-muted);
}

.brands-grid-wrap {
	display: grid;
	grid-template-columns: repeat(8, 1fr);
	gap: 12px;
}

.brand-item-card {
	background: var(--ts-bg-body);
	border-radius: var(--ts-radius-sm);
	padding: 12px 8px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--ts-border);
	transition: var(--ts-transition);
	aspect-ratio: 2 / 1;
}

.brand-item-card--logo {
	padding: 10px;
	background: #fff;
}

.brand-item-card:hover {
	background: #fff;
	border-color: var(--ts-primary);
	box-shadow: var(--ts-shadow-md);
	transform: translateY(-3px);
}

.brand-text-logo {
	font-weight: 900;
	font-size: 14px;
	letter-spacing: 0.5px;
	color: var(--ts-dark);
}

.brand-logo-box {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.brand-logo-img {
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.brand-origin-badge {
	font-size: 10px;
	color: var(--ts-text-light);
	margin-top: 2px;
}

/* ==========================================================================
   7. Product Category Blocks & Equipment Cards
   ========================================================================== */
.section-products-catalog {
	margin-bottom: 30px;
}

.product-category-section-block {
	background: #fff;
	border-radius: var(--ts-radius-md);
	padding: 20px;
	box-shadow: var(--ts-shadow-sm);
	border: 1px solid var(--ts-border);
	margin-bottom: 25px;
}

.category-section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 18px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--ts-primary);
}

.category-section-header .header-left {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 1 1 auto;
	min-width: 0;
}

.header-accent-bar {
	width: 4px;
	height: 20px;
	background-color: var(--ts-primary);
	border-radius: 2px;
	flex-shrink: 0;
}

.header-cat-icon {
	font-size: 18px;
	flex-shrink: 0;
}

.header-cat-title {
	font-size: 16px;
	font-weight: 800;
	color: var(--ts-dark);
	margin: 0;
	text-transform: uppercase;
	min-width: 0;
	overflow: hidden;
}

.header-cat-title a {
	display: block;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.header-right {
	flex-shrink: 0;
}

.btn-cat-view-all {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 13px;
	font-weight: 600;
	color: var(--ts-primary);
	white-space: nowrap;
}

.btn-cat-view-all:hover {
	color: var(--ts-primary-hover);
	transform: translateX(2px);
}

/* 4-Column Product Grid */
.products-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}

/* Single Equipment Product Card */
.product-card-item {
	background: #fff;
	border-radius: var(--ts-radius-md);
	border: 1px solid var(--ts-border);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: var(--ts-transition);
}

.product-card-item:hover {
	border-color: var(--ts-primary);
	box-shadow: var(--ts-shadow-hover);
	transform: translateY(-4px);
}

.product-card-thumb {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	background: #F9FAFB;
	overflow: hidden;
}

.product-card-thumb .thumb-link {
	display: block;
	width: 100%;
	height: 100%;
}

.product-card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.product-card-item:hover .product-card-thumb img {
	transform: scale(1.06);
}

.no-thumb-placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 15px;
	text-align: center;
	color: var(--ts-text-light);
	font-size: 12px;
}

.product-badge-model {
	position: absolute;
	top: 8px;
	left: 8px;
	max-width: calc(50% - 16px);
	background: var(--ts-primary);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	padding: 3px 8px;
	border-radius: 3px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.product-thumb-status {
	position: absolute;
	top: 8px;
	right: 8px;
	max-width: calc(50% - 16px);
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 4px;
}

.product-badge-origin {
	background: rgba(0, 0, 0, 0.65);
	color: #fff;
	font-size: 10.5px;
	padding: 2px 6px;
	border-radius: 3px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 100%;
}

.product-card-info {
	padding: 14px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.product-title {
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.4;
	margin-bottom: 4px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 38px;
}

.product-title a {
	color: var(--ts-text-main);
}

.product-title a:hover {
	color: var(--ts-primary);
}

.product-brand {
	font-size: 11.5px;
	font-style: italic;
	color: var(--ts-text-light);
	margin-bottom: 8px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.product-price-row {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 12px;
	margin-top: auto;
	min-width: 0;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.product-price {
	font-size: 15px;
	font-weight: 900;
	color: var(--ts-primary);
}

.product-original-price {
	font-size: 11.5px;
	color: var(--ts-text-light);
	margin-left: 6px;
}

.ts-stock-badge {
	font-size: 11px;
	font-weight: 600;
	padding: 2px 6px;
	border-radius: 3px;
}

.product-thumb-status .ts-stock-badge {
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.ts-stock-available {
	background: var(--ts-green-bg);
	color: var(--ts-green);
}

.ts-stock-order {
	background: var(--ts-blue-bg);
	color: var(--ts-blue);
}

.ts-stock-contact {
	background: #ECEFF1;
	color: #607D8B;
}

/* ==========================================================================
   8. SEO Expandable Content Block
   ========================================================================== */
.section-seo-wrap {
	margin-bottom: 30px;
}

.seo-rich-block {
	background: #fff;
	border-radius: var(--ts-radius-md);
	padding: 24px;
	box-shadow: var(--ts-shadow-sm);
	border: 1px solid var(--ts-border);
}

.seo-block-header {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 14px;
}

.seo-block-title {
	font-size: 16px;
	font-weight: 800;
	color: var(--ts-dark);
	margin: 0;
}

.seo-block-content {
	font-size: 13.5px;
	color: var(--ts-text-muted);
	line-height: 1.7;
	position: relative;
	transition: max-height 0.4s ease;
}

.seo-block-content.collapsed {
	max-height: 140px;
	overflow: hidden;
}

.seo-block-content.collapsed::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 60px;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
	pointer-events: none;
}

.seo-block-content h4 {
	font-size: 14px;
	font-weight: 700;
	color: var(--ts-dark);
	margin: 14px 0 6px 0;
}

.seo-block-content ul {
	margin-left: 20px;
	list-style: disc;
	margin-bottom: 10px;
}

.seo-block-content li {
	margin-bottom: 4px;
}

.seo-toggle-action {
	text-align: center;
	margin-top: 14px;
	position: relative;
	z-index: 5;
}

.btn-seo-toggle {
	background: var(--ts-bg-body);
	border: 1px solid var(--ts-border);
	padding: 6px 18px;
	border-radius: var(--ts-radius-pill);
	font-size: 12.5px;
	font-weight: 600;
	color: var(--ts-primary);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	transition: var(--ts-transition);
}

.btn-seo-toggle:hover {
	background: var(--ts-primary-light);
	border-color: var(--ts-primary);
}

.btn-seo-toggle .toggle-icon {
	transition: transform 0.3s ease;
}

.btn-seo-toggle.active .toggle-icon {
	transform: rotate(180deg);
}

/* ==========================================================================
   9. Quote Request & Consultation Form
   ========================================================================== */
.section-quote-wrap {
	margin-bottom: 40px;
}

.quote-request-card {
	background: #ffffff;
	color: var(--ts-text-main);
	border-radius: var(--ts-radius-lg);
	padding: 30px;
	box-shadow: var(--ts-shadow-md);
	border: 1px solid var(--ts-border);
}

.quote-card-header {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 24px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--ts-border-light);
}

.header-icon-wrap {
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: rgba(200, 16, 46, 0.1);
	border: 1px solid var(--ts-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.quote-card-title {
	font-size: 20px;
	font-weight: 900;
	color: var(--ts-text-main);
	margin-bottom: 4px;
	letter-spacing: 0.3px;
}

.quote-card-subtitle {
	font-size: 13px;
	color: var(--ts-text-muted);
}

.quote-form-grid {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.form-row-2col {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.form-group {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.form-group label {
	font-size: 12.5px;
	font-weight: 600;
	color: var(--ts-text-main);
}

.form-group label .required {
	color: var(--ts-primary);
}

.form-control {
	width: 100%;
	padding: 10px 14px;
	font-size: 13.5px;
	border-radius: var(--ts-radius-sm);
	border: 1px solid var(--ts-border);
	background: #ffffff;
	color: var(--ts-text-main);
	transition: var(--ts-transition);
}

.form-control:focus {
	border-color: var(--ts-primary);
	background: #ffffff;
	box-shadow: 0 0 0 3px var(--ts-primary-glow);
}

.form-control::placeholder {
	color: var(--ts-text-light);
}

/* Product Search Combobox ("Thiết bị quan tâm") */
.product-search-control {
	position: relative;
}

.product-search-input {
	padding-right: 38px;
}

.product-search-field.is-locked .product-search-input,
.product-search-input[readonly] {
	background: var(--ts-bg-light, #F8F9FA);
	color: var(--ts-text-muted);
	cursor: not-allowed;
}

.product-search-clear {
	position: absolute;
	top: 50%;
	right: 6px;
	transform: translateY(-50%);
	width: 28px;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: none;
	background: transparent;
	color: var(--ts-text-muted);
	font-size: 18px;
	line-height: 1;
	border-radius: 50%;
	cursor: pointer;
	transition: var(--ts-transition);
}

.product-search-clear:hover {
	background: var(--ts-primary-light);
	color: var(--ts-primary);
}

.product-search-clear[hidden] {
	display: none;
}

.product-search-results {
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	right: 0;
	z-index: 20;
	max-height: 220px;
	overflow-y: auto;
	margin: 0;
	padding: 6px 0;
	list-style: none;
	background: #ffffff;
	border: 1px solid var(--ts-border);
	border-radius: var(--ts-radius-sm);
	box-shadow: var(--ts-shadow-md);
}

.product-search-results[hidden] {
	display: none;
}

.product-search-results li[role="option"] {
	padding: 9px 14px;
	font-size: 13.5px;
	color: var(--ts-text-main);
	cursor: pointer;
	transition: var(--ts-transition);
}

.product-search-results li[role="option"]:hover,
.product-search-results li[role="option"].is-active {
	background: var(--ts-primary-light);
	color: var(--ts-primary);
}

.product-search-results .product-search-empty,
.product-search-results .product-search-loading {
	padding: 9px 14px;
	font-size: 13px;
	font-style: italic;
	color: var(--ts-text-light);
	cursor: default;
}

.product-search-hint {
	font-size: 12px;
	color: var(--ts-primary);
	margin: 0;
}

.product-search-hint[hidden] {
	display: none;
}

.form-submit-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 10px;
}

.btn-quote-submit {
	padding: 12px 28px;
	font-size: 14px;
	letter-spacing: 0.5px;
	box-shadow: 0 4px 14px var(--ts-primary-glow);
}

.quote-hotline-fast {
	font-size: 13px;
	color: var(--ts-text-muted);
	display: flex;
	align-items: center;
	gap: 6px;
}

.quote-hotline-fast .phone-link {
	font-size: 16px;
	font-weight: 900;
	color: var(--ts-primary);
}

.quote-form-alert {
	margin-top: 12px;
	padding: 12px 16px;
	border-radius: var(--ts-radius-sm);
	font-size: 13.5px;
	font-weight: 500;
}

.quote-form-alert.alert-success {
	background: var(--ts-green-bg);
	border: 1px solid var(--ts-green);
	color: #1e7e34;
}

.quote-form-alert.alert-error {
	background: var(--ts-primary-light);
	border: 1px solid var(--ts-primary);
	color: var(--ts-primary);
}

/* ==========================================================================
   10. Single Equipment Product Page
   ========================================================================== */
.single-equipment-main {
	margin-bottom: 40px;
}

.equipment-showcase-top {
	display: grid;
	grid-template-columns: 460px 1fr;
	gap: 30px;
	background: #fff;
	border-radius: var(--ts-radius-lg);
	padding: 30px;
	box-shadow: var(--ts-shadow-sm);
	border: 1px solid var(--ts-border);
	margin-bottom: 25px;
}

.equipment-main-image-wrap {
	position: relative;
	border-radius: var(--ts-radius-md);
	overflow: hidden;
	border: 1px solid var(--ts-border);
	background: #F9FAFB;
	aspect-ratio: 1 / 1;
}

.equipment-featured-img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.equipment-summary-col {
	display: flex;
	flex-direction: column;
}

.equipment-title {
	font-size: 24px;
	font-weight: 900;
	color: var(--ts-dark);
	line-height: 1.3;
	margin-bottom: 14px;
}

.equipment-meta-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	background: var(--ts-bg-body);
	border-radius: var(--ts-radius-sm);
	padding: 14px;
	margin-bottom: 16px;
	border: 1px solid var(--ts-border);
}

.meta-row {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
}

.meta-label {
	color: var(--ts-text-muted);
}

.meta-value {
	color: var(--ts-dark);
	font-weight: 600;
}

.model-highlight {
	color: var(--ts-primary);
	font-size: 14px;
}

.equipment-pricing-box {
	display: flex;
	align-items: baseline;
	gap: 12px;
	background: var(--ts-primary-light);
	border-left: 4px solid var(--ts-primary);
	padding: 12px 18px;
	border-radius: 0 var(--ts-radius-sm) var(--ts-radius-sm) 0;
	margin-bottom: 16px;
}

.price-label {
	font-size: 13.5px;
	font-weight: 600;
	color: var(--ts-dark);
}

.price-current {
	font-size: 24px;
	font-weight: 900;
	color: var(--ts-primary);
}

.price-original {
	font-size: 14px;
	color: var(--ts-text-light);
}

.equipment-short-specs {
	margin-bottom: 20px;
	font-size: 13.5px;
	line-height: 1.6;
}

.specs-heading {
	font-size: 14px;
	font-weight: 700;
	margin-bottom: 6px;
	color: var(--ts-dark);
}

.equipment-cta-group {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 20px;
}

.btn-quote-now {
	padding: 12px 24px;
	font-size: 14px;
	box-shadow: 0 4px 12px var(--ts-primary-glow);
}

.btn-call-hotline {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--ts-dark);
	color: #fff !important;
	padding: 12px 20px;
	border-radius: var(--ts-radius-sm);
	font-weight: 700;
	font-size: 14px;
	transition: var(--ts-transition);
}

.btn-call-hotline:hover {
	background: #111;
}

.btn-zalo-chat {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #0068FF;
	color: #fff !important;
	padding: 12px 18px;
	border-radius: var(--ts-radius-sm);
	font-weight: 700;
	font-size: 14px;
}

.equipment-commitments {
	display: flex;
	flex-direction: column;
	gap: 6px;
	border-top: 1px solid var(--ts-border);
	padding-top: 14px;
	margin-top: auto;
}

.commit-item {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12.5px;
	color: var(--ts-text-muted);
}

.commit-icon {
	color: var(--ts-green);
	font-weight: 900;
}

/* Equipment Details Tabs */
.equipment-details-section {
	background: #fff;
	border-radius: var(--ts-radius-lg);
	padding: 26px;
	box-shadow: var(--ts-shadow-sm);
	border: 1px solid var(--ts-border);
	margin-bottom: 25px;
}

.details-tab-header {
	border-bottom: 2px solid var(--ts-primary);
	margin-bottom: 20px;
	padding-bottom: 10px;
}

.tab-title {
	font-size: 16px;
	font-weight: 800;
	color: var(--ts-primary);
	margin: 0;
}

.details-tab-body {
	font-size: 14.5px;
	line-height: 1.8;
	color: var(--ts-text-main);
}

.details-tab-body h2,
.details-tab-body h3 {
	margin: 18px 0 10px 0;
	color: var(--ts-dark);
}

.details-tab-body table {
	width: 100%;
	border-collapse: collapse;
	margin: 18px 0;
}

.details-tab-body th,
.details-tab-body td {
	border: 1px solid var(--ts-border);
	padding: 10px 14px;
	font-size: 13.5px;
}

.details-tab-body th {
	background-color: var(--ts-bg-body);
	font-weight: 700;
}

/* Related Section */
.equipment-related-section {
	background: #fff;
	border-radius: var(--ts-radius-lg);
	padding: 26px;
	box-shadow: var(--ts-shadow-sm);
	border: 1px solid var(--ts-border);
	margin-bottom: 25px;
}

.related-header {
	border-bottom: 2px solid var(--ts-primary);
	margin-bottom: 20px;
	padding-bottom: 10px;
}

.related-title {
	font-size: 16px;
	font-weight: 800;
	color: var(--ts-dark);
	margin: 0;
}

/* ==========================================================================
   11. Post Layout & Standard Blog Archive
   ========================================================================== */
.post-layout-grid {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 25px;
	margin-bottom: 35px;
}

.single-article,
.page-article-box {
	background: #fff;
	border-radius: var(--ts-radius-lg);
	padding: 30px;
	box-shadow: var(--ts-shadow-sm);
	border: 1px solid var(--ts-border);
}

.single-page-main {
	padding-bottom: 60px;
}

.page-header {
	margin-bottom: 20px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--ts-border-light);
}

.page-title {
	font-size: 26px;
	font-weight: 900;
	color: var(--ts-dark);
	line-height: 1.3;
}

.page-hero-banner {
	position: relative;
	width: 100%;
	height: 320px;
	overflow: hidden;
}

.page-hero-banner-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.page-hero-banner-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: flex-end;
	background: linear-gradient(180deg, rgba(31, 31, 31, 0) 0%, rgba(31, 31, 31, 0.75) 100%);
	padding-bottom: 32px;
}

.page-hero-banner-title {
	color: #fff;
	font-size: 32px;
	font-weight: 900;
	line-height: 1.3;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

@media (max-width: 768px) {
	.page-hero-banner {
		height: 200px;
	}

	.page-hero-banner-title {
		font-size: 22px;
	}
}

.entry-header {
	margin-bottom: 20px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--ts-border-light);
}

.entry-title {
	font-size: 26px;
	font-weight: 900;
	color: var(--ts-dark);
	line-height: 1.3;
	margin-bottom: 10px;
}

.entry-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
	font-size: 12.5px;
	color: var(--ts-text-light);
}

.meta-item {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.post-featured-media {
	margin-bottom: 24px;
	border-radius: var(--ts-radius-md);
	overflow: hidden;
}

.entry-content {
	font-size: 15px;
	line-height: 1.8;
	color: #333;
}

.entry-content p {
	margin-bottom: 16px;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	color: var(--ts-dark);
	margin: 24px 0 12px 0;
}

.post-share-bar {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 24px;
	padding-top: 16px;
	border-top: 1px solid var(--ts-border-light);
}

.share-title {
	font-size: 13px;
	font-weight: 700;
	color: var(--ts-dark);
}

.btn-share {
	padding: 4px 12px;
	border-radius: var(--ts-radius-sm);
	font-size: 12px;
	font-weight: 700;
	color: #fff;
}

.share-fb {
	background: #1877F2;
}

.share-zalo {
	background: #0068FF;
}

.sidebar-widget {
	background: var(--ts-bg-card);
	border-radius: var(--ts-radius-lg);
	padding: 20px;
	box-shadow: var(--ts-shadow-sm);
	border: 1px solid var(--ts-border);
	margin-bottom: 20px;
}

.widget-title {
	font-size: 16px;
	font-weight: 900;
	color: var(--ts-primary);
	text-transform: uppercase;
	letter-spacing: 0.3px;
	margin-bottom: 6px;
}

.recent-posts-list {
	display: flex;
	flex-direction: column;
}

.recent-post-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 0;
	border-bottom: 1px solid var(--ts-border-light);
}

.recent-post-item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.recent-post-item:first-child {
	padding-top: 0;
}

.recent-thumb {
	display: block;
	width: 72px;
	height: 72px;
	border-radius: var(--ts-radius-sm);
	overflow: hidden;
	flex-shrink: 0;
}

.recent-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.recent-thumb-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background: var(--ts-bg-alt);
	color: var(--ts-text-light);
}

.recent-info {
	flex: 1;
	min-width: 0;
}

.recent-title {
	font-size: 14.5px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--ts-dark);
}

.recent-title a {
	color: inherit;
}

.recent-title a:hover {
	color: var(--ts-primary);
}

/* ==========================================================================
   12. Archive 2-Column Layout
   ========================================================================== */
.archive-grid-layout {
	display: grid;
	grid-template-columns: 270px 1fr;
	gap: 20px;
	margin-bottom: 35px;
}

.archive-header-box {
	background: #fff;
	border-radius: var(--ts-radius-md);
	padding: 20px;
	border: 1px solid var(--ts-border);
	margin-bottom: 20px;
}

.archive-title {
	font-size: 20px;
	font-weight: 900;
	color: var(--ts-dark);
	margin-bottom: 6px;
}

.archive-description {
	font-size: 13.5px;
	color: var(--ts-text-muted);
	margin-bottom: 12px;
}

.archive-meta-bar {
	font-size: 12.5px;
	color: var(--ts-primary);
	font-weight: 700;
}

.taishan-pagination {
	margin-top: 25px;
	text-align: center;
}

.taishan-pagination .nav-links {
	display: inline-flex;
	gap: 6px;
}

.taishan-pagination .page-numbers {
	padding: 8px 14px;
	background: #fff;
	border: 1px solid var(--ts-border);
	border-radius: var(--ts-radius-sm);
	font-size: 13px;
	font-weight: 600;
	color: var(--ts-text-main);
	transition: var(--ts-transition);
}

.taishan-pagination .page-numbers.current,
.taishan-pagination .page-numbers:hover {
	background: var(--ts-primary);
	color: #fff;
	border-color: var(--ts-primary);
}

/* ==========================================================================
   13b. News Listing Page (Tin Tức)
   ========================================================================== */
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.news-page-featured {
	display: flex;
	gap: 24px;
	background: #fff;
	border: 1px solid var(--ts-border);
	border-radius: var(--ts-radius-lg);
	box-shadow: var(--ts-shadow-sm);
	overflow: hidden;
	margin-bottom: 25px;
}

.featured-page-thumb {
	flex: 0 0 42%;
	max-width: 42%;
	aspect-ratio: 16 / 10;
	background: #EAEAEA;
}

.featured-page-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.news-no-thumb-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 15px;
	text-align: center;
	color: var(--ts-text-light);
	font-size: 13px;
	font-weight: 600;
}

.featured-page-info {
	flex: 1;
	min-width: 0;
	padding: 24px 24px 24px 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.featured-eyebrow {
	display: inline-block;
	font-size: 12px;
	font-weight: 800;
	color: var(--ts-primary);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 8px;
}

.featured-page-title {
	font-size: 22px;
	font-weight: 900;
	line-height: 1.35;
	color: var(--ts-dark);
	margin-bottom: 10px;
}

.featured-page-title a {
	color: inherit;
}

.featured-page-title a:hover {
	color: var(--ts-primary);
}

.featured-page-excerpt {
	font-size: 14px;
	line-height: 1.6;
	color: var(--ts-text-muted);
	margin-bottom: 12px;
}

.featured-page-meta {
	font-size: 12.5px;
	color: var(--ts-text-light);
}

.featured-page-meta .sep-dot {
	margin: 0 6px;
}

.news-cards-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.news-card-item {
	display: flex;
	gap: 14px;
	background: #fff;
	border: 1px solid var(--ts-border);
	border-radius: var(--ts-radius-md);
	padding: 14px;
	box-shadow: var(--ts-shadow-sm);
	transition: var(--ts-transition);
}

.news-card-item:hover {
	box-shadow: var(--ts-shadow-hover);
	border-color: var(--ts-primary);
}

.news-card-thumb {
	flex: 0 0 90px;
	width: 90px;
	height: 90px;
	border-radius: var(--ts-radius-sm);
	overflow: hidden;
	background: #EEE;
	display: flex;
	align-items: center;
	justify-content: center;
}

.news-card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.news-card-no-thumb {
	font-size: 24px;
}

.news-card-info {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.news-card-meta {
	font-size: 12px;
	color: var(--ts-text-light);
	margin-bottom: 6px;
}

.news-card-meta .sep-dot {
	margin: 0 5px;
}

.news-card-title {
	font-size: 14.5px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--ts-dark);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.news-card-title a {
	color: inherit;
}

.news-card-title a:hover {
	color: var(--ts-primary);
}

/* News sidebar category list — same visual language as the equipment
   sidebar box, but flat (no flyout submenu) since post categories here
   aren't presented hierarchically. */
.news-category-list {
	padding: 6px 0;
}

.news-category-list>.cat-item>.cat-link {
	display: flex;
	align-items: center;
	padding: 9.5px 14px;
	font-size: 13px;
	font-weight: 500;
	color: var(--ts-text-main);
	border-bottom: 1px solid var(--ts-border-light);
	transition: var(--ts-transition);
}

.news-category-list>.cat-item:last-child>.cat-link {
	border-bottom: none;
}

.news-category-list>.cat-item:hover>.cat-link {
	background-color: var(--ts-primary-light);
	color: var(--ts-primary);
	font-weight: 600;
}

.news-category-list>.cat-item:hover>.cat-link .cat-arrow {
	transform: translateX(2px);
	color: var(--ts-primary);
}

/* ==========================================================================
   13. Footer (3 Sections)
   ========================================================================== */

/* SECTION 1: Trust Badges Bar */
.footer-trust-badges {
	background-color: var(--ts-primary);
	color: #fff;
	padding: 24px 0;
}

.trust-badges-inner {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.trust-badge-item {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 0 10px;
	border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-badge-item:last-child {
	border-right: none;
}

.trust-badge-icon {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.15);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.trust-badge-title {
	font-size: 16px;
	font-weight: 800;
	margin-bottom: 2px;
	letter-spacing: 0.3px;
	color: #fff;
}

.trust-badge-desc {
	font-size: 12.5px;
	color: rgba(255, 255, 255, 0.85);
	line-height: 1.4;
}

/* SECTION 2: Main Footer 4 Columns */
.footer-main {
	background-color: var(--ts-dark);
	color: #D6D6D6;
	padding: 45px 0 35px 0;
	font-size: 13.5px;
}

.footer-main-inner {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
	gap: 30px;
}

.footer-widget-title {
	font-size: 15px;
	font-weight: 800;
	color: #fff;
	margin-bottom: 16px;
	position: relative;
	padding-bottom: 8px;
	letter-spacing: 0.5px;
}

.footer-widget-title::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 35px;
	height: 2.5px;
	background: var(--ts-primary);
}

/* Footer Logo Column */
.footer-col-logo {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.footer-col-logo .custom-logo-link {
	display: inline-block;
	margin-bottom: 12px;
}

.footer-col-logo .custom-logo {
	max-width: 220px;
	height: auto;
	max-height: 48px;
	width: auto;
	object-fit: contain;
	display: block;
}

.footer-col-logo .taishan-logo-brand {
	color: #fff;
}

.footer-col-logo .logo-tagline {
	color: #BBB;
}

/* Footer Contact Column */
.contact-info-list p {
	margin-bottom: 6px;
	font-size: 13px;
	color: #CCC;
	line-height: 1.5;
}

.contact-company-name {
	color: #fff;
	font-size: 14px;
	margin-bottom: 10px;
}

.company-desc {
	font-size: 13px;
	color: #BBB;
	margin-bottom: 16px;
	line-height: 1.6;
}

.footer-contact-list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 10px;
	color: #CCC;
	font-size: 13px;
}

.footer-contact-list li svg {
	flex-shrink: 0;
	margin-top: 3px;
	color: var(--ts-primary);
}

.footer-link-highlight {
	color: #FFD700 !important;
	font-weight: 700;
}

.footer-links-list li {
	margin-bottom: 8px;
}

.footer-links-list a {
	color: #CCC;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.footer-links-list a::before {
	content: '›';
	color: var(--ts-primary);
	font-size: 16px;
	line-height: 1;
}

.footer-links-list a:hover {
	color: #fff;
	padding-left: 5px;
}

.stats-box {
	background: rgba(255, 255, 255, 0.05);
	border-radius: var(--ts-radius-sm);
	padding: 12px 14px;
	margin-bottom: 16px;
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 4px 0;
	border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.stat-row:last-child {
	border-bottom: none;
}

.stat-label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12.5px;
	color: #AAA;
}

.stat-online {
	color: #28a745;
	font-weight: 700;
}

.stat-total {
	color: #FFD700;
	font-weight: 800;
}

.working-hours-box {
	font-size: 12.5px;
	color: #AAA;
}

.working-hours-title {
	color: #fff;
	font-weight: 700;
	margin-bottom: 4px;
}

/* SECTION 3: Copyright Bar */
.footer-copyright {
	background-color: var(--ts-dark-deeper);
	color: #888;
	font-size: 12.5px;
	padding: 16px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.copyright-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

/* ==========================================================================
   14. Floating Contact Quick Bar (Right Edge)
   ========================================================================== */
.floating-contact-sidebar {
	position: fixed;
	right: 18px;
	bottom: 60px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	z-index: 9999;
}

.floating-btn {
	position: relative;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
	cursor: pointer;
	border: none;
	transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-btn:hover {
	transform: scale(1.12);
	color: #fff;
}

.floating-btn.btn-call {
	background: #C8102E;
}

.floating-icon-pulse {
	position: absolute;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background: rgba(200, 16, 46, 0.6);
	animation: pulse-ring 1.8s infinite;
	z-index: 1;
}

@keyframes pulse-ring {
	0% {
		transform: scale(0.95);
		opacity: 0.8;
	}

	100% {
		transform: scale(1.6);
		opacity: 0;
	}
}

.floating-icon {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
}

.floating-btn.btn-zalo {
	background: #0068FF;
}

.floating-btn.btn-messenger {
	background: #0084FF;
}

.floating-btn.btn-chat {
	background: #00C48C;
}

.floating-btn.btn-back-to-top {
	background: var(--ts-dark);
}

/* ==========================================================================
   15b. Live Chat Popup
   ========================================================================== */
.chat-popup {
	position: fixed;
	right: 20px;
	bottom: 90px;
	width: 340px;
	max-width: calc(100vw - 40px);
	z-index: 10000;
	opacity: 0;
	visibility: hidden;
	transform: translateY(16px) scale(0.98);
	transition: var(--ts-transition);
}

.chat-popup.is-open {
	opacity: 1;
	visibility: visible;
	transform: translateY(0) scale(1);
}

.chat-popup-header {
	position: relative;
	background: var(--ts-primary);
	border-radius: var(--ts-radius-lg) var(--ts-radius-lg) 0 0;
	padding: 24px 24px 44px;
	color: #fff;
}

.chat-popup-close {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 28px;
	height: 28px;
	border: none;
	background: transparent;
	color: #fff;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0.85;
	transition: var(--ts-transition);
}

.chat-popup-close:hover {
	opacity: 1;
}

.chat-popup-title {
	font-size: 18px;
	font-weight: 900;
	line-height: 1.35;
	margin-bottom: 6px;
	padding-right: 32px;
	color: #fff;
}

.chat-popup-subtitle {
	font-size: 13px;
	font-weight: 400;
	opacity: 0.92;
	padding-right: 32px;
}

.chat-popup-body {
	background: #fff;
	border-radius: var(--ts-radius-lg);
	margin: -24px 8px 0;
	padding: 20px;
	box-shadow: var(--ts-shadow-lg);
	position: relative;
}

.chat-form {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.chat-form textarea.form-control {
	resize: vertical;
	min-height: 90px;
}

.btn-chat-submit {
	width: 100%;
	padding: 12px 20px;
	font-size: 14px;
	letter-spacing: 0.3px;
	box-shadow: 0 4px 14px var(--ts-primary-glow);
}

.floating-tooltip {
	position: absolute;
	right: 58px;
	background: var(--ts-dark);
	color: #fff;
	font-size: 11.5px;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 4px;
	white-space: nowrap;
	opacity: 0;
	visibility: hidden;
	transition: var(--ts-transition);
	pointer-events: none;
}

.floating-btn:hover .floating-tooltip {
	opacity: 1;
	visibility: visible;
	transform: translateX(-4px);
}

/* ==========================================================================
   15. Post Comments Section
   ========================================================================== */
.comments-area {
	margin-top: 32px;
	padding-top: 24px;
	border-top: 1px solid var(--ts-border);
}

.comments-title {
	font-size: 18px;
	font-weight: 900;
	color: var(--ts-dark);
	margin-bottom: 20px;
}

.no-comments {
	font-size: 13.5px;
	color: var(--ts-text-muted);
	padding: 14px 16px;
	background: var(--ts-bg-alt);
	border-radius: var(--ts-radius-sm);
}

/* Comment List */
.comment-list,
.comment-list .children {
	list-style: none;
	margin: 0;
	padding: 0;
}

.comment-list > li {
	margin-bottom: 16px;
}

.comment-list .children > li {
	margin-top: 16px;
	margin-bottom: 0;
}

.comment-list .children {
	margin-left: 28px;
	padding-left: 20px;
	border-left: 2px solid var(--ts-border-light);
}

.comment-body {
	display: flex;
	gap: 14px;
	padding: 16px;
	background: var(--ts-bg-card);
	border: 1px solid var(--ts-border);
	border-radius: var(--ts-radius-md);
	box-shadow: var(--ts-shadow-sm);
}

.comment-avatar {
	flex-shrink: 0;
}

.comment-avatar .avatar-img {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	display: block;
	border: 1px solid var(--ts-border);
}

.comment-content-wrap {
	flex: 1;
	min-width: 0;
}

.comment-meta-row {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 6px;
}

.comment-author {
	font-size: 14px;
	font-weight: 700;
	color: var(--ts-dark);
}

.comment-date {
	font-size: 12px;
	color: var(--ts-text-light);
}

.comment-awaiting-moderation {
	font-size: 12.5px;
	font-style: italic;
	color: var(--ts-orange);
	margin-bottom: 8px;
}

.comment-text {
	font-size: 14px;
	line-height: 1.7;
	color: var(--ts-text-main);
}

.comment-text p {
	margin-bottom: 10px;
}

.comment-text p:last-child {
	margin-bottom: 0;
}

.comment-actions-row {
	display: flex;
	gap: 16px;
	margin-top: 10px;
}

.comment-actions-row a.comment-reply-link,
.comment-edit-link a {
	font-size: 12.5px;
	font-weight: 700;
	color: var(--ts-primary);
	transition: var(--ts-transition);
}

.comment-actions-row a.comment-reply-link:hover,
.comment-edit-link a:hover {
	color: var(--ts-primary-hover);
	text-decoration: underline;
}

/* Comment Form */
.comment-respond {
	margin-top: 28px;
	padding: 24px;
	background: var(--ts-bg-card);
	border: 1px solid var(--ts-border);
	border-radius: var(--ts-radius-lg);
	box-shadow: var(--ts-shadow-md);
}

.comment-reply-title {
	font-size: 18px;
	font-weight: 900;
	color: var(--ts-dark);
	margin-bottom: 6px;
}

.comment-reply-title small a {
	margin-left: 8px;
	font-size: 12px;
	font-weight: 600;
	color: var(--ts-text-muted);
}

.comment-notes {
	font-size: 13px;
	color: var(--ts-text-muted);
	margin-bottom: 16px;
}

.comment-form {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.btn-comment-submit {
	align-self: flex-start;
	padding: 12px 28px;
	font-size: 14px;
}

/* ==========================================================================
   16. Error 404 Page
   ========================================================================== */
body.error404 #page {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.error-404-main {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	justify-content: center;
	padding: 60px 0;
}

.error-404-main .site-container {
	display: flex;
	justify-content: center;
}

.error-404-box {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 20px;
}

.error-code {
	font-size: clamp(72px, 12vw, 140px);
	font-weight: 900;
	line-height: 1;
	color: var(--ts-primary);
}

.error-title {
	font-size: clamp(18px, 3vw, 26px);
	font-weight: 700;
	color: var(--ts-dark);
	margin: 0;
}

.error-home-btn {
	margin-top: 10px;
	padding: 12px 32px;
	font-size: 15px;
}

/* ==========================================================================
   17. Empty State Component
   ========================================================================== */
.ts-empty-state {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 6px;
	padding: 56px 20px;
	margin: 0 auto;
	max-width: 480px;
	width: 100%;
	/* If the empty state is the sole child of a CSS Grid container (e.g. .products-grid),
	   it would otherwise only occupy the first column track instead of the full row. */
	grid-column: 1 / -1;
}

/* Post listing (archive.php / content-post-listing.php): when there are no
   posts, span the full 2-column layout instead of just the narrow article
   column, so the empty state centers across the whole width rather than
   sitting off-center next to an empty sidebar. */
.archive-articles-col--full-width {
	grid-column: 1 / -1;
}

.ts-empty-state__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	margin-bottom: 14px;
	border-radius: 50%;
	background: var(--ts-bg-alt);
	color: var(--ts-text-light);
}

/* ==========================================================================
   18. Forum Listing Page (Diễn Đàn Kỹ Thuật)
   ========================================================================== */
.post-sidebar-col {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.forum-page-box {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.forum-hero {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.forum-hero-title {
	font-size: 26px;
	font-weight: 900;
	color: var(--ts-dark);
	text-transform: uppercase;
	line-height: 1.3;
}

.forum-hero-desc {
	font-size: 14px;
	color: var(--ts-text-muted);
	line-height: 1.6;
}

.forum-category-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 16px;
}

.forum-category-card {
	display: block;
	padding: 16px;
	background: #fff;
	border: 1px solid var(--ts-border);
	border-top: 3px solid var(--ts-primary);
	border-radius: var(--ts-radius-md);
	transition: var(--ts-transition);
}

.forum-category-card:hover {
	box-shadow: var(--ts-shadow-hover);
	border-color: var(--ts-primary);
}

.forum-category-card-title {
	font-size: 15px;
	font-weight: 800;
	color: var(--ts-dark);
	margin-bottom: 6px;
}

.forum-category-card-desc {
	font-size: 12.5px;
	color: var(--ts-text-muted);
	line-height: 1.5;
	margin-bottom: 10px;
}

.forum-category-card-count {
	font-size: 12px;
	color: var(--ts-text-light);
	font-weight: 600;
}

.forum-topics-table-wrap {
	overflow-x: auto;
	border-top: 1px solid var(--ts-border-light);
	padding-top: 18px;
}

.forum-topics-table {
	width: 100%;
	border-collapse: collapse;
}

.forum-topics-table thead th {
	text-align: left;
	font-size: 12.5px;
	font-weight: 700;
	color: var(--ts-text-light);
	padding: 10px 12px;
	border-bottom: 1px solid var(--ts-border);
}

.forum-topics-table thead th.col-replies,
.forum-topics-table thead th.col-updated {
	text-align: right;
}

.forum-topics-table tbody td {
	padding: 14px 12px;
	border-bottom: 1px solid var(--ts-border-light);
	font-size: 14px;
	vertical-align: middle;
}

.forum-topics-table tbody tr:last-child td {
	border-bottom: none;
}

.forum-topics-table tbody tr:hover td {
	background: var(--ts-bg-alt);
}

.forum-topic-link {
	color: var(--ts-dark);
	font-weight: 600;
}

.forum-topic-link:hover {
	color: var(--ts-primary);
}

.forum-topic-cat {
	color: var(--ts-primary);
	font-size: 13px;
	font-weight: 600;
}

.forum-topics-table td.col-replies,
.forum-topics-table td.col-updated {
	text-align: right;
	color: var(--ts-text-muted);
	font-size: 13px;
	white-space: nowrap;
}

/* ==========================================================================
   19. Photo Gallery Page (Thư Viện Ảnh)
   ========================================================================== */
.gallery-listing-main {
	/* This page has no sidebar column, so it doesn't get the spacing that
	   .post-layout-grid's margin-bottom normally provides before the
	   footer — matches .single-page-main's bottom padding instead. */
	padding-bottom: 60px;
}

.gallery-page-box {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.gallery-page-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 16px;
	border-bottom: 2px solid var(--ts-dark);
}

.gallery-page-title {
	font-size: 24px;
	font-weight: 900;
	color: var(--ts-dark);
	text-transform: uppercase;
	letter-spacing: 0.3px;
}

.gallery-page-desc {
	font-size: 14px;
	color: var(--ts-text-muted);
	line-height: 1.6;
}

.gallery-page-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.gallery-page-item {
	margin: 0;
}

.gallery-page-item img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	border-radius: var(--ts-radius-md);
	display: block;
	background: var(--ts-bg-alt);
}

.gallery-page-caption {
	margin-top: 8px;
	font-size: 13.5px;
	color: var(--ts-text-main);
	font-weight: 500;
	line-height: 1.4;
}

.ts-empty-state__icon svg {
	width: 32px;
	height: 32px;
}

.ts-empty-state__title {
	font-size: 18px;
	font-weight: 700;
	color: var(--ts-dark);
	margin: 0;
}

.ts-empty-state__message {
	font-size: 14px;
	line-height: 1.6;
	color: var(--ts-text-muted);
	margin: 0;
}

.ts-empty-state__action {
	margin-top: 18px;
}

/* Compact modifier — for empty states nested inside homepage/inline sections */
.ts-empty-state--compact {
	padding: 32px 16px;
	gap: 4px;
}

.ts-empty-state--compact .ts-empty-state__icon {
	width: 52px;
	height: 52px;
	margin-bottom: 10px;
}

.ts-empty-state--compact .ts-empty-state__icon svg {
	width: 24px;
	height: 24px;
}

.ts-empty-state--compact .ts-empty-state__title {
	font-size: 15px;
}

.ts-empty-state--compact .ts-empty-state__message {
	font-size: 13.5px;
}

.ts-empty-state--compact .ts-empty-state__action {
	margin-top: 12px;
}

/* Search page: form + hotline block shown below the shared empty state */
.search-form-centered {
	max-width: 480px;
	margin: 22px auto 0;
}

.no-results-hotline {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 20px;
	text-align: center;
}

.no-results-hotline span {
	font-size: 14px;
	color: var(--ts-text-muted);
}

/* ==========================================================================
   18. Contact Page ("Liên hệ")
   ========================================================================== */
.contact-page-grid {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 25px;
	margin: 10px 0 50px;
}

.contact-form-title {
	font-size: 24px;
	font-weight: 900;
	text-transform: uppercase;
	color: var(--ts-dark);
	letter-spacing: 0.3px;
	margin-bottom: 24px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--ts-border-light);
}

.contact-map-embed {
	margin-top: 28px;
	height: 320px;
	border-radius: var(--ts-radius-md);
	border: 1px solid var(--ts-border);
	overflow: hidden;
}

.contact-map-embed iframe {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
	border-radius: inherit;
}

.contact-info-col {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.contact-info-box {
	background: var(--ts-dark-deeper);
	color: #fff;
	border-radius: var(--ts-radius-lg);
	padding: 26px;
}

.contact-info-box-title {
	font-size: 16px;
	font-weight: 900;
	color: #fff;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	margin-bottom: 18px;
}

.contact-info-box-name {
	font-size: 14px;
	font-weight: 700;
	color: #fff;
	margin-bottom: 10px;
}

.contact-info-box-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.contact-info-box-list li {
	font-size: 13px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.82);
}

.contact-department-card {
	background: #fff;
	border-radius: var(--ts-radius-md);
	padding: 18px 20px;
	border: 1px solid var(--ts-border);
	box-shadow: var(--ts-shadow-sm);
}

.contact-department-title {
	font-size: 14px;
	font-weight: 700;
	color: var(--ts-text-main);
	margin-bottom: 6px;
}

.contact-department-desc {
	font-size: 12.5px;
	color: var(--ts-text-muted);
	line-height: 1.5;
	margin-bottom: 10px;
}

.contact-department-phone {
	display: inline-block;
	font-size: 18px;
	font-weight: 900;
	color: var(--ts-primary);
}

.contact-department-phone:hover {
	color: var(--ts-primary-hover);
}