.hanoi26-page-title {
	font-family: Montserrat, ui-sans-serif, system-ui, sans-serif !important;
	font-weight: 900 !important;
	letter-spacing: -0.05em !important;
	line-height: 0.85 !important;
}

:root {
	--hanoi26-primary: #e53e3e;
	--hanoi26-dark: #111827;
	--hanoi26-light: #f3f4f6;
	--hanoi26-header-bg: linear-gradient(135deg, #0a0a0a 0%, #111827 38%, #1a1214 72%, #2b1218 100%);
	--hanoi26-header-bg-mobile: linear-gradient(180deg, #111827 0%, #1a1214 100%);
	--hanoi26-header-border: rgba(229, 62, 62, 0.28);
	--hanoi26-header-accent: linear-gradient(90deg, transparent 0%, rgba(229, 62, 62, 0.55) 20%, rgba(249, 115, 22, 0.65) 50%, rgba(229, 62, 62, 0.55) 80%, transparent 100%);
	--hanoi26-topbar-bg: linear-gradient(90deg, #7f1d1d 0%, #dc2626 28%, #ea580c 50%, #dc2626 72%, #7f1d1d 100%);
	--hanoi26-header-text: rgba(255, 255, 255, 0.82);
	--hanoi26-header-text-hover: #ffffff;
	--hanoi26-header-input-bg: rgba(255, 255, 255, 0.1);
	--hanoi26-header-cart: #fbbf24;
	--hanoi26-header-cart-hover: #fcd34d;
}

.hanoi26-my-account-page {
	--hanoi26-dark: #0a0a0a;
}

body.hanoi26-magazine-page {
	--hanoi26-dark: #0a0a0a;
	--hanoi26-light: #f8f9fa;
}

html {
	scroll-behavior: smooth;
	-webkit-user-select: text;
	user-select: text;
}

html body {
	-webkit-user-select: text;
	user-select: text;
}

::selection {
	background-color: rgba(229, 62, 62, 0.22);
	color: inherit;
}

::-moz-selection {
	background-color: rgba(229, 62, 62, 0.22);
	color: inherit;
}

/* Nội dung đọc được — cho phép bôi chọn */
article,
.entry-content,
.tab-content,
.woocommerce-TermsAndConditions,
.hanoi26-mt-modal__panel,
.hanoi26-single-product-page .hanoi26-product-accordion__content,
body.hanoi26-magazine-page .hanoi26-blog-card,
body.hanoi26-magazine-page .hanoi26-blog-featured {
	-webkit-user-select: text;
	user-select: text;
}

/* Chỉ chặn bôi chọn khi đang kéo slider/carousel */
.is-dragging {
	-webkit-user-select: none;
	user-select: none;
}

/* Màu thương hiệu — không phụ thuộc Tailwind CDN */
.bg-primary {
	background-color: var(--hanoi26-primary) !important;
}

.text-primary {
	color: var(--hanoi26-primary) !important;
}

.bg-dark,
.hanoi26-section-deals {
	background-color: var(--hanoi26-dark) !important;
	color: #fff;
}

.hanoi26-topbar {
	background: var(--hanoi26-topbar-bg) !important;
	color: #fff !important;
	border-bottom: 1px solid rgba(0, 0, 0, 0.2);
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08);
	overflow: hidden;
	line-height: 1.35;
}

.hanoi26-topbar.bg-primary {
	background: var(--hanoi26-topbar-bg) !important;
	color: #fff !important;
}

/* Global WooCommerce notices - all pages */
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error,
.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-info,
.woocommerce-notices-wrapper .woocommerce-error,
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	margin: 0 0 1rem;
	padding: 0.9rem 1rem;
	border-radius: 0.8rem;
	border: 1px solid transparent;
	box-shadow: 0 6px 20px rgb(17 24 39 / 8%);
	font-weight: 600;
	list-style: none;
}

.woocommerce .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-message {
	background: #ecfdf3;
	border-color: #86efac;
	color: #166534;
}

.woocommerce .woocommerce-info,
.woocommerce-notices-wrapper .woocommerce-info,
.woocommerce-info {
	background: #eff6ff;
	border-color: #93c5fd;
	color: #1d4ed8;
}

.woocommerce .woocommerce-error,
.woocommerce-notices-wrapper .woocommerce-error,
.woocommerce-error {
	background: #fef2f2;
	border-color: #fca5a5;
	color: #b91c1c;
}

.woocommerce .woocommerce-message a,
.woocommerce .woocommerce-info a,
.woocommerce .woocommerce-error a,
.woocommerce-notices-wrapper .woocommerce-message a,
.woocommerce-notices-wrapper .woocommerce-info a,
.woocommerce-notices-wrapper .woocommerce-error a,
.woocommerce-message a,
.woocommerce-info a,
.woocommerce-error a {
	color: inherit;
	text-decoration: underline;
}

.woocommerce-error li,
.woocommerce-info li,
.woocommerce-message li {
	list-style: none;
}

/* Site header — nền sang, đồng bộ brand đỏ/cam ON TREND */
.hanoi26-header-shell {
	position: sticky;
	top: 0;
	z-index: var(--hanoi26-z-header, 50);
}

.hanoi26-site-header {
	position: relative;
	background: var(--hanoi26-header-bg);
	border-bottom: 1px solid var(--hanoi26-header-border);
	box-shadow:
		0 8px 28px rgba(0, 0, 0, 0.28),
		inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hanoi26-site-header__layout {
	min-width: 0;
}

.hanoi26-site-header__row--main {
	box-sizing: border-box;
	min-height: 4.5rem;
	padding-block: 0.625rem;
}

.hanoi26-site-header .hanoi26-site-logo,
.hanoi26-site-header .custom-logo-link {
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	flex-shrink: 0;
	padding-block: 0.125rem;
}

.hanoi26-site-header .hanoi26-primary-menu > li,
.hanoi26-site-header nav > a {
	display: flex;
	align-items: center;
	align-self: stretch;
}

.hanoi26-site-header .hanoi26-primary-menu a,
.hanoi26-site-header nav > a {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	padding-block: 0.625rem;
}

@media (min-width: 1024px) {
	.hanoi26-site-header__row--main {
		min-height: 5.25rem;
		padding-block: 0.875rem;
	}

	.hanoi26-site-header .hanoi26-site-header__search-input {
		min-height: 2.875rem;
		padding-block: 0.75rem;
	}

	.hanoi26-site-header .hanoi26-site-header__icon-btn {
		min-width: 3rem;
		min-height: 3rem;
	}
}

.hanoi26-site-header::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background: var(--hanoi26-header-accent);
	pointer-events: none;
}

.hanoi26-site-header .hanoi26-primary-menu a.hanoi26-nav-link,
.hanoi26-site-header nav a.hanoi26-nav-link,
.hanoi26-site-header nav a.text-gray-600 {
	color: var(--hanoi26-header-text) !important;
}

.hanoi26-site-header .hanoi26-primary-menu a.hanoi26-nav-link:hover,
.hanoi26-site-header .hanoi26-primary-menu a.hanoi26-nav-link:focus-visible,
.hanoi26-site-header nav a.hanoi26-nav-link:hover,
.hanoi26-site-header nav a.hanoi26-nav-link:focus-visible,
.hanoi26-site-header nav a.text-gray-600:hover,
.hanoi26-site-header nav a.text-gray-600:focus-visible {
	color: var(--hanoi26-header-text-hover) !important;
}

.hanoi26-site-header .hanoi26-primary-menu a.text-primary,
.hanoi26-site-header nav a.text-primary {
	color: var(--hanoi26-primary) !important;
}

.hanoi26-site-header .hanoi26-site-header__search-input {
	background: var(--hanoi26-header-input-bg);
	color: #fff;
	width: 100%;
}

.hanoi26-site-header .hanoi26-site-header__search,
.hanoi26-site-header__search {
	position: relative;
	display: block;
	width: 100%;
}

.hanoi26-site-header .hanoi26-site-header__search-icon,
.hanoi26-site-header__search-icon {
	position: absolute;
	right: 0.875rem;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
	color: rgba(255, 255, 255, 0.55);
	font-size: 0.875rem;
	line-height: 1;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.25rem;
	height: 1.25rem;
}

.hanoi26-site-header .hanoi26-site-header__search-input,
.hanoi26-site-header__search-input {
	padding-right: 2.5rem !important;
	box-sizing: border-box;
}

.hanoi26-site-header .hanoi26-site-header__search-input::placeholder {
	color: rgba(255, 255, 255, 0.45);
}

.hanoi26-site-header .hanoi26-site-header__search-input:focus {
	background: rgba(255, 255, 255, 0.14);
}

.hanoi26-header-search-suggest {
	position: absolute;
	top: calc(100% + 0.5rem);
	left: 0;
	right: 0;
	z-index: 80;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 0.875rem;
	box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
	overflow: hidden;
	max-height: min(24rem, 70vh);
	overflow-y: auto;
}

/* Desktop: dropdown rộng hơn ô tìm kiếm để đọc tên SP dễ hơn */
.hanoi26-site-header__search .hanoi26-header-search-suggest {
	left: auto;
	right: 0;
	width: min(26rem, calc(100vw - 2rem));
	min-width: 20rem;
}

.hanoi26-header-search-suggest.hidden {
	display: none;
}

.hanoi26-header-search-suggest__status {
	padding: 0.875rem 1rem;
	font-size: 0.8125rem;
	color: #6b7280;
}

.hanoi26-header-search-suggest__list {
	list-style: none;
	margin: 0;
	padding: 0.375rem 0;
}

.hanoi26-header-search-suggest__item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.625rem 0.875rem;
	text-decoration: none;
	color: inherit;
	transition: background-color 0.15s ease;
}

