@charset "UTF-8";
/* ==========================================================================
   TRUNG HAIR · LUXE LAYER
   Lớp hiệu ứng "salon cao cấp quốc tế": màn mở đầu, con trỏ vàng, hạt phim,
   chữ & ảnh hé lộ chậm rãi, nút từ tính, chuyển trang mượt.
   Tất cả tự tắt khi người dùng bật "giảm chuyển động".
   ========================================================================== */
:root{
  --lx-white:#ffffff;
  --lx-ivory:#fbf8f2;
  --lx-gold:#a8812f;
  --lx-gold-bright:#d4ad5c;
  --lx-gold-2:#f1d58a;
  --lx-ink:#2b2418;
  --lx-ease:cubic-bezier(.77,0,.175,1);
  --lx-soft:cubic-bezier(.16,1,.3,1);
}

/* ---------- 2. Hạt phim (film grain) ---------- */
.luxe-grain{
  position:fixed;inset:-50%;z-index:2147482000;pointer-events:none;opacity:.055;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
@media (hover:hover) and (pointer:fine){.luxe-grain{animation:lxGrain .9s steps(6) infinite}}
@keyframes lxGrain{
  0%{transform:translate(0,0)}20%{transform:translate(-4%,3%)}40%{transform:translate(3%,-5%)}
  60%{transform:translate(-6%,-2%)}80%{transform:translate(5%,4%)}100%{transform:translate(0,0)}}

/* ---------- 4. Tiêu đề hé lộ như rèm lụa ---------- */
.luxe-h{clip-path:inset(0 0 100% 0);transform:translateY(.45em);opacity:.001}
.luxe-h.on{clip-path:inset(-30% -6% -30% -6%);transform:none;opacity:1;
  transition:clip-path 1.25s var(--lx-ease),transform 1.25s var(--lx-ease),opacity .4s}

/* Đường kẻ vàng trước dòng "kicker" */
.luxe-k::before{content:"";display:inline-block;vertical-align:middle;height:1px;width:0;margin-right:0;
  background:linear-gradient(90deg,transparent,var(--lx-gold));transition:width 1.1s .2s var(--lx-soft),margin 1.1s .2s var(--lx-soft)}
.luxe-k.on::before{width:38px;margin-right:14px}

/* ---------- 5. Ảnh hé lộ (rèm trượt trắng ngà + thu phóng chậm) ---------- */
.luxe-veiled{overflow:hidden}
.luxe-veil{position:absolute;inset:0;z-index:5;pointer-events:none;background:#fbf8f2;
  transform-origin:100% 50%;transform:scaleX(1)}
.luxe-veil::after{content:"";position:absolute;top:0;bottom:0;left:0;width:2px;
  background:linear-gradient(180deg,transparent,var(--lx-gold),transparent)}
.luxe-veiled.on .luxe-veil{transform:scaleX(0);transition:transform 1.35s var(--lx-ease)}
.luxe-zoom img{transform:scale(1.22)!important}
.luxe-zoom.on img{transform:scale(1)!important;transition:transform 2.2s var(--lx-soft)!important}

/* ---------- 6. Nút từ tính & ánh kim lướt qua ---------- */
.btn{position:relative;overflow:hidden;isolation:isolate}
.btn::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:linear-gradient(115deg,transparent 30%,rgba(255,255,255,.38) 48%,transparent 66%);
  transform:translateX(-120%);transition:transform .9s var(--lx-soft)}
.btn:hover::after{transform:translateX(120%)}
.luxe-mag{transition:translate .6s var(--lx-soft)}
.luxe-mag.lx-mv{transition:translate .15s linear}

/* ---------- 7. Thanh menu: gạch chân vàng mảnh ---------- */
.menu a{position:relative}
.menu a::after{content:"";position:absolute;left:50%;right:50%;bottom:-4px;height:1px;background:var(--lx-gold);
  transition:left .5s var(--lx-soft),right .5s var(--lx-soft)}
.menu a:hover::after,.menu a.on::after{left:14%;right:14%}

