/* =========================================================================
   Hebipha – bổ sung giao diện
   ========================================================================= */
:root {
	--hb-green: #046738;
	--hb-green-2: #6fbc2d;
	--hb-green-bg: #f2f8ef;
	--hb-red: #d0021b;
	--hb-yellow: #ffc107;
	--hb-line: #e3ebe5;
	--hb-text: #222;
}

/* -------------------------------------------------------------------------
   1. Nội dung Bài viết / Trang / Hỏi đáp / mô tả sản phẩm: tách đoạn, tiêu đề, ảnh
   Áp cho mọi cấp trong nội dung (kể cả nội dung dán vào nằm trong <div>).
   Không áp cho trang chủ và các trang WooCommerce (giỏ hàng, thanh toán, tài khoản, sản phẩm –
   mô tả sản phẩm dùng khung .hb-sp-desc riêng).
   ---------------------------------------------------------------------- */
body:not(.home):not(.woocommerce-page) .entry-content p,
body:not(.home):not(.woocommerce-page) .entry-content li,
body:not(.home):not(.woocommerce-page) .entry-content blockquote,
body:not(.home):not(.woocommerce-page) .entry-content td,
body:not(.home):not(.woocommerce-page) .entry-content th,
.hb-sp-desc p,
.hb-sp-desc li,
.hb-sp-desc blockquote,
.hb-sp-desc td,
.hb-sp-desc th {
	font-size: 16px;
	line-height: 1.75;
	word-wrap: break-word;
}
body:not(.home):not(.woocommerce-page) .entry-content p,
.hb-sp-desc p {
	margin: 0 0 14px;
}
body:not(.home):not(.woocommerce-page) .entry-content h1,
body:not(.home):not(.woocommerce-page) .entry-content h2,
body:not(.home):not(.woocommerce-page) .entry-content h3,
body:not(.home):not(.woocommerce-page) .entry-content h4,
body:not(.home):not(.woocommerce-page) .entry-content h5,
body:not(.home):not(.woocommerce-page) .entry-content h6,
.hb-sp-desc h1,
.hb-sp-desc h2,
.hb-sp-desc h3,
.hb-sp-desc h4,
.hb-sp-desc h5,
.hb-sp-desc h6 {
	color: var(--hb-green);
	font-family: robotobold, robotoregular, Roboto, Arial, sans-serif;
	font-weight: normal;
	line-height: 1.4;
	margin: 28px 0 12px;
	padding: 0;
	text-align: left;
	text-transform: none;
}
body:not(.home):not(.woocommerce-page) .entry-content h1,
body:not(.home):not(.woocommerce-page) .entry-content h2,
.hb-sp-desc h1,
.hb-sp-desc h2 { font-size: 22px; }
body:not(.home):not(.woocommerce-page) .entry-content h3,
.hb-sp-desc h3 { font-size: 19px; }
body:not(.home):not(.woocommerce-page) .entry-content h4,
body:not(.home):not(.woocommerce-page) .entry-content h5,
body:not(.home):not(.woocommerce-page) .entry-content h6,
.hb-sp-desc h4,
.hb-sp-desc h5,
.hb-sp-desc h6 { font-size: 17px; }
body:not(.home):not(.woocommerce-page) .entry-content h4,
body:not(.home):not(.woocommerce-page) .entry-content h5,
body:not(.home):not(.woocommerce-page) .entry-content h6,
.hb-sp-desc h4,
.hb-sp-desc h5,
.hb-sp-desc h6 { margin: 18px 0 8px; }
/* nhiều tiêu đề nhỏ liền nhau (vd: danh sách thành phần) → sát lại như danh sách */
body:not(.home):not(.woocommerce-page) .entry-content h3 + h3,
.hb-sp-desc h3 + h3 { margin-top: -4px; }
body:not(.home):not(.woocommerce-page) .entry-content h4 + h4,
body:not(.home):not(.woocommerce-page) .entry-content h5 + h5,
body:not(.home):not(.woocommerce-page) .entry-content h6 + h6,
.hb-sp-desc h4 + h4,
.hb-sp-desc h5 + h5,
.hb-sp-desc h6 + h6 { margin-top: 0; }
body:not(.home):not(.woocommerce-page) .entry-content > h1:first-child,
body:not(.home):not(.woocommerce-page) .entry-content > h2:first-child,
body:not(.home):not(.woocommerce-page) .entry-content > h3:first-child,
.hb-sp-desc > h1:first-child,
.hb-sp-desc > h2:first-child,
.hb-sp-desc > h3:first-child { margin-top: 0; }