.hanoi26-header-search-suggest__item:hover,
.hanoi26-header-search-suggest__item:focus-visible {
	background: #f9fafb;
}

.hanoi26-header-search-suggest__thumb {
	width: 3rem;
	height: 3rem;
	border-radius: 0.5rem;
	overflow: hidden;
	background: #f3f4f6;
	flex-shrink: 0;
	border: 1px solid #f3f4f6;
}

.hanoi26-header-search-suggest__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hanoi26-header-search-suggest__body {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.125rem;
}

.hanoi26-header-search-suggest__title {
	font-size: 0.8125rem;
	line-height: 1.35;
	font-weight: 600;
	color: #111827;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.hanoi26-header-search-suggest__price {
	font-size: 0.8125rem;
	font-weight: 700;
	color: #ef4444;
	line-height: 1.2;
}

.hanoi26-header-search-suggest--portal {
	position: fixed;
	left: 0 !important;
	right: 0 !important;
	width: 100vw !important;
	max-width: 100vw !important;
	min-width: 0 !important;
	margin: 0;
	border-radius: 0;
	border-left: 0;
	border-right: 0;
	z-index: 120;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.hanoi26-header-search-suggest--portal .hanoi26-header-search-suggest__item {
	padding: 0.75rem 1rem;
}

.hanoi26-header-search-suggest--portal .hanoi26-header-search-suggest__status {
	padding: 1rem;
}

.hanoi26-site-header .hanoi26-site-header__icon-btn,
.hanoi26-site-header .text-gray-700 {
	color: var(--hanoi26-header-text);
	transition: color 0.2s ease, transform 0.2s ease;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.75rem;
	min-height: 2.75rem;
	flex-shrink: 0;
}

.hanoi26-site-header .hanoi26-site-header__icon-btn:hover,
.hanoi26-site-header .hanoi26-site-header__icon-btn:focus-visible,
.hanoi26-site-header .text-gray-700:hover {
	color: var(--hanoi26-header-text-hover);
}

.hanoi26-site-header .hanoi26-site-header__icon-btn.is-active,
.hanoi26-site-header .text-gray-700.text-primary {
	color: var(--hanoi26-primary) !important;
}

.hanoi26-site-header .hanoi26-open-mini-cart,
.hanoi26-site-header .hanoi26-open-mini-cart.is-active {
	color: var(--hanoi26-header-cart) !important;
}

.hanoi26-site-header .hanoi26-open-mini-cart:hover,
.hanoi26-site-header .hanoi26-open-mini-cart:focus-visible {
	color: var(--hanoi26-header-cart-hover) !important;
}

.hanoi26-site-header .hanoi26-cart-count .absolute,
.hanoi26-site-header .bg-dark.text-white {
	background: var(--hanoi26-primary) !important;
	color: #fff !important;
}

.hanoi26-site-header .hanoi26-open-mini-cart .hanoi26-cart-count .absolute {
	background: var(--hanoi26-primary) !important;
	color: #fff !important;
}

/* —— Off-canvas mobile drawer —— */
.hanoi26-mobile-drawer {
	position: fixed;
	inset: 0;
	z-index: 80;
	pointer-events: none;
	visibility: hidden;
}

.hanoi26-mobile-drawer__backdrop {
	position: absolute;
	inset: 0;
	margin: 0;
	padding: 0;
	border: 0;
	background: rgba(0, 0, 0, 0.55);
	opacity: 0;
	cursor: pointer;
	transition: opacity 0.28s ease;
}

.hanoi26-mobile-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(86vw, 20.5rem);
	max-width: 100%;
	display: flex;
	flex-direction: column;
	background: #111827;
	color: #fff;
	box-shadow: -12px 0 40px rgba(0, 0, 0, 0.35);
	transform: translate3d(100%, 0, 0);
	transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
	padding-top: env(safe-area-inset-top, 0);
	padding-bottom: env(safe-area-inset-bottom, 0);
}