/* ---------- 8. Chọn chữ màu vàng & thanh cuộn sang trọng ---------- */
::selection{background:var(--lx-gold);color:var(--lx-ink)}
@media (hover:hover) and (pointer:fine){
  html{scrollbar-width:thin;scrollbar-color:var(--lx-gold) transparent}
  ::-webkit-scrollbar{width:9px}
  ::-webkit-scrollbar-track{background:transparent}
  ::-webkit-scrollbar-thumb{background:linear-gradient(var(--lx-gold),#a8812f);border-radius:9px;border:2px solid transparent;background-clip:padding-box}
}

/* ---------- Tôn trọng "giảm chuyển động" ---------- */
@media (prefers-reduced-motion:reduce){
  #luxe-intro{display:none!important}
  html.luxe-gliding main,html.luxe-gliding header{animation:none!important}
  .luxe-grain,.luxe-veil{display:none!important}
  .luxe-h,.luxe-zoom img{clip-path:none!important;transform:none!important;opacity:1!important}
}

/* ==========================================================================
   TRUNG HAIR · LUXURY UPGRADE PACK 2026
   Top-tier International Salon Components (Editorial Lookbook, Interactive
   Transformation Slider, Face-Shape Consultant, Google Reviews & Mobile Dock)
   ========================================================================== */

/* 1. THANH TÍN NHIỆM DANH GIÁ (PRESTIGE TRUST BAR) */
.prestige-bar {
  background: linear-gradient(135deg, rgba(43,36,24,0.96) 0%, rgba(26,20,13,0.98) 100%);
  color: #fbf8f2;
  border-top: 1px solid rgba(212,173,92,0.35);
  border-bottom: 1px solid rgba(212,173,92,0.35);
  padding: 24px 0;
  position: relative;
  z-index: 10;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}
.prestige-bar .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: center;
}
.prestige-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 12px;
  border-right: 1px solid rgba(212,173,92,0.22);
  transition: transform 0.3s ease;
}
.prestige-item:last-child {
  border-right: none;
}
.prestige-item:hover {
  transform: translateY(-2px);
}
.prestige-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: radial-gradient(circle, #f1d58a 0%, #a8812f 100%);
  color: #1a140d;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(212,173,92,0.35);
}
.prestige-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 2;
}
.prestige-txt strong {
  display: block;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 700;
  color: #f1d58a;
  line-height: 1.15;
  letter-spacing: 0.02em;
}
.prestige-txt span {
  display: block;
  font-size: 13.5px;
  color: #b8ab95;
  line-height: 1.35;
  margin-top: 2px;
}
@media (max-width: 960px) {
  .prestige-bar .wrap {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .prestige-item:nth-child(2) {
    border-right: none;
  }
}
@media (max-width: 580px) {
  .prestige-bar {
    padding: 18px 0;
  }
  .prestige-bar .wrap {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .prestige-item {
    border-right: none;
    border-bottom: 1px solid rgba(212,173,92,0.15);
    padding-bottom: 12px;
  }
  .prestige-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
}

/* 2. SLIDER BIẾN ĐỔI DIỆU KỲ TRƯỚC & SAU (BEFORE & AFTER SLIDER) */
.ba-section {
  padding-block: 84px;
  position: relative;
  overflow: hidden;
}
.ba-wrapper {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  margin-top: 36px;
}
.ba-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(43,36,24,0.18), 0 2px 8px rgba(0,0,0,0.06);
  border: 2px solid rgba(168,129,47,0.25);
  user-select: none;
  touch-action: pan-y;
  background: #1a140d;
}
.ba-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.ba-layer img,
.ba-layer .ba-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ba-layer.ba-before {
  z-index: 2;
  width: 50%;
  border-right: 2.5px solid #f1d58a;
  box-shadow: 4px 0 20px rgba(0,0,0,0.45);
}
.ba-layer.ba-before img,
.ba-layer.ba-before .ba-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ba-art {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 30px;
}
.ba-art-before {
  background: linear-gradient(135deg, #3d3126 0%, #1f1812 100%);
  filter: contrast(0.9) saturate(0.65) brightness(0.88);
}
.ba-art-after {
  background: linear-gradient(135deg, #5c4323 0%, #20170e 100%);
}
.ba-tag {
  position: absolute;
  top: 18px;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  z-index: 5;
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
  backdrop-filter: blur(8px);
}
.ba-tag-before {
  left: 18px;
  background: rgba(43,36,24,0.85);
  color: #eeddbb;
  border: 1px solid rgba(255,255,255,0.2);
}
.ba-tag-after {
  right: 18px;
  background: linear-gradient(135deg, #d4ad5c 0%, #a8812f 100%);
  color: #1a140d;
  border: 1px solid #f1d58a;
}
.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff 30%, #fbf6eb 70%, #d4ad5c 100%);
  border: 3px solid #d4ad5c;
  box-shadow: 0 0 0 4px rgba(212,173,92,0.35), 0 10px 25px rgba(0,0,0,0.45);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: ew-resize;
  pointer-events: none;
  transition: transform 0.15s ease;
}
.ba-handle svg {
  width: 22px;
  height: 22px;
  fill: #614713;
}
.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 15;
  margin: 0;
}
.ba-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.ba-details h3 {
  font-size: clamp(28px, 3.5vw, 36px);
  color: var(--ink);
  line-height: 1.2;
}
.ba-details p {
  color: var(--muted);
  font-size: 17px;
  margin: 0;
  line-height: 1.6;
}
.ba-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.ba-spec-card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 16px;
  border-radius: 14px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
.ba-spec-card b {
  display: block;
  font-size: 13.5px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.ba-spec-card span {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
}
@media (max-width: 900px) {
  .ba-wrapper {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* 3. STUDIO SOI GƯƠNG CAMERA & TƯ VẤN KHUÔN MẶT THỰC TẾ (CẢ NAM & NỮ) */
.quiz-section {
  background: linear-gradient(180deg, var(--surface) 0%, #f5efe3 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: 76px;
}

/* Thanh chọn Giới tính & Chất tóc thực tế */
.ai-profile-bar {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 16px;
  background: #ffffff;
  border: 1.5px solid rgba(168, 129, 47, 0.28);
  border-radius: 18px;
  padding: 18px 20px;
  margin-top: 28px;
  box-shadow: 0 12px 32px rgba(43, 36, 24, 0.06);
}
.ai-prof-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ai-prof-label {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold);
}
.ai-seg {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  background: #f8f3e8;
  padding: 5px;
  border-radius: 12px;
  border: 1px solid rgba(168, 129, 47, 0.18);
}
.ai-seg-btn {
  flex: 1 1 auto;
  border: none;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  padding: 9px 11px;
  border-radius: 9px;
  cursor: pointer;
  transition: all 0.22s ease;
  text-align: center;
  line-height: 1.25;
}
.ai-seg-btn:hover {
  background: rgba(212, 173, 92, 0.16);
}
.ai-seg-btn.active {
  background: linear-gradient(135deg, #2b2217 0%, #17120c 100%);
  color: #f4d993;
  box-shadow: 0 4px 12px rgba(23, 18, 12, 0.22);
}

/* Lưới 2 cột: Cột trái Gương Camera, Cột phải Hồ sơ Chủ Salon */
.ai-studio-grid {
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: 26px;
  margin-top: 24px;
  align-items: start;
}

/* Cột trái: Gương Camera */
.ai-mirror-card {
  background: #1a150f;
  color: #f7efe0;
  border-radius: 22px;
  padding: 20px;
  border: 1.5px solid rgba(212, 173, 92, 0.42);
  box-shadow: 0 24px 60px rgba(20, 15, 9, 0.22);
  position: sticky;
  top: 86px;
}
.ai-mirror-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.ai-mirror-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #f3dfb1;
}
.ai-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d4ad5c;
  box-shadow: 0 0 0 4px rgba(212, 173, 92, 0.22);
  display: inline-block;
}
.ai-dot.live {
  background: #27d96f;
  box-shadow: 0 0 0 4px rgba(39, 217, 111, 0.28);
  animation: aiPulseDot 1.4s infinite;
}
@keyframes aiPulseDot {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.25); }
}
.ai-privacy-pill {
  font-size: 11.5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(212, 173, 92, 0.14);
  border: 1px solid rgba(212, 173, 92, 0.32);
  color: #e6cfa0;
}

/* Khung Gương Camera / Ảnh chụp */
.ai-mirror-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 520px;
  border-radius: 18px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 35%, #2e2419 0%, #120e09 100%);
  border: 2px solid rgba(212, 173, 92, 0.48);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ai-mirror-placeholder {
  padding: 24px;
  text-align: center;
  max-width: 390px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.ai-guide-oval {
  width: 175px;
  height: 220px;
  color: #e8c97a;
}
.ai-guide-oval svg {
  width: 100%;
  height: 100%;
}
.ai-mirror-placeholder h4 {
  margin: 4px 0 0;
  font-size: 19px;
  color: #f8e8c4;
}
.ai-mirror-placeholder p {
  margin: 0;
  font-size: 13.5px;
  color: #c7b89e;
  line-height: 1.5;
}

#aiCameraStream,
#aiAnalysisCanvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
#aiCameraStream {
  position: absolute;
  inset: 0;
  z-index: 1;
}
#aiAnalysisCanvas {
  position: relative;
  z-index: 2;
  cursor: grab;
  touch-action: none;
}
#aiAnalysisCanvas:active {
  cursor: grabbing;
}
#aiCameraStream.mirrored {
  transform: scaleX(-1);
}
#aiCameraStream[hidden],
#aiAnalysisCanvas[hidden],
.ai-mirror-placeholder[hidden],
.ai-live-guide[hidden],
.ai-laser-scanner[hidden],
.ai-canvas-toolbar[hidden] {
  display: none !important;
}

