/**
 * Shop & product archive — catalog B2B: sạch, nhấn mạnh accent, dễ quét.
 */

:root {
	--hl-shop-accent: var(--maincolor, #c41230);
	--hl-shop-accent-soft: color-mix(in srgb, var(--hl-shop-accent) 12%, transparent);
	--hl-shop-accent-muted: color-mix(in srgb, var(--hl-shop-accent) 35%, #6b6b6b);
	--hl-shop-border: #e8eaed;
	--hl-shop-border-strong: #d1d5db;
	--hl-shop-muted: #5c6370;
	--hl-shop-heading: #1a1d24;
	--hl-shop-surface: #ffffff;
	--hl-shop-surface-elevated: #f8f9fb;
	--hl-shop-image-bg: #f0f2f5;
	--hl-shop-radius: 12px;
	--hl-shop-radius-sm: 8px;
	--hl-shop-shadow-sm: 0 1px 2px rgba(17, 24, 39, 0.05);
	--hl-shop-shadow-md: 0 4px 14px rgba(17, 24, 39, 0.07);
	--hl-shop-shadow-hover: 0 12px 28px rgba(17, 24, 39, 0.09);
	--hl-shop-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--hl-shop-transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	/* PDP (chitietsanpham) */
	--hl-pdp-blue: #0056b3;
	--hl-pdp-blue-soft: color-mix(in srgb, #0056b3 14%, transparent);
	--hl-pdp-cta-red: var(--hl-shop-accent);
	--hl-pdp-strip-bg: rgba(23, 30, 48, 0.88);
}

.hl-shop-archive {
	background: linear-gradient(180deg, var(--hl-shop-surface-elevated) 0%, var(--hl-shop-surface) 18rem);
	font-family: var(--hl-shop-font);
}

.hl-shop-archive #content.container {
	padding-bottom: 3.5rem;
}

/* —— Breadcrumb —— */
#breadcum.hl-shop-breadcum,
.hl-shop-breadcum {
	background: transparent !important;
	padding: 1.25rem 0 0.75rem;
	margin-bottom: 0;
	border-bottom: none;
}

.hl-shop-bc.woocommerce-breadcrumb,
nav.hl-shop-bc.woocommerce-breadcrumb {
	margin: 0 !important;
	padding: 0.65rem 1rem !important;
	font-size: 0.8125rem;
	line-height: 1.5;
	color: var(--hl-shop-muted);
	background: var(--hl-shop-surface);
	border: 1px solid var(--hl-shop-border);
	border-radius: var(--hl-shop-radius-sm);
	box-shadow: var(--hl-shop-shadow-sm);
	display: inline-block;
}

.hl-shop-bc.woocommerce-breadcrumb a {
	color: var(--hl-shop-accent);
	text-decoration: none;
	font-weight: 600;
	transition: color var(--hl-shop-transition);
}

.hl-shop-bc.woocommerce-breadcrumb a:hover {
	color: var(--hl-shop-accent-muted);
	text-decoration: none;
}

.hl-shop-bc .hl-bc-sep {
	margin: 0 0.4em;
	color: var(--hl-shop-border-strong);
	font-weight: 400;
}

/* —— Layout —— */
.hl-shop-row {
	align-items: flex-start;
}

.hl-shop-sidebar {
	padding-top: 0.25rem;
}

/* Drawer lọc — chỉ mobile */
.hl-filter-drawer-backdrop {
	display: none;
}

.hl-filter-drawer-header {
	display: none;
}

.hl-filter-drawer-open-wrap {
	display: none;
}

@media (max-width: 991px) {

	/*
	 * Header (.stickyMain z-index: 999) nằm trong #wrapper-navbar;
	 * drawer nằm trong .mainContent — anh em dưới #page.
	 * z-index trên #archive-wrapper không vượt header; phải nâng .mainContent.
	 */
	body.hl-filter-drawer-active #page > .mainContent {
		position: relative;
		z-index: 1000;
	}

	body.hl-filter-drawer-active #wrapper-navbar,
	body.hl-filter-drawer-active #wrapper-navbar .header.stickyMain {
		z-index: 900 !important;
	}

	/* Drawer/backdrop gắn trực tiếp body (portal JS) */
	body.hl-filter-drawer-active > .hl-filter-drawer-backdrop.is-visible {
		display: block;
		position: fixed;
		inset: 0;
		z-index: 100001;
	}

	body.hl-filter-drawer-active > #hl-shop-sidebar-drawer.hl-shop-sidebar.is-drawer-open {
		z-index: 100002;
	}

	.hl-filter-drawer-backdrop {
		display: block;
		position: fixed;
		inset: 0;
		z-index: 100001;
		background: rgba(15, 23, 42, 0.5);
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transition: opacity 0.3s ease, visibility 0.3s;
	}

	.hl-filter-drawer-backdrop.is-visible {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
	}

	body.hl-filter-drawer-active {
		overflow: hidden;
		touch-action: none;
	}

	.hl-shop-row {
		display: flex;
		flex-wrap: wrap;
	}

	.hl-shop-main {
		order: 1;
		width: 100%;
		max-width: 100%;
		flex: 0 0 100%;
	}

	.hl-shop-sidebar,
	#hl-shop-sidebar-drawer.hl-shop-sidebar {
		display: block !important;
		order: 2;
		position: fixed;
		left: 0;
		right: 0;
		top: 0;
		bottom: 0;
		width: 100% !important;
		max-width: none !important;
		flex: none !important;
		margin: 0;
		padding: 0 1rem calc(1rem + env(safe-area-inset-bottom, 0px));
		padding-top: env(safe-area-inset-top, 0px);
		z-index: 100002;
		background: var(--hl-shop-surface);
		transform: translate3d(0, 100%, 0);
		visibility: hidden;
		opacity: 0;
		pointer-events: none;
		transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.38s, opacity 0.3s;
		overflow-x: hidden;
		overflow-y: auto;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
		border-radius: 0;
		box-shadow: none;
	}

	.hl-shop-sidebar.is-drawer-open,
	#hl-shop-sidebar-drawer.hl-shop-sidebar.is-drawer-open {
		transform: translate3d(0, 0, 0) !important;
		visibility: visible !important;
		opacity: 1 !important;
		pointer-events: auto !important;
	}

	.hl-filter-drawer-header {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 1rem;
		position: sticky;
		top: 0;
		z-index: 3;
		margin: 0 -1rem 1rem;
		padding: 0.75rem 1rem;
		padding-top: calc(0.75rem + env(safe-area-inset-top, 0px));
		background: var(--hl-shop-surface);
		border-bottom: 1px solid var(--hl-shop-border);
		box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
	}

	.hl-filter-drawer-title {
		margin: 0;
		font-size: 1.0625rem;
		font-weight: 700;
		color: var(--hl-shop-heading);
		line-height: 1.2;
		border: none;
		padding: 0;
	}

	.hl-filter-drawer-close {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 2.5rem;
		height: 2.5rem;
		margin: 0;
		padding: 0;
		border: none;
		border-radius: var(--hl-shop-radius-sm);
		background: var(--hl-shop-surface-elevated);
		color: var(--hl-shop-heading);
		font-size: 1.5rem;
		line-height: 1;
		cursor: pointer;
		transition: background var(--hl-shop-transition), color var(--hl-shop-transition);
	}

	.hl-filter-drawer-close:hover {
		background: var(--hl-shop-accent-soft);
		color: var(--hl-shop-accent);
	}

	.hl-shop-sidebar-inner {
		padding-bottom: 0.5rem;
	}

	.hl-filter-drawer-open-wrap {
		display: block;
		margin-top: 1rem;
	}

	.hl-filter-drawer-open {
		display: inline-flex;
		align-items: center;
		gap: 0.5rem;
		width: 100%;
		max-width: 100%;
		justify-content: center;
		min-height: 2.75rem;
		padding: 0.5rem 1.25rem;
		border: 1px solid var(--hl-shop-border-strong);
		border-radius: var(--hl-shop-radius-sm);
		background: var(--hl-shop-surface);
		color: var(--hl-shop-heading);
		font-size: 0.875rem;
		font-weight: 700;
		text-transform: uppercase;
		letter-spacing: 0.05em;
		cursor: pointer;
		box-shadow: var(--hl-shop-shadow-sm);
		transition: border-color var(--hl-shop-transition), background var(--hl-shop-transition), color var(--hl-shop-transition);
	}

	.hl-filter-drawer-open:hover {
		border-color: var(--hl-shop-accent);
		color: var(--hl-shop-accent);
		background: var(--hl-shop-accent-soft);
	}

	.hl-filter-drawer-open-icon {
		flex-shrink: 0;
	}

	.hl-product-filters {
		box-shadow: none;
		border-radius: var(--hl-shop-radius-sm);
	}
}

.block-collection.hl-shop-main {
	background: var(--hl-shop-surface);
	border: 1px solid var(--hl-shop-border);
	border-radius: var(--hl-shop-radius);
	box-shadow: var(--hl-shop-shadow-md);
	padding: 1.75rem 1.75rem 2rem;
	margin-bottom: 1rem;
}

@media (max-width: 991px) {
	.block-collection.hl-shop-main {
		padding: 1.25rem 1.125rem 1.5rem;
		border-radius: var(--hl-shop-radius-sm);
	}
}

/* —— Tiêu đề & tab danh mục —— */
.hl-archive-header {
	margin-bottom: 1.5rem;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid var(--hl-shop-border);
}

.hl-archive-title.title-page {
	display: block !important;
	font-size: clamp(1.625rem, 2.8vw, 2.125rem);
	font-weight: 700;
	color: var(--hl-shop-heading);
	margin: 0 0 1.125rem;
	line-height: 1.15;
	letter-spacing: -0.03em;
}

.hl-cat-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;
}

a.hl-cat-tab {
	display: inline-flex;
	align-items: center;
	padding: 0.5rem 1rem;
	border: 1px solid var(--hl-shop-border);
	border-radius: 999px;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--hl-shop-heading);
	background: var(--hl-shop-surface);
	text-decoration: none;
	transition: border-color var(--hl-shop-transition), color var(--hl-shop-transition), box-shadow var(--hl-shop-transition), background var(--hl-shop-transition);
	box-shadow: var(--hl-shop-shadow-sm);
}

a.hl-cat-tab:hover {
	border-color: var(--hl-shop-border-strong);
	color: var(--hl-shop-heading);
	background: var(--hl-shop-surface-elevated);
	box-shadow: var(--hl-shop-shadow-md);
}

a.hl-cat-tab.is-active {
	border-color: var(--hl-shop-accent);
	color: var(--hl-shop-accent);
	background: var(--hl-shop-accent-soft);
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--hl-shop-accent) 35%, transparent);
}

.hl-cat-desc {
	margin-bottom: 1rem;
}

.hl-cat-desc .term-description {
	font-size: 0.9375rem;
	color: var(--hl-shop-muted);
	line-height: 1.65;
	max-width: 65ch;
}

/* —— Nhóm sản phẩm theo danh mục con (accordion) —— */
.hl-cat-groups {
	width: 100%;
}

.hl-cat-group-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.hl-cat-group-item {
	margin: 0 0 0.25rem;
	padding: 0;
	border-bottom: 1px solid var(--hl-shop-border);
}

.hl-cat-group-item:last-child {
	border-bottom: none;
	margin-bottom: 0;
}

.hl-cat-group-head {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	padding: 0.875rem 0;
}

.hl-cat-group-toggle {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.375rem;
	height: 1.375rem;
	margin: 0;
	padding: 0;
	border: none;
	background: transparent;
	cursor: pointer;
	color: var(--hl-shop-heading);
	transition: color var(--hl-shop-transition);
}

.hl-cat-group-toggle:hover,
.hl-cat-group-toggle:focus-visible {
	color: var(--hl-shop-accent);
	outline: none;
}

.hl-cat-group-toggle-icon {
	position: relative;
	display: block;
	width: 0.75rem;
	height: 0.75rem;
}

.hl-cat-group-toggle-icon::before,
.hl-cat-group-toggle-icon::after {
	content: "";
	position: absolute;
	background: currentColor;
	border-radius: 1px;
	transition: transform var(--hl-shop-transition), opacity var(--hl-shop-transition);
}

.hl-cat-group-toggle-icon::before {
	top: 50%;
	left: 0;
	width: 100%;
	height: 2px;
	margin-top: -1px;
}

.hl-cat-group-toggle-icon::after {
	top: 0;
	left: 50%;
	width: 2px;
	height: 100%;
	margin-left: -1px;
}

.hl-cat-group-item.is-open .hl-cat-group-toggle-icon::after {
	transform: scaleY(0);
	opacity: 0;
}

.hl-cat-group-name {
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.35;
	color: var(--hl-shop-heading);
}

.hl-cat-group-name a {
	color: inherit;
	text-decoration: none;
	transition: color var(--hl-shop-transition);
}

.hl-cat-group-name a:hover {
	color: var(--hl-shop-accent);
}

.hl-cat-group-panel {
	padding: 0 0 1.25rem;
}

.hl-cat-group-panel[hidden] {
	display: none !important;
}

.hl-cat-group-panel .hl-products-loop {
	margin-left: 0;
	margin-right: 0;
}

/* —— Toolbar sắp xếp + thông báo (notices luôn hàng đầu, full width) —— */
.hl-shop-loop-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	margin: 0 0 1.25rem;
	padding: 0.875rem 1rem;
	background: var(--hl-shop-surface-elevated);
	border: 1px solid var(--hl-shop-border);
	border-radius: var(--hl-shop-radius-sm);
}

.hl-shop-loop-head .woocommerce-result-count {
	margin: 0;
	font-size: 0.8125rem;
	color: var(--hl-shop-muted);
	font-weight: 500;
}

.hl-shop-loop-head .woocommerce-ordering {
	margin: 0;
}

.hl-shop-loop-head .woocommerce-ordering select {
	min-width: 220px;
	max-width: 100%;
	padding: 7px 5px;
	border: 1px solid var(--hl-shop-border-strong);
	border-radius: var(--hl-shop-radius-sm);
	font-size: 0.875rem;
	font-weight: 500;
	background-color: var(--hl-shop-surface);
	color: var(--hl-shop-heading);
	cursor: pointer;
	transition: border-color var(--hl-shop-transition), box-shadow var(--hl-shop-transition);
}

.hl-shop-loop-head .woocommerce-ordering select:hover,
.hl-shop-loop-head .woocommerce-ordering select:focus {
	border-color: var(--hl-shop-accent);
	outline: none;
	box-shadow: 0 0 0 3px var(--hl-shop-accent-soft);
}

/* —— Cụm thông báo Woo (không cùng hàng với result-count / ordering) —— */
.hl-shop-loop-head .woocommerce-notices-wrapper {
	flex: 1 1 100%;
	width: 100%;
	max-width: 100%;
	order: -1;
	margin: 0 0 0.65rem;
	padding: 0;
	align-self: stretch;
}

.hl-shop-loop-head .woocommerce-notices-wrapper:empty {
	display: none !important;
	margin: 0 !important;
	padding: 0 !important;
	height: 0 !important;
	min-height: 0 !important;
	overflow: hidden !important;
	border: 0 !important;
	flex: 0 0 0 !important;
	width: 0 !important;
}

@supports selector(:has(*)) {
	.hl-shop-loop-head .woocommerce-notices-wrapper:not(:has(*)) {
		display: none !important;
		margin: 0 !important;
		padding: 0 !important;
		height: 0 !important;
		overflow: hidden !important;
		flex: 0 0 0 !important;
		width: 0 !important;
	}
}

.hl-shop-loop-head .woocommerce-result-count,
.hl-shop-loop-head .woocommerce-ordering {
	align-self: center;
}

.hl-shop-loop-head .woocommerce-result-count {
	flex: 1 1 auto;
	min-width: min(100%, 11rem);
}

.hl-shop-loop-head .woocommerce-ordering {
	flex: 0 0 auto;
	margin-left: auto;
}

.hl-shop-loop-head .woocommerce-notices-wrapper .woocommerce-message,
.hl-shop-loop-head .woocommerce-notices-wrapper .woocommerce-info,
.hl-shop-loop-head .woocommerce-notices-wrapper .woocommerce-error {
	margin: 0 0 0.5rem;
	padding: 0.8rem 1rem 0.8rem 2.65rem;
	border-radius: var(--hl-shop-radius-sm);
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.45;
	list-style: none;
	border: 1px solid var(--hl-shop-border);
	box-shadow: var(--hl-shop-shadow-sm);
	color: var(--hl-shop-heading);
	background: var(--hl-shop-surface);
}

.hl-shop-loop-head .woocommerce-notices-wrapper .woocommerce-message:last-child,
.hl-shop-loop-head .woocommerce-notices-wrapper .woocommerce-info:last-child,
.hl-shop-loop-head .woocommerce-notices-wrapper .woocommerce-error:last-child {
	margin-bottom: 0;
}

