/* =========================================================
   DaLa — giao diện cửa hàng
   Màu theo logo: xanh DaLa cho nút, giá, nền chính; đen cho chữ; trắng làm nền.
   Phông Inter cho toàn bộ website (giống hasaki.vn), khai báo trong fonts.css.
   ========================================================= */
:root {
  /* Màu thương hiệu DaLa (theo bộ nhận diện): xanh #245236, trắng #FFFFFF, đen #000000 */
  --green: #245236;
  --green-dark: #173A25;
  --green-soft: #E8EFEA;
  --green-light: #A9CDB5;
  --ink: #000000;
  --ink-2: #454B47;
  --ink-3: #78807A;
  --mist: #F3F6F4;
  --mist-2: #E1E8E3;
  --line: #E2E7E3;
  --white: #FFFFFF;
  --danger: #A8321F;

  --font-display: 'Inter Variable', 'Inter Fallback', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter Variable', 'Inter Fallback', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.2; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--white); padding: 8px 14px; border-radius: var(--r-sm); }
.skip:focus { left: 8px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.spacer { height: 72px; }
.muted { color: var(--ink-3); font-size: 14px; }

.ic { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Nút ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 22px;
  border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
  white-space: nowrap;
}
.btn .ic { width: 18px; height: 18px; }
.btn--primary { background: var(--green); color: var(--white); }
.btn--primary:hover { background: var(--green-dark); }
.btn--line { background: var(--white); color: var(--green-dark); border-color: var(--green); }
.btn--line:hover { background: var(--green-soft); }
.btn--light { background: var(--white); color: var(--green); }
.btn--light:hover { background: var(--green-soft); }
.btn--ghost-light { color: var(--white); border-color: rgba(255, 255, 255, .5); }
.btn--ghost-light:hover { border-color: var(--white); }
.btn--lg { min-height: 52px; font-size: 16px; padding: 0 26px; }
.btn--block { width: 100%; }
.link { color: var(--green-dark); font-weight: 600; font-size: 15px; text-underline-offset: 3px; }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  background: none; border: 0; border-radius: 999px; cursor: pointer; color: var(--ink); position: relative;
}
.icon-btn:hover { background: var(--mist); }
.icon-btn .ic { width: 22px; height: 22px; }

/* ---------- Thanh thông báo & đầu trang ---------- */
.topbar { background: var(--ink); color: #E6ECE8; font-size: 12px; }
@media (min-width: 768px) { .topbar { font-size: 13px; } }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; padding-top: 6px; padding-bottom: 6px; }
.topbar__phone { display: none; align-items: center; gap: 6px; text-decoration: none; font-weight: 500; }
.topbar__phone .ic { width: 15px; height: 15px; }

.header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.header__in { display: flex; align-items: center; gap: 12px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.logo img { height: 34px; width: auto; }
@media (min-width: 1024px) { .logo img { height: 42px; } }
.drawer__title { font-family: var(--font-display); font-size: 22px; font-weight: 650; }
.header__menu { margin-left: -10px; }
.search { display: none; flex: 1; max-width: 520px; margin: 0 auto; position: relative; }
.search input {
  width: 100%; height: 46px; padding: 0 52px 0 20px;
  border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); font-size: 15px;
}
.search input:focus { outline: none; border-color: var(--green); }
.search button { position: absolute; right: 4px; top: 4px; width: 38px; height: 38px; border: 0; border-radius: 999px; background: var(--green); color: var(--white); display: grid; place-items: center; cursor: pointer; }
.search button .ic { width: 18px; height: 18px; }
.header__call { display: none; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 15px; }
.header__call small { display: block; font-weight: 400; font-size: 12px; color: var(--ink-3); line-height: 1.2; }
.header__call .ic { color: var(--green); }
.cart-btn { margin-left: auto; }
.cart-btn__count {
  position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px; background: var(--green); color: var(--white); font-size: 11px; font-weight: 700;
  display: grid; place-items: center; line-height: 1;
}

.nav { display: none; border-top: 1px solid var(--line); }
.nav__list { display: flex; gap: 4px; }
.nav__item { position: relative; }
.nav__item > a {
  display: block; padding: 12px 10px; text-decoration: none; font-size: 14px; font-weight: 500;
  border-bottom: 2px solid transparent; white-space: nowrap;
}
@media (min-width: 1200px) { .nav__item > a { padding: 12px 14px; font-size: 15px; } }
.nav__item > a:hover, .nav__item > a.is-active { border-bottom-color: var(--green); color: var(--green-dark); }
.nav__sub {
  position: absolute; left: 0; top: 100%; min-width: 230px; padding: 8px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .15s, transform .15s, visibility .15s;
}
.nav__item:hover .nav__sub, .nav__item:focus-within .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub a { display: block; padding: 9px 12px; border-radius: var(--r-sm); text-decoration: none; font-size: 15px; }
.nav__sub a:hover { background: var(--mist); }

.drawer { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, .45); }
.drawer__panel { width: min(340px, 88vw); height: 100%; background: var(--white); padding: 12px 16px 24px; overflow-y: auto; display: flex; flex-direction: column; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 4px 0 12px; border-bottom: 1px solid var(--line); }
.drawer__list { padding: 8px 0; flex: 1; }
.drawer__list > li > a { display: flex; align-items: center; gap: 12px; padding: 12px 4px; font-weight: 600; text-decoration: none; }
.drawer__list > li > a .ic { color: var(--green); }
.drawer__list ul { padding: 0 0 8px 36px; }
.drawer__list ul a { display: block; padding: 7px 0; text-decoration: none; color: var(--ink-2); font-size: 15px; }
.drawer__call { margin-top: 12px; }

@media (min-width: 768px) {
  .topbar__phone { display: inline-flex; }
  .search { display: block; }
}
@media (min-width: 1024px) {
  .header__menu { display: none; }
  .header__in { gap: 28px; min-height: 80px; }
  .header__call { display: inline-flex; }
  .cart-btn { margin-left: 0; }
  .nav { display: block; }
}

