/*
 Theme Name:   Flatsome Child
 Template:     flatsome
 Version:      1.0.0
*/

:root {
	--hopthanh-brand-blue: #4660FF;
	--hopthanh-brand-yellow: #ffb201;
}

/* ==========================================================================
   Header nav bar (bottom bar) — white background, brand-blue text with a
   draw-in underline on hover, in both the normal and Flatsome's native
   ".stuck" (sticky-on-scroll) states.
   ========================================================================== */
#wide-nav.header-bottom {
	background-color: #fff !important;
	border-top: 1px solid rgba(18, 18, 18, .08);
	box-shadow: 0 1px 0 rgba(18, 18, 18, .06);
}

/* The white bg blended into the page when stuck/scrolled, making the
   sticky header hard to notice — give it a clearly visible elevation
   shadow (on top of Flatsome's own .stuck shadow on the outer header)
   so it reads as floating above the page content. */
.stuck .header-bottom {
	background-color: #fff !important;
	box-shadow: 0 4px 16px rgba(18, 18, 18, .1);
}

.header:not(.transparent) .header-bottom-nav.nav > li > a {
	color: #17181a !important;
}

.header-bottom-nav.nav > li > a.nav-top-link {
	position: relative;
}

.header-bottom-nav.nav > li > a.nav-top-link::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 8px;
	height: 2px;
	background: var(--hopthanh-brand-blue);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .25s cubic-bezier(.16, 1, .3, 1);
}

.header-bottom-nav.nav > li:hover > a.nav-top-link::after,
.header-bottom-nav.nav > li.active > a.nav-top-link::after {
	transform: scaleX(1);
}

.header-bottom-nav.nav > li:hover > a.nav-top-link {
	color: var(--hopthanh-brand-blue) !important;
}

/* ==========================================================================
   Dropdown submenu — white card with shadow, replacing both Flatsome's
   plain default AND the legacy demo-theme dropdown CSS that used to live
   in the Customizer's "Custom CSS" field (now cleared). Targets the real
   rendered class (.nav-dropdown-simple), not the .nav-dropdown-default
   variant Flatsome doesn't actually use on this menu.
   ========================================================================== */
@media (min-width: 850px) {
	header#header .nav-dropdown {
		width: 240px;
		border-radius: 10px;
		box-shadow: 0 16px 40px rgba(18, 18, 18, .12);
		border: 1px solid rgba(18, 18, 18, .06);
		overflow: hidden;
		padding: 8px 0;
	}

	header#header .nav-dropdown a {
		color: #17181a;
	}

	header#header .nav-dropdown li > a {
		padding: 10px 18px;
		margin: 0;
		border: 0;
		font-size: 14px;
		font-weight: 400;
		text-transform: none;
	}

	/* Flatsome treats items with a nested submenu (.menu-item-has-children /
	   .nav-dropdown-col) as a "column heading" by default: smaller (.8em),
	   bold, uppercase text. Reset it back to a plain link so "Bơm tưới 3"
	   looks the same as its siblings, not a mini section header. */
	header#header .nav-dropdown li.menu-item-has-children > a,
	header#header .nav-dropdown li.nav-dropdown-col > a {
		font-size: 14px;
		font-weight: 400;
		text-transform: none;
		color: #17181a;
	}

	header#header .nav-dropdown li:hover > a {
		background: #F7F8FA;
		color: var(--hopthanh-brand-blue);
	}

	/* 3rd-level nested submenu shown as a hover flyout panel (to the right)
	   instead of Flatsome's default side-by-side table-cell columns. */
	header#header .nav-dropdown > li {
		display: block;
		width: 100%;
		white-space: normal;
		border-right: 0;
		position: relative;
	}

	header#header .nav-dropdown ul.sub-menu {
		position: absolute;
		left: 100%;
		top: -9px;
		width: 240px;
		margin: 0;
		padding: 8px 0;
		display: none !important;
		background: #fff;
		border-radius: 10px;
		box-shadow: 0 16px 40px rgba(18, 18, 18, .12);
		border: 1px solid rgba(18, 18, 18, .06);
	}

	header#header .nav-dropdown li:hover > ul.sub-menu {
		display: block !important;
	}

	header#header .nav-dropdown li.menu-item-has-children > a::after {
		content: "\203A";
		float: right;
		margin-left: 8px;
		color: #b7b7b7;
	}

	header#header .nav-dropdown li:hover > a::after {
		color: var(--hopthanh-brand-blue);
	}
}

/* ==========================================================================
   "Sản phẩm theo danh mục" UX Builder element — eyebrow + title header
   above a native WooCommerce product grid.
   ========================================================================== */
.hopthanh-product-section__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 18px;
	margin: 42px 0 42px;
}

.hopthanh-product-section__eyebrow {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .12em;
	/* color: #fff; */
	/* background: var(--hopthanh-brand-blue); */
	/* padding: 5px 14px; */
	border-radius: 999px;
	margin: 0 0 14px;

	font-size: 13px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #4660FF;
    font-weight: 600;
}

.hopthanh-product-section__eyebrow:empty {
	display: none;
	margin: 0;
}

.hopthanh-product-section__title {
	position: relative;
	font-size: clamp(18px, 2.4vw, 26px);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.05em;
	margin: 0;
	padding-bottom: 16px;
	color: #17181a;
}

.hopthanh-product-section__title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 56px;
	height: 4px;
	border-radius: 2px;
	background: var(--hopthanh-brand-yellow);
}

.hopthanh-product-section__view-all {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 600;
	color: #17181a;
	border: 0;
	background: none;
	padding: 0;
	white-space: nowrap;
}

.hopthanh-product-section__view-all::after {
	content: "\2192";
	font-size: 15px;
	transition: transform .2s ease;
}

.hopthanh-product-section__view-all:hover {
	color: var(--hopthanh-brand-blue);
}

.hopthanh-product-section__view-all:hover::after {
	transform: translateX(3px);
}

@media (max-width: 549px) {
	.hopthanh-product-section__header {
		align-items: flex-start;
	}
}

/* ==========================================================================
   "Danh mục nổi bật" bento grid (hopthanh_category_grid / hopthanh_category_card)
   ========================================================================== */
.hopthanh-cat-grid {
	--hcg-cols: 4;
	--hcg-gap: 20px;
	--hcg-row-h: 140px;
	display: grid;
	grid-template-columns: repeat(var(--hcg-cols), 1fr);
	grid-auto-rows: var(--hcg-row-h);
	grid-auto-flow: dense;
	gap: var(--hcg-gap);
	margin: 40px 0;
}