/* chữ trong tiêu đề hay bị gán cỡ 12–14pt / font / màu đen bằng tay trong trình soạn thảo */
body:not(.home):not(.woocommerce-page) .entry-content h1 span,
body:not(.home):not(.woocommerce-page) .entry-content h2 span,
body:not(.home):not(.woocommerce-page) .entry-content h3 span,
body:not(.home):not(.woocommerce-page) .entry-content h4 span,
body:not(.home):not(.woocommerce-page) .entry-content h5 span,
body:not(.home):not(.woocommerce-page) .entry-content h1 strong,
body:not(.home):not(.woocommerce-page) .entry-content h2 strong,
body:not(.home):not(.woocommerce-page) .entry-content h3 strong,
body:not(.home):not(.woocommerce-page) .entry-content h4 strong,
body:not(.home):not(.woocommerce-page) .entry-content h1 b,
body:not(.home):not(.woocommerce-page) .entry-content h2 b,
body:not(.home):not(.woocommerce-page) .entry-content h3 b,
body:not(.home):not(.woocommerce-page) .entry-content h4 b,
.hb-sp-desc h1 span,
.hb-sp-desc h2 span,
.hb-sp-desc h3 span,
.hb-sp-desc h4 span,
.hb-sp-desc h5 span,
.hb-sp-desc h1 strong,
.hb-sp-desc h2 strong,
.hb-sp-desc h3 strong,
.hb-sp-desc h4 strong,
.hb-sp-desc h1 b,
.hb-sp-desc h2 b,
.hb-sp-desc h3 b,
.hb-sp-desc h4 b {
	font-family: inherit !important;
	font-size: inherit !important;
	line-height: inherit !important;
	color: inherit !important;
	font-weight: normal;
}
body:not(.home):not(.woocommerce-page) .entry-content ul,
body:not(.home):not(.woocommerce-page) .entry-content ol,
.hb-sp-desc ul,
.hb-sp-desc ol {
	margin: 0 0 16px;
	padding-left: 24px;
}
body:not(.home):not(.woocommerce-page) .entry-content ul,
.hb-sp-desc ul { list-style: disc; }
body:not(.home):not(.woocommerce-page) .entry-content ol,
.hb-sp-desc ol { list-style: decimal; }
body:not(.home):not(.woocommerce-page) .entry-content ul > li,
body:not(.home):not(.woocommerce-page) .entry-content ol > li,
.hb-sp-desc ul > li,
.hb-sp-desc ol > li {
	margin: 0 0 8px;
	line-height: 1.7;
	list-style: inherit;
}
body:not(.home):not(.woocommerce-page) .entry-content li > p,
body:not(.home):not(.woocommerce-page) .entry-content li > div,
body:not(.home):not(.woocommerce-page) .entry-content li > div > div,
.hb-sp-desc li > p,
.hb-sp-desc li > div,
.hb-sp-desc li > div > div { margin: 0; }

/* ảnh: không dính chữ */
body:not(.home):not(.woocommerce-page) .entry-content img,
.hb-sp-desc img {
	max-width: 100%;
	height: auto;
}
body:not(.home):not(.woocommerce-page) .entry-content img[class*="wp-image-"],
body:not(.home):not(.woocommerce-page) .entry-content img.size-full,
body:not(.home):not(.woocommerce-page) .entry-content img.size-large,
body:not(.home):not(.woocommerce-page) .entry-content img.aligncenter,
body:not(.home):not(.woocommerce-page) .entry-content img.alignnone,
.hb-sp-desc img[class*="wp-image-"],
.hb-sp-desc img.size-full,
.hb-sp-desc img.size-large,
.hb-sp-desc img.aligncenter,
.hb-sp-desc img.alignnone {
	display: block;
	margin: 18px auto;
}
body:not(.home):not(.woocommerce-page) .entry-content img.alignleft,
.hb-sp-desc img.alignleft { float: left; margin: 6px 18px 12px 0; }
body:not(.home):not(.woocommerce-page) .entry-content img.alignright,
.hb-sp-desc img.alignright { float: right; margin: 6px 0 12px 18px; }
body:not(.home):not(.woocommerce-page) .entry-content figure,
body:not(.home):not(.woocommerce-page) .entry-content .wp-caption,
.hb-sp-desc figure,
.hb-sp-desc .wp-caption {
	max-width: 100%;
	margin: 18px auto;
}
body:not(.home):not(.woocommerce-page) .entry-content .wp-caption .wp-caption-text,
body:not(.home):not(.woocommerce-page) .entry-content figure figcaption,
.hb-sp-desc .wp-caption .wp-caption-text,
.hb-sp-desc figure figcaption {
	margin-top: 6px;
	font-size: 14px;
	color: #666;
	text-align: center;
}
body:not(.home):not(.woocommerce-page) .entry-content hr,
.hb-sp-desc hr {
	margin: 28px 0;
	border: 0;
	border-top: 1px solid #e3ebe5;
}
body:not(.home):not(.woocommerce-page) .entry-content table,
.hb-sp-desc table {
	width: 100%;
	margin: 0 0 18px;
	border-collapse: collapse;
}
body:not(.home):not(.woocommerce-page) .entry-content td,
body:not(.home):not(.woocommerce-page) .entry-content th,
.hb-sp-desc td,
.hb-sp-desc th {
	border: 1px solid var(--hb-line);
	padding: 8px 10px;
}
body:not(.home):not(.woocommerce-page) .entry-content blockquote,
.hb-sp-desc blockquote {
	margin: 0 0 16px;
	padding: 10px 16px;
	border-left: 4px solid var(--hb-green-2);
	background: var(--hb-green-bg);
}
/* đoạn rỗng – không tạo khoảng trống thừa */
body:not(.home):not(.woocommerce-page) .entry-content p:empty,
.hb-sp-desc p:empty { display: none; }