.hl-shop-loop-head .woocommerce-notices-wrapper .woocommerce-message {
	background: color-mix(in srgb, #0d9488 11%, var(--hl-shop-surface));
	border-color: color-mix(in srgb, #0d9488 28%, var(--hl-shop-border));
}

.hl-shop-loop-head .woocommerce-notices-wrapper .woocommerce-info {
	background: color-mix(in srgb, #2563eb 10%, var(--hl-shop-surface));
	border-color: color-mix(in srgb, #2563eb 26%, var(--hl-shop-border));
}

.hl-shop-loop-head .woocommerce-notices-wrapper .woocommerce-error,
.hl-shop-loop-head .woocommerce-notices-wrapper ul.woocommerce-error {
	background: color-mix(in srgb, var(--hl-shop-accent) 9%, var(--hl-shop-surface));
	border-color: color-mix(in srgb, var(--hl-shop-accent) 32%, var(--hl-shop-border));
}

.hl-shop-loop-head .woocommerce-notices-wrapper ul.woocommerce-error {
	padding-left: 2.25rem;
	margin: 0 0 0.5rem;
}

.hl-shop-loop-head .woocommerce-notices-wrapper ul.woocommerce-error li {
	margin: 0.2rem 0;
}

.hl-shop-loop-head .woocommerce-notices-wrapper ul.woocommerce-error li:first-child {
	margin-top: 0;
	margin-left: 15px;
}

.hl-shop-loop-head .woocommerce-notices-wrapper a.button,
.hl-shop-loop-head .woocommerce-notices-wrapper .button {
	margin-top: 0.35rem;
	margin-right: 0.35rem;
	vertical-align: middle;
}

/* —— Sidebar widgets —— */
.hl-shop-sidebar .widget {
	margin-bottom: 1.75rem;
	padding: 0;
}

.hl-shop-sidebar .widget-title,
.hl-shop-sidebar h3.widget-title,
.hl-shop-sidebar .widget h2 {
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--hl-shop-heading);
	border-bottom: 2px solid var(--hl-shop-border);
	padding-bottom: 0.65rem;
	margin-bottom: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.hl-shop-sidebar .widget a {
	color: var(--hl-shop-heading);
	font-weight: 500;
	transition: color var(--hl-shop-transition);
}

.hl-shop-sidebar .widget a:hover {
	color: var(--hl-shop-accent);
}

.hl-shop-sidebar .wc-block-product-categories a,
.hl-shop-sidebar .woocommerce-widget-layered-nav-list a {
	font-size: 0.875rem;
}

.hl-shop-sidebar .woocommerce-widget-layered-nav-list li {
	margin-bottom: 0.5rem;
}

/* —— Thẻ sản phẩm —— */
.hl-category-products .swiper-wrapper.products,
.hl-category-products .woodmart-products-holder {
	margin-left: 0px;
	margin-right: -0.5rem;
}

.hl-category-products .padding {
	padding-left: 0.5rem !important;
	padding-right: 0.5rem !important;
	margin-bottom: 1.25rem;
}

.hl-category-products .item_product_main {
	border: 1px solid var(--hl-shop-border);
	border-radius: var(--hl-shop-radius);
	transition: border-color var(--hl-shop-transition), box-shadow var(--hl-shop-transition), transform var(--hl-shop-transition);
	background: var(--hl-shop-surface);
	overflow: hidden;
	height: 100%;
}

.hl-category-products .item_product_main:hover {
	border-color: color-mix(in srgb, var(--hl-shop-accent) 28%, var(--hl-shop-border));
	box-shadow: var(--hl-shop-shadow-hover);
	transform: translateY(-2px);
}

.hl-category-products .product-thumbnail {
	/* background: var(--hl-shop-image-bg); */
	border-radius: 0;
	overflow: hidden;
	aspect-ratio: 1 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hl-category-products .product-thumbnail a {
	display: flex;
	width: 100%;
	height: 100%;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}

.hl-category-products .product-thumbnail img {
	object-fit: contain;
	max-height: 100%;
	transition: transform 0.35s ease;
}

.hl-category-products .item_product_main:hover .product-thumbnail img {
	transform: scale(1.04);
}

.hl-category-products .product-info.hl-product-info,
.hl-category-products .hl-product-info {
	padding: 1rem 1rem 1.125rem;
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	gap: 0.35rem;
	min-height: 0;
}

.hl-category-products .hl-product-info .product-name {
	font-size: 0.8125rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.045em;
	line-height: 1.38;
	margin: 0 0 0.35rem;
	min-height: 2.75em;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.hl-category-products .hl-product-info .product-name a {
	color: var(--hl-shop-heading);
	transition: color var(--hl-shop-transition);
	display: inline;
}

.hl-category-products .hl-product-info .product-name a:hover {
	color: var(--hl-shop-accent);
}

/* Giá: WC có thể không bọc <span class="price"> — style cả del/ins trực tiếp trong .price-box. Dùng .product-info để khớp cả block chỉ có class product-info (widget trang chủ). */
.hl-category-products .product-info .price-box,
.product-info .price-box {
	margin: 0 0 0.65rem;
	flex: 0 0 auto;
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: center;
	gap: 0.25rem 1.15rem;
	line-height: 1.25;
}

.hl-category-products .product-info .price-box .price,
.product-info .price-box .price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: center;
	gap: 0.25rem 1.15rem;
	margin: 0;
	line-height: 1.25;
	flex: 1 1 auto;
	min-width: 0;
}

.hl-category-products .product-info .price-box .price del,
.hl-category-products .product-info .price-box .price del .amount,
.product-info .price-box .price del,
.product-info .price-box .price del .amount,
.hl-category-products .product-info .price-box>del,
.hl-category-products .product-info .price-box>del .amount,
.product-info .price-box>del,
.product-info .price-box>del .amount {
	font-size: 0.875rem;
	font-weight: 400;
	color: var(--hl-shop-muted);
	text-decoration: line-through;
	text-decoration-thickness: 1px;
}

.hl-category-products .product-info .price-box .price ins,
.hl-category-products .product-info .price-box .price ins .amount,
.product-info .price-box .price ins,
.product-info .price-box .price ins .amount,
.hl-category-products .product-info .price-box>ins,
.hl-category-products .product-info .price-box>ins .amount,
.product-info .price-box>ins,
.product-info .price-box>ins .amount {
	text-decoration: none;
	font-size: 20px;
	font-weight: 700;
	color: var(--hl-shop-accent);
	letter-spacing: -0.02em;
}

.hl-category-products .product-info .price-box .price>.woocommerce-Price-amount.amount:not(:has(+ ins)),
.product-info .price-box .price>.woocommerce-Price-amount.amount:not(:has(+ ins)),
.hl-category-products .product-info .price-box>.woocommerce-Price-amount.amount,
.product-info .price-box>.woocommerce-Price-amount.amount {
	font-size: 14px;
	font-weight: 700;
	color: var(--hl-shop-heading);
	min-height: 25px;
}

/* Giá simple / số tabular */
.hl-category-products .product-info .price-box .price .amount,
.product-info .price-box .price .amount,
.hl-category-products .product-info .price-box>.amount,
.product-info .price-box>.amount,
.hl-category-products .product-info .price-box del .amount,
.product-info .price-box del .amount,
.hl-category-products .product-info .price-box ins .amount,
.product-info .price-box ins .amount {
	font-variant-numeric: tabular-nums;
}

.hl-category-products .hl-product-info .actions-primary {
	margin-top: auto;
	padding-top: 0.25rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
}

.hl-category-products .hl-product-info .btn-cart {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: var(--hl-shop-radius-sm);
	border: 1px solid var(--hl-shop-border-strong);
	background: var(--hl-shop-surface);
	color: var(--hl-shop-heading);
	transition: border-color var(--hl-shop-transition), background var(--hl-shop-transition), color var(--hl-shop-transition), box-shadow var(--hl-shop-transition);
	box-shadow: var(--hl-shop-shadow-sm);
}

.hl-category-products .hl-product-info .btn-cart.btn-product-detail {
	width: auto;
	min-width: 2.5rem;
	height: 2.5rem;
	padding: 0 20px;
	font-size: 0.6875rem;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	white-space: nowrap;
	text-decoration: none;
}

@media (max-width: 1199px) {
	.hl-category-products .hl-product-info .btn-cart.btn-product-detail {
		/* padding: 0 8px; */
	}
}

.hl-category-products .hl-product-info .btn-cart:hover {
	border-color: var(--hl-shop-accent);
	color: var(--hl-shop-accent);
	background: var(--hl-shop-accent-soft);
}

.hl-category-products .hl-product-info .btn-cart:focus-visible {
	outline: 2px solid var(--hl-shop-accent);
	outline-offset: 2px;
}

/* WooCommerce thêm class .loading khi AJAX */
.hl-category-products .hl-product-info .btn-cart.ajax_add_to_cart.loading {
	pointer-events: none;
	opacity: 0.88;
	border-color: var(--hl-shop-accent);
}

.hl-category-products .hl-product-info .btn-cart.ajax_add_to_cart.loading .icon-cart {
	opacity: 0.25;
}

.hl-category-products .hl-product-info .btn-cart.ajax_add_to_cart.loading::after {
	content: "";
	position: absolute;
	width: 1.05rem;
	height: 1.05rem;
	border: 2px solid color-mix(in srgb, var(--hl-shop-accent) 25%, transparent);
	border-top-color: var(--hl-shop-accent);
	border-radius: 50%;
	animation: hl-atc-spin 0.65s linear infinite;
}

.hl-category-products .hl-product-info .btn-cart.added {
	border-color: #0d9488;
	color: #0d9488;
	background: color-mix(in srgb, #0d9488 12%, var(--hl-shop-surface));
}

/* Ẩn link "Xem giỏ" WC chèn sau nút — đã dùng toast */
.hl-category-products .hl-product-info .actions-primary .added_to_cart {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.hl-category-products .hl-product-info .actions-primary {
	position: relative;
}

@keyframes hl-atc-spin {
	to {
		transform: rotate(360deg);
	}
}

/* Toast góc phải */
.hl-cart-toast-root {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	left: auto;
	top: auto;
	z-index: 999999;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.65rem;
	max-width: min(22rem, calc(100vw - 2rem));
	pointer-events: none;
}

.hl-cart-toast {
	pointer-events: auto;
	padding: 0.85rem 1.1rem;
	border-radius: var(--hl-shop-radius-sm);
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.4;
	box-shadow: var(--hl-shop-shadow-hover);
	border: 1px solid var(--hl-shop-border);
	transform: translateX(120%);
	opacity: 0;
	transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.38s ease;
	word-break: break-word;
}

.hl-cart-toast.is-visible {
	transform: translateX(0);
	opacity: 1;
}

.hl-cart-toast--success {
	background: var(--hl-shop-surface);
	color: var(--hl-shop-heading);
	border-color: color-mix(in srgb, #0d0342 35%, var(--hl-shop-border))
}

.hl-cart-toast--error {
	background: var(--hl-shop-surface);
	color: var(--hl-shop-heading);
	border-color: color-mix(in srgb, var(--hl-shop-accent) 40%, var(--hl-shop-border));
	border-left: 4px solid var(--hl-shop-accent);
}

@media (max-width: 575px) {
	.hl-cart-toast-root {
		right: 0.65rem;
		left: 0.65rem;
		bottom: 0.65rem;
		max-width: none;
		align-items: stretch;
	}

	.hl-cart-toast {
		transform: translateY(120%);
	}

	.hl-cart-toast.is-visible {
		transform: translateY(0);
	}
}

.list-products {
	width: 100%;
}

.hl-shop-pagination .pagination {
	gap: 0.35rem;
	flex-wrap: wrap;
}

.hl-shop-pagination .page-item .page-link {
	color: var(--hl-shop-accent);
	border: 1px solid var(--hl-shop-border);
	border-radius: var(--hl-shop-radius-sm) !important;
	padding: 0.45rem 0.85rem;
	font-weight: 600;
	font-size: 0.875rem;
	margin: 0;
	transition: background var(--hl-shop-transition), color var(--hl-shop-transition), border-color var(--hl-shop-transition);
}

.hl-shop-pagination .page-item .page-link:hover {
	background: var(--hl-shop-accent-soft);
	border-color: var(--hl-shop-accent);
}

.hl-shop-pagination .page-item.active .page-link {
	background: var(--hl-shop-accent);
	border-color: var(--hl-shop-accent);
	color: #000;
	box-shadow: var(--hl-shop-shadow-sm);
}

/* —— Bộ lọc (panel) —— */
.hl-product-filters {
	margin-bottom: 1.5rem;
	margin-top: 0;
	padding: 1.25rem 1.125rem 1.35rem;
	background: linear-gradient(165deg, var(--hl-shop-surface) 0%, var(--hl-shop-surface-elevated) 120%);
	border: 1px solid var(--hl-shop-border);
	border-radius: var(--hl-shop-radius);
	box-shadow: var(--hl-shop-shadow-md);
	position: relative;
}

.hl-product-filters::before {
	content: "";
	position: absolute;
	top: 0;
	left: 1.125rem;
	right: 1.125rem;
	height: 3px;
	border-radius: 0 0 3px 3px;
	background: linear-gradient(90deg, var(--hl-shop-accent), color-mix(in srgb, var(--hl-shop-accent) 55%, #4a5568));
	opacity: 0.85;
}

.hl-product-filters-title {
	font-size: 0.6875rem;
	font-weight: 700;
	color: var(--hl-shop-heading);
	margin: 0.75rem 0 1.125rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

.hl-filter-group {
	margin-bottom: 1.35rem;
	padding-bottom: 1.1rem;
	border-bottom: 1px solid var(--hl-shop-border);
}

.hl-filter-group:last-of-type {
	border-bottom: none;
	margin-bottom: 0.5rem;
	padding-bottom: 0;
}

.hl-filter-heading {
	font-size: 14px;
	font-weight: 700;
	color: #000;
	margin: 0 0 0.75rem;
	padding: 0;
	border: none;
	letter-spacing: 0.07em;
	line-height: 1.3;
}

.hl-filter-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.hl-filter-item {
	margin: 0 0 0.25rem;
	padding: 0;
	line-height: 1.4;
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 0.125rem;
}

.hl-filter-item .hl-filter-label {
	flex: 1;
	min-width: 0;
}

.hl-filter-list .hl-filter-item-extra {
	display: none;
}

.hl-filter-list.is-expanded .hl-filter-item-extra {
	display: block;
}

.hl-filter-label {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	padding: 0.5rem 0.5rem 0.5rem 0.35rem;
	cursor: pointer;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--hl-shop-heading);
	border-radius: var(--hl-shop-radius-sm);
	transition: background var(--hl-shop-transition);
	flex: 1;
	min-width: 0;
}

.hl-filter-label:hover {
	background: color-mix(in srgb, var(--hl-shop-accent) 6%, transparent);
}

.hl-filter-cb {
	width: 1.05rem;
	height: 1.05rem;
	margin: 0;
	flex-shrink: 0;
	accent-color: var(--hl-shop-accent);
	cursor: pointer;
	border-radius: 4px;
}

.hl-filter-name {
	flex: 1;
	min-width: 0;
}

.hl-filter-count {
	color: var(--hl-shop-muted);
	font-size: 0.8125rem;
	font-weight: 500;
	font-variant-numeric: tabular-nums;
	margin-left: auto;
	padding-left: 0.35rem;
}

a.hl-filter-clear-term {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border-radius: 999px;
	color: #fff;
	text-decoration: none;
	font-size: 0.875rem;
	line-height: 1;
	padding: 0;
	margin-left: 0.15rem;
	background: #f00;
	transition: background var(--hl-shop-transition), color var(--hl-shop-transition);
}

a.hl-filter-clear-term:hover {
	background: #000;
	color: #fff;
}

.hl-filter-toggle-more {
	background: transparent;
	border: none;
	padding: 0.35rem 0;
	margin-top: 0.25rem;
	font-size: 0.8125rem;
	font-weight: 700;
	color: var(--hl-shop-accent);
	cursor: pointer;
	text-decoration: none;
	border-bottom: 1px solid color-mix(in srgb, var(--hl-shop-accent) 45%, transparent);
	transition: color var(--hl-shop-transition), border-color var(--hl-shop-transition);
}

.hl-filter-toggle-more:hover {
	color: var(--hl-shop-accent-muted);
	border-bottom-color: transparent;
}

.hl-filter-actions {
	margin: 1.25rem 0 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

button.hl-filter-submit {
	display: block;
	width: 100%;
	padding: 0.75rem 1.25rem;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #fff;
	background: #000;
	border: none;
	border-radius: var(--hl-shop-radius-sm);
	cursor: pointer;
	box-shadow: 0 2px 8px color-mix(in srgb, var(--hl-shop-accent) 35%, transparent);
	transition: filter var(--hl-shop-transition), box-shadow var(--hl-shop-transition), transform var(--hl-shop-transition);
}

button.hl-filter-submit:hover {
	filter: brightness(1.05);
	box-shadow: 0 4px 14px color-mix(in srgb, var(--hl-shop-accent) 40%, transparent);
}

button.hl-filter-submit:active {
	transform: translateY(1px);
}

button.hl-filter-submit:focus-visible {
	outline: 2px solid var(--hl-shop-accent);
	outline-offset: 2px;
}

a.hl-filter-reset {
	display: block;
	text-align: center;
	margin: 0;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--hl-shop-muted);
	text-decoration: none;
	padding: 0.35rem;
	border-radius: var(--hl-shop-radius-sm);
	background: var(--hl-shop-border);
	transition: color var(--hl-shop-transition), background var(--hl-shop-transition);
}

a.hl-filter-reset:hover {
	color: var(--hl-shop-heading);
	background: var(--hl-shop-border);
}

.list-products {
	width: 100%;
}

.row.margin.hl-products-loop {
	margin: auto;
	width: 100%;
}

@media (prefers-reduced-motion: reduce) {

	.hl-category-products .product-thumbnail img,
	.hl-category-products .item_product_main,
	a.hl-cat-tab,
	.hl-filter-label {
		transition: none;
	}

	.hl-category-products .item_product_main:hover {
		transform: none;
	}

	.hl-category-products .item_product_main:hover .product-thumbnail img {
		transform: none;
	}
}

/* —— Trang chi tiết sản phẩm (PDP) —— */
.hl-product-page {
	font-family: var(--hl-shop-font);
	/* background: linear-gradient(180deg, var(--hl-shop-surface-elevated) 0%, var(--hl-shop-surface) 22rem); */
	padding-bottom: 3.5rem;
}

.hl-product-page .container {
	padding-top: 1.25rem;
}

.hl-pdp {
	position: relative;
	margin: 0;
}

.hl-pdp-hero {
	margin-bottom: 0.5rem;
}

.hl-pdp-hero-row {
	align-items: flex-start;
	margin-left: -0.75rem;
	margin-right: -0.75rem;
}

.hl-pdp-hero-row>[class*="col-"] {
	padding-left: 0.75rem;
	padding-right: 0.75rem;
}

.hl-pdp-gallery-card {
	background: var(--hl-shop-surface);
	border: 1px solid var(--hl-shop-border);
	border-radius: var(--hl-shop-radius);
	box-shadow: var(--hl-shop-shadow-md);
	padding: 1.25rem;
	position: relative;
	overflow: hidden;
}

.hl-pdp-gallery-inner {
	background: var(--hl-shop-image-bg);
	border-radius: var(--hl-shop-radius-sm);
	min-height: 200px;
}

/* Gallery WooCommerce (flexslider + thumbnails + zoom) */
.hl-pdp-gallery-inner .woocommerce-product-gallery {
	width: 100%;
	margin: 0;
	position: relative;
}

.hl-pdp-gallery-inner .woocommerce-product-gallery__wrapper {
	margin: 0;
}

.hl-pdp-gallery-inner .woocommerce-product-gallery__image,
.hl-pdp-gallery-inner .woocommerce-product-gallery__image a {
	border-radius: var(--hl-shop-radius-sm);
	overflow: hidden;
	display: block;
}

.hl-pdp-gallery-inner .woocommerce-product-gallery__image img {
	width: 100%;
	height: auto;
	display: block;
	vertical-align: middle;
}

.hl-pdp-gallery-inner .flex-viewport {
	border-radius: var(--hl-shop-radius-sm);
	background: var(--hl-shop-surface);
}

.hl-pdp-gallery-inner .flex-control-thumbs {
	margin: 0.85rem 0 0;
	padding: 0;
	overflow: hidden;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	list-style: none;
}

.hl-pdp-gallery-inner .flex-control-thumbs li {
	float: none;
	width: auto !important;
	flex: 0 0 calc(20% - 0.4rem);
	max-width: calc(20% - 0.4rem);
	margin: 0 !important;
}

@media (max-width: 575px) {
	.hl-pdp-gallery-inner .flex-control-thumbs li {
		flex: 0 0 calc(25% - 0.375rem);
		max-width: calc(25% - 0.375rem);
	}
}

.hl-pdp-gallery-inner .flex-control-thumbs img {
	border-radius: calc(var(--hl-shop-radius-sm) - 2px);
	border: 2px solid transparent;
	opacity: 0.75;
	transition: opacity var(--hl-shop-transition), border-color var(--hl-shop-transition);
}

.hl-pdp-gallery-inner .flex-control-thumbs img:hover,
.hl-pdp-gallery-inner .flex-control-thumbs .flex-active img {
	opacity: 1;
	border-color: var(--hl-shop-accent);
}

.hl-pdp-gallery-inner .woocommerce-product-gallery__trigger {
	top: 0.75rem;
	right: 0.75rem;
	border-radius: var(--hl-shop-radius-sm);
	border: 1px solid var(--hl-shop-border);
	background: var(--hl-shop-surface);
	box-shadow: var(--hl-shop-shadow-sm);
}

.hl-pdp-gallery-inner .woocommerce-product-gallery__trigger:hover {
	border-color: var(--hl-shop-accent);
}

/* Slider arrows (flexslider) */
.hl-pdp-gallery-inner .flex-direction-nav a {
	width: 36px;
	height: 36px;
	border-radius: var(--hl-shop-radius-sm);
	background: color-mix(in srgb, var(--hl-shop-surface) 92%, transparent);
	border: 1px solid var(--hl-shop-border);
	box-shadow: var(--hl-shop-shadow-sm);
	opacity: 0.85;
}

.hl-pdp-gallery-inner .flex-direction-nav a::before {
	color: var(--hl-shop-heading);
	text-shadow: none;
}

.hl-pdp-gallery-inner .flex-direction-nav a:hover {
	opacity: 1;
	border-color: var(--hl-shop-accent);
}

.hl-pdp-gallery-inner .onsale {
	top: 0.85rem;
	left: 0.85rem;
	right: auto;
	min-height: auto;
	min-width: auto;
	padding: 0.35rem 0.75rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	border-radius: var(--hl-shop-radius-sm);
	background: var(--hl-shop-accent);
	color: #fff;
	border: none;
	box-shadow: var(--hl-shop-shadow-sm);
	z-index: 2;
}

@media (min-width: 992px) {
	.hl-pdp-summary-sticky {
		position: sticky;
		top: 1.25rem;
		z-index: 3;
	}
}

.hl-pdp-summary-card {
	background: var(--hl-shop-surface);
	border: 1px solid var(--hl-shop-border);
	border-radius: var(--hl-shop-radius);
	box-shadow: var(--hl-shop-shadow-md);
	padding: 1.75rem 1.75rem 2rem;
}

@media (max-width: 991px) {
	.hl-pdp-summary-card {
		margin-top: 1.25rem;
		padding: 1.35rem 1.25rem 1.5rem;
	}
}

.hl-pdp .product_title {
	font-size: clamp(1.35rem, 2.8vw, 2rem);
	font-weight: 700;
	line-height: 1.2;
	color: var(--hl-shop-heading);
	margin: 0 0 0.85rem;
	letter-spacing: -0.02em;
}

.hl-pdp .woocommerce-product-rating {
	margin-bottom: 1rem;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5rem 0.75rem;
}

.hl-pdp .woocommerce-review-link {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--hl-shop-muted);
	text-decoration: none;
}

.hl-pdp .woocommerce-review-link:hover {
	color: var(--hl-shop-accent);
}

.hl-pdp p.price,
.hl-pdp span.price {
	font-size: clamp(1.35rem, 2.2vw, 1.75rem);
	font-weight: 700;
	color: var(--hl-shop-accent);
	margin-bottom: 1.1rem;
}

.hl-pdp p.price del,
.hl-pdp span.price del {
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--hl-shop-muted);
	opacity: 0.9;
	margin-right: 0.5rem;
}

.hl-pdp .woocommerce-product-details__short-description {
	font-size: 0.9375rem;
	line-height: 1.65;
	color: var(--hl-shop-muted);
	margin-bottom: 1.35rem;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid var(--hl-shop-border);
}

.hl-pdp .woocommerce-product-details__short-description p:last-child {
	margin-bottom: 0;
}

.hl-pdp form.cart {
	margin-bottom: 1.35rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1rem;
}

.hl-pdp form.cart .quantity {
	margin: 0;
}

.hl-pdp form.cart .quantity .qty {
	min-height: 46px;
	border-radius: var(--hl-shop-radius-sm);
	border: 1px solid var(--hl-shop-border-strong);
	font-weight: 600;
	padding: 0.45rem 0.65rem;
}

.hl-pdp form.cart .single_add_to_cart_button {
	min-height: 46px;
	padding: 0.65rem 1.5rem !important;
	font-size: 0.875rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	border-radius: var(--hl-shop-radius-sm) !important;
	background: var(--hl-shop-accent) !important;
	color: #fff !important;
	border: none !important;
	box-shadow: var(--hl-shop-shadow-sm);
	transition: filter var(--hl-shop-transition), box-shadow var(--hl-shop-transition), transform var(--hl-shop-transition);
}

.hl-pdp form.cart .single_add_to_cart_button:hover {
	filter: brightness(1.06);
	box-shadow: 0 4px 14px color-mix(in srgb, var(--hl-shop-accent) 35%, transparent);
}

.hl-pdp .woocommerce-variation-description {
	font-size: 0.875rem;
	color: var(--hl-shop-muted);
	margin-top: 0.35rem;
}

.hl-pdp .reset_variations {
	display: inline-block;
	margin-top: 0.35rem;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--hl-shop-accent);
	text-decoration: none;
}

.hl-pdp .reset_variations:hover {
	text-decoration: underline;
}

.hl-pdp .variations_form {
	width: 100%;
}

.hl-pdp .variations_form .variations {
	width: 100%;
	border: none;
	margin: 0 0 0.5rem;
}

.hl-pdp .variations_form .variations th,
.hl-pdp .variations_form .variations td {
	display: block;
	width: 100%;
	text-align: left;
	padding: 0;
}

.hl-pdp .variations_form .variations .label label {
	font-size: 0.8125rem;
	font-weight: 700;
	color: var(--hl-shop-heading);
	margin-bottom: 0.35rem;
	display: block;
}

.hl-pdp .variations_form .variations select {
	width: 100%;
	max-width: 100%;
	min-height: 44px;
	padding: 0.45rem 0.75rem;
	border-radius: var(--hl-shop-radius-sm);
	border: 1px solid var(--hl-shop-border-strong);
	font-weight: 600;
	background-color: var(--hl-shop-surface);
}

.hl-pdp .woocommerce-variation-add-to-cart .quantity {
	margin-right: 0;
}

.hl-pdp .cart .button.alt,
.hl-pdp .cart button.button.alt {
	min-height: 46px;
}

.hl-pdp form.cart .single_add_to_cart_button:active {
	transform: translateY(1px);
}

.hl-pdp .product_meta {
	font-size: 0.8125rem;
	color: var(--hl-shop-muted);
	padding-top: 1rem;
	margin-top: 0.25rem;
	border-top: 1px solid var(--hl-shop-border);
}

.hl-pdp .product_meta>span {
	display: block;
	margin-bottom: 0.35rem;
}

.hl-pdp .product_meta a {
	color: var(--hl-shop-accent);
	font-weight: 600;
	text-decoration: none;
}

.hl-pdp .product_meta a:hover {
	text-decoration: underline;
}

/* Khối tabs + upsell / related (full width dưới hàng 9+3) */
.hl-pdp-body {
	margin-top: 2.5rem;
	padding-top: 0.25rem;
}

.hl-pdp-after-summary-row {
	margin-left: -0.75rem;
	margin-right: -0.75rem;
	align-items: flex-start;
}

.hl-pdp-after-summary-row>[class*="col-"] {
	padding-left: 0.75rem;
	padding-right: 0.75rem;
}

.hl-pdp-after-summary-row>section.related.products,
.hl-pdp-after-summary-row>section.up-sells.upsells.products {
	flex: 0 0 100%;
	max-width: 100%;
	width: 100%;
	margin-top: 2.5rem;
	padding-top: 2rem;
	border-top: 1px solid var(--hl-shop-border);
}

.hl-pdp-body .product-tab {
	margin-bottom: 0;
}

.hl-pdp-body .woocommerce-tabs.wc-tabs-wrapper {
	background: var(--hl-shop-surface);
	border: 1px solid var(--hl-shop-border);
	border-radius: var(--hl-shop-radius);
	box-shadow: var(--hl-shop-shadow-sm);
	overflow: hidden;
}

.hl-pdp-body ul.tabs.wc-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
	border-bottom: 1px solid var(--hl-shop-border);
	background: var(--hl-shop-surface-elevated);
}

.hl-pdp-body ul.tabs.wc-tabs::before {
	display: none !important;
}

.hl-pdp-body ul.tabs.wc-tabs li {
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	background: transparent !important;
}

.hl-pdp-body ul.tabs.wc-tabs li a {
	display: block;
	padding: 1rem 1.35rem !important;
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--hl-shop-muted);
	text-decoration: none;
	border: none !important;
	border-bottom: 3px solid transparent !important;
	margin-bottom: -1px;
	transition: color var(--hl-shop-transition), border-color var(--hl-shop-transition), background var(--hl-shop-transition);
}

.hl-pdp-body ul.tabs.wc-tabs li a:hover,
.hl-pdp-body ul.tabs.wc-tabs li.active a {
	color: var(--hl-shop-heading);
	background: var(--hl-shop-surface);
	border-bottom-color: var(--hl-shop-accent) !important;
}

.hl-pdp-body .woocommerce-Tabs-panel {
	margin: 0 !important;
	padding: 1.5rem 1.75rem 1.75rem !important;
	border: none !important;
	font-size: 0.9375rem;
	line-height: 1.65;
	color: var(--hl-shop-heading);
}

.hl-pdp-body .woocommerce-Tabs-panel h2 {
	font-size: 1.125rem;
	font-weight: 700;
	margin: 0 0 1rem;
	color: var(--hl-shop-heading);
}

.hl-pdp-body .blog-bar {
	background: var(--hl-shop-surface);
	border: 1px solid var(--hl-shop-border);
	border-radius: var(--hl-shop-radius);
	padding: 1.25rem;
	box-shadow: var(--hl-shop-shadow-sm);
}

@media (max-width: 991px) {
	.hl-pdp-body .blog-bar {
		margin-top: 1.5rem;
	}
}

.hl-pdp-body .related.products>h2,
.hl-pdp-body .up-sells.upsells.products>h2,
.hl-pdp-body .cross-sells>h2 {
	font-size: 1.35rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--hl-shop-heading);
	margin: 0 0 1.25rem;
	padding-bottom: 0.75rem;
	border-bottom: 2px solid var(--hl-shop-accent-soft);
}

.hl-pdp-body .related.products ul.products,
.hl-pdp-body .up-sells.upsells.products ul.products {
	margin-bottom: 0;
}

/* —— PDP kiểu storefront (theo bố cục giaodien mẫu) —— */
.hl-pdp-storefront .hl-pdp-breadcrumb-bar {
	padding-bottom: 0.25rem;
}

.hl-pdp-storefront-bc.woocommerce-breadcrumb {
	margin: 0 !important;
	padding: 0 !important;
	font-size: 0.8125rem;
	line-height: 1.6;
	color: var(--hl-shop-muted);
}

.hl-pdp-storefront-bc.woocommerce-breadcrumb a {
	color: var(--hl-shop-accent);
	font-weight: 600;
	text-decoration: none;
}

.hl-pdp-storefront-bc.woocommerce-breadcrumb a:hover {
	text-decoration: underline;
}

.hl-pdp-bc-sep {
	margin: 0 0.45rem;
	color: var(--hl-shop-border-strong);
	font-weight: 400;
}

.hl-pdp-page-title {
	font-size: clamp(1.25rem, 3vw, 1.75rem);
	font-weight: 700;
	line-height: 1.3;
	color: var(--hl-shop-heading);
	margin: 0;
	letter-spacing: -0.02em;
}

.hl-pdp-gallery-card--storefront {
	border: none;
	box-shadow: none;
	padding: 0;
	background: transparent;
}

.hl-pdp-gallery-ratio {
	border-radius: var(--hl-shop-radius);
	background: var(--hl-shop-image-bg);
	aspect-ratio: 1 / 1;
}

.hl-pdp-gallery-ratio .hl-pdp-gallery-inner {
	background: transparent;
	min-height: 0;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.hl-pdp-gallery-ratio .woocommerce-product-gallery {
	flex: 1;
	display: flex;
	flex-direction: column;
	min-height: 0;
}

.hl-pdp-gallery-ratio .woocommerce-product-gallery__wrapper {
	flex: 1;
	min-height: 0;
}

.hl-pdp-gallery-ratio .flex-viewport {
	border-radius: var(--hl-shop-radius);
	background: var(--hl-shop-surface);
}

.hl-pdp-meta-table {
	font-size: 0.875rem;
	margin-bottom: 0;
}

.hl-pdp-meta-table th,
.hl-pdp-meta-table td {
	padding: 0.45rem 0 !important;
	vertical-align: top;
	border: none !important;
}

.hl-pdp-meta-label {
	width: 42%;
	font-weight: 500;
	color: var(--hl-shop-muted);
}

.hl-pdp-meta-value {
	font-weight: 600;
	color: var(--hl-shop-heading);
}

.hl-pdp-meta-value a {
	color: var(--hl-shop-accent);
	text-decoration: none;
}

.hl-pdp-meta-value a:hover {
	text-decoration: underline;
}

.hl-pdp-stock-wrap .stock {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin: 0;
	font-size: 0.875rem;
	font-weight: 600;
	padding: 0.35rem 0.75rem;
	border-radius: var(--hl-shop-radius-sm);
}

.hl-pdp-stock-wrap .in-stock,
.hl-pdp-stock-wrap .stock.in-stock {
	color: #0d7a4f;
	background: color-mix(in srgb, #0d7a4f 10%, transparent);
}

.hl-pdp-stock-wrap .out-of-stock,
.hl-pdp-stock-wrap .stock.out-of-stock {
	color: #b42318;
	background: color-mix(in srgb, #b42318 10%, transparent);
}

.hl-pdp-section-heading {
	font-size: 1.35rem;
	font-weight: 700;
	padding-bottom: 1rem;
	margin: 0 0 1.25rem;
	border-bottom: 1px solid var(--hl-shop-border);
	color: var(--hl-shop-heading);
	letter-spacing: -0.02em;
}

.hl-pdp-main-section .hl-pdp-summary-card {
	box-shadow: var(--hl-shop-shadow-md);
	border: 1px solid var(--hl-shop-border);
}

.hl-pdp-buybox .hl-pdp-summary-card {
	margin-top: 0;
}

/* Giá + VAT hint (nhãn phụ dưới giá) */
.hl-pdp-storefront .hl-pdp-buybox p.price,
.hl-pdp-storefront .hl-pdp-buybox span.price {
	margin-bottom: 0.2rem;
}

.hl-pdp-storefront .woocommerce-product-details__short-description {
	border-bottom: none;
	padding-bottom: 0;
	margin-bottom: 1rem;
}

@media (min-width: 992px) {

	.hl-pdp-heading-wrap,
	.hl-pdp-breadcrumb-bar {
		max-width: 100%;
	}
}

/* —— PDP hero theo layout chitietsanpham.png —— */
.hl-pdp-hero-ref .hl-pdp-gallery-chrome {
	border-radius: var(--hl-shop-radius);
	overflow: hidden;
	background: var(--hl-shop-surface);
	border: 1px solid var(--hl-shop-border);
	box-shadow: var(--hl-shop-shadow-md);
}

.hl-pdp-hero-ref .hl-pdp-corner-badge {
	position: absolute;
	top: 0.85rem;
	left: 0.85rem;
	right: auto;
	z-index: 4;
	max-width: 5.5rem;
	padding: 0.45rem 0.5rem;
	font-size: 0.65rem;
	font-weight: 700;
	line-height: 1.15;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #fff;
	background: var(--hl-pdp-blue);
	border-radius: 50%;
	aspect-ratio: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	pointer-events: none;
}

.hl-pdp-hero-ref .hl-pdp-gallery-inner--ref {
	background: var(--hl-shop-image-bg);
	min-height: 280px;
}

/* Gallery: thumbnail cột trái, ảnh lớn bên phải (desktop) */
.hl-pdp-hero-ref .hl-pdp-gallery-inner--ref .woocommerce-product-gallery {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	gap: 0.75rem;
	width: 100%;
	max-width: 100%;
	margin: 0 !important;
}

.hl-pdp-hero-ref .hl-pdp-gallery-inner--ref .flex-viewport {
	flex: 1;
	min-width: 0;
	border-radius: var(--hl-shop-radius-sm);
	overflow: hidden;
	background: var(--hl-shop-surface);
}

.hl-pdp-hero-ref .hl-pdp-gallery-inner--ref ol.flex-control-thumbs,
.hl-pdp-hero-ref .hl-pdp-gallery-inner--ref ul.flex-control-thumbs {
	order: -1;
	width: 4.5rem !important;
	max-width: 4.5rem;
	flex-shrink: 0;
	display: flex !important;
	flex-direction: column;
	flex-wrap: nowrap !important;
	gap: 0.45rem;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
	overflow-y: auto;
	max-height: min(70vh, 520px);
}

.hl-pdp-hero-ref .hl-pdp-gallery-inner--ref ol.flex-control-thumbs li,
.hl-pdp-hero-ref .hl-pdp-gallery-inner--ref ul.flex-control-thumbs li {
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
}

.hl-pdp-hero-ref .hl-pdp-gallery-inner--ref ol.flex-control-thumbs img,
.hl-pdp-hero-ref .hl-pdp-gallery-inner--ref ul.flex-control-thumbs img {
	border-radius: 6px;
	border: 2px solid transparent;
	opacity: 0.82;
}

.hl-pdp-hero-ref .hl-pdp-gallery-inner--ref ol.flex-control-thumbs .flex-active img,
.hl-pdp-hero-ref .hl-pdp-gallery-inner--ref ol.flex-control-thumbs img:hover,
.hl-pdp-hero-ref .hl-pdp-gallery-inner--ref ul.flex-control-thumbs .flex-active img,
.hl-pdp-hero-ref .hl-pdp-gallery-inner--ref ul.flex-control-thumbs img:hover {
	opacity: 1;
	border-color: var(--hl-pdp-blue);
}

.hl-pdp-hero-ref .hl-pdp-gallery-inner--ref .woocommerce-product-gallery__trigger {
	top: 0.65rem;
	left: auto;
	right: 0.65rem;
	border-color: var(--hl-shop-border);
}

@media (max-width: 767px) {
	.hl-pdp-hero-ref .hl-pdp-gallery-inner--ref .woocommerce-product-gallery {
		flex-direction: column;
	}

	.hl-pdp-hero-ref .hl-pdp-gallery-inner--ref ol.flex-control-thumbs,
	.hl-pdp-hero-ref .hl-pdp-gallery-inner--ref ul.flex-control-thumbs {
		order: 2;
		flex-direction: row;
		max-width: none !important;
		width: 100% !important;
		max-height: none;
		overflow-x: auto;
		padding-bottom: 0.15rem !important;
		gap: 0.4rem;
	}

	.hl-pdp-hero-ref .hl-pdp-gallery-inner--ref ol.flex-control-thumbs li,
	.hl-pdp-hero-ref .hl-pdp-gallery-inner--ref ul.flex-control-thumbs li {
		flex: 0 0 18%;
		min-width: 56px;
	}
}

.hl-pdp-gallery-feature-strip {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 0;
	margin-top: 0.75rem;
	border-radius: var(--hl-shop-radius-sm);
	overflow: hidden;
	background: var(--hl-pdp-strip-bg);
	color: rgba(255, 255, 255, 0.95);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.hl-pdp-gallery-feature-strip__item {
	flex: 1 1 0;
	min-width: 8rem;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	padding: 0.65rem 0.6rem;
	font-size: 0.75rem;
	font-weight: 600;
	text-align: center;
	border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.hl-pdp-gallery-feature-strip__item:last-child {
	border-right: none;
}

.hl-pdp-gallery-feature-strip__item i {
	font-size: 1.05rem;
	opacity: 0.95;
	color: #7eb8ff;
}

/* Buy box */
.hl-pdp-hero-ref .hl-pdp-summary-card {
	background: var(--hl-shop-surface);
	border: 1px solid var(--hl-shop-border);
	border-radius: var(--hl-shop-radius);
	box-shadow: var(--hl-shop-shadow-sm);
	padding: 1.5rem 1.4rem 1.6rem;
}

@media (min-width: 992px) {
	.hl-pdp-hero-ref .hl-pdp-summary-card {
		padding: 1.75rem 1.65rem 1.85rem;
	}
}

.hl-pdp-hero-ref .product_title {
	font-size: clamp(1.2rem, 2.4vw, 1.65rem);
	font-weight: 700;
	line-height: 1.3;
	color: var(--hl-shop-heading);
	margin: 0 0 0.85rem;
	letter-spacing: -0.02em;
}

.hl-pdp-brand-sku {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.35rem 0.75rem;
	margin-bottom: 0.65rem;
	font-size: 0.875rem;
}

.hl-pdp-brand-name {
	font-weight: 700;
}

.hl-pdp-brand-name a {
	color: var(--hl-pdp-blue);
	text-decoration: none;
}

.hl-pdp-brand-name a:hover {
	text-decoration: underline;
}

.hl-pdp-sku-text {
	color: var(--hl-shop-muted);
	font-weight: 500;
	font-size: 0.8125rem;
}

.hl-pdp-rating-sold {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0.5rem;
	margin-bottom: 1rem;
	font-size: 0.875rem;
}

.hl-pdp-rating-sold .woocommerce-product-rating {
	margin: 0 !important;
}

.hl-pdp-rating-sold__sep {
	color: var(--hl-shop-border-strong);
	font-weight: 300;
}

.hl-pdp-sold-count {
	color: var(--hl-shop-muted);
	font-weight: 600;
}

.hl-pdp-price-stock-row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75rem 1rem;
	margin-bottom: 1.15rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--hl-shop-border);
}

.hl-pdp-price-stack {
	min-width: 0;
}

.hl-pdp-hero-ref .hl-pdp-summary-card p.price,
.hl-pdp-hero-ref .hl-pdp-summary-card span.price {
	font-size: clamp(1.35rem, 2.5vw, 1.85rem) !important;
	font-weight: 800 !important;
	color: var(--hl-pdp-blue) !important;
	margin: 0 0 0.15rem !important;
}

.hl-pdp-hero-ref .hl-pdp-summary-card p.price del,
.hl-pdp-hero-ref .hl-pdp-summary-card span.price del {
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--hl-shop-muted);
}

.hl-pdp-vat-hint {
	margin: 0 !important;
	font-size: 0.8125rem !important;
	color: var(--hl-shop-muted) !important;
	line-height: 1.4;
}

.hl-pdp-stock-inline {
	flex-shrink: 0;
	text-align: right;
}

.hl-pdp-stock-inline .stock {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin: 0;
	padding: 0.35rem 0.65rem;
	font-size: 0.8125rem !important;
	font-weight: 700;
	border-radius: var(--hl-shop-radius-sm);
}

.hl-pdp-stock-inline .in-stock,
.hl-pdp-stock-inline .stock.in-stock {
	color: #0d7a4f !important;
	background: color-mix(in srgb, #0d7a4f 11%, transparent) !important;
}

.hl-pdp-stock-inline .in-stock::before,
.hl-pdp-stock-inline .stock.in-stock::before {
	content: "\f058";
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	font-size: 0.95rem;
}

.hl-pdp-hero-ref .woocommerce-product-details__short-description {
	margin-top: 0.35rem;
	margin-bottom: 1rem !important;
	padding-bottom: 0 !important;
	border-bottom: none !important;
	font-size: 0.9rem;
	line-height: 1.6;
	color: var(--hl-shop-muted);
}

/* Variations: nút chọn gần giống pill */
.hl-pdp-hero-ref .variations_form .variations select {
	border-radius: var(--hl-shop-radius-sm);
	border-color: var(--hl-shop-border-strong);
	min-height: 44px;
}

.hl-pdp-hero-ref form.cart {
	margin-top: 0.25rem;
	margin-bottom: 0.85rem;
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 0.65rem;
}

.hl-pdp-hero-ref form.cart .quantity {
	margin: 0;
}

.hl-pdp-hero-ref form.cart .quantity .qty {
	min-height: 48px;
	min-width: 3.25rem;
	border-radius: var(--hl-shop-radius-sm);
	font-weight: 700;
	text-align: center;
}

.hl-pdp-hero-ref form.cart .single_add_to_cart_button {
	flex: 1 1 12rem;
	min-height: 48px !important;
	padding: 0.7rem 1.25rem !important;
	font-size: 0.9rem !important;
	font-weight: 700 !important;
	text-transform: none !important;
	letter-spacing: 0.01em !important;
	border-radius: var(--hl-shop-radius-sm) !important;
	background: var(--hl-pdp-cta-red) !important;
	color: #fff !important;
	border: none !important;
	box-shadow: 0 2px 8px color-mix(in srgb, var(--hl-pdp-cta-red) 35%, transparent);
}

.hl-pdp-hero-ref form.cart .single_add_to_cart_button:hover {
	filter: brightness(1.05);
	box-shadow: 0 4px 14px color-mix(in srgb, var(--hl-pdp-cta-red) 42%, transparent);
}

.hl-pdp-btn-quote {
	display: block;
	width: 100%;
	text-align: center;
	margin: 0 0 1.25rem;
	padding: 0.85rem 1.25rem;
	font-size: 0.95rem;
	font-weight: 700;
	color: #fff !important;
	text-decoration: none !important;
	background: var(--hl-pdp-blue);
	border-radius: var(--hl-shop-radius-sm);
	box-shadow: 0 2px 8px color-mix(in srgb, var(--hl-pdp-blue) 35%, transparent);
	transition: filter var(--hl-shop-transition), box-shadow var(--hl-shop-transition);
}

.hl-pdp-btn-quote:hover {
	filter: brightness(1.06);
	color: #fff !important;
	box-shadow: 0 4px 14px color-mix(in srgb, var(--hl-pdp-blue) 40%, transparent);
}

.hl-pdp-trust-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.65rem 0.75rem;
	padding-top: 0.35rem;
	border-top: 1px solid var(--hl-shop-border);
}

@media (max-width: 767px) {
	.hl-pdp-trust-list {
		grid-template-columns: 1fr;
	}
}

.hl-pdp-trust-list li {
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
	margin: 0;
	font-size: 0.78rem;
	line-height: 1.35;
	color: var(--hl-shop-muted);
}

.hl-pdp-trust-list__icon {
	flex-shrink: 0;
	width: 2rem;
	height: 2rem;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--hl-pdp-blue);
	background: var(--hl-pdp-blue-soft);
	border-radius: var(--hl-shop-radius-sm);
	font-size: 0.9rem;
}

.hl-pdp-trust-list__text {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
}

.hl-pdp-trust-list__text strong {
	color: var(--hl-shop-heading);
	font-size: 0.8rem;
	font-weight: 700;
}

.hl-pdp-trust-list__text small {
	font-size: 0.72rem;
	color: var(--hl-shop-muted);
}

.hl-pdp-hero-ref .woocommerce-variation-add-to-cart {
	margin-top: 0.5rem;
}

.woocommerce-variation-price {
	margin-bottom: 15px !important;
}

.btn-cart-detail {
	width: 100%;
	display: block;
	border: 1px solid #d1d5db;
	color: #000;
	height: 2.5rem;
	padding: 0 20px;
	font-size: 0.6875rem;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	white-space: nowrap;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.65rem;
	transition: all 0.2s ease-in-out;
}

.btn-cart-detail:hover {
	color: #000;
}

.actions-primary a.file-pdf {
	width: 100%;
	display: block;
	border: 1px solid #d1d5db;
	color: #000;
	height: 2.5rem;
	padding: 0 20px;
	font-size: 0.6875rem;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	white-space: nowrap;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.65rem;
	transition: all 0.2s ease-in-out;
}

.actions-primary a.file-pdf i {
	font-size: 22px;
}

.actions-primary a.file-pdf:focus,
.actions-primary a.file-pdf:hover {
	border: 1px solid #f00 !important;
	color: #f00;
	color: #f00 !important;
}

@media (max-width: 500px) {

	.hl-category-products .product-info.hl-product-info,
	.hl-category-products .hl-product-info {
		padding-left: 5px;
		padding-right: 5px;
	}

	.actions-primary a.file-pdf {
		font-size: 10px;
	}

	.actions-primary a.file-pdf i {
		font-size: 18px;
	}

	.hl-category-products .hl-product-info .product-name a {
		font-size: 11px;
	}
}

/* —— Trang giỏ hàng —— */
.woocommerce-cart .site-content,
.woocommerce-cart #content {
	font-family: var(--hl-shop-font);
}

.hl-cart-page {
	margin-left: auto;
	margin-right: auto;
	padding: 30px 0px;
}

.hl-cart-page__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem 1.5rem;
	margin-bottom: 1.75rem;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid var(--hl-shop-border);
}

.hl-cart-page__title {
	margin: 0;
	font-size: clamp(1.5rem, 4vw, 1.85rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	color: var(--hl-shop-heading);
}

.hl-cart-page__sub {
	margin: 0.35rem 0 0;
	font-size: 0.9rem;
	color: var(--hl-shop-muted);
	font-weight: 500;
}

.hl-cart-page__continue {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--hl-shop-accent);
	text-decoration: none;
	padding: 0.5rem 0.9rem;
	border-radius: var(--hl-shop-radius-sm);
	border: 1px solid var(--hl-shop-border);
	background: var(--hl-shop-surface);
	transition: border-color var(--hl-shop-transition), background var(--hl-shop-transition);
}

.hl-cart-page__continue:hover {
	border-color: color-mix(in srgb, var(--hl-shop-accent) 35%, var(--hl-shop-border));
	background: var(--hl-shop-surface-elevated);
}

.hl-cart-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
	align-items: start;
	gap: 1.75rem 2.25rem;
}

@media (max-width: 960px) {
	.hl-cart-layout {
		grid-template-columns: 1fr;
	}
}

.hl-cart-main {
	min-width: 0;
}

.hl-cart-form {
	margin: 0;
}

.hl-cart-table-wrap {
	background: var(--hl-shop-surface);
	border: 1px solid var(--hl-shop-border);
	border-radius: var(--hl-shop-radius);
	box-shadow: var(--hl-shop-shadow-sm);
	overflow: hidden;
}

.hl-cart-table {
	margin: 0 !important;
	border: none !important;
	border-radius: 0 !important;
	width: 100% !important;
	background: transparent !important;
}

.hl-cart-table thead th {
	padding: 1rem 1rem 0.85rem !important;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--hl-shop-muted);
	border-bottom: 1px solid var(--hl-shop-border) !important;
	background: var(--hl-shop-surface-elevated) !important;
}

.hl-cart-table tbody td {
	padding: 1.1rem 1rem !important;
	vertical-align: middle !important;
	border-color: var(--hl-shop-border) !important;
}

.hl-cart-table tbody tr:last-child td {
	border-bottom: none !important;
}

.hl-cart-table .product-thumbnail {
	width: 88px;
}

.hl-cart-table .product-thumbnail img {
	width: 72px;
	height: 72px;
	object-fit: contain;
	border-radius: var(--hl-shop-radius-sm);
	background: var(--hl-shop-image-bg);
}

.hl-cart-table .product-name a {
	font-weight: 600;
	color: var(--hl-shop-heading);
	text-decoration: none;
}

.hl-cart-table .product-name a:hover {
	color: var(--hl-shop-accent);
}

.hl-cart-table .product-remove {
	width: 2.75rem;
	text-align: center;
}

.hl-cart-table .product-remove .remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border-radius: 999px;
	font-size: 1.35rem;
	line-height: 1;
	text-decoration: none !important;
	color: var(--hl-shop-muted) !important;
	background: var(--hl-shop-surface-elevated);
	border: 1px solid var(--hl-shop-border);
	transition: color var(--hl-shop-transition), background var(--hl-shop-transition), border-color var(--hl-shop-transition);
}

