/**
 * Single Product Detail Styles — Trang chi tiết sản phẩm Thang Máy Nhân Phát.
 * Kế thừa đồng bộ 100% hệ thống Design Token của theme.
 *
 * @package TMNhanPhat
 */

/* ==========================================================================
 * 1. BASE LAYOUT & BREADCRUMB
 * ========================================================================== */
.product-single {
	background-color: #ffffff;
	color: #131b2e;
	font-family: 'Inter', system-ui, -apple-system, sans-serif;

	/* Typography tokens mapped from template */
	--font-hanken: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;
	--font-inter: 'Inter', system-ui, -apple-system, sans-serif;
	--font-mono: 'JetBrains Mono', monospace;
}

.product-single__breadcrumb-wrap {
	background-color: #f8faff;
	border-bottom: 1px solid #eef2f8;
	padding: 12px 0;
}

.product-single__breadcrumb-wrap .breadcrumb {
	margin: 0;
	padding: 0;
}

.product-single__breadcrumb-wrap .breadcrumb__list {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.product-single__breadcrumb-wrap .breadcrumb__item {
	display: inline-flex;
	align-items: center;
	font-family: var(--font-inter, sans-serif);
	font-size: 14px;
	color: #64748b;
}

.product-single__breadcrumb-wrap .breadcrumb__item a {
	color: #475569;
	text-decoration: none;
	transition: color 0.2s ease;
}

.product-single__breadcrumb-wrap .breadcrumb__item a:hover {
	color: #046AB5;
}

.product-single__breadcrumb-wrap .breadcrumb__item:not(:last-child)::after {
	content: "/";
	margin-left: 8px;
	color: #cbd5e1;
}

.product-single__breadcrumb-wrap .breadcrumb__item:last-child span {
	color: #131b2e;
	font-weight: 600;
}

.product-single [id] {
	scroll-margin-top: 120px;
}

/* ==========================================================================
 * 2. PRODUCT HERO SECTION (GALLERY + QUICK SPECS + CTA)
 * ========================================================================== */
.product-hero {
	padding: 48px 0 64px;
	background-color: #ffffff;
}

.product-hero__grid {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 48px;
	align-items: flex-start;
}

/* Gallery Bento */
.product-hero__gallery {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.product-hero__main-image-wrap {
	position: relative;
	width: 100%;
	/* height: 520px; */
	border-radius: 8px;
	overflow: hidden;
	background-color: #ffffff;
	border: 1px solid #e5e7eb;
	padding: 8px;
	box-sizing: border-box;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.product-hero__main-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
	display: block;
	transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-hero__main-image-wrap:hover .product-hero__main-image {
	transform: scale(1.02);
}

.product-hero__image-overlay {
	position: absolute;
	inset: 8px;
	background: linear-gradient(to top, rgba(0, 20, 50, 0.15) 0%, transparent 35%);
	pointer-events: none;
}

.product-hero__zoom-btn {
	position: absolute;
	top: 20px;
	right: 20px;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.88);
	backdrop-filter: blur(8px);
	border: 1px solid rgba(226, 232, 240, 0.9);
	color: #046AB5;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s ease;
}

.product-hero__zoom-btn:hover {
	background: #046AB5;
	color: #ffffff;
	transform: scale(1.08);
}

.product-hero__nav-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 42px;
	height: 50px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.82);
	backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.95);
	color: #374151;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 5;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
	transition: all 0.2s ease;
}

.product-hero__nav-btn:hover {
	background: #ffffff;
	color: #046AB5;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
	transform: translateY(-50%) scale(1.06);
}

.product-hero__nav-btn:active {
	transform: translateY(-50%) scale(0.96);
}

.product-hero__nav-btn--prev {
	left: 18px;
}

.product-hero__nav-btn--next {
	right: 18px;
}

.product-hero__thumbnails {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 10px;
}

.product-hero__thumb-item {
	height: 84px;
	border-radius: 6px;
	overflow: hidden;
	border: 1px solid #e5e7eb;
	background-color: #ffffff;
	padding: 4px;
	box-sizing: border-box;
	cursor: pointer;
	transition: all 0.2s ease;
}

.product-hero__thumb-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
	display: block;
	transition: opacity 0.2s ease;
}

.product-hero__thumb-item:hover {
	border-color: #046AB5;
	transform: translateY(-2px);
}

.product-hero__thumb-item.is-active {
	border-color: #046AB5;
	box-shadow: 0 0 0 1px #046AB5, 0 2px 8px rgba(4, 106, 181, 0.18);
}

/* Info Column */
.product-hero__info {
	position: sticky;
	top: 100px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.product-hero__tag {
	display: inline-block;
	font-family: var(--font-mono);
	font-size: 12px;
	line-height: 16px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #046AB5;
	background: #eaedff;
	padding: 4px 10px;
	border-radius: 6px;
	width: fit-content;
	margin-bottom: 8px;
}

.product-hero__title {
	font-family: var(--font-hanken);
	font-size: clamp(32px, 3.8vw, 56px);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: #131b2e;
	margin: 0 0 12px;
}

.product-hero__excerpt {
	font-family: var(--font-inter);
	/* font-size: 18px; */
	line-height: 28px;
	font-weight: 400;
	color: #444652;
	margin: 0;
}

/* Interactive Configurator */
.product-config__section {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 6px;
}

.product-config__heading {
	display: flex;
	align-items: baseline;
	gap: 6px;
}

.product-config__step-title {}

.product-config__step-hint {
	font-family: var(--font-inter);
	font-size: 13px;
	color: #6b7280;
}

.product-config__ceilings-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 8px;
}

.product-config__ceiling-btn {
	position: relative;
	background: #ffffff;
	border: 1px solid #D7E0EA;
	border-radius: 8px;
	padding: 6px 5px 8px;
	text-align: center;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	transition: all 0.2s ease;
}

.product-config__ceiling-btn:hover {
	border-color: #046AB5;
	background-color: #faf8ff;
}

