/*
Theme Name: Bé Vui — mẫu website siêu thị mẹ và bé
Theme URI: https://mevabe-mau-05.mauwebsitedep.net/
Description: Mẫu website siêu thị mẹ và bé (mevabe-mau-05) — theme con của vinasite, chạy WooCommerce. Bảng màu hồng sen · cam · xanh dương, lưới sản phẩm năm cột, mật độ cao. Dữ liệu trên site là dữ liệu minh hoạ.
Author: VinaSite
Author URI: https://vinasite.com.vn/
Template: vinasite
Version: 1.0.0
Text Domain: mevabe-mau-05
Tags: woocommerce, shop, vietnamese
*/

/* =====================================================================
 * MỤC LỤC
 *   1. Biến và nền tảng
 *   2. Tiện ích chung, nút, tiêu đề khối
 *   3. Đầu trang ba tầng
 *   4. Hero
 *   5. Hàng biểu tượng · băng khuyến mãi
 *   6. Flash sale và đồng hồ đếm ngược
 *   7. Thẻ sản phẩm và lưới WooCommerce
 *   8. Số liệu · thương hiệu · hướng dẫn · cam kết
 *   9. Chân trang
 *  10. Cửa hàng, danh mục, tìm kiếm, trạng thái rỗng
 *  11. Trang sản phẩm · trang tĩnh · giỏ hàng và thanh toán
 *  12. Trang Giới thiệu và Liên hệ
 *  13. CHUYỂN ĐỘNG THEO CUỘN  (bộ chọn phải khớp assets/site.js)
 *  14. Tiêu điểm bàn phím
 *  15. Màn hình hẹp
 * ===================================================================== */


/* ══ 1. BIẾN VÀ NỀN TẢNG ══════════════════════════════════════════════ */

:root {
	/* Bảng màu bán lẻ: hồng sen chính, cam cho khuyến mãi, xanh dương phụ.
	   Cố ý khác hẳn bốn mẫu mẹ và bé kia — xem README. */
	--mv05-hong:       #E8336D;
	--mv05-hong-2:     #C31F57;
	--mv05-hong-nhat:  #FFEFF4;
	--mv05-cam:        #FF6B2C;
	--mv05-vang:       #FFC43D;
	--mv05-xanh:       #1B6FD1;
	--mv05-xanh-nhat:  #EAF2FD;
	--mv05-la:         #12924F;

	--mv05-muc:        #1C2430;
	--mv05-chu-2:      #5C6878;
	--mv05-chu-3:      #8B96A5;
	--mv05-vien:       #E5E9EF;
	--mv05-nen:        #FFFFFF;
	--mv05-nen-2:      #F6F8FB;

	/* Thang chữ — ĐÚNG SÁU BẬC, theo chuẩn mục 5. Không thêm bậc thứ bảy:
	   mắt không phân biệt được nửa pixel, nên cỡ lẻ chỉ là số tuỳ hứng. */
	--mv05-fs-1: 0.75rem;                                 /* 12 — chip, nhãn  */
	--mv05-fs-2: 0.875rem;                                /* 14 — tên hàng    */
	--mv05-fs-3: 1rem;                                    /* 16 — thân bài    */
	--mv05-fs-4: 1.25rem;                                 /* 20 — giá, tiêu đề thẻ */
	--mv05-fs-5: clamp(1.375rem, 2.1vw, 1.75rem);         /* 22–28 — tiêu đề khối */
	--mv05-fs-6: clamp(1.75rem, 3.4vw, 2.625rem);         /* 28–42 — h1       */

	/* Thang khoảng cách, bước 4px. */
	--mv05-s-1: 4px;  --mv05-s-2: 8px;  --mv05-s-3: 12px; --mv05-s-4: 16px;
	--mv05-s-5: 24px; --mv05-s-6: 32px; --mv05-s-7: 48px; --mv05-s-8: 64px;

	--mv05-r-1: 8px; --mv05-r-2: 12px; --mv05-r-3: 18px; --mv05-r-tron: 999px;

	--mv05-bong-1: 0 1px 2px rgba(28, 36, 48, .06);
	--mv05-bong-2: 0 6px 20px rgba(28, 36, 48, .09);
	--mv05-bong-3: 0 14px 34px rgba(28, 36, 48, .15);

	--mv05-nhip: cubic-bezier(.2, .7, .3, 1);
	--mv05-wrap: 1320px;
}

