/*
Theme Name: Blocksy - HP Home Xây Dựng & Sửa Chữa
Theme URI: https://suachuanhatrongoi.vn
Description: Giao diện Blocksy Child Theme chuyên biệt cho Công ty Cổ phần Xây dựng Hải Phát (HP Home) - Giải pháp Xây dựng, Sửa chữa cải tạo nhà trọn gói & Chống thấm triệt để. Chuẩn Responsive Desktop & Mobile, tích hợp Gutenberg, WooCommerce, Form Khảo sát Báo giá và Floating Widgets (Zalo, Hotline, Messenger).
Author: HP Home - Xây Dựng Giá Trị Bền Vững
Template: blocksy
Version: 1.0.0
Text Domain: blocksy-hphome
*/

:root {
	--hp-blue-primary: #0054a6;
	--hp-blue-dark: #003b75;
	--hp-blue-deep: #0b2545;
	--hp-blue-light: #e6f0fa;
	--hp-blue-soft: #f0f7ff;
	--hp-red-primary: #d91b23;
	--hp-red-dark: #b31219;
	--hp-red-soft: #fff1f2;
	--hp-gold: #f59e0b;
	--hp-text-main: #1e293b;
	--hp-text-muted: #475569;
	--hp-border: #cbd5e1;
	--hp-bg-light: #f8fafc;

	/* Ghi đè biến màu mặc định của Blocksy theo nhận diện thương hiệu HP Home */
	--theme-palette-color-1: #0054a6 !important;
	--theme-palette-color-2: #d91b23 !important;
	--theme-palette-color-3: #1e293b !important;
	--theme-palette-color-4: #0b2545 !important;
	--theme-palette-color-5: #cbd5e1 !important;
	--theme-palette-color-6: #f0f7ff !important;
	--theme-palette-color-7: #f8fafc !important;
	--theme-palette-color-8: #ffffff !important;
	--theme-link-initial-color: #0054a6 !important;
	--theme-link-hover-color: #d91b23 !important;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html,
body {
	overflow-x: hidden;
	background-color: #f8fafc !important;
	color: var(--hp-text-main);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	scroll-behavior: smooth;
}

/* Ẩn Header/Footer mặc định của Blocksy để dùng bộ Header/Footer chuyên nghiệp của HP Home */
#header.ct-header,
footer.ct-footer {
	display: none !important;
}

/* Ẩn tiêu đề trang mặc định trên Trang chủ */
body.home .hero-section,
body.home .entry-header,
body.home .page-title,
body.page-template-default.home article > .entry-header {
	display: none !important;
}

body.home .site-main > .ct-container,
body.home .site-main > .ct-container-full,
body.home #main-container .content-area,
body.home [data-vertical-spacing],
body.home article.page,
body.home .entry-content > .alignfull:first-child {
	padding-top: 0 !important;
	margin-top: 0 !important;
}

/* Chuẩn hóa kích thước các khối Gutenberg trên toàn trang */
.entry-content > .wp-block-group.alignfull > .wp-block-columns.alignwide,
.entry-content > .wp-block-group.alignfull > .wp-block-heading,
.entry-content > .wp-block-group.alignfull > p,
.hp-section-inner {
	max-width: 1280px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	width: 100% !important;
}

.entry-content .wp-block-columns {
	display: flex !important;
	flex-wrap: nowrap !important;
	gap: 28px !important;
	width: 100% !important;
	max-width: 1280px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

.entry-content .wp-block-columns > .wp-block-column {
	flex: 1 1 0% !important;
	min-width: 0 !important;
}

/* Làm đẹp tiêu đề các trang con */
body:not(.home) .hero-section,
body:not(.home) .entry-header {
	background: linear-gradient(135deg, #0b2545 0%, #0054a6 100%);
	border-bottom: 4px solid var(--hp-red-primary);
	padding: 36px 20px !important;
	margin-bottom: 36px !important;
	text-align: center;
	border-radius: 16px;
	box-shadow: 0 12px 30px rgba(11, 37, 69, 0.15);
}

body:not(.home) .page-title,
body:not(.home) .entry-title {
	color: #ffffff !important;
	font-size: 30px !important;
	font-weight: 800 !important;
	margin: 0 auto !important;
	letter-spacing: -0.3px;
}

/* ==================== HEADER HP HOME ==================== */
.hp-site-header {
	position: sticky;
	top: 0;
	z-index: 9990;
	background: #ffffff;
	box-shadow: 0 4px 24px rgba(11, 37, 69, 0.1);
	border-bottom: 2px solid #e2e8f0;
}

.hp-topbar {
	background: linear-gradient(90deg, #0b2545 0%, #003b75 60%, #0054a6 100%);
	color: #ffffff;
	font-size: 13px;
	padding: 8px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hp-container {
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 24px;
}

.hp-topbar-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
}

.hp-topbar-left,
.hp-topbar-right {
	display: flex;
	align-items: center;
	gap: 20px;
	white-space: nowrap;
}

.hp-topbar a {
	color: #e0f2fe !important;
	text-decoration: none;
	font-weight: 600;
	transition: color 0.2s ease;
}

.hp-topbar a:hover {
	color: #fbbf24 !important;
}

.hp-header-main {
	background: #ffffff;
	padding: 10px 0;
}

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

/* Logo HP Home */
.hp-brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	text-decoration: none !important;
	flex-shrink: 0;
	white-space: nowrap;
}

.hp-brand-logo {
	height: 58px;
	width: auto;
	object-fit: contain;
	display: block;
	border-radius: 8px;
}

.hp-brand-text {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.hp-brand-title {
	font-size: 21px;
	font-weight: 900;
	line-height: 1.15;
	letter-spacing: -0.3px;
	color: var(--hp-blue-primary);
}

.hp-brand-title span {
	color: var(--hp-red-primary);
}

.hp-brand-sub {
	font-size: 11px;
	color: #334155;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	margin-top: 2px;
}

/* Menu Desktop */
.hp-main-nav {
	flex: 1 1 auto;
	display: flex;
	justify-content: center;
}

.hp-nav-list {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
	flex-wrap: nowrap;
	white-space: nowrap;
}

.hp-nav-list > li {
	position: relative;
	flex-shrink: 0;
	margin: 0 !important;
	padding: 0 !important;
}

.hp-nav-list > li > a {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 9px 13px;
	font-size: 14px;
	font-weight: 700;
	color: var(--hp-blue-deep) !important;
	text-decoration: none !important;
	border-radius: 8px;
	transition: all 0.2s ease;
	white-space: nowrap;
}

.hp-nav-list > li.menu-item-has-children > a::after {
	content: "▾";
	font-size: 11px;
	opacity: 0.75;
}

.hp-nav-list > li > a:hover,
.hp-nav-list > li.current-menu-item > a {
	background: var(--hp-blue-soft);
	color: var(--hp-red-primary) !important;
}

/* Submenu */
.hp-nav-list > li > .sub-menu {
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	min-width: 270px;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-top: 3px solid var(--hp-red-primary);
	border-radius: 12px;
	padding: 8px;
	list-style: none;
	box-shadow: 0 16px 36px rgba(11, 37, 69, 0.16);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: all 0.22s ease;
	z-index: 100;
}

.hp-nav-list > li:hover > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.hp-nav-list > li > .sub-menu li a {
	display: block;
	padding: 10px 14px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--hp-text-main) !important;
	text-decoration: none !important;
	border-radius: 8px;
	white-space: nowrap;
	transition: all 0.18s ease;
}

.hp-nav-list > li > .sub-menu li a:hover {
	background: var(--hp-blue-soft);
	color: var(--hp-blue-primary) !important;
	padding-left: 18px;
}

/* Cụm nút hành động bên phải Header */
.hp-header-actions {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
	white-space: nowrap;
}

.hp-cart-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	height: 42px;
	padding: 0 14px;
	background: var(--hp-blue-soft);
	border: 1px solid #bfdbfe;
	border-radius: 10px;
	color: var(--hp-blue-deep) !important;
	font-size: 13.5px;
	font-weight: 700;
	text-decoration: none !important;
	transition: all 0.2s ease;
}

.hp-cart-pill:hover {
	background: #dbeafe;
	border-color: var(--hp-blue-primary);
}

.hp-cart-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	border-radius: 99px;
	background: var(--hp-red-primary);
	color: #ffffff;
	font-size: 11.5px;
	font-weight: 800;
}

.hp-header-hotline-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	height: 42px;
	padding: 0 18px;
	border-radius: 10px;
	background: linear-gradient(135deg, #d91b23 0%, #b31219 100%);
	color: #ffffff !important;
	font-size: 13.5px;
	font-weight: 800;
	text-decoration: none !important;
	box-shadow: 0 4px 14px rgba(217, 27, 35, 0.3);
	transition: all 0.25s ease;
}

.hp-header-hotline-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(217, 27, 35, 0.45);
}