.hanoi26-mobile-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 1rem 1.1rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	flex-shrink: 0;
}

.hanoi26-mobile-drawer__brand {
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #fbbf24;
}

.hanoi26-mobile-drawer__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border: 0;
	border-radius: 9999px;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	cursor: pointer;
	font-size: 1.15rem;
	transition: background 0.2s ease;
}

.hanoi26-mobile-drawer__close:hover,
.hanoi26-mobile-drawer__close:focus-visible {
	background: rgba(255, 255, 255, 0.16);
	outline: none;
}

.hanoi26-mobile-drawer__body {
	flex: 1 1 auto;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	padding: 1rem 1.1rem 1.5rem;
}

.hanoi26-mobile-drawer .hanoi26-site-header__mobile-nav-search {
	position: relative;
	display: block;
	width: 100%;
	margin-bottom: 1rem;
}

.hanoi26-mobile-drawer .hanoi26-site-header__search-input {
	display: block;
	width: 100%;
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	padding-right: 2.5rem !important;
	box-sizing: border-box;
}

.hanoi26-mobile-drawer .hanoi26-site-header__search-input::placeholder {
	color: rgba(255, 255, 255, 0.45);
}

.hanoi26-mobile-drawer .hanoi26-site-header__search-icon {
	position: absolute;
	right: 0.875rem;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
	color: rgba(255, 255, 255, 0.65);
	font-size: 0.875rem;
	line-height: 1;
	z-index: 2;
}

.hanoi26-mobile-drawer .hanoi26-mobile-nav-account {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0.85rem 0.75rem;
	margin-bottom: 0.5rem;
	border-radius: 0.75rem;
	background: rgba(255, 255, 255, 0.06);
	color: rgba(255, 255, 255, 0.92) !important;
	font-size: 0.875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	text-decoration: none;
	min-height: 2.75rem;
}

.hanoi26-mobile-drawer .hanoi26-mobile-nav-account:hover {
	background: rgba(229, 62, 62, 0.18);
	color: #fff !important;
}

