/* ===================================================================
   LG Center Theme - Main Stylesheet
   Version: 1.0.0
   =================================================================== */

/* ─── CSS Custom Properties ──────────────────────────────────────── */
:root {
	--lg-red: #A50034;
	--lg-red-dark: #8a0028;
	--lg-dark: #1a1a1a;
	--lg-gray-900: #212121;
	--lg-gray-700: #555;
	--lg-gray-500: #888;
	--lg-gray-300: #ccc;
	--lg-gray-100: #f5f5f5;
	--lg-white: #fff;
	--lg-border: #e0e0e0;
	--lg-text: #333;
	--lg-light-bg: #f8f8f8;
	--font-main: 'Plus Jakarta Sans', 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--font-heading: 'Plus Jakarta Sans', 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--radius: 8px;
	--radius-sm: 4px;
	--shadow: 0 2px 12px rgba(0,0,0,.08);
	--shadow-md: 0 4px 24px rgba(0,0,0,.12);
	--transition: 0.2s ease;
}

/* ─── Reset & Base ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; max-width: 100%; overflow-x: hidden; }
body {
	font-family: var(--font-main);
	color: var(--lg-text);
	background: var(--lg-white);
	font-size: 15px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	max-width: 100%;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--lg-red); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; font-size: 14px; }

/* ─── Layout ─────────────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.page-wrap { padding: 24px 0 40px; }
.content-sidebar-wrap { display: grid; grid-template-columns: 1fr 300px; gap: 30px; margin-top: 20px; }
@media (max-width: 992px) { .content-sidebar-wrap { grid-template-columns: 1fr; } }
.content-sidebar-wrap > .site-main { min-width: 0; overflow: hidden; }
.woocommerce-page .content-sidebar-wrap:not(.product-full-width) { grid-template-columns: 300px minmax(0, 1fr); }

/* ─── Typography ─────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.3; color: var(--lg-dark); letter-spacing: -0.01em; }
h1 { font-size: clamp(1.4rem, 3vw, 2rem); }
h2 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h3 { font-size: clamp(1rem, 2vw, 1.25rem); }
p { margin-bottom: 1rem; }

/* ─── Buttons ────────────────────────────────────────────────────── */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	padding: 10px 20px; border-radius: var(--radius-sm);
	font-weight: 600; font-size: 14px; line-height: 1;
	transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
	cursor: pointer; border: 2px solid transparent; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--lg-red); color: var(--lg-white); border-color: var(--lg-red); }
.btn-primary:hover { background: var(--lg-red-dark); border-color: var(--lg-red-dark); color: var(--lg-white); box-shadow: 0 4px 12px rgba(165,0,52,.35); }
.btn-secondary { background: var(--lg-dark); color: var(--lg-white); border-color: var(--lg-dark); }
.btn-secondary:hover { background: #333; color: var(--lg-white); }
.btn-outline { background: transparent; color: var(--lg-red); border-color: var(--lg-red); }
.btn-outline:hover { background: var(--lg-red); color: var(--lg-white); }
.btn-outline-white { background: transparent; color: var(--lg-white); border-color: var(--lg-white); }
.btn-outline-white:hover { background: var(--lg-white); color: var(--lg-red); }
.btn-block { width: 100%; }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-sm { padding: 6px 14px; font-size: 12px; }

/* ─── Forms ──────────────────────────────────────────────────────── */
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; color: var(--lg-dark); }
.form-control {
	width: 100%; padding: 10px 14px; border: 1.5px solid var(--lg-border);
	border-radius: var(--radius-sm); background: var(--lg-white);
	font-size: 14px; transition: border-color var(--transition), box-shadow var(--transition);
	color: var(--lg-text);
}
.form-control:focus { outline: none; border-color: var(--lg-red); box-shadow: 0 0 0 3px rgba(165,0,52,.1); }
.form-control::placeholder { color: var(--lg-gray-300); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-msg { padding: 10px 14px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 600; display: none; margin-bottom: 10px; }
.form-msg.success { background: #d4edda; color: #155724; display: block; }
.form-msg.error { background: #f8d7da; color: #721c24; display: block; }

/* ─── Section Styles ─────────────────────────────────────────────── */
.section { padding: 40px 0; }
.section-head {
	display: flex; align-items: center; justify-content: space-between;
	margin-bottom: 24px; border-bottom: 2px solid var(--lg-border); padding-bottom: 12px;
}
.section-title {
	font-size: 1.4rem; font-weight: 800; color: var(--lg-dark); position: relative;
	display: flex; align-items: center; gap: 10px;
}
.section-title::before {
	content: ''; display: inline-block; width: 4px; height: 24px;
	background: var(--lg-red); border-radius: 2px;
}
.section-more { color: var(--lg-red); font-size: 13px; font-weight: 600; white-space: nowrap; }
.section-more:hover { text-decoration: underline; color: var(--lg-red-dark); }
.text-center { text-align: center; }

/* ─── Top Bar ────────────────────────────────────────────────────── */
.header-topbar {
	background: linear-gradient(90deg, #15181d 0%, #1f2430 55%, #2b0d19 100%);
	color: var(--lg-white);
	font-size: 12px;
	padding: 7px 0;
	border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px; }
.topbar-left { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar-right { display: flex; align-items: center; gap: 12px; }
.topbar-item {
	display: flex;
	align-items: center;
	gap: 5px;
	color: rgba(255,255,255,.88);
	padding: 2px 0;
}
.topbar-item svg { opacity: .9; }
.topbar-item a:hover { color: #fff; }
.topbar-cart { position: relative; }
.cart-count {
	background: var(--lg-red); color: var(--lg-white); border-radius: 50%;
	width: 16px; height: 16px; font-size: 10px; font-weight: 700;
	display: inline-flex; align-items: center; justify-content: center;
}
@media (max-width: 768px) { .topbar-address { display: none; } }

/* ─── Main Header ────────────────────────────────────────────────── */
.site-header {
	background:
		linear-gradient(180deg, rgba(255,255,255,.985) 0%, rgba(255,255,255,.94) 100%),
		radial-gradient(140% 120% at 0% 0%, rgba(165,0,52,.12) 0%, rgba(165,0,52,0) 52%);
	-webkit-backdrop-filter: saturate(1.15) blur(6px);
	backdrop-filter: saturate(1.15) blur(6px);
	box-shadow: 0 10px 24px rgba(10,10,10,.08);
	position: sticky; top: 0; z-index: 1000;
	transition: transform .34s cubic-bezier(.22,.61,.36,1), box-shadow .24s ease, background .24s ease;
}
.site-header.header-hidden { transform: translateY(-104%); }
.site-header.scrolled {
	box-shadow: 0 14px 34px rgba(10,10,10,.13);
	background:
		linear-gradient(180deg, rgba(255,255,255,.99) 0%, rgba(255,255,255,.955) 100%),
		radial-gradient(140% 120% at 0% 0%, rgba(165,0,52,.13) 0%, rgba(165,0,52,0) 52%);
}

.header-inner {
	display: grid;
	grid-template-columns: clamp(188px, 20vw, 238px) minmax(0, 1fr) auto;
	align-items: center;
	gap: 18px;
	padding: 13px 0 12px;
}
.site-branding { flex-shrink: 0; }
.logo-link {
	display: inline-flex;
	align-items: center;
	max-width: 100%;
}
.logo-text { display: flex; align-items: baseline; gap: 5px; font-weight: 900; font-size: 28px; letter-spacing: -1px; }
.logo-lg { color: var(--lg-red); }
.logo-center { color: var(--lg-dark); }
.site-logo,
.custom-logo-link img,
.site-branding img.custom-logo {
	height: var(--lg-logo-h-desktop, 54px) !important;
	max-height: var(--lg-logo-h-desktop, 54px) !important;
	width: auto !important;
	aspect-ratio: 640 / 160;
	object-fit: contain;
}
/* Ensure SVG logo respects CSS height */
.site-logo svg,
svg.site-logo {
	height: 100% !important;
	width: auto !important;
	max-height: 100% !important;
}
.site-tagline { font-size: 11px; color: var(--lg-gray-500); margin-top: 2px; }

/* ─── Header Search ──────────────────────────────────────────────── */
.header-search {
	min-width: 0;
	position: relative;
	width: 100%;
}
.search-form {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0;
}
.search-helper {
	font-size: 12px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--lg-gray-700);
	margin: 0;
}
.search-wrap {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	border: 1.5px solid #d5d9df;
	border-radius: 16px;
	overflow: hidden;
	background:
		linear-gradient(90deg, #fafbfd 0%, #ffffff 58%),
		linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.88) 100%);
	box-shadow: 0 4px 14px rgba(5,18,39,.06);
	transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.search-wrap:focus-within {
	border-color: rgba(165,0,52,.58);
	box-shadow: 0 8px 20px rgba(165,0,52,.18);
	transform: translateY(-1px);
}
.search-leading-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	color: #7f8793;
	pointer-events: none;
}
.search-input {
	min-width: 0;
	width: 100%;
	border: none;
	height: 48px;
	padding: 0 10px 0 2px;
	font-size: 15px;
	font-weight: 500;
	outline: none;
	background: transparent;
	color: var(--lg-gray-900);
}
.search-input::placeholder { color: #9aa1ab; }
.search-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	border: none;
	height: 48px;
	padding: 0 16px;
	background: linear-gradient(140deg, #c6003f 0%, #8f002b 100%);
	color: var(--lg-white);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .2px;
	cursor: pointer;
	transition: filter var(--transition), transform var(--transition);
}
.search-btn:hover {
	filter: brightness(1.05);
	transform: translateY(-1px);
}
.search-dropdown {
	position: absolute; top: calc(100% + 8px); left: 0; right: 0;
	background: var(--lg-white); border: 1px solid var(--lg-border);
	border-radius: 14px; box-shadow: var(--shadow-md);
	z-index: 200; max-height: 400px; overflow-y: auto; display: none;
}
.search-dropdown.active { display: block; }
.search-result-item { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--lg-gray-100); transition: background var(--transition); }
.search-result-item:hover { background: var(--lg-gray-100); }
.search-result-item:last-child { border-bottom: none; }
.search-result-thumb { width: 50px; height: 50px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0; }
.search-result-info h4 { font-size: 13px; font-weight: 600; line-height: 1.3; }
.search-result-info .price { font-size: 12px; color: var(--lg-red); font-weight: 700; margin-top: 2px; }
.search-loading { text-align: center; padding: 16px; color: var(--lg-gray-500); font-size: 13px; }

/* ─── Header Actions ─────────────────────────────────────────────── */
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }

.header-hotline-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 10px 6px 7px;
	border-radius: 999px;
	background: linear-gradient(140deg, #11263b 0%, #1e3f62 100%);
	color: #fff;
	border: 1px solid rgba(255,255,255,.2);
	box-shadow: 0 8px 20px rgba(17,39,63,.28);
	transition: transform var(--transition), filter var(--transition);
}

.header-hotline-pill:hover {
	color: #fff;
	filter: brightness(1.06);
	transform: translateY(-1px);
}

.hotline-pill-icon {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: rgba(255,255,255,.16);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	animation: hotlinePulse 2.1s ease-in-out infinite;
}

.hotline-pill-text {
	display: inline-flex;
	flex-direction: column;
	line-height: 1.1;
	gap: 2px;
}

.hotline-pill-text small {
	font-size: 10px;
	opacity: .82;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .45px;
}

.hotline-pill-text strong {
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .2px;
}

.header-cta-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 11px 14px;
	border-radius: 11px;
	background: linear-gradient(135deg, #f7c200 0%, #ff9f1a 100%);
	color: #1f1a07;
	font-size: 12.5px;
	font-weight: 800;
	letter-spacing: .2px;
	box-shadow: 0 8px 18px rgba(255,159,26,.34);
	transition: transform var(--transition), filter var(--transition);
	white-space: nowrap;
}

.header-cta-btn:hover {
	color: #1f1a07;
	filter: saturate(1.07) brightness(1.02);
	transform: translateY(-1px);
}
.header-cart-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 12px;
	min-height: 46px;
	background: linear-gradient(140deg, #0f1318 0%, #1b2432 100%);
	color: var(--lg-white);
	border-radius: 13px;
	box-shadow: 0 8px 20px rgba(13,20,35,.22);
	transition: filter var(--transition), transform var(--transition);
}
.header-cart-btn:hover {
	filter: brightness(1.06);
	color: var(--lg-white);
	transform: translateY(-1px);
}
.cart-icon-wrap { position: relative; }
.cart-badge {
	position: absolute; top: -8px; right: -8px;
	background: var(--lg-dark); color: var(--lg-white);
	border-radius: 50%; min-width: 18px; height: 18px; font-size: 10px; font-weight: 700;
	display: flex; align-items: center; justify-content: center; padding: 0 2px;
}
.cart-text { display: flex; flex-direction: column; font-size: 12px; line-height: 1.2; }
.cart-text span { font-size: 11px; opacity: .85; }
.cart-text strong { font-weight: 700; }
.nav-toggle {
	display: none; flex-direction: column; gap: 5px; padding: 8px;
	background: linear-gradient(180deg, #fff 0%, #f6f8fb 100%);
	border: 1.5px solid #d6dbe4;
	border-radius: 10px;
}
.toggle-bar { display: block; width: 22px; height: 2px; background: var(--lg-dark); border-radius: 2px; transition: all var(--transition); }

@media (min-width: 993px) {
	.site-header .header-inner {
		grid-template-columns: clamp(188px, 20vw, 238px) minmax(520px, 1fr) auto;
		align-items: center;
		gap: 20px;
	}
	.site-header .header-inner > .header-search {
		justify-self: stretch;
		width: 100%;
		max-width: 100%;
		min-width: 0;
	}
	.site-header .header-inner > .site-branding {
		padding-right: 2px;
	}
	.search-btn-label {
		display: inline-block;
		width: 100%;
	}
	.site-header .header-inner > .header-actions {
		justify-self: end;
		justify-content: flex-end;
		gap: 8px;
		min-width: max-content;
		white-space: nowrap;
	}
	.site-logo,
	.custom-logo-link img,
	.site-branding img.custom-logo {
		height: 50px !important;
		max-height: 50px !important;
	}
	.header-hotline-pill {
		padding: 5px 9px 5px 7px;
		gap: 7px;
	}
	.hotline-pill-icon {
		width: 26px;
		height: 26px;
	}
	.hotline-pill-text strong {
		font-size: 12.5px;
	}
	.header-cta-btn {
		padding: 10px 12px;
		font-size: 12px;
		gap: 5px;
	}
	.header-cart-btn {
		min-height: 44px;
		padding: 7px 11px;
		gap: 8px;
	}
}

@media (min-width: 1280px) {
	.site-header .header-inner > .header-search {
		max-width: 860px;
	}
}

@media (max-width: 992px) {
	.site-header .header-inner {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-rows: auto auto;
		align-items: center;
		gap: 10px;
	}
	.site-header .header-inner > .site-branding {
		grid-column: 1;
		grid-row: 1;
		min-width: 0;
	}
	.site-header .header-inner > .header-actions {
		grid-column: 2;
		grid-row: 1;
	}
	.site-header .header-inner > .header-search {
		grid-column: 1 / -1;
		grid-row: 2;
		width: 100%;
		max-width: none;
		min-width: 0;
	}
	.header-search .search-form,
	.search-wrap {
		width: 100%;
		max-width: 100%;
	}
	.search-btn {
		flex-shrink: 0;
		padding: 0 14px;
	}
	.nav-toggle { display: inline-flex !important; flex-shrink: 0; }
	.header-cart-btn .cart-text { display: none; }
	.header-search { max-width: none; }
	.header-actions { margin-left: 0 !important; justify-content: flex-end !important; gap: 8px; }
	.header-cart-btn { padding: 8px 10px; }
}
@media (max-width: 600px) {
	.site-tagline { display: none; }
	.logo-text { font-size: 22px; }
	.site-logo,
	.custom-logo-link img,
	.site-branding img.custom-logo {
		height: var(--lg-logo-h-mobile, 36px) !important;
		max-height: var(--lg-logo-h-mobile, 36px) !important;
		aspect-ratio: 640 / 160;
	}
	.header-inner { gap: 8px; }
	.search-helper {
		font-size: 11px;
		line-height: 1.3;
	}
	.search-input {
		height: 44px;
		font-size: 14px;
	}
	.search-btn {
		height: 44px;
		padding: 0 12px;
	}
	.search-btn-label {
		display: none;
	}
}

@media (max-width: 768px) {
	.header-topbar {
		display: none;
	}
	.site-header .container {
		padding-left: 10px;
		padding-right: 10px;
	}
	.site-header .header-inner {
		grid-template-columns: minmax(0, 1fr) auto;
		padding: 8px 0;
		gap: 7px;
	}
	.site-branding {
		overflow: hidden;
	}
	.header-actions {
		gap: 6px !important;
	}
	.header-cart-btn {
		width: 38px;
		height: 38px;
		padding: 0;
		border-radius: 10px;
		justify-content: center;
	}
	.header-cart-btn svg {
		width: 17px;
		height: 17px;
	}
	.cart-badge {
		top: -6px;
		right: -6px;
		min-width: 16px;
		height: 16px;
		font-size: 9px;
	}
	.nav-toggle {
		width: 38px;
		height: 38px;
		padding: 0;
		justify-content: center;
		align-items: center;
		gap: 4px;
	}
	.toggle-bar {
		width: 20px;
	}
	.header-search {
		margin-top: 4px;
	}
	.search-wrap {
		border-width: 1.5px;
		border-radius: 13px;
	}
	.search-leading-icon {
		width: 36px;
	}
	.search-leading-icon svg {
		width: 16px;
		height: 16px;
	}
	.search-input {
		height: 42px;
		padding: 0 8px 0 2px;
		font-size: 13px;
	}
	.search-btn {
		height: 42px;
		padding: 0 9px;
	}
	.search-btn svg {
		width: 16px;
		height: 16px;
	}
	.search-dropdown {
		border-radius: 12px;
	}
	.primary-nav {
		width: min(86vw, 300px);
	}
}

/* ─── Unified Content Typography ─────────────────────────────────── */
.site-main,
.site-main :where(p, li, a, span, strong, em, small, td, th, label) {
	font-family: var(--font-main) !important;
}

.site-main :where(p, li) {
	font-size: 15px;
	line-height: 1.72;
}

.entry-content {
	font-size: 15px;
	line-height: 1.72;
}

.single-post .entry-content,
.single-post .entry-content :where(p, li) {
	font-size: 15px;
	line-height: 1.7;
}

.entry-content h1 { font-size: clamp(1.5rem, 3vw, 2rem); }
.entry-content h2 { font-size: clamp(1.28rem, 2.5vw, 1.65rem); }
.entry-content h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }

.term-description,
.term-desc,
.woocommerce-products-header__description,
.single-product .summary,
.single-product .summary p,
.woocommerce-product-details__short-description,
.woocommerce-product-details__short-description p,
.woocommerce-tabs .panel,
.woocommerce-tabs .panel p,
.dien-may-home-cart-notice,
.dien-may-home-cart-notice * {
	font-family: var(--font-main) !important;
	font-size: 15px;
	line-height: 1.75;
}

.single-product .summary .price,
.single-product .summary .price .amount,
.product-card__price .price,
.product-card__price .amount {
	font-family: var(--font-main) !important;
}

/* ─── Primary Navigation ─────────────────────────────────────────── */
.primary-nav {
	background:
		linear-gradient(95deg, #8d022e 0%, #a50034 46%, #bf0b42 100%);
	border-top: 1px solid rgba(255,255,255,.22);
	box-shadow: 0 8px 20px rgba(112,0,34,.22) inset;
	transition: transform .34s cubic-bezier(.22,.61,.36,1), box-shadow .24s ease;
}
.primary-nav.header-hidden { transform: translateY(-100%); }
.primary-nav.scrolled { box-shadow: 0 10px 22px rgba(78,0,21,.28) inset; }
.nav-inner { position: relative; }
.nav-menu { display: flex; flex-wrap: wrap; gap: 2px; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 12px 16px;
	color: var(--lg-white);
	font-weight: 700;
	font-size: 13.5px;
	transition: background var(--transition), transform var(--transition);
	white-space: nowrap;
	border-radius: 10px;
}
.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a,
.nav-menu > li.current-menu-ancestor > a {
	background: rgba(20,10,15,.25);
	color: var(--lg-white);
	transform: translateY(-1px);
}

.menu-link-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	opacity: .95;
	pointer-events: none;
}

.menu-link-icon svg {
	width: 18px;
	height: 18px;
	display: block;
}

.menu-link-label {
	line-height: 1;
	padding-top: 1px;
}

#primary-menu > li > a {
	position: relative;
}

/* CSS-only fallback icons for primary menu if walker/JS icon markup is unavailable. */
#primary-menu:not(.menu-icons-ready) > li > a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

#primary-menu:not(.menu-icons-ready) > li > a::before {
	content: '';
	width: 16px;
	height: 16px;
	flex: 0 0 16px;
	display: inline-block;
	background-repeat: no-repeat;
	background-size: 16px 16px;
	background-position: center;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M3 7a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v3H3V7zm0 5h8v7H5a2 2 0 0 1-2-2v-5zm10 0h8v5a2 2 0 0 1-2 2h-6v-7z'/%3E%3C/svg%3E");
	opacity: .95;
}

#primary-menu:not(.menu-icons-ready) > li:nth-child(1) > a::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M12 3l9 8h-3v9h-5v-6H11v6H6v-9H3l9-8z'/%3E%3C/svg%3E");
}

