/*
Theme Name: VinaSite Điện máy 02 — Băng Thanh
Theme URI: https://vinasite.com.vn/
Description: Mẫu website cửa hàng điện lạnh: máy lạnh, tủ lạnh, tủ đông, máy lọc không khí. Giao diện con của vinasite, chạy WooCommerce với giỏ hàng thật, có khối chọn công suất theo diện tích phòng lọc được sản phẩm. Mẫu demo của VinaSite.
Author: VinaSite
Author URI: https://vinasite.com.vn/
Template: vinasite
Version: 1.0.0
Text Domain: dienmay-mau-02
*/

/* =====================================================================
 * Băng Thanh — cửa hàng điện lạnh.
 *
 * Bảng màu XANH BĂNG LẠNH: nền men sứ rất nhạt, dải nhấn xanh cyan sâu, chữ
 * xanh đá sẫm. Cố ý khác bốn mẫu điện máy còn lại (01 đỏ siêu thị, 03 đen thép
 * nhà bếp, 04 xanh lá gia dụng, 05 than tím nghe nhìn) và khác cả mẫu khách sạn
 * Ngọc Biển — Ngọc Biển là xanh ngọc nghỉ dưỡng pha cát ấm, còn đây là xanh
 * băng, không một mảng màu ấm nào.
 *
 * Nút BO 8px gần vuông chứ không bo tròn viên thuốc như mẫu Nếp; thẻ bo 12px.
 * Phông Geologica (tiêu đề, dáng kỹ thuật vuông vức) + Onest (nội dung).
 *
 * LƯU Ý ĐỘ TƯƠNG PHẢN: xanh băng là màu SÁNG. Chữ trắng đặt lên nền xanh băng
 * rớt xuống dưới 4,5:1, nên mọi nền nhạt ở đây đều đi với chữ --bt-ink sẫm.
 * Chữ trắng chỉ dùng trên --bt-deep và --bt-acc.
 * ===================================================================== */

:root {
	--bt-bg: #F2F8FB;        /* nền trang: men sứ rất nhạt */
	--bt-white: #FFFFFF;
	--bt-ice: #DEEEF6;       /* dải nền phụ xanh băng */
	--bt-ice-2: #C8E2EE;     /* viền/khối đậm hơn một nấc */
	--bt-ink: #0D2B38;       /* chữ tiêu đề, nền sẫm */
	--bt-deep: #0B2531;      /* dải đầu trang + chân trang */
	--bt-body: #3A5A68;      /* chữ nội dung */
	--bt-muted: #5E7F8D;     /* nhãn nhỏ, chữ phụ */
	--bt-line: #D1E3EC;      /* đường kẻ */
	--bt-acc: #0B6E92;       /* xanh cyan sâu: nút, liên kết, giá */
	--bt-acc-dk: #075672;
	--bt-cool: #2A9ABF;      /* xanh sáng: biểu tượng, gạch chân */

	--bt-h: "Geologica", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--bt-t: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	--bt-max: 1240px;
	--bt-gut: clamp(16px, 3.2vw, 38px);
	--bt-pad: clamp(54px, 5.8vw, 98px);
	--bt-r: 12px;
	--bt-r-sm: 8px;
	--bt-sh: 0 1px 2px rgba(13, 43, 56, .05), 0 16px 34px -22px rgba(13, 43, 56, .35);
}

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

body.bt-dl {
	margin: 0;
	background: var(--bt-bg);
	color: var(--bt-ink);
	font: 400 16px/1.68 var(--bt-t);
	-webkit-font-smoothing: antialiased;
}
body.bt-dl a { color: inherit; text-decoration: none; }
body.bt-dl img { display: block; max-width: 100%; height: auto; }
body.bt-dl button, body.bt-dl input, body.bt-dl select, body.bt-dl textarea { font: inherit; }

/*
 * Theme mẹ nhuộm h1–h3 trong nội dung bằng màu xanh của nó. Mẫu này CŨNG tông
 * xanh nên mắt thường không nhận ra — đã kiểm bằng mã màu cụ thể. `inherit` với
 * hai lớp vừa thắng luật của theme mẹ, vừa để tiêu đề tự đúng màu trong cả khối
 * nền sáng lẫn khối nền sẫm.
 */
body.bt-dl h1, body.bt-dl h2, body.bt-dl h3, body.bt-dl h4 {
	margin: 0; color: inherit; font-family: var(--bt-h); font-weight: 600;
	line-height: 1.2; letter-spacing: -.015em; }

/*
 * `.vs-scope` là lớp bọc của theme mẹ, và nó đặt `color: #201D1A` — một màu đen
 * ngả nâu. Tiêu đề ở trên thừa kế màu nên mọi trang phụ (cửa hàng, sản phẩm,
 * giỏ hàng) ra chữ ấm giữa bảng màu xanh băng. Không nhìn ra bằng mắt được, đã
 * bắt bằng cách đọc `getComputedStyle(h1).color` và so mã màu: ra
 * rgb(32, 29, 26) thay vì rgb(13, 43, 56).
 *
 * Đặt lại màu ở chính lớp bọc chứ không ở từng tiêu đề, để cả chữ lẫn tiêu đề
 * trong đó cùng về một nguồn — và `inherit` ở trên vẫn giữ được tác dụng cho
 * các khối nền sẫm.
 */
body.bt-dl .vs-scope { color: var(--bt-ink); }

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

