/*
Theme Name: VinaSite Điện máy 04 — Lá Mới
Theme URI: https://vinasite.com.vn/
Description: Mẫu website bán điện gia dụng chăm sóc nhà cửa: máy giặt, máy lọc nước, máy hút bụi, nồi cơm, máy xay. Giao diện con của vinasite, chạy WooCommerce với giỏ hàng thật; trang chủ có khối chọn theo nhu cầu gia đình, khối tiết kiệm điện nước và khối phụ kiện thay thế. Mẫu demo của VinaSite.
Author: VinaSite
Author URI: https://vinasite.com.vn/
Template: vinasite
Version: 1.0.0
Text Domain: dienmay-mau-04
*/

/* =====================================================================
 * LÁ MỚI — điện gia dụng chăm sóc nhà cửa.
 *
 * Nhận diện: XANH LÁ TƯƠI trên trắng và be nhạt, hai phông SANS TRÒN
 * (Quicksand cho tiêu đề, Nunito cho chữ đọc), thẻ bo 20px và nút viên thuốc.
 * Cố ý khác bốn mẫu điện máy còn lại (01 đỏ siêu thị, 02 xanh băng, 03 đen +
 * thép, 05 than + tím) và khác hai mẫu xanh của bộ trước: `noithat-mau-02`
 * (trắng xám, không bo góc) và `kientruc-mau-04` (xanh RÊU trầm + gỗ). Đây là
 * xanh lá TƯƠI SÁNG, không phải xanh rêu.
 *
 * MỘT LUẬT PHẢI NHỚ: xanh lá tươi `#35A94F` có độ tương phản với trắng chỉ
 * 3,4:1 — chữ trắng trên nó RỚT dưới 4,5:1. Nên xanh tươi chỉ dùng làm NỀN cho
 * chữ TỐI, hoặc làm nét và mảng nhỏ. Chữ trắng chỉ đặt trên `--lm-green-d`
 * (6,5:1) và `--lm-green-xd`.
 * ===================================================================== */