.ai-drag-hint {
  position: absolute;
  top: 66px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  background: rgba(18, 14, 9, 0.78);
  border: 1px solid rgba(212, 173, 92, 0.42);
  color: #f5e4b8;
  font-size: 11.5px;
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
  pointer-events: none;
  backdrop-filter: blur(6px);
}

/* Khung căn mặt khi đang mở Camera */
.ai-live-guide {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.ai-live-oval {
  width: 64%;
  height: 74%;
  border: 2.5px dashed rgba(244, 217, 147, 0.88);
  border-radius: 50% 50% 46% 46% / 48% 48% 52% 52%;
  box-shadow: 0 0 0 999px rgba(10, 8, 5, 0.38);
  position: relative;
}
.ai-zone-line {
  position: absolute;
  left: -8%;
  right: -8%;
  border-top: 1px dashed rgba(244, 217, 147, 0.65);
  display: flex;
  justify-content: flex-end;
}
.ai-zone-line em {
  font-style: normal;
  font-size: 10.5px;
  background: rgba(18, 14, 9, 0.82);
  color: #f4d993;
  padding: 2px 7px;
  border-radius: 6px;
  transform: translateY(-50%);
}
.ai-zone-line.z1 { top: 31%; }
.ai-zone-line.z2 { top: 61%; }
.ai-zone-line.z3 { top: 86%; }
.ai-live-tip {
  position: absolute;
  bottom: 14px;
  left: 16px;
  right: 16px;
  background: rgba(18, 14, 9, 0.85);
  border: 1px solid rgba(212, 173, 92, 0.45);
  color: #f6e7c5;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 12.5px;
  text-align: center;
}

/* Tia quét phân tích khuôn mặt */
.ai-laser-scanner {
  position: absolute;
  inset: 0;
  background: rgba(15, 11, 7, 0.42);
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ai-laser-beam {
  position: absolute;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, #f5d88b, #ffffff, #f5d88b, transparent);
  box-shadow: 0 0 22px 4px rgba(245, 216, 139, 0.85);
  animation: aiLaserSweep 1.3s ease-in-out infinite alternate;
}
@keyframes aiLaserSweep {
  0% { top: 10%; }
  100% { top: 88%; }
}
.ai-laser-status {
  background: rgba(18, 14, 9, 0.92);
  border: 1.5px solid #d4ad5c;
  color: #f7e3b0;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Thanh công cụ trên ảnh đã chụp */
.ai-canvas-toolbar {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  background: rgba(18, 14, 9, 0.88);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 173, 92, 0.45);
  border-radius: 14px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  z-index: 6;
}
.ai-view-modes {
  display: flex;
  gap: 5px;
}
.ai-vmode-btn {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 173, 92, 0.25);
  color: #e7d7b9;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 8px;
  border-radius: 8px;
  cursor: pointer;
}
.ai-vmode-btn.active {
  background: linear-gradient(135deg, #d4ad5c 0%, #a8812f 100%);
  color: #17120c;
  border-color: #f5d996;
  font-weight: 700;
}
.ai-color-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.ai-cbar-lbl {
  font-size: 11.5px;
  color: #cbb997;
}
.ai-swatch {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.45);
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s ease;
}
.ai-swatch.active {
  transform: scale(1.2);
  border-color: #f4d993;
  box-shadow: 0 0 0 2px rgba(244, 217, 147, 0.45);
}
.ai-nudge-group {
  margin-left: auto;
  display: flex;
  gap: 4px;
}
.ai-nudge-btn {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 1px solid rgba(212, 173, 92, 0.4);
  background: rgba(255, 255, 255, 0.08);
  color: #f4d993;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}
.ai-nudge-btn:hover {
  background: rgba(212, 173, 92, 0.25);
}

/* Thanh bấm chuyển nhanh 3 kiểu tóc ngay dưới gương */
.ai-quick-style-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
}
.ai-qstyle-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(212, 173, 92, 0.3);
  border-radius: 11px;
  padding: 8px 9px;
  color: #efe1c6;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ai-qstyle-btn small {
  font-size: 10px;
  color: #cbb68e;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.ai-qstyle-btn strong {
  font-size: 12px;
  line-height: 1.25;
  color: inherit;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ai-qstyle-btn:hover {
  border-color: #d4ad5c;
  background: rgba(212, 173, 92, 0.16);
}
.ai-qstyle-btn.active {
  background: linear-gradient(135deg, #d4ad5c 0%, #9e7624 100%);
  border-color: #f7e3b0;
  color: #17120c;
  box-shadow: 0 6px 16px rgba(212, 173, 92, 0.28);
}
.ai-qstyle-btn.active small {
  color: #2d2212;
  font-weight: 700;
}

/* Nút bấm Camera / Tải ảnh */
.ai-cam-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.ai-cam-actions .btn {
  flex: 1 1 calc(50% - 6px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  padding: 12px 14px;
  cursor: pointer;
}
.ai-cam-actions .btn[hidden] {
  display: none !important;
}
.ai-btn-snap {
  background: linear-gradient(135deg, #27ae60 0%, #1e8449 100%) !important;
  color: #ffffff !important;
  border-color: #52be80 !important;
}
.ai-cam-actions .btn.ghost {
  background: rgba(255, 255, 255, 0.07);
  color: #f3dfb1;
  border: 1px solid rgba(212, 173, 92, 0.42);
}
.ai-cam-actions .btn.ghost:hover {
  background: rgba(212, 173, 92, 0.18);
}

/* Bảng 4 chỉ số sinh trắc học */
.ai-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 14px;
}
.ai-metric-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 173, 92, 0.24);
  border-radius: 12px;
  padding: 10px 12px;
}
.ai-m-lbl {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #bcae93;
  margin-bottom: 3px;
}
.ai-m-val {
  display: block;
  font-size: 13.5px;
  color: #f7e3b0;
  line-height: 1.3;
}

/* Chọn dáng mặt thủ công (5 dáng mặt) */
.ai-manual-shape-bar {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(212, 173, 92, 0.2);
}
.ai-ms-title {
  font-size: 12px;
  color: #cbb997;
  margin-bottom: 8px;
}
.face-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px;
}
.face-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(212, 173, 92, 0.24);
  border-radius: 12px;
  padding: 9px 6px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: #f2e5cb;
  font-family: inherit;
}
.face-btn:hover {
  border-color: #d4ad5c;
  background: rgba(212, 173, 92, 0.14);
}
.face-btn.active {
  background: linear-gradient(135deg, #d4ad5c 0%, #9e7624 100%);
  border-color: #f7e3b0;
  color: #17120c;
  box-shadow: 0 8px 20px rgba(212, 173, 92, 0.3);
}
.face-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(212, 173, 92, 0.16);
  color: #f1d58a;
  display: flex;
  align-items: center;
  justify-content: center;
}
.face-icon svg {
  width: 18px;
  height: 18px;
}
.face-btn.active .face-icon {
  background: #17120c;
  color: #f4d993;
}
.face-btn h4 {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: inherit;
}
.face-btn span {
  font-size: 10.5px;
  opacity: 0.85;
  line-height: 1.2;
  color: inherit;
}