.bt-skip { position: absolute; z-index: 100; top: 10px; left: 10px; transform: translateY(-200%);
	border-radius: var(--bt-r-sm); padding: 11px 16px; background: var(--bt-acc); color: #fff; font-weight: 600; }
.bt-skip:focus { transform: translateY(0); }

.bt-main, .bt-main [id] { scroll-margin-top: 108px; }

.bt-eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 12px;
	color: var(--bt-acc); font-family: var(--bt-h); font-size: 12.5px; font-weight: 600;
	letter-spacing: .16em; text-transform: uppercase; }
.bt-eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--bt-cool); }

/* =====================================================================
 * NÚT — bo 8px, góc gần vuông
 * ===================================================================== */
.bt-btn {
	min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
	border: 1px solid var(--bt-acc); border-radius: var(--bt-r-sm); padding: 0 24px;
	background: var(--bt-acc); color: #fff !important;
	font-family: var(--bt-h); font-size: 14.5px; font-weight: 600; cursor: pointer;
	transition: background .22s ease, border-color .22s ease, transform .22s cubic-bezier(.22,.8,.3,1);
}
.bt-btn:hover { background: var(--bt-acc-dk); border-color: var(--bt-acc-dk); transform: translateY(-2px); }
.bt-btn svg { width: 17px; height: 17px; transition: transform .25s cubic-bezier(.22,.8,.3,1); }
.bt-btn:hover svg { transform: translateX(3px); }

