/*!
Theme Name: Minh Thành - Vật Tư Công Nghiệp
Theme URI: http://localhost/minhthanhwp
Author: Minh Thành
Author URI: http://localhost/minhthanhwp
Description: Theme bán hàng vật tư công nghiệp cho Công ty TNHH TM Vật tư Công nghiệp Minh Thành. Dựa trên Underscores starter theme.
Version: 1.0.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: minhthanh
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, e-commerce
*/

/* ==========================================================================
   CSS Variables
   ========================================================================== */
:root {
	--color-primary: #1a3a5c;
	--color-primary-dark: #0d2137;
	--color-primary-darker: #091520;
	--color-accent: #e67e22;
	--color-accent-dark: #d35400;
	--color-accent-light: #f39c12;
	--color-text: #333;
	--color-text-light: #666;
	--color-text-muted: #999;
	--color-border: #e0e0e0;
	--color-border-light: #f0f0f0;
	--color-bg: #fff;
	--color-bg-light: #f7f8fa;
	--color-bg-dark: #f0f2f5;
	--color-success: #27ae60;
	--color-danger: #e74c3c;
	--color-info: #3498db;
	--color-white: #fff;
	--color-light-blue: #b0c4de;
	--font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	--font-heading: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	--container: 1300px; /* 1260px content + 40px padding (20px each side) */
	--radius: 10px;
	--radius-lg: 10px;
	--shadow: 0 1px 2px rgb(0 0 0 / 20%);
	--shadow-md: 0 1px 2px rgb(0 0 0 / 20%);
	--shadow-lg: 0 1px 2px rgb(0 0 0 / 20%);
	--transition: 0.3s ease;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-main);
	font-size: 15px;
	line-height: 1.7;
	color: var(--color-text);
	background: #F5F5F5;
	margin: 0;
	padding: 0;
	-webkit-font-smoothing: antialiased;
}

a {
	color: var(--color-primary);
	text-decoration: none;
	transition: color var(--transition);
}

a:hover {
	color: var(--color-accent);
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

ul, ol {
	padding-left: 1.2em;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	color: var(--color-primary);
	font-weight: 700;
	line-height: 1.3;
	margin-top: 0;
}

/* ==========================================================================
   Layout
   ========================================================================== */
.container,
.site-content {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 20px;
}

.site-main {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 20px;
}

.site {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.site-content {
	flex: 1;
}

/* ==========================================================================
   Header — Row 1: Logo + Search + Contact
   ========================================================================== */
.site-header {
	z-index: 1000;
	-webkit-box-shadow: 0 1px 2px rgb(0 0 0 / 20%);
	box-shadow: 0 1px 2px rgb(0 0 0 / 20%);
}

.header-top {
	background: var(--color-white);
	border-bottom: 1px solid var(--color-border-light);
}

.header-top__inner {
	max-width: var(--container);
	margin: 0 auto;
	padding: 14px 20px;
	display: flex;
	align-items: center;
	gap: 28px;
}

/* Logo */
.header-logo {
	flex-shrink: 0;
}

.header-logo__text {
	text-decoration: none;
	display: block;
}

.header-logo__name {
	font-size: 1.6rem;
	font-weight: 900;
	color: var(--color-primary);
	line-height: 1.1;
	display: block;
	text-transform: uppercase;
}

.header-logo .custom-logo {
	max-height: 52px;
	width: auto;
}

.header-logo .custom-logo-link {
	display: block;
}

/* Search */
.header-search {
	flex: 1;
	max-width: 520px;
}

.header-search__form {
	display: flex;
	align-items: center;
	background: var(--color-bg-light);
	border: 1px solid var(--color-border-light);
	border-radius: 50px;
	transition: all var(--transition);
	padding: 0 16px;
}

.header-search__form:focus-within {
	border-color: var(--color-primary);
	background: var(--color-white);
	-webkit-box-shadow: 0 0 0 3px rgba(26,58,92,0.06);
	box-shadow: 0 0 0 3px rgba(26,58,92,0.06);
}

.header-search__icon {
	flex-shrink: 0;
	color: var(--color-text-muted);
	margin-right: 8px;
}

.header-search__form:focus-within .header-search__icon {
	color: var(--color-primary);
}

.header-search__input {
	flex: 1;
	border: none !important;
	padding: 10px 0 !important;
	font-size: 0.9rem;
	outline: none;
	background: transparent !important;
	-webkit-box-shadow: none !important;
	box-shadow: none !important;
}

/* Make search wrapper relative for dropdown positioning */
.header-search {
	position: relative;
}

/* ==========================================================================
   Search Dropdown
   ========================================================================== */
.search-dropdown {
	position: absolute;
	top: calc(100% + 2px);
	left: 0;
	right: 0;
	background: var(--color-white);
	border-radius: 0 0 var(--radius-lg) var(--radius-lg);
	-webkit-box-shadow: 0 8px 30px rgba(0,0,0,0.15);
	box-shadow: 0 8px 30px rgba(0,0,0,0.15);
	border: 1px solid var(--color-border-light);
	border-top: none;
	z-index: 99999;
	max-height: 420px;
	overflow-y: auto;
	overscroll-behavior: contain;
}

.search-dropdown[hidden] {
	display: none;
}

/* Scrollbar */
.search-dropdown::-webkit-scrollbar {
	width: 5px;
}

.search-dropdown::-webkit-scrollbar-thumb {
	background: var(--color-border);
	border-radius: 4px;
}

/* Loading */
.sd-loading {
	padding: 20px;
	text-align: center;
	color: var(--color-text-muted);
	font-size: 0.88rem;
}

/* Section */
.sd-section {
	border-bottom: 1px solid var(--color-border-light);
}

.sd-section:last-of-type {
	border-bottom: none;
}

.sd-section__title {
	padding: 8px 16px;
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--color-text-muted);
	text-transform: uppercase;
	background: var(--color-bg-light);
}

/* Category item */
.sd-cat {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 16px;
	text-decoration: none;
	color: var(--color-text);
	transition: background var(--transition);
}

.sd-cat:hover {
	background: var(--color-bg-light);
}

.sd-cat__img {
	width: 32px;
	height: 32px;
	object-fit: contain;
	border-radius: 4px;
	flex-shrink: 0;
}

.sd-cat__name {
	flex: 1;
	font-size: 0.88rem;
	font-weight: 500;
}

.sd-cat__count {
	font-size: 0.78rem;
	color: var(--color-text-muted);
}

/* Product item */
.sd-product {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 16px;
	text-decoration: none;
	color: var(--color-text);
	transition: background var(--transition);
	border-bottom: 1px solid var(--color-border-light);
}

.sd-product:last-child {
	border-bottom: none;
}

.sd-product:hover {
	background: var(--color-bg-light);
}

.sd-product__img {
	width: 44px;
	height: 44px;
	object-fit: cover;
	border-radius: 4px;
	border: 1px solid var(--color-border-light);
	flex-shrink: 0;
	background: var(--color-bg-light);
}

.sd-product__info {
	flex: 1;
	min-width: 0;
}

.sd-product__name {
	font-size: 0.85rem;
	font-weight: 500;
	color: var(--color-text);
	line-height: 1.3;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.sd-product__name mark {
	background: rgba(230,126,34,0.15);
	color: var(--color-accent-dark);
	padding: 0 2px;
	border-radius: 2px;
}

.sd-cat__name mark {
	background: rgba(230,126,34,0.15);
	color: var(--color-accent-dark);
	padding: 0 2px;
	border-radius: 2px;
}

.sd-product__sku {
	font-size: 0.72rem;
	color: var(--color-text-muted);
}

.sd-product__price {
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--color-accent);
}

.sd-product__price del {
	color: var(--color-text-muted);
	font-weight: 400;
	font-size: 0.75rem;
}

.sd-product__price ins {
	text-decoration: none;
}

/* Compact: SKU + price on same line */
.sd-product__meta {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 2px;
}

/* Empty state */
.sd-empty {
	padding: 24px 16px;
	text-align: center;
	color: var(--color-text-light);
	font-size: 0.9rem;
}

/* View all link */
.sd-viewall {
	display: block;
	padding: 12px 16px;
	text-align: center;
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--color-primary);
	text-decoration: none;
	border-top: 1px solid var(--color-border-light);
	transition: all var(--transition);
}

.sd-viewall:hover {
	background: var(--color-bg-light);
	color: var(--color-accent);
}

/* Header right group */
.header-right {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-shrink: 0;
}

/* Header Actions — Cart + Account */
.header-actions {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
}

/* Action button (account) */
.header-action-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	color: var(--color-primary);
	text-decoration: none;
	transition: all var(--transition);
	background: rgba(26,58,92,0.06);
}

.header-action-btn:hover {
	background: rgba(230,126,34,0.1);
	color: var(--color-accent);
}

/* Mobile drawer & search close — hidden on desktop */
.mobile-drawer,
.mobile-drawer-backdrop {
	display: none;
}

.header-search__close {
	display: none;
}

/* Search toggle — hidden on desktop */
.header-search-toggle {
	display: none;
	border: none;
	padding: 0;
	cursor: pointer;
}

.header-search-toggle:hover {
	background: rgba(230,126,34,0.1);
	color: var(--color-accent);
	transform: none;
	-webkit-box-shadow: none;
	box-shadow: none;
}

/* Cart button */
.header-cart {
	display: flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	color: var(--color-primary);
	padding: 7px 14px 7px 10px;
	border-radius: var(--radius);
	border: 1px solid var(--color-border);
	transition: all var(--transition);
	flex-shrink: 0;
}

.header-cart:hover {
	border-color: var(--color-accent);
	color: var(--color-accent);
}

.header-cart__icon {
	position: relative;
	display: flex;
	align-items: center;
}

.header-cart__count {
	position: absolute;
	top: -8px;
	right: -8px;
	background: #e74c3c;
	color: var(--color-white);
	font-size: 0.6rem;
	font-weight: 700;
	min-width: 16px;
	height: 16px;
	line-height: 16px;
	text-align: center;
	border-radius: 50%;
	padding: 0 3px;
}

.header-cart__text {
	font-size: 0.85rem;
	font-weight: 700;
	white-space: nowrap;
}

/* Cart shake animation */
@keyframes cartShake {
	0%, 100% { transform: rotate(0); }
	15% { transform: rotate(-12deg); }
	30% { transform: rotate(10deg); }
	45% { transform: rotate(-8deg); }
	60% { transform: rotate(6deg); }
	75% { transform: rotate(-3deg); }
}

.cart-shake {
	animation: cartShake 0.6s ease;
}

/* Fly-to-cart image (added via JS) */
.fly-to-cart {
	will-change: transform, opacity, left, top, width, height;
}

/* Contact info — Hotline + Giờ làm việc */
.header-contact {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-shrink: 0;
	font-style: normal;
}

.header-contact__item {
	display: flex;
	align-items: center;
	gap: 8px;
}

.header-contact__icon {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgba(26,58,92,0.06);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: var(--color-primary);
}

.header-contact__label {
	display: block;
	font-size: 0.72rem;
	color: var(--color-text-muted);
	line-height: 1;
	margin-bottom: 1px;
}

.header-contact__number {
	display: block;
	font-size: 1rem;
	font-weight: 800;
	color: var(--color-primary);
	text-decoration: none;
	line-height: 1.2;
}

a.header-contact__number:hover {
	color: var(--color-accent);
}

/* ==========================================================================
   Header — Row 2: Navigation Bar
   ========================================================================== */
.header-nav {
	background: var(--color-primary);
	position: sticky;
	top: 0;
	z-index: 999;
}

.header-nav__inner {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	align-items: stretch;
}

/* Category dropdown button */
.header-nav__categories {
	position: relative;
	flex-shrink: 0;
}

.header-nav__cat-btn {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 0 16px;
	width: 264px;
	height: 100%;
	min-height: 46px;
	background: rgba(255,255,255,0.1) !important;
	color: var(--color-white) !important;
	border: none !important;
	border-right: none;
	cursor: pointer;
	font-size: 0.9rem;
	font-weight: 600;
	white-space: nowrap;
	border-radius: 0 !important;
	text-transform: none;
	transform: none !important;
	-webkit-box-shadow: none !important;
	box-shadow: none !important;
}

.header-nav__cat-btn:hover {
	background: rgba(255,255,255,0.18) !important;
	transform: none !important;
	-webkit-box-shadow: none !important;
	box-shadow: none !important;
}

.header-nav__cat-arrow {
	transition: transform var(--transition);
	margin-left: auto;
}

.header-nav__cat-btn[aria-expanded="true"] .header-nav__cat-arrow {
	transform: rotate(180deg);
}

/* Category dropdown panel — flush against nav bottom */
.header-cat-dropdown {
	position: absolute;
	top: 100%;
	left: 0;
	background: var(--color-white);
	width: 264px;
	-webkit-box-shadow: var(--shadow-lg);
	box-shadow: var(--shadow-lg);
	border-radius: 0 0 var(--radius) 0;
	border-top: none;
	z-index: 9999;
}

.header-cat-dropdown[hidden] {
	display: none;
}

/* Top-level menu — relative positioning for submenu */
.hcd-menu {
	list-style: none;
	padding: 0;
	margin: 0;
	position: relative;
}

/* Menu item */
.hcd-item {
	position: static;
}

/* Link: icon + name + arrow */
.hcd-link {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 16px;
	color: var(--color-text);
	font-size: 0.88rem;
	font-weight: 500;
	text-decoration: none;
	transition: all var(--transition);
	border-bottom: 1px solid var(--color-border-light);
}

.hcd-item:last-child > .hcd-link {
	border-bottom: none;
}

.hcd-link:hover {
	color: var(--color-accent);
	background: var(--color-bg-light);
}

/* Active / current item — highlight cam */
.hcd-item.current-menu-item > .hcd-link,
.hcd-item.current-menu-ancestor > .hcd-link,
.hcd-item.current-menu-parent > .hcd-link {
	color: var(--color-accent);
	font-weight: 700;
	background: var(--color-bg-light);
}

.hcd-item.current-menu-item > .hcd-link .hcd-arrow,
.hcd-item.current-menu-ancestor > .hcd-link .hcd-arrow,
.hcd-item.current-menu-parent > .hcd-link .hcd-arrow {
	color: var(--color-accent);
}

/* Active child item */
.hcd-child.current-menu-item > .hcd-link {
	color: var(--color-accent);
	font-weight: 700;
	background: var(--color-bg-light);
}

/* Icon */
.hcd-icon {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	stroke: currentColor;
	stroke-width: 1.5;
	fill: none;
}

/* Name */
.hcd-name {
	flex: 1;
}

/* Arrow for items with children */
.hcd-arrow {
	flex-shrink: 0;
	color: var(--color-text-muted);
	transition: color var(--transition);
}

/* Larger tap target for arrow in sidebar accordion */
.shop-sidebar:not(.shop-sidebar--docked) .hcd-arrow {
	width: 12px;
	height: 12px;
	padding: 10px;
	box-sizing: content-box;
	margin: -10px -10px -10px 0;
	cursor: pointer;
	border-radius: var(--radius);
	flex-shrink: 0;
}

.shop-sidebar:not(.shop-sidebar--docked) .hcd-arrow:hover {
	background: rgba(230,126,34,0.1);
	color: var(--color-accent);
}

.hcd-link:hover .hcd-arrow {
	color: var(--color-accent);
}

/* Submenu — fills from top to bottom of dropdown, flush right to container edge */
.hcd-submenu {
	position: absolute;
	top: 0;
	left: 264px;
	bottom: 0;
	background: var(--color-white);
	width: calc(var(--container) - 264px);
	-webkit-box-shadow: 4px 4px 16px rgba(0,0,0,0.1);
	box-shadow: 4px 4px 16px rgba(0,0,0,0.1);
	border-radius: 0 0 var(--radius) 0;
	border-left: 3px solid var(--color-accent);
	list-style: none;
	padding: 16px 20px;
	margin: 0;
	z-index: 10000;
	display: none;
	flex-wrap: wrap;
	gap: 0;
	align-content: flex-start;
}

.hcd-has-children:hover > .hcd-submenu {
	display: flex;
}

/* Submenu items — multi-column layout */
.hcd-child {
	width: 33.33%;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
}

.hcd-child .hcd-l3-list {
	width: 100%;
}

.hcd-child .hcd-link {
	padding: 9px 14px;
	font-size: 0.88rem;
	font-weight: 500;
	color: var(--color-text);
	border-bottom: none;
	border-radius: var(--radius);
}

.hcd-child .hcd-link:hover {
	color: var(--color-accent);
	background: var(--color-bg-light);
}

/* Product count for L2 */
.hcd-count {
	font-size: 0.75rem;
	color: var(--color-text-muted);
	margin-left: 1px;
	font-weight: 400;
}

/* L3 list (nested under L2 in flyout) */
.hcd-l3-list {
	list-style: none;
	padding: 2px 0 6px 14px;
	margin: 0;
}

.hcd-l3 {
	width: 100%;
}

.hcd-l3 .hcd-link {
	padding: 5px 10px;
	font-size: 0.8rem;
	font-weight: 400;
	color: var(--color-text-muted);
	border-bottom: none;
	border-radius: var(--radius);
}

.hcd-l3 .hcd-link:hover {
	color: var(--color-accent);
	background: var(--color-bg-light);
}

.hcd-l3.current-menu-item > .hcd-link {
	color: var(--color-accent);
	font-weight: 600;
}

/* Social links in nav bar */
.header-nav__social {
	display: flex;
	align-items: center;
	gap: 0;
	margin-left: auto;
	flex-shrink: 0;
}

.header-nav__social-label {
	font-size: 0.78rem;
	color: rgba(255,255,255,0.5);
	margin-right: 8px;
	white-space: nowrap;
}

.header-social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	color: rgba(255,255,255,0.6);
	border-radius: 50%;
	transition: all var(--transition);
	text-decoration: none;
	position: relative;
}

.header-nav__social .header-social-link + .header-social-link {
	margin-left: 6px;
}

.header-nav__social .header-social-link + .header-social-link::before {
	content: '';
	width: 1px;
	height: 10px;
	background: rgba(255,255,255,0.2);
	-webkit-box-shadow: 0 0 4px rgba(255,255,255,0.15);
	box-shadow: 0 0 4px rgba(255,255,255,0.15);
	position: absolute;
	left: -4px;
	top: 50%;
	transform: translateY(-50%);
}

.header-social-link:hover {
	color: var(--color-white);
}

/* Main menu */
.header-nav__menu {
	display: flex;
	align-items: stretch;
	flex: 1;
}

.header-nav__menu ul {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	align-items: stretch;
}

.header-nav__menu li {
	position: relative;
	display: flex;
	align-items: stretch;
}