#primary-menu:not(.menu-icons-ready) > li:nth-child(2) > a::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M4 5h16v2H4V5zm1 4h14v10H5V9zm3 2v6h8v-6H8z'/%3E%3C/svg%3E");
}

#primary-menu:not(.menu-icons-ready) > li:nth-child(3) > a::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M7 4h10a2 2 0 0 1 2 2v12H5V6a2 2 0 0 1 2-2zm5 4a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm-5 8h10v-2H7v2z'/%3E%3C/svg%3E");
}

#primary-menu:not(.menu-icons-ready) > li:nth-child(4) > a::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M4 6h16v12H4V6zm2 2v8h12V8H6zm5 1h2v6h-2V9z'/%3E%3C/svg%3E");
}

#primary-menu:not(.menu-icons-ready) > li:nth-child(5) > a::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M7 3h10l4 4v14H3V7l4-4zm1.5 2L6 7.5V19h12V7.5L15.5 5h-7z'/%3E%3C/svg%3E");
}

#primary-menu:not(.menu-icons-ready) > li:nth-child(6) > a::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M5 3h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2zm1 4h12v12H6V7zm6 2.2A3.8 3.8 0 1 0 12 17a3.8 3.8 0 0 0 0-7.8zM8 5.4a.8.8 0 1 0 0 1.6.8.8 0 0 0 0-1.6zm3 0a.8.8 0 1 0 0 1.6.8.8 0 0 0 0-1.6z'/%3E%3C/svg%3E");
}

#primary-menu:not(.menu-icons-ready) > li:nth-child(7) > a::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M4 4h16v16H4V4zm2 2v12h12V6H6zm3 2h6v2H9V8zm0 4h6v2H9v-2z'/%3E%3C/svg%3E");
}

#primary-menu:not(.menu-icons-ready) > li:nth-child(8) > a::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M10 3h4v2h-2v4.2a5.8 5.8 0 1 1-2 0V3zm2 8a3.8 3.8 0 1 0 3.8 3.8A3.8 3.8 0 0 0 12 11zm5-4h3v2h-3V7zm0 4h4v2h-4v-2z'/%3E%3C/svg%3E");
}

#primary-menu:not(.menu-icons-ready) > li:nth-child(9) > a::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M4 5h16a2 2 0 0 1 2 2v12H2V7a2 2 0 0 1 2-2zm0 4v8h16V9H4zm4 1a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm8 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4z'/%3E%3C/svg%3E");
}

#primary-menu:not(.menu-icons-ready) > li:nth-child(10) > a::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M6 4h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2zm0 3v4h12V7H6zm0 6v5h12v-5H6zm6.8 1l.9.9-.9.9-.9-.9.9-.9zm2.2-1h1.2v1.2H15V13zm-6 0h1.2v1.2H9V13z'/%3E%3C/svg%3E");
}

#primary-menu:not(.menu-icons-ready) > li:nth-child(11) > a::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M4 4h16v16H4V4zm2 2v12h12V6H6zm3 2h6v2H9V8zm0 4h6v2H9v-2z'/%3E%3C/svg%3E");
}

.sub-menu .menu-link-icon {
	display: none;
}

/* Dropdown */
.sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 220px;
	background: var(--lg-white); border: 1px solid var(--lg-border);
	border-top: 2px solid var(--lg-red); border-radius: 0 0 var(--radius) var(--radius);
	box-shadow: var(--shadow-md); z-index: 500; display: none;
	margin-top: -8px;
	padding-top: 8px;
}
.sub-menu li { position: relative; }
.sub-menu .sub-menu {
	top: 0;
	left: 100%;
	margin-top: 0;
	padding-top: 0;
	border-top: 1px solid var(--lg-border);
	border-radius: var(--radius);
}

@media (min-width: 993px) {
	.menu-item-has-children:hover > .sub-menu { display: block; }
	.menu-item-has-children > .sub-menu::before {
		content: '';
		position: absolute;
		top: -8px;
		left: 0;
		right: 0;
		height: 8px;
		pointer-events: auto;
	}
}
.sub-menu li a { display: block; padding: 10px 18px; font-size: 13px; color: var(--lg-text); border-bottom: 1px solid var(--lg-gray-100); transition: background var(--transition); }
.sub-menu li:last-child a { border-bottom: none; }
.sub-menu li a:hover { background: var(--lg-gray-100); color: var(--lg-red); }
.submenu-toggle { display: none; }
.nav-close { display: none; }