.bt-btn--ghost { background: transparent; border-color: var(--bt-ink); color: var(--bt-ink) !important; }
.bt-btn--ghost:hover { background: var(--bt-ink); border-color: var(--bt-ink); color: #fff !important; }
.bt-btn--sm { min-height: 42px; padding: 0 18px; font-size: 13.5px; }

.bt-link { display: inline-flex; align-items: center; gap: 7px; color: var(--bt-acc);
	font-family: var(--bt-h); font-size: 14.5px; font-weight: 600; }
.bt-link svg { width: 15px; height: 15px; transition: transform .25s cubic-bezier(.22,.8,.3,1); }
.bt-link:hover svg { transform: translateX(4px); }

/* =====================================================================
 * ĐẦU TRANG
 * ===================================================================== */
.bt-top { background: var(--bt-deep); color: #D7EAF3; font-size: 13.5px; }
.bt-top__in { min-height: 40px; display: flex; flex-wrap: wrap; justify-content: space-between;
	align-items: center; gap: 14px; padding: 8px 0; }
.bt-top strong { color: #fff; font-weight: 600; }
.bt-top a { display: inline-flex; align-items: center; gap: 7px; color: #8FD3EB !important; font-weight: 600; }
.bt-top a:hover { color: #fff !important; }
.bt-top svg { width: 15px; height: 15px; }

.bt-head { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92);
	backdrop-filter: saturate(150%) blur(12px); border-bottom: 1px solid var(--bt-line);
	transition: box-shadow .25s ease, background .25s ease; }
.bt-head.is-stuck { background: rgba(255, 255, 255, .98); box-shadow: 0 10px 26px -20px rgba(13,43,56,.6); }
.bt-head__row { min-height: 80px; display: grid; grid-template-columns: auto 1fr auto;
	align-items: center; gap: 26px; }

.bt-brand { display: inline-flex; align-items: center; gap: 12px; }
.bt-brand__mark { width: 44px; height: 44px; flex: none; }
.bt-brand__mark svg { width: 100%; height: 100%; }
/* `nowrap` cho cả tên lẫn dòng mô tả: cột đầu tiên của đầu trang co theo nội
   dung, thiếu nó thì "Băng Thanh" gãy làm hai dòng và đầu trang cao vống lên. */
.bt-brand__name { display: block; font-family: var(--bt-h); font-size: 22px; font-weight: 600;
	letter-spacing: -.02em; color: var(--bt-ink); white-space: nowrap; }
.bt-brand__tag { display: block; color: var(--bt-muted); font-size: 11.5px; font-weight: 600;
	letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }

.bt-nav ul { display: flex; justify-content: center; gap: 26px; margin: 0; padding: 0; list-style: none; }
/* Bảy mục menu + ô tìm kiếm + giỏ hàng là chật ở 1440px: thiếu `nowrap` thì
   "Cửa hàng" và "Lọc không khí" gãy đôi, đầu trang cao vống lên hai dòng. */
.bt-nav a { position: relative; display: inline-block; padding: 4px 0; color: var(--bt-ink);
	font-family: var(--bt-h); font-size: 15px; font-weight: 500; white-space: nowrap; }
.bt-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
	background: var(--bt-cool); transform: scaleX(0); transform-origin: left center;
	transition: transform .26s cubic-bezier(.22,.8,.3,1); }
.bt-nav a:hover::after, .bt-nav a[aria-current="page"]::after { transform: scaleX(1); }

.bt-tools { display: flex; align-items: center; gap: 12px; }

.bt-search { display: flex; align-items: center; gap: 7px; height: 42px; padding: 0 6px 0 13px;
	border: 1px solid var(--bt-line); border-radius: var(--bt-r-sm); background: var(--bt-white); }
.bt-search svg { width: 18px; height: 18px; flex: none; color: var(--bt-muted); }
.bt-search input { width: 150px; border: 0; background: transparent; color: var(--bt-ink); font-size: 14.5px; }
.bt-search input:focus { outline: 0; }
.bt-search button { height: 32px; border: 0; border-radius: 6px; padding: 0 13px;
	background: var(--bt-acc); color: #fff; font-family: var(--bt-h); font-size: 13.5px; font-weight: 600; cursor: pointer; }
.bt-search button:hover { background: var(--bt-acc-dk); }

.bt-cart { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 42px;
	padding: 0 15px; border: 1px solid var(--bt-ink); border-radius: var(--bt-r-sm);
	color: var(--bt-ink); font-family: var(--bt-h); font-size: 14.5px; font-weight: 600;
	white-space: nowrap;   /* số món xuất hiện là "Giỏ hàng" bị đẩy xuống dòng hai */
	transition: background .2s ease, color .2s ease; }
.bt-cart:hover { background: var(--bt-ink); color: #fff; }
.bt-cart svg { width: 19px; height: 19px; }
.bt-cart__n { min-width: 21px; height: 21px; display: inline-grid; place-items: center; padding: 0 5px;
	border-radius: 999px; background: var(--bt-acc); color: #fff; font-size: 12px; font-weight: 700; }
.bt-cart__n[data-bt-n="0"] { display: none; }
.bt-cart__n.is-bump { animation: bt-bump .42s cubic-bezier(.22,.8,.3,1); }
@keyframes bt-bump { 0% { transform: scale(1); } 45% { transform: scale(1.32); } 100% { transform: scale(1); } }

.bt-burger { display: none; align-items: center; justify-content: center; flex-direction: column;
	width: 42px; height: 42px; border: 1px solid var(--bt-line); border-radius: var(--bt-r-sm);
	background: var(--bt-white); cursor: pointer; }
.bt-burger i { display: block; width: 18px; height: 2px; margin: 2.5px 0; background: var(--bt-ink); }

/* =====================================================================
 * HERO
 * ===================================================================== */
.bt-hero { padding: clamp(40px, 5vw, 72px) 0 var(--bt-pad); }
.bt-hero__grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: clamp(28px, 4.6vw, 64px); align-items: center; }
.bt-hero h1 { font-size: clamp(34px, 4.6vw, 56px); }
.bt-hero__sub { max-width: 540px; margin: 18px 0 0; color: var(--bt-body); font-size: 17.5px; }
.bt-hero__btn { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.bt-hero__stat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px;
	padding-top: 28px; border-top: 1px solid var(--bt-line); }
.bt-hero__stat b { display: block; font-family: var(--bt-h); font-size: clamp(20px, 2.2vw, 26px); font-weight: 600; }
.bt-hero__stat span { display: block; margin-top: 3px; color: var(--bt-muted); font-size: 13.5px; }

.bt-hero__fig { position: relative; }
.bt-hero__fig img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover;
	border-radius: var(--bt-r); background: var(--bt-ice); }
/* Thẻ sương: đặt trên ảnh, nền trắng đục nên chữ sẫm vẫn đọc được dù ảnh sáng. */
.bt-frost { position: absolute; left: 18px; bottom: 18px; right: 18px;
	display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px;
	padding: 14px 18px; border: 1px solid rgba(255,255,255,.7); border-radius: var(--bt-r-sm);
	background: rgba(255, 255, 255, .9); backdrop-filter: blur(8px); color: var(--bt-ink);
	font-size: 14px; font-weight: 500; }
.bt-frost span { display: inline-flex; align-items: center; gap: 8px; }
.bt-frost svg { width: 18px; height: 18px; flex: none; color: var(--bt-acc); }

/* =====================================================================
 * KHỐI CHỌN CÔNG SUẤT THEO DIỆN TÍCH PHÒNG
 * Biểu mẫu GET thật: gửi thẳng sang trang Cửa hàng kèm tham số lọc.
 * ===================================================================== */
.bt-cs { padding: var(--bt-pad) 0; background: var(--bt-ice); }
.bt-cs__head { max-width: 680px; margin-bottom: 30px; }
.bt-cs__head h2 { font-size: clamp(26px, 3.1vw, 38px); }
.bt-cs__head p { margin: 14px 0 0; color: var(--bt-body); font-size: 16.5px; }

.bt-cs__form { padding: clamp(20px, 2.6vw, 32px); border: 1px solid var(--bt-ice-2);
	border-radius: var(--bt-r); background: var(--bt-white); box-shadow: var(--bt-sh); }
.bt-cs__legend { margin: 0 0 14px; padding: 0; color: var(--bt-muted);
	font-family: var(--bt-h); font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.bt-cs__opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; border: 0; margin: 0; padding: 0; }
.bt-cs__opt { position: relative; }
.bt-cs__opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0;
	opacity: 0; cursor: pointer; }
.bt-cs__opt span { display: block; padding: 18px; border: 1.5px solid var(--bt-line);
	border-radius: var(--bt-r-sm); background: var(--bt-white); transition: border-color .2s ease, background .2s ease; }
.bt-cs__opt strong { display: block; font-family: var(--bt-h); font-size: 19px; font-weight: 600; }
.bt-cs__opt em { display: block; margin-top: 5px; color: var(--bt-muted); font-size: 13.5px; font-style: normal; }
.bt-cs__opt input:checked + span { border-color: var(--bt-acc); background: #EAF5FA; }
.bt-cs__opt input:focus-visible + span { outline: 2px solid var(--bt-acc); outline-offset: 2px; }
.bt-cs__opt:hover span { border-color: var(--bt-ice-2); }

.bt-cs__row { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin-top: 18px; }
.bt-cs__sel { flex: 1 1 240px; display: grid; gap: 6px; }
.bt-cs__sel label { font-size: 14px; font-weight: 600; }
.bt-cs__sel select { min-height: 48px; border: 1px solid var(--bt-line); border-radius: var(--bt-r-sm);
	padding: 0 13px; background: var(--bt-white); color: var(--bt-ink); font-size: 15.5px; }
.bt-cs__note { margin: 14px 0 0; color: var(--bt-muted); font-size: 13.5px; }

/* =====================================================================
 * DANH MỤC
 * ===================================================================== */
.bt-sec { padding: var(--bt-pad) 0; }
.bt-sec--white { background: var(--bt-white); }
.bt-sec__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end;
	gap: 18px; margin-bottom: 32px; }
.bt-sec__head h2 { font-size: clamp(26px, 3.1vw, 38px); }
.bt-sec__head p { max-width: 560px; margin: 12px 0 0; color: var(--bt-body); font-size: 16.5px; }

.bt-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.bt-cat { display: block; overflow: hidden; border: 1px solid var(--bt-line); border-radius: var(--bt-r);
	background: var(--bt-white); transition: transform .26s cubic-bezier(.22,.8,.3,1), border-color .2s ease; }
.bt-cat:hover { transform: translateY(-4px); border-color: var(--bt-ice-2); }
.bt-cat img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--bt-ice); }
.bt-cat__b { padding: 16px 18px 20px; }
.bt-cat__b h3 { font-size: 18px; }
.bt-cat__b p { margin: 7px 0 0; color: var(--bt-body); font-size: 14.5px; line-height: 1.6; }
.bt-cat__n { display: inline-block; margin-top: 12px; color: var(--bt-acc); font-size: 13.5px; font-weight: 600; }

/* =====================================================================
 * BẢNG SO SÁNH INVERTER / MÁY NÉN THƯỜNG
 * ===================================================================== */
.bt-ss { display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(26px, 4vw, 56px); align-items: center; }
.bt-ss__fig img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--bt-r);
	background: var(--bt-ice); }
