/* =========================================================
   Khẩu Trang Juli
   Bảng màu: xanh dương y tế (--brand) + đỏ (--sale) cho giá/khuyến mãi
   Breakpoint: 849px (tablet), 549px (mobile)
   ========================================================= */

:root {
  --brand: #0b5cad;
  --brand-dark: #084a8c;
  --brand-hover: #1a6dc0;
  --brand-soft: #eef4fb;
  --bg-soft: #f3f7fc;
  --sale: #e5383b;
  --sale-dark: #c62f32;
  --sale-soft: #fde8e8;
  --text: #1f2937;
  --muted: #6b7280;
  --heading: #111827;
  --border: #e6ebf2;
  --zalo: #0068ff;
  --call: #22c55e;
  --container: 1310px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--text); text-decoration: none; transition: color .2s; }
a:hover { color: var(--brand); }
img { display: block; max-width: 100%; height: auto; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 { margin: 0; color: var(--heading); font-weight: 700; }
button, input { font-family: inherit; }
svg { display: inline-block; vertical-align: middle; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 15px;
}

.show-for-medium { display: none !important; }

/* ---------------- HEADER ---------------- */
.header { position: relative; z-index: 30; min-height: 124px; }
.header-wrapper { background: #fff; }

.header-main { height: 84px; background: #fff; }
.header-inner { display: flex; align-items: center; height: 100%; }

.logo { flex: 0 0 221px; width: 221px; margin-right: 30px; }
.logo img { max-height: 70px; padding: 7px 0; width: auto; }

.header-block { flex: 1; display: flex; align-items: center; }
.header-block .col-search { flex: 0 0 72%; max-width: 72%; padding: 0 9.8px; }
.header-block .col-support { flex: 0 0 28%; max-width: 28%; padding: 0 9.8px; }

/* Ô tìm kiếm */
.search-form { position: relative; display: flex; width: 100%; }
.search-form input[type=search] {
  width: 100%;
  height: 40px;
  padding: 10px 65px 10px 15px;
  font-size: 14px;
  background: #fff;
  border: 1.5px solid var(--brand);
  border-radius: 6px;
  -webkit-appearance: none;
  appearance: none;
}
.search-form input[type=search]:focus { outline: 0; box-shadow: 0 0 0 3px rgb(11 92 173 / .15); }
.search-form input[type=search]::placeholder { color: #9ca3af; font-style: italic; }
.search-form button {
  position: absolute;
  top: 0;
  right: 0;
  width: 54px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 0 6px 6px 0;
  background: var(--brand);
  color: #fff;
  cursor: pointer;
}
.search-form button:hover { background: var(--brand-dark); }

.search-keys { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 5px; padding-left: 2px; font-size: 12px; line-height: 1.4; }
.search-keys a { color: var(--muted); }
.search-keys a:hover { color: var(--brand); }

.support-box { display: flex; align-items: center; color: var(--brand); }
.support-box .icon { flex: 0 0 42px; width: 42px; height: 40px; }
.support-box p { padding-left: 6px; font-size: 13px; line-height: 18px; white-space: nowrap; color: var(--muted); }
.support-box p b { font-size: 16px; color: var(--sale); }

.header-cta { margin-left: auto; }
.btn-zalo-head {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: var(--zalo);
  border-radius: 24px;
  white-space: nowrap;
  transition: background .2s, transform .2s;
}
.btn-zalo-head:hover { color: #fff; background: #0052cc; transform: translateY(-1px); }
.btn-zalo-head svg { width: 18px; height: 18px; }

/* Thanh menu */
.header-bottom { min-height: 40px; background: var(--brand); }
.header-bottom-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 40px;
}
.nav-main { display: flex; grid-column: 2; }
.nav-main > li { position: relative; border-right: 1px solid var(--brand-dark); }
.nav-main > li:first-child { border-left: 1px solid var(--brand-dark); }
.nav-main > li > a {
  display: block;
  padding: 0 20px;
  line-height: 40px;
  font-size: .8em;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: hsl(0 0% 100% / .85);
  transition: all .2s;
}
.nav-main > li > a:hover { background: var(--brand-hover); color: #fff; }
.nav-main > li > a svg { width: 12px; height: 12px; margin-left: 3px; vertical-align: -1px; }
.nav-main > li.active { padding: 0 8px; }
.nav-main > li.active > a {
  margin: 7px 0;
  padding: 0 .75em;
  line-height: 22px;
  color: #fff;
  border: 2px solid currentColor;
  border-radius: 32px;
}
.nav-main > li.active > a:hover { background: transparent; }

/* Menu thả xuống "Chính sách" */
.dd {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 5;
  min-width: 240px;
  padding: 8px 0;
  background: #fff;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.has-dd:hover .dd,
.has-dd:focus-within .dd { opacity: 1; visibility: visible; transform: none; }
.dd a { display: block; padding: 9px 18px; font-size: 14px; color: var(--text); }
.dd a:hover,
.dd li.active a { color: var(--brand); background: var(--brand-soft); }

/* Header dính khi cuộn */
.header.stuck .header-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
  animation: stuckMoveDown .6s;
}
.header.stuck .header-main { display: none; }
@keyframes stuckMoveDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

/* Dải cam kết */
.trust-bar { background: #fff; border-bottom: 1px solid var(--border); }
.trust-inner {
  display: flex;
  justify-content: center;
  gap: 42px;
  padding-top: 8px;
  padding-bottom: 8px;
  font-size: 13px;
  color: #374151;
}
.trust-inner span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.trust-inner svg { width: 18px; height: 18px; color: var(--brand); flex: none; }
.trust-inner a { font-weight: 700; color: var(--sale); }

/* ---------------- NÚT ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: background .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; }
.btn-zalo { color: #fff; background: var(--zalo); }
.btn-zalo:hover { color: #fff; background: #0052cc; }
.btn-call { color: #fff; background: var(--call); }
.btn-call:hover { color: #fff; background: #16a34a; }
.btn-primary { color: #fff; background: var(--brand); }
.btn-primary:hover { color: #fff; background: var(--brand-dark); }
.btn-outline { color: var(--brand); background: #fff; border-color: var(--brand); }
.btn-outline:hover { color: var(--brand); background: var(--brand-soft); }
.btn-white { color: var(--sale); background: #fff; }
.btn-white:hover { color: var(--sale-dark); background: #fff4f4; }

/* ---------------- KHUNG SECTION ---------------- */
section[id] { scroll-margin-top: 50px; }
.sec { padding: 56px 0; background: #fff; }
.sec-soft { background: var(--bg-soft); }
.container.narrow { max-width: 860px; }
.eyebrow {
  display: inline-block;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 20px;
}
.sec-head { max-width: 680px; margin: 0 auto 28px; text-align: center; }
.sec-head h2 { margin: 10px 0 8px; font-size: 30px; line-height: 1.25; }
.sec-head p { font-size: 15px; color: var(--muted); }
.sec-head a { font-weight: 500; color: var(--brand); text-decoration: underline; }

/* ---------------- LỢI ÍCH ---------------- */
.benefit-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.benefit {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: box-shadow .2s, transform .2s;
}
.benefit:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(17, 24, 39, .07); }
.b-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 12px;
}
.b-ico svg { width: 24px; height: 24px; }
.benefit h3 { margin-bottom: 6px; font-size: 17px; }
.benefit p { font-size: 14px; line-height: 1.55; color: var(--muted); }

/* ---------------- DANH SÁCH SẢN PHẨM (hiện ngay đầu trang) ---------------- */
.shop { padding: 26px 0 50px; background: var(--bg-soft); }
.shop-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px 24px;
  margin-bottom: 20px;
}
.shop-title h1 { font-size: 28px; line-height: 1.25; }
.shop-title p { margin-top: 4px; font-size: 14px; color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 30px;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.filter span {
  min-width: 22px;
  padding: 0 6px;
  font-size: 12px;
  line-height: 20px;
  text-align: center;
  color: var(--muted);
  background: var(--bg-soft);
  border-radius: 10px;
}
.filter:hover { color: var(--brand); border-color: var(--brand); }
.filter.active { color: #fff; background: var(--brand); border-color: var(--brand); }
.filter.active span { color: var(--brand); background: #fff; }
.search-info { margin: -6px 0 14px; font-size: 14px; color: var(--muted); }
.search-info b { color: var(--heading); }
.search-info button {
  margin-left: 6px;
  padding: 0;
  font: inherit;
  font-weight: 700;
  color: var(--brand);
  text-decoration: underline;
  background: none;
  border: 0;
  cursor: pointer;
}

/* Lưới thẻ: --cols cột, hàng cuối thiếu thẻ thì căn giữa */
.p-grid { --cols: 5; --gap: 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
.p-grid > .p-card { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); min-width: 0; }
.p-grid-others { --cols: 4; }
.p-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  scroll-margin-top: 70px;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.p-card[hidden] { display: none; }
.p-card:hover { transform: translateY(-3px); border-color: #cfdcec; box-shadow: 0 12px 28px rgba(17, 24, 39, .10); }
.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 2px 9px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
  color: #fff;
  background: var(--brand);
  border-radius: 20px;
}
.ribbon {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  padding: 2px 9px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
  color: #fff;
  background: var(--sale);
  border-radius: 20px;
}
.p-img { position: relative; display: block; overflow: hidden; aspect-ratio: 1 / 1; background: #f4f5f7; }
.p-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform .6s; }
.p-img .p-img-alt { opacity: 0; }
@media (hover: hover) {
  .p-card:hover .p-img img { transform: scale(1.04); }
  .p-card:hover .p-img .p-img-alt { opacity: 1; }
}
.p-count {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  background: rgb(17 24 39 / .6);
  border-radius: 20px;
}
.p-count svg { width: 14px; height: 14px; }
.p-body { display: flex; flex: 1; flex-direction: column; padding: 12px 14px 14px; }
.p-brand { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.p-title {
  display: -webkit-box;
  min-height: 44px;
  margin: 2px 0 4px;
  overflow: hidden;
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.p-title a { color: var(--heading); }
.p-title a:hover { color: var(--brand); }
.p-sub { margin-bottom: 10px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.swatches { display: flex; flex-wrap: wrap; gap: 5px; min-height: 18px; margin-bottom: 12px; }
.swatches li { width: 18px; height: 18px; background: var(--c); border-radius: 50%; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .15); }
.swatches .more { width: auto; padding: 0 2px; font-size: 12px; line-height: 18px; color: var(--muted); background: none; box-shadow: none; }
.p-variant { min-height: 18px; margin-bottom: 12px; font-size: 13px; font-weight: 500; line-height: 18px; color: var(--brand); }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; margin: auto 0 12px; line-height: 1.3; }
.price .amount { order: 1; font-size: 19px; font-weight: 700; white-space: nowrap; color: var(--sale); }
.price del { order: 2; font-size: 13px; color: #9ca3af; }
.price .unit { order: 3; font-size: 13px; color: var(--muted); }
.btn-buy {
  display: block;
  padding: 9px 6px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  color: #fff;
  background: var(--brand);
  border: 1.5px solid var(--brand);
  border-radius: 8px;
  transition: background .2s, color .2s;
}
.btn-buy:hover { color: #fff; background: var(--brand-dark); }
.btn-buy-call { color: var(--brand); background: #fff; }
.btn-buy-call:hover { color: var(--brand); background: var(--brand-soft); }
.p-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.p-bullets { margin-bottom: 12px; }
.p-bullets li { display: flex; gap: 8px; margin-bottom: 6px; font-size: 14px; color: #374151; }
.p-bullets svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--call); }
.search-empty { margin-top: 16px; text-align: center; color: var(--muted); }
.search-empty a { font-weight: 700; color: var(--zalo); }

/* ---------------- ƯU ĐÃI ---------------- */
.promo-sec { padding: 0 0 56px; background: var(--bg-soft); }
.promo-img { display: block; }
.promo {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 22px 28px;
  color: #fff;
  background: linear-gradient(135deg, var(--sale-dark), var(--sale) 55%, #f0614f);
  border-radius: 16px;
}
.promo-img { width: 150px; height: 150px; overflow: hidden; background: #fff; border-radius: 50%; box-shadow: 0 0 0 6px rgb(255 255 255 / .25); }
.promo-img img { width: 100%; height: 100%; object-fit: cover; }
.promo-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  font-size: 13px;
  font-weight: 700;
  background: rgb(255 255 255 / .18);
  border-radius: 20px;
}
.promo-tag svg { width: 16px; height: 16px; }
.promo h2 { margin: 8px 0 4px; font-size: 26px; color: #fff; }
.promo p { font-size: 14px; opacity: .9; }
.promo-timer { display: flex; align-items: center; gap: 4px; margin-top: 12px; font-size: 14px; }
.promo-timer span { margin-right: 4px; }
.promo-timer i { margin: 0 6px 0 2px; font-style: normal; }
.promo-timer b { min-width: 32px; padding: 3px 4px; font-size: 15px; text-align: center; background: #1f2937; border-radius: 5px; }

/* ---------------- BẢNG SO SÁNH ---------------- */
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--border); border-radius: 12px; }
.compare { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 14px; }
.compare th {
  padding: 14px 16px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .03em;
  text-align: left;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}
.compare td { padding: 12px 16px; vertical-align: middle; border-bottom: 1px solid var(--border); }
.compare td:nth-child(2) { white-space: nowrap; }
.compare tr:last-child td { border-bottom: 0; }
.compare tbody tr:hover { background: #fafcff; }
.compare td:first-child { min-width: 180px; }
.cmp-name { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--heading); white-space: nowrap; }
.cmp-name img { width: 52px; height: 52px; object-fit: cover; border: 1px solid var(--border); border-radius: 8px; }
.meter { display: inline-flex; gap: 3px; margin-right: 8px; vertical-align: middle; }
.meter i { width: 14px; height: 8px; background: #dbe4ef; border-radius: 2px; }
.meter.m1 i:nth-child(-n+1),
.meter.m2 i:nth-child(-n+2),
.meter.m3 i:nth-child(-n+3),
.meter.m4 i { background: var(--brand); }
.yes { display: inline-flex; align-items: center; gap: 4px; font-weight: 500; color: #15803d; }
.yes svg { width: 16px; height: 16px; }
.cmp-price { font-weight: 700; white-space: nowrap; color: var(--sale); }
.cmp-price small { font-size: 12px; font-weight: 400; color: var(--muted); }
.dash { color: #9ca3af; }

/* ---------------- MUA NHIỀU GIẢM NHIỀU ---------------- */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 1040px; margin: 0 auto; }
.tier {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
}
.tier h3 { font-size: 18px; }
.tier-off { margin: 6px 0 16px; font-size: 30px; font-weight: 900; color: var(--brand); }
.tier ul { margin-bottom: 22px; }
.tier li { display: flex; gap: 8px; margin-bottom: 8px; font-size: 14px; color: #374151; }
.tier li svg { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--brand); }
.tier .btn { margin-top: auto; }
.tier-best { border: 2px solid var(--brand); box-shadow: 0 14px 30px rgb(11 92 173 / .14); }
.tier-best .tier-off { color: var(--sale); }
.tier-flag {
  position: absolute;
  top: -13px;
  left: 50%;
  padding: 3px 14px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  color: #fff;
  background: var(--sale);
  border-radius: 20px;
  transform: translateX(-50%);
}

/* ---------------- CÁCH ĐẶT HÀNG ---------------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; max-width: 1040px; margin: 0 auto; }
.step { position: relative; padding: 28px 22px 22px; text-align: center; background: var(--bg-soft); border-radius: 14px; }
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -21px;
  width: 14px;
  height: 14px;
  border-top: 3px solid #b8cde6;
  border-right: 3px solid #b8cde6;
  transform: translateY(-50%) rotate(45deg);
}
.step-no {
  position: absolute;
  top: 12px;
  left: 14px;
  width: 28px;
  height: 28px;
  font-size: 14px;
  font-weight: 700;
  line-height: 28px;
  color: #fff;
  background: var(--brand);
  border-radius: 50%;
}
.step-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 12px;
  color: var(--brand);
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 6px 16px rgb(11 92 173 / .12);
}
.step-ico svg { width: 28px; height: 28px; }
.step h3 { margin-bottom: 6px; font-size: 17px; }
.step p { font-size: 14px; color: var(--muted); }
.steps-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

/* ---------------- HỎI ĐÁP ---------------- */
.faq details { margin-bottom: 10px; overflow: hidden; background: #fff; border: 1px solid var(--border); border-radius: 10px; }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; width: 18px; height: 18px; color: var(--brand); transition: transform .2s; }
.faq details[open] summary { color: var(--brand); }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details p { padding: 0 18px 16px; font-size: 15px; color: #4b5563; }
.faq a { color: var(--brand); text-decoration: underline; }

/* ---------------- FOOTER ---------------- */
.footer-section { padding: 30px 0; background: #fff; border-top: 3px solid var(--brand); }
.footer-section .row1 { display: flex; padding-bottom: 12px; margin-bottom: 20px; border-bottom: 1px solid #eee; }
.footer-section .col-4 { flex: 0 0 33.333%; max-width: 33.333%; padding-right: 15px; }
.footer-section .col-8 { flex: 0 0 66.667%; max-width: 66.667%; display: flex; }
.footer-section .sub-col { flex: 0 0 33.333%; max-width: 33.333%; padding: 0 9.8px; }
.footer-section .ft-title { margin-bottom: 7px; font-size: 15px; color: var(--heading); }
.footer-section h4 { margin-bottom: 15px; font-size: 15px; text-transform: uppercase; }
.footer-section ul { padding-left: 1.3em; list-style: disc; }
.footer-section ul li { margin-bottom: .6em; font-size: 14px; }
.footer-section .sub-col ul li { font-size: 13px; }
.footer-section ul a { color: var(--text); }
.footer-section ul a:hover { color: var(--brand); }
.ft-hotline { margin-bottom: 10px; font-size: 14px; line-height: 1.7; color: var(--muted); }
.ft-hotline a { font-weight: 700; color: var(--sale); }

.social-icons { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  border-radius: 50%;
  transition: transform .2s, opacity .2s;
}
.social-icons a:hover { opacity: .85; color: #fff; transform: translateY(-2px); }
.social-icons svg { width: 16px; height: 16px; }
.social-icons .facebook { background: #1877f2; }
.social-icons .zalo { background: var(--zalo); }
.social-icons .tiktok { background: #111; }
.social-icons .youtube { background: #ff0000; }
.social-icons .email { background: #6b7280; }
.social-icons .phone { background: var(--call); }

.absolute-footer {
  padding: 10px 0 15px;
  font-size: 12px;
  color: #989898;
  background: #fcfcfc;
  border-top: 1px solid #eee;
}
.absolute-footer a { color: inherit; }

/* ---------------- NÚT NỔI: ZALO, GỌI, LÊN ĐẦU TRANG ---------------- */
.float-contact {
  position: fixed;
  right: 20px;
  bottom: 76px;
  z-index: 25;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.float-contact a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
  transition: transform .2s;
}
.float-contact a:hover { color: #fff; transform: scale(1.08); }
.float-contact svg { width: 22px; height: 22px; }
.fc-zalo { background: var(--zalo); }
.fc-phone { background: var(--call); }
.fc-phone::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--call);
  opacity: .5;
  z-index: -1;
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  from { transform: scale(1); opacity: .5; }
  to { transform: scale(1.7); opacity: 0; }
}

.back-to-top {
  position: fixed;
  right: 25px;
  bottom: 20px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  color: var(--brand);
  background: #fff;
  border: 2px solid currentColor;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(30%);
  transition: all .3s;
}
.back-to-top.active { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { color: #fff; background: var(--brand); border-color: var(--brand); }
.back-to-top svg { width: 18px; height: 18px; }

/* Thanh tab dưới cùng (điện thoại) */
.tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  height: 58px;
  background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, .06);
}
.tabbar a {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 11px;
  color: var(--muted);
}
.tabbar a.active { color: var(--brand); font-weight: 700; }
.tabbar svg { width: 22px; height: 22px; }
.tabbar .tb-call { color: var(--call); }
.tabbar .tb-zalo b {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  padding: 0 6px;
  font-size: 11px;
  color: #fff;
  background: var(--zalo);
  border-radius: 6px;
}
.tabbar .tb-zalo { color: var(--zalo); }

/* ---------------- MENU MOBILE ---------------- */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgb(11 11 11 / .8);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.overlay.open { opacity: 1; visibility: visible; }
.overlay-close {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 102;
  width: 50px;
  height: 50px;
  font-size: 36px;
  line-height: 50px;
  color: #fff;
  background: none;
  border: 0;
  cursor: pointer;
  opacity: .8;
}
.overlay-close:hover { opacity: 1; }

.mobile-sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 101;
  width: 300px;
  max-width: 85vw;
  background: #fff;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform .3s;
}
.overlay.open .mobile-sidebar { transform: translateX(0); }
.nav-sidebar { padding-top: 30px; }
.nav-sidebar li { border-top: 1px solid #ececec; }
.nav-sidebar li:last-child { border-bottom: 1px solid #ececec; }
.nav-sidebar a {
  display: block;
  padding: 15px 20px;
  font-size: .8em;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: rgb(74 74 74 / .85);
}
.nav-sidebar a:hover,
.nav-sidebar li.active > a { color: var(--brand); }
.nav-sidebar .sidebar-search { padding: 15px 20px; }
.nav-sidebar .sub-menu { padding-bottom: 8px; }
.nav-sidebar .sub-menu li { border: 0; }
.nav-sidebar .sub-menu a { padding: 8px 20px 8px 34px; font-size: 14px; font-weight: 400; text-transform: none; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: rgb(74 74 74 / .85);
  background: none;
  border: 0;
  cursor: pointer;
}
.icon-btn svg { width: 24px; height: 24px; }

/* ---------------- TRANG NỘI DUNG (chính sách) ---------------- */
.page-wrapper { padding: 30px 0; }
.entry-content { padding: 0 0 .5em; }
.entry-content p,
.entry-content ul,
.entry-content ol,
.entry-content blockquote { margin: 0 0 1.3em; }
.entry-content h2 { margin-bottom: .5em; font-size: 1.6em; line-height: 1.3; }
.entry-content h3 { margin-bottom: .5em; font-size: 1.25em; line-height: 1.3; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; padding: 0; }
.entry-content li { margin: 0 0 .6em 1.3em; }
.entry-content a { color: var(--brand); }
.entry-content a:hover { text-decoration: underline; }

.entry-content blockquote.notice {
  position: relative;
  padding: 0 1.25em 0 1.875em;
  font-size: 1.2em;
  font-style: italic;
  color: #333;
  border-left: 3px solid var(--brand);
}
.entry-content blockquote.notice p { margin: 0; }
.entry-content .disclaimer { margin-bottom: 0; text-align: justify; }

/* Form liên hệ */
.contact-form label { display: block; font-size: 14px; font-weight: 700; color: #222; }
.contact-form label span { font-size: 12px; font-weight: 400; }
.contact-form .field { margin-bottom: 8px; }
.contact-form input,
.contact-form textarea {
  display: block;
  width: 50%;
  height: 40px;
  margin-top: 8px;
  padding: 0 .75em;
  font-size: 15px;
  border: 1px solid #d1d9e4;
  border-radius: 6px;
  transition: border-color .3s, box-shadow .3s;
}
.contact-form textarea { width: 100%; height: 120px; padding: .6em .75em; resize: vertical; }
.contact-form input:focus,
.contact-form textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgb(11 92 173 / .15); }
.contact-form .form-submit { margin: 15px 0 0; text-align: center; }
.contact-form button {
  padding: 0 2em;
  line-height: 2.4em;
  font-size: 1em;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: #fff;
  background: var(--brand);
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}
.contact-form button:hover { background: var(--brand-dark); }
.contact-success { padding: 20px 0; }
.contact-success h4 { font-size: 1.1em; color: var(--brand); margin-bottom: .5em; }

/* Chia sẻ */
.sharedaddy { margin-top: 1.5em; }
.sharedaddy .sd-title { margin: 0 0 1em; font-size: 9pt; font-weight: 700; line-height: 1.2; }
.sharedaddy .sd-title::before {
  content: '';
  display: block;
  width: 100%;
  margin-bottom: 1em;
  border-top: 1px solid #dcdcde;
}
.share-buttons { display: flex; gap: 6px; }
.share-buttons a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 11px;
  font-size: 13px;
  line-height: 18px;
  color: #2c3338;
  background: #fff;
  border: 1px solid #dcdcde;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .12);
}
.share-buttons a:hover { color: #2c3338; border-color: #a7aaad; }
.share-buttons svg { width: 16px; height: 16px; }

/* ---------------- TRANG CHI TIẾT SẢN PHẨM ---------------- */
.pd-page { padding-top: 14px; padding-bottom: 54px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 16px; font-size: 13px; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb svg { width: 12px; height: 12px; }
.breadcrumb span { font-weight: 500; color: var(--heading); }
.pd { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: start; gap: 40px; }
.pd-gallery { position: sticky; top: 56px; }
.pd-main {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #f4f5f7;
  border: 1px solid var(--border);
  border-radius: 14px;
  touch-action: pan-y;
}
.pd-main img { width: 100%; height: 100%; object-fit: contain; cursor: zoom-in; user-select: none; }
.pd-nav,
.pd-zoom {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--heading);
  background: rgb(255 255 255 / .92);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgb(0 0 0 / .15);
  cursor: pointer;
  transition: color .2s, background .2s;
}
.pd-nav { top: 50%; width: 42px; height: 42px; margin-top: -21px; }
.pd-prev { left: 12px; }
.pd-next { right: 12px; }
.pd-zoom { top: 12px; right: 12px; width: 38px; height: 38px; }
.pd-nav svg { width: 20px; height: 20px; }
.pd-zoom svg { width: 18px; height: 18px; }
.pd-nav:hover,
.pd-zoom:hover { color: var(--brand); background: #fff; }
.pd-counter {
  position: absolute;
  bottom: 12px;
  left: 12px;
  padding: 3px 10px;
  font-size: 13px;
  color: #fff;
  background: rgb(17 24 39 / .6);
  border-radius: 20px;
}
.pd-thumbs { display: flex; gap: 8px; margin-top: 10px; padding-bottom: 6px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: thin; }
.pd-thumb {
  flex: 0 0 76px;
  height: 76px;
  padding: 0;
  overflow: hidden;
  background: #f4f5f7;
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  opacity: .7;
  transition: opacity .2s, border-color .2s;
}
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumb:hover { opacity: 1; }
.pd-thumb.active { border-color: var(--brand); opacity: 1; }

.pd-info h1 { margin: 4px 0 8px; font-size: 28px; line-height: 1.3; }
.pd-tagline { margin-bottom: 16px; font-size: 15px; color: #4b5563; }
.pd-price { margin-bottom: 18px; padding: 12px 16px; background: #fff6f6; border-radius: 10px; }
.pd-price .amount { font-size: 30px; }
.pd-price .unit { font-size: 15px; }
.pd-opt h3 { margin-bottom: 10px; font-size: 15px; }
.pd-opt h3 span { font-weight: 400; color: var(--muted); }
.pd-colors { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.pd-colors li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px 5px 6px;
  font-size: 13.5px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 30px;
}
.pd-colors i { width: 20px; height: 20px; background: var(--c); border-radius: 50%; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .15); }
.pd-sizes li { flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 18px; font-size: 12.5px; color: var(--muted); border-radius: 10px; }
.pd-sizes b { font-size: 15px; color: var(--heading); }
.pd-info .p-bullets li { font-size: 15px; }
.pd-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.pd-btns .btn { padding: 14px 12px; font-size: 16px; }
.pd-note { margin-top: 8px; font-size: 13px; color: var(--muted); }
.pd-trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
  padding-top: 18px;
  font-size: 13.5px;
  border-top: 1px dashed var(--border);
}
.pd-trust li { display: flex; align-items: center; gap: 8px; }
.pd-trust svg { flex: none; width: 20px; height: 20px; color: var(--brand); }

.pd-more { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; margin-top: 44px; }
.pd-section h2 { margin-bottom: 14px; font-size: 22px; }
.pd-specs {
  width: 100%;
  overflow: hidden;
  font-size: 14.5px;
  border: 1px solid var(--border);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
}
.pd-specs th { width: 130px; padding: 11px 16px; font-weight: 500; text-align: left; color: var(--muted); background: var(--bg-soft); border-bottom: 1px solid var(--border); }
.pd-specs td { padding: 11px 16px; border-bottom: 1px solid var(--border); }
.pd-specs tr:last-child > * { border-bottom: 0; }
.pd-layers { display: grid; gap: 8px; padding: 0; list-style: none; }
.pd-layers li {
  display: grid;
  grid-template-columns: 62px 1fr;
  align-items: center;
  column-gap: 12px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
}
.pd-layers span { grid-row: span 2; padding: 5px 0; font-size: 12.5px; font-weight: 700; text-align: center; color: var(--brand); background: var(--brand-soft); border-radius: 6px; }
.pd-layers b { font-size: 14.5px; }
.pd-layers p { font-size: 13px; color: var(--muted); }
.pd-others { margin-top: 48px; }

/* Xem ảnh lớn */
.lightbox { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; background: rgb(10 14 22 / .94); touch-action: pan-y; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: calc(100vw - 150px); max-height: calc(100vh - 80px); object-fit: contain; border-radius: 6px; user-select: none; }
.lb-close { position: absolute; top: 8px; right: 12px; padding: 4px 12px; font-size: 42px; line-height: 1; color: #fff; background: none; border: 0; cursor: pointer; }
.lb-nav {
  position: absolute;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-top: -26px;
  color: #fff;
  background: rgb(255 255 255 / .12);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}
.lb-nav:hover { background: rgb(255 255 255 / .25); }
.lb-prev { left: 18px; }
.lb-next { right: 18px; }
.lb-nav svg { width: 26px; height: 26px; }
.lb-counter { position: absolute; bottom: 16px; left: 50%; font-size: 14px; color: #fff; transform: translateX(-50%); }

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 1180px) {
  .p-grid { --cols: 3; }
  .p-grid-others { --cols: 4; }
}

@media (max-width: 849px) {
  .hide-for-medium { display: none !important; }
  .show-for-medium { display: flex !important; }

  body { padding-bottom: 58px; }
  .header { min-height: 120px; }
  .header-main { height: 70px; }
  .header-inner { position: relative; justify-content: space-between; }
  .logo {
    position: absolute;
    left: 50%;
    flex: none;
    width: 190px;
    margin: 0;
    transform: translateX(-50%);
  }
  .logo img { margin: 0 auto; max-height: 56px; }
  .header-bottom-inner { display: block; padding-top: 5px; padding-bottom: 5px; }
  .header-bottom .search-form input[type=search] { border-color: #fff; }

  .trust-inner { justify-content: flex-start; gap: 24px; overflow-x: auto; scrollbar-width: none; }
  .trust-inner::-webkit-scrollbar { display: none; }

  .sec { padding: 40px 0; }
  .promo-sec { padding: 0 0 40px; }
  .sec-head h2 { font-size: 25px; }
  .shop { padding: 18px 0 36px; }
  .shop-head { flex-direction: column; align-items: flex-start; margin-bottom: 14px; }
  .shop-title h1 { font-size: 23px; }
  .p-grid, .p-grid-others { --cols: 2; --gap: 14px; }
  .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promo { grid-template-columns: 110px 1fr; padding: 20px; }
  .promo-img { width: 110px; height: 110px; }
  .promo .btn { grid-column: 1 / -1; }
  .steps { gap: 16px; }
  .step:not(:last-child)::after { display: none; }

  .pd { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .pd-gallery { position: static; }
  .pd-info h1 { font-size: 24px; }
  .pd-more { margin-top: 32px; }

  .footer-section .row1 { flex-wrap: wrap; }
  .footer-section .col-4, .footer-section .col-8 { flex-basis: 100%; max-width: 100%; }
  .footer-section .col-4 { margin-bottom: 20px; }
  .footer-section .sub-col:first-child { padding-left: 0; }
}

@media (max-width: 549px) {
  .shop-title h1 { font-size: 21px; }
  .shop-title p { font-size: 13px; }
  .filter { padding: 7px 13px; font-size: 13.5px; }
  .filter span { display: none; }
  .benefit { padding: 14px; }
  .benefit h3 { font-size: 15px; }
  .benefit p { font-size: 13px; }
  .p-grid { --gap: 10px; }
  .p-grid-others {
    flex-wrap: nowrap;
    justify-content: flex-start;
    margin: 0 -15px;
    padding: 0 15px 6px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .p-grid-others::-webkit-scrollbar { display: none; }
  .p-grid-others > .p-card { flex: 0 0 64%; scroll-snap-align: start; }
  .p-body { padding: 10px; }
  .p-brand { font-size: 10.5px; }
  .p-title { min-height: 40px; font-size: 14px; line-height: 20px; }
  .p-sub { margin-bottom: 8px; font-size: 12px; }
  .swatches { gap: 4px; margin-bottom: 10px; }
  .swatches li { width: 15px; height: 15px; }
  .p-variant { font-size: 12px; }
  .price { margin-bottom: 10px; }
  .price .amount { font-size: 17px; }
  .price .unit { font-size: 12px; }
  .p-btns { grid-template-columns: 1fr; }
  .p-card .p-btns .btn-buy-call { display: none; }
  .badge, .ribbon { top: 8px; padding: 1px 7px; font-size: 11px; }
  .badge { left: 8px; }
  .ribbon { right: 8px; }
  .promo { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .promo-img { width: 120px; height: 120px; }
  .promo h2 { font-size: 21px; }
  .tiers, .steps { grid-template-columns: 1fr; }
  .tiers { gap: 24px; }
  .sec-head h2 { font-size: 22px; }

  .pd-page { padding-top: 10px; }
  .breadcrumb { margin-bottom: 10px; }
  .pd-main { margin: 0 -15px; border: 0; border-radius: 0; }
  .pd-nav { width: 36px; height: 36px; margin-top: -18px; }
  .pd-thumb { flex-basis: 60px; height: 60px; }
  .pd-info h1 { font-size: 21px; }
  .pd-price .amount { font-size: 26px; }
  .pd-btns { grid-template-columns: 1fr; }
  .pd-trust { font-size: 13px; }
  .pd-more { grid-template-columns: 1fr; }
  .pd-section h2 { font-size: 19px; }
  .pd-specs th { width: 100px; padding: 10px 12px; }
  .pd-specs td { padding: 10px 12px; }
  .lightbox img { max-width: 100vw; }
  .lb-nav { top: auto; bottom: 10px; margin-top: 0; width: 44px; height: 44px; }

  .footer-section .col-8 { flex-wrap: wrap; }
  .footer-section .sub-col { flex-basis: 50%; max-width: 50%; }
  .footer-section .sub-col:nth-child(odd) { padding-left: 0; }
  .footer-section .sub-col:last-child { margin-top: 10px; }
  .contact-form input { width: 100%; }
  .entry-content h2 { font-size: 1.35em; }
  .entry-content blockquote.notice { font-size: 1.05em; padding-left: 1em; }
}