/* CỘT PHẢI: HỒ SƠ CHẨN ĐOÁN CỦA CHỦ SALON MAI TRUNG */
.face-result-panel {
  background: #ffffff;
  border: 1.5px solid rgba(168, 129, 47, 0.3);
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 18px 46px rgba(43, 36, 24, 0.08);
  position: relative;
  overflow: hidden;
}
.stylist-verdict-box {
  background: linear-gradient(135deg, #fbf7ee 0%, #f3ead8 100%);
  border: 1px solid rgba(168, 129, 47, 0.28);
  border-radius: 16px;
  padding: 20px;
}
.sv-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.sv-header img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid var(--gold);
  box-shadow: 0 6px 16px rgba(168, 129, 47, 0.25);
}
.sv-badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold);
  margin-bottom: 3px;
}
.sv-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(22px, 2.4vw, 28px);
  color: var(--ink);
  line-height: 1.2;
}
.fr-rec-desc {
  font-size: 15px;
  color: #463b2b;
  line-height: 1.6;
  margin: 0 0 14px;
}
.sv-honest-note {
  background: #1f1911;
  color: #f5e7c8;
  border-left: 4px solid #d4ad5c;
  padding: 12px 15px;
  border-radius: 10px;
  font-size: 13.8px;
  line-height: 1.55;
  margin-bottom: 14px;
}
.sv-honest-note strong {
  color: #f4d993;
  display: block;
  margin-bottom: 3px;
}
.fr-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.fr-point {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13.5px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  padding: 9px 11px;
  border-radius: 10px;
  border: 1px solid rgba(168, 129, 47, 0.16);
  line-height: 1.4;
}
.fr-point svg {
  width: 17px;
  height: 17px;
  min-width: 17px;
  color: var(--gold);
  margin-top: 2px;
}

/* Tiêu đề danh sách 3 kiểu tóc thật */
.real-styles-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin: 22px 0 14px;
  flex-wrap: wrap;
}
.rs-kicker {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--gold);
}
.real-styles-header h4 {
  margin: 3px 0 0;
  font-size: 18px;
  color: var(--ink);
}
.rs-guarantee {
  font-size: 12px;
  font-weight: 700;
  color: #1e7e34;
  background: #eaf7ed;
  border: 1px solid #b7e1c1;
  padding: 5px 11px;
  border-radius: 999px;
}

/* Danh sách 3 phương án kiểu tóc chân thật */
.real-styles-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.real-style-card {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 16px;
  background: #fdfaf3;
  border: 1.5px solid rgba(168, 129, 47, 0.24);
  border-radius: 16px;
  padding: 14px;
  transition: all 0.25s ease;
}
.real-style-card.active-tryon {
  border-color: var(--gold);
  background: #fffdf8;
  box-shadow: 0 10px 28px rgba(168, 129, 47, 0.16);
}
.rsc-thumb {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #231c14;
}
.rsc-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rsc-tier {
  position: absolute;
  top: 7px;
  left: 7px;
  background: rgba(23, 18, 12, 0.86);
  color: #f4d993;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(212, 173, 92, 0.45);
}
.rsc-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.rsc-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.rsc-title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}
.rsc-price {
  font-size: 13.5px;
  font-weight: 700;
  color: #8f681b;
  background: #f6ebd2;
  padding: 3px 10px;
  border-radius: 999px;
}
.rsc-why {
  margin: 0;
  font-size: 13.8px;
  color: #4c4030;
  line-height: 1.5;
}
.rsc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}
.rsc-pill {
  font-size: 12px;
  background: #ffffff;
  border: 1px solid rgba(168, 129, 47, 0.25);
  color: #3b3022;
  padding: 4px 9px;
  border-radius: 8px;
}
.rsc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}
.rsc-btn-try,
.rsc-btn-book {
  font-family: inherit;
  font-size: 12.8px;
  font-weight: 700;
  padding: 8px 13px;
  border-radius: 9px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}