.header-nav__menu a {
	display: flex;
	align-items: center;
	padding: 0 18px;
	color: rgba(255,255,255,0.88);
	text-decoration: none;
	font-weight: 500;
	font-size: 0.9rem;
	transition: all var(--transition);
	white-space: nowrap;
	border-left: 1px solid rgba(255,255,255,0.08);
}

.header-nav__menu a:hover,
.header-nav__menu .current-menu-item > a,
.header-nav__menu .current_page_item > a {
	color: var(--color-white);
	background: rgba(255,255,255,0.1);
}

/* Nav dropdown */
.header-nav__menu ul ul {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background: var(--color-primary);
	min-width: 220px;
	-webkit-box-shadow: var(--shadow-lg);
	box-shadow: var(--shadow-lg);
	border-radius: 0 0 var(--radius) var(--radius);
	border-top: 3px solid var(--color-accent);
	z-index: 9999;
	flex-direction: column;
	padding: 4px 0;
}

.header-nav__menu ul ul li {
	display: block;
}

.header-nav__menu ul ul a {
	padding: 10px 20px;
	font-size: 0.85rem;
	border-left: none;
}

.header-nav__menu ul ul a:hover {
	padding-left: 24px;
}

.header-nav__menu li:hover > ul {
	display: flex;
}

/* Mobile toggle */
.menu-toggle {
	display: none;
	align-items: center;
	gap: 6px;
	background: transparent !important;
	color: var(--color-white) !important;
	border: none !important;
	padding: 10px !important;
	cursor: pointer;
	border-radius: 0 !important;
	transform: none !important;
	-webkit-box-shadow: none !important;
	box-shadow: none !important;
}

.menu-toggle:hover {
	background: rgba(255,255,255,0.1) !important;
	transform: none !important;
	-webkit-box-shadow: none !important;
	box-shadow: none !important;
}

/* ==========================================================================
   Main Content
   ========================================================================== */
.site-main {
	padding-top: 16px;
	padding-bottom: 32px;
	display: block;
	width: 100%;
}

/* Breadcrumb wrapper for pages */
.minhthanh-breadcrumb-wrap {
	margin-bottom: 10px;
}

.minhthanh-breadcrumb-wrap .rank-math-breadcrumb {
	font-size: 0.82rem;
	padding: 0;
	margin: 0;
}

.minhthanh-breadcrumb-wrap .rank-math-breadcrumb p { margin: 0; }
.minhthanh-breadcrumb-wrap .rank-math-breadcrumb a { color: var(--color-primary); font-weight: 500; }
.minhthanh-breadcrumb-wrap .rank-math-breadcrumb a:hover { color: var(--color-accent); }
.minhthanh-breadcrumb-wrap .rank-math-breadcrumb .separator { color: var(--color-text-muted); margin: 0 5px; }
.minhthanh-breadcrumb-wrap .rank-math-breadcrumb .last { color: var(--color-text-muted); }

/* ==========================================================================
   Page & Entry Styles
   ========================================================================== */
/* Card style for single posts */
.single-post .hentry {
	background: var(--color-white);
	border-radius: var(--radius-lg);
	-webkit-box-shadow: var(--shadow);
	box-shadow: var(--shadow);
	padding: 24px 28px;
	margin-bottom: 0;
}

/* All pages (except homepage) — white background, full width */
.hentry,
.post,
article.page,
.page .hentry {
	background: var(--color-white);
	border-radius: var(--radius-lg);
	-webkit-box-shadow: var(--shadow);
	box-shadow: var(--shadow);
	padding: 28px 32px;
	margin-bottom: 24px;
}


.entry-header {
	margin-bottom: 14px;
	padding-bottom: 0;
	border-bottom: none;
}

.entry-title {
	color: var(--color-primary);
	font-weight: 700;
	font-size: 2.1rem;
	margin: 0;
}

.entry-title::before {
	display: none;
}

.entry-title a {
	color: var(--color-primary);
	text-decoration: none;
}

.entry-title a:hover {
	color: var(--color-accent);
}

.entry-meta {
	font-size: 0.85rem;
	color: var(--color-text-muted);
	margin-top: 8px;
}

.single-post .entry-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 12px;
	color: var(--color-text-light);
}

.entry-meta__updated {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}


.entry-meta__sep {
	color: var(--color-border);
	margin: 0 4px;
}

.entry-meta__author {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.entry-meta__avatar {
	width: 24px !important;
	height: 24px !important;
	border-radius: 50% !important;
	object-fit: cover;
	overflow: hidden;
}

.entry-meta__author-name {
	color: var(--color-primary);
	font-weight: 600;
	text-decoration: none;
}


.entry-meta a {
	color: var(--color-text-light);
}

.entry-meta a:hover {
	color: var(--color-accent);
}

/* Entry Content */
.entry-content {
	font-size: 0.92rem;
	line-height: 1.75;
	width: 100%;
	max-width: 100%;
}

/* Force all content elements to fill available width */
.entry-content > *,
.entry-content .wp-block-table,
.entry-content .wp-block-group,
.entry-content .wpcf7,
.entry-content figure {
	max-width: 100% !important;
	width: auto;
}

/* Article must fill its parent */
.hentry,
.page .hentry,
article.hentry {
	width: 100%;
}

.entry-header {
	width: 100%;
}

.entry-content h2 {
	font-size: 1.6rem;
	margin-top: 1.3em;
	margin-bottom: 0;
	color: var(--color-text);
}

.entry-content h3 {
	font-size: 1.3rem;
	margin-top: 1.2em;
	margin-bottom: 0.5em;
	color: var(--color-text);
}

.entry-content h4,
.entry-content h5,
.entry-content h6 {
	color: var(--color-text);
}

.single-post .entry-content p,
.single-post .entry-content li {
	font-size: 1.05rem;
	line-height: 1.6;
}

.entry-content p {
	margin-bottom: 0.9em;
}

.entry-content ul,
.entry-content ol {
	margin-bottom: 1.2em;
	padding-left: 1.4em;
}

.entry-content li {
	margin-bottom: 0.3em;
}

.entry-content blockquote {

	background: var(--color-bg-light);
	padding: 20px 25px;
	margin: 1.5em 0;
	border-radius: 0 var(--radius) var(--radius) 0;
	font-style: italic;
	color: var(--color-text-light);
}

.entry-content img {
	border-radius: var(--radius);
}

/* --- Author Box --- */
.author-box {
	display: flex;
	gap: 18px;
	align-items: center;
	padding: 24px 28px;
	margin-top: 16px;
	background: var(--color-white);
	border-radius: var(--radius-lg);
	border: 1px solid var(--color-border-light);
	-webkit-box-shadow: var(--shadow);
	box-shadow: var(--shadow);
}

.author-box__avatar {
	flex-shrink: 0;
}

.author-box__img {
	width: 72px !important;
	height: 72px !important;
	border-radius: 50% !important;
	object-fit: cover;
}

.author-box__info {
	min-width: 0;
}

.author-box__label {
	font-size: 0.72rem;
	font-weight: 600;
	text-transform: uppercase;
	color: var(--color-text-muted);
}

.author-box__name {
	font-size: 1.05rem;
	font-weight: 700;
	margin: 2px 0 0;
}

.author-box__name a {
	color: var(--color-primary);
	text-decoration: none;
}

.author-box__name a:hover {
	color: var(--color-accent);
}

.author-box__bio {
	font-size: 0.85rem;
	color: var(--color-text-light);
	margin: 6px 0 0;
	line-height: 1.5;
}

/* --- Related Posts --- */
.related-posts {
	background: var(--color-white);
	border-radius: var(--radius-lg);
	border: 1px solid var(--color-border-light);
	-webkit-box-shadow: var(--shadow);
	box-shadow: var(--shadow);
	padding: 24px 28px;
	margin-top: 16px;
}

.related-posts__title {
	font-size: 1rem;
	font-weight: 700;
	color: var(--color-primary);
	margin: 0 0 18px;
	text-transform: uppercase;
}

.related-posts__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}

.related-posts__item {
	text-decoration: none;
	color: var(--color-text);
	display: block;
	transition: transform var(--transition);
}

.related-posts__item:hover {
	transform: translateY(-2px);
}

.related-posts__thumb {
	margin: 0;
	border-radius: var(--radius);
	overflow: hidden;
	aspect-ratio: 13 / 9;
	background: var(--color-bg-dark);
	margin-bottom: 10px;
}

.related-posts__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform var(--transition);
}

.related-posts__item:hover .related-posts__img {
	transform: scale(1.04);
}

.related-posts__placeholder {
	width: 100%;
	height: 100%;
	background: var(--color-bg-dark);
}

.related-posts__name {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--color-text);
	margin: 0 0 4px;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition: color var(--transition);
}

.related-posts__item:hover .related-posts__name {
	color: var(--color-accent);
}

.related-posts__date {
	font-size: 0.75rem;
	color: var(--color-text-muted);
}

@media (max-width: 768px) {
	.related-posts__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 14px;
	}

	.related-posts {
		padding: 18px;
	}
}

.entry-content table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	margin-bottom: 1.2em;
	font-size: 0.92rem;
	border: 1px solid var(--color-border);
	border-radius: 12px;
}

.entry-content tr:first-child td:first-child,
.entry-content tr:first-child th:first-child {
	border-top-left-radius: 11px;
}

.entry-content tr:first-child td:last-child,
.entry-content tr:first-child th:last-child {
	border-top-right-radius: 11px;
}

.entry-content tr:last-child td:first-child {
	border-bottom-left-radius: 11px;
}

.entry-content tr:last-child td:last-child {
	border-bottom-right-radius: 11px;
}

.entry-content th,
.entry-content td {
	padding: 16px 20px;
	border: none;
	border-bottom: 1px solid var(--color-border-light);
	text-align: left;
}

.entry-content th {
	background: var(--color-bg-light);
	color: var(--color-text-muted);
	font-weight: 500;
	font-size: 0.88rem;
}

.entry-content tr:last-child td {
	border-bottom: none;
}

/* Table without <thead>: style first row as header */
.entry-content table:not(:has(thead)) tr:first-child td {
	background: var(--color-bg-light);
	color: var(--color-text-muted);
	font-weight: 500;
	font-size: 0.88rem;
}

.entry-footer {
	margin-top: 25px;
	padding-top: 15px;
	border-top: 1px solid var(--color-border-light);
	font-size: 0.85rem;
	color: var(--color-text-muted);
}

/* Post navigation */
.post-navigation,
.posts-navigation {
	margin-top: 30px;
}

.post-navigation .nav-links,
.posts-navigation .nav-links {
	display: flex;
	justify-content: space-between;
	gap: 20px;
}

.post-navigation .nav-previous a,
.post-navigation .nav-next a,
.posts-navigation .nav-links a {
	display: inline-block;
	padding: 10px 22px;
	background: var(--color-primary);
	color: var(--color-white);
	border-radius: var(--radius);
	font-weight: 600;
	font-size: 0.9rem;
	transition: all var(--transition);
}

.post-navigation .nav-previous a:hover,
.post-navigation .nav-next a:hover,
.posts-navigation .nav-links a:hover {
	background: var(--color-accent);
}