.hopthanh-cat-card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	border-radius: 16px;
	overflow: hidden;
	padding: 24px;
	background-color: #f2f4f7;
	background-size: cover;
	background-position: center;
	color: #17181a;
	text-decoration: none;
	opacity: 0;
	transform: translateY(24px);
	transition: opacity .6s ease, transform .6s ease, box-shadow .3s ease;
}

.hopthanh-cat-card.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.hopthanh-cat-card:hover {
	box-shadow: 0 16px 32px rgba(0, 0, 0, .14);
	transform: translateY(-4px);
}

.hopthanh-cat-card__body {
	position: relative;
	z-index: 2;
	display: block;
}

.hopthanh-cat-card__title {
	display: block;
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 10px;
}

.hopthanh-cat-card__count {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 600;
	color: inherit;
}

.hopthanh-cat-card__count-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--hopthanh-brand-blue);
	color: #fff;
	font-size: 11px;
	flex-shrink: 0;
	transition: transform .25s ease;
}

.hopthanh-cat-card:hover .hopthanh-cat-card__count-icon {
	transform: translateX(3px);
}

/* ---- Normal card: bg_color by default, or a background image (with dark overlay) ---- */
.hopthanh-cat-card--normal {
	color: #17181a;
}

.hopthanh-cat-card--normal.hopthanh-cat-card--has-bg-image {
	color: #fff;
}

.hopthanh-cat-card--normal.hopthanh-cat-card--has-bg-image::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .3);
	background: color-mix(in srgb, var(--hopthanh-brand-blue) 30%, rgba(0, 0, 0, .25));
	z-index: 1;
	pointer-events: none;
}

.hopthanh-cat-card__plus {
	position: absolute;
	right: 20px;
	bottom: 20px;
	z-index: 2;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--hopthanh-brand-blue);
	opacity: 0;
	transform: scale(.75);
	transition: opacity .3s ease, transform .3s ease;
}

.hopthanh-cat-card__plus::before,
.hopthanh-cat-card__plus::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	background: #fff;
	transform: translate(-50%, -50%);
}

.hopthanh-cat-card__plus::before {
	width: 14px;
	height: 2px;
}

.hopthanh-cat-card__plus::after {
	width: 2px;
	height: 14px;
}

.hopthanh-cat-card--normal:hover .hopthanh-cat-card__plus {
	opacity: 1;
	transform: scale(1);
}

/* ---- Decorative blob behind normal cards + floating product image ---- */
.hopthanh-cat-card--normal::before {
	content: "";
	position: absolute;
	width: 160%;
	height: 130%;
	left: -10%;
	bottom: -60%;
	border-radius: 50%;
	background: radial-gradient(ellipse at center, rgba(0, 0, 0, .06), rgba(0, 0, 0, 0) 70%);
	transform: rotate(-3deg);
	transition: transform .8s ease;
	z-index: 0;
}

.hopthanh-cat-card--normal:hover::before {
	transform: rotate(-3deg) scale(1.3);
}

.hopthanh-cat-card__floatimg {
	position: relative;
	z-index: 2;
	display: block;
	margin-top: auto;
	width: 40%;
	max-width: 160px;
	margin-left: auto;
	line-height: 0;
}

.hopthanh-cat-card__floatimg img {
	width: 100%;
	height: auto;
	object-fit: contain;
	display: block;
}

/* ---- Hero variant: centered title/subtitle, optional background image ---- */
.hopthanh-cat-card--hero {
	justify-content: center;
	align-items: center;
	text-align: center;
	background-color: #eceef1;
	color: #17181a;
	padding: 40px;
}

.hopthanh-cat-card--hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: none;
	z-index: 1;
}

.hopthanh-cat-card--hero .hopthanh-cat-card__title {
	font-size: clamp(22px, 3vw, 30px);
	font-weight: 800;
	margin-bottom: 14px;
}

.hopthanh-cat-card--hero .hopthanh-cat-card__subtitle {
	display: block;
	font-size: 15px;
	line-height: 1.6;
	max-width: 34ch;
	margin: 0 auto;
	opacity: .92;
}

@media (max-width: 849px) {
	.hopthanh-cat-grid {
		--hcg-cols: 2 !important;
	}

	.hopthanh-cat-card {
		grid-column: span 1 !important;
		grid-row: span 1 !important;
		min-height: 180px;
	}

	.hopthanh-cat-card--hero {
		grid-column: span 2 !important;
	}
}

@media (max-width: 549px) {
	.hopthanh-cat-grid {
		--hcg-cols: 1 !important;
	}

	.hopthanh-cat-card--hero {
		grid-column: span 1 !important;
	}
}

/* ==========================================================================
   "Giới thiệu ngắn gọn" 2-column intro (hopthanh_intro_section)
   ========================================================================== */
.hopthanh-intro {
	display: flex;
	flex-wrap: wrap;
	gap: 60px;
	align-items: stretch;
	margin: 40px 0;
}

.hopthanh-intro__left,
.hopthanh-intro__right {
	flex: 1 1 420px;
	min-width: 0;
}

.hopthanh-intro__media {
	position: relative;
	border-radius: 20px;
	overflow: hidden;
	height: 100%;
	min-height: 480px;
	background-color: #d9d9d9;
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hopthanh-intro__overlay {
	position: absolute;
	inset: 0;
	backdrop-filter: blur(1px);
	z-index: 1;
}

.hopthanh-intro__play {
	position: relative;
	z-index: 2;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .8);
	background: rgba(255, 255, 255, .12);
	backdrop-filter: blur(4px);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: transform .25s ease, background .25s ease;
}

.hopthanh-intro__play:hover {
	background: rgba(255, 255, 255, .25);
	transform: scale(1.06);
}

.hopthanh-intro__play svg {
	margin-left: 3px;
}

.hopthanh-intro__box {
	position: absolute;
	z-index: 2;
	left: 0;
	bottom: 0;
	width: min(78%, 340px);
	padding: 28px;
	border-radius: 0 20px 0 0;
	backdrop-filter: blur(10px);
}

.hopthanh-intro__box-title {
	color: #fff;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.35;
	margin: 0 0 18px;
}

.hopthanh-intro__box-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--hopthanh-brand-blue);
	color: #fff;
	font-weight: 600;
	font-size: 14px;
	padding: 12px 20px;
	border-radius: 999px;
	text-decoration: none;
	transition: opacity .2s ease;
}

.hopthanh-intro__box-btn:hover {
	opacity: .88;
	color: #fff;
}

.hopthanh-intro__box-btn-icon {
	display: inline-flex;
	width: 22px;
	height: 22px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, .25);
	font-size: 12px;
}

.hopthanh-intro__eyebrow {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--hopthanh-brand-blue);
	margin-bottom: 14px;
}