/* ---------- Trang chủ: phần mở đầu ---------- */
.hero { background: var(--green); color: var(--white); overflow: hidden; }
.hero__in { display: grid; gap: 8px; padding-top: 48px; }
.hero__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(34px, 5.2vw, 62px); line-height: 1.1; letter-spacing: -0.025em;
  color: var(--white);
}
@media (max-width: 359px) { .hero__title { font-size: 30px; } }
.hero__lead { margin-top: 20px; max-width: 34em; font-size: 17px; line-height: 1.65; color: #D8E6DD; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__actions .btn { flex: 1 1 auto; }
@media (min-width: 600px) { .hero__actions .btn { flex: 0 0 auto; } }
.hero__art { margin: 28px -20px 0; height: 230px; overflow: hidden; }
.hero__art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
@media (min-width: 900px) {
  .hero__in { grid-template-columns: 1.2fr 1fr; align-items: center; padding-top: 0; min-height: 560px; }
  .hero__copy { padding: 72px 0; }
  .hero__art { margin: -40px -80px -40px 0; height: auto; overflow: visible; }
  .hero__art img { max-width: none; width: 120%; height: auto; object-fit: contain; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero__art img { animation: settle 1.1s cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes settle { from { opacity: 0; transform: translateY(-18px) rotate(-3deg); } to { opacity: 1; transform: none; } }
}

/* Ảnh trình chiếu trang chủ: khung điện thoại 4:5 (1080×1350), máy tính 8:3 (1920×720) */
.hero--slider, .hero--images { position: relative; }
.hero--images { background: var(--green-dark); }
.hero__track { display: flex; }
.hero__slide { flex: 0 0 100%; min-width: 0; position: relative; }
/* chiều cao theo chiều rộng màn hình (không dùng aspect-ratio để khung không bị đẩy rộng quá màn hình) */
.hero--slider .hero__track, .hero--images .hero__track { height: max(460px, 125vw); max-width: 1920px; margin: 0 auto; overflow: hidden; }
@media (min-width: 900px) {
  .hero--slider .hero__track, .hero--images .hero__track { height: clamp(440px, 37.5vw, 720px); }
}
.hero--slider .hero__track { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hero--slider .hero__track::-webkit-scrollbar { display: none; }
.hero--slider .hero__slide { scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden; }
.hero__slide--img { background: var(--green-dark); }
.hero__pic { position: absolute; inset: 0; display: block; overflow: hidden; }
.hero__pic picture { display: block; position: relative; width: 100%; height: 100%; }
.hero__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero__blur { display: none; }
@media (max-width: 899px) {
  /* Chưa có ảnh điện thoại: hiện trọn ảnh máy tính trên nền mờ của chính ảnh đó */
  .no-mobile .hero__blur { display: block; position: absolute; inset: -40px; width: calc(100% + 80px); height: calc(100% + 80px); max-width: none; object-fit: cover; filter: blur(26px) saturate(1.15) brightness(.85); }
  .no-mobile .hero__img { object-fit: contain; }
}
/* Ô giới thiệu DaLa khi nằm trong khung trình chiếu */
.hero--slider .hero__in { height: 100%; min-height: 0; display: flex; flex-direction: column; padding-top: 36px; }
.hero--slider .hero__art { flex: 1 1 0; min-height: 0; height: auto; margin-top: 20px; }
@media (min-width: 900px) {
  .hero--slider .hero__in { display: grid; padding-top: 0; }
  .hero--slider .hero__copy { padding: 32px 0 56px; }
  .hero--slider .hero__art { margin: -40px -80px -40px 0; }
}
/* Nút chuyển ảnh */
.hero__ctrl { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 2; display: flex; align-items: center; padding: 2px 6px; border-radius: 999px; background: rgba(0, 0, 0, .34); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
@media (min-width: 900px) { .hero__ctrl { bottom: 20px; } }
.hero__dot, .hero__toggle { width: 22px; height: 28px; display: grid; place-items: center; padding: 0; border: 0; background: none; color: var(--white); cursor: pointer; }
.hero__dot span { display: block; width: 8px; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .6); position: relative; overflow: hidden; transition: width .3s ease, background-color .3s ease; }
.hero__dot:hover span { background: var(--white); }
.hero__dot.is-on { width: 44px; }
.hero__dot.is-on span { width: 34px; background: rgba(255, 255, 255, .4); }
.hero__dot.is-on span::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: var(--white); transform-origin: left center; }
.hero--slider.is-ready:not(.is-stopped) .hero__dot.is-on span::after { animation: hero-fill var(--slide-ms, 5s) linear both; }
.hero--slider.is-held .hero__dot.is-on span::after { animation-play-state: paused; }
@keyframes hero-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero__toggle { margin-left: 2px; }
.hero__toggle .ic { width: 13px; height: 13px; fill: currentColor; }
.hero__toggle .ic--play, .hero--slider.is-stopped .hero__toggle .ic--pause { display: none; }
.hero--slider.is-stopped .hero__toggle .ic--play { display: block; }
.hero__arrow { position: absolute; top: 50%; z-index: 2; width: 46px; height: 46px; margin-top: -23px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--ink); display: none; place-items: center; cursor: pointer; box-shadow: 0 6px 18px rgba(0, 0, 0, .2); opacity: 0; transition: opacity .2s ease; }
.hero__arrow--prev { left: 20px; }
.hero__arrow--next { right: 20px; }
@media (min-width: 900px) and (hover: hover) {
  .hero__arrow { display: grid; }
  .hero--slider:hover .hero__arrow, .hero__arrow:focus-visible { opacity: 1; }
}
.hero__dot:focus-visible, .hero__toggle:focus-visible { outline: 2px solid var(--white); outline-offset: -2px; border-radius: 6px; }
.hero__pic:focus-visible { outline: 3px solid var(--white); outline-offset: -6px; }
@media (prefers-reduced-motion: reduce) { .hero__dot span { transition: none; } }

.promise { border-bottom: 1px solid var(--line); }
.promise__list { display: grid; grid-template-columns: repeat(2, 1fr); }
.promise__list li { display: flex; gap: 12px; align-items: flex-start; padding: 20px 8px; font-size: 14px; color: var(--ink-2); }
.promise__list strong { display: block; color: var(--ink); font-size: 15px; }
.promise__list .ic { width: 24px; height: 24px; color: var(--green); margin-top: 2px; }
@media (min-width: 900px) {
  .promise__list { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
  .promise__list li + li { border-left: 1px solid var(--line); padding-left: 24px; }
}

/* ---------- Khối nội dung ---------- */
.section { padding: 56px 0 8px; }
.section--soft { background: var(--mist); padding-bottom: 56px; margin-top: 56px; }
.section--flush { padding-top: 48px; }
.section__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 24px; }
.section__title {
  font-family: var(--font-display); font-weight: 650; font-size: clamp(24px, 3.2vw, 32px);
  letter-spacing: -0.01em;
}

.shelf { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.shelf li { display: flex; }
.shelf__item {
  flex: 1; display: grid; grid-template-columns: 1fr; align-content: start; row-gap: 4px;
  padding: 20px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  text-decoration: none; transition: background-color .15s;
}
.shelf__item:hover { background: var(--mist); }
.shelf__icon { margin-bottom: 8px; width: 46px; height: 46px; border-radius: 999px; background: var(--green-soft); color: var(--green-dark); display: grid; place-items: center; }
.shelf__icon .ic { width: 22px; height: 22px; }
.shelf__name { font-weight: 600; font-size: 15px; line-height: 1.3; }
.shelf__count { font-size: 13px; color: var(--ink-3); }
@media (min-width: 700px) { .shelf { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .shelf { grid-template-columns: repeat(6, 1fr); } .shelf__item { padding: 24px 18px; } }

/* ---------- Lưới & thẻ sản phẩm ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
@media (min-width: 760px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 22px; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }

.card { display: flex; flex-direction: column; gap: 10px; }
.card__media { position: relative; display: block; border-radius: var(--r-md); overflow: hidden; background: var(--mist); aspect-ratio: 1; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card:hover .card__media img { transform: scale(1.03); }
.badge {
  position: absolute; top: 10px; left: 10px; padding: 3px 10px; border-radius: 999px;
  background: var(--green); color: var(--white); font-size: 12px; font-weight: 600;
}
.card__body { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.card__name { font-family: var(--font-body); font-size: 15px; font-weight: 500; line-height: 1.4; }
.card__name a { text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__name a:hover { color: var(--green-dark); }
.card__unit { font-size: 13px; color: var(--ink-3); }
.card__add { min-height: 40px; padding: 0 12px; font-size: 14px; }
.card__out { font-size: 14px; color: var(--ink-3); padding: 9px 0; }

.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-top: 2px; }
.price__now { color: var(--green); font-weight: 700; font-size: 17px; }
.price__old { color: var(--ink-3); font-size: 13px; }
.price__off { font-size: 12px; font-weight: 600; color: var(--green); background: var(--green-soft); padding: 1px 6px; border-radius: 6px; }
.price--lg .price__now { font-size: 30px; font-weight: 700; letter-spacing: -0.01em; }
.price--lg .price__old { font-size: 16px; }
.price--lg .price__off { font-size: 14px; }

/* ---------- Quà Tết ---------- */
.tet { margin-top: 64px; background: var(--mist); padding: 56px 0; }
.tet__in { display: grid; gap: 32px; }
.tet__title { font-family: var(--font-display); font-weight: 650; font-size: clamp(32px, 4.6vw, 50px); letter-spacing: -0.015em; color: var(--green); }
.tet__copy p { margin: 14px 0 24px; max-width: 34em; color: var(--ink-2); }
.tet__call { display: block; margin-top: 16px; }
@media (min-width: 900px) { .tet__in { grid-template-columns: 1fr 1.5fr; align-items: center; gap: 56px; } }

/* ---------- Bài viết ---------- */
.posts { display: grid; gap: 0; border-top: 1px solid var(--line); }
.post-item { padding: 22px 0; border-bottom: 1px solid var(--line); }
.post-item h2, .post-item h3 { font-family: var(--font-display); font-weight: 650; font-size: 21px; }
.post-item h2 a, .post-item h3 a { text-decoration: none; }
.post-item h2 a:hover, .post-item h3 a:hover { color: var(--green-dark); }
.post-item p { margin-top: 6px; color: var(--ink-2); max-width: 70ch; }
.post-item__date { font-size: 13px; color: var(--ink-3) !important; margin: 0 0 4px !important; }
.section--soft .posts { border-color: var(--mist-2); }
.section--soft .post-item { border-color: var(--mist-2); }
@media (min-width: 900px) {
  .section--soft .posts { grid-template-columns: repeat(3, 1fr); gap: 32px; border: 0; }
  .section--soft .post-item { border-bottom: 0; border-top: 2px solid var(--ink); padding-top: 18px; }
}

/* Bài viết có ảnh đại diện */
.post-item__img { display: block; overflow: hidden; border-radius: var(--r-md); background: var(--mist); }
.post-item__img img { display: block; width: 100%; height: auto; aspect-ratio: 1.91; object-fit: cover; transition: transform .3s ease; }
.post-item__img:hover img { transform: scale(1.03); }
.section--soft .post-item__img { margin-bottom: 14px; }
@media (min-width: 900px) { .section--soft .post-item:has(.post-item__img) { border-top: 0; padding-top: 0; } }
.posts--thumbs .post-item { display: grid; grid-template-columns: 1fr; gap: 14px; }
.posts--thumbs .post-item:has(.post-item__img) { grid-template-columns: 120px 1fr; align-items: start; }
@media (min-width: 640px) { .posts--thumbs .post-item:has(.post-item__img) { grid-template-columns: 220px 1fr; gap: 22px; } }
@media (prefers-reduced-motion: reduce) { .post-item__img img { transition: none; } }

/* ---------- Tiêu đề trang, đường dẫn ---------- */
.page-head { padding-top: 28px; padding-bottom: 24px; }
.page-title { font-family: var(--font-display); font-weight: 650; font-size: clamp(30px, 4.2vw, 42px); letter-spacing: -0.012em; }
.page-lead { margin-top: 10px; color: var(--ink-2); max-width: 62ch; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 14px; color: var(--ink-3); margin-bottom: 14px; }
/* Ảnh bìa danh mục: máy tính 1600×500 (16:5), điện thoại 900×600 (3:2) */
.cat-banner { margin: 0 0 22px; border-radius: var(--r-lg); overflow: hidden; background: var(--mist); }
.cat-banner a { display: block; border-radius: inherit; }
.cat-banner a:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.cat-banner img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 5; object-fit: cover; }
@media (max-width: 640px) {
  .cat-banner { border-radius: var(--r-md); margin-bottom: 18px; }
  .cat-banner--m img { aspect-ratio: 3 / 2; }
}
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--green-dark); text-decoration: underline; }
.crumbs .ic { width: 14px; height: 14px; }
.crumbs--product { padding-top: 20px; margin-bottom: 20px; }

.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 18px; scrollbar-width: none; }
.chip { display: inline-block; white-space: nowrap; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line); text-decoration: none; font-size: 14px; font-weight: 500; }
.chip:hover { border-color: var(--ink-3); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--white); }