.nav-subtitle {
	display: block;
	font-size: 0.75rem;
	opacity: 0.7;
	text-transform: uppercase;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.wp-block-button__link {
	display: inline-block;
	background: var(--color-accent);
	color: var(--color-white);
	border: none;
	border-radius: var(--radius);
	padding: 12px 28px;
	font-family: var(--font-main);
	font-weight: 700;
	font-size: 0.9rem;
	text-transform: uppercase;
	cursor: pointer;
	transition: all var(--transition);
	text-decoration: none;
	line-height: 1.5;
	text-align: center;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover {
	background: var(--color-accent-dark);
	transform: translateY(-2px);
	-webkit-box-shadow: 0 4px 12px rgba(230,126,34,0.35);
	box-shadow: 0 4px 12px rgba(230,126,34,0.35);
	color: var(--color-white);
}

button:active,
input[type="submit"]:active {
	transform: translateY(0);
}

/* ==========================================================================
   Forms
   ========================================================================== */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea,
select {
	font-family: var(--font-main);
	font-size: 0.95rem;
	color: var(--color-text);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: 10px 14px;
	width: 100%;
	max-width: 100%;
	background: var(--color-white);
	transition: border-color var(--transition), box-shadow var(--transition);
}

input:focus,
textarea:focus,
select:focus {
	border-color: var(--color-primary);
	outline: none;
	-webkit-box-shadow: 0 0 0 3px rgba(26,58,92,0.1);
	box-shadow: 0 0 0 3px rgba(26,58,92,0.1);
}

/* Search form */
.search-form {
	display: flex;
	gap: 0;
}

.search-form .search-field {
	border-radius: var(--radius) 0 0 var(--radius);
	flex: 1;
}

.search-form .search-submit {
	border-radius: 0 var(--radius) var(--radius) 0;
	padding: 10px 20px;
}

/* ==========================================================================
   Sidebar & Widgets
   ========================================================================== */
.widget-area {
	margin-top: 30px;
}

.widget {
	background: var(--color-white);
	padding: 24px;
	border-radius: var(--radius-lg);
	margin-bottom: 24px;
	-webkit-box-shadow: var(--shadow);
	box-shadow: var(--shadow);
}

.widget-title {
	color: var(--color-primary);
	font-size: 1.05rem;
	font-weight: 700;
	margin-bottom: 18px;
	padding-bottom: 12px;
	border-bottom: 3px solid var(--color-accent);
	position: relative;
}

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

.widget ul li {
	padding: 0;
	margin: 0;
}

.widget ul li a {
	display: block;
	padding: 9px 0;
	color: var(--color-text);
	border-bottom: 1px solid var(--color-border-light);
	transition: all var(--transition);
	text-decoration: none;
}

.widget ul li a:hover {
	color: var(--color-accent);
	padding-left: 8px;
}

.widget ul li:last-child a {
	border-bottom: none;
}

.widget select {
	max-width: 100%;
}

/* ==========================================================================
   Homepage Hero Slider
   ========================================================================== */
.hero-slider {
	position: relative;
	overflow: hidden;
	margin-bottom: 18px;
	border-radius: var(--radius);
	-webkit-box-shadow: 0 1px 2px rgb(0 0 0 / 20%);
	box-shadow: 0 1px 2px rgb(0 0 0 / 20%);
}

.hero-slider__track {
	display: flex;
	transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}

.hero-slider__slide {
	flex: 0 0 100%;
	display: block;
	position: relative;
	overflow: hidden;
}

.hero-slider__img {
	width: 100%;
	height: auto;
	display: block;
	aspect-ratio: 21 / 9;
	object-fit: cover;
	transform: scale(1.08);
	transition: transform 1.2s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.6s ease;
	opacity: 0.85;
}

.hero-slider__slide.is-active .hero-slider__img {
	transform: scale(1);
	opacity: 1;
	animation: heroKenBurns 8s ease-out forwards;
}

@keyframes heroKenBurns {
	0% { transform: scale(1); }
	100% { transform: scale(1.06); }
}

/* Slide content overlay */
.hero-slider__content {
	position: absolute;
	top: 50%;
	max-width: 60%;
	padding: 20px 28px;
	transform: translateY(-50%);
}

.hero-slider__content--left {
	left: 5%;
	text-align: left;
}

.hero-slider__content--center {
	left: 50%;
	text-align: center;
	transform: translate(-50%, -50%);
}

.hero-slider__content--right {
	right: 5%;
	text-align: right;
}

.hero-slider__content--white {
	color: #fff;
	text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.hero-slider__content--dark {
	color: #1a1a1a;
	text-shadow: 0 2px 8px rgba(255,255,255,0.5);
}

.hero-slider__title {
	font-size: clamp(22px, 3.5vw, 42px);
	font-weight: 800;
	line-height: 1.2;
	margin: 0 0 12px;
	color: inherit;
}

.hero-slider__subtitle {
	font-size: clamp(14px, 1.6vw, 18px);
	font-weight: 500;
	line-height: 1.5;
	margin: 0;
	color: inherit;
	opacity: 0.95;
}

/* Text animations — default state (hidden) */
.hero-slider__content {
	--text-dur: 700ms;
}

.hero-slider__title,
.hero-slider__subtitle {
	opacity: 0;
	transition: opacity calc(var(--text-dur) * 0.85) ease, transform var(--text-dur) cubic-bezier(0.25, 0.8, 0.25, 1), filter calc(var(--text-dur) * 0.85) ease;
}

.hero-slider__title[data-effect="fade-up"],
.hero-slider__subtitle[data-effect="fade-up"] { transform: translateY(30px); }
.hero-slider__title[data-effect="fade-down"],
.hero-slider__subtitle[data-effect="fade-down"] { transform: translateY(-30px); }
.hero-slider__title[data-effect="fade-left"],
.hero-slider__subtitle[data-effect="fade-left"] { transform: translateX(-50px); }
.hero-slider__title[data-effect="fade-right"],
.hero-slider__subtitle[data-effect="fade-right"] { transform: translateX(50px); }
.hero-slider__title[data-effect="zoom"],
.hero-slider__subtitle[data-effect="zoom"] { transform: scale(0.8); }
.hero-slider__title[data-effect="none"],
.hero-slider__subtitle[data-effect="none"] { opacity: 1; transform: none; }

/* Flip 3D */
.hero-slider__title[data-effect="flip-up"],
.hero-slider__subtitle[data-effect="flip-up"] {
	transform: perspective(800px) rotateX(-90deg);
	transform-origin: bottom center;
}

/* Slide + Blur */
.hero-slider__title[data-effect="slide-blur"],
.hero-slider__subtitle[data-effect="slide-blur"] {
	transform: translateY(20px);
	filter: blur(12px);
}

/* Bounce in */
.hero-slider__title[data-effect="bounce-in"],
.hero-slider__subtitle[data-effect="bounce-in"] {
	transform: scale(0.3);
}
.hero-slider__content.is-active .hero-slider__title[data-effect="bounce-in"],
.hero-slider__content.is-active .hero-slider__subtitle[data-effect="bounce-in"] {
	transition: opacity calc(var(--text-dur) * 0.5) ease, transform var(--text-dur) cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Typing effect (on title only) */
.hero-slider__title[data-effect="typing"] {
	opacity: 1;
	overflow: hidden;
	white-space: nowrap;
	max-width: 0;
	border-right: 2px solid currentColor;
	transition: max-width var(--text-dur) steps(40, end);
}
.hero-slider__content.is-active .hero-slider__title[data-effect="typing"] {
	max-width: 100%;
	animation: heroBlink 0.8s step-end infinite;
	animation-delay: var(--text-dur);
}
@keyframes heroBlink {
	0%, 50% { border-right-color: currentColor; }
	51%, 100% { border-right-color: transparent; }
}
.hero-slider__subtitle[data-effect="typing"] { transform: translateY(20px); }

/* Split chars — each character animates individually */
.hero-slider__title[data-effect="split-chars"] {
	opacity: 1;
	transform: none;
	display: inline-block;
}
.hero-slider__title[data-effect="split-chars"] > span {
	display: inline-block;
	opacity: 0;
	transform: translateY(40px) rotateZ(10deg);
	transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
	transition-delay: calc(var(--i) * 40ms);
}
.hero-slider__content.is-active .hero-slider__title[data-effect="split-chars"] > span {
	opacity: 1;
	transform: translateY(0) rotateZ(0);
}

/* Activate animations when slide is active */
.hero-slider__content.is-active .hero-slider__title,
.hero-slider__content.is-active .hero-slider__subtitle {
	opacity: 1;
	transform: none;
	filter: none;
}

.hero-slider__content.is-active .hero-slider__subtitle {
	transition-delay: calc(var(--text-dur) * 0.25);
}

@media (max-width: 768px) {
	.hero-slider__content {
		max-width: 85%;
		padding: 12px 16px;
	}
	.hero-slider__content--left { left: 4%; }
	.hero-slider__content--right { right: 4%; }
}

.hero-slider__btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 34px;
	height: 34px;
	border: none;
	border-radius: 50%;
	background: rgba(255,255,255,0.85);
	color: var(--color-primary);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	-webkit-box-shadow: 0 2px 8px rgba(0,0,0,0.12);
	box-shadow: 0 2px 8px rgba(0,0,0,0.12);
	transition: all var(--transition);
	padding: 0;
	z-index: 2;
}

.hero-slider__btn:hover {
	background: var(--color-white);
	-webkit-box-shadow: 0 2px 12px rgba(0,0,0,0.2);
	box-shadow: 0 2px 12px rgba(0,0,0,0.2);
	transform: translateY(-50%);
}

.hero-slider__btn--prev { left: 10px; }
.hero-slider__btn--next { right: 10px; }

.hero-slider__dots {
	position: absolute;
	bottom: 10px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 6px;
	z-index: 2;
}

.hero-slider__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	border: none;
	background: rgba(255,255,255,0.5);
	cursor: pointer;
	padding: 0;
	transition: all var(--transition);
}

.hero-slider__dot:hover {
	background: rgba(255,255,255,0.8);
	transform: none;
	-webkit-box-shadow: none;
	box-shadow: none;
}

.hero-slider__dot--active {
	background: var(--color-white);
	width: 20px;
	border-radius: 4px;
}

/* ==========================================================================
   Homepage Strengths
   ========================================================================== */
.strengths {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
	background: var(--color-bg);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	margin-bottom: 18px;
	overflow: hidden;
}

.strengths__item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 16px;
	border-right: 1px solid var(--color-border);
	transition: background var(--transition);
}

.strengths__item:last-child {
	border-right: none;
}

.strengths__item:hover {
	background: var(--color-bg-light);
}

.strengths__icon {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(26, 58, 92, 0.08);
	color: var(--color-primary);
}

.strengths__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.strengths__title {
	font-size: 14px;
	font-weight: 600;
	color: var(--color-text);
	line-height: 1.3;
}

.strengths__desc {
	font-size: 13px;
	color: var(--color-text-muted);
	line-height: 1.4;
}

@media (max-width: 992px) {
	.strengths {
		grid-template-columns: repeat(2, 1fr);
	}
	.strengths__item:nth-child(2) {
		border-right: none;
	}
	.strengths__item:nth-child(1),
	.strengths__item:nth-child(2) {
		border-bottom: 1px solid var(--color-border);
	}
}

@media (max-width: 480px) {
	.strengths {
		grid-template-columns: 1fr;
	}
	.strengths__item {
		border-right: none;
		border-bottom: 1px solid var(--color-border);
	}
	.strengths__item:last-child {
		border-bottom: none;
	}
	.strengths__item:nth-child(1),
	.strengths__item:nth-child(2) {
		border-bottom: 1px solid var(--color-border);
	}
}

/* ==========================================================================
   Carousel Nav Arrows (shared)
   ========================================================================== */
.carousel-wrap {
	position: relative;
}

.carousel-nav {
	position: absolute;
	top: 50%;
	width: 43px;
	height: 43px;
	padding: 0;
	border-radius: 50%;
	background: #1a3a5c;
	border: none;
	-webkit-box-shadow: 0 2px 6px rgba(0,0,0,0.15);
	box-shadow: 0 2px 6px rgba(0,0,0,0.15);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 5;
	transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
	opacity: 0;
	pointer-events: none;
	color: #fff;
}

.carousel-nav--prev {
	left: -18px;
	transform: translateY(-50%) translateX(-20px);
}

.carousel-nav--next {
	right: -18px;
	transform: translateY(-50%) translateX(20px);
}

.carousel-wrap:hover .carousel-nav {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(-50%) translateX(0);
}

.carousel-nav.hidden {
	pointer-events: none !important;
}

.carousel-wrap:hover .carousel-nav--prev.hidden {
	opacity: 0 !important;
	transform: translateY(-50%) translateX(-20px) !important;
}

.carousel-wrap:hover .carousel-nav--next.hidden {
	opacity: 0 !important;
	transform: translateY(-50%) translateX(20px) !important;
}

.carousel-nav:hover {
	background: #0f2840;
	transform: translateY(-50%) translateX(0);
}

.carousel-nav svg {
	width: 22px;
	height: 22px;
	fill: currentColor;
}

/* ==========================================================================
   Carousel Progress Bar (shared)
   ========================================================================== */
.carousel-progress {
	width: 100%;
	height: 4px;
	background: #fff;
	border-radius: 2px;
	margin-top: 14px;
	overflow: hidden;
}

.carousel-progress__bar {
	height: 100%;
	width: 0;
	background: #d0d0d0;
	border-radius: 2px;
	transition: width 0.15s ease;
}

/* ==========================================================================
   Section Header (shared)
   ========================================================================== */
.section-header {
	display: flex;
	align-items: center;
	margin-bottom: 16px;
}

.section-header:has(.section-header__tabs),
.section-header:has(.section-header__tab) {
	border-bottom: 2px solid var(--color-border);
}

.section-header__title {
	font-size: 17px;
	font-weight: 700;
	color: var(--color-primary);
	margin: 0;
	text-transform: capitalize;
}

.section-header__link {
	font-size: 14px;
	font-weight: 600;
	color: var(--color-accent);
	text-decoration: none;
	white-space: nowrap;
	margin-left: auto;
}

.section-header__link:hover {
	color: var(--color-accent-dark);
}

.section-header__tabs {
	display: flex;
	gap: 0;
}

.section-header__tab {
	background: none;
	border: none;
	border-bottom: 3px solid transparent;
	border-radius: 0;
	padding: 10px 20px;
	font-size: 17px;
	font-weight: 700;
	color: var(--color-text-muted);
	text-transform: capitalize;
	cursor: pointer;
	transition: all var(--transition);
	margin-bottom: -2px;
	white-space: nowrap;
}

.section-header__tab:hover {
	color: var(--color-primary);
	background: none;
	transform: none;
	-webkit-box-shadow: none;
	box-shadow: none;
}

.section-header__tab--active {
	color: var(--color-primary);
	border-bottom-color: var(--color-primary);
}

.section-header__tab:first-child {
	padding-left: 3px;
}

/* ==========================================================================
   Homepage Product Slider (Tabs + Carousel)
   ========================================================================== */
.ps {
	margin-bottom: 40px;
}

/* Panels */
.ps__panel {
	display: none;
}

.ps__panel--active {
	display: block;
}

/* Track — horizontal scroll, show 4 + peek of 5th */
.ps__track {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	padding-bottom: 4px;
}

.ps__track::after {
	content: '';
	flex: 0 0 25%;
	min-width: 25%;
}

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

/* Card — width = ~23.5% so 4 cards + gap + peek of 5th */
.ps__card {
	flex: 0 0 calc((100% - 48px) / 4 - 12px);
	min-width: calc((100% - 48px) / 4 - 12px);
	background: var(--color-white);
	border: 1px solid var(--color-border-light);
	border-radius: var(--radius);
	padding: 12px;
	display: flex;
	flex-direction: column;
	transition: all var(--transition);
	position: relative;
	-webkit-box-shadow: 0 1px 2px rgb(0 0 0 / 20%);
	box-shadow: 0 1px 2px rgb(0 0 0 / 20%);
}


.ps__card:hover {
	border-color: var(--color-accent);
	-webkit-box-shadow: var(--shadow-md);
	box-shadow: var(--shadow-md);
}

.ps__img-link {
	display: block;
	position: relative;
	margin-bottom: 8px;
}

.ps__badge {
	position: absolute;
	top: 6px;
	left: 6px;
	background: var(--color-danger);
	color: var(--color-white);
	font-weight: 700;
	font-size: 0.72rem;
	padding: 2px 8px;
	z-index: 2;
}

.ps__img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: var(--radius);
	display: block;
	transition: transform var(--transition);
}

.ps__card:hover .ps__img {
	transform: scale(1.03);
}

.ps__cat {
	font-size: 13px;
	color: var(--color-primary);
	font-weight: 600;
	opacity: 0.7;
	margin-bottom: 2px;
	display: block;
}

.ps__title {
	font-size: 14px;
	color: var(--color-primary);
	font-weight: 600;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-bottom: 6px;
	min-height: 2.4em;
}

.ps__title:hover {
	color: var(--color-accent);
}

.ps__price {
	color: var(--color-accent);
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.4;
	margin-bottom: 8px;
	margin-top: auto;
}

.ps__price del {
	color: var(--color-text-muted);
	font-weight: 400;
	font-size: 13px;
	margin-right: 4px;
}

.ps__price ins {
	text-decoration: none;
	color: var(--color-accent);
}

.ps__actions {
	display: flex;
	gap: 8px;
}

.ps__btn-cart {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--color-accent);
	color: var(--color-white) !important;
	border: none;
	cursor: pointer;
	transition: all var(--transition);
	padding: 0;
	font-size: 0;
}

.ps__btn-cart:hover {
	background: var(--color-accent-dark);
	transform: translateY(-1px);
	-webkit-box-shadow: 0 3px 8px rgba(230,126,34,0.25);
	box-shadow: 0 3px 8px rgba(230,126,34,0.25);
}

.ps__btn-cart svg {
	fill: var(--color-white);
}

.ps__empty {
	padding: 20px;
	color: var(--color-text-muted);
	text-align: center;
}

/* Responsive */
@media (max-width: 992px) {
	.ps__card {
		flex: 0 0 calc((100% - 32px) / 3 - 8px);
		min-width: calc((100% - 32px) / 3 - 8px);
	}
}

@media (max-width: 768px) {
	.ps__card {
		flex: 0 0 calc((100% - 16px) / 2 - 12px);
		min-width: calc((100% - 16px) / 2 - 12px);
	}
}

/* ==========================================================================
   Homepage Categories Grid
   ========================================================================== */
.hcat {
	margin-bottom: 40px;
}

.hcat__grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	background: var(--color-white);
	border-radius: var(--radius);
	-webkit-box-shadow: 0 1px 2px rgb(0 0 0 / 20%);
	box-shadow: 0 1px 2px rgb(0 0 0 / 20%);
}

.hcat__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	padding: 16px 8px;
	border-right: 1px solid var(--color-border-light);
	border-bottom: 1px solid var(--color-border-light);
	transition: all var(--transition);
}

.hcat__item:nth-child(6n) {
	border-right: none;
}

.hcat__item:hover {
	background: var(--color-bg-light);
}

.hcat__icon {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: var(--color-bg-light);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.hcat__icon img {
	width: 70%;
	height: 70%;
	object-fit: contain;
}

.hcat__name {
	font-size: 13px;
	font-weight: 600;
	color: var(--color-primary);
	text-align: center;
	line-height: 1.3;
}

.hcat__item:hover .hcat__name {
	color: var(--color-accent);
}

@media (max-width: 992px) {
	.hcat__grid {
		grid-template-columns: repeat(5, 1fr);
	}
	.hcat__item:nth-child(6n) { border-right: 1px solid var(--color-border-light); }
	.hcat__item:nth-child(5n) { border-right: none; }
}

@media (max-width: 768px) {
	.hcat__grid {
		grid-template-columns: repeat(4, 1fr);
	}
	.hcat__item:nth-child(5n) { border-right: 1px solid var(--color-border-light); }
	.hcat__item:nth-child(4n) { border-right: none; }
	.hcat__icon {
		width: 60px;
		height: 60px;
	}
	.hcat__name {
		font-size: 12px;
	}
}

@media (max-width: 480px) {
	.hcat__grid {
		grid-template-columns: repeat(3, 1fr);
	}
	.hcat__item:nth-child(4n) { border-right: 1px solid var(--color-border-light); }
	.hcat__item:nth-child(3n) { border-right: none; }
	.hcat__item {
		padding: 12px 6px;
	}
	.hcat__icon {
		width: 50px;
		height: 50px;
	}
}

/* ==========================================================================
   Homepage Brands Slider
   ========================================================================== */
.brands {
	margin-bottom: 40px;
}

.brands__track {
	display: flex;
	gap: 20px;
	overflow-x: auto;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	padding-bottom: 4px;
}

.brands__track::after {
	content: '';
	flex: 0 0 25%;
	min-width: 25%;
}

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

.brands__item {
	flex: 0 0 auto;
	min-width: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	transition: transform var(--transition);
}

.brands__item:hover {
	transform: translateY(-3px);
}

.brands__logo {
	width: 140px;
	height: 140px;
	border-radius: 50%;
	background: var(--color-white);
	-webkit-box-shadow: 0 2px 8px rgba(0,0,0,0.06);
	box-shadow: 0 2px 8px rgba(0,0,0,0.06);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	transition: box-shadow var(--transition);
}

.brands__item:hover .brands__logo {
	-webkit-box-shadow: var(--shadow-md);
	box-shadow: var(--shadow-md);
}

.brands__logo img {
	width: 65%;
	height: 65%;
	object-fit: contain;
}

.brands__name {
	font-size: 14px;
	font-weight: 600;
	color: var(--color-text);
	text-align: center;
	line-height: 1.3;
}

a.brands__item:hover .brands__name {
	color: var(--color-accent);
}

@media (max-width: 768px) {
	.brands__logo {
		width: 100px;
		height: 100px;
	}
	.brands__track {
		gap: 12px;
	}
}

/* ==========================================================================
   Homepage About Section
   ========================================================================== */
.about {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
	background: var(--color-white);
	border-radius: var(--radius);
	padding: 28px;
	margin-bottom: 40px;
	align-items: start;
	-webkit-box-shadow: 0 1px 2px rgb(0 0 0 / 20%);
	box-shadow: 0 1px 2px rgb(0 0 0 / 20%);
}

.about__image {
	border-radius: var(--radius);
	overflow: hidden;
}

.about__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: var(--radius);
}

.about .section-header__tab {
	padding-top: 0;
}

.about__panel {
	display: none;
}

.about__panel--active {
	display: block;
}

.about__panel p {
	font-size: 15px;
	line-height: 1.8;
	color: var(--color-text);
	margin: 0 0 14px;
}

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

@media (max-width: 768px) {
	.about {
		grid-template-columns: 1fr;
		padding: 16px;
		gap: 16px;
	}
	.about__image img {
		max-height: 220px;
	}
}

/* ==========================================================================
   Homepage Blog Slider
   ========================================================================== */
.bs {
	margin-bottom: 40px;
}

.bs__track {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	padding-bottom: 4px;
}

.bs__track::after {
	content: '';
	flex: 0 0 25%;
	min-width: 25%;
}

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

.bs__card {
	flex: 0 0 calc((100% - 48px) / 4 - 12px);
	min-width: calc((100% - 48px) / 4 - 12px);
	background: var(--color-white);
	border: 1px solid var(--color-border-light);
	border-radius: var(--radius);
	-webkit-box-shadow: 0 1px 2px rgb(0 0 0 / 20%);
	box-shadow: 0 1px 2px rgb(0 0 0 / 20%);
	overflow: hidden;
	transition: all var(--transition);
	display: flex;
	flex-direction: column;
}

.bs__card:hover {
	border-color: var(--color-accent);
	-webkit-box-shadow: var(--shadow-md);
	box-shadow: var(--shadow-md);
}

.bs__img-link {
	display: block;
	overflow: hidden;
}

.bs__img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	display: block;
	transition: transform var(--transition);
}

.bs__img--placeholder {
	background: var(--color-bg-dark);
}

.bs__card:hover .bs__img {
	transform: scale(1.04);
}