.product-config__ceiling-btn.is-active {
	border-color: #046AB5;
	background-color: #F4F9FD;
	box-shadow: 0 0 0 2px rgb(4 106 181 / 0.12);
}

.product-config__ceiling-btn.is-active::after {
	content: "✓";
	position: absolute;
	top: 5px;
	right: 5px;
	display: grid;
	width: 16px;
	height: 16px;
	place-items: center;
	border-radius: 50%;
	background: #046AB5;
	color: #ffffff;
	font-size: 10px;
	font-weight: 700;
}

.product-config__ceiling-image {
	width: 100%;
	height: 46px;
	border-radius: 4px;
	object-fit: cover;
}

.product-config__ceiling-name {
	font-family: var(--font-inter);
	font-size: 11px;
	/* font-weight: 700; */
	/* color: #131b2e; */
	white-space: nowrap;
}

.product-config__ceiling-code {
	font-family: var(--font-inter);
	font-size: 10px;
	color: #046AB5;
	font-weight: 600;
}

.product-config__select-wrap {
	position: relative;
	width: 100%;
}

.product-config__select {
	width: 100%;
	padding: 12px 16px;
	padding-right: 36px;
	border: 1px solid #c4c6d4;
	border-radius: 8px;
	font-family: var(--font-inter);
	font-size: 15px;
	background-color: #ffffff;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
	outline: none;
	transition: all 0.2s ease;
}

.product-config__select:focus {
	border-color: #046AB5;
	box-shadow: 0 0 0 3px rgba(4, 106, 181, 0.1);
}

.product-config__select-arrow {
	position: absolute;
	right: 14px;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
	color: #444652;
}

.product-config__dimensions-box {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	align-items: center;
	background: #faf8ff;
	border: 1px solid #eaedff;
	border-radius: 8px;
	padding: 12px 18px;
	margin-top: 6px;
	text-align: center;
}

.product-config__dim-col {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 2px;
}

.product-config__dim-label {
	font-family: var(--font-mono);
	font-size: 10.5px;
	font-weight: 500;
	color: #6b7280;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.product-config__dim-val {
	font-family: var(--font-hanken);
	font-size: 15px;
}

.product-config__dim-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	padding-left: 6px;
}

.product-hero__price-row {
	display: flex;
	align-items: baseline;
	gap: 12px;
	margin: 10px 0 4px;
}

.product-hero__price-label {
	font-family: var(--font-inter);
	font-size: 16px;
	font-weight: 500;
	color: #444652;
}

.product-hero__price {
	font-family: var(--font-hanken);
	font-size: 24px;
	line-height: 32px;
	font-weight: 700;
	color: #ec2d3f;
}

.product-hero__actions {
	display: flex;
	gap: 16px;
	margin-top: 8px;
}

.product-hero__btn-quote {
	flex: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background-color: #046AB5;
	color: #ffffff;
	font-family: var(--font-hanken);
	font-size: 18px;
	line-height: 28px;
	font-weight: 700;
	padding: 14px 24px;
	border-radius: 10px;
	text-decoration: none;
	transition: all 0.25s ease;
	box-shadow: 0 4px 14px rgba(26, 67, 162, 0.25);
}

.product-hero__btn-quote:hover {
	background-color: #03518a;
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(26, 67, 162, 0.35);
}

.product-hero__btn-call {
	flex: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background-color: #ffffff;
	border: 2px solid #046AB5;
	color: #046AB5;
	font-family: var(--font-hanken);
	font-size: 18px;
	line-height: 28px;
	font-weight: 700;
	padding: 12px 20px;
	border-radius: 10px;
	text-decoration: none;
	transition: all 0.25s ease;
}

.product-hero__btn-call:hover {
	background-color: #eaedff;
	color: #03518a;
	border-color: #03518a;
	transform: translateY(-2px);
}

.product-hero__btn-call:hover {
	background-color: #eaf3fb;
	color: #03518a;
	border-color: #03518a;
	transform: translateY(-2px);
}

.product-hero__trust-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	margin: 0;
	padding: 0;
	list-style: none;
	color: #4B5563;
	font-family: var(--font-inter);
	font-size: 13px;
}

.product-hero__trust-list li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.product-hero__trust-list li::before {
	content: "";
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #046AB5;
}

/* ==========================================================================
 * 3. TECHNICAL SPECIFICATIONS SECTION
 * ========================================================================== */
.product-specs {
	padding: 72px 0;
	background-color: #faf8ff;
}

.product-specs__intro {
	margin-bottom: 40px;
	max-width: 720px;
}

.product-specs__title {
	font-family: var(--font-hanken);
	font-size: clamp(30px, 3.2vw, 40px);
	line-height: 48px;
	font-weight: 600;
	color: #131b2e;
	margin: 0 0 8px;
}

.product-specs__subtitle {
	font-family: var(--font-inter);
	font-size: 16px;
	line-height: 24px;
	font-weight: 400;
	color: #444652;
	margin: 0;
}

/* Highlight Cards Grid */
.product-specs__highlight-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 24px;
	margin-bottom: 32px;
}

.product-specs__card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 24px;
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
}

.product-specs__card:hover {
	transform: translateY(-4px);
	border-color: rgb(4 106 181 / 0.55);
	box-shadow: 5px 5px 5px rgb(22 138 251 / 0.12);
}