/* -------------------------------------------------------------------------
   2. Form dùng chung (CF7)
   ---------------------------------------------------------------------- */
.hb-form .hb-f-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-bottom: 10px;
}
.hb-form .wpcf7-form-control-wrap { display: block; }
.hb-form input[type="text"],
.hb-form input[type="tel"],
.hb-form textarea {
	display: block;
	width: 100%;
	height: 46px;
	padding: 10px 14px;
	font-size: 15px;
	color: var(--hb-text);
	background: #fff;
	border: 1px solid #cdd8d1;
	border-radius: 6px;
	box-shadow: none;
	margin: 0;
}
.hb-form textarea {
	height: 84px;
	resize: vertical;
	margin-bottom: 10px;
}
.hb-form input:focus,
.hb-form textarea:focus {
	outline: none;
	border-color: var(--hb-green);
	box-shadow: 0 0 0 3px rgba(4, 103, 56, .15);
}
.hb-form .hb-f-submit {
	display: block;
	width: 100%;
	height: 48px;
	padding: 0 16px;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: .5px;
	text-transform: uppercase;
	border: 0;
	border-radius: 6px;
	cursor: pointer;
	transition: filter .15s;
}
.hb-form .hb-f-submit:hover { filter: brightness(1.08); }
.hb-form .ajax-loader { display: block; margin: 6px auto 0; }
.hb-form .wpcf7-not-valid-tip { font-size: 13px; margin-top: 3px; }
.hb-form .wpcf7-response-output {
	margin: 10px 0 0 !important;
	padding: 8px 12px !important;
	font-size: 14px;
	border-radius: 6px;
	background: #fff;
	color: var(--hb-text);
}

/* -------------------------------------------------------------------------
   3. Popup nhận tư vấn
   ---------------------------------------------------------------------- */
