/* ==========================================================================
   Phileo — giao diện chính
   Gia dụng Hàn Quốc: nền trắng + kem ấm, chữ than chì, điểm nhấn đỏ Phileo (#E0122B, màu dấu "P").
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
	--red: #E0122B;
	--red-600: #C70F26;
	--red-700: #A60C1F;
	--red-50: #FEF2F3;
	--red-100: #FBDCE0;
	--ink: #16181C;
	--ink-2: #24272D;
	--text: #4A4F57;
	--muted: #8A8F97;
	--line: #ECE8E2;
	--line-2: #DED7CD;
	--bg: #FFFFFF;
	--cream: #F7F3ED;
	--cream-2: #EFE8DE;

	--font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	--radius-sm: 10px;
	--radius: 16px;
	--radius-lg: 24px;
	--radius-xl: 32px;
	--shadow-sm: 0 1px 2px rgba(22, 24, 28, .06), 0 1px 1px rgba(22, 24, 28, .04);
	--shadow: 0 16px 36px -18px rgba(22, 24, 28, .24);
	--shadow-lg: 0 28px 64px -28px rgba(22, 24, 28, .34);
	--shadow-red: 0 14px 28px -14px rgba(224, 18, 43, .6);

	--gutter: 16px;
	--container: 1240px;
	--header-h: 68px;
	--ease: cubic-bezier(.2, .7, .2, 1);

	/* Biến của WooCommerce (mặc định viền đen). */
	--wc-form-border-color: var(--line-2);
	--wc-form-border-width: 1.5px;
	--wc-form-border-radius: 10px;
	--wc-form-color-text: var(--ink);
	--wc-red: var(--red-700);
	--wc-green: #2E9A5C;
}
@media (min-width: 768px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --header-h: 78px; } }

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font: 400 15.5px/1.7 var(--font); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, video, iframe { max-width: 100%; }
img { height: auto; }
a { color: var(--red-600); text-decoration: none; transition: color .2s; }
a:hover { color: var(--red-700); }
h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 800; line-height: 1.22; letter-spacing: -.02em; color: var(--ink); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
/* Chữ "Zalo" trong bong bóng: mặc định trắng (bong bóng màu), trên nút màu thì lấy màu nền nút. */
.icon--zalo text { fill: var(--zalo-text, #fff); }
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(800px + var(--gutter) * 2); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed !important; top: 12px; left: 12px; z-index: 300; width: auto; height: auto; padding: 12px 20px; clip: auto; background: var(--ink); color: #fff; border-radius: 10px; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
::selection { background: var(--red-100); color: var(--ink); }
.no-scroll { overflow: hidden; }

/* ---------- 3. Buttons & forms ---------- */
.btn,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,
.wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	min-height: 46px; padding: .7em 1.45em;
	font-family: var(--font); font-size: 14.5px; font-weight: 600; line-height: 1.2;
	color: #fff; background: var(--red); border: 1.5px solid transparent; border-radius: 999px;
	text-decoration: none; white-space: nowrap;
	transition: background .2s, color .2s, border-color .2s, box-shadow .25s var(--ease), transform .25s var(--ease);
}
.btn:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover {
	color: #fff; background: var(--red-600); box-shadow: var(--shadow-red); transform: translateY(-1px);
}
.btn .icon { width: 1.15em; height: 1.15em; transition: transform .25s var(--ease); }
.btn:hover .icon--arrow { transform: translateX(3px); }
.btn--lg { min-height: 54px; padding-inline: 1.8em; font-size: 15.5px; }
.btn--block { display: flex; width: 100%; }
.btn--outline { color: var(--ink); background: transparent; border-color: var(--line-2); }
.btn--outline:hover { color: #fff; background: var(--ink); border-color: var(--ink); box-shadow: none; }
.btn--white { color: var(--ink); background: #fff; }
.btn--white:hover { color: var(--red-700); background: #fff; box-shadow: 0 14px 28px -14px rgba(0, 0, 0, .45); }
.woocommerce a.button.disabled, .woocommerce button.button:disabled, .woocommerce button.button:disabled[disabled] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], input[type="search"], input[type="url"],
select, textarea,
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select {
	width: 100%; min-height: 48px; padding: 11px 15px;
	font: 400 15px/1.4 var(--font); color: var(--ink); background: #fff;
	border: 1.5px solid var(--line-2); border-radius: 12px;
	transition: border-color .2s, box-shadow .2s;
	-webkit-appearance: none; appearance: none;
}
textarea { min-height: 130px; resize: vertical; }
select {
	padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%238A8F97' stroke-width='1.8'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 15px center;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px var(--red-50); }
label { font-weight: 500; color: var(--ink); }

/* ---------- 4. Helpers ---------- */
.section { padding-block: clamp(56px, 7vw, 96px); }
.section--tight { padding-block: clamp(36px, 5vw, 64px); }
.section--soft { background: var(--cream); }
.section__more { margin: 36px 0 0; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px var(--red-100); }
.eyebrow--light { color: #FF8A98; }
.eyebrow--light::before { box-shadow: 0 0 0 4px rgba(255, 138, 152, .2); }
.shead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 32px; margin-bottom: clamp(26px, 4vw, 40px); }
.shead--center { flex-direction: column; align-items: center; text-align: center; }
.shead__main { max-width: 680px; }
.shead__title { margin: 0; font-size: clamp(28px, 2.4vw + 16px, 44px); }
.shead__title em, .hero__title em, .phead__title em, .spotlight__title em, .dealer__title em, .motto__text em { font-style: normal; color: var(--red); }
.shead__text { margin: 14px 0 0; font-size: 16.5px; color: var(--muted); }
.link-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); }
.link-more .icon { width: 18px; height: 18px; color: var(--red); transition: transform .25s var(--ease); }
.link-more:hover { color: var(--red); }
.link-more:hover .icon { transform: translateX(4px); }
.link-more--light { color: #fff; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255, 255, 255, .4); }
.link-more--light:hover { color: #fff; text-decoration-color: #fff; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; flex: none; min-height: 40px; padding: 0 16px; font-size: 14px; font-weight: 600; color: var(--text); background: #fff; border: 1.5px solid var(--line); border-radius: 999px; transition: .2s; }
.chip small { font-size: 12px; font-weight: 600; color: var(--muted); }
.chip:hover { color: var(--ink); border-color: var(--ink); }
.chip.is-active { color: #fff; background: var(--ink); border-color: var(--ink); }
.chip.is-active small { color: rgba(255, 255, 255, .7); }
.empty-note { padding: 24px; text-align: center; color: var(--muted); background: var(--cream); border-radius: var(--radius); }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- 5. Topbar ---------- */
.topbar { display: none; background: var(--ink); color: rgba(255, 255, 255, .72); font-size: 13px; }
@media (min-width: 768px) { .topbar { display: block; } }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 40px; }
.topbar__text { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar__links { display: flex; gap: 22px; flex: none; }
.topbar__links a { display: inline-flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, .86); }
.topbar__links a:hover { color: #fff; }
.topbar__links strong { color: #fff; }
.topbar__links .icon { width: 15px; height: 15px; }

/* ---------- 6. Header ---------- */
.site-header { position: sticky; top: 0; z-index: 80; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
@supports (backdrop-filter: blur(1px)) { .site-header { background: rgba(255, 255, 255, .86); backdrop-filter: blur(16px) saturate(1.4); } }
.site-header.is-stuck { box-shadow: 0 10px 30px -22px rgba(22, 24, 28, .5); }
.header__inner { display: flex; align-items: center; gap: 14px; height: var(--header-h); }
.logo { margin: 0; line-height: 0; flex: none; }
/* Selector 2 lớp để thắng `.woocommerce-page img { height: auto }` trên trang WooCommerce. */
.logo .logo__img { width: auto; height: 22px; }
@media (min-width: 1024px) { .logo .logo__img { height: 26px; } }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; color: var(--ink); background: transparent; border: 0; border-radius: 50%; transition: background .2s, color .2s; }
.icon-btn:hover { background: var(--cream); color: var(--red); }
.icon-btn .icon { width: 22px; height: 22px; }
.header__burger { margin-left: -10px; }
.nav { display: none; margin: 0 auto; }
.nav__menu { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.nav__menu > li { position: relative; }
.nav__menu > li > a { display: block; padding: 10px 14px; font-size: 15px; font-weight: 600; color: var(--ink); border-radius: 999px; transition: background .2s, color .2s; }
.nav__menu > li > a:hover { background: var(--cream); color: var(--red); }
.nav__menu > .current-menu-item > a, .nav__menu > .current-menu-ancestor > a, .nav__menu > .current_page_parent > a { color: var(--red); }
.nav__menu .sub-menu { position: absolute; top: 100%; left: 0; z-index: 10; min-width: 220px; margin: 0; padding: 8px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; }
.nav__menu li:hover > .sub-menu, .nav__menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav__menu .sub-menu a { display: block; padding: 9px 12px; font-size: 14.5px; color: var(--ink); border-radius: 9px; }
.nav__menu .sub-menu a:hover { background: var(--cream); color: var(--red); }
.header__actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.header__hot { display: none; align-items: center; gap: 8px; min-height: 44px; margin: 0 6px; padding: 0 18px 0 14px; font-weight: 700; color: #fff; background: var(--red); border-radius: 999px; transition: background .2s, box-shadow .25s; }
.header__hot:hover { color: #fff; background: var(--red-600); box-shadow: var(--shadow-red); }
.header__hot .icon { width: 18px; height: 18px; }
.cart-count { position: absolute; top: 4px; right: 2px; min-width: 19px; height: 19px; padding: 0 5px; font-size: 11px; font-weight: 700; line-height: 19px; text-align: center; color: #fff; background: var(--red); border: 2px solid #fff; border-radius: 999px; box-sizing: content-box; }
.cart-count.is-empty { display: none; }
@media (max-width: 1023.98px) {
	.header__inner { position: relative; }
	.header__inner .logo { position: absolute; left: 50%; transform: translateX(-50%); }
}
@media (min-width: 1024px) {
	.header__burger { display: none; }
	.nav { display: block; }
	.header__hot { display: inline-flex; }
	.header__actions { margin-left: 0; }
}
.search-panel { border-top: 1px solid var(--line); background: #fff; padding: 14px 0; }
.search-panel[hidden] { display: none; }
.search-form { position: relative; display: flex; }
.search-form__input { padding-right: 54px !important; border-radius: 999px !important; }
.search-form__btn { position: absolute; top: 4px; right: 4px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; color: #fff; background: var(--red); border: 0; border-radius: 50%; }
.search-form__btn .icon { width: 19px; height: 19px; }

/* ---------- 7. Drawer (menu mobile + giỏ hàng) ---------- */
.overlay { position: fixed; inset: 0; z-index: 90; background: rgba(22, 24, 28, .45); backdrop-filter: blur(2px); opacity: 0; transition: opacity .3s; }
.overlay.is-visible { opacity: 1; }
.drawer { position: fixed; top: 0; bottom: 0; z-index: 100; display: flex; flex-direction: column; width: min(390px, 88vw); background: #fff; box-shadow: var(--shadow-lg); transition: transform .35s var(--ease); visibility: hidden; }
.drawer--left { left: 0; transform: translateX(-102%); }
.drawer--right { right: 0; transform: translateX(102%); }
.drawer.is-open { transform: none; visibility: visible; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 20px; border-bottom: 1px solid var(--line); }
.drawer__title { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; color: var(--ink); }
.drawer__title .icon { color: var(--red); }
.drawer__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 16px 18px 24px; }
.drawer__body .search-form { margin-bottom: 10px; }
.drawer__label { margin: 22px 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.drawer__foot { padding: 14px 18px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.mmenu { margin: 0; padding: 0; list-style: none; }
.mmenu > li { position: relative; border-bottom: 1px solid var(--line); }
.mmenu > li > a { display: flex; align-items: center; justify-content: space-between; padding: 14px 44px 14px 2px; font-size: 16px; font-weight: 600; color: var(--ink); }
.mmenu > li > a:hover { color: var(--red); }
.mmenu small { font-size: 12px; color: var(--muted); }
.mmenu--cats > li > a { font-weight: 500; font-size: 15px; padding-right: 2px; }
.mmenu .sub-menu { display: none; margin: 0 0 10px; padding: 0 0 0 14px; list-style: none; }
.mmenu li.is-open > .sub-menu { display: block; }
.mmenu .sub-menu a { display: block; padding: 8px 0; color: var(--text); font-size: 14.5px; }
.sub-toggle { position: absolute; top: 6px; right: 0; display: grid; place-items: center; width: 40px; height: 40px; color: var(--muted); background: transparent; border: 0; border-radius: 10px; }
.sub-toggle .icon { width: 18px; height: 18px; transition: transform .25s; }
li.is-open > .sub-toggle .icon { transform: rotate(180deg); }

/* ---------- 8. Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(28px, 5vw, 64px) 0 clamp(40px, 6vw, 80px); background: linear-gradient(180deg, var(--cream) 0%, #fff 100%); }
.hero::before { content: ''; position: absolute; top: -30%; right: -12%; width: 62vw; max-width: 900px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(224, 18, 43, .07), transparent 62%); pointer-events: none; }
.hero__grid { position: relative; display: grid; gap: 36px; align-items: center; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 56px; } }
.hero__title { margin: 0; font-size: clamp(36px, 3.6vw + 20px, 64px); line-height: 1.08; letter-spacing: -.035em; }
.hero__text { max-width: 540px; margin: 22px 0 0; font-size: clamp(16px, .3vw + 15px, 18px); color: var(--text); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__cats { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 30px 0 0; padding: 22px 0 0; list-style: none; border-top: 1px solid var(--line); }
.hero__cats a { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.hero__cats a:hover { color: var(--red); }
.hero__cats small { margin-left: 2px; font-size: 12px; color: var(--muted); }
.hero__media { position: relative; }
.hero__frame { overflow: hidden; border-radius: var(--radius-xl); background: var(--cream-2); box-shadow: var(--shadow-lg); aspect-ratio: 6 / 5; }
.hero__frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero__card { position: absolute; left: 16px; bottom: 16px; display: flex; align-items: center; gap: 12px; max-width: min(330px, calc(100% - 32px)); padding: 10px 16px 10px 10px; color: var(--ink); background: rgba(255, 255, 255, .95); border-radius: 18px; box-shadow: var(--shadow); transition: transform .3s var(--ease); }
.hero__card:hover { color: var(--ink); transform: translateY(-3px); }
.hero__card img { flex: none; width: 64px; height: 64px; object-fit: cover; border-radius: 12px; }
.hero__card span { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.hero__card small { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.hero__card strong { margin: 2px 0; font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hero__card em { font-style: normal; font-size: 15px; font-weight: 800; color: var(--red-600); white-space: nowrap; }
@media (min-width: 1024px) { .hero__card { left: -36px; bottom: 36px; } }

/* ---------- 9. Cam kết ---------- */
.usp { border-bottom: 1px solid var(--line); background: #fff; }
.usp__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; margin: 0; padding: 26px 0; list-style: none; }
@media (min-width: 1024px) { .usp__list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding: 30px 0; } }
.usp__item { display: flex; align-items: center; gap: 12px; }
.usp__icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; color: var(--red); background: var(--red-50); border-radius: 14px; }
.usp__icon .icon { width: 24px; height: 24px; }
.usp__item strong { display: block; font-size: 14.5px; color: var(--ink); line-height: 1.3; }
.usp__item small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.usp--page { border-top: 1px solid var(--line); }

/* ---------- 10. Lưới & thẻ sản phẩm ---------- */
ul.products, .woocommerce ul.products, .woocommerce-page ul.products, .pgrid {
	display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
	margin: 0 !important; padding: 0 !important; list-style: none;
}
ul.products::before, ul.products::after { display: none !important; content: none !important; }
@media (min-width: 768px) { ul.products, .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1024px) { ul.products, .pgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; } }

/* --pcard-r: bo góc thẻ; --pcard-inset: khoảng lùi của ô ảnh. Ô ảnh bo (r − inset) để đồng tâm với viền thẻ. */
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product, .pcard {
	--pcard-r: 20px; --pcard-inset: 8px;
	float: none !important; width: auto !important; margin: 0 !important; clear: none !important;
	position: relative; display: flex; flex-direction: column; min-width: 0;
	background: #fff; border: 1px solid var(--line); border-radius: var(--pcard-r); overflow: hidden;
	transition: border-color .25s, box-shadow .3s var(--ease), transform .3s var(--ease), opacity .3s;
}
.pcard:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-4px); }
.pcard.is-hidden { display: none; }
.pcard__media { position: relative; padding: var(--pcard-inset) var(--pcard-inset) 0; }
.pcard__img { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; isolation: isolate; border-radius: calc(var(--pcard-r) - var(--pcard-inset)); background: var(--cream); }
.pcard__photo { width: 100% !important; height: 100% !important; margin: 0 !important; object-fit: cover; transition: opacity .45s, transform .6s var(--ease); }
.pcard__photo--alt { position: absolute; inset: 0; opacity: 0; }
.pcard:hover .pcard__photo { transform: scale(1.04); }
.pcard:hover .pcard__photo--alt { opacity: 1; }
.pcard:hover .pcard__photo:not(.pcard__photo--alt):has(+ .pcard__photo--alt) { opacity: 0; }
.pcard__badges { position: absolute; top: calc(var(--pcard-inset) + 8px); left: calc(var(--pcard-inset) + 8px); display: flex; flex-direction: column; align-items: flex-start; gap: 5px; pointer-events: none; }
.badge { display: inline-flex; align-items: center; padding: 3px 10px; font-size: 11.5px; font-weight: 700; line-height: 1.45; color: #fff; background: var(--red); border-radius: 999px; }
.badge--dark { background: var(--ink); }
.badge--new { color: var(--ink); background: #fff; box-shadow: var(--shadow-sm); }
.badge--muted { color: var(--text); background: var(--cream-2); }
.pcard__body { display: flex; flex-direction: column; flex: 1; gap: 4px; padding: 12px 12px 14px; }
@media (min-width: 768px) { .pcard__body { padding: 14px 16px 18px; } }
.pcard__cat { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Selector WooCommerce đi kèm để thắng `.woocommerce ul.products li.product h3 { padding: .5em 0; font-size: 1em }` trên trang cửa hàng. */
.woocommerce ul.products li.product .pcard__title, .pcard__title { margin: 0; padding: 0; font-size: 14px; font-weight: 600; line-height: 1.42; letter-spacing: -.005em; height: 2.84em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-transform: none; }
@media (min-width: 768px) { .woocommerce ul.products li.product .pcard__title, .pcard__title { font-size: 15px; } }
.pcard__title a { color: var(--ink); }
.pcard__title a:hover { color: var(--red); }
.pcard__rating .star-rating { font-size: 12px; margin: 2px 0 0 !important; }
.pcard__foot { display: flex; flex-direction: column; gap: 10px; margin-top: auto; padding-top: 8px; }
.pcard__price, .pcard__price .price { font-size: 16.5px; font-weight: 800; line-height: 1.3; color: var(--red-600); }
@media (min-width: 768px) { .pcard__price, .pcard__price .price { font-size: 18px; } }
.pcard__price del { display: inline-block; margin-right: 6px; font-size: 13px; font-weight: 500; color: var(--muted); opacity: 1; }
.pcard__price ins { text-decoration: none; background: none; }
.price-contact { font-size: 15px; font-weight: 700; color: var(--ink); }
.woocommerce ul.products li.product .button.pcard__cart, .pcard__cart.button {
	display: flex; align-items: center; justify-content: center; width: 100%; min-height: 42px; margin: 0 !important; padding: .5em 1em;
	font-size: 13.5px; font-weight: 600; line-height: 1.2; text-align: center;
	color: var(--ink); background: var(--cream); border: 0; border-radius: 999px; box-shadow: none;
}
.woocommerce ul.products li.product .button.pcard__cart:hover, .pcard__cart.button:hover { color: #fff; background: var(--red); transform: none; }
.pcard__cart.loading { opacity: .65; }
.pcard__cart.added::after { content: "✓"; margin-left: 4px; }
.pcard .added_to_cart { display: none !important; }

/* ---------- 11. Sản phẩm tiêu điểm ---------- */
.spotlight { position: relative; overflow: hidden; padding-block: clamp(56px, 7vw, 100px); color: rgba(255, 255, 255, .74); background: var(--ink); }
.spotlight::before { content: ''; position: absolute; left: -10%; bottom: -40%; width: 60vw; max-width: 760px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(224, 18, 43, .22), transparent 65%); pointer-events: none; }
.spotlight__grid { position: relative; display: grid; gap: 36px; align-items: center; }
@media (min-width: 1024px) { .spotlight__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 72px; } }
.spotlight__media { overflow: hidden; border-radius: var(--radius-xl); background: #fff; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); aspect-ratio: 1; }
.spotlight__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.spotlight__title { margin: 0; color: #fff; font-size: clamp(32px, 2.6vw + 18px, 52px); letter-spacing: -.03em; }
.spotlight__title em { color: #FF4D61; }
.spotlight__text { margin: 18px 0 0; font-size: 16.5px; max-width: 560px; }
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 30px 0; overflow: hidden; background: rgba(255, 255, 255, .1); border-radius: var(--radius); }
.specs div { padding: 16px 18px; background: var(--ink-2); }
.specs dt { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.specs dd { margin: 4px 0 0; font-size: 20px; font-weight: 700; color: #fff; }
.spotlight__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.spotlight__price, .spotlight__price .amount { font-size: 28px; font-weight: 800; color: #fff; }
.spotlight__price del { font-size: 17px; font-weight: 500; color: rgba(255, 255, 255, .5); }
.spotlight__price ins { text-decoration: none; }

/* ---------- 12. Về Phileo ---------- */
.about__grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 1024px) { .about__grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 72px; } }
.about__media { position: relative; margin: 0; }
.about__media img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-xl); }
.about__media::after { content: ''; position: absolute; right: -14px; bottom: -14px; z-index: -1; width: 46%; height: 46%; border-radius: var(--radius-xl); background: var(--red-50); }
@media (max-width: 1023.98px) { .about__media img { aspect-ratio: 4 / 3; } }
.about__body .shead { margin-bottom: 20px; }
.about__body p { font-size: 16px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 28px 0; padding: 24px 0 0; list-style: none; border-top: 1px solid var(--line); }
.facts strong { display: block; font-size: clamp(28px, 2vw + 16px, 40px); font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--red); }
.facts span { display: block; margin-top: 8px; font-size: 13px; line-height: 1.4; color: var(--muted); }

/* ---------- 13. Khẩu hiệu (trang giới thiệu) ---------- */
.motto { padding-block: clamp(48px, 6vw, 80px); background: var(--cream); text-align: center; }
.motto__inner { max-width: 820px; }
.motto__mark { width: 44px; height: 44px; color: var(--red); }
.motto__text { margin: 12px 0 0; font-size: clamp(28px, 2.4vw + 16px, 44px); font-weight: 800; line-height: 1.2; letter-spacing: -.03em; color: var(--ink); }
.motto__sub { margin: 16px auto 0; max-width: 600px; color: var(--muted); }

/* ---------- 14. Nhận xét khách hàng ---------- */
.testimonials { background: var(--cream); }
.testimonials__grid { display: grid; gap: 18px; }
@media (min-width: 768px) { .testimonials__grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
.quote { position: relative; display: flex; flex-direction: column; margin: 0; padding: clamp(24px, 3vw, 36px); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.quote__mark { width: 38px; height: 38px; color: var(--red); }
.quote blockquote { flex: 1; margin: 16px 0 24px; }
.quote blockquote p { font-size: 17px; line-height: 1.7; color: var(--ink); }
.quote figcaption { display: flex; align-items: center; gap: 14px; }
.quote__photo { width: 56px; height: 56px; object-fit: cover; border-radius: 50%; border: 3px solid var(--red-50); }
.quote figcaption strong { display: block; color: var(--ink); }
.quote figcaption small { display: block; font-size: 13px; color: var(--muted); }

/* ---------- 15. Tuyển đại lý ---------- */
.dealer { padding-block: clamp(48px, 6vw, 88px); }
.dealer__box { display: grid; overflow: hidden; color: rgba(255, 255, 255, .86); background: linear-gradient(135deg, var(--red) 0%, var(--red-700) 100%); border-radius: var(--radius-xl); box-shadow: 0 40px 70px -40px rgba(224, 18, 43, .7); }
@media (min-width: 1024px) { .dealer__box { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }
.dealer__body { padding: clamp(28px, 5vw, 64px); }
.dealer .eyebrow--light { color: #fff; }
.dealer .eyebrow--light::before { box-shadow: 0 0 0 4px rgba(255, 255, 255, .25); }
.dealer__title { margin: 0; color: #fff; font-size: clamp(30px, 2.4vw + 18px, 48px); letter-spacing: -.03em; }
.dealer__title em { color: #FFD3D8; }
.dealer__body > p { margin: 14px 0 0; font-size: 16.5px; }
.dealer__perks { display: grid; gap: 10px; margin: 24px 0 30px; padding: 0; list-style: none; }
.dealer__perks li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: #fff; }
.dealer__perks .icon { width: 22px; height: 22px; padding: 3px; box-sizing: content-box; color: var(--red); background: #fff; border-radius: 50%; }
.dealer__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.dealer__hot { display: inline-flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 800; color: #fff; }
.dealer__hot:hover { color: #fff; opacity: .85; }
.dealer__media { min-height: 260px; }
.dealer__media img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- 16. Tin tức ---------- */
.posts { display: grid; gap: 22px; }
@media (min-width: 640px) { .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .posts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; } }
.post-card { display: flex; flex-direction: column; }
.post-card__media { display: block; overflow: hidden; aspect-ratio: 3 / 2; border-radius: var(--radius-lg); background: var(--cream); }
.post-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__body { padding: 18px 4px 0; }
.post-card__date { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; color: var(--red); }
.post-card__title { margin: 8px 0; font-size: 19px; line-height: 1.35; }
.post-card__title a { color: var(--ink); }
.post-card__title a:hover { color: var(--red); }
.post-card__excerpt { font-size: 14.5px; color: var(--muted); }

/* ---------- 17. Trang con, bài viết, phân trang ---------- */
.phead { padding: clamp(26px, 4vw, 48px) 0 clamp(26px, 4vw, 44px); background: var(--cream); }
.phead__title { margin: 6px 0 0; font-size: clamp(30px, 2.4vw + 18px, 48px); letter-spacing: -.03em; }
.phead__text { max-width: 720px; margin: 12px 0 0; font-size: 16px; color: var(--muted); }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 13.5px; color: var(--muted); }
.breadcrumbs a { color: var(--text); }
.breadcrumbs a:hover { color: var(--red); }
.breadcrumbs .sep, .breadcrumbs .separator { color: var(--line-2); }
.shop-main > .container > .breadcrumbs { padding: 18px 0 6px; }
.prose { font-size: 16.5px; line-height: 1.85; color: var(--text); }
.prose h2 { margin: 1.7em 0 .6em; font-size: 26px; }
.prose h3 { margin: 1.5em 0 .5em; font-size: 21px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose img { display: block; margin: 1.5em auto; border-radius: var(--radius); }
.prose .wp-caption { max-width: 100%; }
.prose .wp-caption-text { margin-top: -12px; font-size: 13.5px; color: var(--muted); text-align: center; }
.prose blockquote { margin: 1.8em 0; padding: 18px 24px; border-left: 4px solid var(--red); background: var(--cream); border-radius: 0 var(--radius) var(--radius) 0; font-size: 17.5px; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.nav-links, .woocommerce nav.woocommerce-pagination ul.page-numbers { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 40px 0 0; white-space: normal; border: 0 !important; }
.woocommerce nav.woocommerce-pagination ul li { float: none; border: 0 !important; }
/* WooCommerce cũng gắn class "page-numbers" cho thẻ <ul> — chỉ style nút a/span, không style khung ngoài. */
a.page-numbers, span.page-numbers, .woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span {
	display: inline-grid !important; place-items: center; min-width: 44px; height: 44px; padding: 0 12px !important;
	font-weight: 600; line-height: 1; color: var(--ink) !important; background: #fff !important; border: 1px solid var(--line) !important; border-radius: 999px !important;
}
a.page-numbers:hover, .woocommerce nav.woocommerce-pagination ul li a:hover { color: var(--red) !important; border-color: var(--red) !important; }
.page-numbers.current, .woocommerce nav.woocommerce-pagination ul li span.current { color: #fff !important; background: var(--ink) !important; border-color: var(--ink) !important; }
.page-numbers .icon { width: 18px; height: 18px; }
.empty-state { max-width: 560px; margin: 0 auto; padding: 40px 0; text-align: center; }
.empty-state > .icon { width: 56px; height: 56px; padding: 16px; box-sizing: content-box; margin: 0 auto 18px; color: var(--red); background: var(--red-50); border-radius: 50%; }
.empty-state .search-form { margin: 22px auto; max-width: 460px; }
.empty-state__code { display: block; font-size: clamp(90px, 12vw, 150px); font-weight: 800; line-height: 1; letter-spacing: -.05em; color: var(--red); }
.comments__title { font-size: 21px; }
.comment-list { list-style: none; padding: 0; margin: 0 0 30px; }
.comment-list .comment { padding: 16px 0; border-bottom: 1px solid var(--line); }
.comment-list .children { list-style: none; padding-left: 24px; }
.comment-author img { float: left; margin-right: 12px; border-radius: 50%; }
.comment-meta { font-size: 13px; color: var(--muted); }
.comment-respond { padding: 24px; border-radius: var(--radius-lg); background: var(--cream); }
.comment-form p { margin-bottom: 14px; }

/* ---------- 18. Cửa hàng (WooCommerce) ---------- */
.shop-wrap { padding-block: 28px 64px; }
.shop-wrap > .chips { margin-bottom: 18px; }
.shop-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 20px; }
.shop-toolbar .woocommerce-result-count { margin: 0 !important; float: none !important; font-size: 14px; color: var(--muted); }
.shop-toolbar .woocommerce-ordering { margin: 0 !important; float: none !important; }
.shop-toolbar .woocommerce-ordering select { width: auto; min-width: 220px; min-height: 42px; font-size: 14px; border-radius: 999px; }
.shop-toolbar .woocommerce-notices-wrapper { flex-basis: 100%; }
.wc-page { min-height: 30vh; }

/* Thông báo */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notice {
	position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
	margin: 0 0 20px !important; padding: 14px 18px 14px 50px !important; list-style: none;
	font-size: 14.5px; color: var(--ink) !important; background: var(--cream) !important; border: 1px solid var(--line) !important; border-left: 4px solid var(--red) !important; border-radius: 12px !important;
}
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { top: 50% !important; left: 18px !important; transform: translateY(-50%); color: var(--red) !important; }
.woocommerce-message { border-left-color: #2E9A5C !important; }
.woocommerce-message::before { color: #2E9A5C !important; }
.woocommerce-error { background: #FFF4F3 !important; }
.woocommerce-message::after, .woocommerce-info::after, .woocommerce-error::after { display: none !important; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; float: none !important; min-height: 38px; font-size: 13.5px; }

/* Chi tiết sản phẩm */
.single-product div.product, .woocommerce div.product { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; padding: 8px 0 48px; }
@media (min-width: 1024px) { .single-product div.product { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; } }
.woocommerce div.product div.images, .woocommerce div.product div.summary, .woocommerce #content div.product div.images { float: none !important; width: auto !important; margin: 0 !important; }
.woocommerce div.product > .woocommerce-tabs, .woocommerce div.product > .related, .woocommerce div.product > .upsells, .woocommerce div.product > .up-sells { grid-column: 1 / -1; }
.single-product div.product > .badge, .single-product div.product > .onsale { position: absolute; top: 24px; left: 16px; z-index: 5; padding: 5px 12px; font-size: 13px; }
.woocommerce div.product div.images { position: relative; }
.woocommerce-product-gallery { padding: 0; }
.woocommerce-product-gallery__wrapper, .woocommerce div.product div.images .flex-viewport { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.woocommerce div.product div.images img { border-radius: 0; }
.woocommerce div.product div.images .woocommerce-product-gallery__image img { aspect-ratio: 1 / 1; object-fit: contain; background: #fff; }
.woocommerce div.product div.images .flex-control-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px !important; }
.woocommerce div.product div.images .flex-control-thumbs li { width: auto !important; float: none !important; margin: 0 !important; }
.woocommerce div.product div.images .flex-control-thumbs li img { aspect-ratio: 1 / 1; object-fit: cover; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; opacity: .7; transition: .2s; }
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active, .woocommerce div.product div.images .flex-control-thumbs li img:hover { opacity: 1; border-color: var(--red); }
.woocommerce div.product div.images .woocommerce-product-gallery__trigger { top: 14px; right: 14px; background: #fff; box-shadow: var(--shadow-sm); }
.woocommerce div.product .product_title { margin-bottom: 10px; font-size: clamp(24px, 1.4vw + 17px, 34px); line-height: 1.25; letter-spacing: -.025em; }
.woocommerce div.product .woocommerce-product-rating { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 13.5px; }
.woocommerce div.product p.price, .woocommerce div.product span.price {
	display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 8px 0 20px; padding: 16px 22px;
	font-size: 30px; font-weight: 800; color: var(--red-600) !important; background: var(--cream); border-radius: var(--radius);
}
.woocommerce div.product p.price del { font-size: 17px; font-weight: 500; color: var(--muted); opacity: 1; }
.woocommerce div.product p.price ins { text-decoration: none; }
.woocommerce div.product .woocommerce-product-details__short-description { margin-bottom: 18px; font-size: 15px; }
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 18px !important; }
.woocommerce div.product form.cart::before, .woocommerce div.product form.cart::after { display: none; }
.woocommerce div.product form.cart div.quantity { float: none; margin: 0 !important; }
.woocommerce .quantity .qty { width: 92px; min-height: 54px; padding: 0 10px; font-size: 16px; font-weight: 700; text-align: center; border-radius: 999px; }
.woocommerce div.product form.cart .single_add_to_cart_button { flex: 1; min-width: 200px; min-height: 54px; font-size: 16px; float: none; }
.woocommerce div.product form.cart table.variations { width: 100%; margin-bottom: 8px; }
.woocommerce div.product .stock { font-weight: 600; }
.woocommerce div.product .stock.in-stock { color: #2E9A5C; }
.woocommerce div.product .stock.out-of-stock { color: var(--red-700); }
.product_meta { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; padding-top: 16px; font-size: 13.5px; color: var(--muted); border-top: 1px dashed var(--line-2); }
.product_meta a { color: var(--text); }
.product_meta a:hover { color: var(--red); }
.yith-wcwl-add-to-wishlist { margin: 0 0 16px !important; font-size: 14px; }
.assure { margin: 0 0 18px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.assure__list { display: grid; gap: 10px; margin: 0 0 14px; padding: 0; list-style: none; }
@media (min-width: 576px) { .assure__list { grid-template-columns: repeat(3, 1fr); } }
.assure__list li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; line-height: 1.35; color: var(--ink); }
.assure__list .icon { width: 22px; height: 22px; color: var(--red); }
.assure__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.assure__call { display: flex; flex: 1 1 220px; align-items: center; gap: 12px; padding: 12px 14px; color: var(--ink); background: var(--red-50); border-radius: 12px; transition: background .2s; }
.assure__call:hover { color: var(--ink); background: var(--red-100); }
.assure__call > .icon { width: 22px; height: 22px; padding: 9px; box-sizing: content-box; color: #fff; background: var(--red); border-radius: 12px; }
.assure__call span { display: flex; flex-direction: column; line-height: 1.25; }
.assure__call small { font-size: 12.5px; color: var(--muted); }
.assure__call strong { font-size: 19px; color: var(--red-700); }
.assure__zalo { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; font-weight: 700; color: #fff; background: #0068FF; border-radius: 12px; }
.assure__zalo:hover { color: #fff; background: #0057D6; }
.assure__zalo { --zalo-text: #0068FF; }
.assure__zalo .icon { width: 26px; height: 26px; }
.woocommerce div.product .woocommerce-tabs { margin-top: 12px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { display: flex; gap: 8px; margin: 0 0 22px !important; padding: 0 !important; overflow-x: auto; scrollbar-width: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important; border-radius: 0 !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { display: block; padding: 10px 20px !important; font-weight: 600 !important; color: var(--text) !important; white-space: nowrap; background: var(--cream); border-radius: 999px; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: #fff !important; background: var(--ink); }
.woocommerce div.product .woocommerce-tabs .panel { margin: 0 0 30px; padding: 26px; font-size: 15.5px; line-height: 1.85; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.woocommerce div.product .woocommerce-tabs .panel > h2:first-child { font-size: 20px; }
.woocommerce div.product .woocommerce-tabs .panel img { height: auto; border-radius: 12px; }
@media (max-width: 575.98px) { .woocommerce div.product .woocommerce-tabs .panel { padding: 18px; } }
.woocommerce table.shop_attributes { border: 0; }
.woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td { padding: 10px 14px; font-style: normal; border-bottom: 1px solid var(--line); }
.related > h2, .upsells > h2, .up-sells > h2, .cross-sells > h2 { margin: 10px 0 20px; font-size: 26px; }
#reviews .comment-reply-title { font-size: 18px; font-weight: 700; }
#reviews #comments ol.commentlist li .comment-text { border-color: var(--line); border-radius: 14px; }
.woocommerce .star-rating span::before, .woocommerce p.stars a { color: #F5A623; }

/* Giỏ hàng & thanh toán */
.woocommerce table.shop_table { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); border-collapse: separate; border-spacing: 0; }
.woocommerce table.shop_table th { padding: 14px 16px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); background: var(--cream); }
.woocommerce table.shop_table td { padding: 14px 16px; border-top: 1px solid var(--line); }
.woocommerce table.shop_table td.product-name a { font-weight: 600; color: var(--ink); }
.woocommerce-cart table.cart img { width: 72px; border: 1px solid var(--line); border-radius: 10px; }
.woocommerce a.remove { width: 28px; height: 28px; line-height: 26px; font-weight: 400; color: var(--muted) !important; border: 1px solid var(--line); }
.woocommerce a.remove:hover { color: #fff !important; background: var(--red) !important; border-color: var(--red); }
.woocommerce-cart table.cart td.actions .coupon .input-text { width: 200px; min-height: 46px; margin-right: 8px; }
.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals { width: 100%; max-width: 460px; padding: 24px; background: var(--cream); border-radius: var(--radius-lg); }
.woocommerce .cart-collaterals .cart_totals h2 { font-size: 20px; }
.woocommerce .cart-collaterals .cart_totals table.shop_table { background: #fff; }
.woocommerce .wc-proceed-to-checkout a.checkout-button { min-height: 56px; font-size: 16px; }
@media (max-width: 767.98px) {
	.woocommerce table.shop_table_responsive tr td, .woocommerce-page table.shop_table_responsive tr td { padding: 10px 14px; }
	.woocommerce-cart table.cart td.actions .coupon .input-text { width: 100%; margin: 0 0 8px; }
}
.woocommerce form.checkout { display: grid; gap: 28px; }
@media (min-width: 1024px) {
	.woocommerce form.checkout { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: start; }
	.woocommerce form.checkout > .col2-set { grid-column: 1; grid-row: 1 / span 3; }
	.woocommerce form.checkout > #order_review_heading, .woocommerce form.checkout > #order_review { grid-column: 2; }
	.woocommerce form.checkout > #order_review { position: sticky; top: calc(var(--header-h) + 24px); }
}
.woocommerce form.checkout .col2-set .col-1, .woocommerce form.checkout .col2-set .col-2 { float: none; width: 100%; }
.woocommerce form.checkout h3, #order_review_heading { margin: 0 0 14px; font-size: 20px; }
#order_review { padding: 22px; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-lg); }
#order_review table.shop_table { background: #fff; }
.woocommerce-checkout #payment { background: #fff !important; border: 1px solid var(--line); border-radius: var(--radius) !important; }
.woocommerce-checkout #payment div.payment_box { background: var(--cream) !important; border-radius: 12px; }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--cream) !important; }
.woocommerce #payment #place_order { width: 100%; min-height: 56px; font-size: 16.5px; float: none; }
.woocommerce form .form-row { margin: 0 0 14px; padding: 0; }
.woocommerce form .form-row label { margin-bottom: 6px; font-size: 14px; }
.select2-container .select2-selection--single { height: 48px !important; border: 1.5px solid var(--line-2) !important; border-radius: 12px !important; }
.select2-container .select2-selection--single .select2-selection__rendered { padding-left: 15px !important; line-height: 45px !important; }
.select2-container .select2-selection--single .select2-selection__arrow { height: 46px !important; right: 8px !important; }
.select2-dropdown { overflow: hidden; border-color: var(--line-2) !important; border-radius: 10px !important; }

/* Tài khoản */
.woocommerce-account .woocommerce { display: grid; gap: 24px; }
@media (min-width: 1024px) { .woocommerce-account.logged-in .woocommerce { grid-template-columns: 250px minmax(0, 1fr); gap: 36px; } }
.woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .woocommerce-MyAccount-content { float: none; width: auto; }
.woocommerce-MyAccount-navigation ul { margin: 0; padding: 8px; list-style: none; background: var(--cream); border-radius: var(--radius); }
.woocommerce-MyAccount-navigation a { display: block; padding: 10px 14px; font-weight: 500; color: var(--ink); border-radius: 10px; }
.woocommerce-MyAccount-navigation .is-active a, .woocommerce-MyAccount-navigation a:hover { color: #fff; background: var(--ink); }
.woocommerce form.login, .woocommerce form.register { margin: 0 0 20px !important; padding: 26px !important; background: #fff; border: 1px solid var(--line) !important; border-radius: var(--radius-lg) !important; }
.woocommerce .col2-set#customer_login { display: grid; gap: 24px; }
@media (min-width: 768px) { .woocommerce .col2-set#customer_login { grid-template-columns: 1fr 1fr; } }
.woocommerce .col2-set#customer_login .col-1, .woocommerce .col2-set#customer_login .col-2 { float: none; width: auto; }
.woocommerce .col2-set::before, .woocommerce .col2-set::after { display: none; }

/* Giỏ hàng trượt */
.woocommerce-mini-cart { margin: 0; padding: 0; list-style: none; }
.woocommerce-mini-cart-item { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 4px 12px; padding: 14px 32px 14px 0 !important; font-size: 14px; border-bottom: 1px solid var(--line); }
.woocommerce-mini-cart-item a:not(.remove) { grid-column: 1 / -1; display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; font-weight: 600; line-height: 1.35; color: var(--ink); }
.woocommerce-mini-cart-item img { float: none !important; width: 64px !important; height: 64px !important; margin: 0 !important; object-fit: cover; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.woocommerce-mini-cart-item .quantity { grid-column: 2; font-size: 13.5px; color: var(--muted); }
.woocommerce-mini-cart-item .quantity .amount { font-weight: 700; color: var(--red-600); }
.woocommerce-mini-cart-item a.remove { position: absolute !important; top: 14px; right: 0; left: auto !important; }
.woocommerce-mini-cart__total { display: flex; justify-content: space-between; margin: 0; padding: 16px 0; font-size: 15px; color: var(--ink); }
.woocommerce-mini-cart__total .amount { font-size: 19px; font-weight: 800; color: var(--red-600); }
.woocommerce-mini-cart__buttons { display: grid; gap: 10px; margin: 0; }
.woocommerce-mini-cart__buttons .button { width: 100%; }
.woocommerce-mini-cart__buttons .button:not(.checkout) { color: var(--ink); background: var(--cream); }
.woocommerce-mini-cart__buttons .button:not(.checkout):hover { color: #fff; background: var(--ink); }
.woocommerce-mini-cart__empty-message { padding: 36px 0; text-align: center; color: var(--muted); }

/* ---------- 19. Liên hệ ---------- */
.contact__grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 1024px) { .contact__grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; } }
.contact__card { padding: clamp(26px, 4vw, 40px); color: rgba(255, 255, 255, .8); background: var(--ink); border-radius: var(--radius-xl); }
.contact__title { margin: 0 0 26px; color: #fff; font-size: 26px; }
.contact__card .clist { margin-bottom: 28px; }
.map { line-height: 0; }
.map iframe { width: 100%; height: clamp(320px, 38vw, 440px); border: 0; filter: saturate(.9); }
/* Contact Form 7 (CSS của plugin đã tắt): */
.cf { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 18px; }
.cf__full { grid-column: 1 / -1; }
.cf label { display: block; font-size: 14px; font-weight: 600; }
.cf .wpcf7-form-control-wrap { display: block; margin-top: 6px; }
.cf .wpcf7-submit { min-width: 220px; }
.cf__submit { display: flex; align-items: center; gap: 16px; }
.wpcf7 .hidden-fields-container { display: none; }
.wpcf7-not-valid-tip { margin-top: 6px; font-size: 13px; color: var(--red-700); }
.wpcf7 form .wpcf7-response-output { margin: 22px 0 0; padding: 14px 18px; font-size: 14.5px; color: var(--ink); background: var(--cream); border: 1px solid var(--line); border-left: 4px solid #2E9A5C; border-radius: 12px; }
.wpcf7 form.init .wpcf7-response-output, .wpcf7 form.resetting .wpcf7-response-output, .wpcf7 form.submitting .wpcf7-response-output { display: none; }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output { border-left-color: var(--red); }
.wpcf7-spinner { visibility: hidden; display: inline-block; width: 22px; height: 22px; border: 2px solid var(--red); border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
.wpcf7 form.submitting .wpcf7-spinner { visibility: visible; }
.screen-reader-response { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 575.98px) { .cf { grid-template-columns: 1fr; } }

/* ---------- 20. Footer ---------- */
.site-footer { color: rgba(255, 255, 255, .66); background: var(--ink); font-size: 14.5px; }
.footer__grid { display: grid; gap: 36px; padding-block: clamp(48px, 6vw, 80px) 40px; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.35fr .8fr .9fr 1.25fr; gap: 48px; } }
.footer__brand .logo .logo__img { height: 26px; }
.footer__about { margin: 20px 0; max-width: 360px; line-height: 1.75; }
.footer__social { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.footer__social a { --zalo-text: var(--ink); display: inline-grid; place-items: center; width: 42px; height: 42px; color: #fff; background: rgba(255, 255, 255, .08); border-radius: 50%; transition: background .2s; }
.footer__social a:hover { color: #fff; background: var(--red); }
.footer__social a .icon { width: 20px; height: 20px; }
.footer__social a .icon--zalo { width: 26px; height: 26px; }
.footer__social .footer__korea { display: inline-flex; gap: 6px; width: auto; padding: 0 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600; }
.footer__korea .icon { width: 15px !important; height: 15px !important; }
.footer__title { margin: 0 0 18px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.footer__menu { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.footer__menu a { color: rgba(255, 255, 255, .72); }
.footer__menu a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; color: rgba(255, 255, 255, .45); }
.footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-block: 20px; }
.clist { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.clist li { display: flex; align-items: flex-start; gap: 14px; line-height: 1.5; color: var(--ink); }
.clist small { display: block; margin-bottom: 2px; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.clist__icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; color: var(--red); background: var(--red-50); border-radius: 12px; }
.clist__icon .icon { width: 19px; height: 19px; }
.clist--light li { color: rgba(255, 255, 255, .88); }
.clist--light a { color: #fff; }
.clist--light a:hover { color: #FF8A98; }
.clist--light small { color: rgba(255, 255, 255, .45); }
.clist--light .clist__icon { color: #fff; background: rgba(255, 255, 255, .08); }
.clist--lg { gap: 20px; font-size: 16px; }

/* ---------- 21. Nút nổi (desktop), thanh điều hướng + thanh mua hàng (mobile) ---------- */
.floating { position: fixed; right: 22px; bottom: 24px; z-index: 70; display: none; gap: 12px; }
@media (min-width: 1024px) { .floating { display: grid; } }
.floating__btn { display: grid; place-items: center; width: 52px; height: 52px; padding: 0; color: #fff; background: var(--ink); border: 0; border-radius: 50%; box-shadow: 0 14px 28px -12px rgba(22, 24, 28, .55); transition: transform .25s var(--ease), opacity .3s, visibility .3s; }
.floating__btn:hover { color: #fff; transform: translateY(-3px); }
.floating__btn .icon { width: 22px; height: 22px; }
.floating__btn .icon--zalo { width: 30px; height: 30px; }
.floating__btn--zalo { --zalo-text: #0068FF; background: #0068FF; }
.floating__btn--call { background: var(--red); }
.floating__btn--top { opacity: 0; visibility: hidden; }
.floating__btn--top.is-visible { opacity: 1; visibility: visible; }

.mbar, .pbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 75; padding-bottom: env(safe-area-inset-bottom); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -20px rgba(22, 24, 28, .4); }
@media (min-width: 1024px) { .mbar, .pbar { display: none !important; } }
.mbar { display: grid; grid-template-columns: repeat(5, 1fr); }
.mbar > a, .mbar > button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 60px; padding: 6px 2px; font-size: 11px; font-weight: 600; color: var(--muted); background: none; border: 0; }
.mbar > a.is-active, .mbar > a:hover, .mbar > button:hover { color: var(--red); }
.mbar .icon { width: 22px; height: 22px; }
.mbar .icon--zalo { width: 25px; height: 25px; color: #0068FF; }
.mbar__icon { position: relative; line-height: 0; }
.mbar__icon .cart-count { top: -7px; right: -12px; }
.mbar__call { color: var(--ink) !important; }
.mbar__ring { display: grid; place-items: center; width: 50px; height: 50px; margin-top: -22px; color: #fff; background: var(--red); border: 4px solid #fff; border-radius: 50%; box-shadow: var(--shadow-red); animation: ring 2.4s var(--ease) infinite; }
.mbar__ring .icon { width: 22px; height: 22px; }
@keyframes ring { 0%, 70%, 100% { transform: none; } 75% { transform: rotate(-12deg); } 80% { transform: rotate(10deg); } 85% { transform: rotate(-8deg); } 90% { transform: rotate(6deg); } }
.pbar { display: flex; align-items: center; gap: 6px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); }
.pbar__icon { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 54px; min-height: 48px; font-size: 11px; font-weight: 600; color: var(--ink); background: none; border: 0; }
.pbar__icon .icon { width: 22px; height: 22px; }
.pbar__icon .icon--zalo { color: #0068FF; width: 26px; height: 26px; }
.pbar__buy { display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; min-height: 52px; padding: 4px 12px; font-size: 15px; font-weight: 700; line-height: 1.2; color: #fff; background: var(--red); border: 0; border-radius: 14px; }
.pbar__buy:hover { color: #fff; }
.pbar__buy small { font-size: 12.5px; font-weight: 500; opacity: .9; }
.pbar__buy small .amount { color: #fff; }
@media (max-width: 1023.98px) { body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); } }

/* ---------- 22. Giảm chuyển động ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.js .reveal { opacity: 1; transform: none; }
}