/* Mobile nav */
@media (max-width: 992px) {
	.primary-nav {
		position: fixed; top: 0; left: -100%; width: 280px; height: 100vh;
		background: linear-gradient(180deg, #11141b 0%, #1a2030 100%);
		z-index: 1100;
		overflow-y: auto;
		overflow-x: hidden;
		-ms-overflow-style: none;
		scrollbar-width: none;
		transition: left 0.3s cubic-bezier(.4,0,.2,1);
		padding-top: 0;
	}
	.primary-nav .container {
		padding-top: 0;
	}
	.primary-nav .nav-inner {
		position: relative;
		padding-top: 54px;
	}
	.primary-nav::-webkit-scrollbar {
		display: none;
		width: 0;
		height: 0;
	}
	.primary-nav.nav-open { left: 0; }
	.nav-menu { flex-direction: column; }
	.nav-menu > li > a {
		color: rgba(255,255,255,.94);
		padding: 14px 20px;
		border-bottom: 1px solid rgba(255,255,255,.08);
		font-size: 15px;
		border-radius: 0;
		width: 100%;
	}
	.header-hotline-pill,
	.header-cta-btn {
		display: none;
	}
	.nav-menu > li > a .menu-link-icon {
		width: 20px;
		height: 20px;
	}
	.nav-menu li.menu-item-has-children,
	.sub-menu li.menu-item-has-children {
		position: relative;
		display: block;
		padding-right: 0;
	}
	.nav-menu li.menu-item-has-children > a,
	.sub-menu li.menu-item-has-children > a {
		padding-right: 56px;
		min-width: 0;
		display: flex;
		align-items: center;
	}
	.nav-menu > li.menu-item-has-children > a {
		min-height: 48px;
	}
	.sub-menu li.menu-item-has-children > a {
		min-height: 40px;
		padding-top: 9px;
		padding-bottom: 9px;
	}
	.sub-menu {
		position: static;
		border: none;
		box-shadow: none;
		background: rgba(0,0,0,.3);
		display: none;
		border-radius: 0;
		width: 100%;
		clear: both;
	}
	.sub-menu.open { display: block; }
	.sub-menu li { width: 100%; }
	.sub-menu li a { color: rgba(255,255,255,.75); padding: 10px 20px 10px 36px; border-left: 3px solid var(--lg-red); font-size: 13px; }
	.submenu-toggle {
		display: flex;
		align-items: center;
		justify-content: center;
		position: absolute;
		top: 0;
		right: 0;
		width: 46px;
		height: 48px;
		border: 0;
		background: rgba(0,0,0,.2);
		border-left: 1px solid rgba(255,255,255,.08);
		border-bottom: 1px solid rgba(255,255,255,.08);
		color: rgba(255,255,255,.7);
		z-index: 3;
		padding: 0;
		cursor: pointer;
		touch-action: manipulation;
	}
	.sub-menu li.menu-item-has-children > .submenu-toggle {
		height: 40px;
	}
	.submenu-toggle svg {
		transition: transform var(--transition);
	}
	.submenu-toggle[aria-expanded="true"] svg {
		transform: rotate(180deg);
	}
	.nav-close {
		display: flex; align-items: center; justify-content: center;
		position: absolute; top: 8px; right: 12px;
		width: 36px; height: 36px; border-radius: 50%;
		background: rgba(255,255,255,.1); color: var(--lg-white);
		z-index: 5;
	}
	.nav-overlay {
		position: fixed; inset: 0; background: rgba(0,0,0,.5);
		z-index: 1050; display: none;
	}
	.nav-overlay.active { display: block; }
}

@keyframes hotlinePulse {
	0% {
		box-shadow: 0 0 0 0 rgba(255,255,255,.36);
	}
	70% {
		box-shadow: 0 0 0 9px rgba(255,255,255,0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(255,255,255,0);
	}
}

/* ─── Hero Slider ────────────────────────────────────────────────── */
.hero-slider { position: relative; overflow: hidden; }
.slide { position: relative; }
.slide-img { width: 100%; height: 460px; object-fit: cover; }
.slide-caption {
	position: absolute; top: 50%; left: 8%; transform: translateY(-50%);
	max-width: 480px; color: var(--lg-white);
}
.slide-caption h2 { font-size: 2.2rem; text-shadow: 0 2px 8px rgba(0,0,0,.6); margin-bottom: 12px; }
.slide-caption p { font-size: 1.1rem; text-shadow: 0 1px 4px rgba(0,0,0,.5); margin-bottom: 20px; opacity: .9; }
.hero-default {
	background: linear-gradient(135deg, var(--lg-dark) 0%, #2d0012 100%);
	min-height: 380px; display: flex; align-items: center; color: var(--lg-white);
}
.hero-default-inner { padding: 40px 0; }
.hero-text h1 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 900; line-height: 1.15; margin-bottom: 14px; color: var(--lg-white); }
.hero-text p { font-size: 1.15rem; opacity: .85; margin-bottom: 28px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
/* Slick dots */
.hero-slider .slick-dots { bottom: 16px; }
.hero-slider .slick-dots li button:before { color: var(--lg-white); font-size: 10px; }
.hero-slider .slick-dots li.slick-active button:before { color: var(--lg-red); }
.hero-slider .slick-prev, .hero-slider .slick-next { z-index: 10; width: 44px; height: 44px; }
.hero-slider .slick-prev:before, .hero-slider .slick-next:before { font-size: 28px; }
@media (max-width: 768px) {
	.slide-img { height: 220px; }
	.slide-caption { display: none; }
	.hero-text h1 { font-size: 1.6rem; }
}

/* ─── Trust Bar ──────────────────────────────────────────────────── */
.trust-bar { background: var(--lg-gray-100); border-bottom: 1px solid var(--lg-border); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.trust-item {
	display: flex; align-items: center; gap: 12px; padding: 16px 20px;
	border-right: 1px solid var(--lg-border);
}
.trust-item:last-child { border-right: none; }
.trust-item svg { color: var(--lg-red); flex-shrink: 0; }
.trust-item strong { display: block; font-size: 13px; font-weight: 700; color: var(--lg-dark); }
.trust-item span { font-size: 12px; color: var(--lg-gray-500); }
@media (max-width: 992px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } .trust-item:nth-child(2) { border-right: none; } }
@media (max-width: 600px) { .trust-grid { grid-template-columns: 1fr; } .trust-item { border-right: none; border-bottom: 1px solid var(--lg-border); } }

/* ─── Category Grid ──────────────────────────────────────────────── */
.categories-section { background: var(--lg-white); }
.category-carousel {
	position: relative;
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr) 42px;
	align-items: center;
	gap: 10px;
}
.category-track-wrap {
	overflow-x: auto;
	overflow-y: hidden;
	padding-bottom: 4px;
	scrollbar-width: thin;
	scroll-behavior: smooth;
	cursor: grab;
}
.category-track-wrap:active { cursor: grabbing; }
.category-grid.category-track {
	display: flex;
	flex-wrap: nowrap;
	gap: 12px;
	min-width: max-content;
}
.category-arrow {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--lg-red);
	color: var(--lg-white);
	font-size: 20px;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 6px 16px rgba(165,0,52,.24);
	transition: transform var(--transition), opacity var(--transition), background var(--transition);
}
.category-arrow:hover { background: var(--lg-red-dark); transform: translateY(-1px); }
.category-arrow[disabled] { opacity: .35; pointer-events: none; }
.category-carousel.is-static .category-arrow {
	opacity: 0;
	pointer-events: none;
}
.category-card {
	display: flex; flex-direction: column; align-items: center;
	min-width: 132px;
	width: 132px;
	padding: 14px 8px; border-radius: var(--radius); border: 1.5px solid var(--lg-border);
	text-align: center; transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
	background: var(--lg-white);
}
.category-card:hover { border-color: var(--lg-red); box-shadow: 0 4px 16px rgba(165,0,52,.12); transform: translateY(-2px); color: var(--lg-red); }
.category-img-wrap { width: 64px; height: 64px; margin-bottom: 10px; }
.category-img-wrap img { width: 100%; height: 100%; object-fit: contain; }
.category-info h3 { font-size: 12px; font-weight: 700; line-height: 1.3; color: var(--lg-dark); }
.category-info span { font-size: 11px; color: var(--lg-gray-500); }
@media (max-width: 992px) {
	.category-carousel {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
	}
	.category-arrow {
		display: none;
	}
	.category-track-wrap {
		padding-bottom: 10px;
		-webkit-overflow-scrolling: touch;
		scroll-snap-type: x mandatory;
	}
	.category-card {
		scroll-snap-align: start;
		min-width: 122px;
		width: 122px;
	}
}

/* ─── Product Grid & Cards ───────────────────────────────────────── */
.products-grid,
ul.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; list-style: none; }
@media (max-width: 1100px) { .products-grid, ul.products { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .products-grid, ul.products { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
@media (max-width: 340px) { .products-grid, ul.products { grid-template-columns: 1fr; } }

/* WooCommerce clearfix pseudo-elements become grid items and can create blank cells. */
ul.products::before,
ul.products::after {
	content: none !important;
	display: none !important;
}

.product-card, li.product {
	position: relative; background: var(--lg-white);
	border: 1.5px solid var(--lg-border); border-radius: var(--radius);
	overflow: hidden; transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
	display: flex; flex-direction: column; height: 100%;
}
.product-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.1); border-color: var(--lg-red); transform: translateY(-3px); }

.product-card__img-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	aspect-ratio: 1 / 1;
	min-height: 220px;
	position: relative;
	background: #fff;
}
.product-card__img {
	width: 100%;
	height: 100%;
	max-width: 260px;
	max-height: 220px;
	object-fit: contain;
	transition: transform 0.3s ease;
	padding: 10px;
}
.product-card:hover .product-card__img { transform: scale(1.04); }

.badge-sale {
	position: absolute; top: 10px; left: 10px; background: var(--lg-red); color: var(--lg-white);
	font-size: 10px; font-weight: 800; padding: 3px 8px; border-radius: 3px; z-index: 2; letter-spacing: .5px;
}
.badge-featured {
	position: absolute; top: 10px; left: 10px; background: #ff9800; color: var(--lg-white);
	font-size: 10px; font-weight: 800; padding: 3px 8px; border-radius: 3px; z-index: 2;
}
.badge-sale + .badge-featured { left: auto; right: 10px; }
.sale-percent {
	position: absolute; bottom: 10px; right: 10px;
	background: var(--lg-red); color: var(--lg-white);
	font-size: 11px; font-weight: 700; padding: 4px 8px;
	border-radius: 3px;
}

.product-card__body { padding: 12px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.product-card__cat { font-size: 11px; color: var(--lg-gray-500); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 6px; }
.product-card__title {
	font-size: 13px;
	font-weight: 600;
	line-height: 1.45;
	color: var(--lg-dark);
	margin-bottom: 0;
	min-height: 38px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.product-card__title a:hover { color: var(--lg-red); }
.product-card__price { margin-bottom: 0; min-height: 28px; }
.product-card__price .price { font-weight: 800; color: var(--lg-red); font-size: 1rem; }
.product-card__price del { font-size: 12px; color: var(--lg-gray-500); font-weight: 400; }
.product-card__price ins { text-decoration: none; }
.product-card__specs { font-size: 11px; color: var(--lg-gray-700); margin-bottom: 10px; }
.product-card__specs span { display: inline-block; margin-right: 8px; }
.product-card__actions { display: flex; gap: 8px; margin-top: auto; flex-wrap: wrap; align-items: stretch; }
.product-card__actions .btn { flex: 1; font-size: 12px; padding: 8px 10px; }
.btn-add-to-cart.loading { opacity: .7; pointer-events: none; }
.out-of-stock-badge { display: block; text-align: center; padding: 6px; background: var(--lg-gray-100); color: var(--lg-gray-500); font-size: 12px; }

/* Archive/shop product cards: make image blocks larger and fully consistent */
.post-type-archive-product .product-card__img-wrap,
.tax-product_cat .product-card__img-wrap,
.tax-product_tag .product-card__img-wrap {
	min-height: 250px;
	height: 250px;
	background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}
.post-type-archive-product .product-card__img,
.tax-product_cat .product-card__img,
.tax-product_tag .product-card__img {
	max-width: none;
	max-height: none;
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 14px;
}
.post-type-archive-product .product-card__body,
.tax-product_cat .product-card__body,
.tax-product_tag .product-card__body {
	padding: 14px;
	gap: 8px;
}
.post-type-archive-product .product-card__title,
.tax-product_cat .product-card__title,
.tax-product_tag .product-card__title {
	font-size: 14px;
	line-height: 1.45;
	min-height: 42px;
}
.post-type-archive-product .product-card__specs,
.tax-product_cat .product-card__specs,
.tax-product_tag .product-card__specs,
.post-type-archive-product .product-card__cat,
.tax-product_cat .product-card__cat,
.tax-product_tag .product-card__cat {
	display: none !important;
}

.home .products-section .products-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	width: 100%;
}
.home .products-section .products-grid > li.product,
.home .products-section .products-grid > li.product-card {
	float: none;
	width: auto;
	margin: 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	height: 100%;
}
.home .products-section .product-card__img-wrap {
	min-height: 250px;
	height: 250px;
	background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}
.home .products-section .product-card__img {
	max-width: none;
	max-height: none;
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 14px;
}
.home .products-section .product-card__body {
	padding: 14px;
	gap: 8px;
}
.home .products-section .product-card__title {
	font-size: 14px;
	line-height: 1.45;
	min-height: 42px;
}
.home .products-section .product-card__specs,
.home .products-section .product-card__cat {
	display: none !important;
}

@media (max-width: 900px) {
.post-type-archive-product .product-card__price .price,
.tax-product_cat .product-card__price .price,
.tax-product_tag .product-card__price .price,
.home .products-section .product-card__price .price {
	font-size: 1.05rem;
}
.post-type-archive-product .product-card__actions,
.tax-product_cat .product-card__actions,
.tax-product_tag .product-card__actions,
.home .products-section .product-card__actions {
	margin-top: 8px;
}
.post-type-archive-product .product-card__actions .btn,
.tax-product_cat .product-card__actions .btn,
.tax-product_tag .product-card__actions .btn,
.home .products-section .product-card__actions .btn {
	width: 100%;
	flex: 1 1 100%;
	padding: 9px 12px;
	font-size: 13px;
	font-weight: 700;
	border-radius: 8px;
}
.home .products-section .products-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}
.post-type-archive-product ul.products,
.tax-product_cat ul.products,
.tax-product_tag ul.products {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 16px !important;
	clear: both !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}
/* WooCommerce adds clearfix pseudo-elements on ul.products; hide them for CSS Grid. */
.post-type-archive-product ul.products::before,
.post-type-archive-product ul.products::after,
.tax-product_cat ul.products::before,
.tax-product_cat ul.products::after,
.tax-product_tag ul.products::before,
.tax-product_tag ul.products::after {
	content: none !important;
	display: none !important;
}
.post-type-archive-product ul.products li.product,
.tax-product_cat ul.products li.product,
.tax-product_tag ul.products li.product,
.post-type-archive-product ul.products li.product-card,
.tax-product_cat ul.products li.product-card,
.tax-product_tag ul.products li.product-card {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	display: flex !important;
	flex-direction: column;
	height: 100%;
	border-radius: 12px;
	box-shadow: 0 2px 10px rgba(2, 6, 23, 0.06);
	border: 1px solid #e5e7eb;
}
}
@media (max-width: 1100px) {
	.post-type-archive-product ul.products,
	.tax-product_cat ul.products,
	.tax-product_tag ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}
}
@media (max-width: 768px) {
	.home .products-section .products-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}
	.home .products-section .products-grid > li.product,
	.home .products-section .products-grid > li.product-card {
		min-width: 0;
	}
	.home .products-section .product-card__img-wrap {
		min-height: 170px;
		height: 170px;
		padding: 8px;
		overflow: hidden;
	}
	.home .products-section .product-card__img {
		width: auto;
		height: auto;
		max-width: 100%;
		max-height: 100%;
		margin: 0 auto;
		object-fit: contain;
		object-position: center center;
		padding: 0;
		transform: none;
	}
	.home .products-section .product-card:hover,
	.home .products-section .product-card:hover .product-card__img {
		transform: none;
	}
	.home .products-section .product-card {
		border-radius: 10px;
	}
	.home .products-section .product-card__title {
		font-size: 13px;
		line-height: 1.35;
		min-height: 34px;
	}
	.home .products-section .product-card__price .price {
		font-size: 1rem;
	}
	.home .products-section .product-card__actions .btn {
		padding: 8px 10px;
		font-size: 13px;
	}
	.post-type-archive-product ul.products,
	.tax-product_cat ul.products,
	.tax-product_tag ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 10px !important;
	}
	.post-type-archive-product .product-card__img-wrap,
	.tax-product_cat .product-card__img-wrap,
	.tax-product_tag .product-card__img-wrap {
		min-height: 180px;
		height: 180px;
	}
}
@media (max-width: 420px) {
	.post-type-archive-product ul.products,
	.tax-product_cat ul.products,
	.tax-product_tag ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

/* ─── Products Slider ────────────────────────────────────────────── */
/* ─── Taxonomy-specific nuclear override (term-178 = tu-lanh-lg-khuyen-mai) ── */
/* Ensures grid beats any plugin-injected float/width rules */
body.woocommerce.term-178 ul.products,
body.woocommerce-page.term-178 ul.products {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 16px !important;
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}
body.woocommerce.term-178 ul.products::before,
body.woocommerce.term-178 ul.products::after,
body.woocommerce-page.term-178 ul.products::before,
body.woocommerce-page.term-178 ul.products::after {
	content: none !important;
	display: none !important;
}
body.woocommerce.term-178 ul.products li.product,
body.woocommerce-page.term-178 ul.products li.product {
	float: none !important;
	width: auto !important;
	max-width: none !important;
	min-width: 0 !important;
	margin: 0 !important;
	display: flex !important;
	flex-direction: column !important;
	height: 100% !important;
	box-sizing: border-box !important;
}
@media (max-width: 1100px) {
	body.woocommerce.term-178 ul.products,
	body.woocommerce-page.term-178 ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}
}
@media (max-width: 768px) {
	body.woocommerce.term-178 ul.products,
	body.woocommerce-page.term-178 ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 10px !important;
	}
}
@media (max-width: 480px) {
	body.woocommerce.term-178 ul.products,
	body.woocommerce-page.term-178 ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 992px) {
	.woocommerce-page .content-sidebar-wrap:not(.product-full-width) {
		grid-template-columns: minmax(0, 1fr) !important;
	}
	.woocommerce-page .content-sidebar-wrap:not(.product-full-width) > .site-main {
		order: 1;
		min-width: 0;
	}
	.woocommerce-page .content-sidebar-wrap:not(.product-full-width) > .site-sidebar {
		order: 2;
		min-width: 0;
	}
}