.hanoi26-mobile-drawer .hanoi26-site-header__mobile-menu,
.hanoi26-mobile-drawer .hanoi26-site-header__mobile-menu .menu {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	margin: 0;
	padding: 0.5rem 0 0;
	list-style: none;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hanoi26-mobile-drawer .hanoi26-site-header__mobile-menu li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.hanoi26-mobile-drawer .hanoi26-site-header__mobile-menu a,
.hanoi26-mobile-drawer .hanoi26-site-header__mobile-menu .menu a {
	display: flex;
	align-items: center;
	padding: 0.9rem 0.75rem;
	min-height: 2.75rem;
	border-radius: 0.65rem;
	color: rgba(255, 255, 255, 0.9) !important;
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-decoration: none;
	transition: background 0.18s ease, color 0.18s ease;
}

.hanoi26-mobile-drawer .hanoi26-site-header__mobile-menu a:hover,
.hanoi26-mobile-drawer .hanoi26-site-header__mobile-menu a:focus-visible,
.hanoi26-mobile-drawer .hanoi26-site-header__mobile-menu a.text-primary {
	background: rgba(229, 62, 62, 0.16);
	color: #fff !important;
}

body.hanoi26-mobile-nav-open {
	overflow: hidden;
}

body.hanoi26-mobile-nav-open .hanoi26-mobile-drawer {
	pointer-events: auto;
	visibility: visible;
}

body.hanoi26-mobile-nav-open .hanoi26-mobile-drawer__backdrop {
	opacity: 1;
}

body.hanoi26-mobile-nav-open .hanoi26-mobile-drawer__panel {
	transform: translate3d(0, 0, 0);
}

@media (min-width: 1024px) {
	.hanoi26-mobile-drawer {
		display: none !important;
	}

	.hanoi26-site-header .hanoi26-mobile-toggle {
		display: none !important;
	}
}

.hanoi26-topbar-marquee {
	position: relative;
	width: 100%;
	overflow: hidden;
	white-space: nowrap;
}

.hanoi26-topbar-marquee__track {
	display: inline-flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 3rem;
	width: max-content;
	will-change: transform;
	backface-visibility: hidden;
}

.hanoi26-topbar-marquee__text {
	display: inline-block;
	flex-shrink: 0;
	white-space: nowrap;
	letter-spacing: 0.02em;
}

.hanoi26-topbar-marquee--static .hanoi26-topbar-marquee__track {
	transform: none !important;
}

@media (max-width: 639px) {
	.hanoi26-topbar-marquee__track {
		gap: 2rem;
	}

	.hanoi26-topbar-marquee__text {
		font-size: 11px;
	}
}

.hanoi26-section-deals {
	overflow: visible;
}

/* ON TREND — lưới sản phẩm: 2 → 3 → 4 → 5 cột theo breakpoint */
.hanoi26-section-deals .hanoi26-home-products,
.hanoi26-section-deals .hanoi26-shop-grid.hanoi26-product-grid,
.hanoi26-section-deals .hanoi26-product-grid {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 1rem !important;
	align-items: stretch;
	width: 100%;
	min-width: 0;
}

.hanoi26-section-deals .hanoi26-home-products > .product-card,
.hanoi26-section-deals .hanoi26-shop-grid > .product-card,
.hanoi26-section-deals .hanoi26-product-grid > .product-card {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	height: 100%;
}

@media (min-width: 768px) {
	.hanoi26-section-deals .hanoi26-home-products,
	.hanoi26-section-deals .hanoi26-shop-grid.hanoi26-product-grid,
	.hanoi26-section-deals .hanoi26-product-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
		gap: 1.25rem !important;
	}
}

@media (min-width: 1024px) {
	.hanoi26-section-deals .hanoi26-home-products,
	.hanoi26-section-deals .hanoi26-shop-grid.hanoi26-product-grid,
	.hanoi26-section-deals .hanoi26-product-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
		gap: 1.5rem !important;
	}
}

@media (min-width: 1536px) {
	.hanoi26-section-deals .hanoi26-home-products,
	.hanoi26-section-deals .hanoi26-shop-grid.hanoi26-product-grid,
	.hanoi26-section-deals .hanoi26-product-grid {
		grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
		gap: 1.5rem !important;
	}
}