/* Nút Hamburger Mobile */
.hp-mobile-menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	gap: 7px;
	height: 40px;
	padding: 0 14px;
	border-radius: 10px;
	background: var(--hp-blue-primary);
	color: #ffffff;
	border: none;
	font-size: 13.5px;
	font-weight: 700;
	cursor: pointer;
}

.hp-hamburger-lines {
	display: inline-flex;
	flex-direction: column;
	justify-content: space-between;
	width: 16px;
	height: 12px;
}

.hp-hamburger-lines span {
	display: block;
	width: 100%;
	height: 2px;
	background: #ffffff;
	border-radius: 2px;
}

/* Thanh Dịch vụ trọng tâm dưới Header (Hiệu ứng chạy mượt từ trái qua phải) */
.hp-quick-services-bar {
	background: linear-gradient(90deg, #eff6ff 0%, #f8fafc 50%, #eff6ff 100%);
	border-top: 1px solid #dbeafe;
	border-bottom: 1px solid #e2e8f0;
	padding: 8px 0;
	overflow: hidden;
	position: relative;
}

.hp-quick-services-marquee {
	width: 100%;
	overflow: hidden;
	position: relative;
}

.hp-quick-services-track {
	display: flex;
	align-items: center;
	gap: 14px;
	width: max-content;
	animation: hpSlideLeftToRight 34s linear infinite;
	will-change: transform;
}

.hp-quick-services-bar:hover .hp-quick-services-track {
	animation-play-state: paused;
}

@keyframes hpSlideLeftToRight {
	0% {
		transform: translateX(-50%);
	}
	100% {
		transform: translateX(0%);
	}
}

.hp-quick-service-item {
	font-size: 12.5px;
	font-weight: 700;
	color: var(--hp-blue-deep) !important;
	background: #ffffff;
	border: 1px solid #bfdbfe;
	padding: 5px 15px;
	border-radius: 99px;
	text-decoration: none !important;
	transition: all 0.2s ease;
	white-space: nowrap;
	flex-shrink: 0;
	box-shadow: 0 2px 6px rgba(0, 84, 166, 0.06);
}

.hp-quick-service-item:hover {
	background: var(--hp-blue-primary);
	color: #ffffff !important;
	border-color: var(--hp-blue-primary);
	transform: translateY(-1px);
}

/* ==================== OFF-CANVAS MOBILE DRAWER ==================== */
.hp-mobile-overlay {
	position: fixed;
	inset: 0;
	background: rgba(11, 37, 69, 0.6);
	backdrop-filter: blur(3px);
	z-index: 9998;
	opacity: 0;
	visibility: hidden;
	transition: all 0.28s ease;
}

.hp-mobile-overlay.is-open {
	opacity: 1;
	visibility: visible;
}

.hp-mobile-drawer {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	width: 330px;
	max-width: 86vw;
	background: #ffffff;
	z-index: 9999;
	box-shadow: -10px 0 36px rgba(11, 37, 69, 0.25);
	display: flex;
	flex-direction: column;
	transform: translateX(100%);
	transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.hp-mobile-drawer.is-open {
	transform: translateX(0);
}

.hp-mobile-drawer-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 18px;
	background: var(--hp-blue-soft);
	border-bottom: 1px solid #cbd5e1;
}

.hp-mobile-close-btn {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid #cbd5e1;
	background: #ffffff;
	color: var(--hp-blue-deep);
	font-size: 16px;
	font-weight: 800;
	cursor: pointer;
}

.hp-mobile-drawer-body {
	flex: 1 1 auto;
	overflow-y: auto;
	padding: 16px 18px 28px;
}

.hp-mobile-section-title {
	font-size: 11.5px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	color: var(--hp-red-primary);
	margin: 14px 0 8px;
}

.hp-mobile-nav-links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.hp-mobile-nav-links li {
	margin-bottom: 6px;
}

.hp-mobile-nav-links a {
	display: flex;
	align-items: center;
	padding: 10px 12px;
	border-radius: 10px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	color: var(--hp-blue-deep) !important;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none !important;
}

.hp-mobile-nav-links a:hover {
	background: var(--hp-blue-soft);
	border-color: var(--hp-blue-primary);
}

/* ==================== CÁC KHỐI CHUYÊN DỤNG TRÊN WEBSITE ==================== */
.hp-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 28px 24px;
	height: 100%;
	transition: all 0.3s ease;
	box-shadow: 0 8px 24px rgba(11, 37, 69, 0.05);
	position: relative;
	overflow: hidden;
}

