/* ============================================================================
   LUNAKEY — Trang chủ v3 "Luna Pop" (2026-10-07). Chỉ nạp ở trang chủ, SAU
   lunakey-luna.css (qua $body['header_after_theme']). Token ở lunakey-luna.css.

   Nhịp trang (học nodns.vn, giữ hàng hoá lên trước theo yêu cầu chủ site):
   Hero (2 điện thoại) → Flash Sale → Banner → Danh mục → Bán chạy → eSIM (tấm tối)
   → Mua theo danh mục → Chọn gói, quét QR → Mua an tâm → Đánh giá thật → CTA → Giới thiệu
   ========================================================================== */

.lk-home { overflow-x: clip; }
.lk-sec { padding: 28px 0; }
.lk-sec--first { padding-top: 40px; }

/* ---------- 1. Hero ----------------------------------------------------- */
.lk-hero {
  position: relative;
  z-index: 2;              /* khung gợi ý tìm kiếm nổi trên các mục bên dưới */
  isolation: isolate;
  padding: 44px 0 52px;
  background:
    radial-gradient(40% 60% at 80% 30%, rgba(0, 180, 240, .15), transparent 70%),
    radial-gradient(36% 52% at 62% 86%, rgba(139, 61, 255, .13), transparent 70%),
    radial-gradient(36% 50% at 4% 0%, rgba(61, 79, 245, .08), transparent 70%);
}
.lk-hero-bg {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.lk-hero-arcs {
  position: absolute;
  left: calc(50% + 40px);
  top: 50%;
  width: 640px;
  translate: 0 -50%;
  opacity: .34;
  pointer-events: none;
}
.lk-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 28px;
  align-items: center;
  min-height: 560px;
}
.lk-hero-copy { min-width: 0; }

.lk-hero-title {
  margin: 0 0 18px !important;
  font-size: clamp(40px, 4.7vw, 66px) !important;
  font-weight: 900 !important;
  line-height: 1.04 !important;
  letter-spacing: -.035em !important;
  color: var(--lk-ink-strong) !important;
}
.lk-hl {
  position: relative;
  z-index: 0;
  display: inline-block;
  color: var(--lk-brand-text);
}
/* Vệt bút dạ dưới chữ (như "Locket Gold" của nodns), màu lấy từ logo */
.lk-hl::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -.06em;
  right: -.1em;
  bottom: .05em;
  height: .36em;
  border-radius: .3em .5em .4em .2em;
  background: linear-gradient(90deg, rgba(0, 180, 240, .32), rgba(139, 61, 255, .26));
  transform: rotate(-1.6deg);
}
.lk-hero-lede {
  margin: 0;
  max-width: 50ch;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 600;
  color: var(--lk-ink-2);
}

/* Ô tìm kiếm: hành động chính của một cửa hàng nhiều app */
.lk-hero-search {
  position: relative;
  z-index: 6;
  max-width: 560px;
  margin-top: 26px;
}
.lk-hero-form {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 64px;
  margin: 0;
  padding: 8px 8px 8px 22px;
  background: #FFFFFF;
  border: 1.5px solid var(--lk-line);
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.lk-hero-form:focus-within {
  border-color: var(--lk-brand);
  box-shadow: 0 0 0 5px rgba(61, 79, 245, .14), var(--shadow-md);
}
.lk-hero-form-icon { color: var(--lk-muted); font-size: 18px; flex: none; }
.lk-hero-form #heroSearchInput {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0 !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
  font-family: var(--font-sans) !important;
  font-size: 16.5px !important;
  font-weight: 700;
  color: var(--lk-ink-strong) !important;
}
.lk-hero-form #heroSearchInput::placeholder { color: var(--lk-muted); opacity: 1; font-weight: 600; }
.lk-hero-form #heroSearchInput:focus-visible { outline: none !important; }
.lk-hero-submit { min-height: 48px !important; padding: 0 28px !important; font-size: 16px !important; }
.lk-hero-submit-icon { display: none; }
.lk-hero-search .search-autocomplete {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  z-index: 40;
}

.lk-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.lk-hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--lk-ink-2);
}
.lk-hero-trust i {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 9px;
  background: var(--lk-brand-soft);
  color: var(--lk-brand-text);
  font-size: 12px;
}

/* ---- Sân khấu: 2 điện thoại ---- */
.lk-hero-stage { position: relative; height: 590px; }
.lk-phone {
  position: absolute;
  width: 258px;
  aspect-ratio: 9 / 18.6;
  padding: 9px;
  border-radius: 42px;
  background: #121033;
  box-shadow:
    inset 0 0 0 1.5px #2C2866,
    0 50px 70px -42px rgba(23, 21, 59, .62),
    0 24px 36px -24px rgba(23, 21, 59, .45);
  container-type: inline-size;
}
.lk-phone--menu { left: 5%; top: 48px; rotate: -6deg; z-index: 1; }
.lk-phone--order { left: 45%; top: 6px; rotate: 5deg; z-index: 2; }
.lk-phone-screen {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 34px;
  background: #FBFAFF;
  font-size: 10px;
  line-height: 1.3;
  color: var(--lk-ink-strong);
}
/* 1em = 10px khi điện thoại rộng 258px; co giãn theo bề ngang điện thoại */
@supports (width: 1cqi) {
  .lk-phone-screen { font-size: calc(100cqi / 24); }
}
.lk-phone-notch {
  position: absolute;
  z-index: 3;
  top: .8em;
  left: 50%;
  width: 7.4em;
  height: 2.1em;
  translate: -50% 0;
  border-radius: 999px;
  background: #121033;
}