@media (max-width: 768px) {
	.woocommerce-page .container,
	.woocommerce-page .content-sidebar-wrap,
	.woocommerce-page .site-main,
	.post-type-archive-product .site-main,
	.tax-product_cat .site-main,
	.tax-product_tag .site-main {
		min-width: 0;
		max-width: 100%;
		overflow-x: hidden;
	}
	.woocommerce-page .content-sidebar-wrap:not(.product-full-width) > .site-sidebar {
		display: none;
	}
	.archive-header h1 {
		font-size: 1.28rem;
		line-height: 1.35;
		word-break: break-word;
	}
	/* Mobile cleanup for product taxonomy pages (e.g. /tivi/). */
	.tax-product_cat .page-wrap,
	.tax-product_tag .page-wrap,
	.post-type-archive-product .page-wrap {
		overflow-x: hidden;
		padding-bottom: 24px;
	}
	.tax-product_cat .breadcrumb,
	.tax-product_tag .breadcrumb,
	.post-type-archive-product .breadcrumb {
		overflow-x: auto;
		white-space: nowrap;
	}
	.tax-product_cat .woocommerce-sorting,
	.tax-product_tag .woocommerce-sorting,
	.post-type-archive-product .woocommerce-sorting {
		display: grid;
		grid-template-columns: 1fr;
		gap: 8px;
		margin-bottom: 14px;
	}
	.tax-product_cat .woocommerce-result-count,
	.tax-product_tag .woocommerce-result-count,
	.post-type-archive-product .woocommerce-result-count {
		font-size: 12px;
		margin: 0;
	}
	.tax-product_cat .woocommerce-ordering,
	.tax-product_tag .woocommerce-ordering,
	.post-type-archive-product .woocommerce-ordering {
		width: 100%;
		margin: 0;
	}
	.tax-product_cat .woocommerce-ordering select,
	.tax-product_tag .woocommerce-ordering select,
	.post-type-archive-product .woocommerce-ordering select {
		width: 100%;
		height: 40px;
	}
	.tax-product_cat ul.products,
	.tax-product_tag ul.products,
	.post-type-archive-product ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 10px !important;
		padding: 0 !important;
		margin: 0 !important;
	}
	.tax-product_cat ul.products li.product,
	.tax-product_tag ul.products li.product,
	.post-type-archive-product ul.products li.product {
		min-width: 0;
	}
	body.th-advance-product-search-on-mobile.tax-product_cat ul.products li.product a.product-card__img-wrap,
	body.th-advance-product-search-on-mobile.tax-product_tag ul.products li.product a.product-card__img-wrap,
	body.th-advance-product-search-on-mobile.post-type-archive-product ul.products li.product a.product-card__img-wrap,
	.tax-product_cat ul.products li.product a.product-card__img-wrap,
	.tax-product_tag ul.products li.product a.product-card__img-wrap,
	.post-type-archive-product ul.products li.product a.product-card__img-wrap {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		padding: 8px !important;
		overflow: hidden !important;
	}
	body.th-advance-product-search-on-mobile.tax-product_cat ul.products li.product a.product-card__img-wrap > img.product-card__img,
	body.th-advance-product-search-on-mobile.tax-product_tag ul.products li.product a.product-card__img-wrap > img.product-card__img,
	body.th-advance-product-search-on-mobile.post-type-archive-product ul.products li.product a.product-card__img-wrap > img.product-card__img,
	.tax-product_cat ul.products li.product a.product-card__img-wrap > img.product-card__img,
	.tax-product_tag ul.products li.product a.product-card__img-wrap > img.product-card__img,
	.post-type-archive-product ul.products li.product a.product-card__img-wrap > img.product-card__img {
		width: auto !important;
		height: auto !important;
		max-width: 100% !important;
		max-height: 100% !important;
		margin: 0 auto !important;
		object-fit: contain !important;
		object-position: center center !important;
		transform: none !important;
	}
	.tax-product_cat .product-card,
	.tax-product_tag .product-card,
	.post-type-archive-product .product-card {
		border-radius: 10px;
	}
	.tax-product_cat .product-card__img-wrap,
	.tax-product_tag .product-card__img-wrap,
	.post-type-archive-product .product-card__img-wrap {
		height: 170px;
		min-height: 170px;
	}
	.tax-product_cat .product-card__title,
	.tax-product_tag .product-card__title,
	.post-type-archive-product .product-card__title {
		font-size: 13px;
		line-height: 1.35;
		min-height: 34px;
	}
	.tax-product_cat .product-card__price .price,
	.tax-product_tag .product-card__price .price,
	.post-type-archive-product .product-card__price .price {
		font-size: 1rem;
	}
	.tax-product_cat .product-card__actions .btn,
	.tax-product_tag .product-card__actions .btn,
	.post-type-archive-product .product-card__actions .btn {
		padding: 8px 10px;
		font-size: 13px;
	}
	.tax-product_cat .woocommerce-pagination ul,
	.tax-product_tag .woocommerce-pagination ul,
	.post-type-archive-product .woocommerce-pagination ul {
		justify-content: center;
		margin-top: 18px;
	}
	.tax-product_cat .woocommerce-pagination li > *,
	.tax-product_tag .woocommerce-pagination li > *,
	.post-type-archive-product .woocommerce-pagination li > * {
		min-width: 34px;
		height: 34px;
		font-size: 12px;
	}
	.tax-product_cat .lg-tax-desc__inner,
	.tax-product_tag .lg-tax-desc__inner,
	.post-type-archive-product .lg-tax-desc__inner {
		padding: 12px;
	}
	.single-product .page-wrap,
	.single-product .container,
	.single-product .content-sidebar-wrap,
	.single-product .site-main,
	.single-product div.product,
	.single-product div.product .summary,
	.single-product .woocommerce-tabs,
	.single-product .woocommerce-tabs .panel {
		min-width: 0;
		max-width: 100%;
		overflow-x: hidden;
	}
	.single-product form.cart {
		display: grid;
		grid-template-columns: 1fr;
		gap: 8px;
	}
	.single-product .quantity .qty {
		width: 100%;
		max-width: 120px;
	}
	.single-product .single_add_to_cart_button {
		width: 100% !important;
		padding: 12px 14px !important;
		font-size: 15px !important;
	}
	.single-product .woocommerce-tabs ul.tabs li a {
		padding: 10px 12px;
		font-size: 13px;
	}
}

@media (max-width: 420px) {
	.home .products-section .product-card__img-wrap {
		height: 155px;
		min-height: 155px;
	}
	.tax-product_cat .product-card__img-wrap,
	.tax-product_tag .product-card__img-wrap,
	.post-type-archive-product .product-card__img-wrap {
		height: 155px;
		min-height: 155px;
	}
}

/* Product taxonomy description: collapsed below products */
.lg-tax-desc {
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid var(--lg-border);
}
.lg-tax-desc__inner {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 14px 16px;
}
.lg-tax-desc__title {
	font-size: 15px;
	margin-bottom: 10px;
}
.lg-tax-desc__content {
	color: #475569;
	font-size: 14px;
	line-height: 1.7;
}
.lg-tax-desc__content p:last-child {
	margin-bottom: 0;
}
.lg-tax-desc__inner.is-collapsed .lg-tax-desc__content {
	max-height: 78px;
	overflow: hidden;
	position: relative;
}
.lg-tax-desc__inner.is-collapsed .lg-tax-desc__content::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 40px;
	background: linear-gradient(to bottom, rgba(248,250,252,0), #f8fafc 78%);
}
.lg-tax-desc__toggle {
	margin-top: 10px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #fff;
	border: 1px solid #cbd5e1;
	border-radius: 999px;
	padding: 6px 12px;
	font-size: 13px;
	font-weight: 600;
	color: #334155;
}
.lg-tax-desc__toggle:hover {
	border-color: var(--lg-red);
	color: var(--lg-red);
}

/* Single product long description: collapsed by default */
.lg-product-desc {
	margin-top: 6px;
}
.lg-product-desc__inner {
	position: relative;
	transition: max-height .25s ease;
}
.lg-product-desc__content {
	font-size: 14px;
	line-height: 1.7;
	color: var(--lg-gray-700);
}
.lg-product-desc__content p:last-child {
	margin-bottom: 0;
}
.lg-product-desc__inner.is-collapsed .lg-product-desc__content {
	max-height: 320px;
	overflow: hidden;
	position: relative;
}
.lg-product-desc__inner.is-collapsed .lg-product-desc__content::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 64px;
	background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 82%);
	pointer-events: none;
}
.lg-product-desc__toggle {
	margin-top: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-left: auto;
	margin-right: auto;
	background: #fff;
	border: 1px solid #d0d5dd;
	border-radius: 999px;
	padding: 8px 16px;
	font-size: 14px;
	font-weight: 700;
	color: #1f2937;
	cursor: pointer;
	transition: color var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.lg-product-desc__toggle:hover {
	border-color: var(--lg-red);
	color: var(--lg-red);
	box-shadow: 0 6px 18px rgba(2, 6, 23, 0.08);
}

.products-slider .slick-slide { padding: 0 6px; }
.products-slider .slick-list { margin: 0 -6px; }
.products-slider .product-card { height: 100%; }
.sale-section .products-slider {
	list-style: none;
	margin: 0;
	padding: 0;
}
.products-slider .sale-slider-arrow {
	width: auto;
	height: 36px;
	background: var(--lg-white) !important;
	border: 1px solid var(--lg-border);
	border-radius: 999px;
	color: var(--lg-dark) !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 0 12px;
	box-shadow: 0 2px 10px rgba(2, 6, 23, 0.08);
	transition: border-color var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
	z-index: 3;
}
.products-slider .sale-slider-arrow:hover {
	border-color: var(--lg-red);
	color: var(--lg-red) !important;
	box-shadow: 0 4px 16px rgba(165, 0, 52, 0.18);
}
.products-slider .sale-slider-arrow:active {
	transform: translateY(1px);
}
.products-slider .sale-slider-arrow--prev { left: -8px; }
.products-slider .sale-slider-arrow--next { right: -8px; }
.products-slider .sale-slider-arrow:before {
	content: none !important;
	display: none !important;
}
.products-slider .sale-slider-arrow span:first-child,
.products-slider .sale-slider-arrow span:last-child {
	font-size: 18px;
	line-height: 1;
}
.products-slider .sale-slider-arrow.slick-disabled {
	opacity: .45;
	pointer-events: none;
}

@media (max-width: 768px) {
	.products-slider .slick-list {
		margin: 0;
	}
	.products-slider .slick-slide {
		padding: 0 5px;
		height: auto;
	}
	.products-slider .slick-track {
		display: flex;
	}
	.products-slider .slick-slide > div {
		display: flex;
		height: 100%;
	}
	.products-slider .slick-slide > div > li.product,
	.products-slider .slick-slide > div > li.product-card {
		width: 100% !important;
		margin: 0 !important;
	}
	.products-slider .slick-dots {
		display: none !important;
	}
	.products-slider .sale-slider-arrow {
		display: none !important;
	}
}

/* ─── Sale Section ───────────────────────────────────────────────── */
.sale-section { background: var(--lg-gray-100); }
.sale-title { font-size: 1.5rem; }
.badge-hot {
	background: var(--lg-red); color: var(--lg-white);
	font-size: 11px; font-weight: 700; padding: 2px 8px;
	border-radius: 3px; animation: pulse 1.5s infinite;
}
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:.7; } }