body.mv05-sieu-thi {
	margin: 0;
	background: var(--mv05-nen);
	color: var(--mv05-muc);
	font-family: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: var(--mv05-fs-3);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

/* BẪY 6 — theme mẹ nhuộm xanh mọi h1–h3. Trả lại màu của chỗ đặt chúng. */
body.mv05-sieu-thi h1,
body.mv05-sieu-thi h2,
body.mv05-sieu-thi h3,
body.mv05-sieu-thi h4 {
	color: inherit;
	font-weight: 700;
	line-height: 1.25;
	margin: 0;
	letter-spacing: -0.01em;
}

body.mv05-sieu-thi p { margin: 0 0 var(--mv05-s-3); }
body.mv05-sieu-thi p:last-child { margin-bottom: 0; }
body.mv05-sieu-thi img { max-width: 100%; height: auto; }
body.mv05-sieu-thi a { color: var(--mv05-hong-2); }
body.mv05-sieu-thi ul, body.mv05-sieu-thi ol { margin: 0; padding: 0; }

.mv05-ic { flex: none; }


/* ══ 2. TIỆN ÍCH CHUNG, NÚT, TIÊU ĐỀ KHỐI ═════════════════════════════ */

.mv05-wrap {
	width: 100%;
	max-width: var(--mv05-wrap);
	margin-inline: auto;
	padding-inline: var(--mv05-s-5);
	box-sizing: border-box;
}

/* Chỉ trình đọc màn hình thấy. */
.mv05-an {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0; border: 0;
	clip-path: inset(50%);
	overflow: hidden; white-space: nowrap;
}

.mv05-bo-qua {
	position: absolute; left: var(--mv05-s-4); top: -60px; z-index: 100;
	background: var(--mv05-muc); color: #fff;
	padding: var(--mv05-s-3) var(--mv05-s-5);
	border-radius: var(--mv05-r-1);
	text-decoration: none; font-weight: 600;
	transition: transform .2s var(--mv05-nhip);
}
.mv05-bo-qua:focus { transform: translateY(72px); }

.mv05-nut {
	display: inline-flex; align-items: center; justify-content: center;
	gap: var(--mv05-s-2);
	padding: var(--mv05-s-3) var(--mv05-s-5);
	border: 1px solid transparent;
	border-radius: var(--mv05-r-tron);
	font: inherit; font-size: var(--mv05-fs-2); font-weight: 600;
	text-decoration: none; cursor: pointer;
	transition: background-color .22s var(--mv05-nhip),
	            color .22s var(--mv05-nhip),
	            border-color .22s var(--mv05-nhip),
	            transform .18s var(--mv05-nhip),
	            box-shadow .22s var(--mv05-nhip);
}
.mv05-nut--chinh {
	background: var(--mv05-hong); color: #fff;
	box-shadow: 0 4px 14px rgba(232, 51, 109, .28);
}
.mv05-nut--chinh:hover { background: var(--mv05-hong-2); }
.mv05-nut--vien {
	background: #fff; color: var(--mv05-muc); border-color: var(--mv05-vien);
}
.mv05-nut--vien:hover { border-color: var(--mv05-hong); color: var(--mv05-hong-2); }

/* Phản hồi khi bấm — nút lún nhẹ. Chỉ `transform`, không dồn bố cục. */
.mv05-nut:active { transform: translateY(1px) scale(.985); }

.mv05-tieu {
	font-size: var(--mv05-fs-5);
	display: flex; align-items: center; gap: var(--mv05-s-3);
}
.mv05-tieu--trang { color: #fff; }

.mv05-tieu__het {
	display: inline-flex; align-items: center; gap: var(--mv05-s-2);
	font-size: var(--mv05-fs-2); font-weight: 600;
	color: var(--mv05-hong-2); text-decoration: none;
	white-space: nowrap;
}
.mv05-tieu__het--trang { color: #fff; }
.mv05-tieu__het .mv05-ic { transition: transform .22s var(--mv05-nhip); }
.mv05-tieu__het:hover .mv05-ic { transform: translateX(4px); }

.mv05-khoi { padding-block: var(--mv05-s-7); }
.mv05-khoi--nen { background: var(--mv05-nen-2); }
.mv05-khoi__dau {
	display: flex; align-items: flex-end; justify-content: space-between;
	gap: var(--mv05-s-5); margin-bottom: var(--mv05-s-5); flex-wrap: wrap;
}
.mv05-khoi__mo {
	margin: var(--mv05-s-2) 0 0;
	font-size: var(--mv05-fs-2); color: var(--mv05-chu-2); max-width: 62ch;
}

/* Chip lọc nhanh — danh mục con. */
.mv05-chip {
	display: flex; flex-wrap: wrap; gap: var(--mv05-s-2);
	list-style: none; margin: 0 0 var(--mv05-s-5);
}
.mv05-chip a {
	display: inline-flex; align-items: center; gap: var(--mv05-s-2);
	padding: 6px var(--mv05-s-3);
	border: 1px solid var(--mv05-vien); border-radius: var(--mv05-r-tron);
	background: #fff; color: var(--mv05-muc);
	font-size: var(--mv05-fs-1); font-weight: 600; text-decoration: none;
	transition: border-color .2s var(--mv05-nhip), background-color .2s var(--mv05-nhip),
	            color .2s var(--mv05-nhip);
}
.mv05-chip a span {
	color: var(--mv05-chu-3); font-weight: 500;
}
.mv05-chip a:hover {
	border-color: var(--mv05-hong); background: var(--mv05-hong-nhat);
	color: var(--mv05-hong-2);
}

.mv05-toast {
	position: fixed; left: 50%; bottom: var(--mv05-s-5); z-index: 90;
	width: min(560px, calc(100% - 32px));
	transform: translateX(-50%);
	background: var(--mv05-muc); color: #fff;
	padding: var(--mv05-s-4) var(--mv05-s-5);
	border-radius: var(--mv05-r-2); box-shadow: var(--mv05-bong-3);
	font-size: var(--mv05-fs-2);
	animation: mv05-troi .4s var(--mv05-nhip) both;
}
@keyframes mv05-troi {
	from { opacity: 0; translate: 0 16px; }
	to   { opacity: 1; translate: 0 0; }
}


/* ══ 3. ĐẦU TRANG BA TẦNG ═════════════════════════════════════════════ */

/* Tầng 1 — cuộn qua là mất, cố ý không nằm trong phần dính (xem header.php). */
.mv05-top {
	background: linear-gradient(90deg, var(--mv05-hong) 0%, var(--mv05-cam) 100%);
	color: #fff; font-size: var(--mv05-fs-1);
}
.mv05-top__in {
	display: flex; align-items: center; justify-content: space-between;
	gap: var(--mv05-s-4); min-height: 36px; flex-wrap: wrap;
}
.mv05-top p { margin: 0; }
.mv05-top a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.mv05-top a:hover { text-decoration: underline; }
.mv05-top__mau { display: flex; align-items: center; gap: var(--mv05-s-2); }
.mv05-top__cham {
	width: 7px; height: 7px; border-radius: 50%; background: var(--mv05-vang);
	flex: none;
}
.mv05-top__lh { display: flex; align-items: center; gap: var(--mv05-s-4); }
.mv05-top__gio-mo { opacity: .85; }
.mv05-top__phu { font-weight: 600; opacity: .95; }

/* Tầng 2 + 3 — phần DÍNH. Chiều cao không đổi ở mọi trạng thái. */
.mv05-head {
	position: sticky; top: 0; z-index: 60;
	background: #fff;
	border-bottom: 1px solid var(--mv05-vien);
	transition: box-shadow .25s var(--mv05-nhip),
	            transform .32s var(--mv05-nhip),
	            border-color .25s var(--mv05-nhip);
	will-change: transform;
}
.mv05-head.is-stuck { box-shadow: var(--mv05-bong-2); }
.mv05-head.is-past  { border-bottom-color: var(--mv05-hong); }
/* Cuộn xuống thì trượt cả thanh đi — `transform`, không thu chiều cao. */
.mv05-head.is-hidden { transform: translateY(-100%); }

.mv05-head__chinh { padding-block: var(--mv05-s-3); }
.mv05-head__in {
	display: flex; align-items: center; gap: var(--mv05-s-5);
}

.mv05-logo {
	display: inline-flex; align-items: center; gap: var(--mv05-s-3);
	text-decoration: none; color: var(--mv05-muc); flex: none;
}
.mv05-logo svg { border-radius: 14px; transition: transform .3s var(--mv05-nhip); }
.mv05-logo:hover svg { transform: rotate(-6deg) scale(1.04); }
.mv05-logo__chu { display: flex; flex-direction: column; line-height: 1.15; }
.mv05-logo__chu strong { font-size: var(--mv05-fs-4); letter-spacing: -0.02em; }
.mv05-logo__chu small {
	font-size: var(--mv05-fs-1); color: var(--mv05-chu-2);
	letter-spacing: .09em; font-weight: 600;
}

/* Ô tìm kiếm lớn — BIỂU MẪU GET THẬT, xem header.php. */
.mv05-tim {
	flex: 1 1 auto; position: relative;
	display: flex; align-items: center;
	background: var(--mv05-nen-2);
	border: 2px solid var(--mv05-vien);
	border-radius: var(--mv05-r-tron);
	padding: 3px 3px 3px var(--mv05-s-5);
	transition: border-color .22s var(--mv05-nhip), box-shadow .22s var(--mv05-nhip),
	            background-color .22s var(--mv05-nhip);
}
.mv05-tim:focus-within {
	border-color: var(--mv05-hong); background: #fff;
	box-shadow: 0 0 0 4px rgba(232, 51, 109, .13);
}
.mv05-tim__ic { color: var(--mv05-chu-3); display: flex; margin-right: var(--mv05-s-2); }
.mv05-tim input[type="search"] {
	flex: 1 1 auto; min-width: 0;
	border: 0; background: transparent; outline: none;
	font: inherit; font-size: var(--mv05-fs-2); color: var(--mv05-muc);
	padding-block: var(--mv05-s-2);
}
.mv05-tim__nut {
	flex: none; border: 0; cursor: pointer;
	background: var(--mv05-hong); color: #fff;
	border-radius: var(--mv05-r-tron);
	padding: var(--mv05-s-2) var(--mv05-s-5);
	font: inherit; font-size: var(--mv05-fs-2); font-weight: 600;
	transition: background-color .22s var(--mv05-nhip), transform .18s var(--mv05-nhip);
}
.mv05-tim__nut:hover { background: var(--mv05-hong-2); }
.mv05-tim__nut:active { transform: scale(.96); }

.mv05-head__phai { display: flex; align-items: center; gap: var(--mv05-s-3); flex: none; }

.mv05-gio {
	position: relative;
	display: inline-flex; align-items: center; gap: var(--mv05-s-2);
	padding: var(--mv05-s-2) var(--mv05-s-4);
	border: 1px solid var(--mv05-vien); border-radius: var(--mv05-r-tron);
	color: var(--mv05-muc); text-decoration: none;
	font-size: var(--mv05-fs-2); font-weight: 600;
	transition: border-color .22s var(--mv05-nhip), background-color .22s var(--mv05-nhip);
}
.mv05-gio:hover { border-color: var(--mv05-hong); background: var(--mv05-hong-nhat); }
.mv05-gio__n {
	position: absolute; top: -6px; left: 26px;
	min-width: 20px; height: 20px; padding: 0 5px;
	display: grid; place-items: center;
	background: var(--mv05-cam); color: #fff;
	border-radius: var(--mv05-r-tron);
	font-size: 11px; font-weight: 700; line-height: 1;
	box-sizing: border-box;
}
/* Giỏ rỗng thì giấu số 0 — một chấm đỏ ghi "0" chỉ gây nhiễu. */
.mv05-gio__n[data-mv05-n="0"] { display: none; }
.mv05-gio__n.is-bump { animation: mv05-nay .5s var(--mv05-nhip); }
.mv05-gio.is-bump .mv05-ic { animation: mv05-lac .5s var(--mv05-nhip); }
@keyframes mv05-nay {
	0%   { transform: scale(1); }
	35%  { transform: scale(1.5); }
	100% { transform: scale(1); }
}
@keyframes mv05-lac {
	0%, 100% { transform: rotate(0); }
	25%      { transform: rotate(-12deg); }
	60%      { transform: rotate(9deg); }
}

.mv05-burger {
	display: none;
	width: 42px; height: 42px;
	background: #fff; border: 1px solid var(--mv05-vien);
	border-radius: var(--mv05-r-1); cursor: pointer;
	place-items: center;
}
.mv05-burger__vach,
.mv05-burger__vach::before,
.mv05-burger__vach::after {
	display: block; width: 19px; height: 2px;
	background: var(--mv05-muc); border-radius: 2px;
	transition: transform .25s var(--mv05-nhip), opacity .18s var(--mv05-nhip);
}
.mv05-burger__vach::before,
.mv05-burger__vach::after { content: ""; position: absolute; }
.mv05-burger__vach::before { transform: translateY(-6px); }
.mv05-burger__vach::after  { transform: translateY(6px); }
.mv05-burger[aria-expanded="true"] .mv05-burger__vach { background: transparent; }
.mv05-burger[aria-expanded="true"] .mv05-burger__vach::before { transform: rotate(45deg); }
.mv05-burger[aria-expanded="true"] .mv05-burger__vach::after  { transform: rotate(-45deg); }

/* Tầng 3 — thanh danh mục ngang. */
.mv05-nav { border-top: 1px solid var(--mv05-vien); background: #fff; }
.mv05-nav__ds {
	display: flex; align-items: stretch; gap: 2px;
	list-style: none; overflow-x: auto; scrollbar-width: thin;
}
/*
 * Chín nhóm hàng cộng mục "Tất cả" phải vừa MỘT dòng ở 1440px. Đo được: với
 * đệm 12px và hai liên kết phụ, thanh này rộng 1 486px so với 1 272px chỗ
 * trống — tràn 214px. Đệm 9px và chuyển hai liên kết phụ lên dải trên cùng
 * (xem header.php) thì vừa. Màn hẹp hơn thì `overflow-x: auto` lo nốt; cuộn
 * ngang trong thanh vẫn tốt hơn chữ bị cắt, và không gây tràn ngang cho trang.
 */
.mv05-nav__ds a {
	display: inline-flex; align-items: center; gap: 5px;
	padding: var(--mv05-s-3) 9px;
	color: var(--mv05-muc); text-decoration: none; white-space: nowrap;
	font-size: var(--mv05-fs-2); font-weight: 600;
	position: relative;
	transition: color .2s var(--mv05-nhip);
}
.mv05-nav__ic { color: var(--mv05-hong); display: flex; }
.mv05-nav__ds a::after {
	content: ""; position: absolute; left: 9px; right: 9px; bottom: 6px;
	height: 2px; border-radius: 2px; background: var(--mv05-hong);
	transform: scaleX(0); transform-origin: left;
	transition: transform .24s var(--mv05-nhip);
}
.mv05-nav__ds a:hover,
.mv05-nav__ds a[aria-current="page"] { color: var(--mv05-hong-2); }
.mv05-nav__ds a:hover::after,
.mv05-nav__ds a[aria-current="page"]::after { transform: scaleX(1); }
/* Giới thiệu · Liên hệ: trên máy tính chúng nằm ở dải trên cùng, nên ẩn ở
   đây; dưới 960px ngăn kéo menu hiện lại (xem mục Màn hình hẹp). */
.mv05-nav__phu { display: none; }
.mv05-nav__phu a { color: var(--mv05-chu-2); }


/* ══ 4. HERO ══════════════════════════════════════════════════════════ */

.mv05-hero { padding-block: var(--mv05-s-5) var(--mv05-s-6); background: var(--mv05-nen-2); }
.mv05-hero__luoi {
	display: grid;
	grid-template-columns: 258px minmax(0, 1fr);
	grid-template-areas: "cot bang" "cot phu";
	gap: var(--mv05-s-4);
	align-items: start;
}

.mv05-cot-dm {
	grid-area: cot;
	background: #fff; border: 1px solid var(--mv05-vien);
	border-radius: var(--mv05-r-3); overflow: hidden;
	box-shadow: var(--mv05-bong-1);
}
.mv05-cot-dm__tieu {
	margin: 0; padding: var(--mv05-s-3) var(--mv05-s-4);
	background: var(--mv05-hong); color: #fff;
	font-size: var(--mv05-fs-2); font-weight: 700;
	letter-spacing: .02em;
}
.mv05-cot-dm ul { list-style: none; }
.mv05-cot-dm a {
	display: flex; align-items: center; gap: var(--mv05-s-3);
	padding: 10px var(--mv05-s-4);
	color: var(--mv05-muc); text-decoration: none;
	font-size: var(--mv05-fs-2); font-weight: 500;
	border-top: 1px solid var(--mv05-vien);
	transition: background-color .2s var(--mv05-nhip), color .2s var(--mv05-nhip);
}
.mv05-cot-dm li:first-child a { border-top: 0; }
.mv05-cot-dm a > span:nth-child(2) { flex: 1 1 auto; }
.mv05-cot-dm__ic { color: var(--mv05-hong); display: flex; }
.mv05-cot-dm__mui {
	color: var(--mv05-chu-3); display: flex;
	transition: transform .22s var(--mv05-nhip);
}
.mv05-cot-dm a:hover { background: var(--mv05-hong-nhat); color: var(--mv05-hong-2); }
.mv05-cot-dm a:hover .mv05-cot-dm__mui { transform: translateX(3px); }
.mv05-cot-dm__het {
	display: block; text-align: center;
	padding: var(--mv05-s-3); border-top: 1px solid var(--mv05-vien);
	background: var(--mv05-nen-2); color: var(--mv05-hong-2);
	font-size: var(--mv05-fs-2); font-weight: 600; text-decoration: none;
}
.mv05-cot-dm__het:hover { background: var(--mv05-hong-nhat); }

.mv05-bang {
	grid-area: bang; position: relative; overflow: hidden;
	border-radius: var(--mv05-r-3);
	background: linear-gradient(118deg, #FF7FA8 0%, var(--mv05-hong) 46%, var(--mv05-cam) 100%);
	color: #fff;
	min-height: 324px;
	display: flex; align-items: center;
	box-shadow: var(--mv05-bong-2);
}
.mv05-bang__anh {
	position: absolute; inset: 0 0 0 auto; width: 52%;
	/* Khung ảnh cố định bằng `inset` chứ không bằng tỉ lệ, và ảnh phủ kín —
	   không có lúc nào khung trống để bố cục xê dịch. */
}
.mv05-bang__anh img {
	width: 100%; height: 100%; object-fit: cover; display: block;
	/* Zoom rất chậm, chạy một lần — chuẩn mục 1. KHÔNG ẩn hero. */
	animation: mv05-zoom 12s var(--mv05-nhip) both;
}
.mv05-bang__anh::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(90deg, var(--mv05-hong) 0%, rgba(232, 51, 109, .55) 42%, rgba(232, 51, 109, 0) 100%);
}
@keyframes mv05-zoom { from { scale: 1.06; } to { scale: 1; } }

.mv05-bang__chu {
	position: relative; z-index: 1;
	padding: var(--mv05-s-6) var(--mv05-s-7);
	max-width: 60%;
}
.mv05-bang__nhan {
	font-size: var(--mv05-fs-1); font-weight: 700;
	letter-spacing: .14em; text-transform: uppercase;
	margin-bottom: var(--mv05-s-2); opacity: .92;
}
.mv05-bang__h1 { font-size: var(--mv05-fs-6); margin-bottom: var(--mv05-s-3); }
.mv05-bang__mo { font-size: var(--mv05-fs-2); max-width: 46ch; opacity: .95; }
.mv05-bang__nut { display: flex; flex-wrap: wrap; gap: var(--mv05-s-3); margin-top: var(--mv05-s-5); }
.mv05-bang__nut .mv05-nut--chinh { background: #fff; color: var(--mv05-hong-2); box-shadow: var(--mv05-bong-2); }
.mv05-bang__nut .mv05-nut--chinh:hover { background: var(--mv05-hong-nhat); }
.mv05-bang__nut .mv05-nut--vien { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.mv05-bang__nut .mv05-nut--vien:hover { background: rgba(255, 255, 255, .14); color: #fff; border-color: #fff; }
.mv05-bang__phu { font-size: var(--mv05-fs-1); opacity: .85; margin-top: var(--mv05-s-4); }

/*
 * HERO VÀO TRANG — chuẩn mục 1.
 *
 * CHỈ `translate`, KHÔNG đổi `opacity`: chuẩn mục 2 cấm áp hiệu ứng ẩn/hiện
 * cho hero vì ẩn hero là đẩy lùi LCP. Chữ hiện đủ ngay từ khung hình đầu, chỉ
 * trượt vào chỗ. Cũng vì vậy hiệu ứng này KHÔNG cần cổng `mv05-js`: tắt JS
 * không ảnh hưởng gì.
 */
.mv05-vao { animation: mv05-vao .62s var(--mv05-nhip) both; animation-delay: calc(var(--mv05-i, 0) * 80ms); }
@keyframes mv05-vao { from { translate: 0 14px; } to { translate: 0 0; } }

.mv05-o-phu {
	grid-area: phu;
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--mv05-s-4);
}
.mv05-o-phu__o {
	display: grid; grid-template-columns: auto 1fr; column-gap: var(--mv05-s-3);
	align-items: center;
	background: #fff; border: 1px solid var(--mv05-vien);
	border-radius: var(--mv05-r-2); padding: var(--mv05-s-4);
	text-decoration: none; color: var(--mv05-muc);
	transition: transform .22s var(--mv05-nhip), box-shadow .22s var(--mv05-nhip),
	            border-color .22s var(--mv05-nhip);
}
.mv05-o-phu__o:hover {
	transform: translateY(-3px); box-shadow: var(--mv05-bong-2);
	border-color: var(--mv05-hong);
}
.mv05-o-phu__ic {
	grid-row: 1 / 3; width: 44px; height: 44px;
	display: grid; place-items: center; border-radius: var(--mv05-r-2);
	background: var(--mv05-hong-nhat); color: var(--mv05-hong);
}
.mv05-o-phu__o strong { font-size: var(--mv05-fs-2); }
.mv05-o-phu__o small { font-size: var(--mv05-fs-1); color: var(--mv05-chu-2); }


/* ══ 5. HÀNG BIỂU TƯỢNG · BĂNG KHUYẾN MÃI ═════════════════════════════ */

.mv05-khoi--ic { padding-block: var(--mv05-s-6); }
.mv05-khoi--ic .mv05-tieu { margin-bottom: var(--mv05-s-5); }

.mv05-ic-ds {
	display: grid; grid-template-columns: repeat(10, minmax(0, 1fr));
	gap: var(--mv05-s-3); list-style: none;
}
.mv05-ic-ds a {
	display: flex; flex-direction: column; align-items: center; gap: 6px;
	padding: var(--mv05-s-3) 6px;
	border: 1px solid var(--mv05-vien); border-radius: var(--mv05-r-2);
	background: #fff; color: var(--mv05-muc); text-decoration: none; text-align: center;
	height: 100%; box-sizing: border-box;
	transition: transform .22s var(--mv05-nhip), box-shadow .22s var(--mv05-nhip),
	            border-color .22s var(--mv05-nhip);
}
.mv05-ic-ds a:hover {
	transform: translateY(-4px); box-shadow: var(--mv05-bong-2);
	border-color: var(--mv05-hong);
}
.mv05-ic-ds__vong {
	width: 54px; height: 54px; flex: none;
	display: grid; place-items: center; border-radius: 50%;
	background: var(--mv05-hong-nhat); color: var(--mv05-hong);
	transition: transform .26s var(--mv05-nhip), background-color .22s var(--mv05-nhip);
}
.mv05-ic-ds a:hover .mv05-ic-ds__vong { transform: scale(1.08); background: var(--mv05-vang); color: var(--mv05-muc); }
.mv05-ic-ds__ten { font-size: var(--mv05-fs-1); font-weight: 600; line-height: 1.3; }
.mv05-ic-ds__n { font-size: 11px; color: var(--mv05-chu-3); }
.mv05-ic-ds__het .mv05-ic-ds__vong { background: var(--mv05-xanh-nhat); color: var(--mv05-xanh); }

.mv05-bang-km { padding-bottom: var(--mv05-s-6); }
.mv05-bang-km__ds {
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--mv05-s-4);
}
.mv05-bang-km__o {
	border-radius: var(--mv05-r-2); padding: var(--mv05-s-4) var(--mv05-s-5);
	color: #fff; display: flex; flex-direction: column; gap: 2px;
}
.mv05-bang-km__o strong { font-size: var(--mv05-fs-4); }
.mv05-bang-km__o span { font-size: var(--mv05-fs-2); opacity: .92; }
.mv05-bang-km__o--a { background: linear-gradient(100deg, var(--mv05-hong), #F2648D); }
.mv05-bang-km__o--b { background: linear-gradient(100deg, var(--mv05-cam), #FF9A52); }
.mv05-bang-km__o--c { background: linear-gradient(100deg, var(--mv05-xanh), #4E96E0); }


/* ══ 6. FLASH SALE VÀ ĐỒNG HỒ ĐẾM NGƯỢC ═══════════════════════════════ */

.mv05-flash {
	padding-block: var(--mv05-s-7);
	background: linear-gradient(104deg, var(--mv05-hong-2) 0%, var(--mv05-hong) 44%, var(--mv05-cam) 100%);
	color: #fff;
}
.mv05-flash__dau {
	display: flex; align-items: center; gap: var(--mv05-s-5);
	flex-wrap: wrap; margin-bottom: var(--mv05-s-5);
}
.mv05-flash__tia {
	width: 30px; height: 30px; flex: none; display: block;
	background: var(--mv05-vang);
	clip-path: polygon(58% 0, 20% 52%, 46% 52%, 36% 100%, 82% 42%, 52% 42%);
}
.mv05-flash .mv05-tieu__het { margin-left: auto; }

.mv05-dem {
	display: flex; align-items: center; gap: 6px;
	font-variant-numeric: tabular-nums;
}
.mv05-dem__nhan { font-size: var(--mv05-fs-1); opacity: .9; margin-right: var(--mv05-s-2); }
.mv05-dem__o {
	min-width: 38px; padding: 5px 6px;
	display: inline-grid; place-items: center;
	background: rgba(0, 0, 0, .26); border-radius: var(--mv05-r-1);
	font-size: var(--mv05-fs-4); font-weight: 700; line-height: 1.1;
	box-sizing: border-box;
	/* `font-variant-numeric: tabular-nums` + chiều rộng tối thiểu cố định:
	   con số đổi mỗi giây mà ô không đổi bề ngang, nên không có CLS. */
}
.mv05-dem__ngan { font-size: var(--mv05-fs-4); font-weight: 700; opacity: .7; }

.mv05-flash .mv05-ray ul.products li.product { background: #fff; }


/* ══ 7. THẺ SẢN PHẨM VÀ LƯỚI WOOCOMMERCE ══════════════════════════════ */

/*
 * WooCommerce in `<ul class="products columns-5">` với float và width theo
 * phần trăm. Lấy lưới CSS thay vào — `!important` là bắt buộc ở ba thuộc tính
 * dưới đây vì CSS của WooCommerce đặt chúng với độ ưu tiên cao hơn bộ chọn này.
 */
body.mv05-sieu-thi ul.products {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: var(--mv05-s-4);
	list-style: none; margin: 0; padding: 0;
}
body.mv05-sieu-thi ul.products::before,
body.mv05-sieu-thi ul.products::after { content: none; display: none; }

body.mv05-sieu-thi ul.products li.product {
	width: auto !important;
	margin: 0 !important;
	float: none !important;
	position: relative;
	display: flex; flex-direction: column;
	background: #fff;
	border: 1px solid var(--mv05-vien);
	border-radius: var(--mv05-r-2);
	overflow: hidden;
	transition: transform .22s var(--mv05-nhip), box-shadow .22s var(--mv05-nhip),
	            border-color .22s var(--mv05-nhip);
}
/* Thẻ sản phẩm khi rê chuột — chuẩn mục 1, loại 3. */
body.mv05-sieu-thi ul.products li.product:hover {
	transform: translateY(-5px);
	box-shadow: var(--mv05-bong-3);
	border-color: var(--mv05-hong);
}

body.mv05-sieu-thi ul.products li.product a.woocommerce-LoopProduct-link {
	display: block; text-decoration: none; color: inherit;
}

/* Khung ảnh VUÔNG cố định — khoá CLS trên một trang có hơn 40 ảnh. */
body.mv05-sieu-thi ul.products li.product img {
	display: block; width: 100%; height: auto;
	aspect-ratio: 1 / 1; object-fit: cover;
	background: var(--mv05-nen-2);
	margin: 0;
	transition: transform .4s var(--mv05-nhip);
}
body.mv05-sieu-thi ul.products li.product:hover img { transform: scale(1.05); }

/* Vùng ảnh phải cắt phần phóng to, nếu không ảnh tràn ra ngoài thẻ. */
body.mv05-sieu-thi ul.products li.product a.woocommerce-LoopProduct-link {
	position: relative; overflow: hidden;
}

body.mv05-sieu-thi ul.products li.product .woocommerce-loop-product__title {
	font-size: var(--mv05-fs-2); font-weight: 600;
	line-height: 1.4; margin: 0;
	padding: var(--mv05-s-3) var(--mv05-s-3) 0;
	/* Hai dòng cố định: tên hàng siêu thị dài ngắn rất khác nhau, không khoá
	   lại thì các thẻ cùng hàng cao thấp lệch nhau. */
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
	overflow: hidden; min-height: 2.8em;
}

body.mv05-sieu-thi ul.products li.product .price {
	display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--mv05-s-2);
	padding: var(--mv05-s-2) var(--mv05-s-3) 0;
	margin: 0 0 auto;
	color: var(--mv05-hong-2);
	font-size: var(--mv05-fs-4); font-weight: 700;
}
body.mv05-sieu-thi ul.products li.product .price del {
	color: var(--mv05-chu-3); font-size: var(--mv05-fs-1); font-weight: 500;
	text-decoration: line-through; opacity: 1;
}
body.mv05-sieu-thi ul.products li.product .price ins {
	text-decoration: none; background: none; color: inherit; font-weight: 700;
}

body.mv05-sieu-thi ul.products li.product .button,
body.mv05-sieu-thi ul.products li.product .added_to_cart {
	display: block; margin: var(--mv05-s-3); text-align: center;
	background: var(--mv05-hong); color: #fff;
	border: 0; border-radius: var(--mv05-r-tron);
	padding: 9px var(--mv05-s-4);
	font: inherit; font-size: var(--mv05-fs-2); font-weight: 600;
	text-decoration: none; cursor: pointer;
	transition: background-color .22s var(--mv05-nhip), transform .18s var(--mv05-nhip);
}
body.mv05-sieu-thi ul.products li.product .button:hover { background: var(--mv05-hong-2); }
body.mv05-sieu-thi ul.products li.product .button:active { transform: scale(.97); }
body.mv05-sieu-thi ul.products li.product .added_to_cart {
	background: var(--mv05-la); margin-top: 0;
}
/* Nút đang xử lý của WooCommerce. */
body.mv05-sieu-thi ul.products li.product .button.loading { opacity: .7; }

/* Hàng hết kho — làm nhạt ảnh và khoá nút. */
body.mv05-sieu-thi ul.products li.product.outofstock img { filter: grayscale(.55) opacity(.78); }
body.mv05-sieu-thi ul.products li.product.outofstock .button {
	background: var(--mv05-nen-2); color: var(--mv05-chu-2);
}

/* Nhãn trên ảnh. */
.mv05-nhan {
	position: absolute; top: var(--mv05-s-2); left: var(--mv05-s-2); z-index: 2;
	display: flex; flex-direction: column; align-items: flex-start; gap: var(--mv05-s-1);
	pointer-events: none;
}
.mv05-nhan__giam, .mv05-nhan__het {
	display: inline-block; padding: 3px 8px;
	border-radius: var(--mv05-r-tron);
	font-size: 11px; font-weight: 700; line-height: 1.4; color: #fff;
}
.mv05-nhan__giam { background: var(--mv05-cam); }
.mv05-nhan__het  { background: var(--mv05-chu-2); }

/*
 * Chip quy cách — lớp phủ VUÔNG trùng đúng khung ảnh, chip dồn xuống đáy.
 *
 * Không dùng `bottom` neo vào thẻ `<a>` của WooCommerce: thẻ ấy bọc cả ảnh,
 * tên hàng VÀ giá, nên neo vào đáy nó là chip đè lên giá. Xem chú thích dài ở
 * `mv05_chip_quy_cach()` trong inc/shop.php. Lớp phủ `absolute` nên không làm
 * thẻ cao thêm và không ảnh hưởng CLS.
 */
.mv05-qc {
	position: absolute; left: 0; right: 0; top: 0;
	aspect-ratio: 1 / 1;
	z-index: 2;
	display: flex; flex-wrap: wrap; align-content: flex-end; gap: var(--mv05-s-1);
	padding: var(--mv05-s-2);
	box-sizing: border-box;
	pointer-events: none;
}
.mv05-qc__o {
	background: rgba(255, 255, 255, .94); color: var(--mv05-muc);
	border: 1px solid var(--mv05-vien);
	padding: 2px 7px; border-radius: var(--mv05-r-1);
	font-size: 11px; font-weight: 600; line-height: 1.5;
}

/*
 * Nút phụ "Xem nhanh" — trượt lên khi rê chuột. Trùm ĐÚNG khung ảnh và dùng
 * `position: absolute` nên không làm thẻ cao thêm. Giấu hẳn trên màn hình cảm
 * ứng, nơi không có "rê chuột" nên nút sẽ hiện rồi đứng đó che ảnh.
 */
.mv05-nhanh {
	position: absolute; left: 0; right: 0; top: 0;
	aspect-ratio: 1 / 1; z-index: 3;
	display: flex; align-items: flex-end; justify-content: center;
	padding-bottom: var(--mv05-s-5);
	text-decoration: none;
	background: linear-gradient(to top, rgba(28, 36, 48, .5), rgba(28, 36, 48, 0) 46%);
	opacity: 0;
	transition: opacity .24s var(--mv05-nhip);
}
.mv05-nhanh span {
	background: #fff; color: var(--mv05-muc);
	padding: 7px var(--mv05-s-4); border-radius: var(--mv05-r-tron);
	font-size: var(--mv05-fs-1); font-weight: 700;
	transform: translateY(10px);
	transition: transform .26s var(--mv05-nhip);
}
li.product:hover > .mv05-nhanh { opacity: 1; }
li.product:hover > .mv05-nhanh span { transform: translateY(0); }
@media (hover: none) { .mv05-nhanh { display: none; } }

/* Nhãn giảm giá mặc định của WooCommerce — mẫu này tự in nhãn riêng. */
body.mv05-sieu-thi span.onsale { display: none; }


/* ══ 8. SỐ LIỆU · THƯƠNG HIỆU · HƯỚNG DẪN · CAM KẾT ═══════════════════ */

.mv05-so { padding-block: var(--mv05-s-7); background: var(--mv05-muc); color: #fff; }
.mv05-so__ds {
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--mv05-s-5); list-style: none; text-align: center;
}
.mv05-so__ds li { display: flex; flex-direction: column; gap: var(--mv05-s-1); }
.mv05-so__n {
	font-size: var(--mv05-fs-6); font-weight: 700; line-height: 1;
	color: var(--mv05-vang); font-variant-numeric: tabular-nums;
}
.mv05-so__ten { font-size: var(--mv05-fs-2); opacity: .82; }

.mv05-th { padding-block: var(--mv05-s-7); }
.mv05-th__ds {
	display: grid; grid-template-columns: repeat(8, minmax(0, 1fr));
	gap: var(--mv05-s-3); list-style: none;
}
.mv05-th__ds li {
	display: grid; place-items: center;
	min-height: 84px; padding: var(--mv05-s-3);
	border: 1px solid var(--mv05-vien); border-radius: var(--mv05-r-2);
	background: var(--mv05-nen-2);
	transition: transform .22s var(--mv05-nhip), border-color .22s var(--mv05-nhip),
	            background-color .22s var(--mv05-nhip);
}
.mv05-th__ds li:hover {
	transform: translateY(-3px);
	border-color: var(--mv05-hong); background: var(--mv05-hong-nhat);
}
.mv05-th__ds span {
	font-size: var(--mv05-fs-3); font-weight: 700;
	letter-spacing: -0.01em; text-align: center;
	color: var(--mv05-chu-2);
}
.mv05-th__ds li:hover span { color: var(--mv05-hong-2); }

.mv05-bai {
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--mv05-s-5); list-style: none;
}
.mv05-bai__o a {
	display: flex; flex-direction: column; height: 100%;
	background: #fff; border: 1px solid var(--mv05-vien);
	border-radius: var(--mv05-r-2); overflow: hidden;
	text-decoration: none; color: var(--mv05-muc);
	transition: transform .22s var(--mv05-nhip), box-shadow .22s var(--mv05-nhip),
	            border-color .22s var(--mv05-nhip);
}
.mv05-bai__o a:hover {
	transform: translateY(-4px); box-shadow: var(--mv05-bong-3);
	border-color: var(--mv05-hong);
}
.mv05-bai__anh { display: block; overflow: hidden; aspect-ratio: 3 / 2; background: var(--mv05-nen-2); }
.mv05-bai__anh img {
	width: 100%; height: 100%; object-fit: cover; display: block;
	transition: transform .4s var(--mv05-nhip);
}
.mv05-bai__o a:hover .mv05-bai__anh img { transform: scale(1.05); }
.mv05-bai__chu {
	display: flex; flex-direction: column; gap: var(--mv05-s-2);
	padding: var(--mv05-s-4); flex: 1 1 auto;
}
.mv05-bai__chu strong { font-size: var(--mv05-fs-4); }
.mv05-bai__chu small { font-size: var(--mv05-fs-2); color: var(--mv05-chu-2); line-height: 1.55; }
.mv05-bai__chu em {
	margin-top: auto; font-style: normal; font-weight: 600;
	font-size: var(--mv05-fs-2); color: var(--mv05-hong-2);
	display: inline-flex; align-items: center; gap: 6px;
}
.mv05-bai__o a:hover em .mv05-ic { transform: translateX(4px); }
.mv05-bai__chu em .mv05-ic { transition: transform .22s var(--mv05-nhip); }

.mv05-camket { padding-block: var(--mv05-s-6); background: var(--mv05-hong-nhat); }
.mv05-camket__ds {
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--mv05-s-4); list-style: none;
}
.mv05-camket__o { display: flex; align-items: flex-start; gap: var(--mv05-s-3); }
.mv05-camket__ic {
	width: 46px; height: 46px; flex: none;
	display: grid; place-items: center; border-radius: 50%;
	background: #fff; color: var(--mv05-hong);
	box-shadow: var(--mv05-bong-1);
}
.mv05-camket__chu { display: flex; flex-direction: column; gap: 2px; }
.mv05-camket__chu strong { font-size: var(--mv05-fs-2); }
.mv05-camket__chu small { font-size: var(--mv05-fs-1); color: var(--mv05-chu-2); line-height: 1.5; }


/* ══ 9. CHÂN TRANG ════════════════════════════════════════════════════ */

.mv05-chan { background: var(--mv05-muc); color: #D4DAE3; font-size: var(--mv05-fs-2); }
.mv05-chan__luoi {
	display: grid;
	grid-template-columns: 1.7fr 1fr 1fr 1fr 1.3fr;
	gap: var(--mv05-s-6) var(--mv05-s-5);
	padding-block: var(--mv05-s-7);
}
.mv05-chan__tieu {
	font-size: var(--mv05-fs-2); color: #fff;
	margin-bottom: var(--mv05-s-3); letter-spacing: .02em;
}
.mv05-chan__cot ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.mv05-chan a { color: #D4DAE3; text-decoration: none; transition: color .2s var(--mv05-nhip); }
.mv05-chan a:hover { color: var(--mv05-vang); }

.mv05-chan__logo {
	display: inline-flex; align-items: center; gap: var(--mv05-s-3);
	margin-bottom: var(--mv05-s-4); color: #fff;
}
.mv05-chan__logo span { display: flex; flex-direction: column; line-height: 1.2; }
.mv05-chan__logo strong { font-size: var(--mv05-fs-4); color: #fff; }
.mv05-chan__logo small { font-size: var(--mv05-fs-1); letter-spacing: .09em; opacity: .7; }
.mv05-chan__gt { color: #9FA9B8; line-height: 1.65; max-width: 44ch; }
.mv05-chan__lh { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: var(--mv05-s-4); }
.mv05-chan__lh a, .mv05-chan__gio {
	display: inline-flex; align-items: center; gap: var(--mv05-s-2);
}
.mv05-chan__gio { color: #9FA9B8; }
.mv05-chan__tin-mo { color: #9FA9B8; margin-bottom: var(--mv05-s-3); }

.mv05-bantin { display: flex; flex-direction: column; gap: var(--mv05-s-2); }
.mv05-bantin input {
	border: 1px solid #39424F; background: #232B36; color: #fff;
	border-radius: var(--mv05-r-tron);
	padding: 10px var(--mv05-s-4);
	font: inherit; font-size: var(--mv05-fs-2);
	transition: border-color .2s var(--mv05-nhip);
}
.mv05-bantin input::placeholder { color: #7A8493; }
.mv05-bantin input:focus { outline: none; border-color: var(--mv05-hong); }
.mv05-bantin button {
	border: 0; cursor: pointer;
	background: var(--mv05-hong); color: #fff;
	border-radius: var(--mv05-r-tron); padding: 10px var(--mv05-s-4);
	font: inherit; font-size: var(--mv05-fs-2); font-weight: 600;
	transition: background-color .22s var(--mv05-nhip), transform .18s var(--mv05-nhip);
}
.mv05-bantin button:hover { background: var(--mv05-hong-2); }
.mv05-bantin button:active { transform: scale(.97); }

.mv05-chan__day { border-top: 1px solid #2B343F; }
.mv05-chan__day-in {
	display: flex; align-items: center; justify-content: space-between;
	gap: var(--mv05-s-4); padding-block: var(--mv05-s-4); flex-wrap: wrap;
}
.mv05-chan__day p { margin: 0; color: #9FA9B8; font-size: var(--mv05-fs-1); }
.mv05-chan__nho { max-width: 68ch; }


/* ══ 10. CỬA HÀNG, DANH MỤC, TÌM KIẾM, TRẠNG THÁI RỖNG ════════════════ */

.mv05-trang-dau { padding-block: var(--mv05-s-6) var(--mv05-s-5); background: var(--mv05-nen-2); }
.mv05-vun {
	display: flex; flex-wrap: wrap; align-items: center; gap: var(--mv05-s-2);
	font-size: var(--mv05-fs-1); color: var(--mv05-chu-2);
	margin-bottom: var(--mv05-s-3);
}
.mv05-vun a { color: var(--mv05-chu-2); text-decoration: none; }
.mv05-vun a:hover { color: var(--mv05-hong-2); text-decoration: underline; }
.mv05-trang-dau__h1 { font-size: var(--mv05-fs-6); }
.mv05-trang-dau__mo {
	margin-top: var(--mv05-s-3); color: var(--mv05-chu-2);
	font-size: var(--mv05-fs-2); max-width: 74ch;
}
.mv05-chip-hang { padding-top: var(--mv05-s-5); }
.mv05-chip-hang .mv05-chip { margin-bottom: 0; }

.mv05-qc-hang {
	display: flex; flex-wrap: wrap; gap: var(--mv05-s-2);
	list-style: none; margin-top: var(--mv05-s-3);
}
.mv05-qc-hang li {
	background: #fff; border: 1px solid var(--mv05-vien);
	padding: 3px 10px; border-radius: var(--mv05-r-1);
	font-size: var(--mv05-fs-1); font-weight: 600;
}

/* Hàng lọc — biểu mẫu GET thật, xem archive-product.php. */
.mv05-loc {
	display: flex; align-items: flex-end; flex-wrap: wrap;
	gap: var(--mv05-s-3); padding-top: var(--mv05-s-5);
}
.mv05-loc__o { display: flex; flex-direction: column; gap: 6px; }
.mv05-loc__o label { font-size: var(--mv05-fs-1); font-weight: 600; color: var(--mv05-chu-2); }
.mv05-loc select {
	min-width: 220px; max-width: 100%;
	border: 1px solid var(--mv05-vien); border-radius: var(--mv05-r-1);
	background: #fff; color: var(--mv05-muc);
	padding: 9px var(--mv05-s-3);
	font: inherit; font-size: var(--mv05-fs-2);
	transition: border-color .2s var(--mv05-nhip);
}
.mv05-loc select:hover { border-color: var(--mv05-hong); }
.mv05-loc__nut { padding-block: 10px; }
.mv05-loc__xoa {
	font-size: var(--mv05-fs-2); font-weight: 600;
	color: var(--mv05-chu-2); text-decoration: none; padding-block: 10px;
}
.mv05-loc__xoa:hover { color: var(--mv05-hong-2); text-decoration: underline; }
.mv05-loc__dem {
	margin: 0 0 0 auto; padding-block: 10px;
	font-size: var(--mv05-fs-2); color: var(--mv05-chu-2); font-weight: 600;
}

.mv05-cua-hang { padding-block: var(--mv05-s-5) var(--mv05-s-8); }

/* Phân trang. */
body.mv05-sieu-thi .woocommerce-pagination ul,
body.mv05-sieu-thi .navigation.pagination .nav-links {
	display: flex; flex-wrap: wrap; gap: var(--mv05-s-2);
	list-style: none; margin: var(--mv05-s-6) 0 0; padding: 0; border: 0;
	justify-content: center;
}
body.mv05-sieu-thi .woocommerce-pagination li { border: 0; margin: 0; }
body.mv05-sieu-thi .woocommerce-pagination a,
body.mv05-sieu-thi .woocommerce-pagination span,
body.mv05-sieu-thi .navigation.pagination a,
body.mv05-sieu-thi .navigation.pagination .current {
	display: grid; place-items: center;
	min-width: 40px; height: 40px; padding: 0 var(--mv05-s-3);
	border: 1px solid var(--mv05-vien); border-radius: var(--mv05-r-1);
	background: #fff; color: var(--mv05-muc);
	font-size: var(--mv05-fs-2); font-weight: 600; text-decoration: none;
	box-sizing: border-box;
	transition: border-color .2s var(--mv05-nhip), background-color .2s var(--mv05-nhip);
}
body.mv05-sieu-thi .woocommerce-pagination a:hover,
body.mv05-sieu-thi .navigation.pagination a:hover { border-color: var(--mv05-hong); background: var(--mv05-hong-nhat); }
body.mv05-sieu-thi .woocommerce-pagination .current,
body.mv05-sieu-thi .navigation.pagination .current {
	background: var(--mv05-hong); border-color: var(--mv05-hong); color: #fff;
}

/*
 * Trạng thái rỗng — DÙNG CHUNG cho trang lọc rỗng, trang tìm kiếm rỗng và
 * trang 404. Chuẩn mục 5 nói đúng: đây là chỗ hay rớt tương phản nhất, nên cả
 * ba trạng thái dùng một khối để không chỗ nào bị bỏ quên.
 */
.mv05-rong {
	text-align: center; max-width: 540px; margin-inline: auto;
	padding: var(--mv05-s-8) var(--mv05-s-5);
}
.mv05-rong__ic {
	display: grid; place-items: center;
	width: 92px; height: 92px; margin: 0 auto var(--mv05-s-5);
	border-radius: 50%; background: var(--mv05-hong-nhat); color: var(--mv05-hong);
}
.mv05-rong h2 { font-size: var(--mv05-fs-5); margin-bottom: var(--mv05-s-3); }
.mv05-rong p { color: var(--mv05-chu-2); font-size: var(--mv05-fs-2); }
.mv05-rong__nut {
	display: flex; flex-wrap: wrap; gap: var(--mv05-s-3);
	justify-content: center; margin-top: var(--mv05-s-5);
}
.mv05-rong__tim {
	display: flex; gap: var(--mv05-s-2); margin-top: var(--mv05-s-5);
	justify-content: center; flex-wrap: wrap;
}
.mv05-rong__tim input {
	flex: 1 1 200px; min-width: 0;
	border: 1px solid var(--mv05-vien); border-radius: var(--mv05-r-tron);
	padding: 10px var(--mv05-s-4); font: inherit; font-size: var(--mv05-fs-2);
}
.mv05-rong__tim input:focus { outline: none; border-color: var(--mv05-hong); }

.mv05-404-dm { margin-top: var(--mv05-s-7); }
.mv05-404-dm .mv05-tieu { justify-content: center; margin-bottom: var(--mv05-s-5); }

.mv05-kq { list-style: none; display: grid; gap: var(--mv05-s-3); }
.mv05-kq a {
	display: flex; flex-direction: column; gap: 4px;
	padding: var(--mv05-s-4);
	border: 1px solid var(--mv05-vien); border-radius: var(--mv05-r-2);
	background: #fff; text-decoration: none; color: var(--mv05-muc);
}
.mv05-kq a:hover { border-color: var(--mv05-hong); }
.mv05-kq span { font-size: var(--mv05-fs-2); color: var(--mv05-chu-2); }


/* ══ 11. TRANG SẢN PHẨM · TRANG TĨNH · GIỎ HÀNG VÀ THANH TOÁN ═════════ */

.mv05-sp { padding-block: var(--mv05-s-5) var(--mv05-s-8); }
.mv05-trang__than { padding-block: var(--mv05-s-6) var(--mv05-s-8); }
.mv05-trang__than h2 { font-size: var(--mv05-fs-5); margin: var(--mv05-s-6) 0 var(--mv05-s-3); }
.mv05-trang__than h3 { font-size: var(--mv05-fs-4); margin: var(--mv05-s-5) 0 var(--mv05-s-2); }

body.mv05-sieu-thi .woocommerce div.product div.images { margin-bottom: var(--mv05-s-5); }
body.mv05-sieu-thi div.product .woocommerce-product-gallery__image img {
	border-radius: var(--mv05-r-2); aspect-ratio: 1 / 1; object-fit: cover;
}
body.mv05-sieu-thi div.product .product_title { font-size: var(--mv05-fs-6); margin-bottom: var(--mv05-s-3); }
body.mv05-sieu-thi div.product p.price,
body.mv05-sieu-thi div.product span.price {
	color: var(--mv05-hong-2); font-size: var(--mv05-fs-6); font-weight: 700;
	display: flex; align-items: baseline; gap: var(--mv05-s-3); flex-wrap: wrap;
}
body.mv05-sieu-thi div.product p.price del { color: var(--mv05-chu-3); font-size: var(--mv05-fs-4); font-weight: 500; }
body.mv05-sieu-thi div.product p.price ins { text-decoration: none; background: none; color: inherit; }
body.mv05-sieu-thi div.product .woocommerce-product-details__short-description {
	color: var(--mv05-chu-2); font-size: var(--mv05-fs-3); margin-block: var(--mv05-s-4);
}
body.mv05-sieu-thi div.product form.cart { display: flex; gap: var(--mv05-s-3); flex-wrap: wrap; align-items: center; }
body.mv05-sieu-thi div.product form.cart .quantity input {
	width: 84px; height: 46px; text-align: center;
	border: 1px solid var(--mv05-vien); border-radius: var(--mv05-r-1);
	font: inherit; font-size: var(--mv05-fs-3);
}
body.mv05-sieu-thi div.product .single_add_to_cart_button {
	background: var(--mv05-hong); color: #fff; border: 0;
	border-radius: var(--mv05-r-tron);
	padding: var(--mv05-s-3) var(--mv05-s-7);
	font: inherit; font-size: var(--mv05-fs-3); font-weight: 600; cursor: pointer;
	box-shadow: 0 4px 14px rgba(232, 51, 109, .28);
	transition: background-color .22s var(--mv05-nhip), transform .18s var(--mv05-nhip);
}
body.mv05-sieu-thi div.product .single_add_to_cart_button:hover { background: var(--mv05-hong-2); }
body.mv05-sieu-thi div.product .single_add_to_cart_button:active { transform: translateY(1px) scale(.985); }
body.mv05-sieu-thi div.product .product_meta { font-size: var(--mv05-fs-1); color: var(--mv05-chu-2); margin-top: var(--mv05-s-5); }
body.mv05-sieu-thi .woocommerce-tabs ul.tabs {
	display: flex; gap: var(--mv05-s-2); list-style: none;
	margin: var(--mv05-s-7) 0 0; padding: 0;
	border-bottom: 1px solid var(--mv05-vien);
}
body.mv05-sieu-thi .woocommerce-tabs ul.tabs::before { content: none; }
body.mv05-sieu-thi .woocommerce-tabs ul.tabs li {
	background: none; border: 0; border-radius: 0; margin: 0; padding: 0;
}
body.mv05-sieu-thi .woocommerce-tabs ul.tabs li::before,
body.mv05-sieu-thi .woocommerce-tabs ul.tabs li::after { content: none; }
body.mv05-sieu-thi .woocommerce-tabs ul.tabs li a {
	display: block; padding: var(--mv05-s-3) var(--mv05-s-4);
	color: var(--mv05-chu-2); font-weight: 600; font-size: var(--mv05-fs-2);
	text-decoration: none; border-bottom: 2px solid transparent;
}
body.mv05-sieu-thi .woocommerce-tabs ul.tabs li.active a { color: var(--mv05-hong-2); border-bottom-color: var(--mv05-hong); }
body.mv05-sieu-thi .woocommerce-tabs .panel { padding-top: var(--mv05-s-5); }
body.mv05-sieu-thi .related > h2,
body.mv05-sieu-thi .up-sells > h2 { font-size: var(--mv05-fs-5); margin: var(--mv05-s-8) 0 var(--mv05-s-5); }

/* Lời nhắn của WooCommerce. */
body.mv05-sieu-thi .woocommerce-message,
body.mv05-sieu-thi .woocommerce-info,
body.mv05-sieu-thi .woocommerce-error {
	border-top: 0; border-left: 4px solid var(--mv05-hong);
	background: var(--mv05-hong-nhat); color: var(--mv05-muc);
	border-radius: var(--mv05-r-1);
	padding: var(--mv05-s-4) var(--mv05-s-5);
	font-size: var(--mv05-fs-2);
	list-style: none;
}
body.mv05-sieu-thi .woocommerce-message::before,
body.mv05-sieu-thi .woocommerce-info::before,
body.mv05-sieu-thi .woocommerce-error::before { content: none; }
body.mv05-sieu-thi .woocommerce-message .button { margin-left: var(--mv05-s-3); }

/*
 * BẪY 7 — nút trên trang Giỏ hàng và Thanh toán là BLOCK của WooCommerce 8+.
 * Chúng lấy màu từ `theme.json` của theme mẹ chứ không từ CSS này, và KHÔNG
 * mang lớp `.button`, nên bộ chọn nút ở trên không bắt được. Phải liệt kê đủ
 * các họ lớp của block. Đo được trước khi sửa: nền xanh theme mẹ + chữ mực
 * ≈ 2,5:1; sau khi sửa: nền hồng + chữ trắng = 4,8:1 (đủ cho chữ đậm 16px) và
 * nền mực + chữ trắng = 15,1:1 ở nút phụ.
 */
body.mv05-sieu-thi .wc-block-components-button,
body.mv05-sieu-thi .wc-block-cart__submit-button,
body.mv05-sieu-thi .wc-block-components-checkout-place-order-button,
body.mv05-sieu-thi .wp-block-button__link,
body.mv05-sieu-thi .wc-block-components-product-button a,
body.mv05-sieu-thi .wc-block-components-product-button .wp-element-button {
	background-color: var(--mv05-hong) !important;
	background-image: none !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: var(--mv05-r-tron) !important;
	font-weight: 600 !important;
	box-shadow: none !important;
}
body.mv05-sieu-thi .wc-block-components-button:hover,
body.mv05-sieu-thi .wc-block-cart__submit-button:hover,
body.mv05-sieu-thi .wc-block-components-checkout-place-order-button:hover,
body.mv05-sieu-thi .wp-block-button__link:hover {
	background-color: var(--mv05-hong-2) !important;
}
body.mv05-sieu-thi .wc-block-components-button--outlined,
body.mv05-sieu-thi .wc-block-cart__submit-container + * .wc-block-components-button {
	background-color: transparent !important;
	color: var(--mv05-muc) !important;
	border: 1px solid var(--mv05-vien) !important;
}
body.mv05-sieu-thi .wc-block-components-totals-item__value,
body.mv05-sieu-thi .wc-block-formatted-money-amount { color: var(--mv05-hong-2); font-weight: 700; }
body.mv05-sieu-thi .wc-block-components-title,
body.mv05-sieu-thi .wp-block-woocommerce-empty-cart-block h2 { color: var(--mv05-muc); }


/* ══ 12. TRANG GIỚI THIỆU VÀ LIÊN HỆ ══════════════════════════════════ */

.mv05-gt { padding-block: var(--mv05-s-7) var(--mv05-s-8); display: grid; gap: var(--mv05-s-8); }
.mv05-gt__dau {
	display: grid; grid-template-columns: 1.05fr .95fr;
	gap: var(--mv05-s-7); align-items: center;
}
.mv05-gt__chu p { color: var(--mv05-chu-2); margin-top: var(--mv05-s-4); line-height: 1.75; }
.mv05-gt__chu strong { color: var(--mv05-muc); }
.mv05-gt__anh { border-radius: var(--mv05-r-3); overflow: hidden; aspect-ratio: 3 / 2; background: var(--mv05-nen-2); }
.mv05-gt__anh img { width: 100%; height: 100%; object-fit: cover; display: block; }

.mv05-gt__ds {
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--mv05-s-5); list-style: none; margin-top: var(--mv05-s-5);
}
.mv05-gt__ds li {
	display: flex; flex-direction: column; gap: var(--mv05-s-2);
	padding: var(--mv05-s-5);
	background: var(--mv05-nen-2); border: 1px solid var(--mv05-vien);
	border-radius: var(--mv05-r-2);
}
.mv05-gt__ic {
	width: 44px; height: 44px; display: grid; place-items: center;
	border-radius: var(--mv05-r-2); background: #fff; color: var(--mv05-hong);
	box-shadow: var(--mv05-bong-1);
}
.mv05-gt__ds strong { font-size: var(--mv05-fs-3); }
.mv05-gt__ds span { font-size: var(--mv05-fs-2); color: var(--mv05-chu-2); line-height: 1.6; }

.mv05-gt__luu ul {
	list-style: none; display: grid; gap: var(--mv05-s-3); margin-top: var(--mv05-s-5);
}
.mv05-gt__luu li {
	position: relative; padding: var(--mv05-s-4) var(--mv05-s-5) var(--mv05-s-4) var(--mv05-s-7);
	background: var(--mv05-hong-nhat); border-radius: var(--mv05-r-2);
	font-size: var(--mv05-fs-2); color: var(--mv05-chu-2); line-height: 1.65;
}
.mv05-gt__luu li::before {
	content: ""; position: absolute; left: var(--mv05-s-5); top: 22px;
	width: 8px; height: 8px; border-radius: 50%; background: var(--mv05-hong);
}
.mv05-gt__luu strong { color: var(--mv05-muc); }

.mv05-gt__goi { text-align: center; }
.mv05-gt__goi .mv05-tieu { justify-content: center; }
.mv05-gt__goi p { color: var(--mv05-chu-2); margin-top: var(--mv05-s-3); }

.mv05-lh {
	padding-block: var(--mv05-s-7) var(--mv05-s-8);
	display: grid; grid-template-columns: 1fr 1fr; gap: var(--mv05-s-7);
	align-items: start;
}
.mv05-lh__ds { list-style: none; display: grid; gap: var(--mv05-s-4); }
.mv05-lh__ds li {
	display: grid; grid-template-columns: auto 1fr; column-gap: var(--mv05-s-4);
	align-items: center;
	padding: var(--mv05-s-4);
	border: 1px solid var(--mv05-vien); border-radius: var(--mv05-r-2);
	background: #fff;
}
.mv05-lh__ic {
	grid-row: 1 / 3; width: 46px; height: 46px;
	display: grid; place-items: center; border-radius: var(--mv05-r-2);
	background: var(--mv05-hong-nhat); color: var(--mv05-hong);
}
.mv05-lh__ds strong { font-size: var(--mv05-fs-1); color: var(--mv05-chu-2); font-weight: 600; letter-spacing: .04em; }
.mv05-lh__ds a, .mv05-lh__ds li > span:last-child {
	font-size: var(--mv05-fs-3); color: var(--mv05-muc); text-decoration: none; font-weight: 600;
}
.mv05-lh__ds a:hover { color: var(--mv05-hong-2); }
.mv05-lh__anh {
	margin-top: var(--mv05-s-5);
	border-radius: var(--mv05-r-3); overflow: hidden;
	aspect-ratio: 16 / 10; background: var(--mv05-nen-2);
}
.mv05-lh__anh img { width: 100%; height: 100%; object-fit: cover; display: block; }

.mv05-form {
	background: var(--mv05-nen-2); border: 1px solid var(--mv05-vien);
	border-radius: var(--mv05-r-3); padding: var(--mv05-s-6);
}
.mv05-form__o { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--mv05-s-4); }
.mv05-form__o label { font-size: var(--mv05-fs-1); font-weight: 600; color: var(--mv05-chu-2); }
.mv05-form input, .mv05-form textarea {
	border: 1px solid var(--mv05-vien); border-radius: var(--mv05-r-1);
	background: #fff; color: var(--mv05-muc);
	padding: 10px var(--mv05-s-3);
	font: inherit; font-size: var(--mv05-fs-2);
	transition: border-color .2s var(--mv05-nhip), box-shadow .2s var(--mv05-nhip);
}
.mv05-form input:focus, .mv05-form textarea:focus {
	outline: none; border-color: var(--mv05-hong);
	box-shadow: 0 0 0 3px rgba(232, 51, 109, .13);
}
.mv05-form .mv05-tieu { margin-bottom: var(--mv05-s-5); }
.mv05-form__ghi {
	font-size: var(--mv05-fs-1); color: var(--mv05-chu-2);
	margin-bottom: var(--mv05-s-4); line-height: 1.6;
}
.mv05-goi-nhanh { display: none; text-align: center; }


/* ══ 13. CHUYỂN ĐỘNG THEO CUỘN ════════════════════════════════════════
 *
 * BỘ CHỌN KHAI Ở HAI NƠI và phải khớp từng chữ với `SEL` / `SEL_VE` / `SEL_SO`
 * ở đầu `assets/site.js`. Lệch một ký tự là có phần tử CSS giấu mà kịch bản
 * không bao giờ gọi hiện ra.
 *
 * Ba đường dự phòng:
 *   1. `.mv05-js`     — chỉ giấu khi JavaScript sống (gắn nội tuyến ở <head>)
 *   2. reduced-motion — mục bên dưới tắt hẳn luật giấu
 *   3. `.mv05-hien-het` — hẹn giờ 2,5s ở <head> gắn vào nếu IO không kích hoạt
 *
 * Dùng thuộc tính `translate` RIÊNG chứ không ghi vào `transform`: hiệu ứng rê
 * chuột ở thẻ sản phẩm và các ô khác đã dùng `transform`. Cả hai cùng ghi vào
 * một thuộc tính thì chúng tranh nhau, và thẻ vừa hiện ra sẽ nâng lên theo
 * nhịp 700ms của hiện-dần chứ không phải 220ms của rê chuột — cảm giác nặng và
 * sai hẳn. Hai thuộc tính riêng thì trình duyệt cộng chúng lại.
 */
.mv05-js [data-mv05-rise] > *,
.mv05-js [data-mv05-ve],
.mv05-js [data-mv05-dem-len] {
	opacity: 0;
	translate: 0 18px;
	transition: opacity .7s var(--mv05-nhip), translate .7s var(--mv05-nhip);
}
.mv05-js [data-mv05-rise] > *.is-in,
.mv05-js [data-mv05-ve].is-in,
.mv05-js [data-mv05-dem-len].is-in,
.mv05-hien-het [data-mv05-rise] > *,
.mv05-hien-het [data-mv05-ve],
.mv05-hien-het [data-mv05-dem-len] {
	opacity: 1;
	translate: 0 0;
}

/* Lệch nhịp 70ms giữa các phần tử cùng hàng — mẫu này lưới năm cột nên lấy
   70ms thay vì 80ms, nếu không phần tử cuối hàng vào trễ thấy rõ. */
.mv05-js [data-mv05-rise] > *:nth-child(1) { transition-delay: 0ms; }
.mv05-js [data-mv05-rise] > *:nth-child(2) { transition-delay: 70ms; }
.mv05-js [data-mv05-rise] > *:nth-child(3) { transition-delay: 140ms; }
.mv05-js [data-mv05-rise] > *:nth-child(4) { transition-delay: 210ms; }
.mv05-js [data-mv05-rise] > *:nth-child(5) { transition-delay: 280ms; }
.mv05-js [data-mv05-rise] > *:nth-child(n + 6) { transition-delay: 350ms; }

/* NÉT VẼ DẦN — hình trong dải cam kết. `stroke-dashoffset` không gây tính lại
   bố cục vì nó chỉ đổi cách tô một đường đã có sẵn. */
.mv05-js [data-mv05-ve] .mv05-ic path {
	stroke-dasharray: 96;
	stroke-dashoffset: 96;
	transition: stroke-dashoffset .9s var(--mv05-nhip) .18s;
}
.mv05-js [data-mv05-ve].is-in .mv05-ic path,
.mv05-hien-het [data-mv05-ve] .mv05-ic path { stroke-dashoffset: 0; }
.mv05-js [data-mv05-ve] { transition-property: opacity, translate, transform; }
.mv05-js [data-mv05-ve].is-in .mv05-camket__ic,
.mv05-camket__o:hover .mv05-camket__ic { transform: scale(1.06); }
.mv05-camket__ic { transition: transform .4s var(--mv05-nhip); }

/*
 * ĐƯỜNG DỰ PHÒNG 2 — người dùng xin bớt chuyển động.
 *
 * Tắt hẳn luật giấu ở trên (chứ không chỉ rút ngắn thời lượng): nếu chỉ rút
 * thời lượng mà vẫn giấu thì phần tử nào IO không với tới vẫn ẩn vĩnh viễn.
 */
@media (prefers-reduced-motion: reduce) {
	.mv05-js [data-mv05-rise] > *,
	.mv05-js [data-mv05-ve],
	.mv05-js [data-mv05-dem-len] {
		opacity: 1 !important;
		translate: 0 0 !important;
		transition: none !important;
	}
	.mv05-js [data-mv05-ve] .mv05-ic path { stroke-dashoffset: 0 !important; transition: none !important; }

	body.mv05-sieu-thi *,
	body.mv05-sieu-thi *::before,
	body.mv05-sieu-thi *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
}


/* ══ 14. TIÊU ĐIỂM BÀN PHÍM ═══════════════════════════════════════════
 *
 * `:focus-visible` chứ không `:focus`, nên người dùng chuột không thấy viền
 * nhảy ra sau mỗi lần bấm. Trên khối nền tối (chân trang, Flash sale, hero,
 * dải trên cùng, khối số liệu) viền đổi sang trắng — hồng sen trên nền mực
 * gần như không thấy.
 */
body.mv05-sieu-thi a:focus-visible,
body.mv05-sieu-thi button:focus-visible,
body.mv05-sieu-thi input:focus-visible,
body.mv05-sieu-thi select:focus-visible,
body.mv05-sieu-thi textarea:focus-visible,
body.mv05-sieu-thi [tabindex]:focus-visible {
	outline: 3px solid var(--mv05-hong);
	outline-offset: 2px;
	border-radius: var(--mv05-r-1);
}
.mv05-nut:focus-visible,
.mv05-gio:focus-visible,
.mv05-chip a:focus-visible,
.mv05-tim__nut:focus-visible,
.mv05-bantin button:focus-visible { border-radius: var(--mv05-r-tron); }

.mv05-top a:focus-visible,
.mv05-chan a:focus-visible,
.mv05-chan input:focus-visible,
.mv05-chan button:focus-visible,
.mv05-flash a:focus-visible,
.mv05-so a:focus-visible,
.mv05-bang a:focus-visible { outline-color: #fff; }


/* ══ 15. MÀN HÌNH HẸP ═════════════════════════════════════════════════ */

@media (max-width: 1280px) {
	.mv05-ic-ds { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.mv05-th__ds { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 1180px) {
	body.mv05-sieu-thi ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.mv05-chan__luoi { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
	.mv05-chan__cot--tin { grid-column: 1 / -1; }
}

@media (max-width: 1100px) {
	/* Cột danh mục ẩn: hàng biểu tượng ngay bên dưới đã làm đúng việc này rồi,
	   giữ cả hai là lặp lại chín mục trong một màn hình. */
	.mv05-cot-dm { display: none; }
	.mv05-hero__luoi {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas: "bang" "phu";
	}
	.mv05-bang__chu { max-width: 68%; padding: var(--mv05-s-6); }
	.mv05-gt__dau { grid-template-columns: minmax(0, 1fr); gap: var(--mv05-s-5); }
	.mv05-gt__ds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mv05-camket__ds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
	/* Biểu mẫu chỉ trên máy tính — xem page-lien-he.php và footer.php. */
	.mv05-form { display: none; }
	.mv05-goi-nhanh {
		display: block;
		background: var(--mv05-hong-nhat); border-radius: var(--mv05-r-3);
		padding: var(--mv05-s-6);
	}
	.mv05-goi-nhanh .mv05-tieu { justify-content: center; margin-bottom: var(--mv05-s-3); }
	.mv05-goi-nhanh p { color: var(--mv05-chu-2); font-size: var(--mv05-fs-2); }
	.mv05-goi-nhanh .mv05-nut { margin-top: var(--mv05-s-4); }
	.mv05-goi-nhanh__gio { margin-top: var(--mv05-s-3); font-size: var(--mv05-fs-1); }
	.mv05-chan__cot--tin { display: none; }
	.mv05-lh { grid-template-columns: minmax(0, 1fr); gap: var(--mv05-s-5); }

	body.mv05-sieu-thi ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.mv05-bang-km__ds { grid-template-columns: minmax(0, 1fr); }
	.mv05-bai { grid-template-columns: minmax(0, 1fr); }
	.mv05-so__ds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mv05-chan__luoi { grid-template-columns: 1fr 1fr; }

	/* Đầu trang: menu danh mục thành ngăn kéo. */
	.mv05-burger { display: grid; }
	.mv05-head__chinh { padding-block: var(--mv05-s-3); }
	.mv05-head__in { flex-wrap: wrap; row-gap: var(--mv05-s-3); }
	.mv05-tim { order: 3; flex-basis: 100%; }
	.mv05-logo { margin-right: auto; }
	.mv05-gio__chu { display: none; }

	.mv05-nav {
		display: none;
		border-top: 1px solid var(--mv05-vien);
		max-height: 70vh; overflow-y: auto;
	}
	.mv05-nav.is-open { display: block; animation: mv05-troi-xuong .26s var(--mv05-nhip) both; }
	@keyframes mv05-troi-xuong {
		from { opacity: 0; translate: 0 -8px; }
		to   { opacity: 1; translate: 0 0; }
	}
	.mv05-nav__ds { flex-direction: column; overflow: visible; gap: 0; }
	.mv05-nav__ds li { border-top: 1px solid var(--mv05-vien); }
	.mv05-nav__ds li:first-child { border-top: 0; }
	.mv05-nav__ds a { padding: var(--mv05-s-3) 0; width: 100%; }
	.mv05-nav__ds a::after { content: none; }
	/* Ngăn kéo di động hiện lại hai liên kết phụ; dải trên cùng khi ấy chỉ còn
	   một dòng nên không chứa được chúng. */
	.mv05-nav__phu { display: list-item; margin-left: 0; }
}

@media (max-width: 720px) {
	.mv05-wrap { padding-inline: var(--mv05-s-4); }
	body.mv05-sieu-thi ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--mv05-s-3); }
	.mv05-ic-ds { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.mv05-th__ds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mv05-gt__ds { grid-template-columns: minmax(0, 1fr); }
	.mv05-camket__ds { grid-template-columns: minmax(0, 1fr); }
	.mv05-chan__luoi { grid-template-columns: minmax(0, 1fr); gap: var(--mv05-s-5); }
	.mv05-o-phu { grid-template-columns: minmax(0, 1fr); }

	.mv05-bang { min-height: 0; }
	.mv05-bang__anh { position: relative; width: 100%; aspect-ratio: 16 / 9; inset: auto; }
	.mv05-bang__anh::after { background: linear-gradient(180deg, rgba(232, 51, 109, 0) 40%, var(--mv05-hong) 100%); }
	.mv05-bang { flex-direction: column; }
	.mv05-bang__chu { max-width: none; padding: var(--mv05-s-5); }

	.mv05-top__in { justify-content: center; text-align: center; row-gap: 4px; padding-block: 6px; }
	/* `.mv05-top a` (0,1,1) thắng `.mv05-top__phu` (0,1,0) bất kể media query,
	   nên phải viết đủ hai phần mới ẩn được. */
	.mv05-top__gio-mo { display: none; }
	.mv05-top a.mv05-top__phu { display: none; }

	.mv05-loc { flex-direction: column; align-items: stretch; }
	.mv05-loc select { min-width: 0; width: 100%; }
	.mv05-loc__dem { margin-left: 0; }

	.mv05-flash__dau { gap: var(--mv05-s-3); }
	.mv05-flash .mv05-tieu__het { margin-left: 0; }
}

@media (max-width: 420px) {
	.mv05-so__ds { grid-template-columns: minmax(0, 1fr); }
	.mv05-ic-ds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mv05-logo__chu small { display: none; }
}
