/* Black Friday 2026 — MemoryZone
   Mobile-first; desktop dùng chế độ B của _shared/lp.css (body.lp-desktop-b) */

:root {
  --lime: #bae718;
  --lime-glow: #c8ff2e;
  --red: #ec1e06;
  --ink: #080b02;
  --hex-bg: #0d0f0a;
  --card-edge: #e3f5b0;
  --font: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

body.bf { background: var(--ink); color: #fff; font-family: var(--font); }
.bf .lp { background: var(--ink); overflow-x: clip; }
.bf [id] { scroll-margin-top: 58px; }
.lime { color: var(--lime); }
.red { color: var(--red); }
h2 { margin: 0; text-transform: uppercase; font-weight: 800; letter-spacing: -.01em; line-height: 1.1; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); }
.hero__inner { position: relative; max-width: 1080px; margin: 0 auto; }
.hero__img { width: 100%; }
/* ---------- 4 element bay ---------- */
.floats { position: absolute; inset: 0; pointer-events: none; }
.float {
  position: absolute; display: block;
  /* lệch theo chuột (desktop) — --mx/--my do app.js đặt, từ -1 đến 1 */
  transform: translate(calc(var(--mx, 0) * var(--depth) * 8px), calc(var(--my, 0) * var(--depth) * 8px));
  transition: transform .4s ease-out;
}
.float img { width: 100%; height: auto; will-change: transform; }
/* trả lại quầng sáng Outer Glow như trong PSD */
.float--keycap img, .float--cube img { filter: drop-shadow(0 0 10px rgba(150, 255, 40, .35)); }
.float--keycap { left: 7.87%;  top: 49.13%; width: 9.91%; }
.float--bolt   { left: 80.19%; top: 68.19%; width: 8.52%; }
.float--cube   { left: 76.02%; top: 29.93%; width: 7.04%; }
.float--coin   { left: 22.22%; top: 19.33%; width: 6.2%; }

/* Xuất hiện bật ra, rồi lơ lửng; mỗi cái một nhịp để không đều nhau */
.float--keycap img { animation: pop .7s .15s cubic-bezier(.3,1.6,.5,1) backwards, bob-a 4.2s 1s ease-in-out infinite; }
.float--cube img   { animation: pop .7s .3s  cubic-bezier(.3,1.6,.5,1) backwards, bob-b 3.6s 1s ease-in-out infinite; }
.float--coin img   { animation: pop .7s .45s cubic-bezier(.3,1.6,.5,1) backwards, bob-c 3.2s 1s ease-in-out infinite; }
.float--bolt img   { animation: pop .7s .6s  cubic-bezier(.3,1.6,.5,1) backwards, bob-b 3.8s 1s ease-in-out infinite reverse, zap 2.8s 1.4s infinite; }

@keyframes pop  { from { opacity: 0; transform: scale(.3) rotate(-25deg); } }
@keyframes bob-a { 50% { transform: translateY(-14%) rotate(-6deg); } }
@keyframes bob-b { 50% { transform: translateY(-16%) rotate(10deg); } }
@keyframes bob-c { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-20%) rotate(-18deg); } }
/* tia sét lóe sáng */
@keyframes zap {
  0%, 82%, 100% { filter: none; }
  86% { filter: brightness(1.7) drop-shadow(0 0 14px #c8ff2e); }
  90% { filter: brightness(1.1); }
  94% { filter: brightness(1.8) drop-shadow(0 0 18px #c8ff2e); }
}

/* 3 ô dưới phi hành gia → menu nhảy tới các phần */
.hero__nav {
  position: absolute; left: 20%; right: 19.9%; top: 90.9%; height: 6.85%;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.3%;
}
.hero__nav a {
  display: flex; align-items: center; justify-content: center;
  color: var(--lime); text-decoration: none; text-transform: uppercase;
  font-weight: 800; font-size: clamp(8.5px, 2.5vw, 17px); letter-spacing: .02em;
  text-align: center; line-height: 1.05; padding: 0 6%;
  transition: color .2s, text-shadow .2s;
}
.hero__nav a:hover { color: #fff; text-shadow: 0 0 10px var(--lime-glow); }

/* ---------- Thương hiệu ---------- */
.brands { padding: 8px 0 28px; }
/* Không còn khung trắng lớn: mỗi logo nằm trên ô trắng riêng, chạy thẳng trên nền tối */
.brands__card {
  padding: 4px 0 6px; overflow: hidden; text-align: center;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.brands__title { font-size: 17px; margin-bottom: 16px; color: #fff; }
.brands__track { display: flex; width: max-content; gap: 10px; animation: run 46s linear infinite; }
.brand-chip {
  flex: none; height: 44px; min-width: 96px; padding: 0 16px; border-radius: 10px;
  background: #fff; display: flex; align-items: center; justify-content: center;
}
.brand-chip img { max-height: 24px; max-width: 118px; width: auto; }

/* ---------- Thể lệ ---------- */
.rules { padding-bottom: 32px; }
.rules__title { text-align: center; font-size: 22px; margin-bottom: 16px; }
.rules__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: rule; }
.rules__list li { position: relative; padding-left: 32px; font-size: 14px; line-height: 1.45; color: #e9eee0; counter-increment: rule; }
.rules__list li::before {
  content: counter(rule); position: absolute; left: 0; top: 0; width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; line-height: 1; color: #0a0d04;
  border-radius: 50%; background: var(--lime); box-shadow: 0 0 8px rgba(186, 231, 24, .6);
}

/* ---------- Dải chữ chạy ---------- */
.ticker {
  position: relative; overflow: hidden; background: var(--lime); color: #0a0d04;
  padding: 7px 0;
  border-block: 5px solid transparent;
  border-image: repeating-linear-gradient(-55deg, #0a0d04 0 6px, var(--lime) 6px 12px) 5;
}
.ticker__run { display: flex; width: max-content; animation: run 22s linear infinite; }
.ticker__run span {
  flex: none; padding: 0 22px; font-weight: 800; font-size: 13px; letter-spacing: .32em; white-space: nowrap;
}
.ticker__run span::after { content: "●"; margin-left: 44px; font-size: 9px; vertical-align: middle; }
@keyframes run { to { transform: translateX(-50%); } }

/* ---------- Nền tổ ong ---------- */
.hex {
  background-color: var(--hex-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='45' viewBox='0 0 25.98 45'%3E%3Cpath d='M0 7.5 12.99 0l12.99 7.5v15L12.99 30 0 22.5zM12.99 30v15' fill='none' stroke='%231c2116' stroke-width='1.6'/%3E%3C/svg%3E");
}

/* ---------- Flash sale ---------- */
.flash { padding: 28px 0 32px; text-align: center; }
.flash__title { font-size: 44px; display: inline-flex; align-items: center; letter-spacing: -.02em; }
.flash__title img { height: 1.05em; width: auto; margin: 0 -.06em; filter: drop-shadow(0 0 10px rgba(200, 255, 46, .5)); }
.flash__sale { margin-left: .28em; }
.flash__sub { margin: 8px 0 20px; font-size: 14px; line-height: 1.5; color: #e9eee0; }
.days { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; max-width: 420px; margin: 0 auto; }
.day {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 1px;
  border: 0; border-radius: 18px; background: var(--lime); color: #0a0d04; cursor: pointer;
  font-family: inherit; line-height: 1.15; padding: 8px 0 7px;
  transition: transform .2s, box-shadow .2s, opacity .2s;
}
.day b { font-size: 22px; font-weight: 800; }
.day span { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.day em { font-style: normal; font-size: 9.5px; font-weight: 800; opacity: .75; }
.day--peak { background: var(--red); color: #fff; }
.day[aria-selected="false"] { opacity: .78; }
.day[aria-selected="false"]:hover { opacity: 1; transform: translateY(-2px); }
.day[aria-selected="true"] { box-shadow: 0 0 0 3px #fff, 0 0 22px var(--lime-glow); transform: scale(1.05); }
.day--peak[aria-selected="true"] { box-shadow: 0 0 0 3px #fff, 0 0 22px var(--red); }
.reveal { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 12px; color: #8e9a80; cursor: pointer; }
.reveal input { accent-color: var(--lime); }

/* ---------- Phập phồng nhẹ: ngày deal, ngọn lửa, nút Xem thêm ---------- */
.day[aria-selected="false"] { animation: breathe-lime 2.8s ease-in-out infinite; }
.day:nth-child(2n) { animation-delay: .4s !important; }
.day--peak[aria-selected="false"] { animation-name: breathe-red; animation-delay: .8s !important; }
@keyframes breathe-lime {
  0%, 100% { transform: scale(1);    box-shadow: 0 0 0 rgba(200, 255, 46, 0); }
  50%      { transform: scale(1.035); box-shadow: 0 0 18px rgba(200, 255, 46, .55); }
}
@keyframes breathe-red {
  0%, 100% { transform: scale(1);    box-shadow: 0 0 0 rgba(236, 30, 6, 0); }
  50%      { transform: scale(1.035); box-shadow: 0 0 18px rgba(236, 30, 6, .7); }
}

.hot__title img { transform-origin: 50% 90%; animation: flame 1.6s ease-in-out infinite; }
@keyframes flame {
  0%, 100% { transform: scale(1) rotate(0);          filter: brightness(1); }
  25%      { transform: scale(1.08, 1.12) rotate(-4deg); filter: brightness(1.25) drop-shadow(0 0 8px rgba(255, 120, 0, .8)); }
  50%      { transform: scale(.97, 1.02) rotate(2deg); filter: brightness(1.05); }
  75%      { transform: scale(1.06, 1.1) rotate(3deg); filter: brightness(1.2) drop-shadow(0 0 6px rgba(255, 120, 0, .6)); }
}

/* ---------- Deal đã mở ---------- */
.hot {
  padding: 30px 0 34px; text-align: center;
  background: linear-gradient(180deg, #2a0102 0%, #3d0000 45%, #6f0000 100%);
  border-top: 2px solid #a00a00;
}
.hot__title { font-size: 24px; display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 20px; }
.hot__title img { height: 1.3em; width: auto; }

/* ---------- Danh mục ---------- */
.cat { padding: 28px 0 8px; text-align: center; }
.cat:last-child { padding-bottom: 36px; }
.cat::before {
  content: ""; display: block; width: 60%; max-width: 650px; height: 2px; margin: 0 auto 26px;
  background: linear-gradient(90deg, transparent, var(--lime) 30%, var(--lime) 70%, transparent);
}
.cat__title { font-size: 26px; margin-bottom: 18px; }

/* ---------- Lưới sản phẩm ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; text-align: left; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } }

.card {
  display: flex; flex-direction: column; background: #000; border-radius: 12px;
  border: 2px solid var(--card-edge); box-shadow: 0 -2px 10px rgba(186, 231, 24, .35);
  overflow: hidden; transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 6px 22px rgba(186, 231, 24, .35); }
.card__media {
  position: relative; display: block; margin: 4px; aspect-ratio: 1 / .9;
  background: #fff; border-radius: 9px; overflow: hidden;
}
.card__img { width: 100%; height: 100%; object-fit: contain; padding: 22% 10% 6%; }
.card__brand { position: absolute; left: 8px; top: 8px; height: calc(13px * var(--k, 1)); width: auto; max-width: 55%; object-fit: contain; object-position: left; }
.card__brand-text { position: absolute; left: 8px; top: 7px; font-size: 11px; font-weight: 800; color: #222; letter-spacing: .04em; }
.card__off {
  position: absolute; right: 6px; top: 6px; background: var(--red); color: #fff;
  font-weight: 800; font-size: 12px; padding: 2px 6px; border-radius: 6px;
}
.card__body { display: flex; flex-direction: column; flex: 1; padding: 8px 10px 10px; }
.card__name {
  margin: 0 0 6px; font-size: 12px; font-weight: 600; line-height: 1.35; min-height: 2.7em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card__name a { color: #fff; text-decoration: none; }
.card__old { font-size: 11px; font-weight: 800; color: #cfcfcf; text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.card__price { font-size: 19px; font-weight: 800; color: var(--lime); line-height: 1.15; margin-bottom: 6px; }
.card__stock { margin-top: auto; margin-bottom: 8px; }
.card__stock-text { display: block; text-align: right; font-size: 10.5px; margin-bottom: 4px; }
.card__stock-text b { color: var(--red); }
.card__bar { height: 4px; background: #fff; border-radius: 4px; overflow: hidden; }
.card__bar i { display: block; height: 100%; background: var(--red); }
.card__btn {
  margin-top: auto; display: block; text-align: center; text-decoration: none; text-transform: uppercase;
  background: var(--lime); color: #0a0d04; font-weight: 800; font-size: 15px;
  padding: 8px 0; border-radius: 999px; transition: background .2s, box-shadow .2s;
}
.card__stock + .card__btn { margin-top: 0; }
.card__btn:hover { background: var(--lime-glow); box-shadow: 0 0 14px rgba(200, 255, 46, .6); }
.card.is-soldout .card__btn { background: #555; color: #bbb; pointer-events: none; }

/* Deal ẩn, thả xuống khi bấm "Xem thêm" */
.card.is-extra { display: none; }
.grid.is-open .card.is-extra { display: flex; }
.grid.is-opening .card.is-extra { animation: drop .45s cubic-bezier(.2, .8, .3, 1) both; animation-delay: calc(var(--i) * 60ms); }
@keyframes drop { from { opacity: 0; transform: translateY(-18px) scale(.97); } }

/* Khung chờ khi đang tải dữ liệu */
.card--skeleton { min-height: 300px; border-color: #333; box-shadow: none;
  background: linear-gradient(100deg, #111 30%, #1d1d1d 50%, #111 70%) 0 0 / 200% 100%; animation: shimmer 1.2s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- Nút xem thêm ---------- */
.more {
  display: inline-block; min-width: 220px; margin: 22px auto 0; padding: 12px 24px; border-radius: 12px;
  text-decoration: none; text-transform: uppercase; font-weight: 800; font-size: 14px; letter-spacing: .14em;
  color: var(--lime); border: 2px solid var(--card-edge); cursor: pointer;
  background: linear-gradient(180deg, #050a00 0%, #1d3d00 100%);
  transition: box-shadow .2s;
  animation: btn-lime 2.6s ease-in-out infinite;
}
.more:hover { box-shadow: 0 0 20px rgba(186, 231, 24, .7); animation-play-state: paused; }
.more--red { color: #fff; border-color: #ff4a1c; background: linear-gradient(180deg, #1a0000, #3a0000); animation-name: btn-red; }
.more--red:hover { box-shadow: 0 0 20px rgba(236, 30, 6, .8); }
/* Đang mở ("Thu gọn") thì đứng yên cho đỡ rối mắt */
.more[aria-expanded="true"] { animation: none; }
@keyframes btn-lime {
  0%, 100% { transform: scale(1);    box-shadow: 0 0 0 rgba(186, 231, 24, 0); }
  50%      { transform: scale(1.04); box-shadow: 0 0 18px rgba(186, 231, 24, .55); }
}
@keyframes btn-red {
  0%, 100% { transform: scale(1);    box-shadow: 0 0 0 rgba(236, 30, 6, 0); }
  50%      { transform: scale(1.04); box-shadow: 0 0 18px rgba(255, 60, 20, .7); }
}
.more[hidden] { display: none; }

/* ---------- Footer ---------- */
.foot { background: var(--lime); color: #0a0d04; padding: 36px 0 44px; text-align: center; }
.foot__logo { width: 150px; margin: 0 auto 12px; filter: brightness(0); }
.foot p { margin: 0; font-size: 13px; font-weight: 600; }

/* ---------- Tablet & desktop ---------- */
@media (min-width: 600px) {
  /* 2 cột, đánh số theo cột: trái 1–2, phải 3–4 (đúng như PSD) */
  .rules__list { grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .days { max-width: 640px; grid-template-columns: repeat(6, 1fr); }
}
@media (min-width: 900px) {
  /* Hero: ảnh giữa, nền hai bên là bản mờ của chính nó */
  .hero::before {
    content: ""; position: absolute; inset: -40px;
    background: url("assets/hero-blur.webp") center top / cover no-repeat;
    filter: blur(28px) brightness(.75);
  }
  .hero__img {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  }
  .brands { padding: 12px 0 44px; }
  .brands__card { padding: 8px 0 10px; }
  .brands__title { font-size: 32px; margin-bottom: 24px; }
  .brand-chip { height: 60px; min-width: 130px; padding: 0 22px; border-radius: 12px; }
  .brand-chip img { max-height: 32px; max-width: 160px; }
  .rules__title { font-size: 32px; margin-bottom: 26px; }
  .rules__list li { font-size: 16px; }
  .rules .lp-section { max-width: 980px; }
  .flash { padding: 48px 0 56px; }
  .flash__title { font-size: 72px; }
  .flash__sub { font-size: 18px; margin-bottom: 30px; }
  .days { max-width: 900px; gap: 14px; }
  .day { border-radius: 24px; padding: 12px 0 10px; }
  .day b { font-size: 34px; }
  .day span { font-size: 12px; }
  .day em { font-size: 11px; }
  .reveal { font-size: 13px; margin-top: 22px; }
  .hot { padding: 52px 0 60px; }
  .hot__title { font-size: 42px; margin-bottom: 32px; }
  .cat { padding: 48px 0 12px; }
  .cat:last-child { padding-bottom: 64px; }
  .cat__title { font-size: 44px; margin-bottom: 30px; }
  .grid { gap: 20px; }
  .card__name { font-size: 14px; }
  .card__old { font-size: 13px; }
  .card__price { font-size: 24px; }
  .card__stock-text { font-size: 12px; }
  .card__btn { font-size: 18px; padding: 10px 0; }
  .card__brand { height: calc(16px * var(--k, 1)); left: 12px; top: 12px; }
  .card__off { font-size: 14px; right: 10px; top: 10px; }
  .more { font-size: 16px; padding: 14px 40px; margin-top: 32px; }
  .ticker__run span { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker__run, .brands__track, .card.is-drop, .float img,
  .day, .hot__title img, .more { animation: none; }
  .float { transform: none; }
}

/* ================= Phần thêm: giữ tính năng bản trước ================= */

/* Logo từng hãng: file logo có độ trống khác nhau nên chỉnh theo hãng */
.card__brand.b-aula, .card__brand.b-zadez { --k: 1.7; }
.card__brand.b-akko, .card__brand.b-hyperx { --k: 1.35; }
.card__brand.b-brateck { --k: .9; }
.card__brand.b-razer { --k: 1.1; }

/* Menu dính */
.bar {
  position: sticky; top: 0; z-index: 50; display: flex; gap: 6px; padding: 8px 12px;
  background: rgba(8, 11, 2, .92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid #2b3a14; overflow-x: auto; white-space: nowrap; scrollbar-width: none;
}
.bar::-webkit-scrollbar { display: none; }
.bar a {
  flex: none; color: #e9eee0; text-decoration: none; text-transform: uppercase; font-weight: 700;
  font-size: 12.5px; letter-spacing: .04em; padding: 6px 12px; border-radius: 999px; border: 1px solid #2b3a14;
  transition: background .2s, color .2s;
}
.bar a:hover { background: var(--lime); border-color: var(--lime); color: #0a0d04; }

/* Đếm ngược */
.clock { background: #000; padding: 14px 0; text-align: center; border-bottom: 1px solid #1c2116; }
.clock__in { display: flex; align-items: center; justify-content: center; gap: 8px 14px; flex-wrap: wrap; padding-inline: 16px; }
.clock__lbl { font-weight: 800; text-transform: uppercase; font-size: 13px; letter-spacing: .08em; color: #e9eee0; }
.clock__t { display: flex; gap: 6px; }
.clock__t[hidden] { display: none; }
.clock__t div {
  min-width: 54px; padding: 4px 0 3px; border-radius: 10px; border: 2px solid var(--card-edge);
  background: linear-gradient(180deg, #050a00, #1d3d00); box-shadow: 0 0 12px rgba(186, 231, 24, .25);
}
.clock__t b { display: block; font-size: 24px; line-height: 1.1; color: var(--lime); font-variant-numeric: tabular-nums; }
.clock__t small { display: block; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; color: #cfd8c0; }

/* Thương hiệu: chip không còn là link */
.brand-chip { cursor: default; }

/* Mô tả mục */
.cat__sub, .hot__sub { margin: -8px auto 18px; max-width: 640px; font-size: 13px; line-height: 1.5; }
.cat__sub { color: #cdd6bf; }
.hot__sub { color: #ffd9d2; }

/* Bộ lọc + tìm kiếm */
.filters { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin: 0 0 18px; }
.filters[hidden] { display: none; }
.chip {
  font: inherit; font-size: 12.5px; font-weight: 700; line-height: 1; padding: 8px 14px; border-radius: 999px; cursor: pointer;
  color: #e9eee0; background: #0d130a; border: 1.5px solid #2b3a14; transition: background .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--lime); }
.chip[aria-pressed="true"] { background: var(--lime); border-color: var(--lime); color: #0a0d04; }
.search { flex: 1 1 100%; max-width: 340px; }
.search input {
  width: 100%; padding: 9px 14px 9px 38px; border-radius: 999px; font-size: 13px; color: #fff; outline: 0;
  border: 1.5px solid #2b3a14;
  background: #0b0f06 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23bae718' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") 14px center no-repeat;
}
.search input:focus { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(186, 231, 24, .2); }
.search input::placeholder { color: #7d886f; }
.empty { grid-column: 1 / -1; margin: 0; padding: 24px 8px; text-align: center; color: #aeb8a0; font-size: 14px; }

/* Phân loại (màu / switch) trên thẻ */
.card__vars { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 8px; }
.vchip {
  font: inherit; font-size: 10px; font-weight: 700; line-height: 1; padding: 4px 7px; border-radius: 999px; cursor: pointer;
  max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  color: #d9e3c8; background: #0e1308; border: 1px solid #3b4a24; transition: background .15s, color .15s;
}
.vchip[aria-pressed="true"] { background: var(--lime); border-color: var(--lime); color: #0a0d04; }
.vchip.is-out:not([aria-pressed="true"]) { opacity: .45; text-decoration: line-through; }
.vchip--more { color: var(--lime); border-style: dashed; }

/* Giá che (deal ngày chưa mở) */
.card__price.is-teaser { letter-spacing: .02em; }
.card__qm { margin-left: 5px; padding: 1px 5px; border-radius: 6px; background: var(--red); color: #fff; font-size: .55em; vertical-align: middle; }

/* Thẻ giữ chỗ (Thiết bị lưu trữ) */
.card--ph .card__media { display: grid; place-items: center; background: radial-gradient(circle at 50% 55%, #f3f8ee, #e4eedc 70%); }
.card--ph .card__ico { width: 34%; height: auto; color: #8fa58a; }
.card--ph .card__name { min-height: 0; margin-bottom: 8px; }
.card--ph .card__bar i { background: #6a6a6a; }
.card--ph .card__btn { cursor: default; }

/* Deal mới thả xuống khi bấm "Xem thêm" */
.card.is-drop { animation: drop .45s cubic-bezier(.2, .8, .3, 1) both; animation-delay: calc(var(--i) * 60ms); }

@media (min-width: 900px) {
  .bar { justify-content: center; padding: 10px 0; gap: 10px; }
  .bar a { font-size: 14px; padding: 7px 16px; }
  .clock { padding: 20px 0; }
  .clock__lbl { font-size: 17px; }
  .clock__t { gap: 10px; }
  .clock__t div { min-width: 78px; padding: 6px 0 5px; border-radius: 12px; }
  .clock__t b { font-size: 36px; }
  .clock__t small { font-size: 11px; }
  .cat__sub, .hot__sub { font-size: 16px; margin-bottom: 26px; }
  .chip { font-size: 14px; padding: 9px 18px; }
  .search { flex-basis: 280px; }
  .search input { font-size: 14px; }
  .vchip { font-size: 11px; padding: 5px 9px; }
}
