/* =========================================================
   Trang chu (dot 4): Flash Sale, He thong showroom,
   banner doc 2 ben, popup quang cao.
   Nap sau main.css, chi o trang chu (functions/showroom.php).
   Class rieng tvfs-* / tvsr-* / tvsb-* / tvpop-* de khong dinh
   cac luat !important cua the san pham cu trong main.css.
   ========================================================= */

.tvfs-sec,
.tvsr,
.tvsb,
.tvpop {
  --tv-red: #c8102e;
  --tv-red-h: #a50d26;
  --tv-ink: #0a0a0a;
  --tv-ink-2: #141414;
  --tv-ink-3: #1c1c1c;
  --tv-text: #1f2937;
  --tv-muted: #6b7280;
  --tv-soft: #6b7280;
  --tv-line: #ececec;
  --tv-green: #0e6b4e;
  --tv-w08: rgba(255, 255, 255, .08);
  --tv-w12: rgba(255, 255, 255, .12);
  --tv-w55: rgba(255, 255, 255, .55);
  --tv-font: "Be Vietnam Pro", "Montserrat", sans-serif;
  --tv-ease: cubic-bezier(.2, .8, .2, 1);
  font-family: var(--tv-font);
}

.tvfs-sec *,
.tvsr *,
.tvsb *,
.tvpop * {
  box-sizing: border-box;
}

/* Go cac kieu mac dinh cua theme goc cho nut, form, doan van trong 4 khoi nay */
.tvfs-sec button,
.tvsr button,
.tvsb button,
.tvpop button {
  margin: 0;
  min-height: 0;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  text-transform: none;
  letter-spacing: normal;
  line-height: 1;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.tvpop form,
.tvsr p,
.tvfs-sec p {
  margin: 0;
}

.tvfs-sec a,
.tvsr a,
.tvsb a,
.tvpop a {
  text-decoration: none;
}

.tvfs-sec :focus-visible,
.tvsr :focus-visible,
.tvsb :focus-visible,
.tvpop :focus-visible {
  outline: 2px solid var(--tv-red);
  outline-offset: 3px;
}

/* =================== FLASH SALE =================== */
/* Ban 27/11 dem: nen soc anh sang xanh (anh tu tao: assets/image/tvfs-soc-xanh.webp),
   chu FLASH SALE tren bien hieu neon co den roi. Tab danh muc dang vien thuoc
   ben phai bien hieu, the san pham trang ben duoi.
   Font chu bien hieu: Archivo (SIL OFL) cat rieng ban rong, chi chu Latin + so. */
@font-face {
  font-family: "TV Flash Wide";
  src: url("../fonts/tv-flash-wide.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

.tvfs-sec {
  --fs-blue: #3d5afe;
  --fs-neon: #bff1ff;
  --fs-wide: "TV Flash Wide", var(--tv-font);
  padding-top: 96px;
}

.tvfs-wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 15px;
}

.tvfs {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 28px 36px 36px;
  border-radius: 24px;
  color: #fff;
  background: #02060f url("../image/tvfs-soc-xanh.webp") center / cover no-repeat;
}

/* ---- Dau khoi: bien hieu trai, nut + tab phai ---- */
.tvfs-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 40px;
}

.tvfs-board {
  position: relative;
  flex: 0 0 auto;
  padding-top: 24px;
}

/* Den roi tren mep bien */
.tvfs-lamps {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-around;
  padding: 0 6%;
  pointer-events: none;
}

.tvfs-lamps i {
  position: relative;
  width: 30px;
  height: 10px;
  border-radius: 3px 3px 6px 6px;
  background: linear-gradient(180deg, #323c4f, #141a26);
  transform: rotate(-6deg);
}

.tvfs-lamps i::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 50%;
  width: 2px;
  height: 16px;
  background: #222b3b;
}

.tvfs-lamps i::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: -1px;
  height: 3px;
  border-radius: 2px;
  background: #f2feff;
  box-shadow: 0 0 6px #d6f7ff, 0 6px 18px rgba(170, 230, 255, .8);
}

.tvfs-board-in {
  position: relative;
  padding: 16px 26px 18px;
  border: 3px solid var(--fs-neon);
  border-radius: 8px;
  background:
    radial-gradient(18% 75% at 14% 0%, rgba(190, 235, 255, .24), transparent 70%),
    radial-gradient(18% 75% at 38% 0%, rgba(190, 235, 255, .2), transparent 70%),
    radial-gradient(18% 75% at 62% 0%, rgba(190, 235, 255, .2), transparent 70%),
    radial-gradient(18% 75% at 86% 0%, rgba(190, 235, 255, .24), transparent 70%),
    linear-gradient(180deg, #050c1e 0%, #03070f 100%);
  box-shadow:
    0 0 0 1px rgba(150, 230, 255, .55),
    0 0 14px rgba(110, 215, 255, .85),
    0 0 38px rgba(50, 150, 255, .5),
    inset 0 0 18px rgba(110, 215, 255, .4),
    0 26px 44px -20px rgba(0, 0, 0, .85);
  animation: tvfs-neon 3.4s ease-in-out infinite alternate;
}

@keyframes tvfs-neon {
  from { box-shadow: 0 0 0 1px rgba(150, 230, 255, .45), 0 0 10px rgba(110, 215, 255, .7), 0 0 28px rgba(50, 150, 255, .4), inset 0 0 14px rgba(110, 215, 255, .32), 0 26px 44px -20px rgba(0, 0, 0, .85); }
  to { box-shadow: 0 0 0 1px rgba(150, 230, 255, .65), 0 0 16px rgba(110, 215, 255, .95), 0 0 46px rgba(50, 150, 255, .6), inset 0 0 20px rgba(110, 215, 255, .45), 0 26px 44px -20px rgba(0, 0, 0, .85); }
}

.tvfs-board-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.tvfs-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 700 12px var(--tv-font);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #dff7ff;
  text-shadow: 0 0 8px rgba(120, 220, 255, .7);
}