.product-specs__card-icon {
	color: #046AB5;
	margin-bottom: 16px;
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.product-specs__card-label {
	font-family: var(--font-mono);
	font-size: 12px;
	line-height: 16px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #444652;
	margin: 0 0 4px;
}

.product-specs__card-value {
	font-family: var(--font-hanken);
	font-size: 24px;
	line-height: 32px;
	font-weight: 600;
	color: #131b2e;
	margin: 0;
}

.product-specs__card-unit {
	font-family: var(--font-inter);
	font-size: 16px;
	line-height: 24px;
	font-weight: 400;
	color: #444652;
	margin-left: 4px;
}

/* Detailed Specs Box */
.product-specs__detailed-box {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	overflow: hidden;
}

.product-specs__columns {
	display: grid;
	grid-template-columns: 1fr 1fr;
}

.product-specs__col {
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.product-specs__col:first-child {
	border-right: 1px solid #e2e8f0;
}

.product-specs__item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

.product-specs__item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.product-specs__item-label {
	font-family: var(--font-inter);
	font-size: 16px;
	color: #444652;
	font-weight: 400;
}

.product-specs__item-val {
	font-family: var(--font-inter);
	font-size: 14px;
	font-weight: 500;
	color: #131b2e;
	text-align: right;
	margin-left: 16px;
}

/* ==========================================================================
 * 4. PRODUCT CONTENT SECTION (2-COLUMN LAYOUT: CONTENT + STICKY TOC SIDEBAR)
 * ========================================================================== */
.product-content {
	padding: 56px 0 72px;
	background-color: #f8fafc;
	position: relative;
	overflow: visible;
}

.product-content__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 40px;
	align-items: stretch;
}

.product-content__main {
	min-width: 0;
}

.product-content__inner {
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 36px 40px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.product-content__header {
	margin-bottom: 24px;
	padding-bottom: 16px;
	border-bottom: 2px solid #f1f5f9;
}

.product-content__title {
	font-family: var(--font-hanken);
	font-size: clamp(24px, 2.8vw, 32px);
	line-height: 40px;
	font-weight: 600;
	color: #131b2e;
	margin: 0;
}

.product-content__body {
	font-family: var(--font-inter);
	font-size: 16px;
	line-height: 28px;
	font-weight: 400;
	color: #374151;
}

/* Sidebar TOC: Sticky chạy dọc theo toàn bộ chiều cao section */
.product-content__sidebar {
	min-width: 0;
	align-self: stretch;
	height: 100%;
	position: relative;
}

.product-content__sidebar .toc {
	position: -webkit-sticky;
	position: sticky;
	top: 90px;
	max-height: calc(100vh - 120px);
	display: flex;
	flex-direction: column;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 20px;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
	overflow: hidden;
	z-index: 10;
}

.product-content__sidebar .toc__toggle {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: space-between;
	padding: 0;
	border: 0;
	background: transparent;
	color: #0f172a;
	font: inherit;
	text-align: left;
	pointer-events: none;
}

.product-content__sidebar .toc__title {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 16px;
	font-weight: 700;
	color: #0f172a;
}

.product-content__sidebar .toc__title svg {
	color: #046AB5;
	flex-shrink: 0;
}

.product-content__sidebar .toc__toggle-label,
.product-content__sidebar .toc__chevron {
	display: none;
}

.product-content__sidebar .toc__content {
	display: block !important;
	max-height: calc(100vh - 180px);
	margin-top: 14px;
	overflow-y: auto;
	overscroll-behavior: contain;
}

.product-content__sidebar .toc__list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.product-content__sidebar .toc__item a {
	display: flex;
	align-items: center;
	position: relative;
	padding: 7px 10px 7px 12px;
	border-left: 2.5px solid #e2e8f0;
	color: #64748b;
	font-size: 13.5px;
	line-height: 1.45;
	text-decoration: none;
	border-radius: 0 6px 6px 0;
	min-height: 38px;
	transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.product-content__sidebar .toc__item--h3 a {
	padding-left: 22px;
	font-size: 12.5px;
}

.product-content__sidebar .toc__item--h3 a::before {
	content: "└ ";
	margin-right: 4px;
	color: #94a3b8;
	font-size: 11px;
	opacity: 0.75;
}

.product-content__sidebar .toc__item a:hover,
.product-content__sidebar .toc__item a.is-active,
.product-content__sidebar .toc__item.is-active a {
	border-left-color: #046AB5;
	background: #eef6fc;
	color: #046AB5;
	font-weight: 600;
}

.product-content__sidebar .toc__item--h3 a:hover::before,
.product-content__sidebar .toc__item--h3 a.is-active::before,
.product-content__sidebar .toc__item--h3.is-active a::before {
	color: #046AB5;
	opacity: 1;
}

@media (max-width: 1023px) {
	.product-content__layout {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.product-content__sidebar {
		position: static;
		order: -1;
	}

	.product-content__inner {
		padding: 24px 20px;
	}
}

.product-content__body h2,
.product-content__body h3 {
	font-family: var(--font-hanken);
	font-size: 24px;
	line-height: 32px;
	font-weight: 600;
	color: #131b2e;
	margin: 32px 0 16px;
}

.product-content__body h4 {
	font-family: var(--font-hanken);
	font-size: 24px;
	line-height: 32px;
	font-weight: 600;
	color: #046AB5;
	margin: 28px 0 16px;
}

.product-content__body p {
	font-family: var(--font-inter);
	/* font-size: 18px; */
	line-height: 28px;
	font-weight: 400;
	color: #444652;
	margin-bottom: 24px;
}

.product-content__body ul,
.product-content__body ol {
	margin: 0 0 28px;
	padding-left: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.product-content__body li {
	font-family: var(--font-inter);
	font-size: 16px;
	line-height: 24px;
	font-weight: 400;
	color: #444652;
}

.product-content__body strong {
	font-weight: 700;
	color: #131b2e;
}

.product-content__body table {
	width: 100%;
	border-collapse: collapse;
	margin: 28px 0;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	overflow: hidden;
}

.product-content__body th,
.product-content__body td {
	padding: 16px;
	border-bottom: 1px solid #e2e8f0;
	text-align: left;
}

.product-content__body th {
	background-color: #f2f3ff;
	font-family: var(--font-inter);
	font-size: 16px;
	font-weight: 700;
	color: #131b2e;
}

.product-content__body td {
	font-family: var(--font-inter);
	font-size: 16px;
	color: #444652;
}

.product-content__body tr:hover td {
	background-color: #faf8ff;
}

.product-content__body img {
	max-width: 100%;
	height: auto;
	border-radius: 10px;
	margin: 20px 0;
}



.product-content__table {
	width: 100%;
	border-collapse: collapse;
	text-align: left;
	font-size: 15px;
}

.product-content__table th {
	background-color: #f8faff;
	color: #111827;
	font-weight: 700;
	padding: 16px 20px;
	border-bottom: 1px solid #e2e8f0;
}

.product-content__table td {
	padding: 16px 20px;
	border-bottom: 1px solid #f1f5f9;
	color: #374151;
}

.product-content__table tr:last-child td {
	border-bottom: none;
}

.product-content__table tr:hover td {
	background-color: #fafcff;
}

/* ==========================================================================
 * 5. ACTUAL PROJECTS BENTO GALLERY SECTION
 * ========================================================================== */
.product-gallery-section {
	padding: 72px 0;
	background-color: #ffffff;
}

.product-gallery-section__intro {
	text-align: center;
	margin-bottom: 44px;
}

.product-gallery-section__title {
	font-family: var(--font-hanken);
	font-size: clamp(30px, 3.2vw, 40px);
	line-height: 48px;
	font-weight: 600;
	color: #131b2e;
	margin: 0 0 8px;
}

.product-gallery-section__subtitle {
	font-family: var(--font-inter);
	font-size: 16px;
	line-height: 24px;
	font-weight: 400;
	color: #444652;
	margin: 0;
}

.product-gallery-section__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

@media (max-width: 900px) {
	.product-gallery-section__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
	}
}

@media (max-width: 540px) {
	.product-gallery-section__grid {
		grid-template-columns: 1fr;
		gap: 14px;
	}
}

.product-gallery-section__card {
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-gallery-section__card:hover {
	transform: translateY(-4px);
	border-color: rgb(4 106 181 / 0.55);
	box-shadow: 5px 5px 5px rgb(22 138 251 / 0.12);
}

.product-gallery-section__img-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background-color: #f1f5f9;
}

.product-gallery-section__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-gallery-section__card:hover .product-gallery-section__image {
	transform: scale(1.06);
}

.product-gallery-section__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(15, 23, 42, 0.75) 0%, rgba(15, 23, 42, 0.1) 60%, transparent 100%);
	display: flex;
	align-items: flex-end;
	padding: 16px;
	opacity: 0.9;
	transition: opacity 0.3s ease;
}

.product-gallery-section__card:hover .product-gallery-section__overlay {
	opacity: 1;
}

.product-gallery-section__badge {
	color: #ffffff;
	font-family: var(--font-inter);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.product-gallery-section__footer {
	margin-top: 36px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 16px;
}

.product-gallery-section__view-all-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 28px;
	background: #046AB5;
	border: 1.5px solid #046AB5;
	border-radius: 9999px;
	color: #ffffff;
	font-family: var(--font-inter);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.25s ease;
	box-shadow: 0 2px 8px rgba(4, 106, 181, 0.15);
}

.product-gallery-section__view-all-btn:hover {
	background: #035790;
	border-color: #035790;
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(4, 106, 181, 0.25);
}

.product-gallery-section__more-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 28px;
	background: #ffffff;
	border: 1.5px solid #046AB5;
	border-radius: 9999px;
	color: #046AB5;
	font-family: var(--font-inter);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.25s ease;
	box-shadow: 0 2px 8px rgba(4, 106, 181, 0.08);
}

.product-gallery-section__more-btn:hover {
	background: #046AB5;
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(4, 106, 181, 0.25);
}

/* ==========================================================================
 * 6. CUSTOMER REVIEWS & FORM SECTION
 * ========================================================================== */
/* ==========================================================================
 * 6. MODERN CUSTOMER REVIEWS SECTION
 * ========================================================================== */
.product-reviews-section--modern {
	padding: 56px 0 88px;
	background-color: #ffffff;
}

.product-reviews-section__inner-container {
	/* max-width: 920px; */
	margin: 0 auto;
	background: #fbfbfe;
	border: 1px solid #f1f5f9;
	border-radius: 24px;
	padding: 48px 44px;
	display: flex;
	flex-direction: column;
	gap: 22px;
	box-shadow: 0 4px 30px rgba(4, 106, 181, 0.03);
}

@media (max-width: 767px) {
	.product-reviews-section__inner-container {
		padding: 32px 18px;
		border-radius: 16px;
	}
}

/* 1. Header Center */
.product-reviews-section__header-center {
	text-align: center;
	margin-bottom: 4px;
}

.product-reviews-section__title-main {
	font-family: var(--font-hanken);
	font-size: clamp(26px, 3.2vw, 36px);
	font-weight: 800;
	color: #0f172a;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin: 0 0 8px;
}

.product-reviews-section__title-highlight {
	color: #046AB5;
}

.product-reviews-section__subtitle-main {
	font-family: var(--font-inter);
	font-size: 14.5px;
	color: #64748b;
	margin: 0;
}

/* 2. Score Summary Card (Top Box) */
.product-reviews-score-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 28px 36px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.02);
	display: grid;
	grid-template-columns: 180px 1fr;
	gap: 36px;
	align-items: center;
}