.bs__body {
	padding: 12px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.bs__date {
	font-size: 13px;
	color: var(--color-text-muted);
	margin-bottom: 4px;
}

.bs__title {
	font-size: 14px;
	font-weight: 600;
	color: var(--color-primary);
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-bottom: 6px;
	text-decoration: none;
}

.bs__title:hover {
	color: var(--color-accent);
}

.bs__excerpt {
	font-size: 13px;
	color: var(--color-text-light);
	line-height: 1.6;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

@media (max-width: 992px) {
	.bs__card {
		flex: 0 0 calc((100% - 32px) / 3 - 8px);
		min-width: calc((100% - 32px) / 3 - 8px);
	}
}

@media (max-width: 768px) {
	.bs__card {
		flex: 0 0 calc((100% - 16px) / 2 - 12px);
		min-width: calc((100% - 16px) / 2 - 12px);
	}
}

/* ==========================================================================
   Homepage Responsive (Tablet + Mobile)
   ========================================================================== */
@media (max-width: 768px) {
	/* Section header & tabs */
	.section-header {
		margin-bottom: 12px;
	}
	.section-header__title {
		font-size: 16px;
	}
	.section-header__link {
		font-size: 13px;
	}
	.section-header__tab {
		padding: 8px 14px;
		font-size: 14px;
	}
	.section-header__tab:first-child {
		padding-left: 2px;
	}

	/* Layout */
	.shop-layout {
		padding: 16px 14px 40px;
	}
	.shop-layout--sidebar {
		grid-template-columns: 1fr;
		gap: 0;
	}
	.shop-layout .site-main {
		grid-column: 1;
	}

	/* Section spacing */
	.ps,
	.brands,
	.about,
	.bs {
		margin-bottom: 28px;
	}

	/* About tabs */
	.about .section-header__tab {
		font-size: 14px;
		padding: 8px 12px;
	}
	.about__panel p {
		font-size: 14px;
		line-height: 1.7;
	}

	/* Carousel nav */
	.carousel-nav {
		width: 30px;
		height: 30px;
	}
	.carousel-nav svg {
		width: 16px;
		height: 16px;
	}
	.carousel-nav--prev { left: 4px; }
	.carousel-nav--next { right: 4px; }

	/* Carousel progress */
	.carousel-progress {
		margin-top: 10px;
	}
}

@media (max-width: 480px) {
	/* Section header & tabs */
	.section-header__title {
		font-size: 15px;
	}
	.section-header__tabs {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}
	.section-header__tabs::-webkit-scrollbar {
		display: none;
	}
	.section-header__tab {
		padding: 8px 10px;
		font-size: 13px;
	}

	/* Product cards */
	.ps__cat {
		font-size: 11px;
	}
	.ps__title {
		font-size: 13px;
	}
	.ps__price {
		font-size: 14px;
	}

	/* Brands */
	.brands__logo {
		width: 80px;
		height: 80px;
	}
	.brands__track {
		gap: 8px;
	}

	/* About */
	.about {
		padding: 14px;
		gap: 14px;
	}
	.about .section-header__tab {
		font-size: 13px;
		padding: 6px 10px;
	}
	.about__panel p {
		font-size: 13px;
	}

	/* Blog */
	.bs__date {
		font-size: 12px;
	}
	.bs__title {
		font-size: 13px;
	}
	.bs__excerpt {
		font-size: 12px;
	}

	/* Section spacing */
	.ps,
	.brands,
	.about,
	.bs {
		margin-bottom: 24px;
	}
}

/* ==========================================================================
   Shop Layout
   ========================================================================== */
.shop-layout {
	max-width: var(--container);
	margin: 0 auto;
	padding: 25px 20px 50px;
	width: 100%;
	box-sizing: border-box;
}

.shop-layout--sidebar {
	display: grid;
	grid-template-columns: 264px 1fr;
	gap: 24px;
	align-items: start;
}

.shop-layout .site-main {
	padding: 0;
	max-width: none;
	margin: 0;
	min-width: 0;
	grid-column: 2;
}

/* --- Shop Sidebar (reuses header dropdown, always open) --- */
.shop-sidebar {
	position: sticky;
	top: 46px;
	z-index: 100;
	align-self: start;
}

.shop-sidebar--docked {
	z-index: 998;
	-webkit-box-shadow: var(--shadow-lg);
	box-shadow: var(--shadow-lg);
}

.shop-sidebar--docked .header-cat-dropdown {
	border-radius: 0;
	border-top: none;
}

.shop-sidebar .header-cat-dropdown {
	position: static;
	width: 100%;
	-webkit-box-shadow: none;
	box-shadow: none;
	border: 1px solid var(--color-border-light);
	border-radius: 0;
	display: block !important;
}

.shop-sidebar .hcd-menu {
	position: relative;
}

/* Sidebar docked → flyout (same as header) */
.shop-sidebar.shop-sidebar--docked .hcd-submenu {
	left: 100%;
	top: 0;
	bottom: 0;
	width: calc(var(--container) - 250px - 44px);
}

/* Sidebar normal → accordion mode (slide-down animated) */
.shop-sidebar:not(.shop-sidebar--docked) .hcd-submenu {
	position: static;
	width: auto;
	-webkit-box-shadow: none;
	box-shadow: none;
	border-radius: 0;
	padding: 0 0 0 14px;
	margin-left: 6px;
	border-left: 1px solid var(--color-border);
	background: transparent;
	border-top: none;
	display: block;
	max-height: 0;
	overflow: hidden;
	transform-origin: top;
	transform: scaleY(0);
	opacity: 0;
	transition: max-height 0.3s ease, transform 0.3s ease, opacity 0.2s ease;
}

/* Disable hover flyout in accordion mode */
.shop-sidebar:not(.shop-sidebar--docked) .hcd-has-children:hover > .hcd-submenu {
	max-height: 0;
	transform: scaleY(0);
}

/* Show submenu for current category or toggled open */
.shop-sidebar:not(.shop-sidebar--docked) .hcd-has-children.current-menu-ancestor:not(.hcd-closed) > .hcd-submenu,
.shop-sidebar:not(.shop-sidebar--docked) .hcd-has-children.current-menu-parent:not(.hcd-closed) > .hcd-submenu,
.shop-sidebar:not(.shop-sidebar--docked) .hcd-has-children.current-menu-item:not(.hcd-closed) > .hcd-submenu,
.shop-sidebar:not(.shop-sidebar--docked) .hcd-has-children.hcd-open > .hcd-submenu {
	max-height: 3000px;
	transform: scaleY(1);
	opacity: 1;
}

/* Arrow: point down in accordion */
.shop-sidebar:not(.shop-sidebar--docked) .hcd-arrow {
	transform: rotate(90deg);
	transition: transform var(--transition);
}

/* Arrow: point up when open */
.shop-sidebar:not(.shop-sidebar--docked) .current-menu-ancestor:not(.hcd-closed) > .hcd-link .hcd-arrow,
.shop-sidebar:not(.shop-sidebar--docked) .current-menu-parent:not(.hcd-closed) > .hcd-link .hcd-arrow,
.shop-sidebar:not(.shop-sidebar--docked) .current-menu-item:not(.hcd-closed) > .hcd-link .hcd-arrow,
.shop-sidebar:not(.shop-sidebar--docked) .hcd-open > .hcd-link .hcd-arrow {
	transform: rotate(-90deg);
}

/* ── Tree structure for L2/L3 in sidebar accordion ── */

/* L2 items */
.shop-sidebar:not(.shop-sidebar--docked) .hcd-child {
	width: 100%;
	position: relative;
	display: block;
}

.shop-sidebar:not(.shop-sidebar--docked) .hcd-child .hcd-link {
	display: block;
	width: 100%;
	padding-right: 36px;
}

.shop-sidebar:not(.shop-sidebar--docked) .hcd-child > .hcd-count {
	position: absolute;
	right: 8px;
	top: 8px;
	pointer-events: none;
	margin-left: 0;
}

/* Tree branch: horizontal connector ├── */
.shop-sidebar:not(.shop-sidebar--docked) .hcd-child::before {
	content: '';
	position: absolute;
	left: -14px;
	top: 14px;
	width: 10px;
	height: 0;
	border-top: 1px solid var(--color-border);
}

/* Last child: └── (cut vertical line) */
.shop-sidebar:not(.shop-sidebar--docked) .hcd-child:last-child::after {
	content: '';
	position: absolute;
	left: -15px;
	top: 14px;
	bottom: 0;
	width: 2px;
	background: var(--color-white);
}

.shop-sidebar:not(.shop-sidebar--docked) .hcd-child .hcd-link {
	padding: 6px 8px;
	font-size: 0.84rem;
	border-bottom: none;
	border-radius: 0;
}

/* ── L3 tree ── */
.shop-sidebar:not(.shop-sidebar--docked) .hcd-l3-list {
	padding: 0 0 0 12px;
	margin-left: 4px;
	border-left: 1px solid var(--color-border);
	display: none;
}

.shop-sidebar:not(.shop-sidebar--docked) .hcd-child.current-menu-item > .hcd-l3-list,
.shop-sidebar:not(.shop-sidebar--docked) .hcd-child.current-menu-ancestor > .hcd-l3-list,
.shop-sidebar:not(.shop-sidebar--docked) .hcd-child.current-menu-parent > .hcd-l3-list {
	display: block;
}

.shop-sidebar:not(.shop-sidebar--docked) .hcd-l3 {
	position: relative;
}

/* L3 branch connector */
.shop-sidebar:not(.shop-sidebar--docked) .hcd-l3::before {
	content: '';
	position: absolute;
	left: -12px;
	top: 12px;
	width: 8px;
	height: 0;
	border-top: 1px solid var(--color-border);
}

.shop-sidebar:not(.shop-sidebar--docked) .hcd-l3:last-child::after {
	content: '';
	position: absolute;
	left: -13px;
	top: 12px;
	bottom: 0;
	width: 2px;
	background: var(--color-white);
}

.shop-sidebar:not(.shop-sidebar--docked) .hcd-l3 .hcd-link {
	padding: 4px 8px;
	font-size: 0.8rem;
	color: var(--color-text);
}



/* --- Shop Breadcrumb (Rank Math) --- */
.shop-layout .rank-math-breadcrumb {
	margin: 0 0 20px;
	padding: 0;
	font-size: 0.82rem;
}

.shop-layout .rank-math-breadcrumb p {
	margin: 0;
}

.shop-layout .rank-math-breadcrumb a {
	color: var(--color-primary);
	font-weight: 500;
}

.shop-layout .rank-math-breadcrumb a:hover {
	color: var(--color-accent);
}

.shop-layout .rank-math-breadcrumb .separator {
	color: var(--color-text-muted);
	margin: 0 4px;
}

.shop-layout .rank-math-breadcrumb .last {
	color: var(--color-text-muted);
}

/* --- Shop Page Header --- */
.shop-layout .woocommerce-products-header {
	margin-bottom: 16px;
}

/* Hide shop header on front page */
.home .woocommerce-products-header {
	display: none;
}

.shop-layout .woocommerce-products-header__title {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--color-primary);
	margin: 0 0 6px;
}

.shop-layout .term-description {
	color: var(--color-text-light);
	font-size: 0.9rem;
	margin-bottom: 16px;
	line-height: 1.6;
}

.shop-layout .term-description p {
	margin: 0;
}

/* --- Filter bar --- */
.shop-filter-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	background: var(--color-white);
	border: 1px solid var(--color-border-light);
	border-radius: var(--radius);
	padding: 8px 16px;
	margin-bottom: 18px;
	clear: both;
}

.shop-layout .woocommerce-result-count,
.shop-layout .woocommerce-ordering {
	margin: 0;
}

.shop-layout .woocommerce-result-count {
	font-size: 0.82rem;
	color: var(--color-text-muted);
	line-height: 36px;
}

.shop-layout .woocommerce-ordering select {
	padding: 7px 32px 7px 12px;
	font-size: 0.84rem;
	border: 1px solid var(--color-border);
	border-radius: 50px;
	background: var(--color-white);
	color: var(--color-text);
	cursor: pointer;
	min-width: 160px;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='%23999'%3E%3Cpath d='M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
}

.shop-layout .woocommerce-ordering select:focus {
	border-color: var(--color-primary);
	outline: none;
}

.shop-layout .woocommerce-notices-wrapper {
	clear: both;
}

/* ==========================================================================
   HTML Sitemap
   ========================================================================== */
.sitemap-content h2 {
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--color-primary);
	margin: 0 0 24px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--color-accent);
}

.sitemap-section {
	margin-bottom: 28px;
}

.sitemap-l1 {
	font-size: 1rem;
	font-weight: 700;
	margin: 0 0 10px;
}

.sitemap-l1 a {
	color: var(--color-primary);
	text-decoration: none;
}

.sitemap-l1 a:hover {
	color: var(--color-accent);
}

.sitemap-count {
	font-size: 0.75rem;
	color: var(--color-text-muted);
	font-weight: 400;
}

.sitemap-l2-list {
	margin: 0 0 0 20px;
	padding: 0;
	list-style: none;
}

.sitemap-l2-list > li {
	margin-bottom: 8px;
}

.sitemap-l2-list > li > a {
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--color-text);
	text-decoration: none;
}

.sitemap-l2-list > li > a:hover {
	color: var(--color-accent);
}

.sitemap-l3-list {
	margin: 6px 0 0 20px;
	padding: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 4px 16px;
}

.sitemap-l3-list li a {
	font-size: 0.82rem;
	color: var(--color-text-muted);
	text-decoration: none;
}

.sitemap-l3-list li a:hover {
	color: var(--color-accent);
}

/* ==========================================================================
   WooCommerce — Products Grid
   ========================================================================== */
.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
	margin: 0;
	padding: 0;
	clear: both;
}

.woocommerce ul.products li.product {
	list-style: none;
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
	background: var(--color-white);
	border: 1px solid var(--color-border-light);
	border-radius: var(--radius);
	padding: 12px;
	transition: all var(--transition);
	text-align: center;
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.woocommerce ul.products li.product:hover {
	border-color: var(--color-accent);
	-webkit-box-shadow: var(--shadow-md);
	box-shadow: var(--shadow-md);
	transform: translateY(-3px);
}

.woocommerce ul.products li.product a img {
	border-radius: var(--radius);
	margin-bottom: 8px;
	transition: transform var(--transition);
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.woocommerce ul.products li.product:hover a img {
	transform: scale(1.03);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-size: 0.85rem;
	color: var(--color-primary);
	font-weight: 600;
	padding: 0;
	margin: 4px 0 6px;
	line-height: 1.4;
	min-height: 2.4em;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.woocommerce ul.products li.product .price {
	color: var(--color-accent) !important;
	font-weight: 700;
	font-size: 1rem;
	display: block;
	margin: 4px 0 8px;
	line-height: 1.4;
}

.woocommerce ul.products li.product .price del {
	color: var(--color-text-muted);
	font-weight: 400;
	font-size: 0.8rem;
	display: block;
}

.woocommerce ul.products li.product .price ins {
	text-decoration: none;
	color: var(--color-accent);
}

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button,
.woocommerce ul.products li.product .product_type_simple {
	display: inline-block;
	background: var(--color-accent);
	color: var(--color-white);
	border: none;
	border-radius: var(--radius);
	padding: 7px 16px;
	font-weight: 700;
	font-size: 0.78rem;
	text-transform: uppercase;
	cursor: pointer;
	transition: all var(--transition);
	margin-top: auto;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product .add_to_cart_button:hover {
	background: var(--color-accent-dark);
	transform: translateY(-1px);
	-webkit-box-shadow: 0 3px 8px rgba(230,126,34,0.25);
	box-shadow: 0 3px 8px rgba(230,126,34,0.25);
	color: var(--color-white);
}

/* Sale badge */
.woocommerce span.onsale {
	position: absolute;
	top: 8px;
	left: 8px;
	background: var(--color-danger);
	color: var(--color-white);
	border-radius: var(--radius);
	font-weight: 700;
	font-size: 0.75rem;
	padding: 3px 8px;
	min-height: auto;
	min-width: auto;
	line-height: 1.4;
	z-index: 10;
}

/* WooCommerce Pagination */
.woocommerce nav.woocommerce-pagination {
	margin-top: 24px;
	clear: both;
}

.woocommerce nav.woocommerce-pagination ul {
	display: flex;
	justify-content: center;
	gap: 6px;
	list-style: none;
	padding: 0;
	margin: 0;
	border: none;
}

.woocommerce nav.woocommerce-pagination ul li {
	border: none;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 10px;
	border-radius: var(--radius);
	font-size: 0.85rem;
	font-weight: 600;
	text-decoration: none;
	transition: all var(--transition);
	border: 1px solid var(--color-border);
	color: var(--color-text);
	background: var(--color-white);
}

.woocommerce nav.woocommerce-pagination ul li a:hover {
	border-color: var(--color-accent);
	color: var(--color-accent);
	background: rgba(230,126,34,0.05);
}

.woocommerce nav.woocommerce-pagination ul li span.current {
	background: var(--color-accent);
	color: var(--color-white);
	border-color: var(--color-accent);
}

/* Star rating */
.woocommerce .star-rating {
	margin: 4px auto;
}

.woocommerce .star-rating span::before {
	color: var(--color-accent-light);
}

/* ==========================================================================
   WooCommerce — Single Product Layout
   ========================================================================== */

/* Layout wrapper */
.single-product-layout {
	max-width: var(--container);
	margin: 0 auto;
	padding: 20px 20px 50px;
}

.single-product-breadcrumb {
	margin-bottom: 18px;
}

.single-product-breadcrumb .rank-math-breadcrumb {
	font-size: 0.82rem;
	padding: 0;
	margin: 0;
}

.single-product-breadcrumb .rank-math-breadcrumb p { margin: 0; }
.single-product-breadcrumb .rank-math-breadcrumb a { color: var(--color-primary); font-weight: 500; }
.single-product-breadcrumb .rank-math-breadcrumb a:hover { color: var(--color-accent); }
.single-product-breadcrumb .rank-math-breadcrumb .separator { color: var(--color-text-muted); margin: 0 6px; }
.single-product-breadcrumb .rank-math-breadcrumb .last { color: var(--color-text-muted); font-weight: 400; }

.single-product-columns {
	display: grid;
	grid-template-columns: 1fr 280px;
	gap: 24px;
	align-items: start;
}

.single-product-content {
	padding: 0 !important;
	max-width: none !important;
	margin: 0 !important;
	min-width: 0;
}

/* --- Product Card (image + summary) --- */
.woocommerce div.product {
	background: var(--color-white);
	border-radius: var(--radius-lg);
	-webkit-box-shadow: var(--shadow);
	box-shadow: var(--shadow);
	padding: 28px;
	margin-bottom: 20px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
	align-items: start;
}

/* Gallery — left column */
.woocommerce div.product .woocommerce-product-gallery {
	margin-bottom: 0;
	width: 100% !important;
	float: none !important;
	position: relative;
}

/* Main image */
.woocommerce div.product .woocommerce-product-gallery .flex-viewport,
.woocommerce div.product .woocommerce-product-gallery .woocommerce-product-gallery__image {
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: var(--color-bg-light);
}

.woocommerce div.product .woocommerce-product-gallery .woocommerce-product-gallery__image img {
	border-radius: 0;
	border: none;
	width: 100%;
	height: auto;
	display: block;
}

/* Flexslider nav arrows */
.woocommerce div.product .woocommerce-product-gallery .flex-direction-nav {
	margin: 0;
	padding: 0;
	list-style: none;
}

.woocommerce div.product .woocommerce-product-gallery .flex-direction-nav a {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	background: rgba(255,255,255,0.9);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	-webkit-box-shadow: 0 2px 8px rgba(0,0,0,0.12);
	box-shadow: 0 2px 8px rgba(0,0,0,0.12);
	text-indent: -9999px;
	z-index: 10;
	transition: all var(--transition);
	opacity: 0;
}

.woocommerce div.product .woocommerce-product-gallery:hover .flex-direction-nav a {
	opacity: 1;
}

.woocommerce div.product .woocommerce-product-gallery .flex-direction-nav a.flex-prev {
	left: 12px;
}

.woocommerce div.product .woocommerce-product-gallery .flex-direction-nav a.flex-next {
	right: 12px;
}

.woocommerce div.product .woocommerce-product-gallery .flex-direction-nav a::after {
	content: '';
	width: 10px;
	height: 10px;
	border-right: 2px solid var(--color-primary);
	border-bottom: 2px solid var(--color-primary);
	display: block;
	text-indent: 0;
}

.woocommerce div.product .woocommerce-product-gallery .flex-direction-nav a.flex-prev::after {
	transform: rotate(135deg);
	margin-left: 3px;
}

.woocommerce div.product .woocommerce-product-gallery .flex-direction-nav a.flex-next::after {
	transform: rotate(-45deg);
	margin-right: 3px;
}

.woocommerce div.product .woocommerce-product-gallery .flex-direction-nav a:hover {
	background: var(--color-white);
	-webkit-box-shadow: 0 4px 12px rgba(0,0,0,0.18);
	box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}

/* Thumbnails — horizontal scroll strip */
.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs {
	display: flex;
	gap: 8px;
	margin-top: 12px;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
}

/* Hide scrollbar */
.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar {
	height: 0;
	display: none;
}

.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs li {
	flex-shrink: 0;
	width: 72px;
	height: 72px;
	cursor: pointer;
}

.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs li img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: var(--radius);
	border: 2px solid var(--color-border-light);
	transition: border-color var(--transition);
	opacity: 0.7;
}

.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs li img:hover {
	opacity: 1;
	border-color: var(--color-primary);
}

.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs li img.flex-active {
	border-color: var(--color-accent);
	opacity: 1;
}

/* Single image (no gallery) — no thumbnails, just the image */
.woocommerce div.product .woocommerce-product-gallery--without-images,
.woocommerce div.product .woocommerce-product-gallery--columns-0 {
	/* No special handling needed — WooCommerce hides thumbnails automatically */
}

/* Thumbnail prev/next arrows */
.thumb-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: rgba(255,255,255,0.95) !important;
	border: 1px solid var(--color-border) !important;
	-webkit-box-shadow: 0 2px 6px rgba(0,0,0,0.1);
	box-shadow: 0 2px 6px rgba(0,0,0,0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 10;
	padding: 0 !important;
	color: var(--color-primary);
	transition: all var(--transition);
}

.thumb-nav:hover {
	background: var(--color-white) !important;
	-webkit-box-shadow: 0 3px 10px rgba(0,0,0,0.15);
	box-shadow: 0 3px 10px rgba(0,0,0,0.15);
	color: var(--color-accent);
	transform: translateY(-50%) !important;
}

.thumb-nav--prev {
	left: -4px;
}

.thumb-nav--next {
	right: -4px;
}

/* Zoom icon */
.woocommerce div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 36px;
	height: 36px;
	background: rgba(255,255,255,0.9);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	-webkit-box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	z-index: 10;
	text-decoration: none;
	font-size: 0;
}

.woocommerce div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger::before {
	content: '';
	width: 16px;
	height: 16px;
	border: 2px solid var(--color-primary);
	border-radius: 50%;
	display: block;
}

.woocommerce div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger:hover {
	background: var(--color-white);
	-webkit-box-shadow: 0 4px 12px rgba(0,0,0,0.15);
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Summary — right column */
.woocommerce div.product .summary {
	padding: 0;
}

.woocommerce div.product .product_title {
	color: var(--color-primary);
	font-size: 1.5rem;
	font-weight: 700;
	margin: 0 0 10px;
	line-height: 1.35;
}

/* Custom meta (SKU, category, stock) — below title */
.sp-meta-top {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	margin-bottom: 14px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--color-border-light);
}

.sp-meta-item {
	font-size: 0.85rem;
	color: var(--color-text-light);
}

.sp-meta-item strong {
	color: var(--color-text);
	font-weight: 600;
}

.sp-meta-item a {
	color: var(--color-primary);
}

.sp-meta-item a:hover {
	color: var(--color-accent);
}

.sp-in-stock {
	display: flex;
	align-items: center;
	gap: 4px;
	color: #27ae60;
	font-weight: 600;
}

.sp-out-stock {
	color: var(--color-danger);
	font-weight: 600;
}

/* Price */
.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: var(--color-accent) !important;
	font-size: 1.6rem;
	font-weight: 700;
	margin-bottom: 14px;
}

.woocommerce div.product p.price del {
	font-size: 1rem;
	color: var(--color-text-muted);
	font-weight: 400;
}

.woocommerce div.product p.price ins {
	text-decoration: none;
}

/* Short description — styled as specs box */
.woocommerce div.product .woocommerce-product-details__short-description {
	color: var(--color-text);
	line-height: 1.7;
	margin: 0 0 16px;
	padding: 16px 18px;
	background: var(--color-bg-light);
	border-radius: var(--radius);
	border: 1px solid var(--color-border-light);
	font-size: 0.9rem;
}

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

/* Add to cart form */
.woocommerce div.product form.cart {
	margin: 0 0 14px;
	padding: 16px 0;
	border-top: 1px solid var(--color-border-light);
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	border-bottom: none;
}

.woocommerce div.product form.cart .quantity {
	margin-right: 0;
}

.woocommerce div.product form.cart .quantity input {
	width: 60px;
	text-align: center;
	padding: 12px 8px;
	border: 2px solid var(--color-border);
	border-radius: var(--radius);
	font-size: 1rem;
	font-weight: 600;
}

.woocommerce div.product form.cart .single_add_to_cart_button {
	background: #e74c3c;
	color: var(--color-white);
	padding: 13px 36px;
	font-size: 1rem;
	font-weight: 700;
	border-radius: var(--radius);
	text-transform: uppercase;
	flex: 1;
	max-width: 300px;
	text-align: center;
}

.woocommerce div.product form.cart .single_add_to_cart_button:hover {
	background: #c0392b;
	-webkit-box-shadow: 0 4px 15px rgba(231,76,60,0.35);
	box-shadow: 0 4px 15px rgba(231,76,60,0.35);
}

/* Hotline bar */
.sp-hotline-bar {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 0 0 14px;
	border-bottom: 1px solid var(--color-border-light);
}

.sp-hotline-left {
	display: flex;
	align-items: center;
	gap: 6px;
	color: var(--color-text-light);
	font-size: 0.9rem;
}

.sp-hotline-left svg {
	color: var(--color-primary);
}

.sp-hotline-num {
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--color-primary) !important;
}