.bt-ss__tbl { width: 100%; border-collapse: collapse;
	border: 1px solid var(--bt-line); border-radius: var(--bt-r); background: var(--bt-white); overflow: hidden; }
.bt-ss__tbl caption { padding: 0 0 12px; color: var(--bt-muted); font-size: 13.5px; text-align: left; }
.bt-ss__tbl th, .bt-ss__tbl td { padding: 13px 16px; border-bottom: 1px solid var(--bt-line);
	font-size: 15px; text-align: left; vertical-align: top; }
.bt-ss__tbl thead th { background: var(--bt-ink); color: #fff; font-family: var(--bt-h); font-size: 14.5px; font-weight: 600; }
.bt-ss__tbl thead th:first-child { width: 31%; }
.bt-ss__tbl tbody th { color: var(--bt-ink); font-family: var(--bt-h); font-weight: 600; }
.bt-ss__tbl td { color: var(--bt-body); }
.bt-ss__tbl tbody tr:last-child th, .bt-ss__tbl tbody tr:last-child td { border-bottom: 0; }
.bt-ss__tbl td.is-best { color: var(--bt-ink); font-weight: 600; background: #EDF6FA; }

/* =====================================================================
 * DỊCH VỤ LẮP ĐẶT & VỆ SINH
 * ===================================================================== */
.bt-dv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bt-dv__i { overflow: hidden; border: 1px solid var(--bt-line); border-radius: var(--bt-r); background: var(--bt-white); }
.bt-dv__i img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--bt-ice); }
.bt-dv__b { padding: 20px 20px 24px; }
.bt-dv__step { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-bottom: 12px;
	border-radius: 7px; background: var(--bt-ice); color: var(--bt-acc);
	font-family: var(--bt-h); font-size: 14px; font-weight: 600; }
.bt-dv__b h3 { font-size: 19px; }
.bt-dv__b p { margin: 9px 0 0; color: var(--bt-body); font-size: 15px; }

/* =====================================================================
 * DẢI KẾT
 * ===================================================================== */