.hl-cart-table .product-remove .remove:hover {
	color: #b91c1c !important;
	background: #fef2f2;
	border-color: #fecaca;
}

.hl-cart-table .quantity {
	display: inline-flex;
	align-items: stretch;
	border: 2px solid var(--hl-shop-border);
	border-radius: 10px;
	overflow: hidden;
	background: var(--hl-shop-surface);
}

.hl-cart-table .quantity .qty {
	width: 3.25rem;
	min-height: 42px;
	border: none !important;
	text-align: center;
	font-weight: 600;
	font-family: inherit;
	margin: 0 !important;
	box-shadow: none !important;
	-moz-appearance: textfield;
}

.hl-cart-table .quantity .qty::-webkit-outer-spin-button,
.hl-cart-table .quantity .qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.hl-cart-table .product-price,
.hl-cart-table .product-subtotal {
	font-weight: 600;
	color: var(--hl-shop-heading);
	font-variant-numeric: tabular-nums;
}

.hl-cart-table .product-subtotal {
	font-weight: 700;
}

.hl-cart-actions-row .hl-cart-actions-cell {
	padding: 1.15rem 1rem !important;
	background: var(--hl-shop-surface-elevated);
	border-top: 1px solid var(--hl-shop-border) !important;
}

.hl-cart-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 1rem;
	justify-content: space-between;
}