.tvfs-chip i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff3b55;
  animation: tvfs-ping 1.8s infinite;
}

@keyframes tvfs-ping {
  0% { box-shadow: 0 0 0 0 rgba(255, 59, 85, .6); }
  70% { box-shadow: 0 0 0 8px rgba(255, 59, 85, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 59, 85, 0); }
}

.tvfs-cdbox {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.tvfs-cd-label {
  font: 600 11px var(--tv-font);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(200, 236, 255, .7);
}

.tvfs-cd {
  display: flex;
  align-items: baseline;
  gap: 3px;
  font: 800 24px/1 var(--fs-wide);
  font-variant-numeric: tabular-nums;
  color: #e6f9ff;
  text-shadow: 0 0 6px rgba(140, 225, 255, .85), 0 0 18px rgba(60, 160, 255, .55);
}

.tvfs-cd em {
  font-style: normal;
  color: rgba(200, 236, 255, .55);
}

.tvfs-cd small {
  display: none;
}

/* Chu neon */
body .tvfs-title {
  margin: 14px 0 0;
  padding: 0;
  font: 800 58px/1 var(--fs-wide);
  letter-spacing: .01em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #f2fdff;
  text-shadow:
    0 0 2px #fff,
    0 0 10px rgba(130, 225, 255, .95),
    0 0 26px rgba(60, 170, 255, .75),
    0 0 54px rgba(40, 120, 255, .5);
}

/* Vach neon duoi chu: ngan dan theo thoi gian con lai */
.tvfs-cycle {
  height: 2px;
  margin-top: 14px;
  border-radius: 2px;
  background: rgba(191, 241, 255, .14);
}

.tvfs-cycle i {
  display: block;
  width: calc((100 - var(--p, 0)) * 1%);
  height: 100%;
  border-radius: 2px;
  background: var(--fs-neon);
  box-shadow: 0 0 8px rgba(130, 225, 255, .9);
  transition: width 1s linear;
}

.tvfs-sec .tvfs-sub {
  margin-top: 10px;
  font: 600 11.5px var(--tv-font);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(200, 236, 255, .78);
}

/* Ngoi sao lap lanh goc bien */
.tvfs-star {
  position: absolute;
  top: 6px;
  right: -14px;
  width: 34px;
  height: 34px;
  fill: #fff;
  filter: drop-shadow(0 0 5px #fff) drop-shadow(0 0 14px rgba(130, 225, 255, .95));
  animation: tvfs-lap 2.8s ease-in-out infinite;
}

@keyframes tvfs-lap {
  0%, 100% { transform: scale(.8) rotate(0deg); opacity: .75; }
  50% { transform: scale(1.08) rotate(12deg); opacity: 1; }
}

.tvfs-head-r {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  align-self: stretch;
  gap: 18px;
  min-width: 0;
}

.tvfs-sec .tvfs-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(191, 241, 255, .45);
  border-radius: 999px;
  background: rgba(3, 8, 22, .65);
  color: #fff;
  font: 500 14px var(--tv-font);
  white-space: nowrap;
  transition: .3s all;
}

.tvfs-sec .tvfs-all:hover {
  border-color: #fff;
  background: #fff;
  color: #060a1a;
}

/* ---- Tab vien thuoc ---- */
.tvfs-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: 100%;
}

.tvfs-sec .tvfs-tab {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 15px;
  border: 1px solid rgba(160, 215, 255, .3);
  border-radius: 999px;
  background: rgba(3, 8, 24, .62);
  color: rgba(255, 255, 255, .8);
  transition: .3s all;
}

.tvfs-tab b {
  font: 500 14px var(--tv-font);
  white-space: nowrap;
}

.tvfs-tab small {
  font: 600 12px var(--tv-font);
  font-variant-numeric: tabular-nums;
  color: #8fdcff;
}

.tvfs-sec .tvfs-tab:hover {
  border-color: rgba(191, 241, 255, .7);
  color: #fff;
}

.tvfs-sec .tvfs-tab.is-on {
  border-color: var(--fs-neon);
  background: rgba(8, 26, 64, .75);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(150, 230, 255, .35), 0 0 16px rgba(90, 200, 255, .5);
}

.tvfs-tab.is-on b {
  font-weight: 600;
}

.tvfs-tab.is-on small {
  color: #fff;
}

.tvfs-panes {
  margin-top: 26px;
}

/* ---- The san pham ---- */
.tvfs-panes {
  position: relative;
  min-width: 0;
}

.tvfs-pane[hidden] {
  display: none;
}

.tvfs-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 64px) / 5);
  gap: 16px;
  min-width: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.tvfs-track::-webkit-scrollbar {
  display: none;
}

.tvfs-sec .tvfs-btn {
  position: absolute;
  top: 30%;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  color: #060a1a;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .6);
  opacity: 0;
  transition: .3s all;
}

.tvfs-sec .tvfs-prev {
  left: -14px;
}

.tvfs-sec .tvfs-next {
  right: -14px;
}

.tvfs-panes:hover .tvfs-btn {
  opacity: 1;
}

.tvfs-sec .tvfs-btn:hover {
  background: var(--fs-blue);
  color: #fff;
}