.rsc-btn-try {
  background: #f4ead4;
  color: #2b2217;
  border: 1px solid rgba(168, 129, 47, 0.4);
}
.rsc-btn-try:hover,
.rsc-btn-try.active {
  background: #2b2217;
  color: #f4d993;
}
.rsc-btn-book {
  background: linear-gradient(135deg, #d4ad5c 0%, #a8812f 100%);
  color: #17120c;
  border: 1px solid #d4ad5c;
}
.rsc-btn-book:hover {
  filter: brightness(1.06);
}

/* Cam kết chân thật của chủ salon */
.salon-honesty-pledge {
  margin-top: 18px;
  background: #f9f4e8;
  border: 1px dashed rgba(168, 129, 47, 0.5);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.shp-icon {
  font-size: 24px;
  line-height: 1;
}
.salon-honesty-pledge strong {
  display: block;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 3px;
}
.salon-honesty-pledge p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .ai-profile-bar {
    grid-template-columns: 1fr;
  }
  .ai-studio-grid {
    grid-template-columns: 1fr;
  }
  .ai-mirror-card {
    position: static;
  }
}
@media (max-width: 640px) {
  .face-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .fr-points {
    grid-template-columns: 1fr;
  }
  .real-style-card {
    grid-template-columns: 1fr;
  }
  .rsc-thumb {
    aspect-ratio: 16 / 10;
    max-height: 190px;
  }
  .face-result-panel {
    padding: 18px 14px;
  }
}

/* 4. LOOKBOOK BỘ SƯU TẬP 2026 (EDITORIAL LOOKBOOK SHOWCASE) */
.lookbook-section {
 padding-block: 84px;
}
.lb-filters {
 display: flex;
 flex-wrap: wrap;
 gap: 10px;
 margin-bottom: 32px;
}
.lb-filter-btn {
 background: var(--surface);
 border: 1px solid var(--line);
 color: var(--ink);
 font-size: 14.5px;
 font-weight: 600;
 padding: 9px 20px;
 border-radius: 999px;
 cursor: pointer;
 transition: all 0.25s ease;
 font-family: inherit;
}
.lb-filter-btn:hover {
 border-color: var(--gold);
 color: var(--gold);
}
.lb-filter-btn.active {
 background: var(--gold);
 border-color: var(--gold);
 color: #ffffff;
 box-shadow: 0 6px 18px rgba(168,129,47,0.3);
}
.lb-grid {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: 24px;
}
.lb-card {
 background: var(--surface);
 border-radius: 18px;
 overflow: hidden;
 border: 1px solid var(--line);
 box-shadow: 0 10px 30px rgba(0,0,0,0.04);
 transition: transform 0.35s cubic-bezier(.16,1,.3,1), box-shadow 0.35s ease;
 display: flex;
 flex-direction: column;
}
.lb-card:hover {
 transform: translateY(-8px);
 box-shadow: 0 20px 45px rgba(43,36,24,0.12);
 border-color: rgba(212,173,92,0.4);
}
.lb-media {
 position: relative;
 aspect-ratio: 4 / 3;
 overflow: hidden;
 background: #2b2418;
}
.lb-media img {
 width: 100%;
 height: 100%;
 object-fit: cover;
 transition: transform 0.8s cubic-bezier(.16,1,.3,1);
}
.lb-card:hover .lb-media img {
 transform: scale(1.08);
}
.lb-tag-badge {
 position: absolute;
 top: 14px;
 left: 14px;
 background: rgba(43,36,24,0.82);
 color: #f1d58a;
 backdrop-filter: blur(8px);
 border: 1px solid rgba(212,173,92,0.5);
 font-size: 12px;
 font-weight: 700;
 text-transform: uppercase;
 letter-spacing: 0.04em;
 padding: 5px 12px;
 border-radius: 999px;
}
.lb-body {
 padding: 22px;
 display: flex;
 flex-direction: column;
 flex-grow: 1;
}
.lb-meta {
 display: flex;
 align-items: center;
 justify-content: space-between;
 margin-bottom: 8px;
}
.lb-cat {
 font-size: 13px;
 font-weight: 700;
 color: var(--gold);
 text-transform: uppercase;
 letter-spacing: 0.04em;
}
.lb-time {
 font-size: 13px;
 color: var(--muted);
}
.lb-title {
 font-family: var(--display);
 font-size: 24px;
 font-weight: 700;
 color: var(--ink);
 margin-bottom: 8px;
 line-height: 1.25;
}
.lb-desc {
 font-size: 15px;
 color: var(--muted);
 line-height: 1.55;
 margin-bottom: 18px;
 flex-grow: 1;
}
.lb-foot {
 display: flex;
 align-items: center;
 justify-content: space-between;
 padding-top: 16px;
 border-top: 1px solid var(--line);
}
.lb-price {
 font-size: 17px;
 font-weight: 700;
 color: var(--ink);
}
.lb-action {
 font-size: 14px;
 font-weight: 600;
 color: var(--gold);
 text-decoration: none;
 display: inline-flex;
 align-items: center;
 gap: 4px;
 transition: gap 0.2s ease;
}
.lb-action:hover {
 gap: 8px;
 color: #8c671a;
}
@media (max-width: 960px) {
 .lb-grid {
 grid-template-columns: repeat(2, 1fr);
 }
}
@media (max-width: 600px) {
 .lb-grid {
 grid-template-columns: 1fr;
 }
}

/* 5. ĐÁNH GIÁ 5 SAO GOOGLE (GOOGLE 5-STAR REVIEWS SHOWCASE) */
.reviews-section {
 background: var(--gold-soft);
 padding-block: 84px;
}
.rv-header {
 display: flex;
 align-items: flex-end;
 justify-content: space-between;
 margin-bottom: 36px;
 flex-wrap: wrap;
 gap: 20px;
}
.rv-score-badge {
 background: #ffffff;
 border: 1.5px solid var(--line);
 padding: 12px 20px;
 border-radius: 16px;
 display: flex;
 align-items: center;
 gap: 14px;
 box-shadow: 0 6px 20px rgba(0,0,0,0.04);
}
.rv-score-num {
 font-family: var(--display);
 font-size: 38px;
 font-weight: 800;
 color: var(--gold);
 line-height: 1;
}
.rv-stars {
 color: #f5a623;
 font-size: 18px;
 letter-spacing: 2px;
}
.rv-score-sub {
 font-size: 12.5px;
 color: var(--muted);
 margin-top: 2px;
}
.rv-grid {
 display: grid;
 grid-template-columns: repeat(4, 1fr);
 gap: 20px;
}
.rv-card {
 background: var(--surface);
 border-radius: 18px;
 padding: 24px;
 border: 1px solid var(--line);
 box-shadow: 0 6px 20px rgba(0,0,0,0.03);
 display: flex;
 flex-direction: column;
 justify-content: space-between;
 position: relative;
 transition: transform 0.3s ease;
}
.rv-card:hover {
 transform: translateY(-4px);
 box-shadow: 0 12px 30px rgba(43,36,24,0.08);
}
.rv-card-top {
 display: flex;
 align-items: center;
 gap: 12px;
 margin-bottom: 14px;
}
.rv-avatar {
 width: 44px;
 height: 44px;
 border-radius: 50%;
 background: linear-gradient(135deg, #d4ad5c, #a8812f);
 color: #ffffff;
 font-weight: 700;
 font-size: 16px;
 display: flex;
 align-items: center;
 justify-content: center;
 box-shadow: 0 4px 10px rgba(168,129,47,0.3);
}
.rv-user h4 {
 margin: 0;
 font-size: 16px;
 font-weight: 700;
 color: var(--ink);
}
.rv-user span {
 font-size: 12.5px;
 color: var(--muted);
}
.rv-verified {
 display: inline-flex;
 align-items: center;
 gap: 4px;
 color: #10b981;
 font-size: 12px;
 font-weight: 600;
 margin-top: 2px;
}
.rv-text {
 font-size: 15px;
 line-height: 1.6;
 color: var(--ink);
 margin-bottom: 16px;
 font-style: italic;
 flex-grow: 1;
}
.rv-service-tag {
 display: inline-block;
 background: var(--bg);
 border: 1px solid var(--line);
 color: var(--gold);
 font-size: 12.5px;
 font-weight: 600;
 padding: 4px 10px;
 border-radius: 6px;
}
@media (max-width: 1080px) {
 .rv-grid {
 grid-template-columns: repeat(2, 1fr);
 }
}
@media (max-width: 600px) {
 .rv-grid {
 grid-template-columns: 1fr;
 }
}

/* 6. THANH ĐIỀU HƯỚNG NỔI MOBILE VIP (MOBILE LUXURY DOCK) */
.lx-mobile-dock {
 display: none;
}
@media (max-width: 820px) {
 .lx-mobile-dock {
 display: flex;
 position: fixed;
 bottom: 12px;
 left: 16px;
 right: 16px;
 height: 64px;
 background: rgba(43,36,24,0.92);
 backdrop-filter: blur(20px);
 -webkit-backdrop-filter: blur(20px);
 border-radius: 999px;
 border: 1.5px solid rgba(212,173,92,0.45);
 box-shadow: 0 16px 40px rgba(0,0,0,0.35), 0 0 20px rgba(212,173,92,0.25);
 z-index: 2147480000;
 align-items: center;
 justify-content: space-around;
 padding: 0 8px;
 transition: transform 0.4s cubic-bezier(.16,1,.3,1), opacity 0.3s ease;
 }
 .lx-mobile-dock.hidden {
 transform: translateY(120%);
 opacity: 0;
 pointer-events: none;
 }
 .dock-item {
 display: flex;
 flex-direction: column;
 align-items: center;
 justify-content: center;
 color: #e5dccb;
 text-decoration: none;
 font-size: 11px;
 font-weight: 600;
 gap: 3px;
 padding: 6px 10px;
 border-radius: 999px;
 transition: all 0.2s ease;
 flex: 1;
 text-align: center;
 }
 .dock-item:active {
 transform: scale(0.92);
 color: #ffffff;
 }
 .dock-item svg {
 width: 20px;
 height: 20px;
 stroke: currentColor;
 stroke-width: 2;
 }
 .dock-item.dock-cta {
 background: linear-gradient(135deg, #f1d58a 0%, #d4ad5c 50%, #a8812f 100%);
 color: #1a140d;
 font-weight: 700;
 box-shadow: 0 4px 15px rgba(212,173,92,0.5);
 padding: 8px 14px;
 }
 .dock-item.dock-cta svg {
 stroke: #1a140d;
 }
}


/* REFINED CLIP-PATH BEFORE & AFTER ENGINE */
.ba-container {
  --ba-pct: 50%;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(43,36,24,0.18), 0 2px 8px rgba(0,0,0,0.06);
  border: 2px solid rgba(168,129,47,0.3);
  user-select: none;
  touch-action: pan-y;
  background: #1a140d;
}
.ba-pane {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}
.ba-pane-after {
  z-index: 1;
}
.ba-pane-after img {
  width: 200%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  transform: translateX(-50%);
  display: block;
}
.ba-pane-before {
  z-index: 2;
  clip-path: inset(0 calc(100% - var(--ba-pct, 50%)) 0 0);
  -webkit-clip-path: inset(0 calc(100% - var(--ba-pct, 50%)) 0 0);
}
.ba-pane-before img {
  width: 200%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  transform: translateX(0);
  display: block;
}
.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--ba-pct, 50%);
  width: 3px;
  background: linear-gradient(180deg, transparent, #fae19c 20%, #d4ad5c 50%, #fae19c 80%, transparent 100%);
  box-shadow: 0 0 14px rgba(212,173,92,0.8), -2px 0 8px rgba(0,0,0,0.5);
  transform: translateX(-50%);
  z-index: 4;
  pointer-events: none;
}
.ba-handle {
  position: absolute;
  top: 50%;
  left: var(--ba-pct, 50%);
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff 30%, #fbf6eb 70%, #d4ad5c 100%);
  border: 3px solid #d4ad5c;
  box-shadow: 0 0 0 4px rgba(212,173,92,0.35), 0 10px 25px rgba(0,0,0,0.5);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: ew-resize;
  pointer-events: none;
  transition: transform 0.15s ease;
}
.ba-container:hover .ba-handle {
  transform: translate(-50%, -50%) scale(1.08);
}
.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 20;
  margin: 0;
  padding: 0;
}

/* ==========================================================================
   7. SIÊU NÂNG CẤP HOẠT ẢNH & CHUYỂN ĐỘNG TƯƠNG TÁC (LUXURY MOTION ENGINE)
   ========================================================================== */

/* 7.1 Hiệu ứng Đèn Spotlight Vàng Theo Chuột (Interactive Golden Spotlight) */
.luxe-spot {
  position: relative;
  overflow: hidden;
}
.luxe-spot::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    360px circle at var(--spot-x, -500px) var(--spot-y, -500px),
    rgba(212, 173, 92, 0.16),
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 0;
}
.luxe-spot:hover::before {
  opacity: 1;
}
.luxe-spot > * {
  position: relative;
  z-index: 1;
}