.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; margin-bottom: 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.sort { display: flex; align-items: center; gap: 8px; }
.sort select { height: 38px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--white); font-size: 14px; }

.pager { display: flex; justify-content: center; gap: 6px; margin-top: 40px; }
.pager a, .pager span { display: grid; place-items: center; min-width: 42px; height: 42px; border-radius: 999px; text-decoration: none; font-weight: 600; }
.pager a:hover { background: var(--mist); }
.pager span { background: var(--ink); color: var(--white); }

.empty { padding: 48px 24px; text-align: center; border: 1.5px dashed var(--line); border-radius: var(--r-lg); color: var(--ink-2); display: grid; gap: 18px; justify-items: center; }
.loading { color: var(--ink-3); padding: 24px 0; }

/* ---------- Trang sản phẩm ---------- */
.wrap--pdp { max-width: 1360px; }
.pdp { display: grid; gap: 28px; }
@media (min-width: 900px) { .pdp { grid-template-columns: 1.05fr 1fr; gap: 40px 48px; align-items: start; } }
/* Cột bên phải: cam kết, thương hiệu, bán chạy (máy tính rộng: cột thứ 3; máy tính hẹp: 3 thẻ nằm ngang dưới; điện thoại: xếp dọc) */
.pdp__side { display: grid; gap: 16px; align-items: start; }
@media (min-width: 900px) { .pdp__side { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1200px) {
  .pdp { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 300px; gap: 40px 36px; }
  .pdp__side { grid-column: auto; grid-template-columns: minmax(0, 1fr); gap: 16px; }
}
.side-card { padding: 18px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); }
.side-card__title { font-family: var(--font-display); font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.side-card__rule { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 16px; font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--green); text-align: center; }
.side-card__rule::before, .side-card__rule::after { content: ''; flex: 0 0 18px; height: 2px; border-radius: 2px; background: currentColor; }
.perks { display: grid; gap: 16px; }
.perk { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 14px; align-items: center; }
/* Huy hiệu tròn kiểu con dấu: nền xanh, vòng trắng bên trong, vòng nét đứt bên ngoài */
.perk__stamp { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: var(--white); box-shadow: inset 0 0 0 3px var(--green), inset 0 0 0 4.5px rgba(255, 255, 255, .85); outline: 1.5px dashed var(--green); outline-offset: 3px; margin: 4px; }
.perk__stamp .ic { width: 24px; height: 24px; }
.perk__txt { font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.perk__txt strong { display: block; color: var(--ink); font-weight: 650; font-size: 15px; }
.side-card__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
.side-card__links a { color: var(--ink-2); }
.side-card__links a:hover { color: var(--green); text-decoration: underline; }
.side-card--brand { text-align: center; }
.brand-card__label { font-size: 13px; color: var(--ink-3); }
.brand-card__logo { display: block; margin: 10px auto 16px; width: 150px; }
.brand-card__logo img { width: 100%; height: auto; }
.brand-card__name { display: block; margin: 8px 0 14px; font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: .01em; color: var(--ink); overflow-wrap: anywhere; }
.brand-card__name:hover { color: var(--green); }
.brand-card__all { white-space: normal; }
.brand-card__follow { display: grid; gap: 12px; justify-items: center; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.brand-card__follow p { font-size: 13px; color: var(--ink-2); }
.brand-card__follow .social { justify-content: center; gap: 8px; }
.brand-card__follow .social__a { width: 36px; height: 36px; }
.brand-card__follow .social__a .ic { width: 18px; height: 18px; }
.brand-card__follow .btn { width: 100%; }
.mini-list li + li { border-top: 1px solid var(--line); }
.mini { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px 0; color: inherit; text-decoration: none; }
.mini-list li:last-child .mini { padding-bottom: 0; }
.mini__img { position: relative; width: 76px; height: 76px; border-radius: 10px; overflow: hidden; background: var(--mist); }
.mini__img img { width: 100%; height: 100%; object-fit: cover; }
.mini__off { position: absolute; top: 4px; left: 4px; padding: 1px 5px; border-radius: 6px; background: var(--green); color: var(--white); font-size: 11px; font-weight: 700; }
.mini__body { display: grid; gap: 4px; }
.mini__name { font-size: 14px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mini:hover .mini__name { color: var(--green); text-decoration: underline; }
.mini__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.mini__price strong { color: var(--green-dark); font-size: 15px; font-weight: 700; }
.mini__price s { color: var(--ink-3); font-size: 12px; }
.gallery__main { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--mist); aspect-ratio: 1; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.gallery__thumbs button { flex: none; width: 76px; height: 76px; padding: 0; border: 2px solid transparent; border-radius: var(--r-sm); overflow: hidden; background: var(--mist); cursor: pointer; }
.gallery__thumbs button.is-on { border-color: var(--ink); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
/* Video nổi bật trong bộ ảnh sản phẩm */
.gallery [hidden] { display: none !important; }
.gallery__video { position: absolute; inset: 0; background: #000; }
.gallery__play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: #000; cursor: pointer; }
.gallery__play img { width: 100%; height: 100%; object-fit: cover; }
.gallery__playicon { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; display: grid; place-items: center; border-radius: 50%; background: rgba(0, 0, 0, .62); color: #fff; transition: background .15s, transform .15s; }
.gallery__playicon svg { width: 34px; height: 34px; margin-left: 4px; fill: currentColor; }
.gallery__play:hover .gallery__playicon, .gallery__play:focus-visible .gallery__playicon { background: var(--green); transform: scale(1.06); }
.gallery__play:focus-visible { outline: 3px solid var(--green); outline-offset: -3px; }
.gallery__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gallery__main.is-playing .badge { display: none; }
.gallery__vthumb { position: relative; }
.gallery__vbadge { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, .28); color: #fff; }
.gallery__vbadge svg { width: 26px; height: 26px; fill: currentColor; }
@media (prefers-reduced-motion: reduce) { .gallery__playicon { transition: none; } }
/* Khung giá đứng yên khi cuộn: chỉ khi cột bên phải nằm cạnh (máy tính rộng), để không đè lên hàng thẻ bên dưới */
@media (min-width: 1200px) { .pdp__info { position: sticky; top: 150px; } }
.pdp__title { font-family: var(--font-display); font-weight: 650; font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -0.01em; }
.pdp__cert { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 10px; padding: 3px 9px; border-radius: 6px; background: var(--green-soft); color: var(--green-dark); font-size: 13px; line-height: 1.4; }
.pdp__cert .ic { width: 15px; height: 15px; flex: none; }
.pdp__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 16px; margin-top: 10px; font-size: 14px; color: var(--ink-2); }
/* Vạch ngăn chỉ trên màn hình rộng (trên điện thoại dòng hay xuống hàng, vạch sẽ nằm lẻ ở đầu dòng) */
@media (min-width: 600px) {
  .pdp__meta { gap: 4px 0; }
  .pdp__meta li + li::before { content: ''; display: inline-block; width: 1px; height: 13px; margin: 0 12px; background: var(--line); vertical-align: -2px; }
}
.pdp__meta a { color: var(--green-dark); font-weight: 600; }
.pdp__meta a:hover { text-decoration: underline; }
/* Flash Sale: thanh đếm ngược dạng ô số */
.flash-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; margin-top: 18px; padding: 8px 10px 8px 14px; border-radius: 10px; background: var(--ink); color: var(--white); }
.flash-bar__label { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 16px; color: #FFD84D; }
.flash-bar__label .ic { width: 18px; height: 18px; fill: #FFD84D; }
.flash-bar__end { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: #E6ECE8; }
.clock { display: inline-flex; align-items: center; gap: 4px; font-variant-numeric: tabular-nums; }
.clock b { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 4px; border-radius: 6px; background: var(--white); color: var(--ink); font-size: 15px; font-weight: 700; }
.clock i { font-style: normal; font-weight: 700; color: var(--white); }
.clock__d { margin-right: 4px; padding: 0 8px; height: 30px; display: inline-grid; place-items: center; border-radius: 6px; background: #FFD84D; color: var(--ink); font-weight: 700; font-size: 14px; }
.clock__d[hidden] { display: none; }
.flash-bar.is-over { opacity: .6; }
.flash-quota { display: flex; align-items: center; gap: 12px; margin-top: 8px; font-size: 13px; color: var(--ink-2); }
.flash-quota__bar { flex: 1; height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; position: relative; }
.flash-quota__bar::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--pct, 0%); border-radius: inherit; background: var(--ink); }
.pdp__pricebox { margin-top: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.price__vat { font-size: 14px; color: var(--ink-2); font-weight: 400; }
.pdp__save { margin-top: 6px; font-size: 14px; color: var(--ink-2); }
.pdp__save s { color: var(--ink-3); }
.pdp__save strong { color: var(--green-dark); }
.pdp__save-sep { margin: 0 8px; color: var(--ink-3); }
.pdp__save-pct { color: var(--green); font-weight: 600; }
.pdp__short { margin-top: 18px; color: var(--ink-2); }
.buy { display: grid; gap: 16px; margin-top: 22px; }
.buy__qty { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.buy__label { font-size: 15px; color: var(--ink-2); }
.buy .qty { height: 44px; }
.buy__stock { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--green-dark); }
.buy__stock .ic { width: 16px; height: 16px; }
.ship-box { padding: 12px 14px; border-radius: 12px; background: var(--mist); font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.ship-box__title { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; color: var(--ink); }
.ship-box__title .ic { width: 18px; height: 18px; color: var(--green); }
.ship-box__title strong { font-weight: 650; }
.ship-box__line { margin-top: 4px; }
.ship-box__line strong { color: var(--ink); }
.ship-box__line .ok { color: var(--green); }
.ship-box__inv { display: flex; align-items: center; gap: 6px; margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line); }
.ship-box__inv .ic { width: 16px; height: 16px; flex: none; }
.ship-box__inv.is-yes { color: var(--green-dark); }
.ship-box__inv.is-no { color: var(--ink-2); }
.inv-note { margin: 0 0 12px; padding: 10px 14px; border-radius: 10px; background: var(--mist); font-size: 14px; color: var(--ink-2); }
.buy__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.buy__actions .btn { min-height: 56px; padding: 0 12px; }
.buy__now { flex-direction: column; gap: 1px; line-height: 1.2; }
.buy__now small { font-size: 12px; font-weight: 500; opacity: .9; white-space: normal; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; height: 52px; }
.qty button { width: 44px; height: 100%; border: 0; background: none; cursor: pointer; display: grid; place-items: center; border-radius: 999px; }
.qty button:hover { background: var(--mist); }
.qty .ic { width: 16px; height: 16px; }
.qty input { width: 40px; border: 0; text-align: center; font-weight: 600; -moz-appearance: textfield; background: none; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.notice { margin-top: 20px; padding: 14px 18px; border-radius: var(--r-md); background: var(--green-soft); }
/* ---------- Trang sản phẩm: thanh mục lục + các phần đọc nhanh (Mô tả, Thông số, Thành phần, HDSD, Đánh giá, Hỏi đáp) ---------- */
:root { --star-full: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-1.5 -1.5 27 27'%3E%3Cpath fill='%23F2A900' d='M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z'/%3E%3C/svg%3E"); --star-empty: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-1.5 -1.5 27 27'%3E%3Cpath fill='%23DCE2DE' d='M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z'/%3E%3C/svg%3E"); }
.pdetail { margin-top: 48px; }
.ptabs { position: sticky; top: var(--sticky-top, 0px); z-index: 20; margin: 0 -20px; padding: 0 12px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 6px 12px -12px rgba(0, 0, 0, .25); }
@media (min-width: 900px) { .ptabs { margin: 0; padding: 0 8px; border: 1px solid var(--line); border-radius: var(--r-md); } }
.ptabs ul { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.ptabs ul::-webkit-scrollbar { display: none; }
.ptabs a { display: inline-flex; align-items: center; gap: 6px; padding: 14px 14px 12px; border-bottom: 3px solid transparent; color: var(--ink-2); font-size: 15px; font-weight: 500; white-space: nowrap; text-decoration: none; }
.ptabs a:hover { color: var(--ink); }
.ptabs a.is-on { color: var(--green-dark); border-bottom-color: var(--green); font-weight: 650; }
.ptabs__n { min-width: 20px; padding: 0 6px; border-radius: 999px; background: var(--mist); color: var(--ink-2); font-size: 12px; font-weight: 600; text-align: center; }
.ptabs a.is-on .ptabs__n { background: var(--green-soft); color: var(--green-dark); }
.psec { padding: 32px 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--sticky-top, 0px) + 72px); }
.psec:last-child { border-bottom: 0; }
.psec__title { margin-bottom: 16px; font-family: var(--font-display); font-size: 22px; font-weight: 700; }
.psec .prose { max-width: 78ch; }
.psec__empty { color: var(--ink-2); max-width: 70ch; }
.psec__more.is-clamped { position: relative; max-height: 560px; overflow: hidden; }
.psec__more.is-clamped::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; background: linear-gradient(rgba(255, 255, 255, 0), var(--white)); pointer-events: none; }
.psec__morebtn { margin-top: 12px; }
.psec__morebtn .ic { transition: transform .2s; }
.psec__morebtn[aria-expanded="true"] .ic { transform: rotate(180deg); }
.specs { width: 100%; max-width: 780px; border-collapse: collapse; font-size: 15px; }
.specs th, .specs td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.specs tr:first-child th, .specs tr:first-child td { border-top: 1px solid var(--line); }
.specs th { width: 38%; background: var(--mist); color: var(--ink-2); font-weight: 500; }
/* Sao đánh giá: --v là phần trăm sao vàng (4,8/5 = 96%) */
.stars { --s: 16px; position: relative; display: inline-block; flex: none; width: calc(var(--s) * 5); height: var(--s); background: var(--star-empty) repeat-x left center / var(--s) var(--s); vertical-align: -2px; }
.stars::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--v, 0%); background: var(--star-full) repeat-x left center / var(--s) var(--s); }
.stars--lg { --s: 24px; }
.pdp__rate { display: inline-flex; align-items: center; gap: 6px; color: inherit !important; font-weight: 400 !important; }
.pdp__rate strong { color: var(--ink); }
.rv-sum { display: grid; gap: 20px; align-items: center; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-md); }
@media (min-width: 760px) { .rv-sum { grid-template-columns: 170px minmax(0, 1fr) 210px; gap: 32px; } }
.rv-sum__score { display: grid; justify-items: center; gap: 8px; text-align: center; }
.rv-sum__score strong { font-size: 46px; font-weight: 700; line-height: 1; }
.rv-sum__count { font-size: 14px; color: var(--ink-2); }
.rv-sum__bars { display: grid; gap: 6px; font-size: 14px; color: var(--ink-2); }
.rv-sum__bars li { display: grid; grid-template-columns: 46px minmax(0, 1fr) 30px; gap: 10px; align-items: center; }
.rv-sum__bars li > span:last-child { text-align: right; }
.rv-bar { height: 8px; border-radius: 999px; background: var(--mist); overflow: hidden; }
.rv-bar span { display: block; height: 100%; border-radius: inherit; background: #F2A900; }
.rv-sum__cta { display: grid; justify-items: center; gap: 10px; text-align: center; font-size: 14px; color: var(--ink-2); }
.rv { padding: 18px 0; border-bottom: 1px solid var(--line); }
.rv__head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 13px; color: var(--ink-3); }
.rv__name { color: var(--ink); font-size: 15px; }
.rv__ok { display: inline-flex; align-items: center; gap: 4px; color: var(--green-dark); font-weight: 600; }
.rv__ok .ic { width: 15px; height: 15px; }
.rv__text { margin-top: 8px; max-width: 78ch; white-space: pre-line; }
.rv__reply { margin-top: 10px; max-width: 78ch; padding: 10px 14px; border-left: 3px solid var(--green); border-radius: 0 10px 10px 0; background: var(--mist); font-size: 14px; }
.rv__reply p { margin-top: 2px; white-space: pre-line; }
.fb-form { margin-top: 20px; border: 1px solid var(--line); border-radius: var(--r-md); scroll-margin-top: calc(var(--sticky-top, 0px) + 72px); }
.fb-form summary { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; font-weight: 650; cursor: pointer; list-style: none; }
.fb-form summary::-webkit-details-marker { display: none; }
.fb-form summary::after { content: '+'; color: var(--green); font-size: 22px; line-height: 1; }
.fb-form[open] summary::after { content: '−'; }
.fb-form form { max-width: 760px; padding: 0 18px 18px; }
.fb-form__row { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .fb-form__row { grid-template-columns: 1fr 1fr; } }
.fb-form__hint { margin: -6px 0 14px; font-size: 13px; color: var(--ink-3); }
.fb-form .btn + .fb-form__hint { margin: 10px 0 0; }
label.field > span { font-size: 15px; font-weight: 500; }
label.field em { margin-left: 6px; font-style: normal; font-weight: 400; font-size: 13px; color: var(--ink-3); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.star-pick { margin: 0 0 16px; }
.star-pick legend { margin-bottom: 6px; font-family: inherit; font-size: 15px; font-weight: 500; }
.star-pick__row { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.star-pick__row input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.star-pick__row label { width: 38px; height: 38px; background: var(--star-empty) center / 32px no-repeat; cursor: pointer; border-radius: 8px; }
.star-pick__row input:checked ~ label, .star-pick__row label:hover, .star-pick__row label:hover ~ label { background-image: var(--star-full); }
.star-pick__row input:focus-visible + label { outline: 2px solid var(--green); outline-offset: 1px; }
.qa { display: grid; gap: 10px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.qa__q, .qa__a { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 12px; align-items: start; max-width: 82ch; }
.qa__a { padding: 10px 14px; border-radius: 12px; background: var(--mist); }
@media (min-width: 640px) { .qa__a { margin-left: 54px; } }
.qa__tag { display: grid; place-items: center; height: 26px; border-radius: 6px; background: var(--ink); color: var(--white); font-size: 12px; font-weight: 700; }
.qa__tag--a { background: var(--green); }
.qa__meta { display: flex; flex-wrap: wrap; gap: 2px 10px; align-items: baseline; font-size: 13px; color: var(--ink-3); }
.qa__meta strong { color: var(--ink); font-size: 14px; }
.qa__meta + p { margin-top: 2px; white-space: pre-line; }
.qa-form { max-width: 820px; margin-top: 20px; padding: 18px 18px 6px; border: 1px solid var(--line); border-radius: var(--r-md); }
.qa-form__row { display: grid; gap: 0 12px; align-items: end; }
@media (min-width: 640px) { .qa-form__row { grid-template-columns: 1fr auto; } .qa-form__row .btn { min-height: 48px; margin-bottom: 16px; } }
.qa-form .fb-form__hint { margin: 0 0 12px; }
.form-note { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 10px 14px; border-radius: 10px; font-size: 14px; }
.form-note .ic { width: 18px; height: 18px; flex: none; }
.form-note--ok { background: var(--green-soft); color: var(--green-dark); }
.form-note--err { background: #FDECEA; color: #8A1F11; }
.legal-note { margin-top: 24px; max-width: 70ch; padding: 14px 18px; border: 1.5px solid var(--ink); border-radius: var(--r-sm); font-weight: 600; font-size: 15px; }

.buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .2s;
}
.buybar.is-on { transform: none; }
.buybar__price { font-weight: 700; color: var(--green); }
.buybar .btn { min-height: 42px; padding: 0 14px; font-size: 14px; }
@media (min-width: 900px) { .buybar { display: none; } }

/* Nội dung soạn thảo (mô tả, bài viết) */
.prose { max-width: 70ch; font-size: 17px; line-height: 1.75; color: var(--ink-2); }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-family: var(--font-display); font-weight: 650; font-size: 25px; color: var(--ink); margin-top: 1.6em; letter-spacing: -0.01em; }
.prose h3 { font-size: 19px; color: var(--ink); margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose li + li { margin-top: .4em; }
.prose a { color: var(--green-dark); }
.prose img { border-radius: var(--r-md); }
.prose figure { margin: 1.6em 0; }
.prose figure img { display: block; width: 100%; height: auto; }
.prose figcaption { margin-top: 8px; font-size: 14px; color: var(--ink-3); text-align: center; }
.prose figure.video { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r-md); background: #000; }
.prose figure.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--green); font-size: 18px; color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { color: var(--ink); font-weight: 600; background: var(--mist); }
.prose h2[id], .prose h3[id] { scroll-margin-top: 90px; }
.article .page-title { margin-bottom: 6px; }
.byline { display: flex; flex-wrap: wrap; gap: 4px 0; margin-top: 12px; font-size: 14px; color: var(--ink-3); }
.byline span + span { margin-left: 12px; padding-left: 12px; border-left: 1px solid var(--line); }
.byline strong { color: var(--ink); font-weight: 600; }
.article__cover { margin: 26px 0 0; overflow: hidden; border-radius: var(--r-lg); background: var(--mist); }
.article__cover img { display: block; width: 100%; height: auto; aspect-ratio: 1.91; object-fit: cover; }
.toc { margin-top: 28px; padding: 18px 22px 18px 20px; border-left: 3px solid var(--green); background: var(--mist); border-radius: 0 var(--r-md) var(--r-md) 0; }
.toc__title { margin: 0 0 8px; font-weight: 650; color: var(--ink); }
.toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--green-dark); text-decoration: underline; }
.article__shop { margin-top: 48px; padding-top: 28px; border-top: 2px solid var(--ink); }
.article__shop h2, .more-posts h2 { margin-bottom: 20px; font-family: var(--font-display); font-weight: 650; font-size: 24px; }
.grid--article { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
@media (min-width: 640px) { .grid--article { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
.more-posts { margin-top: 56px; }
.cat-about { margin-top: 64px; padding-top: 36px; border-top: 1px solid var(--line); }
.cat-about .prose { max-width: 76ch; }
.article .prose { margin-top: 28px; }
.article .crumbs { padding-top: 28px; }

/* ---------- Khuyến mãi: Flash Sale ---------- */
.flash { background: var(--ink); color: var(--white); padding: 36px 0 40px; }
.flash__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 24px; margin-bottom: 22px; }
.flash__title { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 3.6vw, 36px); }
.flash__title .ic { width: 30px; height: 30px; color: #FFD84D; fill: #FFD84D; stroke: #FFD84D; }
.flash__timer { font-size: 15px; color: #CFD8D2; display: flex; align-items: center; gap: 10px; }
.countdown { font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }
.flash__timer .countdown { background: var(--green); color: var(--white); padding: 6px 12px; border-radius: 8px; font-size: 17px; letter-spacing: .02em; }
.flash__row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; }
@media (min-width: 1100px) { .flash__row { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; } }
.flash .card { background: var(--white); color: var(--ink); border-radius: var(--r-md); padding: 10px 10px 14px; scroll-snap-align: start; }
.badge--flash { display: inline-flex; align-items: center; gap: 4px; background: var(--ink); color: #FFD84D; }
.badge--flash .ic { width: 13px; height: 13px; fill: #FFD84D; }
.quota { display: grid; gap: 5px; margin-top: 6px; }
.quota__bar { position: relative; display: block; height: 6px; border-radius: 999px; background: var(--green-soft); overflow: hidden; }
.quota__bar span { position: absolute; inset: 0 auto 0 0; background: var(--green); border-radius: 999px; }
.quota__label { font-size: 12px; font-weight: 600; color: var(--green); }

.flash-box { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 18px; padding: 10px 14px; border-radius: var(--r-sm); background: var(--ink); color: #E6ECE8; font-size: 14px; }
.flash-box__label { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: #FFD84D; }
.flash-box__label .ic { width: 16px; height: 16px; fill: #FFD84D; }
.flash-box .countdown { color: var(--white); }
.flash-box__left { margin-left: auto; color: var(--green-light); font-weight: 600; }
.flash-tag { font-style: normal; font-size: 11px; font-weight: 700; color: var(--ink); background: #FFE27A; padding: 1px 6px; border-radius: 4px; }

/* ---------- Khuyến mãi: mã ưu đãi dạng vé ---------- */
.section--tight { padding-top: 40px; }
.section__note { font-size: 14px; color: var(--ink-3); }
@media (max-width: 640px) { .section__head:has(.section__note) { flex-direction: column; align-items: flex-start; gap: 4px; } }
.tickets { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 8px; }
@media (min-width: 1100px) { .tickets { grid-auto-columns: minmax(0, 1fr); } }
.ticket {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; min-height: 168px;
  padding: 16px 16px 14px 24px; background: var(--white); border: 1px solid var(--line); border-left: 0; border-radius: 0 12px 12px 0;
  scroll-snap-align: start;
}
.ticket::before {
  content: ''; position: absolute; left: 0; top: -1px; bottom: -1px; width: 10px;
  background: radial-gradient(circle at 0 50%, var(--white) 4px, var(--green) 4.5px) 0 0 / 10px 16px repeat-y;
}
.ticket__code { font-size: 16px; font-weight: 600; color: var(--green); }
.ticket__code strong { font-weight: 800; letter-spacing: .02em; }
.ticket__desc { margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.ticket__actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ticket__copy { min-height: 38px; padding: 0 20px; font-size: 14px; }
.ticket__terms { background: none; border: 0; color: var(--green); font-weight: 600; font-size: 14px; cursor: pointer; padding: 8px 0; text-decoration: underline; text-underline-offset: 3px; }

.terms { width: min(440px, calc(100vw - 32px)); border: 0; border-radius: var(--r-lg); padding: 24px; color: var(--ink); }
.terms::backdrop { background: rgba(0, 0, 0, .45); }
.terms__title { font-size: 20px; font-weight: 700; }
.terms__title span { color: var(--green); }
.terms__list { list-style: disc; padding-left: 1.2em; margin: 14px 0 20px; display: grid; gap: 8px; color: var(--ink-2); font-size: 15px; }
.terms__actions { display: flex; gap: 10px; flex-wrap: wrap; }

.pdp__vouchers { margin-top: 20px; }
.pdp__vouchers-title { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; margin-bottom: 10px; }
.pdp__vouchers-title .ic { color: var(--green); }
.pdp__vouchers ul { display: flex; flex-wrap: wrap; gap: 8px; }
.vchip { display: inline-flex; align-items: baseline; gap: 8px; padding: 7px 12px; border: 1.5px dashed var(--green); border-radius: 8px; background: var(--white); cursor: pointer; font-size: 13px; color: var(--ink-2); text-align: left; }
.vchip strong { color: var(--green); font-size: 14px; letter-spacing: .02em; }
.vchip:hover, .vchip.is-on { background: var(--green-soft); }
.vchip.is-on { border-style: solid; }
.vchip.is-dim { opacity: .55; }

.vbox { padding-bottom: 14px; margin-bottom: 4px; border-bottom: 1px solid var(--mist-2); }
.vbox__label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.vbox__row { display: flex; gap: 8px; }
.vbox__row input { flex: 1; min-width: 0; height: 44px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: var(--r-sm); font-size: 15px; text-transform: uppercase; background: var(--white); }
.vbox__row input:focus { outline: none; border-color: var(--green); }
.vbox__row .btn { min-height: 44px; padding: 0 16px; }
.vbox__msg { margin-top: 8px; font-size: 13px; }
.vbox__msg.is-ok { color: var(--green); }
.vbox__msg.is-err { color: var(--danger); }
.vbox__remove { background: none; border: 0; padding: 0; margin-left: 6px; color: var(--ink-3); text-decoration: underline; cursor: pointer; font-size: 13px; }
.vbox__pick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.vbox__pick .vchip { padding: 5px 9px; font-size: 12px; }
.vbox__pick .vchip strong { font-size: 12px; }
.discount { color: var(--green) !important; }
.vcode { font-size: 12px; font-weight: 700; color: var(--green); background: var(--green-soft); padding: 1px 6px; border-radius: 4px; }

/* ---------- Tuyển dụng ---------- */
.jobs { border-top: 1px solid var(--line); }
.job-row { display: grid; gap: 14px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.job-row__title { font-family: var(--font-display); font-weight: 650; font-size: 21px; }
.job-row__title a { text-decoration: none; }
.job-row__title a:hover { color: var(--green); }
.job-row__main p { margin-top: 6px; color: var(--ink-2); max-width: 62ch; }
.job-row__go { justify-self: start; }
@media (min-width: 960px) {
  .job-row { grid-template-columns: 1.3fr 1fr auto; align-items: center; gap: 32px; }
  .job-row__go { justify-self: end; }
}
.job-meta { display: grid; gap: 8px; margin: 0; font-size: 15px; color: var(--ink-2); }
.job-meta > div { display: flex; align-items: flex-start; gap: 10px; }
.job-meta dt { color: var(--green); padding-top: 2px; }
.job-meta dd { margin: 0; }
.jobs-closed { margin-top: 48px; }
.jobs-closed .section__title { font-size: 20px; margin-bottom: 10px; }
.jobs-closed li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink-3); }
.jobs-closed a { color: var(--ink-2); }
.jobs-note { margin-top: 32px; padding: 18px 22px; background: var(--mist); border-radius: var(--r-md); color: var(--ink-2); }
.jobs-note a, .empty a, .apply a:not(.btn) { color: var(--green); font-weight: 600; }

.job { display: grid; gap: 32px; }
@media (min-width: 960px) { .job { grid-template-columns: 1fr 360px; gap: 56px; align-items: start; } .apply { position: sticky; top: 150px; } }
.job__body .job-meta { margin: 18px 0 8px; padding: 18px 20px; background: var(--mist); border-radius: var(--r-md); }
.job__body .notice { margin: 16px 0 0; }
.job__jump { margin-top: 4px; }
@media (min-width: 960px) { .job__jump { display: none; } }
.apply { scroll-margin-top: 140px; }
.job__body .prose { margin-top: 28px; }
.apply { border: 1.5px solid var(--green); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 12px; }
.apply__title { font-family: var(--font-display); font-weight: 650; font-size: 22px; }
.apply p { color: var(--ink-2); font-size: 15px; }
.apply__subject { background: var(--green-soft); color: var(--green-dark) !important; font-weight: 600; padding: 10px 14px; border-radius: var(--r-sm); }

/* ---------- Giỏ hàng & đặt hàng ---------- */
.cart, .checkout { display: grid; gap: 28px; }
@media (min-width: 960px) {
  .cart, .checkout { grid-template-columns: 1fr 380px; gap: 48px; align-items: start; }
  .summary { position: sticky; top: 150px; }
}
.cart__list { border-top: 1px solid var(--line); }
.line { display: grid; grid-template-columns: 84px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.line__img { border-radius: var(--r-sm); overflow: hidden; background: var(--mist); aspect-ratio: 1; }
.line__img img { width: 100%; height: 100%; object-fit: cover; }
.line__name { font-weight: 500; text-decoration: none; line-height: 1.4; }
.line__name:hover { color: var(--green-dark); }
.line__unit { font-size: 13px; color: var(--ink-3); }
.line__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.line .qty { height: 40px; }
.line .qty button { width: 36px; }
.line__total { font-weight: 700; color: var(--green); }
.line__remove { background: none; border: 0; color: var(--ink-3); font-size: 13px; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; padding: 6px 0; }
.line__remove:hover { color: var(--danger); }
.line__remove .ic { width: 16px; height: 16px; }

.summary { background: var(--mist); border-radius: var(--r-lg); padding: 24px; }
.summary__title { font-family: var(--font-display); font-weight: 650; font-size: 22px; margin-bottom: 16px; }
.summary__items { display: grid; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--mist-2); font-size: 14px; }
.summary__items li { display: flex; justify-content: space-between; gap: 12px; }
.summary__rows { margin: 0 0 18px; }
.summary__rows > div { display: flex; justify-content: space-between; padding: 8px 0; font-size: 15px; }
.summary__rows dt { color: var(--ink-2); }
.summary__rows dd { margin: 0; font-weight: 600; }
.summary__total { border-top: 1px solid var(--mist-2); margin-top: 6px; padding-top: 14px !important; }
.summary__total dd { font-size: 22px; color: var(--green); font-weight: 700; }
.summary__hint { font-size: 14px; color: var(--green-dark); margin-bottom: 14px; }
.summary__back { display: block; text-align: center; margin-top: 14px; }
.summary__note { margin-top: 14px; font-size: 13px; color: var(--ink-3); }

fieldset { border: 0; margin: 0 0 28px; padding: 0; }
legend { font-family: var(--font-display); font-weight: 650; font-size: 22px; margin-bottom: 14px; padding: 0; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 500; font-size: 15px; }
.opt { font-weight: 400; color: var(--ink-3); font-size: 13px; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--white); font-size: 16px;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.pay { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: start; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: var(--r-md); cursor: pointer; margin-bottom: 10px; }
.pay:has(input:checked) { border-color: var(--green); background: var(--green-soft); }
.pay input { margin-top: 4px; accent-color: var(--green); width: 18px; height: 18px; }
.pay strong { display: block; }
.pay span { font-size: 14px; color: var(--ink-2); }
.pay .ic { color: var(--green); width: 24px; height: 24px; }
.pay--check input { border-radius: 4px; }
.invoice { padding: 16px 18px 2px; margin: -2px 0 10px; border: 1.5px solid var(--line); border-radius: var(--r-md); background: var(--mist); }
.alert { border: 1.5px solid var(--danger); background: #FBEDEA; color: #6E1F12; border-radius: var(--r-md); padding: 14px 18px; margin-bottom: 24px; }
.alert ul { list-style: disc; padding-left: 1.2em; margin-top: 6px; }

/* ---------- Đơn hàng đã đặt ---------- */
.done { text-align: center; padding: 48px 0 32px; display: grid; justify-items: center; gap: 4px; }
.done .page-lead { margin-left: auto; margin-right: auto; }
.done__icon { width: 56px; height: 56px; color: var(--green); margin-bottom: 12px; stroke-width: 1.5; }
.bank, .receipt { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; margin-top: 20px; }
.bank .section__title, .receipt .section__title { font-size: 24px; margin-bottom: 18px; }
.bank__in { display: grid; gap: 20px; align-items: center; }
@media (min-width: 640px) { .bank__in { grid-template-columns: 240px 1fr; } }
.bank__qr { border-radius: var(--r-md); border: 1px solid var(--line); width: 240px; height: auto; }
.bank__info > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.bank__info dt { color: var(--ink-2); }
.bank__info dd { margin: 0; font-weight: 600; text-align: right; }
.bank .muted { margin-top: 14px; }
.receipt__items { border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 8px; }
.receipt__items li { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; }
.receipt__items small { color: var(--ink-3); }
.receipt__ship { display: grid; grid-template-columns: 110px 1fr; gap: 6px 12px; padding: 16px 0; border-top: 1px solid var(--line); margin: 0 0 12px; font-size: 15px; }
.receipt__ship dt { color: var(--ink-3); }
.receipt__ship dd { margin: 0; }
.receipt .btn { margin-top: 16px; }

.message { padding: 80px 20px; }
.message__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Chân trang ---------- */
.footer { background: var(--green-dark); color: #D3E0D7; font-size: 15px; padding-top: 56px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer__grid { display: grid; gap: 36px; padding-bottom: 40px; }
@media (min-width: 700px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; } }
.footer .logo img { height: auto; width: 240px; }
.footer__brand > p { margin: 12px 0 20px; max-width: 32ch; }
.footer__legal { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 0; font-size: 13px; }
.footer__legal dt { color: #93AB9B; }
.footer__legal dd { margin: 0; }
.footer__title { font-family: var(--font-display); font-weight: 650; font-size: 18px; color: var(--white); margin-bottom: 14px; }
.footer ul { display: grid; gap: 9px; }
.footer__contact li { display: flex; align-items: center; gap: 10px; }
.footer__contact .ic { width: 17px; height: 17px; color: var(--green-light); }
.footer__map { margin-top: 20px; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 3; background: #1C3A28; border: 1px solid #3A5E47; }
.footer__map iframe { display: block; width: 100%; height: 100%; border: 0; }
.footer__dir { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 14px; font-weight: 600; }
.footer__dir .ic { width: 17px; height: 17px; color: var(--green-light); }
.moit { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 8px 14px; border: 1px solid #3A5E47; border-radius: var(--r-sm); font-size: 13px; }
/* Các kênh của DaLa: Facebook, Instagram, TikTok, Zalo, Shopee, YouTube */
.social { display: flex; flex-wrap: wrap; gap: 10px; }
.footer .social { display: flex; gap: 10px; }
.social__a { --brand: var(--green); width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; background: var(--brand); color: var(--white); text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.social__a .ic { width: 20px; height: 20px; }
.social__a:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0, 0, 0, .22); }
.footer .social__a:focus-visible, .topbar .social__a:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }
.social__a--facebook { --brand: #0866FF; }
.social__a--instagram { --brand: #D6249F; background: radial-gradient(circle at 30% 107%, #FDF497 0%, #FDF497 5%, #FD5949 45%, #D6249F 60%, #285AEB 90%); }
.social__a--tiktok { --brand: #000; }
.social__a--zalo { --brand: #0068FF; }
.social__a--shopee { --brand: #EE4D2D; }
.social__a--youtube { --brand: #FF0000; }
.footer .social__a--tiktok { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
@media (prefers-reduced-motion: reduce) { .social__a { transition: none; } .social__a:hover { transform: none; } }
.follow { margin: 0 0 22px; }
.follow__title { color: var(--white); font-weight: 600; font-size: 14px; margin-bottom: 10px; }
.drawer__social { margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.drawer__social p { font-weight: 600; font-size: 14px; color: var(--ink-2); margin-bottom: 10px; }
.drawer__social .social__a { width: 42px; height: 42px; }
/* Đầu trang (máy tính): biểu tượng nhỏ, hiện màu kênh khi rê chuột */
.topbar__end { display: flex; align-items: center; gap: 14px; flex: none; }
.social--top { display: none; gap: 2px; }
.social--top .social__a { width: 26px; height: 26px; background: transparent; color: #E6ECE8; }
.social--top .social__a .ic { width: 15px; height: 15px; }
.social--top .social__a--zalo .ic { width: 22px; height: 22px; }
.social--top .social__a:hover { background: var(--brand); color: var(--white); transform: none; box-shadow: none; }
@media (min-width: 1024px) {
  .social--top { display: flex; }
  .social--top + .topbar__phone { padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, .22); }
}
/* Trang Liên hệ */
.channels-box { margin-top: 40px; padding-top: 28px; border-top: 2px solid var(--ink); }
.channels-box h2 { font-family: var(--font-display); font-weight: 650; font-size: 24px; }
.channels-box > p { color: var(--ink-2); margin: 6px 0 18px; }
.channels { display: grid; gap: 10px; }
@media (min-width: 600px) { .channels { grid-template-columns: 1fr 1fr; } }
.channel { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); color: inherit; text-decoration: none; transition: border-color .15s ease; }
.channel:hover { border-color: var(--green); }
.channel .social__a { width: 44px; height: 44px; flex: none; }
.channel:hover .social__a { transform: none; box-shadow: none; }
.channel__txt { display: grid; flex: 1; min-width: 0; line-height: 1.35; }
.channel__txt strong { font-weight: 650; }
.channel__txt small { color: var(--ink-2); font-size: 14px; }
.channel__go { width: 16px; height: 16px; color: var(--ink-2); }

.footer__bottom { border-top: 1px solid #2E5139; padding: 18px 20px 96px; font-size: 13px; color: #93AB9B; }
@media (min-width: 900px) { .footer__bottom { padding-bottom: 22px; } }

/* ---------- Nút liên hệ nổi & thông báo ---------- */
.float-contact { position: fixed; right: 14px; bottom: 84px; z-index: 35; display: grid; gap: 10px; }
@media (min-width: 900px) { .float-contact { bottom: 24px; right: 24px; } .float-contact a { width: 52px; height: 52px; } }
.float-contact a { width: 46px; height: 46px; border-radius: 999px; display: grid; place-items: center; text-decoration: none; color: var(--white); box-shadow: 0 6px 16px rgba(0, 0, 0, .2); }
.float-contact__zalo { background: #0068FF; font-weight: 700; font-size: 13px; }
.float-contact__call { background: var(--green); }
.float-contact .ic { width: 22px; height: 22px; }

.toast {
  position: fixed; left: 50%; top: 18px; z-index: 80; transform: translateX(-50%);
  display: flex; align-items: center; gap: 12px; max-width: calc(100vw - 32px);
  background: var(--ink); color: var(--white); padding: 12px 14px 12px 18px; border-radius: 999px; font-size: 14px;
}
.toast a { color: var(--green-light); font-weight: 600; white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .toast:not([hidden]) { animation: toast-in .25s ease-out; }
  @keyframes toast-in { from { opacity: 0; transform: translate(-50%, -8px); } to { opacity: 1; transform: translate(-50%, 0); } }
}