@media (max-width: 640px) {
	.product-reviews-score-card {
		grid-template-columns: 1fr;
		gap: 20px;
		padding: 22px 16px;
	}
}

.product-reviews-score-card__left {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	border-right: 1px solid #f1f5f9;
	padding-right: 28px;
}

@media (max-width: 640px) {
	.product-reviews-score-card__left {
		border-right: none;
		border-bottom: 1px solid #f1f5f9;
		padding-right: 0;
		padding-bottom: 18px;
	}
}

.product-reviews-score-card__big-num {
	font-family: var(--font-hanken);
	font-size: 48px;
	line-height: 1;
	font-weight: 800;
	color: #0f172a;
	margin-bottom: 8px;
}

.product-reviews-score-card__stars {
	display: flex;
	gap: 3px;
	justify-content: center;
	margin-bottom: 6px;
}

.product-reviews-score-card__count-text {
	font-family: var(--font-inter);
	font-size: 13.5px;
	color: #64748b;
}

/* Progress Bars */
.product-reviews-bars {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 100%;
}

.product-reviews-bars__row {
	display: grid;
	grid-template-columns: 32px 1fr 20px;
	align-items: center;
	gap: 12px;
	font-family: var(--font-inter);
	font-size: 13px;
	color: #475569;
}

.product-reviews-bars__label {
	display: flex;
	align-items: center;
	gap: 4px;
	font-weight: 600;
	color: #334155;
}