.hopthanh-intro__eyebrow-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--hopthanh-brand-blue);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--hopthanh-brand-blue) 18%, transparent);
	flex-shrink: 0;
}

.hopthanh-intro__heading {
	font-size: clamp(24px, 3vw, 34px);
	font-weight: 800;
	line-height: 1.25;
	margin: 0 0 20px;
}

.hopthanh-intro__description {
	background: #f5f5f5;
	border-radius: 14px;
	padding: 22px 24px;
	color: #4a4a4a;
	line-height: 1.75;
	margin-bottom: 32px;
}

.hopthanh-intro__description p:last-child {
	margin-bottom: 0;
}

.hopthanh-intro__benefits-heading {
	font-size: clamp(20px, 2.4vw, 26px);
	font-weight: 800;
	margin: 0 0 20px;
}

/* ---- Accordion ---- */
.hopthanh-accordion {
	background: #1c1c1c;
	border-radius: 16px;
	padding: 10px;
}

.hopthanh-accordion-item {
	background: #262626;
	border-radius: 10px;
	overflow: hidden;
}

.hopthanh-accordion-item + .hopthanh-accordion-item {
	margin-top: 10px;
}

.hopthanh-accordion-item__head {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 14px;
	background: none;
	border: 0;
	margin: 0;
	padding: 16px 18px;
	cursor: pointer;
	text-align: left;
	color: #fff;
}

/* Flatsome's base .button/button selector adds margin-bottom: 1em — reset it on
   every custom <button> we render, or it throws off spacing/alignment. */
.hopthanh-accordion-item__head,
.hopthanh-intro__play,
.hopthanh-video-modal__close {
	margin-bottom: 0;
}

.hopthanh-accordion-item__icon {
	width: 36px;
	height: 36px;
	border-radius: 8px;
	background: var(--hopthanh-brand-blue);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.hopthanh-accordion-item__icon img {
	width: 18px;
	height: 18px;
	object-fit: contain;
	filter: brightness(0) invert(1);
}

.hopthanh-accordion-item__title {
	flex: 1;
	font-size: 16px;
	font-weight: 600;
}

.hopthanh-accordion-item__chevron {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	position: relative;
	transition: transform .3s ease;
}

.hopthanh-accordion-item__chevron::before {
	content: "";
	position: absolute;
	inset: 0;
	border-right: 2px solid #fff;
	border-bottom: 2px solid #fff;
	width: 8px;
	height: 8px;
	margin: auto;
	transform: rotate(45deg) translateY(-2px);
}

.hopthanh-accordion-item.is-open .hopthanh-accordion-item__chevron {
	transform: rotate(180deg);
}

.hopthanh-accordion-item__wrap {
	display: grid;
	grid-template-rows: minmax(0, 0fr);
	transition: grid-template-rows .35s ease;
}

.hopthanh-accordion-item.is-open .hopthanh-accordion-item__wrap {
	grid-template-rows: minmax(0, 1fr);
}

.hopthanh-accordion-item__body {
	overflow: hidden;
	min-height: 0;
	max-height: 0;
	padding: 0 18px;
	transition: max-height .35s ease, padding .35s ease;
}

.hopthanh-accordion-item.is-open .hopthanh-accordion-item__body {
	max-height: 1000px;
	padding: 0 18px 18px;
}

.hopthanh-accordion-item__body p {
	margin: 0;
	color: #fff;
	font-size: 14.5px;
	line-height: 1.7;
}

.hopthanh-accordion-item__body p + p {
	margin-top: 12px;
}

/* ---- Video modal ---- */
.hopthanh-video-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hopthanh-video-modal[hidden] {
	display: none;
}

.hopthanh-video-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .8);
}

.hopthanh-video-modal__body {
	position: relative;
	z-index: 1;
	width: min(90vw, 900px);
}

.hopthanh-video-modal__embed {
	position: relative;
	width: 100%;
	padding-top: 56.25%;
}

.hopthanh-video-modal__embed iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.hopthanh-video-modal__close {
	position: absolute;
	top: -44px;
	right: 0;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 0;
	background: rgba(255, 255, 255, .15);
	color: #fff;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
}

body.hopthanh-video-modal-open {
	overflow: hidden;
}

@media (max-width: 849px) {
	.hopthanh-intro {
		gap: 32px;
	}

	.hopthanh-intro__media {
		min-height: 360px;
	}

	.hopthanh-intro__box {
		width: 100%;
		border-radius: 0;
	}
}

/* ==========================================================================
   "Tin tức" (hopthanh_news_section) — reuses Flatsome's .row/.col/.image-cover
   for the grid + aspect-ratio thumbnail, custom styling only for the meta/CTA bits.
   ========================================================================== */
.hopthanh-news {
	margin: 40px 0;
}

.hopthanh-news__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 20px;
	margin-bottom: 32px;
}

.hopthanh-news__heading {
	flex: 1 1 auto;
	min-width: 220px;
}

.hopthanh-news__tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.hopthanh-news__tab {
	border: 0;
	background: #fff;
	color: #6b6b6b;
	font-size: 15px;
	font-weight: 600;
	padding: 2px 22px;
	border-radius: 999px;
	cursor: pointer;
	white-space: nowrap;
	transition: background .25s ease, color .25s ease;
	text-transform: none;
	margin-right: 0;
}

.hopthanh-news__tab:hover {
	color: var(--hopthanh-brand-blue);
}

.hopthanh-news__tab.is-active {
	background: var(--hopthanh-brand-blue);
	color: #fff;
}

.hopthanh-news__panel[hidden] {
	display: none;
}

.hopthanh-news__eyebrow {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .06em;
	color: #6b6b6b;
	margin-bottom: 10px;
}

.hopthanh-news__eyebrow-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--hopthanh-brand-blue);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--hopthanh-brand-blue) 18%, transparent);
	flex-shrink: 0;
}

.hopthanh-news__title {
	font-size: clamp(28px, 3.4vw, 42px);
	font-weight: 800;
	margin: 0;
}

.hopthanh-news-card {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.hopthanh-news-card--boxed {
	background: #fff;
	padding: 16px;
	border-radius: 16px;
}

.hopthanh-news-card__thumb {
	display: block;
	border-radius: 14px;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: #eee;
}

.hopthanh-news-card__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hopthanh-news-card__body {
	padding-top: 18px;
}

.hopthanh-news-card__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 14px;
}

.hopthanh-news-card__tag {
	background: var(--hopthanh-brand-yellow);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .03em;
	padding: 4px 12px;
	border-radius: 999px;
}

.hopthanh-news-card__date {
	font-size: 13px;
	color: #7a7a7a;
}

.hopthanh-news-card__reading {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 13px;
	color: #7a7a7a;
}