.hp-card:hover {
	transform: translateY(-6px);
	border-color: var(--hp-blue-primary);
	box-shadow: 0 18px 38px rgba(0, 84, 166, 0.14);
}

.hp-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--hp-blue-soft);
	color: var(--hp-blue-primary);
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	padding: 5px 12px;
	border-radius: 99px;
	margin-bottom: 12px;
	border: 1px solid #bfdbfe;
}

.hp-badge-red {
	background: var(--hp-red-soft);
	color: var(--hp-red-primary);
	border-color: #fecdd3;
}

/* Bảng báo giá xây dựng & chống thấm */
.hp-pricing-table {
	width: 100%;
	border-collapse: collapse;
	background: #ffffff;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 8px 28px rgba(11, 37, 69, 0.08);
	border: 1px solid #cbd5e1;
	margin: 18px 0;
}

.hp-pricing-table th {
	background: linear-gradient(90deg, #0b2545 0%, #0054a6 100%);
	color: #ffffff;
	padding: 15px 18px;
	text-align: left;
	font-weight: 800;
	font-size: 14px;
}

.hp-pricing-table td {
	padding: 14px 18px;
	border-bottom: 1px solid #e2e8f0;
	font-size: 14.5px;
	color: var(--hp-text-main);
}

.hp-pricing-table tr:nth-child(even) td {
	background: #f8fafc;
}

.hp-pricing-table tr:hover td {
	background: var(--hp-blue-soft);
}

/* Before / After Project Card */
.hp-ba-card {
	background: #ffffff;
	border-radius: 16px;
	border: 1px solid #cbd5e1;
	overflow: hidden;
	box-shadow: 0 10px 26px rgba(11, 37, 69, 0.07);
	transition: all 0.3s ease;
}

.hp-ba-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 18px 36px rgba(11, 37, 69, 0.14);
}