/* Bảng giá */
.lk-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4.2em 1.6em .4em;
  color: var(--lk-ink-2);
  font-size: 1.2em;
}
.lk-menu-brand { display: inline-flex; align-items: center; gap: .45em; font-weight: 900; color: var(--lk-ink-strong); }
.lk-moon-dot {
  width: 1.1em;
  height: 1.1em;
  border-radius: 50%;
  background: conic-gradient(from 200deg, #00B4F0, #3D4FF5, #8B3DFF, #00B4F0);
  box-shadow: inset -.25em -.15em 0 #FBFAFF;
}
.lk-phone .lk-menu-title {
  margin: .5em .85em 0 !important;
  font-size: 1.95em !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
  letter-spacing: -.02em !important;
  color: var(--lk-ink-strong) !important;
}
.lk-menu-note { margin: .35em 1.6em 1.1em; font-size: 1.08em; font-weight: 700; color: var(--lk-muted); }
.lk-menu-list { display: grid; gap: .55em; margin: 0; padding: 0 1em; list-style: none; }
.lk-mrow {
  display: flex;
  align-items: center;
  gap: .85em;
  padding: .75em .9em;
  border: 1px solid var(--lk-line);
  border-radius: 1.4em;
  background: #FFFFFF;
  color: var(--lk-ink-strong) !important;
  text-decoration: none !important;
  transition: background-color .3s ease, border-color .3s ease, transform .35s var(--lk-ease);
}
.lk-mrow.is-active { background: var(--lk-brand-soft); border-color: #C6CBFF; transform: translateX(.35em); }
.lk-mrow:focus-visible { outline-offset: -2px !important; }
.lk-mrow-logo {
  flex: none;
  width: 3.4em;
  height: 3.4em;
  padding: .45em;
  border-radius: 1em;
  background: #FFFFFF;
  box-shadow: 0 0 0 1px var(--lk-line);
  object-fit: contain;
}
.lk-mrow-text { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.lk-mrow-name { overflow: hidden; font-size: 1.22em; font-weight: 800; white-space: nowrap; text-overflow: ellipsis; }
.lk-mrow-price { font-size: 1.15em; font-weight: 900; color: var(--lk-brand-text); font-variant-numeric: tabular-nums; }
.lk-mrow-tag {
  flex: none;
  padding: .3em .65em;
  border-radius: 999px;
  background: var(--lk-violet-text);
  color: #FFFFFF;
  font-size: .92em;
  font-weight: 900;
}
.lk-mrow-go { color: var(--lk-muted); font-size: 1em; }
.lk-menu-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3.9em;
  margin: auto 1.1em 1.6em;
  border-radius: 999px;
  background: var(--lk-brand);
  box-shadow: 0 .3em 0 var(--lk-key-edge);
  color: #FFFFFF !important;
  font-size: 1.22em;
  font-weight: 900;
  text-decoration: none !important;
}
.lk-menu-cta:hover { background: #4A5BFF; }

/* Đơn hàng */
.lk-order-top {
  display: flex;
  align-items: center;
  gap: .7em;
  padding: 4.3em 1.6em 1em;
  font-size: 1.3em;
  font-weight: 900;
}
.lk-order-top i { color: var(--lk-muted); font-size: .85em; }
.lk-order-item {
  display: flex;
  align-items: center;
  gap: .9em;
  margin: 0 1.1em;
  padding: .9em;
  border: 1px solid var(--lk-line);
  border-radius: 1.4em;
  background: #FFFFFF;
}
.lk-order-item img {
  flex: none;
  width: 4em;
  height: 4em;
  padding: .5em;
  border-radius: 1.1em;
  background: var(--lk-ground);
  object-fit: contain;
}
.lk-order-item > div { min-width: 0; }
.lk-order-name { overflow: hidden; font-size: 1.28em; font-weight: 900; line-height: 1.2; white-space: nowrap; text-overflow: ellipsis; }
.lk-order-paid { margin-top: .2em; font-size: 1.02em; font-weight: 700; color: var(--lk-muted); }
.lk-order-paid b { color: var(--lk-brand-text); font-variant-numeric: tabular-nums; }

.lk-order-steps {
  position: relative;
  display: flex;
  justify-content: space-between;
  margin: 1.4em 1.5em 1.2em;
  padding: 0;
  list-style: none;
  font-size: 1em;
  font-weight: 800;
  color: var(--lk-muted);
}
.lk-order-steps::before,
.lk-order-steps::after {
  content: "";
  position: absolute;
  top: .62em;
  left: 2em;
  height: .26em;
  border-radius: 999px;
}
.lk-order-steps::before { right: 2em; background: var(--lk-line); }
.lk-order-steps::after {
  width: calc(100% - 4em);
  background: var(--lk-brand);
  transform-origin: 0 50%;
  transform: scaleX(1);
  transition: transform .9s var(--lk-ease);
}
[data-state="processing"] .lk-order-steps::after { transform: scaleX(.5); }
.lk-order-steps li { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: .45em; }
.lk-order-steps li span {
  width: 1.5em;
  height: 1.5em;
  border: .26em solid var(--lk-line);
  border-radius: 50%;
  background: #FFFFFF;
  transition: background-color .3s ease, border-color .3s ease;
}
.lk-order-steps .is-done span,
.lk-phone--order .lk-step-deliver span,
[data-state="delivered"] .lk-step-done span { border-color: var(--lk-brand); background: var(--lk-brand); }
[data-state="processing"] .lk-step-deliver span { background: #FFFFFF; animation: lk-ping 1s ease-in-out infinite; }
[data-state="delivered"] .lk-step-done { color: var(--lk-ok-text); }

.lk-cred {
  margin: 0 1.1em;
  padding: 1em 1.1em .6em;
  border: 1px solid var(--lk-line);
  border-radius: 1.4em;
  background: #FFFFFF;
}
.lk-cred-title { margin-bottom: .4em; font-size: 1.12em; font-weight: 900; }
.lk-cred-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .6em;
  padding: .6em 0;
  border-top: 1px dashed var(--lk-line);
  font-size: 1.04em;
}
.lk-cred-label { font-weight: 700; color: var(--lk-muted); }
.lk-cred-value {
  overflow: hidden;
  font-weight: 800;
  text-align: right;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-variant-numeric: tabular-nums;
}
.lk-cred-row i { color: var(--lk-brand); }
[data-state="processing"] .lk-cred-value {
  color: transparent;
  border-radius: .5em;
  background: linear-gradient(90deg, #EEEDF8 25%, #F8F7FE 50%, #EEEDF8 75%);
  background-size: 200% 100%;
  animation: lk-shimmer 1.1s linear infinite;
}
[data-state="delivered"] .lk-cred-value { animation: lk-type .7s var(--lk-ease) both; }
[data-state="delivered"] .lk-cred-row + .lk-cred-row .lk-cred-value { animation-delay: .15s; }

.lk-order-status { display: flex; justify-content: center; margin: 1.2em 1.1em 0; }
.lk-order-status-done,
.lk-order-status-wait,
.lk-order-status-manual {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .7em 1.2em;
  border-radius: 999px;
  font-size: 1.12em;
  font-weight: 900;
}
.lk-order-status-done { background: var(--lk-mint-soft); color: var(--lk-ok-text); }
.lk-order-status-wait { display: none; background: var(--lk-brand-soft); color: var(--lk-brand-text); }
.lk-order-status-manual { display: none; background: #FEF3C7; color: #92400E; font-size: 1em; text-align: center; }
.lk-order-status-wait i { animation: lk-spin 1s linear infinite; }
[data-state="processing"] .lk-order-status-done { display: none; }
[data-state="processing"] .lk-order-status-wait { display: inline-flex; }
/* Giao thủ công: không giả vờ đã giao, không lộ thông tin */
[data-state="manual"] .lk-order-steps::after { transform: scaleX(.5); }
[data-state="manual"] .lk-step-deliver span { background: #FFFFFF; }
[data-state="manual"] .lk-cred-value { color: transparent; border-radius: .5em; background: #EEEDF8; }
[data-state="manual"] .lk-order-status-done { display: none; }
[data-state="manual"] .lk-order-status-manual { display: inline-flex; }
.lk-order-note { margin-top: auto; padding: 1em 1em 1.4em; text-align: center; font-size: .98em; font-weight: 700; color: var(--lk-muted); }

/* Ô logo dán quanh (như ảnh polaroid của nodns) */
.lk-sticker {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border-radius: 22px;
  background: #FFFFFF;
  box-shadow: 0 0 0 1px var(--lk-line), var(--shadow-md);
}
.lk-sticker img { width: 42px; height: 42px; object-fit: contain; }
.lk-sticker--1 { left: -1%; top: 6px; rotate: -12deg; }
.lk-sticker--2 { right: -2%; top: 46%; rotate: 11deg; }
.lk-sticker--3 { left: 30%; bottom: -4px; rotate: -7deg; width: 58px; height: 58px; border-radius: 18px; }
.lk-sticker--3 img { width: 34px; height: 34px; }

.lk-toast {
  position: absolute;
  z-index: 4;
  left: 22%;
  top: 70%;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 290px;
  padding: 9px 16px 9px 9px;
  border-radius: 999px;
  background: #FFFFFF;
  box-shadow: 0 0 0 1px var(--lk-line), var(--shadow-lg);
  font-size: 14px;
  font-weight: 800;
  color: var(--lk-ink-strong);
  white-space: nowrap;
  opacity: 0;
  translate: 0 10px;
  scale: .96;
  transition: opacity .4s var(--lk-ease), translate .4s var(--lk-ease), scale .4s var(--lk-ease);
}
.lk-toast i {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #059669;
  color: #FFFFFF;
  font-size: 12px;
}
.lk-toast span { overflow: hidden; text-overflow: ellipsis; }
.is-delivered .lk-toast { opacity: 1; translate: 0 0; scale: 1; }

@keyframes lk-shimmer { to { background-position: -200% 0; } }
@keyframes lk-type { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes lk-spin { to { transform: rotate(360deg); } }
@keyframes lk-ping { 50% { box-shadow: 0 0 0 .35em rgba(61, 79, 245, .18); border-color: var(--lk-brand); } }

/* 992–1199px: cột phải hẹp, thu điện thoại để máy "Đơn hàng" không che nhãn
   "Bán chạy" ở mép phải bảng giá */
@media (max-width: 1199.98px) {
  .lk-phone { width: 214px; }
  .lk-hero-stage { height: 500px; }
  .lk-phone--menu { left: 1%; }
  .lk-phone--order { left: 49%; }
}

@media (max-width: 991.98px) {
  .lk-hero { padding: 28px 0 20px; }
  .lk-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; min-height: 0; }
  .lk-hero-search { max-width: none; }
  .lk-hero-stage {
    width: 100%;
    max-width: 460px;
    height: auto;
    aspect-ratio: 1 / 1.17;
    margin: 6px auto 0;
  }
  .lk-phone { width: 52%; padding: 2.2%; border-radius: 15% / 7.5%; }
  .lk-phone-screen { border-radius: 12% / 6%; }
  .lk-phone--menu { left: 2%; top: 6%; }
  .lk-phone--order { left: auto; right: 2%; top: 0; }
  .lk-hero-arcs { left: 50%; top: auto; bottom: -30px; width: 560px; translate: -50% 0; }
  .lk-sticker { width: 54px; height: 54px; border-radius: 17px; }
  .lk-sticker img { width: 32px; height: 32px; }
  .lk-sticker--1 { left: -2%; top: -2%; }
  .lk-sticker--2 { right: -3%; top: 52%; }
  .lk-sticker--3 { display: none; }
  .lk-toast { left: 4%; top: auto; bottom: 6%; font-size: 13px; max-width: 74%; }
}

@media (max-width: 575.98px) {
  .lk-hero-title { font-size: clamp(34px, 10.4vw, 46px) !important; }
  .lk-hero-lede { font-size: 16px; }
  .lk-hero-search { margin-top: 20px; }
  .lk-hero-form { height: 56px; padding: 6px 6px 6px 18px; }
  .lk-hero-form-icon { display: none; }
  .lk-hero-submit { width: 44px; min-height: 44px !important; padding: 0 !important; }
  .lk-hero-submit-icon { display: inline; }
  .lk-hero-submit-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .lk-hero-trust { gap: 10px 16px; margin-top: 18px; }
  .lk-hero-trust li { font-size: 13.5px; }
}

/* ≤575px: khung điện thoại co còn ~180px làm chữ trong máy còn 6–8px (có cả link thật).
   Ở bề ngang này bảng giá thành một thẻ phẳng cỡ chữ thường; máy "Đơn hàng", sticker và
   toast ẩn (JS cũng không chạy vòng khi máy đơn hàng bị ẩn). */
@media (max-width: 575.98px) {
  .lk-hero-stage { width: 100%; max-width: none; height: auto; aspect-ratio: auto; margin-top: 22px; }
  .lk-hero-stage .lk-phone--order,
  .lk-hero-stage .lk-sticker,
  .lk-hero-stage .lk-toast { display: none; }
  .lk-hero-stage .lk-phone--menu {
    position: static;
    width: 100%;
    aspect-ratio: auto;
    padding: 0;
    border-radius: 24px;
    rotate: 0deg;
    background: transparent;
    box-shadow: var(--shadow-md);
    container-type: normal;
  }
  .lk-hero-stage .lk-phone--menu .lk-phone-screen {
    height: auto;
    border: 1px solid var(--lk-line);
    border-radius: 24px;
    background: #FFFFFF;
    font-size: 10.5px;
  }
  .lk-phone--menu .lk-phone-notch,
  .lk-phone--menu .lk-menu-top { display: none; }
  .lk-phone--menu .lk-menu-title { margin: .8em 1em 0 !important; font-size: 1.7em !important; }
  .lk-phone--menu .lk-menu-note { margin: .3em 1.5em 1em; font-size: 1.15em; }
  .lk-phone--menu .lk-mrow.is-active { transform: none; }
  .lk-phone--menu .lk-mrow-tag { font-size: 1.05em; }
  .lk-phone--menu .lk-menu-cta { margin: 1.1em 1.1em 1.3em; }
}

/* ---------- 2. Danh mục ------------------------------------------------- */
.lk-cats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.lk-cat {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas: "icon body" "logos logos";
  gap: 14px 12px;
  padding: 16px;
  border: 1px solid var(--lk-line);
  border-radius: 22px;
  background: #FFFFFF;
  box-shadow: var(--shadow-xs);
  color: inherit;
  text-decoration: none !important;
  transition: transform .25s var(--lk-ease), box-shadow .25s var(--lk-ease), border-color .2s ease;
}
.lk-cat:hover { transform: translateY(-3px); border-color: var(--lk-brand-soft-2); box-shadow: var(--shadow-md); }
.lk-cat--t1 { --t-bg: var(--lk-brand-soft); --t-ink: var(--lk-brand-text); }
.lk-cat--t2 { --t-bg: var(--lk-cyan-soft); --t-ink: #0369A1; }
.lk-cat--t3 { --t-bg: var(--lk-violet-soft); --t-ink: var(--lk-violet-text); }
.lk-cat--t4 { --t-bg: var(--lk-mint-soft); --t-ink: var(--lk-ok-text); }
.lk-cat-icon {
  grid-area: icon;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: var(--t-bg);
  color: var(--t-ink);
  font-size: 19px;
}
.lk-cat-icon img { width: 30px; height: 30px; object-fit: contain; }
.lk-cat-body { grid-area: body; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.lk-cat-name { font-size: 16.5px; font-weight: 900; line-height: 1.25; color: var(--lk-ink-strong); }
.lk-cat-count {
  overflow: hidden;
  margin-top: 2px;
  font-size: 13px;
  font-weight: 700;
  color: var(--lk-muted);
  white-space: nowrap;
  text-overflow: ellipsis;
}
.lk-cat-logos {
  grid-area: logos;
  display: flex;
  align-items: center;
  padding-top: 12px;
  border-top: 1px dashed var(--lk-line);
}
.lk-cat-logos img {
  width: 34px;
  height: 34px;
  margin-left: -7px;
  padding: 6px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 3px var(--lk-line);
  object-fit: contain;
  transition: transform .25s var(--lk-ease);
}
.lk-cat-logos img:first-child { margin-left: 0; }
.lk-cat:hover .lk-cat-logos img { transform: translateY(-2px); }
.lk-cat:hover .lk-cat-logos img:nth-child(2) { transition-delay: .03s; }
.lk-cat:hover .lk-cat-logos img:nth-child(3) { transition-delay: .06s; }
.lk-cat:hover .lk-cat-logos img:nth-child(4) { transition-delay: .09s; }

@media (max-width: 991.98px) { .lk-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767.98px) {
  .lk-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .lk-cat { grid-template-columns: minmax(0, 1fr); grid-template-areas: "icon" "body" "logos"; gap: 10px; padding: 14px; }
  .lk-cat-icon { width: 44px; height: 44px; border-radius: 14px; font-size: 17px; }
  .lk-cat-name { font-size: 15px; }
  .lk-cat-names { display: none; }
  .lk-cat-logos { padding-top: 10px; }
  .lk-cat-logos img { width: 30px; height: 30px; padding: 5px; }
}

/* ---------- 3. Bán chạy ------------------------------------------------- */
.lk-home .home-products-section { margin: 0 !important; }

/* ---------- 4. eSIM: tấm tối duy nhất ----------------------------------- */
.lk-night {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 28px 0 0 !important;
  padding: 44px 40px 30px;
  border-radius: var(--lk-r-panel);
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(139, 61, 255, .38), transparent 60%),
    radial-gradient(50% 70% at 0% 100%, rgba(0, 180, 240, .22), transparent 60%),
    var(--lk-night);
  color: #DCD9FF;
}
.lk-night-arcs {
  position: absolute;
  z-index: -1;
  top: -140px;
  right: -150px;
  width: 560px;
  color: #FFFFFF;
  opacity: .08;
  transform: scaleX(-1);
  pointer-events: none;
}
.lk-night .lk-sec-title { color: #FFFFFF !important; }
.lk-night .lk-sec-sub { color: #C9C5F2; }
.lk-night .lk-sec-link { color: #9FE6FF !important; }
.lk-night .product-card { box-shadow: 0 20px 40px -28px rgba(0, 0, 0, .7) !important; border-color: transparent !important; }
.lk-night-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.lk-night .esim-feat-help {
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  color: #C9C5F2 !important;
  font-weight: 600;
  font-size: 14.5px;
}
.lk-night .esim-feat-help i { color: #9FE6FF !important; }
.lk-night .esim-feat-help a { color: #9FE6FF !important; font-weight: 800; }
/* Lưới eSIM = số thẻ + 1 ô "Đã có SIM?" (lớp cũ ép 4 cột bằng selector 3 lớp + !important) */
@media (min-width: 1201px) {
  .lk-night .products-grid.featured-5cols-grid.lk-esim-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
  .lk-night .products-grid.featured-5cols-grid.lk-esim-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .lk-night .products-grid.featured-5cols-grid.lk-esim-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
.lk-esim-have {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px;
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
}
.lk-esim-have-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(159, 230, 255, .14);
  color: #9FE6FF;
  font-size: 19px;
}
.lk-night .lk-esim-have-title { margin: 6px 0 0 !important; font-size: 19px !important; font-weight: 900 !important; color: #FFFFFF !important; }
.lk-esim-have-text { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.55; color: #C9C5F2; }
.lk-esim-have-links { display: flex; flex-direction: column; gap: 8px; margin-top: auto; padding-top: 6px; }
.lk-esim-have-links .lk-night-link { justify-content: flex-start; }
/* Lớp cũ để .esim-feat-help là flex -> mỗi đoạn chữ thành một cột hẹp. Trả về đoạn văn thường. */
.lk-night .esim-feat-help { display: block !important; flex: 1 1 380px; max-width: 62ch; }
.lk-night .esim-feat-help i { margin-right: 6px; }
.lk-night-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
  color: #FFFFFF !important;
  font-weight: 800;
  text-decoration: none !important;
}
.lk-night-link:hover { background: rgba(255, 255, 255, .14); }
@media (max-width: 767.98px) {
  .lk-night { padding: 30px 18px 22px; border-radius: 26px; }
}

/* ---------- 5. Mua theo danh mục (widget cũ, đổi áo) --------------------- */
.home-shelves-section .lk-sec-head { margin-bottom: 14px; }
.home-shelf-title {
  font-family: var(--font-sans) !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  color: var(--lk-ink-strong) !important;
}
.home-shelf-icon { border-radius: 13px !important; background: var(--lk-brand-soft) !important; color: var(--lk-brand-text) !important; }
.home-shelf-count { color: var(--lk-muted) !important; font-weight: 700 !important; }
.home-shelf-nav {
  border: 1.5px solid var(--lk-line) !important;
  border-radius: 50% !important;
  background: #FFFFFF !important;
  color: var(--lk-ink-strong) !important;
  box-shadow: none !important;
}
.home-shelf-nav:hover:not(:disabled) { border-color: var(--lk-line-strong) !important; color: var(--lk-brand-text) !important; }
.home-shelf-all { color: var(--lk-brand-text) !important; font-weight: 800 !important; }
.home-shelf-more {
  border: 1.5px dashed #C6CBFF !important;
  border-radius: var(--radius-card) !important;
  background: var(--lk-brand-soft) !important;
}
.home-shelf-more-icon { background: var(--lk-brand) !important; color: #FFFFFF !important; border-radius: 50% !important; }
.home-shelf-more-text { color: var(--lk-ink-strong) !important; font-weight: 900 !important; }
.home-shelf-more-note { color: var(--lk-muted) !important; }
.home-section-divider { display: none; }

/* ---------- 6. Chọn gói, quét QR là xong ------------------------------- */
.lk-how .lk-sec-head { margin-bottom: 30px; }
.lk-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.lk-step {
  position: relative;
  padding: 16px 18px 22px;
  border: 1px solid var(--lk-line);
  border-radius: 28px;
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
}
.lk-step-art {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 156px;
  margin-bottom: 26px;
  overflow: hidden;
  border-radius: 20px;
  background:
    radial-gradient(60% 70% at 50% 40%, rgba(255, 255, 255, .9), transparent 70%),
    linear-gradient(160deg, #F2F1FD 0%, #E8E6FA 100%);
}
.lk-step-no {
  position: absolute;
  top: calc(16px + 156px);
  left: 30px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  translate: 0 -50%;
  border-radius: 50%;
  background: var(--lk-brand);
  box-shadow: 0 3px 0 var(--lk-key-edge), 0 0 0 4px #FFFFFF;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 900;
}
.lk-step h3 {
  margin: 0 0 6px !important;
  font-size: 18.5px !important;
  font-weight: 900 !important;
  color: var(--lk-ink-strong) !important;
}
.lk-step p { margin: 0; font-size: 14.5px; font-weight: 600; line-height: 1.6; color: var(--lk-muted); }

.lk-art-plans { display: flex; gap: 8px; }
.lk-art-plans span {
  padding: 9px 12px;
  border: 1.5px solid var(--lk-line);
  border-radius: 13px;
  background: #FFFFFF;
  font-size: 13px;
  font-weight: 800;
  color: var(--lk-ink-2);
}
.lk-art-plans .is-on { border-color: var(--lk-brand); color: var(--lk-brand-text); box-shadow: 0 0 0 3px rgba(61, 79, 245, .15); }
.lk-art-line { display: flex; align-items: center; gap: 8px; }
.lk-art-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--lk-brand-soft);
  color: var(--lk-brand-text);
  font-size: 12.5px;
  font-weight: 800;
}
.lk-art-chip--ok { background: var(--lk-mint-soft); color: var(--lk-ok-text); }
.lk-art-bar { width: 70px; height: 10px; border-radius: 999px; background: #DAD7F2; }
.lk-art-qr {
  width: 94px;
  height: 94px;
  padding: 9px;
  border-radius: 16px;
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
  color: var(--lk-ink-strong);
}
.lk-art-cred {
  display: flex;
  flex-direction: column;
  width: min(82%, 240px);
  padding: 6px 14px;
  border-radius: 16px;
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
}
.lk-art-cred-row { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; font-size: 12.5px; }
.lk-art-cred-row + .lk-art-cred-row { border-top: 1px dashed var(--lk-line); }
.lk-art-cred-row b { font-weight: 700; color: var(--lk-muted); }
.lk-art-cred-row span { font-weight: 800; color: var(--lk-ink-strong); }

@media (max-width: 991.98px) {
  .lk-steps { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .lk-step { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 0 18px; align-items: center; padding: 14px; }
  .lk-step-art { grid-row: span 2; height: 130px; margin: 0; }
  .lk-step-no { top: 14px; left: 14px; translate: -30% -30%; width: 32px; height: 32px; font-size: 14px; }
  .lk-art-plans span { padding: 7px 8px; font-size: 11.5px; }
  .lk-art-plans span:first-child { display: none; }
  .lk-art-qr { width: 78px; height: 78px; }
  .lk-art-bar { display: none; }
}
@media (max-width: 459.98px) {
  .lk-step { grid-template-columns: minmax(0, 1fr); }
  .lk-step-art { grid-row: auto; height: 120px; margin-bottom: 20px; }
  .lk-step-no { top: calc(14px + 120px); left: 26px; translate: 0 -50%; }
  .lk-art-plans span:first-child { display: inline; }
}

/* ---------- 7. Mua an tâm ---------------------------------------------- */
.lk-safe {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 32px 56px;
  align-items: center;
}
.lk-safe-intro .lk-sec-title { font-size: clamp(28px, 3.3vw, 44px) !important; }
.lk-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin: 22px 0 0;
}
.lk-proof > div { min-width: 0; max-width: 220px; }
.lk-proof dt {
  font-size: 30px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--lk-ink-strong);
  font-variant-numeric: tabular-nums;
}
.lk-proof dt span { font-size: .55em; font-weight: 800; color: var(--lk-muted); }
.lk-proof dd { margin: 4px 0 0; font-size: 13.5px; font-weight: 700; line-height: 1.45; color: var(--lk-muted); }
.lk-safe-help {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 460px;
  margin: 24px 0 0;
  padding: 14px 16px;
  border: 1px solid var(--lk-line);
  border-radius: 18px;
  background: #FFFFFF;
  font-weight: 700;
  line-height: 1.55;
  color: var(--lk-ink-2);
}
.lk-safe-help i { margin-top: 3px; color: #0068FF; font-size: 18px; }
.lk-safe-help a { color: var(--lk-brand-text) !important; font-weight: 900; }
.lk-safe-list {
  margin: 0;
  padding: 6px 26px;
  border: 1px solid var(--lk-line);
  border-radius: 30px;
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
  list-style: none;
}
.lk-safe-list li { display: flex; gap: 16px; padding: 20px 0; }
.lk-safe-list li + li { border-top: 1px solid var(--lk-line); }
.lk-safe-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  font-size: 18px;
}
.lk-safe-icon--a { background: var(--lk-brand-soft); color: var(--lk-brand-text); }
.lk-safe-icon--b { background: var(--lk-mint-soft); color: var(--lk-ok-text); }
.lk-safe-icon--c { background: var(--lk-cyan-soft); color: #0369A1; }
.lk-safe-icon--d { background: var(--lk-violet-soft); color: var(--lk-violet-text); }
.lk-safe-list h3 {
  margin: 2px 0 4px !important;
  font-size: 17px !important;
  font-weight: 900 !important;
  color: var(--lk-ink-strong) !important;
}
.lk-safe-list p { margin: 0; font-size: 14.5px; font-weight: 600; line-height: 1.55; color: var(--lk-muted); }
@media (max-width: 991.98px) {
  .lk-safe { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .lk-safe-intro .lk-sec-title { max-width: none; }
  .lk-safe-list { padding: 2px 18px; border-radius: 24px; }
  .lk-safe-list li { gap: 14px; padding: 16px 0; }
  .lk-safe-icon { width: 42px; height: 42px; border-radius: 13px; font-size: 16px; }
}

/* ---------- 8. Đánh giá thật (hàng cuộn ngang) -------------------------- */
/* Không dùng băng chạy tự động: một lớp ~6000px chạy liên tục làm trình duyệt
   ngừng vẽ khi cuộn (đo được lúc build). Khách tự lướt; nút ‹ › trên máy tính. */
.lk-reviews .lk-sec-head { margin-bottom: 18px; }
.lk-rv-navs { display: flex; flex: none; gap: 8px; }
.lk-rv-navs[hidden] { display: none; }
.lk-rv-nav {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--lk-line);
  border-radius: 50%;
  background: #FFFFFF;
  color: var(--lk-ink-strong);
  transition: border-color .18s ease, color .18s ease, opacity .18s ease;
}
.lk-rv-nav:hover:not(:disabled) { border-color: var(--lk-line-strong); color: var(--lk-brand-text); }
.lk-rv-nav:disabled { opacity: .4; cursor: default; }
.lk-rv-track {
  display: flex;
  gap: 16px;
  margin: 0 -16px;
  padding: 6px 16px 18px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 16px;
  scrollbar-width: none;
  list-style: none;
}
.lk-rv-track::-webkit-scrollbar { display: none; }
.lk-rv-track:focus-visible { outline-offset: -2px !important; border-radius: 24px; }
.lk-review {
  display: flex;
  flex: none;
  flex-direction: column;
  gap: 10px;
  width: 320px;
  padding: 18px 20px;
  border: 1px solid var(--lk-line);
  border-radius: 24px;
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
  scroll-snap-align: start;
}
.lk-review-stars { display: flex; gap: 3px; color: var(--lk-moon); font-size: 13px; }
.lk-review-stars .is-off { color: #DAD7F2; }
.lk-review-text { flex: 1; margin: 0; font-size: 15.5px; font-weight: 700; line-height: 1.5; color: var(--lk-ink-strong); }
.lk-review-foot { display: flex; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px dashed var(--lk-line); }
.lk-review-foot img {
  flex: none;
  width: 36px;
  height: 36px;
  padding: 6px;
  border-radius: 11px;
  background: var(--lk-ground);
  object-fit: contain;
}
.lk-review-foot > div { min-width: 0; }
.lk-review-who { font-size: 14px; font-weight: 900; color: var(--lk-ink-strong); }
.lk-review-verified { margin-left: 4px; font-size: 12px; font-weight: 800; color: var(--lk-ok-text); }
.lk-review-what { overflow: hidden; font-size: 12.5px; font-weight: 700; color: var(--lk-muted); white-space: nowrap; text-overflow: ellipsis; }
@media (max-width: 575.98px) {
  .lk-review { width: min(82vw, 300px); padding: 16px; }
  .lk-rv-navs { display: none; }
}

/* ---------- 9. CTA cuối: một mảng xanh Luna đặc ------------------------ */
.lk-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 68px 32px 64px;
  border-radius: var(--lk-r-panel);
  background:
    radial-gradient(70% 90% at 50% 0%, #5D6DFF 0%, transparent 70%),
    linear-gradient(160deg, #4556FF 0%, #3D4FF5 45%, #3343E8 100%);
  box-shadow: 0 34px 60px -34px rgba(61, 79, 245, .75);
  text-align: center;
  color: #FFFFFF;
}
.lk-cta-arcs {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: -160px;
  width: 480px;
  translate: 0 -50%;
  color: #FFFFFF;
  opacity: .14;
  pointer-events: none;
}
.lk-cta-title {
  max-width: 22ch;
  margin: 0 auto 12px !important;
  font-size: clamp(30px, 4.4vw, 54px) !important;
  font-weight: 900 !important;
  line-height: 1.06 !important;
  letter-spacing: -.03em !important;
  color: #FFFFFF !important;
}
.lk-cta-text { max-width: 50ch; margin: 0 auto 28px; font-size: 17px; font-weight: 700; line-height: 1.55; color: #E6E8FF; }
.lk-cta-search {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 560px;
  height: 62px;
  margin: 0 auto 18px;
  padding: 7px 7px 7px 22px;
  border-radius: 999px;
  background: #FFFFFF;
  box-shadow: 0 18px 34px -18px rgba(16, 18, 90, .7);
  color: var(--lk-muted);
}
.lk-cta-search:focus-within { box-shadow: 0 0 0 4px rgba(255, 255, 255, .45), 0 18px 34px -18px rgba(16, 18, 90, .7); }
.lk-cta-search i { flex: none; font-size: 17px; }
.lk-cta-search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0 !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
  font-family: var(--font-sans) !important;
  font-size: 16px;
  font-weight: 700;
  color: var(--lk-ink-strong);
}
.lk-cta-search input::placeholder { color: var(--lk-muted); opacity: 1; font-weight: 600; }
.lk-cta-search .lk-btn { --key-face: var(--lk-brand); --key-face-hover: #4A5BFF; --key-edge: var(--lk-key-edge); --key-ink: #FFFFFF; min-height: 48px; padding: 0 26px; }
.lk-cta-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 22px; }
.lk-cta-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: #FFFFFF !important;
  font-weight: 800;
  text-decoration: underline !important;
  text-underline-offset: .22em;
}
.lk-btn--onbrand {
  background: rgba(255, 255, 255, .1) !important;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .6) !important;
  color: #FFFFFF !important;
}
.lk-btn--onbrand:hover { background: rgba(255, 255, 255, .18) !important; }
.lk-btn--onbrand:active { transform: translateY(1px) !important; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .6) !important; }
.lk-zalo-word {
  display: inline-grid;
  place-items: center;
  height: 26px;
  padding: 0 7px;
  border-radius: 8px;
  background: #FFFFFF;
  color: #0068FF;
  font-size: 11px;
  font-weight: 900;
}
@media (max-width: 767.98px) {
  .lk-cta { padding: 48px 20px 44px; border-radius: 26px; }
  .lk-cta-text { font-size: 15.5px; }
  .lk-cta-actions .lk-btn { width: 100%; }
}

/* ---------- 10. Giới thiệu (SEO) ---------------------------------------- */
.lk-about { padding: 20px 0 0; }
.lk-about .container { max-width: 880px; text-align: center; }
.lk-about-title {
  margin: 0 0 8px !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  color: var(--lk-ink-2) !important;
}
.lk-about-text { max-width: 68ch; margin: 0 auto; font-size: 14px; font-weight: 600; line-height: 1.7; color: var(--lk-muted); }

/* ---------- 11. Giảm chuyển động --------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .lk-mrow, .lk-toast, .lk-cat, .lk-order-steps::after { transition: none !important; }
  [data-state="delivered"] .lk-cred-value { animation: none; }
  [data-state="processing"] .lk-cred-value, .lk-order-status-wait i, [data-state="processing"] .lk-step-deliver span { animation: none; }
}