.hopthanh-news-card__title {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.4;
	margin: 0 0 14px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.hopthanh-news-card__title a {
	color: #191919;
}

.hopthanh-news-card__title a:hover {
	color: var(--hopthanh-brand-blue);
}

.hopthanh-news-card__more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	font-size: 14px;
	font-weight: 600;
	color: var(--hopthanh-brand-blue);
	/* text-decoration: underline; */
	/* text-underline-offset: 3px; */
}

.hopthanh-news-card__more-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--hopthanh-brand-blue) 12%, transparent);
	color: var(--hopthanh-brand-blue);
	font-size: 13px;
	text-decoration: none;
}

.hopthanh-news__footer {
	text-align: center;
	margin-top: 40px;
}

.hopthanh-news__button {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: var(--hopthanh-brand-blue);
	color: #fff;
	font-weight: 700;
	font-size: 15px;
	padding: 10px 20px;
	border-radius: 999px;
	text-decoration: none;
	transition: opacity .2s ease;
}

.hopthanh-news__button:hover {
	opacity: .9;
	color: #fff;
}

.hopthanh-news__button-icon {
	font-size: 16px;
	line-height: 1;
	transition: transform .2s ease;
}

.hopthanh-news__button:hover .hopthanh-news__button-icon {
	transform: translateX(3px);
}

/* ==========================================================================
   "Đối tác" (hopthanh_partners_section) — infinite logo marquee, color on hover.
   ========================================================================== */
.hopthanh-partners {
	margin: 40px 0;
}

.hopthanh-partners__header {
	margin-bottom: 28px;
}

.hopthanh-partners__eyebrow {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--hopthanh-brand-blue);
	margin-bottom: 10px;
}

.hopthanh-partners__eyebrow-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--hopthanh-brand-blue);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--hopthanh-brand-blue) 18%, transparent);
	flex-shrink: 0;
}

.hopthanh-partners__title {
	font-size: clamp(24px, 3vw, 34px);
	font-weight: 800;
	margin: 0;
}

.hopthanh-partners__carousel {
	--hpn-speed: 30s;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.hopthanh-partners__track {
	display: flex;
	align-items: center;
	width: max-content;
	gap: 64px;
	animation: hopthanh-partners-scroll var(--hpn-speed) linear infinite;
}

.hopthanh-partners__carousel:hover .hopthanh-partners__track {
	animation-play-state: paused;
}

@keyframes hopthanh-partners-scroll {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-50%);
	}
}

.hopthanh-partners__logo {
	flex-shrink: 0;
	display: flex;
	align-items: center;
}

.hopthanh-partners__logo img {
	max-height: 44px;
	width: auto;
	filter: grayscale(1);
	opacity: .55;
	transition: filter .3s ease, opacity .3s ease;
}

.hopthanh-partners__logo:hover img {
	filter: grayscale(0);
	opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
	.hopthanh-partners__track {
		animation: none;
	}
}

/* ==========================================================================
   "Dịch vụ của chúng tôi" (hopthanh_services_section) — image + centered title
   cards on a light-grey background, pulled from a post category.
   ========================================================================== */
.hopthanh-services {
	margin: 40px 0;
}

/* Force an exact 24px gap between cards (Flatsome's row-small default is ~19.6px). */
.hopthanh-services .row.row-small {
	margin-left: -12px;
	margin-right: -12px;
}

.hopthanh-services .row.row-small > .col {
	padding: 0 12px 24px;
}

.hopthanh-services__header {
	margin-bottom: 32px;
}

.hopthanh-services__eyebrow {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--hopthanh-brand-blue);
	margin-bottom: 10px;
	text-align: center;
}

.hopthanh-services__eyebrow-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--hopthanh-brand-blue);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--hopthanh-brand-blue) 18%, transparent);
	flex-shrink: 0;
}

.hopthanh-services__title {
	font-size: clamp(26px, 3.4vw, 40px);
	font-weight: 800;
	margin: 0;
	text-align: center;
	color: #000;
}


.hopthanh-service-card {
	display: flex;
	flex-direction: column;
	background: #f0f5fd;
	border-radius: 16px;
	padding: 24px;
	height: 100%;
	opacity: 0;
	transform: translateY(24px);
	transition: opacity .6s ease, transform .6s ease;
}

.hopthanh-service-card.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.hopthanh-service-card__thumb {
	position: relative;
	display: block;
	border-radius: 12px;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: #e2e2e2;
}

.hopthanh-service-card__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s cubic-bezier(.25, .8, .25, 1), filter .6s ease;
}

.hopthanh-service-card:hover .hopthanh-service-card__thumb img {
	transform: scale(1.1) rotate(.5deg);
	filter: brightness(1.05);
}

.hopthanh-service-card__thumb::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, 0) 45%);
	opacity: 0;
	transform: translate(-40%, -40%);
	transition: opacity .5s ease, transform .7s cubic-bezier(.25, .8, .25, 1);
	pointer-events: none;
}

.hopthanh-service-card:hover .hopthanh-service-card__thumb::after {
	opacity: 1;
	transform: translate(0, 0);
}

.hopthanh-service-card__title {
	margin: 20px 0 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: calc(18px * 1.4 * 2);
}

.hopthanh-service-card__title a {
	color: #191919;
}

.hopthanh-service-card__title a:hover {
	color: var(--hopthanh-brand-blue);
}

@media (max-width: 549px) {
	.hopthanh-service-card {
		padding: 20px;
	}
}

/* ==========================================================================
   Footer — restyle Flatsome's own footer-widgets / absolute-footer markup.
   Data (widgets, menu, copyright) stays as-is; visuals only.
   ========================================================================== */
#footer.footer-wrapper {
	background: #14161f;
}

#footer .footer-widgets.dark {
	background: #14161f;
	padding-top: 64px;
	padding-bottom: 40px;
}

#footer .widget-title {
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
}

#footer .is-divider.small {
	max-width: 32px;
	border-top: 3px solid var(--hopthanh-brand-blue);
	opacity: 1;
	margin: 10px 0 20px;
}

#footer .footer-widgets p,
#footer .footer-widgets li {
	color: rgba(255, 255, 255, .62);
	font-size: 14.5px;
	line-height: 1.7;
}

#footer .footer-widgets a {
	color: rgba(255, 255, 255, .82);
	transition: color .2s ease;
}

#footer .footer-widgets a:hover {
	color: var(--hopthanh-brand-blue);
}

/* Social icons */
#footer .social-icons .icon.button.circle.is-outline {
	border-color: rgba(255, 255, 255, .25);
	color: #fff;
	transition: background-color .25s ease, border-color .25s ease, color .25s ease;
}