:root {
	--lm-green: #35A94F;        /* xanh lá tươi — nền mảng, nét, nhãn (chữ TỐI) */
	--lm-green-l: #6FD08C;      /* xanh lá nhạt — nét trang trí trên nền sẫm */
	--lm-green-d: #1A6B33;      /* xanh lá sẫm — chữ, nút, nền cho chữ trắng */
	--lm-green-xd: #0F4A22;     /* xanh lá rất sẫm — chân trang, dải tối */
	--lm-mint: #E6F6E9;         /* xanh lá rất nhạt — nền ô nhấn */
	--lm-beige: #F8F5ED;        /* be nhạt — dải xen kẽ */
	--lm-beige-2: #EFE9DA;      /* be đậm hơn một bậc — viền, nền phụ */
	--lm-white: #FFFFFF;
	--lm-ink: #1C2B20;          /* chữ tiêu đề */
	--lm-body: #4E5D52;         /* chữ nội dung */
	--lm-muted: #7D8A80;        /* chữ phụ, nhãn nhỏ */
	--lm-line: #E0E4DA;         /* đường kẻ, viền thẻ */
	--lm-sale: #C2410C;         /* giá giảm, nhãn giảm giá */
	--lm-water: #0E7C86;        /* nước: nét và nhãn của khối tiết kiệm nước */

	--lm-head: "Quicksand", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--lm-font: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	--lm-max: 1280px;
	--lm-gut: clamp(16px, 3vw, 40px);
	--lm-pad: clamp(52px, 6vw, 96px);
	--lm-r: 20px;               /* bo góc thẻ — tròn, thân thiện */
	--lm-r-sm: 12px;
	--lm-shadow: 0 1px 2px rgba(28, 43, 32, .04), 0 14px 34px -18px rgba(28, 43, 32, .22);
	--lm-shadow-sm: 0 1px 2px rgba(28, 43, 32, .05), 0 6px 16px -10px rgba(28, 43, 32, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/*
 * Phông khai cho CẢ trang phụ (giỏ hàng, thanh toán, tài khoản) qua
 * `body.lm-site`, không chỉ cho trang chủ. Thiếu chỗ này thì ba trang ấy chạy
 * phông mặc định của theme mẹ và lạc hẳn khỏi phần còn lại.
 */
body.lm-site {
	margin: 0;
	background: var(--lm-white);
	color: var(--lm-body);
	font: 400 16px/1.7 var(--lm-font);
	-webkit-font-smoothing: antialiased;
	/* Chặn tràn ngang ở gốc: khối hero và vài thẻ có nét trang trí lệch ra
	   ngoài, trên màn hình hẹp chúng từng kéo ra thanh cuộn ngang. */
	overflow-x: hidden;
}
body.lm-site a { color: inherit; text-decoration: none; }
body.lm-site img { display: block; max-width: 100%; height: auto; }
body.lm-site button, body.lm-site input, body.lm-site select, body.lm-site textarea { font: inherit; }

/*
 * `color: inherit` chứ không một màu cố định: theme mẹ có luật riêng cho
 * `h1`–`h3` trong nội dung (màu xanh dương của nó) và luật ấy thắng mọi khai
 * báo một lớp của ta. Khai ở đây với HAI lớp nên thắng lại, mà cho thừa kế thì
 * tiêu đề tự đúng màu trong cả khối nền sáng lẫn khối nền sẫm — không phải
 * liệt kê từng ngoại lệ.
 */
body.lm-site h1, body.lm-site h2, body.lm-site h3 {
	margin: 0; color: inherit; font-family: var(--lm-head); font-weight: 700;
	line-height: 1.2; letter-spacing: -.01em;
}
body.lm-site p { margin: 0; }

.lm-wrap { width: min(var(--lm-max), calc(100% - var(--lm-gut) * 2)); margin-inline: auto; }

/* Liên kết bỏ qua: chỉ hiện khi dùng bàn phím. */
.lm-skip { position: absolute; z-index: 100; top: 10px; left: 10px; transform: translateY(-220%);
	border-radius: 999px; padding: 11px 18px; background: var(--lm-green-d); color: #fff; font-weight: 700; }
.lm-skip:focus { transform: translateY(0); }

/* Tầng trên của đầu trang dính nên mọi neo `#id` phải chừa sẵn chỗ. */
.lm-main, .lm-main [id] { scroll-margin-top: 120px; }

/* Biểu tượng nét mảnh — xem `lm_icon()` trong inc/helpers.php. */
.lm-i { width: 22px; height: 22px; flex: none; }
.lm-i--sm { width: 16px; height: 16px; }

/* =====================================================================
 * NÚT · NHÃN NHỎ · LIÊN KẾT
 * ===================================================================== */
.lm-btn {
	min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
	border: 2px solid var(--lm-green-d); border-radius: 999px; padding: 0 26px;
	background: var(--lm-green-d); color: #fff !important;
	font-family: var(--lm-head); font-size: 15px; font-weight: 700; cursor: pointer;
	transition: background .22s ease, border-color .22s ease, transform .22s cubic-bezier(.22,.8,.3,1), box-shadow .22s ease;
}
.lm-btn:hover { background: var(--lm-green-xd); border-color: var(--lm-green-xd);
	transform: translateY(-2px); box-shadow: var(--lm-shadow-sm); }
.lm-btn .lm-i { width: 19px; height: 19px; }

.lm-btn--ghost { background: transparent; color: var(--lm-green-d) !important; }
.lm-btn--ghost:hover { background: var(--lm-mint); border-color: var(--lm-green-d); color: var(--lm-green-d) !important; }

.lm-eyebrow { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 14px;
	border-radius: 999px; padding: 6px 14px 6px 11px; background: var(--lm-mint); color: var(--lm-green-d);
	font-family: var(--lm-head); font-size: 13px; font-weight: 700; letter-spacing: .02em; }

.lm-link { display: inline-flex; align-items: center; gap: 7px; color: var(--lm-green-d);
	font-family: var(--lm-head); font-size: 15px; font-weight: 700; }
.lm-link .lm-i { width: 18px; height: 18px; transition: transform .25s cubic-bezier(.22,.8,.3,1); }
.lm-link:hover .lm-i { transform: translateX(4px); }

.lm-note { margin-top: 20px; color: var(--lm-muted); font-size: 13.5px; line-height: 1.65; }

/* =====================================================================
 * DẢI THÔNG BÁO + ĐẦU TRANG HAI TẦNG
 * ===================================================================== */
.lm-strip { background: var(--lm-green-xd); color: #DCEEE1; font-size: 13.5px; }
.lm-strip__in { min-height: 38px; display: flex; flex-wrap: wrap; justify-content: space-between;
	align-items: center; gap: 10px 22px; padding: 8px 0; }
.lm-strip__msg, .lm-strip__lh { display: inline-flex; align-items: center; gap: 8px; }
.lm-strip strong { color: #fff; font-weight: 700; }

.lm-head { position: relative; }

/* Chỉ TẦNG TRÊN dính. Hai tầng dính cùng lúc ăn mất gần 150px chiều cao màn
   hình điện thoại — xem chú thích trong header.php. */
.lm-head__top { position: sticky; z-index: 60; top: 0;
	border-bottom: 1px solid var(--lm-line); background: var(--lm-white);
	transition: box-shadow .25s ease, background .25s ease; }
.lm-head.is-stuck .lm-head__top { box-shadow: 0 10px 26px -18px rgba(28,43,32,.5); }

.lm-head__row { min-height: 84px; display: grid; grid-template-columns: auto 1fr auto;
	align-items: center; gap: clamp(14px, 2.5vw, 36px); padding: 12px 0; }

.lm-brand { display: inline-flex; align-items: center; gap: 12px; }
.lm-brand__mark { display: inline-flex; flex: none; }
.lm-brand__mark svg { display: block; width: 44px; height: 44px; }
.lm-brand__text { display: grid; }
.lm-brand__name { color: var(--lm-ink); font-family: var(--lm-head); font-size: 24px; font-weight: 700; line-height: 1.1; }
.lm-brand__tag { color: var(--lm-muted); font-size: 10.5px; font-weight: 700; letter-spacing: .14em; }

/* Ô tìm: rộng, viên thuốc, nằm giữa — đây là cửa hàng, khách tìm theo tên hàng. */
.lm-search { position: relative; display: flex; align-items: center;
	border: 2px solid var(--lm-line); border-radius: 999px; background: var(--lm-beige);
	transition: border-color .22s ease, background .22s ease, box-shadow .22s ease; }
.lm-search:focus-within { border-color: var(--lm-green); background: var(--lm-white);
	box-shadow: 0 0 0 4px rgba(53,169,79,.14); }
.lm-search__i { width: 19px; height: 19px; flex: none; margin-left: 16px; color: var(--lm-muted); }
.lm-search input { flex: 1 1 auto; min-width: 0; height: 46px; border: 0; padding: 0 12px;
	background: transparent; color: var(--lm-ink); font-size: 15px; }
.lm-search input:focus { outline: 0; }
.lm-search input::placeholder { color: var(--lm-muted); }
.lm-search button { height: 38px; flex: none; margin-right: 4px; border: 0; border-radius: 999px;
	padding: 0 20px; background: var(--lm-green-d); color: #fff;
	font-family: var(--lm-head); font-size: 14px; font-weight: 700; cursor: pointer;
	transition: background .2s ease; }
.lm-search button:hover { background: var(--lm-green-xd); }

.lm-tools { display: flex; align-items: center; gap: clamp(10px, 1.6vw, 22px); }

.lm-goi { display: inline-flex; align-items: center; gap: 10px; color: var(--lm-ink); }
.lm-goi .lm-i { color: var(--lm-green-d); }
.lm-goi__t { display: grid; }
.lm-goi__t small { color: var(--lm-muted); font-size: 11.5px; }
.lm-goi__t strong { font-family: var(--lm-head); font-size: 16px; font-weight: 700; white-space: nowrap; }

.lm-cart { position: relative; display: inline-flex; align-items: center; gap: 9px;
	border: 2px solid var(--lm-green-d); border-radius: 999px; padding: 10px 18px;
	background: var(--lm-mint); color: var(--lm-green-d);
	font-family: var(--lm-head); font-size: 15px; font-weight: 700;
	transition: background .2s ease, transform .2s ease; }
.lm-cart:hover { background: var(--lm-green-l); transform: translateY(-1px); }
.lm-cart svg { width: 21px; height: 21px; flex: none; }
.lm-cart__n { position: absolute; top: -7px; right: -5px; min-width: 22px; height: 22px;
	display: grid; place-items: center; border-radius: 999px; padding: 0 5px;
	background: var(--lm-sale); color: #fff; font-size: 12px; font-weight: 700; line-height: 1; }
/* Giỏ rỗng thì không hiện số 0 — một con số 0 đỏ trông như lỗi. */
.lm-cart__n[data-lm-n="0"] { display: none; }
.lm-cart__n.is-bump { animation: lm-bump .4s cubic-bezier(.22,.8,.3,1); }
@keyframes lm-bump { 0% { transform: scale(1); } 45% { transform: scale(1.4); } 100% { transform: scale(1); } }

.lm-burger { display: none; width: 46px; height: 46px; align-items: center; justify-content: center;
	border: 2px solid var(--lm-line); border-radius: 14px; background: var(--lm-white); cursor: pointer; }
.lm-burger span[aria-hidden] { display: grid; gap: 4px; }
.lm-burger i { display: block; width: 19px; height: 2.2px; border-radius: 2px; background: var(--lm-ink); }

/* Tầng hai: thanh danh mục. */
.lm-nav { border-bottom: 1px solid var(--lm-line); background: var(--lm-beige); }
.lm-nav__in { min-height: 52px; display: flex; flex-wrap: wrap; justify-content: space-between;
	align-items: center; gap: 8px 20px; }
.lm-nav ul { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.lm-nav a { display: inline-flex; align-items: center; gap: 7px; border-radius: 999px; padding: 8px 15px;
	color: var(--lm-body); font-family: var(--lm-head); font-size: 15px; font-weight: 600;
	transition: background .2s ease, color .2s ease; }
.lm-nav a:hover { background: var(--lm-mint); color: var(--lm-green-d); }
.lm-nav a[aria-current="page"] { background: var(--lm-green-d); color: #fff; }
.lm-nav__all { background: var(--lm-mint); color: var(--lm-green-d) !important; }
.lm-nav__ho { color: var(--lm-green-d) !important; font-weight: 700 !important; }

/* =====================================================================
 * 1. HERO
 * ===================================================================== */
.lm-hero { padding: var(--lm-pad) 0; background:
	radial-gradient(900px 520px at 88% 8%, var(--lm-mint) 0%, rgba(230,246,233,0) 62%),
	var(--lm-white); }
.lm-hero__in { display: grid; grid-template-columns: 1.04fr .96fr; gap: clamp(32px, 5vw, 76px); align-items: center; }
.lm-hero__text h1 { color: var(--lm-ink); font-size: clamp(34px, 4.6vw, 56px); }
.lm-hero__text > p { max-width: 560px; margin-top: 20px; font-size: 17.5px; }
.lm-hero__btn { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.lm-hero__ps { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 28px 0 0; padding: 0; list-style: none; }
.lm-hero__ps li { display: inline-flex; align-items: center; gap: 8px; color: var(--lm-body); font-size: 14.5px; font-weight: 600; }
.lm-hero__ps .lm-i { color: var(--lm-green); }

.lm-hero__anh { position: relative; }
.lm-hero__anh img { width: 100%; aspect-ratio: 11 / 12; object-fit: cover;
	border-radius: 28px 28px 28px 110px; }
/* Thẻ nhỏ nổi trên ảnh: `left` âm vừa đủ để không chạm mép khung nội dung.
   Dưới 900px nó về trong dòng chảy, xem phần màn hình hẹp. */
.lm-hero__thenho { position: absolute; left: -20px; bottom: 28px; max-width: 290px;
	display: flex; align-items: center; gap: 13px;
	border-radius: var(--lm-r); padding: 16px 20px; background: var(--lm-white);
	box-shadow: var(--lm-shadow); font-size: 14px; line-height: 1.55; }
.lm-hero__thenho .lm-i { color: var(--lm-green); }
.lm-hero__thenho strong { color: var(--lm-ink); font-weight: 700; }

/* =====================================================================
 * TIÊU ĐỀ KHỐI DÙNG CHUNG
 * ===================================================================== */
.lm-head2 { max-width: 740px; margin-bottom: 36px; }
.lm-head2 h2 { color: var(--lm-ink); font-size: clamp(26px, 3.2vw, 40px); }
.lm-head2 > p { margin-top: 14px; font-size: 16.5px; }
.lm-head2--hang { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between;
	align-items: flex-end; gap: 16px 28px; }

/* =====================================================================
 * 2. CHỌN THEO NHU CẦU GIA ĐÌNH
 * ===================================================================== */
.lm-ho { padding: var(--lm-pad) 0; background: var(--lm-beige); }
.lm-ho__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.lm-ho__item { display: grid; gap: 12px; align-content: start;
	border: 2px solid var(--lm-beige-2); border-radius: var(--lm-r); padding: 18px;
	background: var(--lm-white);
	transition: border-color .24s ease, transform .24s cubic-bezier(.22,.8,.3,1), box-shadow .24s ease; }
.lm-ho__item:hover { border-color: var(--lm-green); transform: translateY(-4px); box-shadow: var(--lm-shadow); }
.lm-ho__anh { display: block; overflow: hidden; border-radius: var(--lm-r-sm); }
.lm-ho__anh img { width: 100%; aspect-ratio: 7 / 5; object-fit: cover;
	transition: transform .4s cubic-bezier(.22,.8,.3,1); }
.lm-ho__item:hover .lm-ho__anh img { transform: scale(1.05); }
.lm-ho__n { color: var(--lm-ink); font-family: var(--lm-head); font-size: 23px; font-weight: 700; }
.lm-ho__d { color: var(--lm-body); font-size: 15px; line-height: 1.65; }
.lm-ho__item .lm-link { margin-top: 4px; }

/* =====================================================================
 * 3. NHÓM HÀNG
 * ===================================================================== */
.lm-nhom { padding: var(--lm-pad) 0; }
.lm-nhom__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.lm-nhom__item { position: relative; display: block; overflow: hidden;
	border-radius: var(--lm-r); background: var(--lm-beige-2); }
.lm-nhom__item img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
	transition: transform .45s cubic-bezier(.22,.8,.3,1); }
.lm-nhom__item:hover img { transform: scale(1.06); }
.lm-nhom__cap { position: absolute; inset: auto 12px 12px; display: grid; gap: 2px;
	border-radius: var(--lm-r-sm); padding: 13px 16px; background: rgba(255,255,255,.95);
	backdrop-filter: blur(2px); }
.lm-nhom__cap strong { color: var(--lm-ink); font-family: var(--lm-head); font-size: 17px; font-weight: 700; }
.lm-nhom__cap small { color: var(--lm-muted); font-size: 13px; }

/* =====================================================================
 * 4 + 6. THẺ SẢN PHẨM DỰNG TRONG THEME (trang chủ)
 * ===================================================================== */
.lm-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

.lm-card { display: grid; grid-template-rows: auto 1fr; overflow: hidden;
	border: 2px solid var(--lm-line); border-radius: var(--lm-r); background: var(--lm-white);
	transition: border-color .24s ease, transform .24s cubic-bezier(.22,.8,.3,1), box-shadow .24s ease; }
.lm-card:hover { border-color: var(--lm-green); transform: translateY(-4px); box-shadow: var(--lm-shadow); }
.lm-card__anh { display: block; overflow: hidden; background: var(--lm-beige); }
.lm-card__anh img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
	transition: transform .45s cubic-bezier(.22,.8,.3,1); }
.lm-card:hover .lm-card__anh img { transform: scale(1.05); }
.lm-card__trong { display: block; width: 100%; aspect-ratio: 1 / 1; background: var(--lm-beige-2); }
.lm-card__body { display: grid; gap: 7px; align-content: start; padding: 18px 20px 20px; }
.lm-card__ho { justify-self: start; border-radius: 999px; padding: 4px 11px;
	background: var(--lm-mint); color: var(--lm-green-d); font-size: 12px; font-weight: 700; }
.lm-card__ten { color: var(--lm-ink); font-size: 17.5px; line-height: 1.35; }
.lm-card__gia { color: var(--lm-ink); font-family: var(--lm-head); font-size: 19px; font-weight: 700; }
.lm-card__gia del { margin-right: 8px; color: var(--lm-muted); font-size: 15px; font-weight: 600; }
.lm-card__gia ins { text-decoration: none; color: var(--lm-sale); }

.lm-nb { padding: var(--lm-pad) 0; background: var(--lm-beige); }

/* =====================================================================
 * 5. TIẾT KIỆM ĐIỆN NƯỚC
 * ===================================================================== */
.lm-tk { padding: var(--lm-pad) 0; }
.lm-tk__in { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.lm-tk__text h2 { color: var(--lm-ink); font-size: clamp(25px, 3vw, 37px); }
.lm-tk__text > p { margin-top: 16px; font-size: 16.5px; }
.lm-tk__list { margin: 32px 0 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.lm-tk__list li { display: flex; align-items: flex-start; gap: 15px;
	border-radius: var(--lm-r-sm); padding: 18px 18px 18px 16px;
	transition: background .22s ease; }
.lm-tk__list li:hover { background: var(--lm-mint); }
.lm-tk__list .lm-i { margin-top: 3px; color: var(--lm-green-d); }
.lm-tk__list li:nth-child(2) .lm-i { color: var(--lm-water); }
.lm-tk__list strong { display: block; margin-bottom: 5px; color: var(--lm-ink);
	font-family: var(--lm-head); font-size: 16.5px; font-weight: 700; }
.lm-tk__list span { display: block; color: var(--lm-body); font-size: 15px; line-height: 1.65; }

.lm-tk__anh img { width: 100%; aspect-ratio: 9 / 10; object-fit: cover;
	border-radius: 110px 28px 28px 28px; }

/* =====================================================================
 * 6. PHỤ KIỆN THAY THẾ
 * ===================================================================== */
.lm-pk { padding: var(--lm-pad) 0; background:
	linear-gradient(180deg, var(--lm-beige) 0%, var(--lm-beige) 100%); }
.lm-pk__in { display: grid; grid-template-columns: .78fr 2.22fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.lm-pk__text h2 { color: var(--lm-ink); font-size: clamp(24px, 2.8vw, 33px); }
.lm-pk__text > p { margin: 14px 0 18px; font-size: 16px; }
.lm-pk__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

/* =====================================================================
 * 7. LỐI LIÊN HỆ
 * ===================================================================== */
.lm-cta { padding: 0 0 var(--lm-pad); }
.lm-cta__in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
	gap: 24px 32px; border-radius: 28px; padding: clamp(28px, 4vw, 52px);
	background: var(--lm-green-xd); color: #DCEEE1; }
.lm-cta h2 { max-width: 620px; color: #fff; font-size: clamp(24px, 2.8vw, 34px); }
.lm-cta p { max-width: 580px; margin-top: 12px; font-size: 16px; }
.lm-cta__btn { display: flex; flex-wrap: wrap; gap: 12px; }
/* Trên nền xanh rất sẫm, nút chính đổi sang xanh lá TƯƠI với chữ TỐI — chữ
   trắng trên xanh tươi rớt dưới 4,5:1, còn chữ tối trên nó đạt 6,1:1. */
.lm-cta__btn .lm-btn { background: var(--lm-green-l); border-color: var(--lm-green-l); color: var(--lm-ink) !important; }
.lm-cta__btn .lm-btn:hover { background: #8FDFA6; border-color: #8FDFA6; }
.lm-cta__btn .lm-btn--ghost { background: transparent; border-color: rgba(255,255,255,.4); color: #fff !important; }
.lm-cta__btn .lm-btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* =====================================================================
 * TRANG CHUNG: dải đầu trang, đường dẫn phân cấp
 * ===================================================================== */
.lm-page__head { padding: 36px 0 32px; border-bottom: 1px solid var(--lm-line); background: var(--lm-beige); }
.lm-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px;
	color: var(--lm-muted); font-size: 13.5px; }
.lm-crumb a:hover { color: var(--lm-green-d); }
.lm-page__title { color: var(--lm-ink); font-size: clamp(27px, 3.4vw, 42px); }
.lm-page__sub { max-width: 760px; margin-top: 14px; color: var(--lm-body); font-size: 16.5px; }
.lm-page__ho { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
	border-radius: 999px; padding: 7px 15px; background: var(--lm-mint); color: var(--lm-green-d);
	font-size: 14.5px; }
.lm-page__ho strong { font-weight: 700; }
.lm-page__body { padding: 40px 0 var(--lm-pad); }

.lm-trong { padding: 48px 0 var(--lm-pad); color: var(--lm-body); font-size: 17px; }
.lm-trong .lm-link { margin-left: 10px; }

/* =====================================================================
 * TRANG CỬA HÀNG: hai hàng lọc + lưới WooCommerce
 * ===================================================================== */
.lm-shop__in { padding: 30px 0 var(--lm-pad); }

.lm-filter { display: grid; gap: 12px; margin-bottom: 32px;
	border: 2px solid var(--lm-line); border-radius: var(--lm-r); padding: 18px 20px; background: var(--lm-beige); }
.lm-filter__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.lm-filter__row + .lm-filter__row { padding-top: 12px; border-top: 1px solid var(--lm-beige-2); }
.lm-filter__lb { flex: none; min-width: 108px; color: var(--lm-muted);
	font-family: var(--lm-head); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.lm-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lm-chip { display: inline-flex; align-items: center; gap: 7px;
	border: 2px solid var(--lm-line); border-radius: 999px; padding: 7px 15px;
	background: var(--lm-white); color: var(--lm-body);
	font-family: var(--lm-head); font-size: 14.5px; font-weight: 600;
	transition: border-color .2s ease, background .2s ease, color .2s ease; }
.lm-chip span { color: var(--lm-muted); font-size: 12.5px; font-weight: 700; }
.lm-chip:hover { border-color: var(--lm-green); color: var(--lm-green-d); }
.lm-chip.is-on { border-color: var(--lm-green-d); background: var(--lm-green-d); color: #fff; }
.lm-chip.is-on span { color: rgba(255,255,255,.75); }
.lm-filter__sort { margin-left: auto; }
.lm-filter__sort form.woocommerce-ordering { margin: 0; }
.lm-filter__sort select, body.lm-site .woocommerce-ordering select {
	min-height: 42px; max-width: 100%; border: 2px solid var(--lm-line); border-radius: 999px;
	padding: 0 14px; background: var(--lm-white); color: var(--lm-ink); font-size: 14.5px; }

/* Lưới sản phẩm của WooCommerce: gỡ `float` và bề ngang phần trăm của plugin
   rồi dựng lại bằng grid, nếu không thẻ so le và vỡ ở cột hẹp. */
body.lm-site ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px; margin: 0; padding: 0; list-style: none; }
body.lm-site ul.products::before, body.lm-site ul.products::after { display: none; }
body.lm-site ul.products li.product { float: none; width: auto; margin: 0; min-width: 0;
	position: relative; display: flex; flex-direction: column; overflow: hidden;
	border: 2px solid var(--lm-line); border-radius: var(--lm-r); background: var(--lm-white);
	transition: border-color .24s ease, transform .24s cubic-bezier(.22,.8,.3,1), box-shadow .24s ease; }
body.lm-site ul.products li.product:hover { border-color: var(--lm-green);
	transform: translateY(-4px); box-shadow: var(--lm-shadow); }
body.lm-site ul.products li.product > a:first-of-type { display: flex; flex-direction: column;
	overflow: hidden; background: var(--lm-beige); }
body.lm-site ul.products li.product a img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
	margin: 0; border-radius: 0; transition: transform .45s cubic-bezier(.22,.8,.3,1); }
body.lm-site ul.products li.product:hover a img { transform: scale(1.05); }
body.lm-site ul.products li.product .woocommerce-loop-product__title {
	padding: 16px 20px 0; color: var(--lm-ink); font-family: var(--lm-head);
	font-size: 17.5px; font-weight: 700; line-height: 1.35; }
body.lm-site ul.products li.product .price { display: block; padding: 7px 20px 0;
	color: var(--lm-ink); font-family: var(--lm-head); font-size: 19px; font-weight: 700; }
body.lm-site ul.products li.product .price del { margin-right: 8px; color: var(--lm-muted);
	font-size: 15px; font-weight: 600; }
body.lm-site ul.products li.product .price ins { text-decoration: none; color: var(--lm-sale); }
/* Mô tả ngắn WooCommerce in trên lưới ở một số bản — kẹp lại hai dòng. */
body.lm-site ul.products li.product .woocommerce-product-details__short-description {
	padding: 6px 20px 0; color: var(--lm-body); font-size: 14.5px; }

/* Nhãn Giảm giá / mức nhu cầu / phụ kiện — xem `lm_nhan()` trong inc/shop.php. */
.lm-tags { position: absolute; z-index: 2; top: 12px; left: 12px; right: 12px;
	display: flex; flex-wrap: wrap; gap: 6px; pointer-events: none; }
.lm-tag { border-radius: 999px; padding: 4px 11px; background: var(--lm-green-l); color: var(--lm-ink);
	font-size: 12px; font-weight: 700; }
.lm-tag--sale { background: var(--lm-sale); color: #fff; }
.lm-tag--pk { background: var(--lm-white); color: var(--lm-green-d); box-shadow: var(--lm-shadow-sm); }
/* WooCommerce cũng in nhãn "Giảm giá!" riêng của nó — chỉ cần một cái. */
body.lm-site ul.products li.product span.onsale { display: none; }

/* `white-space: nowrap` vì nút này từng gãy hai dòng ở lưới ba cột trên tablet. */
body.lm-site ul.products li.product .button,
body.lm-site .woocommerce a.button, body.lm-site .woocommerce button.button,
body.lm-site a.button, body.lm-site button.button, body.lm-site .button.add_to_cart_button {
	min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	margin: 16px 20px 20px; border: 2px solid var(--lm-green-d); border-radius: 999px; padding: 0 20px;
	background: var(--lm-green-d); color: #fff; font-family: var(--lm-head); font-size: 14.5px;
	font-weight: 700; white-space: nowrap; cursor: pointer;
	transition: background .2s ease, border-color .2s ease; }
body.lm-site ul.products li.product .button { margin-top: auto; }
body.lm-site ul.products li.product .button:hover,
body.lm-site .woocommerce a.button:hover, body.lm-site .woocommerce button.button:hover,
body.lm-site a.button:hover, body.lm-site button.button:hover {
	background: var(--lm-green-xd); border-color: var(--lm-green-xd); color: #fff; }
body.lm-site ul.products li.product .added_to_cart { padding: 0 20px 18px; color: var(--lm-green-d);
	font-size: 14px; font-weight: 700; }

body.lm-site .woocommerce-pagination { grid-column: 1 / -1; margin-top: 42px; }
body.lm-site .woocommerce-pagination ul { display: flex; flex-wrap: wrap; justify-content: center;
	gap: 8px; margin: 0; padding: 0; border: 0; list-style: none; }
body.lm-site .woocommerce-pagination li { border: 0; }
body.lm-site .woocommerce-pagination a, body.lm-site .woocommerce-pagination span {
	min-width: 44px; min-height: 44px; display: grid; place-items: center;
	border: 2px solid var(--lm-line); border-radius: 999px; padding: 0 12px;
	background: var(--lm-white); color: var(--lm-ink); font-weight: 700; }
body.lm-site .woocommerce-pagination span.current {
	background: var(--lm-green-d); border-color: var(--lm-green-d); color: #fff; }

/* =====================================================================
 * TRANG CHI TIẾT SẢN PHẨM
 * ===================================================================== */
.lm-single__wrap { padding: 42px 0 var(--lm-pad); }

body.lm-site div.product { display: grid; grid-template-columns: 1fr 1fr;
	gap: clamp(28px, 5vw, 64px); }
body.lm-site div.product div.images, body.lm-site div.product div.summary {
	float: none; width: 100%; margin: 0; }
body.lm-site div.product div.images img { width: 100%; border-radius: var(--lm-r); }
body.lm-site div.product .woocommerce-product-gallery__wrapper { margin: 0; }
body.lm-site div.product .flex-control-thumbs { display: flex; flex-wrap: wrap; gap: 10px;
	margin: 12px 0 0; padding: 0; list-style: none; }
body.lm-site div.product .flex-control-thumbs li { width: calc(25% - 8px); margin: 0; }
body.lm-site div.product p.price, body.lm-site div.product span.price {
	margin: 0 0 18px; color: var(--lm-ink); font-family: var(--lm-head); font-size: 30px; font-weight: 700; }
body.lm-site div.product p.price del { margin-right: 10px; color: var(--lm-muted);
	font-size: 21px; font-weight: 600; }
body.lm-site div.product p.price ins { text-decoration: none; color: var(--lm-sale); }
body.lm-site div.product .woocommerce-product-details__short-description {
	margin: 0 0 24px; color: var(--lm-body); font-size: 16.5px; }
body.lm-site div.product form.cart { display: flex; flex-wrap: wrap; align-items: center;
	gap: 12px; margin: 0 0 26px; }
body.lm-site div.product form.cart .quantity input.qty {
	width: 84px; min-height: 46px; border: 2px solid var(--lm-line); border-radius: 999px;
	padding: 0 8px 0 14px; background: var(--lm-white); color: var(--lm-ink); text-align: center; }
body.lm-site div.product form.cart button.button { margin: 0; }
body.lm-site div.product .product_meta { padding-top: 20px; border-top: 1px solid var(--lm-line);
	color: var(--lm-muted); font-size: 14px; }
body.lm-site div.product .product_meta > span { display: block; margin-bottom: 5px; }
body.lm-site div.product .product_meta a { color: var(--lm-green-d); font-weight: 700; }
body.lm-site div.product .stock { color: var(--lm-green-d); font-weight: 700; }

/* Bảng thông số — xem `lm_bang_tech()` trong inc/shop.php. */
.lm-tech { margin: 0 0 24px; border: 2px solid var(--lm-line); border-radius: var(--lm-r);
	padding: 20px 22px; background: var(--lm-beige); }
.lm-tech__h { margin-bottom: 12px !important; color: var(--lm-ink) !important;
	font-size: 17px !important; }
.lm-tech__list { margin: 0; }
.lm-tech__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px;
	padding: 9px 0; border-top: 1px solid var(--lm-beige-2); }
.lm-tech__row:first-child { border-top: 0; }
.lm-tech__row dt { color: var(--lm-muted); font-size: 14.5px; }
.lm-tech__row dd { margin: 0; color: var(--lm-ink); font-size: 14.5px; font-weight: 700; text-align: right; }
.lm-tech__note { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--lm-beige-2);
	color: var(--lm-muted); font-size: 12.5px; line-height: 1.6; }

/*
 * `div.product` là lưới hai cột, nên MỌI khối đi sau phần tóm tắt đều là con
 * của lưới và sẽ rơi vào một cột nếu không cho chiếm hết bề ngang.
 */
body.lm-site div.product .woocommerce-tabs,
body.lm-site div.product .related,
body.lm-site div.product .upsells { grid-column: 1 / -1; }

body.lm-site .woocommerce-tabs { margin-top: 56px; }
body.lm-site .woocommerce-tabs ul.tabs { display: flex; flex-wrap: wrap; gap: 8px;
	margin: 0 0 24px; padding: 0; border: 0; list-style: none; }
body.lm-site .woocommerce-tabs ul.tabs::before, body.lm-site .woocommerce-tabs ul.tabs::after { display: none; }
body.lm-site .woocommerce-tabs ul.tabs li { margin: 0; padding: 0;
	border: 2px solid var(--lm-line); border-radius: 999px; background: var(--lm-white); }
body.lm-site .woocommerce-tabs ul.tabs li::before, body.lm-site .woocommerce-tabs ul.tabs li::after { display: none; }
body.lm-site .woocommerce-tabs ul.tabs li a { display: block; padding: 9px 20px;
	color: var(--lm-body); font-family: var(--lm-head); font-size: 14.5px; font-weight: 700; }
body.lm-site .woocommerce-tabs ul.tabs li.active { background: var(--lm-green-d); border-color: var(--lm-green-d); }
body.lm-site .woocommerce-tabs ul.tabs li.active a { color: #fff; }
body.lm-site .woocommerce-Tabs-panel h2 { margin: 0 0 12px; color: var(--lm-ink); font-size: 24px; }
body.lm-site .woocommerce-Tabs-panel p { max-width: 820px; margin: 0 0 12px; color: var(--lm-body); font-size: 16.5px; }
body.lm-site .woocommerce-Tabs-panel table.shop_attributes th { color: var(--lm-ink); }

body.lm-site div.product .related { margin-top: 60px; }
body.lm-site div.product .related > h2 { margin: 0 0 24px; color: var(--lm-ink);
	font-size: clamp(23px, 2.6vw, 31px); }
body.lm-site div.product .related ul.products { width: 100%; }

/* Hộp đánh giá: mẫu chưa có đánh giá thật, nhưng vẫn phải đúng màu nếu shop bật. */
body.lm-site #reviews .comment-reply-title { color: var(--lm-ink); font-weight: 700; }
body.lm-site #review_form input[type="text"], body.lm-site #review_form input[type="email"],
body.lm-site #review_form textarea {
	width: 100%; border: 2px solid var(--lm-line); border-radius: var(--lm-r-sm); padding: 11px 14px;
	background: var(--lm-white); color: var(--lm-ink); }
body.lm-site #review_form input[type="submit"] {
	min-height: 46px; border: 2px solid var(--lm-green-d); border-radius: 999px; padding: 0 22px;
	background: var(--lm-green-d); color: #fff; font-family: var(--lm-head); font-weight: 700; cursor: pointer; }

/* =====================================================================
 * GIỎ HÀNG · THANH TOÁN · TÀI KHOẢN
 *
 * WooCommerce 8 trở đi dựng giỏ hàng và thanh toán bằng KHỐI (block), lấy màu
 * từ `theme.json` chứ không từ CSS của theme con — mặc định ra nút xanh dương
 * giữa một giao diện xanh lá. Mẫu này dùng giỏ hàng thật nên chắc chắn gặp.
 * Khai lại cả ba lớp nút ở đây.
 * ===================================================================== */
body.lm-site .wc-block-components-button:not(.is-link),
body.lm-site .wc-block-cart__submit-button,
body.lm-site .wc-block-components-checkout-place-order-button {
	min-height: 50px; border: 2px solid var(--lm-green-d); border-radius: 999px; padding: 0 26px;
	background: var(--lm-green-d); color: #fff; font-family: var(--lm-head);
	font-size: 15px; font-weight: 700;
	transition: background .22s ease, border-color .22s ease, transform .22s cubic-bezier(.22,.8,.3,1); }
body.lm-site .wc-block-components-button:not(.is-link):hover,
body.lm-site .wc-block-cart__submit-button:hover,
body.lm-site .wc-block-components-checkout-place-order-button:hover {
	background: var(--lm-green-xd); border-color: var(--lm-green-xd); transform: translateY(-2px); }
body.lm-site .wc-block-components-button__text { color: inherit; }

body.lm-site .wc-block-components-totals-item__value,
body.lm-site .wc-block-components-product-price { color: var(--lm-ink); font-weight: 700; }
body.lm-site .wc-block-cart-items__row { border-color: var(--lm-line); }
body.lm-site .wc-block-components-product-name { color: var(--lm-ink); font-weight: 700; }
body.lm-site .wc-block-components-product-name:hover { color: var(--lm-green-d); }
body.lm-site .wc-block-components-text-input input,
body.lm-site .wc-block-components-address-form input,
body.lm-site .wc-block-components-textarea { border-radius: var(--lm-r-sm); }
body.lm-site .wc-block-components-quantity-selector { border-radius: 999px; }
body.lm-site .wc-block-components-panel__button, body.lm-site .wc-block-components-checkout-step__title {
	color: var(--lm-ink); }
body.lm-site .wc-block-components-totals-wrapper, body.lm-site .wc-block-cart__totals-title { color: var(--lm-ink); }
body.lm-site .wc-block-components-notice-banner { border-radius: var(--lm-r-sm); }

/*
 * Bảng hàng trong giỏ TRÀN NGANG trên màn hình 375px.
 *
 * Khối giỏ hàng của WooCommerce đặt bề rộng tối thiểu cho cột số lượng và cột
 * thành tiền, cộng lại vượt quá khung nội dung — đo được 382px trên màn hình
 * 375px. Giá tiền Việt dài (8.790.000 ₫) nên cột thành tiền rộng hơn hẳn so
 * với các đơn vị tiền khác, vì vậy mẫu tiếng Anh không gặp lỗi này.
 *
 * `table-layout: fixed` buộc bảng chia bề ngang theo khung chứ không theo nội
 * dung, và cho giá xuống dòng khi cần.
 */
body.lm-site .wc-block-cart-items { width: 100%; max-width: 100%; table-layout: fixed; }
/*
 * Dưới 700px khối ấy đổi mỗi dòng hàng thành `display: grid`. Ô thành tiền là
 * một ô của lưới, mà ô lưới mặc định có `min-width: auto` — nó không chịu co
 * nhỏ hơn nội dung, nên chuỗi giá dài đẩy ô vượt khỏi lưới. Cho `min-width: 0`
 * thì ô co lại đúng cột, và `overflow-wrap` lo phần xuống dòng nếu vẫn chật.
 */
body.lm-site .wc-block-cart-items__row > * { min-width: 0; }
body.lm-site .wc-block-cart-item__total,
body.lm-site .wc-block-cart-item__prices,
body.lm-site .wc-block-components-product-price { overflow-wrap: anywhere; }

/* Bảng giỏ hàng bản cổ điển (nếu quản trị viên đổi về shortcode). */
body.lm-site table.shop_table { border-color: var(--lm-line); }
body.lm-site table.shop_table th { color: var(--lm-ink); }
body.lm-site .woocommerce-message, body.lm-site .woocommerce-info {
	border-top-color: var(--lm-green); border-radius: var(--lm-r-sm); }
body.lm-site .woocommerce-message::before, body.lm-site .woocommerce-info::before { color: var(--lm-green-d); }
body.lm-site .woocommerce-error { border-top-color: var(--lm-sale); border-radius: var(--lm-r-sm); }

/* Trang tài khoản */
body.lm-site .woocommerce-MyAccount-navigation ul { margin: 0; padding: 0; list-style: none;
	display: grid; gap: 4px; }
body.lm-site .woocommerce-MyAccount-navigation a { display: block; border-radius: var(--lm-r-sm);
	padding: 10px 14px; color: var(--lm-body); font-weight: 600; }
body.lm-site .woocommerce-MyAccount-navigation a:hover { background: var(--lm-mint); color: var(--lm-green-d); }
body.lm-site .woocommerce-MyAccount-navigation li.is-active a { background: var(--lm-green-d); color: #fff; }
body.lm-site .woocommerce form.login, body.lm-site .woocommerce form.register {
	border: 2px solid var(--lm-line); border-radius: var(--lm-r); }
body.lm-site .woocommerce form .form-row input.input-text,
body.lm-site .woocommerce form .form-row textarea, body.lm-site .woocommerce form .form-row select {
	width: 100%; min-height: 46px; border: 2px solid var(--lm-line); border-radius: var(--lm-r-sm);
	padding: 10px 14px; background: var(--lm-white); color: var(--lm-ink); }

/* =====================================================================
 * TRANG GIỚI THIỆU
 * ===================================================================== */
.lm-gt__body { padding: var(--lm-pad) 0; display: grid; gap: var(--lm-pad); }
.lm-gt__mo { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 68px); align-items: start; }
.lm-gt__mo h2 { color: var(--lm-ink); font-size: clamp(25px, 3vw, 36px); }
.lm-gt__mo-text p { margin-top: 16px; font-size: 16.5px; }
.lm-gt__mo-text strong { color: var(--lm-ink); font-weight: 700; }
.lm-gt__mo-anh img { width: 100%; aspect-ratio: 9 / 10; object-fit: cover;
	border-radius: 28px 110px 28px 28px; }

.lm-gt__co h2 { margin-bottom: 30px; color: var(--lm-ink); font-size: clamp(25px, 3vw, 36px); }
.lm-gt__co-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.lm-gt__o { border: 2px solid var(--lm-line); border-radius: var(--lm-r); padding: 24px 22px;
	background: var(--lm-white); transition: border-color .22s ease, transform .22s cubic-bezier(.22,.8,.3,1); }
.lm-gt__o:hover { border-color: var(--lm-green); transform: translateY(-3px); }
.lm-gt__o .lm-i { width: 26px; height: 26px; margin-bottom: 14px; color: var(--lm-green-d); }
.lm-gt__o h3 { margin-bottom: 8px; color: var(--lm-ink); font-size: 18px; }
.lm-gt__o p { color: var(--lm-body); font-size: 15px; line-height: 1.65; }

.lm-gt__cach h2 { margin-bottom: 26px; color: var(--lm-ink); font-size: clamp(25px, 3vw, 36px); }
.lm-gt__ol { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: lm-c; }
.lm-gt__ol li { position: relative; counter-increment: lm-c;
	border-radius: var(--lm-r); padding: 22px 24px 22px 70px; background: var(--lm-beige);
	color: var(--lm-body); font-size: 16px; line-height: 1.7; }
.lm-gt__ol li::before { content: counter(lm-c); position: absolute; left: 22px; top: 22px;
	width: 32px; height: 32px; display: grid; place-items: center; border-radius: 999px;
	background: var(--lm-green-l); color: var(--lm-ink);
	font-family: var(--lm-head); font-size: 15px; font-weight: 700; }
.lm-gt__ol strong { display: block; margin-bottom: 4px; color: var(--lm-ink);
	font-family: var(--lm-head); font-size: 17px; font-weight: 700; }

.lm-gt__cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
	gap: 22px 28px; border: 2px solid var(--lm-green); border-radius: 28px;
	padding: clamp(26px, 3.5vw, 44px); background: var(--lm-mint); }
.lm-gt__cta h2 { color: var(--lm-ink); font-size: clamp(23px, 2.6vw, 32px); }
.lm-gt__cta p { max-width: 560px; margin-top: 12px; color: var(--lm-body); font-size: 16px; }
.lm-gt__cta-btn { display: flex; flex-wrap: wrap; gap: 12px; }
.lm-gt__cta-btn .lm-btn--ghost { background: var(--lm-white); }

/* =====================================================================
 * TRANG LIÊN HỆ
 * ===================================================================== */
.lm-lh__body { padding: var(--lm-pad) 0; }
.lm-lh__grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.lm-lh h2 { color: var(--lm-ink); font-size: clamp(23px, 2.6vw, 32px); }
.lm-lh__list { margin: 24px 0 0; padding: 0; list-style: none; }
.lm-lh__list li { display: flex; align-items: flex-start; gap: 14px; padding: 16px 0;
	border-top: 1px solid var(--lm-line); }
.lm-lh__list li:last-child { border-bottom: 1px solid var(--lm-line); }
.lm-lh__list .lm-i { margin-top: 3px; color: var(--lm-green-d); }
.lm-lh__list strong { display: block; margin-bottom: 2px; color: var(--lm-muted);
	font-family: var(--lm-head); font-size: 12.5px; font-weight: 700;
	letter-spacing: .08em; text-transform: uppercase; }
.lm-lh__list a, .lm-lh__list span { color: var(--lm-ink); font-size: 16.5px; }
.lm-lh__list a:hover { color: var(--lm-green-d); }

.lm-lh__hoi { margin-top: 28px; border-radius: var(--lm-r); padding: 22px 24px; background: var(--lm-mint); }
.lm-lh__hoi h3 { margin-bottom: 12px; color: var(--lm-ink); font-size: 17px; }
.lm-lh__hoi ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.lm-lh__hoi li { display: flex; align-items: flex-start; gap: 9px; color: var(--lm-body);
	font-size: 15px; line-height: 1.6; }
.lm-lh__hoi .lm-i { margin-top: 4px; color: var(--lm-green-d); }

.lm-lh__anh { width: 100%; margin-top: 26px; aspect-ratio: 16 / 10; object-fit: cover;
	border-radius: var(--lm-r); }

.lm-lh__form { border: 2px solid var(--lm-line); border-radius: 28px; padding: clamp(24px, 3vw, 36px);
	background: var(--lm-beige); }
.lm-lh__form > p { margin-top: 10px; color: var(--lm-body); font-size: 16px; }
.lm-form { margin-top: 22px; }
.lm-form__row { display: grid; gap: 7px; margin: 0 0 16px; }
.lm-form__row label { color: var(--lm-ink); font-family: var(--lm-head); font-size: 14.5px; font-weight: 700; }
.lm-form input, .lm-form textarea {
	width: 100%; border: 2px solid var(--lm-line); border-radius: var(--lm-r-sm); padding: 11px 15px;
	background: var(--lm-white); color: var(--lm-ink); font-size: 16px;
	transition: border-color .22s ease, box-shadow .22s ease; }
.lm-form input { min-height: 48px; }
.lm-form textarea { resize: vertical; min-height: 124px; }
.lm-form input:focus, .lm-form textarea:focus { outline: 0; border-color: var(--lm-green);
	box-shadow: 0 0 0 4px rgba(53,169,79,.14); }
.lm-form__note { margin: 16px 0 0; color: var(--lm-muted); font-size: 13.5px; line-height: 1.65; }
.lm-form__note a { color: var(--lm-green-d); font-weight: 700; }

/* Khối gọi nhanh: chỉ hiện trên màn hình hẹp, nơi biểu mẫu đã ẩn. */
.lm-goi-nhanh { display: none; align-items: flex-start; gap: 16px; margin-top: 32px;
	border: 2px solid var(--lm-green); border-radius: var(--lm-r); padding: 24px;
	background: var(--lm-mint); }
.lm-goi-nhanh .lm-i { flex: none; margin-top: 3px; color: var(--lm-green-d); }
.lm-goi-nhanh strong { display: block; margin-bottom: 6px; color: var(--lm-ink);
	font-family: var(--lm-head); font-size: 17px; font-weight: 700; }
.lm-goi-nhanh p { color: var(--lm-body); font-size: 15px; line-height: 1.6; }
.lm-goi-nhanh p a { color: var(--lm-green-d); font-weight: 700; }

/* =====================================================================
 * CHÂN TRANG
 * ===================================================================== */
.lm-foot { background: var(--lm-green-xd); color: #C3DFCB; }
.lm-foot__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
	gap: 36px 28px; padding: clamp(48px, 6vw, 76px) 0 44px; }
.lm-brand--foot .lm-brand__name { color: #fff; }
.lm-brand--foot .lm-brand__tag { color: #7FB38E; }
.lm-foot__desc { margin-top: 16px; color: #A9CDB4; font-size: 14.5px; line-height: 1.7; }
.lm-foot__lh { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.lm-foot__lh li { display: flex; align-items: center; gap: 11px; font-size: 15px; }
.lm-foot__lh .lm-i { color: var(--lm-green-l); }
.lm-foot__lh a { color: #fff; }
.lm-foot__lh a:hover { color: var(--lm-green-l); }
.lm-foot__col h2 { margin-bottom: 16px; color: #fff; font-size: 16px; font-weight: 700;
	letter-spacing: .02em; }
.lm-foot__col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.lm-foot__col li a { font-size: 15px; transition: color .2s ease, transform .2s ease; }
.lm-foot__col li a:hover { color: #fff; transform: translateX(3px); display: inline-block; }

.lm-sub { display: flex; gap: 9px; margin-top: 18px; }
.lm-sub__in { flex: 1 1 auto; min-width: 0; height: 46px;
	border: 2px solid rgba(255,255,255,.2); border-radius: 999px; padding: 0 17px;
	background: rgba(255,255,255,.08); color: #fff; font-size: 14.5px;
	transition: border-color .25s ease, background .25s ease, box-shadow .25s ease; }
.lm-sub__in::placeholder { color: #8FB89B; }
.lm-sub__in:focus { outline: 0; border-color: var(--lm-green-l); background: rgba(255,255,255,.13);
	box-shadow: 0 0 0 4px rgba(111,208,140,.18); }
/* Nút trên nền rất sẫm: xanh lá TƯƠI với chữ TỐI (6,1:1), không phải chữ trắng. */
.lm-sub__go { height: 46px; flex: none; border: 0; border-radius: 999px; padding: 0 22px;
	background: var(--lm-green-l); color: var(--lm-ink);
	font-family: var(--lm-head); font-size: 14.5px; font-weight: 700; cursor: pointer;
	transition: background .2s ease, transform .2s ease; }
.lm-sub__go:hover { background: #8FDFA6; transform: translateY(-1px); }
.lm-sub__note { margin: 13px 0 0; color: #8FB89B; font-size: 12.5px; line-height: 1.65; }

.lm-foot__bot { border-top: 1px solid rgba(255,255,255,.14); }
.lm-foot__bot .lm-wrap { display: flex; flex-wrap: wrap; justify-content: space-between;
	gap: 8px 24px; padding: 20px 0 24px; }
.lm-foot__bot p { color: #8FB89B; font-size: 13px; line-height: 1.6; }
.lm-foot__bot a { color: #fff; }
.lm-foot__bot a:hover { color: var(--lm-green-l); }

/* =====================================================================
 * LỜI NHẮN NỔI
 * Tự ẩn sau 8 giây: nó chỉ xác nhận một thao tác, để mãi thì che góc màn hình.
 * Trình đọc màn hình đã đọc nó ngay lúc xuất hiện nhờ `role="status"`.
 * ===================================================================== */
.lm-toast { position: fixed; z-index: 80; right: 18px; bottom: 18px;
	max-width: min(340px, calc(100vw - 36px));
	border-radius: var(--lm-r); padding: 16px 18px; background: var(--lm-green-xd); color: #DCEEE1;
	font-size: 14px; line-height: 1.6; box-shadow: 0 22px 46px -20px rgba(15,74,34,.75);
	animation: lm-toast-in .35s cubic-bezier(.22,.8,.3,1) both, lm-toast-out .45s ease 8s both; }
@keyframes lm-toast-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes lm-toast-out { to { opacity: 0; transform: translateY(10px); visibility: hidden; } }

/* Khối hiện dần — lớp do kịch bản gắn vào, không viết sẵn trong HTML, nên tắt
   JavaScript trang vẫn hiện đầy đủ. */
.lm-rise { opacity: 0; transform: translateY(16px);
	transition: opacity .55s ease, transform .55s cubic-bezier(.22,.8,.3,1); }
.lm-rise.is-in { opacity: 1; transform: none; }

/* Chỉ hiện với trình đọc màn hình. */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); white-space: nowrap; }

/* Viền tiêu điểm thấy rõ cho người dùng bàn phím. */
body.lm-site a:focus-visible, body.lm-site button:focus-visible,
body.lm-site input:focus-visible, body.lm-site select:focus-visible,
body.lm-site textarea:focus-visible {
	outline: 3px solid var(--lm-green); outline-offset: 2px; border-radius: 4px; }

/* =====================================================================
 * MÀN HÌNH HẸP
 * ===================================================================== */
@media (max-width: 1180px) {
	.lm-nhom__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lm-gt__co-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lm-pk__in { grid-template-columns: 1fr; }
	.lm-goi__t small { display: none; }
}

@media (max-width: 1040px) {
	/* Ô tìm rời khỏi hàng đầu: ba cột không còn đủ chỗ. Nó xuống dòng riêng,
	   chiếm hết bề ngang — khách vẫn tìm được, chỉ là ở dòng dưới. */
	.lm-head__row { grid-template-columns: 1fr auto; }
	.lm-search { grid-column: 1 / -1; grid-row: 2; }
	.lm-burger { display: inline-flex; }
	.lm-goi { display: none; }

	/* Thanh danh mục thu vào nút menu. Đóng thì ẩn ngay, vì `display: none`
	   cắt mọi chuyển cảnh. */
	.lm-nav { display: none; }
	.lm-nav.is-open { display: block; animation: lm-drop .28s cubic-bezier(.22,.8,.3,1) both; }
	@keyframes lm-drop { from { opacity: 0; transform: translateY(-9px); } to { opacity: 1; transform: translateY(0); } }
	.lm-nav__in { display: block; padding-bottom: 14px; }
	.lm-nav ul { display: grid; gap: 2px; }
	.lm-nav a { border-radius: var(--lm-r-sm); padding: 11px 14px; }
	.lm-nav__ho { display: inline-flex; margin-top: 6px; }

	.lm-hero__in { grid-template-columns: 1fr; }
	.lm-hero__anh img { aspect-ratio: 16 / 11; border-radius: 24px 24px 24px 72px; }
	.lm-tk__in { grid-template-columns: 1fr; }
	.lm-tk__anh img { aspect-ratio: 16 / 10; border-radius: 72px 24px 24px 24px; }
	.lm-gt__mo { grid-template-columns: 1fr; }
	.lm-gt__mo-anh img { aspect-ratio: 16 / 10; border-radius: 24px 72px 24px 24px; }
	.lm-lh__grid { grid-template-columns: 1fr; }
	.lm-foot__grid { grid-template-columns: 1.4fr 1fr 1fr; }
	.lm-foot__news { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
	/* Trên màn hình hẹp không bắt khách gõ cả biểu mẫu — bấm gọi nhanh hơn hẳn.
	   Ẩn bằng `display: none` nên biểu mẫu cũng rời khỏi thứ tự tiêu điểm bàn
	   phím: không có cảnh tab vào một ô nhập vô hình. */
	.lm-lh__form { display: none; }
	.lm-goi-nhanh { display: flex; }

	body.lm-site div.product { grid-template-columns: 1fr; }
	.lm-filter__lb { min-width: 0; }
	.lm-filter__sort { margin-left: 0; width: 100%; }
}

@media (max-width: 820px) {
	.lm-ho__grid { grid-template-columns: 1fr; }
	.lm-grid3, .lm-pk__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	body.lm-site ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	/* Thẻ nhỏ của hero về trong dòng chảy: lệch âm trên màn hình hẹp là nguồn
	   tràn ngang. */
	.lm-hero__thenho { position: static; left: auto; bottom: auto; max-width: none; margin-top: 16px; }
	.lm-gt__co-grid { grid-template-columns: 1fr; }
	.lm-foot__grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
	.lm-foot__brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
	.lm-head__row { min-height: 72px; }
	.lm-brand__mark svg { width: 38px; height: 38px; }
	.lm-brand__name { font-size: 20px; }
	.lm-brand__tag { font-size: 9.5px; letter-spacing: .1em; }
	.lm-cart { padding: 9px 13px; }
	.lm-cart__label { display: none; }
	.lm-strip__lh { display: none; }
	.lm-strip__in { min-height: 34px; font-size: 12.5px; }

	.lm-grid3, .lm-pk__grid { grid-template-columns: 1fr; }
	body.lm-site ul.products { grid-template-columns: 1fr; }
	.lm-nhom__grid { grid-template-columns: 1fr; }
	.lm-nhom__item img { aspect-ratio: 16 / 10; }

	.lm-cta__in, .lm-gt__cta { flex-direction: column; align-items: flex-start; }
	.lm-btn { width: 100%; }
	.lm-hero__btn .lm-btn, .lm-cta__btn .lm-btn, .lm-gt__cta-btn .lm-btn { width: 100%; }
	.lm-hero__btn, .lm-cta__btn, .lm-gt__cta-btn { width: 100%; }
	.lm-goi-nhanh { flex-direction: column; }
	.lm-goi-nhanh .lm-btn { width: 100%; }

	.lm-gt__ol li { padding: 20px 20px 20px 20px; }
	.lm-gt__ol li::before { position: static; margin-bottom: 10px; }

	/* Cùng quy tắc với biểu mẫu trang liên hệ: trên điện thoại không bắt khách
	   gõ email. Giấu cả cột cho gọn — để lại mỗi tiêu đề mà không có ô nhập thì
	   chẳng để làm gì. */
	.lm-foot__news { display: none; }
	.lm-foot__grid { grid-template-columns: 1fr; }
	.lm-tech__row dd { text-align: left; }
}

/* Ai xin bớt chuyển động thì không thấy gì chạy. */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
