/* ------------------------------------------------------------------
   Giao dien mac dinh MasterSite 3.0 - hien dai, uu tien dien thoai.

   Viet tay, khong qua buoc build: may chu khong co Node (CLAUDE.md), va mot
   file CSS doc duoc thang tren dia de sua nhanh khi can.

   Mau chu dao va so cot do tung website tu cau hinh, layout in ra thanh bien
   --mau-chinh / --mau-nhan / --cot-san-pham o :root. Moi mau phu sinh ra tu
   hai mau do bang color-mix() nen doi mau chu dao la ca giao dien doi theo.

   Chuan dung: custom properties, clamp() co chu/khoang, container query,
   :has(), aspect-ratio, scroll-snap, dvh, safe-area, view transitions,
   prefers-reduced-motion. Tat ca deu thoai lui duoc (khong co thi van dung
   duoc, chi kem dep).
   ------------------------------------------------------------------ */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("fonts/bricolage-vi.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("fonts/bricolage-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Nunito Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/nunito-vi.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: "Nunito Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/nunito-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Chuyen trang muot tren may tinh (trinh duyet nao khong ho tro thi bo qua). Khong bat tren cam ung: thanh dia chi
   thu/phong khi cuon doi kich thuoc viewport lam chuyen canh bi huy va bao loi trong console. */
@media (hover: hover) and (pointer: fine) {
  @view-transition { navigation: auto; }
}

:root {
  --mau-chinh: #0a7d3c;
  --mau-nhan: #e11d48;
  --cot-san-pham: 4;

  --chinh-dam: #075a2b;
  --chinh-nhat: #e7f4ec;
  --chinh-mo: #f2f9f5;
  --nhan-nhat: #fde8ec;

  --chu: #16251c;
  --chu-nhat: #5a695f;
  --vien: #dde5de;
  --nen: #f4f7f2;
  --trang: #fff;

  --font-tieu-de: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-than: "Nunito Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --r-s: 10px;
  --r-m: 16px;
  --r-l: 24px;
  --bo-goc: var(--r-s);

  --bong-s: 0 1px 2px rgba(18, 38, 26, .06), 0 1px 3px rgba(18, 38, 26, .08);
  --bong-m: 0 6px 18px -6px rgba(18, 38, 26, .18), 0 2px 6px rgba(18, 38, 26, .06);
  --bong-l: 0 24px 48px -16px rgba(18, 38, 26, .28);
  --bong: var(--bong-s);

  --khung-rong: 1240px;
  --le: clamp(14px, 4vw, 32px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --cao-thanh-duoi: 0px;
}

@supports (color: color-mix(in oklab, red, blue)) {
  :root {
    --chinh-dam: color-mix(in oklab, var(--mau-chinh) 76%, #000);
    --chinh-nhat: color-mix(in oklab, var(--mau-chinh) 12%, #fff);
    --chinh-mo: color-mix(in oklab, var(--mau-chinh) 6%, #fff);
    --nhan-nhat: color-mix(in oklab, var(--mau-nhan) 12%, #fff);
    --vien: color-mix(in oklab, var(--mau-chinh) 12%, #dfe3e0);
    --nen: color-mix(in oklab, var(--mau-chinh) 4%, #f6f7f5);
    --chu: color-mix(in oklab, var(--mau-chinh) 22%, #0d1511);
    --chu-nhat: color-mix(in oklab, var(--mau-chinh) 14%, #626b66);
  }
}

@media (max-width: 900px) {
  :root { --cao-thanh-duoi: calc(62px + env(safe-area-inset-bottom, 0px)); }
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  color-scheme: light;
}

body {
  margin: 0;
  padding-bottom: var(--cao-thanh-duoi);
  color: var(--chu);
  background: var(--nen);
  font: 400 1rem/1.65 var(--font-than);
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--mau-chinh); }
button, input, select, textarea { font: inherit; color: inherit; }
button { -webkit-tap-highlight-color: transparent; }

h1, h2, h3, h4 {
  margin: 0 0 .5rem;
  font-family: var(--font-tieu-de);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.015em;
  text-wrap: balance;
}

h1 { font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.4rem); }
h2 { font-size: clamp(1.35rem, 1.1rem + 1.1vw, 1.9rem); }
h3 { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); }

p { text-wrap: pretty; }

:focus-visible {
  outline: 3px solid color-mix(in oklab, var(--mau-chinh) 55%, #fff);
  outline-offset: 2px;
  border-radius: 6px;
}

::selection { background: var(--chinh-nhat); color: var(--chinh-dam); }

.bo-qua {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 300;
  padding: .6rem 1rem;
  background: var(--chu);
  color: #fff;
  border-radius: var(--r-s);
  transition: top .2s;
}
.bo-qua:focus { top: 12px; color: #fff; }

.khung {
  width: 100%;
  max-width: var(--khung-rong);
  margin: 0 auto;
  padding: 0 var(--le);
}

.chu-an {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Bieu tuong SVG dung chung (xem sprite trong layout) */
.bt {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -.2em;
}
.bt-lon { width: 1.4em; height: 1.4em; }

/* ---------- Nut ---------- */

.nut {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 44px;
  padding: .6rem 1.35rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, border-color .2s, color .2s;
}

.nut:active { transform: scale(.97); }

.nut-chinh {
  background: linear-gradient(135deg, var(--mau-chinh), var(--chinh-dam));
  color: #fff;
  box-shadow: 0 6px 16px -6px color-mix(in oklab, var(--mau-chinh) 70%, transparent);
}
.nut-chinh:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 22px -8px color-mix(in oklab, var(--mau-chinh) 80%, transparent); }

.nut-nhan {
  background: linear-gradient(135deg, var(--mau-nhan), color-mix(in oklab, var(--mau-nhan) 78%, #000));
  color: #fff;
  box-shadow: 0 6px 16px -6px color-mix(in oklab, var(--mau-nhan) 70%, transparent);
}
.nut-nhan:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 22px -8px color-mix(in oklab, var(--mau-nhan) 80%, transparent); }

.nut-vien { border-color: var(--vien); background: var(--trang); color: var(--chu); }
.nut-vien:hover { border-color: var(--mau-chinh); color: var(--mau-chinh); background: var(--chinh-mo); }

/* ---------- Dai tren cung ---------- */

.thanh-xem-thu {
  background: #b45309;
  color: #fff;
  padding: .5rem 1rem;
  text-align: center;
  font-size: .875rem;
}

.dai-khuyen-mai {
  background: linear-gradient(90deg, var(--mau-nhan), color-mix(in oklab, var(--mau-nhan) 70%, #f59e0b));
  color: #fff;
  text-align: center;
  padding: .5rem 1rem;
  font-size: .875rem;
  font-weight: 700;
}

/* ---------- Dau trang ---------- */

.dau-trang {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid color-mix(in oklab, var(--mau-chinh) 10%, transparent);
  transition: box-shadow .3s;
}

/* Nen mo kinh nam o lop gia: backdrop-filter tren chinh .dau-trang se bien no thanh khung chua cua
   menu keo (position: fixed) va ngan menu phu het man hinh. */
.dau-trang::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: color-mix(in oklab, var(--trang) 90%, transparent);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
}

.dau-trang.da-cuon { box-shadow: 0 8px 24px -12px rgba(18, 38, 26, .3); }

.thanh-tren {
  background: var(--chinh-dam);
  color: rgba(255, 255, 255, .88);
  font-size: .8125rem;
  max-height: 44px;
  overflow: hidden;
  transition: max-height .35s var(--ease), opacity .25s;
}

.da-cuon .thanh-tren { max-height: 0; opacity: 0; }

.thanh-tren a:hover { color: #fff; }

.thanh-tren .khung {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 38px;
}

.thanh-tren-trai, .thanh-tren-phai { display: flex; gap: 1.25rem; align-items: center; min-width: 0; }
.thanh-tren-trai .muc-lien-he { overflow: hidden; text-overflow: ellipsis; }
.muc-lien-he { display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; }
.thanh-tren-trai .muc-lien-he:first-child { white-space: normal; }

.thanh-chinh .khung {
  display: flex;
  align-items: center;
  gap: clamp(.75rem, 2vw, 1.75rem);
  padding-top: 12px;
  padding-bottom: 12px;
}

.logo { flex: 0 0 auto; display: flex; align-items: center; }
.logo img { height: 46px; width: auto; }
.logo-chu { font: 800 1.4rem/1 var(--font-tieu-de); letter-spacing: -.02em; color: var(--mau-chinh); }

.o-tim {
  flex: 1 1 auto;
  display: flex;
  max-width: 600px;
  margin-inline: auto;
  border: 1.5px solid var(--vien);
  border-radius: 999px;
  background: var(--trang);
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}

.o-tim:focus-within {
  border-color: var(--mau-chinh);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--mau-chinh) 16%, transparent);
}

.o-tim input {
  flex: 1 1 auto;
  min-width: 0;
  padding: .65rem 1.1rem;
  border: 0;
  background: transparent;
  font-size: 1rem;
}
.o-tim input:focus { outline: none; }

.o-tim button {
  display: grid;
  place-items: center;
  width: 54px;
  border: 0;
  background: var(--mau-chinh);
  color: #fff;
  cursor: pointer;
  transition: background-color .2s;
}
.o-tim button:hover { background: var(--chinh-dam); }

.thanh-chinh-phai { display: flex; align-items: center; gap: .6rem; margin-left: auto; }

.khoi-hotline { display: flex; align-items: center; gap: .6rem; line-height: 1.2; padding-right: .6rem; }
.khoi-hotline > span:last-child { display: flex; flex-direction: column; }
.khoi-hotline-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--chinh-nhat);
  color: var(--mau-chinh);
}
.khoi-hotline-nhan { font-size: .75rem; color: var(--chu-nhat); }
.khoi-hotline-so { font: 800 1rem var(--font-tieu-de); color: var(--mau-nhan); letter-spacing: -.01em; }

.nut-tk, .nut-gio, .nut-menu-mobile {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: var(--chinh-nhat);
  color: var(--chinh-dam);
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .2s, color .2s;
}
.nut-tk:hover, .nut-gio:hover { background: var(--mau-chinh); color: #fff; transform: translateY(-2px); }

.nut-menu-mobile { display: none; }

.dem-gio {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  background: var(--mau-nhan);
  color: #fff;
  font: 800 .72rem/20px var(--font-than);
  font-style: normal;
  text-align: center;
  box-shadow: 0 0 0 2px var(--trang);
}

/* ---------- Menu ---------- */

.thanh-menu {
  background: linear-gradient(180deg, var(--mau-chinh), var(--chinh-dam));
  color: #fff;
}
.thanh-menu .khung { display: flex; align-items: stretch; gap: 1rem; }
.thanh-menu-dau { display: none; }
.menu-goi-ngay { display: none; }

.menu-danh-muc { position: relative; flex: 0 0 auto; }

.menu-danh-muc-nut {
  display: flex;
  align-items: center;
  gap: .55rem;
  height: 100%;
  min-height: 48px;
  padding: .5rem 1.15rem;
  border: 0;
  background: rgba(0, 0, 0, .18);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .2s;
}
@media (hover: hover) { .menu-danh-muc-nut:hover { background: rgba(0, 0, 0, .28); } }
.mui-ten { transition: transform .25s var(--ease); }
.menu-danh-muc.dang-mo .mui-ten { transform: rotate(180deg); }

.menu-danh-muc-list, .menu-con, .menu-cap-2 {
  margin: 0;
  padding: .4rem;
  list-style: none;
  background: var(--trang);
  color: var(--chu);
  border: 1px solid var(--vien);
  border-radius: var(--r-m);
  box-shadow: var(--bong-l);
}

.menu-danh-muc-list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 70;
  min-width: 290px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(8px);
  /* Tre khi AN (.25s): lech chuot ra ngoai trong chop mat khong lam menu dong lai. Khi HIEN thi khong tre (xem khoi hover) */
  transition: opacity .2s var(--ease) .25s, transform .2s var(--ease) .25s, visibility 0s linear .25s;
}

/* Cau noi vo hinh lap khoang cach 6px giua nut va bang xo: re chuot xuong chon nhom khong bi mat hover */
.menu-danh-muc-list::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }

.menu-danh-muc-list > li { position: relative; }
.menu-danh-muc-list li > a, .menu-con a { display: block; padding: .55rem .9rem; border-radius: var(--r-s); }

.menu-cap-2, .menu-con {
  position: absolute;
  top: -.4rem; /* ngang mep tren cua bang cha */
  /* 100% la het muc cha; cong them phan dem .4rem cua bang cha va 12px khe de bang con tach han ra */
  left: calc(100% + .4rem + 12px);
  min-width: 250px;
  visibility: hidden;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .18s var(--ease) .12s, transform .18s var(--ease) .12s, visibility 0s linear .12s;
}

/* Cau noi cho bang cap 2: di ngang tu muc cha sang bang con khong bi roi vao khe 4px */
.menu-cap-2::before { content: ""; position: absolute; top: 0; bottom: 0; left: -24px; width: 24px; }
.menu-con::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }

/* Dau hieu muc quan trong (dac ta muc 39): icon + nhan chu, muc danh dau in dam */
.menu-icon { width: 16px; height: 16px; flex: none; vertical-align: -3px; margin-right: .35rem; object-fit: contain; }
.menu-nhan { display: inline-block; margin-left: .4rem; padding: 0 .35rem; border-radius: 999px; color: #fff; font-size: .65rem; font-weight: 700; line-height: 1.5; letter-spacing: .02em; vertical-align: 1px; text-transform: uppercase; }
.noi-bat > a { font-weight: 700; }

/* Menu ngang cap 3 (dac ta muc 41): bay sang ben phai bang cap 2 */
.menu-con > li { position: relative; }
.menu-ngang .menu-con .menu-cap-3 { top: -.4rem; left: calc(100% + .4rem + 12px); transform: translateX(-6px); }
.menu-ngang .menu-con .menu-cap-3::before { top: 0; bottom: 0; left: -24px; right: auto; width: 24px; height: auto; }

/* Hai nut so xuong canh nhau (Danh muc san pham + menu thu hai) */
.menu-phu .menu-danh-muc-nut { background: rgba(0, 0, 0, .1); }

.mo-con { display: none; }

.menu-ngang {
  display: flex;
  flex-wrap: wrap;
  gap: .15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.menu-ngang > li { position: relative; display: flex; align-items: center; }

.menu-ngang > li > a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: .5rem .95rem;
  color: #fff;
  font-weight: 700;
}

.menu-ngang > li > a::after {
  content: "";
  position: absolute;
  left: .95rem;
  right: .95rem;
  bottom: 8px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.menu-ngang > li > a:hover { color: #fff; }
.menu-ngang > li > a:hover::after { transform: scaleX(1); }

.menu-ngang .menu-con { top: 100%; left: 0; transform: translateY(8px); }

/* Bang danh muc tren man hinh rong: co JavaScript (.co-js) thi CHI mo theo lop .dang-mo do theme.js
   bat/tat (bam nut, bam ra ngoai, Esc, roi chuot). :hover/:focus-within chi la phuong an du phong khi
   khong co JavaScript - de chung voi .dang-mo thi bam lan 2 khong dong duoc vi chuot van dang tro va
   nut van dang giu focus. */
@media (min-width: 901px) {
  .menu-danh-muc.dang-mo .menu-danh-muc-list { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
}

@media (hover: hover) and (min-width: 901px) {
  .menu-danh-muc:not(.co-js):hover .menu-danh-muc-list,
  .menu-danh-muc:not(.co-js):focus-within .menu-danh-muc-list { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }

  .menu-danh-muc-list > li:hover > .menu-cap-2,
  .menu-ngang > li:hover > .menu-con,
  .menu-ngang > li:focus-within > .menu-con,
  .menu-con > li:hover > .menu-cap-3,
  .menu-con > li:focus-within > .menu-cap-3 { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; z-index: 2; }
  .menu-con > li.co-con > a::after { content: "›"; float: right; opacity: .5; margin-left: .75rem; }

  .menu-danh-muc-list > li:hover > a { background: var(--chinh-nhat); color: var(--chinh-dam); }
  .menu-con a:hover, .menu-cap-2 a:hover { background: var(--chinh-nhat); color: var(--chinh-dam); }
  .menu-danh-muc-list > li.co-con > a::after { content: "›"; float: right; opacity: .5; }
}

/* ---------- Than trang ---------- */

.than-trang { padding-bottom: 3rem; min-height: 50vh; }

/* Trang trong (khong phai trang chu co slide): chua dau trang mot khoang tho */
.than-trang > .container:first-child, .than-trang > .khung:first-child { padding-top: .25rem; }
.than-trang > .container:first-child > h1:first-child, .than-trang > .container:first-child > .static-page { margin-top: 1.25rem; }

.khoi { margin-top: clamp(2.25rem, 5vw, 4rem); }

.khoi-dau {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.khoi-dau > div { min-width: 0; }
.khoi-la { color: var(--mau-chinh); width: 1.7rem; height: 1.7rem; margin-bottom: .1rem; }
.khoi-tieu-de, .khoi-dau h1 { margin: 0; }
.khoi-phu { margin: .25rem 0 0; color: var(--chu-nhat); }

.khoi-xem-them {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  flex: none;
  padding: .45rem .9rem;
  border-radius: 999px;
  background: var(--chinh-nhat);
  color: var(--chinh-dam);
  font-weight: 700;
  font-size: .9rem;
  transition: background-color .2s, color .2s, gap .25s var(--ease);
}
.khoi-xem-them:hover { background: var(--mau-chinh); color: #fff; gap: .5rem; }

.trong {
  padding: 2rem;
  background: var(--trang);
  border: 1px dashed var(--vien);
  border-radius: var(--r-m);
  color: var(--chu-nhat);
  text-align: center;
}

/* ---------- Slide ---------- */

.slide { position: relative; background: var(--chinh-dam); overflow: hidden; }
.slide-khung { display: grid; }

.slide-anh {
  grid-area: 1 / 1;
  position: relative;
  opacity: 0;
  visibility: hidden;
  transition: opacity .9s var(--ease), visibility .9s;
}
.slide-anh.dang-hien { opacity: 1; visibility: visible; z-index: 1; }

.slide-anh img { width: 100%; max-height: 640px; object-fit: cover; }

.slide-anh.dang-hien img { animation: phong-nhe 9s ease-out both; transform-origin: 60% 50%; }

@keyframes phong-nhe { from { transform: scale(1.07); } to { transform: scale(1); } }

.slide-chu {
  position: absolute;
  left: max(var(--le), calc((100% - var(--khung-rong)) / 2 + var(--le)));
  bottom: 14%;
  max-width: min(520px, 86%);
  padding: 1.25rem 1.5rem;
  color: #fff;
  background: linear-gradient(135deg, rgba(7, 40, 22, .72), rgba(7, 40, 22, .45));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--r-l);
}

.slide-anh.dang-hien .slide-chu > * { animation: truot-len .8s var(--ease) both; }
.slide-anh.dang-hien .slide-chu > :nth-child(2) { animation-delay: .1s; }
.slide-anh.dang-hien .slide-chu > :nth-child(3) { animation-delay: .2s; }
.slide-anh.dang-hien .slide-chu > :nth-child(4) { animation-delay: .3s; }

@keyframes truot-len { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.slide-chu h2 { margin: 0 0 .35rem; color: #fff; font-size: clamp(1.3rem, 1rem + 1.6vw, 2.2rem); }
.slide-chu p { margin: 0 0 .75rem; color: rgba(255, 255, 255, .9); }
.slide-chu .slide-phu { color: #c8f169; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: .78rem; margin-bottom: .3rem; }
.slide-chu .nut { margin-top: .25rem; }

.slide-nut {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .88);
  color: var(--chinh-dam);
  box-shadow: var(--bong-m);
  cursor: pointer;
  opacity: 0;
  transition: opacity .25s, transform .25s var(--ease), background-color .2s;
}
.slide:hover .slide-nut, .slide-nut:focus-visible { opacity: 1; }
.slide-nut:hover { background: #fff; transform: scale(1.08); }
.slide-truoc { left: 18px; }
.slide-sau { right: 18px; }

.slide-cham {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.slide-cham button {
  position: relative;
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .55);
  overflow: hidden;
  cursor: pointer;
  transition: width .4s var(--ease), background-color .2s;
}
.slide-cham button::before { content: ""; position: absolute; inset: -14px; } /* vung cham 38px */
.slide-cham button.dang-hien { width: 34px; background: rgba(255, 255, 255, .4); }
.slide-cham button.dang-hien::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  transform-origin: left;
  animation: chay-thanh 6s linear both;
}
.slide:hover .slide-cham .dang-hien::after { animation-play-state: paused; }

@keyframes chay-thanh { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- Dai uu diem ---------- */

.uu-diem {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
  margin-top: -2.2rem;
  position: relative;
  z-index: 4;
}

.uu-diem-o {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1rem 1.2rem;
  background: var(--trang);
  border: 1px solid var(--vien);
  border-radius: var(--r-m);
  box-shadow: var(--bong-m);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.uu-diem-o:hover { transform: translateY(-4px); box-shadow: var(--bong-l); }
.uu-diem-o img { width: 44px; height: 44px; object-fit: contain; }
.uu-diem-o strong { display: block; font: 700 1rem var(--font-tieu-de); }
.uu-diem-o span { color: var(--chu-nhat); font-size: .875rem; line-height: 1.35; display: block; }
.uu-diem-tick {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--chinh-nhat);
  color: var(--mau-chinh);
}
.uu-diem-tick + div { min-width: 0; }

/* ---------- Nhom noi bat / banner ---------- */

.nhom-noi-bat {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: clamp(1.75rem, 4vw, 3rem);
}

.nhom-the {
  position: relative;
  display: block;
  min-height: 250px;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--r-l);
  background: var(--chinh-nhat);
  box-shadow: var(--bong-s);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.nhom-the:hover { transform: translateY(-6px); box-shadow: var(--bong-l); color: inherit; }

.nhom-the img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.nhom-the:hover img { transform: scale(1.08); }

.nhom-the::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 25%, rgba(6, 36, 20, .82));
}

.nhom-chu { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.1rem 1.25rem; color: #fff; }
.nhom-chu h3 { margin: 0; color: #fff; font-size: 1.25rem; }
.nhom-chu p { margin: .25rem 0 0; color: rgba(255, 255, 255, .86); font-size: .9rem; }
.nhom-xem {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  margin-top: .6rem;
  padding: .3rem .8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .2);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: .8125rem;
  font-weight: 700;
  transition: background-color .25s, color .25s, gap .25s var(--ease);
}
.nhom-the:hover .nhom-xem { background: #fff; color: var(--chinh-dam); gap: .55rem; }

.dai-banner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: clamp(2rem, 4vw, 3.5rem);
}

.dai-banner-o {
  display: block;
  border-radius: var(--r-l);
  overflow: hidden;
  background: var(--trang);
  box-shadow: var(--bong-s);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.dai-banner-o:hover { transform: translateY(-4px); box-shadow: var(--bong-m); }
.dai-banner-o img { width: 100%; transition: transform .8s var(--ease); }
.dai-banner-o:hover img { transform: scale(1.04); }

/* ---------- Tab san pham ---------- */

.tab-nut {
  display: flex;
  gap: .5rem;
  margin-bottom: 1.25rem;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  padding-bottom: 2px;
}
.tab-nut::-webkit-scrollbar { display: none; }

.tab-nut button {
  flex: none;
  min-height: 44px;
  padding: .5rem 1.2rem;
  border: 1.5px solid var(--vien);
  border-radius: 999px;
  background: var(--trang);
  font-weight: 700;
  color: var(--chu-nhat);
  cursor: pointer;
  scroll-snap-align: start;
  transition: background-color .2s, color .2s, border-color .2s, transform .25s var(--ease);
}
.tab-nut button:hover { border-color: var(--mau-chinh); color: var(--mau-chinh); }
.tab-nut button.dang-hien {
  border-color: transparent;
  background: linear-gradient(135deg, var(--mau-chinh), var(--chinh-dam));
  color: #fff;
  box-shadow: 0 6px 14px -6px color-mix(in oklab, var(--mau-chinh) 70%, transparent);
}

.khoi-tab .tab-bang { display: none; }
.khoi-tab .tab-bang.dang-hien { display: block; animation: hien-bang .5s var(--ease) both; }
@keyframes hien-bang { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.xem-tat-ca-hang { margin: 1.75rem 0 0; text-align: center; }

.luoi-co-banner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 1rem; }
.banner-doc { display: block; overflow: hidden; border-radius: var(--r-l); box-shadow: var(--bong-s); }
.banner-doc img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.banner-doc:hover img { transform: scale(1.05); }
.luoi-co-banner .luoi-san-pham { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------- The san pham ---------- */

.luoi-san-pham {
  display: grid;
  grid-template-columns: repeat(var(--cot-san-pham), minmax(0, 1fr));
  gap: clamp(.7rem, 1.6vw, 1.25rem);
}

.the-sp {
  container-type: inline-size;
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--trang);
  border: 1px solid var(--vien);
  border-radius: var(--r-m);
  overflow: hidden;
  transition: box-shadow .35s var(--ease), transform .35s var(--ease), border-color .25s;
}

.the-sp:hover {
  border-color: color-mix(in oklab, var(--mau-chinh) 35%, var(--vien));
  box-shadow: var(--bong-l);
  transform: translateY(-6px);
}

.the-sp-anh {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% 40%, #fff, var(--chinh-mo));
}

.the-sp-anh > a { display: block; }

.the-sp-anh img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  padding: 6%;
  transition: transform .7s var(--ease);
}
.the-sp:hover .the-sp-anh img { transform: scale(1.08); }

.the-sp-khong-anh {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  background: repeating-linear-gradient(45deg, var(--chinh-mo), var(--chinh-mo) 10px, var(--chinh-nhat) 10px, var(--chinh-nhat) 20px);
}

.the-sp-nhan {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-start;
}

.nhan {
  padding: 3px 10px;
  border-radius: 999px;
  font: 800 .75rem/1.4 var(--font-than);
  color: #fff;
  box-shadow: 0 4px 10px -4px rgba(0, 0, 0, .4);
}

.nhan-giam { background: linear-gradient(135deg, var(--mau-nhan), color-mix(in oklab, var(--mau-nhan) 70%, #f59e0b)); }
.nhan-moi { background: var(--mau-chinh); }
.nhan-noi-bat { background: #b45309; }

.the-sp-xem-nhanh {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  min-height: 40px;
  padding: .45rem;
  border: 0;
  border-radius: 999px;
  background: color-mix(in oklab, var(--chu) 88%, transparent);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), background-color .2s;
}
.the-sp-xem-nhanh:hover { background: var(--mau-chinh); }

@media (hover: hover) {
  .the-sp:hover .the-sp-xem-nhanh:not([hidden]) { opacity: 1; transform: none; }
}
.the-sp-xem-nhanh:focus-visible { opacity: 1; transform: none; }
@media (hover: none) { .the-sp-xem-nhanh { display: none !important; } }

.the-sp-chu { display: flex; flex-direction: column; gap: .3rem; padding: .9rem 1rem 1rem; flex: 1 1 auto; }

.the-sp-ten {
  margin: 0;
  font: 700 1rem/1.35 var(--font-than);
  letter-spacing: 0;
  /* Cat o dong thu hai de moi the cao bang nhau, luoi khong bi rang cua */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}
.the-sp-ten a::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* ca the la mot vung bam */
.the-sp-xem-nhanh, .the-sp-nut { position: relative; z-index: 2; }

.the-sp-hang { margin: 0; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mau-chinh); }

.the-sp-gia { margin: .2rem 0 0; display: flex; align-items: baseline; gap: .15rem .6rem; flex-wrap: wrap; font-variant-numeric: tabular-nums; }
.the-sp-gia strong { color: var(--mau-nhan); font: 800 1.15rem var(--font-tieu-de); letter-spacing: -.01em; }
.the-sp-gia del { color: var(--chu-nhat); font-size: .875rem; opacity: .8; }

.the-sp-nut { margin-top: auto; }
.the-sp-chu .the-sp-nut { margin-top: .6rem; min-height: 40px; padding: .4rem 1rem; font-size: .9rem; }
.the-sp:hover .the-sp-nut { background: var(--mau-chinh); border-color: var(--mau-chinh); color: #fff; }

@container (max-width: 190px) {
  .the-sp-chu { padding: .7rem .75rem .8rem; }
  .the-sp-ten { font-size: .9rem; }
  .the-sp-gia strong { font-size: 1.02rem; }
}

/* ---------- Khuyen mai gio vang ---------- */

.khoi-gio-vang {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding: clamp(1.75rem, 4vw, 3rem) 0;
  color: #fff;
  background:
    radial-gradient(circle at 12% 0%, color-mix(in oklab, var(--mau-nhan) 55%, transparent), transparent 45%),
    radial-gradient(circle at 92% 100%, color-mix(in oklab, #f59e0b 45%, transparent), transparent 50%),
    linear-gradient(135deg, #1b1330, #2a1f4d);
}

.gio-vang-dau {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.gio-vang-dau h2 { margin: 0; color: #fff; }
.gio-vang-nhan { margin: 0 0 .35rem; display: inline-flex; align-items: center; gap: .35rem; color: #fcd34d; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; }

.dem-nguoc { display: flex; gap: .6rem; }
.dem-nguoc > div {
  display: grid;
  justify-items: center;
  min-width: 64px;
  padding: .55rem .4rem .4rem;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--r-m);
  background: rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.dem-nguoc b { font: 800 1.7rem/1 var(--font-tieu-de); font-variant-numeric: tabular-nums; }
.dem-nguoc small { margin-top: .2rem; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; opacity: .8; }

.hang-cuon {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 24%);
  gap: 1rem;
  overflow-x: auto;
  padding: .5rem .25rem 1rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, .4) transparent;
}
.hang-cuon > * { scroll-snap-align: start; color: var(--chu); }

/* ---------- Gioi thieu / y kien ---------- */

.gioi-thieu {
  position: relative;
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  padding: clamp(2rem, 5vw, 4rem) 0;
  overflow: hidden;
  background: linear-gradient(135deg, var(--chinh-nhat), var(--chinh-mo));
}

.gioi-thieu-luoi { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 3fr); gap: 2rem; align-items: center; }
.gioi-thieu-nhan { margin: 0 0 .35rem; color: var(--mau-chinh); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; }
.gioi-thieu h2 { margin-bottom: .75rem; }
.gioi-thieu h2 a { color: inherit; text-decoration: none; }
.gioi-thieu h2 a:hover { color: var(--mau-chinh); text-decoration: underline; }
.gioi-thieu p { color: var(--chu-nhat); max-width: 70ch; }
.gioi-thieu-so { display: grid; place-items: center; color: color-mix(in oklab, var(--mau-chinh) 22%, transparent); }
.gioi-thieu-so .bt { width: min(100%, 220px); height: auto; stroke-width: .6; animation: lac-nhe 7s ease-in-out infinite; }
@keyframes lac-nhe { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg) translateY(-6px); } }

/* Mot hang ngang: 3 the tren may tinh, 2 tren man vua, 1 the lo mep the sau tren dien thoai */
.y-kien-vung { position: relative; }

.luoi-y-kien {
  --so-the: 3;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--so-the) - 1) * 1rem) / var(--so-the));
  gap: 1rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: .25rem .1rem 1rem;
}
.luoi-y-kien::-webkit-scrollbar { display: none; }
.luoi-y-kien:focus-visible { outline: 2px solid var(--mau-chinh); outline-offset: 4px; border-radius: var(--r-l); }

.y-kien-nut {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-top: -28px;
  border: 1px solid var(--vien);
  border-radius: 50%;
  background: var(--trang);
  color: var(--chinh-dam);
  box-shadow: var(--bong-m);
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .2s;
}
.y-kien-nut[hidden] { display: none; }
.y-kien-nut:hover { transform: scale(1.08); }
.y-kien-truoc { left: -14px; }
.y-kien-sau { right: -14px; }

.y-kien {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0;
  scroll-snap-align: start;
  padding: 1.5rem 1.4rem 1.25rem;
  background: var(--trang);
  border: 1px solid var(--vien);
  border-radius: var(--r-l);
  box-shadow: var(--bong-s);
}
.y-kien::before { content: "“"; position: absolute; top: -.1em; right: .6rem; font: 800 5rem/1 var(--font-tieu-de); color: var(--chinh-nhat); }
.y-kien blockquote { position: relative; margin: 0 0 1rem; color: var(--chu); }
.y-kien figcaption { display: flex; align-items: center; gap: .75rem; }
.y-kien figcaption img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.y-kien figcaption strong { display: block; }
.y-kien figcaption em { color: var(--chu-nhat); font-size: .875rem; font-style: normal; }
.y-kien-xem { align-self: flex-start; margin-top: .9rem; font-weight: 700; font-size: .9rem; color: var(--mau-chinh); text-decoration: none; }
.y-kien-xem::after { content: " →"; }
.y-kien-xem:hover, .y-kien-xem:focus-visible { text-decoration: underline; }
.y-kien-tat-ca { margin: 1.1rem 0 0; text-align: center; }
.y-kien-tat-ca a { font-weight: 700; color: var(--mau-chinh); text-decoration: none; }
.y-kien-tat-ca a:hover, .y-kien-tat-ca a:focus-visible { text-decoration: underline; }

/* ---------- Tin tuc ---------- */

.luoi-tin {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.1rem;
}

.tin-the {
  background: var(--trang);
  border: 1px solid var(--vien);
  border-radius: var(--r-l);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.tin-the:hover { transform: translateY(-5px); box-shadow: var(--bong-l); }
.tin-the > a { display: block; height: 100%; }
.tin-the img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .8s var(--ease); }
.tin-the:hover img { transform: scale(1.05); }
.tin-the .tin-chu { position: relative; background: var(--trang); }
.tin-the > a > img { overflow: hidden; }
.tin-chu { padding: 1rem 1.15rem 1.2rem; }
.tin-nhom { color: var(--mau-chinh); font-size: .8rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.tin-chu h3 { margin: .35rem 0; font-size: 1.1rem; }
.tin-chu p { margin: 0; color: var(--chu-nhat); font-size: .9rem; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tin-ngay { display: block; margin-top: .6rem; color: var(--chu-nhat); font-size: .8rem; }

/* ---------- Trang trong ---------- */

.the-trang {
  margin-top: 1.5rem;
  padding: clamp(1.1rem, 3vw, 1.75rem);
  background: var(--trang);
  border: 1px solid var(--vien);
  border-radius: var(--r-l);
  box-shadow: var(--bong-s);
}

.duong-dan, .breadcrumb { margin: 1.1rem 0; font-size: .875rem; color: var(--chu-nhat); }
.duong-dan a:hover, .breadcrumb a:hover { color: var(--mau-chinh); }

.thanh-loc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1rem 0;
  padding: .85rem 1.1rem;
  background: var(--trang);
  border: 1px solid var(--vien);
  border-radius: var(--r-m);
}

select, input[type="text"], input[type="search"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], textarea {
  accent-color: var(--mau-chinh);
}

.thanh-loc select, .thanh-loc input {
  min-height: 42px;
  padding: .45rem .8rem;
  border: 1.5px solid var(--vien);
  border-radius: var(--r-s);
  background: var(--trang);
}

.phan-trang, .pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.75rem 0;
}

.phan-trang a, .pagination a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .5rem 1.15rem;
  background: var(--trang);
  border: 1.5px solid var(--vien);
  border-radius: 999px;
  font-weight: 700;
  transition: border-color .2s, background-color .2s;
}
.phan-trang a:hover, .pagination a:hover { border-color: var(--mau-chinh); background: var(--chinh-mo); }

/* ---------- Chi tiet san pham ---------- */

.chi-tiet { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: start; }

.chi-tiet-anh { position: sticky; top: 110px; background: var(--trang); border: 1px solid var(--vien); border-radius: var(--r-l); overflow: hidden; }
.chi-tiet-anh-chinh { background: radial-gradient(circle at 50% 40%, #fff, var(--chinh-mo)); }
.chi-tiet-anh-chinh img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 4%; }
.chi-tiet-anh-nho { display: flex; gap: .5rem; padding: .75rem; flex-wrap: wrap; border-top: 1px solid var(--vien); }
.chi-tiet-anh-nho img { width: 66px; height: 66px; object-fit: cover; border: 2px solid var(--vien); border-radius: var(--r-s); cursor: pointer; transition: border-color .2s, transform .25s var(--ease); }
.chi-tiet-anh-nho img:hover { border-color: var(--mau-chinh); transform: translateY(-2px); }

.chi-tiet-gia { display: flex; align-items: baseline; gap: .75rem; margin: .75rem 0; font-variant-numeric: tabular-nums; }
.chi-tiet-gia strong { color: var(--mau-nhan); font: 800 clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem) var(--font-tieu-de); letter-spacing: -.02em; }
.chi-tiet-gia del { color: var(--chu-nhat); }
.chi-tiet-gia [hidden] { display: none; }

/* Quy cach: o chon (radio) - de bam tren dien thoai, thay du gia / gia goc / muc giam */
.quy-cach { border: 0; padding: 0; margin: 0; flex: 1 1 100%; min-width: 0; }
.quy-cach legend { font-size: .875rem; font-weight: 700; color: var(--chu-nhat); margin-bottom: .4rem; padding: 0; }
.quy-cach-luoi { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: .5rem; }
.quy-cach-o { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: .6rem; row-gap: .1rem; align-items: center; padding: .65rem .8rem; border: 1.5px solid var(--vien); border-radius: var(--r-s); background: var(--trang); cursor: pointer; transition: border-color .15s, box-shadow .15s; font-variant-numeric: tabular-nums; }
.quy-cach-o:hover { border-color: var(--mau-chinh); }
/* O chon hien ro, dung giua theo chieu doc khoi ten + gia (khong lech len tren) */
.quy-cach-o input { grid-row: 1 / span 3; align-self: center; width: 1.1rem; height: 1.1rem; margin: 0; accent-color: var(--mau-chinh); cursor: pointer; }
.quy-cach-o > span { grid-column: 2; }
.quy-cach-o:has(input:checked) { border-color: var(--mau-chinh); box-shadow: 0 0 0 2px color-mix(in oklab, var(--mau-chinh) 25%, transparent); background: var(--chinh-mo); }
.quy-cach-o:has(input:focus-visible) { outline: 2px solid var(--mau-chinh); outline-offset: 2px; }
.quy-cach-ten { font-weight: 700; color: var(--chu); }
.quy-cach-gia { color: var(--mau-nhan); font-weight: 800; }
.quy-cach-goc { font-size: .8125rem; color: var(--chu-nhat); }
.quy-cach-giam { color: var(--mau-nhan); font-weight: 700; }
@media (max-width: 480px) { .quy-cach-luoi { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.the-sp-dvt { font: 600 .8125rem var(--font-than, inherit); color: var(--chu-nhat); letter-spacing: 0; }

/* Thong tin nhan dien san pham trong phan mo ta */
.nhan-dien-sp { display: grid; gap: .25rem; margin: 0 0 1rem; padding: .75rem 1rem; background: var(--chinh-mo); border-radius: var(--r-s); }
/* Moi truong mot dong "Nhan: gia tri" (gia tri dai thi xuong dong ngay sau nhan) */
.nhan-dien-sp dt, .nhan-dien-sp dd { display: inline; }
.nhan-dien-sp dt { font-weight: 700; color: var(--chu-nhat); }
.nhan-dien-sp dd { margin: 0; }

.bang-thong-so { width: 100%; border-collapse: collapse; }
.bang-thong-so th, .bang-thong-so td { padding: .65rem .85rem; border-bottom: 1px solid var(--vien); text-align: left; vertical-align: top; }
.bang-thong-so tr:nth-child(odd) { background: var(--chinh-mo); }
.bang-thong-so th { width: 34%; color: var(--chu-nhat); font-weight: 700; }

.form-mua { display: flex; gap: .75rem; flex-wrap: wrap; align-items: flex-end; margin: 1rem 0; }
.form-mua label { display: block; font-size: .875rem; font-weight: 700; color: var(--chu-nhat); margin-bottom: .25rem; }
.form-mua select, .form-mua input {
  min-height: 46px;
  padding: .55rem .85rem;
  border: 1.5px solid var(--vien);
  border-radius: var(--r-s);
  background: var(--trang);
}
.form-mua .nut { min-height: 48px; }

/* ---------- Gio hang ---------- */

.bang-gio { width: 100%; border-collapse: collapse; background: var(--trang); border-radius: var(--r-m); overflow: hidden; }
.bang-gio th { background: var(--chinh-mo); font-size: .8125rem; text-transform: uppercase; letter-spacing: .05em; color: var(--chu-nhat); }
.bang-gio th, .bang-gio td { padding: .8rem .85rem; border-bottom: 1px solid var(--vien); text-align: left; }
.bang-gio tfoot th { text-align: right; }

/* ---------- Hop xem nhanh ---------- */

.hop-xem-nhanh { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 1rem; }
.hop-xem-nhanh[hidden] { display: none; }
.hop-xem-nhanh-nen { position: absolute; inset: 0; background: rgba(8, 24, 15, .6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: mo-nen .3s both; }
@keyframes mo-nen { from { opacity: 0; } to { opacity: 1; } }

.hop-xem-nhanh-trong {
  position: relative;
  width: min(860px, 100%);
  max-height: min(88dvh, 760px);
  overflow: auto;
  padding: clamp(1.1rem, 3vw, 1.75rem);
  background: var(--trang);
  border-radius: var(--r-l);
  box-shadow: var(--bong-l);
  animation: mo-hop .4s var(--ease) both;
}
@keyframes mo-hop { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }

.hop-xem-nhanh-dong {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--chinh-nhat);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.xem-nhanh { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem; }
.xem-nhanh img { width: 100%; aspect-ratio: 1; object-fit: contain; background: radial-gradient(circle at 50% 40%, #fff, var(--chinh-mo)); border-radius: var(--r-m); }

/* ---------- Chan trang ---------- */

.chan-trang {
  position: relative;
  margin-top: 5rem;
  color: rgba(255, 255, 255, .78);
  background: linear-gradient(180deg, var(--chinh-dam), color-mix(in oklab, var(--chinh-dam) 55%, #000));
}
.chan-song { position: absolute; top: -59px; left: 0; width: 100%; height: 60px; fill: var(--chinh-dam); pointer-events: none; }

.chan-cot {
  display: grid;
  /* So cot giua (danh muc + nhom chan trang + Thong tin) do layout dat qua --cot-giua (dac ta muc 41) */
  grid-template-columns: 1.7fr repeat(var(--cot-giua, 2), minmax(0, 1fr)) 1.4fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding-top: 2.5rem;
  padding-bottom: 2.25rem;
}

.chan-trang h3 { color: #fff; font-size: 1.05rem; margin-bottom: 1rem; }
.chan-trang a:hover { color: #fff; }
.chan-gioi-thieu { font-size: .92rem; }
.chan-logo { background: #fff; padding: 6px 12px; border-radius: var(--r-s); margin-bottom: 1rem; }

.chan-list, .chan-lien-he, .chan-mang-xa-hoi { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: .55rem; font-size: .92rem; }
.chan-lien-he li { display: flex; gap: .55rem; align-items: flex-start; }
.chan-lien-he .bt { margin-top: .25em; opacity: .7; }
.chan-list a { display: inline-block; transition: transform .25s var(--ease), color .2s; }
.chan-list a:hover { transform: translateX(4px); }

.chan-mang-xa-hoi { flex-direction: row; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.chan-mang-xa-hoi a {
  display: inline-block;
  padding: .35rem .9rem;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  font-weight: 700;
  transition: background-color .2s, color .2s;
}
.chan-mang-xa-hoi a:hover { background: #fff; color: var(--chinh-dam); }

.chan-dang-ky { display: flex; gap: .4rem; padding: .3rem; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); }
.chan-dang-ky input[type="email"] { flex: 1 1 auto; min-width: 0; padding: .5rem .9rem; border: 0; background: transparent; color: #fff; }
.chan-dang-ky input::placeholder { color: rgba(255, 255, 255, .6); }
.chan-dang-ky input:focus { outline: none; }
.chan-dang-ky:focus-within { border-color: #fff; }
.chan-dang-ky .nut { min-height: 40px; padding: .35rem 1.1rem; background: #fff; color: var(--chinh-dam); box-shadow: none; }
.chan-dang-ky .nut:hover { color: var(--chinh-dam); background: #c8f169; }
.chan-dong-y { margin: .6rem 0 0; font-size: .78rem; opacity: .75; }
/* Yeu cau lien he lai (chu shop 23/10/2026): so dien thoai + ten xep doc trong khung bo tron, nut ca hang */
.chan-goi-lai { flex-direction: column; border-radius: 16px; padding: .5rem; }
.chan-goi-lai input[type="tel"], .chan-goi-lai input[type="text"] {
  width: 100%; padding: .55rem .9rem; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .22); background: transparent; color: #fff; font: inherit;
}
.chan-goi-lai .nut { width: 100%; margin-top: .2rem; }
.chan-goi-lai-mo-ta { margin: 0 0 .6rem; font-size: .88rem; opacity: .85; }
.bay-bot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.chan-doi-tac { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1rem; }
.chan-doi-tac img { height: 32px; width: auto; background: #fff; padding: 4px 8px; border-radius: 6px; }

.chan-duoi { border-top: 1px solid rgba(255, 255, 255, .14); font-size: .8125rem; }
.chan-duoi .khung { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1rem; padding-bottom: 1rem; }

/* ---------- Nut noi + thanh duoi (dien thoai) ---------- */

.noi-lien-he {
  position: fixed;
  right: 16px;
  bottom: 20px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.noi-nut {
  position: relative;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  box-shadow: var(--bong-m);
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.noi-nut:hover { color: #fff; transform: translateY(-3px) scale(1.06); box-shadow: var(--bong-l); }
.noi-nut[hidden] { display: none; }
.noi-zalo { background: #0068ff; font: 800 .8rem var(--font-tieu-de); }
.noi-goi { background: var(--mau-nhan); }
.noi-len { background: var(--chu); }

.noi-zalo::before, .noi-goi::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0;
  animation: song-lan 2.6s ease-out infinite;
}
.noi-zalo::before { border-color: #0068ff; }
.noi-goi::before { border-color: var(--mau-nhan); animation-delay: 1.3s; }
@keyframes song-lan { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.7); opacity: 0; } }

.thanh-duoi { display: none; }

.lop-phu {
  position: fixed;
  inset: 0;
  z-index: 1;
  background: rgba(8, 24, 15, .55);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  animation: mo-nen .25s both;
}
.lop-phu[hidden] { display: none; }

/* ---------- Hieu ung xuat hien khi cuon ---------- */

.co-js .hien-dan { opacity: 0; transform: translateY(26px); }
.co-js .hien-dan.da-hien {
  opacity: 1;
  transform: none;
  transition: opacity .7s var(--ease), transform .8s var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms);
}

/* ---------- Man hinh vua va hep ---------- */

@media (max-width: 1100px) {
  .luoi-san-pham { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .luoi-co-banner .luoi-san-pham { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chan-cot { grid-template-columns: 1fr 1fr; }
  .khoi-hotline-nhan { display: none; }
  .hang-cuon { grid-auto-columns: minmax(220px, 32%); }
  .luoi-y-kien { --so-the: 2; }
}

@media (max-width: 900px) {
  .thanh-tren { display: none; }
  .noi-lien-he { bottom: calc(var(--cao-thanh-duoi) + 12px); }
  .noi-zalo, .noi-goi { display: none; }
  .noi-nut { width: 46px; height: 46px; }

  /* Hang tren: [menu] logo ... [tai khoan] [gio]; o tim xuong hang thu hai */
  .thanh-chinh .khung { flex-wrap: wrap; gap: .5rem .65rem; padding-top: 8px; padding-bottom: 10px; }
  .nut-menu-mobile { display: grid; order: 1; }
  .logo { order: 2; }
  .logo img { height: 38px; }
  .thanh-chinh-phai { order: 3; gap: .4rem; }
  .khoi-hotline, .nut-tk { display: none; }
  .o-tim { order: 4; flex-basis: 100%; max-width: none; margin: 0; }
  .o-tim input { padding: .6rem 1rem; }
  .o-tim { max-height: 52px; transition: max-height .3s var(--ease), opacity .2s, margin .3s, border-width .3s; }
  /* Cuon xuong thi gon o tim de dau trang khong chiem het man hinh nho; nut Tim kiem o thanh duoi goi lai */
  .da-cuon .o-tim { max-height: 0; opacity: 0; margin-top: -.5rem; border-width: 0; }
  .nut-menu-mobile, .nut-gio { width: 44px; height: 44px; }

  /* Menu thanh ngan keo tu ben trai */
  .thanh-menu {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    width: min(88vw, 380px);
    background: var(--trang);
    color: var(--chu);
    box-shadow: var(--bong-l);
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(-102%);
    visibility: hidden;
    transition: transform .4s var(--ease), visibility .4s;
  }
  .thanh-menu.dang-mo { transform: none; visibility: visible; }

  .thanh-menu-dau {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .85rem 1rem;
    background: linear-gradient(135deg, var(--mau-chinh), var(--chinh-dam));
    color: #fff;
  }
  .thanh-menu-dau .logo-chu { color: #fff; }
  .nut-dong-menu { display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .18); color: #fff; cursor: pointer; }

  .thanh-menu .khung { flex-direction: column; gap: 0; padding: .5rem 0 1.5rem; max-width: none; }

  .menu-danh-muc { flex: none; }
  .menu-danh-muc-nut { width: 100%; height: auto; min-height: 52px; padding: .75rem 1.1rem; background: var(--chinh-nhat); color: var(--chinh-dam); }
  .menu-danh-muc-nut .mui-ten { margin-left: auto; }

  .menu-danh-muc-list, .menu-con, .menu-cap-2 {
    position: static;
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    visibility: visible;
    opacity: 1;
    transform: none;
    display: none;
    background: var(--chinh-mo);
  }
  .menu-danh-muc-list::before, .menu-cap-2::before, .menu-con::before { display: none; }
  .menu-danh-muc.dang-mo .menu-danh-muc-list { display: block; }
  .menu-danh-muc-list li.dang-mo > .menu-cap-2, .menu-ngang li.dang-mo > .menu-con { display: block; }

  .menu-danh-muc-list li, .menu-ngang > li { position: relative; display: block; }
  .menu-danh-muc-list li > a, .menu-ngang > li > a, .menu-con a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: .65rem 3.25rem .65rem 1.25rem;
    border-radius: 0;
    color: var(--chu);
    border-bottom: 1px solid var(--vien);
  }
  .menu-ngang > li > a::after { display: none; }
  .menu-cap-2 a, .menu-con a { padding-left: 2.25rem; font-size: .95rem; }
  .menu-con li { position: relative; }
  .menu-cap-3 a { padding-left: 3.25rem; }

  .mo-con {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 52px;
    height: 48px;
    border: 0;
    background: transparent;
    color: var(--chu-nhat);
    cursor: pointer;
  }
  .mo-con .bt { transition: transform .25s var(--ease); }
  li.dang-mo > .mo-con .bt { transform: rotate(180deg); }

  .menu-ngang { flex-direction: column; flex-wrap: nowrap; width: 100%; gap: 0; }
  .menu-goi-ngay { display: flex; align-items: center; gap: .5rem; margin: 1rem 1.25rem 0; padding: .8rem 1rem; border-radius: var(--r-m); background: var(--chinh-nhat); color: var(--chinh-dam); }

  /* Thanh dieu huong day man hinh */
  .thanh-duoi {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 55; /* duoi dau trang (60) de menu keo phu ca thanh nay */
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    height: var(--cao-thanh-duoi);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: color-mix(in oklab, var(--trang) 92%, transparent);
    -webkit-backdrop-filter: saturate(1.6) blur(16px);
    backdrop-filter: saturate(1.6) blur(16px);
    border-top: 1px solid var(--vien);
    box-shadow: 0 -8px 24px -16px rgba(18, 38, 26, .35);
  }
  .thanh-duoi > * {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    border: 0;
    background: transparent;
    color: var(--chu-nhat);
    font-size: .6875rem;
    font-weight: 700;
    cursor: pointer;
    transition: color .2s;
  }
  .thanh-duoi > *:active { color: var(--mau-chinh); }
  .thanh-duoi > *:active .bt { transform: scale(.88); }
  .thanh-duoi .bt { transition: transform .2s var(--ease); }
  .thanh-duoi .dem-gio { top: 4px; right: calc(50% - 22px); }

  .luoi-san-pham { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
  .luoi-co-banner { grid-template-columns: minmax(0, 1fr); }
  .banner-doc img { aspect-ratio: 16 / 7; width: 100%; }
  .luoi-co-banner .luoi-san-pham { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .slide-chu { position: static; max-width: none; border-radius: 0; border: 0; background: var(--chinh-dam); -webkit-backdrop-filter: none; backdrop-filter: none; padding: 1rem var(--le) 1.5rem; }
  .slide-nut { display: none; }
  .slide-cham { bottom: auto; top: auto; position: absolute; }
  .slide-anh img { max-height: none; }
  .uu-diem { margin-top: 1rem; }

  /* Hang ngang vuot ngon tay thay cho luoi doc dai */
  .nhom-noi-bat {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 74%;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: .5rem;
    margin-inline: 0;
  }
  .nhom-noi-bat::-webkit-scrollbar { display: none; }
  .nhom-the { min-height: 210px; scroll-snap-align: start; }

  .uu-diem, .luoi-y-kien {
    grid-auto-flow: column;
    grid-auto-columns: 82%;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: .5rem;
  }
  .uu-diem::-webkit-scrollbar, .luoi-y-kien::-webkit-scrollbar { display: none; }
  .uu-diem-o, .y-kien { scroll-snap-align: start; }
  .y-kien-nut { display: none; }

  .hang-cuon { grid-auto-columns: minmax(168px, 46%); }
  .dem-nguoc { width: 100%; }
  .dem-nguoc > div { flex: 1; min-width: 0; }

  .gioi-thieu-luoi { grid-template-columns: minmax(0, 1fr); }
  .gioi-thieu-so { display: none; }

  .chi-tiet { grid-template-columns: minmax(0, 1fr); }
  .chi-tiet-anh { position: static; }
  .xem-nhanh { grid-template-columns: minmax(0, 1fr); }
  .chan-cot { grid-template-columns: minmax(0, 1fr); padding-top: 2rem; }
  .chan-trang { margin-top: 4rem; }

  .hop-xem-nhanh { align-items: end; padding: 0; }
  .hop-xem-nhanh-trong { width: 100%; max-height: 90dvh; border-radius: var(--r-l) var(--r-l) 0 0; animation-name: mo-ngan; }
  @keyframes mo-ngan { from { transform: translateY(100%); } to { transform: none; } }
}

@media (max-width: 420px) {
  .khoi-dau { flex-wrap: wrap; }
  .the-sp-gia { flex-direction: column; gap: 0; }
}

/* Nguoi dung tat chuyen dong trong he dieu hanh thi ton trong */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .co-js .hien-dan { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------
   Trang noi dung: bai viet, trang tinh, lien he.

   Nhung template nay dung bo ten lop rieng co tu truoc. Giu nguyen template va
   dat kieu cho dung ten do - doi ten lop hang loat chi de dep ma nguon thi rui
   ro hon loi ich, va moi Theme tai len sau nay van dung dung bo ten ay.
   ------------------------------------------------------------------ */

.container { width: 100%; max-width: var(--khung-rong); margin: 0 auto; padding: 0 var(--le); }

.lead { font-size: 1.1rem; color: var(--chu-nhat); }

.article-detail, .static-page {
  margin-top: 1rem;
  padding: clamp(1.1rem, 3vw, 2rem);
  background: var(--trang);
  border: 1px solid var(--vien);
  border-radius: var(--r-l);
  box-shadow: var(--bong-s);
}

.article-detail h1, .static-page h1 { font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.2rem); }

.article-meta { margin-bottom: 1rem; color: var(--chu-nhat); font-size: .875rem; }
.article-meta a { color: var(--mau-chinh); font-weight: 700; }

.article-cover, .page-cover { width: 100%; max-height: 440px; object-fit: cover; border-radius: var(--r-m); margin-bottom: 1.25rem; }

.article-body { line-height: 1.8; font-size: 1.04rem; }
.article-body img { border-radius: var(--r-m); margin: 1rem 0; }
.article-body h2 { margin-top: 1.9rem; }
.article-body table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.article-body th, .article-body td { padding: .55rem .8rem; border: 1px solid var(--vien); }
.article-body a { color: var(--mau-chinh); text-decoration: underline; text-underline-offset: 3px; }

.article-tags { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1.5rem; }

.tag { padding: .3rem .85rem; border: 1.5px solid var(--vien); border-radius: 999px; font-size: .8125rem; font-weight: 700; transition: border-color .2s, color .2s, background-color .2s; }
.tag:hover { border-color: var(--mau-chinh); color: var(--mau-chinh); background: var(--chinh-mo); }

.article-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.1rem; margin-top: 1rem; }

.article-card {
  display: flex;
  flex-direction: column;
  padding: 0 0 1.1rem;
  background: var(--trang);
  border: 1px solid var(--vien);
  border-radius: var(--r-l);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.article-card:hover { transform: translateY(-5px); box-shadow: var(--bong-l); }
.article-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.article-card h2 { margin: .85rem 1.1rem .25rem; font-size: 1.1rem; }
.article-card .article-meta { margin: 0 1.1rem .5rem; }
.article-card p { margin: 0 1.1rem; color: var(--chu-nhat); font-size: .9rem; }

.author-card { display: flex; gap: 1rem; align-items: flex-start; margin: 1rem 0; padding: 1.25rem; background: var(--trang); border: 1px solid var(--vien); border-radius: var(--r-m); }
.author-card img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }

.article-bottom-blocks { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }
.article-bottom-blocks img { border-radius: var(--r-m); }

/* ---------- Bieu mau lien he ---------- */

.contact-form {
  position: relative;
  max-width: 660px;
  margin-top: 1rem;
  padding: clamp(1.1rem, 3vw, 1.9rem);
  background: var(--trang);
  border: 1px solid var(--vien);
  border-radius: var(--r-l);
  box-shadow: var(--bong-s);
}

.contact-form .field { margin-bottom: 1rem; }
.contact-form label { display: block; margin-bottom: .3rem; font-weight: 700; font-size: .9rem; }

.contact-form input, .contact-form textarea {
  width: 100%;
  min-height: 46px;
  padding: .65rem .9rem;
  border: 1.5px solid var(--vien);
  border-radius: var(--r-s);
  background: var(--trang);
  transition: border-color .2s, box-shadow .2s;
}

.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--mau-chinh);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--mau-chinh) 16%, transparent);
}

.contact-form button {
  min-height: 48px;
  padding: .65rem 1.75rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--mau-chinh), var(--chinh-dam));
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.contact-form button:hover { transform: translateY(-2px); box-shadow: 0 12px 22px -8px color-mix(in oklab, var(--mau-chinh) 80%, transparent); }

.form-note { margin: .75rem 0 0; color: var(--chu-nhat); font-size: .875rem; }

/* Lien he gop "Yeu cau lien he lai" (dac ta muc 82): form ten + SDT ben trai, thong tin cua hang ben phai */
.lien-he-luoi { display: grid; gap: 1.25rem; align-items: start; margin-top: 1rem; }
.lien-he-luoi .contact-form { margin-top: 0; max-width: none; }
.lien-he-mo-ta { margin: 0 0 1rem; }
.lien-he-thong-tin {
  padding: clamp(1.1rem, 3vw, 1.6rem);
  background: var(--trang);
  border: 1px solid var(--vien);
  border-radius: var(--r-l);
  box-shadow: var(--bong-s);
}
.lien-he-thong-tin h2 { margin: 0 0 .9rem; font-size: 1.15rem; }
.lien-he-thong-tin ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .7rem; }
.lien-he-thong-tin li { display: flex; gap: .6rem; align-items: flex-start; line-height: 1.45; }
.lien-he-thong-tin li .bt { flex: none; width: 18px; height: 18px; margin-top: .15rem; color: var(--mau-chinh);
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lien-he-thong-tin a { color: inherit; }
.lien-he-thong-tin a:hover { color: var(--mau-chinh); }
.lien-he-zalo {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: 1rem; padding: .45rem 1rem .45rem .45rem;
  border: 1.5px solid var(--vien); border-radius: 999px; font-weight: 700; color: inherit;
}
.lien-he-zalo:hover { border-color: #0068ff; color: #0068ff; }
@media (min-width: 900px) {
  .lien-he-luoi { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
}

.alert { margin: 1rem 0; padding: 1rem 1.25rem; border-radius: var(--r-m); border: 1px solid var(--vien); background: var(--trang); }
.alert-success { border-color: #86efac; background: #f0fdf4; }
.alert-error { border-color: #fca5a5; background: #fef2f2; }

/* ------------------------------------------------------------------
   Trang dat hang
   ------------------------------------------------------------------ */

.thanh-toan { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1.5rem; align-items: start; }
.thanh-toan-phai { position: sticky; top: 110px; }

.o-nhap { margin-bottom: 1rem; }
.o-nhap:last-child { margin-bottom: 0; }
.o-nhap label { display: block; margin-bottom: .3rem; font-weight: 700; font-size: .9rem; }

.o-nhap input, .o-nhap textarea {
  width: 100%;
  min-height: 48px;
  padding: .65rem .9rem;
  border: 1.5px solid var(--vien);
  border-radius: var(--r-s);
  background: var(--trang);
  font-size: 1rem; /* >=16px: iOS khong tu phong to khi cham vao o nhap */
  transition: border-color .2s, box-shadow .2s;
}

.o-nhap input:focus, .o-nhap textarea:focus {
  outline: none;
  border-color: var(--mau-chinh);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--mau-chinh) 16%, transparent);
}

.o-nhap-doi { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* O go-tim dia gioi: danh sach goi y do theme.js dung len */
.o-goi-y { position: relative; }

.goi-y {
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  max-height: 16rem;
  margin: .25rem 0 0;
  padding: .3rem;
  overflow-y: auto;
  list-style: none;
  background: #fff;
  border: 1px solid var(--vien);
  border-radius: var(--r-m);
  box-shadow: var(--bong-l);
}

.goi-y li { padding: .6rem .8rem; border-radius: var(--r-s); cursor: pointer; }
.goi-y li:hover, .goi-y li.dang-chon { background: var(--chinh-nhat); }

.bat-buoc { color: var(--mau-nhan); }
.o-nhap-goi-y { color: var(--chu-nhat); font-size: .85rem; font-weight: 400; }
.o-nhap-loi { margin: .35rem 0 0; color: var(--mau-nhan); font-size: .85rem; }

.o-chon {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-height: 56px;
  padding: .75rem 1rem;
  margin-bottom: .6rem;
  border: 1.5px solid var(--vien);
  border-radius: var(--r-m);
  background: var(--trang);
  cursor: pointer;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.o-chon:hover { border-color: color-mix(in oklab, var(--mau-chinh) 45%, var(--vien)); }
.o-chon input { width: 1.2rem; height: 1.2rem; accent-color: var(--mau-chinh); flex: none; }
.o-chon:has(input:checked) { border-color: var(--mau-chinh); background: var(--chinh-mo); box-shadow: 0 0 0 3px color-mix(in oklab, var(--mau-chinh) 14%, transparent); }

.tom-tat-hang { margin: 0 0 1rem; padding: 0; list-style: none; }
.tom-tat-hang li { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--vien); font-size: .9rem; }
.tom-tat-ten em { color: var(--chu-nhat); font-style: normal; }

.tom-tat-tien { display: grid; grid-template-columns: 1fr auto; gap: .5rem 1rem; margin: 0 0 1.25rem; font-variant-numeric: tabular-nums; }
.tom-tat-tien dt { color: var(--chu-nhat); }
.tom-tat-tien dd { margin: 0; text-align: right; }
.tom-tat-giam { color: var(--mau-chinh); }
.tom-tat-tong { padding-top: .7rem; border-top: 1px solid var(--vien); font: 800 1.2rem var(--font-tieu-de); }
.tom-tat-tong + .tom-tat-tong { color: var(--mau-nhan); }

.nut-dat-hang { width: 100%; min-height: 52px; padding: .8rem; font-size: 1.05rem; }

.dat-hang-xong { max-width: 780px; margin-left: auto; margin-right: auto; }
.dat-hang-ma { font-size: 1.15rem; }

@media (max-width: 900px) {
  .thanh-toan { grid-template-columns: minmax(0, 1fr); }
  .thanh-toan-phai { position: static; }
  .o-nhap-doi { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Bo loc thuoc tinh / khoang gia (danh muc) ---------- */

.hop-loc .xoa-loc { float: right; font-size: .8rem; font-weight: 400; color: var(--chu-nhat); text-decoration: underline; }
.hop-loc .nhom-loc { margin: .75rem 0 0; padding: 0; border: 0; min-width: 0; }
.hop-loc .nhom-loc legend { padding: 0; margin-bottom: .35rem; font-weight: 700; font-size: .9rem; }
.hop-loc .lua-chon-loc { display: flex; align-items: center; gap: .55rem; min-height: 40px; padding: .2rem 0; cursor: pointer; font-size: .92rem; }
.hop-loc .lua-chon-loc input { width: 1.1rem; height: 1.1rem; accent-color: var(--mau-chinh); flex: none; }
.hop-loc .lua-chon-loc small { color: var(--chu-nhat); margin-left: auto; }
.hop-loc .khoang-loc { display: flex; align-items: center; gap: .4rem; }
.hop-loc .khoang-loc input { width: 100%; min-width: 0; min-height: 42px; padding: .4rem .6rem; border: 1.5px solid var(--vien); border-radius: var(--r-s); }
.hop-loc .nut-loc { width: 100%; margin-top: 1rem; text-align: center; }

.bo-loc-mo { margin: 0 0 1rem; border: 1px solid var(--vien); border-radius: var(--r-m); background: var(--trang); overflow: hidden; }
.bo-loc-mo > summary { min-height: 48px; padding: .75rem 1.1rem; cursor: pointer; font-weight: 700; list-style: none; display: flex; align-items: center; justify-content: space-between; }
.bo-loc-mo > summary::-webkit-details-marker { display: none; }
.bo-loc-mo > summary::after { content: "+"; font: 700 1.3rem var(--font-tieu-de); color: var(--mau-chinh); transition: transform .3s var(--ease); }
.bo-loc-mo[open] > summary::after { transform: rotate(45deg); }
.bo-loc-mo .hop-loc { padding: 0 1.1rem 1.1rem; }
.bo-loc-mo .hop-loc h2 { margin: 0 0 .25rem; font-size: .95rem; }
.bo-loc-mo .hop-loc .xoa-loc { float: none; display: inline-block; margin-bottom: .25rem; }

/* ---------- Combo (dac ta muc 5.3) ---------- */
.nhan-combo { background: var(--chinh-dam); }
.combo-mua { margin: .5rem 0 1rem; }
.combo-mua .chi-tiet-gia { margin-bottom: .25rem; }
.combo-tiet-kiem { margin: 0 0 .75rem; color: var(--mau-nhan); font-weight: 700; }
.form-combo { flex-direction: column; align-items: stretch; }
.form-combo .nut { align-self: flex-start; }
.combo-nhom { margin: 0; padding: .75rem 1rem; border: 1px solid var(--vien); border-radius: var(--r-m); }
.combo-nhom legend { padding: 0 .35rem; font-weight: 700; }
.combo-phuong-an { display: flex; align-items: baseline; gap: .5rem; padding: .3rem 0; cursor: pointer; font-weight: 400 !important; color: var(--chu) !important; }
.combo-phuong-an small { color: var(--chu-nhat); margin-left: .35rem; }
.form-combo .combo-phuong-an input { min-height: 0; width: auto; }
.combo-loi, .dong-loi { margin: .25rem 0; color: #b91c1c; font-size: .875rem; }
.combo-ngung-ban { margin: 1rem 0; padding: .9rem 1.1rem; border-radius: var(--r-m); background: var(--nhan-nhat); }
.combo-thanh-phan { list-style: none; margin: 1rem 0; padding: 0; display: grid; gap: .5rem; }
.combo-thanh-phan li { display: flex; align-items: center; gap: .75rem; padding: .5rem .75rem; border: 1px solid var(--vien); border-radius: var(--r-s); background: var(--trang); }
.combo-thanh-phan img { width: 56px; height: 56px; object-fit: cover; border-radius: var(--r-s); }
.combo-thanh-phan span { flex: 1; display: flex; flex-direction: column; }
.dong-tuy-chon { list-style: none; margin: .25rem 0 0; padding: 0; font-size: .85rem; color: var(--chu-nhat); }
.the-sp-tiet-kiem { margin: .15rem 0 0; color: var(--mau-nhan); font-size: .85rem; font-weight: 700; }
.khoi-co-trong-combo { margin-top: 2rem; }

/* ------------------------------------------------------------------
   Gioi thieu (dac ta muc 38): trang ghep khoi, timeline, ho so thanh vien
   ------------------------------------------------------------------ */
.gt-tieu-de-trang { margin: 1.25rem 0 .5rem; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); }
.gt-khoi { margin: 2.5rem 0; }
.gt-khoi > h2 { font-size: clamp(1.3rem, 1.1rem + .9vw, 1.8rem); margin: 0 0 .5rem; }
.gt-mo-ta { color: var(--chu-nhat); max-width: 70ch; margin: 0 0 1.25rem; }
.gt-banner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 2rem; align-items: center; padding: clamp(1.25rem, 3vw, 2.5rem); background: var(--chinh-mo); border-radius: var(--r-l); }
.gt-banner h2 { font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2.2rem); margin: 0 0 .75rem; }
.gt-thong-diep { font-size: 1.1rem; color: var(--chu); margin: 0 0 1.25rem; }
.gt-banner-anh { width: 100%; height: auto; border-radius: var(--r-m); object-fit: cover; }
@media (max-width: 800px) { .gt-banner { grid-template-columns: 1fr; } }
.gt-luoi-the { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1rem; }
.gt-the { padding: 1.25rem; background: var(--trang); border: 1px solid var(--vien); border-radius: var(--r-m); }
.gt-the h3 { font-size: 1.05rem; margin: .25rem 0 .5rem; }
.gt-the p { margin: 0 0 .5rem; color: var(--chu-nhat); }
.gt-trang-thai { display: inline-block; padding: .15rem .6rem; border-radius: 999px; font-size: .78rem; font-weight: 700; }
.gt-trang-thai-applied { background: var(--chinh-nhat); color: var(--chinh-dam); }
.gt-trang-thai-developing { background: #fff4d6; color: #8a5a00; }
.gt-trang-thai-planned { background: #eef0f3; color: #4b5563; }
.gt-doi-ngu { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: 1rem; }
.gt-thanh-vien { display: flex; flex-direction: column; align-items: center; gap: .2rem; padding: 1rem; text-align: center; color: var(--chu); background: var(--trang); border: 1px solid var(--vien); border-radius: var(--r-m); }
.gt-thanh-vien:hover { border-color: var(--mau-chinh); }
.gt-thanh-vien img, .gt-anh-trong { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; margin-bottom: .5rem; }
.gt-anh-trong { display: grid; place-items: center; background: var(--chinh-nhat); color: var(--chinh-dam); font-size: 2.2rem; font-weight: 700; }
.gt-thanh-vien span, .gt-thanh-vien small { color: var(--chu-nhat); }
.gt-timeline { list-style: none; margin: 0; padding: 0 0 0 1.25rem; border-left: 3px solid var(--vien); }
.gt-moc { position: relative; padding: 0 0 1.75rem 1.25rem; }
.gt-moc::before { content: ""; position: absolute; left: calc(-1.25rem - 9px); top: .35rem; width: 15px; height: 15px; border-radius: 50%; background: var(--trang); border: 3px solid var(--mau-chinh); }
.gt-moc-ghim::before { background: var(--mau-chinh); }
.gt-moc-thoi-gian { font-weight: 800; color: var(--mau-chinh); font-variant-numeric: tabular-nums; }
.gt-moc-loai { display: inline-block; margin-left: .5rem; padding: .05rem .5rem; border-radius: 999px; background: var(--chinh-mo); font-size: .75rem; color: var(--chu-nhat); }
.gt-moc h3 { font-size: 1.05rem; margin: .35rem 0; }
.gt-moc p { margin: 0 0 .5rem; color: var(--chu-nhat); }
.gt-moc img { max-width: min(100%, 420px); height: auto; border-radius: var(--r-s); }
@media (prefers-reduced-motion: no-preference) {
  .gt-moc { animation: gt-hien .5s var(--ease) both; }
  @keyframes gt-hien { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}
.gt-tai-ve { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.5rem; background: var(--chinh-mo); border-radius: var(--r-m); }
.gt-tai-ve-nut { display: flex; gap: .5rem; flex-wrap: wrap; }
.gt-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-m); overflow: hidden; background: #000; }
.gt-video iframe, .gt-video-nut, .gt-video-nut img { width: 100%; height: 100%; border: 0; display: block; object-fit: cover; }
.gt-video-nut { padding: 0; cursor: pointer; background: none; }
.gt-video-phat { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, .65); color: #fff; font-size: 1.6rem; }
.gt-luoi-video { display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 1rem; }
.gt-ho-so { margin: 1rem 0 2rem; }
.gt-ho-so-bia { width: 100%; max-height: 320px; object-fit: cover; border-radius: var(--r-m); margin-bottom: 1rem; }
.gt-ho-so-tom-tat { display: grid; gap: .35rem; margin: 0 0 1rem; }
.gt-ho-so-tom-tat dt { display: inline; font-weight: 700; }
.gt-ho-so-tom-tat dt::after { content: ": "; }
.gt-ho-so-tom-tat dd { display: inline; margin: 0; }
.gt-moc-dau { margin: 0; }

/* Giam theo so luong tren dong gio/don (dac ta muc 45) */
.gia-goc-dong { color: #94a3b8; font-weight: 400; font-size: .85em; }
.ghi-chu-giam { display: block; color: #16a34a; font-size: .78em; font-weight: 600; }

/* Bang bac gia mua nhieu o trang san pham (dac ta muc 45) */
.bac-gia { margin: .5rem 0 .75rem; padding: .6rem .8rem; border: 1px dashed #16a34a; border-radius: 8px; background: #f0fdf4; font-size: .92rem; }
.bac-gia ul { margin: .25rem 0 0; padding-left: 1.1rem; }
.bac-gia-giam { color: #16a34a; font-weight: 700; }
.gia-so-luong { margin: .5rem 0; font-size: .95rem; }
.gia-so-luong del { color: #94a3b8; }
.gia-so-luong span { color: #16a34a; }

/* ---------- Bo suu tap anh / video (dac ta muc 46) ---------- */
.bst-luoi-bo { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; margin: 1rem 0 2rem; }
.bst-the { display: flex; flex-direction: column; gap: .5rem; color: inherit; text-decoration: none; }
.bst-the-bia { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 12px; background: #eef2ef; }
.bst-the-bia img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.bst-the:hover .bst-the-bia img { transform: scale(1.04); }
.bst-the-so { position: absolute; left: .6rem; bottom: .6rem; padding: .2rem .6rem; border-radius: 999px; background: rgba(0, 0, 0, .65); color: #fff; font-size: .8rem; font-weight: 600; }
.bst-the-ten { font-weight: 700; font-size: 1.05rem; line-height: 1.35; }
.bst-the-mo-ta { color: #64748b; font-size: .9rem; }

.bst-dem-tong { color: #64748b; margin: .25rem 0 1rem; }
.bst-luoi { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .75rem; margin-bottom: 2rem; }
.bst-o { margin: 0; }
.bst-o a { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 10px; background: #eef2ef; }
.bst-o img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.bst-o a:hover img { transform: scale(1.05); }
.bst-o-play { position: absolute; inset: 0; margin: auto; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: rgba(0, 0, 0, .6); color: #fff; font-size: 1.4rem; padding-left: 4px; }
.bst-o-trong { position: absolute; inset: 0; display: grid; place-items: center; color: #64748b; font-weight: 600; }
.bst-o figcaption { margin-top: .35rem; font-size: .9rem; line-height: 1.35; }

.bst-hop { position: fixed; inset: 0; z-index: 1000; display: none; grid-template-columns: 64px 1fr 64px; grid-template-rows: auto 1fr auto; background: rgba(8, 10, 12, .96); color: #fff; }
.bst-hop.bst-mo { display: grid; }
.bst-thanh { grid-column: 1 / -1; display: flex; align-items: center; gap: .5rem; padding: .6rem .9rem; }
.bst-dem { margin-right: auto; font-size: .95rem; opacity: .85; }
.bst-nut { border: 0; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; padding: .45rem .9rem; font-size: .95rem; cursor: pointer; }
.bst-nut:hover, .bst-nut:focus-visible { background: rgba(255, 255, 255, .25); }
.bst-truoc, .bst-sau { align-self: center; justify-self: center; width: 48px; height: 48px; padding: 0; font-size: 2rem; line-height: 1; }
.bst-khung { display: flex; align-items: center; justify-content: center; min-height: 0; padding: .5rem; }
.bst-khung img { max-width: 100%; max-height: 100%; object-fit: contain; }
.bst-khung-video iframe { width: min(100%, calc((100vh - 170px) * 16 / 9)); aspect-ratio: 16 / 9; border: 0; background: #000; }
.bst-khung-video.bst-tiktok iframe { width: min(100%, calc((100vh - 170px) * 9 / 16)); aspect-ratio: 9 / 16; }
.bst-chu { grid-column: 1 / -1; padding: .5rem 1rem 1rem; text-align: center; max-width: 900px; justify-self: center; }
.bst-chu strong { display: block; font-size: 1.05rem; }
.bst-chu p { margin: .25rem 0 0; opacity: .85; font-size: .92rem; }

@media (max-width: 700px) {
  .bst-luoi { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
  .bst-hop { grid-template-columns: 0 1fr 0; }
  .bst-truoc, .bst-sau { position: fixed; bottom: 50%; z-index: 2; background: rgba(0, 0, 0, .35); }
  .bst-truoc { left: .25rem; }
  .bst-sau { right: .25rem; }
  .bst-nut-toan { display: none; }
}

/* Qua tang theo nguong o trang dat hang (dac ta muc 49) */
.qt-khoi { border: 2px dashed currentColor; border-color: rgba(220, 120, 0, .55); background: rgba(255, 196, 0, .08); }
.qt-khoi h2 { margin-top: 0; }
.qt-khoi p { margin: .25rem 0 .75rem; font-weight: 600; }

/* Ma giam gia o khoi "Uu dai" trang dat hang */
.ds-ma-uu-dai { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .5rem; }
.ds-ma-uu-dai li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem;
  padding: .6rem .75rem; border: 1px dashed rgba(220, 120, 0, .6); border-radius: .5rem; background: rgba(255, 196, 0, .07); }
.ma-uu-dai-noi-dung { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.ma-uu-dai-ma { font-family: ui-monospace, monospace; letter-spacing: .04em; }
.ma-uu-dai-noi-dung small { opacity: .7; }
.ma-uu-dai-nut { display: flex; gap: .4rem; }
.ma-uu-dai-nut .nut { padding: .3rem .7rem; font-size: .875rem; }

/* Gio hang: "Tiep tuc mua hang" canh "Tien hanh dat hang" */
.nhom-nut-gio { display: flex; flex-wrap: wrap; gap: .5rem; }
.nhom-nut-gio .nut { flex: 1 1 12rem; text-align: center; justify-content: center; }


/* Nhan "(khong bat buoc)" o bieu mau dat hang */
.khong-bat-buoc { font-weight: 400; opacity: .7; font-size: .9em; }

/* Dong ho dem nguoc (dac ta muc 53): nho, ngay sau muc giam gia o trang san pham; dien thoai xuong dong duoi gia */
.dong-ho-khung { display: inline; }
.dong-ho-dn { display: inline-flex; align-items: center; gap: .22rem; padding: .17rem .33rem; margin-left: .4rem; vertical-align: middle;
  border-radius: .38rem; background: #c62828; color: #fff; font-variant-numeric: tabular-nums; line-height: 1; white-space: nowrap; }
.dong-ho-dn[hidden] { display: none; }
.dong-ho-dn .dn-chu { font-weight: 600; font-size: .66rem; margin-right: .1rem; }
.dong-ho-dn .dn-o { display: inline-flex; flex-direction: column; align-items: center; min-width: 1.65rem; padding: .09rem .2rem;
  border-radius: .28rem; background: rgba(255, 255, 255, .16); }
.dong-ho-dn .dn-o b { font-size: .77rem; }
.dong-ho-dn .dn-o small { font-size: .5rem; opacity: .85; }
@media (max-width: 640px) {
  .chi-tiet-gia { flex-wrap: wrap; }
  .dong-ho-khung { display: block; flex-basis: 100%; margin-top: .35rem; }
  .dong-ho-khung .dong-ho-dn { margin-left: 0; }
}

/* ---- Dinh dang noi dung soan thao (dac ta muc 58) ----
   H3/H4 = co chu thuong, H2 lon hon 1 co, H1 lon hon H2 1 co; H1-H3 dam, H4 dam nghieng.
   Gian dong don (~1 dong), tieu de cach doan tren 1,2 dong; danh sach / ky tu dac biet khong thut, bang le. */
.article-body, .page-body, .mo-ta-sp { line-height: 1.3; }
.article-body p, .page-body p, .mo-ta-sp p { margin: 0 0 .5em; }
.article-body h1, .page-body h1, .mo-ta-sp h1, .article-body h2, .page-body h2, .mo-ta-sp h2, .article-body h3, .page-body h3, .mo-ta-sp h3, .article-body h4, .page-body h4, .mo-ta-sp h4 { line-height: 1.3; margin: 1.2em 0 .4em; }
.article-body h1, .page-body h1, .mo-ta-sp h1 { font-size: 1.25em; font-weight: 700; font-style: normal; }
.article-body h2, .page-body h2, .mo-ta-sp h2 { font-size: 1.125em; font-weight: 700; font-style: normal; }
.article-body h3, .page-body h3, .mo-ta-sp h3 { font-size: 1em; font-weight: 700; font-style: normal; }
.article-body h4, .page-body h4, .mo-ta-sp h4 { font-size: 1em; font-weight: 700; font-style: italic; }
.article-body > :first-child, .page-body > :first-child, .mo-ta-sp > :first-child { margin-top: 0; }
.article-body ul, .page-body ul, .mo-ta-sp ul, .article-body ol, .page-body ol, .mo-ta-sp ol { margin: 0 0 .5em; padding-left: 0; list-style-position: inside; }
.article-body li, .page-body li, .mo-ta-sp li { margin: 0 0 .2em; padding-left: 0; }
.article-body li > p, .page-body li > p, .mo-ta-sp li > p { display: inline; margin: 0; }
.article-body li ul, .page-body li ul, .mo-ta-sp li ul, .article-body li ol, .page-body li ol, .mo-ta-sp li ol { padding-left: .9em; margin: .2em 0 0; }
.article-body blockquote, .page-body blockquote, .mo-ta-sp blockquote { margin: 0 0 .5em; padding-left: .6em; }

/* ---- Ma dip le nhap nhay tren anh san pham (20/10/2026) ---- */
.ma-le-nhan {
  display: inline-block; padding: 2px 8px; border-radius: 6px;
  background: linear-gradient(90deg, #dc2626, #f97316); color: #fff;
  font-size: .72rem; font-weight: 800; letter-spacing: .03em; line-height: 1.4; white-space: nowrap;
  box-shadow: 0 2px 6px rgba(220, 38, 38, .35);
  animation: ma-le-nhay 1.2s ease-in-out infinite;
}
@keyframes ma-le-nhay {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .55; transform: scale(1.07); }
}
@media (prefers-reduced-motion: reduce) { .ma-le-nhan { animation: none; } }
.ma-le-anh { position: absolute; top: 10px; left: 10px; z-index: 2; pointer-events: none; }
.ma-le-anh .ma-le-nhan { font-size: .85rem; padding: 4px 10px; }

/* ---- Tac dung chinh tren trang san pham (dac ta muc 60) ---- */
.tac-dung-sp { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 10px; }
.tac-dung-nhan {
  display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .85rem;
  border: 1px solid currentColor; color: #15803d; text-decoration: none; background: #f0fdf4;
}
.tac-dung-nhan:hover { background: #dcfce7; }

/* ---- So tu van theo nguoi truc + Zalo (dac ta muc 62) ---- */
.zalo-nho {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 2px 8px; border-radius: 999px; background: #0068ff; color: #fff !important;
  font-size: .72rem; font-weight: 800; letter-spacing: .02em; text-decoration: none; line-height: 1.5;
  align-self: center; margin-left: 6px;
}
.zalo-nho:hover { background: #0052cc; }
.zalo-tron {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%; background: #0068ff; color: #fff;
  font-size: 8.5px; font-weight: 800; letter-spacing: -.02em;
}
@media (max-width: 900px) {
  .thanh-duoi { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); }
}

/* ---- Lien ket SDS (dac ta muc 63) ---- */
.sds-lien-ket { margin: 4px 0 12px; }
.sds-lien-ket a {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 8px;
  border: 1px solid #b45309; background: #fffbeb; color: #92400e; font-weight: 700; font-size: .9rem; text-decoration: none;
}
.sds-lien-ket a::before { content: "⚠"; font-size: 1rem; line-height: 1; }
.sds-lien-ket a:hover { background: #fef3c7; }

/* ---- Nhom cay + hang nut nhom (dac ta muc 65) ---- */
.nhom-cay-nhan { color: #b45309; background: #fffbeb; }
.nhom-cay-nhan:hover { background: #fef3c7; }
.nhom-lien-ket { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 14px; }
.nhom-lien-ket a {
  display: inline-block; padding: 4px 12px; border-radius: 999px; border: 1px solid #d1d5db; background: #fff;
  color: inherit; font-size: .88rem; text-decoration: none;
}
.nhom-lien-ket a:hover { border-color: #15803d; color: #15803d; }
.nhom-lien-ket a.dang-chon { background: #15803d; border-color: #15803d; color: #fff; font-weight: 600; }

/* Chu nut danh muc: may tinh "San pham", dien thoai "Danh muc san pham" (21/10/2026) */
.menu-danh-muc-nut .chu-dien-thoai { display: none; }
@media (max-width: 900px) {
  .menu-danh-muc-nut .chu-may-tinh { display: none; }
  .menu-danh-muc-nut .chu-dien-thoai { display: inline; }
}

/* ===== Gia phan bon (dac ta muc 68) - dung chung ba Theme: bien rieng lay tu bien mau cua tung Theme ===== */
.gpb {
  --g-chinh: var(--mau-chinh, #0a7d3c);
  --g-chu: var(--chu, var(--mau-chu, #1f2933));
  --g-chu-nhat: var(--chu-nhat, var(--mau-chu-nhat, #6b7280));
  --g-vien: var(--vien, var(--mau-vien, #e5e7eb));
  --g-the: var(--trang, var(--mau-the, #fff));
  --g-goc: var(--r-m, var(--bo-goc-lon, 14px));
  --g-tang: #dc2626;
  --g-giam: #059669;
  --g-ngang: #94a3b8;
  padding-bottom: 2.5rem;
  color: var(--g-chu);
  min-width: 0;
  max-width: 100%;
}
.gpb > * { min-width: 0; max-width: 100%; }
.gpb h1, .gpb h2, .gpb h3 { margin: 0; }
.gpb [hidden] { display: none !important; }

.gpb-dau {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem;
  margin: .75rem 0 1.25rem; padding: 1.5rem 1.5rem 1.4rem; border-radius: var(--g-goc);
  background: linear-gradient(135deg, var(--g-chinh), color-mix(in srgb, var(--g-chinh) 62%, #0f172a));
  color: #fff; position: relative; overflow: hidden;
}
.gpb-dau::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%;
  background: rgba(255, 255, 255, .08); pointer-events: none;
}
.gpb-dau-chu { max-width: 680px; position: relative; z-index: 1; }
.gpb-dau h1 { font-size: clamp(1.6rem, 4vw, 2.3rem); line-height: 1.15; color: #fff; }
.gpb-nhan {
  display: inline-block; margin: 0 0 .45rem; padding: .2rem .65rem; border-radius: 999px;
  background: rgba(255, 255, 255, .16); font-size: .78rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase;
}
.gpb-mo-ta { margin: .55rem 0 0; opacity: .92; line-height: 1.55; }
.gpb-cap-nhat {
  position: relative; z-index: 1; margin: 0; padding: .6rem .9rem; border-radius: 12px;
  background: rgba(255, 255, 255, .14); font-size: .82rem; line-height: 1.4;
}
.gpb-cap-nhat strong { font-size: .95rem; }
.gpb-cham {
  display: inline-block; width: 8px; height: 8px; margin-right: .4rem; border-radius: 50%; background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, .7); animation: gpb-nhip 2s infinite;
}
@keyframes gpb-nhip { 70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }

.gpb-loc { display: flex; gap: .5rem; overflow-x: auto; padding: .1rem .1rem .6rem; margin-bottom: .5rem; scrollbar-width: none; }
.gpb-loc::-webkit-scrollbar { display: none; }
.gpb-chip {
  flex: none; display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .95rem; border-radius: 999px;
  border: 1px solid var(--g-vien); background: var(--g-the); color: var(--g-chu); font: inherit; font-weight: 600;
  font-size: .9rem; cursor: pointer; transition: all .15s;
}
.gpb-chip:hover { border-color: var(--g-chinh); }
.gpb-chip.dang-chon { background: var(--g-chinh); border-color: var(--g-chinh); color: #fff; }

/* Mau theo loai phan */
.gpb-k-ure { --k: #2563eb; }
.gpb-k-dap { --k: #7c3aed; }
.gpb-k-kali { --k: #db2777; }
.gpb-k-npk { --k: #059669; }
.gpb-k-lan { --k: #d97706; }
.gpb-k-khac { --k: #64748b; }
.gpb-cham-loai { width: 9px; height: 9px; border-radius: 50%; background: var(--k); display: inline-block; flex: none; }
.gpb-chip.dang-chon .gpb-cham-loai { box-shadow: 0 0 0 2px #fff; }

.gpb-nguon {
  margin: 0 0 1.25rem; border: 1px solid var(--g-vien); border-radius: var(--g-goc); background: var(--g-the);
  overflow: hidden; box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}
.gpb-nguon-dau {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .3rem 1rem;
  padding: 1rem 1.25rem; border-bottom: 1px solid var(--g-vien);
}
.gpb-nguon-dau h2 { font-size: 1.15rem; }
.gpb-nguon-dau p { margin: 0; color: var(--g-chu-nhat); font-size: .88rem; }
.gpb-nguon-dau a { color: var(--g-chinh); font-weight: 600; text-decoration: none; }
.gpb-vung + .gpb-vung { border-top: 1px dashed var(--g-vien); }
.gpb-vung-ten {
  padding: .7rem 1.25rem .2rem; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: var(--g-chinh);
}
.gpb-ds { list-style: none; margin: 0; padding: 0 .5rem .4rem; }

.gpb-dong {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) 92px auto 112px; align-items: center; gap: .85rem;
  padding: .7rem .75rem; border-radius: 12px;
}
.gpb-dong:nth-child(even) { background: color-mix(in srgb, var(--g-vien) 28%, transparent); }
/* Man hinh rong: danh sach chia hai cot cho gon (soc theo cap dong) */
@media (min-width: 1100px) {
  .gpb-ds { display: grid; grid-template-columns: 1fr 1fr; column-gap: .75rem; }
  .gpb-dong { grid-template-columns: 52px minmax(0, 1fr) 64px auto 96px; gap: .65rem; }
  .gpb-dong:nth-child(even) { background: none; }
  .gpb-dong:nth-child(4n+1), .gpb-dong:nth-child(4n+2) { background: color-mix(in srgb, var(--g-vien) 28%, transparent); }
  .gpb-dong:hover { background: color-mix(in srgb, var(--g-chinh) 7%, transparent); }
}
.gpb-dong:hover { background: color-mix(in srgb, var(--g-chinh) 7%, transparent); }
.gpb-loai {
  justify-self: start; padding: .2rem .55rem; border-radius: 999px; font-size: .74rem; font-weight: 800;
  color: var(--k); background: color-mix(in srgb, var(--k) 12%, transparent);
}
.gpb-ten { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.gpb-ten strong { font-size: 1rem; }
.gpb-ten small { color: var(--g-chu-nhat); font-size: .84rem; }
.gpb-xu-huong svg, .gpb-o-bieu-do { display: block; width: 100%; height: 30px; overflow: visible; }
.gpb-xu-huong polyline, .gpb-o-bieu-do polyline {
  fill: none; stroke: var(--g-ngang); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.gpb-up polyline, polyline.gpb-up { stroke: var(--g-tang); }
.gpb-down polyline { stroke: var(--g-giam); }
.gpb-gia { text-align: right; line-height: 1.25; white-space: nowrap; }
.gpb-gia strong { font-size: 1.12rem; font-variant-numeric: tabular-nums; }
.gpb-gia small { color: var(--g-chu-nhat); font-size: .78rem; }
.gpb-khoang { display: block; color: var(--g-chu-nhat); font-size: .8rem; font-variant-numeric: tabular-nums; }
.gpb-doi {
  justify-self: end; padding: .25rem .6rem; border-radius: 8px; font-size: .82rem; font-weight: 700; white-space: nowrap;
  font-variant-numeric: tabular-nums; color: var(--g-chu-nhat); background: color-mix(in srgb, var(--g-ngang) 14%, transparent);
}
.gpb-doi.gpb-up { color: var(--g-tang); background: color-mix(in srgb, var(--g-tang) 10%, transparent); }
.gpb-doi.gpb-down { color: var(--g-giam); background: color-mix(in srgb, var(--g-giam) 11%, transparent); }
.gpb-doi small { font-weight: 500; opacity: .85; }

.gpb-o-luoi { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1px; background: var(--g-vien); }
.gpb-o { display: flex; flex-direction: column; gap: .35rem; padding: 1rem 1.15rem; background: var(--g-the); }
.gpb-o-ten { display: flex; align-items: center; gap: .45rem; font-weight: 700; }
.gpb-o-gia { font-size: 1.55rem; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.1; }
.gpb-o-gia small { font-size: .8rem; font-weight: 600; color: var(--g-chu-nhat); }
.gpb-o .gpb-doi { justify-self: auto; align-self: flex-start; }
.gpb-o-bieu-do { height: 42px; margin-top: .25rem; }
.gpb-o-ky { font-size: .75rem; color: var(--g-chu-nhat); }

.gpb-chu-thich {
  margin: 0 0 2rem; padding: .85rem 1rem; border-left: 3px solid var(--g-chinh); border-radius: 0 10px 10px 0;
  background: color-mix(in srgb, var(--g-chinh) 6%, transparent); color: var(--g-chu-nhat); font-size: .88rem; line-height: 1.55;
}
.gpb-trong { padding: 2rem; text-align: center; color: var(--g-chu-nhat); }

.gpb-bai h2 { font-size: 1.25rem; margin-bottom: .9rem; }
.gpb-bai-luoi { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.gpb-bai-the {
  display: flex; flex-direction: column; gap: .35rem; padding-bottom: .9rem; border: 1px solid var(--g-vien);
  border-radius: var(--g-goc); background: var(--g-the); color: var(--g-chu); text-decoration: none; overflow: hidden;
  transition: transform .15s, box-shadow .15s;
}
.gpb-bai-the:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -12px rgba(15, 23, 42, .35); }
.gpb-bai-anh { display: block; aspect-ratio: 1200 / 630; background: color-mix(in srgb, var(--g-chinh) 10%, transparent); }
.gpb-bai-anh img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gpb-bai-nhom { padding: .2rem .9rem 0; color: var(--g-chinh); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.gpb-bai-the strong { padding: 0 .9rem; line-height: 1.35; }
.gpb-bai-ngay { padding: 0 .9rem; color: var(--g-chu-nhat); font-size: .8rem; }

@media (max-width: 720px) {
  .gpb-dau { padding: 1.2rem 1.1rem; }
  .gpb-nguon-dau { padding: .85rem 1rem; }
  .gpb-vung-ten { padding: .65rem 1rem .1rem; }
  .gpb-ds { padding: 0 .25rem .3rem; }
  .gpb-dong {
    grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "ten gia" "ten doi" "xh xh";
    gap: .25rem .75rem; padding: .65rem .6rem;
  }
  .gpb-ten { grid-area: ten; align-self: center; }
  .gpb-gia { grid-area: gia; }
  .gpb-loai { display: none; }
  .gpb-doi { grid-area: doi; font-size: .76rem; padding: .15rem .5rem; }
  .gpb-dau h1 { font-size: 1.6rem; }
  .gpb-cap-nhat br { display: none; }
  .gpb-dong .gpb-doi.gpb-moi { display: none; }
  .gpb-xu-huong { grid-area: xh; }
  .gpb-xu-huong:empty, .gpb-xu-huong:not(:has(svg)) { display: none; }
  .gpb-xu-huong svg { height: 22px; }
}

/* ===== Gioi thieu giai doan 3 (dac ta muc 69): con so, bieu do phat trien, ban do dia ban ===== */
.gt-con-so, .gt-phat-trien, .gt-dia-ban {
  --gt-chinh: var(--mau-chinh, #0a7d3c);
  --gt-chu-nhat: var(--chu-nhat, var(--mau-chu-nhat, #6b7280));
  --gt-vien: var(--vien, var(--mau-vien, #e5e7eb));
  --gt-the: var(--trang, var(--mau-the, #fff));
}
.gt-so-luoi { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem; margin-top: 1rem; }
.gt-so {
  display: flex; flex-direction: column; gap: .3rem; padding: 1.25rem 1.1rem; border-radius: 16px; text-align: center;
  background: linear-gradient(160deg, color-mix(in srgb, var(--gt-chinh) 10%, var(--gt-the)), var(--gt-the));
  border: 1px solid color-mix(in srgb, var(--gt-chinh) 18%, var(--gt-vien));
}
.gt-so strong { font-size: clamp(1.7rem, 4vw, 2.3rem); line-height: 1.1; color: var(--gt-chinh); font-variant-numeric: tabular-nums; }
.gt-so span { color: var(--gt-chu-nhat); font-size: .95rem; }

.gt-bieu-do { margin: 1rem 0 0; padding: 1rem 1rem .75rem; border: 1px solid var(--gt-vien); border-radius: 16px; background: var(--gt-the); }
.gt-bieu-do svg { display: block; width: 100%; height: auto; max-height: 340px; }
.gt-bieu-do figcaption { margin-top: .5rem; color: var(--gt-chu-nhat); font-size: .85rem; text-align: center; }
.bdpt-tren { stop-color: color-mix(in srgb, var(--gt-chinh) 70%, #a3e635); }
.bdpt-duoi { stop-color: var(--gt-chinh); }
.bdpt-day { stroke: var(--gt-vien); stroke-width: 2; }
.bdpt-nam { fill: var(--gt-chu-nhat); font-size: 16px; font-weight: 700; }
.bdpt-duong { fill: none; stroke: #f59e0b; stroke-width: 3; stroke-linejoin: round; stroke-dasharray: 6 5; }
.bdpt-dinh { fill: #fff; stroke: #f59e0b; stroke-width: 3; }
@media (prefers-reduced-motion: no-preference) {
  .bdpt-cot { transform-box: fill-box; transform-origin: bottom; animation: bdpt-moc .9s ease-out both; }
  .bdpt-cot:nth-of-type(2) { animation-delay: .1s; } .bdpt-cot:nth-of-type(3) { animation-delay: .2s; }
  .bdpt-cot:nth-of-type(4) { animation-delay: .3s; } .bdpt-cot:nth-of-type(5) { animation-delay: .4s; }
  @keyframes bdpt-moc { from { transform: scaleY(0); } to { transform: scaleY(1); } }
}

.gt-ban-do-khung { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 1.5rem; align-items: center; margin-top: 1rem; }
.gt-ban-do { margin: 0; padding: .75rem; border-radius: 16px; background: linear-gradient(180deg, #eef7fb, #e3f1f7); border: 1px solid var(--gt-vien); }
.gt-ban-do svg { display: block; width: 100%; height: auto; max-height: 620px; }
.bd-dat { fill: color-mix(in srgb, var(--gt-chinh) 16%, #fff); stroke: color-mix(in srgb, var(--gt-chinh) 70%, #000); stroke-width: 1; stroke-linejoin: round; }
.bd-dao circle { fill: color-mix(in srgb, var(--gt-chinh) 60%, #000); }
.bd-nhan-dao { fill: #334155; font-size: 13px; font-weight: 700; }
.bd-nhan-bien { fill: #64a5c4; font-size: 18px; font-style: italic; letter-spacing: .08em; }
.bd-diem circle { stroke: #fff; stroke-width: 1.5; }
.bd-m4 { fill: #dc2626; fill-opacity: .82; }
.bd-m3 { fill: #f97316; fill-opacity: .82; }
.bd-m2 { fill: #f59e0b; fill-opacity: .85; }
.bd-m1 { fill: #16a34a; fill-opacity: .85; }
.gt-ban-do-so { font-size: 1.05rem; margin: 0 0 .75rem; }
.gt-ban-do-so strong { font-size: 2rem; color: var(--gt-chinh); margin-right: .25rem; }
.gt-chu-giai { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .88rem; color: var(--gt-chu-nhat); }
.gt-chu-giai li, .gt-top-tinh li { display: flex; align-items: center; gap: .45rem; }
.gt-cham { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.gt-cham-4 { background: #dc2626; } .gt-cham-3 { background: #f97316; } .gt-cham-2 { background: #f59e0b; } .gt-cham-1 { background: #16a34a; }
.gt-ban-do-chu h3 { font-size: 1rem; margin: 0 0 .5rem; }
.gt-top-tinh { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .4rem .75rem; counter-reset: top; }
.gt-top-tinh li { counter-increment: top; font-weight: 600; }
.gt-top-tinh li::before { content: counter(top) "."; color: var(--gt-chu-nhat); font-weight: 500; min-width: 1.3em; }
@media (max-width: 800px) {
  .gt-ban-do-khung { grid-template-columns: 1fr; }
}

/* ---------- Cay trong (dac ta muc 73) ---------- */
.bai-cay-trong { margin: .5rem 0 1rem; font-weight: 600; }
.bai-cay-trong a { display: inline-block; padding: .35rem .8rem; border: 1px solid var(--mau-chinh); border-radius: 999px;
  color: var(--mau-chinh); text-decoration: none; }
.bai-cay-trong a:hover { background: var(--mau-chinh); color: #fff; }
.cay-trong-dau { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem; margin: .25rem 0 1rem; }
.cay-trong-tom-tat { margin: 0; color: #555; }
.cay-trong-tat-ca { font-weight: 600; color: var(--mau-chinh); }
.cay-trong-san-pham { margin: 0 0 1.5rem; }
.cay-trong-san-pham h2, .cay-trong-bai { font-size: 1.2rem; margin: 1rem 0 .35rem; }
.cay-trong-ghi-chu { color: #666; margin: 0 0 .75rem; }
.cay-trong-tim { display: flex; gap: .5rem; max-width: 560px; margin: 0 0 1rem; }
.cay-trong-tim input { flex: 1; min-width: 0; padding: .55rem .8rem; border: 1px solid #cfd8d3; border-radius: 8px; font: inherit; }
.cay-trong-ket-qua { margin: 0 0 1rem; }
.cay-trong-nhom { margin: 0 0 1.25rem; }
.cay-trong-nhom h2 { font-size: 1.1rem; margin: 0 0 .5rem; }
.cay-trong-ds { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .5rem; }
.cay-trong-ds a { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .55rem .75rem;
  border: 1px solid #e3e8e5; border-radius: 8px; background: #fff; color: inherit; text-decoration: none; }
.cay-trong-ds a:hover { border-color: var(--mau-chinh); color: var(--mau-chinh); }
.cay-trong-ds small { color: #888; white-space: nowrap; }

/* Menu dien thoai + icon menu (chu shop 23/10/2026): muc chinh chu dam, muc con thut vao co vach dan, icon da chon van
   hien; tren thanh menu mau (may tinh) icon nam tren nen tron trang de khong trung mau nen. */
.menu-ngang > li > a > .menu-icon {
  box-sizing: content-box; width: 14px; height: 14px; padding: 3px; margin-right: .3rem;
  background: #fff; border-radius: 50%; box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
}
@media (max-width: 900px) {
  .menu-ngang > li > a { font-weight: 700; font-size: 1.02rem; color: var(--chu); }
  .menu-ngang > li.dang-mo > a { color: var(--chinh-dam); }
  .menu-ngang > li > a > .menu-icon { box-shadow: none; padding: 0; width: 20px; height: 20px; background: transparent; }
  .menu-ngang .menu-con { margin-left: 1.25rem; border-left: 2px solid color-mix(in oklab, var(--chinh-dam) 35%, transparent); background: transparent; }
  .menu-ngang .menu-con a { padding-left: 1rem; font-weight: 500; font-size: .93rem; }
  .menu-ngang .menu-cap-3 { margin-left: 1rem; }
  .menu-ngang .menu-cap-3 a { padding-left: 1rem; font-weight: 400; color: var(--chu-nhat); }
  .menu-ngang .menu-icon { width: 20px; height: 20px; margin-right: .45rem; }
}

/* Cong tac hien theo thiet bi (menu "Theo nhu cau" - chu shop 23/10/2026): dien thoai den 900px */
@media (min-width: 900.02px) { .an-may-tinh { display: none !important; } }
@media (max-width: 900px) { .an-dien-thoai { display: none !important; } }