.sp-hotline-num:hover {
	color: var(--color-accent) !important;
}

/* Hide default product_meta (moved to sp-meta-top) */
.woocommerce div.product .product_meta {
	display: none;
}

/* Stock indicator */
.woocommerce div.product .stock {
	font-size: 0.85rem;
	margin-top: 6px;
}

/* === Tabs === */
.woocommerce div.product .woocommerce-tabs {
	grid-column: 1 / -1;
	margin-top: 0;
	background: var(--color-white);
	border-radius: var(--radius-lg);
	-webkit-box-shadow: var(--shadow);
	box-shadow: var(--shadow);
	padding: 0;
	overflow: hidden;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
	display: flex;
	border-bottom: 2px solid var(--color-border-light);
	margin: 0;
	padding: 0;
	list-style: none;
	background: var(--color-bg-light);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
	margin: 0;
	padding: 0;
	border: none;
	background: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
	display: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	display: block;
	padding: 14px 24px;
	color: var(--color-text-light);
	font-weight: 600;
	font-size: 0.9rem;
	text-decoration: none;
	border-bottom: 3px solid transparent;
	margin-bottom: -2px;
	transition: all var(--transition);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
	color: var(--color-primary);
	border-bottom-color: var(--color-accent);
	background: var(--color-white);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
	color: var(--color-primary);
}

.woocommerce div.product .woocommerce-tabs .woocommerce-Tabs-panel {
	padding: 24px 28px;
	font-size: 0.92rem;
	line-height: 1.8;
}

.woocommerce div.product .woocommerce-tabs .woocommerce-Tabs-panel h2 {
	font-size: 1.2rem;
	color: var(--color-primary);
	margin-bottom: 14px;
}

/* Additional info table (Thông số kỹ thuật) */
.woocommerce div.product .woocommerce-tabs .shop_attributes {
	width: 100%;
	border-collapse: collapse;
	margin: 0;
}

.woocommerce div.product .woocommerce-tabs .shop_attributes th,
.woocommerce div.product .woocommerce-tabs .shop_attributes td {
	padding: 12px 16px;
	border-bottom: 1px solid var(--color-border-light);
	font-size: 0.9rem;
	text-align: left;
}

.woocommerce div.product .woocommerce-tabs .shop_attributes th {
	background: var(--color-bg-light);
	color: var(--color-text);
	font-weight: 600;
	width: 35%;
	border-right: 1px solid var(--color-border-light);
}

.woocommerce div.product .woocommerce-tabs .shop_attributes td {
	color: var(--color-text-light);
}

.woocommerce div.product .woocommerce-tabs .shop_attributes td p {
	margin: 0;
}

.woocommerce div.product .woocommerce-tabs .shop_attributes tr:nth-child(even) th,
.woocommerce div.product .woocommerce-tabs .shop_attributes tr:nth-child(even) td {
	background: rgba(247,248,250,0.5);
}

.woocommerce div.product .woocommerce-tabs .shop_attributes tr:last-child th,
.woocommerce div.product .woocommerce-tabs .shop_attributes tr:last-child td {
	border-bottom: none;
}

/* === Related & Upsells === */
.woocommerce .related.products,
.woocommerce .upsells.products {
	background: var(--color-white);
	border-radius: var(--radius-lg);
	-webkit-box-shadow: var(--shadow);
	box-shadow: var(--shadow);
	padding: 24px 28px;
	margin-top: 20px;
	grid-column: 1 / -1;
}

.woocommerce .related.products h2,
.woocommerce .upsells.products h2 {
	font-size: 1.1rem;
	color: var(--color-primary);
	margin: 0 0 18px;
}

/* Related products grid — override to fit the full-width container */
.woocommerce .related.products ul.products,
.woocommerce .upsells.products ul.products {
	grid-template-columns: repeat(4, 1fr) !important;
	gap: 16px !important;
}

.woocommerce .related.products ul.products li.product,
.woocommerce .upsells.products ul.products li.product {
	padding: 12px;
}

.woocommerce .related.products ul.products li.product .woocommerce-loop-product__title,
.woocommerce .upsells.products ul.products li.product .woocommerce-loop-product__title {
	font-size: 0.82rem;
	min-height: auto;
	-webkit-line-clamp: 2;
}

.woocommerce .related.products ul.products li.product .price,
.woocommerce .upsells.products ul.products li.product .price {
	font-size: 0.92rem;
}

.woocommerce .related.products ul.products li.product .button,
.woocommerce .upsells.products ul.products li.product .button {
	padding: 6px 14px;
	font-size: 0.75rem;
}

@media (max-width: 768px) {
	.woocommerce .related.products ul.products,
	.woocommerce .upsells.products ul.products {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 10px !important;
	}
}

/* ==========================================================================
   Single Product — Sidebar
   ========================================================================== */
.single-product-sidebar {
	position: sticky;
	top: 90px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.sp-sidebar-widget {
	background: var(--color-white);
	border-radius: var(--radius-lg);
	-webkit-box-shadow: var(--shadow);
	box-shadow: var(--shadow);
	overflow: hidden;
}

/* Hotline widget */
.sp-sidebar-hotline {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 18px;
	background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
	color: var(--color-white);
}

.sp-sidebar-icon {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	background: rgba(255,255,255,0.15);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.sp-sidebar-icon svg {
	color: var(--color-white);
}

.sp-sidebar-info strong {
	display: block;
	font-size: 0.8rem;
	opacity: 0.85;
	font-weight: 500;
	margin-bottom: 2px;
}

.sp-hotline-number {
	color: var(--color-accent-light) !important;
	font-size: 1.2rem;
	font-weight: 700;
}

.sp-hotline-number:hover {
	color: var(--color-white) !important;
}

/* Sidebar titles */
.sp-sidebar-title {
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--color-primary);
	margin: 0;
	padding: 14px 16px;
	border-bottom: 2px solid var(--color-accent);
	background: var(--color-bg-light);
	text-transform: uppercase;
}

/* Commitments */
.sp-commitment-list {
	list-style: none;
	padding: 12px 16px;
	margin: 0;
}

.sp-commitment-list li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	padding: 7px 0;
	font-size: 0.84rem;
	color: var(--color-text);
	line-height: 1.4;
}

.sp-commitment-list li svg {
	flex-shrink: 0;
	margin-top: 1px;
}

/* Policy links */
.sp-policy-list {
	list-style: none;
	padding: 6px 0;
	margin: 0;
}

.sp-policy-list li {
	border-bottom: 1px solid var(--color-border-light);
}

.sp-policy-list li:last-child {
	border-bottom: none;
}

.sp-policy-list li a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 16px;
	color: var(--color-text);
	font-size: 0.85rem;
	font-weight: 500;
	text-decoration: none;
	transition: all var(--transition);
}

.sp-policy-list li a:hover {
	color: var(--color-accent);
	background: var(--color-bg-light);
	padding-left: 20px;
}

.sp-policy-list li svg {
	flex-shrink: 0;
	color: var(--color-primary);
	opacity: 0.6;
}

/* Category links */
.sp-category-list {
	list-style: none;
	padding: 4px 0;
	margin: 0;
}

.sp-category-list li a {
	display: flex;
	justify-content: space-between;
	padding: 8px 16px;
	color: var(--color-text);
	font-size: 0.84rem;
	text-decoration: none;
	border-bottom: 1px solid var(--color-border-light);
	transition: all var(--transition);
}

.sp-category-list li:last-child a {
	border-bottom: none;
}

.sp-category-list li a:hover {
	color: var(--color-accent);
	background: var(--color-bg-light);
	padding-left: 20px;
}

.sp-category-list li a .count {
	color: var(--color-text-muted);
	font-size: 0.78rem;
}

/* ==========================================================================
   WooCommerce — Cart & Checkout
   ========================================================================== */

/* Cart page layout — table left, totals right */
.woocommerce-cart .woocommerce {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
}

.woocommerce-cart .woocommerce > form {
	flex: 1;
	min-width: 0;
}

.woocommerce-cart .cart-collaterals {
	width: 340px;
	flex-shrink: 0;
}

/* Cart table */
.woocommerce table.shop_table {
	border-radius: var(--radius-lg);
	overflow: hidden;
	border: 1px solid var(--color-border-light);
	border-collapse: collapse;
	width: 100%;
	background: var(--color-white);
}

.woocommerce table.shop_table thead {
	background: var(--color-primary);
}

.woocommerce table.shop_table th {
	background: var(--color-primary);
	color: var(--color-white);
	padding: 13px 16px;
	font-weight: 600;
	font-size: 0.85rem;
	text-transform: uppercase;
	text-align: left;
}

.woocommerce table.shop_table td {
	padding: 14px 16px;
	border-bottom: 1px solid var(--color-border-light);
	vertical-align: middle;
	font-size: 0.9rem;
}

.woocommerce table.shop_table tr:last-child td {
	border-bottom: none;
}

/* Product thumbnail in cart */
.woocommerce table.shop_table .product-thumbnail img {
	width: 60px;
	height: 60px;
	object-fit: cover;
	border-radius: var(--radius);
	border: 1px solid var(--color-border-light);
}

/* Product name in cart */
.woocommerce table.shop_table .product-name a {
	color: var(--color-primary);
	font-weight: 600;
	text-decoration: none;
	font-size: 0.9rem;
}

.woocommerce table.shop_table .product-name a:hover {
	color: var(--color-accent);
}

/* Product price */
.woocommerce table.shop_table .product-price,
.woocommerce table.shop_table .product-subtotal {
	font-weight: 700;
	color: var(--color-accent);
}

/* Quantity input */
.woocommerce table.shop_table .quantity input.qty {
	width: 55px;
	text-align: center;
	padding: 8px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	font-size: 0.9rem;
}

/* Remove button */
.woocommerce table.shop_table .product-remove a {
	color: var(--color-text-muted) !important;
	font-size: 1.2rem;
	text-decoration: none;
	transition: color var(--transition);
}

.woocommerce table.shop_table .product-remove a:hover {
	color: var(--color-danger) !important;
}

/* Coupon & Update row */
.woocommerce table.shop_table td.actions {
	padding: 16px;
	background: var(--color-bg-light);
}

.woocommerce table.shop_table .coupon {
	display: flex;
	gap: 8px;
	align-items: center;
}

.woocommerce table.shop_table .coupon input.input-text {
	padding: 10px 14px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	font-size: 0.88rem;
	max-width: 200px;
}

.woocommerce table.shop_table .coupon button {
	padding: 10px 18px;
	font-size: 0.82rem;
}

.woocommerce table.shop_table td.actions > button[name="update_cart"] {
	position: absolute;
	left: -9999px;
	opacity: 0;
	pointer-events: none;
}

/* Cart totals box */
.woocommerce .cart_totals {
	background: var(--color-white);
	border-radius: var(--radius-lg);
	border: 1px solid var(--color-border-light);
	overflow: hidden;
}

.woocommerce .cart_totals h2 {
	font-size: 1rem;
	color: var(--color-white);
	background: var(--color-primary);
	padding: 14px 18px;
	margin: 0;
	text-transform: uppercase;
}

.woocommerce .cart_totals table {
	margin: 0;
	border: none;
}

.woocommerce .cart_totals table th {
	background: var(--color-bg-light);
	color: var(--color-text);
	font-weight: 600;
	font-size: 0.88rem;
	padding: 12px 18px;
	text-transform: none;
	border-bottom: 1px solid var(--color-border-light);
	width: 40%;
}

.woocommerce .cart_totals table td {
	padding: 12px 18px;
	font-size: 0.9rem;
	border-bottom: 1px solid var(--color-border-light);
}

.woocommerce .cart_totals .order-total th,
.woocommerce .cart_totals .order-total td {
	font-size: 1rem;
	font-weight: 700;
	border-bottom: none;
}

.woocommerce .cart_totals .order-total td .amount {
	color: var(--color-accent);
	font-size: 1.2rem;
}

/* Checkout button */
.woocommerce .wc-proceed-to-checkout {
	padding: 16px;
}

.woocommerce a.checkout-button,
.woocommerce .wc-proceed-to-checkout a {
	display: block;
	background: #e74c3c;
	color: var(--color-white) !important;
	text-align: center;
	padding: 14px 20px;
	border-radius: var(--radius);
	font-weight: 700;
	font-size: 0.95rem;
	text-transform: uppercase;
	transition: all var(--transition);
	text-decoration: none;
}

.woocommerce a.checkout-button:hover,
.woocommerce .wc-proceed-to-checkout a:hover {
	background: #c0392b;
	-webkit-box-shadow: 0 4px 12px rgba(231,76,60,0.3);
	box-shadow: 0 4px 12px rgba(231,76,60,0.3);
}

/* Continue shopping link */
.woocommerce .return-to-shop a,
.woocommerce .wc-backward {
	display: inline-block;
	background: var(--color-primary);
	color: var(--color-white) !important;
	padding: 12px 24px;
	border-radius: var(--radius);
	font-weight: 600;
	font-size: 0.9rem;
	text-decoration: none;
	transition: all var(--transition);
}