.tvfs-sec .tvfs-btn:disabled {
  opacity: 0;
  pointer-events: none;
}

/* The san pham: gieng anh sang co bong do, nhan -% do co tia set, cart tron trang,
   gia do to, chip "Tiet kiem" xanh, thanh da ban dang vien thuoc co chu ben trong */
.tvfs-card {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: flex-start;
  gap: 0 8px;
  min-width: 0;
  padding: 8px 8px 12px;
  border-radius: 18px;
  background: #fff;
  color: var(--tv-text);
  text-align: left;
  scroll-snap-align: start;
  box-shadow: 0 16px 32px -20px rgba(0, 0, 0, .7);
  transition: .3s all;
}

.tvfs-card > * {
  flex: 0 0 100%;
  min-width: 0;
}

.tvfs-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 0 2px rgba(120, 200, 255, .85), 0 22px 44px -18px rgba(30, 110, 255, .6);
}

.tvfs-pic {
  position: relative;
  display: block;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  border-radius: 13px;
  background: radial-gradient(75% 75% at 50% 38%, #fff 0%, #f1f5fb 62%, #e2eaf6 100%);
}

/* Bong do duoi san pham */
.tvfs-pic::after {
  content: "";
  position: absolute;
  left: 22%;
  right: 22%;
  bottom: 7%;
  height: 9%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(20, 40, 90, .22), transparent);
  transition: .3s all;
}

.tvfs-pic img:not(.tv-khung-anh) {
  position: absolute;
  top: 9%;
  left: 10%;
  z-index: 1;
  width: 80%;
  height: 80%;
  max-width: none;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform .5s var(--tv-ease);
}

.tvfs-card:hover .tvfs-pic img:not(.tv-khung-anh) {
  transform: translateY(-5px) scale(1.05);
}

.tvfs-card:hover .tvfs-pic::after {
  transform: scale(.8);
  opacity: .7;
}

/* Khung "Sieu uu dai" (functions/khung-anh.php) */
.tvfs-pic img.tv-khung-anh {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4%;
  z-index: 2;
  width: 100%;
  height: auto;
}

.tvfs-brand {
  min-height: 13px;
  margin: 12px 6px 0;
  font: 600 10.5px var(--tv-font);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--tv-soft);
}

body .tvfs-name {
  height: 40px;
  margin: 4px 6px 0;
  padding: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font: 500 14px/1.43 var(--tv-font);
  letter-spacing: normal;
}

body .tvfs-name a {
  color: #111;
}

body .tvfs-name a:hover {
  color: var(--fs-blue);
}

.tvfs-price {
  margin: 10px 6px 0;
}

.tvfs-price b {
  font: 800 21px/1.15 var(--tv-font);
  letter-spacing: -.025em;
  font-variant-numeric: tabular-nums;
  color: #c8102e;
}

/* Nhan -% do goc trai anh, co tia set */
.tvfs-pct {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 5px 9px 5px 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff5a6b, #d50f2d);
  box-shadow: 0 6px 14px -6px rgba(213, 15, 45, .8);
  font: 700 12px/1 var(--tv-font);
  font-variant-numeric: tabular-nums;
  color: #fff;
}

.tvfs-pct::before {
  content: "";
  width: 9px;
  height: 11px;
  background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13.5 2 4.8 13.3c-.3.4 0 .9.5.9h5.4l-1.3 7.4c-.1.5.6.8.9.4l8.7-11.3c.3-.4 0-.9-.5-.9h-5.4l1.3-7.4c.1-.5-.6-.8-.9-.4z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13.5 2 4.8 13.3c-.3.4 0 .9.5.9h5.4l-1.3 7.4c-.1.5.6.8.9.4l8.7-11.3c.3-.4 0-.9-.5-.9h-5.4l1.3-7.4c.1-.5-.6-.8-.9-.4z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.tvfs-card > .tvfs-old,
.tvfs-card > .tvfs-save {
  flex: 0 1 auto;
}

.tvfs-old {
  margin: 4px 0 0 6px;
  overflow: hidden;
  font-size: 12.5px;
  line-height: 1.4;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--tv-soft);
}

/* Chip tiet kiem */
.tvfs-sec .tvfs-save {
  margin: 4px 6px 0 0;
  padding: 2px 7px;
  border-radius: 6px;
  background: #eaf1ff;
  font-size: 11.5px;
  line-height: 1.45;
  white-space: nowrap;
  color: #3651c9;
}

.tvfs-save b {
  font-weight: 700;
  color: #1f3fd9;
}

/* Thanh da ban: vien thuoc, chu nam ben trong */
.tvfs-meter {
  position: relative;
  margin: 12px 6px 0;
}

.tvfs-card > .tvfs-meter {
  flex-basis: calc(100% - 12px);
}

.tvfs-sec .tvfs-row {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 0;
  margin: 0;
  padding: 0 10px;
  font: 600 11px var(--tv-font);
  color: #111;
  font-variant-numeric: tabular-nums;
}

.tvfs-row b {
  font-weight: 800;
  color: #111;
}

.tvfs-bar {
  height: 20px;
  overflow: hidden;
  border-radius: 999px;
  background: #ffe6ea;
}

.tvfs-bar i {
  display: block;
  min-width: 20px;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffc27a, #ff6b81);
}

/* Nut gio hang: nut tron trang goc phai tren anh */
.tvfs-sec .tvfs-add {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  background: #fff;
  color: #0b1020;
  box-shadow: 0 6px 16px -6px rgba(10, 20, 50, .45);
  font-size: 0;
  line-height: 0;
  text-transform: none;
  transition: .3s all;
}