#footer .social-icons .icon.button.circle.is-outline:hover {
	background-color: var(--hopthanh-brand-blue);
	border-color: var(--hopthanh-brand-blue);
	color: #fff;
}

/* Recent posts widget */
#footer .recent-blog-posts-li {
	border-bottom: 1px solid rgba(255, 255, 255, .08);
}

#footer .recent-blog-posts-li:last-child {
	border-bottom: 0;
}

#footer .badge.post-date .badge-inner {
	background: var(--hopthanh-brand-blue);
	border-color: var(--hopthanh-brand-blue);
	color: #fff;
	border-radius: 8px;
}

#footer .recent-blog-posts a {
	color: #fff;
	font-weight: 600;
}

#footer .recent-blog-posts a:hover {
	color: var(--hopthanh-brand-blue);
}

#footer .post_comments a {
	color: rgba(255, 255, 255, .5);
}

/* Tag cloud widget */
#footer .tagcloud a.tag-cloud-link {
	display: inline-block;
	font-size: 13px !important;
	color: rgba(255, 255, 255, .75);
	background: rgba(255, 255, 255, .08);
	padding: 6px 14px;
	margin: 0 6px 8px 0;
	border-radius: 999px;
	transition: background-color .2s ease, color .2s ease;
}

#footer .tagcloud a.tag-cloud-link:hover {
	background: var(--hopthanh-brand-blue);
	color: #fff;
}

/* Bottom bar */
#footer .absolute-footer.dark {
	background: #0d0e14;
	border-top: 1px solid rgba(255, 255, 255, .08);
	padding: 22px 0;
}

/* Floats stack top-aligned, so the short copyright column sits at the top
   next to the taller (wrapped) payment-icons column instead of centering
   against it. Switch the row to flexbox so they vertically center together. */
#footer .absolute-footer .container.clearfix {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	padding-left: 0;
	padding-right: 0;
}

#footer .absolute-footer .footer-primary.pull-left,
#footer .absolute-footer .footer-secondary.pull-right {
	float: none;
	width: auto;
}

/* Flex lays items out in source order (footer-secondary comes first in the
   HTML), not by float direction — force the visual left/right back with order. */
#footer .absolute-footer .footer-primary.pull-left {
	order: 1;
	flex: 1;
}

#footer .absolute-footer .footer-secondary.pull-right {
	order: 2;
}

#footer .absolute-footer .footer-nav li a {
	color: rgba(255, 255, 255, .65);
	font-size: 13px;
	letter-spacing: .03em;
	transition: color .2s ease;
}

#footer .absolute-footer .footer-nav li a:hover {
	color: var(--hopthanh-brand-blue);
}

#footer .copyright-footer {
	color: rgba(255, 255, 255, .45);
	font-size: 13px;
}

#footer .payment-icons .payment-icon svg {
	opacity: .55;
	transition: opacity .2s ease;
}

#footer .payment-icons .payment-icon:hover svg {
	opacity: 1;
}

/* Back-to-top button */
#top-link.back-to-top {
	background: var(--hopthanh-brand-blue);
	border-color: var(--hopthanh-brand-blue);
	color: #fff;
	transition: opacity .2s ease;
}

#top-link.back-to-top:hover {
	opacity: .85;
}

/* Footer "About us" contact info list (pasted into the footer Text Editor widget) */
.hopthanh-footer-info {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-top: 4px;
}

.hopthanh-footer-info__item {
	display: flex;
	flex-direction: column;
}

.hopthanh-footer-info__item br {
	display: none;
}

.hopthanh-footer-info__label {
	display: block;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: rgba(255, 255, 255, .45);
	margin: 0 0 4px;
}

.hopthanh-footer-info__value {
	display: block;
	font-size: 14.5px;
	line-height: 1.5;
	color: rgba(255, 255, 255, .85);
}

a.hopthanh-footer-info__value {
	transition: color .2s ease;
}

a.hopthanh-footer-info__value:hover {
	color: var(--hopthanh-brand-blue);
}

/* ==========================================================================
   "Danh mục" (hopthanh_category_showcase) — child categories of a chosen
   parent product category, header reuses .hopthanh-product-section__* styles.
   ========================================================================== */
.hopthanh-catshow {
	margin: 40px 0;
}

.hopthanh-catshow-card {
	display: flex;
	flex-direction: column;
	/* background: #F7F8FA; */
	background: #fff;
	border: 1px solid rgba(18, 18, 18, .08);
	border-radius: 16px;
	overflow: hidden;
	height: 100%;
	text-decoration: none;
	opacity: 0;
	transform: translateY(24px);
	transition: opacity .6s ease, transform .6s ease, box-shadow .3s ease;
}

.hopthanh-catshow-card.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.hopthanh-catshow-card:hover {
	box-shadow: 0 16px 32px rgba(0, 0, 0, .12);
	transform: translateY(-4px);
}

.hopthanh-catshow-card__thumb {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 1;
	overflow: hidden;
	padding: 18px;
}

.hopthanh-catshow-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: transform .4s ease;
}

.hopthanh-catshow-card:hover .hopthanh-catshow-card__thumb img {
	transform: scale(1.06);
}

.hopthanh-catshow-card__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	font-size: 32px;
	font-weight: 800;
	color: #fff;
	background: var(--hopthanh-brand-blue);
	text-transform: uppercase;
	border-radius: 12px;
}

.hopthanh-catshow-card__info {
	display: flex;
	flex-direction: column;
	background: rgb(242 232 232 / 20%);
	padding: 20px 24px 24px;
	margin-top: auto;
}

.hopthanh-catshow-card__count {
	font-size: 12px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--hopthanh-brand-blue);
	margin-bottom: 8px;
}

.hopthanh-catshow-card__name {
	font-size: 19px;
	font-weight: 600;
	letter-spacing: .02em;
	line-height: 1.35;
	color: #191919;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: calc(19px * 1.35 * 2);
}

/* ==========================================================================
   Custom WooCommerce catalog page (shop + product category archives)
   woocommerce/archive-product.php
   ========================================================================== */
.hopthanh-catalog {
	padding: 32px 0 70px;
}

.hopthanh-catalog__breadcrumb {
	font-size: 13px;
	color: #8a8a8a;
	margin-bottom: 28px;
}

.hopthanh-catalog__breadcrumb a {
	color: #8a8a8a;
}

.hopthanh-catalog__breadcrumb a:hover {
	color: var(--hopthanh-brand-blue);
}

.hopthanh-catalog__header {
	text-align: left;
	max-width: 720px;
	/* margin: 0 auto 36px; */
}

.hopthanh-catalog__header .hopthanh-product-section__eyebrow {
	margin: 0 0 12px;
}