/* ─── Why / Blog / Contact Section Redesign ─────────────────────── */
.why-section {
	background: linear-gradient(180deg, #fff 0%, #f8f9fc 100%);
}
.why-shell {
	display: grid;
	grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
	gap: 24px;
	align-items: stretch;
}
.why-intro {
	padding: 28px;
	border-radius: 16px;
	background: var(--lg-dark);
	color: #fff;
	box-shadow: 0 16px 36px rgba(22, 22, 22, 0.18);
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.why-kicker {
	display: inline-flex;
	align-items: center;
	width: max-content;
	padding: 6px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .9px;
}
.why-intro .section-title {
	color: #fff;
	font-size: clamp(1.25rem, 2.4vw, 1.7rem);
	line-height: 1.35;
	margin: 0;
}
.why-intro .section-title::before {
	background: var(--lg-red);
}
.why-intro p {
	margin: 0;
	color: rgba(255, 255, 255, 0.82);
	font-size: 14px;
	line-height: 1.7;
}
.why-hotline {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	border-radius: 10px;
	background: #fff;
	color: var(--lg-dark);
	font-weight: 700;
	width: max-content;
	margin-top: auto;
	transition: transform var(--transition), box-shadow var(--transition);
}
.why-hotline:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
	color: var(--lg-red);
}
.why-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}
.why-item {
	padding: 24px 20px;
	border: 1px solid #ebeef3;
	border-radius: 14px;
	background: #fff;
	transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.why-item:hover {
	border-color: rgba(165, 0, 52, 0.26);
	box-shadow: 0 10px 24px rgba(165, 0, 52, 0.1);
	transform: translateY(-2px);
}
.why-icon {
	width: 58px;
	height: 58px;
	border-radius: 12px;
	background: rgba(165, 0, 52, 0.08);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 14px;
}
.why-icon svg { color: var(--lg-red); }
.why-item h3 {
	font-size: 16px;
	margin-bottom: 8px;
	line-height: 1.35;
}
.why-item p {
	margin: 0;
	color: var(--lg-gray-700);
	font-size: 13px;
	line-height: 1.65;
}

.blog-section {
	background: #f4f5f8;
	border-top: 1px solid #e8ebf1;
	border-bottom: 1px solid #e8ebf1;
}
.blog-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}
.blog-card {
	background: var(--lg-white);
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid #e7eaf0;
	transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.blog-card--featured {
	border-color: rgba(165, 0, 52, 0.2);
}
.blog-card:hover {
	box-shadow: 0 14px 28px rgba(17, 20, 27, 0.12);
	transform: translateY(-2px);
	border-color: rgba(165, 0, 52, 0.2);
}
.blog-card__img-wrap { display: block; overflow: hidden; aspect-ratio: 16 / 10; background: #f1f3f7; }
.blog-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.blog-card:hover .blog-card__img { transform: scale(1.04); }
.blog-card__body { padding: 16px; }
.blog-card__meta {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	font-size: 11px;
	color: var(--lg-gray-500);
	margin-bottom: 10px;
}
.blog-card__cat a { color: var(--lg-red); font-weight: 600; }
.blog-card__title { font-size: 16px; font-weight: 700; margin-bottom: 8px; line-height: 1.42; }
.blog-card__title a:hover { color: var(--lg-red); }
.blog-card__excerpt {
	font-size: 13px;
	color: var(--lg-gray-700);
	line-height: 1.62;
	margin-bottom: 12px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.blog-card__more { color: var(--lg-red); font-size: 13px; font-weight: 700; }

.contact-section {
	background: radial-gradient(circle at 20% 20%, #232833 0%, #161a24 55%, #11141c 100%);
	color: var(--lg-white);
}
.contact-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
	gap: 24px;
	align-items: stretch;
}
.contact-info {
	padding: 28px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.06);
	-webkit-backdrop-filter: blur(1px);
	backdrop-filter: blur(1px);
	border: 1px solid rgba(255, 255, 255, 0.09);
}
.contact-kicker {
	display: inline-flex;
	padding: 6px 10px;
	border-radius: 999px;
	background: rgba(165, 0, 52, 0.22);
	color: #ffd8e6;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .8px;
	margin-bottom: 10px;
}
.contact-info h2 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); color: var(--lg-white); margin-bottom: 10px; }
.contact-info p { color: rgba(255,255,255,.78); margin-bottom: 20px; max-width: 55ch; }
.contact-list { display: flex; flex-direction: column; gap: 12px; }
.contact-list li { display: flex; align-items: flex-start; gap: 12px; padding: 10px; border-radius: 10px; background: rgba(255,255,255,.04); }
.contact-list li svg { color: #ff4d87; flex-shrink: 0; margin-top: 2px; }
.contact-list li strong { display: block; font-size: 11px; font-weight: 700; color: rgba(255,255,255,.56); text-transform: uppercase; letter-spacing: .5px; }
.contact-list li a, .contact-list li span { color: rgba(255,255,255,.95); font-weight: 500; }
.contact-list li a:hover { color: #fff; text-decoration: underline; }
.contact-form-wrap {
	background: var(--lg-white);
	padding: 26px;
	border-radius: 16px;
	box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
	color: var(--lg-dark);
}
.contact-form-wrap h3 {
	color: var(--lg-dark);
	margin-bottom: 16px;
	font-size: 1.2rem;
}

@media (max-width: 1100px) {
	.why-shell {
		grid-template-columns: minmax(0, 1fr);
	}
	.why-intro {
		padding: 24px;
	}
	.blog-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 768px) {
	.why-cards {
		grid-template-columns: 1fr;
	}
	.blog-grid {
		grid-template-columns: 1fr;
		gap: 14px;
	}
	.blog-card__img-wrap {
		aspect-ratio: 16 / 9;
	}
	.contact-grid {
		grid-template-columns: 1fr;
	}
	.contact-info,
	.contact-form-wrap {
		padding: 20px;
	}
}

/* ─── Archive / Blog page ────────────────────────────────────────── */
.archive-header { margin-bottom: 20px; padding-bottom: 16px; border-bottom: 2px solid var(--lg-border); }
.archive-header h1 { font-size: 1.6rem; }
.term-desc { color: var(--lg-gray-700); font-size: 14px; margin-top: 8px; }
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 992px) { .posts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .posts-grid { grid-template-columns: 1fr; } }
.post-card { border-radius: var(--radius); overflow: hidden; border: 1.5px solid var(--lg-border); background: var(--lg-white); }
.post-card__img-wrap { display: block; aspect-ratio: 4/3; overflow: hidden; }
.post-card__img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 16px; }
.post-card__title { font-size: 15px; font-weight: 700; margin-bottom: 8px; line-height: 1.4; }
.post-card__title a:hover { color: var(--lg-red); }
.post-card__excerpt { font-size: 13px; color: var(--lg-gray-700); }
.post-card__footer { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.post-card__footer time { font-size: 12px; color: var(--lg-gray-500); }
.read-more { font-size: 13px; color: var(--lg-red); font-weight: 600; }

/* ─── Single Post ────────────────────────────────────────────────── */
.single-post .content-sidebar-wrap {
	grid-template-columns: minmax(0, 1fr) 300px;
	align-items: start;
}
.single-post .site-main { min-width: 0; }
.single-post .entry-header { margin-bottom: 24px; }
.single-post .entry-title { font-size: 1.8rem; line-height: 1.3; margin-bottom: 12px; }
.entry-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; color: var(--lg-gray-500); margin-bottom: 16px; }
.entry-meta svg { color: var(--lg-red); }
.entry-meta > * { display: flex; align-items: center; gap: 5px; }
.entry-featured-img { border-radius: var(--radius); overflow: hidden; margin-bottom: 24px; }
.entry-featured-img img { width: 100%; max-height: 500px; object-fit: cover; }
.entry-content { font-size: 16px; line-height: 1.8; min-width: 0; overflow: hidden; }
.entry-content > * { max-width: 100%; }
.entry-content p { margin-bottom: 1.25rem; }
.entry-content h2, .entry-content h3 { margin: 1.5rem 0 0.75rem; }
.entry-content img { border-radius: var(--radius-sm); margin: 1rem 0; max-width: 100% !important; height: auto !important; }
.entry-content figure,
.entry-content .wp-caption,
.entry-content .wp-block-image,
.entry-content .wp-block-gallery {
	max-width: 100% !important;
	height: auto !important;
}
.entry-content ul, .entry-content ol { padding-left: 1.5rem; margin-bottom: 1rem; list-style: disc; }
.entry-content li { margin-bottom: .5rem; }
.entry-content blockquote { border-left: 4px solid var(--lg-red); padding: 12px 20px; background: var(--lg-gray-100); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 1.5rem 0; font-style: italic; }
.entry-content table:not(.shop_table):not(.cart) {
	width: 100% !important;
	max-width: 100% !important;
	border-collapse: collapse;
	margin: 1rem 0;
	display: block;
	overflow-x: auto;
	white-space: nowrap;
}
.entry-content table:not(.shop_table):not(.cart) th,
.entry-content table:not(.shop_table):not(.cart) td { border: 1px solid var(--lg-border); padding: 10px 14px; text-align: left; }
.entry-content table:not(.shop_table):not(.cart) th { background: var(--lg-gray-100); font-weight: 700; }
.entry-content iframe,
.entry-content embed,
.entry-content object,
.entry-content video {
	max-width: 100% !important;
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 16 / 9;
	display: block;
}
.entry-content pre {
	max-width: 100%;
	overflow-x: auto;
	padding: 12px;
	border-radius: var(--radius-sm);
	background: #111;
	color: #fff;
}
.entry-content [style*="width"] { max-width: 100% !important; }
.entry-footer { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--lg-border); display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.entry-tags a { background: var(--lg-gray-100); padding: 3px 10px; border-radius: var(--radius-sm); font-size: 12px; font-weight: 600; margin-right: 4px; }
.entry-tags a:hover { background: var(--lg-red); color: var(--lg-white); }
.post-share { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--lg-gray-500); margin-left: auto; }
.share-btn { padding: 6px 12px; border-radius: var(--radius-sm); font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.share-fb { background: #1877f2; color: var(--lg-white); }
.post-navigation .nav-links { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; margin-top: 30px; }
.post-navigation .nav-links > * { font-size: 13px; color: var(--lg-red); font-weight: 600; }
@media (max-width: 1100px) {
	.single-post .content-sidebar-wrap { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 768px) {
	.single-post .entry-title { font-size: 1.45rem; }
	.entry-content { font-size: 15px; line-height: 1.75; }
	.entry-content table { font-size: 13px; }
	.post-share { margin-left: 0; }
}

/* ─── Sidebar ────────────────────────────────────────────────────── */
.sidebar,
.site-sidebar { display: flex; flex-direction: column; gap: 20px; }
.widget,
.site-sidebar .widget {
	background: var(--lg-white);
	border: 1.5px solid var(--lg-border);
	border-radius: var(--radius);
	overflow: hidden;
}
.widget-title {
	background: var(--lg-gray-100); padding: 12px 16px;
	font-size: 14px; font-weight: 700; text-transform: uppercase;
	letter-spacing: .5px; color: var(--lg-dark);
	border-bottom: 1px solid var(--lg-border);
}
.widget > *,
.site-sidebar .widget > * { padding: 0 16px; }
.widget-title { padding: 12px 16px; }
.widget ul,
.site-sidebar .widget ul { padding: 12px 16px; }
.widget ul li,
.site-sidebar .widget ul li { padding: 8px 0; border-bottom: 1px solid var(--lg-gray-100); font-size: 13px; }
.widget ul li:last-child,
.site-sidebar .widget ul li:last-child { border-bottom: none; }
.widget ul li a:hover,
.site-sidebar .widget ul li a:hover { color: var(--lg-red); }
.widget ul li a,
.site-sidebar .widget ul li a { display: inline-block; }
.widget .product_list_widget .product-thumbnail,
.site-sidebar .widget .product_list_widget .product-thumbnail { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--lg-gray-100); }
.widget .product_list_widget img,
.site-sidebar .widget .product_list_widget img { width: 60px; height: 60px; object-fit: cover; }
.woocommerce-widget-layered-nav-list li { display: flex; gap: 8px; }
select.form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23888'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 20px; -webkit-appearance: none; padding-right: 36px; }

/* ─── WooCommerce overrides ──────────────────────────────────────── */
.woocommerce-breadcrumb { display: none; } /* We use custom breadcrumb */
.woocommerce-archive-header { margin-bottom: 20px; }
.woocommerce-sorting { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.woocommerce-result-count { font-size: 13px; color: var(--lg-gray-500); }
.woocommerce-ordering select { padding: 8px 32px 8px 12px; border: 1.5px solid var(--lg-border); border-radius: var(--radius-sm); font-size: 13px; }
.woocommerce-pagination ul { display: flex; list-style: none; gap: 6px; flex-wrap: wrap; margin-top: 30px; }
.woocommerce-pagination li > * { display: flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; border-radius: var(--radius-sm); font-weight: 600; font-size: 13px; border: 1.5px solid var(--lg-border); }
.woocommerce-pagination li .current { background: var(--lg-red); color: var(--lg-white); border-color: var(--lg-red); }
.woocommerce-pagination li a:hover { border-color: var(--lg-red); color: var(--lg-red); }

/* Full-width layout for product detail page */
.woocommerce-page .content-sidebar-wrap.product-full-width {
	grid-template-columns: minmax(0, 1fr);
}

.single-product .site-main,
.single-product .woocommerce,
.single-product div.product {
	min-width: 0;
}

/* Single product */
div.product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 28px; align-items: start; overflow: hidden; }
@media (max-width: 768px) {
	div.product { grid-template-columns: 1fr; }
	.single-product div.product .woocommerce-product-gallery {
		max-height: 270px;
	}
	.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__image img {
		max-height: 240px !important;
		width: 100%;
		object-fit: contain;
		object-position: center;
	}
	.single-product div.product .flex-control-thumbs {
		display: none !important;
	}
}
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
}
.single-product div.product .woocommerce-product-gallery {
	border-radius: var(--radius);
	overflow: hidden;
	border: 1.5px solid var(--lg-border);
	background: #fff;
	padding: 10px;
}
.single-product div.product .woocommerce-product-gallery__wrapper { background: #fff; }
.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__image a {
	display: block;
	background: #fff;
	border-radius: var(--radius-sm);
}
.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__image img {
	width: 100%;
	height: auto;
	object-fit: contain;
}
.single-product div.product .flex-control-thumbs {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 8px;
	margin-top: 10px;
}
.single-product div.product .flex-control-thumbs li {
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
	border: 1px solid var(--lg-border);
	border-radius: var(--radius-sm);
	overflow: hidden;
}

.single-product div.product .summary {
	padding: 4px 2px;
	min-width: 0;
}
.single-product div.product .summary,
.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-tabs .panel {
	overflow-wrap: anywhere;
	word-break: break-word;
}
.summary .product_title { font-size: 1.6rem; margin-bottom: 12px; }
.summary .price { font-size: 1.6rem; font-weight: 800; color: var(--lg-red); margin-bottom: 16px; }
.woocommerce-product-details__short-description { font-size: 14px; line-height: 1.7; color: var(--lg-gray-700); margin-bottom: 20px; }
.woocommerce-variation-price .price { font-size: 1.4rem; }
.quantity .qty { width: 70px; text-align: center; border: 1.5px solid var(--lg-border); border-radius: var(--radius-sm); padding: 8px; }
.single_add_to_cart_button { background: var(--lg-red) !important; color: var(--lg-white) !important; border-color: var(--lg-red) !important; padding: 14px 28px !important; font-size: 16px !important; font-weight: 700 !important; border-radius: var(--radius-sm) !important; }
.single_add_to_cart_button:hover { background: var(--lg-red-dark) !important; }
.single-product form.cart {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}
.single-product .product_meta {
	margin-top: 16px;
	padding-top: 12px;
	border-top: 1px solid var(--lg-border);
	font-size: 13px;
	color: var(--lg-gray-700);
}
.price-update-notice {
	margin-top: 10px;
	padding: 10px 12px;
	background-color: #fef3cd;
	border: 1px solid #ffeeba;
	border-radius: var(--radius-sm);
	font-size: 13px;
	line-height: 1.5;
	color: #856404;
}
.product-promises { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--lg-border); }
.promise-item { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--lg-gray-700); }
.promise-item svg { color: var(--lg-red); flex-shrink: 0; }
.single-product-quick-buy { margin-top: 10px; }
/* Tabs */
.woocommerce-tabs { margin-top: 30px; grid-column: 1 / -1; }
.woocommerce-tabs ul.tabs { display: flex; gap: 0; border-bottom: 2px solid var(--lg-border); list-style: none; }
.woocommerce-tabs ul.tabs li a { display: block; padding: 12px 20px; font-weight: 700; font-size: 14px; color: var(--lg-gray-700); border-bottom: 2px solid transparent; margin-bottom: -2px; }
.woocommerce-tabs ul.tabs li.active a { color: var(--lg-red); border-bottom-color: var(--lg-red); }
.woocommerce-tabs .panel { padding: 24px 0; font-size: 14px; line-height: 1.8; }
.single-product .woocommerce-tabs .panel table {
	width: 100%;
	display: block;
	overflow-x: auto;
	border-collapse: collapse;
}
.single-product .woocommerce-tabs .panel img,
.single-product .woocommerce-tabs .panel iframe,
.single-product .woocommerce-tabs .panel video {
	max-width: 100%;
	height: auto;
}
.related.products { grid-column: 1 / -1; margin-top: 10px; }
.related.products h2 { margin-bottom: 20px; }
.single-product .related {
	position: relative;
	padding: 0 26px;
}
.single-product .related ul.products {
	display: block !important;
	margin: 0;
	padding: 0;
	list-style: none;
}
.single-product .related ul.products .slick-list { margin: 0 -7px; }
.single-product .related ul.products .slick-slide { padding: 0 7px; height: auto; }
.single-product .related ul.products .slick-track { display: flex; }
.single-product .related ul.products .slick-slide > div { display: flex; height: 100%; }
.single-product .related ul.products li.product,
.single-product .related ul.products li.product-card {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	height: 100%;
	display: flex;
	flex-direction: column;
}
.single-product .related ul.products .slick-slide > div > li.product,
.single-product .related ul.products .slick-slide > div > li.product-card {
	width: 100%;
}
.single-product .related ul.products li.product .product-card,
.single-product .related ul.products li.product-card {
	height: 100%;
}
.single-product .related .product-card__img-wrap {
	aspect-ratio: 1 / 1;
	min-height: 190px;
	height: 190px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
}
.single-product .related .product-card__img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 10px;
}
.single-product .related .product-card__body {
	padding: 12px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.single-product .related .product-card__title {
	font-size: 13px;
	line-height: 1.45;
	min-height: 38px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-bottom: 0;
}
.single-product .related .product-card__cat,
.single-product .related .product-card__specs {
	display: none;
}
.single-product .related .product-card__price {
	min-height: 26px;
	margin-bottom: 0;
}
.single-product .related .product-card__actions {
	display: grid;
	grid-template-columns: 1fr;
	gap: 6px;
	margin-top: auto;
}
.single-product .related .product-card__actions .btn {
	min-height: 34px;
	font-size: 12px;
	padding: 8px 10px;
	line-height: 1.2;
}
.single-product .related .product-card .badge-sale,
.single-product .related .product-card .badge-featured,
.single-product .related .product-card .sale-percent {
	font-size: 10px;
}
.single-product .related .slick-prev,
.single-product .related .slick-next {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--lg-red) !important;
	z-index: 3;
	position: absolute;
	top: 40%;
	transform: translateY(-50%);
	display: flex !important;
	align-items: center;
	justify-content: center;
}
.single-product .related .slick-prev:hover,
.single-product .related .slick-next:hover {
	background: var(--lg-red-dark) !important;
}
.single-product .related .slick-prev { left: -2px; }
.single-product .related .slick-next { right: -2px; }
.single-product .related .slick-prev:before,
.single-product .related .slick-next:before {
	font-size: 16px;
	opacity: 1;
	color: #fff;
}