.tvfs-sec .tvfs-add svg {
  width: 17px;
  height: 17px;
}

/* San pham khong them nhanh duoc: ca the da la link */
.tvfs-sec .tvfs-add:not(.ajax_add_to_cart) {
  display: none;
}

.tvfs-sec .tvfs-add:hover,
.tvfs-sec .tvfs-add.added {
  background: var(--fs-blue);
  color: #fff;
}

.tvfs-sec .tvfs-add.loading {
  opacity: .6;
  pointer-events: none;
}

/* WooCommerce chen link "Xem gio hang" sau nut khi them xong: an di, nut da doi mau */
.tvfs-sec .added_to_cart {
  display: none !important;
}

/* ---- Kich thuoc man hinh ---- */
@media only screen and (min-width: 1600px) {
  .tvfs {
    padding: 30px 44px 40px;
  }

  body .tvfs-title {
    font-size: 64px;
  }
}

@media only screen and (max-width: 1280px) {
  .tvfs-track {
    grid-auto-columns: calc((100% - 48px) / 4);
  }

  body .tvfs-title {
    font-size: 50px;
  }
}

@media only screen and (max-width: 1080px) {
  .tvfs-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .tvfs-head-r {
    flex-direction: row-reverse;
    align-items: center;
    width: 100%;
  }

  .tvfs-tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .tvfs-tabs::-webkit-scrollbar {
    display: none;
  }
}

@media only screen and (max-width: 960px) {
  .tvfs {
    padding: 24px 22px 26px;
  }

  .tvfs-track {
    grid-auto-columns: calc((100% - 32px) / 3);
  }

  .tvfs-sec .tvfs-btn {
    display: none;
  }
}

@media only screen and (max-width: 768px) {
  .tvfs-sec {
    padding-top: 48px;
  }

  .tvfs-wrap {
    padding: 0 12px;
  }

  .tvfs {
    padding: 14px 14px 16px;
    border-radius: 20px;
    background-position: 45% center;
  }

  .tvfs-head {
    gap: 18px;
  }

  .tvfs-board {
    width: 100%;
    padding-top: 18px;
  }

  .tvfs-lamps i {
    width: 22px;
    height: 8px;
  }

  .tvfs-lamps i::before {
    top: 7px;
    height: 12px;
  }

  .tvfs-board-in {
    padding: 12px 14px 14px;
    border-width: 2px;
  }

  .tvfs-board-top {
    gap: 10px;
  }

  .tvfs-chip {
    font-size: 10.5px;
    letter-spacing: .12em;
  }

  .tvfs-cd-label {
    display: none;
  }

  .tvfs-cd {
    font-size: 17px;
  }

  body .tvfs-title {
    margin-top: 10px;
    font-size: 31px;
  }

  .tvfs-cycle {
    margin-top: 10px;
  }

  .tvfs-sec .tvfs-sub {
    margin-top: 8px;
    font-size: 10px;
    letter-spacing: .12em;
  }

  .tvfs-star {
    top: 4px;
    right: -6px;
    width: 26px;
    height: 26px;
  }

  /* Nut "Xem tat ca" thu thanh nut tron mui ten cuoi hang tab */
  .tvfs-head-r {
    gap: 10px;
  }

  .tvfs-sec .tvfs-all {
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    font-size: 0;
  }

  .tvfs-sec .tvfs-all svg {
    width: 16px;
    height: 16px;
  }

  .tvfs-tabs {
    flex: 1 1 auto;
    min-width: 0;
    margin-left: -14px;
    padding-left: 14px;
  }

  .tvfs-sec .tvfs-tab {
    height: 36px;
    padding: 0 13px;
  }

  .tvfs-tab b {
    font-size: 13px;
  }

  .tvfs-panes {
    margin-top: 16px;
  }

  .tvfs-track {
    grid-auto-columns: 46%;
    gap: 10px;
  }

  .tvfs-card {
    padding: 6px 6px 10px;
    border-radius: 15px;
  }

  .tvfs-pic {
    border-radius: 10px;
  }

  .tvfs-brand {
    margin: 10px 4px 0;
  }

  body .tvfs-name {
    margin: 3px 4px 0;
    height: 38px;
    font-size: 13px;
    line-height: 1.45;
  }

  .tvfs-price {
    margin: 8px 4px 0;
  }

  .tvfs-price b {
    font-size: 17px;
  }

  .tvfs-pct {
    top: 11px;
    left: 11px;
    padding: 4px 7px 4px 6px;
    font-size: 10.5px;
  }

  .tvfs-old {
    margin-left: 4px;
    font-size: 11.5px;
  }

  /* The hep: bo chu "Gia niem yet" va chip tiet kiem, chi giu gia gach */
  .tvfs-old .tvfs-lb,
  .tvfs-sec .tvfs-save {
    display: none;
  }

  .tvfs-meter {
    margin: 10px 4px 0;
  }

  .tvfs-card > .tvfs-meter {
    flex-basis: calc(100% - 8px);
  }

  .tvfs-sec .tvfs-row {
    padding: 0 8px;
    font-size: 10px;
  }

  .tvfs-bar {
    height: 18px;
  }

  .tvfs-sec .tvfs-add {
    top: 11px;
    right: 11px;
    width: 32px;
    height: 32px;
  }

  .tvfs-sec .tvfs-add svg {
    width: 15px;
    height: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tvfs-board-in,
  .tvfs-star {
    animation: none;
  }
}

/* =================== SHOWROOM =================== */
.tvsr {
  max-width: 1440px;
  margin: 0 auto;
  padding: 96px 15px 0;
}

.tvsr-panel {
  display: grid;
  grid-template-columns: minmax(420px, 36%) minmax(0, 1fr);
  min-height: 580px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--tv-line);
  border-radius: 24px;
}