.bt-cta { padding: var(--bt-pad) 0; background: var(--bt-deep); color: #D7EAF3; }
.bt-cta__in { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.bt-cta h2 { color: #fff; font-size: clamp(26px, 3.1vw, 38px); }
.bt-cta p { margin: 14px 0 0; font-size: 16.5px; }
.bt-cta__box { padding: 24px; border: 1px solid rgba(143, 211, 235, .28); border-radius: var(--bt-r);
	background: rgba(143, 211, 235, .08); }
.bt-cta__box dl { display: grid; gap: 14px; margin: 0; }
.bt-cta__box dt { color: #8FD3EB; font-family: var(--bt-h); font-size: 12px; font-weight: 600;
	letter-spacing: .12em; text-transform: uppercase; }
.bt-cta__box dd { margin: 3px 0 0; color: #fff; font-size: 17px; font-weight: 600; }
.bt-cta__box dd a { color: #fff; }
.bt-cta .bt-btn { margin-top: 20px; background: #fff; border-color: #fff; color: var(--bt-ink) !important; }
.bt-cta .bt-btn:hover { background: #8FD3EB; border-color: #8FD3EB; }

/* =====================================================================
 * TRANG PHỤ: DẢI TIÊU ĐỀ
 * Phông phải đặt lại ở đây, nếu không các trang phụ chạy phông của theme mẹ.
 * ===================================================================== */
.bt-page { font-family: var(--bt-t); }
.bt-page__head { padding: 40px 0 36px; border-bottom: 1px solid var(--bt-line); background: var(--bt-white); }
.bt-page__title { font-size: clamp(28px, 3.6vw, 44px); }
.bt-page__sub { max-width: 680px; margin: 13px 0 0; color: var(--bt-body); font-size: 16.5px; }
.bt-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px;
	color: var(--bt-muted); font-size: 13.5px; }
.bt-crumb a { color: var(--bt-acc); }
.bt-page__body { padding: 40px 0 var(--bt-pad); }
.bt-page__body p { color: var(--bt-body); }

/* =====================================================================
 * CỬA HÀNG
 * ===================================================================== */
.bt-shop { padding: 32px 0 var(--bt-pad); }
.bt-shop__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
	gap: 14px; margin-bottom: 26px; }
.bt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bt-chip { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 15px;
	border: 1px solid var(--bt-line); border-radius: var(--bt-r-sm); background: var(--bt-white);
	color: var(--bt-ink); font-size: 14px; font-weight: 600; }
.bt-chip span { color: var(--bt-muted); font-weight: 500; }
.bt-chip:hover { border-color: var(--bt-ice-2); }
.bt-chip.is-on { background: var(--bt-ink); border-color: var(--bt-ink); color: #fff; }
.bt-chip.is-on span { color: rgba(255,255,255,.62); }

.bt-shop__sort select, body.bt-dl .woocommerce-ordering select {
	min-height: 38px; border: 1px solid var(--bt-line); border-radius: var(--bt-r-sm); padding: 0 12px;
	background: var(--bt-white); color: var(--bt-ink); font-size: 14.5px; }
.bt-shop__sort form.woocommerce-ordering { margin: 0; }

/* Dải báo đang lọc theo diện tích phòng. */
.bt-filterbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 22px;
	padding: 13px 18px; border: 1px solid var(--bt-ice-2); border-radius: var(--bt-r-sm); background: #EAF5FA;
	color: var(--bt-ink); font-size: 14.5px; }
.bt-filterbar strong { font-weight: 600; }
.bt-filterbar a { color: var(--bt-acc); font-weight: 600; text-decoration: underline; }

.bt-trong { padding: 36px 0; color: var(--bt-body); }

/* --- Lưới và thẻ sản phẩm --- */
body.bt-dl ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 30px 20px; margin: 0; padding: 0; list-style: none; }
body.bt-dl ul.products::before, body.bt-dl ul.products::after { display: none; }
body.bt-dl ul.products li.product { position: relative; float: none; width: auto; margin: 0; min-width: 0;
	display: flex; flex-direction: column; padding: 14px; border: 1px solid var(--bt-line);
	border-radius: var(--bt-r); background: var(--bt-white);
	transition: border-color .2s ease, transform .26s cubic-bezier(.22,.8,.3,1), box-shadow .26s ease; }
body.bt-dl ul.products li.product:hover { border-color: var(--bt-ice-2); transform: translateY(-3px); box-shadow: var(--bt-sh); }
body.bt-dl ul.products li.product > a { display: block; overflow: hidden; border-radius: var(--bt-r-sm); }
body.bt-dl ul.products li.product a img { width: 100%; aspect-ratio: 1 / 1; margin: 0; object-fit: cover;
	border-radius: var(--bt-r-sm); background: var(--bt-ice);
	transition: transform .5s cubic-bezier(.22,.8,.3,1); }
body.bt-dl ul.products li.product:hover a img { transform: scale(1.04); }
body.bt-dl span.onsale { display: none; }

.bt-tags { position: absolute; z-index: 2; top: 22px; left: 22px; display: flex; gap: 6px; }
.bt-tag { display: inline-flex; align-items: center; height: 25px; padding: 0 10px; border-radius: 6px;
	background: var(--bt-ink); color: #fff; font-family: var(--bt-h); font-size: 11.5px; font-weight: 600; }
.bt-tag--sale { background: var(--bt-acc); }

body.bt-dl ul.products li.product .woocommerce-loop-product__title {
	padding: 14px 0 0; color: var(--bt-ink); font-family: var(--bt-h); font-size: 16.5px;
	font-weight: 600; line-height: 1.38; }
.bt-spec { margin: 8px 0 0; padding: 0; list-style: none; color: var(--bt-muted); font-size: 13.5px; line-height: 1.6; }
.bt-spec li { display: flex; gap: 7px; }
.bt-spec b { flex: none; color: var(--bt-body); font-weight: 600; }
body.bt-dl ul.products li.product .price { display: block; margin: 11px 0 0; color: var(--bt-ink);
	font-size: 17px; font-weight: 700; }
body.bt-dl ul.products li.product .price del { margin-right: 7px; color: var(--bt-muted); font-size: 14.5px; font-weight: 500; }
body.bt-dl ul.products li.product .price ins { text-decoration: none; color: var(--bt-acc); }
body.bt-dl ul.products li.product .price { margin-top: auto; }
body.bt-dl ul.products li.product .button { margin-top: 12px; }

/* Nút của WooCommerce dùng chung một kiểu với nút theme. */
body.bt-dl ul.products li.product .button,
body.bt-dl a.button, body.bt-dl button.button, body.bt-dl input.button,
body.bt-dl .button.alt, body.bt-dl #place_order {
	min-height: 44px; display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--bt-acc); border-radius: var(--bt-r-sm); padding: 0 20px;
	background: var(--bt-acc); color: #fff; font-family: var(--bt-h); font-size: 14px; font-weight: 600; line-height: 1;
	white-space: nowrap;   /* lưới 3 cột trên tablet làm "Thêm vào giỏ" gãy hai dòng */
	transition: background .22s ease, border-color .22s ease, transform .22s cubic-bezier(.22,.8,.3,1); }
body.bt-dl ul.products li.product .button:hover,
body.bt-dl a.button:hover, body.bt-dl button.button:hover, body.bt-dl input.button:hover,
body.bt-dl .button.alt:hover, body.bt-dl #place_order:hover {
	background: var(--bt-acc-dk); border-color: var(--bt-acc-dk); transform: translateY(-2px); }
body.bt-dl a.added_to_cart { display: inline-flex; align-items: center; margin-top: 8px;
	color: var(--bt-acc); font-size: 13.5px; font-weight: 600; text-decoration: underline; }

body.bt-dl .woocommerce-pagination { grid-column: 1 / -1; margin-top: 40px; }
body.bt-dl .woocommerce-pagination ul { display: flex; justify-content: center; gap: 8px; border: 0; }
body.bt-dl .woocommerce-pagination li { border: 0; }
body.bt-dl .woocommerce-pagination a, body.bt-dl .woocommerce-pagination span {
	min-width: 40px; height: 40px; display: inline-grid; place-items: center;
	border: 1px solid var(--bt-line); border-radius: var(--bt-r-sm); background: var(--bt-white);
	font-size: 14.5px; font-weight: 600; }
body.bt-dl .woocommerce-pagination span.current { background: var(--bt-ink); border-color: var(--bt-ink); color: #fff; }

/* Thông báo của WooCommerce. */
body.bt-dl .woocommerce-message, body.bt-dl .woocommerce-info, body.bt-dl .woocommerce-error {
	border-top-color: var(--bt-acc); border-radius: var(--bt-r-sm); background: var(--bt-white);
	color: var(--bt-ink); font-size: 15px; }
body.bt-dl .woocommerce-message::before, body.bt-dl .woocommerce-info::before { color: var(--bt-acc); }

/* =====================================================================
 * CHI TIẾT SẢN PHẨM
 * ===================================================================== */
.bt-single__wrap { padding: 40px 0 var(--bt-pad); }
body.bt-dl div.product { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 4.6vw, 64px); }
body.bt-dl div.product div.images, body.bt-dl div.product div.summary { float: none; width: 100%; margin: 0; }
body.bt-dl div.product div.images img { width: 100%; border-radius: var(--bt-r); background: var(--bt-ice); }
body.bt-dl div.product .woocommerce-product-gallery__wrapper { margin: 0; }
body.bt-dl div.product p.price, body.bt-dl div.product span.price {
	margin: 0 0 18px; color: var(--bt-ink); font-family: var(--bt-h); font-size: 30px; font-weight: 600; }
body.bt-dl div.product p.price del { margin-right: 10px; color: var(--bt-muted); font-size: 21px; font-weight: 400; }
body.bt-dl div.product p.price ins { text-decoration: none; color: var(--bt-acc); }
body.bt-dl div.product .woocommerce-product-details__short-description {
	margin-bottom: 22px; color: var(--bt-body); font-size: 16.5px; }
body.bt-dl div.product form.cart { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 22px; }
body.bt-dl .quantity input.qty { width: 82px; min-height: 44px; border: 1px solid var(--bt-line);
	border-radius: var(--bt-r-sm); padding: 0 10px; text-align: center; font-size: 15px; }
body.bt-dl div.product .product_meta { padding-top: 18px; border-top: 1px solid var(--bt-line);
	color: var(--bt-muted); font-size: 14.5px; }
body.bt-dl div.product .product_meta a { color: var(--bt-acc); }

/* Bảng thông số kỹ thuật trên trang sản phẩm. */
.bt-tskt { margin: 0 0 22px; border: 1px solid var(--bt-line); border-radius: var(--bt-r);
	background: var(--bt-white); overflow: hidden; }
.bt-tskt h2 { padding: 13px 18px; border-bottom: 1px solid var(--bt-line); background: #EDF6FA;
	font-size: 15px; letter-spacing: 0; }
.bt-tskt dl { display: grid; grid-template-columns: auto 1fr; margin: 0; }
.bt-tskt dt { padding: 11px 18px; border-bottom: 1px solid var(--bt-line); color: var(--bt-muted);
	font-size: 14.5px; }
.bt-tskt dd { margin: 0; padding: 11px 18px; border-bottom: 1px solid var(--bt-line);
	color: var(--bt-ink); font-size: 14.5px; font-weight: 600; text-align: right; }
.bt-tskt__note { padding: 11px 18px; margin: 0; color: var(--bt-muted); font-size: 13px; 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 ấy — không cho trải hết hàng thì lưới sản phẩm liên quan bị nhét vào nửa
 * bề ngang và vỡ nát.
 */
body.bt-dl div.product .woocommerce-tabs,
body.bt-dl div.product .related,
body.bt-dl div.product .upsells { grid-column: 1 / -1; }

body.bt-dl .woocommerce-tabs { margin-top: 52px; }
body.bt-dl .woocommerce-tabs ul.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; border: 0; }
body.bt-dl .woocommerce-tabs ul.tabs::before { display: none; }
body.bt-dl .woocommerce-tabs ul.tabs li { margin: 0; padding: 0; border: 1px solid var(--bt-line);
	border-radius: var(--bt-r-sm); background: var(--bt-white); }
body.bt-dl .woocommerce-tabs ul.tabs li::before, body.bt-dl .woocommerce-tabs ul.tabs li::after { display: none; }
body.bt-dl .woocommerce-tabs ul.tabs li a { display: block; padding: 10px 18px; color: var(--bt-body);
	font-family: var(--bt-h); font-size: 14.5px; font-weight: 600; }
body.bt-dl .woocommerce-tabs ul.tabs li.active { background: var(--bt-ink); border-color: var(--bt-ink); }
body.bt-dl .woocommerce-tabs ul.tabs li.active a { color: #fff; }
body.bt-dl .woocommerce-Tabs-panel h2 { margin: 0 0 12px; font-size: 23px; }
body.bt-dl .woocommerce-Tabs-panel p { max-width: 780px; margin: 0; color: var(--bt-body); font-size: 16.5px; }

body.bt-dl div.product .related { margin-top: 58px; }
body.bt-dl div.product .related > h2 { margin: 0 0 22px; font-size: clamp(23px, 2.6vw, 31px); }
body.bt-dl div.product .related ul.products { width: 100%; }

/* =====================================================================
 * GIỎ HÀNG, THANH TOÁN, TÀI KHOẢN
 *
 * WooCommerce dựng ba trang này bằng khối (block) và 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 lạc hẳn khỏi xanh
 * cyan của mẫu. Mẫu này dùng giỏ hàng thật nên chắc chắn gặp, phải khai lại.
 * ===================================================================== */
body.bt-dl .wc-block-components-button:not(.is-link),
body.bt-dl .wc-block-cart__submit-button,
body.bt-dl .wc-block-components-checkout-place-order-button {
	min-height: 50px; border: 1px solid var(--bt-acc); border-radius: var(--bt-r-sm); padding: 0 24px;
	background: var(--bt-acc); color: #fff; font-family: var(--bt-h); font-size: 15px; font-weight: 600;
	transition: background .22s ease, border-color .22s ease, transform .22s cubic-bezier(.22,.8,.3,1); }
body.bt-dl .wc-block-components-button:not(.is-link):hover,
body.bt-dl .wc-block-cart__submit-button:hover,
body.bt-dl .wc-block-components-checkout-place-order-button:hover {
	background: var(--bt-acc-dk); border-color: var(--bt-acc-dk); transform: translateY(-2px); }
body.bt-dl .wc-block-components-button.is-link { color: var(--bt-acc); }

body.bt-dl .wc-block-components-totals-item__value,
body.bt-dl .wc-block-components-product-price { color: var(--bt-ink); font-weight: 700; }
body.bt-dl .wc-block-cart-items__row { border-color: var(--bt-line); }
body.bt-dl .wc-block-components-product-name { color: var(--bt-ink); font-family: var(--bt-h); font-weight: 600; }
body.bt-dl .wc-block-components-product-name:hover { color: var(--bt-acc); }
body.bt-dl .wc-block-components-text-input input,
body.bt-dl .wc-block-components-address-form input,
body.bt-dl .wc-block-components-quantity-selector { border-radius: var(--bt-r-sm); }
body.bt-dl .wc-block-components-panel__button { color: var(--bt-ink); }
body.bt-dl .wc-block-components-title, body.bt-dl .wp-block-woocommerce-cart h2 { color: var(--bt-ink); }
body.bt-dl .wc-block-components-checkout-step__title { color: var(--bt-ink); font-family: var(--bt-h); }

body.bt-dl table.shop_table { border-color: var(--bt-line); }
body.bt-dl table.shop_table th { color: var(--bt-ink); }
body.bt-dl .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0 0 22px; padding: 0;
	display: flex; flex-wrap: wrap; gap: 8px; }
body.bt-dl .woocommerce-MyAccount-navigation a { display: inline-block; padding: 9px 16px;
	border: 1px solid var(--bt-line); border-radius: var(--bt-r-sm); background: var(--bt-white);
	font-size: 14.5px; font-weight: 600; }
body.bt-dl .woocommerce-MyAccount-navigation li.is-active a { background: var(--bt-ink); border-color: var(--bt-ink); color: #fff; }

/* =====================================================================
 * TRANG GIỚI THIỆU
 * ===================================================================== */
.bt-gt { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(26px, 4.4vw, 60px); align-items: start; }
.bt-gt h2 { font-size: clamp(24px, 2.8vw, 33px); }
.bt-gt p { margin: 14px 0 0; color: var(--bt-body); font-size: 16.5px; }
.bt-gt__fig img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; border-radius: var(--bt-r); background: var(--bt-ice); }
.bt-gt__list { display: grid; gap: 14px; margin: 26px 0 0; padding: 0; list-style: none; }
.bt-gt__list li { display: flex; gap: 12px; padding: 16px 18px; border: 1px solid var(--bt-line);
	border-radius: var(--bt-r-sm); background: var(--bt-white); }
.bt-gt__list svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--bt-acc); }
.bt-gt__list strong { display: block; font-family: var(--bt-h); font-size: 16px; }
.bt-gt__list span { display: block; margin-top: 4px; color: var(--bt-body); font-size: 14.5px; }