/* ON TREND — nền thẻ = gradient tag Sale sốc (red-600 → orange-500) */
.hanoi26-section-deals .product-card.product-card--on-trend {
	background: linear-gradient(135deg, #dc2626 0%, #ea580c 45%, #f97316 100%);
	border-color: rgba(255, 255, 255, 0.35);
	color: #fff;
	box-shadow: 0 10px 28px rgba(220, 38, 38, 0.45);
}

.hanoi26-section-deals .product-card--on-trend:hover,
.hanoi26-section-deals .product-card--on-trend:focus-within {
	position: relative;
	z-index: 20;
	margin: -1px;
}

.hanoi26-section-deals .product-card--on-trend:hover {
	border-color: #fff !important;
	border-width: 2px;
	box-shadow:
		0 0 0 2px #fff,
		0 0 0 4px rgba(17, 24, 39, 0.45),
		0 14px 32px rgba(249, 115, 22, 0.55);
}

.hanoi26-section-deals .product-card--on-trend .product-card__image-wrap {
	background-color: #fff;
}

.hanoi26-section-deals .product-card--on-trend h3 a {
	color: #fff;
}

.hanoi26-section-deals .product-card--on-trend h3 a:hover {
	color: #111827;
}

.hanoi26-section-deals .product-card--on-trend .text-gray-500 {
	color: rgba(255, 255, 255, 0.9);
}

.hanoi26-section-deals .product-card--on-trend .text-blue-400 {
	color: rgba(255, 255, 255, 0.85) !important;
}

.hanoi26-section-deals .product-card--on-trend .text-\[\#ef4444\] {
	color: #fff !important;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hanoi26-section-deals .product-card--on-trend .product-card__tag-flash {
	background: #111827 !important;
	color: #fef08a !important;
	border: 2px solid #fbbf24;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
}

.hanoi26-section-deals .product-card--on-trend .product-card__tag-flash .fa-bolt {
	color: #facc15;
}

/* FLASH SALE card trên trang danh sách (cùng style ON TREND card) */
.product-card.product-card--flash-sale {
	background: linear-gradient(135deg, #dc2626 0%, #ea580c 45%, #f97316 100%);
	border-color: rgba(255, 255, 255, 0.35);
	color: #fff;
	box-shadow: 0 10px 28px rgba(220, 38, 38, 0.35);
}

.product-card--flash-sale .product-card__image-wrap {
	background-color: #fff;
}

.product-card--flash-sale .text-gray-500 {
	color: rgba(255, 255, 255, 0.9) !important;
}

.product-card--flash-sale .text-blue-400 {
	color: rgba(255, 255, 255, 0.85) !important;
}

.product-card--flash-sale .text-\[\#ef4444\] {
	color: #fff !important;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.product-card--flash-sale .product-card__tag-flash {
	background: #111827 !important;
	color: #fef08a !important;
	border: 2px solid #fbbf24;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
}

.product-card--flash-sale .product-card__tag-flash .fa-bolt {
	color: #facc15;
}

/* Countdown trong product-card Sale sốc mỗi ngày */
.product-card--flash-sale .product-card__flash-countdown,
.product-card--on-trend .product-card__flash-countdown {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	padding: 0.35rem 0.5rem;
	border-radius: 0.5rem;
	background: rgba(17, 24, 39, 0.88);
	border: 1px solid rgba(251, 191, 36, 0.35);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.product-card__flash-countdown__label {
	font-size: 9px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #e2e8f0;
	white-space: nowrap;
}

.product-card__flash-countdown__time {
	display: flex;
	align-items: center;
	gap: 0.15rem;
	font-family: Montserrat, Inter, sans-serif;
	font-weight: 800;
	font-size: 0.75rem;
	line-height: 1;
}

.product-card__flash-countdown__cell {
	min-width: 1.35rem;
	padding: 0.15rem 0.25rem;
	border-radius: 0.3rem;
	background: #020617;
	color: #f97316;
	text-align: center;
	border: 1px solid rgba(249, 115, 22, 0.35);
}

.product-card__flash-countdown__sep {
	color: #94a3b8;
	font-weight: 700;
}

@media (max-width: 767px) {
	.product-card--flash-sale .product-card__flash-countdown,
	.product-card--on-trend .product-card__flash-countdown {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
		width: 100%;
		max-width: 100%;
		min-width: 0;
		box-sizing: border-box;
		gap: 0.2rem;
		padding: 0.3rem 0.35rem;
		overflow: hidden;
	}

	.product-card__flash-countdown__label {
		min-width: 0;
		font-size: 7px;
		letter-spacing: 0;
		line-height: 1.1;
		white-space: normal;
	}

	.product-card__flash-countdown__time {
		flex: 0 0 auto;
		gap: 0.05rem;
		font-size: 0.625rem;
	}

	.product-card__flash-countdown__cell {
		min-width: 1.05rem;
		padding: 0.12rem 0.12rem;
		border-radius: 0.25rem;
	}

	.product-card__flash-countdown__sep {
		font-size: 0.55rem;
	}
}

.product-card--flash-sale:hover,
.product-card--flash-sale:focus-within {
	position: relative;
	z-index: 20;
	border-color: #fff !important;
	border-width: 2px;
	margin: -1px;
	box-shadow:
		0 0 0 2px #fff,
		0 0 0 4px rgba(17, 24, 39, 0.35),
		0 14px 32px rgba(249, 115, 22, 0.5);
}

/* ON TREND: hover — ẩn ảnh 1, hiện ảnh 2 (gallery) */
.hanoi26-section-deals .product-card--on-trend .product-card__media {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.hanoi26-section-deals .product-card--on-trend .product-card__img--primary,
.hanoi26-section-deals .product-card--on-trend .product-card__media > img {
	mix-blend-mode: normal;
	transition: opacity 0.45s ease;
	object-fit: cover;
	object-position: center center;
}

.hanoi26-section-deals .product-card--on-trend.product-card--has-hover-img .product-card__img-hover {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.45s ease;
}

.hanoi26-section-deals .product-card--on-trend.product-card--has-hover-img .product-card__img-hover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	mix-blend-mode: normal;
}

.hanoi26-section-deals .product-card--on-trend.product-card--has-hover-img.group:hover .product-card__img--primary,
.hanoi26-section-deals .product-card--on-trend.product-card--has-hover-img.group:hover .product-card__media > img,
.hanoi26-section-deals .product-card--on-trend.product-card--has-hover-img.group:hover .product-card__media > *:not(.product-card__img-hover) img {
	opacity: 0;
}

.hanoi26-section-deals .product-card--on-trend.product-card--has-hover-img.group:hover .product-card__img-hover {
	opacity: 1;
}

.hanoi26-section-deals .hanoi26-deals-cta {
	color: #fff !important;
	border-color: #6b7280 !important;
}

.hanoi26-section-deals .hanoi26-deals-cta:hover {
	background-color: #fff !important;
	color: var(--hanoi26-dark) !important;
}

/* Slider sản phẩm mới — trang chủ (scroll-snap ngang) */
.hanoi26-product-slider {
	padding: 0 2.75rem;
	position: relative;
}

.hanoi26-product-slider__viewport {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 1rem) / 2);
	gap: 1rem;
	width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.hanoi26-product-slider__viewport::-webkit-scrollbar {
	display: none;
}

.hanoi26-product-slider__item {
	scroll-snap-align: start;
	scroll-snap-stop: always;
	min-width: 0;
	box-sizing: border-box;
}

.hanoi26-product-slider__item .product-card {
	height: 100%;
}

@media (min-width: 768px) {
	.hanoi26-product-slider__viewport {
		grid-auto-columns: calc((100% - 4.5rem) / 4);
		gap: 1.5rem;
	}
}

.hanoi26-product-slider__btn {
	position: absolute;
	top: 42%;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 9999px;
	background: #fff;
	color: var(--hanoi26-dark);
	border: 1px solid #e5e7eb;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.hanoi26-product-slider__btn:hover:not(:disabled) {
	background: var(--hanoi26-primary);
	color: #fff;
	border-color: var(--hanoi26-primary);
}

.hanoi26-product-slider__btn--prev {
	left: 0;
}

.hanoi26-product-slider__btn--next {
	right: 0;
}

.hanoi26-product-slider__btn.is-disabled,
.hanoi26-product-slider__btn:disabled {
	opacity: 0.35;
	cursor: not-allowed;
	pointer-events: none;
}

@media (max-width: 767px) {
	.hanoi26-product-slider {
		padding: 0 2rem;
	}

	.hanoi26-product-slider__btn {
		width: 2rem;
		height: 2rem;
		font-size: 0.75rem;
	}
}

/* Tránh CSS mặc định WP làm vỡ grid/card Tailwind trên trang chủ */
#hero-slider img {
	max-width: none;
}

.product-card img {
	max-width: 100%;
	height: auto;
}

.no-scrollbar::-webkit-scrollbar {
	display: none;
}

.no-scrollbar {
	-ms-overflow-style: none;
	scrollbar-width: none;
}

.marquee {
	white-space: nowrap;
	overflow: hidden;
	box-sizing: border-box;
}

.marquee span {
	display: inline-block;
	padding-left: 100%;
	animation: hanoi26-marquee 25s linear infinite;
}

@keyframes hanoi26-marquee {
	0% {
		transform: translate(0, 0);
	}
	100% {
		transform: translate(-100%, 0);
	}
}

.product-card__image-wrap {
	flex-shrink: 0;
	position: relative;
	aspect-ratio: 1 / 1;
	background-color: #f8fafc;
	border: 1px solid #eef2f7;
	overflow: hidden;
}

.product-card__media {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	min-height: 0;
	background-color: inherit;
	text-decoration: none;
}

.product-card__image-wrap > .product-card__media {
	position: absolute;
	inset: 0;
}

.product-card__media .product-card__img--primary,
.product-card__media > img:not(.product-card__img-hover img) {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	object-fit: cover;
	object-position: center center;
	mix-blend-mode: normal;
	flex-shrink: 0;
	position: relative;
	z-index: 1;
	opacity: 1;
}

.product-card--has-hover-img:not(.product-card--on-trend) .product-card__img-hover {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.45s ease;
}

.product-card--has-hover-img:not(.product-card--on-trend) .product-card__img-hover img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	object-fit: cover;
	object-position: center center;
	mix-blend-mode: normal;
}