.woocommerce .return-to-shop a:hover {
	background: var(--color-primary-dark);
}

/* Empty cart */
.woocommerce-cart .cart-empty {
	text-align: center;
	padding: 50px 20px;
	font-size: 1.1rem;
	color: var(--color-text-light);
}

.woocommerce-cart .cart-empty::before {
	content: '';
	display: block;
	width: 80px;
	height: 80px;
	margin: 0 auto 20px;
	background: var(--color-bg-light);
	border-radius: 50%;
}

/* Cross-sells */
.woocommerce .cross-sells {
	margin-top: 24px;
	width: 100%;
}

.woocommerce .cross-sells h2 {
	font-size: 1.15rem;
	color: var(--color-primary);
	margin-bottom: 16px;
}

/* Alt buttons */
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
	background: var(--color-primary);
	color: var(--color-white);
}

.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
	background: var(--color-primary-dark);
}

/* Responsive cart */
@media (max-width: 768px) {
	.woocommerce-cart .woocommerce {
		flex-direction: column;
	}

	.woocommerce-cart .cart-collaterals {
		width: 100%;
	}

	.woocommerce table.shop_table .coupon {
		flex-direction: column;
		align-items: stretch;
	}

	.woocommerce table.shop_table .coupon input.input-text {
		max-width: 100%;
	}

	.woocommerce table.shop_table td.actions > button[name="update_cart"] {
		float: none;
		width: 100%;
		margin-top: 10px;
	}
}

/* ==========================================================================
   WooCommerce — Checkout
   ========================================================================== */

/* Hide duplicate "Đơn hàng của bạn" heading outside order_review */
.woocommerce-checkout #order_review_heading {
	display: none;
}

/* 2-column layout: billing left, order review right */
.woocommerce form.checkout {
	display: grid;
	grid-template-columns: 1fr 400px;
	gap: 24px;
	align-items: start;
}

/* Billing section */
.woocommerce .col2-set {
	grid-column: 1;
}

.woocommerce .col2-set .col-1,
.woocommerce .col2-set .col-2 {
	width: 100%;
	float: none;
	margin: 0;
}

/* Billing card */
.woocommerce .col2-set {
	background: var(--color-white);
	border-radius: var(--radius-lg);
	-webkit-box-shadow: var(--shadow);
	box-shadow: var(--shadow);
	padding: 24px 28px;
}

.woocommerce .col2-set h3 {
	font-size: 1.1rem;
	color: var(--color-primary);
	margin: 0 0 18px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--color-border-light);
}

/* Form fields */
.woocommerce form .form-row {
	margin-bottom: 14px;
}

.woocommerce form .form-row label {
	font-weight: 600;
	font-size: 0.85rem;
	color: var(--color-primary);
	margin-bottom: 4px;
	display: block;
}

.woocommerce form .form-row label .required {
	color: var(--color-danger);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
	padding: 10px 14px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	font-size: 0.9rem;
	width: 100%;
	transition: border-color var(--transition);
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
	border-color: var(--color-primary);
	outline: none;
	-webkit-box-shadow: 0 0 0 2px rgba(26,58,92,0.08);
	box-shadow: 0 0 0 2px rgba(26,58,92,0.08);
}

.woocommerce form .form-row-first,
.woocommerce form .form-row-last {
	width: 48% !important;
}

/* Order notes */
.woocommerce .woocommerce-additional-fields h3 {
	font-size: 1rem;
	margin-top: 20px;
	padding-top: 16px;
	border-top: 1px solid var(--color-border-light);
}

.woocommerce .woocommerce-additional-fields textarea {
	min-height: 80px;
}

/* Order review — right column */
.woocommerce #order_review {
	grid-column: 2;
	grid-row: 1 / 3;
	position: sticky;
	top: 80px;
	background: var(--color-white);
	border-radius: var(--radius-lg);
	-webkit-box-shadow: var(--shadow);
	box-shadow: var(--shadow);
	overflow: hidden;
}

/* Order review header */
.woocommerce #order_review::before {
	content: 'Đơn hàng của bạn';
	display: block;
	background: var(--color-primary);
	color: var(--color-white);
	padding: 14px 20px;
	font-size: 0.95rem;
	font-weight: 700;
	text-transform: uppercase;
}

/* Order review table */
.woocommerce #order_review table.shop_table {
	border: none;
	border-radius: 0;
	margin: 0;
}

.woocommerce #order_review table.shop_table thead th {
	padding: 10px 20px;
	font-size: 0.8rem;
}

.woocommerce #order_review table.shop_table td {
	padding: 10px 20px;
	font-size: 0.88rem;
}

.woocommerce #order_review table.shop_table .product-name {
	color: var(--color-text);
}

.woocommerce #order_review table.shop_table .product-total {
	font-weight: 700;
	color: var(--color-text);
	text-align: right;
}

/* Totals rows */
.woocommerce #order_review table.shop_table tfoot th {
	background: var(--color-bg-light);
	color: var(--color-text);
	font-size: 0.88rem;
	text-transform: none;
}

.woocommerce #order_review table.shop_table tfoot td {
	text-align: right;
	font-weight: 700;
}

.woocommerce #order_review table.shop_table .order-total th {
	font-size: 0.95rem;
	font-weight: 700;
}

.woocommerce #order_review table.shop_table .order-total td {
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--color-accent);
}

/* Payment methods */
.woocommerce #payment {
	background: transparent;
	border-radius: 0;
}

.woocommerce #payment ul.payment_methods {
	list-style: none;
	padding: 16px 20px 8px;
	margin: 0;
	border-top: 1px solid var(--color-border-light);
}

.woocommerce #payment ul.payment_methods li {
	margin-bottom: 10px;
}

.woocommerce #payment ul.payment_methods li label {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--color-text);
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 8px;
}

.woocommerce #payment ul.payment_methods li .payment_box {
	background: var(--color-bg-light);
	border-radius: var(--radius);
	padding: 10px 14px;
	margin: 8px 0 0 26px;
	font-size: 0.84rem;
	color: var(--color-text-light);
}

.woocommerce #payment ul.payment_methods li .payment_box::before {
	display: none;
}

/* Privacy text */
.woocommerce #payment .woocommerce-privacy-policy-text {
	padding: 0 20px;
	font-size: 0.8rem;
	color: var(--color-text-muted);
}

.woocommerce #payment .woocommerce-privacy-policy-text a {
	color: var(--color-primary);
}

/* Place order button */
.woocommerce #payment .place-order {
	padding: 16px 20px;
}

.woocommerce #place_order {
	background: #e74c3c;
	width: 100%;
	padding: 15px 20px;
	font-size: 1rem;
	font-weight: 700;
	text-transform: uppercase;
	border-radius: var(--radius);
}

.woocommerce #place_order:hover {
	background: #c0392b;
	-webkit-box-shadow: 0 4px 12px rgba(231,76,60,0.3);
	box-shadow: 0 4px 12px rgba(231,76,60,0.3);
}

/* ==========================================================================
   Checkout Confirm Popup
   ========================================================================== */
.mt-confirm-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,0.5);
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.3s ease;
	backdrop-filter: blur(3px);
}

.mt-confirm-overlay.active {
	opacity: 1;
}

.mt-confirm-box {
	background: var(--color-white);
	border-radius: var(--radius-lg);
	padding: 32px 36px;
	max-width: 420px;
	width: 90%;
	text-align: center;
	-webkit-box-shadow: 0 20px 60px rgba(0,0,0,0.2);
	box-shadow: 0 20px 60px rgba(0,0,0,0.2);
	transform: scale(0.9) translateY(20px);
	transition: transform 0.3s ease;
}

.mt-confirm-overlay.active .mt-confirm-box {
	transform: scale(1) translateY(0);
}

.mt-confirm-icon {
	margin-bottom: 12px;
}

.mt-confirm-title {
	font-size: 1.3rem;
	color: var(--color-primary);
	margin: 0 0 8px;
}

.mt-confirm-text {
	font-size: 0.9rem;
	color: var(--color-text-light);
	margin: 0 0 16px;
}

.mt-confirm-countdown {
	font-size: 0.88rem;
	color: var(--color-text-muted);
	margin: 0 0 10px;
}

.mt-confirm-countdown strong {
	color: var(--color-accent);
	font-size: 1rem;
}

/* Progress bar */
.mt-confirm-progress {
	height: 4px;
	background: var(--color-border-light);
	border-radius: 2px;
	margin-bottom: 20px;
	overflow: hidden;
}

.mt-confirm-progress__bar {
	height: 100%;
	background: var(--color-accent);
	border-radius: 2px;
	transition: width 1s linear;
}

/* Buttons */
.mt-confirm-actions {
	display: flex;
	gap: 10px;
}

.mt-confirm-btn {
	flex: 1;
	padding: 12px 16px !important;
	border-radius: var(--radius) !important;
	font-size: 0.9rem !important;
	font-weight: 700 !important;
	cursor: pointer;
	transition: all var(--transition);
	text-transform: none !important;
}

.mt-confirm-btn--yes {
	background: #e74c3c !important;
	color: var(--color-white) !important;
	border: none !important;
}

.mt-confirm-btn--yes:hover {
	background: #c0392b !important;
	-webkit-box-shadow: 0 4px 12px rgba(231,76,60,0.3);
	box-shadow: 0 4px 12px rgba(231,76,60,0.3);
}

.mt-confirm-btn--no {
	background: transparent !important;
	color: var(--color-text-light) !important;
	border: 1px solid var(--color-border) !important;
}

.mt-confirm-btn--no:hover {
	background: var(--color-bg-light) !important;
	color: var(--color-text) !important;
}

/* Responsive */
@media (max-width: 768px) {
	.woocommerce form.checkout {
		grid-template-columns: 1fr;
	}

	.woocommerce #order_review {
		grid-column: 1;
		grid-row: auto;
		position: static;
	}

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

/* ==========================================================================
   WooCommerce — My Account
   ========================================================================== */

/* Login / Register form — centered card */
.woocommerce-account:not(.logged-in) .entry-content .woocommerce {
	max-width: 440px;
	margin: 0 auto;
}

.woocommerce form.woocommerce-form-login,
.woocommerce form.woocommerce-form-register {
	background: var(--color-white);
	border: 1px solid var(--color-border-light);
	border-radius: var(--radius-lg);
	padding: 28px 32px;
	-webkit-box-shadow: var(--shadow);
	box-shadow: var(--shadow);
}

.woocommerce form.woocommerce-form-login h2,
.woocommerce form.woocommerce-form-register h2 {
	font-size: 1.3rem;
	color: var(--color-primary);
	margin: 0 0 6px;
}

.woocommerce form.woocommerce-form-login .form-row,
.woocommerce form.woocommerce-form-register .form-row {
	margin-bottom: 16px;
}

.woocommerce form.woocommerce-form-login label,
.woocommerce form.woocommerce-form-register label {
	font-weight: 600;
	font-size: 0.88rem;
	color: var(--color-primary);
	margin-bottom: 4px;
	display: block;
}

.woocommerce form.woocommerce-form-login input.input-text,
.woocommerce form.woocommerce-form-register input.input-text {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	font-size: 0.92rem;
}

.woocommerce form.woocommerce-form-login button.woocommerce-button,
.woocommerce form.woocommerce-form-register button.woocommerce-button {
	width: 100%;
	padding: 13px;
	font-size: 0.95rem;
	font-weight: 700;
	text-transform: uppercase;
	margin-top: 4px;
}

.woocommerce form.woocommerce-form-login .woocommerce-form-login__rememberme {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 0.85rem;
	color: var(--color-text-light);
	margin-bottom: 16px;
}

.woocommerce .woocommerce-LostPassword {
	text-align: center;
	margin-top: 14px;
}

.woocommerce .woocommerce-LostPassword a {
	font-size: 0.85rem;
	color: var(--color-primary);
}

.woocommerce .woocommerce-LostPassword a:hover {
	color: var(--color-accent);
}

/* Dashboard — sidebar + content layout */
.woocommerce-account.logged-in .entry-content .woocommerce {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 24px;
	align-items: start;
}

/* Account navigation */
.woocommerce-MyAccount-navigation {
	background: var(--color-white);
	border-radius: var(--radius-lg);
	-webkit-box-shadow: var(--shadow);
	box-shadow: var(--shadow);
	overflow: hidden;
}

.woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.woocommerce-MyAccount-navigation ul li {
	border-bottom: 1px solid var(--color-border-light);
}

.woocommerce-MyAccount-navigation ul li:last-child {
	border-bottom: none;
}

.woocommerce-MyAccount-navigation ul li a {
	display: block;
	padding: 12px 18px;
	color: var(--color-text);
	font-size: 0.88rem;
	font-weight: 500;
	text-decoration: none;
	transition: all var(--transition);
}

.woocommerce-MyAccount-navigation ul li a:hover {
	color: var(--color-accent);
	background: var(--color-bg-light);
}

.woocommerce-MyAccount-navigation ul li.is-active a {
	color: var(--color-accent);
	font-weight: 700;
	background: rgba(230,126,34,0.06);
	border-left: 3px solid var(--color-accent);
}

/* Customer logout link */
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a {
	color: var(--color-danger);
}

.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a:hover {
	background: rgba(231,76,60,0.05);
}

/* Account content */
.woocommerce-MyAccount-content {
	background: var(--color-white);
	border-radius: var(--radius-lg);
	-webkit-box-shadow: var(--shadow);
	box-shadow: var(--shadow);
	padding: 24px 28px;
}

.woocommerce-MyAccount-content p {
	font-size: 0.92rem;
	line-height: 1.7;
}

.woocommerce-MyAccount-content a {
	color: var(--color-primary);
	font-weight: 600;
}

.woocommerce-MyAccount-content a:hover {
	color: var(--color-accent);
}

/* Orders table */
.woocommerce-MyAccount-content table.woocommerce-orders-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.88rem;
}

.woocommerce-MyAccount-content table.woocommerce-orders-table th {
	background: var(--color-primary);
	color: var(--color-white);
	padding: 10px 14px;
	font-size: 0.82rem;
	text-transform: uppercase;
}

.woocommerce-MyAccount-content table.woocommerce-orders-table td {
	padding: 10px 14px;
	border-bottom: 1px solid var(--color-border-light);
}