/* =====================================================================
 * TRANG LIÊN HỆ
 * ===================================================================== */
.bt-lh { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(26px, 4.4vw, 60px); align-items: start; }
.bt-lh h2 { font-size: clamp(24px, 2.8vw, 33px); }
.bt-lh__list { list-style: none; margin: 24px 0 0; padding: 0; }
.bt-lh__list li { display: flex; align-items: flex-start; gap: 13px; padding: 16px 0; border-top: 1px solid var(--bt-line); }
.bt-lh__list li:last-child { border-bottom: 1px solid var(--bt-line); }
.bt-lh__list svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--bt-acc); }
.bt-lh__list strong { display: block; margin-bottom: 2px; color: var(--bt-muted);
	font-family: var(--bt-h); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.bt-lh__list span, .bt-lh__list a { font-size: 16.5px; }
.bt-lh__fig img { width: 100%; margin-top: 26px; aspect-ratio: 16 / 10; object-fit: cover;
	border-radius: var(--bt-r); background: var(--bt-ice); }

.bt-form { padding: clamp(20px, 2.6vw, 30px); border: 1px solid var(--bt-line);
	border-radius: var(--bt-r); background: var(--bt-white); }
.bt-form__row { display: grid; gap: 6px; margin: 0 0 15px; }
.bt-form__row label { font-size: 14.5px; font-weight: 600; }
.bt-form input, .bt-form textarea, .bt-form select {
	width: 100%; border: 1px solid var(--bt-line); border-radius: var(--bt-r-sm); padding: 12px 14px;
	background: var(--bt-white); color: var(--bt-ink); font-size: 16px;
	transition: border-color .2s ease, box-shadow .2s ease; }
.bt-form input, .bt-form select { min-height: 48px; }
.bt-form textarea { resize: vertical; min-height: 124px; }
.bt-form input:focus, .bt-form textarea:focus, .bt-form select:focus {
	outline: 0; border-color: var(--bt-acc); box-shadow: 0 0 0 3px rgba(11, 110, 146, .12); }
.bt-form__note { margin: 13px 0 0; color: var(--bt-muted); font-size: 13.5px; line-height: 1.65; }

/* =====================================================================
 * CHÂN TRANG
 * ===================================================================== */
.bt-foot { background: var(--bt-deep); color: #B9D6E2; }
.bt-foot__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 44px;
	padding: 56px 0 40px; }
.bt-foot h2 { margin: 0 0 14px; color: #fff; font-size: 15px; letter-spacing: .02em; }
.bt-foot__brand .bt-brand__name { color: #fff; }
.bt-foot__brand .bt-brand__tag { color: #8FD3EB; }
.bt-foot__desc { max-width: 380px; margin: 14px 0 0; font-size: 14.5px; line-height: 1.7; }
.bt-foot__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bt-foot__col a { font-size: 14.5px; }
.bt-foot__col a:hover { color: #fff; }
.bt-foot__lh { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 11px; }
.bt-foot__lh li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; }
.bt-foot__lh svg { width: 17px; height: 17px; flex: none; color: #8FD3EB; }
.bt-foot__lh a:hover { color: #fff; }
.bt-foot__bot { border-top: 1px solid rgba(143, 211, 235, .2); }
.bt-foot__bot .bt-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
	padding: 18px 0; font-size: 13.5px; }
.bt-foot__bot p { margin: 0; }
.bt-foot__bot a { color: #8FD3EB; }

/* =====================================================================
 * MÀN HÌNH HẸP
 * ===================================================================== */
@media (max-width: 1340px) {
	/* Ô tìm kiếm nhường chỗ trước, vì nó là thứ duy nhất ở đầu trang có bản thay
	   thế đầy đủ (trang Cửa hàng có cả lọc nhóm hàng lẫn lọc diện tích). */
	.bt-search { display: none; }
	.bt-nav ul { gap: 20px; }
}
@media (max-width: 1180px) {
	.bt-nav ul { gap: 16px; }
	body.bt-dl ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1060px) {
	.bt-hero__grid, .bt-ss, .bt-cta__in, .bt-gt, .bt-lh { grid-template-columns: 1fr; }
	.bt-cats { grid-template-columns: repeat(2, 1fr); }
	.bt-dv { grid-template-columns: 1fr; }
	.bt-ss__fig { order: 2; }
}
@media (max-width: 1000px) {
	.bt-head__row { grid-template-columns: 1fr auto; min-height: 72px; gap: 12px; }
	.bt-burger { display: inline-flex; }
	.bt-nav { position: absolute; inset: 100% 0 auto; display: none;
		padding: 8px var(--bt-gut) 16px; border-bottom: 1px solid var(--bt-line);
		background: var(--bt-white); box-shadow: 0 18px 30px -22px rgba(13,43,56,.6); }
	/* Chỉ chạy lúc mở — `display: none` cắt mọi chuyển cảnh khi đóng. */
	.bt-nav.is-open { display: block; animation: bt-drop .26s cubic-bezier(.22,.8,.3,1) both; }
	@keyframes bt-drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
	.bt-nav ul { display: grid; gap: 0; }
	.bt-nav a { display: block; padding: 13px 2px; border-bottom: 1px solid var(--bt-line); }
	.bt-nav a::after { display: none; }
	.bt-foot__grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; }
	.bt-foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
	.bt-brand__mark { width: 38px; height: 38px; }
	.bt-brand__name { font-size: 19px; }
	.bt-cart__label { display: none; }
	.bt-top__in { justify-content: center; text-align: center; }
	.bt-top__in a { display: none; }
	.bt-cs__opts { grid-template-columns: 1fr; }
	.bt-hero__stat { grid-template-columns: 1fr; gap: 12px; }
	body.bt-dl ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
	body.bt-dl ul.products li.product { padding: 10px; }
	.bt-tags { top: 18px; left: 18px; }
	body.bt-dl div.product { grid-template-columns: 1fr; }
	.bt-foot__grid { grid-template-columns: 1fr 1fr; gap: 30px 18px; padding: 44px 0 32px; }
	.bt-ss__tbl th, .bt-ss__tbl td { padding: 11px 12px; font-size: 14px; }
	.bt-tskt dd { font-size: 14px; }
}
@media (max-width: 420px) {
	body.bt-dl ul.products { grid-template-columns: 1fr; }
	.bt-foot__grid { grid-template-columns: 1fr; }
}

/* 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; }
}