.product-reviews-bars__star-icon {
	color: #f59e0b;
}

.product-reviews-bars__track {
	background: #f1f5f9;
	height: 8px;
	border-radius: 999px;
	overflow: hidden;
	position: relative;
	width: 100%;
}

.product-reviews-bars__fill {
	height: 100%;
	background: linear-gradient(90deg, #f59e0b, #fbbf24);
	border-radius: 999px;
	transition: width 0.4s ease;
}

.product-reviews-bars__count {
	font-weight: 600;
	color: #94a3b8;
	text-align: right;
}

/* Prompt Bar */
.product-reviews-prompt-bar {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 14px 22px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-family: var(--font-inter);
	font-size: 14px;
	color: #475569;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

@media (max-width: 599px) {
	.product-reviews-prompt-bar {
		flex-direction: column;
		gap: 10px;
		text-align: center;
	}
}

.product-reviews-prompt-bar__btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #046AB5;
	color: #ffffff;
	border: none;
	border-radius: 8px;
	padding: 8px 18px;
	font-family: var(--font-inter);
	font-size: 13.5px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
}

.product-reviews-prompt-bar__btn:hover {
	background: #046AB5;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(4, 106, 181, 0.25);
}

/* 3. Review Write Box */
.product-reviews-write-box {
	display: none;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 24px 30px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.02);
	animation: tmnpReviewFadeDown 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-reviews-write-box.is-open {
	display: block;
}

@keyframes tmnpReviewFadeDown {
	from {
		opacity: 0;
		transform: translateY(-8px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.product-reviews-write-box__title {
	font-family: var(--font-hanken);
	font-size: 18px;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 16px;
}

.product-reviews-write-box__form {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.product-reviews-write-box__form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

@media (max-width: 599px) {
	.product-reviews-write-box__form-row {
		grid-template-columns: 1fr;
		gap: 12px;
	}
}

.product-reviews-write-box__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.product-reviews-write-box__label {
	font-family: var(--font-inter);
	font-size: 13px;
	font-weight: 600;
	color: #475569;
	margin: 0;
}

.product-reviews-write-box__input,
.product-reviews-write-box__textarea {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
	padding: 10px 14px;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	font-family: var(--font-inter);
	font-size: 14px;
	color: #0f172a;
	background: #ffffff;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-reviews-write-box__input::placeholder,
.product-reviews-write-box__textarea::placeholder {
	color: #94a3b8;
	font-weight: 400;
}

.product-reviews-write-box__input:focus,
.product-reviews-write-box__textarea:focus {
	border-color: #046AB5;
	box-shadow: 0 0 0 3px rgba(4, 106, 181, 0.12);
}

.product-reviews-write-box__textarea {
	resize: vertical;
	min-height: 85px;
}

/* Star Picker - Borderless & Smooth */
.product-reviews-section__star-picker {
	display: flex;
	gap: 4px;
	align-items: center;
}

.product-reviews-section__star-btn {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	outline: none !important;
	padding: 2px 4px !important;
	cursor: pointer !important;
	color: #f59e0b !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	transition: transform 0.15s ease !important;
}

.product-reviews-section__star-btn:hover {
	transform: scale(1.2) !important;
}

.product-reviews-write-box__btn-wrap {
	display: flex;
	justify-content: flex-end;
	margin-top: 4px;
}

.product-reviews-write-box__submit-btn {
	background: #046AB5;
	color: #ffffff;
	font-family: var(--font-inter);
	font-size: 14.5px;
	font-weight: 700;
	border: none;
	border-radius: 8px;
	padding: 11px 32px;
	cursor: pointer;
	transition: all 0.2s ease;
	box-shadow: 0 2px 10px rgba(4, 106, 181, 0.15);
}

.product-reviews-write-box__submit-btn:hover {
	background: #046AB5;
	transform: translateY(-1px);
	box-shadow: 0 4px 14px rgba(4, 106, 181, 0.25);
}

/* 4. Review Cards List */
.product-reviews-cards-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.product-review-item-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 22px 28px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.product-review-item-card__header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}

.product-review-item-card__user {
	display: flex;
	align-items: center;
	gap: 12px;
}

.product-review-item-card__avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	color: #ffffff;
	font-family: var(--font-inter);
	font-weight: 700;
	font-size: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	text-transform: uppercase;
}

.product-review-item-card__meta {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.product-review-item-card__author-row {
	display: flex;
	align-items: center;
	gap: 8px;
}

.product-review-item-card__name {
	font-family: var(--font-inter);
	font-size: 15px;
	font-weight: 700;
	color: #0f172a;
	margin: 0;
}

.product-review-item-card__badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 2px 8px;
	background: #dcfce7;
	color: #16a34a;
	font-family: var(--font-inter);
	font-size: 11.5px;
	font-weight: 600;
	border-radius: 999px;
}

.product-review-item-card__date {
	font-family: var(--font-inter);
	font-size: 12px;
	color: #94a3b8;
}

.product-review-item-card__stars {
	display: flex;
	gap: 2px;
}

.product-review-item-card__comment {
	font-family: var(--font-inter);
	font-size: 14.5px;
	line-height: 24px;
	color: #334155;
	margin: 0;
}

.product-review-item-card__footer {
	display: flex;
	align-items: center;
	gap: 10px;
	border-top: 1px solid #f1f5f9;
	padding-top: 12px;
	margin-top: 2px;
}

.product-review-item-card__helpful-label {
	font-family: var(--font-inter);
	font-size: 13px;
	color: #64748b;
}

.product-review-item-card__helpful-btn {
	border-radius: 6px;
	padding: 4px 12px;
	font-family: var(--font-inter);
	font-size: 12.5px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.15s ease;
	border: 1px solid;
}

.product-review-item-card__helpful-btn--yes {
	background: #eff6ff;
	border-color: #bfdbfe;
	color: #1d4ed8;
}

.product-review-item-card__helpful-btn--yes:hover {
	background: #dbeafe;
}

.product-review-item-card__helpful-btn--no {
	background: #f8fafc;
	border-color: #e2e8f0;
	color: #64748b;
}

.product-review-item-card__helpful-btn--no:hover {
	background: #f1f5f9;
}

.product-reviews-section__empty-state {
	background: #ffffff;
	border: 1px dashed #cbd5e1;
	border-radius: 16px;
	padding: 36px 24px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
}

.product-reviews-section__empty-text {
	font-family: var(--font-inter);
	font-size: 14px;
	line-height: 22px;
	color: #64748b;
	margin: 0;
	max-width: 360px;
}

/* ==========================================================================
 * 7. RELATED PRODUCTS SECTION
 * ========================================================================== */
.product-related-section {
	/* padding: 72px 0 88px; */
	background-color: #ffffff;
}

.product-related-section__header {
	text-align: center;
	margin-bottom: 44px;
}

.product-related-section__title {
	font-family: var(--font-hanken);
	font-size: clamp(30px, 3.2vw, 40px);
	line-height: 48px;
	font-weight: 600;
	color: #131b2e;
	margin: 0 0 8px;
}

.product-related-section__subtitle {
	font-family: var(--font-inter);
	font-size: 16px;
	line-height: 24px;
	font-weight: 400;
	color: #444652;
	margin: 0;
}

.product-related-section__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}

.product-related-card {
	background: #ffffff;
	border: 1px solid #E8E6E1;
	border-radius: 10px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-related-card:hover {
	transform: translateY(-6px);
	border-color: rgb(4 106 181 / 0.55);
	box-shadow: 5px 5px 5px rgb(22 138 251 / 0.12);
}

.product-related-card__media {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background-color: #f2f6fa;
}

.product-related-card__img-link {
	display: block;
	width: 100%;
	height: 100%;
}

.product-related-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.product-related-card:hover .product-related-card__img {
	transform: scale(1.06);
}

.product-related-card__badge {
	position: absolute;
	top: 14px;
	right: 14px;
	background: #046AB5;
	color: #ffffff;
	font-family: var(--font-mono);
	font-size: 12px;
	line-height: 16px;
	font-weight: 500;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	padding: 4px 10px;
	border-radius: 9999px;
}

.product-related-card__body {
	padding: 18px 20px;
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: 10px;
}

.product-related-card__title {
	font-family: var(--font-hanken, 'Hanken Grotesk', sans-serif);
	font-size: 21px;
	line-height: 1.3;
	font-weight: 600;
	color: #131b2e;
	margin: 0 0 6px;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

.product-related-card__title a {
	color: #131b2e;
	text-decoration: none;
	transition: color 0.2s ease;
}

.product-related-card:hover .product-related-card__title a,
.product-related-card__title a:hover,
.product-related-card__title a:focus-visible {
	color: #046AB5;
}

.product-related-card__desc {
	font-family: var(--font-inter, sans-serif);
	font-size: 13.5px;
	line-height: 19px;
	color: #444652;
	margin: 0 0 10px;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

.product-related-card__meta-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 14px;
	padding: 0;
	background: transparent;
	border-radius: 0;
}

.product-related-card__meta-item {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-inter, sans-serif);
	font-size: 13.5px;
	line-height: 18px;
	color: #444652;
}

.product-related-card__meta-item strong {
	color: #444652;
	font-weight: normal;
}

.product-related-card__footer {
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px solid #E8E6E1;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.product-related-card__price-label {
	font-family: var(--font-inter);
	font-size: 16px;
	font-weight: 700;
	color: #131b2e;
	margin-right: 4px;
}

.product-related-card__price-val {
	font-family: var(--font-hanken);
	font-size: 18px;
	font-weight: 700;
	color: #E31F2B;
}

.product-related-card__btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #046AB5;
	color: #ffffff;
	padding: 10px 18px;
	border-radius: 8px;
	font-family: var(--font-hanken);
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
	transition: all 0.25s ease;
}

.product-related-card__btn:hover {
	background: #03518a;
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 4px 14px rgba(4, 106, 181, 0.25);
}


/* ==========================================================================
 * 8. RESPONSIVE BREAKPOINTS
 * ========================================================================== */
@media (max-width: 991px) {
	.product-hero__grid {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.product-hero__main-image-wrap {
		height: 400px;
	}

	.product-hero__info {
		position: static;
	}

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

	.product-specs__col:first-child {
		border-right: none;
		border-bottom: 1px solid #e2e8f0;
	}

	.product-gallery-section__bento-grid {
		grid-template-columns: repeat(2, 1fr);
		grid-auto-rows: 200px;
	}

	.product-gallery-section__item--large {
		grid-column: span 2;
		grid-row: span 1;
	}

	.product-gallery-section__item--tall {
		grid-row: span 1;
	}

	.product-gallery-section__more-card {
		grid-column: span 2;
	}

	.product-reviews-section__grid {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.product-reviews-section__form-box {
		position: static;
	}

	.product-related-section__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 599px) {
	.product-hero {
		padding: 24px 0 40px;
	}

	.product-hero__main-image-wrap {
		height: 300px;
	}

	.product-hero__thumbnails {
		grid-template-columns: repeat(4, 1fr);
		gap: 8px;
	}

	.product-hero__thumb-item {
		height: 72px;
	}

	.product-hero__actions {
		flex-direction: column;
		gap: 12px;
	}

	.product-specs {
		padding: 48px 0;
	}

	.product-specs__highlight-grid {
		grid-template-columns: 1fr 1fr;
		gap: 12px;
	}

	.product-specs__card {
		padding: 16px;
	}

	.product-specs__card-value {
		font-size: 18px;
	}

	.product-specs__col {
		padding: 20px 16px;
	}

	.product-content,
	.product-gallery-section,
	.product-reviews-section,
	.product-related-section {
		padding: 48px 0;
	}

	.product-gallery-section__bento-grid {
		grid-template-columns: 1fr;
		grid-auto-rows: 220px;
	}

	.product-gallery-section__item--large,
	.product-gallery-section__more-card {
		grid-column: span 1;
	}

	.product-reviews-section__form-box {
		padding: 20px;
	}

	.product-related-section__grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}
}

/* ==========================================================================
 * 9. PRODUCT IMAGE LIGHTBOX (POPUP PHÓNG TO ẢNH & LÀM MỜ NỀN)
 * ========================================================================== */
.product-lightbox {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.product-lightbox.is-open {
	opacity: 1;
	visibility: visible;
}

.product-lightbox__backdrop {
	position: absolute;
	inset: 0;
	background: rgb(153 157 163 / 51%);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	cursor: zoom-out;
}

.product-lightbox__container {
	position: relative;
	z-index: 2;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	pointer-events: none;
}

.product-lightbox__container>* {
	pointer-events: auto;
}

.product-lightbox__close {
	position: absolute;
	top: 24px;
	right: 24px;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.25);
	color: #ffffff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
	z-index: 10;
}

.product-lightbox__close:hover {
	background: rgba(227, 31, 43, 0.9);
	border-color: rgba(227, 31, 43, 0.9);
	transform: scale(1.08);
}

.product-lightbox__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 48px;
	height: 48px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.25);
	color: #ffffff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
	z-index: 10;
}

.product-lightbox__nav--prev {
	left: 24px;
}

.product-lightbox__nav--next {
	right: 24px;
}

.product-lightbox__nav:hover {
	background: #046AB5;
	border-color: #046AB5;
	transform: translateY(-50%) scale(1.08);
}

.product-lightbox__figure {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	max-width: 90vw;
	max-height: 90vh;
}

.product-lightbox__img {
	max-width: 100%;
	max-height: 78vh;
	object-fit: contain;
	/* border-radius: 10px; */
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.65);
	border: 1px solid rgba(255, 255, 255, 0.15);
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.product-lightbox__footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	margin-top: 14px;
	color: #ffffff;
	gap: 16px;
}

.product-lightbox__caption {
	font-size: 15px;
	font-weight: 600;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

.product-lightbox__counter {
	font-size: 13px;
	font-weight: 600;
	background: rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(6px);
	padding: 4px 12px;
	border-radius: 10px;
	white-space: nowrap;
}

@media (max-width: 599px) {
	.product-lightbox__close {
		top: 14px;
		right: 14px;
		width: 38px;
		height: 38px;
	}

	.product-lightbox__nav {
		width: 40px;
		height: 40px;
	}

	.product-lightbox__nav--prev {
		left: 10px;
	}

	.product-lightbox__nav--next {
		right: 10px;
	}

	.product-lightbox__img {
		max-height: 70vh;
	}
}

/* ==========================================================================
 * 8. PRODUCT CONSULTATION FORM BANNER (Ở DƯỚI CÙNG)
 * ========================================================================== */
.product-consultation-section {
	padding: 100px 0 88px;
	background-color: #ffffff;
}

.product-consultation-card {
	background: #f8faff;
	border: 1px solid #eef2f8;
	border-radius: 20px;
	overflow: hidden;
	display: grid;
	grid-template-columns: 0.95fr 1.05fr;
	box-shadow: 0 8px 32px rgba(4, 106, 181, 0.04);
}

@media (max-width: 991px) {
	.product-consultation-card {
		grid-template-columns: 1fr;
	}
}

.product-consultation-card__media {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 420px;
	overflow: hidden;
	background: #e8eef6;
}

@media (max-width: 991px) {
	.product-consultation-card__media {
		min-height: 320px;
	}
}

.product-consultation-card__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-consultation-card:hover .product-consultation-card__img {
	transform: scale(1.03);
}

.product-consultation-card__media-meta {
	position: relative;
	z-index: 1;
	padding: 28px 32px 30px;
	color: #ffffff;
	background: linear-gradient(
		180deg,
		rgb(6 24 48 / 0) 0%,
		rgb(6 24 48 / 0.55) 22%,
		rgb(6 24 48 / 0.92) 100%
	);
}

.product-consultation-card__eyebrow {
	display: inline-block;
	margin-bottom: 8px;
	font-family: var(--font-inter);
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgb(255 255 255 / 0.82);
}

.product-consultation-card__sku {
	display: block;
	margin-bottom: 14px;
	font-family: var(--font-mono);
	font-size: 12.5px;
	color: rgb(255 255 255 / 0.7);
}

.product-consultation-card__features {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.product-consultation-card__features li {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-inter);
	font-size: 13.5px;
	line-height: 1.5;
	color: rgb(255 255 255 / 0.92);
}

.product-consultation-card__features svg {
	flex-shrink: 0;
	color: #7dd3fc;
}

.product-consultation-card__content {
	padding: 44px 52px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

@media (max-width: 991px) {
	.product-consultation-card__content {
		padding: 32px 28px;
	}
}

@media (max-width: 767px) {
	.product-consultation-card__media-meta {
		padding: 20px 18px 22px;
	}

	.product-consultation-card__features li {
		font-size: 12.5px;
	}

	.product-consultation-card__content {
		padding: 28px 20px;
	}
}

.product-consultation-card__eyebrow-form {
	margin: 0 0 6px;
	font-family: var(--font-inter);
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #046AB5;
}

.product-consultation-card__heading {
	margin: 0 0 8px;
	font-family: var(--font-hanken);
	font-size: clamp(22px, 2vw, 28px);
	line-height: 1.25;
	font-weight: 700;
	color: #0b1b33;
}

.product-consultation-card__title {
	font-family: var(--font-hanken);
	font-size: clamp(24px, 2.2vw, 30px);
	line-height: 1.25;
	font-weight: 700;
	color: #ffffff;
	text-shadow: 0 2px 12px rgb(0 0 0 / 0.35);
	margin: 0 0 4px;
}

.product-consultation-card__subtitle {
	font-family: var(--font-inter);
	font-size: 14.5px;
	line-height: 22px;
	color: #475569;
	margin: 0 0 24px;
}

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

.product-consultation-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

@media (max-width: 599px) {
	.product-consultation-form__row {
		grid-template-columns: 1fr;
		gap: 14px;
	}
}

.product-consultation-form__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	width: 100%;
}

.product-consultation-form__label {
	display: flex;
	align-items: center;
	gap: 6px;
	font-family: var(--font-inter);
	font-size: 13.5px;
	font-weight: 600;
	color: #334155;
	margin: 0;
}

.product-consultation-form__label svg {
	flex-shrink: 0;
}

.product-consultation-form__input,
.product-consultation-form__textarea {
	width: 100% !important;
	max-width: 100% !important;
	display: block !important;
	box-sizing: border-box !important;
	padding: 11px 14px;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	font-family: var(--font-inter);
	font-size: 14px;
	color: #111827;
	background: #ffffff;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-consultation-form__input::placeholder,
.product-consultation-form__textarea::placeholder {
	color: #94a3b8;
	font-weight: 400;
}

.product-consultation-form__input:focus,
.product-consultation-form__textarea:focus {
	border-color: #046AB5;
	box-shadow: 0 0 0 3px rgba(4, 106, 181, 0.1);
}

.product-consultation-form__textarea {
	resize: vertical;
	min-height: 85px;
}

.product-consultation-form__submit-btn {
	width: 100%;
	background: #046AB5;
	color: #ffffff;
	border: none;
	border-radius: 6px;
	padding: 13px 20px;
	font-family: var(--font-inter);
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	transition: all 0.2s ease;
	margin-top: 4px;
	box-shadow: 0 4px 14px rgba(4, 106, 181, 0.2);
}

.product-consultation-form__submit-btn:hover {
	background: #046AB5;
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(4, 106, 181, 0.25);
}

.product-consultation-form__submit-btn:disabled {
	opacity: 0.65;
	cursor: not-allowed;
	transform: none;
}

.product-consultation-form__alert {
	padding: 10px 14px;
	border-radius: 6px;
	font-size: 13.5px;
	font-weight: 500;
}

.product-consultation-form__alert--success {
	background-color: #ecfdf5;
	color: #065f46;
	border: 1px solid #a7f3d0;
}

.product-consultation-form__alert--error {
	background-color: #fef2f2;
	color: #991b1b;
	border: 1px solid #fecaca;
}

.product-consultation-form__actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
}

@media (max-width: 599px) {
	.product-consultation-form__actions {
		gap: 12px;
	}
}

.product-consultation-form__actions .product-consultation-form__submit-btn {
	width: auto;
	flex: 1 1 auto;
	margin-top: 0;
	white-space: nowrap;
}

@media (max-width: 599px) {
	.product-consultation-form__actions .product-consultation-form__submit-btn {
		width: 100%;
		flex: 1 1 100%;
	}
}

.product-consultation-form__hotline {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-family: var(--font-hanken);
	font-size: 17px;
	font-weight: 700;
	color: #0b1b33;
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.2s ease;
}

.product-consultation-form__hotline svg {
	flex-shrink: 0;
	color: #046AB5;
}

.product-consultation-form__hotline:hover {
	color: #046AB5;
}

.product-consultation-form__privacy {
	margin: 4px 0 0;
	font-family: var(--font-inter);
	font-size: 12.5px;
	line-height: 19px;
	color: #64748b;
}

/* Thanh hành động cố định chỉ dành cho màn hình từ quảng cáo/mobile. */
.product-single__mobile-actions {
	display: none;
}

@media (max-width: 767px) {
	.product-single {
		padding-bottom: 78px;
	}

	.product-hero {
		padding-block: 28px 40px;
	}

	.product-hero__grid {
		gap: 28px;
	}

	.product-hero__main-image-wrap {
		height: auto;
		aspect-ratio: 4 / 5;
	}

	.product-hero__thumbnails {
		grid-template-columns: repeat(4, minmax(64px, 1fr));
		overflow-x: auto;
	}

	.product-hero__thumb-item {
		height: 68px;
	}

	.product-config__ceilings-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.product-hero__actions {
		flex-direction: column;
		gap: 10px;
	}

	.product-hero__btn-quote,
	.product-hero__btn-call {
		min-height: 48px;
		font-size: 16px;
	}

	.product-single__mobile-actions {
		position: fixed;
		z-index: 90;
		bottom: 0;
		left: 0;
		right: 0;
		display: grid;
		grid-template-columns: 1fr 1.2fr;
		gap: 8px;
		padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
		border-top: 1px solid #DDE7F0;
		background: rgb(255 255 255 / 0.97);
		box-shadow: 0 -6px 20px rgb(15 49 94 / 0.10);
	}

	.product-single__mobile-actions a {
		display: inline-flex;
		min-height: 46px;
		align-items: center;
		justify-content: center;
		border-radius: 6px;
		font-family: var(--font-hanken, sans-serif);
		font-size: 14px;
		font-weight: 700;
		text-decoration: none;
	}

	.product-single__mobile-call {
		border: 1px solid #046AB5;
		color: #046AB5;
	}

	.product-single__mobile-quote {
		background: #046AB5;
		color: #ffffff;
	}
}