.product-card--has-hover-img:not(.product-card--on-trend):hover .product-card__img--primary {
	opacity: 0;
}

.product-card--has-hover-img:not(.product-card--on-trend):hover .product-card__img-hover {
	opacity: 1;
}

/* Lưới product-card — badge/hover/shadow không bị cắt ở cột cuối & biên */
.hanoi26-product-grid-wrap {
	overflow: visible;
	padding-inline: 0.25rem;
}

.hanoi26-product-grid,
.hanoi26-shop-grid {
	overflow: visible;
	padding: 0.75rem 0 1.5rem;
}

.hanoi26-product-grid > .product-card,
.hanoi26-shop-grid > .product-card {
	min-width: 0;
	overflow: visible;
	box-sizing: border-box;
}

.hanoi26-product-grid > .product-card:hover,
.hanoi26-product-grid > .product-card:focus-within,
.hanoi26-shop-grid > .product-card:hover,
.hanoi26-shop-grid > .product-card:focus-within {
	position: relative;
	z-index: 20;
}

/* Thẻ sản phẩm — viền hover (trắng + ON TREND + slider) */
.product-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: visible;
	box-sizing: border-box;
	border-width: 1px;
	border-style: solid;
	transition:
		border-color 0.25s ease,
		box-shadow 0.3s ease,
		margin 0.25s ease;
}

.product-card__stretch {
	display: block;
	cursor: pointer;
	pointer-events: auto;
}

.product-card__link {
	cursor: pointer;
	text-decoration: none;
	color: inherit;
}

.product-card__content {
	width: 100%;
}

.product-card__price-row {
	margin-top: 0;
}

.product-card__rating-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.25rem 0.5rem;
	margin-bottom: 0.25rem;
	line-height: 1;
}

.product-card__footer {
	display: flex;
	flex-direction: column;
	gap: 0.125rem;
}

.product-card .hanoi26-stars--readonly {
	gap: 0.1rem;
	color: #f59e0b;
}

.product-card .hanoi26-stars--readonly .fa-regular.fa-star {
	color: #d1d5db;
}

.product-card .hanoi26-stars--readonly .fa-solid.fa-star,
.product-card .hanoi26-stars--readonly .fa-solid.fa-star-half-stroke {
	color: #f59e0b;
}

.product-card .hanoi26-stars__count {
	margin-left: 0.125rem;
	font-size: inherit;
}