.tvsr-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 40px;
}

.tvsr .tvsr-lead {
  max-width: 38ch;
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--tv-muted);
}

.tvsr-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tvsr-item {
  border: 1px solid var(--tv-line);
  border-radius: 18px;
  transition: border-color .25s, box-shadow .25s;
}

.tvsr-item.is-on {
  border-color: #111;
  box-shadow: 0 18px 40px -28px rgba(17, 17, 17, .35);
}

.tvsr .tvsr-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 18px;
  text-align: left;
}

.tvsr-no {
  font: 600 12px var(--tv-font);
  letter-spacing: .06em;
  color: var(--tv-soft);
  font-variant-numeric: tabular-nums;
}

.tvsr-item.is-on .tvsr-no {
  color: var(--tv-red);
}

.tvsr-name strong {
  display: block;
  font: 700 18px/1.2 var(--tv-font);
  letter-spacing: -.02em;
  color: #111;
}

.tvsr-name span {
  display: block;
  margin-top: 4px;
  font: 400 13px/1.4 var(--tv-font);
  color: var(--tv-muted);
}

.tvsr-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font: 500 12px var(--tv-font);
  color: var(--tv-muted);
  white-space: nowrap;
}

.tvsr-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tv-soft);
}

.tvsr-status.is-open {
  color: var(--tv-green);
}

.tvsr-status.is-open i {
  background: var(--tv-green);
  box-shadow: 0 0 0 4px rgba(22, 163, 74, .14);
}

/* Mo / dong phan chi tiet: hang luoi 0fr -> 1fr de co chuyen dong chieu cao */
.tvsr-more {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s var(--tv-ease);
}

.tvsr-item.is-on .tvsr-more {
  grid-template-rows: 1fr;
}

.tvsr-more > div {
  overflow: hidden;
}

.tvsr-in {
  display: grid;
  gap: 14px;
  padding: 0 18px 18px;
}

.tvsr-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  overflow: hidden;
  background: var(--tv-line);
  border: 1px solid var(--tv-line);
  border-radius: 14px;
}

.tvsr-facts > div,
.tvsr-facts > a {
  display: block;
  padding: 13px 16px;
  background: #fff;
}

.tvsr-facts small {
  display: block;
  margin-bottom: 6px;
  font: 500 10.5px var(--tv-font);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--tv-muted);
}

.tvsr-facts b {
  font: 600 15px var(--tv-font);
  letter-spacing: -.01em;
  color: #111;
  font-variant-numeric: tabular-nums;
}

.tvsr-facts a:hover b {
  color: var(--tv-red);
}

.tvsr-svc {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 13px;
  color: #374151;
}

.tvsr-svc span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tvsr-svc svg {
  color: var(--tv-green);
}

.tvsr-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tvsr .tvsr-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font: 600 14px var(--tv-font);
  white-space: nowrap;
  transition: .25s all;
}

.tvsr .tvsr-dark {
  background: #111;
  color: #fff;
}

.tvsr .tvsr-dark:hover {
  background: var(--tv-red);
  color: #fff;
}

.tvsr .tvsr-line {
  border: 1px solid var(--tv-line);
  background: #fff;
  color: #111;
}

.tvsr .tvsr-line:hover {
  border-color: #111;
  color: #111;
}

/* --tv-shift: day ban do len de giau o thong tin cua Google o goc tren trai.
   Ghim do doi theo dung nua khoang do de van trung tam ban do. */
.tvsr-map {
  --tv-shift: 130px;
  position: relative;
  min-height: 360px;
  overflow: hidden;
  background: #ededed;
}

.tvsr-map iframe {
  position: absolute;
  top: calc(var(--tv-shift) * -1);
  left: 0;
  width: 100%;
  max-width: none;
  height: calc(100% + var(--tv-shift));
  margin: 0;
  border: 0;
  filter: grayscale(1) contrast(1.06) brightness(1.02);
  transition: filter .6s, opacity .3s;
}

.tvsr-map:hover iframe {
  filter: none;
}

.tvsr-map.is-loading iframe {
  opacity: .35;
}

.tvsr-map::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 40px 0 40px -30px rgba(255, 255, 255, .9);
}

.tvsr-pin {
  position: absolute;
  left: 50%;
  top: calc(50% - var(--tv-shift) / 2 + 2px);
  z-index: 1;
  width: 40px;
  height: 52px;
  transform: translate(-50%, -100%);
  pointer-events: none;
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .28));
}

.tvsr-chip {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 12px 12px 18px;
  border: 1px solid rgba(17, 17, 17, .06);
  border-radius: 16px;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px -24px rgba(17, 17, 17, .4);
}

.tvsr-chip small {
  display: block;
  font: 500 10.5px var(--tv-font);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--tv-muted);
}

.tvsr-chip b {
  display: block;
  margin-top: 3px;
  font: 700 15px var(--tv-font);
  letter-spacing: -.01em;
  color: #111;
}

.tvsr .tvsr-chip-go {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  transition: .25s all;
}

.tvsr .tvsr-chip-go:hover {
  background: var(--tv-red);
  color: #fff;
}

