/* ============================================================
   HotelLock — Design System
   Palette: đỏ brand (logo) + charcoal + bạc thép, nền sáng
   Font: Be Vietnam Pro | Mobile-first | Không jQuery
   ============================================================ */

:root {
	/* Brand */
	--hl-brand: #c62128;
	--hl-brand-dark: #9d181e;
	--hl-brand-soft: #fdeef0;
	--hl-ink: #16181d;
	--hl-ink-2: #3d434d;
	--hl-steel: #8a9099;
	--hl-line: #e6e8ec;
	--hl-bg: #ffffff;
	--hl-bg-alt: #f6f7f9;

	--hl-zalo: #0065f7;

	--hl-radius: 10px;
	--hl-radius-lg: 16px;
	--hl-shadow: 0 1px 3px rgb(16 24 40 / .07), 0 8px 24px rgb(16 24 40 / .06);
	--hl-shadow-hover: 0 4px 12px rgb(16 24 40 / .12), 0 16px 40px rgb(16 24 40 / .1);

	--hl-container: 1200px;
	--hl-header-h: 76px;

	--hl-font: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Reset nhẹ ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--hl-font);
	font-size: 16px;
	line-height: 1.65;
	color: var(--hl-ink-2);
	background: var(--hl-bg);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--hl-brand); text-decoration: none; }
a:hover { color: var(--hl-brand-dark); }
h1, h2, h3, h4, h5, h6 {
	color: var(--hl-ink);
	line-height: 1.25;
	margin: 0 0 .6em;
	font-weight: 700;
	overflow-wrap: break-word;
}
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }
hr { border: 0; border-top: 1px solid var(--hl-line); margin: 2em 0; }
table { border-collapse: collapse; width: 100%; }
th, td { border: 1px solid var(--hl-line); padding: .55em .8em; text-align: left; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	border: 0;
}
.skip-link:focus {
	position: fixed; top: 8px; left: 8px; z-index: 10000;
	width: auto; height: auto; clip: auto;
	background: var(--hl-ink); color: #fff; padding: 8px 16px; border-radius: 8px;
}

/* ---------- Layout ---------- */
.hl-container { max-width: var(--hl-container); margin-inline: auto; padding-inline: 16px; }
.hl-main { min-height: 40vh; }

.hl-section { padding: 40px 0; }
.hl-section.hl-has-bg { background-size: cover; background-position: center; }
.hl-section .hl-row + .hl-row { margin-top: 16px; }