/* 7.3 Quét Ánh Kim Định Kỳ & Nhịp Thở Hoàng Gia (Gold Shimmer Sweep & Pulse) */
.prestige-item {
  position: relative;
  padding: 12px 16px;
  border-radius: 16px;
  transition: transform 0.38s cubic-bezier(.16, 1, .3, 1), background 0.35s ease, box-shadow 0.35s ease;
}
.prestige-item:hover {
  transform: translateY(-5px) scale(1.02);
  background: rgba(212, 173, 92, 0.09);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.25), inset 0 0 0 1px rgba(212, 173, 92, 0.3);
}
.prestige-item:hover .prestige-icon {
  transform: scale(1.12) rotate(-6deg);
  background: linear-gradient(135deg, rgba(212, 173, 92, 0.35), rgba(168, 129, 47, 0.15));
  border-color: #f3d78a;
  box-shadow: 0 0 20px rgba(212, 173, 92, 0.45);
}
.prestige-icon {
  transition: transform 0.4s cubic-bezier(.16, 1, .3, 1), box-shadow 0.4s ease, border-color 0.4s ease, background 0.4s ease;
}

/* Nhịp thở lan tỏa cho nút kéo Before/After */
.ba-handle::before,
.ba-handle::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(243, 215, 138, 0.75);
  animation: baPulseRing 2.4s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  pointer-events: none;
}
.ba-handle::after {
  animation-delay: 1.2s;
}
@keyframes baPulseRing {
  0% { transform: scale(0.88); opacity: 0.9; }
  100% { transform: scale(1.65); opacity: 0; }
}
.ba-container.is-demo-sweeping .ba-pane-before,
.ba-container.is-demo-sweeping .ba-divider,
.ba-container.is-demo-sweeping .ba-handle {
  transition:
    clip-path 0.85s cubic-bezier(.22, 1, .36, 1),
    -webkit-clip-path 0.85s cubic-bezier(.22, 1, .36, 1),
    left 0.85s cubic-bezier(.22, 1, .36, 1);
}

/* Thẻ thông số Before/After nâng cấp 3D */
.ba-spec-card {
  transition: transform 0.38s cubic-bezier(.16, 1, .3, 1), box-shadow 0.38s ease, border-color 0.38s ease;
}
.ba-spec-card:hover {
  transform: translateY(-5px) translateX(4px);
  border-color: var(--gold);
  box-shadow: 0 14px 32px rgba(168, 129, 47, 0.14);
}