.hl-cart-coupon {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	flex: 1 1 260px;
	min-width: 0;
}

.hl-cart-coupon__input {
	flex: 1 1 160px;
	min-width: 0;
	padding: 0.65rem 0.85rem !important;
	border-radius: 10px !important;
	border: 2px solid var(--hl-shop-border) !important;
	font-size: 0.9rem !important;
}

.hl-cart-coupon__btn,
.hl-cart-update__btn {
	border-radius: 10px !important;
	font-weight: 600 !important;
	padding: 0.65rem 1.15rem !important;
	font-size: 0.88rem !important;
	line-height: 1.2 !important;
}

.hl-cart-coupon__btn {
	background: var(--hl-shop-surface) !important;
	color: var(--hl-shop-heading) !important;
	border: 2px solid var(--hl-shop-border-strong) !important;
}

.hl-cart-coupon__btn:hover {
	border-color: var(--hl-shop-accent) !important;
	color: var(--hl-shop-accent) !important;
}

.hl-cart-update {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	justify-content: flex-end;
	flex: 0 0 auto;
}

.hl-cart-update__btn {
	background: transparent !important;
	color: var(--hl-shop-accent) !important;
	border: 2px solid var(--hl-shop-accent) !important;
}

.hl-cart-update__btn:hover {
	background: var(--hl-shop-accent-soft) !important;
}

.hl-cart-aside {
	position: sticky;
	top: 1rem;
	z-index: 2;
}

@media (max-width: 960px) {
	.hl-cart-aside {
		position: static;
	}
}

.hl-cart-summary {
	background: var(--hl-shop-surface);
	border: 1px solid var(--hl-shop-border);
	border-radius: var(--hl-shop-radius);
	box-shadow: var(--hl-shop-shadow-md);
	padding: 1.35rem 1.35rem 1.25rem;
}

.hl-cart-summary__title {
	margin: 0 0 1rem;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--hl-shop-heading);
	letter-spacing: -0.02em;
}

.hl-cart-summary__table {
	margin: 0 !important;
	border: none !important;
	background: transparent !important;
	width: 100% !important;
}

.hl-cart-summary__table th,
.hl-cart-summary__table td {
	padding: 0.55rem 0 !important;
	border: none !important;
	border-bottom: 1px solid var(--hl-shop-border) !important;
	vertical-align: middle !important;
	font-size: 0.9rem;
}

.hl-cart-summary__table tr.order-total th,
.hl-cart-summary__table tr.order-total td {
	border-bottom: none !important;
	font-size: 1.05rem;
	font-weight: 700;
	padding-top: 0.85rem !important;
	color: var(--hl-shop-heading);
}

.hl-cart-summary__checkout {
	margin: 1.15rem 0 0 !important;
	padding: 0 !important;
}

.hl-cart-summary__checkout .checkout-button {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	padding: 0.95rem 1.25rem !important;
	border-radius: 12px !important;
	font-size: 1rem !important;
	font-weight: 700 !important;
	background: var(--hl-shop-accent) !important;
	color: #000 !important;
	border: 1px solid #000 !important;
	box-shadow: 0 8px 22px color-mix(in srgb, var(--hl-shop-accent) 32%, transparent) !important;
	transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease !important;
}

.hl-cart-summary__checkout .checkout-button:hover {
	filter: brightness(1.05);
	transform: translateY(-1px);
}

.hl-cart-trust {
	margin: 1.5rem 0 0;
	padding: 0.85rem 1rem;
	text-align: center;
	font-size: 0.8rem;
	color: var(--hl-shop-muted);
	background: var(--hl-shop-surface-elevated);
	border-radius: var(--hl-shop-radius-sm);
	border: 1px dashed var(--hl-shop-border);
}

.hl-cart-page .cross-sells {
	margin: 2rem 0 0;
	padding: 1.5rem 0 0;
	border-top: 1px solid var(--hl-shop-border);
	clear: both;
}

.hl-cart-page .cross-sells>h2 {
	margin: 0 0 1rem;
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--hl-shop-heading);
}