/* =================== BANNER DOC 2 BEN =================== */
/* Khung trang rong 1720px tu 1600px, nen chi du cho tu khoang 2160px.
   Man Full HD (1800-1920px) duoc main.css thu con 75% nen trang rong 2400px tro len, cung du cho.
   Vi tri doc do JS dat (transform):
   - Phai (Flash Sale): dau trang nam ngay duoi hero, cuon xuong dung yen giua man hinh.
   - Trai (Build PC): ghim goc duoi ben trai man hinh.
   Ca hai dung lai tren footer khi cuon toi cuoi trang.
   An cho toi khi JS dat xong vi tri (.is-ready) de khong nhay de len hero. */
.tvsb {
  position: fixed;
  top: 0;
  z-index: 30;
  display: none;
  visibility: hidden;
  width: 176px;
  height: 560px;
  overflow: hidden;
  will-change: transform;
  border-radius: 22px;
  color: #fff;
  box-shadow: 0 30px 60px -36px rgba(17, 17, 17, .55);
}

/* Trai: sat mep trai man hinh, cach mep bang khe 24px cua JS */
.tvsb-l {
  left: 24px;
}

.tvsb-r {
  right: calc(50% - 860px - 176px - 28px);
}

@media only screen and (min-width: 1800px) {
  .tvsb {
    display: block;
  }
}

.tvsb.is-ready {
  visibility: visible;
}

.tvsb.is-off {
  display: none;
}

/* An tam khi trung the lien he noi (JS). Chi chuyen opacity, khong dung all
   vi transform doi lien tuc khi cuon se bi tre. */
.tvsb.is-ready {
  transition: opacity .3s;
}

.tvsb.is-an,
.tvsb.is-an-fs,
.tvsb.is-an-hero {
  opacity: 0;
  pointer-events: none;
}

.tvsb > a {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 22px 16px 16px;
  color: #fff;
}

.tvsb-img > a {
  padding: 0;
}

.tvsb-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tvsb .tvsb-x {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(20, 20, 20, .45);
  color: #fff;
  opacity: 0;
  transition: .2s all;
}

.tvsb:hover .tvsb-x,
.tvsb .tvsb-x:focus-visible {
  opacity: 1;
}

.tvsb .tvsb-x:hover {
  background: rgba(20, 20, 20, .75);
}

.tvsb-k {
  display: flex;
  align-items: center;
  gap: 7px;
  font: 600 10.5px var(--tv-font);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
}

.tvsb-h {
  display: block;
  margin-top: 10px;
  font: 700 22px/1.12 var(--tv-font);
  letter-spacing: -.035em;
  color: #fff;
}

.tvsb-go {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 42px;
  margin-top: auto;
  border-radius: 999px;
  font: 600 13px var(--tv-font);
  transition: .25s all;
}

/* Trai: Build PC */
.tvsb-build {
  background: var(--tv-ink);
}

.tvsb-build > a {
  background: radial-gradient(120% 60% at 50% 105%, rgba(200, 16, 46, .28), transparent 70%);
}

.tvsb-stack {
  display: grid;
  gap: 6px;
  justify-items: center;
  margin-top: 18px;
}

.tvsb-stack > i {
  font-style: normal;
  font-size: 14px;
  line-height: 1;
  color: rgba(255, 255, 255, .35);
}

.tvsb-tile {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: 80px;
  padding: 0 8px 0 6px;
  border-radius: 14px;
  background: #fff;
  color: #111;
  font: 700 12.5px/1.3 var(--tv-font);
}

.tvsb-tile img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.tvsb-tile small {
  display: block;
  margin-top: 2px;
  font: 500 10px var(--tv-font);
  color: var(--tv-green);
  white-space: nowrap;
}

.tvsb-build .tvsb-go {
  background: #fff;
  color: #111;
}

.tvsb-build:hover .tvsb-go {
  background: var(--tv-red);
  color: #fff;
}

/* Trai thu nho thanh the goc man hinh (196 x 112).
   An chu duoi o san pham va dau +, 3 anh xep doc thanh cot tron ben phai.
   Nut dong luon hien, nho ra ngoai goc tren ben phai. */
.tvsb.tvsb-l {
  width: 196px;
  height: 112px;
  overflow: visible;
  border-radius: 18px;
}

.tvsb-l > a {
  padding: 13px 14px 12px;
  border-radius: inherit;
  overflow: hidden;
}

.tvsb-l .tvsb-k {
  font-size: 9.5px;
  letter-spacing: .16em;
}

.tvsb-l .tvsb-h {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.18;
  letter-spacing: -.02em;
}

.tvsb-l .tvsb-stack {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: auto;
  margin: 0;
}

.tvsb-l .tvsb-stack > i,
.tvsb-l .tvsb-tile > span {
  display: none;
}

.tvsb-l .tvsb-tile {
  display: grid;
  grid-template-columns: 1fr;
  place-items: center;
  overflow: hidden;
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--tv-ink);
  transition: .25s all;
}

.tvsb-l .tvsb-tile + i + .tvsb-tile {
  margin-top: -6px;
}

.tvsb-l .tvsb-tile img {
  width: 24px;
  height: 24px;
}

.tvsb-l:hover .tvsb-tile {
  transform: translateX(-3px);
}

.tvsb-l .tvsb-go {
  justify-content: flex-start;
  height: auto;
  border-radius: 0;
  font-size: 11.5px;
}

.tvsb-l.tvsb-build .tvsb-go,
.tvsb-l.tvsb-build:hover .tvsb-go {
  background: none;
  color: #fff;
}

.tvsb-l.tvsb-build:hover .tvsb-go {
  color: #ff6b7f;
}

.tvsb-l .tvsb-go svg {
  width: 12px;
  height: 12px;
  transition: .25s all;
}

.tvsb-l:hover .tvsb-go svg {
  transform: translateX(3px);
}