.hp-ba-images {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2px;
	background: #cbd5e1;
	position: relative;
}

.hp-ba-col {
	position: relative;
	height: 210px;
	overflow: hidden;
}

.hp-ba-col img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hp-ba-label {
	position: absolute;
	top: 10px;
	left: 10px;
	padding: 4px 10px;
	border-radius: 6px;
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	color: #ffffff;
}

.hp-ba-label.before {
	background: rgba(71, 85, 105, 0.9);
}

.hp-ba-label.after {
	background: rgba(217, 27, 35, 0.92);
}

/* Form yêu cầu khảo sát & báo giá miễn phí */
.hp-quote-form-box {
	background: #ffffff;
	border: 2px solid var(--hp-blue-primary);
	border-radius: 18px;
	padding: 30px;
	box-shadow: 0 14px 36px rgba(0, 84, 166, 0.12);
}

.hp-form-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
}

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

.hp-form-group.full-width {
	grid-column: 1 / -1;
}

.hp-form-group label {
	font-size: 13.5px;
	font-weight: 700;
	color: var(--hp-blue-deep);
}

.hp-form-group input,
.hp-form-group select,
.hp-form-group textarea {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid #cbd5e1;
	border-radius: 10px;
	font-size: 14.5px;
	background: #f8fafc;
	color: var(--hp-text-main);
	transition: border-color 0.2s ease;
}

.hp-form-group input:focus,
.hp-form-group select:focus,
.hp-form-group textarea:focus {
	outline: none;
	border-color: var(--hp-blue-primary);
	background: #ffffff;
}