.hopthanh-catalog__title {
	position: relative;
	font-size: clamp(24px, 3.2vw, 34px);
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: .02em;
	color: #434b59;
	margin: 0 0 20px;
	padding-bottom: 18px;
}

.hopthanh-catalog__title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 56px;
	height: 4px;
	border-radius: 2px;
	background: var(--hopthanh-brand-yellow);
}

.hopthanh-catalog__description {
	font-size: 15px;
	line-height: 1.7;
	color: #6b6b6b;
}

.hopthanh-catalog__description p {
	margin: 0 0 .8em;
}

.hopthanh-catalog__description p:last-child {
	margin-bottom: 0;
}

.hopthanh-catalog__searchbar {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	flex-wrap: wrap;
}

.container_catalog__header {
	border-bottom: 0.5px solid rgba(18, 18, 18, .1);
	padding-bottom: 24px;
	margin-bottom: 24px;
}

.hopthanh-catalog__search {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 1 1 auto;
	width: 100%;
	max-width: none;
}

.hopthanh-catalog__search-input {
	box-sizing: border-box;
	flex: 1 1 auto;
	width: 100%;
	height: 48px;
	border: 0.1px solid rgba(18, 18, 18, .12) !important;
	border-radius: 8px !important;
	background: #F7F8FA;
	padding: 0 20px;
	font-size: 14px;
	color: #17181a;
	margin: 0;
	transition: border-color .2s ease;
}

.hopthanh-catalog__search-input:focus {
	border-color: var(--hopthanh-brand-blue);
	outline: none;
}

.hopthanh-catalog__search-submit {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	margin-bottom: 0 !important;
	padding: 0 26px;
	border: 1px solid rgba(18, 18, 18, .1);
	border-radius: 999px;
	background: #fff;
	color: #4a4a4a;
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
	cursor: pointer;
	transition: color .2s ease, border-color .2s ease;
}

.hopthanh-catalog__search-submit:hover {
	color: var(--hopthanh-brand-blue);
	border-color: var(--hopthanh-brand-blue);
}

.hopthanh-catalog__pills {
	display: flex;
	flex-wrap: wrap;
	justify-content: left;
	gap: 10px;
	margin-bottom: 36px;
}

.hopthanh-catalog__pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: 1px solid rgba(18, 18, 18, .1);
	background: #fff;
	color: #4a4a4a;
	font-size: 14px;
	font-weight: 600;
	padding: 6px 18px;
	border-radius: 999px;
	white-space: nowrap;
	transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.hopthanh-catalog__pill:hover {
	color: var(--hopthanh-brand-blue);
	border-color: var(--hopthanh-brand-blue);
}

.hopthanh-catalog__pill.is-active {
	background: var(--hopthanh-brand-blue);
	border-color: var(--hopthanh-brand-blue);
	color: #fff;
}

.hopthanh-catalog__pill-count {
	font-size: 12px;
	font-weight: 600;
	color: inherit;
	opacity: .65;
}

.hopthanh-catalog__count {
	font-size: 14px;
	color: #8a8a8a;
	margin: 0 0 20px;
}

.hopthanh-catalog__pagination {
	margin-top: 40px;
	display: flex;
	justify-content: center;
}

.hopthanh-catalog__pagination .woocommerce-pagination ul.page-numbers {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.hopthanh-catalog__pagination .woocommerce-pagination ul.page-numbers li {
	margin: 0;
}

.hopthanh-catalog__pagination .woocommerce-pagination .page-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: 40px;
	height: 40px;
	padding: 0 6px;
	margin-bottom: 0;
	border: 1px solid rgba(18, 18, 18, .1);
	border-radius: 8px;
	background: #fff;
	color: #4a4a4a;
	font-size: 14px;
	font-weight: 600;
	transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.hopthanh-catalog__pagination .woocommerce-pagination a.page-number:hover {
	color: var(--hopthanh-brand-blue);
	border-color: var(--hopthanh-brand-blue);
}

.hopthanh-catalog__pagination .woocommerce-pagination .page-number.current {
	background: var(--hopthanh-brand-blue);
	border-color: var(--hopthanh-brand-blue);
	color: #fff;
}

.hopthanh-catalog__pagination .woocommerce-pagination .page-number.next {
	font-size: 13px;
}

.hopthanh-catalog__empty {
	text-align: center;
	font-size: 15px;
	color: #8a8a8a;
	padding: 60px 0;
}

@media (max-width: 549px) {
	.hopthanh-catalog__searchbar {
		flex-direction: column;
		align-items: stretch;
	}

	.hopthanh-catalog__search {
		max-width: none;
	}
}

/* ==========================================================================
   Custom product detail page (shop single product)
   woocommerce/single-product.php
   ========================================================================== */
.hopthanh-product {
	padding: 32px 0 70px;
}

.hopthanh-product__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 48px;
	align-items: start;
}

.hopthanh-product__gallery {
	background: #F7F8FA;
	border: 1px solid rgba(18, 18, 18, .08);
	border-radius: 16px;
	padding: 24px;
}

.hopthanh-product__info .hopthanh-product-section__eyebrow {
	margin: 0 0 10px;
}

.hopthanh-product__title {
	font-size: clamp(26px, 3vw, 38px);
	font-weight: 700;
	line-height: 1.25;
	color: #17181a;
	margin: 0 0 16px;
}

.hopthanh-product__short-desc {
	font-size: 15px;
	line-height: 1.7;
	color: #4a4a4a;
	margin-bottom: 24px;
}

.hopthanh-product__short-desc p {
	margin: 0 0 .8em;
}

.hopthanh-product__short-desc p:first-child {
	font-size: 17px;
	font-weight: 700;
	color: #17181a;
}

.hopthanh-product__short-desc p:last-child {
	margin-bottom: 0;
}

.hopthanh-product__specs {
	margin: 8px 0 28px;
	padding: 22px 0;
	border-top: 1px solid rgba(18, 18, 18, .08);
	border-bottom: 1px solid rgba(18, 18, 18, .08);
}

.hopthanh-product__specs ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.hopthanh-product__specs li {
	position: relative;
	padding-left: 30px;
	margin-bottom: 12px;
	font-size: 14px;
	line-height: 1.6;
	color: #333;
}

.hopthanh-product__specs li:last-child {
	margin-bottom: 0;
}

.hopthanh-product__specs li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 2px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--hopthanh-brand-blue);
}