/* Address cards */
.woocommerce-MyAccount-content .woocommerce-Addresses {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.woocommerce-MyAccount-content .woocommerce-Address {
	background: var(--color-bg-light);
	border-radius: var(--radius);
	padding: 18px;
	border: 1px solid var(--color-border-light);
}

.woocommerce-MyAccount-content .woocommerce-Address header h3 {
	font-size: 0.95rem;
	margin: 0 0 10px;
}

/* Edit account form */
.woocommerce-MyAccount-content .woocommerce-EditAccountForm .form-row {
	margin-bottom: 14px;
}

/* Responsive */
@media (max-width: 768px) {
	.woocommerce-account.logged-in .entry-content .woocommerce {
		grid-template-columns: 1fr;
	}

	.woocommerce-MyAccount-content .woocommerce-Addresses {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   WooCommerce — Thank You / Order Received
   ========================================================================== */
.woocommerce-order-received .entry-content .woocommerce {
	max-width: 700px;
	margin: 0 auto;
}

/* Receipt-style card */
.woocommerce-order-received .woocommerce-order {
	background: var(--color-white);
	border: 1px dashed var(--color-border);
	border-radius: var(--radius-lg);
	padding: 40px 36px 32px;
	position: relative;
}

/* Dashed top edge — receipt tear effect */
.woocommerce-order-received .woocommerce-order::before {
	content: '';
	position: absolute;
	top: -1px;
	left: 20px;
	right: 20px;
	height: 6px;
	background: repeating-linear-gradient(
		90deg,
		var(--color-bg-light) 0px,
		var(--color-bg-light) 8px,
		transparent 8px,
		transparent 16px
	);
}

/* Success header with check icon */
.woocommerce-order-received .woocommerce-thankyou-order-received {
	text-align: center;
	font-size: 1rem;
	color: var(--color-text-light);
	margin: 0 0 24px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--color-border-light);
}

.woocommerce-order-received .woocommerce-thankyou-order-received::before {
	content: '';
	display: block;
	width: 64px;
	height: 64px;
	margin: 0 auto 14px;
	background: #27ae60;
	border-radius: 50%;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 36px;
	-webkit-box-shadow: 0 4px 16px rgba(39,174,96,0.3);
	box-shadow: 0 4px 16px rgba(39,174,96,0.3);
}

/* Order title — override entry-title */
.woocommerce-order-received .entry-title {
	text-align: center;
	font-size: 1.6rem;
	color: #27ae60;
}

/* Order details list */
.woocommerce-order-received .woocommerce-order-overview {
	list-style: none;
	padding: 0;
	margin: 0 0 24px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.woocommerce-order-received .woocommerce-order-overview li {
	background: var(--color-bg-light);
	border-radius: var(--radius);
	padding: 12px 16px;
	font-size: 0.88rem;
	color: var(--color-text-light);
}

.woocommerce-order-received .woocommerce-order-overview li strong {
	display: block;
	font-size: 1rem;
	color: var(--color-primary);
	margin-top: 2px;
}

/* Order total highlight */
.woocommerce-order-received .woocommerce-order-overview li.total {
	background: rgba(230,126,34,0.06);
	border: 1px solid rgba(230,126,34,0.2);
}

.woocommerce-order-received .woocommerce-order-overview li.total strong {
	color: var(--color-accent);
	font-size: 1.15rem;
}

/* Order details heading */
.woocommerce-order-received .woocommerce-order-details h2,
.woocommerce-order-received .woocommerce-customer-details h2 {
	font-size: 1.1rem;
	color: var(--color-primary);
	margin: 24px 0 12px;
	padding-top: 20px;
	border-top: 1px solid var(--color-border-light);
}

/* Order table */
.woocommerce-order-received .woocommerce-table--order-details {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.88rem;
}

.woocommerce-order-received .woocommerce-table--order-details thead th {
	background: var(--color-primary);
	color: var(--color-white);
	padding: 10px 16px;
	font-size: 0.82rem;
	text-transform: uppercase;
}

.woocommerce-order-received .woocommerce-table--order-details td {
	padding: 10px 16px;
	border-bottom: 1px solid var(--color-border-light);
}

.woocommerce-order-received .woocommerce-table--order-details tfoot th {
	background: var(--color-bg-light);
	color: var(--color-text);
	padding: 10px 16px;
	font-size: 0.85rem;
	text-transform: uppercase;
}

.woocommerce-order-received .woocommerce-table--order-details tfoot td {
	padding: 10px 16px;
	font-weight: 700;
}

/* Total row */
.woocommerce-order-received .woocommerce-table--order-details tfoot tr:last-child th {
	font-weight: 700;
}

.woocommerce-order-received .woocommerce-table--order-details tfoot tr:last-child td {
	color: var(--color-accent);
	font-size: 1.05rem;
	font-weight: 700;
}

/* Customer details */
.woocommerce-order-received .woocommerce-customer-details address {
	background: var(--color-bg-light);
	border-radius: var(--radius);
	padding: 16px;
	font-size: 0.9rem;
	line-height: 1.7;
	font-style: normal;
}

/* Receipt footer — stamp effect */
.woocommerce-order-received .woocommerce-order::after {
	content: 'Minh Thành';
	display: block;
	text-align: center;
	margin-top: 28px;
	padding-top: 20px;
	border-top: 2px dashed var(--color-border-light);
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--color-primary);
	text-transform: uppercase;
	opacity: 0.3;
}

@media (max-width: 480px) {
	.woocommerce-order-received .woocommerce-order-overview {
		grid-template-columns: 1fr;
	}

	.woocommerce-order-received .woocommerce-order {
		padding: 28px 20px 24px;
	}
}

/* ==========================================================================
   WooCommerce — Notices
   ========================================================================== */
/* ==========================================================================
   Toast Notifications
   ========================================================================== */
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-error,
.woocommerce .woocommerce-info {
	position: fixed;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 99999;
	max-width: 500px;
	width: auto;
	padding: 14px 24px;
	border-radius: var(--radius-lg);
	font-size: 0.9rem;
	line-height: 1.5;
	-webkit-box-shadow: 0 8px 30px rgba(0,0,0,0.18);
	box-shadow: 0 8px 30px rgba(0,0,0,0.18);
	border: none;
	border-left: 4px solid;
	animation: toastIn 0.4s ease forwards;
}

.woocommerce .woocommerce-message {
	background: #f0faf5;
	border-left-color: var(--color-success);
	color: #1a5632;
}

.woocommerce .woocommerce-error {
	background: #fdf2f2;
	border-left-color: var(--color-danger);
	color: #8b1a1a;
}

.woocommerce .woocommerce-info {
	background: #f0f7fd;
	border-left-color: var(--color-info);
	color: #1a4a6b;
}

.woocommerce .woocommerce-message a,
.woocommerce .woocommerce-error a,
.woocommerce .woocommerce-info a {
	font-weight: 700;
	text-decoration: underline;
	margin-left: 6px;
}

.woocommerce .woocommerce-message::before,
.woocommerce .woocommerce-error::before,
.woocommerce .woocommerce-info::before {
	display: none;
}

@keyframes toastIn {
	from {
		opacity: 0;
		transform: translateX(-50%) translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateX(-50%) translateY(0);
	}
}

@keyframes toastOut {
	from {
		opacity: 1;
		transform: translateX(-50%) translateY(0);
	}
	to {
		opacity: 0;
		transform: translateX(-50%) translateY(20px);
	}
}

.toast-hiding {
	animation: toastOut 0.3s ease forwards;
}

/* Shop layout — inline notices (not toast) for "no products found" */
.shop-layout .site-main .woocommerce-info,
.shop-layout .site-main .woocommerce-notice--info {
	position: static;
	max-width: 100%;
	width: 100%;
	animation: none;
	-webkit-box-shadow: none;
	box-shadow: none;
	margin: 0;
	padding: 20px 24px;
	font-size: 0.95rem;
	color: var(--color-text-light);
}

/* ==========================================================================
   WooCommerce — Breadcrumb
   ========================================================================== */
.woocommerce .woocommerce-breadcrumb,
.rank-math-breadcrumb {
	padding: 15px 0;
	font-size: 0.83rem;
	color: var(--color-text-muted);
	margin-bottom: 20px;
}

.woocommerce .woocommerce-breadcrumb a,
.rank-math-breadcrumb a {
	color: var(--color-primary);
	font-weight: 500;
}

.woocommerce .woocommerce-breadcrumb a:hover,
.rank-math-breadcrumb a:hover {
	color: var(--color-accent);
}

/* ==========================================================================
   WooCommerce — Product Categories Widget
   ========================================================================== */
.widget_product_categories ul li a {
	position: relative;
}

.widget_product_categories ul li .count {
	float: right;
	background: var(--color-bg-light);
	color: var(--color-text-muted);
	padding: 1px 8px;
	border-radius: 20px;
	font-size: 0.78rem;
}

/* ==========================================================================
   WooCommerce — Stock
   ========================================================================== */
.stock.in-stock {
	color: var(--color-success);
	font-weight: 600;
}

.stock.out-of-stock {
	color: var(--color-danger);
	font-weight: 600;
}

/* ==========================================================================
   Contact Page Layout
   ========================================================================== */
.contact-page {
	max-width: 100%;
}

.contact-desc {
	color: var(--color-text-light);
	font-size: 0.95rem;
	margin-bottom: 24px;
	text-align: left;
}

.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 28px;
	align-items: start;
}

/* Info cards — 2x2 grid */
.contact-info-cards {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.contact-card {
	background: var(--color-bg-light);
	border-radius: var(--radius);
	padding: 20px;
	border: 1px solid var(--color-border-light);
	transition: border-color var(--transition);
}

.contact-card:hover {
	border-color: var(--color-accent);
}

.contact-card__icon {
	width: 42px;
	height: 42px;
	background: var(--color-primary);
	color: var(--color-white);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 12px;
}

.contact-card h3 {
	font-size: 0.95rem;
	color: var(--color-primary);
	margin: 0 0 6px;
}

.contact-card p {
	font-size: 0.88rem;
	color: var(--color-text-light);
	margin: 0;
	line-height: 1.6;
}

.contact-card a {
	color: var(--color-primary);
	font-weight: 600;
}

.contact-card a:hover {
	color: var(--color-accent);
}

.contact-card small {
	font-size: 0.78rem;
	color: var(--color-text-muted);
}

/* Form wrap */
.contact-form-wrap {
	background: var(--color-bg-light);
	border-radius: var(--radius-lg);
	padding: 28px;
	border: 1px solid var(--color-border-light);
}

.contact-form-wrap h2 {
	font-size: 1.2rem;
	margin: 0 0 6px;
}

.contact-form-wrap > p {
	color: var(--color-text-muted);
	font-size: 0.88rem;
	margin-bottom: 18px;
}

@media (max-width: 768px) {
	.contact-grid {
		grid-template-columns: 1fr;
	}

	.contact-info-cards {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   Contact Form 7
   ========================================================================== */
.wpcf7 {
	background: transparent;
	padding: 0;
	border-radius: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
}

.wpcf7 p {
	margin-bottom: 18px;
}

.wpcf7 label {
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--color-primary);
	display: block;
	margin-bottom: 6px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.wpcf7 select {
	border: 2px solid var(--color-border);
	border-radius: var(--radius);
	padding: 12px 16px;
	width: 100%;
	font-size: 0.95rem;
	transition: border-color var(--transition), box-shadow var(--transition);
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
	border-color: var(--color-primary);
	-webkit-box-shadow: 0 0 0 3px rgba(26,58,92,0.08);
	box-shadow: 0 0 0 3px rgba(26,58,92,0.08);
}

.wpcf7 input[type="submit"] {
	background: var(--color-accent);
	color: var(--color-white);
	border: none;
	padding: 14px 40px;
	font-size: 1rem;
	font-weight: 700;
	border-radius: var(--radius);
	text-transform: uppercase;
	cursor: pointer;
	transition: all var(--transition);
}

.wpcf7 input[type="submit"]:hover {
	background: var(--color-accent-dark);
	transform: translateY(-2px);
	-webkit-box-shadow: 0 4px 12px rgba(230,126,34,0.35);
	box-shadow: 0 4px 12px rgba(230,126,34,0.35);
}

/* ==========================================================================
   Footer
   ========================================================================== */
/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
	background: #3A3A3A;
	color: rgba(255,255,255,0.8);
	margin-top: auto;
}

.footer-widgets {
	max-width: var(--container);
	margin: 0 auto;
	padding: 36px 20px 28px;
	display: grid;
	grid-template-columns: 1.8fr 0.8fr 0.8fr 0.8fr;
	gap: 36px;
}

.footer-logo {
	margin-bottom: 14px;
}

.footer-logo__img {
	max-height: 40px;
	width: auto;
	filter: brightness(0) invert(1);
}

.footer-logo__text {
	font-size: 1.2rem;
	font-weight: 700;
	color: #fff;
	text-decoration: none;
}

.footer-widget-area h3 {
	color: #fff;
	font-size: 0.92rem;
	font-weight: 700;
	margin-bottom: 14px;
	text-transform: uppercase;
}

.footer-widget-area:not(:first-child) {
	padding-top: 24px;
}

.footer-widget-area p {
	font-size: 0.85rem;
	line-height: 1.7;
	color: rgba(255,255,255,0.65);
}

.footer-widget-area a {
	color: rgba(255,255,255,0.8);
	text-decoration: none;
	transition: color var(--transition);
}

.footer-widget-area a:hover {
	color: var(--color-accent);
}

.footer-widget-area ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-widget-area ul li {
	padding: 3px 0;
	font-size: 0.85rem;
	color: rgba(255,255,255,0.65);
}

.footer-widget-area svg {
	fill: rgba(255,255,255,0.5);
}

.footer-widget-area ul li a {
	display: block;
	transition: all var(--transition);
	color: rgba(255,255,255,0.65);
}

.footer-widget-area ul li a:hover {
	padding-left: 6px;
	color: var(--color-accent);
}

/* Footer bottom */
.footer-bottom-wrap {
	background: #2e2e2e;
}

.footer-bottom {
	max-width: var(--container);
	margin: 0 auto;
	padding: 14px 20px;
	font-size: 0.8rem;
	color: rgba(255,255,255,0.5);
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.footer-bottom p {
	margin: 0;
}

.footer-bottom__list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	gap: 8px;
}

.footer-bottom__list li:not(:last-child)::after {
	content: '|';
	margin-left: 8px;
	color: rgba(255,255,255,0.3);
}

.footer-bottom__list a {
	color: rgba(255,255,255,0.5);
	text-decoration: none;
	transition: color var(--transition);
}

.footer-bottom__list a:hover {
	color: var(--color-accent);
}

.footer-bottom a {
	color: var(--color-accent);
	text-decoration: none;
}

@media (max-width: 768px) {
	.footer-bottom {
		flex-direction: column;
		text-align: center;
		gap: 8px;
		padding: 12px 15px;
	}
	.footer-bottom__list {
		justify-content: center;
	}
}

/* ==========================================================================
   404 Page
   ========================================================================== */
.error-404 {
	text-align: center;
	padding: 60px 20px;
}

.error-404 .page-title {
	font-size: 4rem;
	color: var(--color-primary);
	margin-bottom: 15px;
}

/* ==========================================================================
   Comments
   ========================================================================== */
.comments-area {
	background: var(--color-white);
	border-radius: var(--radius-lg);
	-webkit-box-shadow: var(--shadow);
	box-shadow: var(--shadow);
	padding: 24px 28px;
	margin-top: 16px;
}

.comments-title {
	font-size: 1.1rem;
	margin-bottom: 18px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--color-border-light);
}

.comment-list {
	list-style: none;
	padding: 0;
}

.comment-body {
	padding: 20px 0;
	border-bottom: 1px solid var(--color-border-light);
}

.comment-author .avatar {
	border-radius: 50%;
	margin-right: 12px;
}

.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* ==========================================================================
   Accessibility
   ========================================================================== */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: var(--color-bg-light);
	border-radius: var(--radius);
	-webkit-box-shadow: 0 0 2px 2px rgba(0,0,0,0.6);
	box-shadow: 0 0 2px 2px rgba(0,0,0,0.6);
	clip: auto !important;
	clip-path: none;
	color: var(--color-primary);
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* ==========================================================================
   Alignments
   ========================================================================== */
.alignleft {
	float: left;
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {
	float: right;
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/* ==========================================================================
   Captions & Galleries
   ========================================================================== */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 0 auto;
}

.wp-caption-text {
	text-align: center;
	font-size: 0.85rem;
	color: var(--color-text-muted);
	margin-top: 8px;
}

.gallery {
	display: grid;
	grid-gap: 12px;
	margin-bottom: 1.5em;
}

.gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-columns-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-columns-5 { grid-template-columns: repeat(5, 1fr); }
.gallery-columns-6 { grid-template-columns: repeat(6, 1fr); }

.gallery-item {
	text-align: center;
}

.gallery-item img {
	border-radius: var(--radius);
}

/* ==========================================================================
   Infinite Scroll
   ========================================================================== */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

.infinity-end.neverending .site-footer {
	display: block;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 992px) {
	.shop-layout--sidebar {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.shop-layout .site-main {
		grid-column: 1;
	}

	.shop-sidebar {
		display: none;
	}

	.woocommerce ul.products {
		grid-template-columns: repeat(3, 1fr);
		gap: 14px;
	}

	.footer-widgets {
		grid-template-columns: 1fr 1fr 1fr;
	}
	.footer-widgets .footer-widget-area:first-child {
		grid-column: 1 / -1;
	}
	.footer-widgets .footer-widget-area:not(:first-child) {
		padding-top: 0;
	}
}

/* --- Tablet (max-width: 992px) --- */
@media (max-width: 992px) {
	.header-top__inner {
		gap: 14px;
		padding: 10px 15px;
	}

	.header-contact__item:last-child {
		display: none;
	}

	.header-nav__social-label {
		display: none;
	}
}

@media (max-width: 768px) {
	/* Header Row 1 — mobile: logo left, actions right */
	.header-top__inner {
		display: flex;
		align-items: center;
		gap: 10px;
		padding: 10px 15px;
	}

	.header-right {
		margin-left: auto;
		gap: 4px;
	}

	/* Hide text details, keep icons compact */
	.header-contact {
		display: none;
	}

	.header-cart__text {
		display: none;
	}

	/* All 3 header buttons: same circle style */
	.header-cart,
	.header-action-btn,
	.header-search-toggle {
		width: 38px;
		height: 38px;
		padding: 0;
		border: none;
		border-radius: 50%;
		background: rgba(26,58,92,0.06);
		color: var(--color-primary);
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 0;
	}

	.header-actions {
		gap: 6px;
	}

	.header-logo .custom-logo {
		max-height: 34px;
	}

	.header-logo__name {
		font-size: 1.3rem;
	}

	/* Search: hidden by default, toggle via icon */
	.header-search {
		display: none;
	}

	.header-search--open {
		display: block;
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		z-index: 100000;
		padding: 10px 15px;
		background: var(--color-white);
		-webkit-box-shadow: 0 4px 16px rgba(0,0,0,0.15);
		box-shadow: 0 4px 16px rgba(0,0,0,0.15);
		max-width: 100%;
	}

	.header-search--open .header-search__form {
		border: 2px solid var(--color-primary);
	}

	.header-search__close {
		display: flex;
		align-items: center;
		justify-content: center;
		position: absolute;
		right: 15px;
		top: 50%;
		transform: translateY(-50%);
		width: 36px;
		height: 36px;
		border: none;
		border-radius: 50%;
		background: var(--color-bg-light);
		color: var(--color-text-muted);
		cursor: pointer;
		padding: 0;
		z-index: 1;
	}

	.header-search__close:hover {
		background: var(--color-border);
		color: var(--color-primary);
		transform: translateY(-50%);
		-webkit-box-shadow: none;
		box-shadow: none;
	}

	.header-search--open {
		position: fixed;
		display: flex;
		align-items: center;
		gap: 10px;
	}

	.header-search--open .header-search__form {
		flex: 1;
		margin-right: 46px;
	}

	/* Search toggle: visible on mobile */
	.header-search-toggle {
		display: flex;
	}

	/* Header Row 2 — mobile nav */
	.header-nav__inner {
		padding: 0 10px;
	}

	/* Hide hamburger, use category button as sole menu trigger */
	.menu-toggle {
		display: none !important;
	}

	/* Category button: hamburger icon only */
	.header-nav__categories {
		flex-shrink: 0;
	}

	.header-nav__cat-btn {
		width: auto;
		padding: 0 12px;
		min-height: 42px;
	}

	.header-nav__cat-btn span {
		display: none;
	}

	.header-nav__cat-arrow {
		display: none;
	}

	/* Main menu hidden in nav bar on mobile (lives in drawer when open) */
	.header-nav__menu > ul {
		display: none !important;
	}

	/* Main menu inside drawer */
	.mobile-drawer #primary-menu {
		display: flex !important;
		flex-direction: column;
		list-style: none;
		padding: 0;
		margin: 0;
		border-bottom: 1px solid var(--color-border-light);
	}

	.mobile-drawer #primary-menu li {
		border-bottom: 1px solid var(--color-border-light);
		padding: 0;
	}

	.mobile-drawer #primary-menu li:last-child {
		border-bottom: none;
	}

	.mobile-drawer #primary-menu a {
		display: block;
		padding: 11px 16px;
		color: var(--color-text);
		font-size: 0.9rem;
		font-weight: 500;
		text-decoration: none;
		border-left: none;
	}

	.mobile-drawer #primary-menu a:hover {
		color: var(--color-accent);
		background: transparent;
		transform: none;
		-webkit-box-shadow: none;
		box-shadow: none;
	}

	.mobile-drawer #primary-menu .current-menu-item > a {
		color: var(--color-accent);
		font-weight: 700;
	}

	.mobile-drawer #primary-menu ul {
		display: none;
	}

	/* Mobile drawer — slides from left */
	.mobile-drawer,
	.mobile-drawer-backdrop {
		display: block;
	}

	.mobile-drawer {
		position: fixed;
		top: 0;
		left: 0;
		width: 85vw;
		max-width: 320px;
		height: 100vh;
		background: var(--color-white);
		z-index: 100000;
		overflow-y: auto;
		-webkit-box-shadow: 4px 0 20px rgba(0,0,0,0.2);
		box-shadow: 4px 0 20px rgba(0,0,0,0.2);
		transform: translateX(-100%);
		transition: transform 0.3s ease;
	}

	.mobile-drawer--open {
		transform: translateX(0);
	}

	/* Backdrop */
	.mobile-drawer-backdrop {
		position: fixed;
		inset: 0;
		background: rgba(0,0,0,0.4);
		z-index: 99999;
		display: none;
	}

	.mobile-drawer-backdrop--show {
		display: block;
	}

	/* Drawer header */
	.mobile-drawer__header {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 14px 12px 14px 16px;
		border-bottom: 1px solid var(--color-border-light);
		min-height: 50px;
	}

	.mobile-drawer__title {
		font-size: 0.95rem;
		font-weight: 700;
		color: var(--color-primary);
		text-transform: uppercase;
	}

	/* Drawer section divider */
	.mobile-drawer__divider {
		padding: 12px 16px 8px;
		border-top: 1px solid var(--color-border-light);
	}

	.mobile-drawer__divider span {
		font-size: 0.72rem;
		font-weight: 700;
		text-transform: uppercase;
		color: var(--color-text-muted);
	}

	/* Drawer close button */
	.mobile-drawer__close {
		width: 32px;
		height: 32px;
		flex-shrink: 0;
		display: flex;
		align-items: center;
		justify-content: center;
		border: none;
		border-radius: 50%;
		background: var(--color-bg-light);
		color: var(--color-text-muted);
		cursor: pointer;
		padding: 0;
		z-index: 1;
	}

	.mobile-drawer__close:hover {
		background: var(--color-border);
		color: var(--color-primary);
		transform: none;
		-webkit-box-shadow: none;
		box-shadow: none;
	}

	/* Drawer section titles */
	.mobile-drawer__title {
		font-size: 0.72rem;
		font-weight: 700;
		text-transform: uppercase;
		color: var(--color-text-muted);
		padding: 0;
		margin: 0;
	}


	/* Category menu inside drawer */
	.mobile-drawer .header-cat-dropdown {
		position: static;
		width: 100%;
		-webkit-box-shadow: none;
		box-shadow: none;
		border: none;
		border-radius: 0;
		display: block !important;
	}

	.mobile-drawer .hcd-submenu {
		position: static;
		width: auto;
		-webkit-box-shadow: none;
		box-shadow: none;
		border-left: none;
		border-radius: 0;
		padding: 0 0 4px 16px;
		margin: 0;
		background: transparent;
		display: none;
		flex-direction: column;
	}

	.mobile-drawer .hcd-has-children:hover > .hcd-submenu {
		display: none;
	}

	.mobile-drawer .hcd-child {
		width: 100%;
	}

	.mobile-drawer .hcd-child .hcd-link {
		border-radius: 0;
		padding: 8px 16px;
	}

	.mobile-drawer .hcd-l3-list {
		padding: 0 0 4px 16px;
		display: none;
	}

	.mobile-drawer .hcd-l3 .hcd-link {
		padding: 6px 16px;
	}


	/* Social links: compact, no label */
	.header-nav__social-label {
		display: none;
	}

	.header-nav__social {
		margin-left: auto;
	}

	/* Content */
	.hentry,
	.post,
	article.page {
		padding: 22px 18px;
	}

	.entry-title {
		font-size: 1.4rem;
	}

	/* Products */
	.woocommerce ul.products {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}

	.woocommerce ul.products li.product {
		padding: 10px;
	}

	.woocommerce ul.products li.product .woocommerce-loop-product__title {
		font-size: 0.82rem;
	}

	.woocommerce ul.products li.product .price {
		font-size: 0.9rem;
	}

	.woocommerce ul.products li.product .button {
		padding: 6px 12px;
		font-size: 0.72rem;
	}

	.shop-layout .woocommerce-result-count {
		float: none;
		margin-bottom: 8px;
	}

	.shop-layout .woocommerce-ordering {
		float: none;
	}

	.shop-layout .woocommerce-ordering select {
		width: 100%;
	}

	/* Single product layout */
	.single-product-columns {
		grid-template-columns: 1fr;
	}

	.single-product-sidebar {
		position: static;
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 12px;
	}

	.woocommerce div.product {
		grid-template-columns: 1fr 1fr;
		padding: 20px;
		gap: 20px;
	}

	.woocommerce div.product .product_title {
		font-size: 1.3rem;
	}

	.woocommerce div.product p.price {
		font-size: 1.3rem;
	}

	/* Tabs */
	.woocommerce div.product .woocommerce-tabs ul.tabs {
		flex-direction: column;
	}

	.woocommerce div.product .woocommerce-tabs ul.tabs li a {
		padding: 10px 16px;
		border-bottom: none;
		border-left: 3px solid transparent;
	}

	.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
		border-left-color: var(--color-accent);
		border-bottom-color: transparent;
	}

	/* Footer */
	.footer-widgets {
		grid-template-columns: 1fr 1fr;
		padding: 24px 15px;
		gap: 20px;
	}
	.footer-widgets .footer-widget-area:first-child {
		grid-column: 1 / -1;
	}

	/* Top bar */
	.minhthanh-topbar .topbar-inner {
		justify-content: center;
		text-align: center;
		flex-direction: column;
		padding: 8px 15px;
	}

	.minhthanh-topbar .topbar-contact span {
		display: block;
		margin-right: 0;
		margin-bottom: 3px;
	}

	.minhthanh-topbar .topbar-hours {
		display: none;
	}
}