/* 7.4 Chuyển Cảnh 3D Mượt Mà Cho Trắc Nghiệm Khuôn Mặt (#tu-van-dang-mat) */
.face-btn svg {
  transition: transform 0.45s cubic-bezier(.16, 1, .3, 1), filter 0.45s ease;
}
.face-btn:hover svg {
  transform: scale(1.1) translateY(-3px);
}
.face-btn.active svg {
  animation: faceIconFloat 3.2s ease-in-out infinite;
  filter: drop-shadow(0 6px 14px rgba(168, 129, 47, 0.35));
}
@keyframes faceIconFloat {
  0%, 100% { transform: translateY(0) scale(1.05); }
  50% { transform: translateY(-5px) scale(1.09); }
}

.face-result-panel {
  transition:
    transform 0.42s cubic-bezier(.16, 1, .3, 1),
    opacity 0.32s ease,
    box-shadow 0.42s ease;
  transform-style: preserve-3d;
}
.face-result-panel.is-switching {
  opacity: 0;
  transform: perspective(1000px) rotateX(6deg) translateY(14px) scale(0.985);
}
.face-result-panel.is-entered {
  animation: faceResultGlow 0.9s cubic-bezier(.16, 1, .3, 1);
}
@keyframes faceResultGlow {
  0% { box-shadow: 0 0 0 0 rgba(212, 173, 92, 0.55), 0 16px 48px rgba(43, 36, 24, 0.12); }
  100% { box-shadow: 0 0 0 16px rgba(212, 173, 92, 0), 0 16px 48px rgba(43, 36, 24, 0.06); }
}
.fr-point {
  transition: transform 0.45s cubic-bezier(.16, 1, .3, 1), opacity 0.45s ease;
}
.face-result-panel.is-entered .fr-point {
  animation: frPointCascade 0.55s cubic-bezier(.16, 1, .3, 1) both;
}
.face-result-panel.is-entered .fr-point:nth-child(1) { animation-delay: 0.06s; }
.face-result-panel.is-entered .fr-point:nth-child(2) { animation-delay: 0.15s; }
.face-result-panel.is-entered .fr-point:nth-child(3) { animation-delay: 0.24s; }
@keyframes frPointCascade {
  from { opacity: 0; transform: translateX(-18px); }
  to { opacity: 1; transform: translateX(0); }
}
.face-result-panel.is-entered .fr-action-card {
  animation: frCardPop 0.6s 0.12s cubic-bezier(.16, 1, .3, 1) both;
}
@keyframes frCardPop {
  from { opacity: 0; transform: translateY(16px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* 7.5 Hiệu Ứng Thác Đổ Bảng Giá & Banner Xem Bảng Giá Thiết Kế 4K */
#bang-gia .panel.show .row,
#bang-gia .panel.show table.tier tbody tr {
  animation: priceRowCascade 0.52s cubic-bezier(.16, 1, .3, 1) both;
  animation-delay: calc(var(--row-i, 0) * 48ms);
}
@keyframes priceRowCascade {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Khung trải nghiệm Bảng Giá Thiết Kế 4K Hoàng Gia ngay trên Web */
.menu4k-showcase {
  margin-top: 28px;
  background: linear-gradient(135deg, #1b150e 0%, #2b2216 55%, #19130c 100%);
  border: 1.5px solid rgba(212, 173, 92, 0.48);
  border-radius: 22px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #f7f1e3;
  box-shadow: 0 20px 50px rgba(27, 21, 14, 0.22), inset 0 1px 0 rgba(255, 236, 185, 0.22);
  position: relative;
  overflow: hidden;
}
.menu4k-showcase::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 65%;
  height: 100%;
  background: linear-gradient(105deg, transparent 20%, rgba(245, 217, 142, 0.14) 50%, transparent 80%);
  transform: skewX(-20deg);
  animation: luxuryBarSweep 6.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes luxuryBarSweep {
  0%, 35% { left: -120%; }
  75%, 100% { left: 160%; }
}
.menu4k-left {
  display: flex;
  align-items: center;
  gap: 20px;
}
.menu4k-thumb {
  width: 116px;
  height: 76px;
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid #d4ad5c;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
  flex-shrink: 0;
  cursor: pointer;
  position: relative;
  transition: transform 0.35s cubic-bezier(.16, 1, .3, 1), box-shadow 0.35s ease;
}
.menu4k-thumb:hover {
  transform: scale(1.07) rotate(-1.5deg);
  box-shadow: 0 12px 28px rgba(212, 173, 92, 0.45);
}
.menu4k-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.menu4k-info h3 {
  font-family: var(--display);
  font-size: 21px;
  font-weight: 700;
  margin: 0 0 5px;
  color: #f6df9d;
}
.menu4k-info p {
  margin: 0;
  font-size: 14.5px;
  color: rgba(247, 241, 227, 0.78);
  line-height: 1.5;
}
.menu4k-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
/* Khung trưng bày Bảng Giá Toàn Cảnh 4K trong mục #bang-gia */
.menu4k-board-section {
  margin-top: 48px;
  background: linear-gradient(145deg, #18120b 0%, #251b11 50%, #150f08 100%);
  border: 1.5px solid rgba(212, 173, 92, 0.45);
  border-radius: 26px;
  padding: 32px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 235, 185, 0.2);
  position: relative;
  overflow: hidden;
}
.menu4k-board-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.menu4k-badge {
  display: inline-block;
  background: rgba(212, 173, 92, 0.15);
  border: 1px solid rgba(212, 173, 92, 0.45);
  color: #f6df9d;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.menu4k-head-text p {
  color: rgba(247, 241, 227, 0.78);
  font-size: 14.5px;
  line-height: 1.55;
  margin: 6px 0 0;
  max-width: 650px;
}
.menu4k-board-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.menu4k-switch-pill {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 173, 92, 0.4);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
}
.menu4k-switch-pill button {
  border: none;
  background: transparent;
  color: #d8ceb8;
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.menu4k-switch-pill button.active {
  background: linear-gradient(135deg, #f6df9d, #d4ad5c);
  color: #19130c;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(212, 173, 92, 0.4);
}
.menu4k-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid rgba(212, 173, 92, 0.45);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.5);
  margin: 0;
  cursor: pointer;
  background: #110d08;
}
.menu4k-frame img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(.16, 1, .3, 1), opacity 0.3s ease;
}
.menu4k-frame:hover img {
  transform: scale(1.015);
}
.menu4k-frame-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.45) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.menu4k-frame:hover .menu4k-frame-overlay {
  opacity: 1;
}
.menu4k-zoom-hint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(26, 20, 13, 0.88);
  border: 1.5px solid #f6df9d;
  color: #f7edd4;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  pointer-events: none;
}
@media (max-width: 820px) {
  .menu4k-board-section {
    padding: 20px;
  }
  .menu4k-board-actions {
    width: 100%;
  }
  .menu4k-switch-pill {
    width: 100%;
    justify-content: center;
  }
}