@media (max-width: 767px) {
	.product-card__stats-row {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 0.25rem;
		width: 100%;
		line-height: 1.25;
	}

	.product-card__rating,
	.product-card__sold {
		display: flex;
		flex-wrap: nowrap;
		align-items: center;
		width: 100%;
		min-width: 0;
	}

	.product-card__rating .hanoi26-stars {
		flex: 0 0 auto;
		white-space: nowrap;
	}

	.product-card__stats-separator {
		display: none;
	}
}

.product-card:not(.product-card--on-trend):not(.product-card--flash-sale):hover,
.product-card:not(.product-card--on-trend):not(.product-card--flash-sale):focus-within {
	border-color: var(--hanoi26-primary) !important;
	border-width: 2px;
	margin: -1px;
	box-shadow:
		0 0 0 1px var(--hanoi26-primary),
		0 10px 25px -5px rgba(229, 62, 62, 0.2),
		0 8px 10px -6px rgba(0, 0, 0, 0.08);
}

#hanoi26-new-products-slider .product-card:hover,
#hanoi26-new-products-slider .product-card:focus-within {
	border-color: var(--hanoi26-primary) !important;
	border-width: 2px;
	margin: -1px;
	box-shadow:
		0 0 0 1px var(--hanoi26-primary),
		0 10px 25px -5px rgba(229, 62, 62, 0.2),
		0 8px 10px -6px rgba(0, 0, 0, 0.08);
	z-index: 3;
}

#hanoi26-new-products-slider .hanoi26-carousel__slide.is-active:has(.product-card:hover),
#hanoi26-new-products-slider .hanoi26-carousel__slide.is-active:has(.product-card:focus-within) {
	position: relative;
	z-index: 3;
}

/* Cột cuối mỗi hàng — luôn nhận hover phía trên slide/hàng kế */
@media (min-width: 1024px) and (max-width: 1599px) {
	.hanoi26-product-grid > .product-card:nth-child(3n),
	.hanoi26-shop-grid > .product-card:nth-child(3n) {
		position: relative;
		z-index: 2;
	}

	.hanoi26-product-grid > .product-card:nth-child(3n):hover,
	.hanoi26-product-grid > .product-card:nth-child(3n):focus-within,
	.hanoi26-shop-grid > .product-card:nth-child(3n):hover,
	.hanoi26-shop-grid > .product-card:nth-child(3n):focus-within {
		z-index: 30;
	}
}

@media (max-width: 767px) {
	.hanoi26-product-grid > .product-card:nth-child(2n),
	.hanoi26-shop-grid > .product-card:nth-child(2n) {
		position: relative;
		z-index: 2;
	}

	.hanoi26-product-grid > .product-card:nth-child(2n):hover,
	.hanoi26-product-grid > .product-card:nth-child(2n):focus-within,
	.hanoi26-shop-grid > .product-card:nth-child(2n):hover,
	.hanoi26-shop-grid > .product-card:nth-child(2n):focus-within {
		z-index: 30;
	}
}

@media (min-width: 1024px) and (max-width: 1599px) {
	.hanoi26-shop-grid--cols-4 > .product-card:nth-child(3n) {
		position: relative;
		z-index: 2;
	}

	.hanoi26-shop-grid--cols-4 > .product-card:nth-child(3n):hover,
	.hanoi26-shop-grid--cols-4 > .product-card:nth-child(3n):focus-within {
		z-index: 30;
	}
}

@media (min-width: 1600px) {
	.hanoi26-product-grid > .product-card:nth-child(3n) {
		z-index: auto;
	}

	.hanoi26-shop-grid--cols-4 > .product-card:nth-child(3n) {
		z-index: auto;
	}

	.hanoi26-product-grid > .product-card:nth-child(4n),
	.hanoi26-shop-grid > .product-card:nth-child(4n) {
		position: relative;
		z-index: 2;
	}

	.hanoi26-product-grid > .product-card:nth-child(4n):hover,
	.hanoi26-product-grid > .product-card:nth-child(4n):focus-within,
	.hanoi26-shop-grid > .product-card:nth-child(4n):hover,
	.hanoi26-shop-grid > .product-card:nth-child(4n):focus-within {
		z-index: 30;
	}
}

/* Xem trước ảnh biến thể khi hover swatch */
.product-card__swatches {
	position: relative;
	z-index: 12;
	min-height: 1.75rem;
	width: 100%;
	max-width: 100%;
	gap: 0.375rem !important;
	align-items: center;
	flex-wrap: nowrap;
	overflow: hidden;
}

.product-card__swatch {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: #fff;
}

.product-card__swatch img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	background: #f3f4f6;
}

.product-card__swatch.is-active {
	border-color: #e53e3e !important;
	box-shadow: 0 0 0 1px #e53e3e;
}

.product-card__swatch-more {
	display: none;
	align-items: center;
	justify-content: center;
	flex: 0 0 1.75rem;
	width: 1.75rem;
	height: 1.75rem;
	border: 1px solid #d1d5db;
	border-radius: 9999px;
	background: #f3f4f6;
	color: #4b5563;
	font-size: 0.6875rem;
	font-weight: 800;
	line-height: 1;
	white-space: nowrap;
}

/* Card 2 cột trên mobile: 3 ảnh + một chỉ báo +N luôn nằm gọn trong item. */
.product-card__swatch:nth-of-type(n + 4) {
	display: none;
}

.product-card__swatch-more--compact {
	display: inline-flex;
}