/* ---------- Buttons ---------- */
.hl-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 22px;
	border-radius: var(--hl-radius);
	font-weight: 600;
	font-size: 15px;
	line-height: 1.2;
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
	white-space: nowrap;
}
.hl-btn:active { transform: translateY(1px); }
.hl-btn-primary { background: var(--hl-brand); color: #fff; box-shadow: 0 2px 8px rgb(198 33 40 / .3); }
.hl-btn-primary:hover { background: var(--hl-brand-dark); color: #fff; box-shadow: 0 4px 14px rgb(198 33 40 / .35); }
.hl-btn-ghost { border-color: var(--hl-line); color: var(--hl-ink); background: #fff; }
.hl-btn-ghost:hover { border-color: var(--hl-brand); color: var(--hl-brand); }
.hl-btn-zalo { background: var(--hl-zalo); color: #fff; }
.hl-btn-zalo:hover { color: #fff; filter: brightness(1.08); }
.hl-btn-lg { padding: 14px 28px; font-size: 16px; }
.hl-btn-sm { padding: 7px 14px; font-size: 13px; }

/* ---------- Header ---------- */
.hl-topbar {
	background: var(--hl-ink);
	color: #cfd3da;
	font-size: 13px;
}
.hl-topbar-in { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 12px; }
.hl-topbar-phone { color: #fff; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.hl-topbar-phone:hover { color: #ffb4b8; }

.hl-header-main {
	background: #fff;
	border-bottom: 1px solid var(--hl-line);
	position: sticky;
	top: 0;
	z-index: 900;
	box-shadow: 0 1px 2px rgb(16 24 40 / .04);
}
.hl-header-in {
	display: flex;
	align-items: center;
	gap: 20px;
	min-height: var(--hl-header-h);
}
.hl-brand { flex: 0 0 auto; }
.hl-brand-link { display: inline-flex; align-items: center; }
.hl-logo, .custom-logo { height: 56px !important; width: auto !important; max-width: 220px; object-fit: contain; }

.hl-nav { margin-left: auto; }
.hl-nav-list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.hl-nav-list > li { position: relative; }
.hl-nav-list a {
	display: block;
	padding: 10px 14px;
	color: var(--hl-ink);
	font-weight: 600;
	font-size: 15px;
	border-radius: 8px;
}
.hl-nav-list a:hover, .hl-nav-list .current-menu-item > a,
.hl-nav-list .current-menu-parent > a, .hl-nav-list .current-menu-ancestor > a {
	color: var(--hl-brand);
	background: var(--hl-brand-soft);
}
/* Submenu */
.hl-nav-list ul {
	position: absolute;
	top: 100%; left: 0;
	min-width: 230px;
	background: #fff;
	border: 1px solid var(--hl-line);
	border-radius: 10px;
	box-shadow: var(--hl-shadow);
	padding: 6px;
	margin: 0;
	list-style: none;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: all .18s ease;
	z-index: 950;
}
.hl-nav-list li:hover > ul, .hl-nav-list li:focus-within > ul {
	opacity: 1; visibility: visible; transform: translateY(0);
}
.hl-nav-list ul ul { top: -6px; left: 100%; }
.hl-nav-list ul a { padding: 9px 12px; font-weight: 500; font-size: 14px; }

.hl-header-cta { display: flex; gap: 8px; flex: 0 0 auto; }

.hl-burger {
	display: none;
	background: none;
	border: 0;
	width: 40px; height: 40px;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	cursor: pointer;
	padding: 0;
}
.hl-burger span { width: 22px; height: 2px; background: var(--hl-ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.hl-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hl-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hl-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 991px) {
	.hl-burger { display: flex; }
	.hl-header-cta .hl-btn-zalo { display: none; }
	.hl-nav {
		position: fixed;
		inset: 0;
		top: 0; left: 0;
		background: #fff;
		padding: 90px 20px 30px;
		transform: translateX(-100%);
		transition: transform .25s ease;
		overflow-y: auto;
		z-index: 990;
		margin: 0;
	}
	.hl-nav.is-open { transform: translateX(0); box-shadow: 0 0 60px rgb(0 0 0 / .25); }
	.hl-nav-list { flex-direction: column; gap: 2px; }
	.hl-nav-list a { font-size: 16px; padding: 13px 12px; border-bottom: 1px solid var(--hl-line); border-radius: 0; }
	.hl-nav-list ul { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; min-width: 0; }
	.hl-topbar-note { display: none; }
	.hl-topbar-in { justify-content: center; }
}

/* ---------- Hero ---------- */
.hl-hero {
	background:
		radial-gradient(1100px 420px at 85% -60px, rgb(198 33 40 / .08), transparent 60%),
		linear-gradient(180deg, #fff 0%, var(--hl-bg-alt) 100%);
	background-size: cover;
	background-position: center;
	padding: 64px 0 56px;
	border-bottom: 1px solid var(--hl-line);
}
.hl-hero-in { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.hl-hero-kicker {
	display: inline-block;
	background: var(--hl-brand-soft);
	color: var(--hl-brand);
	font-weight: 700;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: .06em;
	padding: 6px 12px;
	border-radius: 999px;
	margin-bottom: 16px;
}
.hl-hero-title { font-size: clamp(28px, 4.6vw, 44px); font-weight: 800; margin-bottom: 14px; }
.hl-hero-sub { font-size: 17px; color: var(--hl-ink-2); max-width: 560px; margin-bottom: 22px; }
.hl-hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.hl-hero-usp { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin: 0; padding: 0; }
.hl-hero-usp li { font-size: 14px; font-weight: 600; color: var(--hl-ink-2); }
.hl-hero-usp li::before { content: "✓"; color: var(--hl-brand); font-weight: 800; margin-right: 6px; }
.hl-hero-visual { display: flex; justify-content: center; }
.hl-hero-logo { max-width: 340px; width: 100%; height: auto; filter: drop-shadow(0 24px 48px rgb(22 24 29 / .18)); }

@media (max-width: 767px) {
	.hl-hero { padding: 40px 0; }
	.hl-hero-in { grid-template-columns: 1fr; gap: 24px; }
	.hl-hero-visual { order: -1; }
	.hl-hero-logo { max-width: 220px; }
}

/* ---------- Sections home ---------- */
.hl-home-section { padding: 56px 0; }
.hl-home-alt { background: var(--hl-bg-alt); }
.hl-home-title { font-size: clamp(22px, 3vw, 30px); margin-bottom: 28px; text-align: center; }
.hl-home-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.hl-home-head .hl-home-title { margin-bottom: 0; }
.hl-home-more { font-weight: 600; }
.hl-home-content { border-top: 1px solid var(--hl-line); }

/* ---------- Danh mục sản phẩm ---------- */
.hl-product-cats {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 16px;
}
.hl-cats-lg { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; }
.hl-product-cat {
	background: #fff;
	border: 1px solid var(--hl-line);
	border-radius: var(--hl-radius-lg);
	padding: 18px 14px;
	text-align: center;
	font-weight: 600;
	color: var(--hl-ink);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.hl-product-cat:hover { box-shadow: var(--hl-shadow-hover); transform: translateY(-3px); border-color: var(--hl-brand); color: var(--hl-brand); }
.hl-product-cat img { width: 96px; height: 96px; object-fit: contain; border-radius: 12px; }
.hl-cat-placeholder { width: 96px; height: 96px; display: grid; place-items: center; font-size: 40px; background: var(--hl-bg-alt); border-radius: 12px; }

/* ---------- Grid sản phẩm ---------- */
.hl-products {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 20px;
}
.hl-product-card {
	background: #fff;
	border: 1px solid var(--hl-line);
	border-radius: var(--hl-radius-lg);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: box-shadow .2s ease, transform .2s ease;
}
.hl-product-card:hover { box-shadow: var(--hl-shadow-hover); transform: translateY(-3px); }
.hl-product-thumb { display: block; aspect-ratio: 1; background: var(--hl-bg-alt); }
.hl-product-thumb img, .hl-product-img { width: 100%; height: 100%; object-fit: contain; }
.hl-product-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.hl-product-title { font-size: 15px; font-weight: 600; margin: 0; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hl-product-title a { color: var(--hl-ink); }
.hl-product-title a:hover { color: var(--hl-brand); }
.hl-product-price { font-weight: 700; color: var(--hl-brand); min-height: 1.4em; }
.hl-product-price .hl-price-contact, .hl-price-contact { color: var(--hl-steel); font-weight: 600; font-size: 14px; }
.hl-product-price del { color: var(--hl-steel); font-weight: 500; margin-right: 6px; }
.hl-product-price ins { text-decoration: none; }
.hl-product-cta { display: flex; gap: 8px; margin-top: auto; }
.hl-product-cta .hl-btn { flex: 1; }

/* ---------- Why us ---------- */
.hl-why { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.hl-why-item {
	background: #fff;
	border: 1px solid var(--hl-line);
	border-radius: var(--hl-radius-lg);
	padding: 26px 22px;
	text-align: center;
}
.hl-why-ic { font-size: 34px; display: block; margin-bottom: 12px; }
.hl-why-item h3 { font-size: 17px; margin-bottom: 8px; }
.hl-why-item p { margin: 0; font-size: 14px; }

/* ---------- Bài viết / dự án ---------- */
.hl-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.hl-post-card {
	background: #fff;
	border: 1px solid var(--hl-line);
	border-radius: var(--hl-radius-lg);
	overflow: hidden;
	transition: box-shadow .2s ease, transform .2s ease;
}
.hl-post-card:hover { box-shadow: var(--hl-shadow-hover); transform: translateY(-3px); }
.hl-post-card a { display: block; color: inherit; }
.hl-post-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.hl-post-card h2, .hl-post-card h3 { font-size: 16px; margin: 14px 16px 6px; line-height: 1.45; }
.hl-post-card time { display: block; margin: 0 16px 16px; font-size: 13px; color: var(--hl-steel); }
.hl-post-excerpt { margin: 0 16px 16px; font-size: 14px; }
.hl-post-card-title { margin: 14px 16px 6px; }

/* ---------- Prose (nội dung dài) ---------- */
.hl-prose { max-width: 860px; }
.hl-prose h2 { margin-top: 1.8em; }
.hl-prose img { border-radius: var(--hl-radius); }
.hl-single { padding: 40px 0 64px; }
.hl-single-meta { color: var(--hl-steel); font-size: 14px; }
.hl-single-thumb { margin: 0 0 24px; }
.hl-single-thumb img { border-radius: var(--hl-radius-lg); }

/* ---------- Trang tiêu đề ---------- */
.hl-page-head { padding: 36px 0 8px; }
.hl-page-title { font-size: clamp(24px, 3.4vw, 34px); margin-bottom: .3em; }
.hl-page-desc { color: var(--hl-steel); }

/* ---------- Phân trang ---------- */
.hl-posts + .pagination, .pagination { margin: 32px 0; display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.pagination .page-numbers {
	display: inline-grid; place-items: center;
	min-width: 40px; height: 40px; padding: 0 10px;
	border: 1px solid var(--hl-line); border-radius: 8px;
	color: var(--hl-ink); font-weight: 600; background: #fff;
}
.pagination .page-numbers.current { background: var(--hl-brand); border-color: var(--hl-brand); color: #fff; }
.pagination .page-numbers:hover:not(.current) { border-color: var(--hl-brand); color: var(--hl-brand); }

/* ============================================================
   FLATSOME COMPAT STYLES
   ============================================================ */

.hl-row { display: flex; flex-wrap: wrap; gap: 20px; }
.hl-row > .hl-col { flex: 1 1 0; min-width: 0; }
.hl-col { width: 100%; }

/* span 1..12 → basis % */
.hl-col-1 { flex: 0 0 8.3333%; max-width: 8.3333%; }
.hl-col-2 { flex: 0 0 16.6667%; max-width: 16.6667%; }
.hl-col-3 { flex: 0 0 25%; max-width: 25%; }
.hl-col-4 { flex: 0 0 33.3333%; max-width: 33.3333%; }
.hl-col-5 { flex: 0 0 41.6667%; max-width: 41.6667%; }
.hl-col-6 { flex: 0 0 50%; max-width: 50%; }
.hl-col-7 { flex: 0 0 58.3333%; max-width: 58.3333%; }
.hl-col-8 { flex: 0 0 66.6667%; max-width: 66.6667%; }
.hl-col-9 { flex: 0 0 75%; max-width: 75%; }
.hl-col-10 { flex: 0 0 83.3333%; max-width: 83.3333%; }
.hl-col-11 { flex: 0 0 91.6667%; max-width: 91.6667%; }
.hl-col-12 { flex: 0 0 100%; max-width: 100%; }

@media (max-width: 767px) {
	.hl-row { flex-direction: column; gap: 14px; }
	.hl-row > .hl-col { max-width: 100%; }
	[class*="hl-col-"] { flex: 0 0 100% !important; max-width: 100% !important; }
}

.hl-text-center { text-align: center; }
.hl-text-left { text-align: left; }
.hl-text-right { text-align: right; }

.hl-gap { width: 100%; }

.hl-banner {
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--hl-radius-lg);
	background-size: cover;
	background-position: center;
	overflow: hidden;
	color: #fff;
	text-align: center;
	padding: 30px;
	position: relative;
}
.hl-banner::before { content: ""; position: absolute; inset: 0; background: rgb(10 12 16 / .25); }
.hl-banner > .hl-banner-inner { position: relative; z-index: 1; max-width: 640px; }
.hl-banner a.hl-banner { display: flex; }
.hl-banner h2, .hl-banner h3 { color: #fff; }
.hl-banner-hover { transition: transform .25s ease, box-shadow .25s ease; }
.hl-banner-hover:hover { transform: scale(1.01); box-shadow: var(--hl-shadow-hover); }

.hl-textbox { width: 100%; }
.hl-title { position: relative; }
.hl-divider { margin-inline: auto; width: 80px; border-top-width: 3px; border-top-color: var(--hl-brand); }

.hl-message {
	background: var(--hl-brand-soft);
	border: 1px solid rgb(198 33 40 / .18);
	border-radius: var(--hl-radius);
	padding: 16px 20px;
}

.hl-image { text-align: center; }
.hl-imagebox {
	background: #fff;
	border: 1px solid var(--hl-line);
	border-radius: var(--hl-radius-lg);
	overflow: hidden;
	height: 100%;
}
.hl-imagebox img { width: 100%; object-fit: cover; }
.hl-imagebox-body { padding: 18px; }

.hl-banner-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 767px) { .hl-banner-grid { grid-template-columns: 1fr; } }

/* Slider scroll-snap */
.hl-slider { position: relative; }
.hl-slider-track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	border-radius: var(--hl-radius-lg);
	scrollbar-width: none;
	gap: 0;
}
.hl-slider-track::-webkit-scrollbar { display: none; }
.hl-slider-track > * { flex: 0 0 100%; scroll-snap-align: center; }
.hl-slider-dots { display: flex; justify-content: center; gap: 8px; padding: 12px 0 4px; }
.hl-slider-dots button {
	width: 10px; height: 10px; border-radius: 50%;
	border: 0; background: var(--hl-line); cursor: pointer; padding: 0;
}
.hl-slider-dots button.is-active { background: var(--hl-brand); }

.hl-video { position: relative; padding-top: 56.25%; border-radius: var(--hl-radius-lg); overflow: hidden; }
.hl-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hl-btn-video { background: var(--hl-ink); color: #fff; }
.hl-btn-video:hover { background: #000; color: #fff; }

.hl-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.hl-gallery img { border-radius: var(--hl-radius); width: 100%; height: 160px; object-fit: cover; }

.hl-feature {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	background: #fff;
	border: 1px solid var(--hl-line);
	border-radius: var(--hl-radius);
	padding: 16px;
	height: 100%;
}
.hl-feature-icon img { width: 44px; height: 44px; object-fit: contain; }
.hl-feature-body { flex: 1; min-width: 0; }

.hl-price-table {
	background: #fff;
	border: 1px solid var(--hl-line);
	border-radius: var(--hl-radius-lg);
	padding: 28px 24px;
	text-align: center;
	height: 100%;
	box-shadow: var(--hl-shadow);
}

.hl-testimonial {
	margin: 0;
	background: #fff;
	border: 1px solid var(--hl-line);
	border-radius: var(--hl-radius-lg);
	padding: 24px;
	height: 100%;
}
.hl-testimonial img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; margin-bottom: 12px; }
.hl-testimonial blockquote { margin: 0 0 12px; font-style: italic; }
.hl-testimonial figcaption { font-weight: 700; color: var(--hl-ink); }

.hl-member { text-align: center; background: #fff; border: 1px solid var(--hl-line); border-radius: var(--hl-radius-lg); padding: 20px; height: 100%; }
.hl-member img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin: 0 auto 12px; }
.hl-member-role { display: block; color: var(--hl-steel); font-size: 13px; margin-bottom: 8px; }

/* Accordion (details/summary native) */
.hl-accordion-item {
	border: 1px solid var(--hl-line);
	border-radius: var(--hl-radius);
	margin-bottom: 10px;
	background: #fff;
	overflow: hidden;
}
.hl-accordion-item summary {
	cursor: pointer;
	font-weight: 700;
	color: var(--hl-ink);
	padding: 14px 18px;
	list-style: none;
	position: relative;
	padding-right: 40px;
}
.hl-accordion-item summary::-webkit-details-marker { display: none; }
.hl-accordion-item summary::after {
	content: "+";
	position: absolute; right: 18px; top: 50%;
	transform: translateY(-50%);
	font-size: 20px; color: var(--hl-brand);
}
.hl-accordion-item[open] summary::after { content: "–"; }
.hl-accordion-body { padding: 0 18px 16px; }

.hl-accordion-title { margin: 0; padding: 12px 18px; font-size: 16px; }

/* Tabs → xếp chồng */
.hl-tab { border: 1px solid var(--hl-line); border-radius: var(--hl-radius); margin-bottom: 12px; background: #fff; }
.hl-tab-title { margin: 0; padding: 13px 18px; background: var(--hl-bg-alt); font-size: 15px; }
.hl-tab-body { padding: 16px 18px; }

.hl-bullets { list-style: none; padding: 0; margin: 0 0 1em; }
.hl-bullet { position: relative; padding-left: 26px; margin-bottom: 8px; }
.hl-bullet::before {
	content: "▸";
	position: absolute; left: 4px;
	color: var(--hl-brand);
	font-weight: 800;
}

.hl-menu { list-style: none; padding: 0; margin: 0; }
.hl-menu-divider { border-top: 1px solid var(--hl-line); margin: 8px 0; }

.hl-flipbox { display: grid; gap: 14px; }
.hl-flipbox > * { background: #fff; border: 1px solid var(--hl-line); border-radius: var(--hl-radius); padding: 18px; }

.hl-follow { display: flex; gap: 10px; flex-wrap: wrap; }
.hl-uxhtml, .hl-lightbox, .hl-uxtext, .hl-hotspot { width: 100%; }
.hl-payment-icons { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* ============================================================
   WOOCOMMERCE OVERRIDES
   ============================================================ */
.hl-woo-wrap { padding-bottom: 64px; }
/* Woo tự in h1 "Shop" — đã có hl-page-title phía trên, ẩn bản trùng */
.hl-woo-wrap > .page-title { display: none; }
.hl-woo-wrap h1.page-title { display: none; }

ul.products, .woocommerce ul.products {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 20px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}
ul.products::before, ul.products::after, .woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
ul.products li.product, .woocommerce ul.products li.product {
	width: auto !important;
	margin: 0 !important;
	float: none !important;
	background: #fff;
	border: 1px solid var(--hl-line);
	border-radius: var(--hl-radius-lg);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: box-shadow .2s ease, transform .2s ease;
	position: relative;
}
ul.products li.product:hover { box-shadow: var(--hl-shadow-hover); transform: translateY(-3px); }
ul.products li.product a img { width: 100%; aspect-ratio: 1; object-fit: contain; margin: 0; }
ul.products li.product .woocommerce-loop-product__title {
	font-size: 15px !important;
	padding: 0 16px !important;
	color: var(--hl-ink);
	font-weight: 600;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
ul.products li.product .price { padding: 0 16px; color: var(--hl-brand); font-weight: 700; }
ul.products li.product .price .hl-price-contact { color: var(--hl-steel); font-weight: 600; font-size: 14px; }
ul.products li.product .button { display: none; }

/* Single product */
.single-product div.product {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 4fr);
	gap: 40px;
	margin: 32px 0;
}
@media (max-width: 767px) {
	.single-product div.product { grid-template-columns: 1fr; gap: 20px; }
}
.single-product .woocommerce-product-gallery { background: #fff; border: 1px solid var(--hl-line); border-radius: var(--hl-radius-lg); padding: 12px; }
.single-product .product_title { font-size: clamp(22px, 3vw, 30px); }
.single-product .price { font-size: 24px; font-weight: 800; color: var(--hl-brand); }
.single-product .price .hl-price-contact { font-size: 17px; }
.single-product div.product form.cart { display: none; }
.single-product .woocommerce-product-details__short-description { margin: 16px 0; }
.single-product .related.products, .single-product .up-sells { grid-column: 1 / -1; }
.single-product .related.products > h2 { font-size: 22px; margin: 40px 0 20px; }

.woocommerce-message, .woocommerce-info, .woocommerce-error {
	border-radius: var(--hl-radius);
	background: var(--hl-bg-alt);
	border-top: 0;
	border-left: 3px solid var(--hl-brand);
	padding: 12px 16px;
	list-style: none;
}

/* Result count + ordering */
.woocommerce-result-count { color: var(--hl-steel); font-size: 14px; }
.woocommerce-ordering { margin-bottom: 16px; }
.woocommerce-ordering select { border: 1px solid var(--hl-line); border-radius: 8px; padding: 8px 12px; background: #fff; font-family: inherit; }

/* Pagination Woo */
.woocommerce-pagination { margin-top: 32px; }
.woocommerce-pagination ul { display: flex; gap: 6px; justify-content: center; list-style: none; margin: 0; padding: 0; border: 0; }
.woocommerce-pagination ul li { border: 0 !important; }
.woocommerce-pagination a, .woocommerce-pagination span {
	display: inline-grid; place-items: center;
	min-width: 40px; height: 40px; padding: 0 10px;
	border: 1px solid var(--hl-line); border-radius: 8px;
	color: var(--hl-ink); font-weight: 600; background: #fff;
}
.woocommerce-pagination .current { background: var(--hl-brand); border-color: var(--hl-brand); color: #fff; }

/* Tabs đơn sản phẩm → dùng lại hl-tabs style */
.woocommerce div.product .woocommerce-tabs {
	grid-column: 1 / -1;
	border: 1px solid var(--hl-line);
	border-radius: var(--hl-radius-lg);
	background: #fff;
	overflow: hidden;
}
.woocommerce div.product .woocommerce-tabs ul.tabs { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0; padding: 10px 10px 0; border-bottom: 1px solid var(--hl-line); background: var(--hl-bg-alt); }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { border: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: transparent; border: 0; border-radius: 8px 8px 0 0; margin: 0; padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 10px 18px; font-weight: 600; color: var(--hl-ink-2); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: #fff; border: 1px solid var(--hl-line); border-bottom-color: #fff; margin-bottom: -1px; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--hl-brand); }
.woocommerce div.product .woocommerce-Tabs-panel { padding: 24px; }
/* Woo in lại heading trùng với tiêu đề tab — ẩn heading đầu mỗi panel */
.woocommerce div.product .woocommerce-Tabs-panel > h2:first-child { display: none; }

/* ---------- Footer ---------- */
.hl-footer { background: var(--hl-ink); color: #a9aeb8; margin-top: 56px; font-size: 14px; }
.hl-footer a { color: #d4d8de; }
.hl-footer a:hover { color: #fff; }
.hl-footer-grid {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr 1fr;
	gap: 32px;
	padding: 48px 16px 32px;
}
@media (max-width: 991px) { .hl-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575px) { .hl-footer-grid { grid-template-columns: 1fr; } }
.hl-footer-logo { height: 64px; width: auto; margin-bottom: 14px; }
.hl-footer-desc { max-width: 300px; }
.hl-footer-title { color: #fff; font-size: 15px; margin-bottom: 14px; }
.hl-footer ul { list-style: none; padding: 0; margin: 0; }
.hl-footer li { padding: 4px 0; }
.hl-footer-hotline { font-size: 16px; }
.hl-footer-hotline a { font-weight: 800; font-size: 20px; color: #fff; }
.hl-footer-contact li { padding: 3px 0; }
.hl-footer-bottom { border-top: 1px solid rgb(255 255 255 / .08); padding: 16px 0; text-align: center; font-size: 13px; }
.hl-footer-bottom p { margin: 0; }

/* ---------- Misc ---------- */
.hl-404 { text-align: center; padding: 80px 0; }
.hl-404-code { font-size: 96px; color: var(--hl-brand); margin-bottom: 8px; }
.hl-empty { padding: 40px 0; color: var(--hl-steel); }
.hl-searchform { display: flex; gap: 8px; max-width: 480px; padding-bottom: 40px; }
.hl-searchform input {
	flex: 1;
	border: 1px solid var(--hl-line);
	border-radius: var(--hl-radius);
	padding: 10px 14px;
	font-family: inherit;
	font-size: 15px;
}

/* ---------- Breadcrumb ---------- */
.hl-has-bc { padding-top: 20px; }
.hl-breadcrumb { margin-bottom: 10px; font-size: 13px; }
.hl-breadcrumb-list { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; margin: 0; padding: 0; color: var(--hl-steel); }
.hl-breadcrumb-list li { display: flex; align-items: center; }
.hl-breadcrumb-list li + li::before { content: "/"; margin: 0 7px; color: var(--hl-line); }
.hl-breadcrumb-list a { color: var(--hl-steel); }
.hl-breadcrumb-list a:hover { color: var(--hl-brand); }
.hl-breadcrumb-list [aria-current="page"] { color: var(--hl-ink); font-weight: 600; }

/* ---------- Sidebar shop ---------- */
.hl-shop-layout {
	display: grid;
	grid-template-columns: 262px minmax(0, 1fr);
	gap: 28px;
	align-items: start;
	padding-bottom: 56px;
}
@media (max-width: 991px) {
	.hl-shop-layout { grid-template-columns: 1fr; }
	.hl-shop-sidebar { order: 2; }
	.hl-shop-main { order: 1; }
}
.hl-shop-sidebar { position: sticky; top: calc(var(--hl-header-h) + 16px); }
@media (max-width: 991px) { .hl-shop-sidebar { position: static; } }

.hl-side-box {
	background: #fff;
	border: 1px solid var(--hl-line);
	border-radius: var(--hl-radius-lg);
	padding: 18px;
	margin-bottom: 20px;
}
.hl-side-title, .hl-side-cta h3 { font-size: 16px; margin-bottom: 12px; }

.hl-cat-tree, .hl-cat-sub { list-style: none; margin: 0; padding: 0; }
.hl-cat-tree > li > a {
	display: flex; align-items: center; justify-content: space-between;
	padding: 9px 10px;
	border-radius: 8px;
	color: var(--hl-ink);
	font-weight: 600;
	font-size: 14.5px;
}
.hl-cat-tree > li > a:hover { background: var(--hl-bg-alt); color: var(--hl-brand); }
.hl-cat-tree li.is-current > a { background: var(--hl-brand-soft); color: var(--hl-brand); }
.hl-cat-sub { margin: 2px 0 8px 10px; border-left: 2px solid var(--hl-line); padding-left: 10px; }
.hl-cat-sub a {
	display: block;
	padding: 6px 8px;
	font-size: 13.5px;
	color: var(--hl-ink-2);
	border-radius: 6px;
}
.hl-cat-sub a:hover { color: var(--hl-brand); }
.hl-cat-sub li.is-current > a { color: var(--hl-brand); font-weight: 700; }

.hl-side-cta { background: linear-gradient(160deg, var(--hl-ink) 0%, #2a2e36 100%); border: 0; color: #cfd3da; }
.hl-side-cta h3 { color: #fff; }
.hl-side-cta p { font-size: 13.5px; }
.hl-side-cta .hl-btn { width: 100%; margin-bottom: 8px; }
.hl-btn-block { display: flex; }

.hl-subcat-tiles { margin: 8px 0 24px; }
.hl-product-cat.is-current { border-color: var(--hl-brand); color: var(--hl-brand); background: var(--hl-brand-soft); }

/* ---------- Trust badges + PDP CTA ---------- */
.hl-trust {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px 14px;
	list-style: none;
	margin: 18px 0;
	padding: 14px 16px;
	background: var(--hl-bg-alt);
	border-radius: var(--hl-radius);
}
.hl-trust li { display: flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--hl-ink); }
.hl-trust-ic { font-size: 16px; }

.hl-pdp-cta {
	background: #fff;
	border: 1px solid var(--hl-line);
	border-radius: var(--hl-radius-lg);
	padding: 16px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.hl-pdp-cta .hl-btn { flex: 1 1 auto; }
.hl-pdp-cta-note { flex-basis: 100%; margin: 0; font-size: 12.5px; color: var(--hl-steel); text-align: center; }

/* ---------- Sticky CTA mobile (single product) ---------- */
.hl-sticky-cta { display: none; }
@media (max-width: 767px) {
	.hl-sticky-cta {
		position: fixed;
		left: 0; right: 0; bottom: 0;
		display: flex;
		gap: 10px;
		padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
		background: #fff;
		box-shadow: 0 -4px 20px rgb(16 24 40 / .12);
		z-index: 800;
	}
	.hl-sticky-cta .hl-btn { flex: 1; }
	/* Chừa chỗ cho thanh CTA để không che nội dung/footer */
	body.hl-catalog .hl-footer { padding-bottom: 76px; }
}

/* ---------- Category chips (news) ---------- */
.hl-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.hl-chip {
	display: inline-block;
	padding: 7px 16px;
	border-radius: 999px;
	border: 1px solid var(--hl-line);
	background: #fff;
	color: var(--hl-ink);
	font-size: 13.5px;
	font-weight: 600;
	transition: all .15s ease;
}
.hl-chip:hover { border-color: var(--hl-brand); color: var(--hl-brand); }
.hl-chip.is-active { background: var(--hl-brand); border-color: var(--hl-brand); color: #fff; }
.hl-chip-mini { padding: 3px 10px; font-size: 12px; background: var(--hl-brand-soft); border: 0; color: var(--hl-brand); }

/* ---------- Featured hero + news grid ---------- */
.hl-news-wrap { padding-bottom: 40px; }
.hl-featured {
	background: #fff;
	border: 1px solid var(--hl-line);
	border-radius: var(--hl-radius-lg);
	overflow: hidden;
	margin-bottom: 28px;
	transition: box-shadow .2s ease, transform .2s ease;
}
.hl-featured:hover { box-shadow: var(--hl-shadow-hover); transform: translateY(-2px); }
.hl-featured-link { display: grid; grid-template-columns: 1.15fr 1fr; color: inherit; }
.hl-featured-thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--hl-bg-alt); }
.hl-featured-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hl-featured-thumb .hl-cat-placeholder { width: 100%; height: 100%; display: grid; place-items: center; font-size: 64px; }
.hl-featured-body { padding: 28px; display: flex; flex-direction: column; gap: 10px; justify-content: center; align-items: flex-start; }
.hl-featured-title { font-size: clamp(20px, 2.6vw, 26px); margin: 0; }
.hl-featured-excerpt { margin: 0; color: var(--hl-ink-2); }
.hl-featured-date { color: var(--hl-steel); font-size: 13px; }
@media (max-width: 767px) {
	.hl-featured-link { grid-template-columns: 1fr; }
	.hl-featured-body { padding: 18px; }
}
.hl-news-grid { margin-bottom: 0; }

/* ---------- Single post: share + nav + related ---------- */
.hl-single-head { margin-bottom: 20px; }
.hl-single-meta { display: flex; align-items: center; gap: 8px; color: var(--hl-steel); font-size: 14px; }
.hl-meta-sep { color: var(--hl-line); }

.hl-share {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	margin: 28px 0;
	padding: 14px 0;
	border-top: 1px solid var(--hl-line);
	border-bottom: 1px solid var(--hl-line);
}
.hl-share-label { font-size: 14px; color: var(--hl-steel); margin-right: 4px; }
.hl-share-btn {
	border: 1px solid var(--hl-line);
	background: #fff;
	border-radius: 999px;
	padding: 7px 16px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--hl-ink);
	cursor: pointer;
	font-family: inherit;
	transition: all .15s ease;
}
.hl-share-btn:hover { color: #fff; }
.hl-share-fb:hover { background: #1877f2; border-color: #1877f2; }
.hl-share-zalo:hover { background: var(--hl-zalo); border-color: var(--hl-zalo); }
.hl-share-copy:hover { background: var(--hl-ink); border-color: var(--hl-ink); }

.hl-post-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	margin: 28px 0;
}
@media (max-width: 575px) { .hl-post-nav { grid-template-columns: 1fr; } }
.hl-post-nav-item {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 14px 16px;
	border: 1px solid var(--hl-line);
	border-radius: var(--hl-radius);
	background: #fff;
	color: var(--hl-ink);
	transition: border-color .15s ease;
}
.hl-post-nav-item:hover { border-color: var(--hl-brand); color: var(--hl-ink); }
.hl-post-nav-item span { font-size: 12.5px; color: var(--hl-steel); }
.hl-post-nav-item strong { font-size: 14.5px; line-height: 1.4; }
.hl-post-nav-next { text-align: right; }

.hl-related h2 { font-size: 20px; margin-bottom: 16px; }
.hl-related { margin-top: 36px; }

/* Wishlist YITH tương thích */
.yith-wcwl-add-button a { background: var(--hl-brand); color: #fff; border-radius: 8px; padding: 8px 14px; }

/* Chuẩn hóa textdomain-free heading của Woo khi catalog */
.woocommerce-products-header__title { display: none; }

/* ---------- HOTELLOCK v2 concept (charcoal + crimson + gold) ---------- */
:root { --hl-char: #1B2430; --hl-char2: #232E3D; --hl-gold: #C9A227; --hl-ivory: #FAF8F4; }
body { background: var(--hl-ivory); }
.hl-wrap { max-width: var(--hl-container); margin: 0 auto; padding: 0 16px; }
.hl-hero2 { padding: 40px 0 38px; }
.hl-hero2-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 30px; align-items: center; }
.hl-hero2-kicker { display: inline-flex; align-items: center; gap: 7px; background: #FBEDED; color: var(--hl-brand); font-weight: 700; font-size: 12.5px; padding: 6px 13px; border-radius: 99px; margin-bottom: 15px; }
.hl-hero2-title { font-size: 33px; line-height: 1.22; color: var(--hl-char); margin-bottom: 13px; }
.hl-hero2-title em { color: var(--hl-brand); font-style: normal; }
.hl-hero2-sub { color: var(--hl-ink-2); max-width: 470px; margin-bottom: 20px; font-size: 15.5px; }
.hl-hero2-cta { display: flex; gap: 10px; margin-bottom: 20px; }
.hl-hero2-cta .hl-btn { padding: 12px 24px; font-size: 14.5px; }
.hl-hero2-img img { box-shadow: 0 10px 30px rgb(27 36 48 / .18); }
.hl-trust2 { background: var(--hl-char); color: #fff; }
.hl-trust2-in { max-width: var(--hl-container); margin: 0 auto; padding: 20px 16px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.hl-trust2-t { display: flex; align-items: center; gap: 13px; }
.hl-trust2-ic { font-size: 24px; }
.hl-trust2-t b { display: block; font-size: 14.5px; color: #fff; }
.hl-trust2-t span { font-size: 12px; color: #AEB8C4; }
.hl-home-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.hl-home-head-l h2 { margin-bottom: 4px; }
.hl-home-sub { font-size: 13.5px; color: var(--hl-ink-2); margin: 0; }
.hl-tech { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.hl-tech-card { background: #fff; border: 1px solid var(--hl-line); border-radius: 13px; overflow: hidden; display: flex; flex-direction: column; transition: .15s; }
.hl-tech-card:hover { border-color: var(--hl-brand); transform: translateY(-2px); }
.hl-tech-noimg { height: 150px; display: grid; place-items: center; background: linear-gradient(160deg, #F2F4F7, #E8ECF2); }
.hl-tech-emoji { font-size: 44px; }
.hl-tech-bd { padding: 14px 15px 16px; }
.hl-tech-bd b { font-size: 15px; color: var(--hl-char); display: block; margin-bottom: 5px; }
.hl-tech-bd p { font-size: 13px; color: var(--hl-ink-2); margin-bottom: 10px; }
.hl-tech-more { color: var(--hl-brand); font-weight: 700; font-size: 13px; }
.hl-project { margin: 34px 0 0; }
.hl-project-in { display: grid; grid-template-columns: 1fr 1fr; border-radius: 16px; overflow: hidden; background: var(--hl-char); color: #fff; }
.hl-project-txt { padding: 38px 34px; display: flex; flex-direction: column; justify-content: center; }
.hl-project-k { color: var(--hl-gold); font-weight: 700; font-size: 12.5px; letter-spacing: .1em; margin-bottom: 10px; }
.hl-project-txt h3 { font-size: 25px; margin-bottom: 12px; line-height: 1.3; color: #fff; }
.hl-project-txt p { color: #B7C1CC; font-size: 14px; margin-bottom: 20px; }
.hl-project-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 22px; }
.hl-stat { background: var(--hl-char2); border-radius: 10px; padding: 13px; text-align: center; }
.hl-stat b { display: block; font-size: 22px; color: var(--hl-gold); }
.hl-stat span { font-size: 11.5px; color: #AEB8C4; }
.hl-btn-gold { background: var(--hl-gold); color: #241C05; padding: 11px 22px; border-radius: 8px; font-weight: 700; width: fit-content; }
.hl-news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.hl-news-card { background: #fff; border: 1px solid var(--hl-line); border-radius: 13px; overflow: hidden; display: block; }
.hl-news-img { display: block; height: 140px; background: linear-gradient(160deg, #F2F4F7, #E8ECF2); }
.hl-news-img img { width: 100%; height: 140px; object-fit: cover; }
.hl-news-bd { padding: 13px 15px; display: block; }
.hl-news-bd h4 { font-size: 14px; line-height: 1.4; margin-bottom: 6px; color: var(--hl-ink); }
.hl-news-bd > span { font-size: 12px; color: var(--hl-steel); }
@media (max-width: 1000px) {
	.hl-hero2-in { grid-template-columns: 1fr; }
	.hl-tech, .hl-why, .hl-news { grid-template-columns: repeat(2, 1fr); }
	.hl-trust2-in { grid-template-columns: repeat(2, 1fr); }
	.hl-project-in { grid-template-columns: 1fr; }
	.hl-project-txt { padding: 26px; }
}