.hopthanh-product__specs li::after {
	content: "";
	position: absolute;
	left: 6px;
	top: 5px;
	width: 5px;
	height: 9px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.hopthanh-product__documents {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 24px;
}

.hopthanh-product__document {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 40px;
	padding: 0 16px;
	border: 1px solid rgba(18, 18, 18, .1);
	border-radius: 999px;
	background: #fff;
	color: #4a4a4a;
	font-size: 13px;
	font-weight: 600;
	transition: color .2s ease, border-color .2s ease;
}

.hopthanh-product__document:hover {
	color: var(--hopthanh-brand-blue);
	border-color: var(--hopthanh-brand-blue);
}

.hopthanh-product__document-icon {
	width: 14px;
	height: 16px;
	flex-shrink: 0;
	border: 1.5px solid currentColor;
	border-radius: 2px;
	position: relative;
}

.hopthanh-product__document-icon::before {
	content: "";
	position: absolute;
	left: 3px;
	right: 3px;
	top: 4px;
	height: 1.5px;
	background: currentColor;
	box-shadow: 0 3px 0 currentColor, 0 6px 0 currentColor;
}

.hopthanh-product__cta {
	background: #F7F8FA;
	border: 1px solid rgba(18, 18, 18, .08);
	border-radius: 16px;
	padding: 24px;
}

.hopthanh-product__cta-eyebrow {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--hopthanh-brand-blue);
	margin-bottom: 8px;
}

.hopthanh-product__cta-title {
	font-size: 20px;
	font-weight: 700;
	color: #17181a;
	margin: 0 0 8px;
}

.hopthanh-product__cta-desc {
	font-size: 14px;
	line-height: 1.6;
	color: #6b6b6b;
	margin: 0 0 20px;
}

.hopthanh-product__cta-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.hopthanh-product__cta-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 48px;
	padding: 0 24px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
	margin-bottom: 0;
	transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.hopthanh-product__cta-btn--primary {
	background: var(--hopthanh-brand-blue);
	color: #fff;
	border: 1px solid var(--hopthanh-brand-blue);
}

.hopthanh-product__cta-btn--primary:hover {
	background: #3450e6;
	border-color: #3450e6;
	color: #fff;
}

.hopthanh-product__cta-btn--secondary {
	background: #fff;
	color: #4a4a4a;
	border: 1px solid rgba(18, 18, 18, .12);
}

.hopthanh-product__cta-btn--secondary:hover {
	color: var(--hopthanh-brand-blue);
	border-color: var(--hopthanh-brand-blue);
}

.hopthanh-product__description {
	margin-top: 56px;
	padding-top: 40px;
	border-top: 1px solid rgba(18, 18, 18, .08);
	max-width: 900px;
}

.hopthanh-product__description-title {
	font-size: clamp(20px, 2.4vw, 26px);
	font-weight: 700;
	color: #17181a;
	margin: 0 0 20px;
}

/* ==========================================================================
   .hopthanh-richtext — shared rich-content styling for any editor-produced
   HTML (headings/paragraphs/lists/images/quotes/tables), used by both the
   product description (single-product.php) and the blog post body
   (single.php). !important on text properties is deliberate: pasted
   content often drags in inline font-size/color/font-family spans from
   Word/Google Docs, and this normalizes it to the site's own typography
   without needing the content itself cleaned up first.
   ========================================================================== */
.hopthanh-richtext {
	font-size: 15px;
	line-height: 1.8;
	color: #4a4a4a;
}

.hopthanh-richtext > *:first-child {
	margin-top: 0;
}

.hopthanh-richtext p,
.hopthanh-richtext li,
.hopthanh-richtext p *,
.hopthanh-richtext li * {
	font-size: 15px !important;
	line-height: 1.8 !important;
	color: #4a4a4a !important;
	font-family: inherit !important;
}

.hopthanh-richtext p {
	margin: 0 0 1.2em;
}

.hopthanh-richtext h2 {
	font-size: 22px;
	font-weight: 700;
	line-height: 1.35;
	color: #17181a;
	margin: 44px 0 18px;
}

.hopthanh-richtext h3 {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.4;
	color: #17181a;
	margin: 30px 0 14px;
}

.hopthanh-richtext h2 *,
.hopthanh-richtext h3 * {
	font-size: inherit !important;
	font-weight: inherit !important;
	color: inherit !important;
	font-family: inherit !important;
}

.hopthanh-richtext ul,
.hopthanh-richtext ol {
	margin: 0 0 1.2em;
	padding-left: 4px;
}

.hopthanh-richtext ul {
	list-style: none;
}

.hopthanh-richtext ul li {
	position: relative;
	padding-left: 20px;
	margin-bottom: 8px;
}

.hopthanh-richtext ul li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 10px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--hopthanh-brand-blue);
}

.hopthanh-richtext ol {
	padding-left: 22px;
}

.hopthanh-richtext ol li {
	margin-bottom: 8px;
}

.hopthanh-richtext a {
	color: var(--hopthanh-brand-blue) !important;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.hopthanh-richtext a:hover {
	color: #3450e6 !important;
}

.hopthanh-richtext strong,
.hopthanh-richtext b {
	font-weight: 700 !important;
	color: #17181a !important;
}

.hopthanh-richtext em,
.hopthanh-richtext i {
	font-style: italic;
}

.hopthanh-richtext figure {
	margin: 28px 0;
	text-align: center;
}

.hopthanh-richtext img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
	display: inline-block;
}

.hopthanh-richtext figcaption {
	margin-top: 10px;
	font-size: 13px !important;
	font-style: italic;
	color: #8a8a8a !important;
}

.hopthanh-richtext blockquote {
	margin: 24px 0;
	padding: 18px 22px;
	border-left: 3px solid var(--hopthanh-brand-blue);
	background: #F7F8FA;
	border-radius: 0 12px 12px 0;
}

.hopthanh-richtext blockquote,
.hopthanh-richtext blockquote p,
.hopthanh-richtext blockquote * {
	font-size: 14px !important;
	line-height: 1.7 !important;
	color: #333 !important;
	font-family: inherit !important;
}

.hopthanh-richtext blockquote p {
	margin: 0 !important;
}

.hopthanh-richtext blockquote p:not(:last-child) {
	margin-bottom: .6em !important;
}

.hopthanh-richtext hr {
	border: 0;
	border-top: 1px solid rgba(18, 18, 18, .08);
	margin: 36px 0;
}

.hopthanh-richtext table {
	width: 100%;
	border-collapse: collapse;
	margin: 24px 0;
}

.hopthanh-richtext table th,
.hopthanh-richtext table td {
	border: 1px solid rgba(18, 18, 18, .1);
	padding: 10px 14px;
	text-align: left;
	font-size: 14px !important;
	color: #4a4a4a !important;
}

.hopthanh-richtext table th {
	background: #F7F8FA;
	font-weight: 700 !important;
	color: #17181a !important;
}

@media (max-width: 849px) {
	.hopthanh-product__layout {
		grid-template-columns: 1fr;
		gap: 28px;
	}
}