/* Alternative clean style for related cards */
.single-product .related .product-card--related {
	border: 1px solid #ececec;
	border-radius: 12px;
	box-shadow: 0 2px 10px rgba(0,0,0,.06);
	background: #fff;
	overflow: hidden;
	transition: transform .2s ease, box-shadow .2s ease;
}
.single-product .related .product-card--related:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0,0,0,.12);
	border-color: #e3e3e3;
}
.single-product .related .product-card--related .product-card__img-wrap {
	background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
	border-bottom: 1px solid #f0f0f0;
	min-height: 190px;
	height: 190px;
	aspect-ratio: 1 / 1;
}
.single-product .related .product-card--related .product-card__img {
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	object-fit: contain;
	padding: 12px;
}
.single-product .related .product-card--related .badge-sale,
.single-product .related .product-card--related .badge-featured,
.single-product .related .product-card--related .sale-percent {
	display: none;
}
.single-product .related .product-card--related .product-card__body {
	padding: 12px;
	gap: 7px;
	min-height: 155px;
}
.single-product .related .product-card--related .product-card__cat,
.single-product .related .product-card--related .product-card__specs {
	display: none;
}
.single-product .related .product-card--related .product-card__title {
	font-size: 13px;
	line-height: 1.45;
	min-height: 38px;
	max-height: 38px;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.single-product .related .product-card--related .product-card__price {
	min-height: 24px;
	margin-top: 2px;
}
.single-product .related .product-card--related .product-card__actions {
	margin-top: auto;
	display: block;
}
.single-product .related .product-card--related .product-card__actions .btn {
	width: 100%;
	min-height: 36px;
	border-radius: 8px;
	font-weight: 700;
}

/* Final override: related slider layout and image sizing */
.single-product .related {
	position: relative;
	padding: 0 34px;
}
.single-product .related ul.products .slick-list {
	margin: 0 -8px;
	overflow: hidden;
}
.single-product .related ul.products .slick-slide {
	padding: 0 8px;
	height: auto;
}
.single-product .related ul.products .slick-slide > div {
	height: 100%;
}
.single-product .related .product-card--related {
	height: 100%;
	display: flex;
	flex-direction: column;
}
.single-product .related .product-card--related .product-card__img-wrap {
	height: 220px;
	min-height: 220px;
	max-height: 220px;
	padding: 0;
}
.single-product .related .product-card--related .product-card__img {
	width: 100% !important;
	height: 100% !important;
	object-fit: contain !important;
	padding: 10px;
}
.single-product .related .product-card--related .product-card__body {
	min-height: 168px;
	padding: 12px;
}

/* Hide default slick text arrows and use centered icon arrows */
.single-product .related .slick-prev,
.single-product .related .slick-next {
	position: absolute;
	top: 42%;
	transform: translateY(-50%);
	width: 36px;
	height: 36px;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	background: var(--lg-red) !important;
	color: #fff !important;
	border-radius: 50%;
	z-index: 4;
	font-size: 0;
	line-height: 0;
}
.single-product .related .slick-prev { left: -2px; }
.single-product .related .slick-next { right: -2px; }
.single-product .related .slick-prev:before,
.single-product .related .slick-next:before {
	content: '' !important;
	display: none !important;
}
.single-product .related .slick-prev span,
.single-product .related .slick-next span {
	font-size: 20px;
	line-height: 1;
	font-weight: 700;
	display: block;
}

@media (max-width: 768px) {
	.single-product .related { padding: 0 24px; }
	.single-product .related .product-card--related .product-card__img-wrap {
		height: 180px;
		min-height: 180px;
		max-height: 180px;
	}
	.single-product .related .slick-prev,
	.single-product .related .slick-next {
		width: 30px;
		height: 30px;
		top: 38%;
	}
}

@media (max-width: 768px) {
	.single-product .related {
		padding: 0 18px;
	}
	.single-product .related .product-card--related .product-card__img-wrap {
		min-height: 172px;
		height: 172px;
	}
	.single-product .related .slick-prev,
	.single-product .related .slick-next {
		width: 30px;
		height: 30px;
		top: 38%;
	}
}

/* Related products redesign: cleaner spacing and readable cards on all devices. */
.single-product .related.products {
	margin-top: 18px;
}
.single-product .related.products > h2 {
	font-size: clamp(20px, 2vw, 26px);
	line-height: 1.25;
	margin-bottom: 14px;
}
.single-product .related {
	position: relative;
	padding: 0 30px !important;
}
.single-product .related ul.products {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
	display: block !important;
}
.single-product .related ul.products .slick-list {
	margin: 0 -10px !important;
	padding: 2px 0 10px;
}
.single-product .related ul.products .slick-track {
	display: flex;
}
.single-product .related ul.products .slick-slide {
	height: auto;
	padding: 0 10px;
}
.single-product .related ul.products .slick-slide > div {
	display: flex;
	height: 100%;
}
.single-product .related ul.products li.product,
.single-product .related ul.products li.product-card,
.single-product .related ul.products .slick-slide > div > li.product,
.single-product .related ul.products .slick-slide > div > li.product-card {
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
	height: 100%;
	min-width: 0;
	display: flex;
	flex-direction: column;
}
.single-product .related .product-card--related {
	height: 100%;
	display: flex;
	flex-direction: column;
	border: 1px solid var(--lg-border);
	border-radius: 14px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 6px 20px rgba(0, 0, 0, .06);
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.single-product .related .product-card--related:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 28px rgba(0, 0, 0, .12);
	border-color: #e5e5e5;
}
.single-product .related .product-card--related .product-card__img-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 210px !important;
	height: 210px !important;
	max-height: 210px !important;
	padding: 8px;
	background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
	border-bottom: 1px solid #f0f0f0;
	position: relative;
}
.single-product .related .product-card--related .product-card__img {
	width: 100% !important;
	height: 100% !important;
	object-fit: contain !important;
	padding: 10px;
}
.single-product .related .product-card--related .sale-percent {
	position: absolute;
	top: 10px;
	right: 10px;
	padding: 4px 7px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	color: #fff;
	background: var(--lg-red);
	box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
	z-index: 2;
}
.single-product .related .product-card--related .badge-sale,
.single-product .related .product-card--related .badge-featured {
	display: none;
}
.single-product .related .product-card--related .product-card__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 13px;
	min-height: 166px;
}
.single-product .related .product-card--related .product-card__title {
	font-size: 14px;
	line-height: 1.45;
	min-height: 40px;
	margin-bottom: 0;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.single-product .related .product-card--related .product-card__price {
	min-height: 26px;
	font-size: 15px;
	font-weight: 700;
	margin: 2px 0 0;
}
.single-product .related .product-card--related .product-card__actions {
	margin-top: auto;
	display: block;
}
.single-product .related .product-card--related .product-card__actions .btn {
	width: 100%;
	min-height: 38px;
	border-radius: 10px;
	font-weight: 700;
	font-size: 13px;
	line-height: 1.2;
	padding: 9px 10px;
}
.single-product .related .slick-prev,
.single-product .related .slick-next {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid #e2e2e2;
	background: #fff !important;
	box-shadow: 0 6px 16px rgba(0, 0, 0, .14);
	top: 43%;
	z-index: 4;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
}
.single-product .related .slick-prev { left: -3px; }
.single-product .related .slick-next { right: -3px; }
.single-product .related .slick-prev span,
.single-product .related .slick-next span {
	color: var(--lg-red);
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
}

@media (max-width: 992px) {
	.single-product .related {
		padding: 0 18px !important;
	}
	.single-product .related .product-card--related .product-card__img-wrap {
		min-height: 186px !important;
		height: 186px !important;
		max-height: 186px !important;
	}
}

@media (max-width: 768px) {
	.single-product .related {
		padding: 0 0 8px !important;
	}
	.single-product .related ul.products:not(.slick-initialized) {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}
	.single-product .related ul.products .slick-list {
		margin: 0 -6px !important;
	}
	.single-product .related ul.products .slick-slide {
		padding: 0 6px;
	}
	.single-product .related .product-card--related .product-card__img-wrap {
		min-height: 160px !important;
		height: 160px !important;
		max-height: 160px !important;
	}
	.single-product .related .product-card--related .product-card__body {
		padding: 11px;
		min-height: 152px;
	}
	.single-product .related .product-card--related .product-card__title {
		font-size: 13px;
	}
	.single-product .related .slick-prev,
	.single-product .related .slick-next {
		display: none !important;
	}
}

@media (max-width: 992px) {
	.single-product div.product .flex-control-thumbs {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	.single-product div.product .summary {
		margin-top: 8px !important;
	}
	.single-product div.product .flex-control-thumbs {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.woocommerce-tabs ul.tabs {
		overflow-x: auto;
		white-space: nowrap;
	}
}

/* ─── WooCommerce Cart / Checkout ────────────────────────────────── */
.woocommerce-cart .content-sidebar-wrap.page-full-width,
.woocommerce-checkout .content-sidebar-wrap.page-full-width,
.woocommerce-account .content-sidebar-wrap.page-full-width {
	grid-template-columns: minmax(0, 1fr);
	gap: 0;
}
.woocommerce-cart .page-wrap > .container {
	max-width: 1200px;
}
.woocommerce-cart .single-page,
.woocommerce-checkout .single-page,
.woocommerce-account .single-page {
	background: var(--lg-white);
	border: 1px solid #e8eaf0;
	border-radius: 14px;
	padding: 22px;
	box-shadow: 0 10px 24px rgba(13, 18, 30, 0.05);
}
.woocommerce-cart .entry-content,
.woocommerce-checkout .entry-content,
.woocommerce-account .entry-content {
	font-size: 14px;
	line-height: 1.7;
}
.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce,
.woocommerce-account .woocommerce {
	font-size: 14px;
}

.woocommerce-cart .woocommerce-notices-wrapper {
	margin-bottom: 14px;
}

.woocommerce-cart form.woocommerce-cart-form {
	background: #fff;
	border: 1px solid #eceff4;
	border-radius: 12px;
	overflow: visible;
}

.woocommerce-cart table.cart {
	width: 100%;
	table-layout: auto;
	border-collapse: collapse;
	border-spacing: 0;
	border: 0;
	overflow: visible;
	background: #fff;
}
.woocommerce-cart table.cart th,
.woocommerce-cart table.cart td {
	padding: 14px 12px;
	border-bottom: 1px solid #eceff4;
	vertical-align: middle;
	white-space: normal;
}
.woocommerce-cart table.cart .product-name {
	min-width: 200px;
}
.woocommerce-cart table.cart .product-name a {
	white-space: normal;
	word-break: break-word;
	line-height: 1.45;
	font-weight: 600;
	color: var(--lg-dark);
}
.woocommerce-cart table.cart .product-name a:hover {
	color: var(--lg-red);
}
.woocommerce-cart table.cart .product-thumbnail {
	width: 112px;
}
.woocommerce-cart table.cart .product-thumbnail img {
	display: block !important;
	width: 84px !important;
	height: 84px !important;
	object-fit: contain !important;
	border: 1px solid #eceff4 !important;
	border-radius: 10px !important;
	background: #fff !important;
	padding: 6px !important;
	margin: 0 !important;
}
.woocommerce-cart table.cart .product-price,
.woocommerce-cart table.cart .product-subtotal {
	font-weight: 700;
	color: var(--lg-dark);
}
.woocommerce-cart table.cart .product-remove a {
	width: 28px;
	height: 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #f6f7fb;
	color: #8a93a3 !important;
	font-size: 19px;
	line-height: 1;
}
.woocommerce-cart table.cart .product-remove a:hover {
	background: #ffe8ef;
	color: var(--lg-red) !important;
}
.woocommerce-cart table.cart .product-quantity .quantity {
	display: inline-flex;
	align-items: center;
	border: 1px solid #dfe3ea;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
}
.woocommerce-cart table.cart .product-quantity .qty {
	width: 68px;
	height: 40px;
	text-align: center;
	border: 0;
	outline: none;
	font-weight: 600;
	padding: 0 6px;
}
.woocommerce-cart table.cart tr:last-child td {
	border-bottom: 0;
}
.woocommerce-cart table.cart th {
	background: #f6f8fb;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .6px;
	color: #697386;
}
.woocommerce-cart .actions {
	background: #f9fafc;
}
.woocommerce-cart table.shop_table.cart td.actions {
	padding: 14px 12px;
}
.woocommerce-cart .actions-flex {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
	flex-wrap: wrap;
}
.woocommerce-cart .actions .coupon {
	display: inline-flex;
	float: none !important;
	gap: 8px;
	align-items: center;
	margin: 0;
}
.woocommerce-cart .actions .coupon input.input-text {
	height: 40px;
	min-width: 220px;
	padding: 0 12px;
	border: 1px solid #dfe3ea;
	border-radius: 8px;
}
.woocommerce-cart .actions-flex button[name="update_cart"],
.woocommerce-cart .actions-flex input[name="update_cart"] {
	min-width: 170px;
	height: 40px;
	border-radius: 8px !important;
}

.cart_totals,
.checkout {
	background: #fff;
	padding: 20px;
	border-radius: 12px;
	border: 1px solid #e7ebf2;
}
.woocommerce-cart .cart-collaterals .cart_totals {
	margin-top: 0;
	max-width: 420px;
	width: 100%;
	margin-left: auto;
}
.woocommerce-cart .cart_totals h2 {
	font-size: 1.1rem;
	margin-bottom: 12px;
	padding-bottom: 10px;
	border-bottom: 1px solid #edf0f5;
}
.woocommerce-cart .cart_totals table th,
.woocommerce-cart .cart_totals table td {
	padding: 10px 10px 10px 10px;
	border-bottom: 1px dashed #e6e9ef;
}
.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
	width: 100%;
	padding: 13px 18px !important;
	border-radius: 10px !important;
	font-size: 15px !important;
}

.woocommerce-cart .cart-collaterals {
	margin-top: 18px;
	display: flex;
	justify-content: flex-end;
}

.woocommerce-cart .wc-empty-cart-message {
	background: linear-gradient(135deg, #fff9fb 0%, #fff 100%);
	border: 1px solid #f1d9e2;
	border-radius: 14px;
	padding: 26px 18px 16px;
}
.woocommerce .cart-empty {
	text-align: center;
	padding: 0;
	color: #394150;
	font-weight: 700;
	font-size: 18px;
	background: transparent;
	border: 0;
}
.woocommerce .return-to-shop {
	text-align: center;
	margin-top: 14px;
}
.woocommerce .return-to-shop .button {
	padding: 12px 18px !important;
	border-radius: 10px !important;
}
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	border-radius: 8px;
}
input[type="submit"].button, .woocommerce button.button { background: var(--lg-red) !important; color: var(--lg-white) !important; border-radius: var(--radius-sm) !important; font-weight: 700 !important; }
input[type="submit"].button:hover, .woocommerce button.button:hover { background: var(--lg-red-dark) !important; }
.woocommerce #payment #place_order { background: var(--lg-red); font-size: 16px; }

@media (max-width: 768px) {
	.woocommerce-cart .single-page,
	.woocommerce-checkout .single-page,
	.woocommerce-account .single-page {
		padding: 12px;
	}
	.woocommerce-cart .page-wrap > .container {
		max-width: 100%;
	}
	.woocommerce-cart .page-wrap,
	.woocommerce-cart .content-sidebar-wrap,
	.woocommerce-cart .site-main,
	.woocommerce-cart .woocommerce,
	.woocommerce-cart form.woocommerce-cart-form {
		overflow-x: hidden;
		min-width: 0;
	}
	.woocommerce-cart table.cart {
		display: block;
		width: 100%;
		min-width: 0;
		overflow: visible;
		white-space: normal;
		font-size: 13px;
	}
	.woocommerce-cart table.cart thead {
		display: none;
	}
	.woocommerce-cart table.cart tbody {
		display: flex;
		flex-direction: column;
		gap: 12px;
	}
	.woocommerce-cart table.cart tbody > tr.cart_item {
		display: grid;
		grid-template-columns: 76px minmax(0, 1fr) 28px;
		grid-template-areas:
			"thumb name remove"
			"thumb price remove"
			"thumb quantity remove"
			"thumb subtotal remove";
			gap: 4px 10px;
		align-items: start;
		padding: 12px;
		border: 1px solid #eceff4;
		border-radius: 10px;
		background: #fff;
	}
	.woocommerce-cart table.cart tbody > tr.cart_item td {
		display: block;
		width: auto;
		padding: 0;
		border: 0;
		min-width: 0;
	}
	.woocommerce-cart table.cart tbody > tr.cart_item td.product-thumbnail {
		grid-area: thumb;
		width: 76px;
	}
	.woocommerce-cart table.cart tbody > tr.cart_item td.product-name {
		grid-area: name;
	}
	.woocommerce-cart table.cart tbody > tr.cart_item td.product-price {
		grid-area: price;
		display: flex;
		gap: 6px;
		align-items: center;
	}
	.woocommerce-cart table.cart tbody > tr.cart_item td.product-price::before {
		content: "Giá:";
		font-size: 12px;
		font-weight: 600;
		color: #697386;
	}
	.woocommerce-cart table.cart tbody > tr.cart_item td.product-quantity {
		grid-area: quantity;
		display: flex;
		gap: 6px;
		align-items: center;
		flex-wrap: wrap;
	}
	.woocommerce-cart table.cart tbody > tr.cart_item td.product-quantity::before {
		content: "SL:";
		font-size: 12px;
		font-weight: 600;
		color: #697386;
	}
	.woocommerce-cart table.cart tbody > tr.cart_item td.product-subtotal {
		grid-area: subtotal;
		display: flex;
		gap: 6px;
		align-items: center;
		color: var(--lg-red);
	}
	.woocommerce-cart table.cart tbody > tr.cart_item td.product-subtotal::before {
		content: "T.cộng:";
		font-size: 12px;
		font-weight: 600;
		color: #697386;
	}
	.woocommerce-cart table.cart tbody > tr.cart_item td.product-remove {
		grid-area: remove;
		text-align: right;
	}
	.woocommerce-cart table.cart tbody > tr.cart_item td.product-thumbnail img {
		width: 76px !important;
		height: 76px !important;
	}
	.woocommerce-cart table.cart .product-name {
		min-width: 0;
	}
	.woocommerce-cart table.cart .product-name a {
		font-size: 14px;
	}
	.woocommerce-cart table.cart .product-quantity .quantity {
		height: 34px;
		border-radius: 8px;
	}
	.woocommerce-cart table.cart .product-quantity .qty {
		width: 48px;
		height: 32px;
	}
	.woocommerce-cart table.cart tbody > tr:not(.cart_item) {
		display: block;
		margin: 0;
	}
	.woocommerce-cart table.cart td.actions {
		display: block;
		width: 100%;
		padding: 12px;
		border: 0;
	}
	.woocommerce-cart .actions-flex {
		flex-direction: column;
		align-items: stretch;
	}
	.woocommerce-cart .actions .coupon {
		display: grid;
		grid-template-columns: 1fr;
		gap: 8px;
		margin-right: 0;
	}
	.woocommerce-cart .actions .coupon input.input-text {
		min-width: 0;
		width: 100%;
	}
	.woocommerce-cart table.shop_table.cart td.actions button[name="update_cart"],
	.woocommerce-cart table.shop_table.cart td.actions input[name="update_cart"] {
		margin-left: 0;
		width: 100%;
		min-width: 0;
	}
	.woocommerce-cart .cart-collaterals {
		display: block;
	}
	.woocommerce-cart .cart-collaterals .cart_totals {
		max-width: 100%;
	}
}

/* ─── Modal ──────────────────────────────────────────────────────── */
.modal { position: fixed; inset: 0; z-index: 1300; display: flex; align-items: center; justify-content: center; pointer-events: none; opacity: 0; transition: opacity var(--transition); }
.modal.open { pointer-events: auto; opacity: 1; }
.modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.modal-content { position: relative; background: var(--lg-white); border-radius: var(--radius); padding: 30px; max-width: 480px; width: 90%; max-height: 90vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,.2); transform: translateY(20px); transition: transform var(--transition); z-index: 1; }
.modal.open .modal-content { transform: translateY(0); }
.modal-close-btn { position: absolute; top: 12px; right: 12px; background: var(--lg-gray-100); border-radius: 50%; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; }
.modal-content h2 { font-size: 1.3rem; margin-bottom: 8px; padding-right: 30px; }
.modal-product-name { font-size: 13px; color: var(--lg-gray-500); margin-bottom: 20px; }

/* ─── Breadcrumb ─────────────────────────────────────────────────── */
.breadcrumb { padding: 10px 0; margin-bottom: 8px; }
.breadcrumb-list { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; list-style: none; font-size: 12px; color: var(--lg-gray-500); }
.breadcrumb-item a:hover { color: var(--lg-red); }
.breadcrumb-item.active { color: var(--lg-dark); font-weight: 600; }
.breadcrumb-sep { color: var(--lg-gray-300); padding: 0 3px; }

/* ─── Pagination ─────────────────────────────────────────────────── */
.nav-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 30px; justify-content: center; }
.nav-links a, .nav-links span {
	display: flex; align-items: center; justify-content: center;
	min-width: 38px; height: 38px; border-radius: var(--radius-sm);
	border: 1.5px solid var(--lg-border); font-size: 13px; font-weight: 600;
}
.nav-links .current { background: var(--lg-red); color: var(--lg-white); border-color: var(--lg-red); }
.nav-links a:hover { border-color: var(--lg-red); color: var(--lg-red); }