@media (min-width: 640px) {
	.product-card__swatch:nth-of-type(4),
	.product-card__swatch:nth-of-type(5) {
		display: inline-flex;
	}

	.product-card__swatch:nth-of-type(n + 6),
	.product-card__swatch-more--compact {
		display: none;
	}

	.product-card__swatch-more--tablet {
		display: inline-flex;
		flex-basis: 2rem;
		width: 2rem;
		height: 2rem;
		font-size: 0.75rem;
	}
}

@media (min-width: 1024px) {
	.product-card__swatch:nth-of-type(n + 4) {
		display: inline-flex;
	}

	.product-card__swatch-more--tablet {
		display: none;
	}

	.product-card__swatch-more--desktop {
		display: inline-flex;
		flex-basis: 2rem;
		width: 2rem;
		height: 2rem;
		font-size: 0.75rem;
	}
}

.product-card.is-showing-variation .product-card__img--primary,
.product-card.is-showing-variation .product-card__media > img:not(.product-card__img-hover img) {
	opacity: 1 !important;
	transform: none !important;
}

.product-card.is-showing-variation .product-card__img-hover {
	opacity: 0 !important;
}

.hanoi26-section-deals .product-card--on-trend.is-showing-variation .product-card__img--primary,
.hanoi26-section-deals .product-card--on-trend.is-showing-variation .product-card__media > img {
	opacity: 1 !important;
}

.hanoi26-section-deals .product-card--on-trend.is-showing-variation .product-card__img-hover {
	opacity: 0 !important;
}

.voucher-ticket {
	background: #fff;
	position: relative;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.voucher-ticket.hanoi26-banner-voucher-chip {
	appearance: none;
	border: 0;
	cursor: pointer;
	text-align: left;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.voucher-ticket.hanoi26-banner-voucher-chip:hover {
	transform: translateY(-1px);
	box-shadow: 0 10px 20px -8px rgba(0, 0, 0, 0.22);
}

.voucher-ticket.hanoi26-banner-voucher-chip.is-copied,
.hanoi26-banner-voucher-claim.is-copied {
	filter: saturate(1.12);
}

.hanoi26-voucher-toast {
	position: fixed;
	right: 16px;
	bottom: 20px;
	z-index: 10090;
	max-width: min(92vw, 360px);
	padding: 10px 14px;
	border-radius: 10px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
	color: #fff;
	background: rgba(17, 24, 39, 0.96);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
	opacity: 0;
	transform: translateY(12px);
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.hanoi26-voucher-toast.is-show {
	opacity: 1;
	transform: translateY(0);
}

.hanoi26-voucher-toast--success {
	background: rgba(5, 150, 105, 0.96);
}

.hanoi26-voucher-toast--error {
	background: rgba(220, 38, 38, 0.96);
}

.voucher-ticket::before,
.voucher-ticket::after {
	content: '';
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 16px;
	height: 16px;
	background-color: transparent;
	border-radius: 50%;
	box-shadow: inset 0 0 0 100px currentColor;
}

.voucher-ticket.bg-red::before,
.voucher-ticket.bg-red::after {
	box-shadow: inset 0 0 0 100px #991b1b;
}

.voucher-ticket.bg-orange::before,
.voucher-ticket.bg-orange::after {
	box-shadow: inset 0 0 0 100px #ea580c;
}

.voucher-ticket.bg-blue::before,
.voucher-ticket.bg-blue::after {
	box-shadow: inset 0 0 0 100px #1e3a8a;
}

.voucher-ticket::before {
	left: -8px;
}

.voucher-ticket::after {
	right: -8px;
}

.hover-underline-animation {
	display: inline-block;
	position: relative;
}

.hover-underline-animation::after {
	content: '';
	position: absolute;
	width: 100%;
	transform: scaleX(0);
	height: 2px;
	bottom: 0;
	left: 0;
	background-color: #e53e3e;
	transform-origin: bottom right;
	transition: transform 0.3s ease-out;
}

.group:hover .hover-underline-animation::after {
	transform: scaleX(1);
	transform-origin: bottom left;
}

.hanoi26-page-content.prose h2 {
	font-family: Montserrat, sans-serif;
	font-weight: 800;
	margin-top: 2rem;
}

/* Mini cart drawer — dùng mọi trang (cart-checkout.css chỉ trang giỏ) */
.minicart-overlay {
	transition: opacity 0.3s ease-in-out;
}

.minicart-panel {
	transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

body.hanoi26-fast-cart .minicart-overlay {
	transition: opacity 0.2s ease-out;
}

body.hanoi26-fast-cart .minicart-panel {
	transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

body.hanoi26-fast-cart .updating,
body.hanoi26-fast-cart .blockUI,
body.hanoi26-fast-cart .blockOverlay {
	transition: none !important;
	animation: none !important;
	opacity: 1 !important;
}

body.hanoi26-fast-cart #hanoi26-mini-cart-inner,
body.hanoi26-fast-cart #hanoi26-mini-cart-footer,
body.hanoi26-fast-cart .hanoi26-cart-count {
	opacity: 1 !important;
}

.hanoi26-mini-cart-item__body {
	min-width: 0;
}

.hanoi26-mini-cart-item__title {
	word-break: break-word;
	overflow-wrap: anywhere;
}

.hanoi26-mini-cart-item__price {
	line-height: 1.25;
}

.hanoi26-mini-cart-item__price .woocommerce-Price-amount {
	white-space: nowrap;
}

.hanoi26-qty-input::-webkit-inner-spin-button,
.hanoi26-qty-input::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.hanoi26-qty-input {
	-moz-appearance: textfield;
}