@media (max-width: 549px) {
	.hopthanh-product__cta-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.hopthanh-product__cta-btn {
		justify-content: center;
	}
}

/* ==========================================================================
   Custom blog single-post page (single.php)
   Values matched directly against https://aqaravn.com/blog/... (fetched
   its real HTML/CSS: spacing, font sizes, colors below are taken from
   that reference, not guessed from the screenshot).
   ========================================================================== */
.hopthanh-blog__header-wrap {
	padding: 44px 0 40px;
	border-bottom: 1px solid rgba(18, 18, 18, .08);
}

.hopthanh-blog__header {
	max-width: 860px;
}

.hopthanh-blog__eyebrow {
	margin: 24px 0 12px !important;
}

.hopthanh-blog__title {
	font-size: clamp(36px, 4.4vw, 56px);
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: -.025em;
	color: #121212;
	margin: 0 0 24px;
}

.hopthanh-blog__excerpt {
	font-size: 18px;
	line-height: 1.6;
	color: #333333;
	max-width: 760px;
	margin: 0 0 24px;
}

.hopthanh-blog__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	font-size: 13px;
	color: #666666;
	margin: 0 0 16px;
}

.hopthanh-blog__meta-author {
	color: #666666;
	text-decoration: none;
}

.hopthanh-blog__meta-author:hover {
	color: var(--hopthanh-brand-blue);
}

.hopthanh-blog__meta-author strong {
	color: #333333;
	font-weight: 700;
}

.hopthanh-blog__meta-author:hover strong {
	color: var(--hopthanh-brand-blue);
}

.hopthanh-blog__meta-bio {
	color: #666666;
}

.hopthanh-blog__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.hopthanh-blog__tag {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border: 1px solid rgba(18, 18, 18, .08);
	border-radius: 999px;
	background: #F7F8FA;
	color: #666666;
	font-size: 12px;
	transition: color .2s ease, border-color .2s ease;
}

.hopthanh-blog__tag:hover {
	color: var(--hopthanh-brand-blue);
	border-color: var(--hopthanh-brand-blue);
}

.hopthanh-blog__content {
	padding-top: 40px;
}

@media (max-width: 849px) {
	.hopthanh-blog__header-wrap {
		padding: 32px 0 28px;
	}
}

/* ==========================================================================
   Blog listing pages (home.php, category.php) —
   template-parts/blog-listing-header.php + hopthanh_render_news_grid()
   ========================================================================== */
.hopthanh-blog-list__header-wrap {
	padding: 44px 0 40px;
	border-bottom: 1px solid rgba(18, 18, 18, .08);
	margin-bottom: 40px;
}

.hopthanh-blog-list__title {
	font-size: clamp(32px, 4vw, 48px);
	font-weight: 700;
	line-height: 1.2;
	color: #17181a;
	margin: 0 0 14px;
}

.hopthanh-blog-list__description {
	font-size: 16px;
	line-height: 1.7;
	color: #4a4a4a;
	max-width: 720px;
}

.hopthanh-blog-list__description p {
	margin: 0 0 .6em;
}

.hopthanh-blog-list__description p:last-child {
	margin-bottom: 0;
}

.hopthanh-blog-list__pagination {
	margin: 48px 0 40px;
	display: flex;
	justify-content: center;
}

.hopthanh-blog-list__pagination .nav-links {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.hopthanh-blog-list__pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: 40px;
	height: 40px;
	padding: 0 6px;
	border: 1px solid rgba(18, 18, 18, .1);
	border-radius: 8px;
	background: #fff;
	color: #4a4a4a;
	font-size: 14px;
	font-weight: 600;
	transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.hopthanh-blog-list__pagination a.page-numbers:hover {
	color: var(--hopthanh-brand-blue);
	border-color: var(--hopthanh-brand-blue);
}

.hopthanh-blog-list__pagination .page-numbers.current {
	background: var(--hopthanh-brand-blue);
	border-color: var(--hopthanh-brand-blue);
	color: #fff;
}

@media (max-width: 849px) {
	.hopthanh-blog-list__header-wrap {
		padding: 32px 0 28px;
	}
}

/* ==========================================================================
   Homepage hero carousel (ux_slider/ux_banner on the front page) —
   fullscreen (100vh minus the header's real combined height: 30 + 78 + 43
   = 151px, see theme_mods header_top_height/header_height/
   header_bottom_height) with a right-aligned white text overlay, matching
   the layout pattern of https://blanc.vn/ (brand blue/yellow, not their
   palette). Height itself is set via each [ux_banner]'s own height="..."
   attribute in the page content, not overridden here.
   ========================================================================== */
.slider-wrapper .text-box-content {
	background: none !important;
}

.hopthanh-hero-content {
	color: #fff;
	text-shadow: 0 2px 20px rgba(0, 0, 0, .35);
}

.hopthanh-hero-title {
	font-size: clamp(28px, 4vw, 52px);
	font-weight: 700;
	line-height: 1.2;
	color: #fff;
	margin: 0 0 16px;
}

.hopthanh-hero-sub {
	font-size: clamp(15px, 1.4vw, 19px);
	line-height: 1.6;
	color: #fff;
	margin: 0 0 28px;
}

.hopthanh-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.hopthanh-hero-btn {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	display: inline-flex;
	align-items: center;
	height: 50px;
	padding: 0 28px;
	border-radius: 999px;
	border: 1px solid transparent;
	font-size: 15px;
	font-weight: 600;
	white-space: nowrap;
	text-shadow: none;
	transition: color .25s ease;
}

.hopthanh-hero-btn span {
	position: relative;
	z-index: 1;
}

.hopthanh-hero-btn::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	transform: scaleX(0);
	transform-origin: right center;
	transition: transform .45s cubic-bezier(.16, 1, .3, 1);
}

.hopthanh-hero-btn:hover::before {
	transform: scaleX(1);
	transform-origin: left center;
}

.hopthanh-hero-btn--solid {
	background: var(--hopthanh-brand-blue);
	color: #fff;
	border-color: var(--hopthanh-brand-blue);
}

.hopthanh-hero-btn--solid::before {
	background: #fff;
}

.hopthanh-hero-btn--solid:hover {
	color: var(--hopthanh-brand-blue);
}

.hopthanh-hero-btn--ghost {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, .7);
}

.hopthanh-hero-btn--ghost::before {
	background: #fff;
}

.hopthanh-hero-btn--ghost:hover {
	color: #17181a;
	border-color: #fff;
}

@media (max-width: 849px) {
	.hopthanh-hero-content {
		text-align: center;
	}

	.hopthanh-hero-actions {
		justify-content: center;
	}
}
