@charset "UTF-8";
/* =============================================================================
   wp.css — phần CHỈ CÓ ở bản WordPress (bản HTML không có): thanh admin, ảnh WP, trang danh mục,
   danh sách tin, phân trang, giỏ hàng/thanh toán. Nạp sau style.css + trang-con.css.
   ============================================================================= */

/* thanh quản trị WP (đang đăng nhập) — header dính phải tụt xuống */
.admin-bar .hd.dinh .hd-main, .admin-bar .hd.dinh .hd-nav { top: 46px; }
@media (min-width: 783px) { .admin-bar .hd.dinh .hd-main, .admin-bar .hd.dinh .hd-nav { top: 32px; } }
@media (max-width: 600px) { .admin-bar .hd.dinh .hd-main { top: 0; } }

.o-bay { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.hd-logo .logo-anh { height: 36px; width: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ảnh WordPress có sẵn width/height → ép theo khung của thẻ */
.the-sp .anh img { aspect-ratio: auto; height: 11.5rem; } /* gốc .product-item .img-wrap cao 11.5rem ở mọi khổ (điện thoại 184px, kể cả thẻ hẹp trong băng trượt) */
.the-fs .khung img { width: 100%; }
.nhom-anh img, .nb-phai img, .km-trai img, .nhom-bento img, .rv-video img, .tin-anh img, .km-muc .anh img { max-width: 100%; }
.rv-sp .anh img { width: 100%; height: 100%; object-fit: contain; }
.sp-anh-lon img, .o-nho img { max-width: 100%; }

/* nội dung soạn bằng trình soạn thảo */
.noi-dung-bai .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.noi-dung-bai .alignleft { float: left; margin: 0 16px 10px 0; }
.noi-dung-bai .alignright { float: right; margin: 0 0 10px 16px; }
.noi-dung-bai figure { margin: 0 0 16px; }
.noi-dung-bai figcaption { font-size: 13px; color: var(--chu-phu); text-align: center; margin-top: 6px; }
.noi-dung-bai table { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
.noi-dung-bai td, .noi-dung-bai th { border: 1px solid #e3e3e6; padding: 8px 10px; }
.cs-dan { margin-bottom: 20px; }

/* đếm ngược ở trang sản phẩm */
.sp-dem { justify-content: flex-start; margin: -8px 0 18px; }
.sp-dem .o { width: 40px; height: 40px; font-size: 17px; background: var(--cam); color: #fff; }
.sp-dem .hai-cham { color: var(--cam); }

/* =============================================================================
   TRANG DANH MỤC SẢN PHẨM
   ============================================================================= */
.dm-trang { background: var(--xam); }
.dm-ten { font-size: 25px; line-height: 30px; font-weight: 700; text-align: center; padding: 16.67px 10px 24px; } /* gốc h1.sec-title.product-category-title */
.dm { padding: 0 0 50px; }
.dm-banner { position: relative; margin-bottom: 32px; }
.dm-banner .swiper { border-radius: 10px; }
.dm-banner img { width: 100%; height: auto; aspect-ratio: 1180 / 512; object-fit: cover; border-radius: 10px; }
.dm-banner .mui-ten { opacity: 0; transition: opacity .2s; }
.dm-banner:hover .mui-ten { opacity: 1; }
.dm-banner .mui-ten.truoc { left: 4px; }
.dm-banner .mui-ten.sau { right: 4px; }
.dm-con { display: none; } /* chip xếp hàng chỉ từ 768; điện thoại dùng băng trượt .dm-con-truot */
.dm-con-ten { margin-bottom: 13.84px; font-size: 16.67px; line-height: 29.17px; font-weight: 700; color: #333; }
.dm-logo { display: flex; gap: 12px; overflow-x: auto; margin-bottom: 26.67px; scrollbar-width: none; } /* gốc .brand-swiper: điện thoại 5 ô/lượt cách 12 · 768: 6 cách 12 · 992: 8 cách 16 · 1200: 12 cách 20 */
.dm-logo::-webkit-scrollbar { display: none; }
.dm-logo a { flex: none; display: grid; place-items: center; width: calc((100% - 4 * 12px) / 5); aspect-ratio: 1; padding: 11.66px; border-radius: 16.67px; background: #fff; border: 1px solid transparent; transition: border-color .2s; }
.dm-logo a:hover, .dm-logo a.dang-xem { border-color: var(--chinh); }
.dm-logo img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.dm-logo span { padding: 0 4px; text-align: center; font-size: 11px; line-height: 13px; font-weight: 700; color: var(--chu); }
.dm-con a { flex: none; background: #fff; border-radius: 50px; padding: 6.67px 26.67px; font-size: 13.33px; line-height: 23.33px; font-weight: 600; color: var(--chu); text-align: center; transition: all .4s; }
.dm-con a:hover, .dm-con a.dang-xem { background: var(--chinh); color: #fff; } /* gốc .brand-item.item-without-image */
.dm-con-truot { margin-bottom: 26.67px; }
.dm-con-truot .swiper-slide a { display: block; background: #fff; border-radius: 50px; padding: 6.67px 26.67px; font-size: 13.33px; line-height: 23.33px; font-weight: 600; color: var(--chu); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: all .4s; }
.dm-con-truot .swiper-slide a + a { margin-top: 12px; }
.dm-con-truot .swiper-slide a:hover, .dm-con-truot .swiper-slide a.dang-xem { background: var(--chinh); color: #fff; }
/* chấm như .swiper-pagination gốc (điện thoại ô 16px, chấm .3125rem, ô đang xem viền cam) */
.dm-con-truot .swiper-pagination { position: relative; inset: auto; margin-top: 20px; display: flex; justify-content: center; align-items: center; }
.dm-con-truot .swiper-pagination-bullet { position: relative; width: 16px; height: 16px; margin: 0 1.664px !important; border-radius: 50%; border: 1px solid transparent; background: transparent; opacity: 1; transition: all .4s ease-in-out; }
.dm-con-truot .swiper-pagination-bullet::before { content: ""; position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--chinh); }
.dm-con-truot .swiper-pagination-bullet-active { border-color: var(--chinh); }
.dm-loc h2 { font-size: 18px; line-height: 25px; font-weight: 700; color: #333; margin-bottom: 18px; }
.dm-loc-hang { display: flex; flex-direction: column; align-items: flex-start; gap: 32px; }
.dm-bo-loc { position: relative; align-self: stretch; display: flex; flex-wrap: wrap; align-items: center; gap: 10.83px; padding-bottom: 10px; } /* rộng hết hàng: bảng lọc căn giữa theo cả hàng như gốc */
.o-loc { position: static; } /* điện thoại: bảng lọc bám theo cả hàng nút (left 0) — bám từng nút thì nút thứ 2 trở đi tràn mép phải */
/* gốc (màn <500px): cuộn qua hàng lọc thì ghim hàng lọc dưới dải logo (top 50px, đè phần ô tìm) — JS thêm .dinh */
@media (max-width: 499px) { .dm-bo-loc.dinh { position: fixed; top: 50px; left: 0; width: 100vw; z-index: 1000; padding: 10px; background: #fff; box-shadow: 0 0 10px #dedede; } }
.nut-loc { display: flex; align-items: center; justify-content: center; gap: 8.33px; height: 33.33px; font-size: 11.66px; line-height: 11.66px; padding: 8.33px 13.33px; border-radius: 83.33px; border: 1px solid rgba(153, 153, 153, .5); background: #fff; transition: all .4s ease-in-out; } /* gốc .filter-title */
.nut-loc svg, .sap-hien svg { color: #666; } /* gốc: mũi tên #666 nét 1.5/12 */
.nut-loc svg { width: 12px; height: 12px; } /* gốc svg width="12" cố định mọi khổ */
.nut-loc.co-chon { border-color: var(--chinh); color: var(--chinh); background: var(--chinh-nhat); }
.nut-loc.co-chon svg { color: var(--chinh); }
.bang-loc { display: none; flex-wrap: wrap; gap: 8.33px; position: absolute; left: 50%; top: calc(100% - 10px); transform: translateX(-50%); z-index: 99; width: 333.33px; max-width: calc(100vw - 20px); background: #fff; border-radius: 16.67px; box-shadow: 0 0 10px #dedede; padding: 21.66px 18.33px; } /* gốc .filter-list (điện thoại căn giữa hàng nút) */
.o-loc.mo .bang-loc { display: flex; }
.chip-loc { display: contents; }
.chip-loc label { cursor: pointer; }
.chip-loc input { position: absolute; opacity: 0; pointer-events: none; }
.chip-loc span { display: block; font-size: 11.66px; line-height: 11.66px; padding: 8.33px 13.33px; border-radius: 83.33px; border: 1px solid rgba(153, 153, 153, .5); } /* gốc .filter-item > label */
.chip-loc input:checked + span { border-color: var(--chinh); color: var(--chinh); background: var(--chinh-nhat); }
.xem-kq { width: max-content; padding: 10px 30px; font-size: 12.5px; line-height: 12.5px; border-radius: 83.33px; } /* gốc .button.button-black.btn-search-list-product */
.bo-loc-xoa { font-size: 12px; color: var(--chinh); text-decoration: underline; }
.dm-sap { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; } /* gốc (điện thoại): nhãn 1 dòng, ô chọn dòng dưới */
.dm-sap > span { font-size: 15px; line-height: 25px; font-weight: 700; color: #333; white-space: nowrap; }
.o-sap { position: relative; }
.sap-hien { display: flex; align-items: center; justify-content: space-between; gap: 8.33px; width: 225px; padding: 10.83px 20px; border-radius: 83.33px; border: 1px solid rgba(153, 153, 153, .5); background: #fff; font-size: 11.66px; line-height: 11.66px; font-weight: 500; } /* gốc .sort-current: rộng 14.0625rem, đệm .677rem 1.25rem */
.sap-hien span { margin-left: 8.33px; }
.sap-hien svg { width: 15.84px; height: 15.84px; }
/* gốc .sort-list: các nút rời nằm ngay dưới, cách nhau .3125rem, ẩn cách đang chọn; rê vào viền + chữ cam */
.o-sap ul { display: none; position: absolute; left: 0; top: 100%; z-index: 99; width: 100%; }
.o-sap.mo ul { display: block; }
.o-sap li.dang-chon { display: none; }
.o-sap li a { display: flex; align-items: center; margin-top: 5px; padding: 10.83px 20px; background: #fff; border: 1px solid rgba(153, 153, 153, .5); border-radius: 83.33px; white-space: nowrap; transition: all .4s ease-in-out; }
.o-sap li a svg { width: 15.84px; height: 15.84px; color: #000; transition: color .4s ease-in-out; }
.o-sap li a span { margin: 0 auto 0 8.33px; font-size: 11.66px; line-height: 11.66px; font-weight: 500; }
.o-sap li a:hover { border-color: var(--chinh); background: var(--chinh-nhat); color: var(--chinh); }
.o-sap li a:hover svg { color: var(--chinh); }
.luoi-sp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 56.67px; } /* gốc .product-list.grid-5: mt 3.542rem, điện thoại gap 8px */
.xem-them-sp { display: flex; width: max-content; margin: 41.67px auto 0; padding: 10px 30px; font-size: 12.5px; line-height: 12.5px; font-weight: 500; gap: 4px; border-radius: 83.33px; } /* gốc .btn-get-list-product */
.xem-them-sp.dang-tai { opacity: .6; pointer-events: none; }
.dm .trong { text-align: center; padding: 40px 0; color: var(--chu-phu); }
/* gốc .content-category: cao hơn 500px mới thu gọn (500px + lớp mờ 300px), chữ 14/15px dòng 25px cố định, font sans-serif */
.dm-mota { position: relative; max-width: 1000px; margin: 66.67px auto 0; }
.dm-mota .noi-dung-bai { position: relative; overflow: hidden; transition: max-height .6s; }
.dm-mota.thu-gon .noi-dung-bai { max-height: 500px; }
.dm-mota.thu-gon .noi-dung-bai::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 300px; z-index: 2; background: linear-gradient(180deg, rgba(245, 245, 247, 0) 0%, rgba(245, 245, 247, .8) 60%, #f5f5f7 100%); }
.dm-mota .noi-dung-bai, .dm-mota .noi-dung-bai * { font-family: sans-serif; }
.dm-mota .noi-dung-bai p, .dm-mota .noi-dung-bai li { font-size: 14px; line-height: 25px; font-weight: 400; color: #333; }
.dm-mota .noi-dung-bai p { margin: 0 0 12.5px; }
.dm-mota .noi-dung-bai h2 { font-size: 20px; line-height: 24px; font-weight: 700; color: #333; margin: 0 0 16.6px; }
.dm-mota .noi-dung-bai h3 { font-size: 18px; line-height: 24px; font-weight: 700; color: #333; margin: 0 0 18px; }
.dm-mota .noi-dung-bai ul { font-size: 14px; line-height: 25px; margin: 0 0 1em; padding-left: 40px; list-style: disc; }
.dm-mota .noi-dung-bai li { margin-bottom: 5px; }
.dm-mota .noi-dung-bai > :last-child { margin-bottom: 0; }
.dm-mota > .nut { position: relative; z-index: 4; display: flex; margin: 30px auto 0; padding: 10px 30px; font-size: 12.5px; line-height: 12.5px; font-weight: 500; border-radius: 83.33px; }
.dm-mota.thu-gon > .nut { margin-top: 0; transform: translateY(-50%); }
.dm-mota.ngan > .nut { display: none; } /* ngắn hơn 500px: không thu gọn, không có nút (như gốc) */
.dm-mota .dong { display: none; }
.dm-mota:not(.thu-gon) .mo { display: none; }
.dm-mota:not(.thu-gon) .dong { display: inline; }

/* danh sách tin (index.php) — số đo theo trang "Danh sách tin tức" của gốc */
.ds-tin { background: var(--xam); padding: 32px 0 56px; }
.ds-tin-ten, .ds-tin-muc { font-size: 25px; line-height: 30px; font-weight: 700; text-align: center; color: #000; }
.ds-tin-ten { margin: 16.67px 0 30px; }
.ds-tin-muc { margin-bottom: 30px; }
.ds-tin .tin-ngay { font-size: 11px; line-height: 20px; margin-bottom: 10px; }
.tin-noi-bat { display: flex; flex-direction: column; gap: 16.67px; margin-bottom: 40px; }
.tnb-lon { position: relative; border-radius: 16.67px; overflow: hidden; }
.tnb-lon .phu { position: absolute; inset: 0; z-index: 4; }
.tnb-lon .tnb-anh { position: relative; }
.tnb-lon .tnb-anh::before { content: ""; position: absolute; inset: 0; z-index: 3; background: linear-gradient(0deg, rgba(0, 0, 0, .79) 0%, rgba(0, 0, 0, 0) 100%); }
.tnb-lon img { width: 100%; height: auto; aspect-ratio: 370 / 208; object-fit: cover; }
.tnb-lon .tnb-chu { position: absolute; left: 0; right: 12px; bottom: 0; z-index: 5; padding: 24px; color: #fff; pointer-events: none; }
.tnb-lon .tnb-chu a { pointer-events: auto; }
.tnb-lon .tin-ngay, .tnb-lon .tin-ngay .muc { color: #fff; margin-bottom: 5px; }
.tnb-lon .tin-ngay .muc::before { background: #fff; }
.tnb-lon h3 { font-size: 18px; line-height: 22.68px; font-weight: 600; color: #fff; }
.tnb-lon .tom-tat { display: none; font-size: .729rem; line-height: .938rem; margin-top: .625rem; }
.tnb-nho { display: flex; flex-direction: column; gap: 12px; }
.tnb-muc { display: flex; align-items: center; }
.tnb-muc .tnb-anh { flex: 0 0 160px; height: 105px; border-radius: 8px; overflow: hidden; margin-right: 20px; }
.tnb-muc .tnb-anh img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.tnb-muc:hover .tnb-anh img { transform: scale(1.04); }
.tnb-muc .tnb-chu { min-width: 0; }
.tnb-muc .tin-ngay { margin-bottom: 5px; }
.tnb-muc h3 { font-size: 16px; line-height: 20.16px; font-weight: 600; color: var(--chu); transition: color .2s; }
.tnb-muc:hover h3 { color: var(--chinh); }
.tab-cm ul { display: flex; align-items: center; overflow-x: auto; scrollbar-width: none; }
.tab-cm ul::-webkit-scrollbar { display: none; }
.tab-cm li { flex: 0 0 auto; }
.tab-cm a { display: flex; justify-content: center; min-width: 116.67px; margin: 0 6.67px; padding: 6.67px 16.67px; border-radius: 83px; border: 1px solid #c9c9c9; font-size: 11.66px; line-height: 16.67px; font-weight: 500; color: var(--chu); white-space: nowrap; }
.tab-cm a:hover { color: var(--chinh); border-color: var(--chinh); }
.tab-cm .dang a, .tab-cm .dang a:hover { color: #fff; border-color: transparent; background: var(--chinh-tab) border-box; }
.luoi-tin { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; margin-top: 40px; }
.luoi-tin .tin-anh { margin-bottom: 14px; }
.luoi-tin .tin-muc h3 { font-size: 16px; line-height: 20.16px; }
.ds-tin .trong { margin-top: 40px; text-align: center; }
.xem-them-tin { display: flex; width: max-content; margin: 40px auto 0; padding: 8.34px 25px; font-size: 11.66px; line-height: 11.66px; }
.xem-them-tin.dang-tai { opacity: .6; pointer-events: none; }
/* trang kết quả tìm kiếm — theo gốc section.search-page */
.tkq { background: var(--xam); padding: 32px 0; }
.tkq-ten { margin: 0 0 16.75px; font-size: 25px; line-height: 30px; font-weight: 700; text-align: center; color: #000; }
.tkq-nhom { margin-bottom: 50px; }
.tkq-nhom h2 { margin: 0 0 19.92px; font-size: 24px; line-height: normal; font-weight: 700; color: #000; }
.tkq-nhom .luoi-sp { margin-top: 0; gap: 8px; }
.phan-trang { display: flex; justify-content: center; gap: 6px; margin-top: 30px; }
.phan-trang .page-numbers { min-width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: #fff; font-size: 13px; font-weight: 600; color: var(--chu); }
.phan-trang .page-numbers.current { background: var(--chinh); color: #fff; }

/* giỏ hàng / thanh toán / tài khoản: chỉ chỉnh khung, giữ CSS gốc WooCommerce */
.cs-woo .woo-nd { background: #fff; border-radius: 15px; padding: 20px 16px; font-size: 14px; }
.cs-woo .woo-nd .button, .cs-woo .woo-nd button.button { background: var(--cam) !important; color: #fff !important; border-radius: 40px !important; }

/* đăng nhập / đăng ký / quên mật khẩu — thẻ giữa nền xám như /dang-nhap của gốc */
.tk { background: var(--xam); padding: 40px 0 56px; }
.tk-the, .tk .woocommerce-ResetPassword { max-width: 735px; margin: 0 auto; background: #fff; border-radius: 16px; padding: 28px 16px; box-shadow: 0 3px 15px rgba(0, 0, 0, .1); }
.tk-ten { margin-bottom: 6px; text-align: center; font-size: 30px; line-height: 38px; font-weight: 700; color: var(--chinh-dam); }
.tk-mota { margin-bottom: 6px; text-align: center; font-size: 13.5px; line-height: 18px; font-weight: 600; color: var(--chu); }
.tk-chuyen { margin-bottom: 20px; text-align: center; font-size: 11.66px; line-height: 15px; font-weight: 500; color: var(--chu); }
.tk-chuyen a, .tk-quen:hover { color: var(--chinh); }
.tk-o { margin-bottom: 18px; }
.tk-o label, .tk-nhan { display: block; margin-bottom: 8px; font-size: 13px; line-height: 17px; color: var(--chu); }
.tk-o input[type=text], .tk-o input[type=email], .tk-o input[type=tel], .tk-o input[type=password], .tk .woocommerce-ResetPassword input.input-text {
  width: 100%; height: 40px; padding: 0 20px; border: 1px solid #b5b5b5; border-radius: 75px; background: #fff; font: inherit; font-size: 13px; color: var(--chu);
}
.tk-o input:focus, .tk .woocommerce-ResetPassword input:focus { outline: none; border-color: var(--chinh); }
.tk-mk { position: relative; display: block; }
.tk-mk input { padding-right: 52px !important; }
.tk-mat { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; padding: 0; border: 0; background: none; color: #555; cursor: pointer; }
.tk-mat svg { width: 100%; height: 100%; }
.tk-mat.dang-hien { color: var(--chinh); }
.tk-dong { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; font-size: 13px; color: var(--chu); }
.tk-nho { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.tk-nho input, .tk-chon input { accent-color: var(--chinh); }
.tk-quen { color: var(--chu); }
.tk-nut, .tk .woocommerce-ResetPassword .button {
  display: block; width: 100%; height: 40px; border: 1px solid #fe4f00 !important; border-radius: 75px !important; background: #fe4f00 !important; color: #fff !important;
  font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
}
.tk-nut:hover { background: #e84700 !important; }
.tk .tk-nut { float: none; margin: 0; } /* woocommerce.css cho nút đăng nhập float:left → thẻ mất lề dưới */
.tk-ghi { margin-bottom: 18px; font-size: 13px; color: #777; }
.tk .woocommerce form.login, .tk .woocommerce form.register { margin: 0; padding: 0; border: 0; border-radius: 0; }
.tk .show-password-input { display: none !important; } /* Woo tự chèn nút con mắt — theme đã có .tk-mat */
.tk .password-input { display: block; }
.tk-hai { display: grid; grid-template-columns: 1fr; gap: 0 20px; }
.tk-chon { display: flex; align-items: center; gap: 22px; height: 40px; font-size: 13px; color: var(--chu); }
.tk-chon label { display: flex; align-items: center; gap: 6px; margin: 0; cursor: pointer; }
.tk .woocommerce-error, .tk .woocommerce-message, .tk .woocommerce-info { max-width: 735px; margin: 0 auto 16px; border-radius: 14px; }
.tk .woocommerce-privacy-policy-text { margin-bottom: 16px; font-size: 12px; line-height: 18px; color: #777; }
.tk .woocommerce-ResetPassword p { margin-bottom: 16px; font-size: 13px; line-height: 20px; color: var(--chu); }
.tk .woocommerce-ResetPassword .form-row { float: none; width: 100%; padding: 0; }
.tk .woocommerce-ResetPassword label { display: block; margin-bottom: 8px; }
/* đăng nhập điện thoại — theo login-style.css của gốc (rem × 16) */
@media (max-width: 767px) {
	.tk { padding: 33.33px 0; }
	.tk-the, .tk .woocommerce-ResetPassword { width: calc(100% - 25px); padding: 16.67px; }
	.tk-ten { margin-bottom: 8.33px; font-size: 21.67px; line-height: 1.2; }
	.tk-mota { margin-bottom: 8.33px; font-size: 13.33px; line-height: 16.67px; }
	.tk-chuyen { margin-bottom: 25px; line-height: 16.67px; }
	.tk-o { margin-bottom: 13.33px; }
	.tk-o label, .tk-nhan { margin-bottom: 5px; font-size: 11.66px; line-height: 16.67px; }
	.tk-o input[type=text], .tk-o input[type=email], .tk-o input[type=tel], .tk-o input[type=password], .tk .woocommerce-ResetPassword input.input-text { height: 33.33px; padding: 0 13.33px; font-size: 13.33px; }
	.tk-dong { margin-bottom: 13.33px; font-size: 11.66px; line-height: 16.67px; }
	.tk-nut, .tk .woocommerce-ResetPassword .button { height: 33.33px; font-size: 13.33px; line-height: 13.33px; }
}

/* giỏ hàng trống — như /gio-hang của gốc */
.cs-woo { padding: 60px 0; } /* gốc section.cart-page / checkout-page */
.cs-woo:has(.gio-trong) .cs-ten { display: none; }
.cs-woo .woo-nd:has(.gio-trong) { background: none; padding: 0; }
.gio-trong { padding: 0 10px; text-align: center; }
.gio-trong p { font-size: 16px; color: #000; }
.gio-trong .nut { margin-top: 16.67px; padding: 10px 30px; font-size: 12.5px; line-height: 12.5px; font-weight: 500; }

/* tài khoản đã đăng nhập: menu trái + nội dung */
.cs-woo .woocommerce-MyAccount-navigation ul { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 0 18px; padding: 0; list-style: none; }
.cs-woo .woocommerce-MyAccount-navigation li a { display: block; white-space: nowrap; padding: 8px 16px; border-radius: 40px; border: 1px solid var(--vien); font-size: 13px; color: var(--chu); }
.cs-woo .woocommerce-MyAccount-navigation li.is-active a, .cs-woo .woocommerce-MyAccount-navigation li a:hover { background: var(--chinh); border-color: var(--chinh); color: #fff; }
.cs-woo .woocommerce-MyAccount-content { font-size: 14px; line-height: 22px; }
.cs-woo .woocommerce-MyAccount-content a { color: var(--chinh); }
.cs-woo input.input-text, .cs-woo select, .cs-woo textarea { border: 1px solid #c9c9c9; border-radius: 10px; padding: 9px 14px; font: inherit; font-size: 14px; }
.cs-woo .select2-container .select2-selection--single { height: 40px; border-color: #c9c9c9; border-radius: 10px; }
.cs-woo .select2-container .select2-selection--single .select2-selection__rendered { line-height: 38px; padding-left: 14px; }
.cs-woo .select2-container .select2-selection--single .select2-selection__arrow { height: 38px; }
.cs-woo table.shop_table { border-radius: 12px; }
.cs-woo #place_order, .cs-woo .checkout-button { font-size: 15px !important; padding: 14px 20px !important; }
.cs-woo .cross-sells ul.products li.product img { height: 160px; width: 100%; object-fit: contain; }
.cs-woo .cross-sells h2, .cs-woo .cart_totals h2, .cs-woo #order_review_heading, .cs-woo .woocommerce-billing-fields h3 { font-size: 18px; font-weight: 700; margin-bottom: 14px; }

@media (min-width: 768px) and (max-width: 1199px) {
	.tk-the, .tk .woocommerce-ResetPassword { padding: 36px 48px; }
	.cs-woo .woocommerce { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 0 24px; }
	.cs-woo .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
	.cs-woo .woocommerce-MyAccount-navigation ul { flex-direction: column; overflow: visible; }
	.cs-woo .woocommerce:not(:has(.woocommerce-MyAccount-navigation)) { display: block; }
}

/* ---------------- TRANG DANH MỤC ≥768 — gốc dùng luật máy tính cho mọi khổ (rem = 16px dưới 1200), rồi đè ≤1199 / ≤991 ---------------- */
@media (min-width: 768px) {
	.dm-ten { font-size: 1.823rem; line-height: 2.083rem; padding: 1.042rem 0 2.604rem; } /* gốc h1.sec-title.product-category-title: chữ 1.823rem, lề 1.042rem 0 2.604rem */
	.dm { padding: 0 0 5.052rem; }
	.dm-banner { margin-bottom: 1.667rem; }
	.dm-banner .swiper, .dm-banner img { border-radius: 1.042rem; }
	.dm-banner .mui-ten.truoc { left: -1.042rem; }
	.dm-banner .mui-ten.sau { right: -1.042rem; }
	.dm-con { display: flex; gap: .625rem; padding: 0; margin-bottom: 1.667rem; overflow: visible; flex-wrap: wrap; }
	.dm-con-truot { display: none; }
	.dm-con a { padding: .417rem 1.667rem; border-radius: 3.472rem; font-size: .833rem; line-height: 1.458rem; }
	.dm-con-ten { margin-bottom: .865rem; font-size: 1.042rem; line-height: 1.823rem; }
	.dm-logo { margin-bottom: 1.667rem; }
	.dm-logo a { width: calc((100% - 5 * 12px) / 6); padding: .729rem; border-radius: 1.042rem; }
	.dm-logo span { font-size: .7rem; line-height: .85rem; }
	.dm-loc h2 { font-size: 1.042rem; line-height: 1.823rem; margin-bottom: .865rem; }
	.dm-loc-hang { flex-direction: row; justify-content: space-between; align-items: center; gap: 0; }
	.dm-bo-loc { gap: .677rem; padding-bottom: 0; }
	.o-loc { position: relative; }
	.nut-loc { gap: .521rem; height: 2.083rem; font-size: .729rem; line-height: .729rem; padding: .521rem .833rem; border-radius: 5.208rem; }
	.bang-loc { left: 0; top: 100%; transform: none; width: 20.833rem; gap: .521rem; border-radius: 1.042rem; padding: 1.354rem 1.146rem; }
	.chip-loc span { font-size: .729rem; line-height: .729rem; padding: .521rem .833rem; border-radius: 5.208rem; }
	.xem-kq { padding: .417rem 1.5625rem; font-size: .78125rem; line-height: .78125rem; border-radius: 5.208rem; }
	.bo-loc-xoa { font-size: .729rem; }
	.dm-sap { flex-direction: row; align-items: center; gap: 1.042rem; }
	.dm-sap > span { font-size: .781rem; line-height: 1.823rem; }
	.dm-sap:only-child { margin-left: auto; } /* không có bộ lọc: ô sắp xếp vẫn nằm bên phải như khi có */
	.sap-hien { width: 14.0625rem; gap: .521rem; padding: .677rem 1.25rem; border-radius: 5.208rem; font-size: .729rem; line-height: .729rem; }
	.sap-hien span { margin-left: .521rem; }
	.sap-hien svg { width: .99rem; height: .99rem; }
	.o-sap li a { margin-top: .3125rem; padding: .677rem 1.25rem; border-radius: 5.208rem; }
	.o-sap li a svg { width: .99rem; height: .99rem; }
	.o-sap li a span { margin-left: .521rem; font-size: .729rem; line-height: .729rem; }
	.luoi-sp { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5625rem 1.25rem; margin-top: 3.542rem; } /* gốc .grid-5 = repeat(5, 1fr) */
	.xem-them-sp { margin-top: 2.604rem; padding: .78125rem 1.5625rem; font-size: .78125rem; line-height: .78125rem; gap: .25rem; border-radius: 5.208rem; }
	.dm-mota { max-width: 62.5rem; margin-top: 4.167rem; }
	.dm-mota .noi-dung-bai p, .dm-mota .noi-dung-bai li, .dm-mota .noi-dung-bai ul { font-size: 15px; }
	.dm-mota .noi-dung-bai p { margin-bottom: .78125rem; }
	.dm-mota .noi-dung-bai li { margin-bottom: .3125rem; }
	.dm-mota > .nut { padding: .78125rem 1.5625rem; font-size: .78125rem; line-height: .78125rem; border-radius: 5.208rem; }
}
@media (min-width: 768px) and (hover: hover) { .o-loc:hover .bang-loc { display: flex; } }
@media (min-width: 1200px) { .xem-kq:hover { background: #fff; color: #000; } } /* gốc .button-black:hover */
@media (min-width: 992px) { .dm-logo { gap: 16px; } .dm-logo a { width: calc((100% - 7 * 16px) / 8); } }
@media (min-width: 1200px) { .dm-logo { gap: 20px; } .dm-logo a { width: calc((100% - 11 * 20px) / 12); } }
@media (min-width: 768px) { .tkq-nhom .luoi-sp { gap: 1.5625rem 1.25rem; } } /* trang tìm kiếm dùng cùng lưới .grid-5 của gốc */
@media (min-width: 768px) and (max-width: 1199px) {
	.luoi-sp { grid-template-columns: repeat(4, minmax(0, 1fr)); } /* gốc .product-list.grid-5 ≤1199 */
}
@media (min-width: 768px) and (max-width: 991px) {
	.luoi-sp { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	/* gốc .tablet-flex-col: lọc 1 hàng (rộng hết, cách dưới 20px), sắp xếp xuống hàng dưới căn trái */
	.dm-loc-hang { flex-direction: column; align-items: flex-start; }
	.dm-bo-loc { width: 100%; margin-bottom: 20px; }
}

/* ---------------- DESKTOP ≥1200 (rem = 1vw) ---------------- */
@media (min-width: 1200px) {
	.admin-bar .hd.dinh .hd-nav { top: 32px; }
	.hd-logo .logo-anh { height: 2.85rem; }
	.sp-dem { margin: -1rem 0 1.6rem; }
	.sp-dem .o { width: 2.8rem; height: 2.8rem; font-size: 1.1rem; }

	.ds-tin { padding: 4.375rem 0 6.146rem; }
	.ds-tin-ten, .ds-tin-muc { font-size: 1.823rem; line-height: 2.083rem; }
	.ds-tin-ten { margin: 1.042rem 0 2.396rem; }
	.ds-tin-muc { margin-bottom: 2.396rem; }
	.ds-tin-muc.trai { text-align: left; }
	.ds-tin .tin-ngay { font-size: .729rem; line-height: .938rem; margin-bottom: .625rem; }
	.tin-noi-bat { display: grid; grid-template-columns: 48.472rem minmax(0, 1fr); gap: 1.042rem; align-items: center; margin-bottom: 6.979rem; }
	.tnb-lon { border-radius: 1.042rem; }
	.tnb-lon img { aspect-ratio: auto; height: 28.226rem; }
	.tnb-lon .tnb-anh::before { right: auto; width: 67%; background: linear-gradient(90deg, rgba(0, 0, 0, .79) 0%, rgba(0, 0, 0, 0) 100%); }
	.tnb-lon .tnb-chu { left: 2.083rem; right: auto; bottom: 2.083rem; width: 22.43rem; padding: 0; }
	.tnb-lon .tin-ngay { margin-bottom: .625rem; }
	.tnb-lon h3 { font-size: 1.146rem; line-height: 1.444rem; }
	.tnb-lon .tom-tat { display: -webkit-box; }
	.tnb-nho { gap: .729rem; }
	.tnb-muc .tnb-anh { flex-basis: 9.896rem; height: 6.51rem; border-radius: 1.042rem; margin-right: 1.563rem; }
	.tnb-muc .tin-ngay { margin-bottom: .625rem; }
	.tnb-muc h3 { font-size: 1.042rem; line-height: 1.312rem; }
	.tab-cm ul { justify-content: center; overflow: visible; flex-wrap: wrap; }
	.tab-cm a { min-width: 7.292rem; margin: 0 .417rem; padding: .417rem 1.042rem; border-radius: 5.208rem; font-size: .729rem; line-height: 1.042rem; }
	.luoi-tin { grid-template-columns: repeat(4, 19.688rem); gap: 2.292rem 1.458rem; margin-top: 3.958rem; }
	.luoi-tin .tin-anh { margin-bottom: 1.563rem; }
	.luoi-tin .tin-muc h3 { font-size: 1.042rem; line-height: 1.302rem; }
	.ds-tin .trong { margin-top: 3.958rem; }
	.xem-them-tin { margin-top: 3.75rem; padding: .521rem 1.563rem; font-size: .781rem; line-height: .781rem; }
	.tkq { padding: 5.208rem 0; }
	.tkq-ten { margin-bottom: 1.221rem; font-size: 1.823rem; line-height: 2.083rem; }
	.tkq-nhom h2 { margin-bottom: 1.245rem; font-size: 1.5rem; }
	.phan-trang { gap: .4rem; margin-top: 2.6rem; }
	.phan-trang .page-numbers { min-width: 2.4rem; height: 2.4rem; font-size: .833rem; }

	.cs-woo .woo-nd { border-radius: 1.042rem; padding: 2rem 2.4rem; font-size: .9rem; }

	/* đăng nhập / đăng ký (đo ở 1440: thẻ 735px, chữ tiêu đề 37.5px) */
	.tk { padding: 5.208rem 0; }
	.tk-the, .tk .woocommerce-ResetPassword { max-width: 51.042rem; border-radius: 1.111rem; padding: 2.604rem 3.646rem; box-shadow: 0 .208rem 1.042rem rgba(0, 0, 0, .1); }
	.tk-ten { margin-bottom: .521rem; font-size: 2.604rem; line-height: 3.125rem; }
	.tk-mota { margin-bottom: .521rem; font-size: .938rem; line-height: 1.25rem; }
	.tk-chuyen { margin-bottom: 1.563rem; font-size: .729rem; line-height: 1.042rem; }
	.tk-o { margin-bottom: 1.563rem; }
	.tk-o label, .tk-nhan { margin-bottom: .625rem; font-size: .833rem; line-height: 1.146rem; }
	.tk-o input[type=text], .tk-o input[type=email], .tk-o input[type=tel], .tk-o input[type=password], .tk .woocommerce-ResetPassword input.input-text { height: 2.604rem; padding: 0 1.563rem; border-radius: 5.208rem; font-size: .833rem; }
	.tk-mk input { padding-right: 3.6rem !important; }
	.tk-mat { right: 1.042rem; width: 1.667rem; height: 1.667rem; }
	.tk-dong { margin-bottom: 1.563rem; font-size: .833rem; line-height: 1.25rem; }
	.tk-nut, .tk .woocommerce-ResetPassword .button { height: 2.604rem; border-radius: 5.208rem !important; font-size: .833rem; }
	.tk-ghi, .tk .woocommerce-ResetPassword p { margin-bottom: 1.2rem; font-size: .833rem; line-height: 1.3rem; }
	.tk-hai { gap: 0 1.4rem; }
	.tk-chon { gap: 1.5rem; height: 2.604rem; font-size: .833rem; }
	.tk .woocommerce-error, .tk .woocommerce-message, .tk .woocommerce-info { max-width: 51.042rem; margin-bottom: 1rem; border-radius: 1rem; }
	.tk .woocommerce-privacy-policy-text { margin-bottom: 1.1rem; font-size: .76rem; line-height: 1.2rem; }
	.cs-woo { padding: 6.25rem 0; }
	.gio-trong p { font-size: 1rem; }
	.gio-trong .nut { margin-top: 1.042rem; padding: .781rem 1.563rem; font-size: .781rem; line-height: .781rem; }
	.cs-woo .woocommerce { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 0 2rem; }
	.cs-woo .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
	.cs-woo .woocommerce-MyAccount-navigation ul { flex-direction: column; overflow: visible; }
	.cs-woo .woocommerce:not(:has(.woocommerce-MyAccount-navigation)) { display: block; }
	.cs-woo .woocommerce-MyAccount-navigation li a { padding: .6rem 1.1rem; font-size: .9rem; }
	.cs-woo .woocommerce-MyAccount-content { font-size: .95rem; line-height: 1.5rem; }
}

/* nội dung cũ dựng bằng Flatsome (inc/tuong-thich-flatsome.php): row = hàng cột co giãn, sản phẩm = lưới thẻ của theme */
.fs-row, .fs-row_inner, .fs-row_inner_1, .fs-vc_row { display: flex; flex-wrap: wrap; gap: 16px; margin: 0 0 16px; }
.fs-col, .fs-col_inner, .fs-col_inner_1, .fs-vc_column { flex: 1 1 260px; min-width: 0; }
.fs-anh img { display: block; max-width: 100%; height: auto; border-radius: 8px; margin: 0 auto 12px; }
.fs-tieu-de { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 18px; line-height: 24px; font-weight: 700; margin: 16px 0 12px; }
.fs-tieu-de .fs-xem { font-size: 13px; font-weight: 600; color: var(--chinh); white-space: nowrap; }
.fs-nut { display: inline-flex; margin: 8px 0 16px; padding: 10px 24px; }
.fs-sp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 20px; }
@media (min-width: 768px) { .fs-sp { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1200px) { .fs-sp { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* nội dung soạn ở site cũ gắn cứng cỡ chữ / phông (bofit 30/10/2026: 929 span + p, strong có style="font-size:75% | 14px | 12pt…",
   52 chỗ font-family; One không có) → bỏ qua, chữ theo đúng kiểu theme như One. Không sửa dữ liệu, chỉ đè lúc hiển thị.
   Tiêu đề h2/h3 gắn cứng (2 sản phẩm) trả về đúng cỡ tiêu đề của theme ở từng khổ. */
:is(.noi-dung-bai, .sp-mota .noi-dung) :is(span, p, strong, b, em, i, u, a, li, td, th, div, font)[style*="font-size"],
:is(.noi-dung-bai, .sp-mota .noi-dung) font[size] { font-size: inherit !important; }
:is(.noi-dung-bai, .sp-mota .noi-dung) [style*="font-family"],
:is(.noi-dung-bai, .sp-mota .noi-dung) font[face] { font-family: inherit !important; }
/* tiêu đề viết TÁCH selector, không dùng :is() — :is() lấy độ ưu tiên của vế mạnh nhất nên đè mất luật @media bên dưới */
.noi-dung-bai h2[style*="font-size"], .sp-mota .noi-dung h2[style*="font-size"] { font-size: 19px !important; }
.noi-dung-bai h3[style*="font-size"], .sp-mota .noi-dung h3[style*="font-size"] { font-size: 17px !important; }
@media (min-width: 768px) {
  .sp-mota .noi-dung h2[style*="font-size"] { font-size: 1.35rem !important; }
  .sp-mota .noi-dung h3[style*="font-size"] { font-size: 1.215rem !important; }
}
@media (min-width: 1200px) {
  .noi-dung-bai h2[style*="font-size"] { font-size: 1.35rem !important; }
  .noi-dung-bai h3[style*="font-size"] { font-size: 1.215rem !important; }
}
/* h1 nằm trong nội dung cũ (bofit) — theme không có kiểu h1 cho nội dung nên trình duyệt phóng 2em → hiện như h2 của theme */
.noi-dung-bai h1, .sp-mota .noi-dung h1 { font-size: 19px; line-height: 24px; font-weight: 700; margin: 0 0 16px; }
@media (min-width: 768px) { .sp-mota .noi-dung h1 { font-size: 1.35rem; line-height: 1.619rem; margin-bottom: 1.12rem; } }
@media (min-width: 1200px) { .noi-dung-bai h1 { font-size: 1.35rem; line-height: 1.619rem; margin-bottom: 1.12rem; } }
/* ảnh trong mô tả sản phẩm dựng lại (az_noi_dung_tron): căn giữa, không tràn khung */
.sp-mota .noi-dung img { display: block; max-width: 100%; height: auto; margin: 0 auto; border-radius: 8px; }
.sp-mota .noi-dung iframe, .sp-mota .noi-dung video { display: block; width: 100%; max-width: 720px; height: auto; aspect-ratio: 16 / 9; margin: 0 auto; border: 0; border-radius: 8px; background: #000; }
/* Smush ép khung chờ 100x100 !important: giữ đúng khung video để trang không nhảy */
.sp-mota .noi-dung iframe.lazyload, .sp-mota .noi-dung iframe.lazyloading { width: 100% !important; aspect-ratio: 16 / 9 !important; }

/* tắt sao ở đầu trang sản phẩm (ô sp_sao_tinh_trang): mã SP / thương hiệu thành mục đầu thì khỏi thụt lề; không còn gì thì bỏ cả hàng */
.sp-meta .ma:first-child, .sp-meta .hang-sx:first-child { margin-left: 0; }
.sp-meta:not(:has(*)) { display: none; }

/* mô tả ngắn chung trong hộp mua (ô sp_mo_ta_ngan) */
.sp-mo-ta-ngan { margin: 0 0 16px; padding: 0; list-style: none; font-size: 14px; line-height: 1.5; color: var(--chu); }
.sp-mo-ta-ngan li { display: flex; align-items: flex-start; gap: 8px; }
.sp-mo-ta-ngan li + li { margin-top: 8px; }
.sp-mo-ta-ngan svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--chinh); }

/* hotline khi tắt ô nhắn tin (.mot-o): luôn gọn một hàng, nút gọi cam bên phải giữ nguyên, hẹp thì nhãn tự xuống dòng */
.lien-he-mua.mot-o { padding-top: 16px; border-top: 1px solid var(--vien-ft); }
.lien-he-mua.mot-o .o { display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; }
.lien-he-mua.mot-o .td { flex: 1 1 auto; min-width: 0; margin: 0; line-height: 1.3; }
.lien-he-mua.mot-o .sdt { display: inline-flex; flex: none; width: auto; margin: 0; padding: 8px 14px; border: 0; background: var(--cam-dam); color: #fff; white-space: nowrap; }
.lien-he-mua.mot-o .sdt svg { width: 18px; height: 18px; margin: 0 2px 0 0; color: #fff; }
.lien-he-mua.mot-o .sdt:hover { background: var(--cam); color: #fff; }

/* ô Thông tin công ty có dòng trống = nhiều cột (footer.php); dòng đầu mỗi cột là tiêu đề */
.ft-chu.nhieu-o { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 32px; }
.ft-tieu { margin-bottom: 8px; font-size: var(--c14, 14px); line-height: 1.4; font-weight: 700; color: #000; }
.ft-dong { display: flex; align-items: flex-start; gap: 8px; }
.ft-dong + .ft-dong { margin-top: 6px; }
.ft-ic { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--chinh-dam); color: #fff; }
.ft-ic .ic { width: 13px; height: 13px; }
.ft-dong b { font-weight: 600; }
.the-tt .ic { flex: none; width: 16px; height: 16px; margin-right: 5px; color: var(--chinh-dam); }
.ft-tt:has(.the-tt .ic) { flex-wrap: wrap; }
/* Tổng đài đứng đầu chân trang, số điện thoại có icon (ô ft_td_truoc) */
.ft-tong-dai li a { display: flex; align-items: center; gap: 8px; }
.ft-tong-dai li b { font-weight: 700; }
.ft-cot.rong.ft-tong-dai { margin-top: 0; } /* .rong cách trên 20px để xuống hàng; cột đứng đầu thì không */
@media (max-width: 767px) {
	.ft-cot.rong.ft-tong-dai { width: 100%; margin-bottom: 20px; }
}
@media (min-width: 768px) and (max-width: 991px) {
	.ft-cot-ds:has(.ft-tong-dai) .ft-cot:nth-child(n+4) { margin-top: 20px; }
}
/* Kết nối thay cột Hỗ trợ khách hàng (ô ft_ketnoi_cot) */
.ft-cot .ft-ketnoi { width: auto; gap: 8px; }
.ft-cot .ft-ketnoi a { flex: none; margin: 0; }
@media (max-width: 767px) {
	.ft-cot.rong.ft-ket-noi-cot { width: 100%; }
}
/* Yêu cầu tư vấn ở chân trang, khuôn azpos.vn (ô ft_tv_tieu_de) */
.ft-tv-dau .ft-giua { border-top: 0; border-bottom: 1px solid var(--vien-ft); }
.ft-tv-dan { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.ft-tv-dan .ft-ic { width: 38px; height: 38px; }
.ft-tv-dan .ft-ic .ic { width: 20px; height: 20px; }
.ft-tuvan .ft-tv-dan .nhan { margin: 0; white-space: normal; font-weight: 700; }
.ft-tv-phu { font-size: 13px; line-height: 1.4; color: var(--chu); }
.ft-tuvan form.ft-tv-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: 100%; padding: 0; background: none; border-radius: 0; }
.ft-tuvan .ft-tv-form input:not(.o-bay) { flex: none; width: 100%; height: 44px; padding: 0 14px; border: 1px solid var(--vien-ft); border-radius: 8px; background: #fff; line-height: 1.4; }
.ft-tuvan .ft-tv-form button { grid-column: 1 / -1; width: auto; height: 44px; padding: 0 22px; border-radius: 8px; background: var(--nut-cam); color: #fff; font-size: 14px; font-weight: 700; white-space: nowrap; }
.ft-tuvan .ft-tv-form .bao { grid-column: 1 / -1; margin: 0; font-size: 13px; line-height: 1.4; }
@media (min-width: 768px) {
	.ft-tuvan form.ft-tv-form { grid-template-columns: repeat(2, minmax(0, 1fr)) auto; padding: 0; }
	.ft-tuvan .ft-tv-form button { grid-column: auto; }
}
@media (min-width: 768px) and (max-width: 1299px) { /* chưa đủ chỗ 1 hàng: câu dẫn nằm trên ô nhập */
	.ft-tuvan { flex-direction: column; align-items: stretch; }
	.ft-tv-dan { margin-bottom: 10px; }
}
@media (min-width: 1300px) {
	.ft-tuvan { gap: 1.5rem; }
	.ft-tv-dan { flex: none; margin: 0; }
	.ft-tuvan form.ft-tv-form { flex: 1; min-width: 0; }
}
/* Khối tư vấn đứng một mình cả hàng khi Kết nối đã sang cột */
.ft-dangky.day-du { width: 100%; padding-right: 0; }
@media (min-width: 768px) {
	.ft-tv-dau .ft-giua { padding: 1.563rem 0; } /* azpos.vn: 30px ở khổ 1920 */
}
@media (min-width: 992px) {
	.ft-tuvan.day-du { flex-direction: row; align-items: center; gap: 1.5rem; }
	.ft-tuvan.day-du .ft-tv-dan { flex: none; margin: 0; }
	.ft-tuvan.day-du form.ft-tv-form { flex: 1; min-width: 0; }
}
/* Logo Bộ Công Thương ở đáy chân trang (ô bct_anh) */
.ft-bct { width: 100%; }
.ft-bct a { display: inline-block; }
.ft-bct img { display: block; width: 120px; max-width: 100%; height: auto; }
@media (min-width: 992px) {
	.ft-bct { flex: none; display: flex; justify-content: flex-end; width: 25%; }
	.ft-bct img { width: max(7.8rem, 120px); } /* azpos.vn: 150x45 ở khổ 1920; khổ 1200 rem còn 12px nên chặn dưới cho đọc được chữ */
}
/* Ô bct_ketnoi (bofit 27/11/2026): logo nằm trong cột Kết nối, TRÊN hàng icon mạng xã hội (anh Vinh), nhỏ lại */
.ft-ket-noi-cot .ft-bct { display: block; width: auto; margin: 0 0 12px; }
.ft-ket-noi-cot .ft-bct img { width: 110px; }
@media (min-width: 992px) {
	.ft-ket-noi-cot .ft-bct img { width: 130px; }
}
@media (max-width: 767px) { .ft-chu.nhieu-o { grid-template-columns: minmax(0, 1fr); } }

/* Trang danh mục gọn (tuỳ chọn dm_gon, mặc định tắt): tên + chip + sắp xếp gộp thành đầu trang thấp.
   Dưới 1200: tên + sắp xếp 1 hàng, chip hàng dưới (điện thoại trượt ngang). Từ 1200: cả 3 một hàng. */
.vet-dan:has(+ .dm-gon) { padding-top: 8px; padding-bottom: 0; }
.dm-gon .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 16px; align-items: center; padding-top: 8px; }
.dm-gon .wrap > * { grid-column: 1 / -1; min-width: 0; order: 4; }
.dm-gon .dm-banner { order: 0; margin-bottom: 0; }
.dm-gon .dm-ten { grid-column: 1; order: 1; padding: 0; text-align: left; }
.dm-gon .dm-con { order: 2; display: flex; flex-wrap: nowrap; gap: 8px; margin: 0 -10px; padding: 0 10px; overflow-x: auto; scrollbar-width: none; }
.dm-gon .dm-con::-webkit-scrollbar { display: none; }
.dm-gon .dm-con a { padding: 6px 16px; line-height: 1.4; white-space: nowrap; }
.dm-gon .dm-loc { order: 3; }
.dm-gon .dm-loc:not(.co-loc) { grid-column: 2; order: 1; }
.dm-gon .dm-sap > span { display: none; } /* ô sắp xếp đã có icon + title, bỏ nhãn cho gọn */
.dm-gon .sap-hien { width: max-content; gap: 6px; padding: 6px 12px; white-space: nowrap; }
.dm-gon .sap-hien span { margin-left: 0; }
.dm-gon .sap-hien svg { width: 16px; height: 16px; }
.dm-gon .o-sap ul { left: auto; right: 0; width: max-content; min-width: 100%; }
.dm-gon .o-sap li a { padding: 6px 12px; }
.dm-gon .luoi-sp { margin-top: 6px; }
@media (min-width: 768px) {
	.dm-gon .dm-con { flex-wrap: wrap; margin: 0; padding: 0; overflow: visible; }
}
@media (min-width: 1200px) {
	.dm-gon .wrap { grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 24px; }
	.dm-gon .dm-con { grid-column: 2; order: 1; }
	.dm-gon .dm-loc:not(.co-loc) { grid-column: 3; }
}

/* Submenu ☰ gọn (tuỳ chọn menu_gon, mặc định tắt): danh sách hẹp mở cạnh đúng dòng đang rê, mỗi mục có icon */
.mega.gon > ul { box-shadow: 0 8px 24px rgba(0, 0, 0, .12); }
.mega.gon > ul > li { position: relative; }
.mega.gon .mega-con {
	left: calc(100% + .833rem + 6px); top: -8px; width: max-content; min-width: 230px; max-width: 340px; min-height: 0; padding: 6px;
	flex-direction: column; flex-wrap: nowrap; border: 1px solid var(--vien-ft, #e6e6e6); border-radius: 12px; box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
	transform: translateY(6px); transition: all .2s ease-in-out;
}
.mega.gon .mega-con::before { content: ""; position: absolute; top: 0; bottom: 0; right: 100%; width: calc(.833rem + 8px); } /* cầu nối: đưa chuột ngang sang không bị mất menu */
.mega.gon > ul > li:nth-last-child(-n+4) > .mega-con { top: auto; bottom: -8px; } /* mấy dòng cuối mở ngược lên cho khỏi tràn màn hình */
.mega.gon .mega-con > li { width: auto; padding: 0; margin: 0; }
.mega.gon .mega-con > li > a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; font-weight: 500; white-space: nowrap; }
.mega.gon .mega-con > li > a .ic { flex: none; width: 20px; height: 20px; color: var(--chinh); }
.mega.gon .mega-con > li > a:hover { background: var(--nen-nhom-le, var(--chinh-nhat)); }
.mega.gon .mega-con ul { margin: 0 0 4px 40px; }
.mega-nhan { margin-top: 4px; padding: 10px 0 4px; border-top: 1px solid #eee; font-size: var(--c12, 12px); font-weight: 700; letter-spacing: .04em; color: var(--chu-phu); }

/* Thẻ mô tả rộng hết 2 cột (tuỳ chọn sp_mota_rong, mặc định tắt): xuống hàng riêng dưới ảnh + hộp mua, thẳng mép ảnh và mép hộp mua. Điện thoại vẫn theo order của .sp-hang */
@media (min-width: 768px) {
	.sp-hang.mota-rong { flex-wrap: wrap; }
	.sp-hang.mota-rong .sp-anh { margin-bottom: 24px; }
	.sp-hang.mota-rong > .sp-mota { flex: 0 0 100%; min-width: 0; margin-top: 16px; }
}
@media (min-width: 1200px) {
	.sp-hang.mota-rong > .sp-mota { flex-basis: calc(100% - 6.25rem); } /* trừ 2 lề 3,125rem của .sp-trai và .sp-phai; .sp-hang căn giữa nên tự đều 2 bên */
}

/* Đầu trang + menu điện thoại, máy tính bảng gọn (tuỳ chọn menu_gon, mặc định tắt): nút ☰ ở đầu trang, ngăn kéo danh sách có icon như menu máy tính */
.hd-nut-menu { display: none; }
@media (max-width: 991px) {
	.hd-nut-menu { flex: none; display: grid; place-items: center; width: 36px; height: 36px; margin-right: 8px; border-radius: 50%; background: var(--nen-nut-menu); color: var(--chinh); }
	.hd-nut-menu .ic { width: 22px; height: 22px; }
	.mcat.gon { display: block; padding: 0; background: rgba(0, 0, 0, 0); transform: none; visibility: hidden; transition: background .25s, visibility .25s; }
	.mcat.gon.mo { background: rgba(0, 0, 0, .45); visibility: visible; }
	.mcat-hop { display: flex; flex-direction: column; width: min(86vw, 360px); height: 100%; background: #fff; border-radius: 0 16px 16px 0; overflow: hidden; box-shadow: 8px 0 24px rgba(0, 0, 0, .15); transform: translateX(-100%); transition: transform .25s ease-in-out; }
	.mcat.gon.mo .mcat-hop { transform: none; }
	.mcat-dau { flex: none; display: flex; align-items: center; justify-content: space-between; padding: 10px 12px 10px 16px; background: var(--hd-nen); color: #fff; font-size: var(--c16, 16px); line-height: 1.4; font-weight: 700; }
	.mcat-dong { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .2); color: #fff; }
	.mcat-dong .ic { width: 18px; height: 18px; }
	.mcat-ds { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 6px 8px 96px; } /* chừa thanh đáy */
	.mcat-ds > li > a { display: flex; align-items: center; gap: 10px; padding: 11px 8px; border-radius: 8px; font-size: var(--c14, 14px); line-height: 1.3; font-weight: 500; color: #333; }
	.mcat-ds > li > a .ic { flex: none; width: 22px; height: 22px; color: #333; }
	.mcat-ds > li > a .mui { width: 16px; height: 16px; margin-left: auto; color: #949494; transition: transform .2s; }
	.mcat-ds > li.mo > a { background: var(--chinh-nhat); color: var(--chinh-dam); font-weight: 600; }
	.mcat-ds > li.mo > a .ic { color: var(--chinh-dam); }
	.mcat-ds > li.mo > a .mui { transform: rotate(90deg); }
	.mcat-con { display: none; margin: 4px 0 8px 18px; padding-left: 8px; border-left: 2px solid var(--chinh-nhat); }
	.mcat-ds > li.mo > .mcat-con { display: block; }
	.mcat-con a { display: flex; align-items: center; gap: 10px; padding: 9px 8px; border-radius: 8px; font-size: var(--c14, 14px); line-height: 1.3; font-weight: 500; color: #333; }
	.mcat-con a .ic { flex: none; width: 20px; height: 20px; color: var(--chinh); }
	.mcat-con a:active { background: var(--chinh-nhat); }
	.mcat-con .mcat-xem { font-weight: 600; color: var(--chinh-dam); }
	.mcat-nhan { margin: 6px 8px 0; padding: 10px 0 4px; border-top: 1px solid #eee; font-size: var(--c12, 12px); font-weight: 700; letter-spacing: .04em; color: var(--chu-phu); }
}
@media (max-width: 767px) {
	/* 1 hàng: ☰ · logo · ô tìm kiếm; gợi ý tìm kiếm neo theo cả hàng cho đủ rộng */
	.hd-gon .hd-main { padding: 10px 0; }
	.hd-gon .hd-row { position: relative; flex-wrap: nowrap; justify-content: flex-start; }
	.hd-gon .hd-logo { flex: none; margin-right: 10px; }
	.hd-gon .hd-logo .chu small { display: none; }
	.hd-gon .hd-search { position: static; flex: 1; width: auto; min-width: 0; min-height: 36px; margin: 0; padding: 0 6px 0 14px; }
	.hd-gon .goi-y { margin-top: 10px; }
}

/* Ô số lượng + nút Mua hàng có icon giỏ hàng, ngay trên hotline (tuỳ chọn sp_dat_hang) */
.mua-hang-hang { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.mua-hang-hang .nut-dat-hang { flex: 1; width: auto; min-width: 0; height: 46px; margin-bottom: 0; padding: 0 8px; box-sizing: border-box; }
.chon-sl { flex: none; display: flex; align-items: stretch; height: 46px; box-sizing: border-box; overflow: hidden; border: 1px solid var(--vien-ft, #ddd); border-radius: 8.33px; background: #fff; }
.chon-sl button { width: 34px; height: 100%; min-height: 0; padding: 0; font-size: 18px; line-height: 1; color: var(--chu); }
.chon-sl button:hover { background: var(--chinh-nhat); }
.chon-sl input { width: 38px; height: 100%; min-height: 0; padding: 0; border: 0; outline: 0; background: transparent; text-align: center; font-size: 16px; font-weight: 600; color: var(--chu); appearance: textfield; -moz-appearance: textfield; }
.chon-sl input::-webkit-outer-spin-button, .chon-sl input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.nut-tuvan.nut-dat-hang { display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; background: var(--nut-cam); }
.nut-dat-hang .ic { flex: none; width: 22px; height: 22px; color: #fff; }
.nut-dat-hang strong { text-transform: none; }
.thanh-mua .nut-mua .ic { flex: none; width: 20px; height: 20px; margin-right: 6px; color: #fff; }
/* Tắt đặt hàng (ô tat_dat_hang): điện thoại nút Zalo, máy tính nút cuộn xuống form yêu cầu tư vấn */
.mua-tu-van { margin-bottom: 12px; }
.mua-tu-van .nut-tuvan { display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; margin-bottom: 0; padding: 0 8px; border: 0; background: var(--nut-cam); box-sizing: border-box; }
.mua-tu-van .nut-tuvan .ic { flex: none; width: 22px; height: 22px; color: #fff; }
.mua-tu-van .nut-tuvan strong { text-transform: none; }
.mua-tu-van .nut-zalo-tv, .thanh-mua .nut-mua.nut-zalo-tv { background: #0068ff; }
/* icon Zalo chính thức (ảnh) thay SVG trên nút "Zalo đặt hàng" — 15/11/2026; nền logo trùng màu nút nên chỉ nổi bóng thoại trắng */
.nut-zalo-tv .ic-zalo { border-radius: 5px; object-fit: contain; }
@media (max-width: 767px) { .mua-tu-van .nut-yc-tv { display: none; } }
@media (min-width: 768px) { .mua-tu-van .nut-zalo-tv { display: none; } }

/* Logo ảnh: đầu trang theo cỡ chữ logo, chân trang đặt trên khối màu chủ đạo vì logo trắng */
.hd-gon .hd-logo { width: auto; }
.hd-gon .hd-logo .logo-anh { width: auto; height: 40px; }
@media (max-width: 767px) { .hd-gon .hd-logo .logo-anh { height: 30px; } }
.ft-logo.co-anh { flex: none; display: block; width: max-content; padding: 8px 12px; border-radius: 10px; background: var(--chinh-dam); }
.ft-logo.co-anh img { display: block; width: auto; height: 36px; }
/* Trang chủ, mỗi nhóm 1 khối: đủ cả danh sách sản phẩm, 2 cột điện thoại, 4 cột máy bảng, 5 cột máy tính */
.nhom-mot-khoi .nhom-ds > .the-sp:nth-child(n+5) { display: block; }
@media (min-width: 768px) {
  .nhom-mot-khoi .nhom-ds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .nhom-mot-khoi .nhom-ds > .the-sp { width: auto; max-width: none; }
}
@media (min-width: 992px) {
  .nhom-mot-khoi .nhom-ds { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
/* Menu gọn: thanh ngang đủ tên danh mục như dữ liệu, thiếu chỗ thì tên xuống 2 dòng, không tràn trang */
@media (min-width: 992px) {
  .hd-gon .hd-menu { display: grid; grid-auto-flow: column; grid-auto-columns: auto; justify-content: space-between; align-items: center; }
  .hd-gon .hd-menu > li:not(.hd-cat) > a { white-space: normal; line-height: 1.25; padding-left: 6px; padding-right: 6px; }
  .hd-gon .hd-menu > li:not(.hd-cat) > a .ic { flex: none; }
}

/* Chân trang nền tối (Giao diện AZPOS → Màu nền chân trang; bofit #302f34, 27/11/2026): chữ trắng, viền trắng mờ,
   rê chuột sang màu chủ đạo; logo trắng đứng thẳng trên nền tối nên bỏ khối màu sau logo */
.ft-toi .ft { --nen-ft: var(--mau-ft); --vien-ft: rgba(255, 255, 255, .14); color: #fff; }
.ft-toi .ft-cot .tieu-de, .ft-toi .ft-cot li a, .ft-toi .ft-dangky .nhan, .ft-toi .ft-ketnoi .nhan, .ft-toi .ft-tv-phu,
.ft-toi .ft-chu, .ft-toi .ft-tieu, .ft-toi .ft-logo .chu, .ft-toi .ft-logo .chu small, .ft-toi .ft-tt .nhan { color: #fff; }
.ft-toi .ft-cot li a:hover, .ft-toi .ft-chu a:hover { color: var(--chinh); }
.ft-toi .ft-ic { background: var(--chinh); color: var(--mau-ft); }
.ft-toi .ft-logo.co-anh { padding-left: 0; padding-right: 0; background: none; }

/* Nút hành động màu riêng thay cam (Giao diện AZPOS → Màu nút; bofit #302f34, 27/11/2026): một màu, chữ trắng, rê chuột sáng lên.
   --nut-cam đã đổi trong az_mau_css; đây là các nút tô cam thẳng. Nhãn giảm giá, đồng hồ đếm ngược không phải nút → giữ cam. */
/* nút "Zalo đặt hàng" (.nut-zalo-tv) cũng theo Màu nút — bofit 27/11 chiều anh Vinh bảo đổi sang đen; logo Zalo (ảnh nền xanh)
   vẫn giữ nên khách vẫn nhận ra Zalo. Luật gốc xanh #0068ff ở trên có 2–3 lớp → ở đây ghi đủ lớp để thắng. */
.co-mau-nut .hd-hotline, .co-mau-nut .lien-he-mua .sdt, .co-mau-nut .nut-tuvan, .co-mau-nut .thanh-mua .nut-mua, .co-mau-nut .thanh-mua .nut-tragop,
.co-mau-nut .mua-tu-van .nut-zalo-tv, .co-mau-nut .thanh-mua .nut-mua.nut-zalo-tv,
.co-mau-nut .nut-len { background: var(--nut-cam); border-color: var(--nut-cam); color: #fff; }
.co-mau-nut .hd-hotline svg { color: var(--nut-cam); }
.co-mau-nut .lien-he-mua .sdt svg { color: #fff; }
/* Nhóm "Xem tất cả / Xem thêm / Gửi thông tin" (.nut.nut-cam) + nút Hotline thanh mua điện thoại (.nut-icon, vốn chỉ có viền)
   cũng theo Màu nút (bofit 27/11 chiều: "các nút trên web đổi sang màu đen chữ trắng"). */
.co-mau-nut .nut.nut-cam, .co-mau-nut .thanh-mua .nut-icon { background: var(--nut-cam); border-color: var(--nut-cam); color: #fff; }
.co-mau-nut .thanh-mua .nut-icon svg { color: #fff; }
/* rê chuột: mờ đi một chút (nút đen thì brightness không đổi được gì) */
.co-mau-nut .hd-hotline:hover, .co-mau-nut .lien-he-mua .sdt:hover, .co-mau-nut .nut-len:hover, .co-mau-nut .nut.nut-cam:hover,
.co-mau-nut .nut-tuvan:hover, .co-mau-nut .thanh-mua .nut-mua:hover { background: var(--nut-cam); color: #fff; filter: none; opacity: .82; }
.co-mau-nut .cs-woo .woo-nd .button, .co-mau-nut .cs-woo .woo-nd button.button, .co-mau-nut .tk-nut, .co-mau-nut .tk .woocommerce-ResetPassword .button {
  background: var(--nut-cam) !important; border-color: var(--nut-cam) !important; color: #fff !important; }
/* nút cùng màu nền chân trang tối (bofit: cả hai #302f34) → viền trắng mảnh cho thấy khối nút */
.ft-toi.co-mau-nut .ft-dangky button { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6); }
.ft-toi.co-mau-nut .ft-dangky button:hover { box-shadow: inset 0 0 0 1px #fff; }
.ft-toi.co-mau-nut .nut-len { box-shadow: 0 0 0 1px rgba(255, 255, 255, .45); } /* nút lên đầu trang nổi trên chân trang cùng màu */

/* Hàng menu đầu trang nền màu chủ đạo (Giao diện AZPOS → ô hd_nav_chinh; bofit #0fddf5, 27/11/2026). Chữ + icon tối
   (màu nền chân trang, mặc định #222) vì chữ trắng trên màu sáng khó đọc; rê chuột = ô trắng mờ thay đổi màu chữ */
.hd-nav-chinh .hd-menu > li > a { color: var(--mau-ft, #222); border-radius: 8px; transition: background .2s; }
.hd-nav-chinh .hd-menu > li > a:hover { color: var(--mau-ft, #222); background: rgba(255, 255, 255, .35); }
.hd-nav-chinh .hd-cat > .nut-ba-gach { color: var(--mau-ft, #222); }

/* Trang SP: nút "Yêu cầu tư vấn" + nút gọi màu chủ đạo PHẲNG (ô nut_tv_chinh; bofit 27/11/2026 — anh Vinh thử chuyển sắc rồi
   chốt một màu). Chữ + icon tối (màu chân trang, mặc định #222) như hàng menu: chữ trắng trên #0fddf5 chỉ 1,7:1, không đọc được. */
.nut-tv-chinh .mua-tu-van .nut-yc-tv, .nut-tv-chinh .lien-he-mua .sdt, .nut-tv-chinh .thanh-mua .nut-icon {
  background: var(--chinh); border-color: var(--chinh); color: var(--mau-ft, #222); }
.nut-tv-chinh .lien-he-mua .sdt svg, .nut-tv-chinh .thanh-mua .nut-icon svg { color: var(--mau-ft, #222); }
.nut-tv-chinh .mua-tu-van .nut-yc-tv:hover, .nut-tv-chinh .lien-he-mua .sdt:hover {
  background: var(--chinh); color: var(--mau-ft, #222); filter: brightness(.94); }

/* Nút "Yêu cầu tư vấn" + nút gọi số Hotline trong khung mua trang SP (bofit 27/11/2026, anh Vinh): KHÔNG nền, viền 1px
   cùng màu đường kẻ dưới giá (màu chủ đạo pha 60% trắng; trình duyệt cũ không có color-mix thì --vien-ft), chữ + icon đen;
   rê chuột nền xám nhạt. Nút đen khác (Hotline đầu trang, thanh dưới điện thoại, chân trang…) vẫn nền đen chữ trắng. */
.co-mau-nut .mua-tu-van .nut-yc-tv, .co-mau-nut .lien-he-mua .sdt { --vien-nut: var(--vien-ft); background: none; border: 1px solid var(--vien-nut); color: #000; }
@supports (color: color-mix(in srgb, red 50%, #fff)) {
  .co-mau-nut .mua-tu-van .nut-yc-tv, .co-mau-nut .lien-he-mua .sdt { --vien-nut: color-mix(in srgb, var(--chinh) 60%, #fff); }
}
.co-mau-nut .mua-tu-van .nut-yc-tv svg, .co-mau-nut .mua-tu-van .nut-yc-tv .ic, .co-mau-nut .lien-he-mua .sdt svg { color: #000; }
.co-mau-nut .mua-tu-van .nut-yc-tv:hover, .co-mau-nut .lien-he-mua .sdt:hover { background: var(--xam); color: #000; opacity: 1; filter: none; }
/* Nút số Hotline trong khung mua (anh Vinh 27/11): khối giống nút "Yêu cầu tư vấn" — nền #f5f5f7, viền #e3e3e6 —
   nhưng số điện thoại + icon màu cam #fe4f00 (= --cam-dam); rê chuột nền #e9e9ec viền #d6d6da. */
.co-mau-nut .lien-he-mua .sdt { background: #f5f5f7; border-color: #e3e3e6; color: var(--cam-dam); }
.co-mau-nut .lien-he-mua .sdt svg { color: var(--cam-dam); }
.co-mau-nut .lien-he-mua .sdt:hover { background: #e9e9ec; border-color: #d6d6da; color: var(--cam-dam); }
/* Hotline đầu trang (anh Vinh 27/11, chốt "nền xám, số màu cam" + "chữ hotline màu cam luôn"): nền #f5f5f7, chữ "Hotline"
   + số + icon cam #fe7c21 (icon trong vòng tròn trắng); rê chuột nền #e9e9ec. */
.co-mau-nut .hd-hotline { background: #f5f5f7; border-color: #f5f5f7; color: #fe7c21; }
.co-mau-nut .hd-hotline span, .co-mau-nut .hd-hotline b, .co-mau-nut .hd-hotline svg { color: #fe7c21; }
.co-mau-nut .hd-hotline:hover { background: #e9e9ec; border-color: #e9e9ec; color: #fe7c21; opacity: 1; filter: none; }
/* "Yêu cầu tư vấn" chốt cuối (anh Vinh 27/11): nền #f5f5f7, viền xám đậm hơn nền một chút #e3e3e6, chữ + icon tai nghe đen;
   rê chuột nền #e9e9ec, viền #d6d6da. (Nút số Hotline bên dưới vẫn không nền, viền cyan nhạt, chữ + icon cam.) */
.co-mau-nut .mua-tu-van .nut-yc-tv { background: #f5f5f7; border-color: #e3e3e6; color: #000; }
.co-mau-nut .mua-tu-van .nut-yc-tv strong, .co-mau-nut .mua-tu-van .nut-yc-tv:hover strong,
.co-mau-nut .mua-tu-van .nut-yc-tv svg, .co-mau-nut .mua-tu-van .nut-yc-tv .ic { color: #000; }
.co-mau-nut .mua-tu-van .nut-yc-tv { transition: background .2s ease, border-color .2s ease, color .2s ease; }
/* rê chuột (anh Vinh 28/11): nền + viền màu chủ đạo, chữ + icon trắng — như nút "Xem tất cả" */
.co-mau-nut .mua-tu-van .nut-yc-tv:hover { background: var(--chinh); border-color: var(--chinh); color: #fff; }
.co-mau-nut .mua-tu-van .nut-yc-tv:hover strong, .co-mau-nut .mua-tu-van .nut-yc-tv:hover svg, .co-mau-nut .mua-tu-van .nut-yc-tv:hover .ic { color: #fff; }
/* Nhãn "Còn hàng" ở trang SP màu chủ đạo (anh Vinh 27/11): nền --chinh, chữ tối như mọi chữ trên nền cyan
   (thử nền cyan nhạt + chữ cyan thì gần như không đọc được). Hết hàng / sắp về giữ màu riêng. */
.mau-phang .sp-nhan .kho.instock { background: var(--chinh); color: var(--mau-ft, #222); }
/* Icon mạng xã hội chân trang (Facebook, YouTube, Zalo, TikTok) màu chủ đạo (anh Vinh 27/11): vòng tròn --chinh, hình icon tối
   như các icon liên hệ .ft-ic bên cạnh. phoi-mau.css tô màu từng hãng bằng a[aria-label=…] (0,2,1) và nạp sau → ghi 0,3,1 để thắng. */
.ft-toi .ft-ketnoi a[aria-label] { background: var(--chinh); color: #fff; } /* 27/11 sau: anh bảo icon đổi lại màu trắng */
.ft-toi .ft-ketnoi a[aria-label]:hover { opacity: .85; }
/* Nút "Xem thêm / Thu gọn" mô tả SP giống nút "Yêu cầu tư vấn" (anh Vinh 27/11): không nền, viền 1px màu chủ đạo pha 60% trắng,
   chữ màu chủ đạo, rê chuột nền xám nhạt; giữ dáng viên thuốc của nút. Ghi 4 lớp để thắng .co-mau-nut .nut.nut-cam (nền đen). */
.co-mau-nut .nut.nut-cam.nut-xemthem { --vien-nut: var(--vien-ft); background: none; border: 1px solid var(--vien-nut); color: #000; } /* chữ đen: anh đổi lại 27/11 */
@supports (color: color-mix(in srgb, red 50%, #fff)) { .co-mau-nut .nut.nut-cam.nut-xemthem { --vien-nut: color-mix(in srgb, var(--chinh) 60%, #fff); } }
.co-mau-nut .nut.nut-cam.nut-xemthem { transition: background .2s ease, border-color .2s ease, color .2s ease; }
/* rê chuột (anh Vinh 28/11): nền + viền màu chủ đạo, chữ + mũi tên trắng — như "Xem tất cả" / "Yêu cầu tư vấn" */
.co-mau-nut .nut.nut-cam.nut-xemthem:hover { background: var(--chinh); border-color: var(--chinh); color: #fff; opacity: 1; filter: none; }
/* Dấu tích tròn của mô tả ngắn trang SP (anh Vinh 27/11 "đổi màu #f5f5f7"): vòng tròn nền #f5f5f7 viền #e3e3e6, dấu tích đen —
   giống nút "Yêu cầu tư vấn". Không tô NÉT #f5f5f7 vì trên nền trắng icon gần như biến mất (đã thử trên trang). */
.co-mau-nut .sp-mo-ta-ngan svg { color: #000; }
.co-mau-nut .sp-mo-ta-ngan svg circle { fill: #f5f5f7; stroke: #e3e3e6; }
/* Phần "Mô tả sản phẩm" trang SP chữ đen (anh Vinh 27/11): tiêu đề "Mô tả sản phẩm" (trước xanh đậm --chinh-toi) và chữ nội dung
   (trước #333) — gồm đoạn văn, tiêu đề con, danh sách, chữ đậm, liên kết trong bài. */
.mau-phang .sp-mota::before, .mau-phang .sp-mota .noi-dung, .mau-phang .sp-mota .noi-dung :is(p, li, h2, h3, h4, strong, b, a, span, td, th) { color: #000; }
/* Nút "Tư vấn" form chân trang (anh Vinh 27/11): nền + viền màu chủ đạo, chữ trắng — thay nền đen + vòng trắng mờ trước đó;
   rê chuột mờ đi chút. */
.ft-toi.co-mau-nut .ft-dangky button { background: var(--chinh); border: 1px solid var(--chinh); color: #000; box-shadow: none; } /* chữ + icon đen: anh đổi lại 27/11 */
.ft-toi.co-mau-nut .ft-dangky button:hover { background: var(--chinh); color: #000; box-shadow: none; opacity: .88; }
/* Nút "Yêu cầu tư vấn" form chân trang (anh Vinh 27/11: to ra, rộng hơn, có icon): icon tai nghe như nút trang SP, chữ 15px,
   rộng tối thiểu 210px ở máy tính (điện thoại vốn trải cả hàng); cao giữ 44px bằng 2 ô nhập để hàng thẳng. */
.ft-tuvan .ft-tv-form button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 28px; font-size: 15px; }
.ft-tuvan .ft-tv-form button .ic { flex: none; width: 20px; height: 20px; color: currentColor; }
@media (min-width: 768px) { .ft-tuvan .ft-tv-form button { min-width: 210px; } }
/* Nút Zalo nổi (vòng tròn góc phải, máy tính) màu chủ đạo thay xanh Zalo #0068ff (anh Vinh 27/11): viền + chữ "Zalo" --chinh,
   bóng đổ ngả màu chủ đạo. */
.co-mau-nut .nut-zalo { box-shadow: 0 4px 16px color-mix(in srgb, var(--chinh) 35%, transparent); }
.co-mau-nut .nut-zalo span { border-color: var(--chinh); color: var(--chinh); }
/* Nút "Xem thêm / Thu gọn" có mũi tên (anh Vinh 27/11 "có icon cho đẹp"): xuống khi đang thu gọn, lên khi đã mở. Chỉ đổi kiểu
   hiển thị của chữ đang hiện (inline → inline-flex) — luật ẩn/hiện .mo/.dong ở trang-con.css giữ nguyên. */
.nut-xemthem .mo, .sp-mota:not(.thu-gon) .nut-xemthem .dong { display: inline-flex; align-items: center; gap: 6px; }
.nut-xemthem .ic { flex: none; width: 16px; height: 16px; }
/* Trang chủ: dải nền nhóm chẵn (#nhom-2 "Máy chạy bộ điện"…) #f5f5f7 thay cam nhạt #fff3ee (anh Vinh 27/11). Đè biến trên body
   nên mọi nhóm chẵn đều xám; nhóm lẻ vẫn xanh nhạt theo màu chủ đạo. */
.mau-phang { --nen-nhom-chan: #f5f5f7; }
/* Nút "Xem tất cả" mỗi nhóm trang chủ có mũi tên sang phải (anh Vinh 27/11 "thêm icon cho đẹp") — front-page.php */
.dm-tieude .nut, .nhom-xemtat { gap: 6px; }
.dm-tieude .nut .ic, .nhom-xemtat .ic { flex: none; width: 16px; height: 16px; }
/* Điện thoại, trang SP: nút "Zalo đặt hàng" trong khung mua (chỗ nút "Yêu cầu tư vấn" ở máy tính) cùng kiểu nút đó (anh Vinh 27/11):
   nền #f5f5f7, viền #e3e3e6, chữ đen, giữ logo Zalo; rê chuột #e9e9ec / #d6d6da. Nút Zalo ở thanh mua dưới đáy chưa đổi. */
.co-mau-nut .mua-tu-van .nut-zalo-tv { background: #f5f5f7; border: 1px solid #e3e3e6; color: #000; }
.co-mau-nut .mua-tu-van .nut-zalo-tv strong { color: #000; }
.co-mau-nut .mua-tu-van .nut-zalo-tv:hover { background: #e9e9ec; border-color: #d6d6da; color: #000; opacity: 1; filter: none; }

/* Hiệu ứng rê chuột thẻ sản phẩm ở trang chủ (.nhom-ds), trang danh mục (.luoi-sp) và "Có thể bạn sẽ thích" trang SP (.sw-lienquan).
   Làm lại 28/11 vì anh Vinh thấy "sượng": bản cũ chuyển box-shadow trực tiếp (vẽ lại bóng mờ mỗi khung hình → giật khi nhiều thẻ),
   thẻ .25s mà ảnh .4s lệch nhịp, đường cong `ease` khựng. Nay: bóng + viền màu chủ đạo vẽ sẵn ở ::after, rê chuột chỉ đổi opacity;
   thẻ nhích bằng translate3d (lớp riêng, will-change) — chỉ transform/opacity nên chạy trên GPU; cùng đường cong easeOutCubic,
   thẻ + bóng .45s, ảnh .6s (chậm hơn chút cho cảm giác nổi nhẹ). Chỉ máy có chuột. KHÔNG chặn theo prefers-reduced-motion:
   máy anh Vinh (Windows tắt Animation effects) báo reduce → hiệu ứng mất hẳn; chuyển động chỉ 4px / 4% nên giữ cho mọi máy. */
@media (hover: hover) {
  .mau-phang :is(.nhom-ds, .luoi-sp, .sw-lienquan .swiper-slide) > .the-sp { --rc-cong: cubic-bezier(.22, .61, .36, 1); --rc-vien: var(--vien-ft); transition: transform .45s var(--rc-cong); will-change: transform; backface-visibility: hidden; }
  .mau-phang :is(.nhom-ds, .luoi-sp, .sw-lienquan .swiper-slide) > .the-sp::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: 0 12px 28px rgba(0, 0, 0, .09), 0 0 0 1px var(--rc-vien); opacity: 0; transition: opacity .45s var(--rc-cong); }
  .mau-phang :is(.nhom-ds, .luoi-sp, .sw-lienquan .swiper-slide) > .the-sp:hover { transform: translate3d(0, -4px, 0); }
  .mau-phang :is(.nhom-ds, .luoi-sp, .sw-lienquan .swiper-slide) > .the-sp:hover::after { opacity: 1; }
  .mau-phang :is(.nhom-ds, .luoi-sp, .sw-lienquan .swiper-slide) > .the-sp .anh { overflow: hidden; }
  .mau-phang :is(.nhom-ds, .luoi-sp, .sw-lienquan .swiper-slide) > .the-sp .anh img { transition: transform .6s var(--rc-cong); will-change: transform; }
  .mau-phang :is(.nhom-ds, .luoi-sp, .sw-lienquan .swiper-slide) > .the-sp:hover .anh img { transform: scale(1.04); }
}
@supports (color: color-mix(in srgb, red 50%, #fff)) { .mau-phang :is(.nhom-ds, .luoi-sp, .sw-lienquan .swiper-slide) > .the-sp { --rc-vien: color-mix(in srgb, var(--chinh) 55%, #fff); } }
/* Nút "Xem tất cả" trang chủ cỡ chữ bằng menu đầu trang (anh Vinh 27/11): cùng thang với .hd-menu > li > a ở thang-chu.css —
   var(--c13), riêng 768–1199px là 12px. Độ đậm giữ của nút. */
.mau-phang .dm-tieude .nut, .mau-phang .nhom-xemtat { font-size: var(--c13, 13px); }
@media (min-width: 768px) and (max-width: 1199px) { .mau-phang .dm-tieude .nut, .mau-phang .nhom-xemtat { font-size: 12px; } }

/* Chân trang: thông tin công ty có từ 3 khối (bofit 27/11: Miền Nam / Miền Trung / Miền Bắc) → 3 cột đều từ 768px (anh Vinh
   "phía dưới chia làm 3 cột"); điện thoại vẫn 1 cột. Logo BCT đã sang cột Kết nối (ô bct_ketnoi) thì dải dưới không còn
   khối bên phải → khung công ty trải hết chiều ngang, bỏ bề rộng cố định 35rem của khối chữ. */
@media (min-width: 768px) {
  .ft-chu.nhieu-o:has(> :nth-child(3)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 992px) {
  .ft-duoi-row:not(:has(> .ft-bct, > .ft-tt)) .ft-cty { width: 100%; padding-right: 0; }
  .ft-duoi-row:not(:has(> .ft-bct, > .ft-tt)) .ft-chu { flex: 1; width: auto; margin-right: 0; }
}
/* Băng trượt "Có thể bạn sẽ thích" (swiper, overflow:hidden) cắt mất thẻ nhích lên + bóng đổ → chừa khoảng trên/dưới bằng padding,
   bù lại bằng margin âm cho bố cục không xê dịch (bofit 27/11) */
@media (hover: hover) { .mau-phang .sw-lienquan { padding: 6px 0 18px; margin: -6px 0 -18px; } }

/* Rê chuột nút "Xem tất cả" (trang chủ) và "Xem thêm … sản phẩm" (danh mục): nền + viền màu chủ đạo, chữ + mũi tên trắng
   (anh Vinh 28/11). Đè luật rê chuột chung của Màu nút (nền đen mờ đi). */
.co-mau-nut :is(.dm-tieude .nut.nut-cam, .nut.nut-cam.nhom-xemtat, .nut.nut-cam.xem-them-sp) { transition: background .2s ease, border-color .2s ease, color .2s ease; }
.co-mau-nut :is(.dm-tieude .nut.nut-cam, .nut.nut-cam.nhom-xemtat, .nut.nut-cam.xem-them-sp):hover { background: var(--chinh); border-color: var(--chinh); color: #fff; opacity: 1; filter: none; }
/* Khối "Để lại số" chân trang trên điện thoại gọn 2 dòng (anh Vinh 28/11): bỏ phần trước dấu — của câu dẫn ("Để lại số —"),
   còn "BOFIT SPORT gọi tư vấn miễn phí" 1 dòng + dòng phụ 1 dòng; máy rất hẹp (≤340px) chữ 14px cho khỏi gãy (15px vẫn gãy ở 320). */
@media (max-width: 767px) {
  .ft-tv-dau-cau { display: none; }
}
@media (max-width: 340px) { .ft-tuvan .ft-tv-dan .nhan { font-size: 14px; } }