.tvsb.tvsb-l .tvsb-x {
  top: -9px;
  right: -9px;
  width: 24px;
  height: 24px;
  background: var(--tv-red);
  box-shadow: 0 0 0 2px #fff;
  opacity: 1;
}

.tvsb.tvsb-l .tvsb-x:hover {
  background: var(--tv-red-h);
}

/* Phai: Flash Sale. Cung chat lieu voi khoi Flash Sale: nen soc xanh, chu neon, vien sang */
.tvsb-flash {
  background: #02060f url("../image/tvfs-soc-xanh.webp") 32% center / cover no-repeat;
  box-shadow:
    0 0 0 1px rgba(150, 230, 255, .35),
    0 0 22px rgba(50, 150, 255, .28),
    0 30px 60px -36px rgba(2, 6, 15, .8);
}

/* Lop toi dan xuong duoi de ten, gia va dong ho doc ro tren nen soc */
.tvsb-flash::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 15, .1) 0%, rgba(2, 6, 15, .35) 40%, rgba(2, 6, 15, .82) 100%);
  pointer-events: none;
}

.tvsb-flash .tvsb-k {
  color: #dff7ff;
  text-shadow: 0 0 8px rgba(120, 220, 255, .7);
}

.tvsb-flash .tvsb-k i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff3b55;
  animation: tvfs-ping 1.8s infinite;
}

.tvsb-flash .tvsb-h {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  color: rgba(223, 247, 255, .9);
}

/* So % cung font va anh neon voi chu FLASH SALE cua khoi */
.tvsb-flash .tvsb-h b {
  display: block;
  margin-top: 8px;
  font: 800 48px/1 "TV Flash Wide", var(--tv-font);
  color: #f2fdff;
  text-shadow:
    0 0 2px #fff,
    0 0 10px rgba(130, 225, 255, .95),
    0 0 26px rgba(60, 170, 255, .75);
}

.tvsb-prod {
  display: block;
  margin-top: 16px;
  padding: 10px;
  border-radius: 14px;
  background: #fff;
  color: #111;
  box-shadow: 0 0 0 1px rgba(191, 241, 255, .55), 0 14px 28px -14px rgba(0, 0, 0, .7);
}

.tvsb-pic {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
}

.tvsb-pic img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tvsb-name {
  display: -webkit-box;
  margin-top: 8px;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font: 500 11.5px/1.35 var(--tv-font);
  color: #374151;
}

.tvsb-prod b {
  display: block;
  margin-top: 4px;
  font: 800 17px var(--tv-font);
  letter-spacing: -.02em;
  color: var(--tv-red);
  font-variant-numeric: tabular-nums;
}

.tvsb-prod s {
  font: 500 11px var(--tv-font);
  color: var(--tv-soft);
}

.tvsb-cd {
  display: block;
  margin-top: 14px;
  text-align: center;
}

.tvsb-cd small {
  display: block;
  font: 500 10px var(--tv-font);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(200, 236, 255, .78);
}

/* Dong ho giong dong ho tren bien hieu */
.tvsb-cd-so {
  display: block;
  margin-top: 6px;
  font: 800 22px/1 "TV Flash Wide", var(--tv-font);
  font-variant-numeric: tabular-nums;
  color: #e6f9ff;
  text-shadow: 0 0 6px rgba(140, 225, 255, .85), 0 0 18px rgba(60, 160, 255, .55);
}

.tvsb-flash .tvsb-go {
  background: #fff;
  color: #060a1a;
}

.tvsb-flash:hover .tvsb-go {
  background: #bff1ff;
  box-shadow: 0 0 16px rgba(110, 215, 255, .7);
}

/* =================== POPUP =================== */
.tvpop {
  width: min(880px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow: visible;
  overscroll-behavior: contain;
  border: 0;
  background: transparent;
  color: #fff;
  opacity: 0;
  transition-property: opacity, transform, display, overlay;
  transition-duration: .4s;
  transition-timing-function: var(--tv-ease);
  transition-behavior: allow-discrete;
}

.tvpop[open] {
  opacity: 1;
}

@starting-style {
  .tvpop[open] {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .tvpop {
    transform: translateY(18px) scale(.97);
  }

  .tvpop[open] {
    transform: none;
  }

  @starting-style {
    .tvpop[open] {
      transform: translateY(18px) scale(.97);
    }
  }
}

.tvpop::backdrop {
  overflow: hidden;
  overscroll-behavior: contain;
  background-color: rgba(10, 10, 10, 0);
  -webkit-backdrop-filter: blur(0);
  backdrop-filter: blur(0);
  transition-property: background-color, backdrop-filter, display, overlay;
  transition-duration: .4s;
  transition-timing-function: ease-out;
  transition-behavior: allow-discrete;
}

.tvpop[open]::backdrop {
  background-color: rgba(10, 10, 10, .62);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

@starting-style {
  .tvpop[open]::backdrop {
    background-color: rgba(10, 10, 10, 0);
    backdrop-filter: blur(0);
  }
}

.tvpop-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--tv-w12);
  border-radius: 28px;
  background: var(--tv-ink);
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .8);
}

.tvpop .tvpop-x {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--tv-w12);
  background: rgba(20, 20, 20, .6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  transition: .25s all;
}

.tvpop .tvpop-x:hover {
  background: #fff;
  color: #111;
}

.tvpop-pic {
  display: block;
  background: #000;
}

.tvpop-pic img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 60dvh;
  object-fit: cover;
}

.tvpop-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px 24px 30px;
  border-top: 1px solid var(--tv-w08);
}