.hp-btn-submit {
	background: linear-gradient(135deg, #d91b23 0%, #b31219 100%);
	color: #ffffff !important;
	border: none;
	padding: 14px 28px;
	border-radius: 10px;
	font-size: 15.5px;
	font-weight: 800;
	cursor: pointer;
	transition: all 0.25s ease;
	box-shadow: 0 8px 22px rgba(217, 27, 35, 0.3);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.hp-btn-submit:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(217, 27, 35, 0.42);
}

/* ==================== WOOCOMMERCE GÓI DỊCH VỤ & VẬT TƯ ==================== */
.wp-block-button__link,
.single_add_to_cart_button,
.add_to_cart_button,
.hp-btn-primary {
	background: linear-gradient(135deg, #0054a6 0%, #003b75 100%) !important;
	color: #ffffff !important;
	border-radius: 10px !important;
	font-weight: 700 !important;
	padding: 11px 22px !important;
	transition: all 0.25s ease !important;
	border: none !important;
	text-decoration: none !important;
	box-shadow: 0 6px 18px rgba(0, 84, 166, 0.24);
}

.wp-block-button__link:hover,
.single_add_to_cart_button:hover,
.add_to_cart_button:hover,
.hp-btn-primary:hover {
	background: linear-gradient(135deg, #d91b23 0%, #b31219 100%) !important;
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(217, 27, 35, 0.35);
}

.products .product {
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 16px;
	overflow: hidden;
	transition: all 0.3s ease;
	box-shadow: 0 6px 20px rgba(11, 37, 69, 0.06);
	padding-bottom: 18px !important;
}

.products .product:hover {
	transform: translateY(-6px);
	box-shadow: 0 16px 34px rgba(0, 84, 166, 0.16);
	border-color: var(--hp-blue-primary);
}

.products .product .woocommerce-loop-product__title,
.products .product h2 {
	font-size: 1.08rem !important;
	font-weight: 800 !important;
	color: var(--hp-blue-deep) !important;
	padding: 0 16px;
	line-height: 1.4;
}

.products .product .price {
	color: var(--hp-red-primary) !important;
	font-weight: 800 !important;
	font-size: 1.12rem !important;
	padding: 0 16px;
}

.hp-product-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding: 8px 16px 4px;
	margin-bottom: 6px;
}

.hp-pbadge {
	font-size: 11.5px;
	font-weight: 700;
	padding: 3px 9px;
	border-radius: 6px;
	background: var(--hp-blue-soft);
	color: var(--hp-blue-primary);
	border: 1px solid #bfdbfe;
}

.hp-single-specs-box {
	background: #f0f7ff;
	border: 1px solid #bfdbfe;
	border-left: 5px solid var(--hp-blue-primary);
	border-radius: 14px;
	padding: 20px;
	margin: 18px 0 22px;
}

.hp-specs-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
}

.hp-spec-item {
	background: #ffffff;
	padding: 10px 14px;
	border-radius: 10px;
	border: 1px solid #dbeafe;
	font-size: 13.5px;
}

.hp-spec-label {
	color: var(--hp-text-muted);
	display: block;
	font-size: 12px;
	margin-bottom: 2px;
}

.hp-spec-value {
	color: var(--hp-blue-deep);
	font-weight: 800;
}

/* ==================== FOOTER HP HOME ĐẦY ĐỦ ==================== */
.hp-site-footer {
	background: #0b2545;
	color: #e2e8f0;
	border-top: 4px solid var(--hp-red-primary);
	margin-top: 70px;
}

.hp-footer-cta-banner {
	background: linear-gradient(135deg, #0054a6 0%, #003b75 60%, #d91b23 100%);
	color: #ffffff;
	padding: 36px 30px;
	border-radius: 20px;
	margin-top: -42px;
	margin-bottom: 48px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	box-shadow: 0 18px 42px rgba(11, 37, 69, 0.35);
	border: 1px solid rgba(255, 255, 255, 0.18);
}

.hp-footer-cta-text h3 {
	color: #ffffff !important;
	margin: 0 0 8px;
	font-size: 24px;
	font-weight: 800;
}

.hp-footer-cta-text p {
	margin: 0;
	color: #e0f2fe;
	font-size: 15px;
}

.hp-footer-cta-buttons {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.hp-btn-red {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 13px 24px;
	border-radius: 10px;
	background: var(--hp-red-primary);
	color: #ffffff !important;
	font-weight: 800;
	font-size: 14.5px;
	text-decoration: none !important;
	box-shadow: 0 6px 18px rgba(217, 27, 35, 0.35);
}

.hp-btn-white-outline {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 13px 24px;
	border-radius: 10px;
	border: 2px solid #ffffff;
	background: rgba(255, 255, 255, 0.12);
	color: #ffffff !important;
	font-weight: 800;
	font-size: 14.5px;
	text-decoration: none !important;
}

.hp-footer-grid {
	display: grid;
	grid-template-columns: 1.45fr 1fr 1fr 1.25fr;
	gap: 32px;
	padding-bottom: 44px;
}

.hp-footer-col h4 {
	font-size: 16.5px;
	font-weight: 800;
	color: #ffffff;
	margin: 0 0 18px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--hp-red-primary);
	display: inline-block;
}

.hp-footer-col p,
.hp-footer-col li {
	font-size: 14px;
	line-height: 1.7;
	color: #cbd5e1;
}

.hp-footer-links {
	list-style: none;
	padding: 0;
	margin: 0;
}

.hp-footer-links li {
	margin-bottom: 9px;
}

.hp-footer-links a {
	color: #cbd5e1 !important;
	text-decoration: none !important;
	font-weight: 600;
	transition: all 0.2s ease;
}

.hp-footer-links a:hover {
	color: #38bdf8 !important;
	padding-left: 5px;
}

.hp-footer-map-box {
	border-radius: 12px;
	overflow: hidden;
	border: 2px solid rgba(255, 255, 255, 0.15);
	margin-top: 10px;
}

.hp-social-links {
	display: flex;
	gap: 10px;
	margin-top: 14px;
	flex-wrap: wrap;
}

.hp-social-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 13px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.1);
	color: #ffffff !important;
	font-size: 12.5px;
	font-weight: 700;
	text-decoration: none !important;
	transition: background 0.2s ease;
}