@media (max-width: 480px) {
	body {
		font-size: 14px;
	}

	.site-title {
		font-size: 1.05rem;
	}

	.site-description {
		display: none;
	}

	.woocommerce ul.products {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}

	.woocommerce ul.products li.product {
		padding: 10px;
	}

	.woocommerce ul.products li.product .button {
		padding: 7px 14px;
		font-size: 0.75rem;
	}

	.entry-title {
		font-size: 1.2rem;
	}

	.hentry,
	.post,
	article.page {
		padding: 18px 14px;
		border-radius: var(--radius);
	}

	.single-product-sidebar {
		grid-template-columns: 1fr;
	}

	.woocommerce div.product {
		grid-template-columns: 1fr;
		padding: 16px;
	}

	.woocommerce div.product .product_title {
		font-size: 1.2rem;
	}

	.woocommerce div.product form.cart .single_add_to_cart_button {
		max-width: 100%;
	}

	.sp-hotline-num {
		font-size: 1.15rem;
	}

	.woocommerce div.product .woocommerce-tabs .woocommerce-Tabs-panel {
		padding: 16px;
	}
}

/* ==========================================================================
   Semantic Elements
   ========================================================================== */

/* <address> — reset italic, style in footer */
address {
	font-style: normal;
	line-height: 1.7;
}

.footer-widget-area address ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-widget-area address ul li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	padding: 5px 0;
	font-size: 0.85rem;
	color: rgba(255,255,255,0.65);
}

.footer-widget-area address ul li svg {
	flex-shrink: 0;
	margin-top: 5px;
	fill: rgba(255,255,255,0.5);
}

/* <figure> — post thumbnails */
figure.post-thumbnail {
	margin: 0 0 20px;
	overflow: hidden;
	border-radius: var(--radius-lg);
}

figure.post-thumbnail img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform var(--transition);
}

figure.post-thumbnail:hover img {
	transform: scale(1.02);
}

/* <figcaption> */
figcaption {
	font-size: 0.85rem;
	color: var(--color-text-muted);
	text-align: center;
	padding: 8px 0;
	font-style: italic;
}

/* <mark> — search highlight */
mark {
	background: rgba(230,126,34,0.15);
	color: var(--color-accent-dark);
	padding: 2px 6px;
	border-radius: 3px;
	font-weight: 600;
}

/* <time> */
time {
	font-variant-numeric: tabular-nums;
}

/* <section> wrappers */
.posts-list,
.search-results-list {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

/* ==========================================================================
   Posts Grid — 3-column cards (thumbnail + title)
   ========================================================================== */
/* ==========================================================================
   Magazine Layout — Blog / Archive
   ========================================================================== */

/* Hero grid: 1 large left (58%) + 4 small right (42% as 2x2) */
.mag-hero {
	display: grid;
	grid-template-columns: 58% 1fr;
	gap: 6px;
	margin-bottom: 24px;
}

.mag-hero__item {
	position: relative;
	overflow: hidden;
	background: #1a1a2e;
}

.mag-hero__item--large {
	height: 100%;
}

.mag-hero__small {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 1fr 1fr;
	gap: 6px;
	height: 100%;
}

.mag-hero__link {
	display: block;
	width: 100%;
	height: 100%;
	text-decoration: none;
	color: #fff;
	position: relative;
}

.mag-hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.mag-hero__item:hover .mag-hero__img {
	transform: scale(1.03);
}

.mag-hero__placeholder {
	width: 100%;
	height: 100%;
	background: #1a1a2e;
}

/* Gradient overlay */
.mag-hero__link::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgb(26 58 92) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
	pointer-events: none;
}

/* Category badge — top-left */
.mag-hero__cat {
	display: inline-block;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	color: #fff;
	background: var(--color-accent);
	padding: 4px 10px;
	border-radius: 3px;
	margin-bottom: 8px;
}

/* Title overlay — bottom */
.mag-hero__overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 16px;
	z-index: 2;
}

/* Featured card title */
.mag-hero__item--large .mag-hero__overlay {
	padding: 20px 24px;
}

.mag-hero__item--large .mag-hero__title {
	font-size: 26px;
	font-weight: 700;
	line-height: 1.3;
	margin: 0;
	color: #fff;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Small card title */
.mag-hero__item--small .mag-hero__title {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	margin: 0;
	color: #fff;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Responsive */
@media (max-width: 768px) {
	.mag-hero {
		grid-template-columns: 1fr;
		height: auto;
	}

	.mag-hero__item--large {
		height: 320px;
	}

	.mag-hero__small {
		grid-template-columns: 1fr 1fr;
	}

	.mag-hero__item--small {
		height: 200px;
	}

	.mag-hero__item--large .mag-hero__title {
		font-size: 20px;
	}
}

@media (max-width: 480px) {
	.mag-hero__small {
		grid-template-columns: 1fr;
	}

	.mag-hero__item--small {
		height: 200px;
	}
}

/* --- List posts (below hero) --- */
.mag-list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
	margin-bottom: 0;
}

.mag-list__item {
	background: var(--color-white);
	border-radius: var(--radius-lg);
	-webkit-box-shadow: var(--shadow);
	box-shadow: var(--shadow);
	overflow: hidden;
	transition: box-shadow var(--transition), transform var(--transition);
}

.mag-list__item:hover {
	-webkit-box-shadow: var(--shadow-md);
	box-shadow: var(--shadow-md);
	transform: translateY(-2px);
}

.mag-list__link {
	display: flex;
	gap: 16px;
	text-decoration: none;
	color: var(--color-text);
	align-items: flex-start;
}

.mag-list__thumb {
	width: 220px;
	flex-shrink: 0;
	margin: 0;
	overflow: hidden;
	aspect-ratio: 13 / 9;
	background: var(--color-bg-dark);
}

.mag-list__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform var(--transition);
}

.mag-list__link:hover .mag-list__img {
	transform: scale(1.04);
}

.mag-list__placeholder {
	width: 100%;
	height: 100%;
	background: var(--color-bg-dark);
}

.mag-list__content {
	padding: 14px 16px 14px 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
}

.mag-list__cat {
	font-size: 0.68rem;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--color-accent);
	margin-bottom: 6px;
}

.mag-list__title {
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--color-primary);
	margin: 0 0 8px;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.mag-list__link:hover .mag-list__title {
	color: var(--color-accent);
}

.mag-list__excerpt {
	font-size: 0.85rem;
	color: var(--color-text-light);
	margin: 0 0 8px;
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.mag-list__date {
	font-size: 0.75rem;
	color: var(--color-text-muted);
}

/* --- Magazine list responsive --- */
@media (max-width: 768px) {
	.mag-list {
		grid-template-columns: 1fr;
	}

	.mag-list__thumb {
		width: 120px;
	}

	.mag-list__excerpt {
		display: none;
	}

	.mag-list__title {
		font-size: 0.9rem;
	}

	.mag-list__content {
		padding: 12px 12px 12px 0;
	}
}

@media (max-width: 480px) {
	.mag-list__thumb {
		width: 100px;
	}
}

/* --- Blog pagination --- */
.navigation.pagination {
	margin: 24px 0 0;
	text-align: center;
}

.navigation.pagination .nav-links {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

.navigation.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--color-text);
	text-decoration: none;
	background: var(--color-white);
	border: 1px solid var(--color-border-light);
	transition: all var(--transition);
}

.navigation.pagination .page-numbers:hover {
	border-color: var(--color-accent);
	color: var(--color-accent);
	transform: none;
	-webkit-box-shadow: none;
	box-shadow: none;
}

.navigation.pagination .page-numbers.current {
	background: var(--color-accent);
	border-color: var(--color-accent);
	color: var(--color-white);
}

.navigation.pagination .page-numbers.dots {
	border: none;
	background: transparent;
	pointer-events: none;
	width: auto;
	font-size: 1rem;
	color: var(--color-text-muted);
}

.navigation.pagination .page-numbers.prev,
.navigation.pagination .page-numbers.next {
	background: var(--color-primary);
	border-color: var(--color-primary);
	color: var(--color-white);
}

.navigation.pagination .page-numbers.prev:hover,
.navigation.pagination .page-numbers.next:hover {
	background: var(--color-accent);
	border-color: var(--color-accent);
	color: var(--color-white);
}

.navigation.pagination .page-numbers svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
}

/* Search form — semantic */
.search-form {
	display: flex;
	max-width: 500px;
	margin: 20px 0;
}

.search-form .search-field {
	flex: 1;
	border: 2px solid var(--color-border);
	border-right: none;
	border-radius: var(--radius) 0 0 var(--radius);
	padding: 12px 16px;
	font-size: 0.95rem;
}

.search-form .search-field:focus {
	border-color: var(--color-primary);
	outline: none;
}

.search-form .search-submit {
	display: flex;
	align-items: center;
	gap: 6px;
	border-radius: 0 var(--radius) var(--radius) 0;
	padding: 12px 20px;
	border: 2px solid var(--color-accent);
	white-space: nowrap;
}

.search-form .search-submit svg {
	flex-shrink: 0;
}

/* Search results count */
.search-results-count {
	color: var(--color-text-muted);
	font-size: 0.9rem;
	margin-top: 5px;
}

/* ==========================================================================
   Single Post — 2-Column Layout
   ========================================================================== */
.single-layout {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 25px 20px 50px;
	display: grid;
	grid-template-columns: 1fr 290px;
	gap: 0 30px;
	align-items: start;
}

.single-layout > .minhthanh-breadcrumb-wrap {
	grid-column: 1 / -1;
	margin-bottom: 16px;
}

.single-layout .site-main {
	max-width: none !important;
	padding: 0 !important;
	margin: 0 !important;
	min-width: 0;
	width: 100%;
}

.single-layout .site-main {
	display: flex;
	flex-direction: column;
}

.single-layout .site-main > * {
	width: 100%;
	box-sizing: border-box;
}

/* Sidebar */
.single-sidebar {
	position: sticky;
	top: 60px;
}

.single-sidebar__inner {
	background: var(--color-white);
	border: 1px solid var(--color-border-light);
	border-radius: var(--radius-lg);
	-webkit-box-shadow: var(--shadow);
	box-shadow: var(--shadow);
	padding: 20px 22px;
}

.single-sidebar__title {
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--color-primary);
	margin: 0 0 16px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--color-accent);
	text-transform: uppercase;
}

.single-sidebar__posts {
	list-style: none;
	padding: 0;
	margin: 0;
}

.single-sidebar__post {
	border-bottom: 1px solid var(--color-border-light);
}

.single-sidebar__post:last-child {
	border-bottom: none;
}

.single-sidebar__link {
	display: flex;
	gap: 12px;
	padding: 10px 0;
	text-decoration: none;
	color: var(--color-text);
	transition: color var(--transition);
}

.single-sidebar__link:hover {
	color: var(--color-accent);
}

.single-sidebar__thumb {
	width: 60px;
	height: 60px;
	flex-shrink: 0;
	border-radius: var(--radius);
	overflow: hidden;
}

.single-sidebar__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.single-sidebar__info {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.single-sidebar__post-title {
	font-size: 0.84rem;
	font-weight: 600;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.single-sidebar__date {
	font-size: 0.75rem;
	color: var(--color-text-muted);
}

/* Responsive: single column on tablet/mobile */
@media (max-width: 768px) {
	.single-layout {
		grid-template-columns: 1fr;
		gap: 24px;
		padding: 15px 15px 30px;
	}

	.single-sidebar {
		position: static;
	}
}

/* <nav> post navigation */
.post-navigation .nav-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
	background: var(--color-white);
	border-radius: var(--radius-lg);
	-webkit-box-shadow: var(--shadow);
	box-shadow: var(--shadow);
	overflow: hidden;
}

.post-navigation .nav-previous a,
.post-navigation .nav-next a {
	display: block;
	padding: 18px 22px;
	color: var(--color-text);
	text-decoration: none;
	transition: all var(--transition);
}

.post-navigation .nav-previous a:hover,
.post-navigation .nav-next a:hover {
	background: var(--color-bg-light);
	color: var(--color-accent);
}

.post-navigation .nav-next {
	text-align: right;
}

.nav-subtitle {
	display: block;
	font-size: 0.75rem;
	color: var(--color-text-muted);
	text-transform: uppercase;
	margin-bottom: 4px;
}

.nav-title {
	font-weight: 600;
	font-size: 0.95rem;
}

/* SVG icons in topbar & footer */
.topbar-contact svg,
.topbar-hours svg {
	vertical-align: -2px;
	margin-right: 4px;
	opacity: 0.7;
}

/* Menu toggle SVG */
.menu-toggle {
	display: none;
	align-items: center;
	gap: 6px;
}

.menu-toggle svg {
	flex-shrink: 0;
}

/* 404 page */
.error-404 {
	background: var(--color-white);
	border-radius: var(--radius-lg);
	-webkit-box-shadow: var(--shadow);
	box-shadow: var(--shadow);
	padding: 50px 40px;
	text-align: center;
}

.error-404 .page-title {
	font-size: 3rem;
	color: var(--color-primary);
	margin-bottom: 15px;
}

.error-404 .page-content > p {
	font-size: 1.1rem;
	color: var(--color-text-light);
	max-width: 600px;
	margin: 0 auto 25px;
}

.error-404 .search-form {
	margin: 20px auto;
}

.error-404-links h2 {
	margin-top: 40px;
	font-size: 1.2rem;
}

.error-404-widgets {
	text-align: left;
	max-width: 600px;
	margin: 0 auto;
}

/* Page header */
.page-header {
	margin-bottom: 16px;
	padding-bottom: 0;
	border-bottom: none;
}

.page-header .page-title {
	margin: 0;
}

.archive-description {
	color: var(--color-text-light);
	margin-top: 8px;
	font-size: 0.95rem;
}

/* Footer bottom <p> reset */
.footer-bottom p {
	margin: 0;
}

/* ==========================================================================
   Print
   ========================================================================== */
@media print {
	.minhthanh-topbar,
	.site-header,
	.main-navigation,
	.site-footer,
	.menu-toggle,
	.post-navigation,
	.comments-area {
		display: none !important;
	}

	body {
		background: #fff;
		color: #000;
		font-size: 12pt;
	}

	.hentry {
		-webkit-box-shadow: none;
		box-shadow: none;
		border: none;
	}
}