/* ─── Footer ─────────────────────────────────────────────────────── */

/* Pre-footer hotline bar */
.footer-hotline-bar {
	background: var(--lg-red);
	padding: 14px 0;
}
.footer-hotline-inner {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}
.footer-hotline-text {
	display: flex;
	align-items: center;
	gap: 8px;
	color: rgba(255,255,255,.9);
	font-size: 14px;
	font-weight: 500;
}
.footer-hotline-number {
	font-size: 20px;
	font-weight: 700;
	color: var(--lg-white);
	letter-spacing: .5px;
}
.footer-hotline-number:hover { text-decoration: underline; }
.footer-hotline-note {
	font-size: 12px;
	color: rgba(255,255,255,.75);
	margin-left: auto;
}
@media (max-width: 600px) {
	.footer-hotline-inner { justify-content: center; }
	.footer-hotline-note { margin-left: 0; }
}

/* Footer main */
.site-footer { background: #1a1f2e; color: rgba(255,255,255,.8); margin-top: auto; }
.footer-widgets { padding: 48px 0 32px; }
.footer-widgets-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
	gap: 36px;
}
@media (max-width: 1024px) { .footer-widgets-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px)  { .footer-widgets-grid { grid-template-columns: 1fr; gap: 32px; } }

/* Brand col */
.footer-logo {
	display: inline-flex;
	align-items: baseline;
	gap: 5px;
	margin-bottom: 14px;
	text-decoration: none;
}
.footer-logo-lg {
	font-size: 28px;
	font-weight: 900;
	color: var(--lg-red);
	line-height: 1;
}
.footer-logo-center {
	font-size: 18px;
	font-weight: 700;
	color: var(--lg-white);
	letter-spacing: 2px;
}
.footer-tagline {
	font-size: 13px;
	color: rgba(255,255,255,.55);
	line-height: 1.75;
	margin-bottom: 22px;
}