body .tvpop-bar h2 {
  margin: 0;
  padding: 0;
  font: 600 15px/1.4 var(--tv-font);
  letter-spacing: normal;
  color: rgba(255, 255, 255, .7);
}

.tvpop-bar h2 span {
  display: none;
}

.tvpop-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 6px;
  font-variant-numeric: tabular-nums;
}

.tvpop-price b {
  font: 800 32px/1 var(--tv-font);
  letter-spacing: -.035em;
  color: #fff;
}

.tvpop-price s {
  font: 500 15px var(--tv-font);
  color: rgba(255, 255, 255, .4);
}

.tvpop-price em {
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--tv-red);
  font: 700 12px var(--tv-font);
  font-style: normal;
  color: #fff;
  transform: translateY(-4px);
}

.tvpop-act {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 8px;
}

.tvpop .tvpop-later {
  height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  font: 500 14px var(--tv-font);
  color: rgba(255, 255, 255, .65);
  transition: .25s all;
}

.tvpop .tvpop-later:hover {
  background: var(--tv-w08);
  color: #fff;
}

.tvpop .tvpop-go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--tv-red);
  color: #fff;
  font: 600 15px var(--tv-font);
  white-space: nowrap;
  transition: .25s all;
}

.tvpop .tvpop-go:hover {
  background: var(--tv-red-h);
  color: #fff;
}

/* =================== RESPONSIVE =================== */
@media only screen and (min-width: 1600px) {
  .tvfs-wrap,
  .tvsr {
    max-width: 1720px;
  }
}

@media only screen and (max-width: 1280px) {

  .tvsr-panel {
    grid-template-columns: minmax(380px, 42%) minmax(0, 1fr);
  }
}

@media only screen and (max-width: 960px) {

  .tvsr-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .tvsr-map {
    order: -1;
    min-height: 320px;
  }

  .tvsr-map::after {
    box-shadow: inset 0 -50px 40px -30px rgba(255, 255, 255, .9);
  }
}

@media only screen and (max-width: 768px) {

  .tvsr {
    padding: 48px 12px 0;
  }

  .tvsr-panel {
    min-height: 0;
    border-radius: 20px;
  }

  .tvsr-map {
    --tv-shift: 100px;
    min-height: 290px;
  }

  .tvsr-chip {
    left: 12px;
    bottom: 12px;
    padding: 10px 10px 10px 14px;
  }

  .tvsr-info {
    gap: 18px;
    padding: 22px 16px 18px;
  }

  .tvsr .tvsr-head {
    gap: 10px;
    padding: 14px;
  }

  .tvsr-name strong {
    font-size: 16px;
  }

  .tvsr-in {
    padding: 0 14px 14px;
  }

  .tvsr-cta .tvsr-pill {
    flex: 1;
  }

  /* Popup thanh bang truot tu duoi len. Anh cat lay nua phai cua banner (noi dat san pham). */
  .tvpop {
    width: 100vw;
    max-height: 92dvh;
    margin: auto 0 0;
  }

  .tvpop-card {
    border-bottom: 0;
    border-radius: 24px 24px 0 0;
  }

  .tvpop-pic img {
    aspect-ratio: 4 / 3;
    object-position: 100% 50%;
  }

  .tvpop-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 18px 18px calc(18px + env(safe-area-inset-bottom));
  }

  body .tvpop-bar h2 {
    font-size: 14px;
  }

  .tvpop-bar h2 span {
    display: -webkit-box;
    margin-bottom: 4px;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font: 700 20px/1.2 var(--tv-font);
    letter-spacing: -.02em;
    color: #fff;
  }

  .tvpop-price b {
    font-size: 28px;
  }

  .tvpop-act {
    flex-direction: row-reverse;
  }

  .tvpop .tvpop-go {
    flex: 1;
  }
}

/* Man Full HD thu con 75% (main.css): vw/dvh bi nhan them 0.75, nhan lai 4/3 */
@media only screen and (min-width: 1600px) and (max-width: 1920px) {
  .tvpop {
    width: min(880px, calc(133.33vw - 32px));
    max-height: calc(133.33dvh - 32px);
  }

  .tvpop-pic img {
    max-height: 80dvh;
  }
}

@media only screen and (max-width: 768px) and (prefers-reduced-motion: no-preference) {
  .tvpop {
    transform: translateY(40px);
  }

  @starting-style {
    .tvpop[open] {
      transform: translateY(40px);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .tvfs-chip i,
  .tvsb-flash .tvsb-k i {
    animation: none;
  }

  .tvpop,
  .tvpop::backdrop {
    transition-duration: .1s;
  }

  .tvsr-more {
    transition: none;
  }
}

/* Dot 1 (28/11): co chu toi thieu 12px tu 769px tro len. Mobile giu co rieng o tren */
@media only screen and (min-width: 769px) {
  .tvfs-cd-label,
  .tvfs-sec .tvfs-sub,
  .tvfs-brand,
  .tvfs-sec .tvfs-save,
  .tvfs-sec .tvfs-row,
  .tvsr-facts small,
  .tvsr-chip small,
  .tvsb-k,
  .tvsb-l .tvsb-k,
  .tvsb-tile small,
  .tvsb-l .tvsb-go,
  .tvsb-name,
  .tvsb-prod s,
  .tvsb-cd small {
    font-size: 12px;
  }

  .tvfs-sec .tvfs-sub,
  .tvsr-facts small,
  .tvsr-chip small,
  .tvsb-l .tvsb-k,
  .tvsb-cd small {
    letter-spacing: .12em;
  }

  .tvfs-sec .tvfs-old {
    font-size: 13px;
  }

  .tvfs-price b {
    font-size: 22px;
  }
}