.hp-social-btn:hover {
	background: var(--hp-blue-primary);
}

.hp-footer-bottom {
	background: #061529;
	color: #94a3b8;
	padding: 18px 0;
	font-size: 13px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hp-footer-bottom-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
}

/* ==================== FLOATING WIDGETS BẮT BUỘC (ZALO, HOTLINE, MESSENGER) ==================== */
.hp-floating-widgets {
	position: fixed;
	bottom: 24px;
	right: 22px;
	z-index: 9996;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 12px;
}

.hp-float-item {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 11px 18px;
	border-radius: 99px;
	font-weight: 800;
	font-size: 13.5px;
	color: #ffffff !important;
	text-decoration: none !important;
	box-shadow: 0 8px 24px rgba(11, 37, 69, 0.28);
	transition: all 0.25s ease;
	position: relative;
}

.hp-float-item:hover {
	transform: translateX(-4px) scale(1.03);
}

.hp-float-icon {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.22);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	flex-shrink: 0;
}

.hp-float-zalo {
	background: linear-gradient(135deg, #0068ff 0%, #0052cc 100%);
	border: 2px solid #ffffff;
}

.hp-float-messenger {
	background: linear-gradient(135deg, #00b2ff 0%, #006aff 100%);
	border: 2px solid #ffffff;
}

.hp-float-hotline {
	background: linear-gradient(135deg, #d91b23 0%, #b31219 100%);
	border: 2px solid #ffffff;
	animation: hpPulseHotline 2s infinite;
}

@keyframes hpPulseHotline {
	0% {
		box-shadow: 0 0 0 0 rgba(217, 27, 35, 0.65);
	}
	70% {
		box-shadow: 0 0 0 14px rgba(217, 27, 35, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(217, 27, 35, 0);
	}
}

.hp-zalo-tooltip {
	background: #ffffff;
	color: var(--hp-blue-deep);
	border: 1px solid #bfdbfe;
	border-left: 4px solid #0068ff;
	padding: 8px 12px;
	border-radius: 10px;
	font-size: 12px;
	font-weight: 700;
	box-shadow: 0 6px 18px rgba(11, 37, 69, 0.14);
	max-width: 250px;
	line-height: 1.4;
}

/* ==================== RESPONSIVE PC, LAPTOP, TABLET & MOBILE ==================== */
@media (max-width: 1260px) and (min-width: 993px) {
	.hp-container {
		padding: 0 16px;
	}

	.hp-brand-logo {
		height: 48px;
	}

	.hp-brand-title {
		font-size: 18px;
	}

	.hp-brand-sub {
		font-size: 9.5px;
	}

	.hp-nav-list {
		gap: 2px;
	}

	.hp-nav-list > li > a {
		padding: 8px 9px;
		font-size: 13px;
	}

	.hp-cart-label {
		display: none;
	}

	.hp-header-hotline-btn {
		padding: 0 13px;
		font-size: 13px;
	}
}

@media (max-width: 992px) {
	.hp-main-nav,
	.hp-header-hotline-btn {
		display: none !important;
	}

	.hp-mobile-menu-toggle {
		display: inline-flex !important;
	}

	.hp-topbar-left {
		display: none !important;
	}

	.hp-topbar-inner {
		justify-content: center;
	}

	.hp-topbar-right {
		width: 100%;
		justify-content: space-between;
		font-size: 12px;
	}

	.entry-content .wp-block-columns {
		flex-wrap: wrap !important;
		flex-direction: column !important;
		gap: 20px !important;
	}

	.entry-content .wp-block-columns > .wp-block-column {
		flex: 0 0 100% !important;
		max-width: 100% !important;
		width: 100% !important;
	}

	.hp-footer-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 24px;
	}
}

@media (max-width: 768px) {
	.hp-container {
		padding: 0 14px;
	}

	.hp-topbar-right span {
		display: none;
	}

	.hp-topbar-right {
		justify-content: space-between;
		gap: 8px;
		font-size: 11.5px;
	}

	.hp-header-main {
		padding: 8px 0;
	}

	.hp-brand-logo {
		height: 42px;
	}

	.hp-brand-title {
		font-size: 16.5px;
	}

	.hp-brand-sub {
		font-size: 9px;
	}

	.hp-cart-label {
		display: none;
	}

	.hp-cart-pill {
		height: 36px;
		padding: 0 10px;
	}

	.hp-mobile-menu-toggle {
		height: 36px;
		padding: 0 12px;
		font-size: 12.5px;
	}

	.hp-quick-services-bar {
		padding: 6px 0;
	}

	.hp-quick-service-item {
		font-size: 11.5px;
		padding: 4px 12px;
	}

	/* Tối ưu khoảng cách & cỡ chữ trên Mobile */
	body:not(.home) .hero-section,
	body:not(.home) .entry-header {
		padding: 24px 14px !important;
		margin-bottom: 22px !important;
	}

	body:not(.home) .page-title,
	body:not(.home) .entry-title {
		font-size: 22px !important;
		line-height: 1.35 !important;
	}

	.entry-content > .wp-block-group.alignfull:first-of-type {
		padding: 32px 14px 38px !important;
	}

	.entry-content > .wp-block-group.alignfull:first-of-type h1 {
		font-size: 26px !important;
		line-height: 1.3 !important;
	}

	.entry-content > .wp-block-group.alignfull:first-of-type p {
		font-size: 14.5px !important;
	}

	.entry-content > .wp-block-group.alignfull {
		padding-top: 38px !important;
		padding-bottom: 38px !important;
		padding-left: 14px !important;
		padding-right: 14px !important;
	}

	.entry-content h2 {
		font-size: 22px !important;
		line-height: 1.35 !important;
	}

	.hp-card {
		padding: 20px 16px;
	}

	.hp-card div[style*="grid-template-columns:1.25fr 0.75fr"] {
		grid-template-columns: 1fr !important;
		gap: 16px !important;
	}

	.hp-quote-form-box {
		padding: 20px 16px;
	}

	.hp-btn-submit {
		width: 100%;
	}

	.hp-pricing-table {
		display: block;
		width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		white-space: nowrap;
	}

	.hp-form-grid,
	.hp-specs-grid,
	.hp-footer-grid,
	.hp-ba-images {
		grid-template-columns: 1fr !important;
	}

	.hp-footer-cta-banner {
		padding: 24px 16px;
		margin-top: -28px;
		margin-bottom: 30px;
		text-align: center;
		justify-content: center;
	}

	.hp-footer-cta-text h3 {
		font-size: 19px;
	}

	.hp-footer-cta-buttons {
		width: 100%;
		flex-direction: column;
	}

	.hp-btn-red,
	.hp-btn-white-outline {
		width: 100%;
		justify-content: center;
	}

	.hp-footer-bottom-inner {
		flex-direction: column;
		text-align: center;
		gap: 6px;
	}

	.hp-zalo-tooltip {
		display: none;
	}

	.hp-floating-widgets {
		bottom: 14px;
		right: 12px;
		gap: 8px;
	}

	.hp-float-item {
		padding: 8px 13px;
		font-size: 12px;
	}

	.hp-float-icon {
		width: 24px;
		height: 24px;
		font-size: 13px;
	}
}