@media (max-width: 768px) {
	.hl-cart-table thead {
		display: none;
	}

	.hl-cart-table.responsive tbody,
	.hl-cart-table.shop_table_responsive tbody {
		display: block;
	}

	.hl-cart-table.responsive tr,
	.hl-cart-table.shop_table_responsive tr {
		display: block;
		border-bottom: 1px solid var(--hl-shop-border);
	}

	.hl-cart-table.responsive tr.hl-cart-actions-row,
	.hl-cart-table.shop_table_responsive tr.hl-cart-actions-row {
		border: none;
	}

	.hl-cart-table.responsive td,
	.hl-cart-table.shop_table_responsive td {
		display: flex;
		justify-content: space-between;
		align-items: center;
		gap: 1rem;
		padding: 0.65rem 1rem !important;
		text-align: right !important;
		border: none !important;
	}

	.hl-cart-table.responsive td::before,
	.hl-cart-table.shop_table_responsive td::before {
		content: attr(data-title);
		font-weight: 700;
		font-size: 0.72rem;
		text-transform: uppercase;
		letter-spacing: 0.05em;
		color: var(--hl-shop-muted);
		text-align: left;
		flex: 0 0 auto;
	}

	.hl-cart-table.responsive td.product-remove::before,
	.hl-cart-table.shop_table_responsive td.product-remove::before,
	.hl-cart-table.responsive td.product-thumbnail::before,
	.hl-cart-table.shop_table_responsive td.product-thumbnail::before {
		display: none;
	}

	.hl-cart-table.responsive td.product-remove,
	.hl-cart-table.shop_table_responsive td.product-remove {
		justify-content: flex-end;
	}

	.hl-cart-table.responsive td.product-thumbnail,
	.hl-cart-table.shop_table_responsive td.product-thumbnail {
		justify-content: center;
	}
}

/* —— Trang thanh toán —— */
.woocommerce-checkout .site-content,
.woocommerce-checkout #content {
	font-family: var(--hl-shop-font);
}