.hb-popup {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}
.hb-popup[hidden] { display: none; }
.hb-popup__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .55);
	animation: hb-fade .25s ease;
}
.hb-popup__box {
	position: relative;
	width: 100%;
	max-width: 520px;
	max-height: calc(100vh - 32px);
	overflow-y: auto;
	padding: 28px 28px 22px;
	background: #fff;
	border-top: 6px solid var(--hb-green);
	border-radius: 12px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, .3);
	animation: hb-pop .3s ease;
}
.hb-popup__close {
	position: absolute;
	top: 8px;
	right: 10px;
	width: 36px;
	height: 36px;
	padding: 0;
	font-size: 28px;
	line-height: 34px;
	color: #666;
	background: transparent;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
}
.hb-popup__close:hover { background: #f1f1f1; color: #000; }
.hb-popup__head { text-align: center; margin-bottom: 16px; }
.hb-popup__logo { display: block; width: auto; max-width: 140px; height: auto; margin: 0 auto 10px; }
.hb-popup__title {
	margin: 0 0 6px;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--hb-green);
}
.hb-popup__desc { margin: 0; font-size: 15px; line-height: 1.55; color: #444; }
.hb-popup__head p { text-align: center; }
.hb-popup .hb-f-submit { background: var(--hb-green); color: #fff; }
.hb-popup__hotline { margin: 12px 0 0; text-align: center; font-size: 15px; color: #444; }
.hb-popup__hotline a { color: var(--hb-red); font-weight: 700; text-decoration: none; }
body.hb-popup-open { overflow: hidden; }

@keyframes hb-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes hb-pop { from { opacity: 0; transform: translateY(20px) scale(.97); } to { opacity: 1; transform: none; } }

/* -------------------------------------------------------------------------
   4. Trang sản phẩm – giá, chọn gói, form tư vấn
   ---------------------------------------------------------------------- */
.hb-buybox { margin-top: 6px; }
.hb-buybox__price {
	margin: 0 0 10px;
	font-size: 30px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--hb-red);
}
.hb-packs { margin: 0 0 18px; border-top: 1px solid #e8e8e8; }
.hb-pack {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0;
	padding: 13px 10px;
	font-weight: 400;
	border-bottom: 1px solid #e8e8e8;
	cursor: pointer;
	transition: background .15s;
}
.hb-pack:hover { background: #fafafa; }
.hb-pack.is-active { background: var(--hb-green-bg); }
.hb-pack input {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
	accent-color: var(--hb-green);
	cursor: pointer;
}
.hb-pack__name { flex: 1 1 auto; font-size: 16px; line-height: 1.45; color: var(--hb-text); }
.hb-pack__name em { font-style: normal; color: var(--hb-green); }
.hb-pack__price {
	flex: 0 0 auto;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.45;
	color: var(--hb-red);
	text-align: right;
}
.hb-pack__price del { display: block; font-size: 13px; font-weight: 400; color: #888; }

.hb-buy {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	margin: 0 0 16px;
}
.hb-buy__qty {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 0 14px;
	font-size: 15px;
	font-weight: 400;
	color: #333;
	background: #f2f2f2;
	border-radius: 6px 0 0 6px;
}
.hb-buy__qty select {
	height: 34px;
	padding: 0 6px;
	font-size: 15px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 17px;
	cursor: pointer;
}
.hb-buy__btn {
	flex: 1 1 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 54px;
	padding: 0 20px;
	font-family: robotobold, robotoregular, Roboto, Arial, sans-serif;
	font-size: 18px;
	letter-spacing: .3px;
	color: #fff;
	background: #b8282d; /* đỏ đậm, dịu mắt */
	border: 0;
	border-radius: 0 6px 6px 0;
	cursor: pointer;
	transition: filter .15s;
}
.hb-buy__btn:hover { background: #a01f24; filter: none; }
.hb-buy__note {
	flex: 1 0 100%;
	margin: 8px 0 0;
	font-size: 14px;
	color: var(--hb-red);
}
.hb-buy__note[hidden] { display: none; }

.hb-buybox__form {
	padding: 18px;
	background: var(--hb-green);
	border-radius: 8px;
}
.hb-buybox__form-desc { margin: 0 0 12px; font-size: 15px; line-height: 1.5; color: #fff; }
.hb-buybox__form .hb-f-row { margin-bottom: 12px; }
.hb-buybox__form .hb-f-submit { background: var(--hb-yellow); color: #1d1d1d; }
.hb-buybox__form .wpcf7-not-valid-tip { color: #ffd2d2; }

.hb-buybox__call {
	display: block;
	margin-top: 12px;
	padding: 10px 14px;
	font-size: 16px;
	line-height: 1.4;
	color: var(--hb-text);
	text-align: center;
	text-decoration: none;
	border: 1px dashed var(--hb-green);
	border-radius: 8px;
}
.hb-buybox__call:hover { background: var(--hb-green-bg); color: var(--hb-text); text-decoration: none; }
.hb-buybox__call .fa { color: var(--hb-green); margin-right: 4px; }
.hb-buybox__call strong { color: var(--hb-red); }
.hb-buybox__call small { display: block; font-size: 13px; color: #666; }

/* -------------------------------------------------------------------------
   5. Trang sản phẩm – nội dung + cột phải
   ---------------------------------------------------------------------- */
.hb-sp-body {
	clear: both;
	display: flex;
	align-items: flex-start;
	gap: 30px;
	padding-top: 36px;
}
.hb-sp-main { flex: 1 1 auto; min-width: 0; }
.hb-sp-aside { flex: 0 0 310px; width: 310px; }
.hb-sp-heading {
	margin: 0 0 18px;
	padding-bottom: 10px;
	font-size: 22px;
	font-weight: 700;
	color: var(--hb-green);
	text-transform: uppercase;
	border-bottom: 2px solid var(--hb-green-2);
}

.hb-box {
	margin: 0 0 22px;
	background: #fff;
	border: 1px solid var(--hb-line);
	border-radius: 8px;
	overflow: hidden;
}
.hb-box__title {
	margin: 0;
	padding: 11px 16px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	color: #fff;
	background: var(--hb-green);
}
.hb-box--news .hb-box__title { background: var(--hb-green-2); color: #10391f; }

.hb-news { margin: 0; padding: 6px 14px; list-style: none; }
.hb-news li { margin: 0; padding: 10px 0; border-bottom: 1px solid #eef2ef; list-style: none; }
.hb-news li:last-child { border-bottom: 0; }
.hb-news a { display: flex; gap: 10px; align-items: flex-start; color: var(--hb-text); text-decoration: none; }
.hb-news a:hover span { color: var(--hb-green); }
.hb-news img {
	flex: 0 0 72px;
	width: 72px;
	height: 56px;
	object-fit: cover;
	border-radius: 4px;
}
.hb-news span { font-size: 14px; line-height: 1.45; }

.hb-list {
	margin: 0;
	padding: 14px 16px 6px;
	list-style: none;
	counter-reset: hb;
	background: var(--hb-green-bg);
}
.hb-list li {
	position: relative;
	margin: 0 0 12px;
	padding-left: 32px;
	font-size: 15px;
	line-height: 1.55;
	color: #444;
	list-style: none;
	counter-increment: hb;
}
.hb-list li::before {
	content: counter(hb);
	position: absolute;
	top: 1px;
	left: 0;
	width: 22px;
	height: 22px;
	font-size: 13px;
	font-weight: 700;
	line-height: 22px;
	text-align: center;
	color: #fff;
	background: var(--hb-green);
	border-radius: 50%;
}
.hb-list strong { color: var(--hb-green); }

/* -------------------------------------------------------------------------
   5a. Trang sản phẩm – các khu trong cột chính
   ---------------------------------------------------------------------- */
.hb-sp-section { margin: 0 0 40px; }
.hb-sp-section:last-child { margin-bottom: 0; }

/* bảng 14 mục */
.hb-info-table {
	width: 100%;
	margin: 0;
	border-collapse: collapse;
	font-size: 15px;
	line-height: 1.6;
}
.hb-info-table th,
.hb-info-table td {
	padding: 10px 12px;
	vertical-align: top;
	text-align: left;
	border-bottom: 1px solid #e8ece9;
}
.hb-info-table th {
	width: 30%;
	font-weight: 400;
	color: #555;
	background: #f7faf6;
}
.hb-info-table td { color: var(--hb-text); }

/* mục lục */
.hb-toc {
	margin: 0 0 22px;
	padding: 14px 18px;
	background: #f7faf6;
	border: 1px solid var(--hb-line);
	border-radius: 8px;
}
.hb-toc summary {
	cursor: pointer;
	font-family: robotobold, robotoregular, Roboto, Arial, sans-serif;
	font-size: 16px;
	color: var(--hb-green);
	list-style: none;
}
.hb-toc summary::-webkit-details-marker { display: none; }
.hb-toc summary::before { content: "☰  "; }
.hb-toc[open] summary { margin-bottom: 8px; }
.hb-toc ol {
	margin: 0;
	padding-left: 22px;
	list-style: decimal;
}
.hb-toc ol ol { margin: 4px 0 4px; list-style: lower-alpha; }
.hb-toc li { margin: 4px 0; font-size: 15px; line-height: 1.5; list-style: inherit; }
.hb-toc a { color: #2a2a2a; text-decoration: none; }
.hb-toc a:hover { color: var(--hb-green); text-decoration: underline; }
.hb-sp-desc [id] { scroll-margin-top: 90px; }

/* đặt hàng nhanh */
.hb-qo {
	padding: 0 0 22px;
	background: #f7faf6;
	border: 1px solid var(--hb-line);
	border-radius: 10px;
	overflow: hidden;
}
.hb-qo__title {
	margin: 0 0 18px;
	padding: 14px 16px;
	font-family: robotobold, robotoregular, Roboto, Arial, sans-serif;
	font-size: 19px;
	font-weight: normal;
	color: #1d1d1d;
	text-align: center;
	text-transform: uppercase;
	background: var(--hb-yellow);
}
.hb-qo__msg { margin: 0 20px 16px; padding: 12px 14px; border-radius: 6px; font-size: 15px; }
.hb-qo__msg--ok { background: #e7f6ea; color: #14532d; border: 1px solid #b7e1c1; }
.hb-qo__msg--err { background: #fdecec; color: #8a1c1c; border: 1px solid #f3c0c0; }
.hb-qo__product { display: flex; gap: 14px; align-items: center; margin: 0 20px 16px; }
.hb-qo__product img { width: 90px; height: 90px; object-fit: contain; background: #fff; border: 1px solid #e5e5e5; border-radius: 6px; }
.hb-qo__name { margin: 0 0 4px; font-family: robotobold, robotoregular, Roboto, Arial, sans-serif; font-size: 16px; line-height: 1.4; color: #2a2a2a; }
.hb-qo__price { margin: 0; font-family: robotobold, robotoregular, Roboto, Arial, sans-serif; font-size: 20px; color: var(--hb-red); }
.hb-qo__form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin: 0 20px; }
.hb-qo__field { margin: 0; }
.hb-qo__field--full,
.hb-qo__actions,
.hb-qo__note { grid-column: 1 / -1; }
.hb-qo__field label { display: block; margin: 0 0 5px; font-size: 14px; font-weight: 400; color: #444; }
.hb-qo__field label span { color: var(--hb-red); }
.hb-qo__field input,
.hb-qo__field select {
	display: block;
	width: 100%;
	height: 44px;
	padding: 8px 12px;
	font-size: 15px;
	background: #fff;
	border: 1px solid #cdd8d1;
	border-radius: 6px;
}
.hb-qo__field input:focus,
.hb-qo__field select:focus { outline: none; border-color: var(--hb-green); box-shadow: 0 0 0 3px rgba(4, 103, 56, .15); }
.hb-qo__actions { display: flex; align-items: stretch; margin-top: 4px; }
.hb-qo__qty {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 0 16px;
	font-size: 15px;
	font-weight: 400;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-right: 0;
	border-radius: 6px 0 0 6px;
}
.hb-qo__qty select { height: 34px; padding: 0 6px; border: 1px solid #ddd; border-radius: 17px; background: #fff; }
.hb-qo__btn {
	flex: 1 1 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	font-family: robotobold, robotoregular, Roboto, Arial, sans-serif;
	font-size: 17px;
	color: #fff;
	background: #b8282d;
	border: 0;
	border-radius: 0 6px 6px 0;
	cursor: pointer;
}
.hb-qo__btn:hover { background: #a01f24; }
.hb-qo__note { margin: 0; font-size: 13.5px; color: #666; text-align: center; }
.hb-qo__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* sản phẩm bổ trợ */
.hb-others__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.hb-others__item { margin: 0; list-style: none; }
.hb-others__item a {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 12px;
	text-decoration: none;
	background: #fff;
	border: 1px solid var(--hb-line);
	border-radius: 8px;
	transition: box-shadow .15s, border-color .15s;
}
.hb-others__item a:hover { border-color: var(--hb-green-2); box-shadow: 0 6px 18px rgba(0, 0, 0, .07); }
.hb-others__img { width: 100%; aspect-ratio: 1 / 1; height: auto; object-fit: contain; margin: 0 0 10px; }
.hb-others__name { flex: 1 1 auto; font-size: 15px; line-height: 1.45; color: #2a2a2a; }
.hb-others__price { margin-top: 6px; font-family: robotobold, robotoregular, Roboto, Arial, sans-serif; font-size: 16px; color: var(--hb-red); }

/* đánh giá */
.hb-reviews #reviews h2,
.hb-reviews .woocommerce-Reviews-title { font-size: 16px; color: #2a2a2a; margin: 0 0 12px; }
.hb-reviews .woocommerce-noreviews { margin: 0 0 12px; color: #666; }
.hb-reviews #review_form_wrapper {
	padding: 16px 18px;
	background: #f7faf6;
	border: 1px solid var(--hb-line);
	border-radius: 8px;
}
.hb-reviews .comment-reply-title { display: block; margin: 0 0 10px; font-family: robotobold, robotoregular, Roboto, Arial, sans-serif; font-size: 16px; color: var(--hb-green); }
.hb-reviews .comment-form p { margin: 0 0 12px; }
.hb-reviews .comment-form label { display: block; margin: 0 0 5px; font-size: 14px; font-weight: 400; color: #444; }
.hb-reviews .comment-form input[type="text"],
.hb-reviews .comment-form input[type="email"],
.hb-reviews .comment-form input[type="tel"],
.hb-reviews .comment-form textarea {
	display: block;
	width: 100%;
	padding: 9px 12px;
	font-size: 15px;
	background: #fff;
	border: 1px solid #cdd8d1;
	border-radius: 6px;
}
.hb-reviews .comment-form textarea { height: 110px; }
.hb-reviews .comment-form .form-submit input[type="submit"] {
	padding: 11px 26px;
	font-family: robotobold, robotoregular, Roboto, Arial, sans-serif;
	font-size: 15px;
	color: #1d1d1d;
	background: var(--hb-yellow);
	border: 0;
	border-radius: 6px;
	cursor: pointer;
}
.hb-reviews .stars a { color: #f5a623; }
.hb-review-note { font-size: 13px; color: #666; }
.single-product .fb-comments { display: none; } /* đã có Đánh giá sản phẩm */

@media (max-width: 767px) {
	.hb-info-table th { width: 38%; }
	.hb-qo__form { grid-template-columns: 1fr; margin: 0 14px; }
	.hb-qo__product, .hb-qo__msg { margin-left: 14px; margin-right: 14px; }
	.hb-others__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* -------------------------------------------------------------------------
   5b. Trang chủ – khối "Cam kết từ Hebipha" (trên footer)
   Nền cùng màu kem với ảnh banner để ảnh liền mạch, tràn ngang.
   ---------------------------------------------------------------------- */
.hb-ck {
	clear: both;
	padding: 50px 0 10px;
	background: #faf3ec;
}
.hb-ck__card { margin: 0 auto; }
.hb-ck__head { margin: 0 auto 6px; padding: 0 15px; text-align: center; }
.hb-ck__title {
	/* giống tiêu đề các phần khác trên trang chủ (.widget-title của theme) */
	position: relative;
	margin: 0 0 10px;
	padding: 20px 0;
	font-family: "Roboto", sans-serif;
	font-size: 2rem;
	font-weight: 600;
	line-height: 1.1;
	color: #046738;
	text-align: center;
	text-transform: uppercase;
}
.hb-ck__title::before,
.hb-ck__title::after {
	content: "";
	position: absolute;
	left: 50%;
	width: 20px;
	height: 1px;
	background: #046738;
}
.hb-ck__title::before { bottom: 10px; transform: translateX(-50%); }
.hb-ck__title::after { bottom: 8px; transform: translateX(calc(-50% - 5px)); }
.hb-ck__sub { margin: 0; font-size: 16px; line-height: 1.5; color: #666; text-align: center; }
.hb-ck__banner {
	display: block;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 50px; /* chừa chỗ cho cột icon mạng xã hội bên phải */
}
.hb-ck__banner img {
	display: block;
	width: 100%;
	height: auto;
}
.hb-ck__grid { display: none; margin: 0; padding: 0; list-style: none; }
.hb-ck__grid.is-always {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 28px;
	max-width: 1240px;
	margin: 30px auto 40px;
	padding: 0 15px;
}
.hb-ck__item { margin: 0; padding: 0; text-align: center; list-style: none; }
.hb-ck__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 88px;
	height: 88px;
	margin-bottom: 18px;
	color: #3f9a4f;
	background: #eef3e8;
	border-radius: 50%;
}
.hb-ck__item-title {
	margin: 0 0 10px;
	font-size: 20px;
	line-height: 1.35;
	color: #2a2a2a;
	text-align: center;
	text-transform: none;
}
.hb-ck__item-desc { margin: 0; font-size: 16px; line-height: 1.65; color: #444; text-align: center; }

@media (max-width: 991px) {
	.hb-ck { padding-top: 36px; }
	.hb-ck__banner { padding: 0 15px; }
}
@media (max-width: 767px) {
	.hb-ck { padding: 30px 0 32px; }
	.hb-ck__sub { font-size: 14px; }
	.hb-ck__banner { display: none; }
	.hb-ck__grid,
	.hb-ck__grid.is-always {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 26px 14px;
		margin: 24px 0 0;
		padding: 0 15px;
	}
	.hb-ck__icon { width: 64px; height: 64px; margin-bottom: 12px; }
	.hb-ck__icon svg { width: 26px; height: 26px; }
	.hb-ck__item-title { margin-bottom: 6px; font-size: 15px; line-height: 1.4; }
	.hb-ck__item-desc { font-size: 13.5px; line-height: 1.55; }
}

/* -------------------------------------------------------------------------
   6. Màn hình nhỏ
   ---------------------------------------------------------------------- */
@media (max-width: 991px) {
	.hb-sp-body { flex-direction: column; gap: 10px; }
	.hb-sp-aside { flex-basis: auto; width: 100%; }
}
@media (max-width: 575px) {
	.hb-form .hb-f-row { grid-template-columns: 1fr; }
	.hb-popup__box { padding: 24px 18px 18px; }
	.hb-popup__title { font-size: 21px; }
	.hb-buybox__price { font-size: 26px; }
	body:not(.home):not(.woocommerce-page) .entry-content h1,
	body:not(.home):not(.woocommerce-page) .entry-content h2,
	.hb-sp-desc h1,
	.hb-sp-desc h2 { font-size: 20px; }
}

/* -------------------------------------------------------------------------
   7. Chữ đậm: theme dùng font robotoregular (không có nét đậm) → dùng robotobold
   ---------------------------------------------------------------------- */
.hb-ck__item-title,
.hb-popup__title,
.hb-buybox__price,
.hb-pack__price,
.hb-buybox__call strong,
.hb-form .hb-f-submit,
.hb-sp-heading,
.hb-box__title,
.hb-list strong {
	font-family: robotobold, robotoregular, Roboto, Arial, sans-serif;
	font-weight: normal;
}

/* -------------------------------------------------------------------------
   8. Footer trên điện thoại: menu 2 cột, hàng logo/mạng xã hội gọn, chừa chỗ nút gọi
   ---------------------------------------------------------------------- */
@media (max-width: 767px) {
	#footer-main { padding: 26px 0 10px; }
	#footer-main .container,
	#footer-2rd .container,
	#footer-bottom .container { padding-left: 15px; padding-right: 15px; }
	#footer-main .row,
	#footer-2rd .row {
		display: grid;
		grid-template-columns: 1fr 1fr;
		margin: 0;
	}
	#footer-main .row::before, #footer-main .row::after,
	#footer-2rd .row::before, #footer-2rd .row::after { display: none; }

	/* 4 nhóm link: 2 cột */
	#footer-main .row { gap: 22px 16px; }
	#footer-main .row > .widget {
		float: none;
		width: auto;
		min-width: 0;
		margin: 0;
		padding: 0;
	}
	#footer-main .widget-title {
		margin: 0 0 8px;
		padding: 0 0 7px;
		font-size: 15px;
		line-height: 1.3;
		border-bottom: 1px solid #dfe9e2;
	}
	#footer-main .widget ul { margin: 0; padding: 0; }
	#footer-main .widget ul li { margin: 0; padding: 4px 0; line-height: 1.4; }
	#footer-main .widget a { font-size: 13.5px; line-height: 1.4; }

	/* logo + mua hàng + mạng xã hội + Bộ Công Thương */
	#footer-2rd { padding: 16px 0 18px; border-top: 1px solid #edf1ee; }
	#footer-2rd .row { gap: 14px 10px; align-items: center; }
	#footer-2rd .row > div { float: none; width: auto; min-width: 0; padding: 0; }
	#footer-2rd-1,
	#footer-2rd-4 { grid-column: 1 / -1; text-align: center; }
	.footer-network__apps { display: block; margin: 0; padding: 0; }
	.footer-network__apps__text {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 10px;
		margin: 0;
	}
	.footer-network__apps__text img { float: none; margin: 0; }
	.footer-network__apps__text p { float: none; margin: 0; text-align: left; }
	.footer-network__cart,
	.footer-network__social {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		width: 100%;
		padding: 0;
		text-align: left;
	}
	.footer-network__cart p,
	.footer-network__social p { margin: 0; font-size: 12.5px; line-height: 1.3; }
	.footer-network__social ul { display: flex; gap: 4px; margin: 0; padding: 0; }
	.footer-network__social li { margin: 0; }
	.footer-network__cart img,
	.footer-network__social img { width: 38px; height: auto; }
	.footer-network__cert { display: block; width: 100%; text-align: center; }
	.footer-network__cert img { max-width: 150px; height: auto; }

	/* dải bản quyền: chữ nhỏ, căn giữa, chừa chỗ cho nút gọi / Zalo nổi */
	#footer-bottom { padding: 16px 0 96px; }
	#footer-bottom .row { margin: 0; }
	#footer-bottom .row > div { float: none; width: auto; padding: 0 15px; text-align: center; }
	#footer-bottom,
	#footer-bottom p { font-size: 12.5px; line-height: 1.6; }
	#bottom-cr-menu { margin: 0 0 6px; padding: 0; }
	#bottom-cr-menu li { margin: 0 6px 4px; font-size: 13px; }
}

/* -------------------------------------------------------------------------
   9. Sửa lỗi có sẵn của theme ở màn 992–1199px (laptop nhỏ / máy tính bảng ngang)
   Theme đặt tên cột kiểu Bootstrap 4 (col-lg = từ 992px) nhưng lại nạp Bootstrap 3
   (col-lg = từ 1200px) → ở khoảng này cột nội dung bị co còn col-md-2 (~1/6 bề ngang).
   ---------------------------------------------------------------------- */
@media (min-width: 992px) and (max-width: 1199px) {
	.row > .col-lg-12 { width: 100%; }
	.row > .col-lg-9  { width: 75%; }
	.row > .col-lg-8  { width: 66.6667%; }
	.row > .col-lg-6  { width: 50%; }
	.row > .col-lg-4  { width: 33.3333%; }
	.row > .col-lg-3  { width: 25%; }
	.row > .col-lg-2  { width: 16.6667%; }
}

/* -------------------------------------------------------------------------
   10. Menu điện thoại: nút mở menu con riêng, không bị icon nổi đè
   ---------------------------------------------------------------------- */
.header-mobile .all > li.menu-item-has-children:after { display: none; } /* thay bằng nút .hb-sub-toggle */
.header-mobile .all > li.menu-item-has-children > a { padding-right: 56px; }
.hb-sub-toggle {
	position: absolute;
	top: 0;
	right: 0;
	width: 52px;
	height: 46px;
	padding: 0;
	background: transparent;
	border: 0;
	border-left: 1px solid #ececec;
	cursor: pointer;
}
.hb-sub-toggle::before {
	content: "\f107";
	font-family: FontAwesome, fontawesome;
	font-size: 20px;
	font-weight: bold;
	line-height: 46px;
	color: #046738;
	display: inline-block;
	transition: transform .2s;
}
.header-mobile .all > li.actives > .hb-sub-toggle::before { transform: rotate(180deg); }
body.hb-menu-open { overflow: hidden; }
body.hb-menu-open .custom.sociallink,
body.hb-menu-open .hotline,
body.hb-menu-open .zalo-chat-widget,
body.hb-menu-open .zalo-chat-widget + div,
body.hb-menu-open iframe[src*="zalo"] { display: none !important; }