/* Contact list */
.footer-contact-list { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-bottom: 22px; padding: 0; }
.footer-contact-list li { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; color: rgba(255,255,255,.7); }
.footer-contact-list li svg { color: var(--lg-red); flex-shrink: 0; margin-top: 2px; }
.footer-contact-list a { color: rgba(255,255,255,.85); }
.footer-contact-list a:hover { color: var(--lg-white); text-decoration: underline; }
.contact-tag {
	display: inline-block;
	font-size: 10px;
	font-weight: 700;
	padding: 1px 5px;
	border-radius: 3px;
	background: #0068ff;
	color: #fff;
	margin-left: 4px;
	vertical-align: middle;
}

/* Social buttons */
.footer-social { display: flex; gap: 8px; flex-wrap: wrap; }
.social-btn {
	width: 36px; height: 36px; border-radius: var(--radius-sm);
	background: rgba(255,255,255,.08); color: rgba(255,255,255,.75);
	display: flex; align-items: center; justify-content: center;
	transition: background var(--transition);
}
.social-btn:hover { background: var(--lg-red); color: var(--lg-white); }
.social-btn--text { width: auto; padding: 0 12px; font-size: 12px; font-weight: 700; }

/* Column titles */
.footer-col-title {
	font-size: 13px;
	font-weight: 700;
	color: var(--lg-white);
	text-transform: uppercase;
	letter-spacing: .8px;
	padding-bottom: 10px;
	margin-bottom: 16px;
	border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-col-toggle {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 0;
	border: 0;
	border-radius: 0;
	-webkit-appearance: none;
	appearance: none;
	background: transparent;
	color: var(--lg-white);
	font: inherit;
	text-align: left;
	cursor: default;
}
.footer-col-toggle:focus-visible {
	outline: 2px solid rgba(255,255,255,.45);
	outline-offset: 4px;
}
.footer-col-toggle-icon {
	display: none;
	width: 10px;
	height: 10px;
	flex-shrink: 0;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform var(--transition);
}
.footer-col-content[hidden] {
	display: none !important;
}
@media (min-width: 768px) {
	.footer-col-content[hidden] {
		display: block !important;
	}
}
.footer-col-title--sm { margin-top: 24px; }

/* Links */
.footer-links, .footer-recent-posts { list-style: none; padding: 0; }
.footer-links li { padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.05); }
.footer-links li a {
	font-size: 13px;
	color: rgba(255,255,255,.6);
	display: flex;
	align-items: center;
	gap: 6px;
	transition: color var(--transition), padding-left var(--transition);
}
.footer-links li a::before { content: '›'; color: var(--lg-red); font-size: 15px; }
.footer-links li a:hover { color: var(--lg-white); padding-left: 4px; }

/* Recent posts mini list */
.footer-recent-posts li { padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.05); }
.footer-recent-posts li a { font-size: 13px; color: rgba(255,255,255,.65); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.footer-recent-posts li a:hover { color: var(--lg-white); }
.footer-recent-posts time { display: block; font-size: 11px; color: rgba(255,255,255,.35); margin-top: 3px; }

/* Widget area override */
.site-footer .widget { background: transparent; border: none; padding: 0; }
.site-footer .widget-title { background: transparent; color: var(--lg-white); border-bottom: 1px solid rgba(255,255,255,.1); padding: 0 0 10px; margin-bottom: 14px; font-size: 13px; text-transform: uppercase; letter-spacing: .8px; }
.site-footer .widget ul { padding: 0; }

@media (max-width: 767px) {
	.footer-col--collapsible {
		padding-bottom: 2px;
		border-bottom: 1px solid rgba(255,255,255,.08);
	}
	.footer-col--collapsible .footer-col-title {
		margin-bottom: 0;
		padding-bottom: 0;
		border-bottom: 0;
	}
	.footer-col--collapsible .footer-col-toggle {
		cursor: pointer;
		padding: 0 0 14px;
	}
	.footer-col--collapsible .footer-col-toggle-icon {
		display: inline-block;
		margin-right: 2px;
	}
	.footer-col--collapsible .footer-links li:last-child,
	.footer-col--collapsible .footer-recent-posts li:last-child {
		border-bottom: 0;
	}
	.footer-col--collapsible .footer-col-content {
		padding-top: 14px;
	}
	.footer-col--collapsible.is-open .footer-col-toggle-icon {
		transform: rotate(225deg);
	}
}

/* Footer bottom */
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding: 16px 0; background: rgba(0,0,0,.15); }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.copyright { font-size: 12px; color: rgba(255,255,255,.4); }
.copyright a { color: rgba(255,255,255,.55); }
.copyright a:hover { color: var(--lg-white); }
.footer-bottom-right { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-cert {
	font-size: 11px;
	color: rgba(255,255,255,.35);
	padding: 3px 8px;
	border: 1px solid rgba(255,255,255,.12);
	border-radius: 3px;
}
.footer-nav-menu { display: flex; flex-wrap: wrap; gap: 14px; list-style: none; margin: 0; padding: 0; }
.footer-nav-menu a { font-size: 12px; color: rgba(255,255,255,.45); }
.footer-nav-menu a:hover { color: var(--lg-white); }

/* ─── Floating Buttons ───────────────────────────────────────────── */
.floating-buttons {
	position: fixed; bottom: 24px; right: 24px; z-index: 900;
	display: flex; flex-direction: column; gap: 12px; align-items: flex-end;
}
@media (max-width: 768px) {
	.floating-buttons {
		right: 12px;
		bottom: calc(env(safe-area-inset-bottom, 0px) + 10px);
		gap: 8px;
	}
	.fab {
		width: 50px;
		height: 50px;
	}
}
.fab {
	width: 48px; height: 48px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 4px 16px rgba(0,0,0,.2); transition: transform var(--transition), box-shadow var(--transition);
	cursor: pointer;
}
.fab:hover { transform: scale(1.1); box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.fab-phone { background: #25d366; color: var(--lg-white); animation: bounce 2s infinite; }
.fab-zalo { background: #0068ff; color: var(--lg-white); }
.fab-top { background: var(--lg-dark); color: var(--lg-white); opacity: 0; pointer-events: none; transition: opacity var(--transition), transform var(--transition); }
.fab-top.visible { opacity: 1; pointer-events: auto; }
@keyframes bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-5px)} }

/* ─── 404 Page ───────────────────────────────────────────────────── */
.page-404 { text-align: center; padding: 80px 0; }
.error-404-wrap { max-width: 500px; margin: 0 auto; }
.error-code { font-size: 8rem; font-weight: 900; color: var(--lg-red); line-height: 1; margin-bottom: 20px; }
.error-404-wrap h1 { font-size: 1.6rem; margin-bottom: 12px; }
.error-404-wrap p { color: var(--lg-gray-700); margin-bottom: 24px; }
.error-actions { display: flex; gap: 12px; justify-content: center; margin-bottom: 30px; flex-wrap: wrap; }
.search-404 p { font-size: 13px; color: var(--lg-gray-500); margin-bottom: 12px; }
.no-results-wrap { text-align: center; padding: 60px 20px; }
.no-results-wrap h2 { margin: 16px 0 10px; }
.no-results-wrap p { color: var(--lg-gray-700); }

/* ─── Search Form ────────────────────────────────────────────────── */
.search-form { display: flex; max-width: 400px; margin: 0 auto; }
.search-form input[type="search"] { flex: 1; padding: 10px 16px; border: 1.5px solid var(--lg-border); border-right: none; border-radius: var(--radius-sm) 0 0 var(--radius-sm); font-size: 14px; }
.search-form input[type="search"]:focus { outline: none; border-color: var(--lg-red); }
.search-form button { background: var(--lg-red); color: var(--lg-white); border: none; padding: 10px 18px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; cursor: pointer; }

/* ─── Add to cart notices ────────────────────────────────────────── */
.woocommerce-message { background: #d4edda; color: #155724; padding: 12px 20px; border-radius: var(--radius-sm); margin-bottom: 16px; border-left: 4px solid #28a745; font-size: 14px; display: flex; align-items: center; gap: 12px; }
.woocommerce-error { background: #f8d7da; color: #721c24; padding: 12px 20px; border-radius: var(--radius-sm); margin-bottom: 16px; border-left: 4px solid #dc3545; font-size: 14px; list-style: none; }
.woocommerce-notices-wrapper { margin-bottom: 16px; }
.woocommerce .cart-empty { text-align: center; padding: 60px 0; color: var(--lg-gray-500); }

/* ─── Comments ───────────────────────────────────────────────────── */
.comments-area { margin-top: 40px; padding-top: 30px; border-top: 2px solid var(--lg-border); }
.comments-title { font-size: 1.2rem; margin-bottom: 24px; }
.comment-list { list-style: none; }
.comment-body { padding: 16px; background: var(--lg-gray-100); border-radius: var(--radius); margin-bottom: 16px; }
.comment-author img { border-radius: 50%; width: 40px; height: 40px; float: left; margin-right: 12px; }
.comment-metadata { font-size: 12px; color: var(--lg-gray-500); }
.comment-content { margin-top: 8px; font-size: 14px; clear: both; }
.reply a { font-size: 12px; color: var(--lg-red); font-weight: 600; }
.comment-respond { margin-top: 30px; }
.comment-respond h3 { margin-bottom: 20px; }
#commentform label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; }
#commentform textarea, #commentform input[type="text"], #commentform input[type="email"] {
	width: 100%; padding: 10px 14px; border: 1.5px solid var(--lg-border);
	border-radius: var(--radius-sm); font-size: 14px; margin-bottom: 14px;
}
#commentform input[type="submit"] { background: var(--lg-red); color: var(--lg-white); border: none; padding: 12px 28px; border-radius: var(--radius-sm); font-weight: 700; cursor: pointer; }

/* ─── Star Rating ────────────────────────────────────────────────── */
.star-rating { display: flex; align-items: center; gap: 2px; color: #f0b429; font-size: 16px; }
.star-empty { color: var(--lg-gray-300); }
.rating-count { font-size: 12px; color: var(--lg-gray-500); margin-left: 6px; }

/* ─── Accessibility ──────────────────────────────────────────────── */
.screen-reader-text { clip: rect(1px,1px,1px,1px); position: absolute; height: 1px; width: 1px; overflow: hidden; }
.screen-reader-text:focus { clip: auto; height: auto; width: auto; position: fixed; top: 5px; left: 5px; z-index: 9999; background: var(--lg-red); color: var(--lg-white); padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 700; }
*:focus-visible { outline: 2px solid var(--lg-red); outline-offset: 2px; }

/* ─── Utilities ──────────────────────────────────────────────────── */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; white-space: nowrap; clip: rect(0 0 0 0); clip-path: inset(100%); }
.no-results { padding: 40px; text-align: center; color: var(--lg-gray-500); }

/* ─── Print Styles ───────────────────────────────────────────────── */
@media print {
	.site-header, .primary-nav, .header-topbar, .site-footer, .floating-buttons, .sidebar { display: none !important; }
	.content-sidebar-wrap { grid-template-columns: 1fr; }
	body { font-size: 12pt; color: #000; }
}


/* Mobile price update notice adjustments */
@media (max-width: 768px) {
.price-update-notice {
margin-top: 8px;
padding: 8px 10px;
font-size: 12px;
line-height: 1.45;
}
}