body.woocommerce-checkout .site-main,
body.woocommerce-checkout #primary {
	background: linear-gradient(165deg, color-mix(in srgb, var(--hl-shop-accent) 6%, #f4f6fa) 0%, #f8f9fb 38%, #fff 100%);
}

.hl-checkout-page {
	margin-left: auto;
	margin-right: auto;
	padding: 30px 0;
}

/* Ghi đè Bootstrap .col-1 / .col-2 nếu còn sót trong markup WC */
.hl-checkout-page .col2-set,
.hl-checkout-page .hl-checkout-fields {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	float: none !important;
}

.hl-checkout-page .hl-checkout-col-main,
.hl-checkout-page .hl-checkout-fields .col-1,
.hl-checkout-page .hl-checkout-fields .col-2,
.hl-checkout-page .col2-set .col-1,
.hl-checkout-page .col2-set .col-2 {
	flex: none !important;
	-ms-flex: none !important;
	width: 100% !important;
	max-width: 100% !important;
	float: none !important;
	padding: 0 !important;
}

.hl-checkout-page__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem 1.5rem;
	margin-bottom: 1.25rem;
	padding: 1.15rem 1.25rem;
	border-radius: var(--hl-shop-radius);
	border: 1px solid color-mix(in srgb, var(--hl-shop-accent) 18%, var(--hl-shop-border));
	background: linear-gradient(135deg, #fff 0%, color-mix(in srgb, var(--hl-shop-accent) 5%, #fff) 100%);
	box-shadow: var(--hl-shop-shadow-sm);
	position: relative;
	overflow: hidden;
}

.hl-checkout-page__head::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 4px;
	background: linear-gradient(180deg, var(--hl-shop-accent) 0%, color-mix(in srgb, var(--hl-shop-accent) 55%, #1a1d24) 100%);
	border-radius: var(--hl-shop-radius) 0 0 var(--hl-shop-radius);
}

.hl-checkout-page__head-text {
	padding-left: 0.35rem;
}

.hl-checkout-page__title {
	margin: 0;
	font-size: clamp(1.5rem, 4vw, 1.85rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	color: var(--hl-shop-heading);
}

.hl-checkout-page__sub {
	margin: 0.35rem 0 0;
	font-size: 0.9rem;
	color: var(--hl-shop-muted);
	font-weight: 500;
}

.hl-checkout-page__sub::before {
	content: none;
}

.hl-checkout-page__back {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--hl-shop-accent);
	text-decoration: none;
	padding: 0.5rem 0.9rem;
	border-radius: var(--hl-shop-radius-sm);
	border: 1px solid color-mix(in srgb, var(--hl-shop-accent) 30%, var(--hl-shop-border));
	background: color-mix(in srgb, var(--hl-shop-accent) 8%, #fff);
	transition: border-color var(--hl-shop-transition), background var(--hl-shop-transition), transform 0.15s ease;
}

.hl-checkout-page__back:hover {
	border-color: var(--hl-shop-accent);
	background: color-mix(in srgb, var(--hl-shop-accent) 14%, #fff);
	transform: translateX(-2px);
}

.hl-checkout-steps {
	margin-bottom: 1.75rem;
	padding: 0.85rem 1.1rem;
	border-radius: var(--hl-shop-radius);
	background: #fff;
	border: 1px solid var(--hl-shop-border);
	box-shadow: var(--hl-shop-shadow-sm);
}

.hl-checkout-steps__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 0;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: hl-checkout-step;
}

.hl-checkout-steps__item {
	position: relative;
	display: flex;
	align-items: center;
	flex: 1 1 0;
	min-width: 0;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--hl-shop-muted);
	counter-increment: hl-checkout-step;
}

.hl-checkout-steps__item::before {
	content: counter(hl-checkout-step);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 1.65rem;
	height: 1.65rem;
	margin-right: 0.45rem;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 700;
	background: var(--hl-shop-surface-elevated);
	border: 2px solid var(--hl-shop-border);
	color: var(--hl-shop-muted);
}

.hl-checkout-steps__item a,
.hl-checkout-steps__item span {
	display: block;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	text-decoration: none;
	color: inherit;
}

.hl-checkout-steps__item a:hover {
	color: var(--hl-shop-accent);
}

.hl-checkout-steps__item--done {
	color: var(--hl-shop-heading);
}

.hl-checkout-steps__item--done::before {
	background: color-mix(in srgb, var(--hl-shop-accent) 12%, #fff);
	border-color: var(--hl-shop-accent);
	color: var(--hl-shop-accent);
}

.hl-checkout-steps__item--current {
	color: var(--hl-shop-heading);
}

.hl-checkout-steps__item--current::before {
	background: var(--hl-shop-accent);
	border-color: var(--hl-shop-accent);
	color: #000;
	box-shadow: 0 4px 12px color-mix(in srgb, var(--hl-shop-accent) 35%, transparent);
}

.hl-checkout-steps__item:not(:last-child)::after {
	content: "";
	flex: 1 1 auto;
	height: 2px;
	margin: 0 0.65rem;
	background: var(--hl-shop-border) !important;
	border-radius: 999px;
}

.hl-checkout-steps__item--done:not(:last-child)::after {
	background: color-mix(in srgb, var(--hl-shop-accent) 40%, var(--hl-shop-border));
}

.hl-checkout-form {
	margin: 0;
}

.hl-checkout-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
	align-items: start;
	gap: 1.75rem 2.25rem;
}

@media (max-width: 960px) {
	.hl-checkout-layout {
		grid-template-columns: 1fr;
	}
}

.hl-checkout-main {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 1.15rem;
}

.hl-checkout-col-main {
	width: 100%;
	display: flex;
	flex-direction: column;
	/* gap: 1.15rem; */
}

.hl-checkout-aside {
	position: sticky;
	top: 1rem;
	z-index: 2;
}

@media (max-width: 960px) {
	.hl-checkout-aside {
		position: static;
		order: -1;
	}
}

.hl-checkout-card {
	background: var(--hl-shop-surface);
	border: 1px solid var(--hl-shop-border);
	border-radius: var(--hl-shop-radius);
	box-shadow: var(--hl-shop-shadow-sm);
	overflow: hidden;
	transition: box-shadow var(--hl-shop-transition), border-color var(--hl-shop-transition);
}

.hl-checkout-card:hover {
	box-shadow: var(--hl-shop-shadow-md);
}

.hl-checkout-card--billing {
	border-top: 3px solid #2563eb;
}

.hl-checkout-card--billing .hl-checkout-card__head {
	background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
}

.hl-checkout-card--billing .hl-checkout-card__step {
	background: linear-gradient(145deg, #3b82f6 0%, #2563eb 100%);
	color: #fff;
	box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.hl-checkout-card--shipping {
	border-top: 3px solid #059669;
}

.hl-checkout-card--shipping .hl-checkout-card__head {
	background: linear-gradient(135deg, #ecfdf5 0%, #f8fafc 100%);
}

.hl-checkout-card--shipping .hl-checkout-card__step {
	background: linear-gradient(145deg, #10b981 0%, #059669 100%);
	color: #fff;
	box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
}

.hl-checkout-card--notes {
	border-top: 3px solid #d97706;
}

.hl-checkout-card--notes .hl-checkout-card__step {
	background: linear-gradient(145deg, #f59e0b 0%, #d97706 100%);
	color: #fff;
	box-shadow: 0 4px 14px rgba(217, 119, 6, 0.3);
}

.hl-checkout-card--summary {
	box-shadow: var(--hl-shop-shadow-md);
	border: 1px solid color-mix(in srgb, var(--hl-shop-accent) 22%, var(--hl-shop-border));
	border-top: 3px solid var(--hl-shop-accent);
}

.hl-checkout-card--summary .hl-checkout-card__head {
	background: linear-gradient(135deg, color-mix(in srgb, var(--hl-shop-accent) 14%, #fff) 0%, #fff 100%);
	border-bottom-color: color-mix(in srgb, var(--hl-shop-accent) 15%, var(--hl-shop-border));
}

.hl-checkout-card--summary .hl-checkout-card__title::before {
	content: none;
}

.hl-checkout-card__head {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 1.1rem 1.25rem;
	background: var(--hl-shop-surface-elevated);
	border-bottom: 1px solid var(--hl-shop-border);
}

.hl-checkout-card__head--inline {
	padding-top: 0;
	padding-left: 0;
	padding-right: 0;
	background: transparent;
	border-bottom: none;
	margin-bottom: 0.75rem;
}

.hl-checkout-card__step {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 2rem;
	height: 2rem;
	border-radius: 999px;
	font-size: 0.85rem;
	font-weight: 700;
	background: var(--hl-shop-accent);
	color: #000;
	box-shadow: 0 4px 12px color-mix(in srgb, var(--hl-shop-accent) 30%, transparent);
}

.hl-checkout-card--account {
	border-left: 3px solid #7c3aed;
	background: linear-gradient(135deg, #faf5ff 0%, #fff 100%);
}

.hl-checkout-card__title {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--hl-shop-heading);
	letter-spacing: -0.02em;
}

.hl-checkout-card__body {
	padding: 1.25rem;
}

.hl-checkout-card--summary .hl-checkout-card__head {
	padding-bottom: 0.85rem;
}

.hl-checkout-card--summary .hl-checkout-card__body {
	padding-top: 0.85rem;
}

.hl-checkout-ship-toggle {
	margin: 0 0 1rem !important;
	padding: 0.75rem 0.9rem;
	background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
	border: 1px dashed #6ee7b7;
	border-radius: var(--hl-shop-radius-sm);
	font-size: 0.9rem;
	font-weight: 600;
	color: #065f46;
}

.hl-checkout-ship-toggle label {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	cursor: pointer;
}

.hl-checkout-notes-label {
	margin: 0 0 0.85rem;
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--hl-shop-heading);
}

.hl-checkout-page .form-row {
	margin-bottom: 1rem;
	padding: 0;
}

.hl-checkout-page .form-row label {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--hl-shop-heading);
}

.hl-checkout-page .form-row .required {
	color: var(--hl-shop-accent);
	text-decoration: none;
}

.hl-checkout-page .form-row input.input-text,
.hl-checkout-page .form-row textarea,
.hl-checkout-page .form-row select,
.hl-checkout-page .select2-container .select2-selection--single {
	width: 100%;
	padding: 0.7rem 0.85rem !important;
	border: 2px solid var(--hl-shop-border) !important;
	border-radius: 10px !important;
	font-size: 0.92rem !important;
	font-family: inherit;
	background: var(--hl-shop-surface) !important;
	transition: border-color var(--hl-shop-transition), box-shadow var(--hl-shop-transition);
}

.hl-checkout-page .form-row input.input-text:focus,
.hl-checkout-page .form-row textarea:focus,
.hl-checkout-page .form-row select:focus {
	border-color: var(--hl-shop-accent) !important;
	box-shadow: 0 0 0 3px var(--hl-shop-accent-soft) !important;
	outline: none;
}

.hl-checkout-page .form-row-first,
.hl-checkout-page .form-row-last {
	width: 48%;
}

.hl-checkout-page .form-row-first {
	float: left;
	clear: both;
}

.hl-checkout-page .form-row-last {
	float: right;
}

.hl-checkout-page .form-row-wide {
	clear: both;
	width: 100%;
}

@media (max-width: 600px) {

	.hl-checkout-page .form-row-first,
	.hl-checkout-page .form-row-last {
		width: 100%;
		float: none;
	}
}

.hl-checkout-coupon {
	margin-bottom: 1.15rem;
	padding: 0.85rem 1rem;
	border-radius: var(--hl-shop-radius-sm);
	background: linear-gradient(135deg, #fffbeb 0%, #fff 100%);
	border: 1px solid #fcd34d;
}

.hl-checkout-coupon__toggle .woocommerce-info,
.hl-checkout-coupon__toggle .woocommerce-message,
.hl-checkout-coupon__toggle .woocommerce-error {
	margin: 0 !important;
	padding: 0.75rem 1rem !important;
	border-radius: var(--hl-shop-radius-sm) !important;
	font-size: 0.88rem !important;
	border: none !important;
	background: transparent !important;
	color: #92400e !important;
}

.hl-checkout-coupon__toggle a.showcoupon {
	font-weight: 700;
	color: #b45309;
	text-decoration: none;
}

.hl-checkout-coupon__toggle a.showcoupon:hover {
	color: #92400e;
	text-decoration: underline;
}

.hl-checkout-coupon__form {
	margin-top: 0.75rem;
	padding: 1rem;
	background: #fff;
	border: 1px solid #fde68a;
	border-radius: var(--hl-shop-radius-sm);
}

.hl-checkout-coupon__hint {
	margin: 0 0 0.65rem;
	font-size: 0.85rem;
	color: var(--hl-shop-muted);
}

.hl-checkout-coupon__row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.hl-checkout-coupon__input {
	flex: 1 1 160px;
	min-width: 0;
	padding: 0.65rem 0.85rem !important;
	border-radius: 10px !important;
	border: 2px solid var(--hl-shop-border) !important;
}

.hl-checkout-coupon__btn {
	border-radius: 10px !important;
	font-weight: 600 !important;
	padding: 0.65rem 1.15rem !important;
	background: #fef3c7 !important;
	color: #92400e !important;
	border: 2px solid #fbbf24 !important;
}

.hl-checkout-coupon__btn:hover {
	background: #fde68a !important;
	border-color: #f59e0b !important;
	color: #78350f !important;
}

.hl-checkout-items {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	margin-bottom: 1rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--hl-shop-border);
	max-height: 280px;
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: color-mix(in srgb, var(--hl-shop-accent) 40%, #ccc) transparent;
}

.hl-checkout-item {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr) auto;
	align-items: center;
	gap: 0.75rem;
	padding: 0.65rem 0.75rem;
	border-radius: var(--hl-shop-radius-sm);
	background: var(--hl-shop-surface-elevated);
	border: 1px solid var(--hl-shop-border);
	transition: border-color var(--hl-shop-transition), background var(--hl-shop-transition);
}

.hl-checkout-item:hover {
	border-color: color-mix(in srgb, var(--hl-shop-accent) 25%, var(--hl-shop-border));
	background: #fff;
}

.hl-checkout-item__thumb img {
	width: 56px;
	height: 56px;
	object-fit: contain;
	border-radius: var(--hl-shop-radius-sm);
	background: var(--hl-shop-image-bg);
	border: 1px solid var(--hl-shop-border);
}

.hl-checkout-item__name {
	margin: 0;
	font-size: 0.88rem;
	font-weight: 600;
	line-height: 1.4;
	color: var(--hl-shop-heading);
}

.hl-checkout-item__qty {
	font-weight: 700;
	color: var(--hl-shop-muted);
}

.hl-checkout-item__info dl {
	margin: 0.25rem 0 0;
	font-size: 0.78rem;
	color: var(--hl-shop-muted);
}

.hl-checkout-item__total {
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--hl-shop-accent);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.hl-checkout-totals {
	margin: 0 !important;
	border: none !important;
	background: transparent !important;
	width: 100% !important;
}

.hl-checkout-totals th,
.hl-checkout-totals td {
	padding: 0.5rem 0 !important;
	border: none !important;
	vertical-align: middle !important;
	font-size: 0.9rem;
}

.hl-checkout-totals tr.order-total th,
.hl-checkout-totals tr.order-total td {
	padding: 0.85rem 0.75rem !important;
	margin-top: 0.5rem;
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--hl-shop-heading);
	border-top: none !important;
	background: linear-gradient(135deg, color-mix(in srgb, var(--hl-shop-accent) 12%, #fff) 0%, color-mix(in srgb, var(--hl-shop-accent) 6%, #fff) 100%);
	border-radius: var(--hl-shop-radius-sm);
}

.hl-checkout-totals tr.order-total td {
	color: var(--hl-shop-accent);
	font-size: 1.15rem;
}

.hl-checkout-totals tr.cart-discount td {
	color: #059669;
	font-weight: 600;
}

.hl-checkout-payment {
	margin-top: 1.15rem;
	padding-top: 1.15rem;
	border-top: 2px dashed color-mix(in srgb, var(--hl-shop-accent) 20%, var(--hl-shop-border));
}

.hl-checkout-payment__title {
	margin: 0 0 0.75rem;
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--hl-shop-heading);
}

.hl-checkout-payment__title::before {
	content: none;
}

.hl-checkout-payment .wc_payment_methods {
	margin: 0 0 1rem;
	padding: 0;
	list-style: none;
	border: 1px solid var(--hl-shop-border);
	border-radius: var(--hl-shop-radius-sm);
	overflow: hidden;
}

.hl-checkout-payment .wc_payment_method {
	margin: 0;
	padding: 0;
	border-bottom: 1px solid var(--hl-shop-border);
}

.hl-checkout-payment .wc_payment_method:last-child {
	border-bottom: none;
}

.hl-checkout-payment .wc_payment_method label {
	align-items: center;
	gap: 0.55rem;
	margin: 0;
	padding: 0.85rem 1rem;
	font-weight: 600;
	font-size: 0.9rem;
	cursor: pointer;
	background: var(--hl-shop-surface);
	transition: background var(--hl-shop-transition);
}

.hl-checkout-payment .wc_payment_method label:hover {
	background: color-mix(in srgb, var(--hl-shop-accent) 6%, #fff);
}

.hl-checkout-payment .wc_payment_method input[type="radio"]:checked + label {
	background: color-mix(in srgb, var(--hl-shop-accent) 10%, #fff);
	box-shadow: inset 3px 0 0 var(--hl-shop-accent);
}

.hl-checkout-payment .payment_box {
	margin: 0;
	padding: 0.85rem 1rem 1rem;
	font-size: 0.85rem;
	color: var(--hl-shop-muted);
	background: var(--hl-shop-surface-elevated);
	border-top: 1px dashed var(--hl-shop-border);
}

.hl-checkout-place-order {
	margin: 0 !important;
	padding: 0 !important;
}

.hl-checkout-place-order__btn,
.hl-checkout-place-order #place_order {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	padding: 0.95rem 1.25rem !important;
	border-radius: 12px !important;
	font-size: 1rem !important;
	font-weight: 700 !important;
	background: var(--hl-shop-accent) !important;
	color: #000 !important;
	border: 1px solid #000 !important;
	box-shadow: 0 8px 22px color-mix(in srgb, var(--hl-shop-accent) 32%, transparent) !important;
	transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease !important;
	cursor: pointer;
}

.hl-checkout-place-order__btn:hover,
.hl-checkout-place-order #place_order:hover {
	filter: brightness(1.05);
	transform: translateY(-1px);
}

.hl-checkout-place-order .woocommerce-terms-and-conditions-wrapper {
	margin-bottom: 0.85rem;
	font-size: 0.82rem;
	color: var(--hl-shop-muted);
}

.hl-checkout-trust {
	margin: 1.5rem 0 0;
	padding: 0.85rem 1rem;
	text-align: center;
	font-size: 0.8rem;
	color: #065f46;
	background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
	border-radius: var(--hl-shop-radius-sm);
	border: 1px solid #6ee7b7;
}

.hl-checkout-trust::before {
	content: none;
}

@media (max-width: 600px) {
	.hl-checkout-steps__item {
		font-size: 0.75rem;
	}

	.hl-checkout-steps__item::before {
		width: 1.45rem;
		height: 1.45rem;
		margin-right: 0.35rem;
	}

	.hl-checkout-item {
		grid-template-columns: 48px minmax(0, 1fr);
		grid-template-rows: auto auto;
	}

	.hl-checkout-item__total {
		grid-column: 2;
		justify-self: start;
		font-size: 0.85rem;
	}
}

/* —— Trang thank-you / order-received —— */
body.woocommerce-order-received .site-main,
body.woocommerce-order-received #primary {
	background: linear-gradient(165deg, color-mix(in srgb, #059669 5%, #f4f6fa) 0%, #f8f9fb 42%, #fff 100%);
}

.hl-thankyou-page {
	margin-left: auto;
	margin-right: auto;
	padding: 30px 0;
	font-family: var(--hl-shop-font);
}

.hl-thankyou-steps {
	margin-bottom: 1.75rem;
}

.hl-thankyou-steps .hl-checkout-steps__item--current::before {
	background: linear-gradient(145deg, #10b981 0%, #059669 100%);
	border-color: #059669;
	color: #fff;
	box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
}

.hl-thankyou-hero {
	text-align: center;
	padding: 2rem 1.5rem 1.75rem;
	margin-bottom: 1.5rem;
	border-radius: var(--hl-shop-radius);
	border: 1px solid var(--hl-shop-border);
	box-shadow: var(--hl-shop-shadow-md);
	position: relative;
	overflow: hidden;
}

.hl-thankyou-hero--success {
	background: linear-gradient(145deg, #ecfdf5 0%, #fff 55%, color-mix(in srgb, var(--hl-shop-accent) 4%, #fff) 100%);
	border-color: #6ee7b7;
}

.hl-thankyou-hero--failed {
	background: linear-gradient(145deg, #fef2f2 0%, #fff 60%, #fff5f5 100%);
	border-color: #fecaca;
}

.hl-thankyou-hero__icon {
	width: 4.5rem;
	height: 4.5rem;
	margin: 0 auto 1.1rem;
	border-radius: 999px;
	position: relative;
}

.hl-thankyou-hero--success .hl-thankyou-hero__icon {
	background: linear-gradient(145deg, #10b981 0%, #059669 100%);
	box-shadow: 0 10px 28px rgba(5, 150, 105, 0.35);
}

.hl-thankyou-hero--success .hl-thankyou-hero__icon::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 46%;
	width: 0.55rem;
	height: 1.05rem;
	margin-left: -0.15rem;
	border: solid #fff;
	border-width: 0 3px 3px 0;
	transform: translate(-50%, -50%) rotate(45deg);
}

.hl-thankyou-hero--failed .hl-thankyou-hero__icon {
	background: linear-gradient(145deg, #ef4444 0%, #dc2626 100%);
	box-shadow: 0 10px 28px rgba(220, 38, 38, 0.3);
}

.hl-thankyou-hero--failed .hl-thankyou-hero__icon::before,
.hl-thankyou-hero--failed .hl-thankyou-hero__icon::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 1.35rem;
	height: 3px;
	background: #fff;
	border-radius: 999px;
}

.hl-thankyou-hero--failed .hl-thankyou-hero__icon::before {
	transform: translate(-50%, -50%) rotate(45deg);
}

.hl-thankyou-hero--failed .hl-thankyou-hero__icon::after {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.hl-thankyou-hero__title {
	margin: 0 0 0.5rem;
	font-size: clamp(1.45rem, 4vw, 1.9rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	color: var(--hl-shop-heading);
}

.hl-thankyou-hero--success .hl-thankyou-hero__title {
	color: #065f46;
}

.hl-thankyou-hero--failed .hl-thankyou-hero__title {
	color: #991b1b;
}

.hl-thankyou-hero__text {
	margin: 0 auto;
	/* max-width: 36rem; */
	font-size: 0.95rem;
	line-height: 1.55;
}

.hl-thankyou-hero .woocommerce-notice {
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	background: transparent !important;
	box-shadow: none !important;
	color: inherit !important;
}

.hl-thankyou-hero--success .hl-thankyou-hero__text {
	color: #047857;
}

.hl-thankyou-hero--failed .hl-thankyou-hero__text {
	color: #b91c1c;
}

.hl-thankyou-hero__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.65rem;
	margin-top: 1.25rem;
}

.hl-thankyou-meta {
	margin-bottom: 1.5rem;
}

.hl-thankyou-meta__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 0.85rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hl-thankyou-meta__item {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	padding: 1rem 1.1rem;
	border-radius: var(--hl-shop-radius-sm);
	background: #fff;
	border: 1px solid var(--hl-shop-border);
	box-shadow: var(--hl-shop-shadow-sm);
	transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.hl-thankyou-meta__item:hover {
	transform: translateY(-2px);
	box-shadow: var(--hl-shop-shadow-md);
	border-color: color-mix(in srgb, var(--hl-shop-accent) 20%, var(--hl-shop-border));
}

.hl-thankyou-meta__label {
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--hl-shop-muted);
}

.hl-thankyou-meta__value {
	font-size: 0.98rem;
	font-weight: 700;
	color: var(--hl-shop-heading);
	word-break: break-word;
}

.hl-thankyou-meta__item--total {
	border-color: color-mix(in srgb, var(--hl-shop-accent) 28%, var(--hl-shop-border));
	background: linear-gradient(135deg, color-mix(in srgb, var(--hl-shop-accent) 10%, #fff) 0%, #fff 100%);
}

.hl-thankyou-meta__item--total .hl-thankyou-meta__value {
	color: var(--hl-shop-accent);
	font-size: 1.1rem;
}

.hl-thankyou-details {
	display: flex;
	flex-direction: column;
	gap: 1.15rem;
	margin-bottom: 1.5rem;
}

.hl-thankyou-card {
	background: var(--hl-shop-surface);
	border: 1px solid var(--hl-shop-border);
	border-radius: var(--hl-shop-radius);
	box-shadow: var(--hl-shop-shadow-sm);
	overflow: hidden;
}

.hl-thankyou-card__head {
	padding: 1rem 1.25rem;
	background: linear-gradient(135deg, color-mix(in srgb, var(--hl-shop-accent) 8%, #fff) 0%, #fff 100%);
	border-bottom: 1px solid var(--hl-shop-border);
}

.hl-thankyou-card__title {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--hl-shop-heading);
	letter-spacing: -0.02em;
}

.hl-thankyou-card__body {
	padding: 1.15rem 1.25rem 1.25rem;
}

.hl-thankyou-card--addresses {
	border-top: 3px solid #2563eb;
}

.hl-thankyou-table {
	margin: 0 !important;
	border: none !important;
	width: 100% !important;
	background: transparent !important;
	border-collapse: collapse;
}

.hl-thankyou-table thead th {
	padding: 0.75rem 0.85rem !important;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--hl-shop-muted);
	border-bottom: 1px solid var(--hl-shop-border) !important;
	background: var(--hl-shop-surface-elevated) !important;
}

.hl-thankyou-table tbody td {
	padding: 0.9rem 0.85rem !important;
	vertical-align: middle !important;
	border-bottom: 1px solid var(--hl-shop-border) !important;
	font-size: 0.9rem;
}

.hl-thankyou-table tbody .product-name {
	font-weight: 600;
	color: var(--hl-shop-heading);
}

.hl-thankyou-table tbody .product-total {
	font-weight: 700;
	color: var(--hl-shop-accent);
	text-align: right;
	white-space: nowrap;
}

.hl-thankyou-table__totals th,
.hl-thankyou-table__totals td {
	padding: 0.55rem 0.85rem !important;
	border: none !important;
	font-size: 0.9rem;
}

.hl-thankyou-table__total-row th,
.hl-thankyou-table__total-row td {
	padding: 0.85rem !important;
	margin-top: 0.35rem;
	font-size: 1.05rem !important;
	font-weight: 700 !important;
	background: linear-gradient(135deg, color-mix(in srgb, var(--hl-shop-accent) 12%, #fff) 0%, color-mix(in srgb, var(--hl-shop-accent) 6%, #fff) 100%);
	border-radius: var(--hl-shop-radius-sm);
}

.hl-thankyou-table__total-row td {
	color: var(--hl-shop-accent);
	text-align: right;
}

.hl-thankyou-address-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}

.hl-thankyou-address-grid--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 768px) {
	.hl-thankyou-address-grid--2 {
		grid-template-columns: 1fr;
	}
}

.hl-thankyou-address {
	padding: 1rem;
	border-radius: var(--hl-shop-radius-sm);
	background: var(--hl-shop-surface-elevated);
	border: 1px solid var(--hl-shop-border);
}

.hl-thankyou-address__title {
	margin: 0 0 0.65rem;
	font-size: 0.88rem;
	font-weight: 700;
	color: var(--hl-shop-heading);
}

.hl-thankyou-address__body {
	font-style: normal;
	font-size: 0.9rem;
	line-height: 1.6;
	color: var(--hl-shop-heading);
}

.hl-thankyou-address__body p {
	margin: 0.35rem 0 0;
	color: var(--hl-shop-muted);
}

.hl-thankyou-footer {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
	margin-bottom: 1rem;
}

.hl-thankyou-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.85rem 1.35rem;
	border-radius: 12px;
	font-size: 0.92rem;
	font-weight: 700;
	text-decoration: none !important;
	line-height: 1.2;
	transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.hl-thankyou-btn--primary {
	background: var(--hl-shop-accent) !important;
	color: #000 !important;
	border: 1px solid #000 !important;
	box-shadow: 0 8px 22px color-mix(in srgb, var(--hl-shop-accent) 32%, transparent) !important;
}

.hl-thankyou-btn--primary:hover {
	filter: brightness(1.05);
	transform: translateY(-1px);
}

.hl-thankyou-btn--ghost {
	background: #fff !important;
	color: var(--hl-shop-heading) !important;
	border: 2px solid var(--hl-shop-border-strong) !important;
}

.hl-thankyou-btn--ghost:hover {
	border-color: var(--hl-shop-accent) !important;
	color: var(--hl-shop-accent) !important;
	background: color-mix(in srgb, var(--hl-shop-accent) 6%, #fff) !important;
}

.hl-thankyou-trust {
	margin: 0;
	padding: 0.85rem 1rem;
	text-align: center;
	font-size: 0.8rem;
	color: #1e40af;
	background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
	border-radius: var(--hl-shop-radius-sm);
	border: 1px solid #bfdbfe;
}

/* —— Thank-you: đăng nhập khi chưa login —— */
body.woocommerce-order-received .hl-thankyou-login-wrap {
	margin-left: auto;
	margin-right: auto;
	padding: 0 0 30px;
	font-family: var(--hl-shop-font);
}

body.woocommerce-order-received .woocommerce-info {
	margin: 0 0 1rem !important;
	padding: 0.9rem 1.1rem 0.9rem 3rem !important;
	border-radius: var(--hl-shop-radius-sm) !important;
	font-size: 0.9rem !important;
	line-height: 1.5 !important;
	color: #1e40af !important;
	background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%) !important;
	border: 1px solid #bfdbfe !important;
	box-shadow: var(--hl-shop-shadow-sm) !important;
	position: relative;
}

body.woocommerce-order-received .woocommerce-info::before {
	content: "i";
	position: absolute;
	left: 1rem;
	top: 50%;
	transform: translateY(-50%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 999px;
	font-size: 0.82rem;
	font-weight: 800;
	font-style: normal;
	line-height: 1;
	color: #fff;
	background: linear-gradient(145deg, #3b82f6 0%, #2563eb 100%);
	box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
}

body.woocommerce-order-received .woocommerce-info + form.hl-thankyou-login {
	margin-top: 0;
}

form.hl-thankyou-login {
	max-width: 520px;
	margin: 0 auto 1.5rem;
	padding: 0;
	background: #fff;
	border: 1px solid var(--hl-shop-border);
	border-radius: var(--hl-shop-radius);
	box-shadow: var(--hl-shop-shadow-md);
	overflow: hidden;
	border-top: 3px solid #2563eb;
}

.hl-thankyou-login__head {
	padding: 1.25rem 1.35rem 1rem;
	background: linear-gradient(135deg, #eff6ff 0%, #fff 100%);
	border-bottom: 1px solid var(--hl-shop-border);
}

.hl-thankyou-login__title {
	margin: 0 0 0.35rem;
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--hl-shop-heading);
	letter-spacing: -0.02em;
}

.hl-thankyou-login__desc {
	margin: 0;
	font-size: 0.88rem;
	line-height: 1.5;
	color: var(--hl-shop-muted);
}

.hl-thankyou-login__fields {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 1rem;
	padding: 1.15rem 1.35rem 0;
}

form.hl-thankyou-login .form-row {
	margin-bottom: 1rem;
	padding: 0;
	float: none !important;
	width: 100% !important;
	max-width: 100% !important;
	clear: none !important;
}

form.hl-thankyou-login .form-row-first,
form.hl-thankyou-login .form-row-last {
	width: 100% !important;
	float: none !important;
}

form.hl-thankyou-login .form-row label {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--hl-shop-heading);
}

form.hl-thankyou-login .form-row .required {
	color: var(--hl-shop-accent);
	text-decoration: none;
}

form.hl-thankyou-login .form-row input.input-text {
	width: 100%;
	padding: 0.7rem 0.85rem !important;
	border: 2px solid var(--hl-shop-border) !important;
	border-radius: 10px !important;
	font-size: 0.92rem !important;
	font-family: inherit;
	background: var(--hl-shop-surface) !important;
	transition: border-color var(--hl-shop-transition), box-shadow var(--hl-shop-transition);
}

form.hl-thankyou-login .form-row input.input-text:focus {
	border-color: #2563eb !important;
	box-shadow: 0 0 0 3px color-mix(in srgb, #2563eb 14%, transparent) !important;
	outline: none;
}

form.hl-thankyou-login .password-input {
	display: block;
	width: 100%;
}

form.hl-thankyou-login .password-input .input-text {
	padding-right: 2.75rem !important;
}

form.hl-thankyou-login .show-password-input {
	border: none;
	background: transparent;
}

.hl-thankyou-login__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.25rem 1.35rem 1rem !important;
	margin-bottom: 0 !important;
}

form.hl-thankyou-login .woocommerce-form-login__rememberme {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin: 0;
	font-size: 0.88rem;
	font-weight: 500;
	color: var(--hl-shop-muted);
	cursor: pointer;
}

form.hl-thankyou-login .woocommerce-form-login__submit {
	margin: 0 !important;
	min-width: 9rem;
}

.hl-thankyou-login__lost {
	margin: 0;
	padding: 0.85rem 1.35rem 1.25rem;
	text-align: center;
	font-size: 0.88rem;
	background: var(--hl-shop-surface-elevated);
	border-top: 1px dashed var(--hl-shop-border);
}

.hl-thankyou-login__lost a {
	font-weight: 600;
	color: #2563eb;
	text-decoration: none;
}

.hl-thankyou-login__lost a:hover {
	color: var(--hl-shop-accent);
	text-decoration: underline;
}

@media (max-width: 600px) {
	.hl-thankyou-login__fields {
		grid-template-columns: 1fr;
		padding-top: 1rem;
	}

	.hl-thankyou-login__actions {
		flex-direction: column;
		align-items: stretch;
	}

	form.hl-thankyou-login .woocommerce-form-login__submit {
		width: 100%;
	}
}

/* Ghi đè Bootstrap col trong thank-you */
.hl-thankyou-page .col-1,
.hl-thankyou-page .col-2,
.hl-thankyou-page .col2-set .col-1,
.hl-thankyou-page .col2-set .col-2 {
	flex: none !important;
	-ms-flex: none !important;
	width: 100% !important;
	max-width: 100% !important;
	float: none !important;
	padding: 0 !important;
}

@media (max-width: 600px) {
	.hl-thankyou-hero {
		padding: 1.5rem 1rem 1.35rem;
	}

	.hl-thankyou-meta__grid {
		grid-template-columns: 1fr 1fr;
	}

	.hl-thankyou-meta__item--total {
		grid-column: 1 / -1;
	}

	.hl-thankyou-footer {
		flex-direction: column;
	}

	.hl-thankyou-footer .hl-thankyou-btn {
		width: 100%;
	}
}

/* —— Trang My Account —— */
body.woocommerce-account .site-main,
body.woocommerce-account #primary {
	background: linear-gradient(165deg, color-mix(in srgb, var(--hl-shop-accent) 5%, #f4f6fa) 0%, #f8f9fb 40%, #fff 100%);
}

.hl-account-page {
	margin-left: auto;
	margin-right: auto;
	padding: 30px 0;
	font-family: var(--hl-shop-font);
}

.hl-account-page__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem 1.5rem;
	margin-bottom: 1.5rem;
	padding: 1.15rem 1.25rem;
	border-radius: var(--hl-shop-radius);
	border: 1px solid color-mix(in srgb, var(--hl-shop-accent) 18%, var(--hl-shop-border));
	background: linear-gradient(135deg, #fff 0%, color-mix(in srgb, var(--hl-shop-accent) 5%, #fff) 100%);
	box-shadow: var(--hl-shop-shadow-sm);
	position: relative;
	overflow: hidden;
}

.hl-account-page__head::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 4px;
	background: linear-gradient(180deg, var(--hl-shop-accent) 0%, color-mix(in srgb, var(--hl-shop-accent) 55%, #1a1d24) 100%);
}

.hl-account-page__head-text {
	padding-left: 0.35rem;
}

.hl-account-page__title {
	margin: 0;
	font-size: clamp(1.45rem, 4vw, 1.85rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	color: var(--hl-shop-heading);
}

.hl-account-page__sub {
	margin: 0.35rem 0 0;
	font-size: 0.9rem;
	color: var(--hl-shop-muted);
	font-weight: 500;
}

.hl-account-page__shop {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--hl-shop-accent);
	text-decoration: none;
	padding: 0.5rem 0.9rem;
	border-radius: var(--hl-shop-radius-sm);
	border: 1px solid color-mix(in srgb, var(--hl-shop-accent) 30%, var(--hl-shop-border));
	background: color-mix(in srgb, var(--hl-shop-accent) 8%, #fff);
	transition: border-color var(--hl-shop-transition), background var(--hl-shop-transition), transform 0.15s ease;
}

.hl-account-page__shop:hover {
	border-color: var(--hl-shop-accent);
	background: color-mix(in srgb, var(--hl-shop-accent) 14%, #fff);
	transform: translateX(-2px);
}

.hl-account-layout {
	display: grid;
	grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
	align-items: start;
	gap: 1.5rem 2rem;
}

.hl-account-guest {
	max-width: 920px;
	margin: 0 auto;
}

.hl-account-main,
.hl-account-guest {
	min-width: 0;
}

.hl-account-content {
	background: #fff;
	border: 1px solid var(--hl-shop-border);
	border-radius: var(--hl-shop-radius);
	box-shadow: var(--hl-shop-shadow-sm);
	padding: 1.35rem 1.35rem 1.25rem;
}

.hl-account-guest .hl-account-content {
	background: transparent;
	border: none;
	box-shadow: none;
	padding: 0;
}

/* Nav */
.hl-account-nav {
	background: #fff;
	border: 1px solid var(--hl-shop-border);
	border-radius: var(--hl-shop-radius);
	box-shadow: var(--hl-shop-shadow-sm);
	overflow: hidden;
	position: sticky;
	top: 1rem;
}

.hl-account-nav__list {
	margin: 0;
	padding: 0.5rem;
	list-style: none;
}

.hl-account-nav__item {
	margin: 0;
}

.hl-account-nav__link {
	display: block;
	padding: 0.7rem 0.85rem;
	border-radius: var(--hl-shop-radius-sm);
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--hl-shop-heading);
	text-decoration: none;
	transition: background var(--hl-shop-transition), color var(--hl-shop-transition);
}

.hl-account-nav__link:hover {
	background: var(--hl-shop-surface-elevated);
	color: var(--hl-shop-accent);
}

.hl-account-nav__item.is-active .hl-account-nav__link {
	background: color-mix(in srgb, var(--hl-shop-accent) 12%, #fff);
	color: var(--hl-shop-accent);
	box-shadow: inset 3px 0 0 var(--hl-shop-accent);
}

/* Auth cards: login / register / lost password */
.hl-account-auth {
	display: block;
}

.hl-account-auth--split {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
}

.hl-account-card {
	background: #fff;
	border: 1px solid var(--hl-shop-border);
	border-radius: var(--hl-shop-radius);
	box-shadow: var(--hl-shop-shadow-md);
	overflow: hidden;
}

.hl-account-card--login {
	border-top: 3px solid #2563eb;
}

.hl-account-card--login .hl-account-card__head {
	background: linear-gradient(135deg, #eff6ff 0%, #fff 100%);
}

.hl-account-card--register {
	border-top: 3px solid #059669;
}

.hl-account-card--register .hl-account-card__head {
	background: linear-gradient(135deg, #ecfdf5 0%, #fff 100%);
}

.hl-account-card--lost-password,
.hl-account-card--reset-password {
	max-width: 520px;
	margin: 0 auto;
	border-top: 3px solid #d97706;
}

.hl-account-card--lost-password .hl-account-card__head,
.hl-account-card--reset-password .hl-account-card__head {
	background: linear-gradient(135deg, #fffbeb 0%, #fff 100%);
}

.hl-account-card--confirm {
	max-width: 560px;
	margin: 0 auto;
	border-top: 3px solid #059669;
}

.hl-account-card__head {
	padding: 1.2rem 1.35rem 1rem;
	border-bottom: 1px solid var(--hl-shop-border);
}

.hl-account-card__head--success {
	text-align: center;
	background: linear-gradient(135deg, #ecfdf5 0%, #fff 100%);
}

.hl-account-card__title {
	margin: 0 0 0.35rem;
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--hl-shop-heading);
	letter-spacing: -0.02em;
}

.hl-account-card__desc {
	margin: 0;
	font-size: 0.88rem;
	line-height: 1.5;
	color: var(--hl-shop-muted);
}

.hl-account-card__body {
	padding: 1.2rem 1.35rem 1.35rem;
}

.hl-account-confirm__icon {
	width: 3.5rem;
	height: 3.5rem;
	margin: 0 auto 0.85rem;
	border-radius: 999px;
	background: linear-gradient(145deg, #10b981 0%, #059669 100%);
	box-shadow: 0 8px 22px rgba(5, 150, 105, 0.3);
	position: relative;
}

.hl-account-confirm__icon::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 46%;
	width: 0.5rem;
	height: 0.95rem;
	margin-left: -0.12rem;
	border: solid #fff;
	border-width: 0 3px 3px 0;
	transform: translate(-50%, -50%) rotate(45deg);
}

.hl-account-confirm__text {
	margin: 0 0 1rem;
	font-size: 0.92rem;
	line-height: 1.6;
	color: var(--hl-shop-heading);
	text-align: center;
}

/* Form fields */
.hl-account-page .form-row,
.hl-account-content .form-row {
	margin-bottom: 1rem;
	padding: 0;
	float: none !important;
	width: 100% !important;
	max-width: 100% !important;
	clear: both !important;
}

.hl-account-page .form-row label,
.hl-account-content .form-row label {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--hl-shop-heading);
}

.hl-account-page .form-row .required,
.hl-account-content .form-row .required {
	color: var(--hl-shop-accent);
	text-decoration: none;
}

.hl-account-page .input-text,
.hl-account-page .woocommerce-Input,
.hl-account-content .input-text,
.hl-account-content .woocommerce-Input,
.hl-account-content select,
.hl-account-content textarea {
	width: 100%;
	padding: 0.7rem 0.85rem !important;
	border: 2px solid var(--hl-shop-border) !important;
	border-radius: 10px !important;
	font-size: 0.92rem !important;
	font-family: inherit;
	background: var(--hl-shop-surface) !important;
	transition: border-color var(--hl-shop-transition), box-shadow var(--hl-shop-transition);
}

.hl-account-page .input-text:focus,
.hl-account-page .woocommerce-Input:focus,
.hl-account-content .input-text:focus,
.hl-account-content .woocommerce-Input:focus,
.hl-account-content select:focus,
.hl-account-content textarea:focus {
	border-color: var(--hl-shop-accent) !important;
	box-shadow: 0 0 0 3px var(--hl-shop-accent-soft) !important;
	outline: none;
}

.hl-account-form__grid-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 1rem;
}

.hl-account-form__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
}

.hl-account-form__actions .woocommerce-form-login__rememberme {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin: 0;
	font-size: 0.88rem;
	color: var(--hl-shop-muted);
}

.hl-account-form__lost,
.hl-account-form__back {
	margin: 0.75rem 0 0;
	text-align: center;
	font-size: 0.88rem;
}

.hl-account-form__lost a,
.hl-account-form__back a {
	font-weight: 600;
	color: #2563eb;
	text-decoration: none;
}

.hl-account-form__lost a:hover,
.hl-account-form__back a:hover {
	color: var(--hl-shop-accent);
	text-decoration: underline;
}

.hl-account-form__hint {
	margin: 0 0 1rem;
	padding: 0.75rem 0.9rem;
	font-size: 0.85rem;
	color: #92400e;
	background: #fffbeb;
	border: 1px solid #fde68a;
	border-radius: var(--hl-shop-radius-sm);
}

.hl-account-form__submit-row {
	margin-bottom: 0 !important;
}

.hl-account-form__submit-row .button,
.hl-account-form__submit-row .hl-thankyou-btn {
	min-width: 10rem;
}

/* Ghi đè Bootstrap col trong account */
.hl-account-page .col-1,
.hl-account-page .col-2,
.hl-account-page .col2-set .col-1,
.hl-account-page .col2-set .col-2,
.hl-account-page .u-column1,
.hl-account-page .u-column2 {
	flex: none !important;
	-ms-flex: none !important;
	width: 100% !important;
	max-width: 100% !important;
	float: none !important;
	padding: 0 !important;
}

/* Nội dung đã đăng nhập */
.hl-account-content > p,
.hl-account-content .woocommerce-MyAccount-content > p {
	line-height: 1.6;
	color: var(--hl-shop-heading);
}

.hl-account-content .woocommerce-orders-table,
.hl-account-content .shop_table,
.hl-account-content table.woocommerce-table {
	width: 100%;
	border-collapse: collapse;
	border: 1px solid var(--hl-shop-border);
	border-radius: var(--hl-shop-radius-sm);
	overflow: hidden;
}

.hl-account-content .woocommerce-orders-table thead th,
.hl-account-content .shop_table thead th {
	padding: 0.85rem 1rem !important;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--hl-shop-muted);
	background: var(--hl-shop-surface-elevated) !important;
	border-bottom: 1px solid var(--hl-shop-border) !important;
}

.hl-account-content .woocommerce-orders-table tbody td,
.hl-account-content .shop_table tbody td {
	padding: 0.85rem 1rem !important;
	border-bottom: 1px solid var(--hl-shop-border) !important;
	font-size: 0.9rem;
	vertical-align: middle !important;
}

.hl-account-content .woocommerce-orders-table .button,
.hl-account-content .woocommerce-Button.button,
.hl-account-content .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.55rem 1rem !important;
	border-radius: 10px !important;
	font-size: 0.85rem !important;
	font-weight: 600 !important;
	text-decoration: none !important;
}

.hl-account-content .woocommerce-orders-table .button,
.hl-account-content .woocommerce-orders-table .woocommerce-button {
	background: color-mix(in srgb, var(--hl-shop-accent) 10%, #fff) !important;
	color: var(--hl-shop-heading) !important;
	border: 2px solid var(--hl-shop-border-strong) !important;
}

.hl-account-content .woocommerce-orders-table .button:hover {
	border-color: var(--hl-shop-accent) !important;
	color: var(--hl-shop-accent) !important;
}

.hl-account-content h2,
.hl-account-content h3 {
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--hl-shop-heading);
	margin: 0 0 1rem;
}

.hl-account-content .woocommerce-Address {
	padding: 1rem;
	background: var(--hl-shop-surface-elevated);
	border: 1px solid var(--hl-shop-border);
	border-radius: var(--hl-shop-radius-sm);
	margin-bottom: 1rem;
}

.hl-account-content .woocommerce-Address-title .edit {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--hl-shop-accent);
}

/* Thông báo WC trên account */
body.woocommerce-account .woocommerce-notices-wrapper {
	margin-bottom: 1rem;
}

body.woocommerce-account .woocommerce-message,
body.woocommerce-account .woocommerce-info,
body.woocommerce-account .woocommerce-error {
	border-radius: var(--hl-shop-radius-sm) !important;
	font-size: 0.9rem !important;
}

@media (max-width: 960px) {
	.hl-account-layout {
		grid-template-columns: 1fr;
	}

	.hl-account-nav {
		position: static;
	}

	.hl-account-nav__list {
		display: flex;
		flex-wrap: wrap;
		gap: 0.35rem;
	}

	.hl-account-nav__item {
		flex: 1 1 auto;
	}

	.hl-account-nav__link {
		text-align: center;
		font-size: 0.82rem;
		padding: 0.55rem 0.65rem;
	}

	.hl-account-auth--split {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	.hl-account-form__grid-2 {
		grid-template-columns: 1fr;
	}

	.hl-account-form__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.hl-account-form__actions .hl-thankyou-btn,
	.hl-account-form__submit-row .hl-thankyou-btn {
		width: 100%;
	}
}

/* =============================================================================
   LTECH-style shop archive (anhgiaodiensanpham.png)
   ============================================================================= */

.hl-shop-archive--ltech {
	background: #fff;
}

.hl-shop-archive--ltech .hl-shop-hero {
	position: relative;
	min-height: 220px;
	margin: 0 0 0;
	padding: 3.5rem 0 3rem;
	background-color: #1a1d24;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

@media (min-width: 768px) {
	.hl-shop-archive--ltech .hl-shop-hero {
		min-height: 280px;
		padding: 4.5rem 0 3.75rem;
	}
}

.hl-shop-archive--ltech .hl-shop-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.45) 55%, rgba(0, 0, 0, 0.25) 100%);
}

.hl-shop-archive--ltech .hl-shop-hero-inner {
	position: relative;
	z-index: 1;
	max-width: 720px;
}

.hl-shop-archive--ltech .hl-shop-hero-title {
	margin: 0 0 0.85rem;
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 700;
	color: #fff;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.hl-shop-archive--ltech .hl-shop-hero-line {
	display: block;
	width: 56px;
	height: 3px;
	margin: 0 0 1rem;
	background: var(--hl-shop-accent);
}

.hl-shop-archive--ltech .hl-shop-hero-desc {
	font-size: 0.9375rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.88);
	max-width: 56ch;
}

.hl-shop-archive--ltech .hl-shop-hero-desc p {
	margin: 0 0 0.5rem;
}

.hl-shop-archive--ltech .hl-shop-body {
	padding-top: 0.75rem;
	padding-bottom: 2.5rem;
}

.hl-shop-archive--ltech #breadcum.hl-shop-breadcum {
	padding: 5px 0 1.25rem;
}

.hl-shop-archive--ltech nav.hl-shop-bc.woocommerce-breadcrumb {
	display: block;
	padding: 0 !important;
	margin: 0 !important;
	border: none;
	border-radius: 0;
	box-shadow: none;
	background: transparent;
	font-size: 0.8125rem;
	color: #888;
}

.hl-shop-archive--ltech .hl-shop-bc.woocommerce-breadcrumb a {
	color: #666;
	font-weight: 500;
}

.hl-shop-archive--ltech .hl-shop-bc.woocommerce-breadcrumb a:hover {
	color: var(--hl-shop-accent);
}

.hl-shop-archive--ltech .hl-shop-bc .hl-bc-sep {
	color: #bbb;
	margin: 0 0.35em;
}

.hl-shop-archive--ltech .block-collection.hl-shop-main {
	border: none;
	border-radius: 0;
	box-shadow: none;
	padding: 0 0 0 1.75rem;
	background: transparent;
}

@media (max-width: 991px) {
	.hl-shop-archive--ltech .block-collection.hl-shop-main {
		padding: 0;
	}
}

.hl-shop-archive--ltech .hl-shop-sidebar {
	padding-right: 1.5rem;
}

.hl-shop-archive--ltech .hl-sidebar-panels {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.hl-shop-archive--ltech .hl-sidebar-panel {
	background: var(--hl-shop-surface);
	border: 1px solid #e8e8e8;
	border-radius: 0;
	box-shadow: none;
	padding: 0;
	overflow: hidden;
}

.hl-shop-archive--ltech .hl-sidebar-panel-title,
.hl-shop-archive--ltech .hl-sidebar-categories-title,
.hl-shop-archive--ltech .hl-sidebar-filters-title {
	margin: 0;
	padding: 0.9rem 1.25rem;
	background: #f5f5f5;
	border-bottom: 1px solid #ddd;
	font-size: 1rem;
	font-weight: 700;
	color: var(--hl-shop-heading);
	line-height: 1.3;
	letter-spacing: 0.01em;
}

.hl-shop-archive--ltech .hl-sidebar-panel--categories .hl-sidebar-cat-tree {
	padding: 0;
}

.hl-shop-archive--ltech .hl-sidebar-categories {
	margin: 0;
	background: var(--hl-shop-surface);
}

.hl-shop-archive--ltech .hl-sidebar-categories-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.hl-shop-archive--ltech a.hl-sidebar-cat-link {
	display: block;
	padding: 0;
	font-size: 0.875rem;
	font-weight: 500;
	color: #4a5568;
	text-decoration: none;
	line-height: 1.35;
	transition: color var(--hl-shop-transition);
}

.hl-shop-archive--ltech a.hl-sidebar-cat-link:hover,
.hl-shop-archive--ltech a.hl-sidebar-cat-link.is-active {
	color: var(--hl-shop-accent);
}

.hl-shop-archive--ltech a.hl-sidebar-cat-link.is-active {
	font-weight: 700;
}

/* Cây danh mục sidebar (+/− bên phải) — LED / LTECH */
.hl-shop-archive--ltech .hl-sidebar-cat-tree,
.hl-shop-archive--ltech .hl-sidebar-cat-children {
	list-style: none;
	margin: 0;
	padding: 0;
}

.hl-shop-archive--ltech .hl-sidebar-cat-item {
	margin: 0;
}

/* Cấp cha (gốc): viền dưới liền */
.hl-shop-archive--ltech .hl-sidebar-cat-tree > .hl-sidebar-cat-item {
	border-bottom: 1px solid #d8dde3;
}

.hl-shop-archive--ltech .hl-sidebar-cat-tree > .hl-sidebar-cat-item:last-child {
	border-bottom: 1px solid #d8dde3;
}

/* Cấp con: viền dưới nét đứt */
.hl-shop-archive--ltech .hl-sidebar-cat-children .hl-sidebar-cat-item {
	border-bottom: 1px dashed #e2e6eb;
}

.hl-shop-archive--ltech .hl-sidebar-cat-children .hl-sidebar-cat-item:last-child {
	border-bottom: none;
}

.hl-shop-archive--ltech .hl-sidebar-cat-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.7rem 1.25rem;
	min-height: 2.75rem;
}

.hl-shop-archive--ltech .hl-sidebar-cat-children .hl-sidebar-cat-row {
	padding-left: 1.65rem;
	padding-right: 1.25rem;
	background: #fafbfc;
}

.hl-shop-archive--ltech .hl-sidebar-cat-children .hl-sidebar-cat-children .hl-sidebar-cat-row {
	padding-left: 2.05rem;
}

.hl-shop-archive--ltech .hl-sidebar-cat-row .hl-sidebar-cat-link {
	flex: 1 1 auto;
	min-width: 0;
}

.hl-shop-archive--ltech .hl-sidebar-cat-item--depth-0 > .hl-sidebar-cat-row .hl-sidebar-cat-link {
	font-size: 0.9375rem;
	font-weight: 600;
	color: #2d3748;
}

.hl-shop-archive--ltech .hl-sidebar-cat-toggle {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.375rem;
	height: 1.375rem;
	margin: 0;
	padding: 0;
	border: 1px solid #c5ccd6;
	border-radius: 2px;
	background: #fff;
	box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
	cursor: pointer;
	color: #4a5568;
	transition:
		border-color var(--hl-shop-transition),
		color var(--hl-shop-transition),
		background var(--hl-shop-transition),
		box-shadow var(--hl-shop-transition);
}

.hl-shop-archive--ltech .hl-sidebar-cat-toggle:focus {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.375rem;
	height: 1.375rem;
	margin: 0;
	padding: 0;
	border: 1px solid #c5ccd6 !important;
	border-radius: 2px;
	background: #fff;
	box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
	cursor: pointer;
	color: #4a5568;
	transition:
		border-color var(--hl-shop-transition),
		color var(--hl-shop-transition),
		background var(--hl-shop-transition),
		box-shadow var(--hl-shop-transition);
}

.hl-shop-archive--ltech .hl-sidebar-cat-toggle:hover,
.hl-shop-archive--ltech .hl-sidebar-cat-toggle:focus-visible {
	border-color: var(--hl-shop-accent);
	color: var(--hl-shop-accent);
	background: #fff;
	outline: none;
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--hl-shop-accent) 25%, transparent);
}

.hl-shop-archive--ltech .hl-sidebar-cat-item.is-open > .hl-sidebar-cat-row .hl-sidebar-cat-toggle {
	border-color: #9aa3af;
	color: var(--hl-shop-heading);
}

.hl-shop-archive--ltech .hl-sidebar-cat-toggle-icon {
	position: relative;
	display: block;
	width: 0.6rem;
	height: 0.6rem;
}

.hl-shop-archive--ltech .hl-sidebar-cat-toggle-icon::before,
.hl-shop-archive--ltech .hl-sidebar-cat-toggle-icon::after {
	content: "";
	position: absolute;
	background: currentColor;
	border-radius: 1px;
	transition: transform var(--hl-shop-transition), opacity var(--hl-shop-transition);
}

.hl-shop-archive--ltech .hl-sidebar-cat-toggle-icon::before {
	top: 50%;
	left: 0;
	width: 100%;
	height: 1.5px;
	margin-top: -0.75px;
}

.hl-shop-archive--ltech .hl-sidebar-cat-toggle-icon::after {
	top: 0;
	left: 50%;
	width: 1.5px;
	height: 100%;
	margin-left: -0.75px;
}

.hl-shop-archive--ltech .hl-sidebar-cat-item.is-open > .hl-sidebar-cat-row .hl-sidebar-cat-toggle-icon::after {
	transform: scaleY(0);
	opacity: 0;
}

.hl-shop-archive--ltech .hl-sidebar-cat-item--has-children > .hl-sidebar-cat-children {
	margin: 0;
	padding: 0;
	border: none;
}

.hl-shop-archive--ltech .hl-sidebar-panel--filters .hl-product-filters {
	margin: 0;
	padding: 0 1.25rem 1.125rem;
	border: none;
	border-radius: 0;
	box-shadow: none;
	background: var(--hl-shop-surface);
}

.hl-shop-archive--ltech .hl-sidebar-panel--filters .hl-product-filters::before {
	display: none;
}

.hl-shop-archive--ltech .hl-filter-accordion {
	margin: 0;
	padding: 0;
	border-bottom: 1px solid var(--hl-shop-border);
}

.hl-shop-archive--ltech .hl-sidebar-panel--filters .hl-filter-accordion:first-of-type .hl-filter-heading {
	padding-top: 0.65rem;
}

.hl-shop-archive--ltech .hl-filter-accordion:last-of-type {
	border-bottom: none;
}

.hl-shop-archive--ltech .hl-filter-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	margin: 0;
	padding: 0.85rem 0;
	font-size: 0.9375rem;
	font-weight: 700;
	color: var(--hl-shop-heading);
	cursor: pointer;
	list-style: none;
}

.hl-shop-archive--ltech .hl-filter-heading::-webkit-details-marker {
	display: none;
}

.hl-shop-archive--ltech .hl-filter-heading::after {
	content: "";
	flex-shrink: 0;
	width: 0.45rem;
	height: 0.45rem;
	border-right: 2px solid #888;
	border-bottom: 2px solid #888;
	transform: rotate(45deg);
	transition: transform var(--hl-shop-transition);
	margin-top: -0.2rem;
}

.hl-shop-archive--ltech .hl-filter-accordion[open]>.hl-filter-heading::after {
	transform: rotate(-135deg);
	margin-top: 0.15rem;
	margin-right: 4px;
}

.hl-shop-archive--ltech .hl-filter-panel {
	padding-bottom: 0.35rem;
}

.hl-shop-archive--ltech .hl-filter-count {
	color: #999;
	font-size: 0.8125rem;
	font-variant-numeric: tabular-nums;
}

.hl-shop-archive--ltech .hl-sidebar-panel--filters .hl-filter-label {
	padding: 0.4rem 0;
	border-radius: 2px;
}

.hl-shop-archive--ltech .hl-sidebar-panel--filters .hl-filter-label:hover {
	background: var(--hl-shop-surface-elevated);
}

@media (max-width: 991px) {
	.hl-shop-archive--ltech .hl-sidebar-panels {
		gap: 1rem;
	}

	.hl-shop-archive--ltech .hl-sidebar-panel {
		border-left: none;
		border-right: none;
	}

	.hl-shop-archive--ltech .hl-sidebar-panel-title,
	.hl-shop-archive--ltech .hl-sidebar-categories-title,
	.hl-shop-archive--ltech .hl-sidebar-filters-title {
		padding-left: 1rem;
		padding-right: 1rem;
	}

	.hl-shop-archive--ltech .hl-sidebar-panel--categories .hl-sidebar-cat-tree {
		padding-left: 0;
		padding-right: 0;
	}

	.hl-shop-archive--ltech .hl-sidebar-panel--filters .hl-product-filters {
		padding-left: 1rem;
		padding-right: 1rem;
	}
}

.hl-shop-archive--ltech .hl-sidebar-panel--filters .hl-filter-actions {
	flex-direction: column;
	align-items: stretch;
	gap: 0.65rem;
	margin: 0.85rem 0 0;
	padding-top: 0.85rem;
	border-top: 1px solid #ddd;
}

.hl-shop-archive--ltech .hl-sidebar-panel--filters button.hl-filter-submit {
	width: 100%;
	background: var(--hl-shop-heading);
	box-shadow: none;
	text-transform: none;
	letter-spacing: 0;
	font-size: 0.8125rem;
	padding: 0.65rem 1rem;
}

.hl-shop-archive--ltech .hl-sidebar-panel--filters a.hl-filter-reset {
	justify-content: center;
	width: 100%;
	padding: 0.5rem;
	background: transparent;
	color: #666;
	font-weight: 600;
	font-size: 16px;
}

.hl-shop-archive--ltech .hl-filter-reset-icon {
	display: inline-block;
	width: 1rem;
	height: 1rem;
	border: 2px solid currentColor;
	border-radius: 50%;
	position: relative;
	margin-right: 5px;
}

.hl-shop-archive--ltech .hl-filter-reset-icon::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0.35rem;
	height: 0.35rem;
	border-top: 2px solid currentColor;
	border-left: 2px solid currentColor;
	transform: translate(-35%, -50%) rotate(-45deg);
}

.hl-shop-archive--ltech .hl-archive-header {
	margin-bottom: 1rem;
	padding-bottom: 0;
	border-bottom: none;
	border-bottom: 1px solid var(--hl-shop-border);
}

.hl-shop-archive--ltech .hl-archive-header-top {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	margin-bottom: 1rem;
}

.hl-shop-archive--ltech .hl-archive-title {
	margin: 0;
	font-size: clamp(1.25rem, 2.2vw, 1.625rem);
	font-weight: 700;
	color: var(--hl-shop-heading);
	line-height: 1.2;
}

.hl-shop-archive--ltech .hl-archive-count {
	margin: 0;
	font-size: 0.8125rem;
	color: #888;
	font-weight: 500;
	white-space: nowrap;
}

.hl-shop-archive--ltech .hl-shop-features {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.75rem 1rem;
	margin: 0 0 1.25rem;
	padding: 0.85rem 0 1.1rem;
	list-style: none;
	border-top: 1px solid var(--hl-shop-border);
	border-bottom: 1px solid var(--hl-shop-border);
}

.hl-shop-archive--ltech .hl-shop-feature {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	flex: 1 1 7rem;
	min-width: 5.5rem;
	max-width: 9rem;
	gap: 0.45rem;
}

.hl-shop-archive--ltech .hl-shop-feature-icon {
	display: block;
	width: 2rem;
	height: 2rem;
	background: #e8eaed;
	border-radius: 50%;
	position: relative;
}

.hl-shop-archive--ltech .hl-shop-feature-icon--compat::after,
.hl-shop-archive--ltech .hl-shop-feature-icon--dim::after,
.hl-shop-archive--ltech .hl-shop-feature-icon--flicker::after,
.hl-shop-archive--ltech .hl-shop-feature-icon--control::after,
.hl-shop-archive--ltech .hl-shop-feature-icon--warranty::after {
	content: "";
	position: absolute;
	inset: 0.45rem;
	border: 2px solid #999;
	border-radius: 2px;
}

.hl-shop-archive--ltech .hl-shop-feature-label {
	font-size: 0.6875rem;
	line-height: 1.35;
	color: #666;
	font-weight: 500;
}

.hl-shop-archive--ltech .hl-shop-loop-head {
	padding: 0.65rem 0;
	margin-bottom: 1rem;
	background: transparent;
	border: none;
	border-radius: 0;
}

.hl-shop-archive--ltech .hl-shop-loop-head .woocommerce-ordering {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-left: auto;
}

.hl-shop-archive--ltech .hl-shop-loop-head .woocommerce-ordering::before {
/* 	content: "Sắp xếp:"; */
	font-size: 0.8125rem;
	color: #666;
	font-weight: 500;
}

.hl-shop-archive--ltech .hl-shop-loop-head .woocommerce-ordering select {
	min-width: 160px;
	border: 1px solid var(--hl-shop-border);
	border-radius: 4px;
	padding: 0.4rem 0.5rem;
	font-size: 0.8125rem;
}

.hl-shop-archive--ltech .hl-shop-loop-head .woocommerce-result-count {
	display: none;
}

.hl-shop-archive--ltech .hl-cat-desc .term-description {
	font-size: 0.875rem;
	color: #666;
	max-width: none;
}

/* LTECH product cards — cùng hàng cao bằng nhau */
.hl-shop-archive--ltech .hl-products-loop>.list-products.products,
.hl-shop-archive--ltech .hl-cat-group-panel .hl-products-loop>.list-products.products {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch !important;
}

.hl-shop-archive--ltech .hl-product-card-wrap {
	display: flex;
	flex-direction: column;
	margin-bottom: 1.25rem;
}

.hl-shop-archive--ltech .hl-ltech-product-card {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	width: 100%;
	min-height: 100%;
	border: 1px solid #eee;
	border-radius: 0;
	background: #fff;
	height: 100%;
	transition: border-color var(--hl-shop-transition), box-shadow var(--hl-shop-transition);
}

.hl-shop-archive--ltech .hl-ltech-product-card:hover {
	border-color: #ddd;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.hl-shop-archive--ltech .hl-ltech-card-link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.hl-shop-archive--ltech .hl-ltech-card-image {
	position: relative;
	aspect-ratio: 4 / 3;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.25rem 1rem 0.75rem;
	background: #fff;
}

.hl-shop-archive--ltech .hl-product-brand-logo {
	position: absolute;
	top: 0.5rem;
	right: 0.5rem;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	max-width: 28%;
	pointer-events: none;
}

.hl-shop-archive--ltech .hl-product-brand-logo img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.hl-shop-archive--ltech .hl-ltech-card-img {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 140px;
	object-fit: contain;
	transition: transform 0.3s ease;
}

.hl-shop-archive--ltech .hl-ltech-product-card:hover .hl-ltech-card-img {
	transform: scale(1.03);
}

.hl-shop-archive--ltech .hl-ltech-card-body {
	padding: 0.75rem 1rem 1rem;
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	gap: 0.35rem;
	text-align: left;
}

.hl-shop-archive--ltech .hl-ltech-card-model {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
	color: var(--hl-shop-heading);
	line-height: 1.25;
	text-align: center;
}

.hl-shop-archive--ltech .hl-ltech-card-subtitle {
	margin: 0;
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--hl-shop-heading);
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.hl-shop-archive--ltech .hl-ltech-card-io {
	margin: 0.35rem 0 0;
}

.hl-shop-archive--ltech .hl-ltech-io-line {
	margin: 0 0 0.2rem;
	font-size: 0.75rem;
	line-height: 1.45;
	color: #888;
}

.hl-shop-archive--ltech .hl-ltech-io-line:last-child {
	margin-bottom: 0;
}

.hl-ltech-io-line.output{
	text-align: center;
	font-weight: 700;
    color: #041096;
    font-size: 16px;
}

.hl-ltech-io-line.output-current{
	text-align: center;
	font-weight: 700;
    color: #f00;
    font-size: 16px;
}

.hl-ltech-io-line.input{
	text-align: center;
    font-weight: 500;
    color: #000000;
    font-size: 16px;
}

.hl-shop-archive--ltech .hl-ltech-io-label {
	color: #666;
	font-weight: 600;
}

.hl-shop-archive--ltech .hl-ltech-card-actions {
	margin: 0;
	margin-top: auto;
	padding: 0 1rem 1rem;
	flex-shrink: 0;
}

.hl-shop-archive--ltech .hl-ltech-card-actions .file-pdf {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--hl-shop-accent);
	text-decoration: none;
	transition: color var(--hl-shop-transition);
}

.hl-shop-archive--ltech .hl-ltech-card-actions .file-pdf:hover {
	color: var(--hl-shop-heading);
}

.hl-shop-archive--ltech .hl-ltech-card-actions .file-pdf i {
	font-size: 1rem;
}

.hl-shop-archive--ltech .hl-filter-actions a.hl-filter-reset {
	display: none;
}

.hl-shop-archive--ltech .hl-product-filters.is-filtered .hl-filter-actions a.hl-filter-reset {
	display: inline-flex;
	align-items: center;
}

.hl-shop-archive--ltech .hl-shop-pagination-wrap {
	flex: 0 0 100%;
	max-width: 100%;
	width: 100%;
	margin-top: 0.5rem;
}

.hl-shop-archive--ltech .hl-shop-pagination {
	margin-top: 2rem;
	padding-top: 0.5rem;
}

.hl-shop-archive--ltech .hl-shop-pagination .page-item.active .page-link {
	background: var(--hl-shop-accent);
	border-color: var(--hl-shop-accent);
	color: #000;
}

.hl-shop-archive--ltech .hl-shop-pagination .page-item .page-link {
	border-radius: 4px !important;
	min-width: 2.25rem;
	text-align: center;
}

/* Trust bar */
.hl-shop-archive--ltech .hl-shop-trust {
	background: #f5f5f5;
	border-top: 1px solid var(--hl-shop-border);
	padding: 2rem 0;
	margin-top: 1rem;
}

.hl-shop-archive--ltech .hl-shop-trust-list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem 1rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

@media (min-width: 768px) {
	.hl-shop-archive--ltech .hl-shop-trust-list {
		grid-template-columns: repeat(4, 1fr);
	}
}

.hl-shop-archive--ltech .hl-shop-trust-item {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
}

.hl-shop-archive--ltech .hl-shop-trust-icon {
	flex-shrink: 0;
	width: 2.5rem;
	height: 2.5rem;
	border: 2px solid #ccc;
	border-radius: 50%;
	position: relative;
}

.hl-shop-archive--ltech .hl-shop-trust-title {
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--hl-shop-heading);
	line-height: 1.3;
	margin-bottom: 0.2rem;
}

.hl-shop-archive--ltech .hl-shop-trust-desc {
	display: block;
	font-size: 0.75rem;
	color: #888;
	line-height: 1.4;
}

@media (max-width: 767px) {
	.hl-shop-archive--ltech .hl-shop-features {
		justify-content: flex-start;
	}

	.hl-shop-archive--ltech .hl-shop-feature {
		flex: 0 0 calc(33.333% - 0.5rem);
		max-width: none;
	}
}

@media (max-width: 579px) {
	.hl-archive-header {
		padding: 0 10px;
	}

	#breadcum.hl-shop-breadcum {
		margin: 0 -5px;
	}
}

@media (max-width: 992px) {
	.hl-shop-archive--ltech .hl-archive-header {
		border-bottom: none;
	}
	.hl-shop-archive--ltech .hl-shop-loop-head .woocommerce-ordering{
		margin-right: 8px;
	}
}

/* PDP — Sản phẩm liên quan: thẻ LTECH giống trang danh sách */
.related-products.hl-shop-archive--ltech.hl-category-products .hl-related-slide {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.related-products.hl-shop-archive--ltech .hl-product-card-wrap {
	width: 100%;
	margin-bottom: 0;
	height: 100%;
}

.related-products.hl-shop-archive--ltech .hl-ltech-product-card {
	height: 100%;
}

/* Ghi đè style thẻ catalog cũ (.hl-category-products) */
.related-products.hl-shop-archive--ltech.hl-category-products .item_product_main.hl-ltech-product-card {
	border: 1px solid #eee;
	border-radius: 0;
	overflow: visible;
	transform: none;
	box-shadow: none;
}

.related-products.hl-shop-archive--ltech.hl-category-products .item_product_main.hl-ltech-product-card:hover {
	transform: none;
	border-color: #ddd;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.related-products.hl-shop-archive--ltech.hl-category-products .hl-ltech-product-card .product-thumbnail.hl-ltech-card-image {
	aspect-ratio: 4 / 3;
	border-radius: 0;
	overflow: visible;
	background: #fff;
}

.related-products.hl-shop-archive--ltech.hl-category-products .hl-ltech-product-card .hl-ltech-card-img {
	max-height: 140px;
	object-fit: contain;
}

.related-products.hl-shop-archive--ltech.hl-category-products .hl-ltech-product-card:hover .hl-ltech-card-img {
	transform: scale(1.03);
}

.related-products.hl-shop-archive--ltech.hl-category-products .hl-ltech-card-body.product-info {
	padding: 0.75rem 1rem 1rem;
	text-align: left;
}

.related-products.hl-shop-archive--ltech.hl-category-products .hl-ltech-card-model {
	font-size: 1rem;
	font-weight: 700;
	text-transform: none;
	letter-spacing: normal;
	min-height: 0;
	-webkit-line-clamp: unset;
	display: block;
}

.related-products.hl-shop-archive--ltech.hl-category-products .hl-ltech-card-actions {
	padding: 0 1rem 1rem;
}

.woocommerce-billing-fields__field-wrapper .form-row{
	display: block !important;
}

.select2-selection.select2-selection--single{
	height: auto !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow{
	height: 50px !important;
}

.woocommerce-additional-fields__field-wrapper .form-row{
	display: block !important;
}