.btn-gold-luxe {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #f6df9d 0%, #d4ad5c 52%, #a8812f 100%);
  color: #19130c;
  font-weight: 700;
  font-size: 14.5px;
  padding: 12px 20px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(212, 173, 92, 0.35);
  transition: transform 0.28s cubic-bezier(.16, 1, .3, 1), box-shadow 0.28s ease;
}
.btn-gold-luxe:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 30px rgba(212, 173, 92, 0.52);
}
.btn-outline-luxe {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #f6df9d;
  font-weight: 600;
  font-size: 14px;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid rgba(212, 173, 92, 0.5);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
}
.btn-outline-luxe:hover {
  background: rgba(212, 173, 92, 0.18);
  border-color: #f6df9d;
  transform: translateY(-2px);
}
@media (max-width: 820px) {
  .menu4k-showcase {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }
  .menu4k-actions {
    width: 100%;
  }
  .btn-gold-luxe,
  .btn-outline-luxe {
    flex: 1;
    justify-content: center;
  }
}

/* Lightbox xem Bảng Giá 4K toàn màn hình */
.menu4k-modal {
  position: fixed;
  inset: 0;
  background: rgba(14, 11, 7, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 2147483640;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(.16, 1, .3, 1);
}
.menu4k-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.menu4k-modal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: min(1240px, 96vw);
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.menu4k-Switch {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 173, 92, 0.4);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
}
.menu4k-Switch button {
  border: none;
  background: transparent;
  color: #e8dec8;
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.menu4k-Switch button.active {
  background: linear-gradient(135deg, #f6df9d, #d4ad5c);
  color: #19130c;
  font-weight: 700;
}
.menu4k-stage {
  width: min(1240px, 96vw);
  max-height: calc(100vh - 110px);
  border-radius: 16px;
  overflow: auto;
  border: 2px solid rgba(212, 173, 92, 0.55);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.75);
  background: #120e0a;
  transform: scale(0.94) translateY(14px);
  transition: transform 0.42s cubic-bezier(.16, 1, .3, 1);
}
.menu4k-modal.open .menu4k-stage {
  transform: scale(1) translateY(0);
}
.menu4k-stage img {
  width: 100%;
  height: auto;
  display: block;
}

/* 7.6 Bài thơ Mai Trung hiện từng câu trữ tình & Sao đánh giá lấp lánh */
.poem span {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(.16, 1, .3, 1);
}
.poem.in-poem span {
  opacity: 1;
  transform: translateY(0);
}
.poem.in-poem span:nth-child(1) { transition-delay: 0.08s; }
.poem.in-poem span:nth-child(2) { transition-delay: 0.22s; }
.poem.in-poem span:nth-child(3) { transition-delay: 0.36s; }
.poem.in-poem span:nth-child(4) { transition-delay: 0.50s; }
.poem.in-poem span:nth-child(5) { transition-delay: 0.64s; }
.poem.in-poem span:nth-child(6) { transition-delay: 0.78s; }

/* Ngôi sao 5 sao lấp lánh */
.rv-stars {
  display: inline-block;
  background: linear-gradient(90deg, #f5a623 0%, #fff0b3 50%, #f5a623 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: starShine 3.2s linear infinite;
}
@keyframes starShine {
  to { background-position: 200% center; }
}

/* Hạt Bokeh Ánh Hoàng Kim trôi lơ lửng nền tối */
.luxe-ambient-orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.luxe-orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 173, 92, 0.22) 0%, rgba(212, 173, 92, 0.04) 55%, transparent 75%);
  filter: blur(18px);
  animation: orbFloat 14s ease-in-out infinite alternate;
}
@keyframes orbFloat {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(28px, -22px, 0) scale(1.14); }
  100% { transform: translate3d(-20px, 18px, 0) scale(0.92); }
}

/* ==========================================================================
   8. FOOTER CAO CẤP KIẾN TRÚC 5 SAO (5-STAR ARCHITECTURAL LUXURY FOOTER)
   ========================================================================== */
.lx-footer {
  background: linear-gradient(180deg, #18120b 0%, #100b06 100%);
  color: #e5dccb;
  border-top: 1.5px solid rgba(212, 173, 92, 0.45);
  padding: 68px 0 32px;
  position: relative;
  z-index: 10;
}
@media (max-width: 820px) {
  .lx-footer {
    padding-bottom: 96px; /* Chừa khoảng cách an toàn cho Mobile Dock */
  }
}
.lx-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.3fr;
  gap: 48px;
  margin-bottom: 48px;
}
.lx-foot-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  margin-bottom: 18px;
}
.lx-foot-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.lx-foot-brand-text {
  display: flex;
  flex-direction: column;
}
.lx-fbt-top {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #f7edd4;
}
.lx-fbt-sub {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--gold);
  font-weight: 600;
}
.lx-foot-desc {
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(229, 220, 203, 0.78);
  margin: 0 0 20px;
}
.lx-foot-rating {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 173, 92, 0.35);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  color: #f7edd4;
}
.lx-fr-stars {
  color: #f5a623;
  letter-spacing: 2px;
}
.lx-foot-heading {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  color: #f6df9d;
  margin: 0 0 20px;
  position: relative;
  padding-bottom: 10px;
}
.lx-foot-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 2px;
  background: var(--gold);
}
.lx-foot-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.lx-foot-links a {
  color: rgba(229, 220, 203, 0.8);
  text-decoration: none;
  font-size: 14.5px;
  transition: color 0.25s ease, transform 0.25s ease;
  display: inline-block;
}
.lx-foot-links a:hover {
  color: #f6df9d;
  transform: translateX(4px);
}
.lx-foot-contact {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  gap: 16px;
}
.lx-foot-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.lx-foot-contact svg {
  flex-shrink: 0;
  color: var(--gold);
  margin-top: 3px;
}
.lx-foot-contact div {
  font-size: 14px;
  line-height: 1.5;
}
.lx-foot-contact b {
  display: block;
  color: #f7edd4;
  font-size: 14.5px;
}
.lx-foot-contact span {
  color: rgba(229, 220, 203, 0.7);
}
.lx-foot-phone {
  font-size: 18px;
  font-weight: 700;
  color: #f6df9d;
  text-decoration: none;
}
.lx-foot-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.lx-foot-badges span {
  font-size: 12px;
  background: rgba(212, 173, 92, 0.12);
  border: 1px solid rgba(212, 173, 92, 0.35);
  color: #f6df9d;
  padding: 3px 10px;
  border-radius: 6px;
}
.lx-foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  font-size: 13.5px;
  color: rgba(229, 220, 203, 0.6);
}
.lx-foot-bottom-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.lx-foot-partner {
  color: var(--gold);
  font-weight: 500;
}
@media (max-width: 960px) {
  .lx-footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}


